ActionScript 2.0 :: Sending And Email With Action Script And A Button
Mar 20, 2005I am trying to get a button in flash to do the equivilent of this:
Code:
<a href="mailto:blah@where.com">Contact</a>
I am trying to get a button in flash to do the equivilent of this:
Code:
<a href="mailto:blah@where.com">Contact</a>
Creating a MULTIPLATFORM standalone CDROM,I'm desperately trying to, when user is connected to the web,let him send me an email by clicking on a button.This button uses the AS getURL("mailto...) and opens the default mail program.(a mail page with email address, subject...)BUT this AS ONLY works with swf nested in html page. (you can check it out!)In my case (standalone projection with exe and hqx), this script will not work.
View 2 RepliesIs it possible to have a button in my movie, that opens Outlook so we can send a email? And when outlook is open the correct e mail address is already set? Do I need php, or asp, or can I do this plain simple?
View 3 Repliesi have a flash gallery .In this i need a email button ,when click on the mail button an email editor might be open ( outook ) with the currently selected image as its attachment .
View 3 RepliesFriend 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] .....
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".
how to send a movieclip via email? the format dosen't matter as far as I can send it.
View 4 RepliesI 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 RepliesI'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 RepliesHow 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 RepliesI'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].....
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 RepliesHas 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.
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
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]...
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 RepliesI 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]....
I would like to take a "screenshot" of the stage within flash and send it as an image by email. I have tried AMFPHP and the method described here - [URL]. This is saving a jpg of a movie on the server, but no email function. I know how to setup a very simple php email file but without attachment. So my problem is I have no idea how to "connect" all those parts together and make it so that when you click the button in flash it'll send the jpg by email directly.
View 2 RepliesI 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 Repliesi 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]......
I'm making a Flex AIR application that will produce a giftcard from a webcam picture. This giftcard needs to be sent in an e-mail to a recipient provided in the program. Should I upload the picture to a server and use php to send the mail?
View 2 RepliesCreating a Multi Platform standalone CDROM, I'm desperately trying to, when user is connected to the web, let him send me an email by clicking on a button. This button uses the AS getURL("mailto...) and opens the default mail program. (a mail page with email address, subject...) But this AS only works with swf nested in html page. (you can check it out!) In my case (standalone projection with exe and hqx), this script will not work.
View 2 Replies[URL]
Well, I can manage the drawing part, but can anyone tell me how you can send a drawing via email?
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 RepliesHow can I send email to several email addresses by clicking the submit button one time. I am using Flash AS-2 .Shall be glad for any reference.
View 6 RepliesI want to make a button, when clicked, open a blank email in outlook express to an email, with a subject.i take it you would use:[code] just wanted to show you what i meant! that was just a random stab.
View 3 RepliesI have created a flash game. When you are finished playing we would like to invite the user to share the site with a friend. We have designed an email that should be sent to the email address entered on the site. I searched the forums but could not find what I am looking for. I don't want to send a message from a Flash text Field or input form, I want to send a custom email to the the entered email address.
View 2 RepliesThe 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] .....
I've followed the contact form tutorial and believe I've updated the php to php5. The email sends but I never get a success or failed page. It just stays there. I'm being hosted by Go Daddy and I am on a Linux server.
[Code]...
I've followed the contact form tutorial and believe I've updated the php to php5. The email sends but I never get a success or failed page. It just stays there. I'm being hosted by Go Daddy and I am on a Linux server.
php (removed actual email):
Code: Select all<?PHP
$to = "name@email.com";
$subject = "Flash Contact Form Submission";
$message = "Name: " . $_POST['theName'];
[code]....