Checking login info

Hey there flash gurus, can someone give me a hand with this?

For some odd reason flash won’t run the loadvars, it gets hung up in the if statement. This is my code that I have:

on (release) {
if (lastName != "") {
txt = new LoadVars();
txt.firstName = firstName;
txt.lastName = lastName;
txt.onLoad = handleLoad;
txt.sendAndLoad("[http://localhost/flashASP/registrationSearch.asp](http://localhost/flashASP/registrationSearch.asp)", txt, "GET");
_root.error._visible = false;
function handleLoad(success) {
if (success) {
	trace("loaded");
	trace("txt="+txt);
	trace("numberOfItems="+txt.numberofItems);
	//myNewVar=txt;
	//trace(myNewVar);
	gotoAndPlay(2);
} else {
	trace("load failed");
	gotoAndStop("userNotFound");
}
}
// } else {
// _root.error._visible = true;
}
}