# Movie clip needs to be ABOVE another

**URL:** <https://forum.kirupa.com/t/movie-clip-needs-to-be-above-another/81129>\
**Category:** Uncategorized\
**Created:** [February 28, 2005, 2:08am UTC](https://forum.kirupa.com/t/movie-clip-needs-to-be-above-another/81129 "2005-02-28T02:08:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![veraxoxo](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@veraxoxo](https://forum.kirupa.com/u/veraxoxo)\
**Post date:** [February 28, 2005, 2:08am UTC](https://forum.kirupa.com/t/movie-clip-needs-to-be-above-another/81129/1 "2005-02-28T02:08:59Z")

</div>

I have one movie clip which I create on my timeline(movieA) and another that is created dynamically in actionscript(movieB).  
When I run the movie, I want movieA to be on top of MovieB. Here is my actionscript:

\_root.createEmptyMovieClip(“holder”, 14);

\_root.holder.attachMovie(“movieB”, “movieB”, 15);

\_root.holder.movieB.\_x=220;

\_root.holder.movieB.\_y=115;

\_root.movieA.setDepthAbove(\_root.holder.movieB);

The call to setDepthAbove does nothing. MovieA is still below MovieB…

Any ideas what I’m doing wrong? I’ve torn my hair out over this for 2 days now ☹
