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

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

Nanotube.swf

This is the info page for
Flash #100804

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


Text
Loading...

slakinov.com (c) 2008

88

vERSION 1.0 OFFICIAL

-

+

LEVEL

0

+500

0000000

final score

vending machine repairman

performance RATING

again

0

ActionScript [AS1/AS2]

Frame 1
MochiAd.showPreGameAd({id:"5d59eac93d9c5fce", res:"512x432"}); maximumStage = 0; stageSelect = 0;
Frame 2
stop();
Frame 3
function limitCheck() { if (stageSelect < 1) { btnPrev._alpha = 50; btnPrev.enabled = false; } else { btnPrev._alpha = 100; btnPrev.enabled = true; } if (stageSelect == maximumStage) { btnNext._alpha = 50; btnNext.enabled = false; } else { btnNext._alpha = 100; btnNext.enabled = true; } } stop(); btnStart.onRelease = function () { Mouse.hide(); chosenStage = stageSelect; gotoAndStop (4); }; stageSelect = 0; stageNum.text = stageSelect + 1; limitCheck(); btnNext.onRelease = function () { if (btnNext.enabled) { stageSelect++; limitCheck(); stageNum.text = stageSelect + 1; } }; btnPrev.onRelease = function () { if (btnPrev.enabled) { stageSelect--; limitCheck(); stageNum.text = stageSelect + 1; } };
Frame 4
stop();
Symbol 140 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.2"); } static function showPreGameAd(options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local27); var clip = options.clip; var _local23 = 11000; var _local26 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local22 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local24, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local23; chk.ad_timeout = _local26; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } }
Symbol 60 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 1
function updateDisplay(percentLoaded) { progressDisplay.gotoAndStop(percentLoaded); if (preBytesPerSecond > 0) { progressText.text = ((((("Loading... " + formatBytes(preBytesLoaded)) + " of ") + formatBytes(preBytesTotal)) + " (") + formatBytes(preBytesPerSecond)) + "/sec)"; } else { progressText.text = (("Loading... " + formatBytes(preBytesLoaded)) + " of ") + formatBytes(preBytesTotal); } } function preloaderFinished() { clearInterval(preUpdateBytesInterval); delete this.onEnterFrame; updateDisplay(100); progressText.text = "Loading is complete!"; _root.play(); } function preloaderStart() { _root.stop(); preBytesTotal = _root.getBytesTotal(); preBytesPerPercent = 100 / preBytesTotal; preBytesLoaded = _root.getBytesLoaded(); checkBytesPerSecond(); preUpdateBytesInterval = setInterval(this, "checkBytesPerSecond", 1000); delete this.onEnterFrame; this.onEnterFrame = function () { updateProgress(); }; } function checkBytesPerSecond() { preBytesPerSecond = preBytesLoadedCount; preBytesLoadedCount = 0; } function updateProgress() { preBytesLoadedOld = preBytesLoaded; preBytesLoaded = _root.getBytesLoaded(); preBytesLoadedCount = preBytesLoadedCount + (preBytesLoaded - preBytesLoadedOld); preBytesTotal = _root.getBytesTotal(); prePercentLoaded = Math.round(preBytesPerPercent * preBytesLoaded); updateDisplay(prePercentLoaded); if (prePercentLoaded >= prePercentToPreload) { preloaderFinished(); } } function formatDecimals(num, digits) { if (digits <= 0) { return(String(Math.round(num))); } if (num < 0) { var _local6 = true; num = num * -1; } var _local5 = Math.pow(10, digits); var _local1 = String(Math.round(num * _local5)); if (num < 1) { while (_local1.length < (digits + 1)) { _local1 = "0" + _local1; } } if (_local6) { _local1 = "-" + _local1; } var _local4 = (_local1.slice(0, -digits) + ".") + _local1.slice(-digits); return(_local4); } function formatBytes(bytes) { if (bytes > 1099511627776) { return(formatDecimals(bytes / 1099511627776, 2) + " TB"); } if (bytes > 1073741824) { return(formatDecimals(bytes / 1073741824, 2) + " GB"); } if (bytes >= 1048576) { return(formatDecimals(bytes / 1048576, 2) + " MB"); } if (bytes >= 1024) { return(formatDecimals(bytes / 1024, 2) + " kB"); } return(bytes + " bytes"); } stop(); var prePercentToPreload = 100; var prePercentLoaded = 0; var preBytesTotal = 0; var preBytesLoaded = 0; var preBytesLoadedOld = 0; var preBytesLoadedCount = 0; var preBytesPerPercent = 0; var preUpdateBytesInterval = 0; var preBytesPerSecond = 0; preloaderStart();
Symbol 85 MovieClip Frame 8
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 14
gotoAndStop (1);
Symbol 90 MovieClip Frame 32
gotoAndStop (1);
Symbol 90 MovieClip Frame 51
gotoAndStop (1);
Symbol 90 MovieClip Frame 52
play();
Symbol 97 MovieClip Frame 49
gotoAndPlay ("loop");
Symbol 110 MovieClip Frame 26
stop();
Symbol 111 MovieClip Frame 26
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
play();
Symbol 127 MovieClip Frame 17
gotoAndStop (1);
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
play();
Symbol 135 MovieClip Frame 15
stop();
Symbol 135 MovieClip Frame 16
play();
Symbol 135 MovieClip Frame 30
stop();
Symbol 135 MovieClip Frame 31
play();
Symbol 135 MovieClip Frame 37
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 20, 0, 0);
Symbol 135 MovieClip Frame 40
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 15, 0, 0);
Symbol 135 MovieClip Frame 43
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 10, 0, 0);
Symbol 135 MovieClip Frame 48
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 8, 0, 0);
Symbol 135 MovieClip Frame 56
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 4, 0, 0);
Symbol 135 MovieClip Frame 60
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 3, 0, 0);
Symbol 135 MovieClip Frame 66
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 1, 0, 0);
Symbol 135 MovieClip Frame 68
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 4, 0, 0);
Symbol 135 MovieClip Frame 82
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 6, 0, 0);
Symbol 135 MovieClip Frame 93
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 3, 0, 0);
Symbol 135 MovieClip Frame 98
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 3, 0, 0);
Symbol 135 MovieClip Frame 113
rx = 150 + random(100); ry = 150 + random(100); this._parent.spawnExplosion(rx, ry, 1, 3, 0, 0);
Symbol 135 MovieClip Frame 137
fScore.finalScore.text = ("" + _parent.theFinalScore) + ""; fScore.finalRating.text = ("" + _parent.theFinalRating) + ""; Mouse.show();
Symbol 135 MovieClip Frame 245
stop(); btnOK.onRelease = function () { _parent._parent.gotoAndStop(3); };
Symbol 139 MovieClip Frame 1
ln = 1; this["pattern" + ln] = [2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[2], [25]]; this["name" + ln] = "yellow bentines"; ln++; this["pattern" + ln] = [5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[5], [22]]; this["name" + ln] = "double helix"; ln++; this["pattern" + ln] = [6, 6, 6, 6, 1, 1, 1, 1, 6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[6], [24]]; this["name" + ln] = "slit scan"; ln++; this["pattern" + ln] = [4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1]; this["blobs" + ln] = [[4, 3], [23]]; this["name" + ln] = "positive negative"; ln++; this["pattern" + ln] = [8, 8, 8, 1, 1, 3, 3, 3, 1, 1, 8, 8, 8, 1, 1, 3, 3, 3, 1, 1]; this["blobs" + ln] = [[8, 3], [21]]; this["name" + ln] = "isotopic balance"; ln++; this["pattern" + ln] = [2, 2, 2, 2, 1, 1, 3, 3, 3, 3, 1, 1, 8, 8, 8, 8, 1, 1, 1, 1]; this["blobs" + ln] = [[2, 3, 8], [23]]; this["name" + ln] = "neopolitan"; ln++; this["pattern" + ln] = [1, 1, 1, 6, 6, 6, 8, 8, 8, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[6, 8, 2], [25]]; this["name" + ln] = "thermostat"; ln++; this["pattern" + ln] = [2, 2, 1, 3, 3, 3, 1, 1, 1, 4, 4, 4, 1, 5, 5, 5, 1, 1, 1, 2]; this["blobs" + ln] = [[2, 3, 4, 5], [24]]; this["name" + ln] = "gordon is a moron"; ln++; this["pattern" + ln] = [5, 5, 5, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[5], [15]]; this["name" + ln] = "revenge of the nerds"; ln++; this["pattern" + ln] = [7, 7, 7, 7, 9, 9, 9, 9, 4, 4, 4, 4, 6, 6, 6, 6, 1, 1, 1, 1]; this["blobs" + ln] = [[7, 9, 4, 6], [24]]; this["name" + ln] = "the jungle came alive and took him"; ln++; this["pattern" + ln] = [10, 10, 10, 1, 1, 1, 1, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[10, 5], [22]]; this["name" + ln] = "you're lying through your teeth"; ln++; this["pattern" + ln] = [7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7]; this["blobs" + ln] = [[7], [1]]; this["name" + ln] = "love will torus apart"; ln++; this["pattern" + ln] = [6, 6, 6, 6, 2, 2, 2, 2, 5, 5, 5, 5, 7, 7, 7, 7, 9, 9, 9, 9]; this["blobs" + ln] = [[6, 2, 5, 7, 9], [23]]; this["name" + ln] = "rod, jane and freddy"; ln++; this["pattern" + ln] = [1, 1, 1, 1, 4, 4, 4, 4, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[4, 3], [18]]; this["name" + ln] = "kraetschmer-huffman"; ln++; this["pattern" + ln] = [6, 6, 6, 6, 6, 6, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1]; this["blobs" + ln] = [[6, 3], [16]]; this["name" + ln] = "zeroes and ones"; ln++; this["pattern" + ln] = [6, 6, 8, 8, 2, 2, 5, 5, 3, 3, 9, 9, 7, 7, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[6, 8, 2, 5, 3, 9, 7], [27]]; this["name" + ln] = "mass spectrometry"; ln++; this["pattern" + ln] = [8, 8, 8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[8], [14]]; this["name" + ln] = "the curious orange"; ln++; this["pattern" + ln] = [8, 8, 8, 8, 1, 1, 7, 7, 1, 1, 5, 5, 5, 5, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[8, 8, 5, 5, 7], [18]]; this["name" + ln] = "terrahawks"; ln++; this["pattern" + ln] = [9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10]; this["blobs" + ln] = [[9, 10], [22]]; this["name" + ln] = "james brown is dead"; ln++; this["pattern" + ln] = [3, 7, 7, 1, 1, 1, 1, 1, 1, 2, 2, 6, 6, 1, 1, 1, 1, 1, 1, 3]; this["blobs" + ln] = [[3, 7, 2, 6], [21]]; this["name" + ln] = "the flowers are still standing"; ln++; this["pattern" + ln] = [2, 2, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 2, 2]; this["blobs" + ln] = [[2, 2, 6], [17]]; this["name" + ln] = "international bestseller"; ln++; this["pattern" + ln] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10]; this["blobs" + ln] = [[10], [1]]; this["name" + ln] = "friendly bacteria"; ln++; this["pattern" + ln] = [8, 8, 1, 1, 1, 1, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[8, 6], [20]]; this["name" + ln] = "rule of thumb"; ln++; this["pattern" + ln] = [8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[8], [16]]; this["name" + ln] = "ule f humb"; ln++; this["pattern" + ln] = [2, 2, 2, 2, 2, 2, 2, 2, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10]; this["blobs" + ln] = [[2, 2, 10], [15]]; this["name" + ln] = "delia smith's perfect poached egg"; ln++; this["pattern" + ln] = [10, 10, 10, 3, 3, 9, 9, 9, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[10, 3, 3, 3, 9], [18]]; this["name" + ln] = "diffraction pattern"; ln++; this["pattern" + ln] = [9, 9, 3, 3, 1, 1, 1, 1, 3, 3, 9, 9, 7, 7, 1, 1, 1, 1, 7, 7]; this["blobs" + ln] = [[9, 3, 7], [18]]; this["name" + ln] = "bravais lattice i"; ln++; this["pattern" + ln] = [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6]; this["blobs" + ln] = [[6], [1]]; this["name" + ln] = "four minute warning"; ln++; this["pattern" + ln] = [9, 9, 3, 3, 1, 1, 1, 1, 1, 1, 6, 6, 1, 1, 1, 1, 1, 1, 7, 7]; this["blobs" + ln] = [[9, 3, 7, 6], [18]]; this["name" + ln] = "bravais lattice ii"; ln++; this["pattern" + ln] = [1, 1, 1, 1, 1, 1, 1, 6, 1, 6, 1, 6, 1, 6, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[6], [23]]; this["name" + ln] = "quantum diffraction"; ln++; this["pattern" + ln] = [6, 6, 8, 8, 2, 2, 8, 8, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[6, 8, 2], [19]]; this["name" + ln] = "fusion reactor"; ln++; this["pattern" + ln] = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 9, 9]; this["blobs" + ln] = [[4, 4, 4, 4, 4, 4, 4, 4, 4, 9], [1]]; this["name" + ln] = "probabilities"; ln++; this["pattern" + ln] = [12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12]; this["blobs" + ln] = [[12], [1]]; this["name" + ln] = "dark matter"; ln++; this["pattern" + ln] = [12, 12, 12, 12, 12, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[12], [18]]; this["name" + ln] = "rift"; ln++; this["pattern" + ln] = [12, 12, 12, 12, 1, 1, 1, 1, 1, 1, 6, 6, 6, 6, 1, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[12, 6], [20]]; this["name" + ln] = "dark energy"; ln++; this["pattern" + ln] = [12, 12, 12, 1, 1, 1, 1, 1, 4, 4, 4, 1, 3, 3, 3, 1, 1, 1, 1, 1]; this["blobs" + ln] = [[4, 4, 3, 3, 12], [20]]; this["name" + ln] = "calabi-yau manifold"; ln++; this["pattern" + ln] = [12, 12, 12, 12, 12, 12, 12, 12, 2, 2, 2, 2, 6, 6, 6, 6, 12, 12, 12, 12]; this["blobs" + ln] = [[12, 12, 12, 2, 6], [17]]; this["name" + ln] = "up quark"; ln++; this["pattern" + ln] = [12, 12, 12, 12, 12, 12, 12, 12, 12, 2, 2, 8, 8, 6, 6, 12, 12, 12, 12, 12]; this["blobs" + ln] = [[12, 12, 12, 2, 6, 8], [16]]; this["name" + ln] = "down quark"; ln++; this["pattern" + ln] = [12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 4, 4, 12, 12, 12, 12, 12, 12, 12]; this["blobs" + ln] = [[12, 12, 12, 4], [14]]; this["name" + ln] = "strange quark"; ln++; this["pattern" + ln] = [12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 3, 12, 12, 12, 12, 12, 12, 12, 12]; this["blobs" + ln] = [[12, 12, 3], [12]]; this["name" + ln] = "antistrange quark"; ln++; this["pattern" + ln] = [12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 7, 12, 12, 12, 12, 12, 12, 12, 12]; this["blobs" + ln] = [[12, 7], [12]]; this["name" + ln] = "singularity"; ln++; this["pattern" + ln] = [12, 12, 1, 7, 7, 9, 9, 9, 4, 4, 4, 4, 4, 4, 9, 9, 9, 7, 7, 1]; this["blobs" + ln] = [[12, 12, 12, 12, 7, 9, 4, 4], [18]]; this["name" + ln] = "forty-two"; ln++; function drawSegments() { count = 0; limit = 20; while (count < limit) { duplicateMovieClip (actorBank, ["segment" + this.count], segmentDepth + count); this["segment" + count].gotoAndStop(2); this["segment" + count].actor.gotoAndStop(1); this["segment" + count]._x = 200; this["segment" + count]._y = 200; this["segment" + count]._rotation = 18 * count; count++; } } function rampItUp() { this.patternStage++; if (this.patternStage > (this._parent.maximumStage + 1)) { this._parent.maximumStage++; } this.skipIt = 0; if (this.patternStage > this.totalPatterns) { this.skipIt = 1; this.snd_welldone.start(0, 0); this.theFinalScore = this.roundScore; this.theFinalRating = this.getRating(this.theFinalScore); clearInterval(this.theInterval); this.theMessage.theName.text = "experiment complete"; segCount = 0; segLimit = 20; while (segCount < segLimit) { this["segment" + segCount].gotoAndStop(5); this["segment" + segCount].actor.gotoAndStop(11); this["segment" + segCount].actor.overlay.gotoAndPlay("failure"); segCount++; } this.theMessage.gotoAndPlay("gameOver"); this.spawnExplosion(200, 200, 1, 80, 0, 0); removeMovieClip(this.actionWatch); } if (this.skipIt == 0) { currentPattern = this["pattern" + this.patternStage]; currentBlobs = this["blobs" + this.patternStage]; blobsThisRound = 0; this.theMessage.theName.text = (("" + this.patternStage) + " - ") + this["name" + this.patternStage]; this.snd_level.start(0, 0); this.score = this.score + 1000; if (this.scoreVelo < 0) { this.scoreVelo = 0; } } } function applyPattern() { count = 0; limit = 20; while (count < limit) { this["segment" + count].actor.gotoAndStop(this.currentPattern[count]); this["segment" + count].myColour = this.currentPattern[count]; count++; } } function spawnExplosion(xo, yo, colour, particles, gx, gy) { count = 0; while (count < particles) { duplicateMovieClip (actorBank, ["particle" + this.exploDepth], this.exploDepth); this["particle" + this.exploDepth].gotoAndStop(4); this["particle" + this.exploDepth].actor.gotoAndStop(colour); if (colour == 1) { this["particle" + this.exploDepth].actor.particle.particle.gotoAndPlay(random(11) + 1); } this["particle" + this.exploDepth]._x = xo; this["particle" + this.exploDepth]._y = yo; myDirection = random(20); this["particle" + this.exploDepth].myxv = this.vct[myDirection][0]; this["particle" + this.exploDepth].myyv = this.vct[myDirection][1]; this["particle" + this.exploDepth].myxg = gx * 0.1; this["particle" + this.exploDepth].myyg = gy * 0.1; this["particle" + this.exploDepth].mySpeed = (2 + random(25)) / 10; myScale = 10 + random(40); this["particle" + this.exploDepth]._xscale = myScale; this["particle" + this.exploDepth]._yscale = myScale; this["particle" + this.exploDepth].myFuse = 25; this["particle" + this.exploDepth].onEnterFrame = function () { this._x = this._x + (this.myxv * this.mySpeed); this._y = this._y + (this.myyv * this.mySpeed); this.myxv = this.myxv - this.myxg; this.myyv = this.myyv - this.myyg; this.myFuse--; if (this.myFuse < 1) { removeMovieClip(this); } }; this.exploDepth++; if (this.exploDepth > (this.exploOrigin + 999)) { this.exploDepth = this.exploOrigin; } count++; } } function stageWatcher() { if (this.changing == 2) { this.changing = 0; this.stage = this.stageLimit - this.stageRamp; } if ((this.changing == 1) && (this.blobsAlive == 0)) { this.rampItUp(); if (this.skipIt == 0) { this.applyPattern(); segCount = 0; segLimit = 20; while (segCount < segLimit) { this["segment" + segCount].actor.overlay.gotoAndPlay("stageFlash"); segCount++; } this.changing = 2; } } if (this.stage > this.stageLimit) { this.stageLimit = this.stageLimit + this.stageRamp; this.changing = 1; } } function getRating(sc) { if (sc < 1000) { rt = "waste of oxygen"; } if (sc > 999) { rt = "dead skin cell"; } if (sc > 1999) { rt = "pondlife"; } if (sc > 2999) { rt = "phlegm"; } if (sc > 3999) { rt = "bacteria"; } if (sc > 4999) { rt = "compost"; } if (sc > 5999) { rt = "mouldy sandwich"; } if (sc > 6999) { rt = "pocket fluff"; } if (sc > 7999) { rt = "pez dispenser"; } if (sc > 8999) { rt = "floppy disk"; } if (sc > 9999) { rt = "lab rat"; } if (sc > 12499) { rt = "do you want fries with that?"; } if (sc > 14999) { rt = "pencil sharpener"; } if (sc > 17499) { rt = "estate agent"; } if (sc > 19999) { rt = "caged primate"; } if (sc > 24999) { rt = "shaven monkey"; } if (sc > 29999) { rt = "exceptional monkey"; } if (sc > 34999) { rt = "gm monkey"; } if (sc > 39999) { rt = "toilet cleaner"; } if (sc > 44999) { rt = "dinnerlady"; } if (sc > 49999) { rt = "vending machine repairman"; } if (sc > 54999) { rt = "lab receptionist"; } if (sc > 59999) { rt = "dropout student"; } if (sc > 64999) { rt = "work experience chump"; } if (sc > 69999) { rt = "wannabe scientist"; } if (sc > 74999) { rt = "have-a-go scientist"; } if (sc > 79999) { rt = "scrapethrough student"; } if (sc > 84999) { rt = "office temp"; } if (sc > 89999) { rt = "lab intern"; } if (sc > 94999) { rt = "lab assistant"; } if (sc > 99999) { rt = "trainee technician"; } if (sc > 109999) { rt = "lab technician"; } if (sc > 119999) { rt = "head technician"; } if (sc > 129999) { rt = "physics geek"; } if (sc > 139999) { rt = "professor"; } if (sc > 149999) { rt = "celebrity physicist"; } if (sc > 159999) { rt = "theoretical physicist"; } if (sc > 169999) { rt = "quantum engineer"; } if (sc > 179999) { rt = "evil genius"; } if (sc > 189999) { rt = "crazed experimentor"; } if (sc > 199999) { rt = "megalomaniac"; } if (sc > 209999) { rt = "a danger to society"; } if (sc > 219999) { rt = "genetic freak"; } if (sc > 229999) { rt = "enhanced human"; } if (sc > 239999) { rt = "human 2.0 alpha"; } if (sc > 249999) { rt = "human 2.0 beta"; } if (sc > 299999) { rt = "human 2.0 final"; } if (sc > 349999) { rt = "human 3.0 beta"; } if (sc > 399999) { rt = "human 3.0 final"; } if (sc > 449999) { rt = "human X alpha"; } if (sc > 499999) { rt = "specimen one (classified)"; } if (sc > 599999) { rt = "specimen zero (classified)"; } if (sc > 649999) { rt = "omnipotent"; } return(rt); } stop(); duplicateMovieClip (blackblock, "block2", 30000); this.block2._x = 0; this.block2._y = 0; this._parent.createEmptyMovieClip("fader", 20000); this._parent.fader.theValue = 0; this._parent.fader.onEnterFrame = function () { this.diff = 100 - this.theValue; this.theValue = this.theValue + Math.ceil(this.diff / 20); if (this.theValue > 99) { this._parent.game._alpha = 100; removeMovieClip(this); } else { this._parent.game._alpha = this.theValue; } this._parent.game.block2._y = -800; }; snd_t1 = new Sound(); snd_t1.attachSound("segment notes_Seq01.wav"); snd_t2 = new Sound(); snd_t2.attachSound("segment notes_Seq02.wav"); snd_t3 = new Sound(); snd_t3.attachSound("segment notes_Seq03.wav"); snd_t4 = new Sound(); snd_t4.attachSound("segment notes_Seq04.wav"); snd_t5 = new Sound(); snd_t5.attachSound("segment notes_Seq05.wav"); snd_t6 = new Sound(); snd_t6.attachSound("segment notes_Seq06.wav"); snd_t7 = new Sound(); snd_t7.attachSound("segment notes_Seq07.wav"); snd_t8 = new Sound(); snd_t8.attachSound("segment notes_Seq08.wav"); snd_t9 = new Sound(); snd_t9.attachSound("segment notes_Seq09.wav"); snd_t10 = new Sound(); snd_t10.attachSound("segment notes_Seq10.wav"); snd_t11 = new Sound(); snd_t11.attachSound("segment notes_Seq11.wav"); snd_t12 = new Sound(); snd_t12.attachSound("segment notes_Seq12.wav"); snd_t13 = new Sound(); snd_t13.attachSound("segment notes_Seq13.wav"); snd_t14 = new Sound(); snd_t14.attachSound("segment notes_Seq14.wav"); snd_t15 = new Sound(); snd_t15.attachSound("segment notes_Seq15.wav"); snd_t16 = new Sound(); snd_t16.attachSound("segment notes_Seq16.wav"); snd_t17 = new Sound(); snd_t17.attachSound("segment notes_Seq17.wav"); snd_t18 = new Sound(); snd_t18.attachSound("segment notes_Seq18.wav"); snd_t19 = new Sound(); snd_t19.attachSound("segment notes_Seq19.wav"); snd_t20 = new Sound(); snd_t20.attachSound("segment notes_Seq20.wav"); snd_t21 = new Sound(); snd_t21.attachSound("segment notes_Seq21.wav"); snd_t22 = new Sound(); snd_t22.attachSound("segment notes_Seq22.wav"); snd_t23 = new Sound(); snd_t23.attachSound("segment notes_Seq23.wav"); snd_t24 = new Sound(); snd_t24.attachSound("segment notes_Seq24.wav"); snd_t25 = new Sound(); snd_t25.attachSound("segment notes_Seq25.wav"); snd_t26 = new Sound(); snd_t26.attachSound("segment notes_Seq26.wav"); snd_t27 = new Sound(); snd_t27.attachSound("segment notes_Seq27.wav"); snd_t28 = new Sound(); snd_t28.attachSound("segment notes_Seq28.wav"); snd_t29 = new Sound(); snd_t29.attachSound("segment notes_Seq29.wav"); snd_t30 = new Sound(); snd_t30.attachSound("segment notes_Seq30.wav"); snd_t31 = new Sound(); snd_t31.attachSound("segment notes_Seq31.wav"); snd_t32 = new Sound(); snd_t32.attachSound("segment notes_Seq32.wav"); snd_t33 = new Sound(); snd_t33.attachSound("segment notes_Seq33.wav"); snd_t34 = new Sound(); snd_t34.attachSound("segment notes_Seq34.wav"); snd_t35 = new Sound(); snd_t35.attachSound("segment notes_Seq35.wav"); snd_t36 = new Sound(); snd_t36.attachSound("segment notes_Seq36.wav"); snd_t37 = new Sound(); snd_t37.attachSound("segment notes_Seq37.wav"); snd_level = new Sound(); snd_level.attachSound("level change.wav"); snd_gameover = new Sound(); snd_gameover.attachSound("gameover.wav"); snd_maxnudge = new Sound(); snd_maxnudge.attachSound("maxnudge.wav"); snd_welldone = new Sound(); snd_welldone.attachSound("welldone.wav"); snd_b1 = new Sound(); snd_b1.attachSound("bad collisions_Seq01.wav"); snd_b2 = new Sound(); snd_b2.attachSound("bad collisions_Seq02.wav"); snd_b3 = new Sound(); snd_b3.attachSound("bad collisions_Seq03.wav"); snd_b4 = new Sound(); snd_b4.attachSound("bad collisions_Seq04.wav"); snd_b5 = new Sound(); snd_b5.attachSound("bad collisions_Seq05.wav"); snd_b6 = new Sound(); snd_b6.attachSound("bad collisions_Seq06.wav"); snd_b7 = new Sound(); snd_b7.attachSound("bad collisions_Seq07.wav"); snd_b8 = new Sound(); snd_b8.attachSound("bad collisions_Seq08.wav"); segmentDepth = 10000; score = -1000; stage = 0; stageRamp = 45; stageLimit = stage + stageRamp; changing = 0; blobsAlive = 0; blobsThisRound = 0; blobsLimit = stageRamp; drawSegments(); totalPatterns = ln - 1; patternStage = this._parent.chosenStage; skipIt = 0; rampItUp(); applyPattern(); rotating = 0; keyWatchDown = new Object(); keyWatchDown.onKeyDown = function () { k = Key.getCode(); if (k == 37) { _parent.rotating = -1; } if (k == 39) { _parent.rotating = 1; } }; Key.addListener(keyWatchDown); keyWatchUp = new Object(); keyWatchUp.onKeyUp = function () { k = Key.getCode(); if (k == 37) { _parent.rotating = 0; } if (k == 39) { _parent.rotating = 0; } }; Key.addListener(keyWatchUp); this.createEmptyMovieClip("actionWatch", 2000); actionWatch.spawnCount = 30; actionWatch.spawnOrigin = 3000; actionWatch.spawnDepth = 3000; goodNudge = 35; badNudge = 40; scoreVelo = 0; actionWatch.onEnterFrame = function () { if (this._parent.scoreVelo > 200) { this._parent.scoreVelo = 200; this._parent.score = this._parent.score + 500; this._parent.theMessage.maxOut.gotoAndPlay("maxOut"); this._parent.snd_maxnudge.start(0, 0); } if (this._parent.scoreVelo > 0) { this._parent.score = this._parent.score + (this._parent.scoreVelo / 50); } this._parent.roundScore = Math.round(this._parent.score); if (this._parent.scoreVelo < -199) { this._parent.snd_gameover.start(0, 0); this._parent.theFinalScore = this._parent.roundScore; this._parent.theFinalRating = this._parent.getRating(this._parent.theFinalScore); clearInterval(this._parent.theInterval); this._parent.theMessage.theName.text = "structural failure"; segCount = 0; segLimit = 20; while (segCount < segLimit) { this._parent["segment" + segCount].gotoAndStop(5); this._parent["segment" + segCount].actor.gotoAndStop(11); this._parent["segment" + segCount].actor.overlay.gotoAndPlay("failure"); segCount++; } this._parent.theMessage.gotoAndPlay("gameOver"); this._parent.spawnExplosion(200, 200, 1, 80, 0, 0); removeMovieClip(this); } this._parent.theMessage.theScore.text = this._parent.roundScore; percentage = (((this._parent.scoreVelo + 200) / 400) * 100) - 50; this._parent.theMessage.gague._xscale = percentage * 2; this._parent.theMessage.badGague._alpha = (-(percentage * 2)) + 20; this._parent.theMessage.goodGague._alpha = (percentage * 2) + 20; this._parent.nudgeFactor = 90 - ((percentage + 50) * 0.8); this.spawnCount--; if (((this.spawnCount < 0) && (this._parent.changing == 0)) && (this._parent.blobsThisRound < this._parent.blobsLimit)) { this._parent.blobsThisRound++; this._parent.blobsAlive++; this._parent.stage++; this.spawnDepth++; if (this.spawnDepth > 3999) { this.spawnDepth = this.spawnOrigin; } duplicateMovieClip (this._parent.actorBank, ["blob" + this.spawnDepth], this.spawnDepth); this._parent["blob" + this.spawnDepth].gotoAndStop(3); myColour = this._parent.currentBlobs[0][random(this._parent.currentBlobs[0].length)]; this._parent["blob" + this.spawnDepth].myColour = myColour; this._parent["blob" + this.spawnDepth].myClock = 51; this._parent["blob" + this.spawnDepth].actor.gotoAndStop(myColour); this._parent["blob" + this.spawnDepth]._x = 200; this._parent["blob" + this.spawnDepth]._y = 200; this._parent["blob" + this.spawnDepth]._rotation = random(360); myDirection = random(20); this._parent["blob" + this.spawnDepth].myxv = this._parent.vct[myDirection][0]; this._parent["blob" + this.spawnDepth].myyv = this._parent.vct[myDirection][1]; this._parent["blob" + this.spawnDepth].onEnterFrame = function () { this._x = this._x + (this.myxv * 1.85); this._y = this._y + (this.myyv * 1.85); this.myClock--; if (this.myClock < 1) { segCount = 0; segLimit = 20; while (segCount < segLimit) { if (this.collide.hitTest(this._parent["segment" + segCount].collide)) { if (!(this.myColour === this._parent["segment" + segCount].myColour)) { this._parent.theMessage.gotoAndPlay("bad"); this._parent.scoreVelo = this._parent.scoreVelo - this._parent.badNudge; this._parent["segment" + segCount].actor.overlay.gotoAndPlay("bad"); this._parent.spawnExplosion(this._x, this._y, 1, 20, this.myxv, this.myyv); randSound = random(8) + 1; this._parent["snd_b" + randSound].start(0, 0); } else { this._parent.theMessage.gotoAndPlay("good"); positiveNudge = this._parent.goodNudge * (Math.pow(100, this._parent.nudgeFactor / 100) / 50); this._parent.scoreVelo = this._parent.scoreVelo + positiveNudge; this._parent.stage++; this._parent["segment" + segCount].actor.overlay.gotoAndPlay("good"); this._parent.spawnExplosion(this._x, this._y, this.myColour, 4, this.myxv, this.myyv); randSound = random(37) + 1; this._parent["snd_t" + randSound].start(0, 0); } this._parent.blobsAlive--; removeMovieClip(this); } segCount++; } } }; this.spawnCount = this._parent.currentBlobs[1][0]; } if (_parent.rotating == -1) { buffer = this._parent.currentPattern.shift(); this._parent.currentPattern.push(buffer); this._parent.applyPattern(); } if (_parent.rotating == 1) { buffer = this._parent.currentPattern.pop(); this._parent.currentPattern.unshift(buffer); this._parent.applyPattern(); } }; exploDepth = 20000; exploOrigin = 20000; theInterval = setInterval(this, "stageWatcher", 3000); vct = [[0, 1], [0.309016994, 0.951056516], [0.587785252, 0.809016994], [0.809016994, 0.587785252], [0.951056516, 0.309016994], [1, 0], [0.951056516, -0.309016994], [0.809016994, -0.587785252], [0.587785252, -0.809016994], [0.309016994, -0.951056516], [0, -1], [-0.309016994, -0.951056516], [-0.587785252, -0.809016994], [-0.809016994, -0.587785252], [-0.951056516, -0.309016994], [-1, 0], [-0.951056516, 0.309016994], [-0.809016994, 0.587785252], [-0.587785252, 0.809016994], [-0.309016994, 0.951056516]];

