ActionScript 2.0 :: Creating A Contact Form That Sends To A Specific Email Address?
Jan 26, 2010
I'm working in AS 2.0, Flash CS3. I want to make a contact form that allows a user to select the appropriate e-mail address from a combo box. I have made a working contact form that send to one e-mail address using PHP.
Here is the AS for it:
Code:
var sendLoad = new LoadVars ();
var receiveLoad = new LoadVars ();
send_btn.onRelease=function () {
[Code]....
Now.. how do I make a Combobox that allows the user to select who to send their e-mail to? (all I want are 3 address)
View 3 Replies
Similar Posts:
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
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
Sep 26, 2008
the source files work perfectly when I upload them to my server - but when I insert the form into my flash website - I am unable to receive the contact email at all. The problem must be with the flash file becuase I have not altered the php (except to send to my email)
I am using Flash CS3 (but publishing for action script2) I have double checked all my input field sare named correctly with var_names that match the php code. The form fields have been created as a moviclip named "form" and the following action script attached:
[Code]....
View 7 Replies
Dec 8, 2009
I have created a form which sends the inputted values as an email. The file takes a name, delivery address etc and also should allow a quantity to be input. There is also an option where a different delivery address can be specified like so:The code looks okay, with no compiling errors, but the 'user input quantity' does not work and when changing different address,
[Code]...
View 5 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
Jul 8, 2005
How would I gather the same information that's possible in an HTML form? For instance, I would like to get the IP of the sender, such as:<input type="hidden" name="env_report" value="REMOTE_HOST, REMOTE_ADDR, REMOTE_USER, HTTP_USER_AGENT">I've been getting so much spam from my Flash site, I have to figure this out.
View 7 Replies
Jun 19, 2008
I'm using Flash CS3 with AS2 and have been trying to set up a basic contact form and nothing seems to work. I used this [Url]to create the AS code for the send button for my form + the php code as well from this Kirupa link.I'm being hosted by Godaddy with the linux server with the email being sent to...When I fill out the form and submit - nothing is recieved in my inbox.Having tested the forwarding from Godaddy to yahoo - does work!
View 6 Replies
Jan 27, 2010
Do you know any good and mainly working AS3 contact or email form?
View 2 Replies
Jan 27, 2010
Do you know any good and mainly working AS3 contact or email form?
View 2 Replies
Jul 11, 2009
I have tried about as many tutorials as I can find online to create a contact form within my flash that emails me when someone fills out the forms, including a very good step by step at VTC. What I have found is that most of these tutorials start with the assumption that you're creating the contact form on a blank flash canvas, which is reality, is not always the case. So while I am sometimes able to get the forms to work if I do it on a brand new Flash movie, the moment I try to recreate the form within my current flash file, it stops working. I have mostly tried to recreate the contact form as a seperate movie within my flash file on it's own layer and have tried placing the Submit button within the contact form movie and also outside of it - neither works of course
[Code]...
View 3 Replies
Jul 11, 2009
How to create a contact form within my flash that emails me when someone fills out the forms, including a very good step by step at VTC. What I have found is that most of these tutorials start with the assumption that you're creating the contact form on a blank flash canvas, which is reality, is not always the case. So while I am sometimes able to get the forms to work if I do it on a brand new Flash movie, the moment I try to recreate the form within my current flash file, it stops working. I have mostly tried to recreate the contact form as a seperate movie within my flash file on it's own layer and have tried placing the Submit button within the contact form movie and also outside of it - neither works of course. Using CS3 btw.
Here's the info:
So according the image, my contact form is called "mcForm" which is a movie clip within the larger .fla on its own layer. The actions that are associated with the 1st frame in the "actions" layer above are as the following:
Here is the code itself repasted:
stop();
var gatherForm:LoadVars = new LoadVars();
//Send form function
function sendForm():Void{
gatherForm.receipient = "my@email.com";
[Code] .....
View 1 Replies
Feb 21, 2010
When submit is clicked. It just says waiting for server connection. The email is never sent. I think the problem is with the php.
Here is my ACS3 code
PHP Code:
// Set text formatting colors for errors, waiting..., and success mechanisms
var errorsFormat:TextFormat = new TextFormat();
errorsFormat.color = 0xffffff;
var waitingFormat:TextFormat = new TextFormat();
waitingFormat.color = 0xffffff;
[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
Jul 25, 2011
I am currently using a flash template from flashmo.com and i have installed it etc... The problem I have is that when you go to send a message in the contact form you cannot enter certain characters in the email box, especially the '@' symbol.
View 3 Replies
Aug 1, 2009
My flash contact form is set up correctly as well as my php file. I've tested the form in flash and on the web and it sends out an email. However when I check the email, all the fields are blank. The name, email address and message all appear blank when checking the email.
AS code Code: Select allstop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
[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
Sep 28, 2004
I'm creating a website for a friend which it's being made using Dynamic Texts (he wants different switchable languages).Problems come when submitting the Form... I've used the same Form model (formmail) for other websites which did not use any Dynamic Text and they worked without problems.
The exact problem is that the submitted Form is not received (don't think it's even sent) to the specified email address. However, if the same website does not contain any dynamic text, then the form works properly and the query is received at my mailbox.
View 3 Replies
Dec 9, 2011
I'm Using EmailValidator for Validation:
<mx:EmailValidator id="Email_Validator"
source="{txtEmail}"
property="text" required="false"/>
And My Code is:
var isValidForm:Boolean=true;
var validatorArr:Array = new Array();
validatorArr.push(Email_Validator);
var validatorErrorArray:Array = Validator.validateAll(validatorArr);
isValidForm = validatorErrorArray.length == 0;
if(isValidForm) {
//.....
}
It is working fine. But I want domain should be "gmail.com" if some other, validation should return false.. How can I achieve this? I think Regular Expressions are useful. But I don't Know to use the same in flex?...
View 2 Replies
Sep 4, 2011
I've built a contact form for my website using a [URL] tutorial on building UI elements. The final step to the tutorial is putting all the elements together in a contact form, but for some reason they've left out the dropdown menu element, and for the life of me I can't figure out how to write that code. The problem is that the dropdown menu is designed such that it's a movieclip containing several other movieclips & actionscript (button, list, scrollbar, etc). I can get it to trace the selected information with this code inside the dropdown movieclip:
[Code]...
View 2 Replies
Oct 31, 2008
I followed the contact form tutorial and created my own "join mailing list" form, but I want it to send you a confirmation when you press send on the form.
View 8 Replies
Apr 20, 2009
Anyone know how to make a flash form submit data to an email address using AS2 and php.
View 1 Replies
May 31, 2011
how to create a contact form that could sent an email running in a windows projector (.exe) from a cd rom?
View 3 Replies
Mar 15, 2010
i created this contact form in flash 8 and i get the email but an UNDEFINED message pops up on my status i cant get rid of it here is my action script for the submit button
[Code]....
View 1 Replies
Jan 15, 2003
what code do i need to put on a 'submit ' button to send the page's form to an email address??(if the page has got an input text box with the information in.)
View 1 Replies
Nov 20, 2009
How do I check if email address is a legitimate email address? Is there any possibility in that?
View 7 Replies
Jun 19, 2009
I have the following which produces a trace if the user does not type an email address when testing locally, but nothing when testing outside of Flash.
[Code]...
View 1 Replies
Nov 4, 2009
I have created a contact form with different areas of information available. I need to know how to make it work now. I want to be able to click the "submit" button and have it send the information supplied in the text boxes to my email address.
View 1 Replies
Feb 8, 2011
I created an email form wiht the below code found in the Adobe cookbooks. Everything works great except there are certain letters I cannot type.
[Code]...
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