Skip to main content
Participant
December 23, 2021
Question

Hi how to removeallchild js adobe animate

Hi how to removeallchild js adobe animate

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    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

     

    Translate
    Participant
    December 23, 2021

    Hi 

    Its not work 

    can you send example    

     

    please show file 

    Translate
    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 

     

     

    Translate