Yes, my code was pretty ugly...
I found out something better, and I'll keep your advice in mind :-)

Thx for responding :-)

--- In [email protected], "Paul Andrews" <[EMAIL PROTECTED]> wrote:

> 
> Think very hard about changing your strategy completely. Having to keep 
> track of all those ids to remove items from the display list is totally 
> unnecessary and makes for difficullt to follow code. Check out 
> removeChild()       ( 
>
http://livedocs.adobe.com/flex/2/langref/flash/display/DisplayObjectContainer.html#removeChild()
) 
> .
> 
> Paul
> 
> snip
>


Reply via email to