Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

calling TweenLite instead of TweenMax

Recommended Posts

I remember reading that you should call TweenLite instead of TweenMax if you're doing something that doesn't require TweenMax's added functionality, such as TweenLite.delayedCall, because it will be slightly faster. Is this still the case? I kind of remember reading somewhere that it doesn't matter now and you can just call TweenMax for everything.

Link to comment
Share on other sites

Yep, you remembered correctly. But frankly, the difference is imperceptible in pretty much every practical scenario I can think of, so you're fine using TweenMax. I'm just a super picky performance buff. So TweenLite and TimelineLite are very slightly faster than TweenMax and TimelineMax just because they don't have to worry about factoring in any repeats and a few other features, but the *Max tools are super fast too, so even if you had 100 things tweening at the same time, I doubt you'd ever notice the slightest difference. Use TweenMax without any guilt :)

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.