0
点赞
收藏
分享

微信扫一扫

flex点击弹出警告

彪悍的鼹鼠 2023-03-05 阅读 29


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
public function addToCart():void
{
Alert.show("你确定要退出系统吗?","确认",Alert.YES|Alert.NO,null,null);
}
]]>
</mx:Script>
<mx:Label text="hello"/>
<mx:Button label="Add to Cart" click="addToCart()"/>
</mx:Application>




效果如下图所示



flex点击弹出警告_xml


举报

相关推荐

0 条评论