Flex 3.2 升级到 3.5 时出错
以下是错误:
VerifyError:错误#1053:非法覆盖 _SwdModule_mx_core_FlexModuleFactory 中的allowInsecureDomain。 ReferenceError:错误 #1065:未定义变量 _SwdModule_mx_core_FlexModuleFactory。
SwdModule 是组织内使用的模块,并且有一个应用程序在运行时加载此模块(以及各种其他模块)。
我在其他堆栈溢出和各种网站上读到,此错误是由于模块和主应用程序引起的。使用不同的 Flex SDK 编译。我对此进行了验证和检查,但我的所有 SWF 都使用 3.5 进行编译。
任何人都可以想到为什么会发生此错误?
谢谢。
Here's are the errors:
VerifyError: Error #1053: Illegal override of allowInsecureDomain in _SwdModule_mx_core_FlexModuleFactory.
ReferenceError: Error #1065: Variable _SwdModule_mx_core_FlexModuleFactory is not defined.
SwdModule is a module used within the organization and there's an application that loads this (and various other modules) at run time.
I've read on other stack overflow and various web site that this error was caused because the modules and the main app. were compiled using different Flex SDKs. I verified and checked up on this, but all of my SWFs are compiling using 3.5.
Can anyone think of anything else why this error would be occuring?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您在 3.5 上进行编译,则问题在于组件 SWC 被移动到与 3.2 不同的位置。
例如:他们将 AdvancedDataGrid 移至 datavisualization.swc 中。如果您正在使用它,那么您需要将该 swc 添加到您的构建路径中。
可能还有一些其他组件也被移动。
查看 3.5 发行说明,将组件位置与新版本进行比较:
http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html
If you have compiled on 3.5 then the problem is with a component SWC being moved to a different location from 3.2.
For instance: They moved the AdvancedDataGrid into the datavisualization.swc. If you are using this then you'll need to add that swc to your build path.
There may be some other components that were moved too.
Take a look at the 3.5 release notes to compare your component locations with the new version:
http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html