what is the problem ?I have main movie with a contact button in it, when i click on it it load my external SWF with mail form in it, and when it (form)loads its not working. but when i test form.swf in its own fla it works fine.
userComments = new LoadVars();
userComments.onLoad = function(success) {
if (success) {
_root.gotoAndStop(“output”);
} else {
_root.gotoAndStop(“error”);
}
};
function sendComments() {
var obj = userComments;
obj.from = fromEmail.text;
obj.name = fromName.text;
obj.to = "[email protected]";
obj.subject = “comments”;
obj.comments = comments.text;
userComments.sendAndLoad(“http://www.mypage/cgi-bin/sendmail.cgi”, userComments, “POST”);
_root.gotoAndStop(“wait”);
}
can anybody help me with it.
Thanks