User Guide
78 Alert component (Flash Professional only)
Example
The following example uses Alert.CANCEL and Alert.OK as values for the flags parameter
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";