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?/?fNH1lI 3qEbt1^ d s\D)ǀ!PWs+_"aM{ޛH4T*l"]iii? j555 P AiRhx~>>>aq>yT*EPeÆ< G`qF[˗/geUH-\7>,?? mjBzNB⎅+\4. )%OW&uT wEyn_$##XOL&~3FG'[v^I*N1quDʊ7W?\6_nkxycUsf{v#zyiݸuь*V ^ZOyh[ږ[ x5:մu~DGr'6Qߣ0Oɞr>?8mgC棹y|νo!e?oZmy=5R`ʕ`%uvqvƬ,5f%c5v90ֶX?1b1x#AC2e[Kfh:O M)MIA΁H8 l׮iTVjlںݻu<2Q(̊B8uY'ёZ`HHcBKu11}D"2X=[իHD8r$/)Iܺv3_*lݔ)ЉL{# Jl\$Baa!z{{)2 O_PxXXxV LW.eZS@"¦0ƽbenɌ%slf(M4f&.l0g|05(!UC˜1H$ #8 ՟Z&:?99D4x1~tf_(tL'y<=@.~w@i2-u:a* 4C.l ňz uƜVj̭W~" \N}:R٫w:V^QnE

׮sرf/jkQkp,S&ȉbsF{90'v-Yy4++;mť ŐLK!_$z3s#+' 3ƗRf@e2Ӎ {<ǘ>먩Vou5r|D #%":}HcOn`@^ਫ:\/H,6 L{KrLcsLùL>Nu.L'm(Ijl@v WzyDJ8@d;{,f7z8i} <+ MwPXťr1%hdKKK񮇛}p&=#i,_i0H "n5xt]ώpy`bBHu4)`ϒon1˚G&9Ƀ ^ppTX=YuA8p6?; [m8ºȐ@ 9 /7[]f !&p%x CK !i̙'Se5ElV%1S][\i!.^`L',7'R_6[/YJR> 7llv(7%[~2e)Nfs߸=cw|h͚Ƶo2y٬KNySʗ0 0?T Layer 1OCPicPage CPicLayer CPicFrame CPicShapeof{z y0d8d0CPicText GArial"(control?,T Layer 1OCPicPage CPicLayer CPicFrame CPicShape(WB0000?}v Layer 1Ol= DefenderO CPicButtonl lr%on(release){ _root.gotoAndStop(2); }CPicText  Q_Arial"(Space Devourers :@scoreArial"( c2N@livesArial"( & 7Arial"(score:0 v#-:yArial"(lives: tArial"(Use the mouse to move and fireSymbol 8Symbol 7Symbol 6 Symbol 5ovfff 000(?^0 Layer 1OCPicText q]V8Arial"(restart? D Layer 2OOfff 000(?00(0 ?l0(0 0?$CPicPage CPicLayer CPicFrame CPicShape<WCr//  / / r? 9 Layer 1OCPicPage CPicLayer CPicFrameCPicPage CPicLayer CPicFrame?#H CPicSprite dgdefender??l= DefenderO CPicButtonl lr%on(release){ _root.gotoAndStop(2); }CPicText  Q_Arial"(Space Devourers :@scoreArial"( c2N@livesArial"( & 7Arial"(score:0 v#-:yArial"(lives: tArial"(Use the mouse to move and fire?,A b@scoreArial"( 1@livesArial"( N 7Arial"(score:/i v ,yArial"(lives?Z  QHArial"(you win. thanks for coming X X &Lon (release) { _root.lives = 3; _root.score = 0; _root.gotoAndStop(2); } A b@scoreArial"( N 7Arial"(score:?A textOO? stop(); bombNum = 0; lives = 3; score = 0; speed=10; // declare global functions // // --------- INITIALISE ALIENS ------------- // _global.initAliens = function(mc) { depth = 0; for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { attachMovie(mc, mc+i+"_"+j, 100+depth); _root[mc+i+"_"+j]._x = j*40; _root[mc+i+"_"+j]._y = i*40-80; depth++; } } }; // // ------- MOVE ALIENS ----------------- // _global.moveAliens = function(mc, frame,alspeed) { _root.deadcount = 0; // move aliens for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { // move horizontal _root[mc+i+"_"+j]._x += speed; // check if aliens hit defender if(_root[mc+i+"_"+j].hitTest(_root.defender)){ cleanup(mc); _root.gotoAndStop(1); } // check if any aliens left alive if (_root[mc+i+"_"+j] != null) { ++_root.deadcount; } // -------test bullet hit bulleti = 6; while (--bulleti>0) { if (_root[mc+i+"_"+j].hittest(eval("_root.bullet"+bulleti))) { _root[mc+i+"_"+j].removeMovieClip(); eval("_root.bullet"+bulleti).removeMovieClip(); _root.score += 1; } } // hits left wall if (_root[mc+i+"_"+j]._x<0) { // set direction to right speed = alspeed; // drop down dropdown = true; break; } // hit right wall if (_root[mc+i+"_"+j]._x>Stage.width) { // set direction to left speed = -alspeed; // drop down dropdown = true; break; } } } // drop down all the rows if (dropdown) { for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { _root[mc+i+"_"+j]._y += 20; } } } // reset flag dropdown = false; // if all aliens are dead if (_root.deadcount == 0) { // go to next level _root.bombspeed = 0.0; _root.gotoAndStop(frame); } }; // // ----------- INIT BOMBS --------------- // _global.initBombs = function(bombspeed) { // drop bombs if (Math.random()10) { bombNum = 0; } } }; // -------------- MOVE BOMBS ---------------- // _global.moveBombs = function(mc) { var bombi = 0; while (bombi<11) { _root["bomb"+bombi]._y += 5; // hitest defender if (_root["bomb"+bombi].hittest(_root.defender)) { _root["bomb"+bombi].removeMovieClip(); _root.lives -= 1; // lives are all gone if (_root.lives<=0) { // go to start Mouse.show(); _root.bombspeed = 0.0; _root.gotoAndStop(1); for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { _root[mc+i+"_"+j]._visible = false; } } break; } } // end hitest defender if (_root["bomb"+bombi]._y>Stage.height) { _root["bomb"+bombi].removeMovieClip(); } bombi++; } }; // // ---------- CLEAN UP -------- // _global.cleanup = function(mc) { _root.bombspeed = 0.0; for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { // move horizontal _root[mc+i+"_"+j]._visible = false; } } }; ?.stop(); // initialise variables bulletNum = 0; dropdown = false; speed = 10; _root.bombspeed = 0.1; initAliens("alien"); // // ----------- ONLOAD ----------- // _root.onLoad = function() { Mouse.hide(); }; // // ------------- ENTERFRAME ---------- // _root.onEnterFrame = function() { // move the defender with the mouse. _root.defender._x = _root._xmouse; _root.defender._y = 385; // bullet move var y = 0; while (y<6) { eval("_root.bullet"+y)._y -= 30; y++; } moveBombs("alien"); moveAliens("alien", 3,10); initBombs(_root.bombspeed); }; // // ------------- MOUSE CLICK ---------- // _root.onMouseDown = function() { // duplicate the bullet mc attachMovie("bullet", "bullet"+bulletNum, bulletNum); // set the coords to the mouse clik eval("_root.bullet"+bulletNum)._x = _root.defender._x; eval("_root.bullet"+bulletNum)._y = _root.defender._y; // increment the bullet number ++bulletNum; // if more than 5 bullets , start again at 0 if (bulletNum>5) { bulletNum = 0; } }; ?stop(); // initialise variables bulletNum = 0; dropdown = false; speed = 15; _root.bombspeed = 0.1; initAliens("bug"); // // ----------- ONLOAD ----------- // _root.onLoad = function() { Mouse.hide(); }; // // ------------- ENTERFRAME ---------- // _root.onEnterFrame = function() { // move the defender with the mouse. _root.defender._x = _root._xmouse; _root.defender._y = 385; // bullet move var y = 0; while (y<6) { eval("_root.bullet"+y)._y -= 30; y++; } moveBombs("bug"); moveAliens("bug", 4,15); initBombs(_root.bombspeed); }; // // ------------- MOUSE CLICK ---------- // _root.onMouseDown = function() { // duplicate the bullet mc attachMovie("bullet", "bullet"+bulletNum, bulletNum); // set the coords to the mouse clik eval("_root.bullet"+bulletNum)._x = _root.defender._x; eval("_root.bullet"+bulletNum)._y = _root.defender._y; // increment the bullet number ++bulletNum; // if more than 5 bullets , start again at 0 if (bulletNum>5) { bulletNum = 0; } }; ?<stop(); stop(); // initialise variables bulletNum = 0; dropdown = false; speed = 20; _root.bombspeed = 0.1; initAliens("skull"); // // ----------- ONLOAD ----------- // _root.onLoad = function() { Mouse.hide(); }; // // ------------- ENTERFRAME ---------- // _root.onEnterFrame = function() { // move the defender with the mouse. _root.defender._x = _root._xmouse; _root.defender._y = 385; // bullet move var y = 0; while (y<6) { eval("_root.bullet"+y)._y -= 30; y++; } moveBombs("skull"); moveAliens("skull", 5,20); initBombs(_root.bombspeed); }; // // ------------- MOUSE CLICK ---------- // _root.onMouseDown = function() { // duplicate the bullet mc attachMovie("bullet", "bullet"+bulletNum, bulletNum); // set the coords to the mouse clik eval("_root.bullet"+bulletNum)._x = _root.defender._x; eval("_root.bullet"+bulletNum)._y = _root.defender._y; // increment the bullet number ++bulletNum; // if more than 5 bullets , start again at 0 if (bulletNum>5) { bulletNum = 0; } }; ?~stop(); actionsOO) CDocumentPagePage 1Scene 1O?Q?Symbol 9 restartBtn hQ?Symbol 9Q?Symbol 8BombP?>bombSymbol 8P?Symbol 7BulletP?<bulletSymbol 7P?Symbol 6 controlmc$P?:Symbol 6$P?Symbol 5 start_btn$P?6Symbol 57P?Symbol 4SkullP?0skullSymbol 4P?Symbol 3BugMP?*bugpictures/Symbol 3P?Symbol 2DefenderP?Symbol 2P?Symbol 1AlienP?alienSymbol 1fP?  CMediaBitsMedia 1 alien1.png .\alien1.png P?P?GP?2 Media 3 alien2.png .\alien2.png$P?P?XP?.2 Media 2 defend1.png .\defend1.pngP?P?P?2 Media 4 skull.png ..\skull.pnglI?P?P?426@hhhhh CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 ?,A b@scoreArial"( 1@livesArial"( N 7Arial"(score:/i v ,yArial"(lives?Z  QHArial"(you win. thanks for coming X X &Lon (release) { _root.lives = 3; _root.score = 0; _root.gotoAndStop(2); } A b@scoreArial"( N 7Arial"(score:?A textOO? stop(); bombNum = 0Symbol 4 j"Symbol 3e"Symbol 2 `"Symbol 1 ZB; lives = 3; score = 0; speed=10; // declare global functions // // --------- INITIALISE ALIENS ------------- // _global.initAliens = function(mc) { depth = 0; for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { attachMovie(mc, mc+i+"_"+j, 100+depth); _root[mc+i+"_"+j]._x = j*40; _root[mc+i+"_"+j]._y = i*40-80; depth++; } } }; // // ------- MOVE ALIENS ----------------- // _global.moveAliens = function(mc, frame,alspeed) { _root.deadcount = 0; // move aliens for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { // move horizontal _root[mc+i+"_"+j]._x += speed; // check if aliens hit defender if(_root[mc+i+"_"+j].hitTest(_root.defender)){ cleanup(mc); _root.gotoAndStop(1); } // check if any aliens left alive if (_root[mc+i+"_"+j] != null) { ++_root.deadcount; } // -------test bullet hit bulleti = 6; while (--bulleti>0) { if (_root[mc+i+"_"+j].hittest(eval("_root.bullet"+bulleti))) { _root[mc+i+"_"+j].removeMovieClip(); eval("_root.bullet"+bulleti).removeMovieClip(); _root.score += 1; } } // hits left wall if (_root[mc+i+"_"+j]._x<0) { // set direction to right speed = alspeed; // drop down dropdown = true; break; } // hit right wall if (_root[mc+i+"_"+j]._x>Stage.width) { // set direction to left speed = -alspeed; // drop down dropdown = true; break; } } } // drop down all the rows if (dropdown) { for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { _root[mc+i+"_"+j]._y += 20; } } } // reset flag dropdown = false; // if all aliens are dead if (_root.deadcount == 0) { // go to next level _root.bombspeed = 0.0; _root.gotoAndStop(frame); } }; // // ----------- INIT BOMBS --------------- // _global.initBombs = function(bombspeed) { // drop bombs if (Math.random()10) { bombNum = 0; } } }; // -------------- MOVE BOMBS ---------------- // _global.moveBombs = function(mc) { var bombi = 0; while (bombi<11) { _root["bomb"+bombi]._y += 5; // hitest defender if (_root["bomb"+bombi].hittest(_root.defender)) { _root["bomb"+bombi].removeMovieClip(); _root.lives -= 1; // lives are all gone if (_root.lives<=0) { // go to start Mouse.show(); _root.bombspeed = 0.0; _root.gotoAndStop(1); for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { _root[mc+i+"_"+j]._visible = false; } } break; } } // end hitest defender if (_root["bomb"+bombi]._y>Stage.height) { _root["bomb"+bombi].removeMovieClip(); } bombi++; } }; // // ---------- CLEAN UP -------- // _global.cleanup = function(mc) { _root.bombspeed = 0.0; for (var i = 0; i<3; i++) { for (var j = 0; j<10; j++) { // move horizontal _root[mc+i+"_"+j]._visible = false; } } }; ?.stop(); // initialise variables bulletNum = 0; dropdown = false; speed = 10; _root.bombspeed = 0.1; initAliens("alien"); // // ----------- ONLOAD ----------- // _root.onLoad = function() { Mouse.hide(); }; // // ------------- ENTERFRAME ---------- // _root.onEnterFrame = function() { // move the defender with the mouse. _root.defender._x = _root._xmouse; _root.defender._y = 385; // bullet move var y = 0; while (y<6) { eval("_root.bullet"+y)._y -= 30; y++; } moveBombs("alien"); moveAliens("alien", 3,10); initBombs(_root.bombspeed); }; // // ------------- MOUSE CLICK ---------- // _root.onMouseDown = function() { // duplicate the bullet mc attachMovie("bullet", "bullet"+bulletNum, bulletNum); // set the coords to the mouse clik eval("_root.bullet"+bulletNum)._x = _root.defender._x; eval("_root.bullet"+bulletNum)._y = _root.defender._y; // increment the bullet number ++bulletNum; // if more than 5 bullets , start again at 0 if (bulletNum>5) { bulletNum = 0; } }; ?stop(); // initialise variables bulletNum = 0; dropdown = false; speed = 15; _root.bombspeed = 0.1; initAliens("bug"); // // ----------- ONLOAD ----------- // _root.onLoad = function() { Mouse.hide(); }; // // ------------- ENTERFRAME ---------- // _root.onEnterFrame = function() { // move the defender with the mouse. _root.defender._x = _root._xmouse; _root.defender._y = 385; // bullet move var y = 0; while (y<6) { eval("_root.bullet"+y)._y -= 30; y++; } moveBombs("bug"); moveAliens("bug", 4,15); initBombs(_root.bombspeed); }; // // ------------- MOUSE CLICK ---------- // _root.onMouseDown = function() { // duplicate the bullet mc attachMovie("bullet", "bullet"+bulletNum, bulletNum); // set the coords to the mouse clik eval("_root.bullet"+bulletNum)._x = _root.defender._x; eval("_root.bullet"+bulletNum)._y = _root.defender._y; // increment the bullet number ++bulletNum; // if more than 5 bullets , start again at 0 if (bulletNum>5) { bulletNum = 0; } }; ?<stop(); stop(); // initialise variables bulletNum = 0; dropdown = false; speed = 20; _root.bombspeed = 0.1; initAliens("skull"); // // ----------- ONLOAD ----------- // _root.onLoad = function() { Mouse.hide(); }; // // ------------- ENTERFRAME ---------- // _root.onEnterFrame = function() { // move the defender with the mouse. _root.defender._x = _root._xmouse; _root.defender._y = 385; // bullet move var y = 0; while (y<6) { eval("_root.bullet"+y)._y -= 30; y++; } moveBombs("skull"); moveAliens("skull", 5,20); initBombs(_root.bombspeed); }; // // ------------- MOUSE CLICK ---------- // _root.onMouseDown = function() { // duplicate the bullet mc attachMovie("bullet", "bullet"+bulletNum, bulletNum); // set the coords to the mouse clik eval("_root.bullet"+bulletNum)._x = _root.defender._x; eval("_root.bullet"+bulletNum)._y = _root.defender._y; // increment the bullet number ++bulletNum; // if more than 5 bullets , start again at 0 if (bulletNum>5) { bulletNum = 0; } }; ?~stop(); actionsOO) CDocumentPagePage 1Scene 1O?yQ?Symbol 9 restartBtn hQ?Symbol 9Q?Symbol 8BombP?>bombSymbol 8P?Symbol 7BulletP?<bulletSymbol 7P?Symbol 6 controlmc$P?:Symbol 6$P?Symbol 5 start_btn$P?6Symbol 57P?Symbol 4SkullP?0skullSymbol 4P?Symbol 3BugMP?*bugpictures/Symbol 3P?Symbol 2DefenderP?Symbol 2P?Symbol 1AlienP?alienSymbol 1fP?  CMediaBitsMedia 1 alien1.png .\alien1.png P?P?GP?2 Media 3 alien2.png .\alien2.png$P?P?XP?.2 Media 2 defend1.png .\defend1.pngP?P?P?2 Media 4 skull.png ..\skull.pnglI?P?P?426@hhhhh CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*]lpicturesP?h`f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*]lpicturesP?h