Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : redirect to another page after posting to form



iamalex
4/1/2004 10:06:52 PM
on my send button, I'm sending to a cgi email script, how do I add a redirect
in the flash script to go to another page?
This is my current:
on (release) {
getURL("http://www.myurl.com/cgi-bin/cgiemail/answerFile.txt", "", "POST");

}



Dinghus
4/1/2004 10:52:03 PM
add in after your getURL

gotoAndStop("nextFrame");

iamalex
4/2/2004 3:06:53 PM
If I had another one after it will take me to it fine, but it ignores the first
one. The first one sends and email out with information from form, which is
the major objective, but then I want it to go to a different url.
Can you help.

on (release) {
getURL("http://www.myurl.com/cgi-bin/cgiemail/answerFile.txt", "",
"POST"),getURL("http://www.google.com/particularPage.html");

}
James Fee
4/5/2004 5:43:24 PM
did you try:
on (release) {
getURL("http://www.myurl.com/cgi-bin/cgiemail/answerFile.txt", "",
"POST");

getURL("http://www.google.com/particularPage.html");

}


--
Jim Fee
Viking Electronic Services
jfee (at) vikinges (dot) com
[quoted text, click to view]

iamalex
4/5/2004 9:05:39 PM
iamalex
4/8/2004 7:25:05 PM
AddThis Social Bookmark Button