Frame 1
Stage.showMenu = false;
stop();
topscore = 0;
Frame 2
stop();
Frame 3
score = 0;
rychlost = 3;
Instance of Symbol 38 MovieClip "kour1" in Frame 3
onClipEvent (load) {
_y = _root.aero._y;
_x = 45;
gotoAndPlay (1);
}
onClipEvent (enterFrame) {
_x = (_x - _root.rychlost);
if (_x < -20) {
_x = 45;
_y = _root.aero._y;
gotoAndPlay (1);
}
}
Instance of Symbol 38 MovieClip "kour2" in Frame 3
onClipEvent (load) {
_y = _root.aero._y;
_x = 20;
gotoAndPlay (1);
}
onClipEvent (enterFrame) {
_x = (_x - _root.rychlost);
if (_x < -20) {
_x = 45;
_y = _root.aero._y;
gotoAndPlay (1);
}
}
Instance of Symbol 44 MovieClip "aero" in Frame 3
onClipEvent (enterFrame) {
_root.rychlost = _root.rychlost + 0.01;
if ((_y < 0) or (_y > 300)) {
_root.gotoAndStop(4);
}
if (stisknuto == 1) {
pad = pad - 0.2;
if (pad <= 0) {
pad = pad * 1.05;
} else {
pad = pad / 1.1;
}
_y = (_y + pad);
} else {
pad = pad + 0.3;
if (pad >= 0) {
pad = pad * 1.1;
} else {
pad = pad / 1.1;
}
_y = (_y + pad);
}
_rotation = (pad * 3);
}
onClipEvent (mouseDown) {
stisknuto = 1;
}
onClipEvent (mouseUp) {
stisknuto = 0;
}
Frame 4
if (score > topscore) {
topscore = score;
}
stopAllSounds();
Symbol 3 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 9 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 10 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 11 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 12 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 13 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 14 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 15 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 16 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 17 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 18 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 19 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 20 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 21 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 2 MovieClip Frame 60
_root.gotoAndStop(2);
Symbol 23 MovieClip Frame 1
if (this.sessionstarted != 1) {
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "flyplane";
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 24 Button
on (release) {
gotoAndStop (3);
}
Symbol 32 Button
on (release) {
getURL ("http://www.synergyforums.com", "_blank");
}
Symbol 37 Button
on (release) {
gotoAndStop (3);
}
Symbol 38 MovieClip Frame 16
stop();
Symbol 40 MovieClip Frame 1
stop();
Instance of Symbol 41 MovieClip in Symbol 40 MovieClip Frame 1
onClipEvent (load) {
_parent._y = random(100) + 60;
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.aero) and (_parent._visible == 1)) {
_root.score = _root.score + 1;
_parent._visible = 0;
_parent.gotoAndPlay(2);
}
_parent._x = _parent._x - _root.rychlost;
if (_parent._x < 0) {
if (_parent._visible == 1) {
_root.gotoAndStop(4);
} else {
_parent._visible = 1;
_parent._y = random(100) + 60;
_parent._x = 530;
}
}
}
Symbol 56 Button
on (release) {
_root.gameover = 1;
}
Symbol 67 Button
on (release) {
getURL ("http://www.synergyforums.com", "_blank");
}