Jump to content
Search Community

immediateRender and timeline repeat

danissimo test
Moderator Tag

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 comment
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.
×
×
  • Create New...