Share Posted February 20, 2010 Is it necessary to null a tween created with the new keyword? or just use kill() ? thanks Link to comment Share on other sites More sharing options...
Share Posted February 20, 2010 Internally in TweenLite, kill() is all you need to do, but in AS3 in general, it's typically a good practice to null your variables so that their reference becomes eligible for garbage collection. Again, that has nothing to do specifically with TweenLite/Max - it's just how AS3 works for all non-local variables. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now