Hello Hope somebody can help - I'm struggling with chaining two functions this is the code I got:
this.function1().chain(
function() {
this.function2();
}
);
function1 has an onComplete event - like this:
I put the following in there:
onComplete: function() {
this.callChain();
}
function1 is basically a function to preload some image - when they
are loaded, I like to continue to execute function2.
Thank you in advance for your help.
What am I missing?
