
Button._width Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
475
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().
Example
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;
See Also
Mouse.hide(); “The Almighty Prototype Chain,” in Chapter 12
Button._visible Property
whether the button is shown or hidden
Flash 6
read/write
theButton._visible
Description
The Boolean _visible property indicates whether theButton is shown (true) or hidden
(
false). We use _visible as a quick means of hiding a button from view. Hidden buttons
can still be controlled via ActionScript; they simply are not displayed on screen. However, a
hidden button cannot receive focus or user input, so its events do not get triggered.
Button._visible is directly analogous to MovieClip._visible; see that property entry for full
details.
Example
The following ...