# Creating delays?

**URL:** <https://forum.kirupa.com/t/creating-delays/6741>\
**Category:** Uncategorized\
**Created:** [October 15, 2002, 4:17pm UTC](https://forum.kirupa.com/t/creating-delays/6741 "2002-10-15T16:17:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanley](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Stanley](https://forum.kirupa.com/u/Stanley)\
**Post date:** [October 15, 2002, 4:17pm UTC](https://forum.kirupa.com/t/creating-delays/6741/1 "2002-10-15T16:17:43Z")

</div>

Anyone knows how to create a delay of, let’s say half a second, when duplicating a movieclip “x” times.

for (i=2;i\<25;i++){  
duplicateMovieClip(button,“button”+i,i);  
…etc  
};

I want the buttons to appear one by one on the screen. Now, for the user, they seem to come all together at once.

Thanksalot,

Stanley  
🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 15, 2002, 5:35pm UTC](https://forum.kirupa.com/t/creating-delays/6741/2 "2002-10-15T17:35:03Z")

</div>

this should create a dup every 1 second.

```auto

setInterval(createDup,1000)
function createDup(){
duplicateMovieClip(button,"button"+x,x);
x++;
}

```
