Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Email Form In Flash Using ASP



I am creating a email form in flash. I created a movieclip, named it form and brought it into my main timeline from the library. Within the form is four input text fields with the following variables: name, phone, email, message.

On the main timeline I put my submit button for the form with the following code:

on (release) {
if (form.name eq "" or form.phone eq "" or form.email eq "" or form.message eq "" ) {
form.gotoAndStop (3);
} else {
form.loadVariables("contact2.asp", 1, "POST");
form.gotoAndStop (2);
}
}

The button functions in that it will go to and stop on the form frame 3 if one of the fields is blank, or it will go to frame 2 of the form movieclip if all the fields are filled as I specified in my code. My problem is that the sent email does not contain the variables information.

The submit button is not within the form movieclip itself but rather on the main timeline where the form is located. I tried changing the level on the loadvariables from 1 to 0 but that didn't make a difference.) But if it is correctly going to the frame 2 and frame 3, I would think the button is speaking to the correct level.

I also did a test in which I replaced form.loadVariables("contact2.asp", 1, "POST");
with:
getURL ("contact2.asp", "", "GET");

The url address was a mile long but it DID include the variable info, so I guess it IS passing the variables, but the ASP is not outputting them in the email:
I did test the ASP using an html form with those variable names and that does work correctly.


Here is the code on the ASP page:

<%

' declare variables
Dim EmailFrom
Dim EmailTo
Dim Subject
Dim name
Dim email
Dim phone
Dim message

' get posted data into variables
EmailFrom = "info@mydomain.com"
EmailTo = "me@yahoo.com"
Subject = "F22 Website Inquiry"
Name = Trim(Request.form("name"))
Email = Trim(Request.form("email"))
Phone = Trim(Request.form("phone"))
Message = Trim(Request.form("message"))

' validation
Dim validationOK
validationOK=true
If (validationOK=false) Then Response.Redirect("error.htm?" & EmailFrom)

' prepare email body text
Dim Body
Body = Body & "You have received an inquiry from the Contact page on the F22 website. Below is the information submitted: " & VbCrLf
Body = Body & " " & VbCrLf
Body = Body & "Name: " & name & VbCrLf
Body = Body & "Phone Number: " & phone & VbCrLf
Body = Body & "Email: " & email & VbCrLf
Body = Body & "Message: " & message & VbCrLf

' send email
Dim mail
Set mail = Server.CreateObject("CDONTS.NewMail")
mail.To = EmailTo
mail.From = EmailFrom
mail.Subject = Subject
mail.Body = Body
mail.Send

%>

Any ideas/input would be greatly appreciated!

Dave



ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 02-07-2008, 10:04 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

[F8] Flash 8 - Email Form: How To Get Users Specified Email In From Portion Of Email
Hey guys,

I want to add a newsletter to my new website that people can add their email addresses to. First off, I would like to have a field that the user can type his email address in, and have that field check if the email is valid (ie make sure that there is an @something.something).

Next, I would like it to send an email to my email address, with their email address in the from portion of the email (basically as if they have emailed me directly from their email). This way, it will be very easy for me to add them to my mailing list.

Thanks a ton for any help... Ive been searching for a while on how to do this, but couldn't find a way to put the users email in the from portion of the email.

A Good Email List Program In Php And Email Form In Flash MX
Hello guys and Girls. Does anyone know how to setup a and direct me to a good 'Email List' program maybe done in PHP where essentially people come to my flash website....click a button to 'subscribe' to my newsletter' and when they do that.....they just type in their email addy and it is sent to a data base or something . I want to be able to simply type up a new newsletter and have it sent to all my email members who are in that email list in that data base?

I dont want anything more complicated than that!
I'm just paln to have a simlpe button in Flash that they click...and a small popup appears with a small form in flash for their email address and their name.

Let me know if anyone can refer me somewhere or help me out!

Thanks...

Flash Email Form -- No Content In Email
I realize that a similar question has been posted many times, but since I've been searching for an answer that works specifically for me for 2 long days, I feel I need to post.

I've created a guestbook-type form in Flash and a perl script to send the contents of that form to my own email address. Things seem to be working fine except that the email I get is blank. I don't know much about scripting outside of Flash, so I'd appreciate some help. I think my perl script is the problem, but I'm copying both scripts below.

Thanks a milion.

-------------------------------------------------------------------
My SendMail.pl script:
-------------------------------------------------------------------

#!/usr/bin/perl
print "Content-type: text/html

";
$title='New Birdie Guestbook Entry';
$to='jessica@jessicaberardi.com';
$from= 'jessica@jessicaberardi.com';
$subject='New Guestbook Entry';
$name = 'name_txt';
$address = 'address_txt';
$city = 'city_txt';

open(MAIL, "|/usr/sbin/sendmail -t");

## Mail Header
print MAIL "To: $to
";
print MAIL "From: $from
";
print MAIL "Subject: $subject

";
## Mail Body
print MAIL "New Guestbook Entry
";


close(MAIL);

print "<html><head><title>$title<
/title></head>
<body>

";

## START HTML content
print "<h1>$title</h1>
";
print "<p>A message has been sent from $from to $to";
## END HTML CONTENT
print "

</body></html>";






-------------------------------------------------------------------
My Flash code:
-------------------------------------------------------------------

stop();

function sendForm () {
my_lv = new LoadVars ();
my_lv.name = _parent.name_txt.text;
my_lv.address = _parent.address_txt.text;
my_lv.city = _parent.city_txt.text;
my_lv.state = _parent.state_txt.text;
my_lv.zip = _parent.zip_txt.text;
my_lv.phone = _parent.phone_txt.text;
my_lv.email = _parent.email_txt.text;
my_lv.message = _parent.message_txt.text;
my_lv.send ("http://www.jessicaberardi.com/test/SendMail.pl", "POST");
gotoAndStop("thankyou");

}

submit_btn.onRelease = function () {
if (name_txt.text == "" || email_txt.text == "") {
status_txt.text = "Please complete the required fields.";

} else {
status_txt.text = "";
sendForm ();
}
};

Help: Form Mail (CGI-style Email Form) In Flash
Anyone have a nice .FLA file to share so I can get in and play with the AS?

