Here's the code:
And in writen form:
Mouse.hide();
onEnterFrame=function()
{
obj._x-=(obj._x -_xmouse)/40
obj._y-=(obj._y -_ymouse)/40
obj2._x-=(obj2._x -_xmouse)/20
obj2._y-=(obj2._y -_ymouse)/20
obj3._x-=(obj3._x -_xmouse)/10
obj3._y-=(obj3._y -_ymouse)/10
obj4._x-=(obj4._x -_xmouse)/5
obj4._y-=(obj4._y -_ymouse)/5
obj5._x-=(obj5._x -_xmouse)/2.5
obj5._y-=(obj5._y -_ymouse)/2.5
};
onEnterFrame=function()
{
obj._x-=(obj._x -_xmouse)/40
obj._y-=(obj._y -_ymouse)/40
obj2._x-=(obj2._x -_xmouse)/20
obj2._y-=(obj2._y -_ymouse)/20
obj3._x-=(obj3._x -_xmouse)/10
obj3._y-=(obj3._y -_ymouse)/10
obj4._x-=(obj4._x -_xmouse)/5
obj4._y-=(obj4._y -_ymouse)/5
obj5._x-=(obj5._x -_xmouse)/2.5
obj5._y-=(obj5._y -_ymouse)/2.5
};