# \[FMX\]: Dynamically populating a menu via XML

**URL:** https://forum.kirupa.com/t/fmx-dynamically-populating-a-menu-via-xml/18132
**Category:** flash
**Created:** [April 13, 2003, 5:44pm UTC](https://forum.kirupa.com/t/fmx-dynamically-populating-a-menu-via-xml/18132 "2003-04-13T17:44:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bleutuna](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@bleutuna](https://forum.kirupa.com/u/bleutuna)
#### Post date: [April 13, 2003, 5:44pm UTC](https://forum.kirupa.com/t/fmx-dynamically-populating-a-menu-via-xml/18132/1 "2003-04-13T17:44:47Z")

</div>

I want to dynamically create a menu based on an XML file, which will specify the categories and sub-categories.

PRoblem is, I’m not sure where to start as far as getting Flash to read the XML, create a menu item, and then move onto the next section.

Anyone know of a tutorial or a quick example of doing this sort f thing? :trout:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 13, 2003, 5:47pm UTC](https://forum.kirupa.com/t/fmx-dynamically-populating-a-menu-via-xml/18132/2 "2003-04-13T17:47:54Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=13697](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=13697)

the first part covers basic XML (and its use in Flash) then theres a XML populated menu example at the end
