# Slice/Break Circle into pieces in Actionscript?

**URL:** <https://forum.kirupa.com/t/slice-break-circle-into-pieces-in-actionscript/309254>\
**Category:** flash\
**Created:** [May 11, 2010, 1:07am UTC](https://forum.kirupa.com/t/slice-break-circle-into-pieces-in-actionscript/309254 "2010-05-11T01:07:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcabaco](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@tcabaco](https://forum.kirupa.com/u/tcabaco)\
**Post date:** [May 11, 2010, 1:07am UTC](https://forum.kirupa.com/t/slice-break-circle-into-pieces-in-actionscript/309254/1 "2010-05-11T01:07:40Z")

</div>

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:  
 ![](http://tiagocabaco.com/other/circle_sliced.png)

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! 🙂  
Thanks in advance.
