
August 31st, 2005
03:38 AM
Neverside Newbie
Status: Offline!
php to flash
Hi, I have set up a PHP script that reads the contents of a specified directory and outputs it like: pic1.jpg, pic2.jpg, pic3.jpg etc...
I don't have much experience with actionscript, so I was wondering how I can get flash to load this PHP script and load the returned data into an array like: var img_array=["pic1.jpg", "pic2.jpg", "pic3.jpg"];
So basically I want to read a directory and load the data into flash. Can anyone help or suggest the best way to doing it?

September 3rd, 2005
02:45 AM
Freelance Designer
Status: Offline!
I wouldnt use PHP to do it, I believe Flash can do it all by itself. Not too sure.
I've Google'd it a bit, and I see it possible in a few downloadable components, but no tutorials.
http://www.hotscripts.com/Detailed/47869.html
Thats the closest I could find to it.
But if you post this question on Kirupa Forums you could find a answer.
___________________


September 3rd, 2005
07:45 PM
Freelance Designer
Status: Offline!
No edit button?
http://www.purephotoshop.com/article/117
That tutorial ought to do it.
___________________


September 4th, 2005
07:48 AM
Neverside Newbie
Status: Offline!
Thanks Musoka, I'll have a look at these. Cheers!