# Help with Actionscript for XML Menu

**URL:** <https://forum.kirupa.com/t/help-with-actionscript-for-xml-menu/176645>\
**Category:** flash\
**Created:** [January 25, 2006, 7:40pm UTC](https://forum.kirupa.com/t/help-with-actionscript-for-xml-menu/176645 "2006-01-25T19:40:36Z")\
**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:** [January 25, 2006, 7:40pm UTC](https://forum.kirupa.com/t/help-with-actionscript-for-xml-menu/176645/1 "2006-01-25T19:40:36Z")

</div>

Having gone through the tutorial on this site and in attempting to construct this menu, I’ve come across some problems, that being I’m batteling to resolve the following:

1. Change layout to that of a Horizontal nature i.e. main menu items horizontally at the top with sub-menu’s opening directly beneath them.

2. Delete the cell spacing between the buttons.

3. Apply actionscript for OnRelease to load external .swf’s (i.e I’m trying to construct a full-flash site).

I’d be extremely grateful for any assistance. 😊

I attach .fla file for your reference and list below .xml coding.

\<?xml version=“1.0” encoding=“iso-8859-1”?\>  
\<menu name=“menu” \>  
\<menu name=“Home” adr="" targ="\_blank"\>  
\</menu\>  
\<menu name=“Residents & Visitors”\>  
\<menu name=“Accommodation” adr=“[http://google.com](http://google.com)” targ="\_blank" \>  
\<item name=“Bed & Breakfasts” adr="" targ="\_blank" \>\</item\>  
\<item name=“Caravan Parks” adr="" targ="\_blank"\>\</item\>  
\</menu\>  
\<item name=“Associations/Clubs” adr="" targ="\_blank" \>\</item\>  
\<item name=“Churches” adr="" targ="\_blank" \>\</item\>  
\<item name=“Coffee Shops” adr="" targ="\_blank" \>\</item\>  
\<item name=“Education/Tuition” adr="" targ="\_blank" \>\</item\>  
\<item name=“Emergency No’s” adr="" targ="\_blank" \>\</item\>  
\</menu\>  
\<menu name=“Business Directory” adr="" targ="\_blank"\>  
\</menu\>

\<menu name=“Contact Us” adr="" targ="\_blank" \>  
\</menu\>

\</menus\>
