I’m trying to pass a username and password to a php script using sendAndLoad (Flash MX Professional 2004):
if (user != “” && pass != “”) {
status = "Begin Login Process - Wait...";
var c = new LoadVars();
var d = new LoadVars();
c.user = user;
c.pass = pass;
c.sendAndLoad("/Login/login_process.php",d);
status = d.status;
}
the result is “undefined”. The username and password values do not seem to reach the php.
Any ideas on what I’m doing wrong?