--- In flexcoders@yahoogroups.com, "trefalgar" <trefal...@...> wrote: > > --- In flexcoders@yahoogroups.com, "Amy" <amyblankenship@> wrote: > > I always use mx.rpc.Responder instead of AsyncResponder (is that a custom > > class?). There's a working example of using AsyncToken with AMFPHP here > > http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html > > . Maybe that will help you see something the docs aren't showing you. > > var token:AsyncToken = myService.disableStatistics(user,pass,email,tArray); > token.info = email; > token.addResponder(new AsyncResponder(myResults,myFaults,token));
I forgot this little bit - using Responder over AsyncResponder. As far as I can tell, it's not a custom class as it's included by default in the SDK. As far as usage, if I use Responder over AsyncResponder, I get the following error: 1067: Implicit coercion of a value of type flash.net:Responder to an unrelated type mx.rpc:IResponder. I'll see if I can figure that out, but AsyncTokens definitely don't seem to like me. Tref