import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
[Bindable]
private var contactData:ArrayCollection;
private function resultHandler(event:ResultEvent):void
{
contactData = event.result as ArrayCollection;
}
private function faultHandler(event:FaultEvent):void
{
Alert.show(event.fault.faultString, event.fault.faultCode);
}
wsdl="http://localhost/Service.cfc?wsdl"
result="resultHandler(event)"
fault="faultHandler(event)"/>