Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
danissimo

immediateRender and timeline repeat

Recommended Posts

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 post
Share on other sites

What version of GSAP are you using? 

 

trace(TweenLite.version); should suffice

Link to post
Share on other sites

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 post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×