Tweener.addTween(target:Object, tweeningParameters:Object):Void
//
Tweener.addTween(a_mc, {x:470, y:80, time:1.5, _color:0xff0000, delay:1.5, onComplete:tweenFun2});
//
Tweener.addTween(a_mc, {
x:470,
y:80,
time:1.5,
_color:0xff0000,
delay:1.5,
onComplete:tweenFun2
});
//
var tweeningObj:Object = new Object();
tweeningObj.x = 470;
tweeningObj.y = 80;
tweeningObj.time = 1.5;
tweeningObj._color = 0xff0000;
tweeningObj.delay = 1.5;
tweeningObj.onComplete = tweenFun2;
//
Tweener.addTween(a_mc, tweeningObj);
//
var tweeningObj:Object = {x : 470, y : 80, time : 1.5, _color : 0xff0000, delay : 1.5, onComplete : tweenFun2};
//
Tweener.addTween(a_mc, tweeningObj);
沒有留言:
張貼留言