Disable Image panning

Hello,

I would need help in this tutorial. http://www.kirupa.com/developer/flash8/interactive_image_pan.htm
How can i disable this image panning?

I’m trying to disable it, when i pressed some button…

Thanks.