Groups | Blog | Home
all groups > flash (macromedia) > august 2004 >

flash (macromedia) : Button/link


urban_eve
8/13/2004 9:58:20 PM
Hello,

I'm a macromedia flash mx beginner. i'm just learning through trial and error.
I still haven't discovered how to change a buttons link address.

Any help would be greatly appreciated.
Thanks in advance,
-Eve
maxil
8/14/2004 2:33:39 AM
Could you give a little bit more information please.

Are you wanting to add a URL link to a button or simply change the instance name?

urban_eve
8/14/2004 2:53:04 PM
I would like to assign a "mail-to" form to one of the buttons.
maxil
8/15/2004 12:04:44 AM
You can put the following code directly onto the button

on(press) {
getURL("mailto:myemailaddress@macromedia.com")
}

Or if you're using Flash MX or later you can give your button an instance
name, for example mailtoBtn. And put the following code on the main timeline

mailtoBtn.onPress = function() {
getURL("mailto:myemailaddress@macromedia.com")
}
urban_eve
8/17/2004 3:01:58 PM
AddThis Social Bookmark Button