Flash as2 game: Help changeing number with click

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