# Collapsing XML Menu

**URL:** <https://forum.kirupa.com/t/collapsing-xml-menu/27890>\
**Category:** flash\
**Created:** [August 7, 2003, 4:48pm UTC](https://forum.kirupa.com/t/collapsing-xml-menu/27890 "2003-08-07T16:48:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2003, 4:48pm UTC](https://forum.kirupa.com/t/collapsing-xml-menu/27890/1 "2003-08-07T16:48:10Z")

</div>

Hey I am trying to collapse LIB and Sen’s xml menu for an external button, meaning not the buttons being generated by the xml file. I got it to work with no problem. However, I can’t get the arrow to rotate back to normal.

I have tried numerous ways, don’t see why this wouldn’t work

```auto

menu.onRelease = function(){
	mainMenu.currentSubMenu = null;
						this.arrow.setToRotateTo(0);
						mainMenu.offset = 0;
}

```

I guess I am just refering to “arrow” incorrectly?

Thanks for the help
