Groups | Blog | Home
all groups > flash (macromedia) > august 2005 >

flash (macromedia) : Flash Dynamic numbr of images check and load


++Barry++
8/30/2005 11:16:00 PM
Hi. Im just wondering if the following is possible and if so can anyone please
point me in the direction of a tutorial or advice on how to go about it.

If i have 10 images stored in an external folder and have them load
dynamically into flash, i need it so that when more images are added to the
folder flash checks to see how many are in the folder and automatically loads
them in. I need to be able to do this without having to update the fla / swf
each time new images are loaded.

Thanks in advance

Barry.
++Barry++
8/30/2005 11:17:29 PM
oops sorry, i meant each time more images are added to the folder.

Thanks again.


Rothrock
8/30/2005 11:49:04 PM
Nope. Flash has no way to check the contents of a folder. If you want to do
that you will need to use some server-side script stuff. Search these forums on
"check folder contents" and things like that and you will find many posts.

One of the easiest solutions is to use LoadVars or XML to load in a simple
text file with the names of the files you want to have Flash load. That way you
only have to update a text file.
AddThis Social Bookmark Button