Great tutorial on php, need the next step

here’s a great tutorial I found
(at least it seems great)
http://www.spoono.com/php/tutorials/tutorial.php?id=42

  1. readdir.php - this puts all the images in a folder into the database
  2. image.php - the actual image script that displays the imag
  3. view.php - an example file that shows you how to call the image

now…we need…
STEP 4…
how do we pull these images into FLASH

can’t find this information anywhere