Email form in flash.......Please help me!

I have an email form…with two text fields…one for the users email, the other for the message.

I’m sending these variables to a php script on my server.

The file that has these text fields is called ‘contact.swf’. It gets loaded into a main swf onto level two.

The email function works when I publish the ‘contact.swf’ file and test it using the ‘contact.html’ file.

But it doesn’t work when I try to test it through the main flash file…where the contact swf gets loaded into level 2.

What is going on??? This is so frustrating.
Thanks.