Mega Code Archive

 
Categories / Flex / Components
 

Specify line width, stroke color, and shadow color for HRule and VRule controls

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:VBox>         <mx:Label text="Above" />         <mx:HRule shadowColor="0xEEEEEE" />         <mx:Label text="Below" />     </mx:VBox>     <mx:HBox>         <mx:Label text="Left" />         <mx:VRule strokeWidth="10" strokeColor="0xC4CCCC" />         <mx:Label text="Right" />     </mx:HBox> </mx:Application>