I don't believe AsyncToken has the resultHandler() method. It does however have a property called responder (mx.rpc.IResponder) which has result(Object) and fault(Object) methods.  The responder property must be set prior to invoking it.
 
 
Carson

____________________________________________
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Garnett
Sent: Monday, July 03, 2006 6:16 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] result & fault event errors:

I believe you need to change the references to event.call to event.token.

--Josh

On 7/3/06, lownlazy000 < [EMAIL PROTECTED]> wrote:
After upgrading to Flex 2 full-version I keep recieving this error:

1119: Access of possibly undefined property call through a reference
with static type mx.rpc.events:FaultEvent.

for both these lines:
result="event.call.resultHandler(event)"
fault=" event.call.faultHandler(event)"

The above lines are straight out of a Cairngorm 2 beta 3 example. Can
anyone tell me why?

Thanks in advance,

Russell Munro






------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->

--
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/





__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to