Question
flash button link using actionscript 2.0
Hey guys,
Need help creating a button link using actionscript 2.0. Geez, it used to be so easy using getURL. I've tried using the following code on the button and then the frame:
my_button.addEventListener(MouseEvent.CLICK,clickHandler);
function clickHandler(event:MouseEvent):void{
navigateToURL(new URLRequest(" http://www.mywebsite.com"));
}
But it's not working. I am using Flash CS3 and my publish settings are set to ActionScript 2.0. What's going on!?

Need help creating a button link using actionscript 2.0. Geez, it used to be so easy using getURL. I've tried using the following code on the button and then the frame:
my_button.addEventListener(MouseEvent.CLICK,clickHandler);
function clickHandler(event:MouseEvent):void{
navigateToURL(new URLRequest(" http://www.mywebsite.com"));
}
But it's not working. I am using Flash CS3 and my publish settings are set to ActionScript 2.0. What's going on!?
