I have a application where I have a Login form which opens up in a popup using PopupManager.createPopup() method. I have a close button in the Login form which calls Popupmanager.removePopup(this); This login form also has an event listener which fired once login credentials are validated by the backend programming. Now if I close this popup using close button, reopen and try to validate login again the result event fires twice that means the earlier instance of Popup is still exist in the display list and its been just got hidden due to Popupmanager.removePopup() but I wanted to completely remove this from the display list. How can I do that.
Any help is much appreciated.
Flex & Flash experts
Hi Ankur Arora,
Try to remove the event listener which you have added after you close the PopUP using the removeEventListener method..
So that only one event listener will be active at a time...
If this post answers your question or helps, please kindly mark it as such.