Trying to find the 'current video'

I’m trying to figure out how to get the name of the current file being played using a flash 8 video player (custom).

Here’s the code im using :


	var m = this.videoPlayer;
	
	m.contentPath = videos.list[0];
	
	videos.ready = function( evt:Object ):Void
	{
		if(!this.loaded){
			this.loaded = true;
			for( var n=1; n<this.list.length; n++ ){
				if( videos.list[n].indexOf(".flv") != -1 ){
					m.activeVideoPlayerIndex = n;
					m.contentPath = videos.list[n];
					this.length++;
				}
			}
			m.activeVideoPlayerIndex = 0;
		}
	}
	m.addEventListener("ready",videos);
	

//

	videos.complete = function( evt:Object ):Void
	{
		var nextIndex = Number(evt.vp)+1;
		if( nextIndex == this.length){
			if( this.loop ){
				nextIndex = 0;
			}else{
				return;
			}
		}
		m.activeVideoPlayerIndex = nextIndex;
		m.visibleVideoPlayerIndex = nextIndex;
		m.play();
	}
	m.addEventListener("complete",videos);

How does flash know which video is currently being played? Basically I want to set it up so that there is a ‘activeVideo’ varible that updates based on what video is currently being played.

Any help would be appreciated :o

btw I’m not reffering to the boolean FLVPlayback.playing.