Цитата:
|
Сообщение от Ведьмак
2 Crazy Flasher: а подскажи метод или свойство класса Tween позволяюшее проскакиать кадры... Мне как-то кажется, что речь идет именно о классе tween...
|
Tween.nextFrame()
Forwards the tweened animation to the next frame.
Ну даже без этого метода у меня поучилось следующее:

Код:
currentBallX = 0;
tween_time = 60;
btn.onRelease = function() {
currentBallX = ball_mc._x;
new mx.transitions.Tween(ball_mc, "_x", mx.transitions.easing.Elastic.easeOut, currentBallX, 400, tween_time, true);
tween_time = tween_time / 2;
}