Frame 2
play();
Instance of Symbol 71 MovieClip in Frame 4
onClipEvent (load) {
_xscale = 0;
}
onClipEvent (enterFrame) {
_xscale = _root.percentloaded;
}
Frame 5
if (_framesloaded < _totalframes) {
percentloaded = (getBytesLoaded() / getBytesTotal()) * 100;
gotoAndPlay(_currentframe - 1 +1);
}
Frame 6
Mouse.show();
stop();
Instance of Symbol 76 MovieClip in Frame 6
onClipEvent (load) {
function buttonPressed() {
_root.gotoAndPlay("getready");
}
label = "PLAY NOW!";
_alpha = 0;
a = -20;
maxalpha = 100;
}
onClipEvent (enterFrame) {
a = a + 8;
alpha = random(25) + a;
if (alpha > maxalpha) {
alpha = maxalpha;
}
_alpha = alpha;
}
Instance of Symbol 76 MovieClip in Frame 6
onClipEvent (load) {
function buttonPressed() {
_root.gotoAndStop("howtoplay");
}
label = "HOW TO PLAY";
_alpha = 0;
a = -40;
maxalpha = 100;
}
onClipEvent (enterFrame) {
a = a + 8;
alpha = random(25) + a;
if (alpha > maxalpha) {
alpha = maxalpha;
}
_alpha = alpha;
}
Instance of Symbol 76 MovieClip in Frame 6
onClipEvent (load) {
function buttonPressed() {
_root.score = null;
_root.my_name = null;
_root.gotoAndStop("highscore");
}
label = "HIGHSCORES";
_alpha = 0;
a = -60;
maxalpha = 100;
}
onClipEvent (enterFrame) {
a = a + 8;
alpha = random(25) + a;
if (alpha > maxalpha) {
alpha = maxalpha;
}
_alpha = alpha;
}
Instance of Symbol 76 MovieClip in Frame 12
onClipEvent (load) {
function buttonPressed() {
_root.gotoAndStop("ready");
}
label = "BACK";
_alpha = 0;
a = -60;
maxalpha = 100;
}
onClipEvent (enterFrame) {
a = a + 8;
alpha = random(25) + a;
if (alpha > maxalpha) {
alpha = maxalpha;
}
_alpha = alpha;
}
Instance of Symbol 89 MovieClip in Frame 12
onClipEvent (load) {
label = "HOW TO PLAY";
}
Instance of Symbol 89 MovieClip in Frame 12
onClipEvent (load) {
label = "USE THE ARROW KEYS TO NAVIGATE YOUR SHIP THROUGH THE TUNNEL.";
}
Instance of Symbol 89 MovieClip in Frame 12
onClipEvent (load) {
label = "AVOID CRASHING INTO THE TUNNEL WALLS!";
}
Instance of Symbol 89 MovieClip in Frame 12
onClipEvent (load) {
label = "THE FURTHER YOU GET, THE HIGHER YOUR SCORE ...GOOD LUCK!";
}
Instance of Symbol 89 MovieClip in Frame 20
onClipEvent (load) {
label = "OPTIONS";
}
Frame 48
stop();
securityCheck();
Instance of Symbol 96 MovieClip "main" in Frame 48
onClipEvent (load) {
fps = 25;
frametime = int(1000 * (1 / fps));
starttime = getTimer();
myTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
_root.stop();
Mouse.hide();
_quality = "LOW";
energy = 10;
lifeText = "";
_root.text = "";
dead = 0;
warpChance = 30;
skillInc = 0.035;
tunnelFriction = 0.9;
tunnelWidth = 220;
tolerance = (tunnelWidth * tunnelWidth) * 2;
zinc = -10;
speedInc = 0.001;
speed = 0.4;
turnSpeed = 80;
turnFriction = 0.6;
thrustPower = 3;
flipPitch = 1;
accel = 0.2;
fov = 150;
minZ = 10;
maxZ = 400;
maxX = 300;
maxY = 200;
star._visible = 0;
starcount = 30;
dist = 150;
starwidth = 60;
starheight = 60;
sc = 0;
while (sc < starcount) {
starinst = "star" + sc;
duplicateMovieClip ("star", starinst, sc);
starinst = this[starinst];
starinst.sz = dist + (sc * 34);
starinst.swapDepths(int((1000 + dist) - z));
sc++;
}
}
onClipEvent (enterFrame) {
thisTime = getTimer();
time = thisTime - mytime;
mytime = thisTime;
dtime = int((time / frametime) * 100) / 100;
if (_root.fade._width) {
dtime = 1;
}
if ((!dead) && (Key.isDown(37))) {
turn = 1;
} else if (Key.isDown((!dead) && 39)) {
turn = -1;
} else {
turn = 0;
}
dx = dx + (turn * turnSpeed);
dx = dx * turnFriction;
xinc = xinc + (((dx - xinc) * accel) * 0.5);
if ((!dead) && (Key.isDown(38))) {
pitch = 1;
} else if ((!dead) && (Key.isDown(40))) {
pitch = -1;
} else {
pitch = 0;
}
pitch = pitch * flipPitch;
dy = dy + (pitch * turnSpeed);
dy = dy * turnFriction;
yinc = yinc + (((dy - yinc) * accel) * 0.5);
_rotation = (xinc / 4);
_xscale = 100;
_yscale = 100;
if (!random(warpChance)) {
fX = (random(5) - 2) * skill;
skill = skill + skillInc;
}
myVX = myVX + fX;
myVX = myVX * tunnelFriction;
if (!random(warpChance)) {
fY = (random(5) - 2) * skill;
skill = skill + skillInc;
}
myVY = myVY + fY;
myVY = myVY * tunnelFriction;
sc = 0;
while (sc < starcount) {
starinst = this["star" + sc];
z = starinst.sz;
z = z + (zinc * dtime);
if (!dead) {
zinc = zinc - Math.abs(speedInc);
} else if (zinc > -0.01) {
_root.text = "";
_quality = "HIGH";
Mouse.show();
_root.score = score;
_root.nextFrame();
} else {
zinc = zinc * 0.995;
}
if (z < dist) {
if (!dead) {
score++;
}
div = (starinst.sx * starinst.sx) + (starinst.sy * starinst.sy);
if ((div > tolerance) && (!dead)) {
energy--;
lifeText = lifeText + "-";
zinc = zinc * 0.7;
xinc = xinc - (starinst.sx / 10);
yinc = yinc - (starinst.sy / 10);
if (!energy) {
_quality = "MEDIUM";
_root.text = "GAME OVER";
dead = 1;
_parent.player.gotoAndStop("dead");
} else {
_parent.flash.play();
}
}
z = z + 1000;
starinst.sx = (lastX - xinc) + myVX;
starinst.sy = (lastY - yinc) + myVY;
starinst._rotation = myVX / 2;
myColour = new Color(starinst);
myTransform.ra = myTransform.ra - 0.03;
myTransform.ga = myTransform.ga - 0.07;
myTransform.ba = myTransform.ba - 0.17;
myColour.setTransform(myTransform);
}
x = starinst.sx;
x = x + xinc;
y = starinst.sy;
y = y + yinc;
starinst.sx = x;
starinst.sy = y;
starinst.sz = z;
per = dist / z;
starinst._x = x * per;
starinst._y = y * per;
starinst._xscale = starwidth * per;
starinst._yscale = starheight * per;
distance = int(z / 20);
starinst.gotoAndStop(distance);
starinst.swapDepths(int((1000 + dist) - z));
lastX = starinst.sx;
lastY = starinst.sy;
sc++;
}
}
Instance of Symbol 111 MovieClip "player" in Frame 48
onClipEvent (load) {
dead = 0;
ship.gotoAndStop(17);
}
onClipEvent (enterFrame) {
ship.gotoAndStop(int(16 - (_parent.main.yinc / 3)));
_rotation = ((-_parent.main.xinc) / 2);
_xscale = 100;
_yscale = 100;
myX = _parent.main.xinc * 0.2;
myY = _parent.main.yinc * 0.2;
_x = (300 - myX);
_y = (200 - myY);
}
Instance of Symbol 76 MovieClip in Frame 49
onClipEvent (load) {
function buttonPressed() {
_root.gotoAndStop("ready");
}
label = "BACK TO MENU";
_alpha = 0;
a = -60;
maxalpha = 100;
}
onClipEvent (enterFrame) {
a = a + 8;
alpha = random(25) + a;
if (alpha > maxalpha) {
alpha = maxalpha;
}
_alpha = alpha;
}
Instance of Symbol 193 MovieClip in Frame 49
//component parameters
onClipEvent (initialize) {
scr = "_root.score";
}
Symbol 7 MovieClip Frame 1
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
Stage.showMenu = false;
this.uu = _root._url;
var a = _root._url.split("/");
var i = 0;
while (i < a.length) {
if (a[i] == "files") {
_root.gid = a[i + 1];
}
i++;
}
if ((a[2] == "www.netstupidity.com") || (a[2] == "netstupidity.com")) {
_root.ligin = 1;
}
_root.__url = "http://www.netstupidity.com/games/hof/";
_root.loadVariables((_root.__url + "hof_bsc.php?id=") + _root.gid);
_root.prc = 0;
this.onEnterFrame = function () {
var ld = _root.getBytesLoaded();
var tt = _root.getBytesTotal();
var pr = ((100 * ld) / tt);
this.pasek._xscale = pr;
var b = Math.round(pr / 20);
if (pr >= 100) {
this.onEnterFrame = null;
this._parent.play();
}
};
Symbol 21 MovieClip Frame 140
stop();
Symbol 60 MovieClip Frame 1
this.t = getTimer();
this.tm = 0;
this.onEnterFrame = function () {
if (_root._framesloaded < 2) {
this.t = getTimer();
return(undefined);
}
this.tm = this.tm + (getTimer() - this.t);
var tt = Math.round(this.tm / 33);
if (tt < 1) {
this.stop();
} else {
this.t = getTimer();
if (tt >= 145) {
this.onEnterFrame = null;
this.gotoAndStop(145);
_root.play();
} else {
this.gotoAndStop(tt);
}
}
};
stop();
Symbol 63 MovieClip Frame 1
_root.stop();
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 1
this._visible = _root.ligin == undefined;
this.onPress = function () {
getURL ("http://www.netstupidity.com");
};
Symbol 75 Button
on (press) {
buttonPressed();
}
Symbol 81 Button
on (press) {
nextFrame();
}
Symbol 83 Button
on (press) {
prevFrame();
}
Symbol 85 MovieClip Frame 1
if (_root.soundEnabled != null) {
if (!_root.soundEnabled) {
gotoAndStop (3);
}
} else {
_root.globalSound = new Sound();
_root.soundEnabled = 1;
}
Symbol 85 MovieClip Frame 2
stop();
_root.soundEnabled = 1;
_root.globalSound.setVolume(100);
Symbol 85 MovieClip Frame 3
stop();
_root.soundEnabled = 0;
_root.globalSound.setVolume(0);
Instance of Symbol 92 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) {
_rotation = random(360);
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 50
stop();
Symbol 108 MovieClip Frame 1
_rotation = random(360);
Symbol 108 MovieClip Frame 12
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 11
stop();
unloadMovie (this);
Symbol 134 Button
on (press) {
this.gotoAndStop("weekly");
}
Symbol 135 Button
on (press) {
this.gotoAndStop("daily");
}
Symbol 136 Button
on (press) {
this.gotoAndStop("hourly");
}
Symbol 139 Button
on (press) {
this.gotoAndStop("monthly");
}
Symbol 144 Button
on (press) {
this.gotoAndStop("daily");
}
Symbol 147 MovieClip Frame 1
this._parent.tp = 2592000 /* 0x278D00 */;
this._parent.tc = 0;
this._parent.reload();
stop();
Symbol 147 MovieClip Frame 2
this._parent.tp = 604800 /* 0x093A80 */;
this._parent.tc = 0;
this._parent.reload();
Symbol 147 MovieClip Frame 3
this._parent.tp = 86400 /* 0x015180 */;
this._parent.tc = 0;
this._parent.reload();
Symbol 147 MovieClip Frame 4
this._parent.tp = 3600;
this._parent.tc = 0;
this._parent.reload();
Symbol 154 Button
on (press) {
this.tc--;
this.reload();
}
Symbol 159 Button
on (press) {
this.tc = ((this.tc < 0) ? (this.tc + 1) : 0);
this.reload();
}
Symbol 162 Button
on (press) {
if (this.submitted == false) {
this.loadVariables((((this.__url + "hof_put.php?id=") + this.gid) + "&s=") + this.sc);
}
}
Symbol 166 Button
on (press) {
this._parent.l = 10;
this._parent.reload();
this.gotoAndStop(2);
}
Symbol 169 Button
on (press) {
this._parent.l = 100;
this._parent.reload();
this.gotoAndStop(1);
}
Symbol 170 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 18
stop();
Symbol 187 MovieClip Frame 1
function reset() {
this.m._x = this.s._x;
this.m._y = this.s._y;
}
function scroll(p) {
this._parent.rolki.f1.scroll = (this._parent.rolki.f2.scroll = (this._parent.rolki.f3.scroll = (this._parent.rolki.f4.scroll = int((this.mx * p) / 100))));
}
this.onEnterFrame = function () {
this.s._y = ((this.m._y > 5) ? (((this.m._y < 202) ? (this.m._y) : 202)) : 5);
this.mx = this._parent.rolki.f1.maxscroll;
scroll((100 * (this.s._y - 5)) / 197);
};
Instance of Symbol 186 MovieClip "m" in Symbol 187 MovieClip Frame 1
on (press) {
this.startDrag();
}
on (release, releaseOutside) {
this.stopDrag();
this._parent.reset();
}
Symbol 192 MovieClip Frame 1
this._visible = _root.ligin == undefined;
this.onPress = function () {
getURL ("http://www.netstupidity.com");
};
Symbol 193 MovieClip Frame 1
this.submitted = false;
Symbol 193 MovieClip Frame 2
function reload() {
if (this.rolki._currentframe > 1) {
this.rolki.gotoAndPlay(18);
}
var te = ((-this.tc) * this.tp);
var tb = ((-(this.tc - 1)) * this.tp);
this.loadVariables((((((((((this.__url + "hof_get.php?id=") + this.gid) + "&n=") + this.l) + "&tb=") + tb) + "&te=") + te) + "&s=") + this.sc);
}
this.uu = _root._url;
this.gid = _root.gid;
this.__url = _root.__url;
this.l = 10;
this.sc = eval (this.scr);
if (int(this.sc) > int(_root.bsc)) {
_root.bsc = this.sc;
}
this.onData = function () {
if (this.r == 1) {
this.rolki.gotoAndPlay(2);
clearInterval(this._itr);
return(undefined);
}
if (this.r == "3") {
this.submitted = true;
reload();
}
if (this.r == "2") {
getURL ("javascript:if(confirm('To submit Your score You have to be logged into netstupidity.com site. Do You wish to log in now?')) window.open('http://www.netstupidity.com/login.php'); void(0);");
}
};
stop();