fant lige det her spørgsmål:
http://eksperten.dk/spm/548881, hvor der ligger kode fra et gammel thulstrup
ur,, der er alle cirkel udsnit du skal bruge, så skal den bare skrives lidt om så du får de lige sider med.
circle = function (obj, thex, they, theradius, lineW, lineColor, fillColor, fillAlpha) {
var x, y, r, u, v;
x = thex;
y = they;
r = theradius;
u = r*0.4086;
v = r*0.7071;
if (lineW != '') {
obj.lineStyle(lineW, lineColor, 100);
}
if (fillColor != undefined || fillColor != '') {
obj.beginFill(fillColor, fillAlpha);
}
obj.moveTo(x-r, y);
obj.curveTo(x-r, y-u, x-v, y-v);
obj.curveTo(x-u, y-r, x, y-r);
obj.curveTo(x+u, y-r, x+v, y-v);
obj.curveTo(x+r, y-u, x+r, y);
obj.curveTo(x+r, y+u, x+v, y+v);
obj.curveTo(x+u, y+r, x, y+r);
obj.curveTo(x-u, y+r, x-v, y+v);
obj.curveTo(x-r, y+u, x-r, y);
if (fillColor != undefined || fillColor != '') {
this.endFill();
}
};