i have a canvas project created by Animate CC , i need to add "onComplete" event to a movie clip generated from Animate CC canvas project , the solution present from createjs site :
target.alpha = 1;
createjs.Tween.get(target)
.wait(500)
.to({alpha:0, visible:false}, 1000)
.call(handleComplete);
function handleComplete() {
//Tween complete
}
i don't want to modify the js file generated by Animate CC , but i could not find a way to hock to movie clip tween I've tried to access exportRoot.MyMovieClipInstanceName.timeline to get the tween but with not lock
regards