render中弹出alert怎么居中?

render中弹出alert怎么居中?

//在render中居中

Alert.show('更新记录状态失败!', '提示', Alert.YES, this);

//当前应用居中

Alert.show('更新记录状态失败!', '提示', Alert.YES, this.parentApplication as Sprite);

//在render的父容器中居中

Alert.show('更新记录状态失败!', '提示', Alert.YES, parentDocument as Sprite);

posted @ 2014-07-27 10:59  lobtao  阅读(392)  评论(0编辑  收藏  举报