I’m trying to get a couple of buttons to work on my simple Flash slideshow. However, ActionScript 3 is giving me this error:
1126: Function does not have a body.
Here is my script:
more_btn.addEventListener(MouseEvent.CLICK,clickHandler1);
more2_btn.addEventListener(MouseEvent.CLICK,clickHandler2);
function clickHandler1(event:MouseEvent):void{
navigateToURL(new URLRequest(“http://www.rosbreed.com”));
}
function clickHandler2(event:MouseEvent):void;{
navigateToURL(new URLRequest(“http://www.strawberrygenomics.com”));
}
Is there a better way to compose this script?
I look forward to solutions.:bandit: