I’m trying to do the loading php and mysql content into SWF files tutorial (http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm)
I’m having some problems with it. I have my dynamic text box made and assinged the variable name: variable.
I have the php:
<?php
//The value of $x would be printed to the screen but the SWF would not read the data
$x = "abc";
print $x;
//The value of $x would be printed to the screen and because of the prefix 'myVar=', the SWF will //interpret this as being the intended value for the variable myVar in the SWF
print "variable=$x";
?>
I changed the myVar part to variable, what my dynamic text box is assigned. and For the actions on the movie of the dynamic text box i have:
onClipEvent (load) {
//assuming you have a personal web server and PHP installed locally
loadVariables(“http://www.arctichosts.com/test/loadphp.php”, this, “GET”);
}
Help I’ve tried multiple things. And yes, my server has php support.