Share Posted February 13, 2015 I haven't been able to find an exact way to reproduce this. I have a simple timeline ($elBg is a jquery element): tl.add('intro').addPause('intro') .to($elBG, 2, {left: '-1040px'}) .add('something').addPause('something') .to($elBG, 2, {left: '-2040px'}) .add('ending').addPause('ending') .to($elBG, 2, {left: '-3040px'}); And I have two buttons that trigger .play or .reverse to move between the scenes. Every now and then the pause is skipped over and it continues to the next scene. I can't find an exact way to reproduce this I'm afraid as most of the time it works as expected. I have solved the issue by using tl.tweenTo(tl.getLabelBefore()); and tl.tweenTo(tl.getLabelAfter()); instead for my buttons but thought you might like to know incase there was a bug. Adam. Link to comment Share on other sites More sharing options...
Share Posted February 13, 2015 Hi kaotix pls make a Codepen Demo available for your questions : Read This First: How to Create a CodePen Demo http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/ pls check this out : See the Pen RNQoop by anon (@anon) on CodePen Link to comment Share on other sites More sharing options...
Author Share Posted February 13, 2015 Hey The default demo pen that you posted exhibits the issue that I described as it uses the addPause method. Link to comment Share on other sites More sharing options...
Share Posted February 13, 2015 Sorry for the hassle. You are correct, there is a problem. We were recently alerted to this in another thread. If possible try reverting back to an earlier version. We are working on a fix. 1 Link to comment Share on other sites More sharing options...
Share Posted February 14, 2015 Sorry about the hassle. I have attached a preview copy of GSAP 1.15.2 (not released yet). This should resolve the issue. Would you mind double-checking and letting us know? GSAP_1.15.2_preview1.zip 1 Link to comment Share on other sites More sharing options...
Author Share Posted February 16, 2015 Hey Jack. That seems to have fixed it as far as I can tell, no hassle at all. Thanks for that. Awesome as always. Adam Link to comment Share on other sites More sharing options...
Author Share Posted February 16, 2015 Just to add, not sure if this is related or it might even be intended behaviour. When you first load the pen posted above, if you press reverse first you have to then press play twice to get it to start playing. Link to comment Share on other sites More sharing options...
Share Posted February 25, 2015 ugh! so glad i started google this very issue i was having with the .addPause! I thought i was going crazy and my code was messed up! Link to comment Share on other sites More sharing options...
Share Posted March 2, 2015 This should be resolved in the latest release (1.16.0). Thanks for your patience, and sorry about the glitch. Happy tweening! 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