Jump to content
Search Community

Adding label in timeline help

Myows 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

Hi again,

 

probably another noob question so bear with me, I'm sure the answer is simple...

 

I'm using Timeline Max to create a lengthy animation, think of it as a DVD with chapters.

 

Now i understand that adding a label with this:

 

tl.addLabel ("name", 5);

will add my label 5 seconds into the Timeline, regardless of where I place the addLabel code.

 

I want to add a label before each chapter starts, so inside my timeline, and without a hard value like 5 seconds.

 

How would i do that?

 

 

 

As an example, If you look at http://max-guedy.com/animation-cofely/complet.html once you've clicked the "lancer animation" button, 3 circles appear, which i would like to use as buttons to play different parts, or chapters, of the animation.

 

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