I'm using flexmojos 3.8 with flex compiler 4.1.0.16248
My Project compiles fine in Flash Builder, but with flexmojos / maven I get the following Error:
Type was not found or was not a compile-time constant: UncaughtErrorEvent
The Flex Code looks like this:
loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onUncaughtError);
The Flex Compiler 4.1 should know the type UncaughtErrorEvent - Why does it fail?