I need to setup a CGI-style email submission (request info, etc) completely within the MX2004 pro environment--for a client.

I'm not completely fluent in AS2.0, but I can run with changing the fields and calls so long as the sample is not too complex.

Much appreciated.

Flash Email Form
Please help,
I have put the following code on my submit button for my form in flash 5, I was told the address to send it to by my host I don't get error messages, my client just doesn't receive the emails. this is the code:
on (release) {
subject = "enquiry form";
recipient = "reflect@reflections-rarotonga.co.ck";
loadVariablesNum ("http://www.rocketlist.com/cgi-bin/formmail/formmail.pl", 0, "POST");
gotoAndPlay ("thanks");
}

Email Form In Flash 5
greetings-
this may be a stupid question, apologies---
I need to make a form in which the user types in their email address and name and then hits a 'send' button and the info gets sent to an email address. I know this can be done with input text and some scripting, but I am having difficulty with the actual text of the script. Please-any info, help, script guidelines would be greatly appreciated.

Happy New Year!

Email Form In Flash
pleeeaaaasssee heeeellllpppp!!!!

I have created a .swf file for a contact page. It is a small file that loads into the main movie via _root. (blah, blah, blah).... in the contact page file I included an email form to be filled out and then can be sent to a recipient as a form. When I test this form out in the Flash Testing Environment, it works fine and the email is sent and received intact...but when i upload it and try it via the web.....it says that it has been sent, but never comes through to the specified email address:
Here is the actionscript I put on the 'Submit' button, any clues as to why this might be happening??????

on (release) {
subject = "Electronic Contact Form Response";
recipient = "info@contact.co.nz";
loadVariablesNum ("http://www.thezone.net.nz/bin/FormMail.cgi", 0, "GET");
gotoAndPlay ("thankyou");
}

HELP - Email Form In Flash
pleeeaaaasssee heeeellllpppp!!!!

I have created a .swf file for a contact page. It is a small file that loads into the main movie via _root. (blah, blah, blah).... in the contact page file I included an email form to be filled out and then can be sent to a recipient as a form. When I test this form out in the Flash Testing Environment, it works fine and the email is sent and received intact...but when i upload it and try it via the web.....it says that it has been sent, but never comes through to the specified email address:
Here is the actionscript I put on the 'Submit' button, any clues as to why this might be happening??????

on (release) {
subject = "Electronic Contact Form Response";
recipient = "info@contact.co.nz";
loadVariablesNum ("http://www.thezone.net.nz/bin/FormMail.cgi", 0, "GET");
gotoAndPlay ("thankyou");
}

Email Form In Flash
Can anyone help me make an email form in flash?

Thanks alot

Email Form In Flash 5
Ok,
My wife is working on an html form to send an email of the specified form to a party listed in the SendTo in the html form. SHes got that part down, easy enough. There is alos a spot in the form where the employee must list their "bosses email" as well and they want this form sent to the boss too.
Any idea how this will be possible in Flash 5? I know it IS doable, but what would be the variables involved in sending out the flash form to the specified email, and the inputted email?? Will she need to use xml or any CGI for this?
PBM

Email Form Using Flash 5
I was wanting to create an email form using flash 5. I did see one on here but it was for flash 4. Can someone direct me to one for flash 5

I am a beginer at flash I can do some basic things, make ojects, buttons, movies, tweening but I have no real action scripting knowledge

thanks

Email Form In Flash
I am having problems creating an email for in flash. I tried using the tutorial:

http://www.flashkit.com/tutorials/Ge...531/index.php, however i can not get it to work. I dont understand the text field thingy because so much has changed for 4-MX. If anyone can give me a link, or a tutorial that explains this easily it would be apprec. I think i got the actionscript down, but need a little help...

Thanks

Star

Flash Email Form
i am not sure if this question is appropriate for this forum,

but please help me if you can...

i have a flash form made to send email by calling an asp file... but after the email is sent, the page will say Page Cannot be Loaded, bc there is no coding in asp to display another page, all it has is the code to send the email...

instead of loading another page, what code can i add to the asp file to make the form go to a certain frame, instead of trying to load the asp page???

appreciate your help...

How Do I Do An Email Form In Flash?
I want to make an email form in flash but I don't want to use the components provided in flash. I know how to make the form and have it check if all required fields are filled in. But what script do I use to send the information in the form to a specified email address and how? Can anyone help me? Thanks.

Flash Email Form
I need a very simple flash form :

name
company
email address
telephone
enquiry

when they press submit, it automatically emails the answers to a specific address.

How do I go about doing this please. Thank you in advance for your help

Chris Green
http://www.breadlegs.com

Email Form In Flash
hello, I was interested in creating an email form with flash MX, so i have been looking for a tutorial, the only one i can find on this site is for flash 5. can anyone help me ? i would like to also vaidate the form.

In MX , it has UI components, but their is no component for a text box or text area ????? which is why I am not just trying to do it my self.

i can use either php or asp.

Email Form In Flash
Does anybody know of a good tutorial?
I need a form built in flash 5
sending name,email,comments,etc.
to my email
any help would be excellente!!!
thanks

Email Form With Php And Flash
hey, I'm trying to make a form in flash mx, using php for the server. Somwhow i put the code, and i really don't understand why it doesn't work. If anyone can help me, or tell me what's the right code for php, and flash. I'll appreciate it.

Php Flash Email Form Help?
Hi guys. I've got a problem with a flash email form I created I've tried configuring most things but I don't know ehre I've gone wrong. Below is the AS I'm using (all the actions for the buttons are in a keyframe on the main timeline)

OK here it goes – I have a mc with an instance of ‘formset’ in which is another movieclip ‘form’, also in the ‘formset mc is a submit button with an instance of ‘submit’. I followed the tutorial and put the actions on the form mc which are in my case –

onClipEvent(data){
this._parent.nextFrame();
}

Now all my buttons actions are kept on a key frame in the main timeline. The actions that I’m using for my submit button are (includes rollover actions) –

formset.submit.submitbutton.onRollOver = function(){
_root.formset.submit.gotoAndPlay("rollover");
}
formset.submit.submitbutton.onRollOut = function(){
_root.formset.submit.gotoAndPlay("rollout");
}
formset.submit.submitbutton.onRelease = function(){
this.formset.form.loadVariables("email.php", "POST");
}

