Mass image load via XML

Hi dudes,

I have a folder with a number of photos. In my XML file i have the paths to the photo´s and a description. Now i want to preload all the photos in Flash in 1 time. I don´t wan´t to preload the photo´s one by one, i want to preload them all in one. Does somebody know how i can do that? And i also want to show in Flash how many photos there are.

Thank you :slight_smile:

you could use a bunch of invisible holder clips to hold them:

for(loop though images) {
_root.createEmptyMovieClip("image"+i, i); //i is a counter for the images to uniquely name them
_root["image"+i].loadMovie("imagename/path here");
_root["image"+i]._visible = false;
//change the _visible property to true if you want to make the images appear