alert 取得返回值

Alert.show("注销?\n 注意:重新登录需要在联网状态下","",Alert.OK | Alert.NO,this,closeEvt,null,Alert.NO);

public function closeEvt(event:CloseEvent):void
       {
            if(event.detail==Alert.OK)
            {
            }
        }

原文地址:https://www.cnblogs.com/terrorpig/p/1341156.html