3 Replies Latest reply on Nov 6, 2007 7:19 AM by kglad

    Create a string array of JPEG names in a folder

      I am creating a dynamic flash picture gallery. I have external folders filled with the thumbnails, all of which are descriptively named. I was wondering if there was a way to create a string array of the JPEG names (per folder), then use that to drive my loader loop, instead of "pic"+i+".jpg", something like picArray[ i ], or picArray[ i ] + ".jpg". I honestly don't want to rename the hundreds of descriptively named files to pic1, pic2, etc, as I may want to use the descriptive file name in the SWF. Also, if the user wants to browse the folder contents w/o the SWF, they have an idea of what the picture is. Any help is very much appreciated. Thanks in advance!