Jump to content
Search Community

delay in timelineLite

lanawylma test
Moderator Tag

Recommended Posts

Hi All,

 

I'm very new to Greensock and would really appreciate your help on the following... In my animation, I'm adding the following timeLine:

 

timeline.appendMultiple([

TweenLite.to(breathe_mc, 1, {alpha:1,y:117,ease:CustomEase.byName("myCustomEase2")}),

TweenLite.to(live_mc, 1, {alpha:1,y:117, y:37, ease:CustomEase.byName("myCustomEase2")}),

TweenLite.to(sleep_mc, 1, {alpha:1,y:77, ease:CustomEase.byName("myCustomEase2")}),

TweenLite.to(feel_mc, 1, {alpha:1,y:77, ease:CustomEase.byName("myCustomEase2")})],1,TweenAlign.START, .2);

 

What I need to do is have the whole sequence delayed... however, I don't know where to insert it... Any help would be super appreciated!!

 

Thanks in advance!

Link to comment
Share on other sites

you want to adjust the offset parameter http://www.greensock.com/as/docs/tween/ ... dMultiple()

 

 

timeline.appendMultiple([

TweenLite.to(breathe_mc, 1, {alpha:1,y:117,ease:CustomEase.byName("myCustomEase2")}),

TweenLite.to(live_mc, 1, {alpha:1,y:117, y:37, ease:CustomEase.byName("myCustomEase2")}),

TweenLite.to(sleep_mc, 1, {alpha:1,y:77, ease:CustomEase.byName("myCustomEase2")}),

TweenLite.to(feel_mc, 1, {alpha:1,y:77, ease:CustomEase.byName("myCustomEase2")})],5,TweenAlign.START, .2);

 

there will be a 5 second delay before the first tween starts.

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