Developing Extensions for Macromedia Flash 8

 < Day Day Up > 

Availability

Flash MX 2004.

Usage

alert ( alertText )

Parameters

alertText A string that specifies the message you want to display in the Alert dialog box.

Returns

Nothing.

Description

Method; displays a string in a modal Alert dialog box, along with an OK button.

Example

The following example displays the message "Process Complete" in an Alert dialog box:

alert("Process Complete");

See also

confirm(), prompt()

     < Day Day Up > 

    Категории