我正在使用带有 flex 编译器 4.1.0.16248 的 flexmojos 3.8
我的项目在 Flash Builder 中编译得很好,但是使用 flexmojos / maven 我得到以下错误:
Type was not found or was not a compile-time constant: UncaughtErrorEvent
Flex 代码如下所示:
loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onUncaughtError);
Flex 编译器 4.1 应该知道 UncaughtErrorEvent 类型 - 为什么会失败?