How to make Flash Button Link getURL?

1. To select the button and write in Action script panel these lines:

on(release) {
getURL(“http://my.url”,”_blank”);
}

If that doesn’t work – try this

my_btn.onRelease = function () {
getURL(“http://great.url”,”_blank”);
}

1. first name a button ‘my_btn’.
2. then insert this line of code to Actions for this button.

If you use Flash CS4 Professional, and Action script 3, then try using this one:

External Page & File Linking in ActionScript 3.0 – Flash CS3 + CS4 Tutorial navigateToURL

Hope it helps! All credit goes to:
http://www.developphp.com/
http://flash-mx.ru/forum/topic_show.pl?tid=1374