# setInterval with duplicateMovieClip

**URL:** <https://forum.kirupa.com/t/setinterval-with-duplicatemovieclip/260782>\
**Category:** flash\
**Created:** [May 19, 2008, 8:13pm UTC](https://forum.kirupa.com/t/setinterval-with-duplicatemovieclip/260782 "2008-05-19T20:13:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcmcgeary](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@dcmcgeary](https://forum.kirupa.com/u/dcmcgeary)\
**Post date:** [May 19, 2008, 8:13pm UTC](https://forum.kirupa.com/t/setinterval-with-duplicatemovieclip/260782/1 "2008-05-19T20:13:49Z")

</div>

Hi!

I am trying to duplicate a movie clip item, but I want the newly created instances to be staggered in terms of when they are placed on stage. I tried doing it with an interval, but it isn’t working - the instances continue to be dumped onto the stage all at once. Any suggestions?

function dropNames() {  
for (i = 1; i \< NameList.length; i++) {  
if (NameList != “noName”) {  
newInterval = setInterval(newFaller(i),2000);  
}  
}  
clearInterval(thisInterval);  
}

function newFaller(num) {  
duplicateMovieClip(Faller, “Faller”+num,num);  
clearInterval(newInterval);  
}

Thanks!!!

dm
