Load swf's from xml auto play

i’m trying to load multiple swf’s from XML and play them one after the other until the end then start over with the first swf.

i’ve loaded my XML and get undefined for the file but it exist not sure what i’m doing with this. any help would be awesome.

my XML looks like this

[[FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT]](file:///D:/BUSINESS/clients/AdRever/playlist1.xml#) [COLOR=#0000ff]<[/COLOR][COLOR=#990000]adSet[/COLOR][COLOR=#0000ff]>[/COLOR]
[FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]filename[/COLOR][COLOR=#0000ff]>[/COLOR]media/test1.swf[COLOR=#0000ff]</[/COLOR][COLOR=#990000]filename[/COLOR][COLOR=#0000ff]>[/COLOR]

[FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]filename[/COLOR][COLOR=#0000ff]>[/COLOR]media/test2.swf[COLOR=#0000ff]</[/COLOR][COLOR=#990000]filename[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]</[/COLOR][COLOR=#990000]adSet[/COLOR][COLOR=#0000ff]>[/COLOR]

 
var xmlDoc:XML = new XML(); 
System.useCodepage = true; 
xmlDoc.ignoreWhite = true; 
xmlDoc.onLoad = function(ok:Boolean) { 
if (ok) { 
doMenu(this); 
} else { 
trace("XML did not load"); 
} 
}; 
xmlDoc.load("playlist.xml"); 
function doMenu(xml:XML) { 
var num:Number = xml.firstChild.childNodes.length; 
ads = new Array(); 
for (var i = 0; i < num; i++) { 
ads* = xml.firstChild.childNodes*.attributes.image; 
} 
loadMovie(ads*,1);
}