ActionScript 2.0 :: Sending By Email (Flash Form / PHP) International Characters
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
Similar Posts:
Jan 21, 2003
does anyone know the code for sending a form in flash 5 to an email address?
View 5 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
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
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 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
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
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
Feb 19, 2004
System.useCodePage=1 at the beginning of my files when exporting for Flashplayer MX 6. But when exporting for the new player (MX 7), it wont work.
Is there a new syntax for displaying international characters?
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
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
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
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
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
Aug 23, 2010
1) Each field in the form only allows 3 characters and no special characters such as @ _ ! . , etc... 2) When the user goes to the next field in the form, the previous field appears blank but the when clicking on that again, the original text appears. 3) When submitting the form, it just keeps saying "in progress" and never shows the confirmation text nor does the email get sent. There is an HTML file included with this form but I am not sure if I need to put that in as I have embedded this form into an SWF file so I don't think I need that code but let me know if I am wrong about this. I am posting both the AS code and PHP code below..
[Code]...
View 2 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
Jan 29, 2010
I created a simple drawing app using Action Script 3.0.My son asked if I could set it up so a drawing could be sent as an email. My website use a dynamic text in order to do that and I annot find any references that would help me out.Right now I am using Sprites and Movie Clips.
View 3 Replies
Nov 15, 2010
i try to use some source code for sending email with adobe flash and action script 3.0 that i got from internet.. here i want to send email with an attachment..but it still using adobe air as player.. and now i want to use it flash player 10.. so i can't use flash.filesystem that provided by air library.. and know how to change it if i use flashplayer 10 as player.
import org.bytearray.smtp.mailer.SMTPMailer;
import org.bytearray.smtp.encoding.JPEGEncoder;
import org.bytearray.smtp.encoding.PNGEnc;
[code]......
View 1 Replies
May 20, 2003
[URL]
Well, I can manage the drawing part, but can anyone tell me how you can send a drawing via email?
View 7 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
Sep 6, 2011
I am attempting to create a Flash site with a Contact Us form where people can email me through the flash site by entering their Contact Information and it emails me there info.
I used this tutorial. [URL]
I can receive the emails when I use this, however, it does not send me the information I type in the flash site. It just sends me a blank email.
View 1 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
Feb 25, 2009
made a basic email form in my flash movie based on the script that is on the Kirupa site (i practicully copied everything and just changed my var names in my flash and php file)
[Code]...
View 3 Replies