That seems to work. Thanks!

Goran

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> <mx:WebService id="WS" result="myResultHandler(event)" .... />
> 
> <mx:Script>
> 
> Function myResultHandler(oEvent:Object):Void
> {
> trace(oEvent.result.toString()); //or something like
> that
> }
> 
> -----Original Message-----
> From: goran187 [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 21, 2005 3:18 PM
> To: [email protected]
> Subject: [flexcoders] Web service listener
> 
> 
> 
> Does anyone know how to create a listener for a Web service?
> 
> To be more precise:
> 
> I have a web service called WS. 
> 
> When I call a method WS.MethodName.send() I want to be able to 
listen 
> to WS.MethodName.result. When the result is returned I want to 
> executre a function.
> 
> Thanks,
> Goran
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links





Reply via email to