I’m wondering if there is any way that an array can be defined simply by all of the files in one directory. For example, if i had the pictures “dog.jpg” and “cat.jpg” in the folder “/pets/”, can i just type “/pets/” to define my array instead of “dog.jpg”,“cat.jpg”?
The reason i’m asking is because i’ve got some AS that displays a random jpg from an array of pictures. I want to be able to just add pictues to the picture directory and have them show up in the random display loop, without having to go through all of the hassle of editing the .fla/.swf
Any ideas?