From the daily archives:

Sunday, October 4, 2009

The following example shows how you can set the background fill color on a Spark Application container’s control bar in Flex 4 by setting the skinClass style and modifying the control bar fill:

<!-- layer 1: control bar fill -->
<s :Rect left="1" right="1" top="1" bottom="2">
   </s><s :fill>
        </s><s :LinearGradient rotation="90">
            <s :GradientEntry color="0x333333" />
            <s :GradientEntry color="0x666666" />
        </s>

Full code after the jump.

[click to continue…]

{ 0 comments }