1 Reply Latest reply on Sep 30, 2010 11:25 AM by Flex harUI

    Adding events to a popup and garbage collection

    RandomReado Level 1

      If I add an Event Listener to a popup, like:


      var p:MyPopUp = new MyPopUp();
      p.addEventListener('myEvent', myEvent);
      PopUpManager.addPopUp(p, this, true);


      When I close the popup afterwards using:




      Does the Event Listener also get removed/recycled automatically?