Mouse follow help

I want the mouse to follow a certain object in my movie.
any help?

on the object, put the code:

onClipEvent (enterFrame) {
this._x = _root._xmouse
this._y = _root._ymouse

thx, but i want the object to move and the mouse to follow…

As far as I know you cannot make the mouse follow anything as its movement is user controlled, however you can create the illusion of the mouse following an object by moving the object in front of the mouse, adjust blah de blah’s code like this :
[AS]onClipEvent (enterFrame) {
this._x = _root._xmouse-50
this._y = _root._ymouse-50

This will keep the object 50 pixels in front of the mouse

Hope it helps