Example:
Code:
var t1;
t1 = new Tween(sprite,'alpha',Tween.elasticEaseOut,1,0,4,onTweenComplete);
t1.start();
function onTweenComplete()
{
sprite.alpha(1);
t1 = new Tween(sprite,'x',Tween.elasticEaseOut,0,100,4,onTweenComplete);
t1.start();
}
No comments:
Post a Comment