asynctoken

ActionScript 3 AsyncToken implementation

Looking for an example or documentation links as to how to implement a method returning AsyncToken. Note this is not about using/consuming a method returning AsyncToken! I wish to write such methods myself. ...

ActionScript/Flex: Why are the apply{Fault,Result} methods of AsyncToken internal?

As the title suggests, why are the applyResult and applyFault methods of AsyncToken marked mx_internal? There have been a few times that I would have liked to use AsyncToken in my code, but I've ended up re-writing it because I don't want to force clients to use namespace mx_internal. ...

How to make URLLoader return an AsyncToken?

Hi all, I was trying to retrieve binary data over HTTP for my Flex application, and was running into some stumbling blocks. HTTPService did not seem to deal with binary data well, people said to use URLLoader. But URLLoader does not have the nice AsyncToken/IResponder interface that HTTPService provides. So, I did some searching and ...

HTTPService AsyncToken and AsyncResponder example

Where can I find an example of Flex application which implements an HTTPService asynchronously called by an AsyncToken and an AsyncResponder? Thanks in advance the httpservice send a string like this with a certain frequency: row#column#number#row#column#number#row#column#number#.... EDITED CODE: <?xml version="1.0" encoding="utf-8"?...

How to Fake a AsyncToken return in ActionScript 3

Using Parsley, I have a service that I access through a [Command(selector='list')] public function getRssFeed( msg:RssEvent ):AsyncToken { return service.list() as AsyncToken; } when I point to the "Real" RssService, everything works as expected. My problem is when I point to the "Mock" RssService. I can't figure out how to fake a Async...