Any idea how this is done? Upload all contents from file on server into flash


I have been following this example where a user can upload an image to a server through flash and php: .

I want to take it to the next step. At the moment all image files are being uploaded to a folder called ‘files’ on my server. I want to now be able to go through the contents of the ‘files’ folder and place all images onto the flash stage in the form of thumbnails.

I really don’t have much of an idea how this would be done. XML, php… would I need to use myQSL? Any help would be greatly appreciated.