Instance of Symbol 2 MovieClip "hinder" in Frame 1
onClipEvent (load) {
this.swapDepths(99998);
}
Instance of Symbol 5 MovieClip "Size" in Frame 1
onClipEvent (enterFrame) {
ifFrameLoaded (3) {
tellTarget (_root) {
gotoAndPlay (2);
};
}
}
Frame 2
setProperty(_root.Bar, _xscale , 0);
Instance of Symbol 12 MovieClip "Size" in Frame 2
onClipEvent (load) {
total = Math.floor(_root.getBytesTotal());
}
onClipEvent (enterFrame) {
Loaded = Math.floor(_root.getBytesLoaded());
Percent = Math.floor((loaded / total) * 100);
_root.cent = Percent + " %";
setProperty(_root.Bar, _xscale , Percent);
if (Percent >= 100) {
tellTarget (_root) {
gotoAndStop (4);
};
}
}
Instance of Symbol 2 MovieClip "hinder" in Frame 2
onClipEvent (load) {
this.swapDepths(99998);
}
Instance of Symbol 19 MovieClip in Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
tellTarget ("/ost") {
play();
};
}
}
Frame 3
stop();
Frame 4
_root.gamestart = false;
ii = 100;
stop();
Frame 5
function addToPoints() {
_root.score = _root.score + 50;
duplicateMovieClip ("/gift", "gift" + ii, ii);
_root["gift" + ii]._x = random(470) + 60;
_root["gift" + ii]._y = random(280) + 60;
ii++;
}
function Death() {
_root.gamestart = false;
tellTarget ("/hero") {
play();
};
_root.hero.vel = 0;
tellTarget ("/life") {
nextFrame();
};
}
_root.taildeath = false;
_root.score = 0;
ii = 100;
_root.length = 10;
_root.gameover = false;
_root.contact = false;
stop();
Instance of Symbol 69 MovieClip "sanctuary" in Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.hero._y >= 360) {
_root.hero._y = 360;
}
if (67 >= _root.hero._y) {
_root.hero._y = 67;
}
if (_root.hero._x >= 520) {
_root.hero._x = 520;
}
if ((68 >= _root.hero._x) and (_root.gamestart == true)) {
_root.hero._x = 68;
}
if ((!_root.hero.hitTest(this)) and (_root.grim == false)) {
_root.gamestart = true;
}
}
Instance of Symbol 70 MovieClip in Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.hero._y >= 350) {
_root.hero._y = 350;
}
if (80 >= _root.hero._y) {
_root.hero._y = 80;
}
if (_root.hero._x >= 510) {
_root.hero._x = 510;
}
if ((68 >= _root.hero._x) and (_root.gamestart == true)) {
_root.hero._x = 68;
}
if ((!_root.hero.hitTest(this)) and (_root.grim == false)) {
_root.gamestart = true;
}
}
Instance of Symbol 76 MovieClip "life" in Frame 5
onClipEvent (load) {
this.swapDepths(99999);
}
onClipEvent (enterFrame) {
if (_root.gameover == true) {
removeMovieClip("");
}
}
Instance of Symbol 77 MovieClip "hinder" in Frame 5
onClipEvent (load) {
this.swapDepths(99998);
}
onClipEvent (enterFrame) {
if (_root.gameover == true) {
removeMovieClip("");
}
}
Instance of Symbol 79 MovieClip in Frame 5
onClipEvent (load) {
this.swapDepths(99997);
}
onClipEvent (enterFrame) {
if (_root.gameover == true) {
removeMovieClip("");
}
}
Instance of Symbol 87 MovieClip in Frame 5
onClipEvent (keyDown) {
this.gotoAndStop(2);
}
Instance of Symbol 92 MovieClip "gift" in Frame 5
onClipEvent (enterFrame) {
if (_root.gameover == true) {
removeMovieClip("");
}
if (_root.sanctuary.hitTest(this)) {
_x = (random(470) + 60);
_y = (random(280) + 60);
}
}
Instance of Symbol 94 MovieClip in Frame 5
onClipEvent (enterFrame) {
_x = (_root.hero._x + 5);
_y = (_root.hero._y + 10);
_rotation = ((360 - (_root.hero.ang * 57.2957795130823)) % 360);
}
Instance of Symbol 95 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.spawn4.iiii >= _root.length) {
_root.spawn4.iiii = 1;
}
}
Instance of Symbol 97 MovieClip "ost" in Frame 5
onClipEvent (enterFrame) {
if (_root.gameover == true) {
removeMovieClip("");
}
}
Instance of Symbol 99 MovieClip "duva" in Frame 5
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
_root.Death();
_root.contact = true;
} else {
_root.contact = false;
}
if (_root.taildeath == true) {
removeMovieClip("");
}
}
onClipEvent (enterFrame) {
if (_root.gameover == true) {
removeMovieClip("");
}
}
Instance of Symbol 101 MovieClip "hero" in Frame 5
onClipEvent (load) {
this.swapDepths(99996);
vel = 0;
}
onClipEvent (enterFrame) {
_x = (_x + dx);
_y = (_y - dy);
dx = vel * Math.cos(ang);
dy = vel * Math.sin(ang);
_rotation = ((360 - (ang * 57.2957795130823)) % 360);
if ((Key.isDown(Key.UP) and (_root.gameover == false)) and (_root.grim == false)) {
vel = 6;
_root.hold = false;
_root.taildeath = false;
}
if (Key.isDown(Key.DOWN)) {
vel = 0;
_root.hold = true;
}
if (Key.isDown(Key.LEFT) and (0 < vel)) {
ang = ang + 0.2;
}
if (Key.isDown(Key.RIGHT) and (0 < vel)) {
ang = ang - 0.2;
}
}
onClipEvent (enterFrame) {
if (_root.hinder.hittest(this._x, this._y, true)) {
}
}
onClipEvent (enterFrame) {
if (_root.gameover == true) {
removeMovieClip("");
}
}
Instance of Symbol 102 MovieClip "spawn4" in Frame 5
onClipEvent (enterFrame) {
_x = _root.hero._x;
_y = _root.hero._y;
}
Symbol 31 Button
on (release) {
prevFrame();
}
Symbol 33 Button
on (release) {
nextFrame();
}
Symbol 37 Button
on (release) {
tellTarget (_root.instruktion) {
gotoAndStop (1);
};
}
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 2
tellTarget (_root.alternativ) {
gotoAndStop (1);
};
Symbol 40 MovieClip Frame 3
stop();
Symbol 40 MovieClip Frame 4
stop();
Symbol 42 MovieClip Frame 1
if (_root.kvalitet == "medium") {
gotoAndStop (2);
}
if (_root.kvalitet == "low") {
gotoAndStop (3);
}
if (_root.kvalitet == "high") {
gotoAndStop (4);
}
_root.kvalitet = "high";
stop();
Symbol 42 MovieClip Frame 2
_root.kvalitet = "medium";
stop();
Symbol 42 MovieClip Frame 3
_root.kvalitet = "low";
stop();
Symbol 42 MovieClip Frame 4
_root.kvalitet = "high";
stop();
Symbol 44 Button
on (release) {
tellTarget ("q_bock") {
gotoAndStop (4);
};
}
Symbol 46 Button
on (release) {
tellTarget ("q_bock") {
gotoAndStop (2);
};
}
Symbol 48 Button
on (release) {
tellTarget ("q_bock") {
gotoAndStop (3);
};
}
Symbol 51 Button
on (release) {
tellTarget (_root.alternativ) {
gotoAndStop (1);
};
}
Symbol 53 Button
on (release) {
getURL ("http://www.fx33.com", "_blank");
}
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
tellTarget (_root.instruktion) {
gotoAndStop (1);
};
Symbol 57 MovieClip Frame 3
stop();
Symbol 57 MovieClip Frame 4
stop();
Symbol 57 MovieClip Frame 5
stop();
Symbol 61 Button
on (release) {
_root.initialize();
play();
}
Symbol 64 Button
on (release) {
tellTarget (_root.alternativ) {
play();
};
}
Symbol 67 Button
on (release) {
tellTarget (_root.instruktion) {
play();
};
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 76 MovieClip Frame 3
stop();
Symbol 76 MovieClip Frame 4
play();
Instance of Symbol 72 MovieClip in Symbol 76 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.taildeath = true;
}
Symbol 76 MovieClip Frame 43
_root.gameover = true;
tellTarget (_root) {
gotoAndStop (4);
};
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 17
stop();
Instance of Symbol 90 MovieClip in Symbol 92 MovieClip Frame 17
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
_root.taildeath = true;
_root.Death();
tellTarget ("_parent") {
play();
};
}
}
Symbol 92 MovieClip Frame 23
removeMovieClip("");
Symbol 97 MovieClip Frame 11
stop();
Instance of Symbol 19 MovieClip in Symbol 97 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
tellTarget ("/ost") {
play();
};
}
}
Symbol 97 MovieClip Frame 15
_root.ost._x = random(470) + 60;
_root.ost._y = random(280) + 60;
_root.addToPoints();
Symbol 101 MovieClip Frame 1
stop();
_root.grim = false;
Symbol 101 MovieClip Frame 2
_root.grim = true;
Symbol 101 MovieClip Frame 40
_root.gamestart = false;
_root.hero._x = 7;
_root.hero._y = 212.8;
_root.hero.ang = 0;
Symbol 102 MovieClip Frame 1
iiii = 1;
Symbol 102 MovieClip Frame 3
if ((_root.hold == false) and (_root.taildeath == false)) {
duplicateMovieClip ("/duva", "duva" + iiii, iiii);
_root["duva" + iiii]._x = _root.spawn4._x;
_root["duva" + iiii]._y = _root.spawn4._y;
_root["duva" + iiii]._rotation = (360 - (_root.hero.ang * 57.2957795130823)) % 360;
iiii++;
}
gotoAndPlay (2);