Hi,
I've just came accross GS and decided to move over to it from Transit.
For my first attempt I have tried something simple but the behaviour I expected isn't the behaviour I get. I'm not sure if I'm missing something. Here's the code...
var tl = new TimelineMax({paused:false});
tl.insert( TweenMax.to($('#test'), 1, { left: "500px", ease: Linear.easeNone }, 0) );
tl.insert( TweenMax.to($('#test'), 0.5, { rotation: 90, ease: Linear.easeNone }, 0.5) );
tl.play();
I expected this to slide the element right by 500 pixels over 1 second while at 0.5 seconds start rotating to 90 degrees over 0.5 seconds but what I get is both tweens starting instantly so the element starts sliding and rotating at the same time. Eveything else seems fine, the duration of the rotation is correct, it is just starting at 0 instead of 0.5.
Did I do something wrong?
Cheers!