All pastes #909576 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-02-19 08:29 UTC
rendered paste body
url = "http://localhost/Ski Site/Site/scorelist.php";
myLoadVars = new LoadVars();
myLoadVars.load(url);
myLoadVars.onLoad=function(success){
if(!success){
trace("Failed to load")
}else{
trace(myLoadVars.var1)   ----------------- Traces out the correct value
list1.text=myLoadVars.var1;   ----->>> Not getting updated
list2.text=myLoadVars.var2;  ------->> Same here
}
}


I have the above code on a frame in a layer called AS and a few layers below that I have another layer which holds the text boxes... BUT IT'S ALL ON THE SAME FRAME!