JSDeffered is so cool: https://github.com/cho45/jsdeferred/blob/master/test-jsdeferred.js
we can write simplest async call chain .
next(function () { // this `next` is global function
alert("1");
}).
next(function () { // this `next` is Deferred#next
alert("2");
}).
next(function () {
alert("3");
});
our code is so spagetti code like that
new Execute1(nextFunction); ...
.
is there any cool Deferred library in ActionScript? or Which script are you using?