Create a variable and use that as your vehicle for defining the value you display. Have your buttons add and subtract to that variable. Then write the value of that variable to the textfield.
it's not much different than the as3 code i suggested:
Thank you perfect
I had this problem for 2 years.