From http://bbs.actionscript3.cn/thread-25144-1-1.html
Alert. show () contains multiple attributes, with the third being flags. This attribute is used to display one or more buttons in the pop-up alert prompt box, generally, only this attribute can be set for documents and books. OK, alert. cancel, alert. yes, alert. the no option is separated by "|". In fact, it can also be replaced by a number. It is easier to use a number. The following is a combination of buttons corresponding to the number, there are a total of 16 numeric numbers (there are only 15 combinations ).
1-alert. Yes
2-alert. No
3-alert. Yes | alert. No
4-alert. OK
5-alert. OK | alert. Yes
6-alert. OK | alert. No
7-alert. OK | alert. Yes | alert. No
8-alert. Cancel
9-alert. Yes | alert. Cancel
10-alert. No | alert. Cancel
11-alert. Yes | alert. No | alert. Cancel
12-alert. OK | alert. Cancel
13-alert. OK | alert. Yes | alert. Cancel
14-alert. OK | alert. No | alert. Cancel
15-alert. OK | alert. Yes | alert. No | alert. Cancel
16-alert. OK (same as 4)
Starting from 17, return to 1 and repeat in order ........... If the flags attribute is not set, the default value is alert. OK, that is, 4 or 16.