NOTICE: Prequel has been merged into the fosfr framework and will no longer be supported or developed as an independent package. I will however occassionally be updating the release here from the Fosfr version just to allow access to the package alone if need be, however it will in the near future
... [More]
be packaged in com.jeffdePascale.fosfr.prequel for this reason. The loader can still be instantiated without the framework in place if you use Fosfr, this is all pending the final release of Fosfr .9, which will be documented to show how to best implement prequel. More info at:
http://www.fosfr.com
Please note that prequel is actually more of a caching utility - it is designed to, in as small a footprint as possible, get the content CACHED onto the client machine, where it can then be loaded near instantly into an object through your code. Prequel is intentionally designed to not load the content into an object on completion (with the exception of XML and URLVariables, which will probably be removed to avoid confusion), which is counter to how most loaders are designed. The result is a super lightweight, broad scope caching utility, which may or may not serve your particular development purpose.
Prequel is a preloading solution for Actionscript 3 Flash development. Prequel has the following capabilities:
loading of the container SWF
Client caching of external files of any type handled by Flash, such as SWF, JPG, PNG, and others, as well as those not handled by Flash directly, such as PDF and EXE files
Aggregate, weighted percentage information for all files being loaded, as well as complete bytesLoaded and bytesTotal information, file info, and more via the custom PROGRESS event
For FLV and MP3 files, the option to buffer those media files to a specified to percentage
XML and URLVariables loading from an external source can be preloaded directly into objects ready for parsing when the COMPLETE event is fired.
Bandwidth detection that returns bandwidth information based on the preload time and size in kbps and time in seconds, to the hundreth of a second (see BandwidthDetection class in the Prequel package)
See quick start PDF for detailed implementation, Class file documentation can be found in the documentation folder in the package download and online at http://www.jeffdepascale.com/blog/documentation/ [Less]