Flash CS4, Action Script 3.0...?

RIVERS

New member
Hi. I keep getting this error... 1158: Syntax error: missing left brace ({) before the function body.
Can anybody help?

stop();
import flash.events.MouseEvent;

//---Option1 Button Timeline Change---\

Option1_btn.addEventListener(MouseEvent.CLICK, Option1Click);

function Option1Click(eventMouseEvent)void{
gotoAndStop("getTwo");
}

Thanks
(yahoo's not showing the full code for (MouseEvent.CLICK, Option1Click); but thats correct.
 
Back
Top