Skip to main content
Participant
Dec 23, 2021 4:13 PM UTC
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
    Dec 23, 2021 10:06 PM UTC

    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
    Dec 23, 2021 11:07 PM UTC

    Hi 

    Its not work 

    can you send example    

     

    please show file 

    Translate
    Participant
    Dec 23, 2021 11:10 PM UTC

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

     

    Hi 

    Its not work 

    can you send example    

     

    please show file 

     

     

    Translate