The back button contains the following actions as well –

formset.back.backbutton.onRollOver = function(){
_root.formset.back.gotoAndPlay("rollover");
}
formset.back.backbutton.onRollOut = function(){
_root.formset.back.gotoAndPlay("rollout");
}
formset.back.backbutton.onRelease = function(){
this.formset.prevFrame();
}

The php code (email.php) is -

<?php
/ **************************************************
*
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
* http://www.php.net/manual/en/function.mail.php
*************************************************
**/


// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.

$sendTo = "g_barnettuk@hotmail.com";
$subject = "Streamzdesign.com reply";

// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.


// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] .">
";
// next include a Reply-To:
$headers .= "Reply-To: " . $_POST["email"];

// now we can add the content of the message to a body variable
$message = $_POST["message"];


// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>

Heres the fla if you could have a look at it file

Thanks people

Flash Php Email Form HELP PLEASE
php flash email form help?
Hi guys. I've got a problem with a flash email form I created I've tried configuring most things but I don't know ehre I've gone wrong. Below is the AS I'm using (all the actions for the buttons are in a keyframe on the main timeline)

OK here it goes – I have a mc with an instance of ‘formset’ in which is another movieclip ‘form’, also in the ‘formset mc is a submit button with an instance of ‘submit’. I followed the tutorial and put the actions on the form mc which are in my case –

onClipEvent(data){
this._parent.nextFrame();
}

Now all my buttons actions are kept on a key frame in the main timeline. The actions that I’m using for my submit button are (includes rollover actions) –

formset.submit.submitbutton.onRollOver = function(){
_root.formset.submit.gotoAndPlay("rollover");
}
formset.submit.submitbutton.onRollOut = function(){
_root.formset.submit.gotoAndPlay("rollout");
}
formset.submit.submitbutton.onRelease = function(){
this.formset.form.loadVariables("email.php", "POST");
}

The back button contains the following actions as well –

formset.back.backbutton.onRollOver = function(){
_root.formset.back.gotoAndPlay("rollover");
}
formset.back.backbutton.onRollOut = function(){
_root.formset.back.gotoAndPlay("rollout");
}
formset.back.backbutton.onRelease = function(){
this.formset.prevFrame();
}

The php code (email.php) is -

<?php
/ **************************************************

*
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
* http://www.php.net/manual/en/function.mail.php
*************************************************

**/


// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.

$sendTo = "g_barnettuk@hotmail.com";
$subject = "Streamzdesign.com reply";

// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.


// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] .">
";
// next include a Reply-To:
$headers .= "Reply-To: " . $_POST["email"];

// now we can add the content of the message to a body variable
$message = $_POST["message"];


// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>

Heres the fla if you could have a look at it URL=http://www.streamzdesign.com/v1.fla]file[/url]

Thanks people

posted in AS forum as well I didn't know what this problem classed as.

oh yeah it an mx2004 filefile

Help With Flash Form To Email Using Php
hey all,
ive recently made a email form for my website using flash and php
when i use the form, it does what its supposed to and sends an email to the specified address.
the only thing is that the email does not contain any of the variables i had wanted it to send along in the mail.
Please Help!!!

I have attached the php file and the .fla file for my form

Email With Flash Form To Php
i seem to be having trouble getting the status message to return to flash. it works fine until it goes to send the message back. what permissions should i have on the form file and the php file to make sure this is working correctly? that's the only thing i can think of that's wrong. thanks

Email A Form From Flash With PHP Help
I have seen many PHP Email tutorials, however the few I have tried and retried do not seem to work so well.

I am wondering if anyone could recommend a very good PHP Email in Flash tutorial. Preferably ones you have used, not just found.

What I am attempting to do is make a suggestion form in flash.
Name, email, comment, & send. And then sends to name@server.com

Thank you very much!

PHP Email Form In Flash MX? Anyone?
I'm a bit confused about using php in conjunction with Dream Weaver and Flash to create an email form that sends email to an outside address.

I know how to create:

1) text input fields
2) appropriate send and clear form buttons
3) appropriate coding for php and flash buttons

I don't know:

How to arrange my files. Does the flash file get inserted into the Dream Weaver file with my php coding? Or do I simply place the plain text php file and the flash swf with my email form in the same directory on my server?

Please see the attached file I've created. Also, here's the php coding I"ve been using:

<?php
$to = "allenlee@forthemodernman.com";
$msg = "$name

";
$msg .= "$message

