# Need help with dynamic MC's + listener

**URL:** <https://forum.kirupa.com/t/need-help-with-dynamic-mcs-listener/324232>\
**Category:** flash\
**Created:** [August 9, 2011, 3:26pm UTC](https://forum.kirupa.com/t/need-help-with-dynamic-mcs-listener/324232 "2011-08-09T15:26:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cablestein](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@Cablestein](https://forum.kirupa.com/u/Cablestein)\
**Post date:** [August 9, 2011, 3:26pm UTC](https://forum.kirupa.com/t/need-help-with-dynamic-mcs-listener/324232/1 "2011-08-09T15:26:23Z")

</div>

**Issue:** A mouse\_out is triggering when I don’t want it to!!

**Overview:** I’m creating a menu where buttons have a sub-menu that pops-up when you hover over the main buttons. The menu will eventually be populated by scanning labels in the timeline, and that seems to be working fine so far.

Everything works good enough except you can’t move your mouse up and down a popped-up sub-menu without the mouse\_out function triggering.

The mouse\_out listener seems to be applied to all individual sub-buttons when I’d like it to apply only to the parent MC container of each sub-menu.

Is there a problem with the way I’m assigning sub-buttons to container MC’s ?

I’ve explored using an array to store the MC’s as well, but still had the same listener issue.

Could someone look at my FLA? If you do a find for “PROBLEM”, that is a good place to start.

Any help would be greatly appreciated!
