Page 2 of 2

Posted: Fri Aug 11, 2006 4:14 am
by Ollie Saunders
Could I see the ActionScript for that?

Posted: Fri Aug 11, 2006 4:19 am
by JayBird
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";
?>

Posted: Fri Aug 11, 2006 4:23 am
by Ollie Saunders
Oh wow. That does actually make thinks a lot clearer. Thanks :)