Copy link to clipboard
Copied
hi,
I have one animation banner, but i need end of the frame stop all moveclip animation.
i use more moveclip and instead animations same banner.
Please tell me how to stop all animations.
this.stop(); function not working.
thnks
Try using this:
/*
Stop the complete animation.
*/
createjs.Ticker.removeEventListener('tick', stage);
Copy link to clipboard
Copied
Try using this:
/*
Stop the complete animation.
*/
createjs.Ticker.removeEventListener('tick', stage);
Copy link to clipboard
Copied
Bear in mind, that's somewhat like taking a nap by shooting yourself in the head. It will permanently stop everything.
Granted, that may be exactly what's needed in this particular situation. If not, as far as I'm aware there is no automatic way to issue a stop command to every movie clip. You'd have to do it manually, targeting every single movieclip in code.
Copy link to clipboard
Copied
hi sir,
very thanks,
this is working.