Share Posted October 3, 2013 (edited) Hello, UPDATE : I found this answer http://forums.greensock.com/topic/7694-tweento-duration/ that works well. Sorry for the duplicate question. I created a timeline with labels and tweens. It's basically 4 slides (100% height) that move up or down. I have a top menu and when I click on an item I want to move the playhead to the right label so i'm using the myTimeline.tweenTo('labelName') which is working fine. But let's say I'm on my first label and I want to fast forward to the last one when I click on the last menu item. When I do a tweenTo('lastLabel'), it takes a long time before getting there because it's doing all the transitions (with easing). Is there a way to "skip" the transitions, delays, duration to go to the last label. I could change : timeline.timeScale()TweenLite.defaultEase = Linear.easeNone but I was wondering if there was an easier way. Thank you. Edited October 3, 2013 by Steven Link to comment Share on other sites More sharing options...
Share Posted October 3, 2013 Hello and Welcome to the Greensock Forums. have you tried the seek() method: http://api.greensock.com/js/com/greensock/TimelineLite.html#seek() //jumps to exactly 2 seconds myAnimation.seek(2); //jumps to exactly 2 seconds but doesn't suppress events during the initial move: myAnimation.seek(2, false); //jumps to the "myLabel" label myAnimation.seek("myLabel"); is this what you mean? Link to comment Share on other sites More sharing options...
Author Share Posted October 3, 2013 Hi Jonathan, thanks for the reply but while you were writting your answer, I found answer to a similar question. It's available here: http://forums.greens...eento-duration/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now