2 Replies Latest reply on Mar 29, 2009 5:32 PM by Colin Zhu

    popup manager

    kilyas2007 Level 1
      I have a flex screen where in order to update certain records a popup screen appears. In order for the popup to appear I am using the following code:-

      var pop1:ContactArrayEntryFormReport = ContactArrayEntryFormReport(
      PopUpManager.createPopUp(this.parent.parent, ContactArrayEntryFormReport, true));
      pop1.title="Update Record";
      pop1.showCloseButton=true;
      PopUpManager.centerPopUp(pop1);

      What I want to do is to add some code in this class where the popup is created, which executes as soon as the popup is closed. e.g. in this ver class I have a method:-

      private function checkValidity():void

      which I want to call as soon as the popUpManager is closed.