0 Replies Latest reply on Apr 22, 2016 10:20 AM by Gzod

    Reset a variable and dynamically delete instances on stage

    Gzod

      Hi,

       

      http://www.spgmediadesign.com/banners/delayeddisplay(3).zip

       

      I have a banner animation creating a duplicated tiled pattern.

       

      But when the MAIN STAGE animation loops and starts again the boxes continue on - instead of starting again from 0.

       

      I want the boxes to start duplicating again from scratch at the beginning of the MAIN timeline animation.

       

      I presume it will have to
      reset the variable
      and/or
      dynamically delete the instances on stage.

       

      I don't want to use window.location.reload(); as I don't want the WHOLE page reloading.

       

      The boxes have to be created in the same way as the attached.

       

      Would be much appreciated.

       

      Cheers

      James