当前位置: 代码迷 >> Web前端 >> 弹源于定义模态窗口
  详细解决方案

弹源于定义模态窗口

热度:80   发布时间:2012-11-10 10:48:50.0
弹出自定义模态窗口
/**
 * 点击修改密码按钮时,弹出修改密码对话框。
 */
private var setPassWdDlg:SetPassWordDlg = null;
private function onModifyPW():void{
	setPassWdDlg = null;
	setPassWdDlg = PopUpManager.createPopUp(this, SetPassWordDlg, true) as SetPassWordDlg;
	setPassWdDlg.x = (Capabilities.screenResolutionX - setPassWdDlg.width) / 2;
	setPassWdDlg.y = (Capabilities.screenResolutionY - setPassWdDlg.height) / 2;
	var obj:Object = new Object();
	obj.userId ="user";
	obj.flag = true;
	setPassWdDlg.parasObj = obj;
	setPassWdDlg.visible = true;
}

?

  相关解决方案