Button (do this... then do that)

I have this problem

i have a button with this on _root.three.hight += 50;
but i only want it to activate this command once when pressed then the next time the button is pressed i want it to do the opposite -=50;

thanx in advance