i us开发者_运维问答ed systemManager.addEventListener
in sub application and it is working well but when i load sub application into main application through swfloader it does not work.
If you're loading a module into a main application, the module is 'sandboxed' so that it can't interfere with the main app. If you want it to do so however, you need to set the applicationDomain of the ModuleLoader like this:
<mx:ModuleLoader applicationDomain="{ApplicationDomain.currentDomain}" url="..." />
精彩评论