mCoLiDeLuXe
12-27-2001, 12:12 PM
I`ve been trying to make this for weeks and it still doesnt work
i just want flash to recieve this 1 variable from php
this is my php script
====loadvars.php
<?php
$aap = "blaatmeuhsheep";
echo "&var1=$aap";
?>
i assume is this ok
now i have a flash file
====test.swf/fla===(not that it matters :P)
in frame 1 i have a textbox named : text
in frame 1 i have the actionscript :
loadVariablesNum ("loadvars.php", 0, "GET");
text = var1;
so var1 will be printed out in de textbox
i publish it run it trough my webserver like this http://oli4/test.html
and i dont see anything in my textbox what is wrong plz explain it
i just want flash to recieve this 1 variable from php
this is my php script
====loadvars.php
<?php
$aap = "blaatmeuhsheep";
echo "&var1=$aap";
?>
i assume is this ok
now i have a flash file
====test.swf/fla===(not that it matters :P)
in frame 1 i have a textbox named : text
in frame 1 i have the actionscript :
loadVariablesNum ("loadvars.php", 0, "GET");
text = var1;
so var1 will be printed out in de textbox
i publish it run it trough my webserver like this http://oli4/test.html
and i dont see anything in my textbox what is wrong plz explain it