We have released a new version of CASA Lib for ActionScript 3. This release addresses changes in Flash Player 11, and also includes three small fixes.
One of the major changes in Flash Player 11 is the addition of removeChildren to DisplayObjectContainer. CASA veterans know that CASA has contained removeChildren
since 2009!
Adobe’s implementation of removeChildren
differs from CASA’s as it doesn’t call destroy on the children, nor does it provide an option to recursively remove children’s children. We suggest that you continue to use CASA’s implementation instead of Adobe’s.
As CASA’s version is still applicable, we’ve renamed our methods to removeAllChildren
to be compatible with FP 11. This change will require some changes in your previous applications if you want to use this release. We strive to make all CASA releases backwards compatible, but Adobe’s changes prevent us from doing so with this release.
Change Log
- Renamed
removedChildren
andremoveChildrenAndDestroy
toremovedAllChildren
andremoveAllChildrenAndDestroy
to allow compatibility with Flash Player 11. Thanks to David Pett and Thomas Nesse. - Updated prevent cache to use a timestamp for cache prevention. Thanks to Tobias Artz for the suggestion.
- GroupLoad now dispatches a
NetStatusEvent
event if a video errors while the group is loading. - Fixed an issue with
toTitleCase
in StringUtil where it would not work correctly if an uppercase string was provided.
1.4.1 Downloads & Documentation
ZIP: http://as3.casalib.org/releases/1.4.1/1.4.1.zip
SVN: http://svn.as3.casalib.org/releases/1.4.1/
Documentation: http://as3.casalib.org/releases/1.4.1/docs/
Please note: We advise you to only use the latest release links. This way you can be assured that the version you are getting is the most up to date. We provide links to specific versions to be used in cases of forward compatibility issues.
Written by Reegan on October 28th, 2011
There’s nothing like the relief of fnidnig what you’re looking for.