flex 弹出框Alert

Alert.show("Are you sure you want to\nperform that action?","Confirmation",Alert.YES|Alert.NO, this ,confirmHandler,confirmIcon,Alert.NO);
//第一个参数是要显示的文本,第二个参数是窗口的标题,第三个参数是按纽,第四个参数是父窗体,第五个参数是关闭后要执行的动作函数,第六个参数是图标,第七个参数是认的按纽

举例:

?
Alert.show("确认要删除吗?"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',"删除提示"nullottom: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',function(event:CloseEvent):void
     { if (event.detail==Alert.YES)
{webService.DeleteJl(jlh);}
     else  (event.detail==Alert.NO)
{}
return ;
},monospace!important; min-height:inherit!important">.expclass,Alert.NO);

相关文章

一:display:flex布局display:flex是一种布局方式。它即可以...
1. flex设置元素垂直居中对齐在之前的一篇文章中记载过如何...
移动端开发知识点pc端软件和移动端apppc端软件是什么,有哪些...
最近挺忙的,准备考试,还有其他的事,没时间研究东西,快周...
display:flex;把容器设置为弹性盒模型(设置为弹性盒模型之后...
我在网页上运行了一个Flex应用程序,我想使用Command←组合键...