Platform.confirm()

Availability

Flash Player 7 + TheSpringBox V1

Usage

Platform.confirm(message:String) : Void;

Parameters

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

Returns

A Boolean.

Description

Method; spawns a system level confirm box identical to the JavaScript confirm using the message parameter for the text inside the confirm box. Code will halt until user clicks Yes or No.

Example

This example displays an confirm box to prompt the user to select an option.

Platform.confirm("Are you sure you wish to delete all items in you settings?");