MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 128

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

Advertisement

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 button's 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
The message to display.
message
The text in the Alert title bar. This parameter is optional; if you omit it, the title bar is
title
blank.
An optional parameter that indicates the buttons to display in the Alert window. The
flags
default value is
Alert.OK
separate the values with a
,
Alert.CANCEL
You can also use
window allows a user to interact with other windows in the application.
The parent window for the Alert component. The Alert window centers itself in the
parent
parent window. Use the value
window must inherit from the UIComponent class. You can register the parent window with
mx.core.View to cause it to inherit from UIComponent. This parameter is optional.
128
Chapter 6: Components Dictionary
, which displays an OK button. When you use more than one value,
character. Use one or more of the following values:
|
,
Alert.YES
Alert.NO
to indicate that the Alert window is nonmodal. A nonmodal
Alert.NONMODAL
or
null
.
to specify the _root Timeline. The parent
undefined
,
Alert.OK

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx

Table of Contents