Help! How to create a slideshow with variable number of externally loaded jpegs?

I’m creating a site in which the user can click through a slide show of jpegs which are loaded into the movie from an external images folder. With the help of some tutorials, I’ve been able to do this successfully. However, all the tutorials I’ve found rely on there being a fixed number of images that the slide show goes through… for exmaple, it moves through image1 - image10, and then once it detects it’s at image10 it goes back to 1.

I want to be able to have a variable number of images in the external folder; that is, I don’t want to fix the number of images in the slide show in advance. Is there a way I can get the slide show to scroll through the images (whether there’s 5, or 10, or 100 images, etc.) then return to the first image, without specifying the number of images in advance?

Any help with this would be much appreciated!

Welcome to the forums:)

Take a look at this
http://www.kirupa.com/developer/mx/photogallery.htm

scotty(-: