ngrinchenko Posted April 23, 2012 Posted April 23, 2012 I have two time lines which I would like to play simultaneously. First one plays forward and second one plays in reverse. I can not figure out how to reverse my time line. They both are playing forward. Here is the code I try to implement to reverse the timeline: var movingLights2_timeLine:TimelineMax = new TimelineMax({currentProgress:1 repeat:-1, yoyo:true, timeScale: .5, reverse:true});
Carl Posted April 23, 2012 Posted April 23, 2012 try setting the currentProgress = 1 AFTER the timeline is built and populated with tweens. FYI, currentProgress isn't a special property that can be set in the constructor.
ngrinchenko Posted April 23, 2012 Author Posted April 23, 2012 Thanks, it worked. The proper code as you said to put it after the tweens are build: my_timeLine.currentProgress=1;
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