You need to bridge the gap between Client-side scripting and Server-side scripting... and while Flash can do that in a Number of ways... as Aneesh has mentioned above, it is not going to happen with just a call to the page...
It seems like a backwards way to make something work, but just in case this is your only option... you can use ExternalInterface to call a JavaScript function... which then uses AJAX to communicated with your PHP scripts...
like I said though... this seems backwards, but there is a way to do it...
rp / ZA
Main Topics
Browse All Topics





by: aneeshchopraPosted on 2009-04-28 at 11:51:26ID: 24253875
Flash can't call a PHP function as you are expecting to achieve.
m/tutorial /ActionScr ipt/ LoadVa rs_Class_i n_Flash-30 -1.html
Although you should call the PHP with querystring parameters or POST variables.
and PHP should react based on received GET/POST variables and return the response to flash
you should use LoadVars.sendAndLoad() method.
here is a link which has few sample code on how to communicate with server-side scripting using Flash actionscript
http://www.flashadvisor.co