Attatching several movie clips from the library

Hu

I’m having a problem with attaching several mc dimanycly.

here is my code

package {
    import flash.*;

    public var arrayMc:Array= ["backGround", "image1","image2","image3"];
    public class attachBackGround extends Sprite {
        public function attachMC() {
            for (var a:int=0; a<arrayMc.length; a++) {
                var _container:Sprite = new Sprite();
                addChild(_container);
                var v:arrayMc[a]= new arrayMc[a]();
                _container.addChild(new v);
            }
        }
    }
}

I always get an error, and I can’t see to pass the name of the movie to be attached dinamycly.

Thanks

jm