On button click how to increase the numbers

Hi,
I have 3 buttons. When i click on the button1 i wish to increase the number to 1, when i click button 2 i wish to increase number to 2 and when i click on button 3 i wish to increase to 3…so it must increasing 1,2,3… But the problem is, when i click on the first button back twice i wish not to show me the number 1, but i wish to disable the counting because we have already click on this button. I dont need the this.enabled = false; code but something count == 0, but is not working.

stop();
button.onRelease = function(){
var count:Number = 0;
count++;
counter.text = count;
}
button2.onRelease = function(){
var count:Number = 1;
count++;
counter.text = count;
}
button3.onRelease = function(){
var count:Number = 2;
count++;
counter.text = count;
}

Please help if anyone know how to do this

Luka