I am a beginner at best so bear with me here...

I am creating a dynamic slide show and need an effectice way to count the max number of images to be displayed in a single directory. My goal is to allow the end user to be able to change the images, and the number of, without having to change the code.

I have a clip made that can load any x images as long as they are named...

image01.jpg
image02.jpg
image##.jpg

It uses a simple counter loop from image 1 to "MaxNumPict" initialized as 5 for now.

You get the idea. I want to predetermine how many files exist in the directory before the clip starts so that the index is dynamic.

Only idea I have is to create a text file with the MaxNumPict var. That could then just be edited upon upload of the images. Needs to be easier than this.

There has to be a simple solution...

Any and all suggestions are welcome... Please help!

Thanks
[Edited by trideon on 06-01-2002 at 01:48 PM]