title: Create image-ojbects dynamically from library
body: <p>I've created an Array with the names of my image-Classes in the library.</p>
  
  <pre><code>var myArr:Array = new Array("myPic1","myPic2","myPic3");
  </code></pre>
  
  <p>Normally if I would like to create an object of my class I would</p>
  
  <pre><code>var libraryImage:Bitmap;
  libraryImage = new Bitmap(new myPic1(0,0));
  </code></pre>
  
  <p>But how can I iterate through the array and create my images dynamically?</p>
  
  <pre><code>for(var i:uint = 0; i&lt;myArr.length; i++){
     var libraryImage:Bitmap;
     libraryImage = new Bitmap(new myArr[i](0,0));
  }
  </code></pre>
  
  <p>doesn't works</p>