Flash CS3 Documentation |
|||
| Extending Flash > Top-Level Functions and Methods > confirm() | |||
Flash 8.
confirm ( strAlert )
strAlert A string that specifies the message you want to display in the Alert dialog box.
A Boolean value: true if the user clicks OK; false if the user clicks Cancel.
Method; displays a string in a modal Alert dialog box, along with OK and Cancel buttons.
|
NOTE |
|
If there are no documents (FLA files) open, this method fails with an error condition. |
The following example displays the message "Sort data?" in an Alert dialog box:
confirm("Sort data?");
Flash CS3
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00003818.html
Comments
halfasleeps said on Oct 22, 2007 at 11:30 AM :