";
mail($to, $subject, $msg, "From: My web site
Reply-To: $email
");
?>

Email Form In Flash.......Please Help Me
I have an email form....with two text fields....one for the users email, the other for the message.

I'm sending these variables to a php script on my server.

The file that has these text fields is called 'contact.swf'. It gets loaded into a main swf onto level two.

The email function works when I publish the 'contact.swf' file and test it using the 'contact.html' file.

But it doesn't work when I try to test it through the main flash file......where the contact swf gets loaded into level 2.


What is going on???? This is so frustrating.

Thanks.

[F8] Flash Email Form Using PHP
Hello,

Please, give my ahand with this, I have no IT background. I am trying to implement a Flash contact form with PHP, everything works well, except for the input/data which doesn't display properly, I must be coding something wrong on the PHP file. I have tried two versions:

1st Version

PHP

<?php
$sendTo = "contact@blueconceptstudio.com";
$subject = "BlueConceptStudio Contact Form";

$name=$_POST['name'];
$company=$_POST['company'];
$telephone=$_POST['telephone'];
$email=$_POST['email'];
$message=$_POST['message'];
$headers="Name: $name

Company: $company

Telephone: $telephone

Email: $email

Message: $message
";

mail($sendTo, $subject, $headers);
?>

EMAIL
(this is how the email I get looks like)

Name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">my name</FONT></P></TEXTFORMAT>

Company: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">my company</FONT></P></TEXTFORMAT>

Telephone: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">1234567890</FONT></P></TEXTFORMAT>

Email: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">email@company.com</FONT></P></TEXTFORMAT>

Message: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">my message...</FONT></P></TEXTFORMAT>


2nd Version

PHP

<?php
$sendTo = "rruiz@newtek.net";
$subject = "BlueConceptStudio Contact Form";

$name=$HTTP_POST_VAR['name'];
$company=$HTTP_POST_VAR['company'];
$telephone=$HTTP_POST_VAR['telephone'];
$email=$HTTP_POST_VAR['email'];
$message=$HTTP_POST_VAR['message'];

$name=trim($name);
$company=trim($company);
$telephone=trim($telephone);
$email=trim($email);
$message=StripSlashes($message);

$headers="Name: $name

Company: $company

Telephone: $telephone

Email: $email

Message: $message
";

mail($sendTo, $subject, $headers);
?>

Email
(this is how the email I get looks like)

Name:

Company:

Telephone:

Email:

Message:


As you can see, on the first case the input data is being displayed with HTML tags, which makes hard to identify the actual info. And on the second version I get the fields clearly and nicely organized but no input data.

Thank you so much in advance for your help.

Flash Email PHP Form Help
I'm trying to get this to work >> http://www.macromediahelp.com/flash/..._contact_form/

I have put the correct email address in the php file and I have also tested that php works on the server. The form works fine on the site but no email comes in. It is driving me crazy!! Please help.

Here is the site - it is on the contact page.>> www.theoaksgolf.co.uk/home.html

PHP Email Form With Flash
AHHG! Help! I have been trying to get this working for a week and to no avail!

Flash CS3 and AS 2.0

OK so here is how it is .

Ive got a flash form created using input fields named

fullname
email
address
phone
how
inquery

and i have a submit button with instance name "sendbtn"

i have given each of those fields a variable name of the same.

i have 3 frames one for the form one for "thank you" and one for "didn't work"

on frame 1 ( the frame with the form) i have the following code


Code:
stop();

var senderLoad:LoadVars = new LoadVars();
var receivedLoad:LoadVars = new LoadVars();

sendbtn.onRelease = function() {
senderLoad.fullname = fullname.text;
senderLoad.email = email.text;
senderLoad.phone = phone.text;
senderLoad.address = address.text;
senderLoad.how = how.text;
senderLoad.inquery = inquery.text;
senderLoad.sendAndLoad("http://gemiller.ca/email.php",receivedLoad);
};

receivedLoad.onLoad = function() {
if (this.sentOk) {
_root.gotoAndStop("sucess");
} else {
_root.gotoAndStop("failed");
}
};
thats the flash file Now i created a PHP file as thus


Code:
<?PHP
$to = "caderial@gmail.com";
$subject = "Inqueries";
$message = "Name: " . $fullname;
$message .= "
Email: " . $email;
$message .= "
Phone: " . $phone;
$message .= "
Address: " . $address;
$message .= "
How Did You Find Us: " . $how;
$message .= "

Inquery: " . $inquery;
$headers = "From: $email";
$headers .= "
Reply-To: $email";
$sentOk = mail($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>

but when i receive an email it comes out as



Quote:




gemiller@host263.hostmonster.com ( FIRST OFF not the email i put in the form... this is my hosting?....)
tocaderial@gmail.com
dateTue, Dec 16, 2008 at 10:18 AM
subjectInqueries
Reply


Name:
Email:
Phone:
Address:
How Did You Find Us:

Inquery:




none of the fields are filled in and the from email address is not the one entered in the form?...

Please any assistance would be appreciated!

[CS3] AS2 Flash Email Form Help Please...
Hi Guys

Ive made this email form from kirupa which works great...

http://www.kirupa.com/developer/acti..._php_email.htm

I want to add a phone number variable/field to it, so when the email comes thru to me I have their phone number too.

Im sure its pretty simple and ive tried implementing it myself but cannot get it to work now.

Please help.

Thanks

Ben

Email Form From Flash Using PHP?
I have built a form using this in the past with no problems. I used this tutorial as a guide:

http://www.kirupa.com/developer/acti..._php_email.htm

I have an existing functioning form built and running, and used it to model my new one. I have a movieClip that has all my fields included in it. All are input boxes with the same font and font size settings. Outside of the movieclip, but on the same layer is the submit button. All input text fields have var values set and no instance name. I have my submit button scripted as follows:

on (release) {
prpFormMC.loadVariables("email.php", "POST");
}


the php file is as follows:


<?php
$sendTo = "myemail@mydomain.com";
$subject = "Homeowners PRP Reply";
$headers = "From: " . $_POST["firstName"];
$headers .= "<" . $_POST["email"] .">
";
$message = "
Lots Currently Owned: " . $_POST['lotsCurrOwn']. "Name: " . $_POST['firstName']. " ". $_POST['lastName']."
Email: ". $_POST['email']."
Address: ". $_POST['address']."
City " . $_POST['city']."
State " . $_POST['state']."
Zip " . $_POST['zip'}."
Phone: ". $_POST['phone']."
Alternative Phone: ". $_POST['altPhone']."
Comments: ". $_POST['commentBox'];

mail($sendTo, $subject, $message, $headers);
?>


and the movieClip is coded to move to the next frame when there is an event:


onClipEvent (data) {
_root.nextFrame();
}

I am having two very weird and different problems:

1) When I submit the form it doesn' submit and trigger the event until I click it 11 times. 11 is the exact same number of fields I have in my form. And even after it looks like it submits, I never get the email.

2) All input text boxes except for the first two have distorted fonts when you type into them. Some look stretched some look squashed, and some are tall.

Anyone have any idea if this would affect the form submitting? Or what is causing it?

Help With Flash Email Form
I have a flash movie that has a contact button the opens an email form. The form is not working. I have some code and when I test the form on my computer, the fields have and error of some sort that says
[ _level0.instance157.mailForm.formBg.messageMc.Mess age]. The code is form a sample from productbeta.com and the sample works. Does anyone know what is going on?

Flash Email PHP Form
Hello. Can anyone take a look at my site and click on the "contact us", and let me know why my email form is not working.

total = _root.getBytesTotal();
#include "Macintosh HD/Users/romanevernet/Desktop/flashTemp/site_flash/scripts/mailForm.as"
stop();
}

I will pay for it to be fixed.

Flash Email Form Using Asp.net
I have been trying to make a form send an email using asp.net. Searched and searched but i only find one that uses php.

