Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Having trouble in cs5.5

New Here ,
Feb 28, 2014 Feb 28, 2014

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.

TOPICS
ActionScript
269
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 28, 2014 Feb 28, 2014
LATEST

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)} 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines