 		{
 			var subtitles:Vector.<SubTitleParser> = activeSubtitles;
 			var subtitleCount:int = subtitles.length;
+			var potentials:Vector.<TextTrackCue> = new Vector.<TextTrackCue>();
 
 			for ( var i:int = 0; i < subtitleCount; i++ )
 			{

		
		public function set language( value:String ):void
		{
			// Trigger a seek to flush buffer and get proper language.
			if(_language != value)
			{
				_language = value;

				trace("Triggering flush for proper subtitle language.");
				if(owningMediaElement)
				{
					var st:SeekTrait = owningMediaElement.getTrait(MediaTraitType.SEEK) as SeekTrait;
					var tt:TimeTrait = owningMediaElement.getTrait(MediaTraitType.TIME) as TimeTrait;
					
					if(st == null)
					{
						trace("   o No seek trait, skipping...");
					}

					if(tt == null)
					{
						trace("   o No time trait, skipping...");
					}

					if(st != null && tt != null)
					{
						trace("   o Initiating seek to " + tt.currentTime);
						//st.seek(tt.currentTime);
					}
				}
				else
				{
					trace("   o No media element, skipping...");
				}
			}
		}
		
		public function get language():String

				if ( subtitle.endTime < startTime ) continue;
				var cues:Vector.<TextTrackCue> = subtitle.textTrackCues;
				var cueCount:int = cues.length;

				for ( var j:int = 0; j < cueCount; j++ )
				{
