I have a custom container object that creates some items in the DOM through the externalinterface commands. I'm looking to find a way to know when the container is removed (ie: if it was part of a tab pane and the tab was closed) so I can call a javascript command to remove the created objects from the DOM. I don't see any references to creating destructors within the class, and I'm not sure if there is an event to listen for..
Thanks!