title: How do I remove an event listener from an anonymous component?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/584787/flash-as3-how-do-i-remove-stage-event-listeners">flash AS3 how do I remove stage event listeners</a>  </p>
  </blockquote>
  
  
  
  <p>Say I have an event listener tied to a component and I want to remove the event listener from the component so it can be garbage collected. The problem is I don't know what kind of object it is or what event listeners it has. </p>
  
  <p>Basically how can I find out what event listeners an object has and how can I remove one or all of them?</p>