Jump to content


TweenMax.defaultOverwrite doesn't work

Moderator Tag

Recommended Posts



It seems that TweenLite.defaultOverwrite = 'all'; does work, but TweenMax.defaultOverwrite = 'all'; does not. This can cause confusion.


- Felix

See the Pen YEQxwL by felixturner (@felixturner) on CodePen

  • Like 1
Link to comment
Share on other sites



Sorry for the confusion, but there's no such thing as TweenMax.defaultEase.



As Jack mentioned in a recent post about TweenLite.defaultEase...


TweenLite is the core class for everything, thus it's the proper place to attach static properties like that. It'd be inefficient to have to check two places for a default overwrite mode and it would cause more confusion if they were different.


Hopefully that helps






  • Like 2
Link to comment
Share on other sites

You're right. Although we have the docs configured to not show that property in the left nav it is still showing up on the TweenMax main class page at the bottom. We are looking into getting that fixed. Sorry for the confusion.

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.