Interactive image panning tutorial

Hope anyone can help with this problem.

I have implemented this very good tutorial in my site: http://www.kirupa.com/developer/flash8/interactive_image_pan.htm

I have changed the _x parameters to _y and _widths to _heights to create a vertical scrolling version of this.

I have then put the vertical slider within a masked area (a box) on the stage.

The problem is this; the script still uses the stage height so wherever my mouse is on the stage area the content of the scroller still scrolls. i would like the scroller to only scroll when the mouse is in the smaller boxed area, and to restrict the the content of the scrolling area within the boxed area.

Hope this is not too confusing.

Any help very much appreciated.

thanks