A Simple & Quick Preloader
August 22, 2008 – 3:30 pmOften in my work then I have to chuck something online quickly for clients or whoever to be able to see, and it’s usually nice to have a preloader. It doesn’t exactly take long to create one from scratch, but as I’ve been having to do a lot of it recently, I decided to write a generic AS3 preloader. The difference with this one is that the SWF doesn’t need to be touched - all the necessary parameters are dealt with by the FlashVars. Using this, it takes literally a few minutes to add the preloader.
You can have a loading bar and/or percentage tracker, and you can format the colours, sizes and position of them. The full code is in my code wiki. It’s not much of a wiki, really, as I don’t let anybody else edit it, but it’s just a simple way of making it all readily accessible. All the details about usage and parameters etc are in the wiki.
As always, take anything you like, and don’t worry about copyright, but a link back would be nice if you feel so inclined.