Hello there…
I am creating multiple bitmaps within a loop, and placing them inside their own MovieClip. I then have another MovieClip in the Library which I am calling and putting inside the MovieClip generated for the bitmap.
Alas I cannot get multiple instances to work of the MovieClip from the Library. I think it must be my syntax in the following code…
for(i=0;i<10;i++){
this['bmp'+i] = new BitmapData(etc,etc)
this['box'+i] = new Bitmap( this['bmp'+i] );
this['mc'+i] = new MovieClip();
this['mc'+i].addChild(this['box'+i]);
var lib:FromLibrary = new FromLibrary(); // how about making multiple instances of this?
this['mc'+i].addChild(lib); // doesnt attach to all in my loop - only to the last one initiated
addChild( this['mc'+i] );
mcs_ary* = this['mc'+i];
}
This is in the doc class, and is a dynamic class.
Thanks!