User Guide
SimpleButton class 691
Description
Property; indicates whether the button is in an emphasized state (true) or not (false). The
emphasized state is equivalent to the appearance of a default push button. In general, use the
FocusManager.defaultPushButton property instead of setting the emphasized property
directly. The default value is
false.
If you aren’t using
FocusManager.defaultPushButton, you might just want to set a button to
the emphasized state, or use the emphasized state to change text from one color to another. The
following example sets the
emphasized property for the button instance myButton:
_global.styles.foo = new CSSStyleDeclaration();
_global.styles.foo.color = 0xFF0000;
SimpleButton.emphasizedStyleDeclaration = "neutralStyle";
myButton.emphasized = true;
See also
SimpleButton.emphasizedStyleDeclaration
SimpleButton.emphasizedStyleDeclaration
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
buttonInstance.emphasizedStyleDeclaraion
Description
Property (static); a string indicating the style declaration that formats a button when the
emphasized property is set to true.
The
emphasizedStyleDeclaration property is a static property of the SimpleButton class.
Therefore, you must access it directly from SimpleButton, rather than from a
buttonInstance,
as in the following:
SimpleButton.emphasizedStyleDeclaration = "3dEmphStyle";
See also
SimpleButton.emphasized
SimpleButton.selected
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.