Alert.show("Are you sure you want to\nperform that action?","Confirmation",Alert.YES|Alert.NO,
this
,confirmHandler,confirmIcon,Alert.NO);
//第一个参数是要显示的文本,第二个参数是窗口的标题,第三个参数是按纽,第四个参数是父窗体,第五个参数是关闭后要执行的动作函数,第六个参数是图标,第七个参数是默认的按纽
举例:
"确认要删除吗?"
ottom:auto!important; float:none!important; height:auto!important; left:auto!important; line-height:2em!important; outline:0px!important; overflow:visible!important; position:static!important; right:auto!important; top:auto!important; vertical-align:baseline!important; width:auto!important; font-family:'Courier New',
"删除提示"
null
function
(event:CloseEvent):
void
{
if
(event.detail==Alert.YES)
{webService.DeleteJl(jlh);}
else
(event.detail==Alert.NO)
return
;