XML loading

hi there …

I am trying to load a SWF into an MC ("window_mc) via XML ( I guess like loading a photo ).

Here is my XML code (called “actions.xml”):

<actionscript>
<LocatioN file=“level_5.swf”/>
</actionscript>

&Here is my AS:

var x:XML = new XML();
x.ignoreWhite = true;

var urls:Array = new Array ();

x.onLoad = function (){
var LocatioN:Array = this.firstChild.childNodess;
for (i=0;i<LocatioN.attributes;i++) {
urls.push(LocatioN*.attributes.file);
}
window_mc.loadMovie(urls[0]);
}

x.load(“actions.xml”);

-----------it doesnt want to work------------ what have I done wrong??

Help would be Ace…