Can't make my character jump

I am creating a game in flash using spirte sheets of megaman and I have a problem setting up script to make him jump. I am able to have megaman run side to side and also shoot but I can not get him to jump. Here is a sample of my code:

var hspeed = 0;
var vspeed = 0;
var i = 0;
var d = 1;
stance = false;
jumpspeed = -10
gravity = 2
//var ob = _root.megaman;
//var keyPressed = false;
onEnterFrame = function(){
new_y = current_y - jumpspeed
jumpspeed = jumpspeed + gravity

_x = _x + hspeed
_y = _y + vspeed

//trace(_y);

if (Key.isDown(Key.RIGHT) ) {
hspeed = 5;
gotoAndPlay(“sr”);
shoot_right.gotoAndPlay(“s3”);
d = 1;
}

if (Key.isDown(Key.LEFT) ) {
hspeed = -5;
gotoAndPlay(“sl”);
shoot_left.gotoAndPlay(“l3”);
d = -1;
}

if (!Key.isDown(Key.LEFT) and !Key.isDown(Key.RIGHT)) {
hspeed = 0;
gotoAndStop(“init”);
shoot_right.gotoAndStop(“stance”);
}
if (Key.isDown(Key.SPACE) ){
if (!Key.isDown(Key.LEFT) and (!Key.isDown(Key.RIGHT))){
gotoAndPlay(“ss”);
}
//gotoAndPlay(“ss”);
_parent.fire();
}

/*if (!Key.isDown(Key.UP) and !stance and (vspeed < 0)) {
vspeed = 0;
}
_x+=hspeed;
_y+=vspeed;

if (_y < 400) {
vspeed++;
} else {
vspeed = 0;
stance = true;
}
if (Key.isDown(Key.UP) and stance) {
stance = false;
vspeed = -13;
gotoAndPlay(“jr”)
//jump_right.gotoAndPlay(“js”)
}

if (Key.isDown(Key.UP)){
vspeed = -50;
gotoAndPlay(“jr”)
jump_right.gotoAndPlay(“js”)

} else {
vspeed++;
vspeed = 0;
}*/

I have been trying to do two different methods but they do not seem to work. Any suggestions would be nice.