PDA

View Full Version : FormMail redirect page in Flash?


jkatz
1-6-05, 02:45 AM
I've managed to get FormMail working from within a Flash movie, now I'd like to tackle the redirect page. Is there a straighforward way to not jump to the generic FormMail.pl redirect page that you get when the form is successfully sent through email? I know in html you use:

INPUT TYPE = "hidden" NAME = "redirect" VALUE = "http://www.site.com/thanks.html"

to jump to your own redirect page, but here I'd like to either stay in Flash (and go to a "Thanks" movie) or create a simple pop-up that says "Your form has been sent - close window" or something like that. Any ideas? I'd rather not modify FormMail.pl if I can avoid it since other pages call on it as well.

markus
2-9-05, 10:03 PM
First the redirect,

in the same actionscript for your submit button just add a:
gotoAndStop("thanks");
or use gotoAndPlay("thanks");

This will send your movie to a new scene or label with your thank you animation

I would like to know how you manage to get the FormMail link in flash if possible

Thanks, Markus