This works fine for me:
PHP Code:
button1.addEventListener(MouseEvent.CLICK,clickHandler1);
button2.addEventListener(MouseEvent.CLICK,clickHandler2);
button3.addEventListener(MouseEvent.CLICK,clickHandler3);
function clickHandler1(e:MouseEvent):void {
navigateToURL(new URLRequest("http://www.google.com"));
}
function clickHandler2(e:MouseEvent):void {
navigateToURL(new URLRequest("http://www.google.com"));
}
function clickHandler3(e:MouseEvent):void {
navigateToURL(new URLRequest("http://www.google.com"));
}