MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 127

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

Advertisement

Alert.noLabel
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
Alert.noLabel
Description
Property (class); a class (static) property that indicates the label text on the No button.
Example
The following example sets the No button's label to "nyet":
Alert.noLabel = "nyet";
Alert.OK
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
Alert.OK
Description
Property (constant); a property with the constant hexadecimal value 0x4. This property can be
used for the
flags
value for the
flags
the Alert window. When used as a value for the
initial focus and is triggered when the user presses Enter (Windows) or Return (Macintosh). If the
user tabs to another button, that button is triggered when the user presses Enter.
Example
The following example uses
displays an Alert component with an OK button and a Cancel button:
import mx.controls.Alert;
Alert.show("This is a generic Alert window", "Alert Test", Alert.OK |
Alert.CANCEL, this);
or
parameter of the
defaultButton
parameter, this property indicates that an OK button should be displayed in
and
Alert.OK
Alert.show()
parameter, the OK button has
defaultButton
as values for the
Alert.CANCEL
Alert component (Flash Professional only)
method. When used as a
parameter and
flags
127

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents