Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > macromedia flash sitedesign > august 2008 >

macromedia flash sitedesign : Problems with form mailer


rpmn72
10/14/2007 1:45:22 AM
Hi

I'm sure this must be something basic I am missing ... I am trying to send a
form from my swf via a remotely hosted form mail system
(http://www.mailmyform.com/). The end action on the submission button is:

loadVariablesNum("http://submit.mailmyform.com", 0, "POST");

This works prefectly well when I test from my hard drive, however, as soon as
I upload to my site I get no email :(
I'm not good on AS at all so don't have a clue whether the code is to simple
or if it's a server security issue?

Any ideas?


The Feldkircher
10/14/2007 6:19:30 PM
Hi

When you Publish your swf it produces a HTML Wrapper this wrapper has settings
that control its cross-domain policy.
Check Flash Help on 'allowScriptAccess', also check with the Mailer if you
need to provide User validation.

Hope it helps
rpmn72
10/14/2007 11:21:55 PM
Thanks for your reply The Feldkircher.

I had a go at changing allowScriptAccess to always but still no joy. The
mailer does need validation and that is provided in the code before, i.e.

mailmyform_username="your_user_name_here";
loadVariablesNum("http://submit.mailmyform.com", 0, "POST");

But I definitely think you're right, that it is a security setting because the
form works fine locally, just dies when it's uploaded to my site.

Joe
8/22/2008 3:20:42 PM
I have got the exact same problem today.
still looking for a solution.
works perfectly locally but when i upload it fails.
i get an error from my safari browser:"http://submit.mailmyform.com/crossdomain.xml not found". when i run it locally this address doesn't show, just:"http://submit.mailmyform.com/" in the activity window the form works.



From http://www.developmentnow.com/g/75_2007_10_0_0_1027937/Problems-with-form-mailer.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button