Movie Clip as Button Conditional Question

Hey everyone,

I was wondering if there was a way to make a movie clip act as a button only when certain criteria was met and then turn back into a regular clip when they are not. I have a gallery that has a zoom-in and zoom-out button. I have the clip dragable when you zoom in, but when you zoom out it is still draggable. Any ideas? Thanks in advance

-JD-

if(picture._xscale>=100){
  picture.onPress = function() {
  this.startDrag();
 }
 picture.onRelease = function() {
  this.stopDrag();
 }
 }