1 Reply Latest reply on Jul 2, 2007 9:16 PM by noidc

    error 1158 "missing left brace"

      the following is my code. as you can infer from it's simplicity, I am inexperienced.

      import flash.events.MouseEvent;
      import flash.events.IEventDispatcher;
      function extend(event:MouseEvent)void:

      the compiler gives the error of: 1158: Syntax error: missing left brace ({) before the function body.
      Yet, as can be clearly seen, there is a left brace.

      also, i do not intend for this to be void, but am just trying to get the button to work right now. When I later want it to play a motion tween that is on a different layer, how do I do that?