[MX04] Remove subclips of clip

Hi board,

I have a movieClip on stage _root.myClip. I have attached several clips to this clip. Now after some random amount of time I need to remove all these clips. One catch though I can’t remove the original clip and I dunno if its a good practice to store movieClip references in arrays for later retrieval cause there are gonna be around 1000+ subclips at any given point of time. (This is the logic so I cant change that)

I have also tried for-in loop but it doesnt work for me. I doesn’t remove all the clips and also removes functions if there are any. I tried to check for funtions with typeof but it returns “string” not “function”.

Any alternate stratergy?

What are the memory specifications for Flash MX 2004 Pro? I mean how much memory does flash take for references like C takes 4 bytes for a pointer

Thanks

Cruiser