adding event listener of closing and changing the FLA document for SWF extn panel JSFL actionscript
I have an extension SWF panel and a list of movie clips of the currently open document on it. I want to clear my list when the user closes the current document.

Also, I want to add some alert "You have to select the previous document you were work on" - when the user selects other open .fla document and tries to press some button on the SWF panel to edit some MC from the list. So I want to know if has Adobe Animate the ability to listen to closing and changing of documents?
thank you for advance for any hints
