Hi, I have made a form in flash that sends an email based on the info you type in and i am using formmail.pl to do it.. it works fine, BUT...

problem 1) My form.swf file has to be in cgi-bin in the same folder as the formmail.pl for it to work.. even if in my flash movie, in the load variables section,I specify the exact URL to the perl file "http://www.mydomain.com/cgi-bin/formmail.pl"

problem 2) My flash movies are on a different server, so in order to solve problem 1, I kept the form part a separate movie (form.swf) and left in cgi-bin. And inside my flash movie running on another server, i do a load movie to get the form.swf to come up on the stage (load movie: "http://www.mydomain.com/cgi-bin/form.swf") but for some reason, when doing this, form.swf is not talking to my formmail.pl file

I thought this would work, because both the form.swf and formmail.swf are in the same folder, but it doesn't work..

I know the form works cause if i go directly to http://www.mydomain.com/cgi-bin/form.swf it works fine.

Any ideas?