Isolating or targeting events of the Flash v2 menuBar

I’m stuck on a small but for me a challenging problem in my first serious attempts at integrating V2 components into my app with AS2 .

I’m using the menuBar component and some of the items of the parent menu have sub-menus.

I am also using listeners with the menuShow and / or menuHide events.

Unfortunately, these listeners are being called when both the main menu AND any of its submenus are closed / opened.

How can I isolate or target just the parent menu and exclude the sub-menus from triggering actions defined in my listeners?

Please let me know if a more detailed account of what I am trying to accomplish and code thus far used would be helpful.