Dynamically break apart a graphic?

I’m trying to break apart a SWF vector graphic that has multiple sub-graphics grouped within it.

I know I can do this by right clicking it and selecting “Break Apart”, but is there any way to do this with actionscript, and then dynamically asign each part to a variable name so that I can manipulate each part seperately?