Skip to main content
Participant
December 23, 2021
Question

Hi how to removeallchild js adobe animate

  • December 23, 2021
  • 1 reply
  • 304 views

Hi how to removeallchild js adobe animate

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    December 23, 2021

    Hi.

     

    - Stop the current timeline by calling the stop method if it has only one frame;

    - Call the removeAllChildren method on the parent.

     

    this.stop(); // it's needed if your current timeline has only one frame
    this.removeAllChildren(this.yourContainer);

     

     

    I hope it helps.

     

    Regards,

    JC

     

    Participant
    December 23, 2021

    Hi 

    Its not work 

    can you send example    

     

    please show file 

    Participant
    December 23, 2021

    https://drive.google.com/file/d/1BRTffs5IDl-7rdCbfBDHDNIMJKCMD-nV/view?usp=sharing

     

    Hi 

    Its not work 

    can you send example    

     

    please show file