判断一个元件是不是在显示列表中
判断一个元件是不是在显示列表中
var added:Boolean = false;
if(null != _mailWin.parent)
{
added = _mailWin.parent.contains(_mailWin);
}
//[object _client_chchess_mx_managers_SystemManager]
//trace(_mailWin.parent);
判断一个元件是不是在显示列表中
var added:Boolean = false;
if(null != _mailWin.parent)
{
added = _mailWin.parent.contains(_mailWin);
}
//[object _client_chchess_mx_managers_SystemManager]
//trace(_mailWin.parent);