title: AS3: Removing EventListeners without knowing amount or names
body: <p>First shortly about how my site works:
  When a link is clicked it checks if something is already displayed in either the Left or Right side of the screen (the website looks like a book, so I have a left page I want to display information on and a right page). If there is already something showing it hides it and displays the new object, together with this it enables all the buttons within that object (I have separate functions to set up each object). </p>
  
  <p>An example of such an EventListener would be: </p>
  
  <pre><code>pathTo.Button1.addEventListener(MouseEvent.CLICK, function():void {showText(side, object)});
  </code></pre>
  
  <p>What I'm trying to do is to remove all the previous set EventListeners without having to create separate functions for removing the links inside every object as well. </p>
  
  <p><strong>Shorter version:</strong> How do I remove all EventListeners on all objects inside another object? The only variable I want to store is the object containing everything. There are however not always EventListeners within the objects.</p>