Her

Home Flash & Swish Flash Tutorials How to Create Mailto Function in Flash MX

How to Create Mailto Function in Flash MX

Author: Ades Tynyshov Author's URL: www.adesdesign.net More by this author

Mailto function in flash is not much different than Mailto function in HTML. In HTML this function is applied on links, whereas in Flash it is applied on buttons.

<a href="mailto:[email protected]?subject=Feedback">click here </a>

This is how it looks in HTML, to test how it works click here

And this is how it looks in Flash:

on (release) {
         getURL("mailto:[email protected]?subject=Feedback");
}

Just create a button in flash, click on your button and open the Actions panel and copy the above code inside Actions panel. Change the email and subject to your own.

Here is how it should look and work after you have published it and implemented inside the HTML page.