# Duplicate Movie clip based on time

**URL:** <https://forum.kirupa.com/t/duplicate-movie-clip-based-on-time/237393>\
**Category:** Uncategorized\
**Created:** [August 29, 2007, 10:01pm UTC](https://forum.kirupa.com/t/duplicate-movie-clip-based-on-time/237393 "2007-08-29T22:01:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![janjan32](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/janjan32/32/2578_2.png) [@janjan32](https://forum.kirupa.com/u/janjan32)\
**Post date:** [August 29, 2007, 10:01pm UTC](https://forum.kirupa.com/t/duplicate-movie-clip-based-on-time/237393/1 "2007-08-29T22:01:15Z")

</div>

I know this has to be easy, but I’m not that great with code.  
I am trying to duplicate a movie across the stage. I want each instance of the movie to play after each other, or if there is a way, (i am guessing there is) to set the time each clip plays. I followed the example but it doesn’t discuss the timing.

```auto
http://www.kirupa.com/developer/actionscript/duplicate.htm

```

I would like to create the animation that span across the site when a page first loads, like this site. [http://www.studiodialog.com/](http://www.studiodialog.com/) (red to blue boxes)  
this is what I have in the first frame of my movie

```auto
dupMovie = function () {
for (i=0; i<100; i++) {
circle.duplicateMovieClip("circle"+i, i, {_x:Math.random()*591, _y:0/*, _alpha:Math.random()*50*/});
with (eval("circle"+i)) {
//_xscale = _yscale=Math.random()*300;
}
}
};
dupMovie();

```

I also attached the movie. Thanks for any help.
