title: AS3 - dispatchEvent from class and addEventListener in main timeline
body: <p>I am trying, unsuccessfully, to create a dispatchEvent inside my class that loads data.</p>
  
  <p>Inside my 'loader_complete' method (class):</p>
  
  <pre><code>dispatchEvent(new Event("bam",true));
  </code></pre>
  
  <p>On my main timeline:</p>
  
  <pre><code>this.addEventListener("bam", getResults);   
  
  function getResults(e:Event){
      trace('hi');
  }
  </code></pre>
  
  <p>I have extended the class to 'extends EventDispatcher {' as well.</p>
  
  <p>What am I missing?</p>
  
  <p>thanks,</p>