Jump to content
GreenSock

cerulean

Way to change 'default' tween for TimelineMax convenience methods?

Recommended Posts

I've been making good use of TimelineMax's convenience methods: timeline.to(....), etc.

 

As I understand it, these are syntatic sugar for timeline.add(Tweenlite.to(...)), etc

 

Is there a way to change it so that the convenience methods would instead use TweenMax?  Ran into an issue where I was trying to use 'yoyo' but wasn't working…and it's because TweenLite doesn't offer 'yoyo', I believe.  

 

I offer it as a suggestion for future releases, if it's not currently implemented.

Link to comment
Share on other sites

Please check out this topic (it's in the javascript forum, but it's all the same) for Jack's response to this.

  • Like 1
Link to comment
Share on other sites

Makes sense, but I think it would be nice to have something like

TimelineMax.defaultEngine = TweenMax

as an option.  I fully agree that one should keep it as light and flexible as one can, by default, but it would be nice to have that option.

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