0 Replies Latest reply on Aug 11, 2006 3:46 AM by Newsgroup_User

    birds eye view scrolling?

    Level 7
      Hi

      I am trying to build an interface that is basically a big table top which is
      masked so that the user can scroll up down left and right across the table
      top, sort of like a birds eye view. I have the following code for the
      movement, but it stops when the mouse hits the boundaries of the stage.
      Could anyone help or point me in the right direction of an example?

      onClipEvent (enterFrame) {
      _root.yChange = Math.round(_root._ymouse+this._y);
      _root.xChange = Math.round(_root._xmouse+this._x);
      _root.yMove = Math.round(_root.yChange/10);
      _root.xMove = Math.round(_root.xChange/10);
      this._y -= _root.yMove;
      this._x -= _root.xMove;
      }

      Thanks in advance

      Shaun