Question
Dispose of a Tween
So I have a clip in my library set to export as "sample" and
then this code. (AS2, published for Flash 8, although if there are
differences in the AS3 Tween class I would like to hear about it.)
There doesn't seem to be an explicit method for removing or deleting tweens. It seems that doing a Tween.stop(); and then delete scope.Tween; works.
My guess is that internally tween is using the onEnterFrameBeacon and some addListener. When you stop, there is some removelistener, and while the tween instance still exists it will be removed with the removeMovieClip.
Is that it? Is there anything more I should be aware of.
There doesn't seem to be an explicit method for removing or deleting tweens. It seems that doing a Tween.stop(); and then delete scope.Tween; works.
My guess is that internally tween is using the onEnterFrameBeacon and some addListener. When you stop, there is some removelistener, and while the tween instance still exists it will be removed with the removeMovieClip.
Is that it? Is there anything more I should be aware of.
