3 Replies Latest reply on Apr 14, 2010 5:15 PM by slim0001

    Does PopupManager.removePopUp() remove an object from the displaylist?

    brian.kimball

      I have written a custom component that can be written like this:

       

      <c:Desktop>

           <c:Window id="win1" />

           <c:Window id="win2" />

           <c:Window id="win3" />

      </c:Desktop>

       

      The component successfully creates shortcut icons for each window on the desktop, and when double-clicked creates a TitleWindow by seaching through the displaylist.

       

      The problem is after i close the window it won't open again.  I think because the window has been removed from the display list.  So does anyone have a suggestion for how to prevent this?

       

      Thanks!!!