Limiting x_scale/y_scale of movieclip

Hello all. I have a question that I would really love answered. I have put script on a button which will scale a movieclip in intervals when pressed by the viewer. My question is if there is a way to tell it to stop at a certain point? Here is the code on the zoom button.


on (press) {
  bigscan1._xscale += 25;
  bigscan1._yscale += 25;
}


This script works perfectly but i don’t want the viewer to be able to infinately scale the movie clip. Is there a way to code it so that once the x_scale gets to a certain point it won’t scale it anymore?

Thank you for all your help in advance.

Sincerely,
Greg