Please Help! - under deadline. _root problem?

Hi,

I desperatley need some help from some generous coder. I’ve cobbled together a Flash site using mostly the “cut and paste” method of coding mainly because I don’t know any better.
I have a main Flash movie with a container that loads external .swf’s and transitions to the next loaded movie when a button is clicked. Ok, everything works great - WRONG. I have a movie that loads called “contact.swf” which is an email contact form using php to send email to my account. This works fine when running it by itself, but when it loads into the main movie, my send button doesn’t do it’s job. I suspect that I’m having a problem with _root referrences. The code associated with the button in the main movie is:

Actions for inv_contact_btn
on (rollOver) {
_root.mouse_over_contact_mc = true;
}
on (rollOut) {
_root.mouse_over_contact_mc = fstartlse;
}
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “contact”;
container.loadMovie(“contact.swf”);
} else if (_root.currMovie != “contact”) {
if (container._currentframe>=container.midframe) {
_root.currMovie = “contact”;
container.play();
}
}
}

The code for the “contact.swf” is:

Scene 1
Actions for Frame 1
midframe = 13;
Actions for Frame 13
stop();
Actions for Frame 25
_root.container.loadMovie(_root.currMovie+".swf");
Actions for send
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables(“email.php”, “POST”);
}
Actions for arrow
on(press){
form.body_txt.scroll–;
}
Actions for arrow
on(press){
form.body_txt.scroll++;
}
Actions for form
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
Actions for back
on (release) {
prevFrame();
}

Now, I’ve found other posts on kirupa and elsewhere that seem to address my problem - but have not had any luck fixing it on my own. Please help if you can, as I suspect that someone smarter than I can spot the error in a matter of minutes!

Thanks
R:jail: