Hi
I just made my first contact form with flash MX. It works very well. But when I load the contact.swf into main movie, something goes wrong because I receive empty e-mails. If I run (only) contact.swf by itself, I’ll get e-mail with content. I’m pretty sure that this is a very simple case but I can’t solve it by myself. I would be very happy if someone helped me.
look at how you are referring to the movie that contact is being loaded into.
if you’re doing something like:
message = _root.textbox.text;
then you’ll probably want to do:
message = _root.content.textbox.text; //where content is the name of the movie the contact form is being loaded into.
function myOnLoad(success){
errBox.setEnabled(true);
if(success){
errBox.setIcon(“info”);
errBox.setTitle(“Kiitos”);
errBox.setMessage(“Kiitos viestistäsi. Vastaamme sinulle mahdollisimman nopeasti”);
errBox._visible=true;
clrData();
}
else{
errBox.setIcon(“Virhe”);
errBox.setTitle(“Järjestelmävirhe”);
errBox.setMessage(“Valitettavasti lähetyksen aikana havaittiin ongelmia. Ole hyvä täytä ja lähetä lomake uudelleen”);
errBox._visible=true;
}
}
function goPostal(){