open the movieclip containing the object and place the object at 0,0
add code on the main timeline -
Code:
this.onMouseMove = function(){
mc._x = _xmouse;
mc._y = _ymouse;
}