alert()

#### 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:

javascript
alert("Process Complete");


#### See also

confirm() (../Top-Level_Functions_and_Methods/confirm.md), prompt() (../Top-Level_Functions_and_Methods/prompt.md)