1 Reply Latest reply: Apr 5, 2012 8:50 AM by kglad RSS

    How do you delete all dynamic variables of a movieclip?

    prodigalmaster Community Member

      I have the movieclip:
      mcGrazer

      with quite a few dynamic variables like this:

      mcGrazer.var1

      mcGrazer.var2

      etc.

       

      If I use:

      delete mcGrazer;

      it doesn't delete the variables.

      But if I use:

      delete mcGrazer.var1

      it deletes that individual variable.

       

      is there a way to destroy all information (variables) of a particular movieclip?

       

      Thanks.