What is the best way to test if variables from a PHP page have been fully
loaded and available to Flash?
I've tried putting myLoadVars.loaded into a while loop but it never
evaluates to true.(Snippet below)
I am assuming I must be doing it incorrectly and haven't been able to find a
working answer when I google it.
Thanks Much,
--ScareCrowe
<snippet>
myVars = new LoadVars();
myVars.load("http://mydomain/file.php");
while(apple == false){
if(myVars.loaded == false){
apple = false;
trace("Not Loaded Yet.");
}else{
apple = true;
trace("Okay Loaded.");
}
}
</snippet>