Frame 47
stop();
stopAllSounds();
Instance of Symbol 10 MovieClip "cloud" in Frame 47
onClipEvent (enterFrame) {
this._x--;
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 6);
if (this.hitTest(_root.stopper)) {
this._x = 600;
}
}
}
Instance of Symbol 12 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 2);
if (this.hitTest(_root.stopper)) {
this._x = 550;
}
}
}
Instance of Symbol 14 MovieClip in Frame 47
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 3);
if (this.hitTest(_root.stopper)) {
this._x = 600;
}
}
}
Instance of Symbol 22 MovieClip in Frame 47
onClipEvent (load) {
this._y = random(140);
}
onClipEvent (enterFrame) {
this._x = this._x - 3;
if (this.hitTest(_root.frisbee)) {
_root.frisbee.gotoAndPlay("Hit");
_root.fly_y = -2;
if (_root.toss.power2 < _root.gravity.power) {
_root.toss.power2 = 3;
}
_root.toss.power2 = _root.toss.power2 + 3;
this.play();
}
if (this._x < _root.stopper._x) {
this._x = 600;
this._y = random(140);
this.gotoAndStop(1);
}
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 3);
}
}
Instance of Symbol 12 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.frisbee)) {
this._alpha = 30;
} else {
this._alpha = 100;
}
if (_root.notpass == false) {
this._x = this._x - _root.fly_x;
if (this.hitTest(_root.stopper)) {
this._x = 550;
}
}
}
Instance of Symbol 26 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.cloud._x, this._y)) {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
} else if (this._alpha < 50) {
this._alpha = this._alpha + 5;
}
}
Instance of Symbol 22 MovieClip in Frame 47
onClipEvent (load) {
this._y = random(140);
}
onClipEvent (enterFrame) {
this._x = this._x - 3;
if (this.hitTest(_root.frisbee)) {
_root.frisbee.gotoAndPlay("Hit");
_root.fly_y = -2;
if (_root.toss.power2 < _root.gravity.power) {
_root.toss.power2 = 3;
}
_root.toss.power2 = _root.toss.power2 + 3;
this.play();
}
if (this._x < _root.stopper._x) {
this._x = 600;
this._y = random(140);
this.gotoAndStop(1);
}
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 3);
}
}
Frame 48
user = SharedObject.getLocal("user_profile");
if (user.data.pname != undefined) {
p_name = user.data.pname;
}
Frame 49
user.data.pname = p_name;
user.flush();
Frame 50
function calculateToss() {
x1 = toss.power * Math.cos(((-toss.angle) * Math.PI) / 180);
y1 = toss.power2 * Math.sin(((-toss.angle) * Math.PI) / 180);
y2 = (gravity.power + fallrate) * Math.sin(((-gravity.angle) * Math.PI) / 180);
x3 = wind.power * Math.cos(((-wind.angle) * Math.PI) / 180);
y3 = wind.power * Math.sin(((-wind.angle) * Math.PI) / 180);
fly_x = x1 + x3;
fly_x2 = x2 + x3;
fly_y = (y1 + y2) + y3;
}
Ready = true;
frisbeetravel = 0;
notpass = true;
flytime = false;
toss = new Object();
gravity = new Object();
wind = new Object();
decay = 0.2;
fallrate = 5;
toss.angle = 45;
toss.power = 0;
gravity.angle = 270;
gravity.power = 1.7;
wind.angle = 0;
wind.power = 0;
stop();
Instance of Symbol 158 MovieClip "arrow" in Frame 50
onClipEvent (enterFrame) {
this._rotation = -_root.toss.angle;
}
onClipEvent (enterFrame) {
if (_root.Ready == true) {
if (((_root.toss.angle + express) > 5) && ((_root.toss.angle + express) < 80)) {
_root.toss.angle = _root.toss.angle + express;
} else {
express = 0;
}
if (express > 0) {
express = express - 0.5;
} else if (express < 0) {
express = express + 0.5;
}
if (Key.isDown(38)) {
this.gotoAndPlay("Light");
express = express + 1.5;
}
if (Key.isDown(40)) {
this.gotoAndPlay("Light");
express = express - 1.5;
}
}
}
Instance of Symbol 26 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.cloud._x, this._y)) {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
}
} else if (this._alpha < 50) {
this._alpha = this._alpha + 5;
}
}
Instance of Symbol 163 MovieClip "Char" in Frame 50
onClipEvent (enterFrame) {
if ((_root.notpass == false) && (!this.hitTest(_root.stopper))) {
this._x = this._x - _root.fly_x;
}
}
Instance of Symbol 10 MovieClip "cloud" in Frame 50
onClipEvent (enterFrame) {
this._x--;
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 6);
if (this.hitTest(_root.stopper)) {
this._x = 600;
}
}
}
Instance of Symbol 12 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 2);
if (this.hitTest(_root.stopper)) {
this._x = 550;
}
}
}
Instance of Symbol 14 MovieClip in Frame 50
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 3);
if (this.hitTest(_root.stopper)) {
this._x = 600;
}
}
}
Instance of Symbol 22 MovieClip in Frame 50
onClipEvent (load) {
this._y = random(140);
}
onClipEvent (enterFrame) {
this._x = this._x - 3;
if (this.hitTest(_root.frisbee)) {
_root.frisbee.gotoAndPlay("Hit");
_root.fly_y = -2;
if (_root.toss.power2 < _root.gravity.power) {
_root.toss.power2 = 3;
}
_root.toss.power2 = _root.toss.power2 + 3;
this.play();
}
if (this._x < _root.stopper._x) {
this._x = 600;
this._y = random(140);
this.gotoAndStop(1);
}
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 3);
}
}
Instance of Symbol 22 MovieClip in Frame 50
onClipEvent (load) {
this._y = random(140);
}
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this.hitTest(_root.frisbee)) {
_root.frisbee.gotoAndPlay("Hit");
_root.fly_y = -2;
if (_root.toss.power2 < _root.gravity.power) {
_root.toss.power2 = 3;
}
_root.toss.power2 = _root.toss.power2 + 3;
this.play();
}
if (this._x < _root.stopper._x) {
this._x = 600;
this._y = random(140);
this.gotoAndStop(1);
}
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 3);
}
}
Instance of Symbol 22 MovieClip in Frame 50
onClipEvent (load) {
this._y = random(140);
}
onClipEvent (enterFrame) {
this._x = this._x - 4;
if (this.hitTest(_root.frisbee)) {
_root.frisbee.gotoAndPlay("Hit");
_root.fly_y = -2;
if (_root.toss.power2 < _root.gravity.power) {
_root.toss.power2 = 3;
}
_root.toss.power2 = _root.toss.power2 + 3;
this.play();
}
if (this._x < _root.stopper._x) {
this._x = 600;
this._y = random(140);
this.gotoAndStop(1);
}
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 3);
}
}
Instance of Symbol 43 MovieClip "frisbee" in Frame 50
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.flytime == true) {
_root.frisbeetravel = _root.frisbeetravel + _root.fly_x;
if (this._rotation < 0) {
this._rotation++;
} else if (this._rotation > 0) {
this._rotation--;
}
if (_root.toss.power2 > _root.gravity.power) {
_root.toss.power2 = _root.toss.power2 - _root.decay;
}
_root.calculateToss();
if (this._y < 230) {
this._y = this._y + _root.fly_y;
} else {
_root.flytime = false;
this.gotoAndPlay("Down");
this._rotation = 0;
}
if (_root.notpass == true) {
this._x = this._x + _root.fly_x;
if (this._x > 280) {
_root.notpass = false;
}
}
}
}
Instance of Symbol 12 MovieClip in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.frisbee)) {
this._alpha = 30;
} else {
this._alpha = 100;
}
if (_root.notpass == false) {
this._x = this._x - _root.fly_x;
if (this.hitTest(_root.stopper)) {
this._x = 550;
}
}
}
Instance of Symbol 176 MovieClip in Frame 50
onClipEvent (enterFrame) {
lengthm = Math.ceil(_root.frisbeetravel / 23);
}
Instance of Symbol 87 MovieClip in Frame 50
onClipEvent (load) {
this._y = random(140);
}
onClipEvent (enterFrame) {
this._x = this._x - 2.5;
if (this.hitTest(_root.frisbee)) {
_root.frisbee.gotoAndPlay("Hit");
_root.fly_y = -3;
if (_root.toss.power2 < _root.gravity.power) {
_root.toss.power2 = 10;
}
_root.toss.power2 = _root.toss.power2 + 10;
this.play();
}
if (this._x < _root.stopper._x) {
this._x = 600;
this._y = random(140);
this.gotoAndStop(1);
}
if (_root.notpass == false) {
this._x = this._x - (_root.fly_x / 3);
}
}
Instance of Symbol 182 MovieClip in Frame 50
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
height = Math.ceil(((_root.frisbee._y * -1) / 23) + 0);
this._x = _root.frisbee._x;
if (_root.frisbee._y < 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 211 MovieClip "EndGame" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Frame 51
prevFrame();
Frame 53
function ikilo(saavy) {
_root.saavy = saavy;
_root.xxceft = random(3958);
_root.kilomite = _root.xxceft * saavy;
_root.loadeds = _root.kilomite * _root.score_sub2;
}
_root.score_sub2 = _root.score_sub;
ikilo(random(1589));
loadVariablesNum ("frisbeescore.php", 0, "POST");
Frame 79
stop();
getURL ("http://infrarift.net/frisbeescore.php", "_self");
Symbol 20 MovieClip Frame 12
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 14
stop();
Symbol 41 MovieClip Frame 21
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 32
gotoAndStop (1);
Symbol 43 MovieClip Frame 49
_root.fly_x = 0;
_root.EndGame._visible = true;
_root.EndGame.lengthm = Math.ceil(_root.frisbeetravel / 23);
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 1
stop();
stop();
Symbol 65 MovieClip Frame 2
Symbol 72 Button
on (release) {
_parent.nextFrame();
}
Symbol 73 MovieClip Frame 2
up.gotoAndStop(2);
down.gotoAndStop(1);
Symbol 73 MovieClip Frame 20
up.gotoAndStop(1);
down.gotoAndStop(2);
Symbol 78 Button
on (release) {
gotoAndStop (1);
}
Symbol 85 MovieClip Frame 12
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 14
stop();
Symbol 93 Button
on (release) {
_parent.prevFrame();
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 131 Button
on (release) {
getURL ("http://www.infrarift.net", "_blank");
}
Symbol 136 Button
on (release) {
gotoAndStop (48);
}
Symbol 140 Button
on (release) {
help.gotoAndStop(2);
}
Symbol 144 Button
on (release) {
getURL ("frisbeescore.php");
}
Symbol 148 Button
on (release) {
help.gotoAndStop("credits");
}
Symbol 155 Button
on (release) {
_root.play();
}
Symbol 158 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 14
_root.EndGame.ytiu = "regd";
_root.frisbee._visible = true;
_root.frisbee._rotation = (Math.atan2(_root.fly_y, _root.fly_x) * 180) / Math.PI;
_root.flytime = true;
Symbol 163 MovieClip Frame 36
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 29
_root.passmiddle = true;
Symbol 168 MovieClip Frame 40
spacewasdown = false;
_root.Char.play();
_root.Ready = false;
_root.toss.power = power + 5;
_root.toss.power2 = power + 5;
_root.decay = (((1 + _root.toss.angle) / 100) + 0.3) + (_root.fallup / 4);
_root.fallrate = fallup + (_root.toss.angle / 15);
_root.calculateToss();
_root.arrow._visible = false;
_root.powerbox._visible = false;
power = 0;
gotoAndStop (1);
Instance of Symbol 168 MovieClip in Symbol 169 MovieClip Frame 1
onClipEvent (load) {
_root.passmiddle = false;
uprate = 0.8;
power = 0;
fallup = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.Ready == true)) {
spacewasdown = true;
this.play();
power = power + uprate;
if (_root.passmiddle == true) {
fallup = fallup + 0.2;
}
}
}
onClipEvent (keyUp) {
if (((!Key.isDown(32)) && (_root.Ready == true)) && (spacewasdown == true)) {
spacewasdown = false;
_root.Char.play();
_root.Ready = false;
this.gotoAndStop(1);
_root.toss.power = power + 5;
_root.toss.power2 = power + 5;
_root.decay = (((1 + _root.toss.angle) / 100) + 0.3) + (_root.fallup / 4);
_root.fallrate = (fallup + (_root.toss.angle / 25)) - 1;
_root.calculateToss();
_root.arrow._visible = false;
_root.powerbox._visible = false;
power = 0;
}
}
Symbol 187 Button
on (release) {
play();
}
Symbol 194 Button
on (release) {
_root.play();
}
Symbol 203 Button
on (release) {
_root.gotoAndStop("Menu");
}
Symbol 208 Button
on (release) {
password = encrypt("ef43656vdc");
}
on (release) {
play();
}
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
_root.name_sub2 = _root.p_name;
_root.score_sub = lengthm;
Symbol 211 MovieClip Frame 3
_root.gotoAndPlay("HS");