Jump to content
GreenSock

eco_bach

TimeLineLite and restart()

Recommended Posts

Hi

I have a simple crossfade sequence defined using a series of TimeLineLite.insert() methods.

 

The sequence plays fine.

 

But getting it to repeat using restart doesn't work for me.

 

Is it recommended to always use TimeLineMax when you have to repeat the entire timeline?

Link to comment
Share on other sites

No, not at all. restart() should work fine on TimelineLite as well as TimelineMax. If it's not working for you, please post an example that demonstrates the issue (don't forget to zip your file(s) before posting). Also make sure you're using the latest version (not that there was a bug in restart() at any time, but it's generally a good idea to stay updated).

 

By the way, you do need to use TimelineMax instead of TimelineLite if you want to use the "repeat", "repeatDelay", or "yoyo" features. But restart() is available in both.

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