Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form in Flash

Status
Not open for further replies.

purexenon

Programmer
Jun 22, 2005
1
US
I have tried many freaking tutorials and even some books. Nothing is working not even the simplified components in MX 2004. Can anyone teach me how to make a form in Flash MX 2004 and what i need to do to send it to the FormMail.pl in my cgi-bin.

Please- it would be a huge help to me.
 
on key frame 1:
(depending on mailform you're using)
(on a keyframe)
USER = "your@email.com";
SUBJECT = "subject of the mail";
LINK = "stop();

here you also make the form with var: varname
(so this appears in your mailbox)

on the submit button:

go to and play frame 2
here on a keyframe:
getURL(" "_blank", "POST");
stop();

put a thank you or sending... on this frame if you like

the person will get a pop-up with whatever you put on
(this is the mailform from my provider, adjust if you have your own)

-----
I'm unique, just like everyone else...
 
I need to make [in flash exclusively] a filleble form and submit it to a mail adress. I have no clue how. Here's some details: I have 6 input text lines, two buttons [reset & submit] and no clue whatsoever how to determine the reset button to clear the form and the submit button to send it to the e-mail i have. 10x
 
first of all, what type of data is entered in the input boxes (ex. name, email, message, ...)

the reset button is easy, just make sure the button and each input textbox has an instance name, then use the instance names in this code:

resetBtn.onRelease = function {
inputTxt1.text = ""
inputTxt2.text = ""
...
inputTxt6.text = ""
//buttons 1-6 reset to ""
}

when you use a sendmail form, these are some of the variables you can use

name
email (your email)
email (user's email)
subject
body
header

depending on the code you use, there can be more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top