 	import com.kaltura.config.IKalturaConfig;
 	import com.kaltura.config.KalturaConfig;
 	import com.kaltura.core.KClassFactory;
+	import com.kaltura.encryption.MD5;
 	import com.kaltura.errors.KalturaError;
 	import com.kaltura.events.KalturaEvent;
 	import com.kaltura.net.KalturaCall;
-	import com.kaltura.encryption.MD5;
-
+	
 	import flash.events.ErrorEvent;
 	import flash.events.Event;
 	import flash.events.EventDispatcher;



		/**
		* 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')) {
				kError = new KalturaError();
				kError.errorCode = String(xml.result.error.code);
				kError.errorMsg = xml.result.error.message;



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

