Solved

Yet Another Flash MX Newbie Question

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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FLV versus SWF 11 277
Online Course Not Responding 3 94
bandwidth 5 71
Adobe Acrobat Pro: chasing the white background wallpaper dimensions 3 174
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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 how to record live broadcast.
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.

803 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