mistafista Posted March 27, 2010 Share Posted March 27, 2010 I want to jump to a frame in the main timeline after a sequence of tweens happen. ----- var timeline:TimelineLite = new TimelineLite(); timeline.appendMultiple( [new TweenLite(finalMC, 1, {alpha:0}), new TweenLite(maskMC, 1, {delay:.5, x:0, y:0}),], .3); timeline.insert (TweenLite.to("ROOT", 1, {frame:5})); ------- Help? Link to comment Share on other sites More sharing options...
GreenSock Posted March 27, 2010 Share Posted March 27, 2010 I'm not sure where you code is (referring to the root depends on where you're at) or if you want to skip immediately to that frame or go there slowly over time (as a tween), but here's a rough guess: var timeline:TimelineLite = new TimelineLite(); timeline.appendMultiple([new TweenLite(finalMC, 1, {alpha:0}), new TweenLite(maskMC, 1, {delay:.5, x:0, y:0}),], 0.3); timeline.append( TweenMax.to(this.root, 0.1, {frame:5}) ); Link to comment Share on other sites More sharing options...
mistafista Posted March 27, 2010 Author Share Posted March 27, 2010 thanks! Great product. 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