Frame 1
stop();
Stage.showMenu = false;
Frame 3
stop();
Frame 4
Mouse.hide();
Frame 10
alll = new Sound(alll);
_root.mainmusic = new Sound(mainmus);
_root.mainmusic.attachSound("crunch");
_root.shipsound = new Sound(shipsounder);
_root.airsound = new Sound(airsounder);
_root.receivinghiscore = false;
_root.insructyet = false;
_root.crashedyet = false;
_root.truckedyet = false;
_root.dronedyet = false;
_root.hackedyet = false;
_root.assaultyet = false;
_root.tinsructyet = false;
_root.qualiteh = "MEDIUM";
Frame 15
_root.alll.setVolume(0);
Frame 16
stopAllSounds();
Frame 30
stop();
_root.volume = 100;
_root.musicvolume = 100;
_root.alll.setVolume(_root.volume);
_root.mainmusic.stop();
_root.mainmusic.attachSound("crunch2");
_root.mainmusic.start(0, 999999999);
_root.mainmusic.setVolume(_root.musicvolume * 1.5);
Instance of Symbol 164 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (((_currentframe > 90) && (_currentframe < 110)) && (_root.alll.getVolume() > 0)) {
_root.alll.setVolume(_root.alll.getVolume() - 5);
}
}
Frame 31
receivinghiscore = true;
gotoAndStop (30);
Frame 32
_root.mainmusic.stop();
gotoAndStop (30);
Frame 34
stop();
Frame 45
stopAllSounds();
_root.alll.setVolume(_root.volume);
_root.mainmusic.stop();
_root.mainmusic.attachSound("crunch");
_root.mainmusic.start(0, 999999999);
_root.mainmusic.setVolume(_root.musicvolume * 1.5);
_root.airsound.attachSound("air");
_root.airsound.start(0, 999);
_root.airsound.setVolume(0);
stop();
Instance of Symbol 172 MovieClip "truckmarker" in Frame 45
onClipEvent (enterFrame) {
if (!_root.paused) {
arra.play();
xfull = _root.drone1._x;
if ((xfull > 640) && (!_root.craft.autopilot)) {
xfull = 640;
}
if (xfull > 860) {
xfull = 860;
}
_x = (_x + ((xfull - _x) * 0.3));
} else {
arra.stop();
}
}
Instance of Symbol 178 MovieClip in Frame 45
onClipEvent (load) {
blur._xscale = 0;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
_x = (_x - _root.craft.xs);
_x = (_x - _root.craft.xs);
blur._xscale = _root.craft.xs;
if (_x < -100) {
_x = (_x + 750);
}
}
}
Instance of Symbol 178 MovieClip in Frame 45
onClipEvent (load) {
blur._xscale = 0;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
_x = (_x - _root.craft.xs);
_x = (_x - _root.craft.xs);
blur._xscale = _root.craft.xs;
if (_x < -100) {
_x = (_x + 750);
}
}
}
Instance of Symbol 290 MovieClip "targetlock" in Frame 45
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_y = (_y + ((_root.craft._y - _y) * 0.3));
}
Instance of Symbol 290 MovieClip "targetlock2" in Frame 45
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
_y = (_y + ((_root.gundrone._y - _y) * 0.3));
_x = (_x + ((_root.gundrone._x - _x) * 0.3));
}
Instance of Symbol 292 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (!_root.paused) {
_x = (_x - (_root.craft.xs * 1.1));
_x = (_x - (_root.craft.xs * 1.1));
_y = (_y + _root.yshake);
if (_x < 0) {
_x = (_x + 666);
}
}
}
Instance of Symbol 292 MovieClip in Frame 45
onClipEvent (load) {
_xscale = 90.9090909090909;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
_x = (_x - _root.craft.xs);
_x = (_x - _root.craft.xs);
_y = (_y + _root.yshake);
if (_x < 0) {
_x = (_x + 605.454545454545);
}
}
}
Instance of Symbol 292 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (!_root.paused) {
_x = (_x - (_root.craft.xs * 1.1));
_x = (_x - (_root.craft.xs * 1.1));
_y = (_y + _root.yshake);
if (_x < 0) {
_x = (_x + 666);
}
}
}
Instance of Symbol 262 MovieClip "missile" in Frame 45
onClipEvent (load) {
tint = new Color(_root.mshadow);
shadows = new Object();
}
onClipEvent (enterFrame) {
if (_root.illuminated) {
shadows = {ra:"0", rb:"255", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
shadows = {ra:"0", rb:"102", ga:"0", gb:"102", ba:"0", bb:"102", aa:"100", ab:"0"};
}
tint.setTransform(shadows);
if (_root.pausing) {
if (_root.paused) {
stop();
_root.mshadow.stop();
} else if (_currentframe > 1) {
play();
_root.mshadow.play();
}
}
if (!_root.paused) {
if (_y > 0) {
xs = xs + 3;
_x = (_x + (xs - _root.craft.xs));
}
if (_x > 1000) {
gotoAndPlay (1);
_y = -100;
}
_root.mshadow._x = _x - 8;
_root.mshadow._y = _y + 16;
cfr = _currentframe;
_root.mshadow.gotoAndPlay(_currentframe);
}
if (_root.illuminated && ((_currentframe > 1) && (_currentframe < 5))) {
gotoAndPlay (12);
}
if ((!_root.illuminated) && ((_currentframe > 11) && (_currentframe < 15))) {
gotoAndPlay (2);
}
}
Instance of Symbol 262 MovieClip "missileback" in Frame 45
onClipEvent (load) {
passed = true;
tint = new Color(_root.mshadow);
shadows = new Object();
}
onClipEvent (enterFrame) {
if (_root.illuminated) {
shadows = {ra:"0", rb:"255", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
shadows = {ra:"0", rb:"102", ga:"0", gb:"102", ba:"0", bb:"102", aa:"100", ab:"0"};
}
tint.setTransform(shadows);
if (_root.pausing) {
if (_root.paused) {
stop();
_root.mshadowback.stop();
} else if (_currentframe > 1) {
play();
_root.mshadowback.play();
}
}
if (!_root.paused) {
if (_y < 700) {
xs = xs - 3;
_x = (_x + (xs - _root.craft.xs));
}
if (_x < -200) {
if ((!passed) && (_root.craft.alive == "true")) {
_root.dodge++;
passed = true;
}
gotoAndPlay (1);
_y = 800;
}
_root.mshadowback._x = _x - 8;
_root.mshadowback._y = _y + 16;
cfr = _currentframe;
_root.mshadowback.gotoAndPlay(_currentframe);
}
if (_root.illuminated && ((_currentframe > 1) && (_currentframe < 5))) {
gotoAndPlay (12);
}
if ((!_root.illuminated) && ((_currentframe > 11) && (_currentframe < 15))) {
gotoAndPlay (2);
}
}
Instance of Symbol 262 MovieClip "missileback2" in Frame 45
onClipEvent (load) {
passed = true;
tint = new Color(_root.mshadow);
shadows = new Object();
}
onClipEvent (enterFrame) {
if (_root.illuminated) {
shadows = {ra:"0", rb:"255", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
shadows = {ra:"0", rb:"102", ga:"0", gb:"102", ba:"0", bb:"102", aa:"100", ab:"0"};
}
tint.setTransform(shadows);
if (_root.pausing) {
if (_root.paused) {
stop();
_root.mshadowback2.stop();
} else if (_currentframe > 1) {
play();
_root.mshadowback2.play();
}
}
if (!_root.paused) {
if (_y < 700) {
xs = xs - 3;
_x = (_x + (xs - _root.craft.xs));
}
if (_x < -200) {
if ((!passed) && (_root.craft.alive == "true")) {
_root.dodge++;
passed = true;
}
gotoAndPlay (1);
_y = 800;
}
_root.mshadowback2._x = _x - 8;
_root.mshadowback2._y = _y + 16;
cfr = _currentframe;
_root.mshadowback2.gotoAndPlay(_currentframe);
}
if (_root.illuminated && ((_currentframe > 1) && (_currentframe < 5))) {
gotoAndPlay (12);
}
if ((!_root.illuminated) && ((_currentframe > 11) && (_currentframe < 15))) {
gotoAndPlay (2);
}
}
Instance of Symbol 344 MovieClip "craft" in Frame 45
onClipEvent (load) {
_root.dodge = 0;
autopilot = true;
_root.fraglight = 100;
_root.fragdark = 50;
_root.paused = false;
_root.objs = 0;
health = 4;
_root.fragstopper = 0;
alive = "true";
topys = 20;
ya = 6;
xa = 2;
rxa = 4;
z = 0;
xs = 20;
_root.gravity = 0.5;
cd = 30 * _root.stime;
healthmax = 5;
healthmaxrem = healthmax;
}
onClipEvent (enterFrame) {
_root.shipnum = 4;
if (_root.pausing) {
if (_root.paused) {
_root.shadow.stop();
stop();
} else if ((_currentframe > 10) && (_currentframe < 19)) {
_root.shadow.play();
play();
}
}
if (autopilot) {
xs = 40;
y = 200;
x = x + xs;
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
_root.shadow._x = _x;
_root.shadow._y = y + (z * 0.5);
_root.shadow.gotoAndStop(_currentframe);
flare = Math.pow(2, (xs / 50) - 1) + burst;
bb1._x = ab1._x;
bb1._y = ab1._y;
bb2._x = ab2._x;
bb2._y = ab2._y;
bb1._xscale = ab1._xscale * flare;
bb1._yscale = ab1._yscale;
bb2._xscale = ab2._xscale * flare;
bb2._yscale = ab2._yscale;
if (_root.illuminated) {
gotoAndStop(Math.round((ys / topys) * 4) + 25);
} else {
gotoAndStop(Math.round((ys / topys) * 4) + 5);
}
tdist = "...m";
_root.arra.gotoAndStop((((_root.traffic.truk._x - _x) / Math.abs(_root.traffic.truk._x - _x)) / 2) + 1.5);
}
if ((!_root.paused) && (!autopilot)) {
if (_root.fraglight < 100) {
_root.fraglight = _root.fraglight + 10;
}
cd--;
if ((alive == "false") && (_currentframe == 19)) {
_root.deadness.play();
}
if (alive == "true") {
if ((Key.isDown(16) && (z == 0)) && (jumbaplie == "ddef")) {
zs = 5;
}
if ((Key.isDown(32) && (_root.missile._currentframe == 1)) && (missiles > 0)) {
_root.missilelaunchsound.gotoAndPlay(2);
missiles--;
_root.missile.gotoAndPlay(2);
_root.missile._x = _x + 10;
_root.missile._y = _y;
_root.missile.xs = xs;
}
if (Key.isDown(37)) {
if (enginestate != "brake") {
_root.shipsound.stop();
_root.shipsound.attachSound("decc");
_root.shipsound.setVolume(70);
_root.shipsound.start();
}
enginestate = "brake";
xs = xs - (xa * 3);
} else {
burst = burst * 0.5;
if (Key.isDown(39)) {
if (enginestate != "accelerate") {
_root.shipsound.stop();
_root.shipsound.attachSound("acc");
_root.shipsound.setVolume(90);
_root.shipsound.start(xs / 25);
}
enginestate = "accelerate";
burst = burst + ((0.5 - burst) * 0.5);
xs = xs + xa;
} else {
enginestate = "coast";
}
}
xs = xs * 0.98;
if (xs > 60) {
xs = 60;
}
if (Key.isDown(38)) {
ys = ys - ya;
}
if (Key.isDown(40)) {
ys = ys + ya;
}
if (xs < 1) {
xs = 1;
}
if (xs > 100) {
xs = 100;
}
}
if (!(Key.isDown(38) || (Key.isDown(40)))) {
if (Math.abs(ys) < ya) {
ys = 0;
}
if (ys < 0) {
ys = ys + ya;
}
if (ys > 0) {
ys = ys - ya;
}
}
if (ys > topys) {
ys = topys;
}
if (ys < (-topys)) {
ys = -topys;
}
if (rxs > topys) {
rxs = topys;
}
if (rxs < (-topys)) {
rxs = -topys;
}
zs = zs - _root.gravity;
z = z + zs;
if (z < 0) {
z = 0;
zs = 0;
}
x = x + xs;
y = y + ys;
_root.nexttrucktimer++;
if (y < 40) {
y = 40;
ys = ys * -1;
}
if (y > 360) {
y = 360;
ys = ys * -1;
}
if (alive == "false") {
xs = xs * 0.99;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
_root.shadow._x = _x;
_root.shadow._y = y + (z * 0.5);
_root.shadow.gotoAndStop(_currentframe);
flare = Math.pow(2, (xs / 50) - 1) + burst;
bb1._x = ab1._x;
bb1._y = ab1._y;
bb2._x = ab2._x;
bb2._y = ab2._y;
bb1._xscale = ab1._xscale * flare;
bb1._yscale = ab1._yscale;
bb2._xscale = ab2._xscale * flare;
bb2._yscale = ab2._yscale;
if (alive == "true") {
if (_root.illuminated) {
gotoAndStop(Math.round((ys / topys) * 4) + 25);
} else {
gotoAndStop(Math.round((ys / topys) * 4) + 5);
}
}
if (this.biggerhitter.hitTest(_root.missileback)) {
if (Number((_root.missileback._currentframe > 1) && (_root.missileback._currentframe < 5)) || (Number((_root.missileback._currentframe > 11) && (_root.missileback._currentframe < 15)))) {
_root.targetlock.play();
health = 0;
_root.missileback.gotoAndPlay(6);
gotoAndPlay (11);
}
}
if (this.biggerhitter.hitTest(_root.missileback2)) {
if (Number((_root.missileback2._currentframe > 1) && (_root.missileback2._currentframe < 5)) || (Number((_root.missileback2._currentframe > 11) && (_root.missileback2._currentframe < 15)))) {
_root.targetlock.play();
health = 0;
_root.missileback2.gotoAndPlay(6);
gotoAndPlay (11);
}
}
tdist = Math.abs(Math.round((_root.drone1._x - _x) / 20)) add "m";
tdistnumber = Math.round((_root.drone1._x - _x) / 20);
_root.arra.gotoAndStop((((_root.drone1._x - _x) / Math.abs(_root.traffic.truk._x - _x)) / 2) + 1.5);
healthmax = 5 - Math.floor(_root.objs / 5);
if (healthmax < 1) {
healthmax = 1;
}
if (healthmax != healthmaxrem) {
healthmaxrem = healthmax;
_root.hudd.helfy.play();
}
if (health > (healthmax - 1)) {
health = healthmax - 1;
}
if (missiles > healthmax) {
missiles = healthmax;
}
healths = Math.round(((health + 1) * 100) / 3) add "%";
cds = Math.ceil(cd / 30);
if (cds < 0) {
}
oldx = x;
oldy = y;
_root.airsound.setVolume(((((xs * 0.3) * (100 - _root.musicvolume)) * 0.66) * 0.01) + Math.abs(ys * 2));
}
if (_root.paused) {
_root.airsound.setVolume(0);
}
}
Instance of Symbol 353 MovieClip "bdrone1" in Frame 45
onClipEvent (enterFrame) {
if (_alpha > 20) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 207 MovieClip "p1" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 215 MovieClip "p2" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 222 MovieClip "p3" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 229 MovieClip "p4" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 237 MovieClip "p5" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 242 MovieClip "p6" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 207 MovieClip "pp1" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 215 MovieClip "pp2" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 222 MovieClip "pp3" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 229 MovieClip "pp4" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 237 MovieClip "pp5" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 242 MovieClip "pp6" in Frame 45
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 282 MovieClip "gundrone" in Frame 45
onClipEvent (load) {
ya = 6;
missilepack = 5;
missiles = missilepack;
topys = 20;
firerate = 10;
action = "idle";
}
onClipEvent (enterFrame) {
if (!_root.paused) {
oldy = _y;
if ((action == "fallback") && (_x < 800)) {
ys = ys - 2;
if (ys < (-topys)) {
ys = -topys;
}
_y = (_y + ys);
if (_y < -100) {
missilepack = missilepack + 5;
missiles = missilepack;
action = "idle";
_root.drone1.respawn();
_x = 800;
_y = 200;
}
framed = Math.round((ys / topys) * 4) + 5;
if (framed < 1) {
framed = 1;
}
if (framed > 9) {
framed = 9;
}
gotoAndStop(Number(framed));
if (_currentframe == 5) {
stop();
}
}
if (action == "approach") {
_x = (_x + ((380 - _x) * 0.03));
_y = (_y + ((_root.craft._y - _y) * 0.3));
ys = _y - oldy;
framed = Math.round((ys / topys) * 4) + 5;
if (framed < 1) {
framed = 1;
}
if (framed > 9) {
framed = 9;
}
if (_x < 480) {
_root.beep.play();
}
if (_x < 440) {
action = "firing";
}
gotoAndStop(Number(framed));
}
if (action == "firing") {
xs = 0;
_y = (_y + ((_root.craft._y - _y) * 0.3));
ys = _y - oldy;
cycler++;
if (missiles == 0) {
_root.targetlock.play();
_root.targetlock2.play();
action = "fallback";
}
if ((missiles > 0) && (cycler == firerate)) {
if (_root.missileback._currentframe != 1) {
cycler--;
} else {
missiles--;
_root.missilelaunchsound.gotoAndPlay(2);
_root.missileback.gotoAndPlay(2);
_root.missileback._x = _x;
_root.missileback._y = _y - 12;
_root.missileback.xs = _root.craft.xs - 10;
_root.missileback.passed = false;
}
}
if ((missiles > 0) && (cycler == (firerate * 2))) {
if (_root.missileback2._currentframe != 1) {
cycler--;
} else {
missiles--;
cycler = 0;
_root.missileback2.gotoAndPlay(2);
_root.missileback2._x = _x;
_root.missileback2._y = _y + 12;
_root.missileback2.xs = _root.craft.xs - 14;
_root.missileback2.passed = false;
}
}
framed = Math.round((ys / topys) * 4) + 5;
if (framed < 1) {
framed = 1;
}
if (framed > 9) {
framed = 9;
}
gotoAndStop(Number(framed));
}
_root.sgundrone._x = _x - 17;
_root.sgundrone._y = _y + 17;
_root.sgundrone.gotoAndStop(_currentframe);
}
}
Instance of Symbol 287 MovieClip "drone1" in Frame 45
onClipEvent (load) {
this.respawn = function () {
craftpast = false;
gotoAndPlay (1);
xs = random(10) + 40;
_y = 190;
_x = 8000;
lasercycle = 0;
laserspread = 100;
};
craftpast = false;
}
onClipEvent (enterFrame) {
if (_root.pausing) {
if (_root.paused) {
spin.stop();
tellTarget (("_root.s" add _name) add ".spin") {
stop();
};
stop();
} else {
spin.play();
tellTarget (("_root.s" add _name) add ".spin") {
play();
};
}
}
if (!_root.paused) {
xs = _root.traffic.truk.xs;
_x = (_x - (_root.craft.xs - xs));
_x = (_x - (_root.craft.xs - xs));
_alpha = 100;
lasercycle = lasercycle + 0.1;
_y = ((_y + _root.yshake) + ys);
setProperty("_root.l" add _name, _y , _y);
setProperty("_root.l" add _name, _x , _x + (Math.sin(lasercycle) * laserspread));
setProperty("_root.b" add _name, _y , _y);
setProperty("_root.b" add _name, _x , _x + (Math.sin(lasercycle) * laserspread));
setProperty("_root.b" add _name, _xscale , (-Math.sin(lasercycle)) * laserspread);
setProperty("_root.s" add _name, _y , _y + 17);
setProperty("_root.s" add _name, _x , _x - 17);
Set(("_root.s" add _name) add ".type", _currentframe);
oldcraftpast = craftpast;
craftpast = false;
if (_root.craft._x > (_x + (Math.sin(lasercycle) * laserspread))) {
craftpast = true;
}
if (_y > 0) {
if ((craftpast != oldcraftpast) && (_root.craft.alive == "true")) {
setProperty("_root.b" add _name, _alpha , 100);
_root.missilelaunchsound.gotoAndPlay(4);
if (_root.targetlock._currentframe == 1) {
_root.targetlock.gotoAndPlay(2);
_root.targetlock2.gotoAndPlay(2);
}
if (_x < -150) {
_y = -150;
}
}
}
}
}
Instance of Symbol 358 MovieClip "missilelf" in Frame 45
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_root.shipnum = 0;
shinex = _root.missile._x;
shiney = _root.missile._y;
if ((shinex > 640) || (shinex < 0)) {
if ((_alpha > 0) && (!_root.paused)) {
_alpha = (Number(_alpha) - 7.5);
}
} else {
_alpha = 40;
}
if (epe == "epepe") {
_alpha = 40;
if (shinex > 640) {
_alpha = (((840 - shinex) / 200) * 40);
}
if (shinex > 840) {
_alpha = 0;
}
if (shinex < 0) {
_alpha = (((_root.shinex + 100) / 100) * 40);
}
}
if (!((_root.missile._currentframe < 7) && (_root.missile._currentframe > 1))) {
_alpha = 0;
}
ring1._x = 640 - shinex;
ring1._y = 400 - shiney;
ring2._x = 320 + ((shinex - 320) * -0.6);
ring2._y = 200 + ((shiney - 200) * -0.6);
ring3._x = 320 + ((shinex - 320) * -0.15);
ring3._y = 200 + ((shiney - 200) * -0.15);
ring5._x = 320 + ((shinex - 320) * -0.3);
ring5._y = 200 + ((shiney - 200) * -0.3);
ring4._x = 320 + ((shinex - 320) * 0.1);
ring4._y = 200 + ((shiney - 200) * 0.1);
ring6._x = 320 + ((shinex - 320) * 0.5);
ring6._y = 200 + ((shiney - 200) * 0.5);
ring7._x = 320 + (shinex - 320);
ring7._y = 200 + (shiney - 200);
starer._x = 320 + (shinex - 320);
starer._y = 200 + (shiney - 200);
}
Instance of Symbol 358 MovieClip "exlf" in Frame 45
onClipEvent (load) {
go = "false";
_alpha = 0;
}
onClipEvent (enterFrame) {
shinex = _root.shine2x;
shiney = _root.shine2y;
if ((_alpha > 0) && (!_root.paused)) {
_alpha = (Number(_alpha) - 7.5);
}
if (go == "true") {
go = "false";
_alpha = 60;
}
ring1._x = 640 - shinex;
ring1._y = 400 - shiney;
ring2._x = 320 + ((shinex - 320) * -0.6);
ring2._y = 200 + ((shiney - 200) * -0.6);
ring3._x = 320 + ((shinex - 320) * -0.15);
ring3._y = 200 + ((shiney - 200) * -0.15);
ring5._x = 320 + ((shinex - 320) * -0.3);
ring5._y = 200 + ((shiney - 200) * -0.3);
ring4._x = 320 + ((shinex - 320) * 0.1);
ring4._y = 200 + ((shiney - 200) * 0.1);
ring6._x = 320 + ((shinex - 320) * 0.5);
ring6._y = 200 + ((shiney - 200) * 0.5);
ring7._x = 320 + (shinex - 320);
ring7._y = 200 + (shiney - 200);
starer._x = 320 + (shinex - 320);
starer._y = 200 + (shiney - 200);
}
Instance of Symbol 407 MovieClip "pausemenu" in Frame 45
onClipEvent (enterFrame) {
if (_root.pausing) {
_root.pausing = false;
}
if ((Key.isDown(80) && (_currentframe == 1)) && (!_root.craft.autopilot)) {
_root.paused = true;
_root.pausing = true;
gotoAndPlay (2);
}
_y = 290;
}
Instance of Symbol 484 MovieClip "deadness" in Frame 45
onClipEvent (enterFrame) {
if ((_currentframe > 1) && (_root.mainmusic.getVolume() > 0)) {
_root.mainmusic.setVolume(_root.mainmusic.getVolume() - 1);
} else if ((_currentframe > 1) && (_root.mainmusic.getVolume() == 0)) {
_root.mainmusic.stop();
}
}
Frame 48
stop();
Frame 49
play();
Frame 50
stopAllSounds();
_root.alll.setVolume(_root.volume);
_root.mainmusic.stop();
_root.mainmusic.attachSound("crunch");
_root.mainmusic.start(0, 999999999);
_root.mainmusic.setVolume(_root.musicvolume * 1.5);
_root.airsound.attachSound("air");
_root.airsound.start(0, 999);
_root.airsound.setVolume(0);
stop();
Instance of Symbol 496 MovieClip "truckmarker" in Frame 50
onClipEvent (enterFrame) {
if (!_root.paused) {
arra.play();
_y = (_y + ((_root.traffic.truk._y - _y) * 0.1));
xfull = _root.traffic.truk._x;
if ((xfull > 640) && (!_root.craft.autopilot)) {
xfull = 640;
}
if (xfull > 860) {
xfull = 860;
}
if (xfull < -50) {
gotoAndStop (2);
xfull = 640;
} else {
gotoAndStop (1);
}
_x = (_x + ((xfull - _x) * 0.3));
} else {
arra.stop();
}
}
Instance of Symbol 178 MovieClip in Frame 50
onClipEvent (load) {
blur._xscale = 0;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
_x = (_x - _root.craft.xs);
_x = (_x - _root.craft.xs);
blur._xscale = _root.craft.xs;
if (_x < -100) {
_x = (_x + 750);
}
}
}
Instance of Symbol 178 MovieClip in Frame 50
onClipEvent (load) {
blur._xscale = 0;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
_x = (_x - _root.craft.xs);
_x = (_x - _root.craft.xs);
blur._xscale = _root.craft.xs;
if (_x < -100) {
_x = (_x + 750);
}
}
}
Instance of Symbol 524 MovieClip "sa1" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 524 MovieClip "sa2" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 524 MovieClip "sa3" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 524 MovieClip "sa4" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 524 MovieClip "sa5" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 524 MovieClip "sa6" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 524 MovieClip "sa7" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 524 MovieClip "sa8" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 524 MovieClip "sa9" in Frame 50
onClipEvent (enterFrame) {
gotoAndStop(Number(type));
}
Instance of Symbol 290 MovieClip "targetlock" in Frame 50
onClipEvent (enterFrame) {
if (!_root.paused) {
_rotation = (_rotation + 5);
_y = (_y + ((_root.craft._y - _y) * 0.3));
}
}
Instance of Symbol 290 MovieClip "targetlock2" in Frame 50
onClipEvent (enterFrame) {
if (!_root.paused) {
_rotation = (_rotation + 5);
_y = (_y + ((_root.gundrone._y - _y) * 0.3));
_x = (_x + ((_root.gundrone._x - _x) * 0.3));
}
}
Instance of Symbol 551 MovieClip in Frame 50
onClipEvent (load) {
tint = new Color(this);
shadows = new Object();
}
onClipEvent (enterFrame) {
if (_root.illuminated) {
shadows = {ra:"0", rb:"0", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
shadows = {ra:_root.sidebright, rb:"0", ga:_root.sidebright, gb:"0", ba:_root.sidebright, bb:"0", aa:"100", ab:"0"};
}
tint.setTransform(shadows);
if (!_root.paused) {
_x = (_x - (_root.craft.xs * 1.1));
_x = (_x - (_root.craft.xs * 1.1));
_y = (_y + _root.yshake);
blur._xscale = _root.craft.xs;
if (_x < 0) {
_x = (_x + 666);
if ((Math.floor((_currentframe + 2) / 3) * 3) != (_currentframe + 2)) {
nextFrame();
} else {
i = 0;
while (i < _root.bumside.length) {
if (_root.passes == Number(_root.bumside[i])) {
nextFrame();
}
i++;
}
}
}
}
}
Instance of Symbol 551 MovieClip "side" in Frame 50
onClipEvent (load) {
_root.sidebright = 80;
tint = new Color(this);
shadows = new Object();
_root.passes = 0;
_root.topside = [];
_root.bumside = [];
topnumbuh = 0;
bumnumbuh = 0;
w = 0;
for(;;){
topnumbuh = topnumbuh + ((random(4) * 5) + 5);
bumnumbuh = bumnumbuh + ((random(4) * 5) + 5);
_root.topside.push(topnumbuh);
_root.bumside.push(bumnumbuh);
if (topnumbuh > 100) {
break;
}
w++;
};
}
onClipEvent (enterFrame) {
if (_root.illuminated) {
shadows = {ra:"0", rb:"0", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
shadows = {ra:_root.sidebright, rb:"0", ga:_root.sidebright, gb:"0", ba:_root.sidebright, bb:"0", aa:"100", ab:"0"};
}
tint.setTransform(shadows);
if (!_root.paused) {
_x = (_x - (_root.craft.xs * 1.1));
_x = (_x - (_root.craft.xs * 1.1));
_y = (_y + _root.yshake);
blur._x = _root.craft.xs;
if (_x < 0) {
_root.passes++;
if ((Math.floor((_currentframe + 2) / 3) * 3) != (_currentframe + 2)) {
nextFrame();
} else {
i = 0;
while (i < _root.topside.length) {
if (_root.passes == Number(_root.topside[i])) {
nextFrame();
}
i++;
}
}
_x = (_x + 666);
}
}
if (_root.passes == 100) {
_root.passes = 0;
}
_root.side2._x = _x;
_root.side2.gotoAndPlay(_currentframe);
}
Instance of Symbol 581 MovieClip "traffic" in Frame 50
onClipEvent (load) {
_x = 0;
_y = 0;
}
Instance of Symbol 262 MovieClip "missile" in Frame 50
onClipEvent (load) {
tint = new Color(_root.mshadow);
shadows = new Object();
}
onClipEvent (enterFrame) {
if (_root.illuminated) {
shadows = {ra:"0", rb:"255", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
shadows = {ra:"0", rb:"102", ga:"0", gb:"102", ba:"0", bb:"102", aa:"100", ab:"0"};
}
tint.setTransform(shadows);
if (_root.pausing) {
if (_root.paused) {
stop();
_root.mshadow.stop();
} else if (_currentframe > 1) {
play();
_root.mshadow.play();
}
}
if (!_root.paused) {
if (_y > 0) {
xs = xs + 3;
_x = (_x + (xs - _root.craft.xs));
}
if (_x > 1000) {
if (_root.craft.missiles == 0) {
_root.controllock = true;
if (_root.deadness._currentframe == 1) {
_root.deadness.gotoAndPlay(273);
}
}
gotoAndPlay (1);
_y = -100;
}
_root.mshadow._x = _x - 8;
_root.mshadow._y = _y + 16;
cfr = _currentframe;
_root.mshadow.gotoAndPlay(_currentframe);
}
if (_root.illuminated && ((_currentframe > 1) && (_currentframe < 5))) {
gotoAndPlay (12);
}
if ((!_root.illuminated) && ((_currentframe > 11) && (_currentframe < 15))) {
gotoAndPlay (2);
}
}
Instance of Symbol 262 MovieClip "missileback" in Frame 50
onClipEvent (load) {
tint = new Color(_root.mshadow);
shadows = new Object();
}
onClipEvent (enterFrame) {
if (_root.illuminated) {
shadows = {ra:"0", rb:"255", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
shadows = {ra:"0", rb:"102", ga:"0", gb:"102", ba:"0", bb:"102", aa:"100", ab:"0"};
}
tint.setTransform(shadows);
if (_root.pausing) {
if (_root.paused) {
stop();
_root.mshadowback.stop();
} else if (_currentframe > 1) {
play();
_root.mshadowback.play();
}
}
if (!_root.paused) {
if (_y < 700) {
xs = xs - 3;
_x = (_x + (xs - _root.craft.xs));
}
if (_x < -200) {
gotoAndPlay (1);
_y = 800;
}
_root.mshadowback._x = _x - 8;
_root.mshadowback._y = _y + 16;
cfr = _currentframe;
_root.mshadowback.gotoAndPlay(_currentframe);
}
if (_root.illuminated && ((_currentframe > 1) && (_currentframe < 5))) {
gotoAndPlay (12);
}
if ((!_root.illuminated) && ((_currentframe > 11) && (_currentframe < 15))) {
gotoAndPlay (2);
}
}
Instance of Symbol 262 MovieClip "missileback2" in Frame 50
onClipEvent (load) {
tint = new Color(_root.mshadow);
shadows = new Object();
}
onClipEvent (enterFrame) {
if (_root.illuminated) {
shadows = {ra:"0", rb:"255", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
shadows = {ra:"0", rb:"102", ga:"0", gb:"102", ba:"0", bb:"102", aa:"100", ab:"0"};
}
tint.setTransform(shadows);
if (_root.pausing) {
if (_root.paused) {
stop();
_root.mshadowback2.stop();
} else if (_currentframe > 1) {
play();
_root.mshadowback2.play();
}
}
if (!_root.paused) {
if (_y < 700) {
xs = xs - 3;
_x = (_x + (xs - _root.craft.xs));
}
if (_x < -200) {
gotoAndPlay (1);
_y = 800;
}
_root.mshadowback2._x = _x - 8;
_root.mshadowback2._y = _y + 16;
cfr = _currentframe;
_root.mshadowback2.gotoAndPlay(_currentframe);
}
if (_root.illuminated && ((_currentframe > 1) && (_currentframe < 5))) {
gotoAndPlay (12);
}
if ((!_root.illuminated) && ((_currentframe > 11) && (_currentframe < 15))) {
gotoAndPlay (2);
}
}
Instance of Symbol 344 MovieClip "craft" in Frame 50
onClipEvent (load) {
_root.controllock = false;
_root.nexttrucktimer = 0;
_root.score = 10;
autopilot = true;
_root.fraglight = 100;
_root.fragdark = 50;
_root.particlecolour = new Object();
_root.particleshadow = new Object();
_root.paused = false;
missiles = 5;
_root.objs = 0;
health = 4;
_root.fragstopper = 0;
alive = "true";
topys = 20;
ya = 6;
xa = 2;
rxa = 4;
z = 0;
xs = 20;
_root.gravity = 0.5;
cd = 30 * _root.stime;
healthmax = 5;
healthmaxrem = healthmax;
}
onClipEvent (enterFrame) {
_root.shipnum = 4;
if ((Key.isDown(46) && (!_root.illuminated)) && (eofhofih4f)) {
_root.flash.gotoAndPlay(1);
_root.illuminated = true;
}
if (((!Key.isDown(46)) && (_root.illuminated)) && (eofhofih4f)) {
_root.flash.gotoAndPlay(1);
_root.illuminated = false;
}
if (_root.illuminated) {
_root.particlecolour = {ra:"0", rb:"0", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
_root.particleshadow = {ra:"0", rb:"255", ga:"0", gb:"0", ba:"0", bb:"0", aa:"100", ab:"0"};
} else {
_root.particlecolour = {ra:_root.fraglight, rb:"0", ga:_root.fraglight, gb:"0", ba:_root.fraglight, bb:"0", aa:"100", ab:"0"};
_root.particleshadow = {ra:"0", rb:"141", ga:"0", gb:"111", ba:"0", bb:"88", aa:"100", ab:"0"};
}
if (_root.pausing) {
if (_root.paused) {
_root.shadow.stop();
stop();
} else if ((_currentframe > 10) && (_currentframe < 19)) {
_root.shadow.play();
play();
}
}
if (autopilot) {
xs = 40;
y = 200;
x = x + xs;
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
_root.shadow._x = _x;
_root.shadow._y = y + (z * 0.5);
_root.shadow.gotoAndStop(_currentframe);
flare = Math.pow(2, (xs / 50) - 1) + burst;
bb1._x = ab1._x;
bb1._y = ab1._y;
bb2._x = ab2._x;
bb2._y = ab2._y;
bb1._xscale = ab1._xscale * flare;
bb1._yscale = ab1._yscale;
bb2._xscale = ab2._xscale * flare;
bb2._yscale = ab2._yscale;
if (_root.illuminated) {
gotoAndStop(Math.round((ys / topys) * 4) + 25);
} else {
gotoAndStop(Math.round((ys / topys) * 4) + 5);
}
tdist = "...m";
_root.arra.gotoAndStop((((_root.traffic.truk._x - _x) / Math.abs(_root.traffic.truk._x - _x)) / 2) + 1.5);
}
if ((!_root.paused) && (!autopilot)) {
if (_root.fraglight < 100) {
_root.fraglight = _root.fraglight + 10;
}
cd--;
if ((alive == "false") && (_currentframe == 19)) {
_root.deadness.play();
}
if (alive == "true") {
if (!_root.controllock) {
if ((Key.isDown(16) && (z == 0)) && (jumbaplie == "ddef")) {
zs = 5;
}
if ((Key.isDown(32) && (_root.missile._currentframe == 1)) && (missiles > 0)) {
_root.missilelaunchsound.gotoAndPlay(2);
missiles--;
_root.missile.gotoAndPlay(2);
_root.missile._x = _x + 10;
_root.missile._y = _y;
_root.missile.xs = xs;
}
if (Key.isDown(37)) {
if (enginestate != "brake") {
_root.shipsound.stop();
_root.shipsound.attachSound("decc");
_root.shipsound.setVolume(70);
_root.shipsound.start();
}
enginestate = "brake";
xs = xs - (xa * 3);
} else {
burst = burst * 0.5;
if (Key.isDown(39)) {
if (enginestate != "accelerate") {
_root.shipsound.stop();
_root.shipsound.attachSound("acc");
_root.shipsound.setVolume(90);
_root.shipsound.start(xs / 25);
}
enginestate = "accelerate";
burst = burst + ((0.5 - burst) * 0.5);
xs = xs + xa;
} else {
enginestate = "coast";
}
}
xs = xs * 0.98;
if (Key.isDown(38)) {
ys = ys - ya;
}
if (Key.isDown(40)) {
ys = ys + ya;
}
}
if (xs < 1) {
xs = 1;
}
if (xs > 100) {
xs = 100;
}
}
if (_root.controllock) {
xs = xs + ((30 - xs) * 0.05);
}
if ((!(Key.isDown(38) || (Key.isDown(40)))) || (_root.controllock)) {
if (Math.abs(ys) < ya) {
ys = 0;
}
if (ys < 0) {
ys = ys + ya;
}
if (ys > 0) {
ys = ys - ya;
}
}
if (ys > topys) {
ys = topys;
}
if (ys < (-topys)) {
ys = -topys;
}
if (rxs > topys) {
rxs = topys;
}
if (rxs < (-topys)) {
rxs = -topys;
}
zs = zs - _root.gravity;
z = z + zs;
if (z < 0) {
z = 0;
zs = 0;
}
x = x + xs;
y = y + ys;
_root.nexttrucktimer++;
if (y < 40) {
y = 40;
ys = ys * -1;
}
if (y > 360) {
y = 360;
ys = ys * -1;
}
if (alive == "false") {
xs = xs * 0.99;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
_root.shadow._x = _x;
_root.shadow._y = y + (z * 0.5);
_root.shadow.gotoAndStop(_currentframe);
flare = Math.pow(2, (xs / 50) - 1) + burst;
bb1._x = ab1._x;
bb1._y = ab1._y;
bb2._x = ab2._x;
bb2._y = ab2._y;
bb1._xscale = ab1._xscale * flare;
bb1._yscale = ab1._yscale;
bb2._xscale = ab2._xscale * flare;
bb2._yscale = ab2._yscale;
if (alive == "true") {
if (_root.illuminated) {
gotoAndStop(Math.round((ys / topys) * 4) + 25);
} else {
gotoAndStop(Math.round((ys / topys) * 4) + 5);
}
}
if (this.biggerhitter.hitTest(_root.missileback)) {
if (Number((_root.missileback._currentframe > 1) && (_root.missileback._currentframe < 5)) || (Number((_root.missileback._currentframe > 11) && (_root.missileback._currentframe < 15)))) {
_root.targetlock.play();
health = 0;
_root.missileback.gotoAndPlay(6);
gotoAndPlay (11);
}
}
if (this.biggerhitter.hitTest(_root.missileback2)) {
if (Number((_root.missileback2._currentframe > 1) && (_root.missileback2._currentframe < 5)) || (Number((_root.missileback2._currentframe > 11) && (_root.missileback2._currentframe < 15)))) {
_root.targetlock.play();
health = 0;
_root.missileback2.gotoAndPlay(6);
gotoAndPlay (11);
}
}
tdist = Math.abs(Math.round((_root.traffic.truk._x - _x) / 20)) add "m";
tdistnumber = Math.round((_root.traffic.truk._x - _x) / 20);
_root.arra.gotoAndStop((((_root.traffic.truk._x - _x) / Math.abs(_root.traffic.truk._x - _x)) / 2) + 1.5);
healthmax = 5 - Math.floor(_root.objs / 5);
if (healthmax < 1) {
healthmax = 1;
}
if (healthmax != healthmaxrem) {
healthmaxrem = healthmax;
_root.hudd.helfy.play();
}
if (health > (healthmax - 1)) {
health = healthmax - 1;
}
if (missiles > healthmax) {
missiles = healthmax;
}
healths = Math.round(((health + 1) * 100) / 3) add "%";
cds = Math.ceil(cd / 30);
if (cds < 0) {
}
oldx = x;
oldy = y;
_root.airsound.setVolume(((((xs * 0.3) * (100 - _root.musicvolume)) * 0.66) * 0.01) + Math.abs(ys * 2));
}
if (_root.paused) {
_root.airsound.setVolume(0);
}
}
Instance of Symbol 353 MovieClip "bdrone1" in Frame 50
onClipEvent (enterFrame) {
if (_alpha > 20) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 353 MovieClip "bdrone2" in Frame 50
onClipEvent (enterFrame) {
if (_alpha > 20) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 353 MovieClip "bdrone3" in Frame 50
onClipEvent (enterFrame) {
if (_alpha > 20) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 207 MovieClip "p1" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 215 MovieClip "p2" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 222 MovieClip "p3" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 229 MovieClip "p4" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 237 MovieClip "p5" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 242 MovieClip "p6" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 207 MovieClip "pp1" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 215 MovieClip "pp2" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 222 MovieClip "pp3" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 229 MovieClip "pp4" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 237 MovieClip "pp5" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint.setTransform(_root.particlecolour);
tint2.setTransform(_root.particleshadow);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 242 MovieClip "pp6" in Frame 50
onClipEvent (load) {
tint2 = new Color(_root["s" + _name]);
tint = new Color(this);
z = 1;
}
onClipEvent (enterFrame) {
tint2.setTransform(_root.particleshadow);
tint.setTransform(_root.particlecolour);
stop();
_root["s" + _name].stop();
if (!_root.paused) {
play();
_root["s" + _name].play();
_x = (_x + (xs - _root.craft.xs));
y = y + ys;
_rotation = (_rotation + rs);
zs = zs - (_root.gravity * 2);
z = z + zs;
if (z < 0) {
rs = random(80) - 40;
z = 0;
zs = zs * -0.7;
xs = xs * 0.6;
ys = ys * 0.6;
if (xs < _root.fragstopper) {
rs = 0;
gotoAndStop (1);
}
}
if (y < 0) {
y = 0;
ys = ys * -1;
}
if (y > 400) {
y = 400;
ys = ys * -1;
}
_y = (y + (((y - 200) * z) * 0.01));
_xscale = (z + 100);
_yscale = _xscale;
setProperty("_root.s" add _name, _y , y + (z * 0.5));
setProperty("_root.s" add _name, _x , _x);
setProperty("_root.s" add _name, _rotation , _rotation);
}
}
Instance of Symbol 287 MovieClip "drone1" in Frame 50
onClipEvent (load) {
randonext = random(180);
_root.deploy = [[false, false, false], [false, false, false], [false, false, false], [true, false, false], [false, false, false], [true, false, false], [true, true, false], [false, false, true], [true, false, true], [false, false, false], [false, false, false], [true, true, true], [false, true, true], [true, true, true], [false, false, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true]];
_root.deploy.push([true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true]);
_root.deploy.push([true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true]);
_root.deploy.push([true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true], [true, true, true]);
craftpast = false;
}
onClipEvent (enterFrame) {
if (_root.pausing) {
if (_root.paused) {
spin.stop();
tellTarget (("_root.s" add _name) add ".spin") {
stop();
};
stop();
} else {
spin.play();
tellTarget (("_root.s" add _name) add ".spin") {
play();
};
}
}
if (!_root.paused) {
xs = _root.traffic.truk.xs;
_x = (_x - (_root.craft.xs - xs));
_x = (_x - (_root.craft.xs - xs));
_alpha = 100;
if (_root.deploy[_root.objs][0] && (Math.abs(randonext - _root.craft.tdistnumber) < 3)) {
_root.deploy[_root.objs][0] = false;
randonext = random(180);
craftpast = false;
gotoAndPlay (1);
xs = random(10) + 30;
_y = ((random(4) * 70) + 95);
_x = 700;
lasercycle = 0;
laserspread = 200;
}
lasercycle = lasercycle + 0.1;
_y = ((_y + _root.yshake) + ys);
setProperty("_root.l" add _name, _y , _y);
setProperty("_root.l" add _name, _x , _x + (Math.sin(lasercycle) * laserspread));
setProperty("_root.b" add _name, _y , _y);
setProperty("_root.b" add _name, _x , _x + (Math.sin(lasercycle) * laserspread));
setProperty("_root.b" add _name, _xscale , (-Math.sin(lasercycle)) * laserspread);
setProperty("_root.s" add _name, _y , _y + 17);
setProperty("_root.s" add _name, _x , _x - 17);
Set(("_root.s" add _name) add ".type", _currentframe);
oldcraftpast = craftpast;
craftpast = false;
if (_root.craft._x > (_x + (Math.sin(lasercycle) * laserspread))) {
craftpast = true;
}
if (_x < -150) {
_y = -150;
}
if ((craftpast != oldcraftpast) && (_root.craft.alive == "true")) {
if (((_root[l + _name]._y + 70) > _root.craft._y) && ((_root[l + _name]._y - 70) < _root.craft._y)) {
setProperty("_root.b" add _name, _alpha , 100);
_root.missilelaunchsound.gotoAndPlay(4);
if (_root.targetlock._currentframe == 1) {
_root.targetlock.gotoAndPlay(2);
_root.targetlock2.gotoAndPlay(2);
}
}
}
}
}
Instance of Symbol 282 MovieClip "gundrone" in Frame 50
onClipEvent (load) {
ya = 6;
missilepack = 10;
missiles = missilepack;
topys = 20;
firerate = 10;
action = "idle";
}
onClipEvent (enterFrame) {
if (!_root.paused) {
oldy = _y;
if ((action == "fallback") && (_x < 800)) {
ys = ys - 2;
if (ys < (-topys)) {
ys = -topys;
}
_y = (_y + ys);
if (_y < -100) {
missiles = missilepack;
action = "idle";
_x = 800;
_y = 200;
}
framed = Math.round((ys / topys) * 4) + 5;
if (framed < 1) {
framed = 1;
}
if (framed > 9) {
framed = 9;
}
gotoAndStop(Number(framed));
if (_currentframe == 5) {
stop();
}
}
if (action == "approach") {
_x = (_x + ((380 - _x) * 0.03));
_y = (_y + ((_root.craft._y - _y) * 0.3));
ys = _y - oldy;
framed = Math.round((ys / topys) * 4) + 5;
if (framed < 1) {
framed = 1;
}
if (framed > 9) {
framed = 9;
}
if (_x < 480) {
_root.beep.play();
}
if (_x < 440) {
action = "firing";
}
gotoAndStop(Number(framed));
}
if (action == "firing") {
xs = 0;
_y = (_y + ((_root.craft._y - _y) * 0.3));
ys = _y - oldy;
cycler++;
if (missiles == 0) {
_root.targetlock.play();
_root.targetlock2.play();
action = "fallback";
}
if ((missiles > 0) && (cycler == firerate)) {
if (_root.missileback._currentframe != 1) {
cycler--;
} else {
missiles--;
_root.missilelaunchsound.gotoAndPlay(2);
_root.missileback.gotoAndPlay(2);
_root.missileback._x = _x;
_root.missileback._y = _y - 12;
_root.missileback.xs = _root.craft.xs - 10;
}
}
if ((missiles > 0) && (cycler == (firerate * 2))) {
if (_root.missileback2._currentframe != 1) {
cycler--;
} else {
missiles--;
cycler = 0;
_root.missileback2.gotoAndPlay(2);
_root.missileback2._x = _x;
_root.missileback2._y = _y + 12;
_root.missileback2.xs = _root.craft.xs - 14;
}
}
framed = Math.round((ys / topys) * 4) + 5;
if (framed < 1) {
framed = 1;
}
if (framed > 9) {
framed = 9;
}
gotoAndStop(Number(framed));
}
_root.sgundrone._x = _x - 17;
_root.sgundrone._y = _y + 17;
_root.sgundrone.gotoAndStop(_currentframe);
}
}
Instance of Symbol 287 MovieClip "drone2" in Frame 50
onClipEvent (load) {
randonext = random(180);
craftpast = false;
}
onClipEvent (enterFrame) {
if (_root.pausing) {
if (_root.paused) {
spin.stop();
tellTarget (("_root.s" add _name) add ".spin") {
stop();
};
stop();
} else {
spin.play();
tellTarget (("_root.s" add _name) add ".spin") {
play();
};
if ((_currentframe > 19) && (_currentframe < 28)) {
}
}
}
if (!_root.paused) {
xs = _root.traffic.truk.xs;
_x = (_x - (_root.craft.xs - xs));
_x = (_x - (_root.craft.xs - xs));
_alpha = 100;
if (_root.deploy[_root.objs][1] && (Math.abs(randonext - _root.craft.tdistnumber) < 3)) {
_root.deploy[_root.objs][1] = false;
randonext = random(180);
craftpast = false;
gotoAndPlay (1);
xs = random(10) + 30;
_y = ((random(3) * 70) + 120);
_x = 700;
lasercycle = 0;
laserspread = 200;
}
lasercycle = lasercycle + 0.1;
_y = ((_y + _root.yshake) + ys);
setProperty("_root.l" add _name, _y , _y);
setProperty("_root.l" add _name, _x , _x + (Math.sin(lasercycle) * laserspread));
setProperty("_root.b" add _name, _y , _y);
setProperty("_root.b" add _name, _x , _x + (Math.sin(lasercycle) * laserspread));
setProperty("_root.b" add _name, _xscale , (-Math.sin(lasercycle)) * laserspread);
setProperty("_root.s" add _name, _y , _y + 17);
setProperty("_root.s" add _name, _x , _x - 17);
Set(("_root.s" add _name) add ".type", _currentframe);
oldcraftpast = craftpast;
craftpast = false;
if (_root.craft._x > (_x + (Math.sin(lasercycle) * laserspread))) {
craftpast = true;
}
if (_x < -150) {
_y = -150;
}
if ((craftpast != oldcraftpast) && (_root.craft.alive == "true")) {
if (((_root[l + _name]._y + 105) > _root.craft._y) && ((_root[l + _name]._y - 105) < _root.craft._y)) {
setProperty("_root.b" add _name, _alpha , 100);
_root.missilelaunchsound.gotoAndPlay(4);
if (_root.targetlock._currentframe == 1) {
_root.targetlock.gotoAndPlay(2);
_root.targetlock2.gotoAndPlay(2);
}
}
}
}
}
Instance of Symbol 287 MovieClip "drone3" in Frame 50
onClipEvent (load) {
randonext = random(180);
craftpast = false;
}
onClipEvent (enterFrame) {
if (_root.pausing) {
if (_root.paused) {
spin.stop();
tellTarget (("_root.s" add _name) add ".spin") {
stop();
};
stop();
} else {
spin.play();
tellTarget (("_root.s" add _name) add ".spin") {
play();
};
if ((_currentframe > 19) && (_currentframe < 28)) {
}
}
}
if (!_root.paused) {
xs = _root.traffic.truk.xs;
_x = (_x - (_root.craft.xs - xs));
_x = (_x - (_root.craft.xs - xs));
_alpha = 100;
if (_root.deploy[_root.objs][2] && (Math.abs(randonext - _root.craft.tdistnumber) < 3)) {
_root.deploy[_root.objs][2] = false;
randonext = random(180);
craftpast = false;
gotoAndPlay (1);
xs = random(10) + 30;
_y = 200;
_x = 700;
lasercycle = 0;
laserspread = 170;
}
lasercycle = lasercycle + 0.1;
_y = ((_y + _root.yshake) + ys);
setProperty("_root.l" add _name, _y , _y + (Math.sin(lasercycle) * laserspread));
setProperty("_root.l" add _name, _x , _x);
setProperty("_root.b" add _name, _y , _y + (Math.sin(lasercycle) * laserspread));
setProperty("_root.b" add _name, _x , _x);
setProperty("_root.b" add _name, _xscale , (-Math.sin(lasercycle)) * laserspread);
setProperty("_root.s" add _name, _y , _y + 17);
setProperty("_root.s" add _name, _x , _x - 17);
Set(("_root.s" add _name) add ".type", _currentframe);
oldcraftpast = craftpast;
craftpast = false;
if (_root.craft._y > (_y + (Math.sin(lasercycle) * laserspread))) {
craftpast = true;
}
if (_x < -150) {
_y = -150;
}
if ((craftpast != oldcraftpast) && (_root.craft.alive == "true")) {
if (((_root[l + _name]._x + 70) > _root.craft._x) && ((_root[l + _name]._x - 70) < _root.craft._x)) {
setProperty("_root.b" add _name, _alpha , 100);
_root.missilelaunchsound.gotoAndPlay(4);
if (_root.targetlock._currentframe == 1) {
_root.targetlock.gotoAndPlay(2);
_root.targetlock2.gotoAndPlay(2);
}
}
}
}
}
Instance of Symbol 358 MovieClip "missilelf" in Frame 50
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_root.shipnum = 0;
shinex = _root.missile._x;
shiney = _root.missile._y;
if ((shinex > 640) || (shinex < 0)) {
if ((_alpha > 0) && (!_root.paused)) {
_alpha = (Number(_alpha) - 7.5);
}
} else {
_alpha = 40;
}
if (epe == "epepe") {
_alpha = 40;
if (shinex > 640) {
_alpha = (((840 - shinex) / 200) * 40);
}
if (shinex > 840) {
_alpha = 0;
}
if (shinex < 0) {
_alpha = (((_root.shinex + 100) / 100) * 40);
}
}
if (!((_root.missile._currentframe < 7) && (_root.missile._currentframe > 1))) {
_alpha = 0;
}
ring1._x = 640 - shinex;
ring1._y = 400 - shiney;
ring2._x = 320 + ((shinex - 320) * -0.6);
ring2._y = 200 + ((shiney - 200) * -0.6);
ring3._x = 320 + ((shinex - 320) * -0.15);
ring3._y = 200 + ((shiney - 200) * -0.15);
ring5._x = 320 + ((shinex - 320) * -0.3);
ring5._y = 200 + ((shiney - 200) * -0.3);
ring4._x = 320 + ((shinex - 320) * 0.1);
ring4._y = 200 + ((shiney - 200) * 0.1);
ring6._x = 320 + ((shinex - 320) * 0.5);
ring6._y = 200 + ((shiney - 200) * 0.5);
ring7._x = 320 + (shinex - 320);
ring7._y = 200 + (shiney - 200);
starer._x = 320 + (shinex - 320);
starer._y = 200 + (shiney - 200);
}
Instance of Symbol 358 MovieClip "exlf" in Frame 50
onClipEvent (load) {
go = "false";
_alpha = 0;
}
onClipEvent (enterFrame) {
shinex = _root.shine2x;
shiney = _root.shine2y;
if ((_alpha > 0) && (!_root.paused)) {
_alpha = (Number(_alpha) - 7.5);
}
if (go == "true") {
go = "false";
_alpha = 60;
}
ring1._x = 640 - shinex;
ring1._y = 400 - shiney;
ring2._x = 320 + ((shinex - 320) * -0.6);
ring2._y = 200 + ((shiney - 200) * -0.6);
ring3._x = 320 + ((shinex - 320) * -0.15);
ring3._y = 200 + ((shiney - 200) * -0.15);
ring5._x = 320 + ((shinex - 320) * -0.3);
ring5._y = 200 + ((shiney - 200) * -0.3);
ring4._x = 320 + ((shinex - 320) * 0.1);
ring4._y = 200 + ((shiney - 200) * 0.1);
ring6._x = 320 + ((shinex - 320) * 0.5);
ring6._y = 200 + ((shiney - 200) * 0.5);
ring7._x = 320 + (shinex - 320);
ring7._y = 200 + (shiney - 200);
starer._x = 320 + (shinex - 320);
starer._y = 200 + (shiney - 200);
}
Instance of Symbol 407 MovieClip "pausemenu" in Frame 50
onClipEvent (enterFrame) {
if (_root.pausing) {
_root.pausing = false;
}
if (timer == 0) {
timer = -1;
_root.paused = true;
_root.pausing = true;
gotoAndPlay(Number(gotoplay));
}
if (_root.deadness._currentframe == 1) {
if ((!_root.crashedyet) && (_root.craft.health == 3)) {
_root.crashedyet = true;
gotoplay = 50;
timer = 3;
}
if ((!_root.hackedyet) && (_root.objs == 5)) {
_root.hackedyet = true;
gotoplay = 250;
timer = 5;
}
if ((!_root.truckedyet) && (_root.objs == 1)) {
_root.truckedyet = true;
_root.paused = true;
_root.pausing = true;
gotoAndPlay (80);
}
if (((!_root.dronedyet) && (_root.drone1._x < 550)) && (_root.drone1._y > 0)) {
_root.dronedyet = true;
_root.paused = true;
_root.pausing = true;
gotoAndPlay (220);
}
if (_currentframe == 1) {
timer--;
}
if (((Key.isDown(80) && (_currentframe == 1)) && (!_root.craft.autopilot)) && (_root.deadness._currentframe == 1)) {
_root.paused = true;
_root.pausing = true;
gotoAndPlay (2);
}
}
if (((_parent.truckmarker._y > 215) && ((_currentframe < 40) || (_currentframe > 109))) && (_currentframe < 218)) {
_y = 110;
} else {
_y = 290;
}
if (((_currentframe > 202) && (_currentframe < 212)) && (_root.mainmusic.getVolume() > 0)) {
_root.mainmusic.setVolume(_root.mainmusic.getVolume() - 11);
} else if ((_currentframe > 1) && (_root.mainmusic.getVolume() == 0)) {
_root.mainmusic.stop();
}
}
Instance of Symbol 626 MovieClip "deadness" in Frame 50
onClipEvent (enterFrame) {
if ((_currentframe > 1) && (_root.mainmusic.getVolume() > 0)) {
_root.mainmusic.setVolume(_root.mainmusic.getVolume() - 1);
} else if ((_currentframe > 1) && (_root.mainmusic.getVolume() == 0)) {
_root.mainmusic.stop();
}
}
Instance of Symbol 633 MovieClip in Frame 50
onClipEvent (enterFrame) {
bar._yscale = ((100 - (((100 - _root.craft.xs) * (100 - _root.craft.xs)) / 100)) + _root.craft.xs) / 2;
}
Symbol 16 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 21 MovieClip Frame 1
_root.stop();
disable_check = true;
myURL = _url;
okDomain = "www.albinoblacksheep.com";
if ((myURL.indexOf(okDomain) != -1) or disable_check) {
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded == 100) {
gotoAndPlay (3);
}
} else {
gotoAndStop (10);
}
setProperty(masker, _xscale , PercentLoaded);
_root.loanum = ("Loading " add Math.floor(PercentLoaded)) add "%";
play();
Symbol 21 MovieClip Frame 2
gotoAndPlay (1);
Symbol 21 MovieClip Frame 3
stop();
Symbol 21 MovieClip Frame 10
stop();
Symbol 23 Button
on (release) {
getURL ("http://www.dxinteractive.com", "_blank");
}
Symbol 31 MovieClip Frame 1
play();
Symbol 31 MovieClip Frame 119
_root.play();
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 3
gotoAndStop (1);
Symbol 37 MovieClip Frame 4
if (!_root.assaultyet) {
_root.assaultyet = true;
_root.pausemenu.gotoplay = 280;
_root.pausemenu.timer = 30;
}
Symbol 37 MovieClip Frame 5
gotoAndStop (1);
Symbol 39 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 30
stop();
Symbol 73 MovieClip Frame 31
play();
Symbol 73 MovieClip Frame 40
stop();
Symbol 73 MovieClip Frame 41
play();
Symbol 73 MovieClip Frame 50
stop();
Symbol 73 MovieClip Frame 51
play();
Symbol 73 MovieClip Frame 60
stop();
Symbol 73 MovieClip Frame 61
play();
Symbol 73 MovieClip Frame 70
gotoAndStop (50);
Symbol 73 MovieClip Frame 71
play();
Symbol 73 MovieClip Frame 80
gotoAndStop (40);
Symbol 73 MovieClip Frame 81
play();
Symbol 73 MovieClip Frame 90
gotoAndStop (30);
Symbol 94 MovieClip Frame 1
gotoAndPlay (16);
Symbol 94 MovieClip Frame 30
stop();
Symbol 94 MovieClip Frame 31
play();
Symbol 94 MovieClip Frame 40
stop();
Symbol 94 MovieClip Frame 41
play();
Symbol 94 MovieClip Frame 50
stop();
Symbol 94 MovieClip Frame 51
play();
Symbol 94 MovieClip Frame 60
stop();
Symbol 94 MovieClip Frame 61
play();
Symbol 94 MovieClip Frame 70
gotoAndStop (50);
Symbol 94 MovieClip Frame 71
play();
Symbol 94 MovieClip Frame 80
gotoAndStop (40);
Symbol 94 MovieClip Frame 81
play();
Symbol 94 MovieClip Frame 90
gotoAndStop (30);
Symbol 101 MovieClip Frame 1
gotoAndPlay (16);
Symbol 101 MovieClip Frame 30
stop();
Symbol 101 MovieClip Frame 31
play();
Symbol 101 MovieClip Frame 40
stop();
Symbol 101 MovieClip Frame 41
play();
Symbol 101 MovieClip Frame 50
stop();
Symbol 101 MovieClip Frame 51
play();
Symbol 101 MovieClip Frame 60
stop();
Symbol 101 MovieClip Frame 61
play();
Symbol 101 MovieClip Frame 70
gotoAndStop (50);
Symbol 101 MovieClip Frame 71
play();
Symbol 101 MovieClip Frame 80
gotoAndStop (40);
Symbol 101 MovieClip Frame 81
play();
Symbol 101 MovieClip Frame 90
gotoAndStop (30);
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 10
stop();
Symbol 115 MovieClip Frame 19
stop();
Symbol 115 MovieClip Frame 28
gotoAndStop (10);
Symbol 115 MovieClip Frame 37
gotoAndStop (1);
Instance of Symbol 112 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) {
barrer._xscale = _root.volume;
}
Instance of Symbol 112 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) {
barrer._xscale = _root.musicvolume;
}
Instance of Symbol 115 MovieClip "selecta" in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
if (Key.isDown(37)) {
_root.volume = _root.volume - 5;
if (_root.volume < 5) {
_root.volume = 0;
}
}
if (Key.isDown(39)) {
_root.volume = _root.volume + 5;
if (_root.volume > 95) {
_root.volume = 100;
}
}
}
if (_currentframe == 10) {
if (Key.isDown(37)) {
_root.musicvolume = _root.musicvolume - 5;
if (_root.musicvolume < 5) {
_root.musicvolume = 0;
}
}
if (Key.isDown(39)) {
_root.musicvolume = _root.musicvolume + 5;
if (_root.musicvolume > 95) {
_root.musicvolume = 100;
}
}
}
if (_currentframe == 19) {
if (Key.isDown(32)) {
_parent._parent.play();
}
}
if (Key.isDown(38)) {
if (_currentframe == 10) {
gotoAndPlay (29);
} else if (_currentframe == 19) {
play();
}
}
if (Key.isDown(40)) {
if (_currentframe == 1) {
play();
} else if (_currentframe == 10) {
play();
}
}
_root.alll.setVolume(_root.volume);
_root.mainmusic.setVolume(_root.musicvolume * 1.5);
}
Symbol 133 MovieClip Frame 1
stop();
_root.qualiteh = "HIGH";
Symbol 133 MovieClip Frame 10
stop();
_root.qualiteh = "MEDIUM";
Symbol 133 MovieClip Frame 19
stop();
_root.qualiteh = "LOW";
Symbol 133 MovieClip Frame 28
gotoAndStop (10);
Symbol 133 MovieClip Frame 37
gotoAndStop (1);
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 10
stop();
Symbol 134 MovieClip Frame 19
gotoAndStop (1);
Instance of Symbol 133 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (load) {
if (_root.qualiteh == "HIGH") {
gotoAndStop (1);
} else if (_root.qualiteh == "MEDIUM") {
gotoAndStop (10);
} else if (_root.qualiteh == "LOW") {
gotoAndStop (19);
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 50) {
_quality = _root.qualiteh;
}
if (_parent.cruskito._currentframe == 1) {
if (Key.isDown(37)) {
if (_currentframe == 10) {
gotoAndPlay (29);
} else if (_currentframe == 19) {
play();
}
}
if (Key.isDown(39)) {
if (_currentframe == 1) {
play();
} else if (_currentframe == 10) {
play();
}
}
}
}
Instance of Symbol 134 MovieClip "cruskito" in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
if (Key.isDown(37)) {
}
if (Key.isDown(39)) {
}
}
if (_currentframe == 10) {
if (Key.isDown(32)) {
_parent._parent.play();
}
}
if (Key.isDown(38)) {
if (_currentframe == 10) {
play();
}
}
if (Key.isDown(40)) {
if (_currentframe == 1) {
play();
}
}
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 3
gotoAndStop (1);
Symbol 152 MovieClip Frame 1
stop();
_root.scoretoggle = true;
showScores = function () {
var i = 10;
while (i > 0) {
var n = scoreboard_lv["name" + (page + i)];
var s = scoreboard_lv["score" + (page + i)];
var spoo = scoreboard_lv["trucks" + (page + i)];
var l_mc = this[("line" + i) + "_mc"];
l_mc.rank_txt.text = (page + i) + ".";
l_mc.name_txt.text = (n.length ? (n.toUpperCase()) : "...");
if (_root.scoretoggle) {
l_mc.score_txt.text = (s.length ? (s) : "...");
} else {
l_mc.score_txt.text = (spoo.length ? (spoo) : "...");
}
l_mc.rank_txt.textColor = (l_mc.name_txt.textColor = (l_mc.score_txt.textColor = (((n.toUpperCase() == _root.namefinal.toUpperCase()) && (n.length > 0)) ? 16777215 : 10066329)));
l_mc._visible = true;
loading_mc._visible = false;
i--;
}
};
page = 0;
maxScore = 100;
scoreboard_lv = new LoadVars();
if (_root.receivinghiscore) {
scoreboard_lv.score = _root.scorefinal;
scoreboard_lv.name = _root.namefinal;
scoreboard_lv.trucks = _root.objsfinal;
}
scoreboard_lv.game = "jetspeed";
scoreboard_lv.sendAndLoad("highscores.php", scoreboard_lv, "POST");
scoreboard_lv.onLoad = function (success) {
if (success) {
if (Boolean(scoreboard_lv.success)) {
_parent.next10._visible = true;
_parent.scoretrucks._visible = true;
if (scoreboard_lv.maxScore.length > 0) {
maxScore = Number(scoreboard_lv.maxScore);
}
showScores();
} else {
errorer.writing = scoreboard_lv.errorMsg.toUpperCase();
if (errorer.writing == "OK") {
errorer.writing = "";
}
}
} else {
errorer.writing = "COULD NOT ACCESS SCORES";
}
};
_parent.next10._visible = (_parent.last10._visible = (_parent.scoretrucks._visible = false));
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
play();
Symbol 163 MovieClip Frame 10
stop();
Symbol 163 MovieClip Frame 11
play();
Symbol 163 MovieClip Frame 19
stop();
Symbol 163 MovieClip Frame 20
play();
Symbol 163 MovieClip Frame 29
stop();
Symbol 163 MovieClip Frame 30
play();
Symbol 163 MovieClip Frame 39
stop();
Symbol 163 MovieClip Frame 40
play();
Symbol 163 MovieClip Frame 49
gotoAndStop (29);
Symbol 163 MovieClip Frame 50
play();
Symbol 163 MovieClip Frame 59
gotoAndStop (19);
Symbol 163 MovieClip Frame 60
play();
Symbol 163 MovieClip Frame 69
gotoAndStop (10);
Symbol 163 MovieClip Frame 70
play();
Symbol 163 MovieClip Frame 78
gotoAndPlay (1);
Symbol 164 MovieClip Frame 1
if (_root.receivinghiscore) {
gotoAndPlay (292);
}
Symbol 164 MovieClip Frame 52
stop();
Instance of Symbol 73 MovieClip in Symbol 164 MovieClip Frame 52
onClipEvent (enterFrame) {
if (_parent._currentframe == 52) {
_y = 124;
_x = 411;
if (Key.isDown(32) && (_currentframe == 30)) {
_parent.gotoAndPlay(53);
}
if (Key.isDown(32) && (_currentframe == 40)) {
_parent.gotoAndPlay(261);
}
if (Key.isDown(32) && (_currentframe == 50)) {
_parent.gotoAndPlay(117);
}
if (Key.isDown(32) && (_currentframe == 60)) {
_parent.gotoAndPlay(230);
}
if (Key.isDown(40)) {
if (_currentframe == 30) {
gotoAndPlay (31);
}
if (_currentframe == 40) {
gotoAndPlay (41);
}
if (_currentframe == 50) {
gotoAndPlay (51);
}
}
if (Key.isDown(38)) {
if (_currentframe == 40) {
gotoAndPlay (81);
}
if (_currentframe == 50) {
gotoAndPlay (71);
}
if (_currentframe == 60) {
gotoAndPlay (61);
}
}
} else if ((_parent._currentframe > 52) && (_parent._currentframe < 70)) {
_x = (_x + ((40 - _x) * 0.3));
} else if ((_parent._currentframe > 70) && (_parent._currentframe < 88)) {
_x = (_x + ((411 - _x) * 0.3));
} else if ((_parent._currentframe > 88) && (_parent._currentframe < 116)) {
_y = (_y + ((-300 - _y) * 0.1));
} else if ((_parent._currentframe > 116) && (_parent._currentframe < 135)) {
_x = (_x + ((40 - _x) * 0.3));
} else if ((_parent._currentframe > 135) && (_parent._currentframe < 153)) {
_x = (_x + ((411 - _x) * 0.3));
} else if ((_parent._currentframe > 153) && (_parent._currentframe < 172)) {
_x = (_x + ((-300 - _x) * 0.3));
} else if ((_parent._currentframe > 171) && (_parent._currentframe < 187)) {
_x = (_x + ((40 - _x) * 0.3));
} else if ((_parent._currentframe > 188) && (_parent._currentframe < 207)) {
_x = (_x + ((-300 - _x) * 0.3));
} else if ((_parent._currentframe > 206) && (_parent._currentframe < 222)) {
_x = (_x + ((40 - _x) * 0.3));
} else if ((_parent._currentframe > 229) && (_parent._currentframe < 246)) {
if ((_parent._currentframe == 245) && Key.isDown(32)) {
_parent.gotoAndPlay(246);
}
_y = (_y + ((315 - _y) * 0.5));
} else if ((_parent._currentframe > 245) && (_parent._currentframe < 260)) {
_y = (_y + ((124 - _y) * 0.3));
} else if ((_parent._currentframe > 259) && (_parent._currentframe < 277)) {
_x = (_x + ((1400 - _x) * 0.3));
} else if ((_parent._currentframe > 276) && (_parent._currentframe < 291)) {
_x = (_x + ((406 - _x) * 0.3));
}
}
Symbol 164 MovieClip Frame 69
stop();
Instance of Symbol 94 MovieClip in Symbol 164 MovieClip Frame 69
onClipEvent (enterFrame) {
if (_parent._currentframe == 69) {
_alpha = 100;
_x = (_x + ((279 - _x) * 0.3));
_y = -46;
if (Key.isDown(32)) {
if (_currentframe == 30) {
_root.trainingmode = false;
_parent.gotoAndPlay(89);
} else if (_currentframe == 40) {
_root.trainingmode = false;
_root.insructyet = true;
_root.crashedyet = true;
_parent.gotoAndPlay(89);
} else if (_currentframe == 50) {
_root.trainingmode = true;
_parent.gotoAndPlay(89);
} else if (_currentframe == 60) {
_parent.gotoAndPlay(70);
}
}
if (Key.isDown(40)) {
if (_currentframe == 30) {
gotoAndPlay (31);
}
if (_currentframe == 40) {
gotoAndPlay (41);
}
if (_currentframe == 50) {
gotoAndPlay (51);
}
}
if (Key.isDown(38)) {
if (_currentframe == 40) {
gotoAndPlay (81);
}
if (_currentframe == 50) {
gotoAndPlay (71);
}
if (_currentframe == 60) {
gotoAndPlay (61);
}
}
} else if ((_parent._currentframe > 70) && (_parent._currentframe < 88)) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
_x = (_x + ((640 - _x) * 0.3));
} else {
_y = (_y + ((-400 - _x) * 0.1));
}
}
Symbol 164 MovieClip Frame 87
gotoAndStop (52);
Symbol 164 MovieClip Frame 115
stop();
if (_root.trainingmode) {
_root.gotoAndPlay(45);
} else {
_root.gotoAndPlay(50);
}
Symbol 164 MovieClip Frame 134
stop();
Instance of Symbol 101 MovieClip in Symbol 164 MovieClip Frame 134
onClipEvent (enterFrame) {
if (_parent._currentframe == 134) {
_alpha = 100;
_x = (_x + ((279 - _x) * 0.3));
_y = -46;
if (Key.isDown(32)) {
if (_currentframe == 30) {
_parent.gotoAndPlay(154);
} else if (_currentframe == 40) {
_parent.gotoAndPlay(189);
} else if (_currentframe == 50) {
_parent.gotoAndPlay(135);
}
}
if (Key.isDown(40)) {
if (_currentframe == 30) {
gotoAndPlay (31);
}
if (_currentframe == 40) {
gotoAndPlay (41);
}
}
if (Key.isDown(38)) {
if (_currentframe == 40) {
gotoAndPlay (81);
}
if (_currentframe == 50) {
gotoAndPlay (71);
}
}
} else if ((_parent._currentframe > 134) && (_parent._currentframe < 152)) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
_x = (_x + ((640 - _x) * 0.3));
} else if ((_parent._currentframe > 153) && (_parent._currentframe < 172)) {
_x = (_x + ((70 - _x) * 0.3));
} else if ((_parent._currentframe > 171) && (_parent._currentframe < 188)) {
_x = (_x + ((278 - _x) * 0.3));
} else if ((_parent._currentframe > 188) && (_parent._currentframe < 207)) {
_x = (_x + ((70 - _x) * 0.3));
} else if ((_parent._currentframe > 206) && (_parent._currentframe < 223)) {
_x = (_x + ((278 - _x) * 0.3));
}
}
Symbol 164 MovieClip Frame 152
gotoAndStop (52);
Symbol 164 MovieClip Frame 171
stop();
Symbol 164 MovieClip Frame 187
gotoAndStop (134);
Symbol 164 MovieClip Frame 206
stop();
Symbol 164 MovieClip Frame 222
gotoAndStop (134);
Symbol 164 MovieClip Frame 230
play();
Symbol 164 MovieClip Frame 245
stop();
Symbol 164 MovieClip Frame 246
play();
Symbol 164 MovieClip Frame 260
gotoAndStop (52);
Symbol 164 MovieClip Frame 261
play();
Symbol 164 MovieClip Frame 276
stop();
Instance of Symbol 155 MovieClip "retrygame" in Symbol 164 MovieClip Frame 276
onClipEvent (load) {
if (_root.receivinghiscore) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 163 MovieClip "selecta" in Symbol 164 MovieClip Frame 276
onClipEvent (enterFrame) {
if (_currentframe == 1) {
if (!_parent.retrygame._visible) {
gotoAndStop (10);
}
if (Key.isDown(32)) {
_parent.gotoAndPlay(308);
}
}
if (_currentframe == 10) {
if (Key.isDown(32)) {
_parent.gotoAndPlay(277);
}
}
if (_currentframe == 19) {
if (Key.isDown(32)) {
if (tocker) {
tocker = false;
_root.scoretoggle = !_root.scoretoggle;
_parent.hiscore.st.nextFrame();
_parent.hiscore.showScores();
}
} else {
tocker = true;
}
}
if (Key.isDown(32)) {
if (spacego) {
spacego = false;
if ((_currentframe == 29) && (_parent.last10._y == 19.1)) {
tellTarget (_parent.hiscore) {
if (page < (maxScore - 10)) {
page = page + 10;
}
if (page > (maxScore - 20)) {
_parent.next10._visible = false;
_parent.selecta.gotoAndStop(29);
}
_parent.last10._visible = true;
showScores();
};
}
if (((_currentframe == 39) && (_parent.last10._y == 19.1)) || ((_currentframe == 29) && (_parent.last10._y == -3.7))) {
tellTarget (_parent.hiscore) {
page = page - 10;
if (page < 0) {
page = 0;
}
if (page < 10) {
_parent.last10._visible = false;
_parent.selecta.gotoAndStop(29);
}
_parent.next10._visible = true;
showScores();
};
}
}
} else {
spacego = true;
}
if (!_parent.next10._visible) {
_parent.last10._y = -3.7;
} else {
_parent.last10._y = 19.1;
}
if (Key.isDown(38)) {
if ((_currentframe == 10) && (_parent.retrygame._visible)) {
gotoAndPlay (70);
}
if (_currentframe == 19) {
gotoAndPlay (60);
}
if (_currentframe == 29) {
gotoAndPlay (50);
}
if (_currentframe == 39) {
gotoAndPlay (40);
}
}
if (Key.isDown(40)) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
if ((_currentframe == 10) && (_parent.scoretrucks._visible)) {
gotoAndPlay (11);
}
if ((_currentframe == 19) && (_parent.next10._visible || (_parent.last10._visible))) {
gotoAndPlay (20);
}
if (((_currentframe == 29) && (_parent.next10._visible)) && (_parent.last10._visible)) {
gotoAndPlay (30);
}
}
}
Symbol 164 MovieClip Frame 277
play();
_root.receivinghiscore = false;
Symbol 164 MovieClip Frame 291
gotoAndStop (52);
Symbol 164 MovieClip Frame 292
play();
Symbol 164 MovieClip Frame 307
gotoAndPlay (276);
Symbol 164 MovieClip Frame 308
play();
Symbol 164 MovieClip Frame 321
_root.gotoAndPlay(50);
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 51
if (_root.paused) {
gotoAndPlay (11);
}
Symbol 175 MovieClip Frame 74
gotoAndStop (1);
Symbol 245 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pausing) {
if (_root.paused) {
stop();
} else {
play();
}
}
};
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
if (_root.paused) {
stop();
} else {
play();
}
Symbol 262 MovieClip Frame 5
gotoAndStop (2);
Symbol 262 MovieClip Frame 6
play();
Symbol 262 MovieClip Frame 11
if (_root.craft.missiles == 0) {
_root.controllock = true;
_root.deadness.gotoAndPlay(273);
}
gotoAndStop (1);
Symbol 262 MovieClip Frame 12
if (_root.paused) {
stop();
} else {
play();
}
Symbol 262 MovieClip Frame 15
gotoAndStop (12);
Symbol 285 MovieClip Frame 32
gotoAndPlay (1);
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
play();
Symbol 290 MovieClip Frame 8
stop();
if (_name == "targetlock") {
_root.gundrone.action = "approach";
}
Symbol 290 MovieClip Frame 15
gotoAndPlay (1);
Symbol 292 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 1
gotoAndPlay(random(5) + 2);
Symbol 344 MovieClip Frame 1
_root.yshake = 0;
Symbol 344 MovieClip Frame 11
if (health < 1) {
_root.airsound.stop();
health--;
alive = "false";
play();
_root.shine2x = _x;
_root.shine2y = _y;
_root.exlf.go = "true";
i = 1;
while (i < 7) {
Set(("_root.p" add i) add ".xs", (random(50) - 10) + xs);
Set(("_root.p" add i) add ".ys", (random(50) - 25) + ys);
Set(("_root.p" add i) add ".rs", random(80) - 40);
Set(("_root.p" add i) add ".zs", random(10) + 5);
Set(("_root.p" add i) add ".y", (_y + random(20)) - 10);
setProperty("_root.p" add i, _x , (_x + random(20)) - 10);
setProperty("_root.p" add i, _rotation , random(360));
i++;
}
_root.fraglight = _root.fragdark;
} else {
health--;
if (_root.illuminated) {
gotoAndPlay (27);
} else {
gotoAndPlay (5);
}
}
Symbol 344 MovieClip Frame 12
_root.yshake = -10;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 344 MovieClip Frame 13
_root.yshake = 10;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 344 MovieClip Frame 14
_root.yshake = -7;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 344 MovieClip Frame 15
_root.yshake = 7;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 344 MovieClip Frame 16
_root.yshake = -4;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 344 MovieClip Frame 17
_root.yshake = 4;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 344 MovieClip Frame 18
_root.yshake = 0;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 344 MovieClip Frame 19
stop();
Symbol 344 MovieClip Frame 21
_root.yshake = 0;
Symbol 350 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pausing) {
if (_root.paused) {
stop();
} else {
play();
}
}
};
Symbol 369 MovieClip Frame 1
gotoAndPlay (15);
Symbol 369 MovieClip Frame 30
stop();
Symbol 369 MovieClip Frame 31
play();
Symbol 369 MovieClip Frame 40
stop();
Symbol 369 MovieClip Frame 41
play();
Symbol 369 MovieClip Frame 50
stop();
Symbol 369 MovieClip Frame 51
play();
Symbol 369 MovieClip Frame 60
stop();
Symbol 369 MovieClip Frame 61
play();
Symbol 369 MovieClip Frame 70
gotoAndPlay (50);
Symbol 369 MovieClip Frame 71
play();
Symbol 369 MovieClip Frame 80
gotoAndPlay (40);
Symbol 369 MovieClip Frame 81
play();
Symbol 369 MovieClip Frame 90
gotoAndPlay (30);
Symbol 378 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 24
gotoAndPlay (2);
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 10
stop();
Symbol 386 MovieClip Frame 19
gotoAndPlay (1);
Instance of Symbol 386 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_currentframe == 1) {
if (Key.isDown(32)) {
_parent._parent.play();
}
}
if (_currentframe == 10) {
if (Key.isDown(32)) {
_parent._parent.gotoAndPlay(202);
}
}
if (Key.isDown(38)) {
if (_currentframe == 10) {
play();
}
}
if (Key.isDown(40)) {
if (_currentframe == 1) {
play();
}
}
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 10
stop();
Instance of Symbol 369 MovieClip in Symbol 407 MovieClip Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (_currentframe == 30) {
_parent.gotoAndPlay(11);
}
if (_currentframe == 40) {
_parent.gotoAndPlay(110);
}
if (_currentframe == 50) {
_parent.gotoAndPlay(141);
}
if (_currentframe == 60) {
_parent.gotoAndPlay(172);
}
}
if (Key.isDown(38)) {
if (_currentframe == 40) {
gotoAndPlay (81);
}
if (_currentframe == 50) {
gotoAndPlay (71);
}
if (_currentframe == 60) {
gotoAndPlay (61);
}
}
if (Key.isDown(40)) {
if (_currentframe == 30) {
gotoAndPlay (31);
}
if (_currentframe == 40) {
gotoAndPlay (41);
}
if (_currentframe == 50) {
gotoAndPlay (51);
}
}
}
Symbol 407 MovieClip Frame 11
play();
Symbol 407 MovieClip Frame 20
_root.paused = false;
_root.pausing = true;
gotoAndStop (1);
Symbol 407 MovieClip Frame 50
play();
Symbol 407 MovieClip Frame 62
text1done = "incoming transmission";
text2done = "every time you crash, your ship loses";
text3done = "one health point from the damage. if";
text4done = "you lose all five then its 'game over'.";
text5done = "your health meter is displayed in the";
text6done = "bottom left corner of screen.";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 407 MovieClip Frame 63
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 407 MovieClip Frame 64
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (65);
} else {
gotoAndPlay (63);
}
Symbol 407 MovieClip Frame 75
_root.paused = false;
_root.pausing = true;
gotoAndStop (1);
Symbol 407 MovieClip Frame 80
play();
Symbol 407 MovieClip Frame 94
text1done = "incoming transmission";
text2done = "good work, you've destroyed your first";
text3done = "truck. every time you blow up a truck,";
text4done = "your health and missile stocks are";
text5done = "replenished. but if you run out of";
text6done = "missiles then you can't continue...";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 407 MovieClip Frame 95
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 407 MovieClip Frame 96
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (97);
} else {
gotoAndPlay (95);
}
Symbol 407 MovieClip Frame 107
_root.paused = false;
_root.pausing = true;
gotoAndStop (1);
Symbol 407 MovieClip Frame 110
play();
Symbol 407 MovieClip Frame 128
stop();
Symbol 407 MovieClip Frame 137
gotoAndPlay (2);
Symbol 407 MovieClip Frame 141
play();
Symbol 407 MovieClip Frame 159
stop();
Symbol 407 MovieClip Frame 168
gotoAndPlay (2);
Symbol 407 MovieClip Frame 172
play();
Symbol 407 MovieClip Frame 190
stop();
Symbol 407 MovieClip Frame 199
gotoAndPlay (2);
Symbol 407 MovieClip Frame 202
play();
Symbol 407 MovieClip Frame 212
_root.gotoAndPlay(32);
Symbol 407 MovieClip Frame 220
play();
Symbol 407 MovieClip Frame 232
text1done = "incoming transmission";
text2done = "the hovering circular mechanoid is";
text3done = "a drone. these scan the ground for";
text4done = "unidentified vehicles. don't touch the";
text5done = "red beam, if you do an assault drone";
text6done = "will try to destroy you with missiles.";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 407 MovieClip Frame 233
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 407 MovieClip Frame 234
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (235);
} else {
gotoAndPlay (233);
}
Symbol 407 MovieClip Frame 245
_root.paused = false;
_root.pausing = true;
gotoAndStop (1);
Symbol 407 MovieClip Frame 250
play();
Symbol 407 MovieClip Frame 262
text1done = "incoming transmission";
text2done = "the authorities are slowly hacking";
text3done = "into your ship's computer system.";
text4done = "your shields have lost one power level";
text5done = "and you now have one less missile to";
text6done = "use. be careful...";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 407 MovieClip Frame 263
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 407 MovieClip Frame 264
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (235);
} else {
gotoAndPlay (233);
}
Symbol 407 MovieClip Frame 275
_root.paused = false;
_root.pausing = true;
gotoAndStop (1);
Symbol 407 MovieClip Frame 280
play();
Symbol 407 MovieClip Frame 292
text1done = "incoming transmission";
text2done = "you've alerted a drone. the assault";
text3done = "drone will now find you and fire ten";
text4done = "missiles toward you. dodge all ten and";
text5done = "you get to survive, but doing that can";
text6done = "be incredibly difficult...";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 407 MovieClip Frame 293
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 407 MovieClip Frame 294
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (295);
} else {
gotoAndPlay (293);
}
Symbol 407 MovieClip Frame 305
_root.paused = false;
_root.pausing = true;
gotoAndStop (1);
Symbol 442 MovieClip Frame 1
_quality = "HIGH";
_visible = true;
if (_root.tinsructyet) {
gotoAndPlay (380);
}
Symbol 442 MovieClip Frame 30
gotoAndPlay (220);
Symbol 442 MovieClip Frame 244
text1done = "incoming transmission";
text2done = "welcome to the assault drone training";
text3done = "course. here you will learn how to";
text4done = "evade assault drones out on the field.";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
typing = 1;
char = 0;
Symbol 442 MovieClip Frame 245
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
spacer.play();
}
}
char++;
}
Symbol 442 MovieClip Frame 246
if (((typing == 5) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (247);
} else {
gotoAndPlay (245);
}
Symbol 442 MovieClip Frame 274
text1done = "incoming transmission";
text2done = "assault drones are circular hovering";
text3done = "mechanoids armed with two missile";
text4done = "launchers. They are triggered to fire";
text5done = "at you when you cross the beam of a ";
text6done = "regular drone.";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 442 MovieClip Frame 275
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 442 MovieClip Frame 276
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (277);
} else {
gotoAndPlay (275);
}
Symbol 442 MovieClip Frame 303
text1done = "incoming transmission";
text2done = "if alerted, an assault drone will approach";
text3done = "and make a beeping sound just before it";
text4done = "begins firing at you. get ready to start";
text5done = "dodging. they each pack ten missiles,";
text6done = "dodge all ten and they will leave.";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 442 MovieClip Frame 304
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 442 MovieClip Frame 305
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (306);
} else {
gotoAndPlay (304);
}
Symbol 442 MovieClip Frame 332
text1done = "incoming transmission";
text2done = "use the arrow keys to move your ship.";
text3done = "when assault drones are signalled to";
text4done = "fire on you, they keep a consistent";
text5done = "distance between you and themselves.";
text6done = "stopping or speeding wont help.";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 442 MovieClip Frame 333
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 442 MovieClip Frame 334
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (335);
} else {
gotoAndPlay (333);
}
Symbol 442 MovieClip Frame 359
text1done = "incoming transmission";
text2done = "your mission is to survive as many";
text3done = "drones as possible. the first will";
text4done = "fire just 5 missiles, the next drone";
text5done = "will launch 10, then 15 and so on...";
text6done = "how long can you last...";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 442 MovieClip Frame 360
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 442 MovieClip Frame 361
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (362);
} else {
gotoAndPlay (360);
}
Symbol 442 MovieClip Frame 500
stop();
_root.drone1.respawn();
_root.tinsructyet = true;
_root.craft.autopilot = false;
_visible = false;
_quality = _root.qualiteh;
Symbol 452 MovieClip Frame 1
gotoAndPlay (16);
Symbol 452 MovieClip Frame 30
stop();
Symbol 452 MovieClip Frame 31
play();
Symbol 452 MovieClip Frame 40
stop();
Symbol 452 MovieClip Frame 41
play();
Symbol 452 MovieClip Frame 50
stop();
Symbol 452 MovieClip Frame 51
play();
Symbol 452 MovieClip Frame 60
stop();
Symbol 452 MovieClip Frame 61
play();
Symbol 452 MovieClip Frame 70
gotoAndStop (50);
Symbol 452 MovieClip Frame 71
play();
Symbol 452 MovieClip Frame 80
gotoAndStop (40);
Symbol 452 MovieClip Frame 81
play();
Symbol 452 MovieClip Frame 90
gotoAndStop (30);
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 3
gotoAndStop (1);
Symbol 470 MovieClip Frame 5
gotoAndStop (1);
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 109
_root.dodgefinal = _root.dodge;
Instance of Symbol 452 MovieClip "selecta" in Symbol 484 MovieClip Frame 117
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_currentframe == 30) {
gotoAndPlay (31);
}
}
if (Key.isDown(38)) {
if (_currentframe == 40) {
gotoAndPlay (81);
}
}
}
Symbol 484 MovieClip Frame 124
if ((selecta._currentframe == 40) && (Key.isDown(32))) {
gotoAndPlay (230);
} else if ((selecta._currentframe == 30) && (Key.isDown(32))) {
gotoAndPlay (205);
} else {
gotoAndPlay (123);
}
Instance of Symbol 474 MovieClip "hiscorenamer" in Symbol 484 MovieClip Frame 150
onClipEvent (load) {
limit = 12;
}
onClipEvent (enterFrame) {
if (txter.length == limit) {
uscore._visible = 0;
} else {
uscore._visible = 1;
}
uscore._x = (txt._x + txt.textWidth) + 18;
if (Key.isDown(8) || (Key.isDown(46))) {
if (!pusheded) {
pusheded = true;
txter = txter.slice(0, txter.length - 1);
_parent.clickers.gotoAndPlay(2);
}
} else {
pusheded = false;
}
}
onClipEvent (keyDown) {
nextbutton = String.fromCharCode(Key.getAscii());
allowed = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890 ";
if ((allowed.indexOf(nextbutton) != -1) && (txter.length < limit)) {
txter = txter + nextbutton;
}
}
Symbol 484 MovieClip Frame 151
if (Key.isDown(17) && (hiscorenamer.txter.length > 0)) {
_root.namefinal = hiscorenamer.txter;
gotoAndPlay (152);
} else {
gotoAndPlay (150);
}
Symbol 484 MovieClip Frame 167
_root.gotoAndStop(31);
Symbol 484 MovieClip Frame 205
play();
Symbol 484 MovieClip Frame 226
_root.gotoAndPlay(44);
Symbol 484 MovieClip Frame 230
play();
Symbol 484 MovieClip Frame 251
_root.gotoAndPlay(32);
Symbol 484 MovieClip Frame 273
_root.scorefinal = _root.score;
_root.objsfinal = _root.objs;
play();
Symbol 484 MovieClip Frame 412
gotoAndPlay (108);
Symbol 485 MovieClip Frame 1
play();
Symbol 485 MovieClip Frame 15
stop();
Symbol 491 Button
on (release) {
play();
}
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 2
stop();
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 51
if (_root.paused) {
gotoAndPlay (11);
}
Symbol 500 MovieClip Frame 74
gotoAndStop (1);
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 51
if (_root.paused) {
gotoAndPlay (11);
}
Symbol 502 MovieClip Frame 74
gotoAndStop (1);
Instance of Symbol 503 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(Number(_root.craft.healthmax));
}
Instance of Symbol 510 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(Number(_root.craft.health) + 2);
}
Instance of Symbol 503 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(Number(_root.craft.healthmax));
}
Instance of Symbol 510 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(Number(_root.craft.missiles) + 1);
}
Symbol 524 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 2
stop();
Symbol 524 MovieClip Frame 3
stop();
Symbol 524 MovieClip Frame 4
stop();
Symbol 524 MovieClip Frame 5
stop();
Symbol 524 MovieClip Frame 6
stop();
Symbol 524 MovieClip Frame 8
stop();
Symbol 524 MovieClip Frame 9
stop();
Symbol 524 MovieClip Frame 10
stop();
Symbol 524 MovieClip Frame 11
stop();
Symbol 524 MovieClip Frame 12
stop();
Symbol 524 MovieClip Frame 13
stop();
Symbol 524 MovieClip Frame 27
stop();
Symbol 551 MovieClip Frame 1
stop();
Symbol 551 MovieClip Frame 2
stop();
Symbol 551 MovieClip Frame 3
stop();
Symbol 551 MovieClip Frame 4
stop();
Symbol 551 MovieClip Frame 5
stop();
Symbol 551 MovieClip Frame 6
stop();
Symbol 551 MovieClip Frame 7
stop();
Symbol 551 MovieClip Frame 8
stop();
Symbol 551 MovieClip Frame 9
stop();
Symbol 551 MovieClip Frame 10
stop();
Symbol 551 MovieClip Frame 11
stop();
Symbol 551 MovieClip Frame 12
stop();
Symbol 551 MovieClip Frame 13
gotoAndPlay (1);
Symbol 565 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pausing) {
if (_root.paused) {
stop();
} else if ((_currentframe > 19) && (_currentframe < 28)) {
play();
}
}
if (!_root.paused) {
if (Number(_name.charAt(1)) <= _root.shipnum) {
_x = (_x - (_root.craft.xs - xs));
_x = (_x - (_root.craft.xs - xs));
if (this.hitTest(_parent.truk)) {
if (Number(_parent.truk._currentframe < 3) && (Number(_currentframe < 14))) {
gotoAndPlay (20);
}
}
if (this.hitTest(_root.missile)) {
if (Number((_root.missile._currentframe > 1) && (_root.missile._currentframe < 5)) || (Number((_root.missile._currentframe > 11) && (_root.missile._currentframe < 15)))) {
_root.missile.gotoAndPlay(6);
gotoAndPlay (20);
}
}
if (this.hitTest(_root.missileback)) {
if (Number((_root.missileback._currentframe > 1) && (_root.missileback._currentframe < 5)) || (Number((_root.missileback._currentframe > 11) && (_root.missileback._currentframe < 15)))) {
_root.missileback.gotoAndPlay(6);
gotoAndPlay (20);
}
}
if (this.hitTest(_root.missileback2)) {
if (Number((_root.missileback2._currentframe > 1) && (_root.missileback2._currentframe < 5)) || (Number((_root.missileback2._currentframe > 11) && (_root.missileback2._currentframe < 15)))) {
_root.missileback2.gotoAndPlay(6);
gotoAndPlay (20);
}
}
if (((this.hitTest(_root.craft.hitter) && (_currentframe < 20)) && (_root.craft.alive == "true")) && (_root.craft.z < 3)) {
if ((_root.craft.xs < xs) && (Math.abs(_root.craft.ys) < 4)) {
xs = _root.craft.xs - 20;
_root.craft.xs = _root.craft.xs + 10;
} else {
gotoAndPlay (20);
_root.craft.gotoAndPlay(11);
}
}
if (ys > 0) {
ys = ys - 2;
} else {
ys = 0;
}
_alpha = 100;
i = 1;
while (i < (_root.shipnum + 1)) {
if ((_parent["a" + i]._y == _y) && (_parent["a" + i]._x > _x)) {
if (((_parent["a" + i]._x < (_x + 180)) && (_parent["a" + i].xs < xs)) && (i != Number(_name.charAt(1)))) {
xs = xs - (Math.abs(_parent["a" + i].xs - xs) * 0.1);
}
if ((_parent["a" + i]._x < (_x + 110)) && (i != Number(_name.charAt(1)))) {
xs = _parent["a" + i].xs;
_x = (_parent["a" + i]._x - 110);
}
}
i++;
}
if ((((_parent.truk._y == _y) && (_parent.truk._x > _x)) && (_parent.truk._x < (_x + 220))) && (_parent.truk.xs < xs)) {
xs = xs - (Math.abs(_parent.truk.xs - xs) * 0.1);
}
if (((_parent.truk._y == _y) && (_parent.truk._x > _x)) && (_parent.truk._x < (_x + 150))) {
xs = _parent.truk.xs;
_x = (_parent.truk._x - 150);
}
if ((_x > 1300) && (_root.gundrone.action != "firing")) {
gotoAndPlay (1);
cartype = random(numba) + 1;
xs = random(20) + 25;
_y = ((random(5) * 70) + 60);
if ((_y == 200) && (_root.craft.autopilot)) {
_y = ((random(2) * 140) + 130);
}
_x = -150;
}
if ((_x < -150) && (_root.gundrone.action != "firing")) {
gotoAndPlay (1);
cartype = random(numba) + 1;
xs = random(10) + 30;
_y = ((random(5) * 70) + 60);
if ((_y == 200) && (_root.craft.autopilot)) {
_y = ((random(2) * 140) + 130);
}
_x = 800;
}
if (_currentframe < 20) {
if (_root.illuminated) {
gotoAndStop(cartype + 7);
} else {
gotoAndStop(cartype);
}
}
_y = ((_y + _root.yshake) + ys);
setProperty("_root.s" add _name, _y , _y);
setProperty("_root.s" add _name, _x , _x);
Set(("_root.s" add _name) add ".type", _currentframe);
}
}
};
stop();
numba = 6;
Symbol 565 MovieClip Frame 2
stop();
Symbol 565 MovieClip Frame 3
stop();
Symbol 565 MovieClip Frame 4
stop();
Symbol 565 MovieClip Frame 5
stop();
Symbol 565 MovieClip Frame 6
stop();
Symbol 565 MovieClip Frame 8
stop();
numba = 6;
Symbol 565 MovieClip Frame 9
stop();
Symbol 565 MovieClip Frame 10
stop();
Symbol 565 MovieClip Frame 11
stop();
Symbol 565 MovieClip Frame 12
stop();
Symbol 565 MovieClip Frame 13
stop();
Symbol 565 MovieClip Frame 20
play();
_root.shine2x = _x;
_root.shine2y = _y;
_root.exlf.go = "true";
Symbol 565 MovieClip Frame 21
i = 1;
while (i < 7) {
Set(("_root.pp" add i) add ".xs", (random(50) - 10) + xs);
Set(("_root.pp" add i) add ".ys", (random(50) - 25) + ys);
Set(("_root.pp" add i) add ".rs", random(80) - 40);
Set(("_root.pp" add i) add ".zs", random(10) + 5);
Set(("_root.pp" add i) add ".y", (_y + random(20)) - 10);
setProperty("_root.pp" add i, _x , (_x + random(20)) - 10);
setProperty("_root.pp" add i, _rotation , random(360));
i++;
}
_root.fraglight = _root.fragdark;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 565 MovieClip Frame 22
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 565 MovieClip Frame 23
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 565 MovieClip Frame 24
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 565 MovieClip Frame 25
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 565 MovieClip Frame 26
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 565 MovieClip Frame 27
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 565 MovieClip Frame 28
stop();
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 2
stop();
Symbol 580 MovieClip Frame 5
play();
_root.shine2x = _x;
_root.shine2y = _y;
_root.exlf.go = "true";
Symbol 580 MovieClip Frame 6
i = 1;
while (i < 7) {
Set(("_root.pp" add i) add ".xs", (random(50) - 10) + xs);
Set(("_root.pp" add i) add ".ys", (random(50) - 25) + ys);
Set(("_root.pp" add i) add ".rs", random(80) - 40);
Set(("_root.pp" add i) add ".zs", random(10) + 5);
Set(("_root.pp" add i) add ".y", (_y + random(20)) - 10);
setProperty("_root.pp" add i, _x , (_x + random(20)) - 10);
setProperty("_root.pp" add i, _rotation , random(360));
i++;
}
_root.fraglight = _root.fragdark;
_root.craft.missiles = 5;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 7
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 8
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 9
_root.objs++;
_root.score = (_root.score + Math.round(30000 / _root.nexttrucktimer)) + 100;
_root.hudd.scory.play();
_root.nexttrucktimer = 0;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 10
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 11
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 12
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 13
_y = ((random(5) * 70) + 60);
_x = pitcher;
_root.craft.cd = _root.stime * 30;
gotoAndStop (1);
Symbol 580 MovieClip Frame 15
stop();
play();
_root.shine2x = _x;
_root.shine2y = _y;
_root.exlf.go = "true";
Symbol 580 MovieClip Frame 16
i = 1;
while (i < 7) {
Set(("_root.pp" add i) add ".xs", (random(50) - 10) + xs);
Set(("_root.pp" add i) add ".ys", (random(50) - 25) + ys);
Set(("_root.pp" add i) add ".rs", random(80) - 40);
Set(("_root.pp" add i) add ".zs", random(10) + 5);
Set(("_root.pp" add i) add ".y", (_y + random(20)) - 10);
setProperty("_root.pp" add i, _x , (_x + random(20)) - 10);
setProperty("_root.pp" add i, _rotation , random(360));
i++;
}
_root.fraglight = _root.fragdark;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 17
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 18
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 19
_root.objs++;
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 20
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 21
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 22
_root.shine2x = _x;
_root.shine2y = _y;
Symbol 580 MovieClip Frame 23
_y = ((random(5) * 70) + 60);
_x = pitcher;
_root.craft.missiles = 5;
_root.craft.cd = _root.stime * 30;
gotoAndStop (1);
Instance of Symbol 565 MovieClip "a1" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Instance of Symbol 580 MovieClip "truk" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = 45;
pitcher = 4000;
_x = pitcher;
_y = ((random(5) * 70) + 60);
}
onClipEvent (enterFrame) {
if (_root.pausing) {
if (_root.paused) {
stop();
_root.shaaa.stop();
} else if (((_currentframe > 4) && (_currentframe < 13)) || ((_currentframe > 14) && (_currentframe < 23))) {
_root.shaaa.play();
play();
}
}
if (!_root.paused) {
if (_root.craft.autopilot) {
_x = pitcher;
}
_x = (_x - (_root.craft.xs - xs));
_x = (_x - (_root.craft.xs - xs));
if (this.hitTest(_root.missile) && (Number((_root.missile._currentframe > 1) && (_root.missile._currentframe < 5)) || (Number((_root.missile._currentframe > 11) && (_root.missile._currentframe < 15))))) {
_root.craft.health = _root.craft.healthmax - 1;
_root.missile.gotoAndPlay(6);
if (_root.illuminated) {
gotoAndPlay (15);
} else {
gotoAndPlay (5);
}
}
if (((this.hitTest(_root.craft.hitter) && (_currentframe < 5)) && (_root.craft.alive == "true")) && (_root.craft.z < 3)) {
while (this.hitTest(_root.craft.hitter)) {
if (_root.craft.y > _y) {
_root.craft.y++;
if (_root.craft.y > 360) {
_root.craft.health = 0;
_root.craft.gotoAndPlay(11);
}
_root.craft._y = _root.craft.y;
} else {
_root.craft.y--;
if (_root.craft.y < 40) {
_root.craft.health = 0;
_root.craft.gotoAndPlay(11);
}
_root.craft._y = _root.craft.y;
}
}
_root.craft.ys = -_root.craft.ys;
_root.craft.xs = xs - 10;
_root.craft.x = _root.craft.oldx;
}
if ((_currentframe == 1) && (_root.illuminated)) {
gotoAndStop (2);
}
if ((_currentframe == 2) && (!_root.illuminated)) {
gotoAndStop (1);
}
_y = ((_y + _root.yshake) + ys);
_root.shaaa._x = _x;
_root.shaaa._y = _y;
}
_root.shaaa.gotoAndPlay(_currentframe);
}
Instance of Symbol 565 MovieClip "a2" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Instance of Symbol 565 MovieClip "a4" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Instance of Symbol 565 MovieClip "a7" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Instance of Symbol 565 MovieClip "a8" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Instance of Symbol 565 MovieClip "a5" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Instance of Symbol 565 MovieClip "a9" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Instance of Symbol 565 MovieClip "a6" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Instance of Symbol 565 MovieClip "a3" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
ys = 0;
xs = random(10) + 30;
gotoAndStop(random(numba) + 1);
}
Symbol 604 MovieClip Frame 1
_quality = "HIGH";
_visible = true;
if (_root.insructyet) {
gotoAndPlay (380);
}
Symbol 604 MovieClip Frame 30
gotoAndPlay (67);
Symbol 604 MovieClip Frame 244
text1done = "incoming transmission";
text2done = "before you commence the next mission,";
text3done = "here is a quick run through of your";
text4done = "controls...";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
typing = 1;
char = 0;
Symbol 604 MovieClip Frame 245
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
spacer.play();
}
}
char++;
}
Symbol 604 MovieClip Frame 246
if (((typing == 5) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (247);
} else {
gotoAndPlay (245);
}
Symbol 604 MovieClip Frame 274
text1done = "incoming transmission";
text2done = "use the arrow keys to move your ship.";
text3done = "the up and down arrows steer your ship";
text4done = "between the lanes of traffic...";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
typing = 1;
char = 0;
Symbol 604 MovieClip Frame 275
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
spacer.play();
}
}
char++;
}
Symbol 604 MovieClip Frame 276
if (((typing == 5) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (277);
} else {
gotoAndPlay (275);
}
Symbol 604 MovieClip Frame 303
text1done = "incoming transmission";
text2done = "the right arrow accelerates your ship";
text3done = "and the left arrow slows you down";
text4done = "use the spacebar to fire a missile.";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
typing = 1;
char = 0;
Symbol 604 MovieClip Frame 304
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
spacer.play();
}
}
char++;
}
Symbol 604 MovieClip Frame 305
if (((typing == 5) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (306);
} else {
gotoAndPlay (304);
}
Symbol 604 MovieClip Frame 332
text1done = "incoming transmission";
text2done = "also you can pause the game by";
text3done = "pressing 'p'. from there you can";
text4done = "change the video and sound settings";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
typing = 1;
char = 0;
Symbol 604 MovieClip Frame 333
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
spacer.play();
}
}
char++;
}
Symbol 604 MovieClip Frame 334
if (((typing == 5) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (335);
} else {
gotoAndPlay (333);
}
Symbol 604 MovieClip Frame 359
text1done = "incoming transmission";
text2done = "your mission is to destroy as many";
text3done = "tanker trucks as fast as you can.";
text4done = "pursue them, avoid the traffic and";
text5done = "fire a missile into each truck to take";
text6done = "them down. good luck...";
text1 = "";
text2 = "";
text3 = "";
text4 = "";
text5 = "";
text6 = "";
typing = 1;
char = 0;
Symbol 604 MovieClip Frame 360
play();
repeating = 1;
if (Key.isDown(32)) {
commeceable = false;
repeating = 4;
} else {
commeceable = true;
}
while (repeating > 0) {
repeating--;
if (typing == 1) {
oldtext1 = text1;
text1 = text1 add text1done.charAt(char);
if (oldtext1 == text1) {
char = 0;
typing = 2;
}
}
if (typing == 2) {
oldtext2 = text2;
text2 = text2 add text2done.charAt(char);
if (oldtext2 == text2) {
char = 0;
typing = 3;
}
}
if (typing == 3) {
oldtext3 = text3;
text3 = text3 add text3done.charAt(char);
if (oldtext3 == text3) {
char = 0;
typing = 4;
}
}
if (typing == 4) {
oldtext4 = text4;
text4 = text4 add text4done.charAt(char);
if (oldtext4 == text4) {
char = 0;
typing = 5;
}
}
if (typing == 5) {
oldtext5 = text5;
text5 = text5 add text5done.charAt(char);
if (oldtext5 == text5) {
char = 0;
typing = 6;
}
}
if (typing == 6) {
oldtext6 = text6;
text6 = text6 add text6done.charAt(char);
if (oldtext6 == text6) {
char = 0;
typing = 7;
spacer.play();
}
}
char++;
}
Symbol 604 MovieClip Frame 361
if (((typing == 7) && (commeceable)) && (Key.isDown(32))) {
gotoAndPlay (362);
} else {
gotoAndPlay (360);
}
Symbol 604 MovieClip Frame 500
stop();
_root.insructyet = true;
_root.craft.autopilot = false;
_visible = false;
_quality = _root.qualiteh;
Symbol 609 MovieClip Frame 1
gotoAndPlay (16);
Symbol 609 MovieClip Frame 30
stop();
Symbol 609 MovieClip Frame 31
play();
Symbol 609 MovieClip Frame 40
stop();
Symbol 609 MovieClip Frame 41
play();
Symbol 609 MovieClip Frame 50
stop();
Symbol 609 MovieClip Frame 51
play();
Symbol 609 MovieClip Frame 60
stop();
Symbol 609 MovieClip Frame 61
play();
Symbol 609 MovieClip Frame 70
gotoAndStop (50);
Symbol 609 MovieClip Frame 71
play();
Symbol 609 MovieClip Frame 80
gotoAndStop (40);
Symbol 609 MovieClip Frame 81
play();
Symbol 609 MovieClip Frame 90
gotoAndStop (30);
Symbol 626 MovieClip Frame 1
stop();
Symbol 626 MovieClip Frame 2
_root.scorefinal = _root.score;
_root.objsfinal = _root.objs;
Instance of Symbol 609 MovieClip "selecta" in Symbol 626 MovieClip Frame 117
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_currentframe == 30) {
gotoAndPlay (31);
}
if (_currentframe == 40) {
gotoAndPlay (41);
}
}
if (Key.isDown(38)) {
if (_currentframe == 40) {
gotoAndPlay (81);
}
if (_currentframe == 50) {
gotoAndPlay (71);
}
}
}
Symbol 626 MovieClip Frame 124
if ((selecta._currentframe == 40) && (Key.isDown(32))) {
gotoAndPlay (125);
} else if ((selecta._currentframe == 30) && (Key.isDown(32))) {
gotoAndPlay (205);
} else if ((selecta._currentframe == 50) && (Key.isDown(32))) {
gotoAndPlay (230);
} else {
gotoAndPlay (123);
}
Instance of Symbol 474 MovieClip "hiscorenamer" in Symbol 626 MovieClip Frame 150
onClipEvent (load) {
limit = 12;
}
onClipEvent (enterFrame) {
if (txter.length == limit) {
uscore._visible = 0;
} else {
uscore._visible = 1;
}
uscore._x = (txt._x + txt.textWidth) + 18;
if (Key.isDown(8) || (Key.isDown(46))) {
if (!pusheded) {
pusheded = true;
txter = txter.slice(0, txter.length - 1);
_parent.clickers.gotoAndPlay(2);
}
} else {
pusheded = false;
}
}
onClipEvent (keyDown) {
nextbutton = String.fromCharCode(Key.getAscii());
allowed = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890 ";
if ((allowed.indexOf(nextbutton) != -1) && (txter.length < limit)) {
txter = txter + nextbutton;
}
}
Symbol 626 MovieClip Frame 151
if ((Key.isDown(13) || (Key.isDown(17))) && (hiscorenamer.txter.length > 0)) {
_root.namefinal = hiscorenamer.txter;
gotoAndPlay (152);
} else {
gotoAndPlay (150);
}
Symbol 626 MovieClip Frame 167
_root.gotoAndStop(31);
Symbol 626 MovieClip Frame 205
play();
Symbol 626 MovieClip Frame 226
_root.gotoAndPlay(49);
Symbol 626 MovieClip Frame 230
play();
Symbol 626 MovieClip Frame 251
_root.gotoAndPlay(32);
Symbol 626 MovieClip Frame 273
_root.scorefinal = _root.score;
_root.objsfinal = _root.objs;
play();
Symbol 626 MovieClip Frame 412
gotoAndPlay (108);