Library Items

Symbol 1 Sound [welldone.wav]
Symbol 2 Sound [segment notes_Seq37.wav]
Symbol 3 Sound [segment notes_Seq36.wav]
Symbol 4 Sound [segment notes_Seq35.wav]
Symbol 5 Sound [segment notes_Seq34.wav]
Symbol 6 Sound [segment notes_Seq33.wav]
Symbol 7 Sound [segment notes_Seq32.wav]
Symbol 8 Sound [segment notes_Seq31.wav]
Symbol 9 Sound [segment notes_Seq30.wav]
Symbol 10 Sound [segment notes_Seq29.wav]
Symbol 11 Sound [segment notes_Seq28.wav]
Symbol 12 Sound [segment notes_Seq27.wav]
Symbol 13 Sound [segment notes_Seq26.wav]
Symbol 14 Sound [segment notes_Seq25.wav]
Symbol 15 Sound [segment notes_Seq24.wav]
Symbol 16 Sound [segment notes_Seq23.wav]
Symbol 17 Sound [segment notes_Seq22.wav]
Symbol 18 Sound [segment notes_Seq21.wav]
Symbol 19 Sound [segment notes_Seq20.wav]
Symbol 20 Sound [segment notes_Seq19.wav]
Symbol 21 Sound [segment notes_Seq18.wav]
Symbol 22 Sound [segment notes_Seq17.wav]
Symbol 23 Sound [segment notes_Seq16.wav]
Symbol 24 Sound [segment notes_Seq15.wav]
Symbol 25 Sound [segment notes_Seq14.wav]
Symbol 26 Sound [segment notes_Seq13.wav]
Symbol 27 Sound [segment notes_Seq12.wav]
Symbol 28 Sound [segment notes_Seq11.wav]
Symbol 29 Sound [segment notes_Seq10.wav]
Symbol 30 Sound [segment notes_Seq09.wav]
Symbol 31 Sound [segment notes_Seq08.wav]
Symbol 32 Sound [segment notes_Seq07.wav]
Symbol 33 Sound [segment notes_Seq06.wav]
Symbol 34 Sound [segment notes_Seq05.wav]
Symbol 35 Sound [segment notes_Seq04.wav]
Symbol 36 Sound [segment notes_Seq03.wav]
Symbol 37 Sound [segment notes_Seq02.wav]
Symbol 38 Sound [segment notes_Seq01.wav]
Symbol 39 Sound [maxnudge.wav]
Symbol 40 Sound [level change.wav]
Symbol 41 Sound [gameover.wav]
Symbol 42 Sound [bad collisions_Seq08.wav]
Symbol 43 Sound [bad collisions_Seq07.wav]
Symbol 44 Sound [bad collisions_Seq06.wav]
Symbol 45 Sound [bad collisions_Seq05.wav]
Symbol 46 Sound [bad collisions_Seq04.wav]
Symbol 47 Sound [bad collisions_Seq03.wav]
Symbol 48 Sound [bad collisions_Seq02.wav]
Symbol 49 Sound [bad collisions_Seq01.wav]
Symbol 140 MovieClip [__Packages.MochiAd]
Symbol 50 GraphicUsed by:51 53 114
Symbol 51 MovieClipUses:50Used by:60
Symbol 52 GraphicUsed by:60
Symbol 53 MovieClipUses:50Used by:60
Symbol 54 GraphicUsed by:59
Symbol 55 GraphicUsed by:59
Symbol 56 GraphicUsed by:59
Symbol 57 GraphicUsed by:59
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:54 55 56 57 58Used by:60
Symbol 60 MovieClipUses:51 52 53 59Used by:63
Symbol 61 FontUsed by:62
Symbol 62 EditableTextUses:61Used by:63
Symbol 63 MovieClipUses:60 62Used by:Timeline
Symbol 64 GraphicUsed by:Timeline
Symbol 65 GraphicUsed by:68 134
Symbol 66 GraphicUsed by:68
Symbol 67 GraphicUsed by:68 134
Symbol 68 ButtonUses:65 66 67Used by:Timeline
Symbol 69 GraphicUsed by:Timeline
Symbol 70 FontUsed by:71 83 116 117 123 128 129 130 131 133 136
Symbol 71 TextUses:70Used by:Timeline
Symbol 72 GraphicUsed by:75 77
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75 77
Symbol 75 ButtonUses:72 73 74Used by:Timeline
Symbol 76 GraphicUsed by:77
Symbol 77 ButtonUses:72 76 74Used by:Timeline
Symbol 78 FontUsed by:79
Symbol 79 EditableTextUses:78Used by:Timeline
Symbol 80 GraphicUsed by:Timeline
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:Timeline
Symbol 83 TextUses:70Used by:Timeline
Symbol 84 GraphicUsed by:85 87 91
Symbol 85 MovieClipUses:84Used by:91
Symbol 86 GraphicUsed by:90
Symbol 87 MovieClipUses:84Used by:90
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:90
Symbol 90 MovieClipUses:86 87 89Used by:91
Symbol 91 MovieClipUses:85 90 84Used by:113
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:113
Symbol 94 GraphicUsed by:96
Symbol 95 GraphicUsed by:96 111
Symbol 96 MovieClipUses:94 95Used by:97
Symbol 97 MovieClipUses:96Used by:98
Symbol 98 MovieClipUses:97Used by:113
Symbol 99 GraphicUsed by:109
Symbol 100 GraphicUsed by:109
Symbol 101 GraphicUsed by:109
Symbol 102 GraphicUsed by:109
Symbol 103 GraphicUsed by:109
Symbol 104 GraphicUsed by:109
Symbol 105 GraphicUsed by:109
Symbol 106 GraphicUsed by:109
Symbol 107 GraphicUsed by:109
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:99 100 101 102 103 104 105 106 107 108Used by:110 135
Symbol 110 MovieClipUses:109Used by:112
Symbol 111 MovieClipUses:95Used by:112
Symbol 112 MovieClipUses:110 111Used by:113
Symbol 113 MovieClipUses:91 93 98 112Used by:139
Symbol 114 MovieClipUses:50Used by:135
Symbol 115 GraphicUsed by:135
Symbol 116 TextUses:70Used by:135
Symbol 117 TextUses:70Used by:135
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:135
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:135
Symbol 122 GraphicUsed by:135
Symbol 123 EditableTextUses:70Used by:135
Symbol 124 FontUsed by:125 126
Symbol 125 EditableTextUses:124Used by:135
Symbol 126 TextUses:124Used by:127
Symbol 127 MovieClipUses:126Used by:135
Symbol 128 EditableTextUses:70Used by:132
Symbol 129 TextUses:70Used by:132
Symbol 130 EditableTextUses:70Used by:132
Symbol 131 TextUses:70Used by:132
Symbol 132 MovieClipUses:128 129 130 131Used by:135
Symbol 133 TextUses:70Used by:134
Symbol 134 ButtonUses:65 133 67Used by:135
Symbol 135 MovieClipUses:114 115 116 117 119 121 122 123 125 127 109 132 134Used by:139
Symbol 136 EditableTextUses:70Used by:139
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:139
Symbol 139 MovieClipUses:113 135 136 138Used by:Timeline

