now i know how to attach an mc to the mouse position and how to offset an mc to the mouse position. however i would like to make an mc lag behind the cursor. im guessing this is done by creating a var that reads a previous position. can anyone help me put this into practice?
cheers very much
[AS]MC.onEnterFrame = function() {
this._x += (_root._xmouse-this._x)/10;
this._y += (_root._ymouse-this._y)/10;
};[/AS]adjust the 10 to change easing.
this.onEnterFrame = function() {
mouse_mc._x += (_xmouse - mouse_mc._x) / 10;
mouse_mc._y += (_ymouse - mouse_mc._y) / 10;
}
something of this type?
edit: oh, no… not again
:lol:^
a bit too slow there i see,
thanks very much