PHP + Flash

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Could I see the ActionScript for that?
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post 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";
?>
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Oh wow. That does actually make thinks a lot clearer. Thanks :)
Post Reply