Formmail Sends Html To My E-mail
Hi,
i set up my flash site to use the formmail.cgi from matt's script archive. Everything works great except on thing. When I recieve the email created from the user input, the message they typed was sent to me in html (i think).
for example:
the visitor typed "test" and sent it to me
when i recieve it in my inbox it would read:
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="11" COLOR="#B6B9B8" LETTERSPACING="0" KERNING="0">test</FONT></P></TEXTFORMAT>
Is there a way to change this so i just recieve plan text?
as you can see... it might be kinda hard for me to read it this way, hah.
Thanks very much for any help
ActionScript.org Forums > Flash General Questions > Flash 8 General Questions
Posted on: 08-20-2006, 07:06 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Submit Button That Sends An E-Mail
Hi Everyone,
I am trying to make a comment section in my purely flash designed website. I would like to make an input text box with the name of, let's say, comment. I then wanted to make a button that when clicked, would take the text put in the comment box and send it to my my e-mail address.
Is this at all possible?
Thanks,
Mr_Welfare
Flash/CGI E-mail Form -- Form Sends Info To E-mail? HELP Please (AIM/ICQ)
I am trying to make a flash file where you enter in information and then you click send and it sends the data in the form to my e-mail address. I tried customizing all of the cgi ones from the movies section of flashkit, and modifyied the cgi script accordingly. No matter what I've tried, I won't receive the information in my e-mail. For me, this matter is too hard to resolve over e-mail or a forum, so if you would like to, please help me out over instant messenger. I will be online under AIM name: blizzardmedia and ICQ number 64322480
Thanks for your help.
MAIL SEND Trough Formmail.asp
hello
on site BukyStudio I made mail send interface. please look under mail icon up&left.
now how to make it happen? to send mail?
How To Send Mail From .swf File Trough Formmail.asp?
How to send mail from .swf file trough formmail.asp?
I created interface, and botuns, but nothing is passing trough.
here's the code:
Frame 1
recipient = "mail@domain.hr";
Name = "";
text = "";
eMail = "@";
Frame 2 - submit bottun
recipient = "mail@domain.hr";
loadVariablesNum("../cgi-bin/formmail.asp", 0, "POST");
Help me
AS 2 Problems Sending Mail With PHP, Can You Send From Flash With FormMail.pl?
Hi,
I am at wits end. I have a simple contact for on my web site. I built it just as the tutorial instructed and it's just not working. Can anyone tell me what I'm doing wrong?
This is the Action Script for the form:
var senderLoad:LoadVars=new LoadVars();
var receiveLoad:LoadVars=new LoadVars();
submit.onRelease=function() {
senderLoad.yourEmail=yourEmail.text;
senderLoad.sendAndLoad("http://atlastotalweb.com/send.php",receiveLoad);
}
receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
This is the send.php file that I have on the server:
<?PHP
$to = "shandahardin@yahoo.com";
$subject = "Flash Contact Form Submission";
$message = "Name: " . $theName;
$message .= "
Email: " . $theEmail;
$message .= "
Message: " . $the message;
$headers = "From: $the Email";
$headers .= "
Reply-To: $theEmail";
$sentOk = mail ($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>
LoadVariablesNum... Sends Text As Html >.<
I am trying to make an email page in flash. I have input text boxes ( and the html is turned off)... and then I am sending vars by loadVariablesNum("email.php", 0, "POST");
Then my php just sends those vars to email... but It's sending them as like <p align="left"... blah blah...
Why is it HTML???
SWF Sends Javascript Command To HTML Page
Hi:
I have a SWF that is displayed on an HTML page. When the SWF finishes playing, I need it to send the javascript function “j00();” to the HTML page on which it sits.
What it the javascript function does when receiving this command is to replace the current SWF with another…and do some other stuff to on the HTML page.
How do I code the SWF to send this command to the HTML page its embedded on?
Loren Elks
SWF Sends Javascript Command To HTML Page?
Hi:
I have a SWF that is displayed on an HTML page. When the SWF finishes playing, I need it to send the javascript function “j00();” to the HTML page on which it sits.
What it the javascript function does when receiving this command is to replace the current SWF with another…and do some other stuff to on the HTML page.
How do I code the SWF to send this command to the HTML page its embedded on?
Loren Elks
SWF Sends Javascript Command To HTML Page?
Hi:
I have a SWF that is displayed on an HTML page. When the SWF finishes playing, I need it to send the javascript function “j00();” to the HTML page on which it sits.
What it the javascript function does when receiving this command is to replace the current SWF with another…and do some other stuff to on the HTML page.
How do I code the SWF to send this command to the HTML page its embedded on?
Loren Elks
Flash FormMail In HTML
Hi Everybody!
I just got this little problem.
I've make a FormMail Flash Movie. In my page, I just ask for the Name, the email of the senders and the comments. Then, with a button SEND, I use this script:
on (release) {
subject = "Comments from my Web Site";
recipient = "wolvie@videotron.ca";
loadVariables("http://pages.infinit.net/cgi-bin/FormCour.pl", "", "POST");
}
When I Publish it in .swf format and test it on my computer, it really works well. I receive the email i just send in my mailbox in an instant.
The problem is when a Publish my movie in HTML format. It does'nt work!! Neither on my computer or on my Web Site.
My web site is situated here: http://pages.infinit.net/wolve/
Can you tell me please why it does'nt work in HTML when it works well on Flash Player. It is the same .swf that is EMBED in the HTML, so why?
Thanks for reading me!
P.S. I just want to specify that i don't want to use the getURL method.
Html Mail
So I want to send an email with embedded html (see:spam)wich reads an swf in a web server.
But the problem I have is that when someone receives the e-mail the outlook closes with an error message telling that the "mssim causes an error in the flash and you have to close the outlook".
I´ve checked it in a couple of computers with the same reaction.
I dont handle html very well, so I want to know whivch is the way of doing this.
Help (How Do You Set Up A HTML Ad For E-mail?)
What is the best way to set up an HTML ad to be E-mailed. I have made a AD in Dreamweaver and I would like to E-mail to my friends. Some questions I have are what is the best way to set it up, what size should it be and anything else that is important to know when making a HTML ad for e-mail. thank you very much.
E-mail Links And HTML
2 problems.
How do I link text to go straight to e-mail me, on relese?
Harder one: I have a java scripted HTML page that I need to appear in only part of my flash site and dissapear when someone clicks a different link. Any ideas? At least tell me how to bring HTML pages into flash.
Thx in advance.
Editing E-mail (HTML)
I want to e-mail an .swf file. I have source code to use. I need to embed it in my e-mail. I'm having difficulty finding software that will let me paste my source code and then mail it. I'm on a Mac but have access to PC's. What are my options?
[PHP/HTML] PHP Mail Form
Hey everyone,
This is something basic that I have created for an upcoming tutorial, and I figured it may be interesting for some of you.
Simply upload the form and replace you@you.com with your e-mail address for e-mail in mailer.php.
Cheers!
Kirupa
[PHP/HTML] PHP Mail Form
Hey everyone,
This is something basic that I have created for an upcoming tutorial, and I figured it may be interesting for some of you.
Simply upload the form and replace you@you.com with your e-mail address for e-mail in mailer.php.
Cheers!
Kirupa
HTML E-mail Expert Needed
I did a HTML e-mail ad and the client says he has to click on the thing 4 times to get all the image to come up... What could be the problem??? The ad is 68K , I sent the ad to myself and a friend and it comes up perfect. Maybe someone with more experience might know what the problem is....
Embed HTML Page In E-mail
I've created a new FLA, published and uploaded the SWF and HTML files to the server, checked it and all works perfect.
Now I'm trying to embed the file into a e-mail using Outlook Express.
I open a new e-mail, address it, add the subject, then move to the main portion of the e-mail. I click on "Insert" then "Text From File" and navigate to the appropriate file and click it.
The background appears, but the rest of the file doesn't. When I send it, not even the background appears.
Any ideas what I'm doing wrong?
Thanks
Using HTML Mail Form In Flash
Hey guys (and girls!),
I'm trying to link a simple mail list form in Flash to an external html file. In other words, the html mail form is from a company that makes a mail form (code) that I need to implement into flash.
I have the gist of creating the 3 input text fields (email, firstname, and lastname), and named my MC with the text fields "form" and the text fields, gave them var names of "email" "firstname" and "lastname".
I figured I need to send the info to their cgi file on their server??
PLEASE HELP
I'm also trying to create some code that will go to a thank you page in the flash, but the main problem is more important. Any ideas?? thanks so much!
Here is the code I have on the submit button:
on (release) {form.loadvariables("http://attainresponse-vem.com/cgi-bin/sys.cgi", "POST");
}
Here is the mail form company's code:
<form method="post" action="http://attainresponse-vem.com/cgi-bin/sys.cgi">
<center><font face=verdana size=4> </font>
<table width="400" border="0" cellpadding=4 cellspacing=1 align="center" bgcolor="#000000">
<tr>
<td width="150" valign="top" bgcolor=white>
<div align="right"><font face=verdana size="2" color="#000000">E-Mail</div>
</td>
<td width="250" valign="top" bgcolor=lightyellow>
<input type="text" name="email" size="40" maxlength="70">
</td>
</tr>
<tr>
<td width="150" valign="top" bgcolor=white>
<div align="right"><font face=verdana size="2" color="#000000">First Name</div>
</td>
<td width="250" valign="top" bgcolor=lightyellow>
<input type="text" name="firstname" size="40" maxlength="70">
</td>
</tr>
<tr>
<td width="150" valign="top" bgcolor=white>
<div align="right"><font face=verdana size="2" color="#000000">Last Name</div>
</td>
<td width="250" valign="top" bgcolor=lightyellow>
<input type="text" name="lastname" size="40" maxlength="70">
</td>
</tr>
<tr>
<td colspan=2 bgcolor=#3333cc>
<center><p>
<input type="hidden" name="function" value="customer2">
<input type="hidden" name="un" value="companyname">
<input type="submit" name="Submit" value="Subscribe">
</p></center>
</td>
</tr>
</table></center>
</form>
HTML Formatted Mail From Flash
Hi All,
Is it possible to directly send a html formatted mail directly from Flash without passing it to PHP/anyother backend server.
PHP Mail Form With HTML Output?
First off, I'm still a newbie, and prone to ask stupid questions. I've completed a mail form that works fairly well, but darnit if the output isn't downright ugly. I know that PHP can send mail in HTML form, but how would I go about injecting my Flash variables into it? I've currently got PHP recognizing and returning all my variables in a basic text email, but where's the showmanship?
Ultimately, I would like a pre-made or scripted background with the variables pasted into a sort of summary paragraph at the appropriate spots. I'm not sure how realistic this is, but any help is welcome.
Thanks.
Sending Mail In Html Format
Hi all,
I have a typical php contact form that works perfectly sending text based email to the receiver. I wish to, however, step it up and instead of sending the raw text i want to send them as a html mail so i can include images and just make it look better than plain text.
e.g. when the user receives the mail they can have a image based header with the info layed out nicely with css (borders, bg color etc...).
Thanks for any help,
Regards,
jerome
Swf In Html E-mail. Problems With Outlook
Hello,
I'm sending a Happy New Year e-card by placing an html code that includes an swf file, and some people are having trouble in viewing the animation in the outlook.
The swf is not attached to the e-mail; it is in a server, and the outlook is supposed to read the animation from the server. This code usually works fine, especially on Mac, but it doesn't always work on PC. I gess the problem is ActiveX, but some people are telling me they have ActiveX running. I cannot tell if they really know what they are saying, but I have to give them some credit and assume the know how their system is configured, don't I?
OK. Here is the code:
HTML Code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="780" HEIGHT="430" id="myfile" ALIGN="">
<PARAM NAME=movie VALUE="http://www.mysite.com/myfile.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#000033>
<EMBED src="http://www.mysite.com/myfile.swf" quality=high bgcolor=#000033 WIDTH="780" HEIGHT="430" NAME="myfile" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
The question is: is there any other way to write this in order to override activeX controls?
How would you solve this problem?
Thanks.
Laura
Sending Html Mail With Embedded Swf. Via Asp
Hi there folks,
So i have an asp application where i would like to send mail which contains an embedded swf.
Problem is when i decide to send an ordanary picture whithin the html mail all works fine .... alas using the exact same format with the swf instead ...outlook and yahoo produce nothing but an empty page with the holder for the swf.
Hence my post...
Thanks for your time.
Ramsey
-------------------------------------
Laughing out loud every day,
keeps the doctor away....gotoAndPlay
-------------------------------------
FORM To MAIL..... NEED A HTML/FLASH GURU..
Ok I have this in an HTML site I made with an ex-friend.
<form action="http://www.A-Website-addy.com/cgi-bin/formmail.pl" method="post">
<input type="hidden" name="recipient" value="design@aol.com">
<input type="hidden" name="subject" value="Put me on the mailing list!">
<input type="hidden" name="redirect" value="http://www.myWebSite.com/thanks.htm">
<input type="hidden" name="missing_fields_redirect" value="http://www.myWebSite.com/error.htm">
<input type="hidden" name="required" value="name">
<input type="hidden" name="required" value="email">
<input type="hidden" name="env_report" value="REMOTE_ADDR">
How do I do this same thing in Flash? I set up the the input fiends and named the variablies correctly.
What do I include in the AS on the "Submit" button?
The last site has no CGI bin and I don't have one now... so I need this one to work the same way.
What do I have to do to have this work in flash?
Can someone walk me through?
And what extension is ".pl" is that Perl??
I'm guessing that the Form to mail script is on this other server and I need to direct all the variables to that script. It's the other stuff:
<input type="hidden" name="recipient" value="design@aol.com">
<input type="hidden" name="subject" value="Put me on the mailing list!">..
.....ect ect ect... I just don't get how to put this part in Flash.
Do you understand this??
HTML Script / FLA / SWF / On E-mail Transfer Form
i have an account with www.1and1.com, that allows me 50 mailboxes... i wanted to make some kind of shortcut on my site that would ask for user/pass and forward it to the www.perfora.net... is that possible? can i go even further and download the mail with, lets say flash, and display it on my site, instead of on perfora's? thanks for your help.
Flash Sending HTML In PHP Mail Form
I'm assuming this is an easy fix, but I created a PHP mail form in a recent website and for some reason when I receive the email, it injects it with <TEXTFORMAT LEADING="2><FONT FACE>.... etc in the FROM, Subject and message body of the email. Anyone?...
Html E-mail Font/color Problem
Hi,
I have a contact form on my website which forwards the messages to me via a php script using htmlMimeMail. All works great except the body of the message is turquoise in color and huge font (verdana 37) (both in thunderbird and outlook, in the latter the font size is ok). The headers (name and email) are fine.
This is the php script:
<?
//extract data from the post array. this data comes from flash
$from=$_POST['from_text'];
$email=$_POST['email_text'];
$message=$_POST['body_text'];
//include the email class file
include('htmlMimeMail.php');
//create an instance of the email class/ object
$mail = new htmlMimeMail();
//define a variable to store the html content of our email to be sent
$html = "A message from website: <br><br>
<b>Name:</b>$from<br>
<b>Email:</b><a href='mailto:$email'>$email</a><br>
<b>Message:</b><br>$message<br><br>
---------------<br>
End of Message";
//set the html content of our email
$mail->setHtml($html);
//who the email comes from
$mail->setFrom($from . '<' . $email . '>');
//the subject of the email
$mail->setSubject("A message from website");
//send the email and store the result that gets returned in a variable called $mail_success.
$mail_success = $mail->send(array("abc@efg.net, hjk@lmn.com"), 'smtp');
//check if mail_success is true and notify flash
if ($mail_success == true) {
echo '&successvar=1&';
} else {
echo '&successvar=0&';
}
?>
So, where is the color of the $message and the font size set? How would I change it?
Thanks in advance!
Ways To Send HTML Mail Messages W/ Flash
does anybody know any way to send out a HTML newsletter with flash included?
I send out html newsletter this way: build the page, and upload it to the server, visit the page with IE, copy all and paste on a Microsoft Outlook new mail message.
due to the html mail editor of outlook is ms word some features of html pages aren't shown, now I would like to include flash on my HTML newsletter.
does anybody know a better way to send out html newsletter eith or without flash?
what app do you use?
Sendandload Sends %0D?
Hey fellas! I'm having some trouble sending data from a multiline textbox using the sendandload() function, when i write stuff in the textbox with a linebreak (just tapping enter) it sends a %0D, (% 0 D) character, which I cannot deal with in php, My code is as folows:
ActionScript Code:
var submitForm = new LoadVars();
submitForm.Name = Name;
submitForm.EMail = EMail;
submitForm.Comments = Comments;
submitForm.sendAndLoad("http://www........php", submitForm, "POST");
submitForm.onLoad = function(success) {
...
}
PHP Code:
$Comments = $_POST[Comments];
I've tried, stripslashes, addslashes, nl2br, htmlentities AIII!
Score Sends To New Scene
Hey, all.. I'm having a problem (isn't that why most people post here?
Anyways, I'm trying out my hand at scripting a game through Actionscript. I've got my two levels working independantly, but I can't get it to move from level one to level two! Here's the code:
if (this.hitTest(_root.ship)) {
_root.gotoAndStop("gameOver");
} else if (score>=200) {
gotoAndPlay ("Scene 2", 1);
}
The first part is working, killing the player when hit, but the second part (The else if) doesn't work.
score is the variable assigned to a dynamic text box.
Thanks in advanced,
Kim
LoadAndSend For Email Only Sends Once
Anyone know why this only sends once?
_root.contHolder.cHolder.sendButton.onRelease = function(){
// send
myMailVars = new LoadVars();
myMailVars.name = _root.contHolder.cHolder.Inatext.text;
myMailVars.email = _root.contHolder.cHolder.Iemtext.text;
myMailVars.sendAndLoad("support/pages/mailer.php?", myMailVars, "POST");
myMailVars.onLoad = function() {
_root.contHolder.cHolder.Inatext.text = myMailVars.answer;
};
}
"answer" is a var in my php script and that always gets returned but the actual mail is only sent once.
Form That Sends An Email
can someone please point me to a tutorial or something that helps me create a simple form that takes a name email address and company name then when the info is submitted stores it somewhere and send an email to the email address entered giving a password ( thus meaning they have to use a real eail address ) the easier the better as i have no clue when it comes to this stuff
Using TAB Key Sends Focus To The Browser
I am have a number of textfields on a frame that I want to be able to tab through in order. When I press the TAB key, the focus shifts to the browser and it begins to TAB thru items like the Address Bar, Favorites, etc. I have set the textfields to follow a certain tab order. In fact, I have given each textfield a specific # of characters allowed and once that limit is reached it goes to the next item in the tabIndex. So this is working well. It's just the TAB Key that is causing issues.
Any idea on what may be causing the Flash movie to lose focus to the browser.
Thanks for any and all replies.
Form Sends But Does Not Appear To Send
Hello
I have a small problem with the online form I have. When the site visitor sends the form (by clicking submit) the form is received by the Webmaster, but it does not appear to have been sent to the site visitor. That is, all the details, name, email, etc remain in place in the online form after the submit button has been clicked.
I am posting this here because I think the form processing aspect of my query works fine, so I assumed this was a Flash problem. I am using Flash MX 2004.
This the relevant part of my AS:
var serverLang:String = "asp";
var email_lv:LoadVars = new LoadVars();
email_lv.onLoad = function(success) {
if (success) {
if (email_lv.server_mes == "ok") {
status_txt.text = "Thank you, " + name_txt.text;
}
} else {
status_txt.text = "Sorry, your message was not sent";
}
};
submit_btn.onRelease = function() {
email_lv.sendAndLoad("fla.asp", email_lv, "POST");
}
};
Thanks.
Steve
Button That Sends An Email?
I've got a simple question for somebody who knows a bit about flash:
How do I make a button that will send an email to the desired email address? Like the "mailto:" function in HTML.
Thanks,
Mordaut
SendAndLoad (it Sends But Not Loads)
Hi all!
I have a problem with the code below.
It sends the vars to the submit.php but it doesnt load them. All files are in the same folder.
Get the .fla --> here
Code:
var oListener:Object = new Object();
this.onEnterFrame = function() {
ratio.text = score;
lvData.scored = score;
trace(lvData);
oListener.click = function(oEvent:Object):Void {
lvData.sendAndLoad("submit.php", lvRecieved, "POST");
};
lvRecieved.onLoad = function(bSuccess:Boolean):Void {
if (success) {
trace(this.received);
} else {
gotoAndStop(2);
trace("error");
}
};
};
slider.scrollFace.onPress = function() {
startDrag(this, false, 0, 0, 196, 0);
this.onEnterFrame = function() {
score = (this._x/2)/14;
score *= 100;
score = Math.floor(score);
score /= 100;
};
};
slider.scrollFace.onMouseUp = function() {
stopDrag();
};
submit.addEventListener("click", oListener);
stop();
Button That Sends An Email?
I've got a simple question for somebody who knows a bit about flash:
How do I make a button that will send an email to the desired email address? Like the "mailto:" function in HTML.
Thanks,
Mordaut
MX - Windows: LoadVariables Sends No Request
Hi.
I´m in big troubles. Im working on a rather huge project (Flash MX) , where i have to load and save variables from/to the server (PHP).
Everything worked great; but suddenly it seems that on windows loadVariables-requests are not send to the server (or only once..)
I checked the logfile, no requests are sent to the server. I even tried it on different machines.
The same files work great on macs.
Ithink it may have to do something with a corrupted file structure; older files work well. I tried to track down the problem, but with no real result.
The movie also loads several movieclips and data from textfiles without problems.
The problem may eventually be related to shared fonts or input fields with textstyles applied.
When i copy the loadVariables-actionscript to a new movie, it also works fine. if i copy parts of the project to a new movie the problems start again.
Im really desperate. Is there any known issue/case that prevents loadVariables to work?
Thanx in advance,
cros
Projector Form That Sends To Database
I have built an App. that I want to distribute to the users in my office. The app is inturn a form my employees need to fill out when ever they exchange an airline ticket for a client. The app is programed to verify and send via post to my online Database, with included PHP Script. I need to know how to get around the MS pop-up that is preventing the info from being sent.
Any help?
Form Problem - Sends Ok But Not Received
I am desperately trying to get a Flash MX form to work using PERL formmail. After many hours of troubleshooting, I have achieved partial success in that the "function onSend()" seems to be processed as it gets to the end and the success message is passed - but the email produced by the server never arrives. I am not a programmer at all, though I have got HTML forms to work using formmail in the past.
My original script came partially from a tutorial online that is only one of two I found - the original example did not work either, though mine does now work a little better. There is so little documentation on forms, and most online examples are very simple forms with text boxes only that don't go through CGI. I have no knowledge of PHP, ASP and don't have Cold Fusion, so those, perhaps easier, options are out
I really hope someone out there can help me. I have attached a zipped folder with the .fla, swf, html and .cgi files (using formmail.cgi) but there are 3 other versions I have also tried. All the code of interest is in the functions layer of the .fla file.
Thanks in advance.
Carollyne
Hyperlink Sends The Sub Menus Back.
I made this menu that when you hover over it, the sub menus will move out to the right, then go up and some will go down. When you mouse out, they will go back taking the same path.
My problem is that if I create a link on any of those menus, the sub menus will go back by just hovering over the link. I've tried converting them to movie and buttons. I still get the same result.
Can someone please help with this?
Thanks
A Flash Webform May Sends Email,
A Flash webform may sends email, and this email be with graphics ? Like process by php script , including another page in the script[that will come in the email] like a php page with graphics ?
May an email includes flash contents ? How ?
Contact Form Only Sends W/ My Email
I originally had problems receiving it. Now I receive it BUT ONLY WHEN I USE MY OWN EMAIL ADDRESS in the field. I am going insane. Can you pleaseeeeeeee tell me how can I fix this? This is my actionscript for flash and below is the php file that goes with it:
Attach Code
fla.file
stop();
name = "";
email = "";
subject = "";
comments = "";
submit.onRelease = function() {
feedbackpath = "mailto.php";
str1 = email.indexOf("@");
str2 = email.indexOf("@")+1;
str3 = email.charAt(str1+1);
str4 = email.lastIndexOf(".");
str5 = email.charAt(str4+1);
len = length(email);
counter = 1;
flag = 0;
while (Number(counter)<=Number(len)) {
Char = substring(email, counter, 1);
if(Char ne "@") {
flag = Number(flag)+1;
}
counter = Number(counter)+1;
}
if (name =="") {
condition1 ="";
namemark._visible = true;
} else {
condition1 = "ok";
namemark._visible = false;
}
if (str4<=str2 || str3=="." || str5 =="" || Number(flag) != Number(len-1)) {
condition2 = "";
emailmark._visible = true;
} else {
condition2 = "ok";
emailmark._visible = false;
}
if (subject =="") {
condition3 ="";
subjectmark._visible = true;
} else {
condition3 = "ok";
subjectmark._visible = false;
}
if (comments == "") {
condition4 = "";
commentsmark._visible = true;
} else {
condition4 = "ok";
commentsmark._visible = false;
}
if (condition1 == "ok" && condition2 == "ok" && condition3 == "ok" && condition4 == "ok") {
loadVariablesNum(feedbackpath+
"?name="+name+"&email="+email+"&subject="+subject+"&feedback="+comments, 0);
gotoAndStop(2);
}
};
reset.onRelease = function() {
name = "";
email = "";
subject = "";
comments = "";
namemark._visible = false;
emailmark._visible = false;
subjectmark._visible = false;
comments._visible = false;
};
mailto.php
<?
$to = "nana@planetnana.com";
$namenew = $_GET['name'];
$emailnew = $_GET['email'];
$subjectnew = $_GET['subject'];
$feedbacknew = $_GET['feedback'];
$subject = "Model Contact Us"." "."$emailnew";
$matter="Below are the details filled by"." "."$namenew"."
".
"Name:"." "."$namenew"."
".
"Email:"." "."$emailnew"."
".
"Subject:"." "."$subjectnew"."
".
"Comments:"." "."$feedbacknew"."
";
mail("$to","$subject","$matter","From: $emailnew");
?>
Why Enter Sends Movie To Start?
Hi all!!!
I have put a key push action on a button, which is the enter key. It works fine if you push it once but if you accidentally push is twice the whole movie goes back to the start. Does anybody know how to prevent this?
Why Enter Sends Movie To Start?
Hi all!!!
I have put a key push action on a button, which is the enter key. It works fine if you push it once but if you accidentally push is twice the whole movie goes back to the start. Does anybody know how to prevent this?
|