PHP + Flash
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Something like this IIRC
Code: Select all
onClipEvent (load) {
loadVariables("http://localhost/test.php", this, "GET");
}Code: Select all
<?php
//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 "myVar=$x";
?>- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK