CA> I've got this thing with a bunch of checkboxes created through
CA> createClassObject sitting in a movieclip.
CA> Problem is, I don't know how to get rid of them once I'm done with them 
CA> (they're based on filtered data, so I need to update them).
CA> Of course there's destroyObject(), but that only works with the id of the 
CA> object?
CA> 
CA> Can I iterate through the checkboxes in the movieclip and delete them all?

Actualy you can iterate through the variables of a movieclip
(including the instance names of child movieclips) with a for..in loop
and test for their type and class (see typeof and instanceof), but
putting the checkbox references into an array when you create them and
iterating through this array later seems to be far more elegant.

  Attila

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to