2 errors im stuck on.

Im trying to make a strategy camera from following a 1 year old tutorial that is using unity3 but im using unity4. Im getting this error for 2 lines: “No appropriate version of unity.MathF.SmoothDamp’ for the argument list (float, System Object, float) was found”
ERROR CODE:

var lookSensitivity		:	float = 3;
@HideInInspector
var currentYRotation	:	float;
@HideInInspector
var	currentXRotation	:	float;
@HideInInspector
var yRotationV			:	float;
@HideInInspector
var xRotationV			:	float;
@HideInInspector
var	yRotation			:	float;
@HideInInspector
var xRotation			:	float;
var cameraRotationSpeed	:	float = 0.5;
var cameraTiltSpeed		: 	float = 0.5;
var maxCameraAngle		:	float =	40;
var minimumCameraAngle	:	float = 50;	
var lookSmoothDamp		:   float = 0.2;

function Update () 
{
    currentXRotation	=   Mathf.SmoothDamp(currentXRotation, xRotation.xRotationV, lookSmoothDamp);
}

Also i have this error "The Type 'UnityEngine.Vector2.does not have a visible constructor that matched the argument list ‘(System.Object)’.
ERROR CODE.

var movementAccel			:	float	=	10000;
var movementSlowDownSpeed	:	float	=	0.1;
var movementSlowDownSpeedx	:	float;
var	movementSlowDownSpeedz	:	float;

var	cameraObj				:	GameObject;
var	maxMovementSpeed		:	float 	= 	25;
var	horizontalMovement		:	Vector2;	
var maxSlope                        :       float = 90;

function LateUpdate () 
{
horizontalMovement = Vector2(rigidbody.velocity.x.rigidbody.velocity.z);   
}

I would be thankfull if anyone can share there knowledge on this and teach me how to fix it.

Here is the solution of second error you are getting about Vector2

You are missing a comma in line 13 it should be

horizontalMovement=Vector2(rigidbody.velocity.x,rigidboy.velocity.y); 

and not

horizontalMovement = Vector2(rigidbody.velocity.x.rigidbody.velocity.z);

And For the error in MathF.SmoothDamp you are using this code

Mathf.SmoothDamp(currentXRotation, xRotation.xRotationV, lookSmoothDamp);

There is mistake in your second argument that is xRotation.xRotationV. It should not be like that. Mathf.SmoothDamp takes this arguments actually

Mathf.SmoothDamp(float current, float target, ref float current velocity,float smoothtime);

It actually also overrides with other two arguments they are

 Mathf.SmoothDamp(float current, float target, ref float current velocity,float smoothtime,float maxSpeed);

And

Mathf.SmoothDamp(float current, float target, ref float current velocity,float smoothtime,float maxSpeed,float deltatime);

Do remember each and every argument in Mathf.SmoothDamp is float.