Jump to content
Search Community

TweenNano killTweensOf array not working

Chris test
Moderator Tag

Recommended Posts

Hi,

 

For some reason:

 

TweenNano.killTweensOf([cloud1_mc, cloud2_mc, cloud3_mc]);

 

...is not working, but:

 

 

TweenNano.killTweensOf(cloud1_mc);
TweenNano.killTweensOf(cloud2_mc);
TweenNano.killTweensOf(cloud3_mc);

 

....is working. I read in the docs that Nano also supports arrays. Any ideas?

 

-Chris

Link to comment
Share on other sites

  • 1 month later...

You must be using an older version. (v11)

The newest version supports it, as Jack points out.

Why don't you try re-downloading it just to be sure and try it again?

Or maybe the array you are passing is an array of arrays? Put a breakpoint and check exactly whats going in.

In the worst case step through the killTweensOf function and see what's happening.

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