Macromedia Flash MX 2004 Killer Tips
[ 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("mailto:email@domainname.com"); }
On a keyframe (frame action):
getURL("mailto:email@domainname.com");
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 ] |