MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 691

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Description
Property; indicates whether the button is in an emphasized state (
emphasized state is equivalent to the appearance of a default push button. In general, use the
FocusManager.defaultPushButton
directly. The default value is
If you aren't using
the emphasized state, or use the emphasized state to change text from one color to another. The
following example sets the
_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
property is set to
emphasized
The
emphasizedStyleDeclaration
Therefore, you must access it directly from SimpleButton, rather than from a
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.
property instead of setting the
.
false
FocusManager.defaultPushButton
property for the button instance
emphasized
.
true
property is a static property of the SimpleButton class.
) or not (
true
emphasized
, you might just want to set a button to
myButton
SimpleButton class
). The
false
property
:
,
buttonInstance
691

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents