When in the heat of constant application development and tight deadlines, it helps to have a set of go to AS3 libraries that will save you from repetitive everyday code/functionality. Whenever you can shave off minutes of your development time, take advantage of it. There are many AS3 libraries that are simply so priceless when it comes to everyday AS3 development tasks. CASA Lib is no different and personally, this is one of my go to AS3 Libraries.
A Flexible ActionScript Library
CASA Lib is a flexible AS2/AS3 ActionScript library designed to streamline common chores and act as a solid, reliable foundation for your projects. It provides a core set of classes, interfaces, and utilities to get you coding faster and more reliably without getting in the way.
To say thanks to Aaron Clinger and the CASA Lib Team for contributing such a quality library to the Flash community, I will be breaking down the library into a series of how-to posts on how to leverage the time saving capabilities of CASA Lib. Much of what I will be breaking down will be real world usage of CASA Lib and how you can slowly integrate it into everyday development cycle.
If you are anxious and can’t wait to take a deeper dive into CASA Lib, download the library and/or view the CASA Lib documentation. For those who aren’t familiar with handling/implementing external AS3 libraries, I will be starting off this series with a basic post how to implement an AS3 library within your development environments.
Also, as I add more posts on implementing CASA Lib’s utility set, I will add them below as a quick reference.
Further Readings: How-to Posts On Using CASA Lib
How To: Implement an AS3 Library into Your Flash Environment
You’ve got the AS3 library of your interest downloaded, in this case, it will be CASA Lib. Now it is time to set up your Flash environment. What to do next? This tutorial is meant to walk you through on how to hook your Flash environment to a specific AS3 library.
CASA LIb’s FrameUtil: Extending the Functionality of the Flash Timeline
While the days of timeline manipulation within Flash are very far and few in between, it still provides useful functionality for timeline specific projects. CASA Lib’s FrameUtil looks to improve how you can interact with the Flash timeline by providing some useful utilities that open up the possibilities of dynamic script integration via runtime.
CASA Lib’s ArrayUtil: Sorting, Searching and Manipulation of Arrays Made Easy
Arrays provide quite a bit of flexibility and functionality when developing in ActionScript 3.0. Having a utility readily available that will allow you sort, search, and manipulate Arrays will save countless hours of coding; along with a lighter script file. This leads me to the next addition of the CASA Lib series post as I breakdown the ArrayUtil.
Display Object Maintenance Made Easy With CASA Lib
Now that we understand(admit) that garbage collection needs to be put high on the list of importance when it comes to AS3 development – one question remains. How can we improve the garbage cleanup process? That’s where CASA Lib’s display package comes in handy giving you a new set of display objects with inherited optimized functionality such as destroy().