Add a line or stroke to a Spark skin
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>
right="0"
bottom="1">
<s:stroke>
<s:SolidColorStroke color="0xFAFAFA"
weight="1"/>
</s:stroke>
</s:Line>

Recent Comments