Wednesday, 28 May 2008

Mailto button

This Flash tutorial will teach you how to create a mailto button, which will open up your email reader to send emails. This tutorial is very simple to create and uses Actionscript 2.0. For this tutorial I have used a free stock image of a mail icon which is available at:

Mail to Button

Step 1

Open a new Flash document.
Create your button on the stage. I have used a mail icon for my button, but you can use whatever you wish.
Convert your button into a symbol by selecting F8. Then give your button an appropriate name, check button and click ok. For more information on buttons checkout the basic button tutorial.

Step 2

Right click on your button and select “Actions” from the drop down menu, and enter the following code:

on (release) {



Of course, you enter the email address you wish to send emails to.

Step 3

Test your move clip Ctrl + enter. Now try clicking the mail icon and your email reader should open up.

You should now have a mailto button.

UPDATE: Mailto in Actionscript 3.0.


  COPYRIGHT © 2014 · ILIKE2FLASH · Theme by Ourblogtemplates

Back to TOP