flasher123
Technical User
Hiya,
Here is the curent code for my contact form.
Now, my question is once the form has been filled out and the visitor hits the submit button i would like the "Contact Form" to jump to a point in the timeline to run and play a motion tween which results in the contact form moving off the main movie.
any assistance wil be greatly appreciated.
Thanx
Here is the curent code for my contact form.
Code:
bSubmit.onRelease = function()
{
email();
}
function email()
{
var sMessage = "Name: " + tName.text + "\nE-mail: " + tEmail.text + "\nComments: " + tComments.text;
lvSend = new LoadVars();
lvReply = new LoadVars();
lvSend.msg = sMessage;
lvSend.address = "email@email.com"; //Change this to your e-mail.
tName.text = "Sending Message…";
tEmail.text = "";
tComments.text = "";
lvReply.onLoad()
{
tName.text = "Message Sent";
}
lvSend.sendAndLoad('mail.php', lvReply, 'POST');
}
Now, my question is once the form has been filled out and the visitor hits the submit button i would like the "Contact Form" to jump to a point in the timeline to run and play a motion tween which results in the contact form moving off the main movie.
any assistance wil be greatly appreciated.
Thanx