Store checkbox status in array

hai all…

i hope here i will get answer quickly…

i have a movie. inside that i am attaching movieclips dynamically with attachmovie. inside that movieclip i place the checkbox component. what i want is i need the status of the checkbox component in each movieclip store in array. becoz after checking the checkbox i am going to deleting the movieclips with delete button.

is it possible…any flashguru is here to expalain in mx2004 as2.0

like yahoo and hotmail having the mail list with the check box. to delete the mail we will check the checkbox and delete button…

anybody…

Flashmani

something like this…

for (var i in yourarray) {
if (yourarray*.checkbox.value == true) delete yourarray*.object;
}