Frame 3
stop();
Frame 4
MySound8 = new Sound();
MySound8.attachSound("MySound8");
MySound6 = new Sound();
MySound6.attachSound("MySound6");
MySound7 = new Sound();
MySound7.attachSound("MySound7");
MySound9 = new Sound();
MySound9.attachSound("MySound9");
MySound10 = new Sound();
MySound10.attachSound("MySound10");
MySound11 = new Sound();
MySound11.attachSound("MySound11");
MySound12 = new Sound();
MySound12.attachSound("MySound12");
Button1 = true;
Button2 = true;
Button3 = false;
Button4 = false;
Button5 = false;
Button6 = false;
Button7 = false;
Button8 = false;
Button9 = false;
Button10 = false;
EndGameScore = 0;
Crashed = 0;
JustMissed = 0;
Hold = false;
GamePaused = false;
TotalScore = 100;
Fast = 0;
Clicks = 0;
Faster = 0;
Fastist = 0;
Month = 1;
Level = 1;
Passed = 0;
LowFlight = 0;
myArray = new Array();
PlaneFrom = new Array("SPAIN", "FRANCE", "GERMANY", "AMERICA", "POLAND", "MALTA", "SWEDEN", "BELGIUM", "MEXICO", "CANADA");
stop();
Frame 5
stop();
stop();
Frame 15
if (_root.Level == 1) {
MainVar = 0;
BackgroundLevel = 1;
AirPortTo = "SHEFFIELD";
MainButton = false;
PlaneAmount = 3;
Amount = 0;
Score = 0;
MainPause = false;
Lost = 0;
Landed = 0;
GoAhead = true;
apos = 300;
bpos = 300;
ypos = 735;
xpos = 710;
RunWayDirRed = 5;
RunWayDirYellow = 4;
myArray = new Array();
Planexpos = new Array(300, 300, 300);
myArray = new Array();
Planeypos = new Array(270, 100, 200);
myArray = new Array();
PlaneDir = new Array(5, 3, 1);
myArray = new Array();
PlaneVis = new Array(1, 1, 1);
myArray = new Array();
PlaneExit = new Array("TWX", "SSL", "QRP");
myArray = new Array();
PlaneFuel = new Array(500, 500, 500);
myArray = new Array();
PlaneType = new Array(3, 3, 3);
myArray = new Array();
PlaneSpeed = new Array(0.1, 0.1, 0.1);
}
if (_root.Level == 2) {
MainVar = 0;
BackgroundLevel = 2;
AirPortTo = "SOUTHAMPTON";
MainButton = false;
PlaneAmount = 2;
Amount = 0;
Score = 0;
MainPause = false;
Lost = 0;
Landed = 0;
GoAhead = true;
apos = 200;
bpos = 250;
ypos = 735;
xpos = 710;
RunWayDirRed = 3;
RunWayDirYellow = 4;
myArray = new Array();
Planexpos = new Array(-20, -10);
myArray = new Array();
Planeypos = new Array(111, 281);
myArray = new Array();
PlaneDir = new Array(1, 1);
myArray = new Array();
PlaneVis = new Array(0, 0);
myArray = new Array();
PlaneExit = new Array("Red", "Red");
myArray = new Array();
PlaneFuel = new Array(500, 500);
myArray = new Array();
PlaneType = new Array(3, 3);
myArray = new Array();
PlaneSpeed = new Array(0.1, 0.1);
}
if (_root.Level == 3) {
MainVar = 0;
BackgroundLevel = 3;
AirPortTo = "LIVERPOOL";
MainButton = false;
PlaneAmount = 5;
Amount = 0;
Score = 0;
MainPause = false;
Lost = 0;
Landed = 0;
GoAhead = true;
apos = 700;
bpos = 700;
ypos = 262;
xpos = 373;
RunWayDirRed = 5;
RunWayDirYellow = 6;
myArray = new Array();
Planexpos = new Array(200, 300, 150, 400, 300);
myArray = new Array();
Planeypos = new Array(200, 140, 425, 150, 200);
myArray = new Array();
PlaneDir = new Array(2, 3, 1, 5, 1);
myArray = new Array();
PlaneVis = new Array(1, 1, 1, 1, 1);
myArray = new Array();
PlaneExit = new Array("Yellow", "Yellow", "QRP", "QRP", "Yellow");
myArray = new Array();
PlaneFuel = new Array(500, 500, 500, 500, 200);
myArray = new Array();
PlaneType = new Array(3, 3, 3, 3, 3);
myArray = new Array();
PlaneSpeed = new Array(0.1, 0.1, 0.1, 0.1, 0.1);
}
if (_root.Level == 4) {
MainVar = 0;
BackgroundLevel = 3;
AirPortTo = "EASTMIDLANDS";
MainButton = false;
PlaneAmount = 8;
Amount = 0;
Score = 0;
MainPause = false;
Lost = 0;
Landed = 0;
GoAhead = true;
apos = 350;
bpos = 300;
ypos = 262;
xpos = 373;
RunWayDirRed = 5;
RunWayDirYellow = 6;
myArray = new Array();
Planexpos = new Array(-69, -50, -44, 507, 572, 10, 400, 300);
myArray = new Array();
Planeypos = new Array(115, 219, 426, -116, -28, 535, 150, 200);
myArray = new Array();
PlaneDir = new Array(1, 1, 1, 4, 4, 8, 5, 5);
myArray = new Array();
PlaneVis = new Array(0, 0, 0, 0, 0, 0, 1, 1);
myArray = new Array();
PlaneExit = new Array("Yellow", "Yellow", "Yellow", "Yellow", "Red", "Red", "SSL", "DVE");
myArray = new Array();
PlaneFuel = new Array(5000, 5000, 5000, 5000, 500, 500, 5000, 5000);
myArray = new Array();
PlaneType = new Array(1, 1, 1, 1, 1, 1, 1, 1);
myArray = new Array();
PlaneSpeed = new Array(0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2);
}
Frame 16
if (_root.Level == 5) {
MainVar = 0;
BackgroundLevel = 1;
AirPortTo = "RAF SCAMPTON";
MainButton = false;
PlaneAmount = 5;
Amount = 0;
Score = 0;
MainPause = false;
Lost = 0;
Landed = 0;
GoAhead = true;
apos = 700;
bpos = 700;
ypos = 300;
xpos = 450;
RunWayDirRed = 5;
RunWayDirYellow = 4;
myArray = new Array();
Planexpos = new Array(200, 230, 300, 330, 200);
myArray = new Array();
Planeypos = new Array(600, 620, -30, -30, 200);
myArray = new Array();
PlaneDir = new Array(7, 7, 3, 3, 2);
myArray = new Array();
PlaneVis = new Array(0, 0, 0, 0, 1);
myArray = new Array();
PlaneExit = new Array("Yellow", "Yellow", "Yellow", "Yellow", "TWX");
myArray = new Array();
PlaneFuel = new Array(1000, 1000, 1000, 1000, 500);
myArray = new Array();
PlaneType = new Array(2, 2, 2, 2, 3);
myArray = new Array();
PlaneSpeed = new Array(0.5, 0.5, 0.5, 0.5, 0.1);
}
if (_root.Level == 6) {
MainVar = 0;
BackgroundLevel = 1;
AirPortTo = "MANCHESTER";
MainButton = false;
PlaneAmount = 12;
Amount = 0;
Score = 0;
MainPause = false;
Lost = 0;
Landed = 0;
GoAhead = true;
apos = 700;
bpos = 700;
ypos = 300;
xpos = 450;
RunWayDirRed = 5;
RunWayDirYellow = 4;
myArray = new Array();
Planexpos = new Array(736, 627, 611, 157, 352, 295, 217, 492, 206, 157, 342, 111);
myArray = new Array();
Planeypos = new Array(145, 276, 494, 206, 297, 454, 147, 219, -78, 577, 509, 307);
myArray = new Array();
PlaneDir = new Array(5, 5, 5, 1, 3, 7, 7, 1, 3, 8, 7, 1);
myArray = new Array();
PlaneVis = new Array(0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1);
myArray = new Array();
PlaneExit = new Array("TWX", "SSL", "QRP", "DVE", "TWX", "DVE", "DVE", "SSL", "QRP", "SSL", "TWX", "QRP");
myArray = new Array();
PlaneFuel = new Array(1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000);
myArray = new Array();
PlaneType = new Array(1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1);
myArray = new Array();
PlaneSpeed = new Array(0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.5, 0.5, 0.2, 0.2, 0.2);
}
if (_root.Level == 7) {
MainVar = 0;
BackgroundLevel = 1;
AirPortTo = "BIRMINGHAM";
MainButton = false;
PlaneAmount = 12;
Amount = 0;
Score = 0;
MainPause = false;
Lost = 0;
Landed = 0;
GoAhead = true;
apos = 700;
bpos = 700;
ypos = 300;
xpos = 350;
RunWayDirRed = 6;
RunWayDirYellow = 6;
myArray = new Array();
Planexpos = new Array(604, 74, 62, 579, -20, -108, -178, 368, 533, 505, 194, 349);
myArray = new Array();
Planeypos = new Array(74, 64, 530, 493, 271, 273, 273, -113, -44, 299, 421, 292);
myArray = new Array();
PlaneDir = new Array(4, 2, 8, 6, 1, 1, 1, 3, 3, 6, 8, 2);
myArray = new Array();
PlaneVis = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1);
myArray = new Array();
PlaneExit = new Array("Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow");
myArray = new Array();
PlaneFuel = new Array(1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000);
myArray = new Array();
PlaneType = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
myArray = new Array();
PlaneSpeed = new Array(0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2);
}
if (_root.Level == 8) {
MainVar = 0;
BackgroundLevel = 1;
AirPortTo = "HEATHROW";
MainButton = false;
PlaneAmount = 17;
Amount = 0;
Score = 0;
MainPause = false;
Lost = 0;
Landed = 0;
GoAhead = true;
apos = 420;
bpos = 300;
ypos = 300;
xpos = 350;
RunWayDirRed = 2;
RunWayDirYellow = 6;
myArray = new Array();
Planexpos = new Array(625, 686, 741, 829, -512, -688, 203, 709, 266, 48, -23, -245, 1355, 210, 210, -709, -670);
myArray = new Array();
Planeypos = new Array(83, 34, -16, -74, 259, 278, 577, 669, 806, -41, -132, -155, 303, 241, 197, 465, 465);
myArray = new Array();
PlaneDir = new Array(4, 4, 4, 4, 1, 1, 7, 6, 7, 2, 2, 2, 5, 1, 1, 1, 1);
myArray = new Array();
PlaneVis = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0);
myArray = new Array();
PlaneExit = new Array("Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Yellow", "Red", "Red", "Red", "Red", "Red", "Red", "Red", "Red");
myArray = new Array();
PlaneFuel = new Array(1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000);
myArray = new Array();
PlaneType = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 2, 2, 2, 2);
myArray = new Array();
PlaneSpeed = new Array(0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.1, 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.5);
}
Frame 20
i = 0;
while (i < _root.PlaneAmount) {
duplicateMovieClip (Plane, "Plane" + i, i);
setProperty("Plane" + i, _x , Planexpos[i]);
setProperty("Plane" + i, _y , Planeypos[i]);
randnumber1 = chr(random(26) + 65);
randnumber2 = chr(random(26) + 65);
randnumber3 = chr(random(26) + 65);
_root.MainRunwayRed._x = apos;
_root.MainRunwayRed._y = bpos;
_root.MainRunwayRed._rotation = (RunWayDirRed * 45) + 45;
_root.MainRunwayYellow._x = xpos;
_root.MainRunwayYellow._y = ypos;
_root.MainRunwayYellow._rotation = (RunWayDirYellow * 45) + 45;
PlaneNumber = ((randnumber1 + randnumber2) + randnumber3) + Math.round((Math.random() * 500) + 100);
this["Plane" + i].PlaneName = PlaneNumber;
this["Plane" + i].q = i;
this["Plane" + i].Dir = PlaneDir[i];
this["Plane" + i].Hold == false;
this["Plane" + i].Visible = PlaneVis[i];
this["Plane" + i].Exit = PlaneExit[i];
this["Plane" + i].Speed = PlaneSpeed[i];
this["Plane" + i].Fuel = PlaneFuel[i];
this["Plane" + i].Hight = Math.round((Math.random() * 3) + 2);
PlaneArea = PlaneFrom[Math.round(Math.random() * 9)];
this["Plane" + i].From = PlaneArea;
this["Plane" + i].PlaneDot._rotation = (PlaneDir[i] * 45) + 45;
_root.Fast = 0;
if (_root.PlaneType[i] == 3) {
this["Plane" + i].From = "LOCAL";
}
if (_root.PlaneType[i] == 2) {
this["Plane" + i].From = "RAF STATION";
}
i = i + 1;
}
_root.Sounds.gotoAndPlay(2);
stop();
_root.Background.gotoAndStop(_root.BackgroundLevel);
Instance of Symbol 32 MovieClip [Dot] "Plane" in Frame 20
onClipEvent (load) {
Dead = false;
_root.SafeLanding.swapDepths(5000);
circley = 298;
circlex = 348;
NearMiss = false;
this.PlaneDot.gotoAndStop(_root.PlaneType[q]);
counting = 0;
Holding = 0;
Move = 0;
_root.Fastist = 0;
_root.Flight = false;
}
onClipEvent (enterFrame) {
Move = Move + 1;
if (Move >= 2) {
Move = 0;
if (_root.MainPause == false) {
ydist = this._y - circley;
xdist = this._x - circlex;
Dist = Math.sqrt((ydist * ydist) + (xdist * xdist));
ang = Math.atan2(ydist, xdist);
Degrees = ang * 57.2957795130823;
if (Dir == 1) {
this._x = this._x + (Speed + _root.Fast);
}
if (Dir == 2) {
this._x = this._x + (Speed + _root.Fast);
this._y = this._y + (Speed + _root.Fast);
}
if (Dir == 3) {
this._y = this._y + (Speed + _root.Fast);
}
if (Dir == 4) {
this._x = this._x - (Speed + _root.Fast);
this._y = this._y + (Speed + _root.Fast);
}
if (Dir == 5) {
this._x = this._x - (Speed + _root.Fast);
}
if (Dir == 6) {
this._x = this._x - (Speed + _root.Fast);
this._y = this._y - (Speed + _root.Fast);
}
if (Dir == 7) {
this._y = this._y - (Speed + _root.Fast);
}
if (Dir == 8) {
this._y = this._y - (Speed + _root.Fast);
this._x = this._x + (Speed + _root.Fast);
}
TotalSpeed = Speed * 1000;
Count = Count + 1;
if (Count == 10) {
Fuel = Fuel - 1;
Count = 0;
_root.PlaneFuel[q] = Fuel;
}
if (_root.PlaneFuel[q] < 0) {
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " EMERGENCY LANDING NO FUEL";
_root.SafeLanding.gotoAndPlay(5);
_root.PlaneVis[q] = 0;
_root.Amount = _root.Amount + 1;
_root.Crashed = _root.Crashed + 1;
_root.MySound12.start(0, 1);
_root.EndGameScore = _root.EndGameScore - 50;
if (_root.Amount == _root.PlaneAmount) {
_root.MainPause = true;
_root.gotoAndStop(30);
_root.Screen.gotoAndStop(2);
}
this.removeMovieClip();
}
if (_root["Plane" + q].Hold == true) {
Holding = Holding + 1;
if (Holding >= (200 - _root.Fastist)) {
Dir = Dir + 1;
if (Dir == 9) {
Dir = 1;
}
this.PlaneDot._rotation = (Dir * 45) + 45;
Holding = 0;
}
}
if (_root["Plane" + q].Hight == 1) {
counting = counting + 1;
if (counting == 900) {
counting = 0;
_root.LowFlight = _root.LowFlight + 1;
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " HIGHT PROCEDURAL ERROR!!";
_root.SafeLanding.gotoAndPlay(5);
_root.MySound12.start(0, 1);
_root.EndGameScore = _root.EndGameScore - 5;
}
}
if (_root["Plane" + q].Hight != 1) {
counting = 0;
}
_root.PlaneDir[q] = Dir;
if (((Dir == _root.RunWayDirRed) && (_root.PlaneExit[q] == "Red")) && (_root["Plane" + q].Hight == 1)) {
if ((((this._y > (_root.bpos - 5)) && (this._y < (_root.bpos + 5))) && (this._x > (_root.apos - 5))) && (this._x < (_root.apos + 5))) {
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " HAS LANDED ON RUNWAY.";
_root.SafeLanding.gotoAndPlay(5);
_root.PlaneVis[q] = 0;
_root.Amount = _root.Amount + 1;
_root.Landed = _root.Landed + 1;
_root.MySound7.start(0, 1);
_root.EndGameScore = _root.EndGameScore + (100 * _root.Month);
if (_root.Amount == _root.PlaneAmount) {
_root.MainPause = true;
_root.gotoAndStop(30);
_root.Screen.gotoAndStop(2);
}
this.removeMovieClip();
}
}
if (((Dir == _root.RunWayDirYellow) && (_root.PlaneExit[q] == "Yellow")) && (_root["Plane" + q].Hight == 1)) {
if ((((this._y > (_root.ypos - 5)) && (this._y < (_root.ypos + 5))) && (this._x > (_root.xpos - 5))) && (this._x < (_root.xpos + 5))) {
_root.PlaneVis[q] = 0;
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " HAS LANDED ON RUNWAY.";
_root.SafeLanding.gotoAndPlay(5);
_root.Amount = _root.Amount + 1;
_root.Landed = _root.Landed + 1;
_root.MySound7.start(0, 1);
_root.EndGameScore = _root.EndGameScore + (100 * _root.Month);
if (_root.Amount == _root.PlaneAmount) {
_root.MainPause = true;
_root.gotoAndStop(30);
_root.Screen.gotoAndStop(2);
}
this.removeMovieClip();
}
}
if (_root.Flight == true) {
this.FlightPath.gotoAndStop(5);
this.FlightPath._rotation = (Dir * 45) + 45;
} else {
this.FlightPath.gotoAndStop(1);
}
z = 0;
while (z < _root.PlaneAmount) {
if (this != _root["Plane" + z]) {
if ((((this._y > (_root["Plane" + z]._y - 10)) && (this._y < (_root["Plane" + z]._y + 10))) && (this._x > (_root["Plane" + z]._x - 10))) && (this._x < (_root["Plane" + z]._x + 10))) {
if (this.Hight == _root["Plane" + z].Hight) {
_root.PlaneVis[q] = 0;
if (Dead == false) {
Dead = true;
this.gotoAndPlay(10);
_root["Plane" + z].Dot.gotoAndPlay(10);
_root.News.swapDepths(5000);
_root.Liner1 = this.PlaneName;
_root.Liner2 = _root["Plane" + z].PlaneName;
_root.tosser = _root["Plane" + z].Hight;
_root.Feet = _root.Tosser * 1000;
_root.EndGameScore = _root.EndGameScore - 500;
}
}
}
if ((((this._y > (_root["Plane" + z]._y - 25)) && (this._y < (_root["Plane" + z]._y + 25))) && (this._x > (_root["Plane" + z]._x - 25))) && (this._x < (_root["Plane" + z]._x + 25))) {
if (NearMiss == false) {
_root.JustMissed = _root.JustMissed + 1;
_root.DaveWeaver = "MID-AIR COLLISION PROCEDURAL ERROR.";
_root.MySound6.start(0, 1);
_root.SafeLanding.gotoAndPlay(5);
NearMiss = true;
_root.EndGameScore = _root.EndGameScore - 10;
}
}
}
z = z + 1;
}
if (_root.PlaneVis[q] == 1) {
if (Dist > 260) {
_root.PlaneVis[q] = 0;
_root.Amount = _root.Amount + 1;
if (_root.Amount == _root.PlaneAmount) {
_root.MainPause = true;
_root.gotoAndStop(30);
_root.Screen.gotoAndStop(2);
}
if ((((Degrees > 0) && (Degrees <= 90)) && (_root["Plane" + q].Hight == 5)) && (_root.PlaneExit[q] == "DVE")) {
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " HAS BEEN PASSED TO DVE";
_root.SafeLanding.gotoAndPlay(5);
_root.Passed = _root.Passed + 1;
_root.MySound9.start(0, 1);
_root.EndGameScore = _root.EndGameScore + (100 * _root.Month);
} else if ((((Degrees > 90) && (Degrees <= 180)) && (_root["Plane" + q].Hight == 5)) && (_root.PlaneExit[q] == "QRP")) {
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " HAS BEEN PASSED TO QRP";
_root.SafeLanding.gotoAndPlay(5);
_root.Passed = _root.Passed + 1;
_root.MySound9.start(0, 1);
_root.EndGameScore = _root.EndGameScore + (100 * _root.Month);
} else if ((((Degrees > -270) && (Degrees <= -90)) && (_root["Plane" + q].Hight == 5)) && (_root.PlaneExit[q] == "TWX")) {
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " HAS BEEN PASSED TO TWX";
_root.SafeLanding.gotoAndPlay(5);
_root.Passed = _root.Passed + 1;
_root.MySound9.start(0, 1);
_root.EndGameScore = _root.EndGameScore + (100 * _root.Month);
} else if ((((Degrees > -90) && (Degrees <= 0)) && (_root["Plane" + q].Hight == 5)) && (_root.PlaneExit[q] == "SSL")) {
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " HAS BEEN PASSED TO SSL";
_root.SafeLanding.gotoAndPlay(5);
_root.Passed = _root.Passed + 1;
_root.MySound9.start(0, 1);
_root.EndGameScore = _root.EndGameScore + (100 * _root.Month);
} else {
_root.DaveWeaver = ("AIRCRAFT " + _root["Plane" + q].PlaneName) + " SECTOR PROCEDURAL ERROR.";
_root.SafeLanding.gotoAndPlay(5);
_root.Lost = _root.Lost + 1;
_root.MySound8.start(0, 1);
_root.EndGameScore = _root.EndGameScore - 20;
}
_root.Score = _root.Score - 1;
this.removeMovieClip();
}
}
if (_root.PlaneVis[q] == 0) {
if (Dist < 260) {
_root.PlaneVis[q] = 1;
}
}
}
}
}
Instance of Symbol 244 MovieClip "Screen" in Frame 20
onClipEvent (load) {
this.swapDepths(1000);
}
Instance of Symbol 250 MovieClip "SafeLanding" in Frame 20
onClipEvent (load) {
this.swapDepths(1500);
}
Instance of Symbol 263 MovieClip "MainHud" in Frame 20
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 25
i = 0;
while (i < _root.PlaneAmount) {
_root["Plane" + i].removeMovieClip();
i = i + 1;
}
stopAllSounds();
_root.MySound10.start(0, 1);
_root.MainHud.gotoAndStop(1);
_root.Sounds.gotoAndStop(1330);
_root.Screen.gotoAndStop(2);
_root.Clip1.removeMovieClip();
Print = ((((((((((((((("FOR IMMEDIATE RELEASE...\r\r" + _root.AirportTo) + " UK: A mid-air collision occured today over ") + _root.AirportTo) + "'S vicinity involving two AirCraft. AirCraft ") + _root.Liner1) + " and AirCraft ") + _root.Liner2) + " Collided head on at a altitude of ") + _root.Feet) + " feet.") + newline) + newline) + "As you were the Air Traffic Controller on duty at the time, and solely responsible for the accident. UKAA officials have launched a full investication with possible criminal charges pending...") + newline) + newline) + "##### End of release...";
TextBox99.text = TextBox99.text + Print;
_root.Faster = 0;
_root.Clicks = 0;
stop();
Instance of Symbol 272 MovieClip "News" in Frame 25
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 30
_root.MainHud.gotoAndStop(1);
_root.Faster = 0;
Frame 31
i = 0;
while (i < _root.PlaneAmount) {
_root["Plane" + i].removeMovieClip();
i = i + 1;
}
_root.PlaneInView.gotoAndStop(1);
_root.SafeLanding.gotoAndStop(1);
stopAllSounds();
_root.MySound11.start(0, 1);
_root.Sounds.gotoAndStop(1330);
_root.Screen.MainHud._x = 1000;
_root.Screen.MainHud._y = 1000;
_root.Clip1.removeMovieClip();
ThisScore = (((_root.JustMissed * 2) + (_root.Lost * 3)) + _root.LowFlight) + (_root.Crashed * 10);
_root.TotalScore = _root.TotalScore - ThisScore;
Print = (((((((((((((((((((((((((((("No more AirCraft in your airspace....\rYour shift is over for today..\r\r\rTotal AirCraft in your airspace was= " + _root.Amount) + newline) + "AirCraft passed onto the wrong sector= ") + _root.Lost) + newline) + "Aircraft passed onto the right sector= ") + _root.Passed) + newline) + "AirCraft Landed= ") + _root.Landed) + newline) + "Close to Mid-Air Collisions= ") + _root.JustMissed) + newline) + "Hight Procedural Errors= ") + _root.LowFlight) + newline) + "Clicks Taken (Time)= ") + _root.Clicks) + newline) + "Emergency Procedural Errors= ") + _root.Crashed) + newline) + newline) + newline) + newline) + "United Kingdom Aviation Administration feel [[[ ") + _root.TotalScore) + "% ]]] Happy with your work so far.";
TextBox99.text = TextBox99.text + Print;
_root.Screen.MainHud.gotoAndStop(1);
_root.Passed = 0;
_root.Crashed = 0;
stop();
Frame 35
stopAllSounds();
stop();
Frame 40
stop();
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 2
stop();
Symbol 17 MovieClip Frame 3
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 5
stop();
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 5
stop();
Symbol 25 Button
on (release) {
_root.MainHud.gotoAndStop(1);
_root.MainButton = true;
_root.MainVar = q;
_root.PlaneFuel[_root.MainVar] = Fuel;
_root.PlaneSpeed[_root.MainVar] = Speed;
_root.PlaneDir[_root.MainVar] = dir;
_root.MainHud.gotoAndStop(5);
}
Symbol 27 Button
on (release) {
gotoAndStop (5);
_root.MainVar = q;
_root.Screen.MainHud.gotoAndStop(5);
}
Symbol 31 MovieClip Frame 30
stop();
Symbol 32 MovieClip [Dot] Frame 1
stop();
Symbol 32 MovieClip [Dot] Frame 5
stop();
Symbol 32 MovieClip [Dot] Frame 6
stop();
Symbol 32 MovieClip [Dot] Frame 10
_root.MainPause = true;
Symbol 32 MovieClip [Dot] Frame 100
_root.Screen.gotoAndStop(2);
_root.gotoAndPlay(25);
this.removeMovieClip();
stop();
Symbol 35 MovieClip Frame 1
doneLoading = 0;
stop();
Instance of Symbol 34 MovieClip "bkgd" in Symbol 35 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.doneLoading == 0) {
total = _parent._parent.getBytesTotal();
isloaded = _parent._parent.getBytesLoaded();
p = 100 * (isLoaded / total);
_root.LoaderMovie.gotoAndPlay(int(p));
_parent.bytes = ((int(isloaded / 1000) add " KB of ") add int(total / 1000)) add " KB";
_parent.percent = int(p) add "% LOADED";
if (p > 95) {
_parent._parent.gotoAndPlay(3);
_parent.gotoAndStop("off");
_parent.doneLoading = 1;
} else {
_parent._parent.gotoAndPlay(1);
}
}
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 100
stop();
Symbol 59 MovieClip Frame 165
_root.Logo.gotoAndPlay(2);
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 160
_root.gotoAndStop(4);
stop();
Symbol 74 MovieClip Frame 160
stop();
Symbol 78 Button
on (release) {
stopAllSounds();
getURL ("http://www.cloud9designs.net", "_blank");
}
Symbol 86 Button
on (release) {
_root.gotoAndStop(6);
}
Symbol 88 Button
on (release) {
gotoAndStop (2);
}
Symbol 98 Button
on (release) {
if (_root.MainButton == true) {
_root["Plane" + _root.MainVar].Hight = _root["Plane" + _root.MainVar].Hight - 1;
if (_root["Plane" + _root.MainVar].Hight == 0) {
_root["Plane" + _root.MainVar].Hight = 1;
}
this.gotoAndStop(_root["Plane" + _root.MainVar].Hight);
}
}
Symbol 99 Button
on (release) {
if (_root.MainButton == true) {
_root["Plane" + _root.MainVar].Hight = _root["Plane" + _root.MainVar].Hight + 1;
if (_root["Plane" + _root.MainVar].Hight == 6) {
_root["Plane" + _root.MainVar].Hight = 5;
}
this.gotoAndStop(_root["Plane" + _root.MainVar].Hight);
}
}
Symbol 106 MovieClip Frame 5
stop();
Symbol 109 Button
on (release) {
gotoAndStop (3);
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 3
stop();
Symbol 121 MovieClip Frame 5
stop();
Symbol 121 MovieClip Frame 7
stop();
Symbol 121 MovieClip Frame 9
gotoAndStop (1);
Symbol 122 Button
on (release) {
_root["Plane" + _root.MainVar].Hold = false;
if (_root.MainButton == true) {
_root["Plane" + _root.MainVar].Dir = _root["Plane" + _root.MainVar].Dir + 1;
if (_root["Plane" + _root.MainVar].Dir == 9) {
_root["Plane" + _root.MainVar].Dir = 1;
}
rotate.gotoAndStop(_root["Plane" + _root.MainVar].Dir);
_root["Plane" + _root.MainVar].PlaneDot._rotation = (_root["Plane" + _root.MainVar].Dir * 45) + 45;
}
}
Symbol 123 Button
on (release) {
_root["Plane" + _root.MainVar].Hold = false;
if (_root.MainButton == true) {
_root["Plane" + _root.MainVar].Dir = _root["Plane" + _root.MainVar].Dir - 1;
if (_root["Plane" + _root.MainVar].Dir == 0) {
_root["Plane" + _root.MainVar].Dir = 8;
}
rotate.gotoAndStop(_root["Plane" + _root.MainVar].Dir);
_root["Plane" + _root.MainVar].PlaneDot._rotation = (_root["Plane" + _root.MainVar].Dir * 45) + 45;
}
}
Symbol 124 MovieClip Frame 1
Symbol 130 Button
on (release) {
_root.MainHud.name2.text = "";
_root["Plane" + _root.MainVar].Dir = _root.PlaneDir[_root.MainVar];
_root.MainHud.gotoAndStop(1);
_root.MainButton = false;
PlaneHud.rotate.gotoAndStop(_root["Plane" + _root.MainVar].Dir);
MainHight.gotoAndStop(_root["Plane" + _root.MainVar].Hight);
_root["Plane" + _root.MainVar].gotoAndStop(1);
_root.Screen.PlaneInView.gotoAndPlay(5);
}
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
stop();
Symbol 161 MovieClip Frame 3
stop();
Symbol 162 Button
on (release) {
stopAllSounds();
getURL ("http://www.flashninjaclan.com", "_blank");
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 5
stop();
Symbol 182 Button
on (rollOver) {
MapText = "DIFFICULTY LEVEL: 01\rAIRPORT: SHEFFIELD\rTIME: 09:00 HRS\rWEATHER: FINE\r\rThis is a low level airport located in Yorkshire England. This airport only accepts light aircraft. You have 3 aircraft moving into your sector. You have as much time as it takes.";
_root.LevelText.TextMovie.gotoAndStop(5);
}
on (rollOut) {
MapText = "";
_root.LevelText.TextMovie.gotoAndStop(1);
}
on (release) {
_root.Level = 1;
_root.Button1 = false;
_root.gotoAndPlay(10);
}
Symbol 183 Button
on (rollOver) {
MapText = "DIFFICULTY LEVEL: 01\rAIRPORT: SOUTHAMPTON\rTIME: 12:00 HRS\rWEATHER: FINE\r\rThis is a low level airport located in Southampton. This airport only accepts light aircraft. You have 2 aircraft moving into your sector. All the aircraft in this sector are coming in to land. You have as much time as it takes.";
_root.LevelText.TextMovie.gotoAndStop(5);
}
on (rollOut) {
MapText = "";
_root.LevelText.TextMovie.gotoAndStop(1);
}
on (release) {
_root.Level = 2;
_root.Button2 = false;
_root.gotoAndPlay(10);
}
Symbol 184 Button
on (rollOver) {
MapText = "DIFFICULTY LEVEL: 02\rAIRPORT: LIVERPOOL\rTIME: 19:00 HRS\rWEATHER: MISTY\r\rThis is a low level airport located in Liverpool. This airport only accepts light aircraft. You have 5 aircraft already in your sector. One of the aircraft is low on fuel and needs to land soon...";
_root.LevelText.TextMovie.gotoAndStop(5);
}
on (rollOut) {
MapText = "";
_root.LevelText.TextMovie.gotoAndStop(1);
}
on (release) {
_root.Level = 3;
_root.Button3 = false;
_root.gotoAndPlay(10);
}
Symbol 185 Button
on (rollOver) {
MapText = "DIFFICULTY LEVEL: 03\rAIRPORT: EAST MIDLANDS\rTIME: 10:00 HRS\rWEATHER: FINE\r\rThis is a medium level airport located in rolling dales of Derbyshire, between Derby,Nottingham and Leicester. This airport accepts all types of aircraft. You have 8 aircraft moving into or already in your sector. Light aircraft must use the RED runway. You have as much time as it takes.";
_root.LevelText.TextMovie.gotoAndStop(5);
}
on (rollOut) {
MapText = "";
_root.LevelText.TextMovie.gotoAndStop(1);
}
on (release) {
_root.Level = 4;
_root.Button4 = false;
_root.gotoAndPlay(10);
}
Symbol 186 Button
on (rollOver) {
MapText = "DIFFICULTY LEVEL: 04\rAIRPORT: MANCHESTER\rTIME: 19:30 HRS\rWEATHER: FOGGY\r\rThis is a High level airport located in Manchester, England. This airport accepts all types of aircraft. You have 12 aircraft moving into or already in your sector. You have as much time as it takes.";
_root.LevelText.TextMovie.gotoAndStop(5);
}
on (rollOut) {
MapText = "";
_root.LevelText.TextMovie.gotoAndStop(1);
}
on (release) {
_root.Level = 6;
_root.Button9 = false;
_root.gotoAndPlay(10);
}
Symbol 187 Button
on (rollOver) {
MapText = "DIFFICULTY LEVEL: 03\rAIRPORT: BIRMINGHAM\rTIME: 14:00 HRS\rWEATHER: RAIN\r\rThis is a medium level airport located Birmingham. This airport accepts all types of aircraft. You have 12 aircraft moving into or already in your sector. You have as much time as it takes.";
_root.LevelText.TextMovie.gotoAndStop(5);
}
on (rollOut) {
MapText = "";
_root.LevelText.TextMovie.gotoAndStop(1);
}
on (release) {
_root.Level = 7;
_root.Button8 = false;
_root.gotoAndPlay(10);
}
Symbol 188 Button
on (rollOver) {
MapText = "DIFFICULTY LEVEL: 05\rAIRPORT: RAF SCAMPTON\rTIME: 13:00 HRS\rWEATHER: FOGGY\r\rYou are in the control facility of RAF Scampton in Linconshire. It's not very busy at this time. Be aware as the aircraft are Jet fighters and they approch very fast. You have as much time as it takes..";
_root.LevelText.TextMovie.gotoAndStop(5);
}
on (rollOut) {
MapText = "";
_root.LevelText.TextMovie.gotoAndStop(1);
}
on (release) {
_root.Level = 5;
_root.Button7 = false;
_root.gotoAndPlay(10);
}
Symbol 189 Button
on (rollOver) {
MapText = "DIFFICULTY LEVEL: 05\rAIRPORT: HEATHROW\rTIME: 13:00 HRS\rWEATHER: MISTY\r\rThis is it, Heathrow Airport. The busiest airport in the world. This airport accepts every type of aircraft known to man. You have 17 aircraft in or already in your sector. Good Luck Controller. This the day you have been working hard towards...";
_root.LevelText.TextMovie.gotoAndStop(5);
}
on (rollOut) {
MapText = "";
_root.LevelText.TextMovie.gotoAndStop(1);
}
on (release) {
_root.Level = 8;
_root.Button10 = false;
_root.gotoAndPlay(10);
}
Symbol 190 MovieClip Frame 1
stop();
Instance of Symbol 55 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
if (_root.Month == 2) {
_root.LevelText.ButtonLevel3._visible = true;
_root.LevelText.ButtonLevel4._visible = true;
_root.Button3 = true;
_root.Button4 = true;
}
if (_root.Month == 4) {
_root.LevelText.ButtonLevel5._visible = true;
_root.LevelText.ButtonLevel6._visible = true;
_root.LevelText.ButtonLevel7._visible = true;
_root.Button5 = true;
_root.Button6 = true;
_root.Button7 = true;
}
if (_root.Month == 6) {
_root.LevelText.ButtonLevel8._visible = true;
_root.LevelText.ButtonLevel9._visible = true;
_root.Button8 = true;
_root.Button9 = true;
}
if (_root.Month == 8) {
_root.LevelText.ButtonLevel10._visible = true;
_root.Button10 = true;
}
if (_root.Button1 == false) {
_root.LevelText.ButtonLevel1._visible = false;
}
if (_root.Button2 == false) {
_root.LevelText.ButtonLevel2._visible = false;
}
if (_root.Button3 == false) {
_root.LevelText.ButtonLevel3._visible = false;
}
if (_root.Button4 == false) {
_root.LevelText.ButtonLevel4._visible = false;
}
if (_root.Button5 == false) {
_root.LevelText.ButtonLevel5._visible = false;
}
if (_root.Button6 == false) {
_root.LevelText.ButtonLevel6._visible = false;
}
if (_root.Button7 == false) {
_root.LevelText.ButtonLevel7._visible = false;
}
if (_root.Button8 == false) {
_root.LevelText.ButtonLevel8._visible = false;
}
if (_root.Button9 == false) {
_root.LevelText.ButtonLevel9._visible = false;
}
if (_root.Button10 == false) {
_root.LevelText.ButtonLevel10._visible = false;
}
}
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 3
stop();
Symbol 205 MovieClip Frame 4
stop();
Symbol 211 MovieClip Frame 1320
gotoAndPlay (2);
Symbol 211 MovieClip Frame 1330
stop();
Symbol 216 Button
on (release) {
_root.Screen.gotoAndStop(2);
i = 0;
while (i < _root.PlaneAmount) {
_root["Plane" + i].removeMovieClip();
i = i + 1;
}
_root.Screen.gotoAndStop(2);
stopAllSounds();
_root.Sounds.gotoAndStop(1330);
stopAllSounds();
_root.gotoAndPlay(1);
}
Symbol 217 Button
on (release) {
stopAllSounds();
_root.Sounds.gotoAndStop(1330);
}
Symbol 220 Button
on (release) {
_root.Fast = 0;
_root.Faster = 36;
_root.Fastist = 0;
}
Symbol 221 Button
on (release) {
_root.Fast = 0.5;
_root.Faster = 7;
_root.Fastist = 130;
}
Symbol 222 Button
on (release) {
_root.Fast = 1;
_root.Faster = 4;
_root.Fastist = 180;
}
Symbol 230 Button
on (release) {
_root.MainPause = true;
_root.DaveWeaver = "!!! GAME ON PAUSE !!!";
_root.SafeLanding.gotoAndPlay(5);
}
Symbol 232 Button
on (release) {
if (_root.MainPause == false) {
_root.Flight = true;
}
}
Symbol 236 Button
on (release) {
if (_root.MainPause == false) {
_root.Flight = false;
}
}
Symbol 241 Button
on (release) {
_root.MainPause = false;
_root.DaveWeaver = "!!! GAME IN PROGRESS !!!";
_root.SafeLanding.gotoAndPlay(5);
}
Symbol 244 MovieClip Frame 1
stop();
Instance of Symbol 228 MovieClip in Symbol 244 MovieClip Frame 1
onClipEvent (load) {
Clicking = 0;
_root.Faster = 36;
_root.Clicks = 0;
}
onClipEvent (enterFrame) {
if (_root.MainPause == false) {
Clicking = Clicking + 1;
if (Clicking >= _root.Faster) {
_root.Clicks = _root.Clicks + 1;
Clicking = 0;
}
}
}
Symbol 244 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 256 Button
on (press) {
startDrag (_root.MainHud, false, 215, 210, 380, 365);
}
on (release) {
stopDrag();
}
Symbol 259 Button
on (release) {
_root["Plane" + _root.MainVar].Hold = true;
}
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 5
Print = ((((((("[ FLIGHT " + _root["Plane" + _root.MainVar].PlaneName) + " ]-[ ") + _root["Plane" + _root.MainVar].Fuel) + " ]-[ ") + _root["Plane" + _root.MainVar].Hight) + "000 ]-[ ") + _root["Plane" + _root.MainVar].Exit) + " ]";
TextBox99.text = TextBox99.text + Print;
Print = (("FLYING FROM " + _root["Plane" + _root.MainVar].From) + " TO ") + _root.AirPortTo;
TextBox98.text = TextBox98.text + Print;
Degree = (_root["Plane" + _root.MainVar].Dir * 45) + 45;
if (Degree == 360) {
Degree = 0;
}
if (Degree == 405) {
Degree = 45;
}
PlaneHud.rotate.gotoAndStop(_root["Plane" + _root.MainVar].Dir);
MainHight.gotoAndStop(_root["Plane" + _root.MainVar].Hight);
Print = (((((("Plane " + _root["Plane" + _root.MainVar].PlaneName) + newline) + "RunWay ") + _root["Plane" + _root.MainVar].Exit) + newline) + "Fuel ") + _root["Plane" + _root.MainVar].Fuel;
TextBox3.text = TextBox3.text + Print;
Symbol 270 Button
on (release) {
_root.Level = _root.Level + 1;
_root.JustMissed = 0;
_root.LowFlight = 0;
this.gotoAndStop(1);
_root.Screen.MainHud.gotoAndStop(1);
_root.gotoAndPlay(15);
}
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 4
Symbol 272 MovieClip Frame 5
i = 0;
while (i < _root.PlaneAmount) {
_root["Plane" + i].removeMovieClip();
i = i + 1;
}
stopAllSounds();
_root.Screen.MainHud._x = 1000;
_root.Screen.MainHud._y = 1000;
_root.Clip1.removeMovieClip();
Print = ((((((((((((((("FOR IMMEDIATE RELEASE...\r\r" + _root.AirportTo[_root.Level - 1]) + " UK: A mid-air collision occured today over ") + _root.AirportTo[_root.Level - 1]) + " vicinity involving two AirCraft. AirCraft ") + _root.Liner1) + " and ") + _root.Liner2) + " Collided head on at a altitude of ") + _root.Feet) + " feet.") + newline) + newline) + "As you were the Air Traffic Controller on duty at the time, and solely responsible for the accident. UKAA officials have launched a full investication with posible criminal charges pending...") + newline) + newline) + "##### End of release...";
TextBox99.text = TextBox99.text + Print;
stop();
Symbol 272 MovieClip Frame 10
i = 0;
while (i < _root.PlaneAmount) {
_root["Plane" + i].removeMovieClip();
i = i + 1;
}
stopAllSounds();
_root.Screen.MainHud._x = 1000;
_root.Screen.MainHud._y = 1000;
_root.Clip1.removeMovieClip();
ThisScore = (_root.JustMissed + _root.Lost) + _root.LowFlight;
_root.TotalScore = _root.TotalScore - ThisScore;
Print = (((((((((((((((((("No more AirCraft in your airspace....\rYour shift is over for today..\r\rTotal AirCraft in your airspace was " + _root.Amount) + newline) + newline) + "AirCraft Lost ") + _root.Lost) + newline) + "AirCraft Landed ") + _root.Landed) + newline) + "Close to Mid-Air Collisions ") + _root.JustMissed) + newline) + "Low Level Flying ") + _root.LowFlight) + newline) + newline) + "United Kingdom Aviation Administration feel ") + _root.TotalScore) + "% Happy with you work so far.";
TextBox99.text = TextBox99.text + Print;
_root.Screen.MainHud.gotoAndStop(1);
stop();
Symbol 274 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 279 MovieClip Frame 120
_root.gotoAndPlay(31);
stop();
Symbol 283 Button
on (release) {
if (_root.Month == 8) {
gotoAndStop (40);
}
if (_root.Month != 8) {
if (_root.TotalScore < 75) {
_root.gotoAndStop(35);
} else {
_root.Month = _root.Month + 1;
_root.JustMissed = 0;
_root.LowFlight = 0;
_root.Screen.MainHud.gotoAndStop(1);
_root.gotoAndStop(5);
}
}
}
Symbol 303 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 305 MovieClip Frame 203
stop();
if (_root.EndGameScore < 0) {
_root.EndGameScore = 0;
}
Symbol 305 MovieClip Frame 204
stop();
Symbol 307 Button
on (release) {
gotoAndPlay (1);
}