How about something like this:
(note: I've not tried it, just slapped it straight into the email)
public class MyClassThatInvokesHTTPServices {
//inner helper class.
class MyIResponder implements IResponder{
public var f:Function;
public var r:Function;
public
I do like this approach - that's what I do when I code using AsyncTokens.
In the SDK's trunk depot, we have implemented a different way of using the
AsyncTokens which makes it easier to add per-call event listeners and result
objects particularly from MXML. It is in the class
Yes, AsyncToken is dynamic. Example:
Invoke send:
var oRequest:Object = new Object();
oRequest.Arg1 = value1;
var callToken:AsyncToken = service.send(oRequest);
callToken.callId = myQuery1;
In the result Handler:
var callToken:AsyncToken = event.token;
var sCallId =
3 matches
Mail list logo