Example
The following example uses
and
as values for the
parameter
Alert.CANCEL
Alert.OK
flags
and 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);
Alert.cancelLabel
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
Alert.cancelLabel
Description
Property (class); a class (static) property that indicates the label text on the Cancel button.
Example
The following example sets the Cancel button's label to "cancellation":
Alert.cancelLabel = "cancellation";
78
Alert component (Flash Professional only)
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers