# Desperate... cant get these next and previous buttons to work with xml menu

**URL:** <https://forum.kirupa.com/t/desperate-cant-get-these-next-and-previous-buttons-to-work-with-xml-menu/149747>\
**Category:** Uncategorized\
**Created:** [June 1, 2005, 1:15am UTC](https://forum.kirupa.com/t/desperate-cant-get-these-next-and-previous-buttons-to-work-with-xml-menu/149747 "2005-06-01T01:15:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![inVZbl](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/invzbl/32/309_2.png) [@inVZbl](https://forum.kirupa.com/u/inVZbl)\
**Post date:** [June 1, 2005, 1:15am UTC](https://forum.kirupa.com/t/desperate-cant-get-these-next-and-previous-buttons-to-work-with-xml-menu/149747/1 "2005-06-01T01:15:24Z")

</div>

Maybe im double posting from the xml menu thread, but im soooooooooo stuck its making me crazy…

Using the Xml\_Menu\_v2\_buttonDown that hga77 created, ive been trying to add a next and previous button to it with no success.

I can sort of get the buttons to move between the sub levels but, cant get actions to execute and move to the next or previous parent nodes.

```auto
_parent.next_btn.onRelease = function()
	{
		trace(current);
		if (curItem != item)
		{
		currentbtn = parseInt(previousSub._name)+1;
		executeAction(action,previousSub);
		trace(current)
		}		
	}

```

Its doing my head in… Ive spent the last 3 days looking at this and i cant let it go… Please put me out of my misery…
