We just released a new version of CASA Lib AS3. This update includes many improvements, optimizations, new methods, and a few new classes. Two of my favorite classes are LibraryLoad and LibraryManager which make loading and managing external assets simple.
Change Log
- Added
willTriggercheck todispatchEventfor slight speed optimization if there are no listeners. - CasaSprite & CasaMovieClip’s stage getter will return StageReference’s default stage if the display objects have not been added to the display list.
- Minor improvements to the documentation and fixed misspellings.
- Added
isEqual(with option to define precision) to NumberUtil. - Updated Sequence to extend from Process.
- Updated AlignUtil so all methods have the option to snap to pixel.
- Added a safety measure in LoadUtil’s
calculateBps. - Stopwatch now has a
runningmethod. - Updated GroupLoad so it sets load percent manually to 100% when loaded to counteract number float errors.
- Updated GroupLoad so that setting
preventCachewill change the properties of its children. - GroupLoad now has a
destroyLoadsmethod. - Made minor optimizations to LoadItem and made it easier to extend.
- Fixed a bug in the documentation which prevented StringUtil trim functions from appearing in the HTML documentation.
- Added CasaLoader (basically split GraphicLoad into two classes) to be easily extended by GraphicLoad and
LibraryLoad. - Added ClassUtil.
- Added StageEventProxy.
- Added SingletonUtil.
- Added
LibraryLoad. - Added LibraryManager.
1.1.0 Downloads & Documentation
ZIP: http://as3.casalib.org/releases/1.1.0/1.1.0.zip
SVN: http://svn.as3.casalib.org/releases/1.1.0/
Documentation: http://as3.casalib.org/releases/1.1.0/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 Jeff L on July 17th, 2009
Hello,
Thanks for this create library of classes! I have found a bug in the GraphicLoad class… This is class does not report an error when an object is not found, like “url not found.”