Post by Aron / September 18th, 2009
Philipp and me have been using the PreLoader class as a Loader replacement for some years now. It loads asset SWFs more convenient and has some nice improvements over the usual Loader.
- Works similar to the Loader class (although it’s not extending it)
- Allows only one loading process per time (integrated loading queue)
- Some nice enhancements
See a typical scenario
Differences to Loader
Post by Aron / Dezember 15th, 2007
In AS3 you finally have the possibility to close a Loader request using the Loader.close() function. The so far loaded data is cached, so when you initialize a new Loader it continues. This is working pretty well.
But: Not inside the Flash IDE! It took me hours to find out. Yeah, i know, i should have known better… :) So don’t worry, inside the Browser it works just fine.
BTW: We’re using Charles to test the preloading functionality. Charles also allows you to protocol the sent and received remoting data both inside the Flash IDE and Browser (Firefox / IE). Charles is not free, but it’s worth the money!