On Thu, Dec 4, 2008 at 4:29 PM, Scott Langeberg <[EMAIL PROTECTED]>wrote:

> What's a good place to start looking at?:
>
>
>    - Standardizes the loading of external files with an easy-to-use and
>    consistent API.
>
>
> Thanks!
>
>
> On Thu, Dec 4, 2008 at 6:17 PM, Aaron Clinger <[EMAIL PROTECTED]>wrote:
>
>> Sorry for the self-promotion, but after months of work I am happy to
>> announce a new site and new ActionScript 3.0 release of the open source
>> ActionScript library CASA Lib.
>>
>> In brief:
>>
>> "CASA Lib is a flexible 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."
>>
>> More info at http://casalib.org/
>>
>> Thanks,
>> Aaron
>>
>

Hi Scott,

Thanks for the interest. You should start by taking a look at the load
package in the documentation:
http://as3.casalib.org/docs/index.html?http://as3.casalib.org/docs/package-org_casalib_load.html

All the loads in CASA Lib follow a simple syntax like this:

this._graphicLoad = new GraphicLoad("test.jpg");
this._graphicLoad.addEventListener(LoadEvent.COMPLETE, this._onComplete);
this._graphicLoad.start();

this._videoLoad = new VideoLoad("test.flv");
this._videoLoad.addEventListener(VideoLoadEvent.BUFFERED, this._onBuffered);
this._videoLoad.start();

Etc.

All the load classes extend from a BaseLoadItem class (has features like Bps
detection & cache prevention) and a generic Process class (which allows you
to easily chain and thread loads). You can also dump multiple loads into the
GroupLoad class and treat them a single load and receive total load
percentage.

If you or anyone else has any further questions I'd suggest joining the CASA
Lib discussion list, so we don't spam up the OSFlash list with CASA Lib
specifics.

Hope you find it useful.

Best,
Aaron
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to