Great tutorial on php, need the next step

here’s a great tutorial I found
(at least it seems great)

  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…
how do we pull these images into FLASH

can’t find this information anywhere