Array with all MovieClips

Is there a build in function within flash to get all the mc’s paths/names in a swf file in an array? I want to build a function to see how many frames these mc’s are and calculate the total movie length.

Thanks in advance,
Tijs