Can Flash dynamically read swf files from a directory? [renamed]

is there a way to have flash read swf from a directory dynamicaly. so if you add a new one it reads it and you could have a next and previouse button to dynamicly browse throught them.

this way you could just upload new swf and it would automaticaly add it to the set so when you hit next at the end it would read the new one.

well one way, which is not totally dynamic would be to create a textfile as well in that directory with a “movies” variable which you update each time you add/remove movies… you just have to read that variable in flash and keep the “next” button active until you reach the last movie…
this is the easiest way i believe…

i guess you can use php aswell… you make a php script witch searches for .swf files and then sends data to flash… but with a .txt file is probably much easier