ActionScript 2.0 :: Email Capture Form - GetURL Not Sending Variable
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
Similar Posts:
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
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
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
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
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
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
Feb 20, 2010
I've created a form in flash to for customers to send email from the website. I'm using action script 3 - (mailto: ) There are two problems.
1) It doesn't send. A blank email form comes up that the user has to fill out - doesn't work with their email client.
2) How can I get it to validate?
View 2 Replies
Jan 20, 2010
iam trying to create an email form with flash cs4. so i've designed the layout and i've written a script to check that the details given are correct. but i am having problems while i am trying to sent those details to my email. here is the script after the details were checked:
[Code]...
View 4 Replies
Feb 4, 2009
I am having some issues with a php email form that I am using in my AS3 project. the form works perfect and all communication is good.however when the user is on the page and wants to tab to the next text field it jumps to one of my hyperlinks on the same page and not to the next text field down on the php form.
is there any way to stop this from happening.I have tried placing the php form on a seperate layer in a seperate mc and I have done the same with the hyperlinks .you can see what I mean by visiting this development site.(after entering go to contact)http:[url].....
View 2 Replies
Jun 7, 2006
I want to know any actionscripts that could work on a button that could send what it is on your screen (flash movie) to someone else. I am working on this particular project in Flash 2004 and its got some photos, illustration, and of course text and I want to make a button which could send the whole look to whoever I want to send this out to.
View 4 Replies
Apr 7, 2009
I am trying to create a Flash movie that allows me to click a button and capture a specific moment in the movie, convert it to a JPG and send it by email.
View 7 Replies
Oct 3, 2005
I'm having a strange problem with getURL. in my flash file, i have two buttons one for an email link and another one for a site link here is the code
[Code]...
when i test it in flash (Ctr+enter) only the button linking to the site works, but the email button doesn't work. And when i preview it in html, only the the email button works, but the site button doesn't work.
View 3 Replies
Jul 21, 2010
Friend wanted a change in Email address and I'm assisting. I notice at the bottom it posts to a formmail.php file but I was wondering if there was an easier way to understand what exactly it POSTS and how AS handles POST methods so I can rewrite a script.
function playTier() {
switch(this.tierContent.tier_txt.text) {
case "Sinking Ship":
bullseye_mc.arrow_ani._x = 205; break;
case "Piggy Bank":
[Code] .....
View 2 Replies
Feb 18, 2009
Actionscript 2
I am creating an online video for a client. I have it set to play the video in frame 1 and then go to frame 2 once the video has completed. What I'd like to do is have it automatically send me an email once the person has reached that 2nd frame. Is there a way to do this? It wouldn't need to have any kind of form or anything. Just a simple message saying "Fred has watched your presentation".
View 1 Replies
Oct 29, 2009
how to send a movieclip via email? the format dosen't matter as far as I can send it.
View 4 Replies
Dec 16, 2011
I was wondering... in the past it was never smart to send flash in emails, but now it's 2011, and I thought, would it be smart to embed flash in emails, and even possible?
View 1 Replies
Jul 9, 2009
I'm making a contact form and I need to be able to send attachments with the email,I had a really quick google but didnt get anything useful haven't really seen any flash forms that do this...
View 2 Replies
Dec 28, 2004
How to do it so that if you enter two input lines and press OK it will send these two lines somewhere i can see them?
View 1 Replies
Sep 27, 2005
I'm am trying to send an email form, from flash to my web hosts cgi scipt (mailgate). I am unsure how to translate the html code given by the host to use in actionscript and where to put the hidden variables to make this work. My action script reads-
stop ();
function sendForm () {
my_lv = new LoadVars ();
[code].....
View 2 Replies
Jan 29, 2009
I was wondering if there was a way to send out email in Flash via Actionscript? All the tutorials I find, use php in conjunction with Flash. I have no inclination to use php, I don't see why should have to.
View 3 Replies
Aug 24, 2003
Has anyone been success in sending an email from within Flash MX? I am trying to launch the email client & being able to add a subject & body information. I have been trying all kinds of combinations with no luck
Also, I have an input box labeled recipient so when I launch the mail client I want the recipient email address to automatically appear in the To line.
View 4 Replies
Apr 21, 2012
I have followed the tutorial and created Flash file to send emails. But getting the error: "Message not sent". Is it becuase my web server doesn't support aspx or what?
The link to the tutorial:
[URL]
As I cannot attach the files created here, I am attaching the snapshot of th swf file.
Note: The extension of the following file to be changed from .txt to .aspx
EmailSender.txt to be changed to EmailSender.aspx
View 2 Replies
Nov 26, 2002
I wish to post Variable Data from a Flash form to an email address. The whole Form is a loaded level 1 in the main SWF site in a HTML Page, so everything is flash, and all I want to do is send the Variables to an email address, I can do this fine via HTML but wish to send the Variables from a locked off Flash file. I have created the fields etc, Send and Append buttons, the Append But has the name of the Variables that are then set to a:
[Code]...
View 4 Replies
Sep 3, 2009
I have a game where at the end there is a "send to friend" feature. Normally I would collect the user's name, friends name, friends email, then make a call to a php script, pass the information and let the php handle the rest. But is there a way to handle this entirely in flash? Does AS3 have an emailing feature?
View 2 Replies