我可以从默认显示的Alert.Show()消息中删除OK按钮吗?Flex:从Alert.Show中删除确定按钮?
感谢
更新:
private var myAlert : Alert;
public function showAlert(message: String, title : String) : void
{
hideAlert();
myAlert = Alert.show(message, title);
}
public function hideAlert() : void
{
if(myAlert != null && myAlert.visible) {
myAlert.visible = false;
}
}
非常感谢这个不错的提示。 – baltoro 2009-12-19 20:03:38
@maclema:太好了 – 2012-11-15 12:54:53