User Guide

84 Alert component (Flash Professional only)
Alert.okLabel
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
Alert.okLabel
Description
Property (class); a class (static) property that indicates the label text on the OK button.
Example
The following example sets the OK buttons label to “okay”:
Alert.okLabel = "okay";
Alert.show()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
Alert.show(message[, title[, flags[, parent[, clickHandler[, icon[,
defaultButton]]]]]])
Parameters
message The message to display.
title The text in the Alert title bar. This parameter is optional; if you omit it, the title bar
is blank.
flags An optional parameter that indicates the buttons to display in the Alert window. The
default value is
Alert.OK, which displays an OK button. When you use more than one value,
separate the values with a
| character. Use one or more of the following values: Alert.OK,
Alert.CANCEL, Alert.YES, Alert.NO.