package skins.Common { import flash.display.GradientType; import flash.geom.Matrix; import mx.skins.ProgrammaticSkin; public class TextAdsTitle extends ProgrammaticSkin { override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { graphics.clear(); var matrix: Matrix = new Matrix(); matrix.createGradientBox(unscaledWidth, unscaledHeight, 0); drawRoundRect(0,0, unscaledWidth, unscaledHeight, 0, getStyle('fillColors'), [1, 0.4], matrix, GradientType.LINEAR, [127, 255] ); } } }