'{' Expected... but it's right there!!!
Please help I can't find an explanation for this error.
The frame name is"home" and the button does have an instance name of "btn1"
'{' expected in line 5
1 stop();
2
3 btn1.addEventListener(MouseEvent.ROLL_OVER, gohome);
4
5 function gohome(e:MouseEvent):void
6 {
7 gotoAndStop("home");
8 }
Even if i place the '{' in line 5 i will keep getting this error
Image just in case: