# XML Drop Down Menu + Adding Next/Prev Function

**URL:** <https://forum.kirupa.com/t/xml-drop-down-menu-adding-next-prev-function/297253>\
**Category:** flash\
**Created:** [September 28, 2009, 7:34pm UTC](https://forum.kirupa.com/t/xml-drop-down-menu-adding-next-prev-function/297253 "2009-09-28T19:34:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rynobot](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@rynobot](https://forum.kirupa.com/u/rynobot)\
**Post date:** [September 28, 2009, 7:34pm UTC](https://forum.kirupa.com/t/xml-drop-down-menu-adding-next-prev-function/297253/1 "2009-09-28T19:34:56Z")

</div>

Hey,  
I am trying to create Next / Previous buttons to use in conjunction with the XML Drop Down Menu seen here: [http://www.kirupa.com/developer/actionscript/xml\_dropdown\_menu.htm](http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm)

Basically, I would like create buttons which would navigate the content back and forth once the user has made a selection within the drop down menu – so that they can navigate the xml content without having to go back to the drop down menu each time.

I’ve been trying to integrate a function similar to the next/prev found in this xml gallery: [http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm) to work with the drop down.

I presume the function needs to call nextSibling or Child or something, but I have tried a few things to no avail.

Does anyone know how to make this work?  
thanks.
