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

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

Madness- Deus Ex Machina.swf

This is the info page for
Flash #39564

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { _accProps = new Object(); _accProps.silent = true; } frame 1 { function noFunc() {} function contactFunc() { getURL('mailto:proxicide@gmail.com', ''); } var myMenu_cm = new ContextMenu(); myMenu_cm.hideBuiltInItems(); var newItem1_cmi = new ContextMenuItem('Quality Set to Low', noFunc); var newItem2_cmi = new ContextMenuItem('proxicide@gmail.com', contactFunc); newItem1_cmi.enabled = false; newItem2_cmi.separatorBefore = true; myMenu_cm.customItems.push(newItem1_cmi); myMenu_cm.customItems.push(newItem2_cmi); _root.menu = myMenu_cm; } movieClip 6 { } movieClip 11 { } movieClip 12 { } movieClip 15 { } movieClip 21 { } movieClip 34 { } movieClip 37 { } movieClip 39 { } movieClip 41 { } button 43 { on (press) { target = '_blank'; getURL('http://www.newgrounds.com/collection/madnessday2007', '_blank'); } } movieClip 52 { frame 29 { gotoAndPlay(1); } frame 65 { gotoAndPlay('ready_loop'); } frame 85 { _root.play(); } } movieClip 56 { } movieClip 58 { } button 59 { on (press) { _root.loader.hank.gotoAndPlay('go'); play(); } } movieClip 60 { frame 1 { _root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop('loaded'); _root.loader.hank.gotoAndPlay('ready'); } } frame 2 { gotoAndPlay(1); } frame 5 { stop(); } } frame 71 { _global.interfaceSnd0 = null; _global.interfaceSnd1 = null; _global.menuSong = null; _global.SSEL_SCENE_0 = 0; _global.SSEL_SCENE_1 = 1; _global.SSEL_SCENE_2 = 2; _global.SSEL_SCENE_3 = 3; _global.SSEL_SCENE_4 = 4; _global.SSEL_userSelection = _global.SSEL_SCENE_0; _global.mcRef_over; _global.mcRef_under; _global.x_over; _global.x_under; _global.pr_over; _global.pr_under; _global.PROJECTILE_DEBRIS_CLOSE_0 = 'DebrisClose0'; _global.PROJECTILE_DEBRIS_CLOSE_1 = 'DebrisClose1'; _global.PROJECTILE_DEBRIS_CLOSE_2 = 'DebrisClose2'; _global.PROJECTILE_DEBRIS_CLOSE_3 = 'DebrisClose3'; _global.PROJECTILE_DEBRIS_FAR_0 = 'DebrisFar0'; _global.PROJECTILE_DEBRIS_FAR_1 = 'DebrisFar1'; _global.PROJECTILE_DEBRIS_FAR_2 = 'DebrisFar2'; _global.PROJECTILE_DEBRIS_FAR_3 = 'DebrisFar3'; _global.bL = 0; _global.bT = 1; _global.bR = 2; _global.bB = 3; _global.MAX_CAPACITY = 50; _global.MIN_CAPACITY = 15; _global.CAPACITANCE = _global.MAX_CAPACITY; _global.PROJECTILE_DEBRIS_CLOSE_0_BOUNDARY; _global.PROJECTILE_DEBRIS_FAR_0_BOUNDARY; _global.projectileListing = new Array(); _global.projectileType = new Array(); _global.projectileStationary = new Array(); _global.probability = function (inPercentmillintage) { return Math.round(Math.random() * 1000000) % 10000 <= inPercentmillintage; }; _global.isUnderCapacity = function () { return _global.projectileListing.length <= _global.CAPACITANCE; }; _global.generateSingleProjectile = function (TYPE_IDENTIFIER, theMC) { var v2 = theMC.getNextHighestDepth(); var v3 = theMC.createEmptyMovieClip(v2 + '_mc', v2); v3.attachMovie(TYPE_IDENTIFIER, v2 + '_mc2', v2); _global.projectileListing.push(v3); _global.projectileType.push(TYPE_IDENTIFIER); _global.projectileStationary.push(false); _global.initializeStart(v3, TYPE_IDENTIFIER); v3.onEnterFrame = _global.setSpeed(TYPE_IDENTIFIER, v2); }; _global.generateDynamicObjects = function (arr, pr, theMC) { var v2 = 0; while (v2 < arr.length) { if (_global.probability(pr[v2]) && _global.isUnderCapacity()) { _global.generateSingleProjectile(arr[v2], theMC); } ++v2; } }; _global.processDiscard = function (i) { _global.projectileListing[i].removeMovieClip(); _global.projectileListing.splice(i, 1); _global.projectileType.splice(i, 1); _global.projectileStationary.splice(i, 1); }; _global.discardDynamicObjects = function () { var v2 = 0; while (v2 < _global.projectileListing.length) { if (_global.isOutOfBounds(_global.projectileListing[v2], _global.projectileType[v2])) { _global.processDiscard(v2); } ++v2; } }; _global.randomizeStartFrame = function (r, n) { randomFrame = Math.round(Math.random() * 1000000) % (eval('r.' + n + '_mc2'))._totalframes + 1; (eval('r.' + n + '_mc2')).gotoAndPlay(randomFrame); }; _global.dispenseSingleObject = function (TYPE_IDENTIFIER) { var v2 = _global.mcRef.getNextHighestDepth(); var v3 = _global.mcRef.createEmptyMovieClip(v2 + '_mc', v2); v3.attachMovie(TYPE_IDENTIFIER, v2 + '_mc2', v2); _global.projectileListing.push(v3); _global.projectileType.push(TYPE_IDENTIFIER); _global.projectileStationary.push(true); _global.initializeStart(v3, TYPE_IDENTIFIER); _global.randomizeStartFrame(v3, v2); }; _global.generateStationaryObjects = function (arr, pr) { var v3 = 0; while (v3 < arr.length) { var v2 = 0; while (v2 < pr[v3]) { _global.dispenseSingleObject(arr[v3]); ++v2; } ++v3; } }; _global.discardAllStationaryObjects = function () { var v2 = 0; while (v2 < _global.projectileListing.length) { if (_global.projectileStationary[v2]) { _global.processDiscard(v2); } ++v2; } }; _global.initializeStart = function (r, theType) { switch (theType) { case _global.PROJECTILE_DEBRIS_CLOSE_0: case _global.PROJECTILE_DEBRIS_CLOSE_1: case _global.PROJECTILE_DEBRIS_CLOSE_2: case _global.PROJECTILE_DEBRIS_CLOSE_3: r._x = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_DEBRIS_CLOSE_0_BOUNDARY[bR] - _global.PROJECTILE_DEBRIS_CLOSE_0_BOUNDARY[bL]) + _global.PROJECTILE_DEBRIS_CLOSE_0_BOUNDARY[bL]; r._y = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_DEBRIS_CLOSE_0_BOUNDARY[bB] - _global.PROJECTILE_DEBRIS_CLOSE_0_BOUNDARY[bT]) + _global.PROJECTILE_DEBRIS_CLOSE_0_BOUNDARY[bT]; if (Math.random() < 0.5) { r._xscale *= -1; r._rotation -= 105; r._x += 40; } break; case _global.PROJECTILE_DEBRIS_FAR_0: case _global.PROJECTILE_DEBRIS_FAR_1: case _global.PROJECTILE_DEBRIS_FAR_2: case _global.PROJECTILE_DEBRIS_FAR_3: r._x = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_DEBRIS_FAR_0_BOUNDARY[bR] - _global.PROJECTILE_DEBRIS_FAR_0_BOUNDARY[bL]) + _global.PROJECTILE_DEBRIS_FAR_0_BOUNDARY[bL]; r._y = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_DEBRIS_FAR_0_BOUNDARY[bB] - _global.PROJECTILE_DEBRIS_FAR_0_BOUNDARY[bT]) + _global.PROJECTILE_DEBRIS_FAR_0_BOUNDARY[bT]; r._rotation -= 20; RandPerc = Math.random(); r._width *= RandPerc; r._height *= RandPerc; r._y += (1 - RandPerc) * 180; if (Math.random() < 0.5) { r._xscale *= -1; r._rotation -= 35; } } }; _global.setSpeed = function (theType, n) { var f; if (theType == _global.PROJECTILE_WHT_STREAK) { f = function () { this._x += 10; }; return f; } if (theType == _global.PROJECTILE_DEBRIS_CLOSE_0 || theType == _global.PROJECTILE_DEBRIS_CLOSE_1 || theType == _global.PROJECTILE_DEBRIS_CLOSE_2 || theType == _global.PROJECTILE_DEBRIS_CLOSE_3 || theType == _global.PROJECTILE_DEBRIS_FAR_0 || theType == _global.PROJECTILE_DEBRIS_FAR_1 || theType == _global.PROJECTILE_DEBRIS_FAR_2 || theType == _global.PROJECTILE_DEBRIS_FAR_3) { f = function () { if ((eval('this.' + n + '_mc2'))._currentframe == (eval('this.' + n + '_mc2'))._totalframes) { var i = 0; while (i < _global.projectileListing.length) { if (_global.projectileListing[i] == this) { _global.processDiscard(i); break; } ++i; } } if (Math.random() < 0.05) { if ((eval('this.' + n + '_mc2')).innerMC._currentframe == 1) { (eval('this.' + n + '_mc2')).innerMC.gotoAndPlay('Initiate'); } } }; return f; } f = function () { if ((eval('this.' + n + '_mc2'))._currentframe == (eval('this.' + n + '_mc2'))._totalframes) { var i = 0; while (i < _global.projectileListing.length) { if (_global.projectileListing[i] == this) { _global.processDiscard(i); break; } ++i; } } }; return f; }; _global.isOutOfBounds = function (r, theType) { var v2 = false; switch (theType) { return v2; case _global.PROJECTILE_WHT_STREAK: if (r._x > global.PROJECTILE_WHT_STREAK_BOUNDARY[bR]) { v2 = true; } return v2; } return v2; }; _global.SCENE_TN_0 = 0; _global.SCENE_TN_1 = 1; _global.SCENE_TN_2 = 2; _global.SCENE_TN_3 = 3; _global.SCENE_TN_4 = 4; _global.SCENE_TN_E = 5; _global.sceneTnArr = new Array(); _global.sceneTn_mutexRO = function (i) { var v5 = _global.sceneTnArr[0]; var v4 = 0; while (v4 < _global.sceneTnArr.length) { if (_global.sceneTnArr[v4].getDepth() > v5.getDepth()) { v5 = _global.sceneTnArr[v4]; } ++v4; } _global.sceneTnArr[i].swapDepths(v5); var v6 = _global.sceneTnArr[0]._parent; v6.destXScale = 100; v6.destYScale = 100; v6.targetTN = i; v6.interval = 3; v6.cntr = v6.interval; v6.scaleInt = 66 / v6.interval; delete v6.onEnterFrame; v6.onEnterFrame = function () { if (this.cntr-- < 0) { _global.sceneTnArr[this.targetTN]._xscale = 100; _global.sceneTnArr[this.targetTN]._yscale = 100; var v3 = 0; while (v3 < _global.sceneTnArr.length) { if (v3 != this.targetTN) { _global.sceneTnArr[v3]._xscale = 34.5; _global.sceneTnArr[v3]._yscale = 34.5; } ++v3; } delete this.onEnterFrame; } _global.sceneTnArr[this.targetTN]._xscale += this.scaleInt; _global.sceneTnArr[this.targetTN]._yscale += this.scaleInt; v3 = 0; while (v3 < _global.sceneTnArr.length) { if (v3 != this.targetTN && _global.sceneTnArr[v3]._xscale > 35) { _global.sceneTnArr[v3]._xscale -= this.scaleInt; _global.sceneTnArr[v3]._yscale -= this.scaleInt; } ++v3; } }; }; _global.sceneTn_retractTN = function (i) { var v3 = _global.sceneTnArr[i]; delete v3.onEnterFrame; v3.cntr = 10; v3.onEnterFrame = function () { if (this.cntr-- <= 5) { this._xscale -= 10; this._yscale -= 20; this._alpha -= 10; } else { if (this.cntr == 0) { this._alpha = 0; delete this.onEnterFrame; } else { this._xscale += 10; this._yscale += 10; } } }; }; _quality = 'LOW'; this.stop(); } movieClip 66 { } movieClip 68 { } movieClip 72 { } movieClip 73 { frame 1 { this.stop(); } } movieClip 74 DebrisFar0 { } movieClip 77 { frame 1 { this.stop(); } } movieClip 78 DebrisFar1 { } movieClip 81 { frame 1 { this.stop(); } } movieClip 82 DebrisFar2 { } movieClip 85 { frame 1 { this.stop(); } } movieClip 86 DebrisFar3 { } movieClip 87 { frame 1 { _global.mcRef_under = this; _global.PROJECTILE_DEBRIS_FAR_0_BOUNDARY = [-200, -50, 150, 20]; _global.x_under = [PROJECTILE_DEBRIS_FAR_0, PROJECTILE_DEBRIS_FAR_1, PROJECTILE_DEBRIS_FAR_2, PROJECTILE_DEBRIS_FAR_3]; _global.pr_under = [150, 150, 150, 150]; this.emitter.onEnterFrame = function () { _global.generateDynamicObjects(_global.x_under, _global.pr_under, _global.mcRef_under); _global.discardDynamicObjects(); }; } frame 2 { this.stop(); } } movieClip 92 { } movieClip 93 { frame 37 { this.stop(); } frame 62 { this.stop(); } } movieClip 96 { frame 1 { this.stop(); } } movieClip 97 DebrisClose0 { } movieClip 100 { frame 1 { this.stop(); } } movieClip 101 DebrisClose1 { } movieClip 104 { frame 1 { this.stop(); } } movieClip 105 DebrisClose2 { } movieClip 108 { frame 1 { this.stop(); } } movieClip 109 DebrisClose3 { } movieClip 110 { frame 1 { _global.mcRef_over = this; _global.PROJECTILE_DEBRIS_CLOSE_0_BOUNDARY = [-200, -100, 150, 0]; _global.x_over = [PROJECTILE_DEBRIS_CLOSE_0, PROJECTILE_DEBRIS_CLOSE_1, PROJECTILE_DEBRIS_CLOSE_2, PROJECTILE_DEBRIS_CLOSE_3]; _global.pr_over = [30, 30, 30, 30]; this.emitter.onEnterFrame = function () { _global.generateDynamicObjects(_global.x_over, _global.pr_over, _global.mcRef_over); _global.discardDynamicObjects(); }; } frame 2 { this.stop(); } } movieClip 116 { } movieClip 118 { } movieClip 123 { } movieClip 126 { } movieClip 129 { } movieClip 138 { frame 25 { this.stop(); } } movieClip 147 { } movieClip 150 { frame 37 { this.stop(); } } movieClip 151 { frame 81 { this.stop(); } frame 118 { this.stop(); } } movieClip 157 { } movieClip 160 { } movieClip 165 { } movieClip 168 { } movieClip 169 { } movieClip 172 { } movieClip 175 { } movieClip 176 { instance of movieClip 169 { onClipEvent (rollOver) { _global.interfaceSnd0.start(); this._parent.gotoAndPlay('OV'); } onClipEvent (rollOut) { this._parent.gotoAndPlay('DF'); } onClipEvent (press) { _global.interfaceSnd1.start(); this._parent.gotoAndPlay('OP'); } onClipEvent (release) { getURL('http://www.newgrounds.com/collection/madness.html', '_blank'); } } frame 24 { this.stop(); } frame 43 { this.stop(); } frame 56 { this.stop(); } frame 76 { this.stop(); } } movieClip 179 { } movieClip 182 { } movieClip 183 { instance of movieClip 169 { onClipEvent (rollOver) { _global.interfaceSnd0.start(); this._parent.gotoAndPlay('OV'); } onClipEvent (rollOut) { this._parent.gotoAndPlay('DF'); } onClipEvent (press) { _global.interfaceSnd1.start(); this._parent.gotoAndPlay('OP'); } onClipEvent (release) { if (this._parent._parent._parent.theScene._currentframe <= 2) { this._parent._parent._parent.theScene.gotoAndPlay('Start'); } else { this._parent._parent._parent.theScene.gotoAndPlay('Finish'); } } } frame 24 { this.stop(); } frame 43 { this.stop(); } frame 56 { this.stop(); } frame 76 { this.stop(); } } movieClip 186 { } movieClip 189 { } movieClip 190 { instance of movieClip 169 { onClipEvent (rollOver) { _global.interfaceSnd0.start(); this._parent.gotoAndPlay('OV'); } onClipEvent (rollOut) { this._parent.gotoAndPlay('DF'); } onClipEvent (press) { _global.interfaceSnd1.start(); this._parent.gotoAndPlay('OP'); } onClipEvent (release) { _global.SSEL_userSelection = _global.SSEL_SCENE_0; this._parent._parent._parent.gotoAndPlay('Finish'); this._parent.gotoAndPlay('OR'); } } frame 24 { this.stop(); } frame 43 { this.stop(); } frame 56 { this.stop(); } frame 76 { this.stop(); } } movieClip 191 { } movieClip 194 { } movieClip 197 { } movieClip 200 { } movieClip 201 { } movieClip 204 { } movieClip 205 { } movieClip 208 { } movieClip 209 { } movieClip 210 { } movieClip 213 { } movieClip 214 { } movieClip 215 { } movieClip 218 { } movieClip 219 { } movieClip 220 { } movieClip 223 { } movieClip 226 { } movieClip 227 { } movieClip 228 { } movieClip 229 { frame 2 { this.stop(); } frame 3 { _global.sceneTnArr = new Array(); } instance tn_0 of movieClip 205 { onClipEvent (load) { _global.sceneTnArr.push(this); } } instance tn_1 of movieClip 210 { onClipEvent (load) { _global.sceneTnArr.push(this); } } instance tn_2 of movieClip 215 { onClipEvent (load) { _global.sceneTnArr.push(this); } } instance tn_3 of movieClip 220 { onClipEvent (load) { _global.sceneTnArr.push(this); } } instance of movieClip 169 { onClipEvent (press) { _global.interfaceSnd1.start(); } onClipEvent (release) { this._parent.gotoAndPlay('Finish'); } } instance of movieClip 169 { onClipEvent (press) { this._parent.startDrag(); } onClipEvent (release) { this._parent.stopDrag(); } } instance tn_4 of movieClip 228 { onClipEvent (load) { _global.sceneTnArr.push(this); } } frame 52 { this.stop(); } instance of movieClip 169 { onClipEvent (rollOver) { _global.interfaceSnd0.start(); _global.sceneTn_mutexRO(_global.SCENE_TN_0); } onClipEvent (rollOut) { _global.sceneTn_mutexRO(_global.SCENE_TN_E); } onClipEvent (press) { _global.interfaceSnd1.start(); } onClipEvent (release) { _global.SSEL_userSelection = _global.SSEL_SCENE_0; this._parent._parent.gotoAndPlay('Finish'); } } instance of movieClip 169 { onClipEvent (rollOver) { _global.interfaceSnd0.start(); _global.sceneTn_mutexRO(_global.SCENE_TN_1); } onClipEvent (rollOut) { _global.sceneTn_mutexRO(_global.SCENE_TN_E); } onClipEvent (press) { _global.interfaceSnd1.start(); } onClipEvent (release) { _global.SSEL_userSelection = _global.SSEL_SCENE_1; this._parent._parent.gotoAndPlay('Finish'); } } instance of movieClip 169 { onClipEvent (rollOver) { _global.interfaceSnd0.start(); _global.sceneTn_mutexRO(_global.SCENE_TN_2); } onClipEvent (rollOut) { _global.sceneTn_mutexRO(_global.SCENE_TN_E); } onClipEvent (press) { _global.interfaceSnd1.start(); } onClipEvent (release) { _global.SSEL_userSelection = _global.SSEL_SCENE_2; this._parent._parent.gotoAndPlay('Finish'); } } instance of movieClip 169 { onClipEvent (rollOver) { _global.interfaceSnd0.start(); _global.sceneTn_mutexRO(_global.SCENE_TN_3); } onClipEvent (rollOut) { _global.sceneTn_mutexRO(_global.SCENE_TN_E); } onClipEvent (press) { _global.interfaceSnd1.start(); } onClipEvent (release) { _global.SSEL_userSelection = _global.SSEL_SCENE_3; this._parent._parent.gotoAndPlay('Finish'); } } instance of movieClip 169 { onClipEvent (rollOver) { _global.interfaceSnd0.start(); _global.sceneTn_mutexRO(_global.SCENE_TN_4); } onClipEvent (rollOut) { _global.sceneTn_mutexRO(_global.SCENE_TN_E); } onClipEvent (press) { _global.interfaceSnd1.start(); } onClipEvent (release) { _global.SSEL_userSelection = _global.SSEL_SCENE_4; this._parent._parent.gotoAndPlay('Finish'); } } frame 53 { _global.sceneTn_retractTN(_global.SCENE_TN_0); } frame 58 { _global.sceneTn_retractTN(_global.SCENE_TN_1); } frame 63 { _global.sceneTn_retractTN(_global.SCENE_TN_2); } frame 68 { _global.sceneTn_retractTN(_global.SCENE_TN_3); } frame 73 { _global.sceneTn_retractTN(_global.SCENE_TN_4); } } movieClip 230 { frame 12 { _global.menuSong0 = new Sound(); _global.menuSong0.attachSound('music-menu.wav'); _global.menuSong0.setVolume(0); _global.menuSong0.start(1, 99); _global.interfaceSnd0 = new Sound(); _global.interfaceSnd1 = new Sound(); _global.interfaceSnd0.attachSound('snd-interface-1.wav'); _global.interfaceSnd1.attachSound('snd-interface-0.wav'); delete this.sndCntrl.onEnterFrame; this.sndCntrl.onEnterFrame = function () { var v3 = _global.menuSong0.getVolume(); if (v3 >= 100) { _global.menuSong0.setVolume(100); delete this.onEnterFrame; } else { _global.menuSong0.setVolume(v3 + 1); } }; } frame 74 { this.stop(); } frame 75 { _global.CAPACITANCE = 0; delete this.sndCntrl.onEnterFrame; this.sndCntrl.onEnterFrame = function () { _global.menuSong0.setVolume(_global.menuSong0.getVolume() - 2); }; this.menuChar.gotoAndPlay('Finish'); this.txtDeus.gotoAndPlay('Finish'); if (this.theScene._currentframe > 3) { this.theScene.gotoAndPlay('Finish'); } } frame 82 { if (this.theMenu.btn_play._currentframe < 60) { this.theMenu.btn_play.gotoAndPlay('OR'); } } frame 87 { if (this.theMenu.btn_scene._currentframe < 60) { this.theMenu.btn_scene.gotoAndPlay('OR'); } } frame 92 { if (this.theMenu.btn_extras._currentframe < 60) { this.theMenu.btn_extras.gotoAndPlay('OR'); } } frame 121 { this.stop(); _global.menuSong0.stop(); _global.menuSong0.setVolume(50); this._parent.gotoAndPlay(this._parent._currentframe + 1); } } instance of movieClip 230 { onClipEvent (enterFrame) { var mouseX = this._xmouse; var mouseY = this._ymouse; this.menuChar._x = -mouseX * 0.3; this.menuChar._y = -mouseY * 0.3; this.menuBG._x = -mouseX * 0.1; this.menuBG._y = -mouseY * 0.1; } } frame 72 { gotoAndPlay(73); } movieClip 235 { } movieClip 237 { } movieClip 238 { frame 2155 { this.stop(); } } movieClip 325 { } movieClip 374 { frame 16 { this.stop(); } } movieClip 503 { } movieClip 504 { } movieClip 512 { } movieClip 588 { } movieClip 672 { } movieClip 694 { } movieClip 710 { } movieClip 713 { } movieClip 760 { } movieClip 834 { } movieClip 911 { } movieClip 915 { } movieClip 918 { } movieClip 955 { } movieClip 1043 { } movieClip 1125 { } movieClip 1126 { frame 15 { this.stop(); } } movieClip 1139 { } movieClip 1357 { } movieClip 1372 { } movieClip 1567 { } movieClip 1586 { } movieClip 1677 { frame 46 { this.stop(); } } movieClip 1757 { } movieClip 1765 { frame 31 { this.stop(); } } movieClip 1807 { } movieClip 1810 { } movieClip 1941 { } movieClip 2039 { } movieClip 2070 { } movieClip 2104 { } movieClip 2105 { } movieClip 2196 { } movieClip 2197 interactive_0000 { frame 792 { _global.shakeScreen(this, 1, 0, 30, 0, 0); } frame 888 { _global.shakeScreen(this, 1, 0, 20, 0, 0); } frame 922 { _global.shakeScreen(this, 1, 0, 20, 0, 0); } frame 1052 { _global.shakeScreen(this, 1.5, 20, 20, -55, -30); } frame 1066 { _global.shakeScreen(this, 1, 1, 40, 0, 0); } frame 1092 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 1217 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 1276 { _global.shakeScreen(this, 1.5, 20, 20, -80, 0); } frame 1329 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 1350 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 1432 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 1500 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 1583 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 1615 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 1672 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 1703 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 1727 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 1762 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 1794 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 1825 { _global.shakeScreen(this, 1.4, 10, 20, 0, 70); } frame 1835 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 2145 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 2154 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 2164 { _global.shakeScreen(this, 1.3, 10, 20, 150, -60); } frame 2177 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 2182 { _global.shakeScreen(this, 1.4, 20, 30, 150, -80); } frame 2250 { _global.shakeScreen(this, 1, 2, 20, 0, 0); } frame 2270 { _global.shakeScreen(this, 1, 2, 20, 0, 0); } frame 2409 { _global.shakeScreen(this, 1.4, 15, 30, -90, -70); } frame 2451 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 2517 { _global.shakeScreen(this, 1.2, 15, 30, -130, -60); } frame 2559 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 2779 { _global.shakeScreen(this, 1.4, 8, 30, -30, 50); } frame 2785 { _global.shakeScreen(this, 1.4, 14, 30, -30, 80); } frame 2811 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 2874 { _global.shakeScreen(this, 1.4, 15, 25, -50, -30); } frame 3039 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 3133 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3143 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3153 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 3260 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 3357 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 3451 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 3540 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 3591 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3604 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3616 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3629 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3641 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3674 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3691 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3702 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3712 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3723 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3734 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3743 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3751 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3760 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 3769 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 3838 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3852 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3867 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3881 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3902 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 3915 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 3941 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 3948 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 3958 { _global.shakeScreen(this, 1.3, 10, 20, 300, -30); } frame 3969 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 3975 { _global.shakeScreen(this, 1.4, 10, 25, 400, -40); } frame 4081 { _global.shakeScreen(this, 1, 1, 12, 0, 0); } frame 4093 { _global.shakeScreen(this, 1, 1, 12, 0, 0); } frame 4105 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 4296 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4310 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4318 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 4329 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4347 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 4359 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4374 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4388 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 4401 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4416 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 4438 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4449 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4460 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4487 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4505 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 4560 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4569 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4579 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4589 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4604 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4631 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 4672 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 4694 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 4766 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4780 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4798 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4816 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4829 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 4903 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4954 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4959 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 4968 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 5131 { _global.shakeScreen(this, 1.4, 15, 25, -20, 40); } frame 5146 { _global.shakeScreen(this, 1, 1, 25, -40, -40); } frame 5169 { _global.shakeScreen(this, 1.4, 12, 25, -60, -50); } frame 5187 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 5215 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 5223 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 5231 { _global.shakeScreen(this, 1.2, 8, 10, 100, -40); } frame 5246 { _global.shakeScreen(this, 1.6, 20, 25, 330, -90); } frame 5289 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 5301 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 5313 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 5378 { _global.shakeScreen(this, 1, 1, 8, 0, 0); } frame 5474 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 5483 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 5494 { _global.shakeScreen(this, 1.4, 8, 20, 170, 20); } frame 5518 { _global.shakeScreen(this, 1.4, 8, 20, 150, 50); } frame 5543 { _global.shakeScreen(this, 1.4, 6, 20, 50, 90); } frame 5568 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 5607 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 5692 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 5732 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 5783 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 5795 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 5805 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 5960 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 6012 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 6062 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 6076 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 6088 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6140 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 6229 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 6265 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6277 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6291 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6305 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6330 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6358 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6368 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6404 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6416 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6428 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6441 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6468 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6514 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 6544 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 6628 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 6675 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6709 { _global.shakeScreen(this, 1.4, 8, 20, 0, 0); } frame 6718 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 6729 { _global.shakeScreen(this, 1, 2, 10, 0, 0); } frame 6741 { _global.shakeScreen(this, 1.4, 8, 20, 0, 20); } frame 6779 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6834 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 6886 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 6917 { _global.shakeScreen(this, 1, 1, 30, 0, 0); } frame 7017 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 7132 { _global.shakeScreen(this, 1, 1, 15, 0, 0); } frame 7151 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 7248 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 7278 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 7359 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 7402 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 7431 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 7448 { _global.shakeScreen(this, 1, 1, 25, 0, 0); } frame 7526 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 7552 { _global.shakeScreen(this, 1, 1, 20, 0, 0); } frame 7580 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 7599 { _global.shakeScreen(this, 1, 1, 10, 0, 0); } frame 7689 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 7732 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 7771 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 7816 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 7859 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 7903 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 7938 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 7971 { _global.shakeScreenNoPause(this, 1, 15, 0, 0); } frame 8008 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 8175 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 8305 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 8329 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 8353 { _global.shakeScreenNoPause(this, 1, 25, 0, 0); } frame 8409 { _global.shakeScreenNoPause(this, 1, 25, 0, 0); } frame 8436 { _global.shakeScreenNoPause(this, 1, 25, 0, 0); } frame 8491 { _global.shakeScreenNoPause(this, 1, 25, 0, 0); } frame 8506 { _global.shakeScreenNoPause(this, 1, 25, 0, 0); } frame 8515 { _global.shakeScreenNoPause(this, 1, 25, 0, 0); } frame 8524 { _global.shakeScreenNoPause(this, 1, 25, 0, 0); } frame 8659 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 8682 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 8720 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 8753 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 8771 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 8789 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 8831 { _global.shakeScreenNoPause(this, 1, 50, 0, 0); } frame 8863 { _global.shakeScreenNoPause(this, 1, 50, 0, 0); } frame 8895 { _global.shakeScreenNoPause(this, 1, 50, 0, 0); } frame 8924 { _global.shakeScreenNoPause(this, 1, 50, 0, 0); } frame 8973 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9000 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9060 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9103 { _global.shakeScreenNoPause(this, 1, 50, 0, 0); } frame 9186 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9210 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9236 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9261 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9334 { _global.shakeScreenNoPause(this, 1, 50, 0, 0); } frame 9371 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9458 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 9477 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9498 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9594 { _global.shakeScreenNoPause(this, 1, 40, 0, 0); } frame 9780 { _global.shakeScreenNoPause(this, 1, 45, 0, 0); } frame 9923 { _global.shakeScreenNoPause(this, 1, 45, 0, 0); } frame 9941 { _global.shakeScreenNoPause(this, 1, 60, 0, 0); } frame 10045 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10092 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10160 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10183 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10229 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10273 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10310 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10327 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10368 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10422 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10488 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 10526 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 10565 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 10602 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 10630 { _global.shakeScreenNoPause(this, 1, 20, 0, 0); } frame 10650 { _global.shakeScreenNoPause(this, 1, 15, 0, 0); } frame 10664 { _global.shakeScreenNoPause(this, 1, 15, 0, 0); } frame 10678 { _global.shakeScreenNoPause(this, 1, 15, 0, 0); } frame 10692 { _global.shakeScreenNoPause(this, 1, 15, 0, 0); } frame 10706 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10798 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 10915 { _global.shakeScreenNoPause(this, 1, 50, 0, 0); } frame 10995 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 11033 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 11095 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 11166 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 11276 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 11546 { _global.shakeScreenNoPause(this, 1, 10, 0, 0); } frame 12015 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 12140 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 12384 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 12416 { _global.shakeScreenNoPause(this, 1, 60, 0, 0); } frame 12480 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 12547 { _global.shakeScreenNoPause(this, 1, 30, 0, 0); } frame 15893 { this.stop(); } } frame 73 { _global.mainSound = null; _global.INTERACTION = null; _global.BACKGROUND_0 = null; _global.BACKGROUND_1 = null; _global.nudgeCamera = function () { var v4 = -_global.INTERACTION.wrapper.curInteractive.virtScreen._x; var v3 = -_global.INTERACTION.wrapper.curInteractive.virtScreen._y; _global.INTERACTION._x = v4; _global.INTERACTION._y = v3; _global.BACKGROUND_1._x = v4 * 0.3; _global.BACKGROUND_1._y = v3 * 0.3; var v2 = (1 / _global.INTERACTION.wrapper.curInteractive.virtScreen._xscale) * 10000; _global.INTERACTION._xscale = v2; _global.INTERACTION._yscale = v2; }; _global.shakeScreen = function (theMC, scaleAmt, pauseAmt, shakeAmt, sclXOff, sclYOff) { theMC._parent._xscale *= scaleAmt; theMC._parent._yscale *= scaleAmt; theMC._parent._x = sclXOff; theMC._parent._y = sclYOff; theMC.pauseAmt = pauseAmt; if (pauseAmt > 1) { theMC.stop(); theMC._parent._parent._parent.stop(); } theMC.magnitude = shakeAmt; theMC.decAmount = 1; theMC.speed = 13; theMC.destX = theMC._x; theMC.destY = theMC._y; theMC.onEnterFrame = function () { if (this.pauseAmt-- == 0) { this._parent._xscale = 100; this._parent._yscale = 100; this._parent._x = 0; this._parent._y = 0; this.play(); this._parent._parent._parent.play(); } if (this.magnitude < 0 && this.pauseAmt < 0) { this.play(); this._parent._parent._parent.play(); this._x = 0; this._y = 0; delete this.onEnterFrame; } if (this._x == this.destX && this._y == this.destY) { var v3 = _global.getRandomRadians(); this.destX = Math.round(Math.cos(v3) * this.magnitude); this.destY = Math.round(Math.sin(v3) * this.magnitude); this.magnitude -= this.decAmount; } else { if (this.destX < this._x) { this._x = Math.max(this.destX, this._x - this.speed); } if (this.destY < this._y) { this._y = Math.max(this.destY, this._y - this.speed); } if (this._x < this.destX) { this._x = Math.min(this.destX, this._x + this.speed); } if (this._y < this.destY) { this._y = Math.min(this.destY, this._y + this.speed); } } }; }; _global.shakeScreenNoPause = function (theMC, scaleAmt, shakeAmt, sclXOff, sclYOff) { theMC._parent._xscale *= scaleAmt; theMC._parent._yscale *= scaleAmt; theMC._parent._x = sclXOff; theMC._parent._y = sclYOff; theMC.magnitude = shakeAmt; theMC.decAmount = 1; theMC.speed = 13; theMC.destX = theMC._x; theMC.destY = theMC._y; theMC.onEnterFrame = function () { if (this.magnitude < 0) { this._x = 0; this._y = 0; delete this.onEnterFrame; } if (this._x == this.destX && this._y == this.destY) { var v3 = _global.getRandomRadians(); this.destX = Math.round(Math.cos(v3) * this.magnitude); this.destY = Math.round(Math.sin(v3) * this.magnitude); this.magnitude -= this.decAmount; } else { if (this.destX < this._x) { this._x = Math.max(this.destX, this._x - this.speed); } if (this.destY < this._y) { this._y = Math.max(this.destY, this._y - this.speed); } if (this._x < this.destX) { this._x = Math.min(this.destX, this._x + this.speed); } if (this._y < this.destY) { this._y = Math.min(this.destY, this._y + this.speed); } } }; }; _global.getRandomRadians = function () { var v1 = Math.round(Math.random() * 1000) % 360 + 1; var v2 = v1 * Math.PI / 180; return v2; }; _global.pauseScreen = function (theMC) { delete theMC.onEnterFrame; theMC.stop(); theMC._parent._parent._parent.stop(); theMC._x = 0; theMC._y = 0; theMC.onEnterFrame = function () { if (Key.isDown(13)) { _global.INTERACTION.wrapper.curInteractive.virtScreen.onMouseDown = function () { _global.INTERACTION.wrapper.curInteractive.virtScreen.startDrag(); }; _global.INTERACTION.wrapper.curInteractive.virtScreen.onMouseUp = function () { _global.INTERACTION.wrapper.curInteractive.virtScreen.stopDrag(); trace(Math.round(_global.INTERACTION.wrapper.curInteractive.virtScreen._x) + ', ' + Math.round(_global.INTERACTION.wrapper.curInteractive.virtScreen._y)); }; } else { if (Key.isDown(39)) { this.play(); this._parent._parent._parent.play(); delete _global.INTERACTION.wrapper.curInteractive.virtScreen.onMouseDown; delete _global.INTERACTION.wrapper.curInteractive.virtScreen.onMouseUp; delete this.onEnterFrame; } } }; }; _global.mcRef_over; _global.mcRef_under; _global.x_over; _global.x_under; _global.pr_over; _global.pr_under; _global.PROJECTILE_PARTY_LIGHT_BLUE = 'PartyLight_Blue'; _global.PROJECTILE_PARTY_LIGHT_GRN = 'PartyLight_Grn'; _global.PROJECTILE_REMNANT_CLOSE_0 = 'RemnantClose0'; _global.PROJECTILE_REMNANT_CLOSE_1 = 'RemnantClose1'; _global.PROJECTILE_REMNANT_CLOSE_2 = 'RemnantClose2'; _global.PROJECTILE_REMNANT_CLOSE_3 = 'RemnantClose3'; _global.PROJECTILE_REMNANT_FAR_0 = 'RemnantFar0'; _global.PROJECTILE_REMNANT_FAR_1 = 'RemnantFar1'; _global.PROJECTILE_REMNANT_FAR_2 = 'RemnantFar2'; _global.PROJECTILE_REMNANT_FAR_3 = 'RemnantFar3'; _global.bL = 0; _global.bT = 1; _global.bR = 2; _global.bB = 3; _global.MAX_CAPACITY = 50; _global.MIN_CAPACITY = 15; _global.CAPACITANCE = _global.MAX_CAPACITY; _global.PROJECTILE_PARTY_LIGHT_BLUE_BOUNDARY; _global.PROJECTILE_PARTY_LIGHT_GRN_BOUNDARY; _global.PROJECTILE_REMNANT_CLOSE_0_BOUNDARY; _global.PROJECTILE_REMNANT_FAR_0_BOUNDARY; _global.projectileListing = new Array(); _global.projectileType = new Array(); _global.projectileStationary = new Array(); _global.probability = function (inPercentmillintage) { return Math.round(Math.random() * 1000000) % 10000 <= inPercentmillintage; }; _global.isUnderCapacity = function () { return _global.projectileListing.length <= _global.CAPACITANCE; }; _global.generateSingleProjectile = function (TYPE_IDENTIFIER, theMC) { var v2 = theMC.getNextHighestDepth(); var v3 = theMC.createEmptyMovieClip(v2 + '_mc', v2); v3.attachMovie(TYPE_IDENTIFIER, v2 + '_mc2', v2); _global.projectileListing.push(v3); _global.projectileType.push(TYPE_IDENTIFIER); _global.projectileStationary.push(false); _global.initializeStart(v3, TYPE_IDENTIFIER); v3.onEnterFrame = _global.setSpeed(TYPE_IDENTIFIER, v2); }; _global.generateDynamicObjects = function (arr, pr, theMC) { var v2 = 0; while (v2 < arr.length) { if (_global.probability(pr[v2]) && _global.isUnderCapacity()) { _global.generateSingleProjectile(arr[v2], theMC); } ++v2; } }; _global.processDiscard = function (i) { _global.projectileListing[i].removeMovieClip(); _global.projectileListing.splice(i, 1); _global.projectileType.splice(i, 1); _global.projectileStationary.splice(i, 1); }; _global.discardDynamicObjects = function () { var v2 = 0; while (v2 < _global.projectileListing.length) { if (_global.isOutOfBounds(_global.projectileListing[v2], _global.projectileType[v2])) { _global.processDiscard(v2); } ++v2; } }; _global.randomizeStartFrame = function (r, n) { randomFrame = Math.round(Math.random() * 1000000) % (eval('r.' + n + '_mc2'))._totalframes + 1; (eval('r.' + n + '_mc2')).gotoAndPlay(randomFrame); }; _global.dispenseSingleObject = function (TYPE_IDENTIFIER) { var v2 = _global.mcRef.getNextHighestDepth(); var v3 = _global.mcRef.createEmptyMovieClip(v2 + '_mc', v2); v3.attachMovie(TYPE_IDENTIFIER, v2 + '_mc2', v2); _global.projectileListing.push(v3); _global.projectileType.push(TYPE_IDENTIFIER); _global.projectileStationary.push(true); _global.initializeStart(v3, TYPE_IDENTIFIER); _global.randomizeStartFrame(v3, v2); }; _global.generateStationaryObjects = function (arr, pr) { var v3 = 0; while (v3 < arr.length) { var v2 = 0; while (v2 < pr[v3]) { _global.dispenseSingleObject(arr[v3]); ++v2; } ++v3; } }; _global.discardAllStationaryObjects = function () { var v2 = 0; while (v2 < _global.projectileListing.length) { if (_global.projectileStationary[v2]) { _global.processDiscard(v2); } ++v2; } }; _global.initializeStart = function (r, theType) { switch (theType) { case _global.PROJECTILE_PARTY_LIGHT_BLUE: case _global.PROJECTILE_PARTY_LIGHT_GRN: r._x = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_PARTY_LIGHT_BLUE_BOUNDARY[bR] - _global.PROJECTILE_PARTY_LIGHT_BLUE_BOUNDARY[bL]) + _global.PROJECTILE_PARTY_LIGHT_BLUE_BOUNDARY[bL]; r._y = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_PARTY_LIGHT_BLUE_BOUNDARY[bB] - _global.PROJECTILE_PARTY_LIGHT_BLUE_BOUNDARY[bT]) + _global.PROJECTILE_PARTY_LIGHT_BLUE_BOUNDARY[bT]; if (Math.random() < 0.5) { r._xscale *= -1; } break; case _global.PROJECTILE_REMNANT_CLOSE_0: case _global.PROJECTILE_REMNANT_CLOSE_1: case _global.PROJECTILE_REMNANT_CLOSE_2: case _global.PROJECTILE_REMNANT_CLOSE_3: r._x = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_REMNANT_CLOSE_0_BOUNDARY[bR] - _global.PROJECTILE_REMNANT_CLOSE_0_BOUNDARY[bL]) + _global.PROJECTILE_REMNANT_CLOSE_0_BOUNDARY[bL]; r._y = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_REMNANT_CLOSE_0_BOUNDARY[bB] - _global.PROJECTILE_REMNANT_CLOSE_0_BOUNDARY[bT]) + _global.PROJECTILE_REMNANT_CLOSE_0_BOUNDARY[bT]; if (Math.random() < 0.5) { r._xscale *= -1; r._rotation -= 105; r._x += 40; } break; case _global.PROJECTILE_REMNANT_FAR_0: case _global.PROJECTILE_REMNANT_FAR_1: case _global.PROJECTILE_REMNANT_FAR_2: case _global.PROJECTILE_REMNANT_FAR_3: RandPerc = Math.random() / 2; r._width *= RandPerc; r._height *= RandPerc; r._x = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_REMNANT_FAR_0_BOUNDARY[bR] - _global.PROJECTILE_REMNANT_FAR_0_BOUNDARY[bL]) + _global.PROJECTILE_REMNANT_FAR_0_BOUNDARY[bL]; r._y = Math.round(Math.random() * 1000000) % (_global.PROJECTILE_REMNANT_FAR_0_BOUNDARY[bB] - _global.PROJECTILE_REMNANT_FAR_0_BOUNDARY[bT]) + _global.PROJECTILE_REMNANT_FAR_0_BOUNDARY[bT]; r._rotation -= 20; r._y += (1 - RandPerc) * 100; if (Math.random() < 0.5) { r._xscale *= -1; r._rotation -= 35; } } }; _global.setSpeed = function (theType, n) { var f; if (theType == _global.PROJECTILE_WHT_STREAK) { f = function () { this._x += 10; }; return f; } if (theType == _global.PROJECTILE_REMNANT_CLOSE_0 || theType == _global.PROJECTILE_REMNANT_CLOSE_1 || theType == _global.PROJECTILE_REMNANT_CLOSE_2 || theType == _global.PROJECTILE_REMNANT_CLOSE_3 || theType == _global.PROJECTILE_REMNANT_FAR_0 || theType == _global.PROJECTILE_REMNANT_FAR_1 || theType == _global.PROJECTILE_REMNANT_FAR_2 || theType == _global.PROJECTILE_REMNANT_FAR_3) { f = function () { if ((eval('this.' + n + '_mc2'))._currentframe == (eval('this.' + n + '_mc2'))._totalframes) { var i = 0; while (i < _global.projectileListing.length) { if (_global.projectileListing[i] == this) { _global.processDiscard(i); break; } ++i; } } if (Math.random() < 0.05) { if ((eval('this.' + n + '_mc2')).innerMC._currentframe == 1) { (eval('this.' + n + '_mc2')).innerMC.gotoAndPlay('Initiate'); } } }; return f; } f = function () { if ((eval('this.' + n + '_mc2'))._currentframe == (eval('this.' + n + '_mc2'))._totalframes) { var i = 0; while (i < _global.projectileListing.length) { if (_global.projectileListing[i] == this) { _global.processDiscard(i); break; } ++i; } } }; return f; }; _global.isOutOfBounds = function (r, theType) { var v2 = false; switch (theType) { return v2; case _global.PROJECTILE_WHT_STREAK: if (r._x > global.PROJECTILE_WHT_STREAK_BOUNDARY[bR]) { v2 = true; } return v2; } return v2; }; _quality = 'LOW'; this.stop(); } movieClip 2200 { } movieClip 2203 { } movieClip 2204 { } movieClip 2207 { } movieClip 2208 { } movieClip 2211 { } movieClip 2212 { } movieClip 2213 { } movieClip 2217 { frame 2 { this.stop(); } frame 15 { this.stop(); } } movieClip 2222 { } movieClip 2225 { } movieClip 2228 { } movieClip 2239 { } movieClip 2240 { } movieClip 2241 { } movieClip 2246 { } movieClip 2253 { } movieClip 2258 { } movieClip 2259 { } movieClip 2266 { } movieClip 2269 { } movieClip 2272 { } movieClip 2275 { } movieClip 2278 { } movieClip 2281 { } movieClip 2282 { } movieClip 2283 PartyLight_Blue { } movieClip 2286 { } movieClip 2287 { } movieClip 2288 PartyLight_Grn { } movieClip 2289 { frame 1 { _global.mcRef_over = this; _global.PROJECTILE_PARTY_LIGHT_BLUE_BOUNDARY = [0, -300, 0, 0]; _global.x_over = [_global.PROJECTILE_PARTY_LIGHT_BLUE, _global.PROJECTILE_PARTY_LIGHT_GRN]; _global.pr_over = [750, 350]; this.emitter.onEnterFrame = function () { _global.generateDynamicObjects(_global.x_over, _global.pr_over, _global.mcRef_over); _global.discardDynamicObjects(); }; } frame 2 { this.stop(); } } movieClip 2292 { } movieClip 2295 { } movieClip 2298 { } movieClip 2299 { } movieClip 2302 { } movieClip 2303 { } movieClip 2304 { frame 1 { this.stop(); } } movieClip 2305 RemnantClose0 { } movieClip 2306 { frame 1 { this.stop(); } } movieClip 2307 RemnantClose1 { } movieClip 2308 { frame 1 { this.stop(); } } movieClip 2309 RemnantClose2 { } movieClip 2310 { frame 1 { this.stop(); } } movieClip 2311 RemnantClose3 { } movieClip 2312 { frame 1 { this.stop(); } } movieClip 2313 RemnantFar0 { } movieClip 2314 { frame 1 { this.stop(); } } movieClip 2315 RemnantFar1 { } movieClip 2316 { frame 1 { this.stop(); } } movieClip 2317 RemnantFar2 { } movieClip 2318 { frame 1 { this.stop(); } } movieClip 2319 RemnantFar3 { } movieClip 2320 { frame 1 { _global.mcRef_over = this; _global.PROJECTILE_REMNANT_CLOSE_0_BOUNDARY = [-200, -50, 150, 30]; _global.PROJECTILE_REMNANT_FAR_0_BOUNDARY = [-50, -20, 380, 70]; _global.x_over = [PROJECTILE_REMNANT_CLOSE_0, PROJECTILE_REMNANT_CLOSE_1, PROJECTILE_REMNANT_CLOSE_2, PROJECTILE_REMNANT_CLOSE_3, PROJECTILE_REMNANT_FAR_0, PROJECTILE_REMNANT_FAR_1, PROJECTILE_REMNANT_FAR_2, PROJECTILE_REMNANT_FAR_3]; _global.pr_over = [100, 100, 100, 100, 400, 400, 400, 400]; this.emitter.onEnterFrame = function () { _global.generateDynamicObjects(_global.x_over, _global.pr_over, _global.mcRef_over); _global.discardDynamicObjects(); }; } frame 2 { this.stop(); } } movieClip 2325 { } movieClip 2333 { } movieClip 2336 { } movieClip 2344 { } movieClip 2366 { } movieClip 2367 { frame 1 { _quality = 'LOW'; this.theInteraction.wrapper.removeMovieClip(); this.theInteraction.createEmptyMovieClip('wrapper', this.theInteraction.getNextHighestDepth()); this.theInteraction.wrapper.attachMovie('interactive_0000', 'curInteractive', this.theInteraction.getNextHighestDepth()); _global.INTERACTION = this.theInteraction; _global.BACKGROUND_0 = null; _global.BACKGROUND_1 = this.skyBG; this.onEnterFrame = function () { _global.nudgeCamera(); }; var targetFrame; switch (_global.SSEL_userSelection) { case _global.SSEL_SCENE_0: targetFrame = null; break; case _global.SSEL_SCENE_1: targetFrame = 2656; break; case _global.SSEL_SCENE_2: targetFrame = 4250; break; case _global.SSEL_SCENE_3: targetFrame = 7689; break; case _global.SSEL_SCENE_4: targetFrame = 11290; } if (targetFrame != null) { this.theInteraction.wrapper.curInteractive.gotoAndPlay(targetFrame); this.gotoAndPlay(targetFrame); if (_global.SSEL_userSelection == _global.SSEL_SCENE_1 || _global.SSEL_userSelection == _global.SSEL_SCENE_2) { this.theInteraction.wrapper.curInteractive.theMusic.gotoAndPlay(targetFrame); } else { this.theInteraction.wrapper.curInteractive.theMusic.gotoAndStop(1); } } } instance of movieClip 2217 { onClipEvent (rollOver) { this.gotoAndPlay('Start'); } onClipEvent (rollOut) { this.gotoAndPlay('Finish'); } onClipEvent (release) { _root.gotoAndPlay(_root._currentframe + 1); } } frame 15893 { this.stop(); _root.gotoAndPlay(_root._currentframe + 1); } } frame 74 { gotoAndPlay(71); }




http://swfchan.com/8/39564/info.shtml
Created: 12/5 -2019 04:22:17 Last modified: 12/5 -2019 04:22:17 Server time: 04/05 -2024 13:06:14