Adding Playback Controls to Multiple FLVs

Hey All,

I have two FLV’s that I have playing back to back. They use the following code, but I’d like to add the video controls/controller to the player, which I’m not sure how to do. This is what I currently have:

var videoList:Array = ["20120331_102028.flv", "20120331_102102.flv"];//we also define the currentIndex here:
var currentIndex:int = 0;
//now your previously posted stuff




var vid:Video = new Video(550, 282);
addChild(vid);


var nc:NetConnection = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.connect(null);


var ns:NetStream = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler)
vid.attachNetStream(ns);


var listener:Object = new Object();
listener.onMetaData = function(evt:Object):void {};
ns.client = listener;


//our magic loop-through-array-and-play-function
function playVideo():void{
   ns.play(videoList[(currentIndex++)%videoList.length]);
}


function netStatusHandler( event:NetStatusEvent ) :void
{
   if(event.info.code == "NetStream.Play.Stop"){
     //calls to our function will play the next video from the list
     playVideo();
   }


}


//initial call to our function to play the first video
playVideo();  

Unlike a typical FLV import where you can add the particular video controls that you prefer, I’m not sure how to add that manually via AS. What would be the best way to do this? I’d obviously like to be able to control volume and have a timeline scrubber that will work on both videos.

Any advice would be greatly appreciated.

Thanks.