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)
{
var n: Number = container.numChildren;
while ( n-- ) {
container.removeChildAt(n);
}
sounds better ;) less problems when you start from the bottom is my
experience.
You have a class with a public DOC (DisplayObjectContainer).
This DOC contains all the visual assets of your class.
In you
Nice(r)
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Weyert de
Boer
Sent: vrijdag 20 februari 2009 14:35
To: Flash Coders List
Subject: Re: [Flashcoders] Display Object Container refresh ...
var n
3 matches
Mail list logo