XML video playlist

Hi,

I followed a tutorial on making a video playlist in Flash using XML. it’s giving me the following error : “1000: Unable to make connection to server or to find FLV on server”

I know what you’re thinking, but I’ve triple checked the file locations and it’s all in the right place. A trace command is returning the correct file too.

I have a one frame swf, a video component and a list box - with the instance name “videoList”- on the stage.

NOTE: I’m running this from my hard drive, it’s going to be put on CD.
I have also tried putting a URL to an online flv file in the XML.

The following code is on frame 1:

var vlist:XML = new XML();
vlist.ignoreWhite = true;
vlist.onLoad = function() {
var videos:Array = this.firstChild.childNodes;
for(i=0;i<videos.length;i++) {
videoList.addItem(videos*.attributes.desc,videos*.attributes.url);
}

ns.play(videoList.getItemAt(0).data);
videoList.selectedIndex = 0;
}
var vidList:Object = new Object();
vidList.change = function () {
ns.play(videoList.getItemAt (videoList.selectedIndex).data);
}
videoList.addEventListener(“change”,vidList);
vlist.load(“videos.xml”);

here’s what’s in the XML file:

<?xml version=“1.0” encoding=“iso-8859-1”?>
<videos>
<video url=“video1.flv” desc=“Background to the Standards”/>
<video url=“video2.flv” desc=“The Role of the Standards”/>
<video url=“video3.flv” desc=“The Information and Advice Process”/>
</videos>