smjones
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by smjones
-
-
Hello!
I am trying to build a timeline that is composed of nested timelines. I am finding that the when I nest the timeline, the yoyo playback(and even the plain repeat) ends up playing the incorrect values and the css matrix gets set incorrectly.
It works fine if I add the Tween like this:
tl.add ( TweenLite.fromTo( ... ))
but if I create a new timeline and add that, I get the error.
tl2 = new TimelineLite();
tl2.add ( TweenLite.fromTo( ... ));
tl.add( tl2 )
I have an example here: http://jsfiddle.net/7h5ED/2/
I left it in the broken state, but if you change the showBroken variable to false, you'll see the correct
behavior. It should have a sequence like: slide in from top, zoom out, slide in from right. When this yoyos in the broken state, the reverse zoom goes offscreen instead of to the middle of the screen.
Any help would be appreciated! Thanks!
Nested Timelines causing incorrect transforms
in GSAP
Posted
That seems to be working great for me as well! The to() with zero duration seems to working now as well. Thanks for the quick turn around!
-Steve