Tutorial link: http://www.actionscript.org/resource...PHP/Page1.html
does anyone know how i could easily convert this code to asp.net?
stop ();
function lineAdapt () {
message_send = message;
while (msg_count<length(message)) {
msg_count = msg_count+1;
if ((substring(message_send, msg_count, 2)) eq "
") {
message_send = (substring(message_send, 1, msg_count-2))
+"
"+(substring(message_send, msg_count+2,
(length(message_send))-msg_count+2));
}
}
message = message_send;
delete msg_count;
delete message_send;
}

Flash Form In An Email
Is there a way to embed a flash file in an email and allow the email recipient to fill out the form and submit it in the email app.

thanks!!

Flash + PHP Email Form
Hi guys,

I have a frustrating situation here. I have created an email form in Flash (AS2) which looks like this:

var sendLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();

send_mc.onRelease = function() {
sendLoad.theTitle = theTitle.text;
sendLoad.theName = theName.text;
sendLoad.theEmail = theEmail.text;
sendLoad.theMessage = theMessage.text;
sendLoad.sendAndLoad("contact.php",receiveLoad);
}

And the PHP code looks like this:

<?PHP

$to = "xxxxxxx@hotmail.com";
$subject = "Tony Sadr Contact Form";
$message .= "Title: " . $theTitle;
$message .= "
Name: " . $theName;
$message .= "
Email: " . $theEmail;
$message .= "

Message: " . $theMessage;
$headers = "From: $theEmail";
$headers .= "
Reply-To: $theEmail";

mail($to,$subject,$message,$headers);

?>

The email is sent and does arrive but without any data. the email sent looks like this:

Title:
Name:
Email:

Message:

This only which is sent correctly is the subject nothing else. Am I missing something here? could someone help me out? Thank you in advance!

Help With Flash Email Form
I am a newbie with a problem that is probably a simple to resolve but it has been keeping me goin for few days and I feel stupid. This is not healthy...heh, heh.

I have downloaded a great little email form that comes with an *.as file and php on the back end. When I load the movie with the forms by itself, it works great. My problem is that I can't seem to get it working in my web movie.

How do I import the form into my site onto one of my pages so that it still reads the information from the *.as file and loads it? do I have to modify the path to the *.as file???? Do i use loadMovieNum ()?

I even tried to copy the symbol to my web file, but this doesn't seem to read the info in the .as file.

I have noticed when I open the email form in flash on its own, the first frame in the actions layer reads:

#include "scripts/mailForm.as"
;//Terminator
stop();

Here is a copy of the *.as file that works with the email form on its own:

//Just a simple method to convert RGB values
//to their equivalent HEX numbers
//Used in this script for setting colors of userInput text
Math.rgb2Hex = function(r, g, b){
return ((r << 16) | (g << 8)) | b;
};//End function

//Converts plainText 2 Html
String.text2Html = function(str, fontSize, fontColor, leading, align, fontFace) {
if (fontFace == null) fontFace = "Verdana, Arial, Helvetica, sans-serif";
if (fontSize == null) fontSize = 10;
if (leading == null) leading = 1;
if (align == null) align = "left";
if (fontColor == null) fontColor = "#333333";

//The return string
var r = "<textformat leading=""+leading+"">";
r+= "<p align=""+align+"">";
r+="<font face=""+fontFace+""";
r+=" size=""+fontSize+""";
r+=" color=""+fontColor+"">";
r+=str;
r+="</font></p></textformat>";
return r;
};//End function


//The mailForm

//save stage width and height
_global.stageD = {w:300, h:200};

MailForm = new Object();

//Makes the mailForm
MailForm.init = function(){
//Local vars used by this function
var i, mc, parent, parentSize, tFSize, tFormat, htmlTxt;

//the the form to stage and position it in the center..
this.formMc = attachMovie("mailForm", "mailFormMc", 1);

//Center the form on stage
this.formMc._x = (stageD.w - this.formMc._width)/2; //Center
this.formMc._y = stageD.h - this.formMc._height - 2; //Bottom

//Now design the elements in this form as an array of objects for easy access
this.elements = new Array();
this.elements.push({title:"Name", type:"input", name:"name", parent:this.formMc.nameMc});
this.elements.push({title:"Email", type:"input", name:"email", parent:this.formMc.emailMc});
this.elements.push({title:"Message", type:"textArea", name:"message", parent:this.formMc.messageMc});
this.elements.push({title:"Send", type:"submit", name:"title", parent:this.formMc.submitMc});


//The format to use for formatting the fields
tFormat = new TextFormat();
tFormat.font = "_sans";
tFormat.size = 12;
tFormat.color = Math.rgb2Hex(51, 51, 51);

tFSize = new Object(); //init size object for text fields

//How many elements did we get?
i = this.elements.length;
//Now make the fields in the elements
while (i--) {
//Find out what type of field to make
switch (this.elements[i].type){

case "input": //Input field OR
case "textArea": //textArea both have very similar actions

//Who is the parent mc of this field
parent = this.elements[i].parent;
//What is the size of the parent of this element
parentSize = {warent._width, harent._height};

//Determine size of the title field and make it
tFSize.x = 0;
tFSize.y = -16;
tFSize.w = Math.floor(parentSize.w);
tFSize.h = Math.abs(tFSize.y);
parent.createTextField("title", 1, tFSize.x, tFSize.y, tFSize.w, tFSize.h);

parent.title.selectable = false;
parent.title.html = true;
parent.title.htmlText = String.text2Html(this.elements[i].title, 10, "#333333", 0, "left");

//Determine size of the input field and make it
tFSize.x = 2;
tFSize.y = 2;
tFSize.w = Math.floor(parentSize.w - (tFSize.x*2));
tFSize.h = Math.floor(parentSize.h - (tFSize.y*2));
parent.createTextField(this.elements[i].name, 2, tFSize.x, tFSize.y, tFSize.w, tFSize.h);

//Make the field
//save a reference to the userInput field
//this reference will make it easier to access the userInput
//into this field when submitting data to the server
this.elements[i].field = parent[this.elements[i].name];

this.elements[i].field.type = "input";
//only if we have text area..then set it to multiline true as well
if (this.elements[i].type == "textArea") {
this.elements[i].field.multiline = true;
this.elements[i].field.wordWrap = true;
}//End if
this.elements[i].field.setNewTextFormat(tFormat);

break;

case "submit": //Submit button
//Who is the parent mc of this field
parent = this.elements[i].parent;
//What is the size of the parent of this element
parentSize = {warent._width, harent._height};

//Determine size of the title field and make it
tFSize.x = 2;
tFSize.y = 2;
tFSize.w = Math.floor(parentSize.w - (tFSize.x*2));
tFSize.h = Math.floor(parentSize.h - (tFSize.y*2));
parent.createTextField("title", 1, tFSize.x, tFSize.y, tFSize.w, tFSize.h);

parent.title.selectable = false;
parent.title.html = true;
parent.title.htmlText = String.text2Html(this.elements[i].title, 10, "#333333", 0, "center");

//Add actions for the submit button
parent.controller = this; //Reference to controller object
parent.title.orginalText = this.elements[i].title; //Save original text to allow color changes to it later
parent.onPress = function(){
//Give impression of press
this.nextFrame();
this.title.htmlText = String.text2Html(this.title.orginalText, 10, "#FF6600", 0, "center");
};//End function

parent.onRelease = function(){
this.prevFrame();
this.title.htmlText = String.text2Html(this.title.orginalText, 10, "#333333", 0, "center");
//Send a message to the controller that we would like to submit
this.controller.doSubmit();
};//End function

parent.onReleaseOutside = function(){
this.prevFrame();
this.title.htmlText = String.text2Html(this.title.orginalText, 10, "#333333", 0, "center");
};//End function

parent.useHandCursor = true;
parent.hitArea = parent;

break;
}//End switch
}//End while loop

/*##################################*/
//Bring in the Productbeta logo on the top right corner
//and link to www.productbeta.com
var logoMc = attachMovie("pbLogo", "pgLogo", 2);
logoMc._x = this.formMc._x + this.formMc._width - logoMc._width;
logoMc._y = 3;

logoMc.onRelease = function(){
getURL("http://www.the englishteachers.com/richard/index.html", "_blank");
};//End function

/*##################################*/

//Finally add a nice touch to the form..
this.focusFirstField();
};//End function

