1 Reply Latest reply on May 24, 2007 1:12 AM by shasanji

    identify selected popup window from others

    shasanji
      hi
      i have a problem with multiple popup windows.can't identify selected popup and closed pop up by code.does any one has any idea.i can remove popup that last created but can't remove previously created.
        • 1. Re: identify selected popup window from others
          shasanji Level 1
          i found the way to identify selected popup window form rest of others like
          //register event listener to the popup window u created
          login.addEventListener("close", removeForm)

          //function
          private function removeForm(event:CloseEvent):void {
          PopUpManager.removePopUp(IFlexDisplayObject(event.currentTarget));

          }

          if this one not clear don't hesitate to send me private message
          cheers