开发者

systemManager.addEventListener of sub application is not working in main application

开发者 https://www.devze.com 2023-02-21 05:34 出处:网络
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 loadi

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="..." />
0

精彩评论

暂无评论...
验证码 换一张
取 消