all groups > flash (macromedia) > march 2006 >
You're in the

flash (macromedia)

group:

Button HELP


Button HELP Rellbrown
3/31/2006 11:32:17 PM
flash (macromedia):
I have a button on my .swf file called contact. I want to have that button open the email client and put my email in the to address line. How is this done?

Re: Button HELP alanwallace4
3/31/2006 11:40:18 PM
Hi,
Give your button an instance name (i have used "mail_btn" for the xample
below). And copy and paste this code into your actions layer.

mail_btn.onRelease = function(){
getURL("mailto:enquiries@mysite.com",_blank);
}

Cheers
Alan
AddThis Social Bookmark Button