【发布时间】:2009-03-11 18:16:15
【问题描述】:
我有一个项目,其中包含由单个预加载器 swf 加载的多个组件。
预加载器 swf 是严格的 AS3(无 flex)并使用加载器加载两个不同的 swf,它们都使用 flex 库(静态编译,而不是 rsl)。
当我在 linux 下编译所有三个并运行生成的预加载器时,其中一个 swf 无法正确加载,并引发下面的异常(在这篇文章的底部)。
如果我在 Windows 中使用相同的 ant 任务编译相同的组件,则该组件可以正常加载而不会出错。 windows 文件也小了 683 字节。
在 linux 和 windows 下使用 flex SDK 3.2.0 和 3.3.0 也是如此。
你见过这种行为吗?您能否就为什么会发生这种情况或如何确定问题所在提供任何建议?
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::FocusManager/activate()
at mx.managers::SystemManager/activateForm()
at mx.managers::SystemManager/activate()
at mx.core::Application/initManagers()
at mx.core::Application/initialize()
at OC_Footer/initialize()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.managers::SystemManager/initializeTopLevelWindow()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()
at mx.managers::SystemManager/docFrameListener()
【问题讨论】:
-
如果你弄明白了,我建议向 Adobe 提交一个错误:bugs.adobe.com/flex
标签: windows linux apache-flex