faqts : Computers : Programming : Languages : PHP : Not Quite PHP : Flash 4

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 21 people (38%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How to pass variables from php3 to flash?

Feb 24th, 2000 12:31
Andrew Sheh, Markus Meier, Tim Zickus


You have to call the php3-file within flash. (like in a html-form, with 
the post-method)
And very important:
You have to define ALL the variables (you get back) before you call the 
php. (like in real programming-languages :) )
Also
It is as described in the Flash 4 manual...use the geturl or loadmovie 
commands, but instead of using a CGI to send the variables, use a PHP 
script.