4 Replies Latest reply on Jul 21, 2006 6:02 PM by kglad

    Center scaling mouse

    Walloompoom Level 1
      Hi, Im trying to increase the x & y scale of a mc when the mouse moves towards center and decrease as the mouse moves out from center. Im trying to avoid using a mouse listener because it causes lag. What I have so for is this:

      setProperty("pointerMc", _xscale, ((drag._x)+800)+1);
      setProperty("pointerMc", _yscale, ((drag._y)+800)+1);

      It works but it scales only to the bottom right. My mc is center aligned