Email form

Hi,

I’m just new in Flash MX and I’m in desperate need for a help in putting-up the contact page of mine.

I need to know the script needed to run an email form with an input text box for Name, Email, Message, Reset button and Send button.

Please help me.

Thanks in advance,
Jakurasai:moustache

input textboxes can be created by using the text-tool and then selecting the input option in properties, if you want you can enable “Show border around text”. For message you should set the input textbox to multiline. Give all your boxes an var (box1, box2…)

Give these actions to your frame:
[AS]
_root.box1 = “”;
_root.box2 = “”;

[/AS]

give these actions to your reset button:

[AS]
on (release) {
_root.box1 = “”;
_root.box2 = “”;

}
[/AS]

give these actions to your submit button

want to use php? place everything into a mc and call it formData
[AS]
formData.send(“phpfile.php”, “_blank”, “post”);
[/AS]
want to use asp or another ssa?
[AS]
getURL(“URL”, “”, “GET”);
[/AS]

i you’re sure they use outlook (exp) or another mailprogram, you could use this as actions on your button:

[AS]
getURL("mailto:me@mydomain.com?subject=Email" + “&body=” + “Name:” + _root.box1 + “Email:” + _root.box2 + “Comment:” + _root.box3);
[/AS]