ActionScript 1/2 :: Form Sending The Data To Email?
Jun 28, 2009
I have looked all over the Internet for help with this.I have tried numerous video tutorials and for some reason I can't get it to work. I have created a form in flash cs4 AS2. It is a contact information form where the user fills out their information and sends it.I have created a the form in a movie clip (I have also tried it not in a movie clip) with the form components inside that movie clip.I have given each component on the form an instance name.The form has:
Full name (with instance name=name)
Company (with IN =company)
Title (with IN = title)[code]....
View 2 Replies
Similar Posts:
Aug 24, 2009
The form is not sending a message to my email. I am not sure whether the problem is in the AS 3.0 code or the PHP code, anyway here's the code:
Actionscript 3.0 code:
function handCursor(e:MouseEvent):void {
e.target.buttonMode=true;
e.target.useHandCursor=true;
} build variable name for the URL Variables loader
var variables:URLVariables = new URLVariables;
[Code] .....
View 2 Replies
Jan 21, 2003
does anyone know the code for sending a form in flash 5 to an email address?
View 5 Replies
Nov 21, 2005
I'm making a form using AS 2 with input fields, radio buttons,a list component and a dateChooser.[URL]..
now i need to send the results to the mail and send a confirmation email to the user which may (doesnt have to) contain the users input.
I tried all kinds of tutorials but they were all made for as1 or dindnt have the dateChooser and list component included in them.
does anybody know a good tutorial for this or a source file wich may come in handy?
View 14 Replies
Jul 26, 2011
I have a flash contact form and managed to send email with the help of PHP script. Actually, I followed this tutorial on URL.... Now, would like to get one more feature, "attachment".
View 3 Replies
Jan 29, 2004
I made a flash form to send variables by a php file for my mail..the fact is that when I receive the mail characters. This is what i have in flash:
1. Input textfields with several variables, and I already choose all kind of latin characters, and it isn't working!
2. The code for the send button is:
on (release) {
if (!from.length || from.indexOf("@") == -1 || from.indexOf(".") == -1) {
status = "Insere um email volido!";
} else if (!nome.length) {
[Code] .....
And this is working! I still don't know if the problem is in flash or in the php file..
And this what I have in "mail.php3":
<?php
mail("xirika@hotmail.com", $subject, $message, "From: beAgency
Reply-To: $from
X-Mailer: PHP/" . phpversion());
?>
I already tried to save the php file in dreamweaver encoded in UTF-8 but it didin't worked, actually the mail never came!!
View 5 Replies
Aug 26, 2004
[URL]. I am trying to make the code into a function so that I can place it in a frame instead of attaching it to a mc.
onClipEvent(data){
this.sendSent.text = "MESSAGE WAS SENT";
this.textEmail.text = "EMAIL";
this.textSubject.text = "SUBJECT";
this.textName.text = "NAME";
this.textMessage.text = "MESSAGE";
} on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
this._parent.form.loadVariables("email.php", "POST");
}
View 10 Replies
Mar 19, 2007
I'm trying to make a small email capture form, but I'm having trouble getting Flash to pass the email address to the server. I've since given up trying to use getURL and I'm simply trying to trace the variable instead. The form consists of a text box w/ instance name "email_txt" and a button w/ instance name "btnSignUp." the actionscript is placed on the button.
Here's PHP Code:
on(release) {
trace("email_txt says: " + email_txt);
// getURL stuff here
}
My trace statement reads:
Code:
email_txt says: undefined
View 5 Replies
Mar 10, 2010
For a company I made a website in flash. Everything seems to work fine except the mailform. Infact the mailform does his job but the message's I receive look like this:
First name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#000000" LETTERSPACING="0" KERNING="0">Nick</FONT></P></TEXTFORMAT>
Email: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#000000" .....
View 9 Replies
Jan 26, 2011
We have an interactive with about 30 buttons. The reader is asked to choose among the buttons, each of which change a chart that shows the California Budget Deficit. In other words the reader is reducing the said deficit by clicking a button which then "defunds a program" and changes the main chart. When the reader clicks a button we have a dynamic text field (for each button) that registers that that button has been clicked. At the end the reader is invited to submit his choices, that is, which buttons have been clicked.What we would like to do is have each submission emailed to us so we could do a breakdown of how the readers chose to reduce the budget.Is there ANY WAY to take the contents of a series of dynamic text fields and have them automatically appear in an email that the reader could send to us? Or are we doomed to construct a database?
View 1 Replies
Apr 25, 2003
I have created a form in Flash MX using components shown in the example provided by Kirupa. It does not however tell me how to take the compiled information I imputed, send it to an asp scripting page which sends that information to a database and at the same time send the seller of the product an email stating that someone has registered for their product.
Can I do all this with a simple submit button?
View 2 Replies
Sep 24, 2010
So I have built a contact form out of AS2 and PHP. PHP 5 is enabled on my server, so that's not a problem. I think there is a slight error within my code somewhere. What happens is once online, you fill out the form and hit post, it goes to the "error sending email!". Below is my code so you can take a look at it. I also have included below that a link to download the actual files.
[Code]...
View 1 Replies
Mar 25, 2009
I need to make an Odometer and the user can adjust the numbers and once they select their klm reading it needs to be sent to a PHP to sent it to a database. I am having trouble finding a way to send the data. Is it possible to make a "field box" and what ever number is in the box when you push submit sends to the php?
View 1 Replies
Apr 20, 2009
The problem is that I have an input form (with an instance name of 'form'). Its for a newsletter sign up to [URL] All I need is for when you click on the sign up button, it sends the data in the form to a webpage (which is [URL] <- that is actually an example, but the link is pretty much like that.
View 1 Replies
Feb 10, 2012
My contact form is not giving out any data to my e-mail.I'm using two input feilds with instance names as theEmail and theMessage on my action script from which data for the sender's email & the message will be retrieved.Here is the action action script code i'm using -
snd_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
{[code]......
View 11 Replies
May 22, 2009
I have a form that allows users to submit an event.(So the form has text fields for name, event and date of event). The form works by sending its data to a php file, and then e-mailing that data to me. It works perfectly for me and many others, although it does not work when certain users submit their event - I just get a blank email. (So the form never works for 3 out of the 15 people using it). This is the script I am using to send the form's data to the php file:
Code:
eventForm.loadVariables("email.php", "POST");
Why this would not work for certain users only???
View 7 Replies
Jan 20, 2004
I have a form that calculates totals. What I want to do is send the results by email.
I tested a simple email form with success (name, email and body message, all input txt fields). The form also works fine (thanks again bamb0006). My problem is getting the resulting data of the filled form in the email body message.
View 7 Replies
Jan 20, 2004
Here's my question: I have a form that calculates totals. What I want to do is send the results by email. I tested a simple email form with success (name, email and body message, all input txt fields). The form also works fine. My problem is getting the resulting data of the filled form in the email body message.
View 7 Replies
Apr 9, 2009
I had someone who had compiled my flash site as I have three forms integrated into my flash website [URL] on the left side you see a "Refinance", "Purchase", and "Loss Mitigation" but I had to do some edits on it and someone else had to work on it and the original person I can't get in contact with and I didn't have the original FLA file so something happens when someone fills out any of the forms to the left....no data is sent! I receive the email but it is blank! I have several flash forms I downloaded to see how I would get the script to go but I can't seem to figure it out!
The current script on my flash is super super long...(i'm sure a lot of nonsense coding in it)
View 2 Replies
Jun 2, 2009
I've been tasked with replicating the following HTML in actionscript for the integration of a flash frontend onto an existing cart system: HTML Code:
<form name="campaign" method="post" action="https://www.client.net/portal/site/client/template.APPFORM?app=CL_OC"><input type="hidden" name="campaignSnippet" id="campaignSnippet" value="<campaign
[code].....
View 3 Replies
Jul 5, 2004
I'm working on creating a flash form that sends data to the DB. I was successfull in creating the page that can send the data to the DB but I'm not able to figure out a way to write the actionscript where the thanks message frame loads after we submit the data. As of now... when I submit it goes to the .asp page that I created to POST the data to the DB.
AS Code:
on(release){
getURL("[URL]", "_self", "post");
}
ASP Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%strColleges = Request.Form("colleges")
'Response.Write(strMajor) & "<br>"
'Response.Write(strColleges) & "<br>"
MyPath=Server.MapPath("uginfo.mdb")
[Code] .....
View 2 Replies
Apr 7, 2007
I am trying to send data filled out in a form in my flash movie to send mail using CFMAIL. In my form that is in Flash I have variables set. Then when the button is pressed loadVariables("sendMail.cfm", "POST");
Then on my CF page I have this:
<cfmail from="info@mysite.com" to="#FORM.email#"
SERVER="mail.mysite.com" >
#FORM.comments# #FORM.company# #FORM.name#
</cfmail>
I can't find a tutorial on this. Everything is PHP. And I don't want to use "Flash Forms in MX7"
This is all embedded in my Flash web site.
View 2 Replies
Dec 20, 2006
I am in the process of creating a flash site for friend of mine. He wants to be able to have a guest list for his events in DC. I have created form boxes and have given them all "instance names". But I have absoultely NO clue how to have the text entered by people trying to get on the guest list sent to my server so we can all read it.
I have a book on Flash but it really doest explain how to do it at all. I'm guessing I need to do some actionscript?
[Code]....
View 8 Replies
Dec 14, 2009
I have a flash form with input text fields. I am sending the data to a 3rd party server. I can send the information via getURL but I want to send the data without opening a browser window so I am utilizing sendAndLoad. It works great locally but not through a browser (tested in IE and Firefox). I have verified that all the variables and urls are in the correct case, I have tried both Post and Get, I have tried network and local..
Here is the file - click on the second image...[URL]
Here is the code...
on (release) {
if (first_name.text.length == 0) {
error.text = "** First Name Required **";
} else if (last_name.text.length == 0) {
error.text = "** Last Name Required **";
[Code] .....
View 1 Replies
May 9, 2007
I'm using a simple form to submit to a php mail functions.works fine, however when i publish for flash 8 the mail body shows all the inline style as plain text.[code]...
View 1 Replies
Sep 24, 2009
sent form data in Flash to a PHP script before and then read in a variable (say a user id) that gets passed back by the PHP. simple enough.but if the script passes back XML, how do i read that in?elow is the code i've used to send PHP a name and an email address and get back a userid, but i'm not sure how to go about writing the code if the script is passing flash a chunk of XML instead?
ActionScript Code:
var userRequest:URLRequest = new URLRequest("saveUser.php");
var userLoader:URLLoader = new URLLoader();
[code].......
View 1 Replies
Aug 15, 2010
I followed to tutorial to make the website and form but it just leaves you hanging at the end after ou made the form, i doesnt tell you how to make the .php file that sends the information to a email address. here is the Action Script 3.0 code for the form:
import flash.net.URLVariables;import flash.net.URLRequest;
InteractiveObject(theName.getChildAt(1)).tabIndex = 1;InteractiveObject(theEmail.getChildAt(1)).tabIndex =
[code]........
View 1 Replies
Dec 26, 2011
how to save contact form data in a textfile rather than sending a mail?
View 3 Replies
Dec 4, 2010
I don't know if this is too much to ask but could someone give me a quick overview on how to create an email form that actually sends the information to my email? I have the form created, and I'll post the .fla file (I allow a laugh at my elementary flash movie. This is just a final project for an intro to flash class), and I understand I'll need the .asp file from GoDaddy setup on my hosted space.
View 3 Replies
Mar 21, 2005
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.how I can do this or adapt it to the kirupa tutorial code?
View 1 Replies