Follow Flex After Dark on Twitter

AsyncToken (mx.rpc.AsyncToken)

An AsyncToken is an object used to correlate an asynchronous request with its response. The AsyncToken class is found in the mx.rpc package.

Calls to asynchrounous functions...

Flex makes remote calls asynchronously, meaning dealing with the results of those calls is handled via events.

When an application makes several remote (asynchronous) calls, the responses will return in an unpredictable order.

AsyncToken and Responder work together.

   var token:AsyncToken = httpService.send();

An AsyncToken is a dynamic object, so you can add whatever properties you want to it.

Responder

An AsyncToken object is often used with a Responder object.

Related Links:

Related Docs
Recent Docs
  • ActionScript AsyncToken Handling asynchronous requests and results with the AsyncToken class.
  • Flex Date Controls Flex Date Controls allow users to select dates and date ranges with DateField and DateChooser.
  • ActionScript Array The ActionScript Array class and usage examples.
  • Flex Events Events drive Flex applications. See how to register listeners and dispatch events.
  • Flex Text Controls Flex Text Controls allow the display and input of simple and rich HTML text.
Random Docs