-
AS3でTweenを使う
こちらもメモメモ!参考にさせていただきます!!
import fl.transitions.*; import fl.transitions.easing.*; var tw = new Tween(mc, "x", Strong.easeOut, mc.x, mc.x+400, 3, true); tw.start(); mc.buttonMode = true; mc.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDownHandler); function onMouseDownHandler(e:MouseEvent){ tw.yoyo(); }AS3でTweenを使う
feb19.jp blog - AS3でTweenを使う
- BROWSE / IN TIMELINE
- « 外部クラスを作る(ActionScript3.0)
- - main
- » 1190 RC8
SPEAK / ADD YOUR COMMENT
- TRACKBACK / URL
このページのトップへ