Hi guys,
I have this php page that simply reads two items from the db. One is a number and the other is an image name. Now the number is the sequence order of the images. Also it will goven the array number, as the order/sequence of the images are random and following nothing easy, and I cannot alter the db, so using this sequence number I have place the images in an array, using the sequence to order correctly see below:
while($row = mysql_fetch_array($result)) {
$theImages[$row[‘sequence’]]=$row[‘img’];
…
then when i echo these out normally for testing using a for loop see below I get them into the correct order as wanted:
for($i=0; $i<22; $i++){
echo ‘<br /><br /><img src="directory/’ . $theImages[$i+1].’" />’;
echo ‘<br />’ . $theImages[$i+1];
}
Right now I can get data into flash no problem say like news stories ect but what I want to do here is to place these into a flash array so I can create a simple gallery, that will use the array to go back and forth through the images.
How could I get the info into a flash array to I can manage it with in flash actionscript etc
I hope this is enough info.
Si