Enumerating Movie clips

Hey guys,

Its been a while since ive posted in the help forum hehe and its been a while since i touched flash but i have a flash MX 2k4 Question…

Is there an easy way to enumerate Movie clips?
I want to be able to drop a few MC’s in another MC and dyanmically loop thru all of those mc’s to do something. I didnt know if macromedia had that functionality…

ex:

MainMC
>> SubMC1
>> SubMC2

I want to be able to just drop 5 or 500 mc’s into the MC and have the code enumerate thru the ones that are there.

Anybody have any ideas?