Create Email

[ LiB ] 

A very common question that many people have about Flash is, "How can I create an email using Flash?" The truth is, you can't. But Flash can make an HTML call that will open a new email message. This is assuming that the user has an email client installed on his/her machine.

On a button or movie clip instance:

 on (release) {    getURL(""); } 

On a keyframe (frame action):


Adding the mailto: directive will automatically open a new email message on the user's machine. If the person does not have an email client or their client is not configured correctly, this method can fail. However, this is a very common method used in HTML, and it's typically very reliable.

[ LiB ] 

Macromedia Flash MX 2004 Killer Tips
Macromedia Flash MX 2004 Killer Tips
ISBN: 0735713839
EAN: 2147483647
Year: 2003
Pages: 300
Authors: Shane Elliott © 2008-2017.
If you may any questions please contact us: