// WITH base, using an array of base objects: import caurina.transitions.Tweener; import flash.display.MovieClip; import flash.events.MouseEvent; var aOri:Object = {x:a_mc.x, y:a_mc.y, transition:"easeInOutBounce", time:2}; var myFade:Object = {x:450, time:1}; Tweener.addTween(a_mc, {base:myFade, y:300}); a_mc.addEventListener(MouseEvent.CLICK, oriFun); function oriFun(e:MouseEvent){ Tweener.addTween(e.currentTarget, aOri); }
2010年11月2日 星期二
[AS3] Tweener類別_Tweening Parameters>>base
SWF瀏覽
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言