比较少见的绘制虚线的方法
import flash.display.Shape;
var separatorShape:Shape = new Shape();
var bitmapFill:BitmapData = new BitmapData(2,1,true,0);
bitmapFill.setPixel32(0, 0, 0xFF999999);
var g:Graphics = this.separatorShape.graphics;
g.clear();
g.beginBitmapFill(bitmapFill);
g.drawRect(0, 0,100, 1);
g.endFill();
separatorShape.y = 20;
addChild(separatorShape);