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);