myvar = new LoadVars();
Now, I put the full URL in front of the "soundstatus.php"
file. All this is supposed to do is load a variable from a PHP
file. The PHP file returns "myaudio=true" or "myaudio=false" but
when I run the script all I get is this in the output is:
I can add an onEnterFrame and trace the myvar.myaudio --
which loops a continuous "undefined".
This was working fine earlier -- what am I missing?
I don't think you're missing anything. I duplicated your code
as attached replacing your php file with a local textfile that
contains one line "myaudio=true", and it worked perfectly. Are you
sure your PHP file is working correctly?