So is this a doc issue or something the compiler is doing to ease migrations?  Maybe I'm being incredibly dense here but I believe token here is an mx.rpc.AsyncToken and I don't see how those methods exists for that class.  I'm glad it works but I'd sure like ot know why it does.
 
 
Carson

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

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of lownlazy000
Sent: Tuesday, July 04, 2006 5:00 PM
To: [email protected]
Subject: [flexcoders] Re: result & fault event errors:

This fixed the problem! thanks heaps.

I just changed this:
result="event.call.resultHandler(event)"
to read this:
result="event.token.resultHandler(event)"

and it all works again :)

> I believe you need to change the references to event.call to
event.token.
>
> --Josh
>
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
>

__._,_.___

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