Jump to content
Search Community

Add a tween before the previous tween finishes in timelineli

din_rocks test
Moderator Tag

Recommended Posts

Hi all

I want to add a tween before (middle) the previous tween finishes, how can i achieve this ?? thanks in advance

 

intro.x = 162.25;

intro.y = 140;

intro.alpha = 0;

intro.rotation = +90;

txt_1.alpha = 0;

var timeline:TimelineLite = new TimelineLite();

timeline.append( new TweenLite(intro, 1, {alpha:1}) );

timeline.append( new TweenLite(intro, 1, {rotation:"-90", ease:Elastic.easeOut}) );

timeline.append(new TweenLite(intro,1,{alpha:0,delay:.2}));

timeline.append( new TweenLite(txt_1, 1, {scaleX:8,alpha:1,scaleY:5}) );

timeline.append( new TweenLite(txt_1, .2, {scaleX:16,alpha:0,scaleY:10}));

---------------------here i want to fade out the txt_1 before it finishes the previous tween(scaleY)..

thanks.

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