 	import com.kaltura.commands.stats.StatsCollect;
 	import com.kaltura.config.KalturaConfig;
 	import com.kaltura.kdpfl.model.SequenceProxy;
+	import com.kaltura.kdpfl.model.MediaProxy;
 	import com.kaltura.kdpfl.model.type.AdsNotificationTypes;
 	import com.kaltura.kdpfl.model.type.NotificationType;
 	import com.kaltura.types.KalturaStatsEventType;

		override public function onRegister():void 
		{
			_flashvars = facade.retrieveProxy("configProxy")["vo"]["flashvars"];
			
			var config : KalturaConfig = new KalturaConfig();
			config.domain = statsDomain ? statsDomain : _flashvars.host;
			config.ks = facade.retrieveProxy("servicesProxy")["kalturaClient"]["ks"];

		 * if set to true buffer_start and buffer_end events won't be sent 
		 */		
		public var bufferStatsDis:Boolean = false;
		
		private var _mediaProxy:MediaProxy;

		/**
		 * Constructor 
