回调

设置 onComplete,动画在结束后会执行它:

action.onComplete = function (tween, object) {
  console.log('the action is completed.');
};