STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #46240 |
Loading |
Skip |
Spon City is under attack by extra-terrestrial ufo's. Protect the city by shooting down their flying crafts! Be carefull not hitting our own airplanes! Use the left and right arrow keys to move the anti- aircraft gun. Press the spacebar to fire. |
PLAY |
About the game |
Stian Thomassen © 2008 |
Use the left and right arrow keys to move the anti- aircraft gun. Press the spacebar to fire. You get extra ammo for each plane you shoot down. Look for the green ammo plane, they give go 5 extra ammo. |
5 |
6 |
7 |
Score: |
Shots left: |
Stian Thomassen © 2008 |
Level: |
PLAY AGAIN |
GAME OVER YOU LOST |
GAME OVER You have scared of the aliens, but they might be back. Try again and take down their mothership! |
BONUS |
Welcome to the bonus material. Here you will find information about the making of the game and the game programmer. |
ABOUT |
MAKING |
FIRST GAME |
BACK |
This game was made by the norwegian stian thomassen in 2008. stian began to draw for real in 2001 when he began at high school. He uploads his work at rodrevmcfox.deviantart.com this is his 5th game made in action script 3.0 |
this game is based on an earlier game cald "City protector". Because this game is very different, a new name was given. in the beginning the ufo's were given a "flat" look, but as an intro movie was made, the game was given ufos with more depth. hit the button and see the old design. End of line... |
NEXT |
Welcome here you can read about the game. visit me end of line... |
HOW TO PLAY |
ENEMIE |
ALLIED |
your mission is to protect the city from incomming alien Ufos. some of the locals are ignoring the danger and is flying right under the ufos. try not to hit this fools or you get minus points. smaller ufos, gives higher score. control your canon with your arrow keys and shot with your space bar. do not get hit by the lasers. they will hurt you. end of line... |
This is the ufos you got to shot down. end of line... |
This are your friends. don't hit them. end of line... |
ActionScript [AS3]
Section 1//AirplanesForHow_56 (UfoAttack_fla.AirplanesForHow_56) package UfoAttack_fla { import flash.display.*; public dynamic class AirplanesForHow_56 extends MovieClip { public function AirplanesForHow_56(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package UfoAttack_flaSection 2//atariBack_16 (UfoAttack_fla.atariBack_16) package UfoAttack_fla { import flash.display.*; public dynamic class atariBack_16 extends MovieClip { public function atariBack_16(){ addFrameScript(0, frame1, 39, frame40); } function frame1(){ stop(); } function frame40(){ stop(); } } }//package UfoAttack_flaSection 3//bakgrunnLevel2_22 (UfoAttack_fla.bakgrunnLevel2_22) package UfoAttack_fla { import flash.display.*; public dynamic class bakgrunnLevel2_22 extends MovieClip { public function bakgrunnLevel2_22(){ addFrameScript(0, frame1, 33, frame34); } function frame1(){ stop(); } function frame34(){ stop(); } } }//package UfoAttack_flaSection 4//bakgrunnLevel4_19 (UfoAttack_fla.bakgrunnLevel4_19) package UfoAttack_fla { import flash.display.*; public dynamic class bakgrunnLevel4_19 extends MovieClip { public function bakgrunnLevel4_19(){ addFrameScript(0, frame1, 44, frame45, 199, frame200, 499, frame500, 649, frame650); } function frame200(){ stop(); } function frame1(){ stop(); } function frame500(){ stop(); } function frame45(){ stop(); } function frame650(){ stop(); } } }//package UfoAttack_flaSection 5//bonusShowingoff_48 (UfoAttack_fla.bonusShowingoff_48) package UfoAttack_fla { import flash.display.*; public dynamic class bonusShowingoff_48 extends MovieClip { public function bonusShowingoff_48(){ addFrameScript(0, frame1, 4, frame5, 5, frame6, 7, frame8, 8, frame9); } function frame6(){ stop(); } function frame1(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame8(){ stop(); } } }//package UfoAttack_flaSection 6//Fyrverkeri3_42 (UfoAttack_fla.Fyrverkeri3_42) package UfoAttack_fla { import flash.display.*; public dynamic class Fyrverkeri3_42 extends MovieClip { public function Fyrverkeri3_42(){ addFrameScript(89, frame90); } function frame90(){ gotoAndPlay(1); } } }//package UfoAttack_flaSection 7//HappyEnd_39 (UfoAttack_fla.HappyEnd_39) package UfoAttack_fla { import flash.display.*; public dynamic class HappyEnd_39 extends MovieClip { public function HappyEnd_39(){ addFrameScript(0, frame1, 299, frame300); } function frame1(){ play(); } function frame300(){ stop(); } } }//package UfoAttack_flaSection 8//level1_14 (UfoAttack_fla.level1_14) package UfoAttack_fla { import flash.display.*; public dynamic class level1_14 extends MovieClip { public function level1_14(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package UfoAttack_flaSection 9//level2_25 (UfoAttack_fla.level2_25) package UfoAttack_fla { import flash.display.*; public dynamic class level2_25 extends MovieClip { public function level2_25(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package UfoAttack_flaSection 10//level3_17 (UfoAttack_fla.level3_17) package UfoAttack_fla { import flash.display.*; public dynamic class level3_17 extends MovieClip { public function level3_17(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package UfoAttack_flaSection 11//level4_23 (UfoAttack_fla.level4_23) package UfoAttack_fla { import flash.display.*; public dynamic class level4_23 extends MovieClip { public function level4_23(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package UfoAttack_flaSection 12//level5_27 (UfoAttack_fla.level5_27) package UfoAttack_fla { import flash.display.*; public dynamic class level5_27 extends MovieClip { public function level5_27(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package UfoAttack_flaSection 13//level6_29 (UfoAttack_fla.level6_29) package UfoAttack_fla { import flash.display.*; public dynamic class level6_29 extends MovieClip { public function level6_29(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package UfoAttack_flaSection 14//level7_31 (UfoAttack_fla.level7_31) package UfoAttack_fla { import flash.display.*; public dynamic class level7_31 extends MovieClip { public function level7_31(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package UfoAttack_flaSection 15//UfoFlyoverBy_37 (UfoAttack_fla.UfoFlyoverBy_37) package UfoAttack_fla { import flash.display.*; public dynamic class UfoFlyoverBy_37 extends MovieClip { public function UfoFlyoverBy_37(){ addFrameScript(399, frame400); } function frame400(){ gotoAndPlay(1); } } }//package UfoAttack_flaSection 16//Airplanes2 (Airplanes2) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class Airplanes2 extends MovieClip { private var flyliste:Array; private var flyfart:int; private var skudd:int; private var visScore:UfoAttack; private var poeng:int; private var lastTime:int; private var fly:int; private var timePassed:int; private var dx:Number; public function Airplanes2(_arg1:String, _arg2:Number, _arg3:Number){ addFrameScript(0, frame1, 11, frame12); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 5) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1500; poeng = -1; } else { if (fly == 2){ flyfart = 1300; poeng = -2; } else { if (fly == 3){ flyfart = 1500; poeng = -1; } else { if (fly == 4){ flyfart = 1300; poeng = -3; } else { if (fly == 5){ flyfart = 1300; poeng = -2; }; }; }; }; }; addEventListener(Event.ENTER_FRAME, movePlane); lastTime = getTimer(); } public function movePlane(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deletePlane(); } else { if ((((dx > 0)) && ((x > 600)))){ deletePlane(); }; }; } function frame12(){ parent.removeChild(this); stop(); } function frame1(){ stop(); } public function deletePlane(){ removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane(this); parent.removeChild(this); } public function planeHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane(this); gotoAndPlay("explode"); return (poeng); } } }//packageSection 17//Airplanes4 (Airplanes4) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class Airplanes4 extends MovieClip { private var flyliste:Array; private var flyfart:int; private var skudd:int; private var visScore:UfoAttack; private var poeng:int; private var lastTime:int; private var fly:int; private var timePassed:int; private var dx:Number; public function Airplanes4(_arg1:String, _arg2:Number, _arg3:Number){ addFrameScript(11, frame12); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 5) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1500; poeng = -2; } else { if (fly == 2){ flyfart = 1300; poeng = -3; } else { if (fly == 3){ flyfart = 1500; poeng = -2; } else { if (fly == 4){ flyfart = 1400; poeng = -4; } else { if (fly == 5){ flyfart = 1100; poeng = -3; }; }; }; }; }; addEventListener(Event.ENTER_FRAME, movePlane); lastTime = getTimer(); } public function movePlane(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deletePlane(); } else { if ((((dx > 0)) && ((x > 600)))){ deletePlane(); }; }; } function frame12(){ parent.removeChild(this); stop(); } public function deletePlane(){ removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane4(this); parent.removeChild(this); } public function planeHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane4(this); gotoAndPlay("explode4"); return (poeng); } } }//packageSection 18//Airplanes5 (Airplanes5) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class Airplanes5 extends MovieClip { private var flyliste:Array; private var flyfart:int; private var skudd:int; private var visScore:UfoAttack; private var poeng:int; private var lastTime:int; private var fly:int; private var timePassed:int; private var dx:Number; public function Airplanes5(_arg1:String, _arg2:Number, _arg3:Number){ addFrameScript(11, frame12); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 5) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1500; poeng = -3; } else { if (fly == 2){ flyfart = 1300; poeng = -4; } else { if (fly == 3){ flyfart = 1500; poeng = -3; } else { if (fly == 4){ flyfart = 1400; poeng = -5; } else { if (fly == 5){ flyfart = 1100; poeng = -4; }; }; }; }; }; addEventListener(Event.ENTER_FRAME, movePlane); lastTime = getTimer(); } public function movePlane(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deletePlane(); } else { if ((((dx > 0)) && ((x > 600)))){ deletePlane(); }; }; } function frame12(){ parent.removeChild(this); stop(); } public function deletePlane(){ removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane5(this); parent.removeChild(this); } public function planeHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane5(this); gotoAndPlay("explode4"); return (poeng); } } }//packageSection 19//Airplanes6 (Airplanes6) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class Airplanes6 extends MovieClip { private var flyliste:Array; private var flyfart:int; private var skudd:int; private var visScore:UfoAttack; private var poeng:int; private var lastTime:int; private var fly:int; private var timePassed:int; private var dx:Number; public function Airplanes6(_arg1:String, _arg2:Number, _arg3:Number){ addFrameScript(9, frame10); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 3) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1400; poeng = -4; } else { if (fly == 2){ flyfart = 1300; poeng = -5; } else { if (fly == 3){ flyfart = 1200; poeng = -4; }; }; }; addEventListener(Event.ENTER_FRAME, movePlane); lastTime = getTimer(); } public function movePlane(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deletePlane(); } else { if ((((dx > 0)) && ((x > 600)))){ deletePlane(); }; }; } function frame10(){ parent.removeChild(this); stop(); } public function deletePlane(){ removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane6(this); parent.removeChild(this); } public function planeHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane6(this); gotoAndPlay("explode4"); return (poeng); } } }//packageSection 20//AirplanesAtari (AirplanesAtari) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class AirplanesAtari extends MovieClip { private var flyliste:Array; private var flyfart:int; private var skudd:int; private var visScore:UfoAttack; private var poeng:int; private var lastTime:int; private var fly:int; private var timePassed:int; private var dx:Number; public function AirplanesAtari(_arg1:String, _arg2:Number, _arg3:Number){ addFrameScript(11, frame12); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 5) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1500; poeng = -2; } else { if (fly == 2){ flyfart = 1300; poeng = -3; } else { if (fly == 3){ flyfart = 1500; poeng = -2; } else { if (fly == 4){ flyfart = 1400; poeng = -4; } else { if (fly == 5){ flyfart = 1100; poeng = -3; }; }; }; }; }; addEventListener(Event.ENTER_FRAME, movePlane); lastTime = getTimer(); } public function movePlane(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deletePlane(); } else { if ((((dx > 0)) && ((x > 600)))){ deletePlane(); }; }; } function frame12(){ parent.removeChild(this); stop(); } public function deletePlane(){ removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removeAtari(this); parent.removeChild(this); } public function planeHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removeAtari(this); gotoAndPlay("explode3"); return (poeng); } } }//packageSection 21//AirplanesNr2 (AirplanesNr2) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class AirplanesNr2 extends MovieClip { private var flyliste:Array; private var flyfart:int; private var visScore:UfoAttack; private var poeng:int; private var lastTime:int; private var fly:int; private var timePassed:int; private var dx:Number; public function AirplanesNr2(_arg1:String, _arg2:Number, _arg3:Number){ addFrameScript(11, frame12); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 5) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1500; poeng = -1; } else { if (fly == 2){ flyfart = 1300; poeng = -2; } else { if (fly == 3){ flyfart = 1500; poeng = -1; } else { if (fly == 4){ flyfart = 1300; poeng = -3; } else { if (fly == 5){ flyfart = 1300; poeng = -2; }; }; }; }; }; addEventListener(Event.ENTER_FRAME, movePlane); lastTime = getTimer(); } public function movePlane(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deletePlane(); } else { if ((((dx > 0)) && ((x > 600)))){ deletePlane(); }; }; } function frame12(){ parent.removeChild(this); stop(); } public function deletePlane(){ removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane2(this); parent.removeChild(this); } public function planeHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, movePlane); MovieClip(parent).removePlane2(this); gotoAndPlay("explode2"); return (poeng); } } }//packageSection 22//Bang (Bang) package { import flash.media.*; public dynamic class Bang extends Sound { } }//packageSection 23//Bullet2 (Bullet2) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Bullet2 extends MovieClip { private var lastTime:int; private var dy:Number; public function Bullet2(_arg1, _arg2:Number, _arg3:Number){ this.x = _arg1; this.y = _arg2; dy = _arg3; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveBullet); } public function moveBullet(_arg1:Event){ var _local2:int; _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.y = (this.y + ((dy * _local2) / 1000)); if (this.y < 0){ deleteBullet(); }; } public function deleteBullet(){ MovieClip(parent).removeBullet(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveBullet); } } }//packageSection 24//BulletAtari (BulletAtari) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class BulletAtari extends MovieClip { private var lastTime:int; private var dy:Number; public function BulletAtari(_arg1, _arg2:Number, _arg3:Number){ this.x = _arg1; this.y = _arg2; dy = _arg3; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveBullet); } public function moveBullet(_arg1:Event){ var _local2:int; _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.y = (this.y + ((dy * _local2) / 1000)); if (this.y < 0){ deleteBullet(); }; } public function deleteBullet(){ MovieClip(parent).removeBulletAtari(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveBullet); } } }//packageSection 25//Canon2 (Canon2) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Canon2 extends MovieClip { private var lastTime:int; static const speed:Number = 150; public function Canon2(){ addFrameScript(0, frame1, 1, frame2); this.x = 275; this.y = 400; addEventListener(Event.ENTER_FRAME, moveGun); } function frame1(){ stop(); } function frame2(){ stop(); } public function deleteGun(){ parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveGun); } public function moveGun(_arg1:Event){ var _local2:int; var _local3:*; _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); _local3 = this.x; if (MovieClip(parent).leftArrow){ _local3 = (_local3 - ((speed * _local2) / 1000)); }; if (MovieClip(parent).rightArrow){ _local3 = (_local3 + ((speed * _local2) / 1000)); }; if (_local3 < 10){ _local3 = 10; }; if (_local3 > 540){ _local3 = 540; }; this.x = _local3; } } }//packageSection 26//CanSound (CanSound) package { import flash.media.*; public dynamic class CanSound extends Sound { } }//packageSection 27//EnemyUfo (EnemyUfo) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class EnemyUfo extends MovieClip { private var ufoListe:Array; private var flyfart:int; private var poeng:int; private var lastTime:int; private var fly:int; var visScore:UfoAttack; private var timePassed:int; private var dx:Number; public function EnemyUfo(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number){ addFrameScript(0, frame1, 1, frame2, 9, frame10); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; this.gotoAndStop(1); flyfart = 1500; poeng = 1; addEventListener(Event.ENTER_FRAME, moveUfo); lastTime = getTimer(); } function frame10(){ stop(); } public function deleteUfo(){ removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo(this); parent.removeChild(this); } public function moveUfo(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deleteUfo(); } else { if ((((dx > 0)) && ((x > 600)))){ deleteUfo(); }; }; } function frame2(){ stop(); } function frame1(){ stop(); stop(); stop(); stop(); } public function ufoHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo(this); gotoAndPlay("explode"); return (poeng); } } }//packageSection 28//EnemyUfo2 (EnemyUfo2) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class EnemyUfo2 extends MovieClip { private var ufoListe:Array; private var flyfart:int; private var poeng:int; private var lastTime:int; private var fly:int; var visScore:UfoAttack; private var timePassed:int; private var dx:Number; public function EnemyUfo2(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number){ addFrameScript(0, frame1, 1, frame2, 8, frame9); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 2) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1300; poeng = 2; } else { if (fly == 2){ flyfart = 1100; poeng = 3; }; }; addEventListener(Event.ENTER_FRAME, moveUfo); lastTime = getTimer(); } public function deleteUfo(){ removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo2(this); parent.removeChild(this); } public function moveUfo(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deleteUfo(); } else { if ((((dx > 0)) && ((x > 600)))){ deleteUfo(); }; }; } function frame9(){ stop(); } function frame2(){ stop(); } function frame1(){ stop(); stop(); stop(); stop(); } public function ufoHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo2(this); gotoAndPlay("explode"); return (poeng); } } }//packageSection 29//EnemyUfo4 (EnemyUfo4) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class EnemyUfo4 extends MovieClip { private var ufoListe:Array; private var flyfart:int; private var poeng:int; private var lastTime:int; private var fly:int; var visScore:UfoAttack; private var timePassed:int; private var dx:Number; public function EnemyUfo4(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number){ addFrameScript(0, frame1, 1, frame2, 3, frame4, 9, frame10); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 4) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1100; poeng = 4; } else { if (fly == 2){ flyfart = 1000; poeng = 5; } else { if (fly == 3){ flyfart = 900; poeng = 6; } else { if (fly == 4){ flyfart = 800; poeng = 7; }; }; }; }; addEventListener(Event.ENTER_FRAME, moveUfo); lastTime = getTimer(); } function frame10(){ stop(); } public function deleteUfo(){ removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo4(this); parent.removeChild(this); } public function moveUfo(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deleteUfo(); } else { if ((((dx > 0)) && ((x > 600)))){ deleteUfo(); }; }; } function frame4(){ stop(); } function frame2(){ stop(); } function frame1(){ stop(); stop(); stop(); stop(); } public function ufoHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo4(this); gotoAndPlay(5); return (poeng); } } }//packageSection 30//EnemyUfo5 (EnemyUfo5) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class EnemyUfo5 extends MovieClip { private var ufoListe:Array; private var flyfart:int; private var poeng:int; private var lastTime:int; private var fly:int; var visScore:UfoAttack; private var timePassed:int; private var dx:Number; public function EnemyUfo5(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number){ addFrameScript(0, frame1, 1, frame2, 8, frame9); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 3) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1100; poeng = 6; } else { if (fly == 2){ flyfart = 1000; poeng = 7; } else { if (fly == 3){ flyfart = 900; poeng = 8; }; }; }; addEventListener(Event.ENTER_FRAME, moveUfo); lastTime = getTimer(); } public function deleteUfo(){ removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo5(this); parent.removeChild(this); } public function moveUfo(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deleteUfo(); } else { if ((((dx > 0)) && ((x > 600)))){ deleteUfo(); }; }; } function frame9(){ stop(); } function frame2(){ stop(); } function frame1(){ stop(); stop(); stop(); stop(); } public function ufoHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo5(this); gotoAndPlay(4); return (poeng); } } }//packageSection 31//EnemyUfo6 (EnemyUfo6) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class EnemyUfo6 extends MovieClip { private var ufoListe:Array; private var flyfart:int; private var poeng:int; private var lastTime:int; private var fly:int; var visScore:UfoAttack; private var timePassed:int; private var dx:Number; public function EnemyUfo6(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number){ addFrameScript(0, frame1, 1, frame2, 8, frame9); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 3) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1100; poeng = 7; } else { if (fly == 2){ flyfart = 1000; poeng = 8; } else { if (fly == 3){ flyfart = 900; poeng = 9; }; }; }; addEventListener(Event.ENTER_FRAME, moveUfo); lastTime = getTimer(); } public function deleteUfo(){ removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo6(this); parent.removeChild(this); } public function moveUfo(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deleteUfo(); } else { if ((((dx > 0)) && ((x > 600)))){ deleteUfo(); }; }; } function frame9(){ stop(); } function frame2(){ stop(); } function frame1(){ stop(); stop(); stop(); stop(); } public function ufoHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo6(this); gotoAndPlay(4); return (poeng); } } }//packageSection 32//EnemyUfo7 (EnemyUfo7) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class EnemyUfo7 extends MovieClip { private var ufoListe:Array; private var flyfart:int; private var poeng:int; private var lastTime:int; private var fly:int; var visScore:UfoAttack; private var timePassed:int; private var dx:Number; public function EnemyUfo7(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 9, frame10); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 4) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 900; poeng = 7; } else { if (fly == 2){ flyfart = 800; poeng = 8; } else { if (fly == 3){ flyfart = 700; poeng = 9; } else { if (fly == 4){ flyfart = 600; poeng = 10; }; }; }; }; addEventListener(Event.ENTER_FRAME, moveUfo); lastTime = getTimer(); } function frame10(){ stop(); } function frame3(){ stop(); } public function deleteUfo(){ removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo7(this); parent.removeChild(this); } public function moveUfo(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deleteUfo(); } else { if ((((dx > 0)) && ((x > 600)))){ deleteUfo(); }; }; } function frame2(){ stop(); stop(); stop(); stop(); } function frame1(){ stop(); } public function ufoHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfo7(this); gotoAndPlay(4); return (poeng); } } }//packageSection 33//EnemyUfoAtari (EnemyUfoAtari) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class EnemyUfoAtari extends MovieClip { private var ufoListe:Array; private var flyfart:int; private var poeng:int; private var lastTime:int; private var fly:int; var visScore:UfoAttack; private var timePassed:int; private var dx:Number; public function EnemyUfoAtari(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number){ addFrameScript(0, frame1, 12, frame13); if (_arg1 == "left"){ this.x = -50; dx = _arg2; this.scaleX = -1; } else { if (_arg1 == "right"){ this.x = 600; dx = -(_arg2); this.scaleX = 1; }; }; this.y = _arg3; fly = ((Math.random() * 3) + 1); this.gotoAndStop(Math.floor(fly)); if (fly == 1){ flyfart = 1100; poeng = 3; } else { if (fly == 2){ flyfart = 1000; poeng = 4; } else { if (fly == 3){ flyfart = 900; poeng = 5; }; }; }; addEventListener(Event.ENTER_FRAME, moveUfo); lastTime = getTimer(); } public function deleteUfo(){ removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfoAtari(this); parent.removeChild(this); } public function moveUfo(_arg1:Event){ timePassed = (getTimer() - lastTime); lastTime = (lastTime + timePassed); this.x = (this.x + ((dx * timePassed) / flyfart)); if ((((dx < 0)) && ((x < -50)))){ deleteUfo(); } else { if ((((dx > 0)) && ((x > 600)))){ deleteUfo(); }; }; } function frame13(){ stop(); } function frame1(){ stop(); } public function ufoHit():int{ poeng; removeEventListener(Event.ENTER_FRAME, moveUfo); MovieClip(parent).removeUfoAtari(this); gotoAndPlay(4); return (poeng); } } }//packageSection 34//EnemyUfoBoss (EnemyUfoBoss) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; public class EnemyUfoBoss extends MovieClip { var visScore:UfoAttack; private var poeng:int; private var lastTime:int; private var timePassed:int; private var dx:Number; public function EnemyUfoBoss(_arg1:Number){ addFrameScript(0, frame1, 50, frame51); this.y = 50; this.x = 275; this.gotoAndStop(1); poeng = 100; lastTime = getTimer(); } function frame1(){ stop(); stop(); } function frame51(){ stop(); } public function deleteBoss(){ MovieClip(parent).removeUfoBoss(this); parent.removeChild(this); } public function bossHit():int{ poeng; MovieClip(parent).removeUfoBoss(this); gotoAndPlay(2); return (poeng); } } }//packageSection 35//Jumbo (Jumbo) package { import flash.display.*; public dynamic class Jumbo extends MovieClip { } }//packageSection 36//Laserbeam (Laserbeam) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Laserbeam extends MovieClip { private var lastTime:int; private var dy:Number; public function Laserbeam(_arg1, _arg2:Number, _arg3:Number){ addFrameScript(0, frame1); this.x = _arg1; this.y = _arg2; dy = _arg3; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveLaser); } function frame1(){ stop(); } public function moveLaser(_arg1:Event){ var _local2:int; _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.y = (this.y + ((-(dy) * _local2) / 800)); if (this.y > 400){ deleteLaser(); }; } public function deleteLaser(){ MovieClip(parent).removeLaser(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveLaser); } } }//packageSection 37//LaserSound (LaserSound) package { import flash.media.*; public dynamic class LaserSound extends Sound { } }//packageSection 38//level1Text (level1Text) package { import flash.display.*; public dynamic class level1Text extends MovieClip { } }//packageSection 39//SoundL1 (SoundL1) package { import flash.media.*; public dynamic class SoundL1 extends Sound { } }//packageSection 40//SoundL2 (SoundL2) package { import flash.media.*; public dynamic class SoundL2 extends Sound { } }//packageSection 41//SoundL3 (SoundL3) package { import flash.media.*; public dynamic class SoundL3 extends Sound { } }//packageSection 42//SoundL4 (SoundL4) package { import flash.media.*; public dynamic class SoundL4 extends Sound { } }//packageSection 43//SoundL5 (SoundL5) package { import flash.media.*; public dynamic class SoundL5 extends Sound { } }//packageSection 44//SoundL6 (SoundL6) package { import flash.media.*; public dynamic class SoundL6 extends Sound { } }//packageSection 45//SoundL7 (SoundL7) package { import flash.media.*; public dynamic class SoundL7 extends Sound { } }//packageSection 46//Stardust (Stardust) package { import flash.media.*; public dynamic class Stardust extends Sound { } }//packageSection 47//Treff (Treff) package { import flash.display.*; public dynamic class Treff extends MovieClip { public function Treff(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//packageSection 48//TreffAtari (TreffAtari) package { import flash.display.*; public dynamic class TreffAtari extends MovieClip { public function TreffAtari(){ addFrameScript(7, frame8); } function frame8(){ parent.removeChild(this); stop(); } } }//packageSection 49//UfoAttack (UfoAttack) package { import flash.events.*; import flash.media.*; import flash.display.*; import flash.utils.*; import flash.text.*; import flash.net.*; public class UfoAttack extends MovieClip { public var enemieM:MovieClip; public var atariBakgrunn:MovieClip; var ufo4:EnemyUfo4; var ufoA:EnemyUfoAtari; private var nextUfo:Timer; public var taller:int; public var visSkudd:TextField; private var teller:int; private var shotsHit:int; public var bonus:SimpleButton; var ufo2:EnemyUfo2; public var tuller:int; var leve1S:SoundL1; public var tyller:int; private var Ammoplane:Array; private var ufos:Array; var leve2S:SoundL2; public var visScore:TextField; public var aFly:MovieClip; public var bakgrunn4:MovieClip; public var bDev:SimpleButton; private var shotsLeft:int; var leve3S:SoundL3; private var sum:int; public var bakgrunnLevel2:MovieClip; var pling:Stardust; public var leftArrow; public var howB1:SimpleButton; public var howB2:SimpleButton; public var howB6:SimpleButton; public var howB7:SimpleButton; public var bonusB2:SimpleButton; public var howB3:SimpleButton; public var howB4:SimpleButton; public var bonusB1:SimpleButton; public var bonusB3:SimpleButton; public var bonusB5:SimpleButton; public var bonusB6:SimpleButton; var leve4S:SoundL4; public var bonusB8:SimpleButton; var canonSound:CanSound; public var ufoPic:MovieClip; var leve5S:SoundL5; public var againButton:SimpleButton; public var questButton:SimpleButton; public var lifeB:MovieClip; private var canons:Canon2; var leve7S:SoundL7; public var progressText:TextField; public var bestScoreT:TextField; var laserSound:LaserSound; public var bestScore:TextField; private var lasers:Array; public var loaderBar:MovieClip; private var nextPlane:Timer; public var level1:MovieClip; public var level2:MovieClip; public var level3:MovieClip; public var level4:MovieClip; public var level5:MovieClip; public var level6:MovieClip; public var level7:MovieClip; var leve6S:SoundL6; private var newBoss:Timer; public var visLevel:TextField; public var rightArrow:Boolean; public var nextFrameW:Timer; public var myLocalData:SharedObject; var pang:Bang; private var Bosses:Array; private var airplanes:Array; public var skippyB:SimpleButton; private var level:int; public var playButton:SimpleButton; private var nextLaser2:Timer; private var nextLaser:Timer; public var denied:TextField; private var bullets:Array; public var againButtonN:SimpleButton; public var againButtonT:SimpleButton; public var againButtonW:SimpleButton; var ufo5:EnemyUfo5; var ufo6:EnemyUfo6; var ufo7:EnemyUfo7; var ufo:EnemyUfo; public function UfoAttack(){ canonSound = new CanSound(); pang = new Bang(); pling = new Stardust(); laserSound = new LaserSound(); leve1S = new SoundL1(); leve2S = new SoundL2(); leve3S = new SoundL3(); leve4S = new SoundL4(); leve5S = new SoundL5(); leve6S = new SoundL6(); leve7S = new SoundL7(); super(); addFrameScript(0, frame1, 1, frame2, 331, frame332, 1031, frame1032, 1032, frame1033, 1033, frame1034, 1034, frame1035, 1035, frame1036, 1036, frame1037, 1037, frame1038, 1038, frame1039, 1039, frame1040, 1041, frame1042, 1042, frame1043, 1043, frame1044, 1045, frame1046, 1046, frame1047); } public function bB2(_arg1:MouseEvent){ gotoAndStop(3); } public function bB3(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://RodrevMcfox.deviantart.com/art/City-Protector-V2-80932010"); navigateToURL(_local2); } public function bB6(_arg1:MouseEvent){ if (taller <= 3){ taller++; } else { taller = 1; }; ufoPic.gotoAndStop(taller); } public function bB1(_arg1:MouseEvent){ gotoAndStop(2); } public function bB5(_arg1:MouseEvent){ gotoAndStop(4); } public function bB8(_arg1:MouseEvent){ gotoAndPlay(-8); } public function removePlane(_arg1:Airplanes2){ var _local2:*; for (_local2 in airplanes) { if (airplanes[_local2] == _arg1){ airplanes.splice(_local2, 1); break; }; }; } public function playagainClick(_arg1:MouseEvent){ gotoAndPlay(-1); } public function removeBulletAtari(_arg1:BulletAtari){ var _local2:*; for (_local2 in bullets) { if (bullets[_local2] == _arg1){ bullets.splice(_local2, 1); break; }; }; } public function newUfo(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; if (Math.random() > 0.5){ _local4 = "left"; _local5 = this.x; } else { _local4 = "right"; }; _local2 = ((Math.random() * 50) + 20); _local3 = ((Math.random() * 150) + 150); ufo = new EnemyUfo(_local4, _local3, _local2, _local5); addChild(ufo); ufos.push(ufo); nextLaser = new Timer((1000 + (Math.random() * 1000)), 2); nextLaser.addEventListener(TimerEvent.TIMER_COMPLETE, fireLaser); nextLaser.start(); setNextUfo(); } public function playSound(_arg1:Object){ var _local2:SoundChannel; _local2 = _arg1.play(); } public function fireLaser(_arg1:TimerEvent){ var _local2:Laserbeam; _local2 = new Laserbeam(ufo.x, (ufo.y + 20), -300); addChild(_local2); lasers.push(_local2); playSound(laserSound); } function frame1(){ stop(); addEventListener(Event.ENTER_FRAME, loadProgress); } public function hB2(_arg1:MouseEvent){ gotoAndStop(7); } public function removeUfo5(_arg1:EnemyUfo5){ var _local2:*; for (_local2 in ufos) { if (ufos[_local2] == _arg1){ ufos.splice(_local2, 1); break; }; }; } public function hB7(_arg1:MouseEvent){ if (tyller <= 25){ tyller++; } else { tyller = 1; }; aFly.gotoAndStop(tyller); } public function hB4(_arg1:MouseEvent){ gotoAndStop(-7); } public function hB6(_arg1:MouseEvent){ if (tuller <= 10){ tuller++; } else { tuller = 5; }; enemieM.gotoAndStop(tuller); } public function fireLaser3(_arg1:TimerEvent){ var _local2:Laserbeam; _local2 = new Laserbeam(ufoA.x, (ufoA.y + 20), -300); _local2.gotoAndStop(2); addChild(_local2); lasers.push(_local2); playSound(laserSound); } public function hB3(_arg1:MouseEvent){ gotoAndStop(8); } public function fireLaser4(_arg1:TimerEvent){ var _local2:Laserbeam; _local2 = new Laserbeam(ufo4.x, (ufo4.y + 20), -300); addChild(_local2); lasers.push(_local2); playSound(laserSound); } public function hB1(_arg1:MouseEvent){ gotoAndStop(6); } public function fireLaser6(_arg1:TimerEvent){ var _local2:Laserbeam; _local2 = new Laserbeam(ufo6.x, (ufo6.y + 20), -300); addChild(_local2); lasers.push(_local2); playSound(laserSound); } public function fireLaser5(_arg1:TimerEvent){ var _local2:Laserbeam; _local2 = new Laserbeam(ufo5.x, (ufo5.y + 20), -300); addChild(_local2); lasers.push(_local2); playSound(laserSound); } public function checkForHitsCanon(_arg1:Event){ var _local2:int; var _local3:Treff; var _local4:TreffAtari; _local2 = (lasers.length - 1); while (_local2 >= 0) { if (lasers[_local2].hitTestObject(canons)){ lasers[_local2].deleteLaser(); if (lifeB.scaleX > 0.01){ lifeB.scaleX = (lifeB.scaleX - 0.2); }; playSound(pang); if ((((teller < 25)) || ((teller >= 35)))){ _local3 = new Treff(); _local3.x = canons.x; _local3.y = (canons.y - 20); addChild(_local3); _local3.gotoAndPlay(2); } else { _local4 = new TreffAtari(); _local4.x = canons.x; _local4.y = (canons.y - 20); addChild(_local4); _local4.gotoAndPlay(2); }; }; _local2--; }; } public function newPlane(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:Airplanes2; var _local5:String; if (Math.random() > 0.5){ _local5 = "left"; } else { _local5 = "right"; }; _local2 = ((Math.random() * 50) + 100); _local3 = ((Math.random() * 50) + 100); _local4 = new Airplanes2(_local5, _local3, _local2); addChild(_local4); airplanes.push(_local4); setNextPlane(); } public function playClick(_arg1:MouseEvent){ gotoAndStop(702); } public function fireLaser7(_arg1:TimerEvent){ var _local2:Laserbeam; _local2 = new Laserbeam(ufo7.x, (ufo7.y + 20), -300); _local2.scaleX = (_local2.scaleX + 1); addChild(_local2); lasers.push(_local2); playSound(laserSound); } public function removeLaser(_arg1:Laserbeam){ var _local2:*; for (_local2 in lasers) { if (lasers[_local2] == _arg1){ lasers.splice(_local2, 1); break; }; }; } public function fireLaser2(_arg1:TimerEvent){ var _local2:Laserbeam; _local2 = new Laserbeam(ufo2.x, (ufo2.y + 20), -300); addChild(_local2); lasers.push(_local2); playSound(laserSound); } public function removeBullet(_arg1:Bullet2){ var _local2:*; for (_local2 in bullets) { if (bullets[_local2] == _arg1){ bullets.splice(_local2, 1); break; }; }; } public function checkForHitsUfo(_arg1:Event){ var _local2:int; var _local3:int; _local2 = (bullets.length - 1); while (_local2 >= 0) { _local3 = (ufos.length - 1); while (_local3 >= 0) { if (bullets[_local2].hitTestObject(ufos[_local3])){ shotsHit = (shotsHit + ufos[_local3].ufoHit()); bullets[_local2].deleteBullet(); teller++; shotsLeft = (shotsLeft + 2); playSound(pang); if (lifeB.scaleX < 0.95){ lifeB.scaleX = (lifeB.scaleX + 0.05); }; showGameScore(); break; }; _local3--; }; _local2--; }; if ((((((shotsLeft == 0)) && ((bullets.length == 0)))) && ((lasers.length == 0)))){ endGame(); } else { if ((((((lifeB.scaleX <= 0.05)) && ((bullets.length == 0)))) && ((lasers.length == 0)))){ lifeB.scaleX = 1; lifeB.gotoAndStop(2); endGame(); } else { if ((sum >= 20)){ endGame(); }; }; }; } public function removeUfo7(_arg1:EnemyUfo7){ var _local2:*; for (_local2 in ufos) { if (ufos[_local2] == _arg1){ ufos.splice(_local2, 1); break; }; }; } public function removeUfo(_arg1:EnemyUfo){ var _local2:*; for (_local2 in ufos) { if (ufos[_local2] == _arg1){ ufos.splice(_local2, 1); break; }; }; } public function removeUfo2(_arg1:EnemyUfo2){ var _local2:*; for (_local2 in ufos) { if (ufos[_local2] == _arg1){ ufos.splice(_local2, 1); break; }; }; } public function removeUfo4(_arg1:EnemyUfo4){ var _local2:*; for (_local2 in ufos) { if (ufos[_local2] == _arg1){ ufos.splice(_local2, 1); break; }; }; } function frame1042(){ stop(); bonusB5.addEventListener(MouseEvent.CLICK, bB5); } function frame2(){ skippyB.addEventListener(MouseEvent.CLICK, skipClick); } public function keyDownFunction(_arg1:KeyboardEvent){ if (_arg1.keyCode == 37){ leftArrow = true; } else { if (_arg1.keyCode == 39){ rightArrow = true; } else { if (_arg1.keyCode == 32){ if (teller <= 25){ fireBullet(); } else { if (teller >= 25){ if (teller <= 35){ fireBulletAtari(); }; }; }; if (teller >= 35){ fireBullet(); }; }; }; }; } public function setNextPlane(){ if (teller < 15){ nextPlane = new Timer((1000 + (Math.random() * 1000)), 3); nextPlane.addEventListener(TimerEvent.TIMER_COMPLETE, newPlane); } else { if ((((teller >= 15)) && ((teller < 25)))){ nextPlane = new Timer((1000 + (Math.random() * 1000)), 3); nextPlane.removeEventListener(TimerEvent.TIMER_COMPLETE, newPlane); nextPlane.addEventListener(TimerEvent.TIMER_COMPLETE, newPlane2); } else { if ((((teller >= 25)) && ((teller < 35)))){ nextPlane = new Timer((1000 + (Math.random() * 1000)), 3); nextPlane.removeEventListener(TimerEvent.TIMER_COMPLETE, newPlane2); nextPlane.addEventListener(TimerEvent.TIMER_COMPLETE, newAtari); } else { if ((((teller >= 35)) && ((teller < 45)))){ nextPlane = new Timer((1000 + (Math.random() * 1000)), 2); nextPlane.removeEventListener(TimerEvent.TIMER_COMPLETE, newAtari); nextPlane.addEventListener(TimerEvent.TIMER_COMPLETE, newPlane4); } else { if ((((teller >= 45)) && ((teller < 55)))){ nextPlane = new Timer((1000 + (Math.random() * 1000)), 2); nextPlane.removeEventListener(TimerEvent.TIMER_COMPLETE, newPlane4); nextPlane.addEventListener(TimerEvent.TIMER_COMPLETE, newPlane5); } else { if ((((teller >= 55)) && ((teller < 65)))){ nextPlane = new Timer((1000 + (Math.random() * 1000)), 1); nextPlane.removeEventListener(TimerEvent.TIMER_COMPLETE, newPlane5); nextPlane.addEventListener(TimerEvent.TIMER_COMPLETE, newPlane6); } else { if (teller >= 65){ nextPlane.removeEventListener(TimerEvent.TIMER_COMPLETE, newPlane6); }; }; }; }; }; }; }; nextPlane.start(); } public function setBoss(){ if (teller > 65){ newBoss = new Timer(1000, 7); newBoss.addEventListener(TimerEvent.TIMER_COMPLETE, newBossUfo); newBoss.start(); }; } public function removePlane5(_arg1:Airplanes5){ var _local2:*; for (_local2 in airplanes) { if (airplanes[_local2] == _arg1){ airplanes.splice(_local2, 1); break; }; }; } public function removeUfo6(_arg1:EnemyUfo6){ var _local2:*; for (_local2 in ufos) { if (ufos[_local2] == _arg1){ ufos.splice(_local2, 1); break; }; }; } public function removePlane2(_arg1:AirplanesNr2){ var _local2:*; for (_local2 in airplanes) { if (airplanes[_local2] == _arg1){ airplanes.splice(_local2, 1); break; }; }; } public function removePlane6(_arg1:Airplanes6){ var _local2:*; for (_local2 in airplanes) { if (airplanes[_local2] == _arg1){ airplanes.splice(_local2, 1); break; }; }; } public function removePlane4(_arg1:Airplanes4){ var _local2:*; for (_local2 in airplanes) { if (airplanes[_local2] == _arg1){ airplanes.splice(_local2, 1); break; }; }; } public function newPlane6(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:Airplanes6; var _local5:String; if (Math.random() > 0.5){ _local5 = "left"; } else { _local5 = "right"; }; _local2 = ((Math.random() * 50) + 100); _local3 = ((Math.random() * 150) + 150); _local4 = new Airplanes6(_local5, _local3, _local2); addChild(_local4); airplanes.push(_local4); setNextPlane(); } public function newPlane2(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:AirplanesNr2; var _local5:String; if (Math.random() > 0.5){ _local5 = "left"; } else { _local5 = "right"; }; _local2 = ((Math.random() * 50) + 100); _local3 = ((Math.random() * 150) + 150); _local4 = new AirplanesNr2(_local5, _local3, _local2); addChild(_local4); airplanes.push(_local4); setNextPlane(); } public function fireBullet(){ var _local1:Bullet2; if (shotsLeft <= 0){ return; }; _local1 = new Bullet2(canons.x, (canons.y - 75), -300); addChild(_local1); bullets.push(_local1); shotsLeft--; showGameScore(); playSound(canonSound); } public function removeAtari(_arg1:AirplanesAtari){ var _local2:*; for (_local2 in airplanes) { if (airplanes[_local2] == _arg1){ airplanes.splice(_local2, 1); break; }; }; } public function loadProgress(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:int; _local2 = this.root.loaderInfo.bytesLoaded; _local3 = this.root.loaderInfo.bytesTotal; _local4 = (_local2 / 0x0400); _local5 = (_local3 / 0x0400); progressText.text = (((("Loading: " + _local4) + "K/") + _local5) + "K"); loaderBar.scaleY = (_local2 / _local3); if (_local2 >= _local3){ removeEventListener(Event.ENTER_FRAME, loadProgress); gotoAndPlay(2); }; } public function showGameScore(){ visScore.text = String(("Score: " + shotsHit)); visSkudd.text = String(("Shots Left: " + shotsLeft)); visLevel.text = String(("Level: " + level)); if (teller == 1){ level1.gotoAndPlay(2); if (teller == 1){ playSound(leve1S); teller++; }; }; if (teller == 15){ bakgrunnLevel2.gotoAndPlay(2); level2.gotoAndPlay(1); playSound(leve2S); teller++; level = (level + 1); } else { if (teller == 25){ bakgrunnLevel2.gotoAndStop(1); level2.gotoAndStop(1); canons.gotoAndStop(2); playSound(leve3S); atariBakgrunn.gotoAndPlay(2); level3.gotoAndPlay(1); teller++; level = (level + 1); } else { if (teller == 35){ atariBakgrunn.gotoAndStop(1); canons.gotoAndStop(1); playSound(leve4S); bakgrunn4.gotoAndPlay(1); level4.gotoAndPlay(1); teller++; level = (level + 1); } else { if (teller == 45){ bakgrunn4.gotoAndPlay(46); level5.gotoAndPlay(1); playSound(leve5S); teller++; level = (level + 1); } else { if (teller == 55){ bakgrunn4.gotoAndPlay(201); level6.gotoAndPlay(1); playSound(leve6S); teller++; level = (level + 1); } else { if (teller == 65){ bakgrunn4.gotoAndPlay(501); level7.gotoAndPlay(1); playSound(leve7S); teller++; level = (level + 1); setBoss(); }; }; }; }; }; }; } public function newPlane4(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:Airplanes4; var _local5:String; if (Math.random() > 0.5){ _local5 = "left"; } else { _local5 = "right"; }; _local2 = ((Math.random() * 50) + 100); _local3 = ((Math.random() * 150) + 150); _local4 = new Airplanes4(_local5, _local3, _local2); addChild(_local4); airplanes.push(_local4); setNextPlane(); } public function skipClick(_arg1:MouseEvent){ gotoAndPlay(1030); } public function setNextUfo(){ if (teller < 15){ nextUfo = new Timer((1000 + (Math.random() * 1000)), 1); nextUfo.addEventListener(TimerEvent.TIMER_COMPLETE, newUfo); } else { if ((((teller >= 15)) && ((teller < 25)))){ nextUfo = new Timer((1000 + (Math.random() * 1000)), 1); nextUfo.removeEventListener(TimerEvent.TIMER_COMPLETE, newUfo); nextUfo.addEventListener(TimerEvent.TIMER_COMPLETE, newUfo2); } else { if ((((teller >= 25)) && ((teller < 35)))){ nextUfo = new Timer((1000 + (Math.random() * 1000)), 1); nextUfo.removeEventListener(TimerEvent.TIMER_COMPLETE, newUfo2); nextUfo.addEventListener(TimerEvent.TIMER_COMPLETE, newUfoAtari); } else { if ((((teller >= 35)) && ((teller < 45)))){ nextUfo = new Timer((1000 + (Math.random() * 1000)), 1); nextUfo.removeEventListener(TimerEvent.TIMER_COMPLETE, newUfoAtari); nextUfo.addEventListener(TimerEvent.TIMER_COMPLETE, newUfo4); } else { if ((((teller >= 45)) && ((teller < 55)))){ nextUfo = new Timer((1000 + (Math.random() * 1000)), 1); nextUfo.removeEventListener(TimerEvent.TIMER_COMPLETE, newUfo4); nextUfo.addEventListener(TimerEvent.TIMER_COMPLETE, newUfo5); } else { if ((((teller >= 55)) && ((teller < 65)))){ nextUfo = new Timer((1000 + (Math.random() * 1000)), 1); nextUfo.removeEventListener(TimerEvent.TIMER_COMPLETE, newUfo5); nextUfo.addEventListener(TimerEvent.TIMER_COMPLETE, newUfo6); } else { if (teller >= 65){ nextUfo = new Timer((1000 + (Math.random() * 1000)), 1); nextUfo.removeEventListener(TimerEvent.TIMER_COMPLETE, newUfo6); nextUfo.addEventListener(TimerEvent.TIMER_COMPLETE, newUfo7); }; }; }; }; }; }; }; nextUfo.start(); } public function playBonus(_arg1:MouseEvent){ gotoAndPlay(8); } public function fireBulletAtari(){ var _local1:BulletAtari; if (shotsLeft <= 0){ return; }; _local1 = new BulletAtari(canons.x, (canons.y - 75), -300); addChild(_local1); bullets.push(_local1); shotsLeft--; showGameScore(); playSound(canonSound); } public function newPlane5(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:Airplanes5; var _local5:String; if (Math.random() > 0.5){ _local5 = "left"; } else { _local5 = "right"; }; _local2 = ((Math.random() * 50) + 100); _local3 = ((Math.random() * 150) + 150); _local4 = new Airplanes5(_local5, _local3, _local2); addChild(_local4); airplanes.push(_local4); setNextPlane(); } public function endGame(){ var _local1:int; var _local2:int; var _local3:int; _local1 = (airplanes.length - 1); while (_local1 >= 0) { airplanes[_local1].deletePlane(); _local1--; }; _local2 = (ufos.length - 1); while (_local2 >= 0) { ufos[_local2].deleteUfo(); _local2--; }; _local3 = (Bosses.length - 1); while (_local3 >= 0) { Bosses[_local3].deleteBoss(); _local3--; }; airplanes = null; ufos = null; Bosses = null; lifeB = null; canons.deleteGun(); canons = null; stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownFunction); stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpFunction); removeEventListener(Event.ENTER_FRAME, checkForHits); removeEventListener(Event.ENTER_FRAME, checkForHitsUfo); removeEventListener(Event.ENTER_FRAME, checkForHitsCanon); removeEventListener(Event.ENTER_FRAME, checkForHitsUfoBoss); nextPlane.stop(); nextPlane = null; if (teller >= 65){ newBoss.stop(); newBoss = null; }; nextUfo.stop(); nextUfo = null; nextLaser.stop(); nextLaser = null; if (teller < 45){ gotoAndStop(4); } else { if ((((teller >= 45)) && ((teller < 65)))){ gotoAndStop(5); } else { if (teller >= 65){ gotoAndStop(6); }; }; }; } function frame332(){ gotoAndPlay(332); } public function removeUfoAtari(_arg1:EnemyUfoAtari){ var _local2:*; for (_local2 in ufos) { if (ufos[_local2] == _arg1){ ufos.splice(_local2, 1); break; }; }; } public function removeUfoBoss(_arg1:EnemyUfoBoss){ var _local2:*; for (_local2 in Bosses) { if (Bosses[_local2] == _arg1){ Bosses.splice(_local2, 1); break; }; }; } public function startShootingGame(){ shotsLeft = 50; shotsHit = 0; level = 1; teller = 1; sum = 1; showGameScore(); canons = new Canon2(); addChild(canons); airplanes = new Array(); bullets = new Array(); Bosses = new Array(); ufos = new Array(); lasers = new Array(); stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownFunction); stage.addEventListener(KeyboardEvent.KEY_UP, keyUpFunction); addEventListener(Event.ENTER_FRAME, checkForHits); addEventListener(Event.ENTER_FRAME, checkForHitsUfo); addEventListener(Event.ENTER_FRAME, checkForHitsUfoBoss); addEventListener(Event.ENTER_FRAME, checkForHitsCanon); setNextPlane(); setNextUfo(); } public function keyUpFunction(_arg1:KeyboardEvent){ if (_arg1.keyCode == 37){ leftArrow = false; } else { if (_arg1.keyCode == 39){ rightArrow = false; }; }; } public function checkForHits(_arg1:Event){ var _local2:int; var _local3:int; _local2 = (bullets.length - 1); while (_local2 >= 0) { _local3 = (airplanes.length - 1); while (_local3 >= 0) { if (bullets[_local2].hitTestObject(airplanes[_local3])){ shotsHit = (shotsHit + airplanes[_local3].planeHit()); bullets[_local2].deleteBullet(); lifeB.scaleX = (lifeB.scaleX - 0.1); playSound(pang); showGameScore(); break; }; _local3--; }; _local2--; }; } public function newAtari(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:AirplanesAtari; var _local5:String; if (Math.random() > 0.5){ _local5 = "left"; } else { _local5 = "right"; }; _local2 = ((Math.random() * 50) + 100); _local3 = ((Math.random() * 150) + 150); _local4 = new AirplanesAtari(_local5, _local3, _local2); addChild(_local4); airplanes.push(_local4); setNextPlane(); } public function newBossUfo(_arg1:TimerEvent){ var _local2:Number; var _local3:EnemyUfoBoss; _local2 = this.x; _local3 = new EnemyUfoBoss(_local2); addChild(_local3); Bosses.push(_local3); } public function playagainClickN(_arg1:MouseEvent){ gotoAndPlay(-1); } public function playagainClickT(_arg1:MouseEvent){ gotoAndPlay(-1); } public function newUfoAtari(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; if (Math.random() > 0.5){ _local4 = "left"; _local5 = this.x; } else { _local4 = "right"; }; _local2 = ((Math.random() * 50) + 20); _local3 = ((Math.random() * 150) + 150); ufoA = new EnemyUfoAtari(_local4, _local3, _local2, _local5); addChild(ufoA); ufos.push(ufoA); removeEventListener(TimerEvent.TIMER_COMPLETE, fireLaser3); nextLaser = new Timer((1000 + (Math.random() * 1000)), 2); nextLaser.addEventListener(TimerEvent.TIMER_COMPLETE, fireLaser3); nextLaser.start(); setNextUfo(); } public function playagainClickW(_arg1:MouseEvent){ gotoAndPlay(-1); } function frame1033(){ } function frame1034(){ startShootingGame(); stop(); stop(); } function frame1036(){ againButtonT.addEventListener(MouseEvent.CLICK, playagainClickT); myLocalData = SharedObject.getLocal("mygameinfoIII"); if (myLocalData.data.shotsHit == undefined){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; if (myLocalData.data.shotsHit == null){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; if (myLocalData.data.shotsHit < shotsHit){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); } else { bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; stop(); } function frame1037(){ againButtonN.addEventListener(MouseEvent.CLICK, playagainClickN); myLocalData = SharedObject.getLocal("mygameinfoIII"); if (myLocalData.data.shotsHit == undefined){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; if (myLocalData.data.shotsHit == null){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; if (myLocalData.data.shotsHit < shotsHit){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); } else { bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; stop(); } function frame1032(){ stop(); playButton.addEventListener(MouseEvent.CLICK, playClick); questButton.addEventListener(MouseEvent.CLICK, questClick); } public function newUfo2(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; if (Math.random() > 0.5){ _local4 = "left"; _local5 = this.x; } else { _local4 = "right"; }; _local2 = ((Math.random() * 50) + 20); _local3 = ((Math.random() * 150) + 150); ufo2 = new EnemyUfo2(_local4, _local3, _local2, _local5); addChild(ufo2); ufos.push(ufo2); removeEventListener(TimerEvent.TIMER_COMPLETE, fireLaser2); nextLaser = new Timer((1000 + (Math.random() * 1000)), 2); nextLaser.addEventListener(TimerEvent.TIMER_COMPLETE, fireLaser2); nextLaser.start(); setNextUfo(); } function frame1035(){ stop(); againButton.addEventListener(MouseEvent.CLICK, playagainClick); myLocalData = SharedObject.getLocal("mygameinfoIII"); if (myLocalData.data.shotsHit == undefined){ myLocalData.data.shotsHit = shotsHit; bestScore.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; if (myLocalData.data.shotsHit == null){ myLocalData.data.shotsHit = shotsHit; bestScore.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; if (myLocalData.data.shotsHit < shotsHit){ myLocalData.data.shotsHit = shotsHit; bestScore.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); } else { bestScore.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; stop(); } public function newUfo4(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; if (Math.random() > 0.5){ _local4 = "left"; _local5 = this.x; } else { _local4 = "right"; }; _local2 = ((Math.random() * 50) + 20); _local3 = ((Math.random() * 150) + 150); ufo4 = new EnemyUfo4(_local4, _local3, _local2, _local5); addChild(ufo4); ufos.push(ufo4); nextLaser = new Timer((1000 + (Math.random() * 1000)), 2); nextLaser.addEventListener(TimerEvent.TIMER_COMPLETE, fireLaser4); nextLaser.start(); setNextUfo(); } public function newUfo5(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; if (Math.random() > 0.5){ _local4 = "left"; _local5 = this.x; } else { _local4 = "right"; }; _local2 = ((Math.random() * 50) + 20); _local3 = ((Math.random() * 150) + 150); ufo5 = new EnemyUfo5(_local4, _local3, _local2, _local5); addChild(ufo5); ufos.push(ufo5); nextLaser = new Timer((1000 + (Math.random() * 1000)), 2); nextLaser.addEventListener(TimerEvent.TIMER_COMPLETE, fireLaser5); nextLaser.start(); setNextUfo(); } public function newUfo7(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; if (Math.random() > 0.5){ _local4 = "left"; _local5 = this.x; } else { _local4 = "right"; }; _local2 = ((Math.random() * 50) + 150); _local3 = ((Math.random() * 150) + 150); ufo7 = new EnemyUfo7(_local4, _local3, _local2, _local5); addChild(ufo7); ufos.push(ufo7); nextLaser = new Timer((1000 + (Math.random() * 1000)), 2); nextLaser.addEventListener(TimerEvent.TIMER_COMPLETE, fireLaser7); nextLaser.start(); setNextUfo(); } function frame1038(){ nextFrameW = new Timer(1000, 9); nextFrameW.addEventListener(TimerEvent.TIMER_COMPLETE, skiftBilde); nextFrameW.start(); } function frame1039(){ againButtonW.addEventListener(MouseEvent.CLICK, playagainClickW); bonus.addEventListener(MouseEvent.CLICK, playBonus); myLocalData = SharedObject.getLocal("mygameinfoIII"); if (myLocalData.data.shotsHit == undefined){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; if (myLocalData.data.shotsHit == null){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; if (myLocalData.data.shotsHit < shotsHit){ myLocalData.data.shotsHit = shotsHit; bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); } else { bestScoreT.text = ("Best Score: " + myLocalData.data.shotsHit); myLocalData.flush(); }; stop(); } function frame1044(){ stop(); howB1.addEventListener(MouseEvent.CLICK, hB1); howB2.addEventListener(MouseEvent.CLICK, hB2); howB3.addEventListener(MouseEvent.CLICK, hB3); howB4.addEventListener(MouseEvent.CLICK, hB4); bDev.addEventListener(MouseEvent.CLICK, visitStian); } public function questClick(_arg1:MouseEvent){ gotoAndStop(712); } function frame1046(){ tuller = 5; enemieM.gotoAndStop(5); howB6.addEventListener(MouseEvent.CLICK, hB6); } function frame1040(){ stop(); bonusB1.addEventListener(MouseEvent.CLICK, bB1); bonusB2.addEventListener(MouseEvent.CLICK, bB2); bonusB3.addEventListener(MouseEvent.CLICK, bB3); bonusB8.addEventListener(MouseEvent.CLICK, bB8); } public function visitStian(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://rodrevmcfox.deviantart.com/"); navigateToURL(_local2); } function frame1043(){ taller = 1; bonusB6.addEventListener(MouseEvent.CLICK, bB6); } function frame1047(){ tyller = 5; howB7.addEventListener(MouseEvent.CLICK, hB7); } public function checkForHitsUfoBoss(_arg1:Event){ var _local2:int; var _local3:int; _local2 = (bullets.length - 1); while (_local2 >= 0) { _local3 = (Bosses.length - 1); while (_local3 >= 0) { if (bullets[_local2].hitTestObject(Bosses[_local3])){ bullets[_local2].deleteBullet(); shotsLeft = (shotsLeft + 1); sum++; if (sum >= 20){ shotsHit = (shotsHit + Bosses[_local3].bossHit()); }; playSound(pang); showGameScore(); break; }; _local3--; }; _local2--; }; } public function newUfo6(_arg1:TimerEvent){ var _local2:Number; var _local3:Number; var _local4:String; var _local5:Number; if (Math.random() > 0.5){ _local4 = "left"; _local5 = this.x; } else { _local4 = "right"; }; _local2 = ((Math.random() * 50) + 20); _local3 = ((Math.random() * 150) + 150); ufo6 = new EnemyUfo6(_local4, _local3, _local2, _local5); addChild(ufo6); ufos.push(ufo6); nextLaser = new Timer((1000 + (Math.random() * 1000)), 2); nextLaser.addEventListener(TimerEvent.TIMER_COMPLETE, fireLaser6); nextLaser.start(); setNextUfo(); } public function skiftBilde(_arg1:TimerEvent){ gotoAndStop(7); } } }//package
Library Items
Symbol 1 Sound {Stardust} | ||
Symbol 2 Sound {SoundL7} | ||
Symbol 3 Sound {SoundL6} | ||
Symbol 4 Sound {SoundL5} | ||
Symbol 5 Sound {SoundL4} | ||
Symbol 6 Sound {SoundL3} | ||
Symbol 7 Sound {SoundL2} | ||
Symbol 8 Sound {SoundL1} | ||
Symbol 9 Sound {LaserSound} | ||
Symbol 10 Sound {Bang} | ||
Symbol 11 Sound {CanSound} | ||
Symbol 12 Graphic | Used by:13 | |
Symbol 13 MovieClip {BulletAtari} | Uses:12 | |
Symbol 14 Graphic | Used by:15 | |
Symbol 15 MovieClip {Bullet2} | Uses:14 | |
Symbol 16 Graphic | Used by:23 401 | |
Symbol 17 Graphic | Used by:23 401 | |
Symbol 18 Graphic | Used by:23 401 | |
Symbol 19 Graphic | Used by:23 401 | |
Symbol 20 Graphic | Used by:23 401 | |
Symbol 21 Graphic | Used by:23 133 | |
Symbol 22 Graphic | Used by:23 133 | |
Symbol 23 MovieClip {AirplanesAtari} | Uses:16 17 18 19 20 21 22 | |
Symbol 24 Graphic | Used by:25 | |
Symbol 25 MovieClip | Uses:24 | Used by:40 401 |
Symbol 26 Graphic | Used by:27 | |
Symbol 27 MovieClip | Uses:26 | Used by:40 401 |
Symbol 28 Graphic | Used by:29 | |
Symbol 29 MovieClip | Uses:28 | Used by:40 401 |
Symbol 30 Graphic | Used by:31 | |
Symbol 31 MovieClip | Uses:30 | Used by:40 401 |
Symbol 32 Graphic | Used by:40 | |
Symbol 33 Graphic | Used by:40 50 55 77 | |
Symbol 34 Graphic | Used by:40 50 55 | |
Symbol 35 Graphic | Used by:40 50 55 64 77 | |
Symbol 36 Graphic | Used by:40 | |
Symbol 37 Graphic | Used by:40 50 55 64 77 | |
Symbol 38 Graphic | Used by:40 50 55 64 77 | |
Symbol 39 Graphic | Used by:40 50 55 64 77 | |
Symbol 40 MovieClip {AirplanesNr2} | Uses:25 27 29 31 32 33 34 35 36 37 38 39 | |
Symbol 41 Graphic | Used by:44 | |
Symbol 42 Graphic | Used by:44 | |
Symbol 43 Graphic | Used by:44 | |
Symbol 44 MovieClip | Uses:41 42 43 | Used by:50 401 |
Symbol 45 Graphic | Used by:50 401 | |
Symbol 46 Graphic | Used by:50 | |
Symbol 47 Graphic | Used by:50 401 | |
Symbol 48 Graphic | Used by:50 | |
Symbol 49 Graphic | Used by:50 | |
Symbol 50 MovieClip {Airplanes5} | Uses:44 45 46 47 48 33 34 35 49 37 38 39 | |
Symbol 51 Graphic | Used by:55 | |
Symbol 52 Graphic | Used by:55 | |
Symbol 53 Graphic | Used by:55 | |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip {Airplanes6} | Uses:51 52 53 33 34 35 54 37 38 39 | |
Symbol 56 Graphic | Used by:64 | |
Symbol 57 Graphic | Used by:64 | |
Symbol 58 Graphic | Used by:64 | |
Symbol 59 Graphic | Used by:64 | |
Symbol 60 Graphic | Used by:64 | |
Symbol 61 Graphic | Used by:64 | |
Symbol 62 Graphic | Used by:64 77 | |
Symbol 63 Graphic | Used by:64 | |
Symbol 64 MovieClip {Airplanes4} | Uses:56 57 58 59 60 61 62 35 63 37 38 39 | |
Symbol 65 Graphic | Used by:68 | |
Symbol 66 Graphic | Used by:68 | |
Symbol 67 Graphic | Used by:68 | |
Symbol 68 MovieClip | Uses:65 66 67 | Used by:77 401 |
Symbol 69 Graphic | Used by:70 | |
Symbol 70 MovieClip | Uses:69 | Used by:77 401 |
Symbol 71 Graphic | Used by:72 | |
Symbol 72 MovieClip {Jumbo} | Uses:71 | Used by:77 401 |
Symbol 73 Graphic | Used by:74 | |
Symbol 74 MovieClip | Uses:73 | Used by:77 401 |
Symbol 75 Graphic | Used by:77 401 | |
Symbol 76 Graphic | Used by:77 | |
Symbol 77 MovieClip {Airplanes2} | Uses:68 70 72 74 75 33 62 35 76 37 38 39 | |
Symbol 78 Graphic | Used by:82 380 | |
Symbol 79 Graphic | Used by:82 | |
Symbol 80 Graphic | Used by:82 380 | |
Symbol 81 Graphic | Used by:82 | |
Symbol 82 MovieClip {EnemyUfoAtari} | Uses:78 79 80 81 | |
Symbol 83 Graphic | Used by:101 | |
Symbol 84 ShapeTweening | Used by:87 | |
Symbol 85 Graphic | Used by:87 | |
Symbol 86 Graphic | Used by:87 | |
Symbol 87 MovieClip | Uses:84 85 86 | Used by:95 101 107 121 125 130 380 Timeline |
Symbol 88 Graphic | Used by:101 | |
Symbol 89 ShapeTweening | Used by:92 | |
Symbol 90 Graphic | Used by:92 | |
Symbol 91 Graphic | Used by:92 | |
Symbol 92 MovieClip | Uses:89 90 91 | Used by:101 107 116 121 125 130 217 255 380 |
Symbol 93 Graphic | Used by:101 | |
Symbol 94 Graphic | Used by:95 | |
Symbol 95 MovieClip | Uses:94 87 | Used by:101 116 121 380 |
Symbol 96 Graphic | Used by:101 107 116 121 125 | |
Symbol 97 Graphic | Used by:101 | |
Symbol 98 Graphic | Used by:101 | |
Symbol 99 Graphic | Used by:101 107 116 121 125 130 | |
Symbol 100 Graphic | Used by:101 107 116 121 125 130 | |
Symbol 101 MovieClip {EnemyUfo7} | Uses:83 87 88 92 93 95 96 97 98 99 100 | |
Symbol 102 Graphic | Used by:107 116 | |
Symbol 103 Graphic | Used by:107 | |
Symbol 104 Graphic | Used by:107 125 130 | |
Symbol 105 Graphic | Used by:107 | |
Symbol 106 Graphic | Used by:107 | |
Symbol 107 MovieClip {EnemyUfo6} | Uses:102 92 103 104 87 96 105 106 99 100 | |
Symbol 108 Graphic | Used by:112 132 | |
Symbol 109 ShapeTweening | Used by:112 | |
Symbol 110 ShapeTweening | Used by:112 | |
Symbol 111 Graphic | Used by:112 | |
Symbol 112 MovieClip {EnemyUfoBoss} | Uses:108 109 110 111 | |
Symbol 113 Graphic | Used by:116 121 130 380 | |
Symbol 114 Graphic | Used by:116 | |
Symbol 115 Graphic | Used by:116 | |
Symbol 116 MovieClip {EnemyUfo5} | Uses:102 92 113 95 96 114 115 99 100 | |
Symbol 117 Graphic | Used by:121 125 130 380 | |
Symbol 118 Graphic | Used by:121 380 | |
Symbol 119 Graphic | Used by:121 | |
Symbol 120 Graphic | Used by:121 | |
Symbol 121 MovieClip {EnemyUfo4} | Uses:117 87 113 92 95 118 96 119 120 99 100 | |
Symbol 122 Graphic | Used by:125 | |
Symbol 123 Graphic | Used by:125 | |
Symbol 124 Graphic | Used by:125 | |
Symbol 125 MovieClip {EnemyUfo2} | Uses:117 87 122 92 104 96 123 124 99 100 | |
Symbol 126 Graphic | Used by:130 | |
Symbol 127 Graphic | Used by:130 | |
Symbol 128 Graphic | Used by:130 | |
Symbol 129 Graphic | Used by:130 | |
Symbol 130 MovieClip {EnemyUfo} | Uses:117 87 113 92 104 126 127 128 129 99 100 | |
Symbol 131 Graphic | Used by:132 | |
Symbol 132 MovieClip {Laserbeam} | Uses:131 108 | |
Symbol 133 MovieClip {TreffAtari} | Uses:21 22 | |
Symbol 134 Graphic | Used by:143 | |
Symbol 135 Graphic | Used by:143 | |
Symbol 136 Graphic | Used by:143 | |
Symbol 137 Graphic | Used by:143 | |
Symbol 138 Graphic | Used by:143 | |
Symbol 139 Graphic | Used by:143 | |
Symbol 140 Graphic | Used by:143 | |
Symbol 141 ShapeTweening | Used by:143 | |
Symbol 142 Graphic | Used by:143 | |
Symbol 143 MovieClip {Treff} | Uses:134 135 136 137 138 139 140 141 142 | Used by:Timeline |
Symbol 144 Graphic | Used by:145 | |
Symbol 145 MovieClip {level1Text} | Uses:144 | Used by:205 |
Symbol 146 Graphic | Used by:147 | |
Symbol 147 MovieClip | Uses:146 | Used by:Timeline |
Symbol 148 Graphic | Used by:Timeline | |
Symbol 149 Font | Used by:150 151 153 190 200 202 238 239 240 241 | |
Symbol 150 EditableText | Uses:149 | Used by:Timeline |
Symbol 151 EditableText | Uses:149 | Used by:Timeline |
Symbol 152 Graphic | Used by:Timeline | |
Symbol 153 Text | Uses:149 | Used by:155 |
Symbol 154 Sound | Used by:155 193 357 | |
Symbol 155 Button | Uses:153 154 | Used by:Timeline |
Symbol 156 Sound | Used by:Timeline | |
Symbol 157 Graphic | Used by:161 | |
Symbol 158 ShapeTweening | Used by:160 | |
Symbol 159 Graphic | Used by:160 | |
Symbol 160 MovieClip | Uses:158 159 | Used by:161 |
Symbol 161 MovieClip | Uses:157 160 | Used by:Timeline |
Symbol 162 ShapeTweening | Used by:Timeline | |
Symbol 163 Graphic | Used by:164 | |
Symbol 164 MovieClip | Uses:163 | Used by:349 Timeline |
Symbol 165 Graphic | Used by:166 | |
Symbol 166 MovieClip | Uses:165 | Used by:349 Timeline |
Symbol 167 Graphic | Used by:168 | |
Symbol 168 MovieClip | Uses:167 | Used by:Timeline |
Symbol 169 Graphic | Used by:170 | |
Symbol 170 MovieClip | Uses:169 | Used by:Timeline |
Symbol 171 Graphic | Used by:Timeline | |
Symbol 172 Graphic | Used by:173 | |
Symbol 173 MovieClip | Uses:172 | Used by:Timeline |
Symbol 174 ShapeTweening | Used by:Timeline | |
Symbol 175 Graphic | Used by:Timeline | |
Symbol 176 Graphic | Used by:Timeline | |
Symbol 177 ShapeTweening | Used by:Timeline | |
Symbol 178 ShapeTweening | Used by:Timeline | |
Symbol 179 ShapeTweening | Used by:Timeline | |
Symbol 180 Graphic | Used by:Timeline | |
Symbol 181 Graphic | Used by:182 | |
Symbol 182 MovieClip | Uses:181 | Used by:Timeline |
Symbol 183 ShapeTweening | Used by:Timeline | |
Symbol 184 Graphic | Used by:Timeline | |
Symbol 185 Graphic | Used by:Timeline | |
Symbol 186 Graphic | Used by:187 | |
Symbol 187 MovieClip | Uses:186 | Used by:Timeline |
Symbol 188 ShapeTweening | Used by:Timeline | |
Symbol 189 Graphic | Used by:Timeline | |
Symbol 190 Text | Uses:149 | Used by:Timeline |
Symbol 191 Graphic | Used by:193 357 | |
Symbol 192 Graphic | Used by:193 357 | |
Symbol 193 Button | Uses:191 192 154 | Used by:Timeline |
Symbol 194 Font | Used by:195 196 229 232 235 250 352 358 359 360 361 364 386 387 388 | |
Symbol 195 Text | Uses:194 | Used by:Timeline |
Symbol 196 Text | Uses:194 | Used by:Timeline |
Symbol 197 Sound | Used by:Timeline | |
Symbol 198 Graphic | Used by:Timeline | |
Symbol 199 Graphic | Used by:Timeline | |
Symbol 200 Text | Uses:149 | Used by:Timeline |
Symbol 201 Graphic | Used by:Timeline | |
Symbol 202 Text | Uses:149 | Used by:Timeline |
Symbol 203 Graphic | Used by:Timeline | |
Symbol 204 Graphic | Used by:Timeline | |
Symbol 205 MovieClip {UfoAttack_fla.level1_14} | Uses:145 | Used by:Timeline |
Symbol 206 Graphic | Used by:209 | |
Symbol 207 ShapeTweening | Used by:209 | |
Symbol 208 Graphic | Used by:209 | |
Symbol 209 MovieClip {UfoAttack_fla.atariBack_16} | Uses:206 207 208 | Used by:Timeline |
Symbol 210 Graphic | Used by:211 | |
Symbol 211 MovieClip | Uses:210 | Used by:212 |
Symbol 212 MovieClip {UfoAttack_fla.level3_17} | Uses:211 | Used by:Timeline |
Symbol 213 Graphic | Used by:218 | |
Symbol 214 ShapeTweening | Used by:218 | |
Symbol 215 Graphic | Used by:218 | |
Symbol 216 Graphic | Used by:217 | |
Symbol 217 MovieClip | Uses:216 92 | Used by:218 |
Symbol 218 MovieClip {UfoAttack_fla.bakgrunnLevel4_19} | Uses:213 214 215 217 | Used by:Timeline |
Symbol 219 ShapeTweening | Used by:221 | |
Symbol 220 Graphic | Used by:221 | |
Symbol 221 MovieClip {UfoAttack_fla.bakgrunnLevel2_22} | Uses:219 220 | Used by:Timeline |
Symbol 222 Graphic | Used by:223 | |
Symbol 223 MovieClip | Uses:222 | Used by:224 |
Symbol 224 MovieClip {UfoAttack_fla.level4_23} | Uses:223 | Used by:Timeline |
Symbol 225 Graphic | Used by:226 | |
Symbol 226 MovieClip | Uses:225 | Used by:227 |
Symbol 227 MovieClip {UfoAttack_fla.level2_25} | Uses:226 | Used by:Timeline |
Symbol 228 Graphic | Used by:230 233 236 | |
Symbol 229 Text | Uses:194 | Used by:230 |
Symbol 230 MovieClip | Uses:228 229 | Used by:231 |
Symbol 231 MovieClip {UfoAttack_fla.level5_27} | Uses:230 | Used by:Timeline |
Symbol 232 Text | Uses:194 | Used by:233 |
Symbol 233 MovieClip | Uses:228 232 | Used by:234 |
Symbol 234 MovieClip {UfoAttack_fla.level6_29} | Uses:233 | Used by:Timeline |
Symbol 235 Text | Uses:194 | Used by:236 |
Symbol 236 MovieClip | Uses:228 235 | Used by:237 |
Symbol 237 MovieClip {UfoAttack_fla.level7_31} | Uses:236 | Used by:Timeline |
Symbol 238 EditableText | Uses:149 | Used by:Timeline |
Symbol 239 EditableText | Uses:149 | Used by:Timeline |
Symbol 240 EditableText | Uses:149 | Used by:Timeline |
Symbol 241 EditableText | Uses:149 | Used by:Timeline |
Symbol 242 Graphic | Used by:Timeline | |
Symbol 243 Graphic | Used by:244 | |
Symbol 244 MovieClip | Uses:243 | Used by:Timeline |
Symbol 245 Graphic | Used by:248 | |
Symbol 246 Graphic | Used by:247 | |
Symbol 247 MovieClip | Uses:246 | Used by:248 |
Symbol 248 MovieClip {Canon2} | Uses:245 247 | Used by:Timeline |
Symbol 249 Sound | Used by:Timeline | |
Symbol 250 Text | Uses:194 | Used by:Timeline |
Symbol 251 Font | Used by:252 258 259 262 263 351 | |
Symbol 252 EditableText | Uses:251 | Used by:Timeline |
Symbol 253 Graphic | Used by:Timeline | |
Symbol 254 Graphic | Used by:255 | |
Symbol 255 MovieClip | Uses:254 92 | Used by:256 |
Symbol 256 MovieClip {UfoAttack_fla.UfoFlyoverBy_37} | Uses:255 | Used by:Timeline |
Symbol 257 Graphic | Used by:Timeline | |
Symbol 258 Text | Uses:251 | Used by:Timeline |
Symbol 259 EditableText | Uses:251 | Used by:Timeline |
Symbol 260 Sound | Used by:Timeline | |
Symbol 261 Graphic | Used by:Timeline | |
Symbol 262 Text | Uses:251 | Used by:Timeline |
Symbol 263 EditableText | Uses:251 | Used by:Timeline |
Symbol 264 Graphic | Used by:349 | |
Symbol 265 Graphic | Used by:286 | |
Symbol 266 Graphic | Used by:286 | |
Symbol 267 Graphic | Used by:286 | |
Symbol 268 Graphic | Used by:286 | |
Symbol 269 Graphic | Used by:286 | |
Symbol 270 Graphic | Used by:286 | |
Symbol 271 Graphic | Used by:286 | |
Symbol 272 Graphic | Used by:286 | |
Symbol 273 Graphic | Used by:286 | |
Symbol 274 Graphic | Used by:286 | |
Symbol 275 Graphic | Used by:286 | |
Symbol 276 Graphic | Used by:286 | |
Symbol 277 Graphic | Used by:286 | |
Symbol 278 Graphic | Used by:286 | |
Symbol 279 Graphic | Used by:286 | |
Symbol 280 Graphic | Used by:286 | |
Symbol 281 Graphic | Used by:286 | |
Symbol 282 Graphic | Used by:286 | |
Symbol 283 Graphic | Used by:286 | |
Symbol 284 Graphic | Used by:286 | |
Symbol 285 Graphic | Used by:286 | |
Symbol 286 MovieClip | Uses:265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 | Used by:349 |
Symbol 287 Graphic | Used by:308 | |
Symbol 288 Graphic | Used by:308 | |
Symbol 289 Graphic | Used by:308 | |
Symbol 290 Graphic | Used by:308 | |
Symbol 291 Graphic | Used by:308 | |
Symbol 292 Graphic | Used by:308 | |
Symbol 293 Graphic | Used by:308 | |
Symbol 294 Graphic | Used by:308 | |
Symbol 295 Graphic | Used by:308 | |
Symbol 296 Graphic | Used by:308 | |
Symbol 297 Graphic | Used by:308 | |
Symbol 298 Graphic | Used by:308 | |
Symbol 299 Graphic | Used by:308 | |
Symbol 300 Graphic | Used by:308 | |
Symbol 301 Graphic | Used by:308 | |
Symbol 302 Graphic | Used by:308 | |
Symbol 303 Graphic | Used by:308 | |
Symbol 304 Graphic | Used by:308 | |
Symbol 305 Graphic | Used by:308 | |
Symbol 306 Graphic | Used by:308 | |
Symbol 307 Graphic | Used by:308 | |
Symbol 308 MovieClip | Uses:287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | Used by:349 |
Symbol 309 Graphic | Used by:330 | |
Symbol 310 Graphic | Used by:330 | |
Symbol 311 Graphic | Used by:330 | |
Symbol 312 Graphic | Used by:330 | |
Symbol 313 Graphic | Used by:330 | |
Symbol 314 Graphic | Used by:330 | |
Symbol 315 Graphic | Used by:330 | |
Symbol 316 Graphic | Used by:330 | |
Symbol 317 Graphic | Used by:330 | |
Symbol 318 Graphic | Used by:330 | |
Symbol 319 Graphic | Used by:330 | |
Symbol 320 Graphic | Used by:330 | |
Symbol 321 Graphic | Used by:330 | |
Symbol 322 Graphic | Used by:330 | |
Symbol 323 Graphic | Used by:330 | |
Symbol 324 Graphic | Used by:330 | |
Symbol 325 Graphic | Used by:330 | |
Symbol 326 Graphic | Used by:330 | |
Symbol 327 Graphic | Used by:330 | |
Symbol 328 Graphic | Used by:330 | |
Symbol 329 Graphic | Used by:330 | |
Symbol 330 MovieClip {UfoAttack_fla.Fyrverkeri3_42} | Uses:309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 | Used by:349 |
Symbol 331 Graphic | Used by:335 | |
Symbol 332 Graphic | Used by:333 | |
Symbol 333 MovieClip | Uses:332 | Used by:335 |
Symbol 334 Graphic | Used by:335 | |
Symbol 335 MovieClip | Uses:331 333 334 | Used by:349 |
Symbol 336 Graphic | Used by:346 | |
Symbol 337 Graphic | Used by:346 | |
Symbol 338 Graphic | Used by:346 | |
Symbol 339 Graphic | Used by:346 | |
Symbol 340 Graphic | Used by:346 | |
Symbol 341 Graphic | Used by:346 | |
Symbol 342 Graphic | Used by:346 | |
Symbol 343 Graphic | Used by:346 | |
Symbol 344 Graphic | Used by:346 | |
Symbol 345 Graphic | Used by:346 | |
Symbol 346 MovieClip | Uses:336 337 338 339 340 341 342 343 344 345 | Used by:347 |
Symbol 347 MovieClip | Uses:346 | Used by:349 |
Symbol 348 Graphic | Used by:349 | |
Symbol 349 MovieClip {UfoAttack_fla.HappyEnd_39} | Uses:264 164 286 308 330 166 335 347 348 | Used by:Timeline |
Symbol 350 Sound | Used by:Timeline | |
Symbol 351 EditableText | Uses:251 | Used by:Timeline |
Symbol 352 Text | Uses:194 | Used by:Timeline |
Symbol 353 Graphic | Used by:Timeline | |
Symbol 354 Font | Used by:355 362 363 381 389 390 391 | |
Symbol 355 Text | Uses:354 | Used by:Timeline |
Symbol 356 Graphic | Used by:Timeline | |
Symbol 357 Button | Uses:191 192 154 | Used by:Timeline |
Symbol 358 Text | Uses:194 | Used by:Timeline |
Symbol 359 Text | Uses:194 | Used by:Timeline |
Symbol 360 Text | Uses:194 | Used by:Timeline |
Symbol 361 Text | Uses:194 | Used by:Timeline |
Symbol 362 Text | Uses:354 | Used by:Timeline |
Symbol 363 Text | Uses:354 | Used by:Timeline |
Symbol 364 Text | Uses:194 | Used by:Timeline |
Symbol 365 Graphic | Used by:380 | |
Symbol 366 Graphic | Used by:374 | |
Symbol 367 Graphic | Used by:369 | |
Symbol 368 Graphic | Used by:369 | |
Symbol 369 MovieClip | Uses:367 368 | Used by:374 |
Symbol 370 Graphic | Used by:374 | |
Symbol 371 ShapeTweening | Used by:373 | |
Symbol 372 Graphic | Used by:373 | |
Symbol 373 MovieClip | Uses:371 372 | Used by:374 |
Symbol 374 MovieClip | Uses:366 369 370 373 | Used by:380 |
Symbol 375 Graphic | Used by:376 | |
Symbol 376 MovieClip | Uses:375 | Used by:380 |
Symbol 377 Graphic | Used by:378 | |
Symbol 378 MovieClip | Uses:377 | Used by:380 |
Symbol 379 Graphic | Used by:380 | |
Symbol 380 MovieClip {UfoAttack_fla.bonusShowingoff_48} | Uses:365 374 376 378 117 87 113 92 95 118 78 379 80 | Used by:Timeline |
Symbol 381 Text | Uses:354 | Used by:Timeline |
Symbol 382 Graphic | Used by:385 | |
Symbol 383 Graphic | Used by:385 | |
Symbol 384 Graphic | Used by:385 | |
Symbol 385 Button | Uses:382 383 384 | Used by:Timeline |
Symbol 386 Text | Uses:194 | Used by:Timeline |
Symbol 387 Text | Uses:194 | Used by:Timeline |
Symbol 388 Text | Uses:194 | Used by:Timeline |
Symbol 389 Text | Uses:354 | Used by:Timeline |
Symbol 390 Text | Uses:354 | Used by:Timeline |
Symbol 391 Text | Uses:354 | Used by:Timeline |
Symbol 392 Graphic | Used by:401 | |
Symbol 393 Graphic | Used by:401 | |
Symbol 394 Graphic | Used by:401 | |
Symbol 395 Graphic | Used by:401 | |
Symbol 396 Graphic | Used by:401 | |
Symbol 397 Graphic | Used by:401 | |
Symbol 398 Graphic | Used by:401 | |
Symbol 399 Graphic | Used by:401 | |
Symbol 400 Graphic | Used by:401 | |
Symbol 401 MovieClip {UfoAttack_fla.AirplanesForHow_56} | Uses:68 70 72 74 75 25 27 29 31 16 17 18 19 20 392 393 394 395 44 45 396 47 397 398 399 400 | Used by:Timeline |
Instance Names
"loaderBar" | Frame 1 | Symbol 147 MovieClip |
"denied" | Frame 1 | Symbol 150 EditableText |
"progressText" | Frame 1 | Symbol 151 EditableText |
"skippyB" | Frame 2 | Symbol 155 Button |
"playButton" | Frame 1032 | Symbol 193 Button |
"questButton" | Frame 1032 | Symbol 193 Button |
"playButton" | Frame 1033 | Symbol 193 Button |
"level1" | Frame 1034 | Symbol 205 MovieClip {UfoAttack_fla.level1_14} |
"atariBakgrunn" | Frame 1034 | Symbol 209 MovieClip {UfoAttack_fla.atariBack_16} |
"level3" | Frame 1034 | Symbol 212 MovieClip {UfoAttack_fla.level3_17} |
"bakgrunn4" | Frame 1034 | Symbol 218 MovieClip {UfoAttack_fla.bakgrunnLevel4_19} |
"bakgrunnLevel2" | Frame 1034 | Symbol 221 MovieClip {UfoAttack_fla.bakgrunnLevel2_22} |
"level4" | Frame 1034 | Symbol 224 MovieClip {UfoAttack_fla.level4_23} |
"level2" | Frame 1034 | Symbol 227 MovieClip {UfoAttack_fla.level2_25} |
"level5" | Frame 1034 | Symbol 231 MovieClip {UfoAttack_fla.level5_27} |
"level6" | Frame 1034 | Symbol 234 MovieClip {UfoAttack_fla.level6_29} |
"level7" | Frame 1034 | Symbol 237 MovieClip {UfoAttack_fla.level7_31} |
"visScore" | Frame 1034 | Symbol 238 EditableText |
"visSkudd" | Frame 1034 | Symbol 239 EditableText |
"visLevel" | Frame 1034 | Symbol 241 EditableText |
"lifeB" | Frame 1034 | Symbol 244 MovieClip |
"againButton" | Frame 1035 | Symbol 193 Button |
"bestScore" | Frame 1035 | Symbol 252 EditableText |
"againButtonT" | Frame 1036 | Symbol 193 Button |
"bestScoreT" | Frame 1036 | Symbol 259 EditableText |
"againButtonN" | Frame 1037 | Symbol 193 Button |
"bestScoreT" | Frame 1037 | Symbol 263 EditableText |
"againButtonW" | Frame 1039 | Symbol 193 Button |
"bestScoreT" | Frame 1039 | Symbol 351 EditableText |
"bonus" | Frame 1039 | Symbol 193 Button |
"bonusB1" | Frame 1040 | Symbol 357 Button |
"bonusB2" | Frame 1040 | Symbol 357 Button |
"bonusB3" | Frame 1040 | Symbol 357 Button |
"bonusB8" | Frame 1040 | Symbol 357 Button |
"bonusB5" | Frame 1042 | Symbol 357 Button |
"bonusB6" | Frame 1043 | Symbol 357 Button |
"ufoPic" | Frame 1043 | Symbol 380 MovieClip {UfoAttack_fla.bonusShowingoff_48} |
"bDev" | Frame 1044 | Symbol 385 Button |
"howB1" | Frame 1044 | Symbol 357 Button |
"howB2" | Frame 1044 | Symbol 357 Button |
"howB3" | Frame 1044 | Symbol 357 Button |
"howB4" | Frame 1044 | Symbol 357 Button |
"enemieM" | Frame 1046 | Symbol 380 MovieClip {UfoAttack_fla.bonusShowingoff_48} |
"howB6" | Frame 1046 | Symbol 357 Button |
"howB7" | Frame 1047 | Symbol 357 Button |
"aFly" | Frame 1047 | Symbol 401 MovieClip {UfoAttack_fla.AirplanesForHow_56} |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
Labels
"intro" | Frame 1033 |
"play" | Frame 1034 |
"nattFrame" | Frame 1034 |
"gameover" | Frame 1035 |
"gameover2" | Frame 1036 |
"gameover3" | Frame 1037 |
"gameover4" | Frame 1039 |
"explode3" | Symbol 23 MovieClip {AirplanesAtari} Frame 6 |
"fokker2" | Symbol 40 MovieClip {AirplanesNr2} Frame 1 |
"jet2" | Symbol 40 MovieClip {AirplanesNr2} Frame 2 |
"jumbo2" | Symbol 40 MovieClip {AirplanesNr2} Frame 3 |
"ste2" | Symbol 40 MovieClip {AirplanesNr2} Frame 4 |
"ufo2" | Symbol 40 MovieClip {AirplanesNr2} Frame 5 |
"explode2" | Symbol 40 MovieClip {AirplanesNr2} Frame 6 |
"fokker" | Symbol 50 MovieClip {Airplanes5} Frame 1 |
"jet" | Symbol 50 MovieClip {Airplanes5} Frame 2 |
"jumbo" | Symbol 50 MovieClip {Airplanes5} Frame 3 |
"ste" | Symbol 50 MovieClip {Airplanes5} Frame 4 |
"ufo" | Symbol 50 MovieClip {Airplanes5} Frame 5 |
"explode4" | Symbol 50 MovieClip {Airplanes5} Frame 6 |
"fokker" | Symbol 55 MovieClip {Airplanes6} Frame 1 |
"jet" | Symbol 55 MovieClip {Airplanes6} Frame 2 |
"jumbo" | Symbol 55 MovieClip {Airplanes6} Frame 3 |
"explode4" | Symbol 55 MovieClip {Airplanes6} Frame 4 |
"fokker" | Symbol 64 MovieClip {Airplanes4} Frame 1 |
"jet" | Symbol 64 MovieClip {Airplanes4} Frame 2 |
"jumbo" | Symbol 64 MovieClip {Airplanes4} Frame 3 |
"ste" | Symbol 64 MovieClip {Airplanes4} Frame 4 |
"ufo" | Symbol 64 MovieClip {Airplanes4} Frame 5 |
"explode4" | Symbol 64 MovieClip {Airplanes4} Frame 6 |
"fokker" | Symbol 77 MovieClip {Airplanes2} Frame 1 |
"jet" | Symbol 77 MovieClip {Airplanes2} Frame 2 |
"jumbo" | Symbol 77 MovieClip {Airplanes2} Frame 3 |
"ste" | Symbol 77 MovieClip {Airplanes2} Frame 4 |
"ufo" | Symbol 77 MovieClip {Airplanes2} Frame 5 |
"explode" | Symbol 77 MovieClip {Airplanes2} Frame 6 |
"explode" | Symbol 101 MovieClip {EnemyUfo7} Frame 5 |
"explode" | Symbol 107 MovieClip {EnemyUfo6} Frame 4 |
"explode" | Symbol 116 MovieClip {EnemyUfo5} Frame 4 |
"explode" | Symbol 121 MovieClip {EnemyUfo4} Frame 5 |
"explode" | Symbol 125 MovieClip {EnemyUfo2} Frame 4 |
"explode" | Symbol 130 MovieClip {EnemyUfo} Frame 5 |
"explode3" | Symbol 133 MovieClip {TreffAtari} Frame 2 |
"level1" | Symbol 205 MovieClip {UfoAttack_fla.level1_14} Frame 1 |
"fokker" | Symbol 401 MovieClip {UfoAttack_fla.AirplanesForHow_56} Frame 1 |
|