Jump to content
Search Community

Jump to Frame

mistafista test
Moderator Tag

Recommended Posts

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

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

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...