Jump to content
Search Community

How to make an MC animate in TLMax twice? (not repeat!)

barrowman test
Moderator Tag

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

This is a question, I probably used to know how to do in flash, but it's been a while and in H5- Im kinda stumped and not getting anywhere.

 

tl = new TimelineMax();

//----------------------
tl.from(root.Logo, 1.25, {
alpha: 0,
ease:Sine.easeInOut
});
//----------------------
tl.from(root.Logo, 5.00, {
y: "200",
ease:Sine.easeInOut
});
 
This isn't quite the complete code, but it gives you an idea, I want something to fade in and then at a later stage animate slightly. There used to be a method to clear it or something as I recall.
 
Any help as always much appreciated.
 
Thanks in advance.
 
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...