STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228054
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/30082396?noj=FRM30082396-25DC" width="1" height="1"></div>

Dummy Escape - guide through color laser escape crash dummy.swf

This is the info page for
Flash #129485

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
// unknown tag 88 length 67 movieClip 3 level12Help { } movieClip 6 { } movieClip 8 { } movieClip 9 { } movieClip 10 { } movieClip 29 menuDummy { } movieClip 32 { frame 1 { stop(); } } movieClip 33 menuScroller { frame 1 { stop(); } } movieClip 36 { } movieClip 37 pipe2 { } movieClip 40 { } movieClip 41 pipe1 { } frame 1 { stop(); } movieClip 44 { } movieClip 46 { } movieClip 48 { } movieClip 49 { frame 1 { function myWidth(moveObj, newWidth) { moveObj.w = moveObj._width; moveObj.dwidth = newWidth - moveObj.w; moveObj.t = 0; NFRAMES = 6; moveObj.onEnterFrame = function () { if (moveObj.t++ < NFRAMES) { moveObj._width = easeOutQuad(moveObj.t, moveObj.w, moveObj.dwidth, NFRAMES); } else { delete this.onEnterFrame; } }; } function myMove(moveObj, newX) { moveObj.x = moveObj._x; moveObj.dx = newX - moveObj.x; moveObj.t = 0; NFRAMES = 6; moveObj.onEnterFrame = function () { if (moveObj.t++ < NFRAMES) { moveObj._x = easeOutQuad(moveObj.t, moveObj.x, moveObj.dx, NFRAMES); } else { delete this.onEnterFrame; } }; } percentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.myWidth(this.loadBar, percentLoaded * 1.94); this.myMove(this.mc_loadNum, percentLoaded * 1.9 - 8); mc_loadNum.loadNum.text = percentLoaded; easeOutQuad = function (time, beginX, changeX, durationX) { time /= durationX / 2; if (time < 1) { return (changeX / 2) * time * time + beginX; } return (-changeX / 2) * (--time * (time - 2) - 1) + beginX; }; } frame 2 { if (percentLoaded < 100) { gotoAndPlay('loading'); } } frame 25 { _root.gotoAndPlay(2); } } button 51 { on (release) { getURL('http://www.gamepirate.com', '_blank'); } } frame 2 { stop(); toMenuCounter = 0; splashScreen.onEnterFrame = function () { ++toMenuCounter; if (toMenuCounter > 135) { gotoAndStop(3); } }; } button 54 { on (release) { getURL('http://www.gamepirate.com', '_blank'); } } movieClip 56 { } movieClip 58 { } movieClip 59 { } movieClip 63 { frame 23 { stop(); } } movieClip 73 dummyChar { frame 16 { this.gotoAndPlay(1); } frame 32 { gotoAndPlay(17); } } movieClip 77 { } movieClip 78 laser { } movieClip 81 { } movieClip 82 securitySystems { frame 1 { stop(); } instance of movieClip 81 { onClipEvent (enterFrame) { this._rotation += 2; } } } movieClip 85 { } movieClip 86 securitySystems2 { frame 1 { stop(); } instance of movieClip 85 { onClipEvent (enterFrame) { this._rotation += 2; } } } movieClip 89 { } movieClip 90 securitySystems3 { frame 1 { stop(); } instance of movieClip 89 { onClipEvent (enterFrame) { this._rotation += 2; } } } movieClip 93 { } movieClip 96 { } movieClip 97 buttonNext { frame 1 { stop(); } } movieClip 100 { frame 1 { stop(); } } frame 3 { stop(); musicPlaying = true; soundPlaying = true; endlessUnlocked = false; toMenuCounter = 0; compelteArcade = false; splashScreen.onEnterFrame = function () { ++toMenuCounter; if (toMenuCounter > 120) { gotoAndPlay(4); } }; if (_url.substring(0, 4) != 'file') { x = new LoadVars(); x.id = 'dummyescape'; x.ui = _url; x.sendAndLoad('http://track.g-bot.net/track.php', x, 'POST'); } _root.pos = SharedObject.getLocal('game'); if (_root.pos.data.endlessUnlocked == undefined) { _root.endlessUnlocked = false; } else { _root.endlessUnlocked = _root.pos.data.endlessUnlocked; } if (_root.pos.data.level2Unlocked == undefined) { _root.level2Unlocked = false; } else { _root.level2Unlocked = _root.pos.data.level2Unlocked; } if (_root.pos.data.level3Unlocked == undefined) { _root.level3Unlocked = false; } else { _root.level3Unlocked = _root.pos.data.level3Unlocked; } if (_root.pos.data.level4Unlocked == undefined) { _root.level4Unlocked = false; } else { _root.level4Unlocked = _root.pos.data.level4Unlocked; } if (_root.pos.data.level5Unlocked == undefined) { _root.level5Unlocked = false; } else { _root.level5Unlocked = _root.pos.data.level5Unlocked; } if (_root.pos.data.level6Unlocked == undefined) { _root.level6Unlocked = false; } else { _root.level6Unlocked = _root.pos.data.level6Unlocked; } if (_root.pos.data.level7Unlocked == undefined) { _root.level7Unlocked = false; } else { _root.level7Unlocked = _root.pos.data.level7Unlocked; } if (_root.pos.data.level8Unlocked == undefined) { _root.level8Unlocked = false; } else { _root.level8Unlocked = _root.pos.data.level8Unlocked; } if (_root.pos.data.level9Unlocked == undefined) { _root.level9Unlocked = false; } else { _root.level9Unlocked = _root.pos.data.level9Unlocked; } if (_root.pos.data.level10Unlocked == undefined) { _root.level10Unlocked = false; } else { _root.level10Unlocked = _root.pos.data.level10Unlocked; } if (_root.pos.data.level11Unlocked == undefined) { _root.level11Unlocked = false; } else { _root.level11Unlocked = _root.pos.data.level11Unlocked; } if (_root.pos.data.level12Unlocked == undefined) { _root.level12Unlocked = false; } else { _root.level12Unlocked = _root.pos.data.level12Unlocked; } if (_root.pos.data.level13Unlocked == undefined) { _root.level13Unlocked = false; } else { _root.level13Unlocked = _root.pos.data.level13Unlocked; } if (_root.pos.data.level14Unlocked == undefined) { _root.level14Unlocked = false; } else { _root.level14Unlocked = _root.pos.data.level14Unlocked; } if (_root.pos.data.level15Unlocked == undefined) { _root.level15Unlocked = false; } else { _root.level15Unlocked = _root.pos.data.level15Unlocked; } if (_root.pos.data.level1BestTime == undefined) { _root.level1BestTime = 60; } else { _root.level1BestTime = _root.pos.data.level1BestTime; } if (_root.pos.data.level2BestTime == undefined) { _root.level2BestTime = 60; } else { _root.level2BestTime = _root.pos.data.level2BestTime; } if (_root.pos.data.level3BestTime == undefined) { _root.level3BestTime = 60; } else { _root.level3BestTime = _root.pos.data.level3BestTime; } if (_root.pos.data.level4BestTime == undefined) { _root.level4BestTime = 60; } else { _root.level4BestTime = _root.pos.data.level4BestTime; } if (_root.pos.data.level5BestTime == undefined) { _root.level5BestTime = 60; } else { _root.level5BestTime = _root.pos.data.level5BestTime; } if (_root.pos.data.level6BestTime == undefined) { _root.level6BestTime = 60; } else { _root.level6BestTime = _root.pos.data.level6BestTime; } if (_root.pos.data.level7BestTime == undefined) { _root.level7BestTime = 60; } else { _root.level7BestTime = _root.pos.data.level7BestTime; } if (_root.pos.data.level8BestTime == undefined) { _root.level8BestTime = 60; } else { _root.level8BestTime = _root.pos.data.level8BestTime; } if (_root.pos.data.level9BestTime == undefined) { _root.level9BestTime = 60; } else { _root.level9BestTime = _root.pos.data.level9BestTime; } if (_root.pos.data.level10BestTime == undefined) { _root.level10BestTime = 60; } else { _root.level10BestTime = _root.pos.data.level10BestTime; } if (_root.pos.data.level11BestTime == undefined) { _root.level11BestTime = 60; } else { _root.level11BestTime = _root.pos.data.level11BestTime; } if (_root.pos.data.level12BestTime == undefined) { _root.level12BestTime = 60; } else { _root.level12BestTime = _root.pos.data.level12BestTime; } if (_root.pos.data.level13BestTime == undefined) { _root.level13BestTime = 60; } else { _root.level13BestTime = _root.pos.data.level13BestTime; } if (_root.pos.data.level14BestTime == undefined) { _root.level14BestTime = 60; } else { _root.level14BestTime = _root.pos.data.level14BestTime; } if (_root.pos.data.level15BestTime == undefined) { _root.level15BestTime = 60; } else { _root.level15BestTime = _root.pos.data.level15BestTime; } if (_root.pos.data.endlessEasyBestScore == undefined) { _root.endlessEasyBestScore = 0; } else { _root.endlessEasyBestScore = _root.pos.data.endlessEasyBestScore; } if (_root.pos.data.endlessHardBestScore == undefined) { _root.endlessHardBestScore = 0; } else { _root.endlessHardBestScore = _root.pos.data.endlessHardBestScore; } if (_root.pos.data.endlessMediumBestScore == undefined) { _root.endlessMediumBestScore = 0; } else { _root.endlessMediumBestScore = _root.pos.data.endlessMediumBestScore; } } movieClip 117 { } // unknown tag 88 length 40 movieClip 154 { } instance splashScreen of movieClip 154 { onClipEvent (release) { getURL('http://www.little-dragon.co.cc', '_blank'); } } frame 4 { musicPlayer = new Sound(_root.musicButton); musicPlayer.attachSound('music'); musicPlayer.start(0, 1000); musicPlayer.setVolume(10); } frame 5 { _root.pos = SharedObject.getLocal('game'); _root.pos.data.endlessUnlocked = _root.endlessUnlocked; stop(); _root.dummyScroller.dummyScrollerText.text = ' Welcome to Dummy Escape. Hover over a button and the Info will be displayed here'; dummycanScroll = true; _root.onEnterFrame = function () { if (dummycanScroll) { _root.dummyScroller._x += 4; } if (dummyScroller._x > 860) { _root.dummyScroller._x = -160; } }; } movieClip 157 { } movieClip 160 { } movieClip 163 { } movieClip 164 { frame 1 { stop(); } } instance startButton of movieClip 164 { onClipEvent (rollOver) { this.gotoAndStop(2); _root.dummyScroller.dummyScrollerText.text = 'In Arcade mode you have to complete 15 challenging levels'; } onClipEvent (rollOut) { this.gotoAndStop(1); _root.dummyScroller.dummyScrollerText.text = ' Welcome to Dummy Escape. Hover over a button and the Info will be displayed here'; } onClipEvent (release) { _root.gotoAndStop('levelSelect'); } } movieClip 167 { } movieClip 170 { } movieClip 173 { } movieClip 174 { frame 1 { stop(); } } instance of movieClip 174 { onClipEvent (load) { if (_root.endlessUnlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.endlessUnlocked == true) { this.gotoAndStop(3); _root.dummyScroller.dummyScrollerText.text = 'An unlimited supply of levels. Go for the highest score'; } else { _root.dummyScroller.dummyScrollerText.text = 'Finish Arcade mode to unlock'; } } onClipEvent (rollOut) { if (_root.endlessUnlocked == true) { this.gotoAndStop(2); _root.dummyScroller.dummyScrollerText.text = ' Welcome to Dummy Escape. Hover over a button and the Info will be displayed here'; } else { _root.dummyScroller.dummyScrollerText.text = ' Welcome to Dummy Escape. Hover over a button and the Info will be displayed here'; } } onClipEvent (release) { if (_root.endlessUnlocked == true) { _root.gotoAndStop('endlessSelect'); } } } movieClip 177 { } movieClip 180 { } movieClip 181 { frame 1 { stop(); } } instance of movieClip 181 { onClipEvent (rollOver) { this.gotoAndStop(2); _root.dummyScroller.dummyScrollerText.text = 'Visit the Help section for more detailed info'; } onClipEvent (rollOut) { this.gotoAndStop(1); _root.dummyScroller.dummyScrollerText.text = ' Welcome to Dummy Escape. Hover over a button and the Info will be displayed here'; } onClipEvent (release) { _root.gotoAndStop('help'); } } movieClip 186 { } movieClip 189 { } movieClip 192 { } movieClip 193 { frame 1 { stop(); } } instance of movieClip 193 { onClipEvent (rollOver) { this.gotoAndStop(2); _root.dummyScroller.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); _root.dummyScroller.gotoAndStop(1); _root.dummyScroller.dummyScrollerText.text = ' Welcome to Dummy Escape. Hover over a button and the Info will be displayed here'; } onClipEvent (release) { getURL('http://www.gamepirate.com', '_blank'); } } movieClip 196 { } movieClip 197 { } movieClip 200 { } movieClip 201 { } movieClip 202 { frame 1 { stop(); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } frame 6 { var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray2', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray3', _root.getNextHighestDepth()); _root.ray1.onEnterFrame = function () { ray1.filters = [filter_glow]; laser1._rotation += 24; laser2._rotation += 24; laser3._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser1._x, laser1._y); this.lineTo(laser2._x, laser2._y); }; _root.ray2.onEnterFrame = function () { ray2.filters = [filter_glow2]; this.clear(); this.lineStyle(5, 65280); this.moveTo(laser2._x, laser2._y); this.lineTo(laser3._x, laser3._y); }; _root.ray3.onEnterFrame = function () { ray3.filters = [filter_glow3]; this.clear(); this.lineStyle(5, 255); this.moveTo(laser3._x, laser3._y); this.lineTo(laser1._x, laser1._y); }; } movieClip 205 { } movieClip 211 { } movieClip 214 { } movieClip 215 { frame 1 { stop(); } } instance of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.gotoAndStop('menu'); _root.removeMovieClip(_root.ray1); _root.removeMovieClip(_root.ray2); _root.removeMovieClip(_root.ray3); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 32 { onClipEvent (release) { getURL('http://www.gamepirate.com', '_blank'); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } frame 7 { levelSelect = 0; } movieClip 223 { } movieClip 230 { } movieClip 237 { } movieClip 238 { frame 1 { stop(); } } instance of movieClip 238 { onClipEvent (load) { if (_root.level4Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level4Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level4BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level4Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level4Unlocked) { _root.gotoAndStop('level4'); } } } movieClip 245 { } movieClip 252 { } movieClip 253 { frame 1 { stop(); } } instance of movieClip 253 { onClipEvent (load) { if (_root.level3Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level3Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level3BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level3Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level3Unlocked) { _root.gotoAndStop('level3'); } } } movieClip 260 { } movieClip 267 { } movieClip 268 { frame 1 { stop(); } } instance of movieClip 268 { onClipEvent (load) { if (_root.level2Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level2Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level2BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level2Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level2Unlocked) { _root.gotoAndStop('level2'); } } } instance of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.gotoAndStop('menu'); } } movieClip 271 { } movieClip 278 { } movieClip 285 { } movieClip 286 { frame 1 { stop(); } } instance of movieClip 286 { onClipEvent (load) { if (_root.level5Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level5Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level5BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level5Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level5Unlocked) { _root.gotoAndStop('level5'); } } } movieClip 293 { } movieClip 300 { } movieClip 301 { frame 1 { stop(); } } instance of movieClip 301 { onClipEvent (load) { if (_root.level6Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level6Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level6BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level6Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level6Unlocked) { _root.gotoAndStop('level6'); } } } movieClip 308 { } movieClip 315 { } movieClip 316 { frame 1 { stop(); } } instance of movieClip 316 { onClipEvent (load) { if (_root.level7Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level7Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level7BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level7Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level7Unlocked) { _root.gotoAndStop('level7'); } } } movieClip 323 { } movieClip 330 { } movieClip 331 { frame 1 { stop(); } } instance of movieClip 331 { onClipEvent (load) { if (_root.level8Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level8Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level8BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level8Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level8Unlocked) { _root.gotoAndStop('level8'); } } } movieClip 338 { } movieClip 345 { } movieClip 346 { frame 1 { stop(); } } instance of movieClip 346 { onClipEvent (load) { if (_root.level10Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level10Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level10BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level10Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level10Unlocked) { _root.gotoAndStop('level10'); } } } movieClip 353 { } movieClip 360 { } movieClip 361 { frame 1 { stop(); } } instance of movieClip 361 { onClipEvent (load) { if (_root.level11Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level11Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level11BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level11Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level11Unlocked) { _root.gotoAndStop('level11'); } } } movieClip 368 { } movieClip 375 { } movieClip 376 { frame 1 { stop(); } } instance of movieClip 376 { onClipEvent (load) { if (_root.level12Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level12Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level12BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level12Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level12Unlocked) { _root.gotoAndStop('level12'); } } } movieClip 383 { } movieClip 390 { } movieClip 391 { frame 1 { stop(); } } instance of movieClip 391 { onClipEvent (load) { if (_root.level13Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level13Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level13BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level13Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level13Unlocked) { _root.gotoAndStop('level13'); } } } movieClip 398 { } movieClip 405 { } movieClip 406 { frame 1 { stop(); } } instance of movieClip 406 { onClipEvent (load) { if (_root.level14Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level14Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level14BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level14Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level14Unlocked) { _root.gotoAndStop('level14'); } } } movieClip 413 { } movieClip 420 { } movieClip 421 { frame 1 { stop(); } } instance of movieClip 421 { onClipEvent (load) { if (_root.level15Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level15Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level15BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level15Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level15Unlocked) { _root.gotoAndStop('level15'); } } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } movieClip 428 { } movieClip 435 { } movieClip 436 { frame 1 { stop(); } } instance of movieClip 436 { onClipEvent (rollOver) { this.gotoAndStop(2); _root.bestTime.text = _root.level1BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } onClipEvent (rollOut) { this.gotoAndStop(1); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } onClipEvent (release) { _root.levelSelect = 1; _root.gotoAndStop('level1'); } } movieClip 443 { } movieClip 450 { } movieClip 451 { frame 1 { stop(); } } instance of movieClip 451 { onClipEvent (load) { if (_root.level9Unlocked) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (rollOver) { if (_root.level9Unlocked) { this.gotoAndStop(3); _root.bestTime.text = _root.level9BestTime; _root.bestTimeText._x = 110; _root.bestTimeText._y = 284; } } onClipEvent (rollOut) { if (_root.level9Unlocked) { this.gotoAndStop(2); _root.bestTime.text = ''; _root.bestTimeText._x = -500; _root.bestTimeText._y = 284; } } onClipEvent (release) { if (_root.level9Unlocked) { _root.gotoAndStop('level9'); } } } movieClip 454 { } instance of movieClip 32 { onClipEvent (release) { getURL('http://www.gamepirate.com', '_blank'); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } frame 8 { function dummyRun() { _root.helpLevel1._x = -200; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); level1Time = 0; frameCounter = 0; laser_nodes = 2; gameStart = false; completed = false; target1Hit = false; target2Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.security1._x = 350; _root.security1._y = 200; _root.security2._x = 425; _root.security2._y = 150; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level1Time += 1; } if (_root.ray.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 140); target1Hit = false; } if (_root.ray.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 180); target2Hit = false; } if (target1Hit && target2Hit) { dummyRun(); _root.level2Unlocked = true; frameCounter = 0; if (_root.level1Time < _root.level1BestTime) { _root.level1BestTime = _root.level1Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level1BestTime = _root.level1BestTime; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } }; _root.createEmptyMovieClip('ray', _root.getNextHighestDepth()); ray.onEnterFrame = function () { rayPoint = _root.ray.height / 2 - _root.ray.width / 2; laser_1._rotation += 24; laser_2._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(_root.laser_1._x, _root.laser_1._y); x = 2; while (x <= laser_nodes) { this.lineTo(_root['laser_' + x]._x, _root['laser_' + x]._y); ++x; } }; x = 1; while (x <= laser_nodes) { node = _root.attachMovie('laser', 'laser_' + x, x, {'_x': Math.random() * 460 + 20, '_y': Math.random() * 310 + 20}); laser_1._x = 100; laser_1._y = 100; ray.filters = [filter_glow]; laser_2._x = 450; laser_2._y = 100; node.onPress = function () { if (completed == false) { _root.arrowHelp._x = -300; startDrag(this, false); } }; node.onRelease = function () { stopDrag(); }; node.onReleaseOutside = function () { stopDrag(); }; ++x; } } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance buttonNext of movieClip 97 buttonNext { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.gotoAndStop('level2'); } } movieClip 458 { } movieClip 461 { } movieClip 462 { frame 1 { stop(); } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } movieClip 467 { } movieClip 471 { } movieClip 473 { } frame 9 { function dummyRun() { if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level2Unlocked = _root.level2Unlocked; level2Time = 0; frameCounter = 0; gameStart = false; target2Hit = false; target3Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems2', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security3', _root.getNextHighestDepth()); _root.security2._x = 425; _root.security2._y = 225; _root.security3._x = 125; _root.security3._y = 225; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level2Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 280); target1Hit = false; } if (_root.ray2.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 65280); security2.lineTo(this._x, 105); target2Hit = false; } if (_root.ray3.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 255); security3.lineTo(this._x, 105); target3Hit = false; } if (target2Hit && target3Hit) { _root.level3Unlocked = true; frameCounter = 0; if (_root.level2Time < _root.level2BestTime) { _root.level2BestTime = _root.level2Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level2BestTime = _root.level2BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); laser_1._x = 275; laser_1._y = 50; laser_2._x = 425; laser_2._y = 250; laser_3._x = 125; laser_3._y = 250; _root.createEmptyMovieClip('ray2', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray3', _root.getNextHighestDepth()); ray2.filters = [filter_glow2]; ray3.filters = [filter_glow3]; _root.ray2.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; this.clear(); this.lineStyle(5, 65280); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_3._x, laser_3._y); }; _root.ray3.onEnterFrame = function () { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance buttonNext of movieClip 97 buttonNext { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.gotoAndStop('level3'); } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 10 { function dummyRun() { if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level3Unlocked = _root.level3Unlocked; level3Time = 0; frameCounter = 0; gameStart = false; completed = false; pipeHit = false; pipe2Hit = false; canHit = false; target1Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('pipe2', 'pipe1', _root.getNextHighestDepth()); _root.attachMovie('pipe1', 'pipe2', _root.getNextHighestDepth()); _root.security1._x = 475; _root.security1._y = 275; _root.pipe1._x = 86; _root.pipe1._y = 135; _root.pipe2._x = 246; _root.pipe2._y = 275; _root.pipe2._rotation += 180; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level3Time += 1; } if (_root.ray3.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 55); target1Hit = false; } if (_root.ray1.hitTest(_root.pipe1._x, _root.pipe1._y, true)) { pipeHit = true; } else { pipeHit = false; } if (canHit && _root.ray2.hitTest(_root.pipe2._x, _root.pipe2._y, true)) { pipe2Hit = true; } else { pipe2Hit = false; } if (target1Hit) { _root.level4Unlocked = true; frameCounter = 0; if (_root.level3Time < _root.level3BestTime) { _root.level3BestTime = _root.level3Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level3BestTime = _root.level3BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } var left1 = _root.pipe1._x; var top1 = +(_root.pipe1._height / 2); var right1 = _root.pipe1._x; var bottom1 = 330 - _root.pipe1._height / 2; var left2 = 50 + _root.pipe2._width / 2; var top2 = _root.pipe2._y; var right2 = 550 - _root.pipe2._width / 2; var bottom2 = _root.pipe2._y; _root.pipe1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.pipe1.onRelease = function () { stopDrag(); }; _root.pipe1.onReleaseOutside = function () { stopDrag(); }; _root.pipe2.onPress = function () { canHit = true; this.startDrag(false, left2, top2, right2, bottom2); }; _root.pipe2.onRelease = function () { stopDrag(); }; _root.pipe2.onReleaseOutside = function () { stopDrag(); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); laser_1._x = 25; laser_1._y = 25; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray2', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray3', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; ray2.filters = [filter_glow2]; ray3.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { if (pipeHit) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(pipe1._x, laser_1._y); } else { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(560, laser_1._y); } }; _root.ray2.onEnterFrame = function () { if (pipeHit) { this.clear(); this.lineStyle(5, 255); this.moveTo(pipe1._x, pipe1._y); this.lineTo(pipe1._x, 330); } else { this.clear(); } if (pipeHit && pipe2Hit) { this.clear(); this.lineStyle(5, 255); this.moveTo(pipe1._x, pipe1._y); this.lineTo(pipe1._x, pipe2._y); } }; _root.ray3.onEnterFrame = function () { if (pipe2Hit) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(pipe2._x, pipe2._y); this.lineTo(560, pipe2._y); } else { this.clear(); } }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.security1.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance buttonNext of movieClip 97 buttonNext { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.gotoAndStop('level4'); } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.security1.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 11 { function dummyRun() { if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level4Unlocked = _root.level4Unlocked; level4Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.security1._x = 200; _root.security1._y = 200; _root.security2._x = 350; _root.security2._y = 200; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level4Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 130); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 130); target2Hit = false; } if (target1Hit && target2Hit) { _root.level5Unlocked = true; frameCounter = 0; if (_root.level4Time < _root.level4BestTime) { _root.level4BestTime = _root.level4Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level4BestTime = _root.level4BestTime; dummyRun(); _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); laser_1._x = 150; laser_1._y = 200; laser_2._x = 400; laser_2._y = 125; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 0; laser_2._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance buttonNext of movieClip 97 buttonNext { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.gotoAndStop('level5'); } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 12 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level5Unlocked = _root.level5Unlocked; level5Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.security1._x = 275; _root.security1._y = 50; _root.security2._x = 275; _root.security2._y = 150; _root.security3._x = 325; _root.security3._y = 175; _root.security4._x = 375; _root.security4._y = 200; _root.security5._x = 200; _root.security5._y = 200; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level5Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 280); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 180); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 155); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 130); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 130); target5Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit) { _root.level6Unlocked = true; frameCounter = 0; if (_root.level5Time < _root.level5BestTime) { _root.level5BestTime = _root.level5Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level5BestTime = _root.level5BestTime; dummyRun(); _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.gotoAndStop('level6'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); laser_1._x = 50; laser_1._y = 50; laser_2._x = 350; laser_2._y = 50; laser_3._x = 160; laser_3._y = 100; laser_4._x = 350; laser_4._y = 150; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 0; laser_4._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_1._x, laser_1._y); }; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 13 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level6Unlocked = _root.level6Unlocked; level6Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems2', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems2', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems2', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems2', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security6', _root.getNextHighestDepth()); _root.security1._x = 206; _root.security1._y = 78; _root.security2._x = 250; _root.security2._y = 51; _root.security3._x = 292; _root.security3._y = 78; _root.security4._x = 192; _root.security4._y = 166; _root.security5._x = 244; _root.security5._y = 221; _root.security6._x = 299; _root.security6._y = 166; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level6Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true) || _root.ray2.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 65280); security1.lineTo(this._x, 252); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true) || _root.ray2.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 65280); security2.lineTo(this._x, 279); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true) || _root.ray2.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 65280); security3.lineTo(this._x, 252); target3Hit = false; } if (_root.ray3.hitTest(_root.security4._x, _root.security4._y, true) || _root.ray4.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 164); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true) || _root.ray2.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 65280); security5.lineTo(this._x, 109); target5Hit = false; } if (_root.ray3.hitTest(_root.security6._x, _root.security6._y, true) || _root.ray4.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 16711680); security6.lineTo(this._x, 164); target6Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit) { _root.level7Unlocked = true; frameCounter = 0; if (_root.level6Time < _root.level6BestTime) { _root.level6BestTime = _root.level6Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level6BestTime = _root.level6BestTime; dummyRun(); _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.gotoAndStop('level7'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); laser_1._x = 132; laser_1._y = 41; laser_2._x = 47; laser_2._y = 119; laser_3._x = 96; laser_3._y = 205; laser_4._x = 243; laser_4._y = 240; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray2', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray3', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray4', _root.getNextHighestDepth()); ray1.filters = [filter_glow2]; ray2.filters = [filter_glow2]; ray3.filters = [filter_glow]; ray4.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; this.clear(); this.lineStyle(5, 65280); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); }; _root.ray2.onEnterFrame = function () { this.clear(); this.lineStyle(5, 65280); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_4._x, laser_4._y); }; _root.ray3.onEnterFrame = function () { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); }; _root.ray4.onEnterFrame = function () { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); }; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 14 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level7Unlocked = _root.level7Unlocked; level7Time = 0; frameCounter = 0; gameStart = false; completed = false; pipeHit = false; pipe2Hit = false; pipe3Hit = false; canHit = false; target1Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('pipe2', 'pipe1', _root.getNextHighestDepth()); _root.attachMovie('pipe1', 'pipe2', _root.getNextHighestDepth()); _root.attachMovie('pipe1', 'pipe3', _root.getNextHighestDepth()); _root.security1._x = 275; _root.security1._y = 165; _root.pipe1._x = 275; _root.pipe1._y = 25; _root.pipe2._x = 510; _root.pipe2._y = 75; _root.pipe3._x = 450; _root.pipe3._y = 165; _root.pipe3._rotation += 90; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level7Time += 1; } if (_root.ray3.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 165); target1Hit = false; } if (_root.ray1.hitTest(_root.pipe1._x, _root.pipe1._y, true)) { pipeHit = true; } else { pipeHit = false; } if (_root.ray1.hitTest(_root.pipe2._x, _root.pipe2._y, true)) { pipe2Hit = true; } else { pipe2Hit = false; } if (_root.ray2.hitTest(_root.pipe3._x, _root.pipe3._y, true)) { pipe3Hit = true; } else { pipe3Hit = false; } if (target1Hit) { _root.level8Unlocked = true; frameCounter = 0; if (_root.level7Time < _root.level7BestTime) { _root.level7BestTime = _root.level7Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level7BestTime = _root.level7BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } var left1 = _root.pipe1._x; var top1 = +(_root.pipe1._height / 2); var right1 = _root.pipe1._x; var bottom1 = 150 - _root.pipe1._height / 2; var left2 = 290 + _root.pipe3._width / 2; var top2 = _root.pipe3._y; var right2 = 550 - _root.pipe3._width / 2; var bottom2 = _root.pipe3._y; var left3 = _root.pipe2._x; var right3 = _root.pipe2._x; _root.pipe1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.pipe1.onRelease = function () { stopDrag(); }; _root.pipe1.onReleaseOutside = function () { stopDrag(); }; _root.pipe2.onPress = function () { canHit = true; this.startDrag(false, left3, top1, right3, bottom1); }; _root.pipe2.onRelease = function () { stopDrag(); }; _root.pipe2.onReleaseOutside = function () { stopDrag(); }; _root.pipe3.onPress = function () { canHit = true; this.startDrag(false, left2, top2, right2, bottom2); }; _root.pipe3.onRelease = function () { stopDrag(); }; _root.pipe3.onReleaseOutside = function () { stopDrag(); }; _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.pipe3.removeMovieClip(); _root.gotoAndStop('level8'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); laser_1._x = 25; laser_1._y = 25; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray2', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray3', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; ray3.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { if (pipeHit) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(pipe1._x, laser_1._y); } else { if (pipe2Hit) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(pipe2._x, laser_1._y); } else { if (!pipe2Hit && !pipeHit) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(560, laser_1._y); } } } }; _root.ray2.onEnterFrame = function () { if (pipeHit) { ray2.filters = [filter_glow2]; } else { ray2.filters = [filter_glow]; } if (pipeHit) { this.clear(); this.lineStyle(5, 255); this.moveTo(pipe1._x, pipe1._y); this.lineTo(pipe1._x, 330); } else { if (pipe2Hit && !pipe3Hit) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(pipe2._x, pipe2._y); this.lineTo(pipe2._x, 330); } else { if (pipe3Hit && pipe2Hit) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(pipe2._x, pipe2._y); this.lineTo(pipe2._x, pipe3._y); } else { this.clear(); } } } }; _root.ray3.onEnterFrame = function () { if (pipe3Hit) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(pipe3._x, pipe3._y); this.lineTo(0, pipe3._y); } else { this.clear(); } }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.pipe3.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.pipe3.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 15 { function dummyRun() { if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level8Unlocked = _root.level8Unlocked; level8Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems2', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security3', _root.getNextHighestDepth()); _root.security1._x = 275; _root.security1._y = 50; _root.security2._x = 425; _root.security2._y = 225; _root.security3._x = 125; _root.security3._y = 225; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level8Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 280); target1Hit = false; } if (_root.ray2.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 65280); security2.lineTo(this._x, 105); target2Hit = false; } if (_root.ray3.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 255); security3.lineTo(this._x, 105); target3Hit = false; } if (target1Hit && target2Hit && target3Hit) { _root.level9Unlocked = true; frameCounter = 0; if (_root.level8Time < _root.level8BestTime) { _root.level8BestTime = _root.level8Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level8BestTime = _root.level8BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); laser_1._x = 125; laser_1._y = 50; laser_2._x = 425; laser_2._y = 50; laser_3._x = 275; laser_3._y = 225; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray2', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray3', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; ray2.filters = [filter_glow2]; ray3.filters = [filter_glow3]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); }; _root.ray2.onEnterFrame = function () { this.clear(); this.lineStyle(5, 65280); this.moveTo(laser_3._x, laser_3._y); this.lineTo(laser_1._x, laser_1._y); }; _root.ray3.onEnterFrame = function () { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance buttonNext of movieClip 97 buttonNext { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.gotoAndStop('level9'); } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 16 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level9Unlocked = _root.level9Unlocked; level9Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; target7Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security6', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security7', _root.getNextHighestDepth()); _root.security1._x = 243; _root.security1._y = 38; _root.security2._x = 194; _root.security2._y = 65; _root.security3._x = 375; _root.security3._y = 94; _root.security4._x = 343; _root.security4._y = 174; _root.security5._x = 84; _root.security5._y = 186; _root.security6._x = 135; _root.security6._y = 232; _root.security7._x = 404; _root.security7._y = 232; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level9Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 292); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 265); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 236); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 156); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 144); target5Hit = false; } if (_root.ray1.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 16711680); security6.lineTo(this._x, 98); target6Hit = false; } if (_root.ray1.hitTest(_root.security7._x, _root.security7._y, true)) { _root.security7._alpha = 60; _root.security7.clear(); target7Hit = true; } else { _root.security7._alpha = 100; security7.lineStyle(3, 16711680); security7.lineTo(this._x, 98); target7Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit && target7Hit) { _root.level10Unlocked = true; frameCounter = 0; if (_root.level9Time < _root.level9BestTime) { _root.level9BestTime = _root.level9Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level9BestTime = _root.level9BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('level10'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); laser_1._x = 81; laser_1._y = 108; laser_2._x = 43; laser_2._y = 73; laser_3._x = 43; laser_3._y = 145; laser_4._x = 121; laser_4._y = 145; laser_5._x = 121; laser_5._y = 73; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_5._x, laser_5._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_1._x, laser_1._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 17 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level10Unlocked = _root.level10Unlocked; level10Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems3', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems2', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems2', 'security6', _root.getNextHighestDepth()); _root.security1._x = 105; _root.security1._y = 58; _root.security2._x = 257; _root.security2._y = 57; _root.security3._x = 427; _root.security3._y = 61; _root.security4._x = 106; _root.security4._y = 181; _root.security5._x = 260; _root.security5._y = 178; _root.security6._x = 426; _root.security6._y = 178; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level10Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true) || _root.ray3.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 255); security1.lineTo(this._x, 272); target1Hit = false; } if (_root.ray5.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 273); target2Hit = false; } if (_root.ray5.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 269); target3Hit = false; } if (_root.ray2.hitTest(_root.security4._x, _root.security4._y, true) || _root.ray4.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 65280); security4.lineTo(this._x, 149); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true) || _root.ray3.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 255); security5.lineTo(this._x, 152); target5Hit = false; } if (_root.ray2.hitTest(_root.security6._x, _root.security6._y, true) || _root.ray4.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 65280); security6.lineTo(this._x, 152); target6Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit) { _root.level11Unlocked = true; frameCounter = 0; if (_root.level10Time < _root.level10BestTime) { _root.level10BestTime = _root.level10Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level10BestTime = _root.level10BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.ray5.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('level11'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); laser_1._x = 58; laser_1._y = 210; laser_2._x = 146; laser_2._y = 226; laser_3._x = 257; laser_3._y = 236; laser_4._x = 364; laser_4._y = 222; laser_5._x = 459; laser_5._y = 236; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray2', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray3', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray4', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray5', _root.getNextHighestDepth()); ray1.filters = [filter_glow3]; ray2.filters = [filter_glow2]; ray3.filters = [filter_glow3]; ray4.filters = [filter_glow2]; ray5.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; this.clear(); this.lineStyle(5, 255); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); }; _root.ray2.onEnterFrame = function () { this.clear(); this.lineStyle(5, 65280); this.moveTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); }; _root.ray3.onEnterFrame = function () { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); }; _root.ray4.onEnterFrame = function () { this.clear(); this.lineStyle(5, 65280); this.moveTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); }; _root.ray5.onEnterFrame = function () { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_5._x, laser_5._y); this.lineTo(laser_1._x, laser_1._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.ray5.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.ray5.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 18 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level11Unlocked = _root.level11Unlocked; level11Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; target7Hit = false; target8Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security6', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security7', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security8', _root.getNextHighestDepth()); _root.security1._x = 111; _root.security1._y = 29; _root.security2._x = 145; _root.security2._y = 61; _root.security3._x = 205; _root.security3._y = 80; _root.security4._x = 177; _root.security4._y = 129; _root.security5._x = 255; _root.security5._y = 138; _root.security6._x = 292; _root.security6._y = 176; _root.security7._x = 177; _root.security7._y = 203; _root.security8._x = 165; _root.security8._y = 267; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level11Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 301); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 269); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 250); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 201); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 192); target5Hit = false; } if (_root.ray1.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 16711680); security6.lineTo(this._x, 154); target6Hit = false; } if (_root.ray1.hitTest(_root.security7._x, _root.security7._y, true)) { _root.security7._alpha = 60; _root.security7.clear(); target7Hit = true; } else { _root.security7._alpha = 100; security7.lineStyle(3, 16711680); security7.lineTo(this._x, 127); target7Hit = false; } if (_root.ray1.hitTest(_root.security8._x, _root.security8._y, true)) { _root.security8._alpha = 60; _root.security8.clear(); target8Hit = true; } else { _root.security8._alpha = 100; security8.lineStyle(3, 16711680); security8.lineTo(this._x, 63); target8Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit && target7Hit && target8Hit) { _root.level12Unlocked = true; frameCounter = 0; if (_root.level11Time < _root.level11BestTime) { _root.level11BestTime = _root.level11Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level11BestTime = _root.level11BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('level12'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_6', _root.getNextHighestDepth()); laser_1._x = 87; laser_1._y = 129; laser_2._x = 65; laser_2._y = 202; laser_3._x = 20; laser_3._y = 184; laser_4._x = 458; laser_4._y = 184; laser_5._x = 389; laser_5._y = 194; laser_6._x = 292; laser_6._y = 262; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; laser_6._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); this.lineTo(laser_6._x, laser_6._y); this.lineTo(laser_1._x, laser_1._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; _root.laser_6.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_6.onRelease = function () { stopDrag(); }; _root.laser_6.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.ray5.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.ray5.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 19 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level12Unlocked = _root.level12Unlocked; level12Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; target7Hit = false; canDragLasers = false; canDragLasers2 = false; pipe1Hit = false; pipe2Hit = false; pipe3Hit = false; pipe4Hit = false; pipe1Hit2 = false; pipe2Hit2 = false; pipe3Hit2 = false; pipe4Hit2 = false; pipe1Hit3 = false; pipe2Hit3 = false; pipe3Hit3 = false; pipe4Hit3 = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security6', _root.getNextHighestDepth()); _root.attachMovie('securitySystems3', 'security7', _root.getNextHighestDepth()); _root.attachMovie('pipe1', 'pipe1', _root.getNextHighestDepth()); _root.attachMovie('pipe2', 'pipe2', _root.getNextHighestDepth()); _root.attachMovie('pipe1', 'pipe3', _root.getNextHighestDepth()); _root.attachMovie('pipe2', 'pipe4', _root.getNextHighestDepth()); _root.security1._x = 56; _root.security1._y = 201; _root.security2._x = 131; _root.security2._y = 163; _root.security3._x = 281; _root.security3._y = 168; _root.security4._x = 406; _root.security4._y = 169; _root.security5._x = 152; _root.security5._y = 226; _root.security6._x = 252; _root.security6._y = 225; _root.security7._x = 321; _root.security7._y = 205; _root.pipe1._x = 36; _root.pipe1._y = 60; _root.pipe1._rotation = -90; _root.pipe2._x = 72; _root.pipe2._y = 60; _root.pipe2._rotation = -90; _root.pipe3._x = 524; _root.pipe3._y = 221; _root.pipe3._rotation = 90; _root.pipe4._x = 494; _root.pipe4._y = 221; _root.pipe4._rotation = 90; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level12Time += 1; } if (_root.ray2.hitTest(_root.security1._x, _root.security1._y, true) || _root.ray4.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { if (pipe3Hit3 && _root.ray3.hitTest(_root.security1._x, _root.security1._y, true) || pipe1Hit3 && _root.ray6.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 129); target1Hit = false; } } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true) || _root.ray5.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; security2.clear(); target2Hit = true; } else { if (pipe4Hit3 && _root.ray3.hitTest(_root.security2._x, _root.security2._y, true) || pipe2Hit3 && _root.ray6.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 255); security2.lineTo(this._x, 167); target2Hit = false; } } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true) || _root.ray5.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; security3.clear(); target3Hit = true; } else { if (pipe4Hit3 && _root.ray3.hitTest(_root.security3._x, _root.security3._y, true) || pipe2Hit3 && _root.ray6.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 255); security3.lineTo(this._x, 162); target3Hit = false; } } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true) || _root.ray5.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; security4.clear(); target4Hit = true; } else { if (pipe4Hit3 && _root.ray3.hitTest(_root.security4._x, _root.security4._y, true) || pipe2Hit3 && _root.ray6.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 255); security4.lineTo(this._x, 161); target4Hit = false; } } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true) || _root.ray5.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; security5.clear(); target5Hit = true; } else { if (pipe4Hit3 && _root.ray3.hitTest(_root.security5._x, _root.security5._y, true) || pipe2Hit3 && _root.ray6.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 255); security5.lineTo(this._x, 104); target5Hit = false; } } if (_root.ray1.hitTest(_root.security6._x, _root.security6._y, true) || _root.ray5.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; security6.clear(); target6Hit = true; } else { if (pipe4Hit3 && _root.ray3.hitTest(_root.security6._x, _root.security6._y, true) || pipe2Hit3 && _root.ray6.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 255); security6.lineTo(this._x, 105); target6Hit = false; } } if (_root.ray1.hitTest(_root.security7._x, _root.security7._y, true) || _root.ray5.hitTest(_root.security7._x, _root.security7._y, true)) { _root.security7._alpha = 60; security7.clear(); target7Hit = true; } else { if (pipe4Hit3 && _root.ray3.hitTest(_root.security7._x, _root.security7._y, true) || pipe2Hit3 && _root.ray6.hitTest(_root.security7._x, _root.security7._y, true)) { _root.security7._alpha = 60; security7.clear(); target7Hit = true; } else { _root.security7._alpha = 100; security7.lineStyle(3, 255); security7.lineTo(this._x, 125); target7Hit = false; } } if (_root.ray3.hitTest(_root.pipe4._x, _root.pipe4._y, true)) { pipe4Hit2 = true; } if (_root.ray3.hitTest(_root.pipe3._x, _root.pipe3._y, true)) { pipe3Hit2 = true; } if (_root.ray6.hitTest(_root.pipe1._x, _root.pipe1._y, true)) { pipe1Hit2 = true; } if (_root.ray6.hitTest(_root.pipe2._x, _root.pipe2._y, true)) { pipe2Hit2 = true; } if (canDragLasers && canDragLasers2) { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; laser_6._rotation += 24; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit && target7Hit) { _root.level13Unlocked = true; frameCounter = 0; if (_root.level12Time < _root.level12BestTime) { _root.level12BestTime = _root.level12Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level12BestTime = _root.level12BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.pipe1.onRelease = function () { if (pipe1Hit == false) { _root.pipe2.removeMovieClip(); _root.pipe1._x = 36; _root.pipe1._y = 35; _root.pipe1Hit = true; } else { this.removeMovieClip(); _root.pipe1Hit3 = true; _root.level12Help._x = 600; } }; _root.pipe2.onRelease = function () { if (pipe2Hit == false) { _root.pipe1.removeMovieClip(); _root.pipe2._x = 36; _root.pipe2._y = 35; _root.pipe2Hit = true; } else { this.removeMovieClip(); _root.pipe2Hit3 = true; _root.level12Help._x = 600; } }; _root.pipe3.onRelease = function () { if (pipe3Hit == false) { _root.pipe4.removeMovieClip(); _root.pipe3._x = 524; _root.pipe3._y = 251; _root.pipe3Hit = true; } else { this.removeMovieClip(); _root.pipe3Hit3 = true; _root.level12Help._x = 600; } }; _root.pipe4.onRelease = function () { if (pipe4Hit == false) { _root.pipe3.removeMovieClip(); _root.pipe4._x = 524; _root.pipe4._y = 251; _root.pipe4Hit = true; } else { this.removeMovieClip(); _root.pipe4Hit3 = true; _root.level12Help._x = 600; } }; _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.ray5.removeMovieClip(); _root.ray6.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.pipe3.removeMovieClip(); _root.pipe4.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('level13'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_6', _root.getNextHighestDepth()); laser_1._x = 36; laser_1._y = 165; laser_2._x = 36; laser_2._y = 251; laser_3._x = 115; laser_3._y = 251; laser_4._x = 524; laser_4._y = 95; laser_5._x = 524; laser_5._y = 33; laser_6._x = 444; laser_6._y = 33; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray2', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray3', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray4', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray5', _root.getNextHighestDepth()); _root.createEmptyMovieClip('ray6', _root.getNextHighestDepth()); ray1.filters = [filter_glow2]; ray2.filters = [filter_glow]; ray3.filters = [filter_glow2]; ray4.filters = [filter_glow]; ray5.filters = [filter_glow2]; ray6.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); }; _root.ray2.onEnterFrame = function () { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); }; _root.ray3.onEnterFrame = function () { if (pipe4Hit2 && !pipe4Hit3) { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_3._x, laser_3._y); this.lineTo(pipe4._x, laser_3._y); this.lineTo(pipe4._x, laser_4._y); } else { if (pipe4Hit2 && pipe4Hit3) { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); _root.canDragLasers = true; } else { if (pipe3Hit2 && !pipe3Hit3) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_3._x, laser_3._y); this.lineTo(pipe3._x, laser_3._y); this.lineTo(pipe3._x, laser_4._y); _root.ray3.filters = [filter_glow]; } else { if (pipe3Hit2 && pipe3Hit3) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); _root.ray3.filters = [filter_glow]; _root.canDragLasers = true; } else { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_3._x, laser_3._y); this.lineTo(560, laser_3._y); } } } } }; _root.ray4.onEnterFrame = function () { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); }; _root.ray5.onEnterFrame = function () { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_5._x, laser_5._y); this.lineTo(laser_6._x, laser_6._y); }; _root.ray6.onEnterFrame = function () { if (pipe1Hit2 && !pipe1Hit3) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_6._x, laser_6._y); this.lineTo(pipe1._x, laser_6._y); this.lineTo(pipe1._x, laser_1._y); } else { if (pipe1Hit2 && pipe1Hit3) { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_6._x, laser_6._y); this.lineTo(laser_1._x, laser_1._y); _root.canDragLasers2 = true; } else { if (pipe2Hit2 && !pipe2Hit3) { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_6._x, laser_6._y); this.lineTo(pipe2._x, laser_6._y); this.lineTo(pipe2._x, laser_1._y); _root.ray6.filters = [filter_glow2]; } else { if (pipe2Hit2 && pipe2Hit3) { this.clear(); this.lineStyle(5, 255); this.moveTo(laser_6._x, laser_6._y); this.lineTo(laser_1._x, laser_1._y); _root.ray6.filters = [filter_glow2]; _root.canDragLasers2 = true; } else { this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_6._x, laser_6._y); this.lineTo(0, laser_6._y); } } } } }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { if (canDragLasers && canDragLasers2) { this.startDrag(false, left1, top1, right1, bottom1); } }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { if (canDragLasers && canDragLasers2) { this.startDrag(false, left1, top1, right1, bottom1); } }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { if (canDragLasers && canDragLasers2) { this.startDrag(false, left1, top1, right1, bottom1); } }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { if (canDragLasers && canDragLasers2) { this.startDrag(false, left1, top1, right1, bottom1); } }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { if (canDragLasers && canDragLasers2) { this.startDrag(false, left1, top1, right1, bottom1); } }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; _root.laser_6.onPress = function () { if (canDragLasers && canDragLasers2) { this.startDrag(false, left1, top1, right1, bottom1); } }; _root.laser_6.onRelease = function () { stopDrag(); }; _root.laser_6.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.ray5.removeMovieClip(); _root.ray6.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.pipe3.removeMovieClip(); _root.pipe4.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.ray2.removeMovieClip(); _root.ray3.removeMovieClip(); _root.ray4.removeMovieClip(); _root.ray5.removeMovieClip(); _root.ray6.removeMovieClip(); _root.pipe1.removeMovieClip(); _root.pipe2.removeMovieClip(); _root.pipe3.removeMovieClip(); _root.pipe4.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 20 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level13Unlocked = _root.level13Unlocked; level13Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; target7Hit = false; target8Hit = false; target9Hit = false; target10Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security6', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security7', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security8', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security9', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security10', _root.getNextHighestDepth()); _root.security1._x = 116; _root.security1._y = 76; _root.security2._x = 319; _root.security2._y = 58; _root.security3._x = 195; _root.security3._y = 89; _root.security4._x = 117; _root.security4._y = 125; _root.security5._x = 329; _root.security5._y = 99; _root.security6._x = 321; _root.security6._y = 192; _root.security7._x = 266; _root.security7._y = 242; _root.security8._x = 114; _root.security8._y = 261; _root.security9._x = 223; _root.security9._y = 263; _root.security10._x = 385; _root.security10._y = 268; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level13Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 254); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 272); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 241); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 205); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 231); target5Hit = false; } if (_root.ray1.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 16711680); security6.lineTo(this._x, 138); target6Hit = false; } if (_root.ray1.hitTest(_root.security7._x, _root.security7._y, true)) { _root.security7._alpha = 60; _root.security7.clear(); target7Hit = true; } else { _root.security7._alpha = 100; security7.lineStyle(3, 16711680); security7.lineTo(this._x, 88); target7Hit = false; } if (_root.ray1.hitTest(_root.security8._x, _root.security8._y, true)) { _root.security8._alpha = 60; _root.security8.clear(); target8Hit = true; } else { _root.security8._alpha = 100; security8.lineStyle(3, 16711680); security8.lineTo(this._x, 69); target8Hit = false; } if (_root.ray1.hitTest(_root.security9._x, _root.security9._y, true)) { _root.security9._alpha = 60; _root.security9.clear(); target9Hit = true; } else { _root.security9._alpha = 100; security9.lineStyle(3, 16711680); security9.lineTo(this._x, 67); target9Hit = false; } if (_root.ray1.hitTest(_root.security10._x, _root.security10._y, true)) { _root.security10._alpha = 60; _root.security10.clear(); target10Hit = true; } else { _root.security10._alpha = 100; security10.lineStyle(3, 16711680); security10.lineTo(this._x, 62); target10Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit && target7Hit && target8Hit && target9Hit && target10Hit) { _root.level14Unlocked = true; frameCounter = 0; if (_root.level13Time < _root.level13BestTime) { _root.level13BestTime = _root.level13Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level13BestTime = _root.level13BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('level14'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_6', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_7', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_8', _root.getNextHighestDepth()); laser_1._x = 189; laser_1._y = 50; laser_2._x = 35; laser_2._y = 116; laser_3._x = 468; laser_3._y = 69; laser_4._x = 199; laser_4._y = 129; laser_5._x = 200; laser_5._y = 200; laser_6._x = 36; laser_6._y = 256; laser_7._x = 334; laser_7._y = 271; laser_8._x = 270; laser_8._y = 300; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; laser_6._rotation += 24; laser_7._rotation += 24; laser_8._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); this.lineTo(laser_6._x, laser_6._y); this.lineTo(laser_7._x, laser_7._y); this.lineTo(laser_8._x, laser_8._y); this.lineTo(laser_1._x, laser_1._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; _root.laser_6.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_6.onRelease = function () { stopDrag(); }; _root.laser_6.onReleaseOutside = function () { stopDrag(); }; _root.laser_7.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_7.onRelease = function () { stopDrag(); }; _root.laser_7.onReleaseOutside = function () { stopDrag(); }; _root.laser_8.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_8.onRelease = function () { stopDrag(); }; _root.laser_8.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 21 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level14Unlocked = _root.level14Unlocked; level14Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; target7Hit = false; target8Hit = false; target9Hit = false; target10Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security6', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security7', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security8', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security9', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security10', _root.getNextHighestDepth()); _root.security1._x = 344; _root.security1._y = 23; _root.security2._x = 391; _root.security2._y = 65; _root.security3._x = 198; _root.security3._y = 84; _root.security4._x = 149; _root.security4._y = 158; _root.security5._x = 309; _root.security5._y = 153; _root.security6._x = 324; _root.security6._y = 186; _root.security7._x = 100; _root.security7._y = 220; _root.security8._x = 245; _root.security8._y = 237; _root.security9._x = 352; _root.security9._y = 253; _root.security10._x = 118; _root.security10._y = 285; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level14Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 307); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 265); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 246); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 172); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 177); target5Hit = false; } if (_root.ray1.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 16711680); security6.lineTo(this._x, 144); target6Hit = false; } if (_root.ray1.hitTest(_root.security7._x, _root.security7._y, true)) { _root.security7._alpha = 60; _root.security7.clear(); target7Hit = true; } else { _root.security7._alpha = 100; security7.lineStyle(3, 16711680); security7.lineTo(this._x, 110); target7Hit = false; } if (_root.ray1.hitTest(_root.security8._x, _root.security8._y, true)) { _root.security8._alpha = 60; _root.security8.clear(); target8Hit = true; } else { _root.security8._alpha = 100; security8.lineStyle(3, 16711680); security8.lineTo(this._x, 93); target8Hit = false; } if (_root.ray1.hitTest(_root.security9._x, _root.security9._y, true)) { _root.security9._alpha = 60; _root.security9.clear(); target9Hit = true; } else { _root.security9._alpha = 100; security9.lineStyle(3, 16711680); security9.lineTo(this._x, 77); target9Hit = false; } if (_root.ray1.hitTest(_root.security10._x, _root.security10._y, true)) { _root.security10._alpha = 60; _root.security10.clear(); target10Hit = true; } else { _root.security10._alpha = 100; security10.lineStyle(3, 16711680); security10.lineTo(this._x, 45); target10Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit && target7Hit && target8Hit && target9Hit && target10Hit) { _root.level15Unlocked = true; frameCounter = 0; if (_root.level14Time < _root.level14BestTime) { _root.level14BestTime = _root.level14Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level14BestTime = _root.level14BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('level15'); }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_6', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_7', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_8', _root.getNextHighestDepth()); laser_1._x = 240; laser_1._y = 36; laser_2._x = 159; laser_2._y = 209; laser_3._x = 400; laser_3._y = 208; laser_4._x = 400; laser_4._y = 150; laser_5._x = 215; laser_5._y = 164; laser_6._x = 72; laser_6._y = 149; laser_7._x = 281; laser_7._y = 305; laser_8._x = 38; laser_8._y = 232; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; laser_6._rotation += 24; laser_7._rotation += 24; laser_8._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); this.lineTo(laser_6._x, laser_6._y); this.lineTo(laser_7._x, laser_7._y); this.lineTo(laser_8._x, laser_8._y); this.lineTo(laser_1._x, laser_1._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; _root.laser_6.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_6.onRelease = function () { stopDrag(); }; _root.laser_6.onReleaseOutside = function () { stopDrag(); }; _root.laser_7.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_7.onRelease = function () { stopDrag(); }; _root.laser_7.onReleaseOutside = function () { stopDrag(); }; _root.laser_8.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_8.onRelease = function () { stopDrag(); }; _root.laser_8.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } frame 22 { function dummyRun() { _root.attachMovie('buttonNext', 'buttonNext', _root.getNextHighestDepth()); _root.buttonNext._x = 560; if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } _root.dummyChar.gotoAndPlay(17); dummyRun = null; } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level15Unlocked = _root.level15Unlocked; level15Time = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; target7Hit = false; target8Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security6', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security7', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security8', _root.getNextHighestDepth()); _root.security1._x = 484.25; _root.security1._y = 297.75; _root.security2._x = 72.65000000000001; _root.security2._y = 139.85; _root.security3._x = 409.75; _root.security3._y = 219.85; _root.security4._x = 141.45; _root.security4._y = 59.1; _root.security5._x = 88.45; _root.security5._y = 265.1; _root.security6._x = 521.6; _root.security6._y = 196.35; _root.security7._x = 342.2; _root.security7._y = 75.25; _root.security8._x = 354.2; _root.security8._y = 188.55; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; level15Time += 1; } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 330 - security1._y); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 330 - security2._y); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 330 - security3._y); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 330 - security4._y); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 330 - security5._y); target5Hit = false; } if (_root.ray1.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 16711680); security6.lineTo(this._x, 330 - security6._y); target6Hit = false; } if (_root.ray1.hitTest(_root.security7._x, _root.security7._y, true)) { _root.security7._alpha = 60; _root.security7.clear(); target7Hit = true; } else { _root.security7._alpha = 100; security7.lineStyle(3, 16711680); security7.lineTo(this._x, 330 - security7._y); target7Hit = false; } if (_root.ray1.hitTest(_root.security8._x, _root.security8._y, true)) { _root.security8._alpha = 60; _root.security8.clear(); target8Hit = true; } else { _root.security8._alpha = 100; security8.lineStyle(3, 16711680); security8.lineTo(this._x, 330 - security8._y); target8Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit && target7Hit && target8Hit) { _root.level15Unlocked = true; frameCounter = 0; if (_root.level15Time < _root.level15BestTime) { _root.level15BestTime = _root.level15Time; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.level15BestTime = _root.level15BestTime; dummyRun(); _root.helpLevel2._x = -300; _root.dummyChar._x += 6; _root.buttonNext._x -= 8; _root.buttonNext._y = 150; completed = true; stopDrag(); if (_root.buttonNext._x <= 200) { _root.buttonNext._x = 200; } } _root.buttonNext.onRollOver = function () { this.gotoAndStop(2); }; _root.buttonNext.onRollOut = function () { this.gotoAndStop(1); }; _root.buttonNext.onRelease = function () { _root.ray1.removeMovieClip(); this.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('menu'); _root.endlessUnlocked = true; _root.completeArcade = true; }; }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_6', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_7', _root.getNextHighestDepth()); laser_1._x = 240; laser_1._y = 36; laser_2._x = 159; laser_2._y = 209; laser_3._x = 400; laser_3._y = 208; laser_4._x = 400; laser_4._y = 150; laser_5._x = 215; laser_5._y = 164; laser_6._x = 72; laser_6._y = 149; laser_7._x = 182; laser_7._y = 207; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; laser_6._rotation += 24; laser_7._rotation += 24; laser_8._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); this.lineTo(laser_6._x, laser_6._y); this.lineTo(laser_7._x, laser_7._y); this.lineTo(laser_1._x, laser_1._y); }; var left1 = 0; var top1 = 0; var right1 = 550; var bottom1 = 330; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; var left3 = 0; var top3 = 0; var right3 = 550; var bottom3 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left1, top1, right1, bottom1); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; _root.laser_6.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_6.onRelease = function () { stopDrag(); }; _root.laser_6.onReleaseOutside = function () { stopDrag(); }; _root.laser_7.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_7.onRelease = function () { stopDrag(); }; _root.laser_7.onReleaseOutside = function () { stopDrag(); }; _root.laser_8.onPress = function () { this.startDrag(false, left3, top3, right3, bottom3); }; _root.laser_8.onRelease = function () { stopDrag(); }; _root.laser_8.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.laser_7.removeMovieClip(); _root.laser_8.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.security8.removeMovieClip(); _root.security9.removeMovieClip(); _root.security10.removeMovieClip(); _root.gotoAndStop('levelSelect'); } } movieClip 493 { } frame 23 { stop(); _root.dummyScroller.dummyScrollerText.text = 'Easy - 5 Security systems and 4 user lasers Medium - 6 Security systems and 5 user lasers\tHard - 7 Security systems and 6 user lasers'; dummycanScroll = true; _root.onEnterFrame = function () { if (dummycanScroll) { _root.dummyScroller._x += 4; } if (dummyScroller._x > 860) { _root.dummyScroller._x = -160; } }; } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } movieClip 496 { } movieClip 499 { } movieClip 502 { } movieClip 503 { frame 1 { stop(); } } instance of movieClip 503 { onClipEvent (rollOver) { this.gotoAndStop(2); _root.dummyScroller.dummyScrollerText.text = 'Your current Best Score on Hard is: ' + _root.endlessHardBestScore; } onClipEvent (rollOut) { this.gotoAndStop(1); _root.dummyScroller.dummyScrollerText.text = 'Easy - 5 Security systems and 4 user lasers Medium - 6 Security systems and 5 user lasers Hard - 7 Security systems and 6 user lasers'; } onClipEvent (release) { _root.gotoAndStop('endlessHard'); } } movieClip 506 { } movieClip 509 { } movieClip 510 { frame 1 { stop(); } } instance of movieClip 510 { onClipEvent (rollOver) { this.gotoAndStop(2); _root.dummyScroller.dummyScrollerText.text = 'Your current Best Score on Medium is: ' + _root.endlessMediumBestScore; } onClipEvent (rollOut) { this.gotoAndStop(1); _root.dummyScroller.dummyScrollerText.text = 'Easy - 5 Security systems and 4 user lasers Medium - 6 Security systems and 5 user lasers Hard - 7 Security systems and 6 user lasers'; } onClipEvent (release) { _root.gotoAndStop('endlessMedium'); } } movieClip 513 { } movieClip 516 { } movieClip 517 { frame 1 { stop(); } } instance of movieClip 517 { onClipEvent (rollOver) { this.gotoAndStop(2); _root.dummyScroller.dummyScrollerText.text = 'Your current Best Score on Easy is: ' + _root.endlessEasyBestScore; } onClipEvent (rollOut) { this.gotoAndStop(1); _root.dummyScroller.dummyScrollerText.text = 'Easy - 5 Security systems and 4 user lasers Medium - 6 Security systems and 5 user lasers Hard - 7 Security systems and 6 user lasers'; } onClipEvent (release) { _root.gotoAndStop('endlessEasy'); } } instance of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.gotoAndStop('menu'); } } instance of movieClip 32 { onClipEvent (release) { getURL('http://www.gamepirate.com', '_blank'); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } frame 24 { function dummyRun() { if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); _root.pos = SharedObject.getLocal('game'); _root.pos.data.level5Unlocked = _root.level5Unlocked; endlessEasyTime = 60; endlessEasyScore = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.security1._x = Math.random() * 520 + 15; _root.security1._y = Math.random() * 300 + 15; _root.security2._x = Math.random() * 520 + 15; _root.security2._y = Math.random() * 300 + 15; _root.security3._x = Math.random() * 520 + 15; _root.security3._y = Math.random() * 300 + 15; _root.security4._x = Math.random() * 520 + 15; _root.security4._y = Math.random() * 300 + 15; _root.security5._x = Math.random() * 520 + 15; _root.security5._y = Math.random() * 300 + 15; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; endlessEasyTime -= 1; } if (_root.endlessEasyTime <= 0) { _root.endlessEasyTime = 0; _root.finalScoreText.text = 'Score:' + _root.endlessEasyScore; _root.timeUp._x = 198.5; gamePirateBtn._x = 188.5; _root.levelsButton._x = 199.5; _root.levelsButton._y = 200; _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 330 - _root.security1._y); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 330 - _root.security2._y); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 330 - _root.security3._y); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 330 - _root.security4._y); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 330 - _root.security5._y); target5Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit) { _root.endlessEasyScore += 1; frameCounter = 0; _root.endlessEasyTime = 60; if (_root.endlessEasyScore > _root.endlessEasyBestScore) { _root.endlessEasyBestScore = _root.endlessEasyScore; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.endlessEasyBestScore = _root.endlessEasyBestScore; _root.security1._x = Math.random() * 520 + 15; _root.security1._y = Math.random() * 300 + 15; _root.security2._x = Math.random() * 520 + 15; _root.security2._y = Math.random() * 300 + 15; _root.security3._x = Math.random() * 520 + 15; _root.security3._y = Math.random() * 300 + 15; _root.security4._x = Math.random() * 520 + 15; _root.security4._y = Math.random() * 300 + 15; _root.security5._x = Math.random() * 520 + 15; _root.security5._y = Math.random() * 300 + 15; } }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); laser_1._x = Math.random() * 520 + 15; laser_1._y = Math.random() * 300 + 15; laser_2._x = Math.random() * 520 + 15; laser_2._y = Math.random() * 300 + 15; laser_3._x = Math.random() * 520 + 15; laser_3._y = Math.random() * 300 + 15; laser_4._x = Math.random() * 520 + 15; laser_4._y = Math.random() * 300 + 15; laser_5._x = Math.random() * 520 + 15; laser_5._y = Math.random() * 300 + 15; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); this.lineTo(laser_1._x, laser_1._y); }; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance levelsButton of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.gotoAndStop('endlessSelect'); } } movieClip 521 { } instance gamePirateBtn of movieClip 32 { onClipEvent (release) { getURL('http://www.gamepirate.com', '_blank'); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } frame 25 { function dummyRun() { if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); endlessNormalTime = 60; endlessNormalScore = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security6', _root.getNextHighestDepth()); _root.security1._x = Math.random() * 520 + 15; _root.security1._y = Math.random() * 300 + 15; _root.security2._x = Math.random() * 520 + 15; _root.security2._y = Math.random() * 300 + 15; _root.security3._x = Math.random() * 520 + 15; _root.security3._y = Math.random() * 300 + 15; _root.security4._x = Math.random() * 520 + 15; _root.security4._y = Math.random() * 300 + 15; _root.security5._x = Math.random() * 520 + 15; _root.security5._y = Math.random() * 300 + 15; _root.security6._x = Math.random() * 520 + 15; _root.security6._y = Math.random() * 300 + 15; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; endlessNormalTime -= 1; } if (_root.endlessNormalTime <= 0) { _root.endlessNormalTime = 0; _root.finalScoreText.text = 'Score:' + _root.endlessNormalScore; _root.timeUp._x = 198.5; _root.levelsButton._x = 199.5; _root.levelsButton._y = 200; _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 330 - _root.security1._y); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 330 - _root.security2._y); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 330 - _root.security3._y); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 330 - _root.security4._y); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 330 - _root.security5._y); target5Hit = false; } if (_root.ray1.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 16711680); security6.lineTo(this._x, 330 - _root.security6._y); target6Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit) { _root.endlessNormalScore += 1; frameCounter = 0; _root.endlessNormalTime = 60; if (_root.endlessNormalScore > _root.endlessNormalBestScore) { _root.endlessNormalBestScore = _root.endlessNormalScore; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.endlessNormalBestScore = _root.endlessNormalBestScore; _root.security1._x = Math.random() * 520 + 15; _root.security1._y = Math.random() * 300 + 15; _root.security2._x = Math.random() * 520 + 15; _root.security2._y = Math.random() * 300 + 15; _root.security3._x = Math.random() * 520 + 15; _root.security3._y = Math.random() * 300 + 15; _root.security4._x = Math.random() * 520 + 15; _root.security4._y = Math.random() * 300 + 15; _root.security5._x = Math.random() * 520 + 15; _root.security5._y = Math.random() * 300 + 15; _root.security6._x = Math.random() * 520 + 15; _root.security6._y = Math.random() * 300 + 15; } }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); laser_1._x = Math.random() * 520 + 15; laser_1._y = Math.random() * 300 + 15; laser_2._x = Math.random() * 520 + 15; laser_2._y = Math.random() * 300 + 15; laser_3._x = Math.random() * 520 + 15; laser_3._y = Math.random() * 300 + 15; laser_4._x = Math.random() * 520 + 15; laser_4._y = Math.random() * 300 + 15; laser_5._x = Math.random() * 520 + 15; laser_5._y = Math.random() * 300 + 15; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); this.lineTo(laser_1._x, laser_1._y); }; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance levelsButton of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.gotoAndStop('endlessSelect'); } } instance gamePirateBtn of movieClip 32 { onClipEvent (release) { getURL('http://www.gamepirate.com', '_blank'); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } frame 26 { function dummyRun() { if (_root.musicPlaying) { soundPlayer = new Sound(_root.soundButton); soundPlayer.attachSound('levelWin'); soundPlayer.start(0, 1); soundPlayer.setVolume(10); } } var glow_color = 16711680; var glow_color2 = 65280; var glow_color3 = 255; var glow_alpha = 0.8; var glow_blurX = 10; var glow_blurY = 10; var glow_strength = 2; var glow_quality = 3; var glow_inner = false; var glow_knockout = false; var filter_glow = new flash.filters.GlowFilter(glow_color, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow2 = new flash.filters.GlowFilter(glow_color2, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); var filter_glow3 = new flash.filters.GlowFilter(glow_color3, glow_alpha, glow_blurX, glow_blurY, glow_strength, glow_quality, glow_inner, glow_knockout); endlessHardTime = 60; endlessHardScore = 0; frameCounter = 0; gameStart = false; completed = false; target1Hit = false; target2Hit = false; target3Hit = false; target4Hit = false; target5Hit = false; target6Hit = false; target7Hit = false; _root.onEnterFrame = function () { if (gameStart == false) { _root.attachMovie('securitySystems', 'security1', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security2', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security3', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security4', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security5', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security6', _root.getNextHighestDepth()); _root.attachMovie('securitySystems', 'security7', _root.getNextHighestDepth()); _root.security1._x = Math.random() * 520 + 15; _root.security1._y = Math.random() * 300 + 15; _root.security2._x = Math.random() * 520 + 15; _root.security2._y = Math.random() * 300 + 15; _root.security3._x = Math.random() * 520 + 15; _root.security3._y = Math.random() * 300 + 15; _root.security4._x = Math.random() * 520 + 15; _root.security4._y = Math.random() * 300 + 15; _root.security5._x = Math.random() * 520 + 15; _root.security5._y = Math.random() * 300 + 15; _root.security6._x = Math.random() * 520 + 15; _root.security6._y = Math.random() * 300 + 15; _root.security7._x = Math.random() * 520 + 15; _root.security7._y = Math.random() * 300 + 15; gameStart = true; } _root.frameCounter += 1; if (_root.frameCounter >= 24) { _root.frameCounter = 0; endlessHardTime -= 1; } if (_root.endlessHardTime <= 0) { _root.endlessHardTime = 0; _root.finalScoreText.text = 'Score:' + _root.endlessHardScore; _root.timeUp._x = 198.5; _root.levelsButton._x = 199.5; _root.levelsButton._y = 200; _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); } if (_root.ray1.hitTest(_root.security1._x, _root.security1._y, true)) { _root.security1._alpha = 60; security1.clear(); target1Hit = true; } else { _root.security1._alpha = 100; security1.lineStyle(3, 16711680); security1.lineTo(this._x, 330 - _root.security1._y); target1Hit = false; } if (_root.ray1.hitTest(_root.security2._x, _root.security2._y, true)) { _root.security2._alpha = 60; _root.security2.clear(); target2Hit = true; } else { _root.security2._alpha = 100; security2.lineStyle(3, 16711680); security2.lineTo(this._x, 330 - _root.security2._y); target2Hit = false; } if (_root.ray1.hitTest(_root.security3._x, _root.security3._y, true)) { _root.security3._alpha = 60; _root.security3.clear(); target3Hit = true; } else { _root.security3._alpha = 100; security3.lineStyle(3, 16711680); security3.lineTo(this._x, 330 - _root.security3._y); target3Hit = false; } if (_root.ray1.hitTest(_root.security4._x, _root.security4._y, true)) { _root.security4._alpha = 60; _root.security4.clear(); target4Hit = true; } else { _root.security4._alpha = 100; security4.lineStyle(3, 16711680); security4.lineTo(this._x, 330 - _root.security4._y); target4Hit = false; } if (_root.ray1.hitTest(_root.security5._x, _root.security5._y, true)) { _root.security5._alpha = 60; _root.security5.clear(); target5Hit = true; } else { _root.security5._alpha = 100; security5.lineStyle(3, 16711680); security5.lineTo(this._x, 330 - _root.security5._y); target5Hit = false; } if (_root.ray1.hitTest(_root.security6._x, _root.security6._y, true)) { _root.security6._alpha = 60; _root.security6.clear(); target6Hit = true; } else { _root.security6._alpha = 100; security6.lineStyle(3, 16711680); security6.lineTo(this._x, 330 - _root.security6._y); target6Hit = false; } if (_root.ray1.hitTest(_root.security7._x, _root.security7._y, true)) { _root.security7._alpha = 60; _root.security7.clear(); target7Hit = true; } else { _root.security7._alpha = 100; security7.lineStyle(3, 16711680); security7.lineTo(this._x, 330 - _root.security7._y); target7Hit = false; } if (target1Hit && target2Hit && target3Hit && target4Hit && target5Hit && target6Hit && target7Hit) { _root.endlessHardScore += 1; frameCounter = 0; _root.endlessHardTime = 60; if (_root.endlessHardScore > _root.endlessHardBestScore) { _root.endlessHardBestScore = _root.endlessHardScore; } _root.pos = SharedObject.getLocal('game'); _root.pos.data.endlessHardBestScore = _root.endlessHardBestScore; _root.security1._x = Math.random() * 520 + 15; _root.security1._y = Math.random() * 300 + 15; _root.security2._x = Math.random() * 520 + 15; _root.security2._y = Math.random() * 300 + 15; _root.security3._x = Math.random() * 520 + 15; _root.security3._y = Math.random() * 300 + 15; _root.security4._x = Math.random() * 520 + 15; _root.security4._y = Math.random() * 300 + 15; _root.security5._x = Math.random() * 520 + 15; _root.security5._y = Math.random() * 300 + 15; _root.security6._x = Math.random() * 520 + 15; _root.security6._y = Math.random() * 300 + 15; _root.security7._x = Math.random() * 520 + 15; _root.security7._y = Math.random() * 300 + 15; } }; _root.attachMovie('laser', 'laser_1', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_2', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_3', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_4', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_5', _root.getNextHighestDepth()); _root.attachMovie('laser', 'laser_6', _root.getNextHighestDepth()); laser_1._x = Math.random() * 520 + 15; laser_1._y = Math.random() * 300 + 15; laser_2._x = Math.random() * 520 + 15; laser_2._y = Math.random() * 300 + 15; laser_3._x = Math.random() * 520 + 15; laser_3._y = Math.random() * 300 + 15; laser_4._x = Math.random() * 520 + 15; laser_4._y = Math.random() * 300 + 15; laser_5._x = Math.random() * 520 + 15; laser_5._y = Math.random() * 300 + 15; laser_6._x = Math.random() * 520 + 15; laser_6._y = Math.random() * 300 + 15; _root.createEmptyMovieClip('ray1', _root.getNextHighestDepth()); ray1.filters = [filter_glow]; _root.ray1.onEnterFrame = function () { laser_1._rotation += 24; laser_2._rotation += 24; laser_3._rotation += 24; laser_4._rotation += 24; laser_5._rotation += 24; laser_6._rotation += 24; this.clear(); this.lineStyle(5, 16711680); this.moveTo(laser_1._x, laser_1._y); this.lineTo(laser_2._x, laser_2._y); this.lineTo(laser_3._x, laser_3._y); this.lineTo(laser_4._x, laser_4._y); this.lineTo(laser_5._x, laser_5._y); this.lineTo(laser_6._x, laser_6._y); this.lineTo(laser_1._x, laser_1._y); }; var left2 = 0; var top2 = 0; var right2 = 550; var bottom2 = 330; _root.laser_1.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_1.onRelease = function () { stopDrag(); }; _root.laser_1.onReleaseOutside = function () { stopDrag(); }; _root.laser_2.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_2.onRelease = function () { stopDrag(); }; _root.laser_2.onReleaseOutside = function () { stopDrag(); }; _root.laser_3.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_3.onRelease = function () { stopDrag(); }; _root.laser_3.onReleaseOutside = function () { stopDrag(); }; _root.laser_4.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_4.onRelease = function () { stopDrag(); }; _root.laser_4.onReleaseOutside = function () { stopDrag(); }; _root.laser_5.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_5.onRelease = function () { stopDrag(); }; _root.laser_5.onReleaseOutside = function () { stopDrag(); }; _root.laser_6.onPress = function () { this.startDrag(false, left2, top2, right2, bottom2); }; _root.laser_6.onRelease = function () { stopDrag(); }; _root.laser_6.onReleaseOutside = function () { stopDrag(); }; } instance menuButton of movieClip 215 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.gotoAndStop('menu'); } } instance musicButton of movieClip 202 { onClipEvent (enterFrame) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(50); this._rotation += 12; this.gotoAndStop(1); } else { this.gotoAndStop(2); _root.musicPlayer.setVolume(0); } } onClipEvent (release) { if (_root.musicPlaying) { _root.musicPlayer.setVolume(0); _root.musicPlaying = false; this.gotoAndStop(2); } else { _root.musicPlayer.setVolume(50); _root.musicPlaying = true; this.gotoAndStop(1); } } } instance levelsButton of movieClip 462 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.ray1.removeMovieClip(); _root.buttonNext.removeMovieClip(); _root.laser_1.removeMovieClip(); _root.laser_2.removeMovieClip(); _root.laser_3.removeMovieClip(); _root.laser_4.removeMovieClip(); _root.laser_5.removeMovieClip(); _root.laser_6.removeMovieClip(); _root.security1.removeMovieClip(); _root.security2.removeMovieClip(); _root.security3.removeMovieClip(); _root.security4.removeMovieClip(); _root.security5.removeMovieClip(); _root.security6.removeMovieClip(); _root.security7.removeMovieClip(); _root.gotoAndStop('endlessSelect'); } } instance gamePirateBtn of movieClip 32 { onClipEvent (release) { getURL('http://www.gamepirate.com', '_blank'); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } }




http://swfchan.com/26/129485/info.shtml
Created: 23/2 -2019 04:45:30 Last modified: 23/2 -2019 04:45:30 Server time: 25/04 -2024 18:01:22