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

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

					topLeft, topRight, bottomRight, bottomLeft, SIDE_TOP);
			}
			
			if (borderWidth.right > 0 && borderStyle.right != 'none' && borderColor.right != 0)
			{
				topLeft.x = m_width;
				topLeft.y = 0;
