Mega Code Archive

 
Categories / Flex / Graphics
 

X and y properties specify the upper-left corner of image

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:Canvas id="canvas0" borderStyle="solid" width="200" height="200">         <mx:Image id="img0" source="@Embed('logo.jpg')" x="40" y="40" />     </mx:Canvas> </mx:Application>