I'm working on a slide show application in javascript and got all things separated on different files but more or less this is what i'm doing:
var tl = new TimelineLite();
tl.insert(TweenLite.to($('.container'), 0.5, {css:{marginLeft:'-=100px'}, ease:Power2.easeOut, delay:0.2}));
tl.insert(TweenLite.to($('.container'), 0.5, {css:{autoAlpha:1}, delay:0.7}));
Afterwards I reverse the timeline and add a callback to the end of the reversed timeline with call()
tl.reverse();
tl.call(someFunction);
The animation plays reversed but the someFunction function never gets executed?
Am i doing something wrong
Thanks in advance