This is now driving me up the wall, I've been trying to add a link to a button in both Flash 8 and CS3 and when I preview the movie the cursor changes to a pointing hand but when you click nothing happens.
Here is the actionscript code applied to the symbol:
on (release) {
getURL("
http://www.google.com", "_blank");
}
I've copied and pasted that code into the actions panel with the button symbol selected. I have also tried naming the button and applying the code to the layer to run on the button ie:
my_button.addEventListener(MouseEvent.CLICK,clickHandler);
function clickHandler(event:MouseEvent):void{
navigateToURL(new URLRequest("
http://www.adobe.com"),"_self");
}
I have tried running the button in both action script 2 and 3, and help in regards to this would be greatly appretiated, thanx.