Hmm, in this case, exactly what *is* the target?

 

I think the best solution to your problem is to use the AsyncToken and
assign your own identifier.  The AsyncToken is available in the fault
handler as well as the result handler.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of sailorsea21
Sent: Wednesday, December 03, 2008 10:34 AM
To: [email protected]
Subject: [flexcoders] How can I display the "ID" of my HTTPService in my
FaultEvent?

 

Hi everyone, how can I display the "ID" of my HTTPService in my 
FaultEvent? The following script doesn't work and I can't understand 
why.

private function get_fault(event:FaultEvent):void
{ 
mx.controls.Alert.show(event.currentTarget.id + ".", 
event.fault.faultString + ":"); 
}

event.currentTarget works but I would like to display the "ID".

Thanks.

David

 

Reply via email to