hi
not trying to be funny or anything but youd be better asking this on a flash forum.
php will only be able to provide the data from the web server. at least as hard a job again will be producing the flash movie to interpret it. as far as i know flash expects data files in a certain format. displaying that in flash could be quite hard as well. ( i dont know how well you know flash but this will require ActionScript I believe).
work out the flash first and work out the format the data will need to be in for Flash to understand it.
then come back and ask how to get it in that format.
just trying to help.
vincent fleetwood