Send email using buttons in Flash MX 2004

Posted on 2007-07-25
Medium Priority
Last Modified: 2008-01-09
Hi experts,

I have a SWF embedded in a HTML page, I am currently working on the contents section of the website. Within the SWF (Flash document) I have a button beside each contacts name that I want the user to click if the want to send an email to that person. i am currently using.


Nothing is happening. Any ideas?
Question by:daly__paul
LVL 37

Expert Comment

ID: 19565292
Um...  What if you specify the target window???

getURL("mailto:me@my.com", "_blank");

LVL 22

Accepted Solution

rascalpants earned 2000 total points
ID: 19565307
the code you have works for me...

the code you have needs to be place ON the buttons themselves...  most likely have have them on the timeline.

I would recommend using the timeline method, but you need to give each button an instance name in the Properties panel and then use the below code:

theButtonNameHere.onRelease = function(){


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

831 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