チェンジセット 2289

差分発生行の前後
無視リスト:
コミット日時:
2009/02/18 01:15:56 (3 年前)
コミッタ:
yossy
ログメッセージ:

BetweenAS3: イージング Cubic 追加

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/BetweenAS3/trunk/tests/fp10/TweenTest.as

    r2287 r2289  
    3434        import flash.events.MouseEvent; 
    3535        import org.libspark.betweenas3.BetweenAS3; 
     36        import org.libspark.betweenas3.easing.Cubic; 
    3637        import org.libspark.betweenas3.easing.Exponential; 
    3738        import org.libspark.betweenas3.easing.Linear; 
     
    8485                                ), 
    8586                                BetweenAS3.serial( 
    86                                         BetweenAS3.tween(mc2, {$x: 100}, null, 1, Linear.easeNone), 
    87                                         BetweenAS3.tween(mc2, {$y: 100}, null, 1, Linear.easeNone), 
    88                                         BetweenAS3.tween(mc2, {$x: 0}, {$x: 100}, 1, Linear.easeNone), 
    89                                         BetweenAS3.tween(mc2, {$y: 0}, {$y: 100}, 1, Linear.easeNone
     87                                        BetweenAS3.tween(mc2, {$x: 100}, null, 1, Cubic.easeOut), 
     88                                        BetweenAS3.tween(mc2, {$y: 100}, null, 1, Cubic.easeOut), 
     89                                        BetweenAS3.tween(mc2, {$x: 0}, {$x: 100}, 1, Cubic.easeOut), 
     90                                        BetweenAS3.tween(mc2, {$y: 0}, {$y: 100}, 1, Cubic.easeOut
    9091                                ) 
    9192                        );