 
 
 		// Event Handlers
+		
+		/**
+		 * try to process received data. 
+		 * if procesing failed, let call handle the processing error
+		 * @param event load complete event
+		 */
 		protected function onDataComplete(event:Event):void {
 			try {
 				handleResult(XML(event.target.data));



		/**
		* parse the server's response and let the call process it.
		 * @param result  server's response
		*/
		protected function handleResult(result:XML):void {
			clean();




		/**
		 * If the result string holds an error, return a KalturaError object with
		 * relevant values. <br/>
		 * Overide this to create validation object and fill it.
		 * @param result  the string returned from the server.
		 * @return  matching error object
		 */
		protected function validateKalturaResponse(result:String):KalturaError {
			var kError:KalturaError = null;
			var xml:XML = XML(result);
			if (xml.result.hasOwnProperty('error') 
				&& xml.result.error.hasOwnProperty('code')
				&& xml.result.error.hasOwnProperty('message')) {
				
				kError = new KalturaError();
				kError.errorCode = String(xml.result.error.code);
				kError.errorMsg = xml.result.error.message;
