4 Replies Latest reply on Sep 18, 2011 5:14 AM by Francisc

    SkinnablePopUpContainer: What happens when close() is called

    Francisc Level 3



      When I call close on a SkinnablePopUpContainer, what happens to event listeners registered to it, the variable that holds reference to it, properties defined in it and so on?


      For example, in my application in order to check if there is one on screen I do this:



      popup=new mySkinnablePopUpContainer();




      private function popupClose(event:PopUpEvent):void






      And basically I check to see if popup is null. Is there another way of doing this?


      Thank you.