# XML-Driven Drop-Down Menu how to do horizontally

**URL:** <https://forum.kirupa.com/t/xml-driven-drop-down-menu-how-to-do-horizontally/284929>\
**Category:** flash\
**Created:** [March 25, 2009, 7:47am UTC](https://forum.kirupa.com/t/xml-driven-drop-down-menu-how-to-do-horizontally/284929 "2009-03-25T07:47:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishalshetty](https://avatars.discourse-cdn.com/v4/letter/v/dc4da7/32.png) [@vishalshetty](https://forum.kirupa.com/u/vishalshetty)\
**Post date:** [March 25, 2009, 7:47am UTC](https://forum.kirupa.com/t/xml-driven-drop-down-menu-how-to-do-horizontally/284929/1 "2009-03-25T07:47:29Z")

</div>

Hi folks,

I have checked this tutorial in kirupa website

but this is vertical xml drop down menu

[http://www.kirupa.com/developer/actionscript/xml\_dropdown\_menu.htm](http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm)

I would like to change this into horizontally  
but when i try to do this through change the code  
the submenu also goes horizontally which i dont want that  
Basically i want main menus to be horizontal and submenus to be vertically  
Anybody who can help me in this which code has to be changed so that main menu will be horizontal and submenu’s will be vertical

Thanks  
Vishal
