I am a newb in need of help

I am making a platform game for my little brother and I can’t get the screen to follow the character can anyone help??
Here is my walking code for the character:

onClipEvent (load) {
vel_y = 0;
started = true;
jumping = false;
xspeed = 5;
this.stop();
_quality = "low";
}
onClipEvent (enterFrame) {
if (started) {
if (move) {
if (Key.isDown(Key.LEFT)) {
	this.gotoAndStop("run");
	this._xscale = -100;
}
if (Key.isDown(Key.RIGHT)) {
	this.gotoAndStop("run");
	this._xscale = 100;
}
if (Key.isDown(Key.DOWN)) {
	this.gotoAndStop("duck");
	xspeed = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (started) {
if (Key.isDown(Key.LEFT)) {
this._x -= xspeed;
}
if (Key.isDown(Key.RIGHT)) {
this._x += xspeed;
}
if (Key.isDown(Key.UP) && !jumping) {
this.gotoAndStop("jump");
move = false;
vel_y = 17;
jumping = true;
}
if (jumping == true) {
vel_y -= 1;
if (vel_y<=-17) {
	vel_y = -17;
}
this._y -= vel_y;
}
if (!_root.ground.hitTest(this._x, this._y+15, true) && !jumping) {
fall += 1;
move = false;
this.gotoAndStop("jump");
if (fall>17) {
	fall = 17;
}
this._y += fall;
}
if (_root.ground.hitTest(this._x, this._y+15, true)) {
if (vel_y<=1) {
	fall = 0;
	vel_y = 0;
	jumping = false;
	this.jump.gotoAndStop(2);
	move = true;
}
}
onClipEvent (keyUp) {
if (move) {
if (Key.getCode() == Key.RIGHT) {
this.gotoAndStop("idle");
}
if (Key.getCode() == Key.LEFT) {
this.gotoAndStop("idle");
}
if (Key.getCode() == Key.DOWN) {
this.gotoAndStop("idle");
xspeed = 5;
}
}
}
onClipEvent (enterFrame) {
if (this._x<20) {
this._x = 20;
}
if (this._y<0) {
this._y = 0;
}
if (this._y>500) {
this._y = 500;
started = false;
song.stop();
}
if (this._x>2000) {
this._x = 2000;
}
if (_root.ground.hitTest(getBounds(_root).xMax, _y, true)) {
_x -= xspeed;
}
if (_root.ground.hitTest(getBounds(_root).xMin, _y, true)) {
_x += xspeed;
}
}

and does anyone know how to make the kirupas example take up the whole stage instead of being in a small area??

i am a major newb so yeh 1 more thing how would i make it so when my character hits the water, which has an instance name of water, they die and it restarts? or even if there was a way of having lives?

CHEERS