# Remove xml

**URL:** <https://forum.kirupa.com/t/remove-xml/160258>\
**Category:** Uncategorized\
**Created:** [August 24, 2005, 3:50pm UTC](https://forum.kirupa.com/t/remove-xml/160258 "2005-08-24T15:50:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakepeg](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@jakepeg](https://forum.kirupa.com/u/jakepeg)\
**Post date:** [August 24, 2005, 3:50pm UTC](https://forum.kirupa.com/t/remove-xml/160258/1 "2005-08-24T15:50:41Z")

</div>

I have a menu that loads a sub-menu into a seperate swf. the sub-menu is coming from an xml file.

the menu sends an id to the sub-menu using local connection which then loads the xml file for selected option. the initial sub-menu loads fine selecting a first option on the menu but that stays there and any consecutive clicks on the menu wont load the appropriate sub menu.

so basically what I want to do is unload the xml submenu when the user clicks an option and load a new submenu. I think!
