Use Embed statement with the SWFLoader control
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:SWFLoader id="loader1" source="@Embed(source='a.swf')" /> </mx:Application>