Load & Play external flvs continuously?

Does anyone have a resource or code that will load and play a folder of flv’s continuously? I have a folder of short clips i converted to flv. When one clip finishes, i want the next clip to play and to endlessly loop through the flvs, never stopping. If there’s a way to include a transition, that’d be cool too, but not important. I’ve got the first clip loading, but can’t get the next to play. Ideas? Thanks for any help!!


var video:Video = new Video();
addChild(video);
 
var nc:NetConnection = new NetConnection();
nc.connect(null);
 
var ns:NetStream = new NetStream(nc);
ns.client = {onMetaData:ns_onMetaData};
 
video.attachNetStream(ns);
ns.play("videos/cycling.flv");
 
function ns_onMetaData(item:Object):void {
 // Resize video instance.
 video.width = item.width;
 video.height = item.height;
 // Center video instance on Stage.
 video.x = (stage.stageWidth - video.width) / 2;
 video.y = (stage.stageHeight - video.height) / 2;
}


ns.addEventListener(NetStatusEvent.NET_STATUS, statusHandler); 
function statusHandler(event:NetStatusEvent):void 
{ 
    trace(event.info.code) 
}