1086: Syntax error (Help!)
Hi, im doing an animation for school, im trying to get the frame to stop automatically and then a button will allow the user to continue.
However i am prompted with these errors:
| tempInit, Line 2, Column 11 | 1086: Syntax error: expecting semicolon before 2. |
| tempInit, Line 4, Column 11 | 1086: Syntax error: expecting semicolon before 6. |
How do i prevent this? Any help would be great!
Here is my code:
/* Stop at This Frame
The Flash timeline will stop/pause at the frame where you insert this code.
Can also be used to stop/pause the timeline of movieclips.
*/
stop();
/* Click to Go to Next Scene and Play
Clicking on the specified symbol instance moves the playhead to the next scene in the timeline and continues playback in that scene.
*/
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextScene_6);
function fl_ClickToGoToNextScene_6(event:MouseEvent):void
{
MovieClip(this.root).nextScene();
}
