3 Replies Latest reply on Sep 22, 2010 6:03 PM by kglad

    1084 Syntax errors. Very basic.

    Legoboy051898 Level 1

      I am very new to flash and I have some very basic code that I need help with.

       

      Here;

       

      var paddlepos:int = paddle.x.position

       

      if; (paddlepos > 253)
      {
          paddle.x.postition = 253;
      }

       

      The errors are:

       

      Scene 1, Layer 'Actions', Frame 1, Line 28    1084: Syntax error: expecting rightparen before leftbrace.
      Scene 1, Layer 'Actions', Frame 1, Line 27    1084: Syntax error: expecting leftparen before semicolon.

       

      Help would be very helpful. Thanks.