# XML Menu Tute: Reference item within menu items

**URL:** https://forum.kirupa.com/t/xml-menu-tute-reference-item-within-menu-items/214965
**Category:** flash
**Created:** [February 2, 2007, 1:32pm UTC](https://forum.kirupa.com/t/xml-menu-tute-reference-item-within-menu-items/214965 "2007-02-02T13:32:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zaid\_W1red](https://avatars.discourse-cdn.com/v4/letter/z/cab0a1/32.png) [@Zaid\_W1red](https://forum.kirupa.com/u/Zaid_W1red)
#### Post date: [February 2, 2007, 1:32pm UTC](https://forum.kirupa.com/t/xml-menu-tute-reference-item-within-menu-items/214965/1 "2007-02-02T13:32:16Z")

</div>

With reference to: [http://www.kirupa.com/developer/actionscript/xml\_dropdown\_menu.htm](http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm)

Im using a version of this menu, but each menu item has another movie clip inside it.

I cant for the life of me work out how to give this sub clip its own function?

I’ve tried setting the onRelease to be triggered by the ‘background’ movie clip of the menu item but this stop the menu working, and when I reference any other sub clips like so: curr\_item.someClip.onRelease …there’s also no response.

Where am i going wrong?
