Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Yet Another Flash MX Newbie Question

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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…
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.

792 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