// Build Raw SWF Shape
ShapeBuilder builder = new ShapeBuilder(new Point());
builder.setUseFillStyle0(true);
builder.setCurrentFillStyle0(fsIndex);
builder.move(0, 0);
builder.straight(width, 0);
builder.straight(width, height);
builder.straight(0, height);
builder.straight(0, 0);
builder.correctRoundingErrors();