Jump to content
Search Community

Nan Say

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Nan Say

  1. Hi All, I am using TimelineLite to play a punch of animation. I have a timeline and wanted to call a function oncomplete something eg. timelineName = new TimelineLite(); timelineName.pause(); timelineName.to($('#someID"), 1, {display: 'block', onComplete: start() }); function start() { timelineName.restart(); } Its cause the error "Uncaught TypeError: Cannot read property 'restart' of undefined" Do I miss something? Thanks,
×
×
  • Create New...