我正在尝试通过皮肤为我的面板设置渐变背景颜色。我尝试更改我的代码,但似乎没有任何改变。不知道该怎么办。感谢您的回复。
我的皮肤文件
/<!-- layer 2: background fill --/>
<!--- Defines the appearance of the PanelSkin class's background. -->
<s:Rect id="background" left="1" top="1" right="1" bottom="1">
<s:fill>
<!--- @private
Defines the PanelSkin class's background fill. The default color is 0xFFFFFF. -->
<s:SolidColor id="backgroundFill" color="red"/> //Change to red but
//nothing happen....
</s:fill>
</s:Rect>