Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing values from php to flash 5

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi, can someone please help me. I need to know how to get my graphical PHP counter's value from PHP into flash 5.

thanks..
BOB.G
 
Use loadVariables() to pick up any live variables in the script and read them directly into Flash.

loadVariables("counter.php","");

Will take the values from a php file in the same directory on the server and make them accessible from the current timeline in Flash.

Bear in mind that you have to wait for the variables to load before you can access them so build in a delay loop or use an onClipEvent(data) action to allow time for Flash to access the file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top