Slice/Break Circle into pieces in Actionscript?

Hi
I’m looking into building a navigation system that revolves around the shape of a circle and each link is a slice of that circle. I could build it graphically and/or in the timeline, but the thing is that I’ll have the links pulled from an XML file so it can be 3 or 6, or 9…

Example:

So any ideas on how to dynamically create a circle and slice it up depending on the number of arguments on an XML file?
No need to add the XML part and all that. That I know. I could just use help with the “Create the Sliced Circle” part! :slight_smile:
Thanks in advance.