# setXMLFile Any way to load in a new file?

**URL:** https://forum.kirupa.com/t/setxmlfile-any-way-to-load-in-a-new-file/96504
**Category:** Uncategorized
**Created:** [December 10, 2003, 7:26am UTC](https://forum.kirupa.com/t/setxmlfile-any-way-to-load-in-a-new-file/96504 "2003-12-10T07:26:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![1111](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/1111/32/206_2.png) [@1111](https://forum.kirupa.com/u/1111)
#### Post date: [December 10, 2003, 7:26am UTC](https://forum.kirupa.com/t/setxmlfile-any-way-to-load-in-a-new-file/96504/1 "2003-12-10T07:26:01Z")

</div>

Hiya, If have my xml menu load in no problems, however I want to load in a new menu.  
The menu loads with:  
hm.setXMLFile(“gv.xml”);  
hm being the clip it loads to.

When i click an item, I want to change the xml file to say:  
hm.setXMLFile(“gv2.xml”);

i know this isnt the right code, my question is do you have to unload the clip & if so how do I load in a new one?.

Any links/help will be very appreciated!.

:chinaman:
