[COLOR=#800080][COLOR=#000000][SIZE=2]How can I clear, reset, stop or unload a tween that is active? I want to reset also the thumbnail_mc._x to 22. So if an new XML loads the thumbnail_mc._x will be on 22 without interfair of the tweenanimationClass that is active. stop won’t work…[/SIZE][/COLOR][/COLOR]
(flash 8 as2)
[COLOR=#800080][SIZE=2][COLOR=#800080]import mx.transitions.Tween;[/COLOR][/SIZE]
[SIZE=2][COLOR=#800080]import mx.transitions.easing.*;[/COLOR][/SIZE]
[SIZE=2][COLOR=#800080]var tween1:Tween = new Tween(thumbnail_mc, “_x”, Strong.easeOut, thumbnail_mc._x, -menu, 50, false);[/COLOR][/SIZE]
stopTween_btn.onRelease = function() {
animTween.stop();
trace(“click”);
};
[SIZE=2][COLOR=#800080]thanks![/COLOR][/SIZE]
[/COLOR]