![]() ![]() | |
Flash Player 5.
Mouse.hide()
None.
A Boolean value: true if the pointer is visible, and false if the pointer is invisible.
Method; hides the pointer in a SWF file. The pointer is visible by default.
The following code, attached to a movie clip on the main Timeline, hides the standard pointer, and sets the x and y positions of the customPointer_mc movie clip instance to the x and y mouse positions in the main Timeline.
onClipEvent(enterFrame){
Mouse.hide();
customPointer_mc._x = _root._xmouse;
customPointer_mc._y = _root._ymouse;
}
Mouse.show(), MovieClip._xmouse, MovieClip._ymouse
![]() ![]() | |