Foreach File in a Folder in Flash?

Posted by msandbot on Stack Overflow See other posts from Stack Overflow or by msandbot
Published on 2010-06-02T20:07:10Z Indexed on 2010/06/03 6:14 UTC
Read the original article Hit count: 214

Filed under:
|
|
|
|

Hey,

I have an image slideshow program working right now and it takes in a folder of a hard coded in number of images. I would like to change this so that it can take in a folder and will display all of them no matter the number. Is there a way to do this in flash? I'm thinking something like the foreach loop in perl or other scripting language. It is possible to store then number of images in a text file but I also don't know how to read that in flash either. I'm working in actionscript 3. Any help would be greatly appreciated.

Thanks -Mike

© Stack Overflow or respective owner

Related posts about flash

Related posts about images