# Help with XML driven menu

**URL:** https://forum.kirupa.com/t/help-with-xml-driven-menu/193976
**Category:** flash
**Created:** [July 19, 2006, 5:53pm UTC](https://forum.kirupa.com/t/help-with-xml-driven-menu/193976 "2006-07-19T17:53:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![id\_dac](https://avatars.discourse-cdn.com/v4/letter/i/ecb155/32.png) [@id\_dac](https://forum.kirupa.com/u/id_dac)
#### Post date: [July 19, 2006, 5:53pm UTC](https://forum.kirupa.com/t/help-with-xml-driven-menu/193976/1 "2006-07-19T17:53:47Z")

</div>

Hi guys,

I’m new to this forum and to Action Script. I’m currently working on a web site for a client and I need a menu that is generated from an external XML document. I’ve followed this excellent tutorial by senocular [http://www.kirupa.com/developer/actionscript/xml\_dropdown\_menu6.htm](http://www.kirupa.com/developer/actionscript/xml_dropdown_menu6.htm) and was able to achieve much of what I needed.

What I would like the menu to do is when I select a section on the main menu, all sections that are lower then the selected section would drop down and leave room for the subsections of the selected section. When another section is selected, the previously opened section would be closed and then the selected section would open. (If the previous lines are not clear, please have a look at the zipped files, you should understand). I don’t know how to “talk to” the mc that constitute the main menu and tell them to move.
