# movieClips in movieClip MOUSE\_OVER

**URL:** <https://forum.kirupa.com/t/movieclips-in-movieclip-mouse-over/294286>\
**Category:** flash\
**Created:** [August 12, 2009, 12:38am UTC](https://forum.kirupa.com/t/movieclips-in-movieclip-mouse-over/294286 "2009-08-12T00:38:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![General\_Tso](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@General\_Tso](https://forum.kirupa.com/u/General_Tso)\
**Post date:** [August 12, 2009, 12:38am UTC](https://forum.kirupa.com/t/movieclips-in-movieclip-mouse-over/294286/1 "2009-08-12T00:38:26Z")

</div>

I have a square movieClip that expands into other movieClip options with a MOUSE\_OVER. This works no problem. I drew an invisible rectangle underneath all of these options so that they would stay open when I moved the mouse towards them.

But when I try to code the first option to also work with MOUSE\_OVERs and CLICKs it causes problems. At first when I tested the movie it looked fine until I tried to MOUSE\_OVER the first new option - the new option produced no results. I think this was because the original invisible rectangle was on top of it.

So I changed the order of layers so the invisible rectangle was on bottom. Then as soon as I tried the new option, the entire original movieClip collapsed back to its original state. I assume that the area beneath the new option was being covered up, and thus my MOUSE\_OVER (on the original movieClip) no longer registered.

I then tried adding code to tell the original movieClip to also listen for a MOUSE\_OVER on the new option. This worked - I could move the mouse over the new option and the original movieClip remained open, but the old problem of the new option not registerring occurred. I think my new code overrided what I wanted the new option to do.

I am confident that I could probably get this all to work if I simply opened the original movieClip with a CLICK instead of a MOUSE\_OVER, but I’d rather keep using a MOUSE\_OVER if there’s a way to do it.

I realize that this is all a bit hard to follow, so to summarize - I want a single movieClip to animate, revealing new movieClips. I want to be able to animate these new movieClips (with MOUSE\_OVERs and CLICKs), all while the original movieClip remains “open” in its MOUSE\_OVER state/frame.
