Frame 1
Stage.showMenu = false;
stop();
Frame 2
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 16 MovieClip "platform1" in Frame 2
onClipEvent (load) {
velocity = 6;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 400) || (x < 55)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 22 MovieClip "hero" in Frame 2
onClipEvent (load) {
lock = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop("left");
} else if (Key.isDown(39)) {
this.gotoAndStop("right");
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 4) == "tise") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
onClipEvent (enterFrame) {
if (this._y > 270) {
_root.gotoAndStop(3);
}
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 445) {
this._x = 445;
}
}
Instance of Symbol 25 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 27 MovieClip "porte" in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(4);
}
}
Frame 3
stop();
Frame 4
stop();
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 16 MovieClip "platform1" in Frame 4
onClipEvent (load) {
velocity = 6;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 400) || (x < 55)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 16 MovieClip "platform3" in Frame 4
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 445) || (x < 240)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 27 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(6);
}
}
Instance of Symbol 22 MovieClip "hero" in Frame 4
onClipEvent (load) {
lock = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop("left");
} else if (Key.isDown(39)) {
this.gotoAndStop("right");
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 4) == "tise") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
onClipEvent (enterFrame) {
if (this._y > 270) {
_root.gotoAndStop(3);
}
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 455) {
this._x = 455;
}
}
Frame 6
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 25 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 16 MovieClip "platform2" in Frame 6
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 320) || (x < 60)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 27 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(8);
}
}
Instance of Symbol 22 MovieClip "hero" in Frame 6
onClipEvent (load) {
lock = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop("left");
} else if (Key.isDown(39)) {
this.gotoAndStop("right");
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 4) == "tise") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
onClipEvent (enterFrame) {
if (this._y > 300) {
_root.gotoAndStop(3);
}
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 445) {
this._x = 445;
}
}
Frame 8
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
stop();
Instance of Symbol 22 MovieClip "hero" in Frame 8
onClipEvent (load) {
lock = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop("left");
} else if (Key.isDown(39)) {
this.gotoAndStop("right");
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 4) == "tise") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
onClipEvent (enterFrame) {
if (this._y > 270) {
_root.gotoAndStop(3);
}
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 455) {
this._x = 455;
}
}
Instance of Symbol 25 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 27 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(10);
}
}
Frame 10
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 16 MovieClip "platform3" in Frame 10
onClipEvent (load) {
velocity = 6;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 330) || (x < 60)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 27 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(12);
}
}
Instance of Symbol 22 MovieClip "hero" in Frame 10
onClipEvent (load) {
lock = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop("left");
} else if (Key.isDown(39)) {
this.gotoAndStop("right");
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 4) == "tise") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
onClipEvent (enterFrame) {
if (this._y > 270) {
_root.gotoAndStop(3);
}
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 445) {
this._x = 445;
}
}
Frame 12
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 16 MovieClip "platform3" in Frame 12
onClipEvent (load) {
velocity = 6;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 305) || (x < 112)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 22 MovieClip "hero" in Frame 12
onClipEvent (load) {
lock = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop("left");
} else if (Key.isDown(39)) {
this.gotoAndStop("right");
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 4) == "tise") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
onClipEvent (enterFrame) {
if (this._y > 270) {
_root.gotoAndStop(3);
}
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 445) {
this._x = 445;
}
}
Instance of Symbol 57 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 27 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(14);
}
}
Frame 14
maxPlatforms = 0;
for (i in this) {
if ((typeof(eval (i)) == "movieclip") && ((substring(i, 1, 5)) == "platf")) {
maxPlatforms++;
}
}
stop();
Instance of Symbol 16 MovieClip "platform2" in Frame 14
onClipEvent (load) {
velocity = 6;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 305) || (x < 112)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 22 MovieClip "hero" in Frame 14
onClipEvent (load) {
lock = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop("left");
} else if (Key.isDown(39)) {
this.gotoAndStop("right");
}
}
onClipEvent (enterFrame) {
render();
}
onClipEvent (enterFrame) {
for (i in _root) {
if (i.substring(0, 4) == "tise") {
if (this.hitTest(_root[i])) {
_root[i].gotoAndStop(2);
_root.score = _root.score + 1;
}
}
}
}
onClipEvent (enterFrame) {
if (this._y > 300) {
_root.gotoAndStop(3);
}
if (this._x <= 35) {
this._x = 35;
}
if (this._x >= 445) {
this._x = 445;
}
}
Instance of Symbol 16 MovieClip "platform4" in Frame 14
onClipEvent (load) {
velocity = 6;
}
onClipEvent (enterFrame) {
var x;
x = _x + velocity;
if ((x > 305) || (x < 112)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
Instance of Symbol 27 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(16);
}
}
Instance of Symbol 57 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 57 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 57 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.gotoAndStop(3);
}
}
Frame 16
stop();
Symbol 3 Button
on (release) {
getURL ("http://www.synergyforums.com", "_blank");
}
Symbol 5 Button
on (release) {
getURL ("http://www.synergyforums.com", "_blank");
}
Symbol 7 Button
on (release) {
getURL ("http://www.synergyforums.com", "_blank");
}
Symbol 9 Button
on (release) {
_root.gotoAndStop(2);
_root.score = 0;
}
Symbol 11 Button
on (release) {
_root.gotoandstop(2);
_root.score = 0;
}
Symbol 14 MovieClip Frame 1
if (this.sessionstarted != 1) {
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "copforthis";
this.arcade.sessdo = "sessionstart";
this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
if (this.sessionvars.sessiontype != 2) {
_root.is_a_challenge = 0;
} else {
_root.is_a_challenge = 1;
}
this.sessionstarted = 1;
}
if (_root.gameover == 1) {
if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
this.prequestvars = new LoadVars();
this.pranswer = new LoadVars();
this.prequestvars.gametime = this.sessionvars.gametime;
this.prequestvars.fakekey = this.sessionvars.initbar;
_root.score = int(Number(_root.score));
if (_root.score != 0) {
this.prequestvars.score = _root.score;
} else {
this.prequestvars.score = -1;
}
this.prequestvars.id = this.sessionvars.lastid;
this.prequestvars.sessdo = "permrequest";
this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey;
this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
this.askpermission = 1;
}
if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
this.burnscore = new LoadVars();
this.burnscore.microone = this.pranswer.microone;
this.burnscore.gametime = this.prequestvars.gametime;
this.burnscore.id = this.prequestvars.id;
if (_root.score == 0) {
this.burnscore.noscore = 1;
}
this.burnscore.sessdo = "burn";
this.burnscore.send("./arcade.php", "_self", "POST");
this.finalsent = 1;
}
}
Symbol 22 MovieClip Frame 1
function hitPlatforms() {
var i;
var y;
var x;
i = 0;
while (i < _root.maxPlatforms) {
platform = eval ("_root.platform" + i);
y = _y + vertical;
x = _x + horizontal;
if (((_y < platform._y) && (y >= platform._y)) && (platform.hitTest(x, platform._y) == true)) {
_y = platform._y;
falling = false;
vertical = 0;
return(undefined);
}
i++;
}
platform = null;
return(undefined);
}
function render() {
var x;
var y;
x = (y = 0);
if (Key.isDown(39) == true) {
x = hforce;
}
if (Key.isDown(37) == true) {
x = hforce * -1;
}
if (Math.abs(horizontal) < Math.abs(x)) {
horizontal = x;
} else {
horizontal = horizontal * friction;
if (Math.abs(horizontal) < 1) {
horizontal = 0;
}
}
if ((vertical == 0) && (Key.isDown(38) == true)) {
vertical = vforce * -1;
horizontal = horizontal + platform.velocity;
platform = null;
rising = true;
}
if (rising == true) {
vertical = vertical * gravity;
if (Math.abs(vertical) < 1) {
vertical = Math.abs(vertical);
falling = true;
rising = false;
}
}
if (falling == true) {
vertical = vertical * accel;
hitPlatforms();
}
lastX = _x;
lastY = _y;
_y = (_y + vertical);
_x = ((_x + horizontal) + platform.velocity);
if ((platform != null) && (platform.hitTest(_x, platform._y, true) == false)) {
vertical = 2;
falling = true;
}
}
vforce = 70;
hforce = 7;
horizontal = 0;
vertical = 5;
friction = 0.7;
gravity = 0.5;
accel = 1.7;
rising = false;
falling = true;
lastX = _x;
lastY = _y;
platform = null;
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
stop();
Symbol 29 Button
on (release) {
getURL ("http://www.synergyforums.com", "_blank");
}
Symbol 30 Button
on (release) {
getURL ("http://www.synergyforums.com", "_blank");
}
Symbol 31 Button
on (release) {
getURL ("http://www.synergyforums.com", "_blank");
}
Symbol 32 Button
on (release) {
_root.gotoAndStop(2);
_root.score = 0;
}
Symbol 33 Button
on (release) {
_root.gotoandstop(2);
_root.score = 0;
}
Symbol 43 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 44 Button
on (release) {
_root.gameover = 1;
}
Symbol 49 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 50 Button
on (release) {
_root.gameover = 1;
}
Symbol 61 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 72 Button
on (release) {
getURL ("http://www.nekotwo.fr.st");
}