Mega Code Archive

 
Categories / Flex / Graphics
 

Layout images in a Canvas

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100" >     <mx:Canvas id="chboard" backgroundColor="#FFFFFF">         <mx:Image source="logo.jpg" width="10" height="10" x="0" y="0" />         <mx:Image source="logo.jpg" width="10" height="10" x="20" y="40" />         <mx:Image source="logo.jpg" width="10" height="10" x="40" y="40" />     </mx:Canvas> </mx:Application>