. Просьба помочь мне ... если я отлаживать ниже кода, то это показывает Не удается получить доступ к свойству или методу нулевой ссылки на объект ..how, чтобы решитьНе удается получить доступ к объекту или методу ссылки на нулевой объект: as3
protected function upload_itemClickHandler(event:ItemClickEvent):void
{
if(upload.selectedValue == "allupload")
{
theModel.removeAllViews();
//ModuleLbl.text = headerText;
theModel.uploadStatusMessage = "";
theModel.adminStatusMessage = "";
var gallComp:ManageGallery = new ManageGallery();
gallComp.theModel = theModel;
theModel.AdminUIComponent.addChild(gallComp as DisplayObject);
theModel.adminObj["theTaskName"] = "GalleryRepository";
theModel.adminObj["userID"] = theModel.activeUserObj.UserID;
theModel.adminObj["isAdminLogin"] = theModel.isAdminLogin;
theModel.theAdminEvt.dispatch();
theModel.tempAdminParams = theModel.adminObj;
}
}