2 Replies Latest reply on May 8, 2006 9:32 AM by Spot3313

    Mouse(menu) slider

    Spot3313
      Hey,

      I have a small area that i want a slider to slide over links and follows the mouse with a small delay. Ive gotten it to follow without a problem however it follows the _x through out the whole movie... Im needing to run a hit test but im not sure how to achieve this... so far this is what ive done...

      onClipEvent (enterFrame) {
      if (this.hitTest(slider)) {
      //slideX = slider._xmouse-_x;
      //_x = _x+(slideX/5);
      trace("jellybean");
      }
      }

      The un-commeted stuff is the sliding script (that works)