2 Replies Latest reply on Jun 30, 2015 8:25 AM by resdesign

    Increment numbers on click

    danielwattsnbgroup

      I'm looking for the right code to do this:

       

      I have a text box off the stage with "0" written inside.

      I click another button.

      Then the text box adds a 1 to it.

      Box then shows "1".

      I click another button and it adds another 1 to the text box.

      Becoming "2".

      And so on.

      Something like ++1 or i++????