# MovieClip's over MovieClips don't disable?

**URL:** <https://forum.kirupa.com/t/movieclips-over-movieclips-dont-disable/64929>\
**Category:** flash\
**Created:** [September 21, 2004, 3:11pm UTC](https://forum.kirupa.com/t/movieclips-over-movieclips-dont-disable/64929 "2004-09-21T15:11:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaporo](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@shaporo](https://forum.kirupa.com/u/shaporo)\
**Post date:** [September 21, 2004, 3:11pm UTC](https://forum.kirupa.com/t/movieclips-over-movieclips-dont-disable/64929/1 "2004-09-21T15:11:17Z")

</div>

I have two movieclips on my stage. For this problem, lets describe them as **movie clip X** , and **movie clip Y**. Movie clip X has a depth of 1 and movie clip Y has a depth of 2.

Movie clip Y is moveable and will sometimes overlap movieclip X (which works fine because of their depths). However, movie clip X has buttons that, although you cannot see them when Y is overtop of X, you can still click “through” Y to access X’s buttons.

I don’t want to totally disable movie clip X; if you can still see the buttons I want the user to be able to click them. If movie clip Y is overtop of those buttons you shouldn’t be able to click through Y to access X’s buttons.

I’m trying to build a simple window model in Flash. Help would be greatly appreciated.

---

<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 21, 2004, 3:35pm UTC](https://forum.kirupa.com/t/movieclips-over-movieclips-dont-disable/64929/2 "2004-09-21T15:35:17Z")

</div>

does **movie clip Y** have a background of some sort? I’m asking because i’m assuming that if you have sort of background that maybe it will prevent mouseover when **movie clip Y** hovers over **movie clip X**. If this works, you can always make that background transparent.

---

<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 21, 2004, 4:00pm UTC](https://forum.kirupa.com/t/movieclips-over-movieclips-dont-disable/64929/3 "2004-09-21T16:00:55Z")

</div>

youd have to give the overlapping movieclip button actions (even if they dont do anything) to counter the effect. Buttons actions can come through other images/symbols/etc. just so long as theyre not buttons. Other buttons will block all buttons beneath

---

<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 21, 2004, 4:23pm UTC](https://forum.kirupa.com/t/movieclips-over-movieclips-dont-disable/64929/4 "2004-09-21T16:23:11Z")

</div>

Secocular, you’re brilliant.

I added this code to my movie Y to make it work:

movieY.useHandCursor = false;  
movieY.onRollOver = function() {}

And voila… it no longer pulls other objects beneath it. Thanks. I wish you could rate other users on here for their usefulness.

---

<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 21, 2004, 4:42pm UTC](https://forum.kirupa.com/t/movieclips-over-movieclips-dont-disable/64929/5 "2004-09-21T16:42:34Z")

</div>

welcome 😉
