Platform.alert()

Availability

Flash Player 7 + TheSpringBox V1

Usage

Platform.alert(message:String) : Void;

Parameters

message - A String representing the message that will be displayed in the alert box.

Returns

Nothing.

Description

Method; spawns a system level alert box identical to the JavaScript alert using the message parameter for the text inside the alert box. Code will halt until user clicks the Ok button.

Example

This example displays an alert box to prompt the user to do something.

Platform.alert("Please enter a valid name.");