How to load the contact.swf into the main.swf?

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.

Thanking in advance

This is the code in the layer1 of contact.swf:

function clrData(){
this.formData.name = “”;
this.nameIn.text = “”;
this.formData.company = “”;
this.companyIn.text = “”;
this.formData.address = “”;
this.addressIn.text = “”;
this.formData.zip = “”;
this.zipIn.text = “”;
this.formData.city = “”;
this.cityIn.text = “”;
this.formData.phone = “”;
this.phoneIn.text = “”;
this.formData.email = “”;
this.emailIn.text = “”;
this.formData.message = “”;
this.messageIn.text = “”;
phone2In.setValue(false);
letterIn.setValue(false);
email2In.setValue(false);
permissionIn.setValue(true);

}

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(){

errBox.setIcon(“info”);
errBox.setTitle(“Viestiä lähetetään”);
errBox.setMessage(“Viestiä lähetetään”);
errBox._visible=true;
errBox.setEnabled(false);
formData.sendAndLoad(“http://sloop.fi/cgi-bin/mail.cgi”, replyData, “post”);
}

And here’s the code in layer2 (contact.swf):

formData = new LoadVars();
formData.name = “”;
formData.company = “”;
formData.address = “”;
formData.zip = “”;
formData.city = “”;
formData.phone = “”;
formData.email = “”;
formData.message = “”;
formData.phone2 = “”;
formData.letter = “”;
formData.email2 = “”;
formData.permission = “”;
replyData = new LoadVars();
replyData.onLoad = myOnLoad;
globalStyleFormat.FMessageBoxTitleText = new TextFormat( “Arial Bold”, 15, 0xffffff);
globalStyleFormat.applyChanges();
errBox.setButtonWidth(50);

This is the code of contact button in the main movie (main.swf):

on (release) {
loadMovieNum(“contact.swf”, 1);
}