2 Replies Latest reply on Aug 17, 2007 11:00 AM by Flexspert

    Release a class instance

      Hello guys.

      It's a simple question but I could'nt find an answer.

      How can I release a class instance in Actionscript 3?

      For example, if I create an instance like this:

      var bar:BarChart = new BarChart();

      How can I free the memory and destroy the bar instance?? I tried using the delete operator, but the compiler says bar is a fixed property and cannot be destroyed.