Skip to main content
Participant
February 28, 2014
Question

Having trouble in cs5.5

  • February 28, 2014
  • 1 reply
  • 283 views

I can't seem to solve this error

Scene 1, Layer 'Actions', Frame 1, Line 43

1084: Syntax error: expecting identifier before rightbrace.

Here's the code

http://pastebin.com/BY0eaFyz

I'm new to flash so I don't have much experience.

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
February 28, 2014

It is not clear what your intentions are, but it appears you might have cut a function short...  The last function your code shows ends before the rest of the first conditional was written, and before the rest of the conditionals started.  THis is the entirety of the last function due to the way you use the braces...

  1. function fl_ClickToGoToAndStopAtFrame_3(event:MouseEvent):void
  2. {if (Cursorcount==0&&score>=100)}