Working with different media types
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Image width="100" height="100" source="@Embed(source='a.GIF',scaleGridTop='10',scaleGridLeft='10',scaleGridBottom='90',scaleGridRight='90')"/> </mx:Application>