2009-09-10

Tweenerの終了時に処理を実行する

import caurina.transitions.Tweener;

Tweener.addTween(this, {time:1, transition:"easeOut", onComplete:onCompleteTest, onCompleteParams:["test", 100]});

function onCompleteTest(str:String, num:uint):void {
 trace(str);
 trace(num);
}

No comments:

Post a Comment