# Referenceing a dynamically created clip

**URL:** <https://forum.kirupa.com/t/referenceing-a-dynamically-created-clip/302930>\
**Category:** Uncategorized\
**Created:** [January 10, 2010, 5:22pm UTC](https://forum.kirupa.com/t/referenceing-a-dynamically-created-clip/302930 "2010-01-10T17:22:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexeiR](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@AlexeiR](https://forum.kirupa.com/u/AlexeiR)\
**Post date:** [January 10, 2010, 5:22pm UTC](https://forum.kirupa.com/t/referenceing-a-dynamically-created-clip/302930/1 "2010-01-10T17:22:15Z")

</div>

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!
