I am communicating with my php file file but i having trouble with the variables loading into the email the php code generates.
I’m gues the problem has to do with which timeline the variables are loading into. I’ve tried several things here and nothing appears to work. Can you guys tell me if this looks correct?
[ACTIONSCRIPT]
myvars = new LoadVars();
myvars.load(PHPFile);
myvars.onLoad = function(success) {
if (success) {
PHPStatus = “Sending Data - Please Wait . . .”;
_level2.contact.contact_content.contactform.loadVariables(PHPFile, “POST”);
/loadVariablesNum (PHPFile, 2, “POST”);/
trace (FullName);
} else {
PHPStatus = “Unable to connect with the server. Sending data has been cancelled.”
}
}
[/ACTIONSCRIPT]