# Placing a Movie Clip Behind Another Movie Clip

**URL:** <https://forum.kirupa.com/t/placing-a-movie-clip-behind-another-movie-clip/18424>\
**Category:** flash\
**Created:** [April 16, 2003, 5:20pm UTC](https://forum.kirupa.com/t/placing-a-movie-clip-behind-another-movie-clip/18424 "2003-04-16T17:20:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maflu](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@maflu](https://forum.kirupa.com/u/maflu)\
**Post date:** [April 16, 2003, 5:20pm UTC](https://forum.kirupa.com/t/placing-a-movie-clip-behind-another-movie-clip/18424/1 "2003-04-16T17:20:52Z")

</div>

Hello,  
\_  
I have a a main movie containing a movie clip (say movie clip 1). Movie clip 2 is inside movie clip 1 (the \_parent). Movie clip 2  
contains a button with the following actionscript:  
\_  
on (release) {  
\_parent.createEmptyMovieClip(“holder”, 1);  
\_parent.movie\_clip\_2.swapDepths(\_parent.holder);  
\_parent.holder.loadMovie(“photo1.swf”);  
\_parent.holder.\_x = -140;  
\_parent.holder.\_y = -257; }  
\_  
The problem I have is that the holder movie clip is in front of movie clip 2 whereas I would like it to be behind it.  
\_  
What do you think? Thank you

---

<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:** [April 16, 2003, 8:05pm UTC](https://forum.kirupa.com/t/placing-a-movie-clip-behind-another-movie-clip/18424/2 "2003-04-16T20:05:18Z")

</div>

have you done it both with and without the swapdepths step?
