...whoops, how I did it:
make a circle in illustrator (large)
Make two smaller circles, placed them centered on the top and bottom with middle alignment
While they're selected, double click your rotate tool and select 45 or 22.5 degrees, hit copy -- repeat.
Select all the smaller circles and combine them, then using pathfinder, cut them out of the bottom circle.
For the squared off ones, replace the smaller circle with a square that has extra points on the sides (to keep the angle perfect from the middle), and move the bottom right and left nodes in at an exact measurement (go to your preferences, change the nudge to something small, select the nodes and just click your left or right arrow key according to need).
I use flash, but I couldn't remember if it had the rotate feature the same, so I just did it in illustrator while it's open. Essentially, probably close to the same thing. However, this is why I just use flash for animation/actionscript and build in illustrator, my own weakness