 		***************************************************************************/
 		protected function drawBorderInRect(color : AdvancedColor, style : String, 
 			width : Number, pt1 : Point, pt2 : Point, pt3 : Point, pt4 : Point, 
-			side : Number) : void
+			side : int) : void
 		{
 			var colorValue : int = 0;
 			var opacityValue : int = 1;

					topLeft, topRight, bottomRight, bottomLeft, SIDE_RIGHT);
			}
	
			if (borderWidth.bottom > 0 && borderStyle.bottom != 'none')
			{
				topLeft.x = 0;
				topLeft.y = m_height;

			var order : Array = ['borderTopLeftRadius', 'borderTopRightRadius', 
				'borderBottomRightRadius', 'borderBottomLeftRadius'];
	
			var i : int;
			var radiusItem : Number;
			for (i = 0; i < order.length; i++)
			{
