title: AS3 + addChild() getting image from library to the stage
body: <p>I have an <code>.fla</code> file with 1 image in the library and 1 <code>.as</code> file.</p>
  
  <p>I have linked the image up with the Class name of <code>libraryImages</code> and Base class is <code>flash.display.BitmapData</code>.</p>
  
  <p>This is my <code>AS</code>:</p>
  
  <pre><code>package {
      import flash.display.Bitmap;
      import flash.display.BitmapData;
      import flash.display.MovieClip;
  
      public class Banner extends MovieClip { 
          var defaultImage:libraryImages = new libraryImages(469, 60);
          var myImage:Bitmap = new Bitmap(defaultImage);
          addChild(myImage);
      }
  }
  </code></pre>
  
  <p>I am getting two errors:</p>
  
  <pre><code>1180: Call to a possibly undefined method addChild.
  1120: Access of undefined property myImage.
  </code></pre>
  
  <p>Any ideas?</p>