0 Replies Latest reply on Aug 30, 2007 4:37 PM by

    Destroying Variables

      ok, I have written a program with a few states but I don't want to have the information for states that users will only see momentarily being loaded into the ram.

      Therefore; How do i destroy a variable/object? Thus making it as though it never existed? (ie when the state is next entered, any elements inside it with a creationcomplete event handler will fire etc)

      Edit:

      Of course I've read the livedoc about object creation/deletion, however, does this work on states as mxml constructs it as <mx:addchild

      ?