# Depth issue

**URL:** <https://forum.kirupa.com/t/depth-issue/51721>\
**Category:** programming\
**Created:** [May 16, 2004, 5:25am UTC](https://forum.kirupa.com/t/depth-issue/51721 "2004-05-16T05:25:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![macneilslt](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@macneilslt](https://forum.kirupa.com/u/macneilslt)\
**Post date:** [May 16, 2004, 5:25am UTC](https://forum.kirupa.com/t/depth-issue/51721/1 "2004-05-16T05:25:45Z")

</div>

I have this mc, its a bigger version of my footer that i made, except it has a border, the problem is, some times the bubbles end up above the border.  
To duplicate the bubble MC i used:

```auto

for (i=2; i<numBubbles; i++){
	bubbles.duplicateMovieClip("bubbles" add i, i+100);
	
}

```

where i+100 is the depth, no matter what i set the depth too, the bubbles still seem to end up on top, i’m not sure what to do…anyone know?  
heres the .fla…
