View Single Post
  #2 (permalink)  
Old July 21st, 2007, 10:58 AM
harpua harpua is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try this. I will test if your vars are coming thru and you can track down the problem a little easier.

var testVarPhp:LoadVars = new LoadVars();
testVarPhp.onLoad = function(success:Boolean) {
    if (success) {
        trace(this.toString());
        testVarText.text = testVarPhp.testvar;
    } else {
        trace("Error loading/parsing LoadVars.");
    }
};
testVarPhp.load("http://www.gamepasta.com/testvar.php");
Reply With Quote