PDA

View Full Version : PHP get variable to flash?


rejectpenguin
01-08-2008, 03:51 AM
How can I get php pages variables to flash.
Example: "page.php?name=George&lname=Bush"

How can I get the variables "name" and "lname" into flash?

rejectpenguin
01-08-2008, 05:22 AM
Disregard this message. I figured it out!

mojito
01-08-2008, 09:29 AM
It is not only useful to you to know the answer to this, so please share that for us, has sendAndLoad changed since as2 ?

Thats how I would have done it. So many people PM answers etc but sharing the knowledge is good forum spirit.

rejectpenguin
01-09-2008, 11:26 PM
Actually, I just ended up echoing out the variables and reading them from the file.

mojito
01-10-2008, 08:27 AM
Yes but aside from the php side its the actionscript specifics we all come here for, so can I ask again...

Did sendAndLoad work in as3 ? or what is the defacto way ?