
July 24th, 2003, 02:22 PM
|
|
Registered User
|
|
Join Date: Apr 2003
Location: Edison, NJ
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Yes you are right
I hope that this information doesn't come too late. You've probably already found your answer elsewhere, but I'll answer you anyway, as I am about to create what you're talking about from the ground up.
The short answer is YES. you have to rebuild it. The reason for this is that Flash doesn't accept the current output of HTML to display your information. You will need to re-write the PHP to output in a format that Flash can understand.
Flash basically calls a URL to get variables. You need to define what you want your variables to be called in flash and just export the data in this format:
var1=this is the value of the first variable&var2=the second variable is better than the first&
this should be on one line of the output from the PHP file. As you collect the information within your PHP code, you can keep appending the values to the end of a variable used in a final echo or print command (i.e. $output)
Once you have your data in Flash you can manipulate it all you want in actionscript, or just have dynamic text fields pre-assigned to the variables that you load from your PHP/DB backend.
There are plenty of tutorials around that should describe this in detail. Most decent Flash MX books will also touch on this topic. Flash MX Unleased (Sams I think) goes into depth with this sort of theory.
Happy RE-coding!!!
|