M > Mouse.hide

 

Mouse.hide

Availability

Flash Player 5.

Usage

Mouse.hide()

Parameters

None.

Returns

Nothing.

Description

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

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

Mouse.show, MovieClip._xmouse, MovieClip._ymouse