Button.useHandCursor Property | Flash 6 |
Boolean; dictates whether a hand icon is displayed when the mouse pointer is over the button | read/write |
When set to false, the Boolean useHandCursor property disables the display of the hand pointer icon normally shown when the mouse pointer is over theButton's hit area. When the hand cursor is disabled, the regular arrow cursor is used (this is more typical behavior for operating system buttons). Movies that use large transparent buttons, for interfaces such as picture slide shows, often disable the hand cursor.
Note that other than the hand icon, no other built-in mouse pointer icons are available. For instructions on creating a custom mouse pointer icon, see Mouse.hide( ).
The following code disables the hand cursor for ok_btn:
ok_btn.useHandCursor = false;
The following code disables the hand cursor for all buttons in a movie (unless a button overrides the global setting with its own useHandCursor property):
Button.prototype.useHandCursor = false;
Mouse.hide( ); "The Almighty Prototype Chain," in Chapter 12