Archive

Posts Tagged ‘Line’

Add a line or stroke to a Spark skin

June 3rd, 2010 Wannes No comments

This is how you add a line to your Flex Spark skin without using a Rectangle (Rect) its strokes.

In this case a horizontal line will be drawn on the bottom of your skin.

<s:Line left="0"
        right="0"
        bottom="1">
    <s:stroke>
        <s:SolidColorStroke color="0xFAFAFA"
                            weight="1"/>
    </s:stroke>
</s:Line>
Categories: Flex, Spark Tags: , , ,