var colorInfo:ColorTransform = new ColorTransform(); colorInfo.color = 0xFF1122; ball.transform.colorTransform = colorInfo;