LoadVars.loaded()

mailObj = new LoadVars();
//send variables to ASP using POST
mailObj.sendAndLoad(“sendmail.asp”,“this”, “POST”);
trace(mailObj.loaded);

why does this trace give me a undefined value?

Because the data is not loaded yet.

The better way is to write a function that is called when Loadvars.loaded is true. This way it will not be called to early.

Exactly. And lievre, are you French? Just wondering… :slight_smile: