Flex Panel Content Background Color
Posted
by Jerry
on Stack Overflow
See other posts from Stack Overflow
or by Jerry
Published on 2010-06-10T23:58:19Z
Indexed on
2010/06/11
0:02 UTC
Read the original article
Hit count: 237
Hello guys. I am trying to set the gradient background color for my panel via skins. I try to change my code but nothing seems to change. Not sure what to do. Thanks for any reply.
My skin file
/<!-- 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>
© Stack Overflow or respective owner