1 out of 4 function calls from a MouseEvent results in the
MovieClip getting 'stuck' somewhere in the tween. As if it's not
finishing. Has anyone else experienced this? Or am I using the
Tween class wrong?
private function tweenStyle(event:Event):void
var scaleYTween:Tween = new Tween( MovieClip, "scaleY",
Strong.easeOut, 0, 1, .5, true );
Note: Consider variable scope when using the Tween class. If
a tween is created in a function, it is important that the
variable's scope exists beyond the function itself. If a tween is
stored to a variable of local scope, ActionScript garbage
collection removes the tween as the function completes, which will
likely be before the tween has even begun.
Yeah, after making my Tweens class members, no