alert

Displays the specified string within a message box.


Availability:

First available in version 3.5.

Available only in ActionScript 3.


Usage:

alert(message)


Parameters:

message - String - The message you would like to appear in the message box.


Notes:

None.


Examples:

Example 1:
Send the message "Hello World" to a message box.

alert("Hello World");