Solved

Yet Another Flash MX Newbie Question

Posted on 2003-11-16
2
189 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 50 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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 what frame rate is, how to control it and what effect it has on the video.

740 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