Mega Code Archive

 
Categories / Flex / Graphics
 

Use solid color to fill a Rect

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:s="library://ns.adobe.com/flex/spark">     <s:Group id="group">                  <s:layout>             <s:TileLayout orientation="columns" />         </s:layout>                  <s:Rect width="100" height="100">             <s:fill>                 <mx:SolidColor color="#DDDDDD" />             </s:fill>         </s:Rect>         <s:Ellipse>             <s:fill>                 <mx:SolidColor color="#FF5500" />             </s:fill>         </s:Ellipse>              </s:Group>      </mx:Application>