Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Yet Another Flash MX Newbie Question

Posted on 2003-11-16
2
Medium Priority
?
200 Views
Last Modified: 2010-04-03
If you have an HTML page that has something like this:

<A HREF="mailto:someplace@yahoo.com">Email Us</A>

where clicking on the "Email Us" link will launch your email client to "someplace@yahoo.com".

Is it possible to setup something like this in a flash movie?  i.e., if I have a form, I can put a button that says "Contact Us" at the bottom of the form.  Clicking on this button will launch my email client to a preset email address already determined.  Is this possible?
0
Comment
Question by:coson
2 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 200 total points
ID: 9760188
Base method:

on (release) {
      getURL ("mailto:account@domain.xxx");
}

a little more advanced:

on (release) {
      emai = "account@domain.xxx";
      dest = "Address Alias";
      ogge = "Message Subject";
      mess = "Message body";
      getURL ("mailto:" + dest + "<" + emai + ">?subject=" + ogge + "&body=" + mess);
}
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 9764208
I created a simple movie/web page that uses the technique of having a user fill out the Flash form, then the information is "pathed" into an email in the users client default program...


you can take a look at it here:

http://www.rascalpants.com  /dev/poor_mans_form.asp


you can download the source files from this site:

http://www.kcnewmedia.com  /dev/poor_mans_form.zip


*** just take the spaces out of the above links ***


rp
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question