# Help with movie clip

**URL:** <https://forum.kirupa.com/t/help-with-movie-clip/65391>\
**Category:** flash\
**Created:** [September 25, 2004, 9:01pm UTC](https://forum.kirupa.com/t/help-with-movie-clip/65391 "2004-09-25T21:01:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigSHIFT](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bigshift/32/780_2.png) [@bigSHIFT](https://forum.kirupa.com/u/bigSHIFT)\
**Post date:** [September 25, 2004, 9:01pm UTC](https://forum.kirupa.com/t/help-with-movie-clip/65391/1 "2004-09-25T21:01:45Z")

</div>

Hello all,

I am somewhat new to actionscripting so this may be quite simple for one of you out there.

I have a fla movie that has a group of 9 mc’s. Each mc is set to play onrollover and stop on mouse out. Simple enough. The problem is this.

The mc’s are layered so that the first mc, located top left when it is supposed to expand is hidden behind the other 8 mc’s. I placed them all on the same layer hoping that would solve my problem, of course it did not.

Essentially I want the active mc to basically go above the others. Does that make sense? I am thinking maybe something in the action script changing the \_root? I don’t know, like I said I am fairly new to action scripting.

I have posted the swf file for any to see what I am talking about here:  
[http://brainofj.com/flashtrial.htm](http://brainofj.com/flashtrial.htm)

I appreciate any help any one can provide me.

Thanks

---

<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:** [September 26, 2004, 10:58am UTC](https://forum.kirupa.com/t/help-with-movie-clip/65391/2 "2004-09-26T10:58:44Z")

</div>

I can sort of imagine what your timeline looks like and can see your problem.

Working on the premise that you have the 9 clips in the \_root timeline. My immediate thought it to think laterally with the timeline as well as vertically with the layers. For instance, when you rollOver say movieclip04\_mc the root playhead moves to frame 4 where the other mc’s are ordered so 4 is actually on top.

---

<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:** [September 26, 2004, 11:27am UTC](https://forum.kirupa.com/t/help-with-movie-clip/65391/3 "2004-09-26T11:27:25Z")

</div>

> [@bigSHIFT](#):
>
> Hello all,
> 
> I am somewhat new to actionscripting so this may be quite simple for one of you out there.
> 
> I have a fla movie that has a group of 9 mc’s. Each mc is set to play onrollover and stop on mouse out. Simple enough. The problem is this.
> 
> The mc’s are layered so that the first mc, located top left when it is supposed to expand is hidden behind the other 8 mc’s. I placed them all on the same layer hoping that would solve my problem, of course it did not.
> 
> Essentially I want the active mc to basically go above the others. Does that make sense? I am thinking maybe something in the action script changing the \_root? I don’t know, like I said I am fairly new to action scripting.
> 
> I have posted the swf file for any to see what I am talking about here:  
> [http://brainofj.com/flashtrial.htm](http://brainofj.com/flashtrial.htm)
> 
> I appreciate any help any one can provide me.
> 
> Thanks

Have a look at MovieClip.swapDepths()
