# XML menu need a little help..!

**URL:** <https://forum.kirupa.com/t/xml-menu-need-a-little-help/112289>\
**Category:** Uncategorized\
**Created:** [June 5, 2004, 7:20pm UTC](https://forum.kirupa.com/t/xml-menu-need-a-little-help/112289 "2004-06-05T19:20:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sWo0p](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sWo0p](https://forum.kirupa.com/u/sWo0p)\
**Post date:** [June 5, 2004, 7:20pm UTC](https://forum.kirupa.com/t/xml-menu-need-a-little-help/112289/1 "2004-06-05T19:20:17Z")

</div>

hi i have made me a little xml driven menu trough a tutorial from some german site… beleef me it was not easy… reading german is not realy my thing… but it seems to work… no i like to ad a few thing to it… like a onMouseOver and i need a little help with \_y position… can soemone hlep meout?

```php

menuXml = new XML();
menuXml.ignoreWhite = true;
menuXml.onLoad = function() {
	menuItem = this.firstChild.childNodes;
	for (var i = 0; i<menuItem.length; i++) {
		item = _root.attachMovie("itemClip", "itemClip"+i, i);
		item._x = 7.5; //Horizontal pos
		item._y = 20*i; // space between menu's
		item.itemLabel.text = menuItem*.attributes.name;
		item.myUrl = menuItem*.attributes.url;
		item.onRelease = function() {
			getURL(this.myUrl, "_blank");
		};
	}
};
menuXml.load("menu.xml");

```
