Problems with my animation plz help

i have a 2D platform game with a plane i wanna add animation to, a up and down wards tilt

This is the script im using to make it fly along the X & Y

function Update () {

var x = Input.GetAxis("Horizontal") * Time.deltaTime * PlayerSpeed;

var y = Input.GetAxis("Vertical") * Time.deltaTime * PlayerSpeed;

transform.Translate(x, y, 0);

and with my animation script i have this

function Update () { if (Input.GetAxis("Vertical") > 0.2)

animation.CrossFade ("Up");

else

animation.CrossFade ("Idle");

}

i dont know how to add the "Down" with out getting errors.i can only get the up key to work but . i cant move my plane around any more ? can some one please help me.im a new starter with this java script buti m trying to learn and its fustrating me.

Is it because of syntax errors? Do you have the correct brackets?

function Update () { 

  if (Input.GetAxis("Vertical") > 0.2) {

    animation.CrossFade ("Up");

  }

  else {

    animation.CrossFade ("Idle");

  }

}

it dos the same as the code i have. the plane is locked on the,position 0,0,0 where the plane is started, when i remove the animation script. i can fly my plane around on the X,Y is a configurable joint good or should i be using a charater controler ?