OpenAmf呼叫服务器方法的简写

/**
		 * 呼叫服务器
		 * @params:command 方法名
		 *  
		 */
		public function callServer(command:String,resultSuccess:Function,resultFault:Function,...params):void
		{
			responder = new Responder(resultSuccess, resultFault);
			params.unshift(command,responder);
			netconnection.call.apply(this,params);
		}

 

你可能感兴趣的:(open)