Groups | Blog | Home
all groups > macromedia flash sitedesign > august 2005 >

macromedia flash sitedesign : flash button


girlwithblueeyes
8/5/2005 7:19:29 AM
Hi
I have a button in my flash program and I want add a link to my program...
I want open link where i press my button.but I don't know how can I do it...
can u help me?
regards.
Olivier ANDRE - CoolPrint
8/5/2005 9:38:11 AM
[quoted text, click to view]
Hi,

Just add this code as an action in your button:
on(release) {
getUrl ("your URL","_blank"); (_blank is used if you want to open
your link in a new page.)
}

Hope this helps.

NSurveyor
8/5/2005 10:10:33 AM
Click on your button. Open the Actions Panel. Paste in the following code:

on(release){
getURL("http://www.google.com/","_blank");
AddThis Social Bookmark Button