Use Embed statement with the SWFLoader control : Embed « Development « Flex
- Flex
- Development
- Embed
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>
Related examples in the same category