Instance Names

"btnStart"Frame 3Symbol 68 Button
"btnPrev"Frame 3Symbol 75 Button
"btnNext"Frame 3Symbol 77 Button
"stageNum"Frame 3Symbol 79 EditableText
"game"Frame 4Symbol 139 MovieClip
"progressBar"Symbol 60 MovieClip Frame 1Symbol 53 MovieClip
"progressDisplay"Symbol 63 MovieClip Frame 1Symbol 60 MovieClip
"progressText"Symbol 63 MovieClip Frame 1Symbol 62 EditableText
"overlay"Symbol 91 MovieClip Frame 1Symbol 90 MovieClip
"particle"Symbol 110 MovieClip Frame 1Symbol 109 MovieClip
"particle"Symbol 112 MovieClip Frame 1Symbol 110 MovieClip
"particle"Symbol 112 MovieClip Frame 2Symbol 111 MovieClip
"actor"Symbol 113 MovieClip Frame 2Symbol 91 MovieClip
"collide"Symbol 113 MovieClip Frame 2Symbol 93 MovieClip
"actor"Symbol 113 MovieClip Frame 3Symbol 98 MovieClip
"actor"Symbol 113 MovieClip Frame 4Symbol 112 MovieClip
"actor"Symbol 113 MovieClip Frame 5Symbol 91 MovieClip
"finalScore"Symbol 132 MovieClip Frame 1Symbol 128 EditableText
"finalRating"Symbol 132 MovieClip Frame 1Symbol 130 EditableText
"gague"Symbol 135 MovieClip Frame 1Symbol 114 MovieClip
"badGague"Symbol 135 MovieClip Frame 1Symbol 119 MovieClip
"goodGague"Symbol 135 MovieClip Frame 1Symbol 121 MovieClip
"theName"Symbol 135 MovieClip Frame 1Symbol 123 EditableText
"theScore"Symbol 135 MovieClip Frame 1Symbol 125 EditableText
"maxOut"Symbol 135 MovieClip Frame 1Symbol 127 MovieClip
"fScore"Symbol 135 MovieClip Frame 137Symbol 132 MovieClip
"btnOK"Symbol 135 MovieClip Frame 245Symbol 134 Button
"actorBank"Symbol 139 MovieClip Frame 1Symbol 113 MovieClip
"theMessage"Symbol 139 MovieClip Frame 1Symbol 135 MovieClip
"theName"Symbol 139 MovieClip Frame 1Symbol 136 EditableText
"blackblock"Symbol 139 MovieClip Frame 1Symbol 138 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "welldone.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "segment notes_Seq37.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "segment notes_Seq36.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "segment notes_Seq35.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "segment notes_Seq34.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "segment notes_Seq33.wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "segment notes_Seq32.wav"
ExportAssets (56)Timeline Frame 1Symbol 8 as "segment notes_Seq31.wav"
ExportAssets (56)Timeline Frame 1Symbol 9 as "segment notes_Seq30.wav"
ExportAssets (56)Timeline Frame 1Symbol 10 as "segment notes_Seq29.wav"
ExportAssets (56)Timeline Frame 1Symbol 11 as "segment notes_Seq28.wav"
ExportAssets (56)Timeline Frame 1Symbol 12 as "segment notes_Seq27.wav"
ExportAssets (56)Timeline Frame 1Symbol 13 as "segment notes_Seq26.wav"
ExportAssets (56)Timeline Frame 1Symbol 14 as "segment notes_Seq25.wav"
ExportAssets (56)Timeline Frame 1Symbol 15 as "segment notes_Seq24.wav"
ExportAssets (56)Timeline Frame 1Symbol 16 as "segment notes_Seq23.wav"
ExportAssets (56)Timeline Frame 1Symbol 17 as "segment notes_Seq22.wav"
ExportAssets (56)Timeline Frame 1Symbol 18 as "segment notes_Seq21.wav"
ExportAssets (56)Timeline Frame 1Symbol 19 as "segment notes_Seq20.wav"
ExportAssets (56)Timeline Frame 1Symbol 20 as "segment notes_Seq19.wav"
ExportAssets (56)Timeline Frame 1Symbol 21 as "segment notes_Seq18.wav"
ExportAssets (56)Timeline Frame 1Symbol 22 as "segment notes_Seq17.wav"
ExportAssets (56)Timeline Frame 1Symbol 23 as "segment notes_Seq16.wav"
ExportAssets (56)Timeline Frame 1Symbol 24 as "segment notes_Seq15.wav"
ExportAssets (56)Timeline Frame 1Symbol 25 as "segment notes_Seq14.wav"
ExportAssets (56)Timeline Frame 1Symbol 26 as "segment notes_Seq13.wav"
ExportAssets (56)Timeline Frame 1Symbol 27 as "segment notes_Seq12.wav"
ExportAssets (56)Timeline Frame 1Symbol 28 as "segment notes_Seq11.wav"
ExportAssets (56)Timeline Frame 1Symbol 29 as "segment notes_Seq10.wav"
ExportAssets (56)Timeline Frame 1Symbol 30 as "segment notes_Seq09.wav"
ExportAssets (56)Timeline Frame 1Symbol 31 as "segment notes_Seq08.wav"
ExportAssets (56)Timeline Frame 1Symbol 32 as "segment notes_Seq07.wav"
ExportAssets (56)Timeline Frame 1Symbol 33 as "segment notes_Seq06.wav"
ExportAssets (56)Timeline Frame 1Symbol 34 as "segment notes_Seq05.wav"
ExportAssets (56)Timeline Frame 1Symbol 35 as "segment notes_Seq04.wav"
ExportAssets (56)Timeline Frame 1Symbol 36 as "segment notes_Seq03.wav"
ExportAssets (56)Timeline Frame 1Symbol 37 as "segment notes_Seq02.wav"
ExportAssets (56)Timeline Frame 1Symbol 38 as "segment notes_Seq01.wav"
ExportAssets (56)Timeline Frame 1Symbol 39 as "maxnudge.wav"
ExportAssets (56)Timeline Frame 1Symbol 40 as "level change.wav"
ExportAssets (56)Timeline Frame 1Symbol 41 as "gameover.wav"
ExportAssets (56)Timeline Frame 1Symbol 42 as "bad collisions_Seq08.wav"
ExportAssets (56)Timeline Frame 1Symbol 43 as "bad collisions_Seq07.wav"
ExportAssets (56)Timeline Frame 1Symbol 44 as "bad collisions_Seq06.wav"
ExportAssets (56)Timeline Frame 1Symbol 45 as "bad collisions_Seq05.wav"
ExportAssets (56)Timeline Frame 1Symbol 46 as "bad collisions_Seq04.wav"
ExportAssets (56)Timeline Frame 1Symbol 47 as "bad collisions_Seq03.wav"
ExportAssets (56)Timeline Frame 1Symbol 48 as "bad collisions_Seq02.wav"
ExportAssets (56)Timeline Frame 1Symbol 49 as "bad collisions_Seq01.wav"
ExportAssets (56)Timeline Frame 1Symbol 140 as "__Packages.MochiAd"

Labels

"bad"Symbol 90 MovieClip Frame 2
"good"Symbol 90 MovieClip Frame 15
"stageFlash"Symbol 90 MovieClip Frame 33
"failure"Symbol 90 MovieClip Frame 52
"loop"Symbol 97 MovieClip Frame 17
"maxOut"Symbol 127 MovieClip Frame 2
"bad"Symbol 135 MovieClip Frame 2
"good"Symbol 135 MovieClip Frame 16
"gameOver"Symbol 135 MovieClip Frame 31

Dynamic Text Variables

frameMeterSymbol 136 EditableText"0"




http://swfchan.com/21/100804/info.shtml
Created: 21/3 -2019 02:40:35 Last modified: 21/3 -2019 02:40:35 Server time: 20/04 -2024 13:32:10