# XML Based menu help

**URL:** <https://forum.kirupa.com/t/xml-based-menu-help/186139>\
**Category:** flash\
**Created:** [April 19, 2006, 9:47am UTC](https://forum.kirupa.com/t/xml-based-menu-help/186139 "2006-04-19T09:47:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fordey](https://avatars.discourse-cdn.com/v4/letter/f/9de0a6/32.png) [@fordey](https://forum.kirupa.com/u/fordey)\
**Post date:** [April 19, 2006, 9:47am UTC](https://forum.kirupa.com/t/xml-based-menu-help/186139/1 "2006-04-19T09:47:24Z")

</div>

Hi I am using the following xml menu

?xml version=“1.0”?\>  
\<menu name=“links”\>  
\<menu name=“Introduction”\>  
\<item name=“Definition” action=“gotoAndStop” variables=“quizLink” /\>  
\<item name=“History” action=“gotoAndStop” variables=“history”/\>  
\</menu\>

then the actionscript is

This flash movie will only be published locally, so i want to know what would the function look like to direct the xml menu to a differant scene and frame?

also where would this function be placed in the code? would it be on the top line with the menu actionscript?
