Need to change Horizontal getlimits getBounds to Vertical

I used the following tutorial to create a horizontal movie
http://www.kirupa.com/developer/actionscript/scriptable_masks.htm

Now I am trying to modify my file to have it work on vertical images.

The AS for horizontally scrolling camera focus

 onClipEvent (enterFrame) {
                  getlimits = _root.normalpic.getBounds(_root);
                  //get the limits of the normal pic movie 
                  if (_root._xmouse>=getlimits.xMin && _root._xmouse<=getlimits.xMax && _root._ymouse>=getlimits.yMin && _root._ymouse<=getlimits.yMax) {
                     this._x = _root._xmouse;
                  }
               } 

I tried just changing every x to y and vice versa but it got a little wacky :-/