ok… guys need ur help
i’m building a photography website… i need to read the jpg folder which read the files inside the folder then send the file names into flash so that i can load the respective .jpg file when the user clicks a button for it…
i’ve got the scripting done for the php part where the script reads the folder and echo out the file names…
now the question is… how do i get these file names in flash? i know using the loadVars object… but i want these file names to be loaded into an array if flash… cos the buttons that direct to the jpg files are dynamic… i’m thinking of using a 2-dimensional array… one column to store a number reference and the other column to store the jpg file name…
do i create an array in php and send it into flash(dunno whether issit possible) OR send the “&fName=$fName&…&” string and then split it into the 2D array in flash…?