MailForm.focusFirstField = function(){
//automatically set selection to blink on the first
//input type or textArea type element in our form design
var tElements, i;
tElements = this.elements.length;
for (i=0; i<tElements; i++) {
if (this.elements[i].type == "input" || this.elements[i].type == "textArea") {
Selection.setFocus(this.elements[i].field);
break;
}//End if
}//End for loop
};//End function

//Submits to the form to the server for processing
MailForm.doSubmit = function(){

//Cannot submit if we are busy talking to server
if (this.talking2Server) return;

//Cover the stage with an alert box
this.makeAlertBox();

//Make a loadVars object to send to our PHP script
this.mailData = new LoadVars();

//Now get the variables to be sent to the PHP script
//These variables come from the form elements we designed earlier
//Scan through all the elements and populate mailData for every
//userInput type of field.. ie. input or textArea.. this list could include
//even more options such as checkBox, radioButton etc.
var i = this.elements.length;
while (i--) {
switch (this.elements[i].type) {
case "input":
case "textArea":
//Use same name as given to us in the form design
//So PHP will also get the variable with the same name
//For eg: if the name in our form is email.. the php will get
//a variable called $email
//This process is similar to HTML forms where your field name
//becomes the variable name for your PHP script
//NOTE: we escape the text to urlencode it for safe transfer
//We will urldecode it in PHP
this.mailData[this.elements[i].name] = escape(this.elements[i].field.text);

/*Now when we are submitting data we don't want the user
to be able to edit the form in anyway.. we need to take away that ability
for the time being*/
this.elements[i].field.type = "dynamic"; //Don't allow editing
this.elements[i].field.selectable = false; //Don't allow editing

break;
}//End switch
}//End while loop

//Save a controller reference to work with mailForm from inside mailData
this.mailData.controller = this;

this.mailData.onLoad = function(){
//Send yourself to the controller
//so it can process and decide what to do with you
this.controller.onMailResult(this);
};//End function

//Okay we are ready to send data to the server.
//Flag this process to let Flash know that we are talking to the server
this.talking2Server = true;

//Let's talk!
//var mailServer = "http://www.productbeta.com/tutorials/flash_email/scripts/sendMail.php";
var mailServer = "http://www.theenglishteachers.com/richard/scripts/sendMail.php";
this.mailData.sendAndLoad(mailServer, this.mailData, "POST");
};//End function

