Share Posted October 12, 2013 immediateRender doesn't work on second and further repeat cycles of a timeline. Here's the code: var mainTimeline:TimelineMax = new TimelineMax ({repeat:-1, repeatDelay:0.5}); mainTimeline.from (pic_1, 0.4, {y:"-=63", ease:Back.easeOut}) .from (pic_1, 0.4, {alpha:0, ease:Linear.easeNone}, "-=0.4") .from (pic_2, 0.4, {y:"-=63", ease:Back.easeOut}, "-=0.3") .from (pic_2, 0.4, {alpha:0, ease:Linear.easeNone}, "-=0.4") .from ([pic_1, pic_2], 0.4, {colorMatrixFilter:{colorize:0xffcc00, brightness:2}, ease:Linear.easeNone, immediateRender:false}); Link to comment Share on other sites More sharing options...
Share Posted October 13, 2013 What version of GSAP are you using? trace(TweenLite.version); should suffice Link to comment Share on other sites More sharing options...
Share Posted October 13, 2013 Okay, I believe I found what you're talking about and it should be resolved in the attached preview of GSAP 12.1.0. Would you mind seeing this works well for you and if you can break anything else? Thanks a bunch. GSAP_12.1.0_rc2.zip Link to comment Share on other sites More sharing options...
Author Share Posted October 14, 2013 Now it works fine, thank you! 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