Create Rounded Corners Rectangle with Actionscript 3.0 – AS3
import flash.display.*;
function round_rectangle(){
var shape:Shape = new Shape();
addChild(shape);
shape.graphics.beginFill(0xFF0000FF, 1.0);
shape.graphics.drawRoundRect(50, 10, 200, 100, 30, 30);
shape.graphics.endFill();
}
round_rectangle();