I need to load several FLVs into my flash file from a single XML document. I have figured out how to load a single FLV, but now I need to customize the actionscript such that different movie clip instances load different FLVs. I'm thinking that instance names needs to be married up with different nodes in my xml doc. But I have no idea how to do that - through an array? Any help would be appreciated! Here is my basic code in flash:

//------------NETCONNECTION SETUP-------------//
var nc:NetConnection = new NetConnection();
nc.connect(null);

//------------NETSTREAM SETUP-------------//
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(5);
Video1.myVideo.attachVideo(ns);

var videoUrl:String;

//------------XML-------------//
var xml = new XML();
xml.ignoreWhite = true;
xml.onLoad = function(readxml) {
if (readxml) {
videoUrl = xml.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
ns.play(videoUrl);
}
};

xml.load('FLVs.xml');

and my XML document looks like this:

<?xml version="1.0"?>

<movies>
<flv>
<path>NVRAD02092_101.flv</path>
</flv>
<flv>
<path>second.flv</path>
</flv>
<flv>
<path>n.flv</path>
</flv>

</movies>

Can anyone help?

THANKS