# XML menu Load/Unload?

**URL:** <https://forum.kirupa.com/t/xml-menu-load-unload/8781>\
**Category:** flash\
**Created:** [November 28, 2002, 11:40am UTC](https://forum.kirupa.com/t/xml-menu-load-unload/8781 "2002-11-28T11:40:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![macfink](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@macfink](https://forum.kirupa.com/u/macfink)\
**Post date:** [November 28, 2002, 11:40am UTC](https://forum.kirupa.com/t/xml-menu-load-unload/8781/1 "2002-11-28T11:40:03Z")

</div>

Hi , just wondering whether any body can help me. I’ve got this nice xml flash menu and I was trying to integrate it with this site I’m trying to make. I was reading the tutorial on making a full site. loading and unloading movies. I wondered whether I could get it to work with XML. …

well sort of it loads the new .swf and the next one, but doesnt unload them.  
I suspect i should use the unload command but dont know where to attach it. I tryed attaching it to my dnamic xml menu but it just broke it. ???

im stuck!

---

<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:** [November 28, 2002, 12:06pm UTC](https://forum.kirupa.com/t/xml-menu-load-unload/8781/2 "2002-11-28T12:06:15Z")

</div>

i know very little about xml but maybe this’ll point you in the right direction:

if you make an xml object like this:

myObject = new XML();

you can then load it like this:

myObject.load(“fancy\_menu.xml”);

so…

i would imagine that the xml object has an ‘unload’ event

:-\
