`
liuyf
  • 浏览: 33447 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论

flex在模板中加载模块转型失败的处理

阅读更多
如果在A模块中又加载B模块
对event.module.factory.create();出来的对象转型接口会导致null.
但在对象的确是实现了接口的。

应该在loader上设置域,具体是:
_moduleLoader.applicationDomain = ApplicationDomain.currentDomain;
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics