You have a class with a public DOC (DisplayObjectContainer).

This DOC contains all the visual assets of your class.

In you refresh/reset/constructor method, do you use either:

container = null;

or a loop to manually remove all display objects within the container, eg:

if (container != null)
{
    if (container.numChildren > 0)
    {
        for (var i = 0; i < container.numChildren; i++)
        {
            container.removeChildAt(i);
        }
    }
}

Um ... that's it.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to