Jump to content


animate prices indecently and then all together

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi, could someone just point us in the right direction..


I have a few frames animating...


1st key frame appears in and fades out, 2nd key frame, prices appear one after the other and all fades out. 3rd key frame, appears with simple message. At the moment, after the prices animate independently I then need them all the fade out, to reveal key frame 3 but I can't seem to figure the best way to do this, maybe add them to their our timeline?, could someone help?


tl.to(this.logo_mc, 1, {alpha:0},"+=3");
tl.from(this.price1_mc, .5, {alpha:0, scaleY:0, scaleX:0, ease:Back.easeOut});
tl.from(this.price2_mc, .5, {alpha:0, scaleY:0, scaleX:0, ease:Back.easeOut});
tl.from(this.price3_mc, .5, {alpha:0, scaleY:0, scaleX:0, ease:Back.easeOut});
tl.from(this.price4_mc, .5, {alpha:0, scaleY:0, scaleX:0, ease:Back.easeOut});
tl.from(this.price5_mc, .5, {alpha:0, scaleY:0, scaleX:0, ease:Back.easeOut});
tl.from(this.price6_mc, .5, {alpha:0, scaleY:0, scaleX:0, ease:Back.easeOut});
tl.to(this.image_mc, 1, {alpha:0},"+=3");





Link to comment
Share on other sites

Hm, without a reduced test case it's kinda hard to know exactly what you're trying to do here (like what do you mean by "key frame 3"?), but if you're asking how to add another animation to the end of the timeline it should be as simple as tl.to(yourTarget, duration, {...whatever you want to animate...});


It sounds like maybe you're using Adobe Animate CC. If so, maybe create a reduced test case and post your file(s) here with a detailed explanation of what you're trying to do. 


Happy tweening!

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.