# Need help in modifying code!

**URL:** https://forum.kirupa.com/t/need-help-in-modifying-code/175640
**Category:** flash
**Created:** [January 16, 2006, 6:13pm UTC](https://forum.kirupa.com/t/need-help-in-modifying-code/175640 "2006-01-16T18:13:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tonks](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@tonks](https://forum.kirupa.com/u/tonks)
#### Post date: [January 16, 2006, 6:13pm UTC](https://forum.kirupa.com/t/need-help-in-modifying-code/175640/1 "2006-01-16T18:13:54Z")

</div>

Hello,  
I have a XML drop down menu working which I found here, but have rushed ahead and built the whole site thinking I’d simply be able to make it load in XMLs as opposed to swf’s. I have had a menu before like this and it was a simple change, but I’ve got myself into a hole and I need to get this sussed before the end of tomorrow or I’m trouble.

THis is the link if your not familier with the menu…

> **[xml menu DONE :)](https://www.kirupa.com/forum/showthread.php?t=124931&highlight=xml+menu)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

The below works great but I simply just need it to read in XMLs instead or swfs and jpegs. So the ‘parent.content’ bit is irrelevant in this case.

```auto
onClipEvent (load)
{
    function executeAction(action)
    {
	
loadMovie( action , _parent.content);

		
				
		/*
		Uncomment the above line to get the menu working
		and add a content mc on the stage (with the instance name "content") to
		load in your stuff (swf's, jpg's, etc).
		*/

```

I really hope someone can help. Thanks…
