Hi All,
While migrating an application from flex1.5 to flex2  am getting few 
warnings for the event types.
In the code below what should be the type of 'event' 
and 'event.call'.Actually i tried to make event of type Event but 
event.call is not a property of Event class so it gave me error.
So if anyone knows about it plz tell me.

 
private function _invokeReturnMonitorsevent,successful:Boolean):void 
{
for (var i : Number = 0; i < _monitors.length; i++){
var monitor : ServiceMonitor = ServiceMonitor(_monitors[i]);
monitor.serviceReturning(event.call.__monitorInfo.serviceName,   
event.call.__monitorInfo.methodName,event,event.call.__monitorInfo.st
ate[i],successful);


In the code below what should be the type 
of 'event','event.result.exception' ,'event.result.exception.message'
 and 'event.fault'.Actually i tried to make 'event' of type Event 
but event.result.exception.message' is not a property of Event class 
so it gave me error.
So if anyone knows about it plz tell me.

public function __resultHandler(name : String, event):void {
if (event.result.exception != undefined) {
event.fault = { exception: 
event.result.exception,__faultstring:event.result.exception.message};
__faultHandler(name, event);
return;
}


Thanks,
Monika





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to