Well you need to find out how EXACTLY the data you need to display is going to be delivered to you..that will open (or close) many options for you.

if the php page is generating some XML on the fly.. you need to parse the XML to use the data first...

you can use Flash to call a php script that will scrape ay directory and truen the file names back to Flash, you can dump into an ARRAY.. and loop through them as you want... doesnt matter where the pics are located.. (well ok it does in the end ..but not for now).. you can still load them.

I mean if you have an 'xtra' page..you'll know.. and you'll have to plan fo rit.. or make sure he puts any split image directories inside a PARENT IMAGES directory.. so you can still scrape the file names..and return them to flash.. or create an XML file and use a tre compoenent to show the directory structure or something.