Hi all,
I’ve been working on:
http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm
Unlike other recent posters, I can’t even get past the first page!
I have PHP and MySQL set up on a remote server, tested and working. I know a bit about AS, PHP, MySQL.
I have a SWF with a single mc on the stage. The mc contains a single dynamic text field. The dynamic text field variable is named myVar. Attached to the mc is this:
onClipEvent (load)
{
loadVariables("[http://blahblahblah/title.php](http://blahblahblah/title.php)", this, "GET");
}
I’ve uploaded this SWF and the HTML container to the server. I also uploaded title.php with:
<?php
$x = "abc";
print $x;
print "myVar=$x";
?>
So, I figure when I visit the page, I should get “abc” printed out. Instead I get this printed out:
_level0.mcText.myVar
Baffled! Any help appreciated.