MailForm.makeAlertBox = function(){
this.formMc.formBg.duplicateMovieClip("alertCover" , 1);
this.formMc.alertCover.attachMovie("alertBox", "alertBox", 1);

//Center the alert box
this.formMc.alertCover.alertBox._x = (this.formMc.alertCover._width - this.formMc.alertCover.alertBox._width)/2;
this.formMc.alertCover.alertBox._y = (this.formMc.alertCover._height - this.formMc.alertCover.alertBox._height)/2 - 20;

//Make a text field in there to display PHP script results
//Note size of the field is hard-coded simply because it does not matter
//in this case since our alert box is pre-designed and these numbers
//are simply and extension of that design
this.formMc.alertCover.alertBox.createTextField("p hpMsg", 1, 5, 25, 185, 52);
this.formMc.alertCover.alertBox.phpMsg.selectable = false;
this.formMc.alertCover.alertBox.phpMsg.wordWrap = true;
this.formMc.alertCover.alertBox.phpMsg.multiline = true;
this.formMc.alertCover.alertBox.phpMsg.html = true;
this.formMc.alertCover.alertBox.phpMsg.htmlText = String.text2Html("testing 2...
Please Wait", 10, "#333333", 2, "left");

//Now make a text field for the okay button
var tFSize = new Object();
tFSize.x = 1;
tFSize.y = 1;
tFSize.w = this.formMc.alertCover.alertBox.okayMc._width - (tFSize.x*2);
tFSize.h = this.formMc.alertCover.alertBox.okayMc._height - (tFSize.y*2);
this.formMc.alertCover.alertBox.okayMc.createTextF ield("title", 1, tFSize.x, tFSize.y, tFSize.w, tFSize.h);
this.formMc.alertCover.alertBox.okayMc.title.selec table = false;
this.formMc.alertCover.alertBox.okayMc.title.html = true;
this.formMc.alertCover.alertBox.okayMc.title.htmlT ext = String.text2Html("OK", 9, "#333333", 0, "center");

this.formMc.alertCover.alertBox.okayMc.controller = this;
this.formMc.alertCover.alertBox.okayMc.onPress = function(){
this.nextFrame();
this.title.htmlText = String.text2Html("OK", 9, "#FF6600", 0, "center");
};//End function

this.formMc.alertCover.alertBox.okayMc.onRelease = function(){
this.prevFrame();
this.controller.closeAlert();
};//End function

this.formMc.alertCover.alertBox.okayMc.onReleaseOu tside = function(){
this.prevFrame();
this.title.htmlText = String.text2Html("OK", 9, "#333333", 0, "center");
};//End function

//Hide the okay button for now
this.formMc.alertCover.alertBox.okayMc._visible = false;
};//End function

//Decides what to do with the mailResult
MailForm.onMailResult = function(mailData){
this.formMc.alertCover.alertBox.phpMsg.htmlText = String.text2Html(mailData.status, 10, "#333333", 2, "left");
this.formMc.alertCover.alertBox.okayMc._visible = true;
};//End function

MailForm.closeAlert = function(){
//local var to decide if we can clear the fields
var clearField;
//Determine if mail was successfully sent
//i.e PHP sent a variable called sent = 0 or 1
//Convert to number because external data is always a string
if (Number(this.mailData.sent) == 1) clearField = true;

//Return textField back to editable state
var i = this.elements.length;
while (i--) {
switch (this.elements[i].type) {
case "input":
case "textArea":
this.elements[i].field.selectable = true; //allow editing
this.elements[i].field.type = "input"; //allow editing
//Should we clear the field?
if (clearField) this.elements[i].field.text = "";
break;
}//End switch
}//End while loop

//if mail was sent successfully then focus the first input element
//all over again in the form..
if (clearField) this.focusFirstField();

//delete the old loadVars object
delete this.mailData;

this.talking2Server = false;
this.formMc.alertCover.removeMovieClip();
};//End function

//Make the form
MailForm.init();

Here is the location where I picked up the form:

http://www.productbeta.com/tutorials/show.php?goomba=7&

Here is where my site is located:

http://www.theenglishteachers.com/richard/index.html (choose flash link). You'll notice that the link is directed to the web movie that is not in an html document. I think I read somewhere on this forum that this is not good...why?

Thanks in advance for your help

Email Form In Flash.......Please Help Me
I have an email form....with two text fields....one for the users email, the other for the message.

I'm sending these variables to a php script on my server.

The file that has these text fields is called 'contact.swf'. It gets loaded into a main swf onto level two.

The email function works when I publish the 'contact.swf' file and test it using the 'contact.html' file.

But it doesn't work when I try to test it through the main flash file......where the contact swf gets loaded into level 2.


What is going on???? This is so frustrating.

Thanks.

Flash Email Form
I purchased a flash template with an embedded email form. When the submit button is clicked the following code is executed which only re-wrights "Full Name", "Email address" and "Your message sent" in the text entry fields.

on (release) {
_parent.a = "Full Name:";
_parent.b = "Email address:";
_parent.c = "Your message sent";
}

My wed hoster supports .php and I was able to get a sample flash email form to work using

form.loadVariables("email.php","POST");

when the submit button is clicked.

However, if I add this line of code to my web site, it does not work. What am I doing wrong?

Can't Fix Email Form From Flash
Hi,

I was hoping that someone might be able to help me. I want to point out from the start, I know NOTHING about Actionscript!!! Somehow, with the help of a video tutorial, I was able to put together a script that allows someone who comes to my site to fill out a form and send the info to me.

I have 3 issues.

First, the SUBMIT button opens the users email account and loads the data into a new email - but the user still has to hit the SEND button. How do I bypass this?

Second, the information appears in the new email as one continuous line, despite my best efforts to have it appear on separate lines. How do I arrange separate lines?

Third, how do I get Flash to then display another frame saying something like Form Sent, Thank You, or whatever?

As I said, if you reply to me in anything but the simplest terms, I will have no idea what you are talking about! :-) If you do reply, many thanks for taking the time to help a newbie to Actionscript. I will now attempt to attach the code. :-)

Hugh









Attach Code

on (click) {
// create an empty string variable to store the data

urlData = "";

// assemble the data from the fields into the new variable

urlData += "Name: "+this._parent.user.text+newline+" ";

urlData += "Email: "+this._parent.email.text+newline+" ";

urlData += "Questions: "+this._parent.questions.text+newline+" ";

urlData += "Weddings: "+this._parent.weddings.selected+newline+" ";

urlData += "Portraits: "+this._parent.portraits.selected+newline+" ";

urlData += "Children: "+this._parent.children.selected+newline+" ";

urlData += "Fine Art: "+this._parent.fineart.selected+newline+" ";

urlData += "Other: "+this._parent.other.selectedData+newline+" ";

urlData += "Event Date: "+this._parent.eventdate.selectedDate+newline+" ";

// print url data to output window for debugging

trace(urlData);

// send email using user input data

getURL("mailto:hugh@hugh-anderson.com?subject=Venture&body="+urlData);

}

























Edited: 06/30/2007 at 10:59:33 AM by Hugh Anderson

Flash 8 AS And PHP Email Form
Hi,

I am finally finding some time over the holidays to work on my website flash email form. I have had some wonderful help from kglad and Chris a couple of months ago. I will attach my AS2 code first and then my PHP code I have recieved from Yahoo. (Our hosting server for the website).

I keep getting my error message of... "Sorry, there was a server error, please try again."

I also have specified the default mail account within my yahoo small business web account under PHP/Perl Mail Setup markd@invisionequity.com as the Default.

Any help would be greatly appreciated, and thank you in advance!









Attach Code

//------AS2 Code---------
stop();

submit_btn.onRelease = function() {
if(sender_name.text != null && sender_email.text != null && comments.text != null && sender_email.text.indexOf('@') >0) {
message_mc.gotoAndStop('sending');
sendMail();
}else{
message_mc.gotoAndStop('field_error');
}
}

