Hi everyone,
Firstly I’d like to thank everyone who responds to this post because I know how popular/annoying preloader questions are, but I cant find a solution in the dozens of threads I’ve read.
I’ve read through senocular’s tutorial on his website about preloaders and it has shed some light on the “dark” matter but not enough.
Anyway here’s the scenario/problem:
In flash I loop through an external XML file that reads in the data and creates little thumbnails of the images from the XML file. The thumbnails are created from a class whith this code:
var projectThumb = new Thumbnail(projectList*.@SImage, i, 0.85);
the parameters are just the image url, ID and scale
I would like to have a preloader class that I can just say preload this thumbnail and it will create a preloader for that thumbnail, but I have no idea.
So what I need is:
- Preloader class
- AS3 code to attach a preloader to any item that needs a preloader.
P.S. all of my data is loaded externally from an XML file, this mostly includes images.
Any help would be much appreciated.