1047 Compiler Error with AS3 1.3.0

Written by Aaron Clinger on April 1st, 2010

It was brought to our attention that StageEventProxy class in the AS3 1.3.0 release is throwing a 1047 Compiler error when compiled with MXMLC. The error reads “Parameter initializer unknown or is not a compile-time constant.” This is due to a bug (Ticket ASC-2231) in the MXMLC compiler. Hopefully this will be fixed in the future. The class compiles correctly with the Flex SDK and in the Flash IDE. If you are running into this compiler bug please download the updated class here: StageEventProxy.as.

We will remove cross-class constants as parameter initializers in future versions of CASA Lib until Adobe fixes this problem.