# Duplicate looping

**URL:** <https://forum.kirupa.com/t/duplicate-looping/217932>\
**Category:** Uncategorized\
**Created:** [March 3, 2007, 12:26am UTC](https://forum.kirupa.com/t/duplicate-looping/217932 "2007-03-03T00:26:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mak\_Valley](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Mak\_Valley](https://forum.kirupa.com/u/Mak_Valley)\
**Post date:** [March 3, 2007, 12:26am UTC](https://forum.kirupa.com/t/duplicate-looping/217932/1 "2007-03-03T00:26:44Z")

</div>

```auto

var videos:Array = new Array("one", "two", "three", "four");
for (var i:Number = 0; i < videos.length; i++){
	theList = _root.vidList.duplicateMovieClip(videos*, _root.vidList.getNextHighestDepth());
	theList.label_txt.text = videos*;
	theList._y += 30;
	trace(theList);
	theList.onRelease = function(){
		trace(this);
	}
}

```

as you can guess, there’s a movie clip already on the stage named “vidList” with a text field on it named “label\_txt”… i’m stumpped because they all get traced but only the last one shows up on the stage. any help?
