Jump to content
Search Community

Determining whether TweenLite is tweening

chopstx test
Moderator Tag

Recommended Posts

What's the best way to determine whether TweenLite is currently tweening?

I noticed TweenMax has a function called isTweening - is there an equivalent for TweenLite?

 

Also, is there a way to killAll tweens for TweenLite? Will TweenLite.kill do this?

 

Thanks

Link to comment
Share on other sites

There is no isTweening() equivalent in TweenLite - remember, one of the primary goals in TweenLite was to keep file size to a minimum and only include the essentials. TweenMax is the more feature-packed big brother with the bells & whistles.

 

And yes, you can use TweenLite.killTweensOf() to kill ALL the tweens of a particular object anytime. If you want to only kill a particular tween, use its kill() method like myTween.kill().

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