//Declaring the LoadVars variables:
var email_lv:LoadVars = new LoadVars();
var return_lv:LoadVars = new LoadVars();
function sendMail() {
//These should be set to the textfields OR to a variable value.
email_lv.sender_name = sender_name.text;
email_lv.company = company.text;
email_lv.telephone = telephone.text;
email_lv.sender_email = sender_email.text;
email_lv.comments = comments.text;
return_lv.onLoad = function() {
if (return_lv.confirm) {
message_mc.gotoAndStop('thankyou');
} else {
message_mc.gotoAndStop('send_error');
}
trace("Is this working?");
};
email_lv.sendAndLoad("http://www.invisionequity.com/php/yahoo_send_email.php", return_lv, "POST");
}

//-----PHP Code--------
<html>
<head><title>PHP Mail Sender</title></head>
<body>
<?php

if(isset($_POST["SMTP"]))
{

/* All form fields are automatically passed to the PHP script through
the array $_POST_VARS. */
$name = $_POST_VARS['sender_name'];
$company = $_POST_VARS['company'];
$phone = $_POST_VARS['telephone'];
$email = $_POST_VARS['sender_email'];
$questions = $POST_VARS['comments'];
$from = "markd@invisionequity.com";
/* Replace this with one of your domain email address with a mailbox.

/* PHP form validation: the script checks that the Email field contains
a valid email address and the Subject field isn't empty. preg_match
performs a regular expression match. It's a very powerful PHP function
to validate form fields and other strings - see PHP manual for details.

*/
if (!preg_match("/w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*/",
$email))
{
echo "<h4>Invalid email address</h4>";
echo "<a href='javascript:history.back(1);'>Back</a>";
}
elseif ($subject == "")
{
echo "<h4>No subject</h4>";
echo "<a href='javascript:history.back(1);'>Back</a>";
}

/* Sends the mail and outputs the "Thank you" string if the mail is
successfully sent, or the error string otherwise. */
elseif (mail($email,$subject,$message,"From: $from"))
{
echo "<h4>Thank you for sending email</h4>";
}
else
{
echo "<h4>Can't send email to $email</h4>";
}
}
else
{
?>

<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="POST">
<b>Email</b><br>
<input type="text" name="sender_email" size=40>
<p><b>Subject</b><br>
<input type="text" name="comments" size=40>
<input type="text" name="name" size=40>
<input type="text" name="company" size=40>
<input type="text" name="phone" size=30>
<p><b>questions</b><br>
<textarea cols=40 rows=10 name="comments"></textarea>
<p><input type="submit" value=" Send " name = "sendMail">
</form>

<?php
}
?>

</body>
</html>

Flash Email Form
I am working on an email form on Flash and I got most of it done. However theres a small mistake that I cant seem to find.

*Heres my actionscript (please check the "if" part since the problem is there):

stop();

var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();

sender.onRelease = function() {
senderLoad.Name = Name.text;
senderLoad.Email = Email.text;
senderLoad.Phone = Phone.text;
senderLoad.Message = Message.text;
senderLoad.sendAndLoad
("

Php/flash Email Form
Using the tutorial about how to set up a form in flash using php to email the contents has led me to a snag. Everything works great, including the sending of email, except the onClipEvent(data) event handler. This is used on the form_mc just like the tutorial explains, and when it is executed, flash is supposed to go to the next frame --

onClipEvent(data){nextframe();}

but this doesnt happen. flash just keeps trying to load something. i even posted the tutorial files on my server to see if they would work, but no dice.

here is the tutorial:
http://www.kirupa.com/developer/acti..._php_email.htm

and here are the files not working on my server:
http://www.704one.com/raf/email.swf

i have changed permissions on the php file -- didnt work.

im thinking that i might need to use php to passs a variable back to flash after the mail() command has executed in php. but i dont know how.

any suggestions would be greatly appriciated...

thx

johnb

Flash EMail Form
Hi all. Im trying to script out a form in flash MX ive got the basics but it doesnt work the way that i want it to.

PHP Code:



on (release) {compileForm();getURL("mailto:myself@mysite.com?subject="+email+"&body="+name+"
"+address+"
"+phone+"
"+comment);} 




When i hit the submit button it runs the script as shown above. the only problem with this is it opens outlook and the data i have on the input texty comes out in one line. I would like to put returns, commas or spaces between each field.

How would I be able to do this???

Scott

Help With A Flash Email Form
I have a form in Flash that will send an email via a PHP file. ( I used the tutorial Flash PHP Email form )

The Form works fine - the email sends fine -but when I click the "send" button the OnClipEvent(data) doesn't work. My form with all my info just sits there ... but the email sends just fine.

And if I put a nextFrame() action on the send button after the Loadvariables action the email doesn't send.

The form loads into another movie - would that cause a problem?

Any help is most appreciated

Flash Email Form HELP
I have used the kirupa tutorial on a flash email form and it works GREAT! The only thing is I want to have required fields that need to be entered in for the form to send. If the user doesn't enter anything, it will ask them to in order to send the email.

Anyone know how I can do this or adapt it to the kirupa tutorial code?

EMAIL Form FLASH + PHP Need Some Help :D
Hello all!

I made email form like one in the tutorial(http://www.kirupa.com/developer/actionscript/flash_php_email.htm).

I got this little problem, if I send message, the email comes and senders name comes, but message text itself does not come

If anyone has some ideas please help!

Thank u all for bothering!

Asp Flash Email Form?
Ello. I use senocular's wonderful php form for my site but after shouting at it for about an hour and a half I just realised godaddy cheapo hosting doesnt support php unless i go linux. Argh. It supports asp though but I can't find any examples. Are there any about? It is possible right? Thanks in advance...

Flash Email Form
Hi does anybody know how tocheck that all fields have been filled in on my email form and if they havent display something like this is a required field.

thanks
R

Flash And Php Email Form
On this page http://www.kirupa.com/developer/acti..._php_email.htm there is a email form that only half works... I get the email but none of the variables are being exported to the php file that is in the same directory when I use the loadVariables function. I checked the form and verified that it is a movie clip and the variable names are in place. Any ideas?

Copyright © 2005-08 www.BigResource.com, All rights reserved