# Using XML Menu and using load command

**URL:** <https://forum.kirupa.com/t/using-xml-menu-and-using-load-command/33138>\
**Category:** flash\
**Created:** [October 15, 2003, 5:51pm UTC](https://forum.kirupa.com/t/using-xml-menu-and-using-load-command/33138 "2003-10-15T17:51:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcoltonbrown](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@dcoltonbrown](https://forum.kirupa.com/u/dcoltonbrown)\
**Post date:** [October 15, 2003, 5:51pm UTC](https://forum.kirupa.com/t/using-xml-menu-and-using-load-command/33138/1 "2003-10-15T17:51:51Z")

</div>

I am using the the drop down menu template in flash mx for my menu. Instea of the buttons opening a url, I would like to use a loadMovie command.

The command I want to use is:  
[AS]

on(release){  
\_root.mtClip.loadMovie.(“mymovie.swf”)  
[/AS]

the sytnax in the xml file is:

[AS]

- \<MAIN text=“Vision” expand=“true”\>  
\<SUB text=“8th Wonder of the World Technology Network” URL=“[http://www.r20thcentury.com/item.cfm?item\_id=758](http://www.r20thcentury.com/item.cfm?item_id=758)” target="\_blank" /\>  
\<SUB text=“Client Satisfaction” URL=“[http://www.formandfunctiondesign.com/pages/furniture/e192furn.html](http://www.formandfunctiondesign.com/pages/furniture/e192furn.html)” target="\_blank" /\>  
\<SUB text=“Return On Investment” URL=“[http://www.formandfunctiondesign.com/pages/furniture/e192furn.html](http://www.formandfunctiondesign.com/pages/furniture/e192furn.html)” target="\_blank" /\>  
[/AS]

How can I mmodify this to use the loadMovie command instead.

Thanks in advance…  
Dan B
