override protected function drawRowBackground(s:Sprite,rowIndex:int,y:Number,height:Number,color:uint,dataIndex:int):void
{
super.drawRowBackground(s,rowIndex,y,height,color,dataIndex);
var bg:Shape = Shape(s.getChildAt(rowIndex));
//此外为了显示虚线~使用一个while来循环来模拟虚线效果~
var p:Number = 0;
bg.graphics.lineStyle(1,0xCCCCCC);
while(p < listContent.width)
{
bg.graphics.moveTo(p,height-1);
bg.graphics.lineTo(p+4,height-1);
p += 6;
}
}