The code below makes your cursor on the screen disappear and also makes little dots follow your cursor around hidden or not:
Mouse.hide();
onEnterFrame = function()
{
gary_mc._x -= (gary_mc._x - _xmouse)/20
gary_mc._y -= (gary_mc._y - _ymouse)/20
gary2_mc._x -= (gary2_mc._x - _xmouse)/10
gary2_mc._y -= (gary2_mc._y - _ymouse)/10
gary3_mc._x -= (gary3_mc._x - _xmouse)/5
gary3_mc._y -= (gary3_mc._y - _ymouse)/5
};
The reason for gary,garry2 and garry3 is beacuse of the names I given to the instances, don't think that they have to be called garry it was just a name for it.
And the only part for hiding the mouse is "Mouse.hide();"
No comments:
Post a Comment