# Flash as2 game: Help changeing number with click

**URL:** <https://forum.kirupa.com/t/flash-as2-game-help-changeing-number-with-click/330318>\
**Category:** flash\
**Created:** [January 1, 2013, 10:03pm UTC](https://forum.kirupa.com/t/flash-as2-game-help-changeing-number-with-click/330318 "2013-01-01T22:03:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Scholz](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Post date:** [January 1, 2013, 10:03pm UTC](https://forum.kirupa.com/t/flash-as2-game-help-changeing-number-with-click/330318/1 "2013-01-01T22:03:50Z")

</div>

Here is the run down. I have a simple text displaying the number 0. I have a small up arrow above it and a down arrow below it. Each time I click the up arrow I want the value to go up by 1 until the value reaches 9. If you click again the number will cycle back to 0.

I have 2 buttons: up button and down button  
I have 1 text: displays the number 0

I’m sure this is a pretty simple procedure, let me know if you have some input on how to make this work. Thanks all for your help!

Jason
