PDA

View Full Version : ! more time php4 and mysql


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

Ricod
12-27-2001, 06:32 PM
Place the load variables in the 2nd frame, to ensure the textbox is loaded (place a stop(); there ). Check to see if the textbox is set to dynamic text and that its indeed called text. Make sure u load the variables to _root. Is the font included. Is php supported where u test it ?