(AS2.0) - Flash form variables post to aspx page

Hi~

I have a flash presentation that i need to add a login window to. The current client login is online on an aspx page. So i need my login to talk to that page and then if the username and password are correct then it lets me go to the next frame. Here is my current code (as2.0):


submit.onRelease=function(){
    
var myLogin:String = txtUserName.text ;
var myPassword:String = txtPassword.text ;

myVars = new LoadVars();
myVars.var_login = myLogin ;
myVars.var_password = myPassword ;

myVars.onLoad = function() {
    if (success)
    {
        trace("yay!");
        getURL("http://ebay.com","_self");

    } else {
        trace("try again");  
        getURL("http://google.com","_self");
    }
}


myVars.sendAndLoad("http://xxxx.aspx", myVars, "POST");
}