 	import flash.events.AsyncErrorEvent;
 	import flash.events.StatusEvent;
 	import flash.net.LocalConnection;
+	import flash.net.registerClassAlias;
 	import flash.utils.ByteArray;
+	import flash.utils.getQualifiedClassName;
 	
 	import mx.rpc.AsyncResponder;
 	import mx.rpc.AsyncToken;

			var token:AsyncToken = tokens[commandID] as AsyncToken;
			if (token != null)
			{
				// broadcast result to responders
				var faultEvent:FaultEvent = new FaultEvent(FaultEvent.FAULT, false, false, fault, token);
				if (token.responders != null)
					for each (var responder:IResponder in token.responders)

		}
	}
}
import flash.net.registerClassAlias;
import flash.utils.getQualifiedClassName;

import mx.rpc.Fault;

internal class SerializableFault extends Fault
{
	{ // static code
		registerClassAlias(getQualifiedClassName(SerializableFault), SerializableFault);
	}
	
	public function SerializableFault(fault:Fault = null)
	{
		super(
			fault ? fault.faultCode : null,
			fault ? fault.faultString : null,
			fault ? fault.faultDetail : null
		);
	}
	
	public function set faultCode(value:String):void { _faultCode = value; }
	public function set faultDetail(value:String):void { _faultDetail = value; }
	public function set faultString(value:String):void { _faultString = value; }
}
