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,