comunque per fare un esempio semplice semplice...

var c = this.createEmptyMovieClip("c", 1);
c.beginFill(0x00cc00, 100);
c.moveTo(100, 0); // make big rectangle
c.lineTo(200, 0);
c.lineTo(200, 70);
c.lineTo(100, 70);
c.lineTo(100, 0);
c.endFill();

var f = this.createEmptyMovieClip("f", 2);
f.beginFill(0x000000, 100);
f.moveTo( 0, 4 );
f.curveTo(4, 4, 4, 0);
f.curveTo(4, -4, 0, -4);
f.curveTo(-4, -4, -4, 0);
f.curveTo(-4, 4, 0, 4);
f.moveTo( 0, 5 );
f.curveTo(5, 5, 5, 0);
f.curveTo(5, -5, 0, -5);
f.curveTo(-5, -5, -5, 0);
f.curveTo(-5, 5, 0, 5);
f.endFill();
f._x = 150;
f._y = 30;
// c.setMask( f );

prima vedete com'e' senza l 'ultima riga, poi decommentatela .. invece del bordo c'e' tutto il cerchio ...