# XML Menu Scripting

**URL:** <https://forum.kirupa.com/t/xml-menu-scripting/177415>\
**Category:** programming\
**Created:** [February 1, 2006, 7:31pm UTC](https://forum.kirupa.com/t/xml-menu-scripting/177415 "2006-02-01T19:31:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Still\_Learning](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@Still\_Learning](https://forum.kirupa.com/u/Still_Learning)\
**Post date:** [February 1, 2006, 7:31pm UTC](https://forum.kirupa.com/t/xml-menu-scripting/177415/1 "2006-02-01T19:31:02Z")

</div>

Hi all,

I’ve designed an XML drop down menu for integration into my site. Now in attempting to construct the site to run as a “full-flash” site I’ve come across a stumbling block that I’m batteling to solve.

In my .XML file what scripting do I assign to the relevant buttons in order for them to load external .swf files?

I’ve attempted the following code but the menu simply doesn’t work correctly with it. On (release) {\_root.contents.loadMovie (“locations.swf”);}

Any assistance will be greatly appreciated.
