glantucan
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by glantucan
-
-
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
Reverse timelinelite. Appendded callbacks not working
in GSAP
Posted
Hey!
Thanks a lot!
worked like a charm!
Nevertheless I tried this before
And it didn't
Just in case it'd be because a bug
Anyway thanks again for the quick response