# Duplicate movie clip depth

**URL:** https://forum.kirupa.com/t/duplicate-movie-clip-depth/237823
**Category:** Uncategorized
**Created:** [September 4, 2007, 11:41am UTC](https://forum.kirupa.com/t/duplicate-movie-clip-depth/237823 "2007-09-04T11:41:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![FlashFish](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@FlashFish](https://forum.kirupa.com/u/FlashFish)
#### Post date: [September 4, 2007, 11:41am UTC](https://forum.kirupa.com/t/duplicate-movie-clip-depth/237823/1 "2007-09-04T11:41:22Z")

</div>

Mushi mushi.

I’m using this code

onClipEvent(enterFrame){  
i++;  
duplicateMovieClip(\_root.star,“star”+i,i);  
\_root.counter=i;  
}

and what I think that’s doing is placing each new clip it creates on a new level above the one before it. It’s caused a problem as I have other stuff in my movie that I need to stay above these movie clips, and at the moment it’s getting bumped to the bottom.

Anyone have any ideas as to how I can keep these generated movieclips below my content, or maybe go the other way and push my content above the movie clips?

Thanks in advance.

\<"))))\>\<
