Frame 1
function itemHandler(obj, item) {
getURL ("http://www.nbstuff.com", "_blank");
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
_root.menu = root_cm;
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
root_cm.customItems.push(new ContextMenuItem("mmm, nbstuff", itemHandler));
_root.menu = root_cm;
Frame 11
_root.lolza = new Sound();
_root.lolza.attachSound("menuloop.wav");
_root.lolza.start(0, 99999);
_root.lolza.setVolume(100);
Frame 149
_root.tries = 2;
Frame 170
stop();
Frame 171
stop();
Frame 172
training = false;
Frame 173
stop();
trickList = "Tricks:";
CS = 0;
space = false;
moveSpeed = 0;
charge = true;
trick = false;
count = 0;
downSpeed = 0;
jumping = false;
score = 0;
rotatSpeed = 0.4;
treeMove = true;
_root._quality = "MEDIUM";
_root.lolza.stop();
_root.spilloop = new Sound();
_root.spilloop.attachSound("spillloop.wav");
_root.spilloop.start(0, 99999);
_root.spilloop.setVolume(100);
Instance of Symbol 99 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - (_root.downSpeed / 2);
this._y = this._y + (_root.jumpSpeed / 2);
}
}
onClipEvent (load) {
Q = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) && (Q == false)) {
_root._quality = "LOW";
Q = true;
} else if (Key.isDown(81) && (Q == true)) {
_root._quality = "MEDIUM";
Q = false;
}
}
Instance of Symbol 101 MovieClip "skyer" in Frame 173
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
}
onClipEvent (enterFrame) {
if (this._y <= -335.9) {
this._y = 65.1;
}
}
Instance of Symbol 101 MovieClip "skyer" in Frame 173
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 150 MovieClip "mann" in Frame 173
onClipEvent (load) {
_root.jumpSpeed = 0;
combo1 = false;
combo2 = false;
CD = true;
XD = true;
ZD = true;
Z1 = 0;
L1 = 0;
L2 = 0;
X2 = 0;
Z2 = 0;
X = false;
Z = false;
C = false;
speed = 0.2;
}
onClipEvent (enterFrame) {
this._x = this._x + _root.moveSpeed;
}
onClipEvent (enterFrame) {
if (((!this.hitTest(_root.bakke)) && (_root.jumping == false)) && (!this.hitTest(_root.brett))) {
_root.jumping = true;
_root.downSpeed = _root.downSpeed + 0.1;
_root.trick = true;
this._y = this._y + _root.downSpeed;
}
}
onClipEvent (enterFrame) {
if (((Key.isDown(38) && (this.hitTest(_root.brett))) && (_root.jumping == false)) && (_root.moveSpeed >= 5)) {
_root.jumpSpeed = _root.moveSpeed / 2;
_root.jumping = true;
_root.trick = true;
}
if (_root.jumping) {
this._y = this._y - _root.jumpSpeed;
_root.jumpSpeed = _root.jumpSpeed - speed;
}
if (jumping && (this.hitTest(_root.ground))) {
_root.jumpSpeed = 0;
_root.jumping = false;
}
if (this._y >= 205.4) {
this._y = 205.4;
_root.charge = false;
}
if (this._x >= 335.6) {
this._x = this._x - _root.moveSpeed;
}
}
onClipEvent (enterFrame) {
if (_root.jumping == true) {
_root.mann["l\u00F8pe"].gotoAndStop("stupe");
}
}
onClipEvent (load) {
_root.Lrotat = 0;
Rrotat = 0;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + _root.Lrotat;
}
onClipEvent (enterFrame) {
_root.Lrotat = _root.Lrotat + 0.3;
}
onClipEvent (enterFrame) {
if (_root.Lrotat >= 0) {
_root.Lrotat = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.trick == true)) {
_root.Lrotat = _root.Lrotat - _root.rotatSpeed;
_root.score = _root.score + 20;
}
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + Rrotat;
}
onClipEvent (enterFrame) {
Rrotat = Rrotat - 0.3;
}
onClipEvent (enterFrame) {
if (Rrotat <= 0) {
Rrotat = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (_root.trick == true)) {
Rrotat = Rrotat + _root.rotatSpeed;
_root.score = _root.score + 20;
_root.count = _root.count + 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (Key.isDown(37) && (_root.trick == true))) {
Rrotat = Rrotat + 0;
_root.score = _root.score - 10;
_root.count = _root.count + 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.trick == true)) {
this.gotoAndStop("crouch");
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((Key.isDown(90) && (_root.trick == true)) && (X == false)) && (C == false)) {
this.gotoAndStop("Z");
_root.CS = 0;
Z1 = 10;
Z = true;
_root.score = _root.score + 10;
} else {
Z = false;
}
}
onClipEvent (enterFrame) {
if (((Key.isDown(88) && (_root.trick == true)) && (Z == false)) && (C == false)) {
this.gotoAndStop("X");
X = true;
_root.score = _root.score + 10;
} else {
X = false;
}
}
onClipEvent (enterFrame) {
if (((Key.isDown(67) && (_root.trick == true)) && (X == false)) && (Z == false)) {
this.gotoAndStop("C");
C = true;
_root.score = _root.score + 10;
} else {
C = false;
}
}
onClipEvent (enterFrame) {
if (Z1 <= 0) {
Z1 = 0;
}
if (L1 <= 0) {
L1 = 0;
}
if (L2 <= 0) {
L2 = 0;
}
if (Z2 <= 0) {
Z2 = 0;
}
if (X2 <= 0) {
X2 = 0;
}
}
onClipEvent (enterFrame) {
Z1 = Z1 - 1;
L1 = L1 - 1;
L2 = L2 - 1;
}
onClipEvent (enterFrame) {
if ((((Key.isDown(67) && (_root.trick == true)) && (X == false)) && (Z == false)) && (Z1 >= 0)) {
trace("COMBO");
combo2 = true;
_root.combo._visible = true;
this.gotoAndStop("combo1");
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
L1 = 5;
}
if ((Key.isDown(39) && (L1 >= 0)) && (!Key.isDown(37))) {
_root.CS = 0;
L2 = 10;
}
if ((((Key.isDown(88) && (_root.trick == true)) && (Z == false)) && (C == false)) && (L2 >= 0)) {
combo1 = true;
_root.combo._visible = true;
this.gotoAndStop("combo2");
}
}
onClipEvent (enterFrame) {
Z2 = Z2 - 1;
X2 = X2 - 1;
C2 = C2 - 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(90) && (!Key.isDown(37))) {
_root.CS = 0;
Z2 = 5;
}
if (((Key.isDown(88) && (Z2 >= 0)) && (!Key.isDown(90))) && (!Key.isDown(37))) {
X2 = 10;
}
if ((((Key.isDown(37) && (_root.trick == true)) && (Z == false)) && (C == false)) && (X2 >= 0)) {
combo1 = true;
_root.combo._visible = true;
_root.hatte._visible = true;
this.gotoAndStop("combo3");
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(90) && (ZD == true)) && (_root.trick == true)) {
_root.trickList = _root.trickList + "Egyptian +";
ZD = false;
}
if (!Key.isDown(90)) {
ZD = true;
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(88) && (XD == true)) && (_root.trick == true)) {
_root.trickList = _root.trickList + "Puppet +";
XD = false;
}
if (!Key.isDown(88)) {
XD = true;
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(67) && (CD == true)) && (_root.trick == true)) {
_root.trickList = _root.trickList + "Straight +";
CD = false;
}
if (!Key.isDown(67)) {
CD = true;
}
}
Instance of Symbol 152 MovieClip "brett" in Frame 173
onClipEvent (enterFrame) {
this._x = this._x - _root.moveSpeed;
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
Instance of Symbol 155 MovieClip "bakke" in Frame 173
onClipEvent (enterFrame) {
this._x = this._x - _root.moveSpeed;
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
Instance of Symbol 157 MovieClip in Frame 173
onClipEvent (enterFrame) {
if ((Key.isDown(32) && (_root.Space == true)) && (_root.jumping == false)) {
_root.Space = false;
_root.mann.mann2.play();
_root.moveSpeed = _root.moveSpeed + 1;
} else if ((Key.isDown(32) == false) && (_root.charge == true)) {
_root.Space = true;
}
}
Instance of Symbol 180 MovieClip in Frame 173
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mann) && (_root.trick == true)) {
this.play();
} else if ((_root.mann._y == this._y) && (_root.training == false)) {
_root.trick = false;
_root.fade.play();
_root.treeMove = false;
} else if ((_root.mann._y == this._y) && (_root.training == true)) {
_root.trick = false;
_root.gotoAndStop("Menu", 24);
_root.treeMove = false;
}
}
Instance of Symbol 197 MovieClip "combo" in Frame 173
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 202 MovieClip "hatte" in Frame 173
onClipEvent (enterFrame) {
this._visible = false;
}
Frame 174
_root.spilloop.stop();
_root.lolza2 = new Sound();
_root.lolza2.attachSound("menuloop.wav");
_root.lolza2.start(0, 99999);
_root.lolza2.setVolume(100);
_root._quality = "HIGH";
Instance of Symbol 99 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - (_root.downSpeed / 2);
this._y = this._y + (_root.jumpSpeed / 2);
}
}
onClipEvent (load) {
Q = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) && (Q == false)) {
_root._quality = "LOW";
Q = true;
} else if (Key.isDown(81) && (Q == true)) {
_root._quality = "MEDIUM";
Q = false;
}
}
Instance of Symbol 99 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - (_root.downSpeed / 2);
this._y = this._y + (_root.jumpSpeed / 2);
}
}
onClipEvent (load) {
Q = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) && (Q == false)) {
_root._quality = "LOW";
Q = true;
} else if (Key.isDown(81) && (Q == true)) {
_root._quality = "MEDIUM";
Q = false;
}
}
Instance of Symbol 111 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 240 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.tries <= 0) {
_root.igjen._visible = false;
}
}
Instance of Symbol 240 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.tries <= 0) {
_root.igjen._visible = false;
}
}
Frame 175
stop();
start = true;
tid1 = 100;
_root.lolza.stop();
_root.spilloop2 = new Sound();
_root.spilloop2.attachSound("spillloop.wav");
_root.spilloop2.start(0, 99999);
_root.spilloop2.setVolume(100);
Instance of Symbol 99 MovieClip in Frame 175
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - (_root.downSpeed / 2);
this._y = this._y + (_root.jumpSpeed / 2);
}
}
onClipEvent (load) {
Q = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) && (Q == false)) {
_root._quality = "LOW";
Q = true;
} else if (Key.isDown(81) && (Q == true)) {
_root._quality = "MEDIUM";
Q = false;
}
}
Instance of Symbol 248 MovieClip in Frame 175
onClipEvent (enterFrame) {
this._x = this._x - 1;
}
Instance of Symbol 251 MovieClip "bakke" in Frame 175
onClipEvent (enterFrame) {
this._x = this._x - _root.moveSpeed;
}
Instance of Symbol 284 MovieClip in Frame 175
onClipEvent (load) {
_root.moveSpeed = 0;
}
onClipEvent (enterFrame) {
if (_root.start == true) {
this.play();
_root.tid = _root.tid + 0.1;
} else {
this.stop();
}
}
onClipEvent (load) {
right = true;
}
onClipEvent (enterFrame) {
_root.aaaaa = _root.moveSpeed;
if ((Key.isDown(39) && (!Key.isDown(37))) && (right)) {
_root.moveSpeed = _root.moveSpeed + 2;
right = false;
left = true;
}
if ((Key.isDown(37) && (!Key.isDown(39))) && (left)) {
_root.moveSpeed = _root.moveSpeed + 2;
left = false;
right = true;
}
}
onClipEvent (enterFrame) {
_root.moveSpeed = _root.moveSpeed - 0.5;
}
onClipEvent (enterFrame) {
if (_root.moveSpeed <= 0) {
_root.moveSpeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.start == false) {
_root.moveSpeed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bakke.end)) {
_root.fade2.play();
_root.start = false;
}
}
Instance of Symbol 287 MovieClip in Frame 175
onClipEvent (enterFrame) {
if (_root.tid1 == 0) {
this.stop();
}
}
Frame 176
stop();
_root._quality = "HIGH";
final = _root.score * _root.tid1;
_root.spilloop.stop();
_root.lolza22 = new Sound();
_root.lolza22.attachSound("menuloop.wav");
_root.lolza22.start(0, 99999);
_root.lolza22.setVolume(100);
Instance of Symbol 99 MovieClip in Frame 176
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - (_root.downSpeed / 2);
this._y = this._y + (_root.jumpSpeed / 2);
}
}
onClipEvent (load) {
Q = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) && (Q == false)) {
_root._quality = "LOW";
Q = true;
} else if (Key.isDown(81) && (Q == true)) {
_root._quality = "MEDIUM";
Q = false;
}
}
Instance of Symbol 251 MovieClip "bakke" in Frame 176
onClipEvent (enterFrame) {
this._x = this._x - _root.moveSpeed;
}
Instance of Symbol 240 MovieClip in Frame 176
onClipEvent (enterFrame) {
if (_root.tries <= 0) {
_root.igjen._visible = false;
}
}
Instance of Symbol 240 MovieClip in Frame 176
onClipEvent (enterFrame) {
if (_root.tries <= 0) {
_root.igjen._visible = false;
}
}
Frame 177
start = true;
stop();
_root.lolza.stop();
_root.spilloop = new Sound();
_root.spilloop.attachSound("spillloop.wav");
_root.spilloop.start(0, 99999);
_root.spilloop.setVolume(100);
Instance of Symbol 99 MovieClip in Frame 177
onClipEvent (enterFrame) {
if (_root.trick == true) {
this._y = this._y - (_root.downSpeed / 2);
this._y = this._y + (_root.jumpSpeed / 2);
}
}
onClipEvent (load) {
Q = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) && (Q == false)) {
_root._quality = "LOW";
Q = true;
} else if (Key.isDown(81) && (Q == true)) {
_root._quality = "MEDIUM";
Q = false;
}
}
Instance of Symbol 248 MovieClip in Frame 177
onClipEvent (enterFrame) {
this._x = this._x - 0.8;
}
Instance of Symbol 305 MovieClip in Frame 177
onClipEvent (enterFrame) {
this._x = this._x - _root.moveSpeed;
}
Instance of Symbol 287 MovieClip in Frame 177
onClipEvent (enterFrame) {
if (_root.tid1 == 0) {
this.stop();
}
}
Instance of Symbol 315 MovieClip "bakke" in Frame 177
onClipEvent (enterFrame) {
this._x = this._x - _root.moveSpeed;
}
Instance of Symbol 305 MovieClip in Frame 177
onClipEvent (enterFrame) {
this._x = this._x - _root.moveSpeed;
}
Instance of Symbol 305 MovieClip in Frame 177
onClipEvent (enterFrame) {
this._x = this._x - _root.moveSpeed;
}
Instance of Symbol 132 MovieClip in Frame 177
onClipEvent (load) {
_root.moveSpeed = 0;
}
onClipEvent (enterFrame) {
if (_root.start == true) {
this.play();
_root.tid = _root.tid + 0.1;
} else {
this.stop();
}
}
onClipEvent (load) {
right = true;
}
onClipEvent (enterFrame) {
_root.aaaaa = _root.moveSpeed;
if ((Key.isDown(39) && (!Key.isDown(37))) && (right)) {
_root.moveSpeed = _root.moveSpeed + 2;
right = false;
left = true;
}
if ((Key.isDown(37) && (!Key.isDown(39))) && (left)) {
_root.moveSpeed = _root.moveSpeed + 2;
left = false;
right = true;
}
}
onClipEvent (enterFrame) {
_root.moveSpeed = _root.moveSpeed - 0.5;
}
onClipEvent (enterFrame) {
if (_root.moveSpeed <= 0) {
_root.moveSpeed = 0;
}
}
onClipEvent (enterFrame) {
if (_root.start == false) {
_root.moveSpeed = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bakke.end)) {
_root.start = false;
_root.fade.play();
_root.bakke.mal.play();
}
}
Frame 178
stop();
_root._quality = "HIGH";
final = _root.score * _root.tid1;
_root.spilloop.stop();
_root.lolza222 = new Sound();
_root.lolza222.attachSound("menuloop.wav");
_root.lolza222.start(0, 99999);
_root.lolza222.setVolume(100);
Instance of Symbol 326 MovieClip in Frame 178
onClipEvent (enterFrame) {
if (_root.final <= 50000) {
_root.kode = "Kode: Fa over 50.000 poeng for \u00E5 vite en combo";
}
if (_root.final >= 50000) {
_root.kode = "Kode: Combo 1/3 = z+c";
}
if (_root.final >= 60000) {
_root.kode = "Kode: Combo 2/3 = venstre + hoyre + X";
}
if (_root.final >= 70000) {
_root.kode = "Kode: Combo 3/3 = Z+X + venstre (hint: hold siste knapp)";
}
}
Symbol 9 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
_root.play();
}
Symbol 9 MovieClip Frame 2
gotoAndPlay (1);
Symbol 20 MovieClip Frame 35
stop();
Symbol 46 Button
on (release) {
gotoAndStop (172);
}
Symbol 53 Button
on (release) {
_root.nextFrame();
}
Symbol 75 Button
on (release) {
gotoAndStop (170);
}
Symbol 90 Button
on (release) {
gotoAndStop (173);
}
Symbol 95 Button
on (release) {
gotoAndStop (173);
_root.training = true;
}
Symbol 132 MovieClip Frame 1
play();
Symbol 132 MovieClip Frame 13
gotoAndPlay (1);
Symbol 132 MovieClip Frame 14
stop();
Symbol 150 MovieClip Frame 1
stop();
Instance of Symbol 132 MovieClip "løpe" in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
sto = true;
}
onClipEvent (enterFrame) {
if (sto == true) {
this.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.play();
sto = false;
}
}
Symbol 150 MovieClip Frame 7
_root.score = _root.score + 50;
_root.CS = _root.CS + 50;
Symbol 150 MovieClip Frame 8
_root.score = _root.score + 70;
_root.CS = _root.CS + 70;
Symbol 150 MovieClip Frame 9
_root.score = _root.score + 90;
_root.CS = _root.CS + 90;
Symbol 180 MovieClip Frame 1
stop();
Instance of Symbol 163 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mann)) {
_root.treeMove = false;
_root.trick = false;
}
}
Instance of Symbol 165 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mann)) {
_root.treeMove = false;
}
}
Symbol 180 MovieClip Frame 2
_root.jumping = false;
Symbol 180 MovieClip Frame 23
stop();
_root.trick = false;
Instance of Symbol 163 MovieClip in Symbol 180 MovieClip Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.mann)) {
_root.treeMove = false;
_root.trick = false;
}
}
onClipEvent (enterFrame) {
if (_root.training == false) {
_root.fade.play();
} else if (_root.training == true) {
_root.fade2.play();
}
}
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 5
stop();
_root.spilloop.stop();
_root.lolza2 = new Sound();
_root.lolza2.attachSound("menuloop.wav");
_root.lolza2.start(0, 99999);
_root.lolza2.setVolume(100);
_root.prevFrame();
Symbol 207 MovieClip Frame 10
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 5
stop();
_root.nextFrame();
Symbol 232 Button
on (release) {
_root.fade.play();
}
Symbol 235 Button
on (release) {
gotoAndPlay (149);
}
Symbol 244 Button
on (release) {
_root.prevFrame();
_root.tries = _root.tries - 1;
}
Symbol 245 MovieClip Frame 10
stop();
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 111 MovieClip "end" in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Instance of Symbol 111 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.jumping == true) {
this._y = this._y - _root.downSpeed;
this._y = this._y + _root.jumpSpeed;
}
if (_root.trick == false) {
this._y = this._y + _root.downSpeed;
this._y = this._y - _root.jumpSpeed;
}
if (_root.treeMove == true) {
this._x = this._x - _root.moveSpeed;
}
}
Symbol 264 MovieClip Frame 4
stop();
Instance of Symbol 264 MovieClip in Symbol 284 MovieClip Frame 11
onClipEvent (enterFrame) {
this.play();
}
Symbol 287 MovieClip Frame 29
_root.tid1 = _root.tid1 - 1;
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 5
stop();
_root.nextFrame();
Symbol 314 MovieClip Frame 1
stop();
Symbol 333 Button
on (release) {
_root.winscore = _root.final;
_root.winname = _root.personName;
loadVariables ("http://www.nbstuff.com/highscores/diving/submitScore.php", _root, "POST");
_root.send._visible = false;
}
Symbol 337 Button
on (release) {
getURL ("http://www.nbstuff.com/highscores/diving", (window = "_blank"));
}
Symbol 338 Button
on (release) {
gotoAndPlay (149);
}