# Senocular's xml driven drop down menu tute

**URL:** <https://forum.kirupa.com/t/senoculars-xml-driven-drop-down-menu-tute/68343>\
**Category:** Uncategorized\
**Created:** [October 25, 2004, 5:48am UTC](https://forum.kirupa.com/t/senoculars-xml-driven-drop-down-menu-tute/68343 "2004-10-25T05:48:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![natronp](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@natronp](https://forum.kirupa.com/u/natronp)\
**Post date:** [October 25, 2004, 5:48am UTC](https://forum.kirupa.com/t/senoculars-xml-driven-drop-down-menu-tute/68343/1 "2004-10-25T05:48:48Z")

</div>

okay, I’ve never felt like a bigger idiot. I’m slowly trying to get my pea sized brain wrapped around using xml in flash.

my question is how do i convert what senocular has here:

```auto
Actions = Object();
Actions.gotoURL = function(urlVar){
	getURL(urlVar, "_blank");
};
Actions.message = function(msg){
	message_txt.text = msg;
};

```

to incorporate loadMovie instead of getURL?  
I’m getting stuck with the "function(urlVar) part. what is that parameter  
he’s passing (urlVar) here?

I want to have something like:

```auto
Actions = Object();
Actions.loadswf = function(?what the heck do i put here?){
	_root.container.loadMovie("monkey.swf");
};
Actions.message = function(msg){
	message_txt.text = msg;
};

```

arrrggghh!!! my ignorance hurts!
