Can loadVariables load directories?

I hope this has not been posted (which with my luck it has), but I hope someone knows if a directory can be opened using loadVariables and then placed into an array or loop. I know files can be loaded individually, but I want to be able to see all the files using PHP and my .swf file. I hope this makes sense because I am some what lost. Thanks for any help. ^^

i dont know anything bout php but an easy way out could be writing the filenames on a txt or xml, load it and then load the files from the directory

That is a great approach flash4food. I will try it out later today. I also found that I could read the files in a directory into an array using PHP then use the implode PHP function to send the array to flash as a string then use String.split in my .swf file to accept the it. I hope it works. If you find anything else that is helpful please post it. Thank you again :slight_smile: