Frame 1
stop();
function deadClick() {
}
function gotoMySite() {
getURL ("http://www.smcc-canossian.org/colintso", "_blank");
}
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem("2008 Colin Productions Co.", deadClick);
copyrightNotice.separatorBefore = true;
var mySiteLink = new ContextMenuItem("Colin's Home Page", gotoMySite);
myMenu.customItems.push(mySiteLink, copyrightNotice);
_root.menu = myMenu;
Frame 30
stop();
Frame 447
stop();
Frame 477
stop();
Frame 507
gotoAndPlay (447);
Frame 537
stop();
Frame 567
gotoAndPlay (447);
Frame 597
stop();
Frame 627
gotoAndPlay (447);
Frame 628
stop();
function updateFrameRate() {
if (counter == updateRate) {
var _local2 = getTimer();
var _local3 = (_local2 - startTime) / 1000;
var _local1 = updateRate / _local3;
_local1 = Math.floor(_local1 * precision) / precision;
fRate = "FPS: " + _local1;
startTime = _local2;
counter = 1;
} else {
counter++;
}
}
var counter = 1;
var startTime = getTimer();
var updateRate = 6;
var precision = 1;
precision = Math.pow(10, precision);
onEnterFrame = function () {
updateFrameRate();
};
var ship_filter = (new flash.filters.GlowFilter(65280, 0.8, 4, 4, 2, 3, false, false));
var smoke_filter = (new flash.filters.GlowFilter(16711680, 0.8, 4, 4, 2, 3, false, false));
var tunnel_filter = (new flash.filters.GlowFilter(16776960, 0.8, 4, 4, 2, 3, false, false));
var rock_filter = (new flash.filters.GlowFilter(39372, 0.8, 4, 4, 2, 3, false, false));
var man_filter = (new flash.filters.GlowFilter(16776960, 0.8, 4, 4, 2, 3, false, false));
var alien_filter = (new flash.filters.GlowFilter(16711680, 0.8, 4, 4, 2, 3, false, false));
var fix_filter = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 2, 3, false, false));
gravity = 0.1;
thrust = 0.2;
yspeed = 0;
xspeed = 10;
distance = 0;
timer = 0;
hp = 100;
hp_max = 100;
timer2 = 0;
score = distance;
smoke_interval = 1000;
frames_passed = 0;
tunnel_height = 281;
bonus = " ";
if (score > 10000) {
rock_freq = 200;
} else if (score < 10000) {
rock_freq = 100;
}
man_freq = 25;
alien_freq = 25;
fix_freq = 5;
engines = false;
game = true;
_root.attachMovie("ship", "ship", _root.getNextHighestDepth(), {_x:150, _y:200});
_root.createEmptyMovieClip("deadly_movie", _root.getNextHighestDepth());
_root.createEmptyMovieClip("tunnel_movie", _root.getNextHighestDepth());
_root.createEmptyMovieClip("good_movie", _root.getNextHighestDepth());
_root.createEmptyMovieClip("bad_movie", _root.getNextHighestDepth());
_root.createEmptyMovieClip("fix_movie", _root.getNextHighestDepth());
ship.filters = new Array(ship_filter);
ship.onEnterFrame = function () {
if ((Math.random() * 1000) < rock_freq) {
rock = deadly_movie.attachMovie("rock", "rock" + deadly_movie.getNextHighestDepth(), deadly_movie.getNextHighestDepth(), {_x:1010, _y:(Math.random() * 750) + 50, _rotation:Math.random() * 360});
rock.filters = new Array(rock_filter);
rock.onEnterFrame = function () {
this._x = this._x - xspeed;
dist_x3 = (ship._x + (28 * Math.cos(angle))) - this._x;
dist_y3 = (ship._y + (28 * Math.sin(angle))) - this._y;
dist3 = Math.sqrt((dist_x3 * dist_x3) + (dist_y3 * dist_y3));
if (dist3 < 26.5) {
hp = hp - 25;
ship._alpha = hp;
timer2 = 0;
timer2 = timer2 + 1;
shield_text = "-25";
this.removeMovieClip();
}
if ((this._x < -10) or tunnel_movie.hitTest(this._x, this._y, true)) {
this.removeMovieClip();
}
if (timer2 > 90) {
shield_text = " ";
}
};
}
if ((Math.random() * 1000) < fix_freq) {
fix = fix_movie.attachMovie("fix", "fix" + fix_movie.getNextHighestDepth(), fix_movie.getNextHighestDepth(), {_x:1010, _y:(Math.random() * 750) + 50});
fix.filters = new Array(fix_filter);
fix.onEnterFrame = function () {
this._x = this._x - xspeed;
dist_x4 = (ship._x + (28 * Math.cos(angle))) - this._x;
dist_y4 = (ship._y + (28 * Math.sin(angle))) - this._y;
dist4 = Math.sqrt((dist_x4 * dist_x4) + (dist_y4 * dist_y4));
if (dist4 < 26.5) {
hp = hp_max;
ship._alpha = hp;
this.removeMovieClip();
}
if ((this._x < -10) or tunnel_movie.hitTest(this._x, this._y, true)) {
this.removeMovieClip();
}
};
}
if ((Math.random() * 1000) < man_freq) {
man = good_movie.attachMovie("man", "man" + good_movie.getNextHighestDepth(), good_movie.getNextHighestDepth(), {_x:1010, _y:(Math.random() * 750) + 50});
man.filters = new Array(man_filter);
man.onEnterFrame = function () {
this._x = this._x - xspeed;
dist_x = (ship._x + (28 * Math.cos(angle))) - this._x;
dist_y = (ship._y + (28 * Math.sin(angle))) - this._y;
dist = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y));
if (dist < 26.5) {
score = score + 100;
timer = 0;
timer = timer + 1;
bonus = "+100";
this.removeMovieClip();
}
if ((this._x < -10) or tunnel_movie.hitTest(this._x, this._y, true)) {
this.removeMovieClip();
}
};
if (timer > 90) {
bonus = " ";
}
}
if ((Math.random() * 1000) < alien_freq) {
alien = bad_movie.attachMovie("alien", "alien" + bad_movie.getNextHighestDepth(), bad_movie.getNextHighestDepth(), {_x:1010, _y:(Math.random() * 750) + 50});
alien.filters = new Array(alien_filter);
alien.onEnterFrame = function () {
this._x = this._x - xspeed;
dist_x2 = (ship._x + (28 * Math.cos(angle))) - this._x;
dist_y2 = (ship._y + (28 * Math.sin(angle))) - this._y;
dist2 = Math.sqrt((dist_x2 * dist_x2) + (dist_y2 * dist_y2));
if (dist2 < 26.5) {
score = score - 1000;
timer = 0;
timer = timer + 1;
bonus = "-1000";
this.removeMovieClip();
}
if ((this._x < -10) or tunnel_movie.hitTest(this._x, this._y, true)) {
this.removeMovieClip();
}
};
if (timer > 90) {
bonus = " ";
}
}
if ((game = true)) {
score = score + 0.001;
timer = timer + 1;
timer2 = timer2 + 1;
score = Math.floor(score);
if (score > highscore) {
highscore = score;
}
}
if (engines) {
yspeed = yspeed - thrust;
smoke_interval = smoke_interval - 0.25;
}
if (mousehide == true) {
Mouse.hide();
} else if (mousehide == false) {
Mouse.show();
}
if (score > 10000) {
rock_freq = 200;
} else if (score < 10000) {
rock_freq = 100;
}
yspeed = yspeed + gravity;
this._y = this._y + yspeed;
angle = Math.atan2(yspeed, xspeed);
this._rotation = (angle * 180) / Math.PI;
frames_passed++;
distance = distance + xspeed;
if (distance > 50) {
step = distance - 50;
wall = tunnel_movie.attachMovie("tunnel", "tunnel" + tunnel_movie.getNextHighestDepth(), tunnel_movie.getNextHighestDepth(), {_x:1025 - step, _y:tunnel_height});
wall.filters = new Array(tunnel_filter);
wall.onEnterFrame = function () {
this._x = this._x - xspeed;
if (this._x < -25) {
this.removeMovieClip();
}
};
tunnel_height = tunnel_height + (Math.floor(Math.random() * 40) - 19);
if (tunnel_height < 60) {
tunnel_height = 60;
}
if (tunnel_height > 520) {
tunnel_height = 520;
}
distance = step;
}
score = score + xspeed;
if (frames_passed >= smoke_interval) {
sm = _root.attachMovie("smoke", "smoke" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x - 2, _y:this._y});
sm.filters = new Array(smoke_filter);
sm.onEnterFrame = function () {
this._x = this._x - xspeed;
this._width = this._width - 0.5;
this._height = this._height - 0.5;
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
frames_passed = 0;
}
if ((((((this._y > 790) or (this._y < 0)) or (hp <= 0)) or tunnel_movie.hitTest(this._x + (28 * Math.cos(angle)), this._y + (28 * Math.sin(angle)), true)) or tunnel_movie.hitTest(this._x + (8 * Math.cos(angle + (Math.PI/2))), this._y + (8 * Math.sin(angle + (Math.PI/2))), true)) or tunnel_movie.hitTest(this._x + (8 * Math.cos(angle - (Math.PI/2))), this._y + (8 * Math.sin(angle - (Math.PI/2))), true)) {
yspeed = 0;
distance = 0;
this._y = 200;
game = false;
tunnel_movie.removeMovieClip();
deadly_movie.removeMovieClip();
good_movie.removeMovieClip();
bad_movie.removeMovieClip();
fix_movie.removeMovieClip();
ship.removeMovieClip();
gotoAndPlay (629);
}
};
if ((game = true)) {
_root.onMouseDown = function () {
engines = true;
smoke_interval = 5;
};
}
if ((game = true)) {
_root.onMouseUp = function () {
engines = false;
smoke_interval = 1000;
};
}
stop();
Frame 629
stop();
game = false;
Mouse.show();
_global.Behaviors.Sound.backmus.stop("Alone Again.mp3");
Frame 630
stop();
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
gotoAndPlay (631);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = username;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = score;
__rankz_send__("MjkyNGolZSVhJW4lcw==", "dlZsU3FVQno=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
Frame 631
stop();
getURL ("http://rankz.armorbot.com/NGgame2", "_blank");
Frame 632
stop();
rankz_t10_send = new LoadVars();
rankz_t10_receive = new LoadVars();
rankz_t10_send.SU0249 = "MjkyNGolZSVhJW4lcw==";
rankz_t10_send.flashkey = "dlZsU3FVQno=";
rankz_t10_receive.onLoad = function (success) {
if (success) {
_rankz_ar_ = rankz_t10_receive.top10.split("<u/*/u>");
i = 0;
while (i < _rankz_ar_.length) {
tempv = _rankz_ar_[i].split("</*/>");
_root["rankz_n" + (i + 1)].text = tempv[0];
_root["rankz_v" + (i + 1)].text = tempv[1];
i++;
}
}
};
rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", rankz_t10_receive, "POST");
Symbol 7 MovieClip [score] Frame 1
score = score + 1;
Symbol 25 MovieClip Frame 1
var pc = 0;
this.onEnterFrame = function () {
pc = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.pc_txt.text = pc;
if ((pc == 100) && (!isNAN(pc))) {
delete this.onEnterFrame;
_root.play();
}
};
Symbol 240 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 47 Button
on (release) {
gotoAndPlay (31);
}
Symbol 75 Button
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 83 Button
on (release) {
gotoAndPlay (628);
}
Symbol 90 Button
on (release) {
gotoAndPlay (508);
}
Symbol 94 Button
on (release) {
gotoAndPlay (448);
}
Symbol 98 Button
on (release) {
gotoAndPlay (568);
}
Symbol 102 Button
on (release) {
getURL ("http://rankz.armorbot.com/NGgame2/", "_blank");
}
Symbol 105 MovieClip Frame 15
stop();
Symbol 117 Button
on (press) {
_quality == "HIGH";
}
Symbol 119 Button
on (press) {
_quality == "MEDIUM";
}
Symbol 121 Button
on (press) {
_quality == "LOW";
}
Symbol 127 Button
on (release) {
gotoAndPlay (478);
}
Symbol 128 Button
on (press) {
if ((_quality == "LOW") or "MEDIUM") {
_quality = "HIGH";
}
}
Symbol 129 Button
on (press) {
if ((_quality == "LOW") or "HIGH") {
_quality = "MEDIUM";
}
}
Symbol 130 Button
on (press) {
if ((_quality == "HIGH") or "MEDIUM") {
_quality = "LOW";
}
}
Symbol 131 Button
on (press) {
mousehide = false;
}
Symbol 132 Button
on (press) {
mousehide = true;
}
Symbol 135 Button
on (release) {
gotoAndPlay(next);
}
Symbol 154 Button
on (release) {
gotoAndPlay (538);
}
Symbol 160 Button
on (release) {
gotoAndPlay (598);
}
Symbol 161 Button
on (release) {
gotoAndPlay (598);
}
Symbol 177 Button
on (release) {
gotoAndPlay (628);
}
Symbol 181 Button
on (release) {
gotoAndPlay (418);
}
Symbol 184 Button
on (release) {
gotoAndPlay (632);
}
Symbol 188 Button
on (release) {
gotoAndPlay (630);
}
Symbol 237 Button
on (release) {
gotoAndPlay (418);
}