Category: AS3

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.

CASA Lib AS3 Release 1.3.0

Written by Aaron Clinger on March 29th, 2010

It took longer than expected, but there is finally a new release of CASA Lib for AS3. This release adds stability, improvements and a lot of great new features. Some of my favorite changes are the new class LoadItemUtil which creates a CASA load item based on the file path, the additions to GroupLoad to make it more versatile and the modifications to AlignUtil and Distrubution to use DisplayObjectUtil‘s new getOffsetPosition method to be able to properly align DisplayObjects that have been scaled or whose registration point is not at 0, 0.

This release and all future releases will include a SWC archive file along with the full class source for those who prefer SWCs over class libraries.

CASA Lib AS3 Release 1.2.1

Written by Aaron Clinger on September 6th, 2009

We’ve released a new minor version of CASA Lib for ActionScript 3. This release addresses bugs and documentation errors present in the 1.2.0 release.