Flash question of the day
Flash question of the day
- Started
- Last post
- 2 Responses
- nadnerb
It would be nice if I could scan the contents of a folder and populate an array with the file names. Is it possible? I asked Flash, but he didn't answer.
- Mimio0
You could use php to do that.
- st33d0
Have flash load into an XML object a .php file on your server. That .php file in question is a script that scans said directory and builds an XML representation of it.
http://uk.php.net/manual/en/func…
the url leading to your .php file would likely have a cgi format of
http://mysite.com/script.php?fol…
You would read the folder variable in the url from $_GET['folder']