Advanced dynamic preloader

Greetings everyone…

I’ve challenged my boss in saying that I wanted a shot at redoing the companys web site. I have the basic layout done - and most of the dynamic image and text loading down.

All thats left before wrapping the site up is this:

I want the visitor on the site to be able to browse through our 5 latest projects. When the visitor clicks on a project it triggers a flash movie that presents the selected project with 4 images. These 4 images HAVE to be loaded dynamicly. The location and name of the 4 images will be the same every time, but Flash HAS to load them dynamicly because I want everyone to be able to change the images used in the flash presentations just by uploading a new image with the same name to the server.

Lets say that the 4 images are located like this:

/job01/1.png
/job01/2.png
/job01/3.png
/job01/4.png

Now, the tricky part is that I want for the flash movie to display a preloader that measures its progress bar on the total download of the 4 images together so that I can load the 4 of them at once and then reveal them to the visitor in a fashion similar to the following link:

Here I have made a quick and dirty flash anim. to describe what I’m looking for:

www.theisjacobsen.dk/test.html

I already tried to adapt the examples of preloaders for dynamic files described in the tutorials on Kirupa, but so far without luck - looks like I’m going to need a hand here…

Cheers everyone!