ActionScript 2.0 :: Getting Flash Variables Into PHP To Mail?
Jan 7, 2009
I'm having an issue with Flash CS4 and Actionscript 2.
I've got a contact form on my contact page, with a few text boxes set to input text.
Example:
Text box of type Input Text and name = contactName. Do I need to set the Variable field too?
Here's the Actionscript for the button I have on the form:
Code:
on(release)
{
if(contactName == "" || contactName.length == 0)
[Code]...
Basically, the e-mail that gets sent has 'UNDEFINED' in it instead of the value I enter in the contactName field.
View 9 Replies
Similar Posts:
Nov 14, 2002
sending variables through email? Is it possible to place all content of all variables into a single variable or into a certain preformatted text file before sending it through email?
View 1 Replies
Jan 23, 2004
I made this small shop that uses Flash to collect data from the user (and what they want to buy) and PHP to mail the data in a confirmation e-mail. it's not working
View 1 Replies
May 18, 2011
I want to set up mail in my Flash site. The only thing I can figure out is to have someone fill out a form and click button for it to open in their email browser with forms filled out.
I purchased my site name from GoDaddy and am using a free server to host. GoDaddy provided me with one email address. I would like to send the data to this email account with the click of the button instead of opening someones email browser. An even bigger "dream" would be the ability to attach a file to the email from my form.[code]...
View 2 Replies
May 18, 2009
I am just wondering if its at all possible to send e-mails in Flash without using PHP/ASP to achieve this as the application im using does not like loading external files.I have managed to do this but Flash requires the PC in question to have an e-mail client installed on the machine (used the getURL) is there anyways I can cut this out and get Flash to send the e-mail?
View 1 Replies
Jan 30, 2012
When I click on send the textbox displays 'sending....' with no change. I'm very sure that this was working before, but the client has noticed it not working recently. I have a swf with this AS3
[Code]...
View 1 Replies
Feb 5, 2009
All of the variables are set in the flash website, I actually used the one from kirupa's site. It works great and everything comes through in my email.I want to add more than just one $message to the email body. Say I want more of their information to come through.... right now I have (name, email, and message) obviously..
I would like to add "library" and "address" to the body of the email, the variables are allready created in the website. Also can I have something in front of each 'answer', I have seen it in code but I can't seem to get it working for myself. For example my email would come in and in the body would be;
Library: (then what they filled in for their library)
Address: (what they filled in.."
Message: (their message)
This is one way I thought it would work but did not....(without the 'title' infront of each..
$message = $_POST["message"];
$message .= $_POST["library"];
$message .= $_POST["address"];
I also tried, but did not work..(with titles)
$message = "Library: " . $_POST["library"] . "Address: ". $_POST["address"] . "Message: ". $_POST["message"];
Currently, this is my email.php script...
<?php
$sendTo = "my@email.com";
$subject = "ClientsWebsite.com - Libraries Email";
[code]....
View 2 Replies
Mar 25, 2011
I am building a flash website and I want contact information sent to my gmail address.
The Lynda.com tutorial I am using says I need to "enter the php address." What is that and how do I do it?
This is my code edited
if (thename.text == "" || theemail.text == "" || thephone.text == "" || themessage.text =="") {
thefeedback.text = "*Please fill out all fields";
[Code].....
View 3 Replies
Dec 1, 2004
I'm trying to send out flash variables using a GET method however, it's not working as it should.my button code looks like this:
Code:
on(release){
getURL("http://www.myurl.com/new.php?subject=" + _root.subject + "&name=" + _root.name + "&phone=" + _root.phone + "&email=" + _root.email);
}
When I declare values on my actions layer, it comes out like this
http://www.myurl.com/new.php?subject="Hello"&name="Koopakilla"&phone="0 181155654"&email="mail@mail.com"
And my PhP code works just fine. However, when I try to do the same using an input text box it comes out like this:
Code:
&namee=<p align=left><font face=_sans size=13 color=#000000 letterSpacing=0.000000 kerning=1>b</font></p>
View 3 Replies
Oct 30, 2009
I am working on a mail form in flash where in I have to select a file from a local machine and submit the form via php to respective mail id with the attachment.Can anyone please help me find a tutorial or is there any on the internet.
View 1 Replies
Nov 25, 2010
I have a very simple mail contact form in Flash AS2 ( only three fields Name, Email and Comment ) in which I want to include onc captcha for some restriction. How can I add captacha in my flash form? I am very new in all these areas of php, mysql and flash so a small demo file will be much more useful.
View 2 Replies
Feb 25, 2011
Send button action:
onClipEvent (load)
{
this.t.v = _root.contacts_txt9;
}
[code]...
View 1 Replies
Dec 19, 2010
i made a flash card (an animated postcard), and i want to send it via email so other people can immediatly see it when they open the email. How can i do this?
View 3 Replies
Feb 29, 2004
everything was going well with my form until I transfer the files (php + swf) to a Windows server...the thing is that now it doesn't work.
View 14 Replies
May 10, 2003
How can I create a mail form in Flash ? I know, it's been asked a million times before but this one's different. You see the server I'm on has UNIX servers, and don't support anything. Real crap, not even PHP, AS, CGI, ... nothing. So now what do I do to create a mail form without PHP, AS, Perl, CGI, ... ? I have no idea at all, all those forms use PHP.
View 14 Replies
Jan 26, 2009
after loads of attempts trying to get my mail contact form to work ( very new to action script + php ) I finally got there! The only problem is i receive all this under the message..
[Code]...
The message is in there, but you can see this is a bit of a problem. Does anyone know how I can resolve the issue?
View 3 Replies
Apr 18, 2009
I've been getting an 'undefined' response and no email sent upon sending. It USED to work but then I added a few fields and broke it somehow. I copied everything perfectly, and know my text field var's are named correctly, so the fault lies somewhere here.
'submit' button actionscript:
[code]....
View 2 Replies
May 5, 2009
i am trying to create a simple mail form in flash to be sent through php.
the actionscipt:
Code:
on (release) {
getURL("http://www.dw20.co.uk/pages/contact_form.php", """", "POST");
}
the php:
[Code]....
View 2 Replies
Feb 29, 2004
everything was going well with my form until I transfer the files (php + swf) to a Windows server...the thing is that now it doesn't work..
View 14 Replies
Dec 21, 2010
have created a contact form that sends 3 lots of data (name, email and message) to my email address. here is my code for my flash form which looks right
import flash.net.URLVariables;
import flash.net.URLRequest;
InteractiveObject(theName.getChildAt(1)).tabIndex = 1;
[Code].....
View 1 Replies
Jan 10, 2007
It seems that when I test my PHP mail in flash it works perfectly fine, but when I export it and try it in a browser it doesn't. Whats the deal, is it server-side?
View 7 Replies
Oct 9, 2009
I'm having a little difficulty with parsing some information from a variable in flash.When a user has completed a form I can get a mailto command to open a mail application and post the answers into an email.I am struggling with posting same information to be handled via a php mail script.Here is the action script code
Code:
maildata.onRelease = function() {
signpost = wmq8.getValue();
[code].....
View 1 Replies
Mar 23, 2002
How to make a button that sends mail. sumthin like getURL(mailto.... or sumthin?
View 6 Replies
Aug 10, 2009
I have problem with creating e-mail link in my Flash CS4 program. The problem is that when i create button i cant attach any actions to him. It was not a problem for me in flash 4 i was working before. The movie is in Action script 3.0.
View 3 Replies
Jul 12, 2010
i need to add to my flash page print and e-mail the schreenshot buttons. like the buttons in this page "
View 1 Replies
Feb 9, 2012
again (".)I've making this contact form on flash & i got the script for the action script but i'm unable to integrate a php script that would send the mail from my form.I'm using two input feilds with instance names as theEmail and theMessage Here is the action action script code i'm using -
[Code]....
View 2 Replies
Nov 2, 2010
I'm working on my companys website and I am trying to make a link from flash open the default mail program so they can send us an email. All of that works fine and dandy.... on PCs. While using a mac I was not able to get the email to go through, it will just send back an undeliverable email. Does anyone know of a solution for this or am I going to have to completely change the way that I'm doing it?
Heres my HTML Code:
infoEmail.addEventListener(MouseEvent.CLICK, getInfo);
function getInfo(e:MouseEvent){
navigateToURL(new URLRequest("mailto: email@emailaddress.com"), "_self");
}
I know that the PC email actually goes through, it forwards it to me.
View 1 Replies
Nov 29, 2002
I am working with a form (Flash and PHP), everything works great, but the characters like �, � � or � doesn't appear in the resulting FORM e-mail. I use a text file with script to send the email off (contacto.php3)
View 5 Replies
Feb 21, 2010
I use as2 and I want to know how I could make a contact me button in a flash game/module. I need to know How using as2 I can make the program
1.send an e-mail
2.put variables into said e-mail (example::e-mail would contain variableA in a writen form.)
View 1 Replies
Oct 25, 2010
I've created a product registration form for my website and the basics of it work fine, ie when I click submit the info successfully gets e-mailed to me. I'd like to expand the functionality of it, however. As is, I get an e-mail regardless if any of the fields are filled in or not. I'd like for users to be directed to an error page when the e-mail field is blank and a thank you page otherwise. How would I do this? I imagine it can either be done directly in flash or would the php instruct the browser to navigate to the error or thank you page? Key is I don't want the form to be submitted if the email is blank.
[Code]...
View 4 Replies