Formmail redirects me to a blank page..

Hi there,
I use a form in my flash movie which points to formmail.pl
Although the variable " $no_content " is set to 1, there is still a new page being
generated after you hit submit. Please help..
klokloAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CyanBlueCommented:
Howdy...

You might want to use LoadVars().sendAndLoad() function instead of whatever function you are using(getURL() function perhaps) to ensure that you are not opening a new window browser from the Flash Player...

send_lv = new LoadVars();
send_lv.onLoad = function () {};
send_lv.argToSend1 = "some data";
send_lv.argToSend2 = "some data";
send_lv.sendAndLoad("formmail.pl", send_lv, "POST");

CyanBlue
0
klokloAuthor Commented:
THhanks Cyanble,
I m  using lv already, not geturl.
0
CyanBlueCommented:
How about posting your actual code so that I know what you are doing???  ;)

CyanBlue
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

klokloAuthor Commented:
thats it!  Its attached on a "send" button.

var sender_lv = new LoadVars();
      sender_lv.subject = "WWW contact";
      sender_lv.comments = this.message_txt.text;
      sender_lv.required = comments;
      sender_lv.send("http://www.picture.gr/cgi-bin/FormMail.pl", "POST");
      message_txt.text = "Thanks!";
0
CyanBlueCommented:
Like I said, try using sendAndLoad() function instead of the send() function... (Check my code one more time...) ;)

CyanBlue
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
klokloAuthor Commented:
THANKS! it worked
(Can you please  have a look at my new question too.? )

If I get it right, I had to load the variables from Formmail.pl into swf,. Yes?
0
CyanBlueCommented:
Um...  I don't understand that question...  
Do you have another topic that explains the problem???  What's the URL to that topic???

CyanBlue
0
klokloAuthor Commented:
The last question was about the solution you gave me

I also have a new topic here
http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_21818402.html

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.