Referenceing a dynamically created clip

Hi there,

here is a snippet of code in first frame of the movie I have trouble with:


for (var i = 0; i < 5; i++) {

var container:MovieClip = new MovieClip();
this.addChild(container);

var myMovie:MyOneSlide = new MyOneSlide();
this.container.addChild(myMovie);
myMovie.usecase = 0; 


myMovie.name = "one";
this.container.name="container"+i;

}

trace(this.container0.one.usecase)


I am getting an error message: A term is undefined and has no properties. I checked list of objects and container0.one and it’s there but I can not get to container0.one.usecase

Please advise!