Solved

Yet Another Flash MX Newbie Question

Posted on 2003-11-16
2
183 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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now