Load module using MXML
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:ModuleLoader id="MyModule" url="a.swf" x="100" y="100" width="356" height="274" /> </mx:Application>