MovieClip's over MovieClips don't disable?

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.

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.

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

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.

welcome :wink: