Max-Mov > Mouse.hide

Mouse.hide

Syntax

Mouse.hide();

Arguments

None.

Description

Method; hides the cursor in a movie. The cursor is visible by default.

Player

Flash 5 or later.

Example

The following code, attached to a movie clip on the main Timeline, hides the standard cursor and sets the x and y positions of the customCursor movie clip instance to the x and y mouse positions in the main Timeline:

onClipEvent(enterFrame){
	Mouse.hide();
	customCursorMC_x = _root._xmouse;
	customCursorMC_y = _root._ymouse;
}

See also

_xmouse
_ymouse
Mouse.show