# Z-index equivalent? Need to show a clip above another clip!

**URL:** <https://forum.kirupa.com/t/z-index-equivalent-need-to-show-a-clip-above-another-clip/127531>\
**Category:** Uncategorized\
**Created:** [November 3, 2004, 8:50pm UTC](https://forum.kirupa.com/t/z-index-equivalent-need-to-show-a-clip-above-another-clip/127531 "2004-11-03T20:50:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasanthd](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@vasanthd](https://forum.kirupa.com/u/vasanthd)\
**Post date:** [November 3, 2004, 8:50pm UTC](https://forum.kirupa.com/t/z-index-equivalent-need-to-show-a-clip-above-another-clip/127531/1 "2004-11-03T20:50:13Z")

</div>

hey all,  
I am developing a game wherein a gamer has to drag a clip to another clip. I load the destination clip by

```auto
onepic1.loadMovie("imgs/1pic1.jpg");

```

And I do the drag techniq by

```auto

 
on(press) {
 startDrag(getProperty(_x,_y));
 }
 
on(release) {
 stopDrag();
if (_droptarget eq "/onepic1") {
blah blah...
}
}

```

What happens is the dragged object is seen beneath the destination clip including other destination clips loaded that way. I need the dragged object to be seen above all other clips. This is something like the Z-index in HTML. Is there anyway how I can do it?

Thanks.  
Regards,  
Vasanth
