我想獲得一個影片剪輯,當我從它mouse_out(它在mouse_over上播放)反向播放。Flash - 播放影片剪輯反向?
我的動作如下:
mc.stop();
mc.addEventListener(MouseEvent.MOUSE_OVER,mover);
mc.addEventListener(MouseEvent.MOUSE_OUT,mout);
function mover(e:MouseEvent):void
{
mc.play();
}
function mout(e:MouseEvent):void
{
//Play in reverse
}
我將如何實現這一目標?
感謝
非常感謝您的工作! – Probocop 2010-01-12 15:08:56
沒問題。如上所示,您可以嘗試使用內置的Tween類或其他補間庫。關於ENTER_FRAME方法最好的事情是,無論幀速率如何,您的動畫都會向後或向前花費相同的時間量。 – sberry 2010-01-12 15:12:57