3 Replies Latest reply on Jun 17, 2011 6:51 AM by kglad

    score problem?

    McbainGames11 Level 2

      Dyamic text box timer problem?

       

      var score:int=0;
      score += 10;

       

      addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);

       

      function fl_MouseClickHandler(event:MouseEvent):void
      {
          mytextbox.text = String(score);
      }

       

       

      on first click it adds number 10 then it doesnt goto 20 on the next clicks?

       

      Please help.