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

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

Trafficator - control the traffic on intersection in this fun game.swf

This is the info page for
Flash #90418

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = (fv == 5) ? /:$version : System.capabilities.version; u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } spAPI.adlock('kongregate.com'); spAPI.init(); __com_mochibot__('ef045063', this, 10301, true); saveData = SharedObject.getLocal('TrafficatorData'); Stage.showMenu = false; _root._quality = 'BEST'; _root.sound = true; _root.game_music = true; _root.pause = true; if (saveData.data.level_complete_number == undefined) { _root.difficulty = 1; _root.level_complete_number = 1; _root.level_01_score = 0; _root.level_02_score = 0; _root.level_03_score = 0; _root.level_04_score = 0; _root.level_05_score = 0; _root.level_06_score = 0; _root.level_07_score = 0; _root.level_08_score = 0; _root.level_09_score = 0; _root.level_10_score = 0; _root.level_11_score = 0; _root.level_12_score = 0; _root.level_13_score = 0; _root.level_14_score = 0; _root.level_15_score = 0; _root.total_score = 0; _root.level_01_complete = 0; _root.level_02_complete = 0; _root.level_03_complete = 0; _root.level_04_complete = 0; _root.level_05_complete = 0; _root.level_06_complete = 0; _root.level_07_complete = 0; _root.level_08_complete = 0; _root.level_09_complete = 0; _root.level_10_complete = 0; _root.level_11_complete = 0; _root.level_12_complete = 0; _root.level_13_complete = 0; _root.level_14_complete = 0; _root.level_15_complete = 0; } else { _root.difficulty = saveData.data.difficulty; _root.level_complete_number = saveData.data.level_complete_number; _root.level_01_score = saveData.data.level_01_score; _root.level_02_score = saveData.data.level_02_score; _root.level_03_score = saveData.data.level_03_score; _root.level_04_score = saveData.data.level_04_score; _root.level_05_score = saveData.data.level_05_score; _root.level_06_score = saveData.data.level_06_score; _root.level_07_score = saveData.data.level_07_score; _root.level_08_score = saveData.data.level_08_score; _root.level_09_score = saveData.data.level_09_score; _root.level_10_score = saveData.data.level_10_score; _root.level_11_score = saveData.data.level_11_score; _root.level_12_score = saveData.data.level_12_score; _root.level_13_score = saveData.data.level_13_score; _root.level_14_score = saveData.data.level_14_score; _root.level_15_score = saveData.data.level_15_score; _root.total_score = saveData.data.total_score; _root.level_01_complete = saveData.data.level_01_complete; _root.level_02_complete = saveData.data.level_02_complete; _root.level_03_complete = saveData.data.level_03_complete; _root.level_04_complete = saveData.data.level_04_complete; _root.level_05_complete = saveData.data.level_05_complete; _root.level_06_complete = saveData.data.level_06_complete; _root.level_07_complete = saveData.data.level_07_complete; _root.level_08_complete = saveData.data.level_08_complete; _root.level_09_complete = saveData.data.level_09_complete; _root.level_10_complete = saveData.data.level_10_complete; _root.level_11_complete = saveData.data.level_11_complete; _root.level_12_complete = saveData.data.level_12_complete; _root.level_13_complete = saveData.data.level_13_complete; _root.level_14_complete = saveData.data.level_14_complete; _root.level_15_complete = saveData.data.level_15_complete; } } movieClip 4 { } // unknown tag 88 length 71 movieClip 12 { } movieClip 14 { frame 1 { stop(); } } movieClip 15 { frame 1 { function wating() { if (this.playButton.body.hitTest(_root._xmouse, _root._ymouse)) { this.playButton.gotoAndPlay(3); } } this.playButton.body.onRelease = function () { _root.gotoAndPlay(2); }; this.onEnterFrame = wating; } } movieClip 16 { frame 1 { stop(); } frame 25 { stop(); } } // unknown tag 88 length 66 movieClip 21 { } movieClip 22 spAdPreRoll { #initclip Object.registerClass('spAdPreRoll', spAdPreRoll); #endinitclip frame 1 { stop(); } } movieClip 23 { frame 1 { function loading() { _root.loading_delay += Math.random() * 10; if (Math.round((_root.loading_delay / 2000) * 100) <= Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) { loaded.text = Math.round((_root.loading_delay / 2000) * 100); } else { loaded.text = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); } if (_root.getBytesLoaded() >= _root.getBytesTotal() and _root.loading_delay >= 2000) { loaded.text = 100; this.button._visible = true; if (this.button._currentframe == 1) { this.button.gotoAndPlay(2); } } } _root.stop(); this.button._visible = false; _root.loading_delay = 0; stop(); this.onEnterFrame = loading; } } movieClip 25 { frame 1 { this.onPress = function () { getURL('http://www.gamesnitro.com/', 'blank'); }; stop(); } } movieClip 1027 __Packages.spAPI { #initclip if (!_global.spAPI) { var v1 = function () {}; _global.spAPI = v1; var v2 = v1.prototype; v1.init = function () { trace('spAPI->init'); var v2; var v1; System.security.allowDomain('*'); System.security.allowInsecureDomain('*'); spAPI.GameID = 'trafficator'; spAPI.Website = 'gamesnitro.com'; var v3 = new LocalConnection(); spAPI.Domain = v3.domain(); spAPI.Domain = spAPI.Domain.toLowerCase(); spAPI.adlock('kongregate.com'); spAPI.adlock('addictinggames.com'); spAPI.adlock('.agame.com'); spAPI.adlock('.gamesgames.com'); spAPI.adlock('.girlsgogames.com'); spAPI.adlock('.zapapa.com'); spAPI.adlock('.juegos.com'); spAPI.adlock('.juegosdechicas.com'); spAPI.adlock('.zapjuegos.com'); spAPI.adlock('.ourgames.ru'); spAPI.adlock('.flashgames.ru'); spAPI.adlock('.girlsgogames.ru'); spAPI.adlock('.juegos.mx'); spAPI.adlock('.juegos.com.ar'); spAPI.adlock('.ojogos.com.br'); spAPI.adlock('.clickjogos.com'); spAPI.adlock('.girlsgogames.com.br'); spAPI.adlock('.dailygame.com'); spAPI.adlock('.game.com.cn'); spAPI.adlock('.xiaoyouxi.com'); spAPI.adlock('.game.co.in'); spAPI.adlock('.games.co.id'); spAPI.adlock('.egames.jp'); spAPI.adlock('.agame.co.uk'); spAPI.adlock('.games.co.uk'); spAPI.adlock('.girlsgogames.co.uk'); spAPI.adlock('.spel.nl'); spAPI.adlock('.spelletjes.nl'); spAPI.adlock('.girlsgogames.nl'); spAPI.adlock('.jetztspielen.de'); spAPI.adlock('.spielen.com'); spAPI.adlock('.girlsgogames.de'); spAPI.adlock('.jeux.fr'); spAPI.adlock('.jeu.fr'); spAPI.adlock('.girlsgogames.fr'); spAPI.adlock('.juegos.com'); spAPI.adlock('.zapjuegos.com'); spAPI.adlock('.juegosdechicas.com'); spAPI.adlock('.girlsgogames.es'); spAPI.adlock('.gioco.it'); spAPI.adlock('.girlsgogames.it'); spAPI.adlock('.gry.pl'); spAPI.adlock('.girlsgogames.pl'); spAPI.adlock('.spela.se'); spAPI.adlock('.spel.se'); spAPI.adlock('.girlsgogames.se'); spAPI.adlock('.ojogos.pt'); spAPI.NoAds = false; v1 = 0; while (v1 < spAPI.AdLocks.length) { v2 = spAPI.AdLocks[v1]; if (spAPI.Domain.indexOf(v2) != -1) { spAPI.NoAds = true; } ++v1; } spAPI.SiteLock = false; v1 = 0; while (v1 < spAPI.SiteLocks.length) { v2 = spAPI.SiteLocks[v1]; if (spAPI.Domain.indexOf(v2) != -1) { spAPI.SiteLock = true; spAPI.NoAds = true; } ++v1; } spAPI.PreRoll = 'cpmstar'; spAPI.PreRollCode = '3132Q215AC342'; if (spAPI.Domain.indexOf('mochi') != -1) { spAPI.PreRoll = 'mochiadsca'; spAPI.PreRollCode = 'b15705b403acf276'; } if (spAPI.NoAds) { spAPI.PreRoll = 'none'; spAPI.PreRollCode = ''; } if (!spAPI.SiteLock) { spAPI.liveConnect(); } }; v1.adlock = function (ldomain) { spAPI.AdLocks.push(ldomain.toLowerCase()); }; v1.sitelock = function (ldomain) { spAPI.SiteLocks.push(ldomain.toLowerCase()); }; v1.apiclick = function (tag) { var v1; v1 = 'http://www.' + spAPI.Website + '/apiclick.php'; v1 += '?game=' + spAPI.GameID; v1 += '&host=' + spAPI.Domain; v1 += '&tag=' + tag; getURL(v1, '_blank'); }; v1.liveConnect = function () { var RESPONSE = new LoadVars(); RESPONSE.onHTTPStatus = function (httpStatus) {}; RESPONSE.onLoad = function (success) { if (success) { spAPI.PreRoll = RESPONSE.preroll; spAPI.PreRollCode = RESPONSE.prerollcode; spAPI.IAL = RESPONSE.ial; spAPI.IP = RESPONSE.ip; if (spAPI.NoAds && spAPI.IAL == 'no') { spAPI.PreRoll = 'none'; } trace('PreRoll = ' + spAPI.PreRoll); trace('PreRollCode = ' + spAPI.PreRollCode); trace('IAL = ' + spAPI.IAL); trace('IP = ' + spAPI.IP); if (spAPI.PreRollUnit) { spAPI.PreRollUnit.serve(); } } else { trace('No response from LiveConnect -> continue with defaults ...'); if (spAPI.PreRollUnit) { spAPI.PreRollUnit.serve(); } } }; var v2 = 'http://flash.' + spAPI.Website + '/game/' + spAPI.GameID + '/gameplay.php'; var v1 = new LoadVars(); v1.HOST = escape(spAPI.Domain); v1.BUILD = escape(spAPI.Website); v1.sendAndLoad(v2, RESPONSE, 'POST'); }; v1.submitScore = function (pname, score, pmode) { var v5; var v1; var v2; var v4; trace('spAPI->submitScore : ' + pname + ',' + score + ',' + pmode); v2 = 99; v1 = 0; while (v1 < spAPI.GameID.length) { v2 += spAPI.GameID.charCodeAt(v1); ++v1; } v1 = 0; while (v1 < spAPI.IP.length) { v2 += spAPI.IP.charCodeAt(v1); ++v1; } v1 = 0; while (v1 < pmode.length) { v2 -= pmode.charCodeAt(v1); ++v1; } v5 = Math.ceil(score / 8) + 21539 + v2; v4 = 'http://www.' + spAPI.Website + '/submitscore.php'; v4 += '?game=' + spAPI.GameID; v4 += '&name=' + pname; v4 += '&score=' + score; v4 += '&mode=' + pmode; v4 += '&key=' + v5; getURL(v4, '_blank'); }; v1.AdLocks = []; v1.SiteLocks = []; v1.PreRoll = ''; v1.PreRollCode = ''; ASSetPropFlags(_global.spAPI.prototype, null, 1); } #endinitclip } movieClip 1028 __Packages.spAdUnit { #initclip if (!_global.spAdUnit) { var v1 = function () { super(); System.security.allowDomain('*'); this.Served = false; this.ServedWhat = ''; this.ServedCode = ''; }; _global.spAdUnit = v1; _global.spAdUnit extends MovieClip; var v2 = v1.prototype; v2.mochiPreRoll = function (idcode) { trace('AdUnit->mochiAds PreRoll'); try { mochi.as2.MochiAd.showPreGameAd({'id': idcode, 'res': '600x600'}); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); trace('AdUnit->mochiAds loading error ...'); } else { throw v0; } } }; v2.mochiMidRoll = function (idcode) { trace('AdUnit->mochiAds MidRoll'); try { mochi.as2.MochiAd.showClickAwayAd({'clip': this.adBox, 'id': idcode}); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); trace('AdUnit->mochiAds loading error ...'); } else { throw v0; } } }; v2.cpmPreRoll = function (idcode) { trace('AdUnit->cpmStar PreRoll'); System.security.allowDomain('server.cpmstar.com'); try { this.adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + idcode); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); trace('AdUnit->cpmStar loading error ...'); } else { throw v0; } } }; v2.customPreRoll = function () { trace('AdUnit->customPreRoll'); try { var v2 = 'http://content.' + spAPI.Website + '/adview/' + spAPI.GameID + '.swf'; this.adBox.loadMovie(v2); } catch (v0) { if (Error(v0) != null) { var e = Error(v0); trace('AdUnit->customPreRoll loading error ...'); } else { throw v0; } } }; ASSetPropFlags(_global.spAdUnit.prototype, null, 1); } #endinitclip } movieClip 1029 __Packages.mochi.as2.MochiAd { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiAd) { var v1 = function () {}; mochi.as2.MochiAd = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showPreGameAd = function (options) { var v27 = {'clip': _root, 'ad_timeout': 3000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showPreloaderAd', 'color': 16747008, 'background': 16777161, 'outline': 13994812, 'no_progress_bar': false, 'ad_started': function () { this.clip.stop(); }, 'ad_finished': function () { this.clip.play(); }, 'ad_failed': function () { trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software'); }, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}, 'ad_progress': function (percent) {}}; options = mochi.as2.MochiAd._parseOptions(options, v27); if ('c862232051e0a94e1c3609b3916ddb17'.substr(0) == 'dfeada81ac97cde83665f81c12da7def') { options.ad_started(); options.ad_finished(); return undefined; } var clip = options.clip; var v24 = 11000; var v19 = options.ad_timeout; if (options.skip) { v19 = 0; } delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!mochi.as2.MochiAd.load(options)) { options.ad_failed(); options.ad_finished(); return undefined; } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var v15 = mochi.as2.MochiAd._getRes(options); var v5 = v15[0]; var v14 = v15[1]; mc._x = v5 * 0.5; mc._y = v14 * 0.5; var chk = mc.createEmptyMovieClip('_mochiad_wait', 3); chk._x = v5 * -0.5; chk._y = v14 * -0.5; var v7 = chk.createEmptyMovieClip('_mochiad_bar', 4); if (options.no_progress_bar) { v7._visible = false; delete options.no_progress_bar; } else { v7._x = 10; v7._y = v14 - 20; } var v23 = options.color; delete options.color; var v21 = options.background; delete options.background; var v25 = options.outline; delete options.outline; var v6 = v7.createEmptyMovieClip('_outline', 1); v6.beginFill(v21); v6.moveTo(0, 0); v6.lineTo(v5 - 20, 0); v6.lineTo(v5 - 20, 10); v6.lineTo(0, 10); v6.lineTo(0, 0); v6.endFill(); var v4 = v7.createEmptyMovieClip('_inside', 2); v4.beginFill(v23); v4.moveTo(0, 0); v4.lineTo(v5 - 20, 0); v4.lineTo(v5 - 20, 10); v4.lineTo(0, 10); v4.lineTo(0, 0); v4.endFill(); v4._xscale = 0; var v8 = v7.createEmptyMovieClip('_outline', 3); v8.lineStyle(0, v25, 100); v8.moveTo(0, 0); v8.lineTo(v5 - 20, 0); v8.lineTo(v5 - 20, 10); v8.lineTo(0, 10); v8.lineTo(0, 0); chk.ad_msec = v24; chk.ad_timeout = v19; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time); if (v2 > 0) { this._parent._alpha = v2; } else { var v3 = this._parent._parent; mochi.as2.MochiAd.unload(v3); delete this.onEnterFrame; } }; var sendHostProgress = false; mc.lc.sendHostLoadProgress = function (lc_name) { sendHostProgress = true; }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var v2 = this.mc._mochiad_wait; v2.server_control = true; v2.started = getTimer(); v2.ad_msec = msec; }; mc.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace('[MOCHIAD rpcTestFn] ' + s); return s; }; chk.onEnterFrame = function () { var v10 = this._parent._parent; var v3 = v10; for (;;) { if (!(!v3.getBytesTotal() && v3)) break; v3 = v3._parent; } if (!v3) { v3 = _root; } var v13 = this._parent._mochiad_ctr; var v7 = getTimer() - this.started; var v5 = false; var v6 = v3.getBytesTotal(); var v9 = v3.getBytesLoaded(); var v4 = 100 * v9 / v6; var v12 = 100 * v7 / chk.ad_msec; var v11 = this._mochiad_bar._inside; var v15 = Math.min(100, Math.min(v4 || 0, v12)); v15 = Math.max(this.last_pcnt, v15); this.last_pcnt = v15; v11._xscale = v15; options.ad_progress(v15); if (sendHostProgress) { mochi.as2.MochiAd.containerNotify(clip, {'id': 'hostLoadPcnt', 'pcnt': v4}, clip._mochiad._containerLCName); if (v4 == 100) { sendHostProgress = false; } } if (!chk.showing) { var v8 = v13.getBytesTotal(); if (v8 > 0 || typeof v8 == 'undefined') { chk.showing = true; chk.started = getTimer(); } else { if (v7 > chk.ad_timeout && v4 == 100) { options.ad_failed(); v5 = true; } } } if (v7 > chk.ad_msec) { v5 = true; } if (v6 > 0 && v9 >= v6 && v5) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; }; v1.showClickAwayAd = function (options) { var v10 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showClickAwayAd', 'res': '300x250', 'no_bg': true, 'ad_started': function () {}, 'ad_finished': function () {}, 'ad_loaded': function (width, height) {}, 'ad_failed': function () { trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software'); }, 'ad_skipped': function () {}}; options = mochi.as2.MochiAd._parseOptions(options, v10); var clip = options.clip; var v9 = options.ad_timeout; delete options.ad_timeout; if (!mochi.as2.MochiAd.load(options)) { options.ad_failed(); options.ad_finished(); return undefined; } options.ad_started(); var v3 = clip._mochiad; v3.onUnload = function () { options.ad_finished(); }; var v5 = mochi.as2.MochiAd._getRes(options); var v11 = v5[0]; var v8 = v5[1]; v3._x = v11 * 0.5; v3._y = v8 * 0.5; var chk = v3.createEmptyMovieClip('_mochiad_wait', 3); chk.ad_timeout = v9; chk.started = getTimer(); chk.showing = false; v3.lc.adLoaded = options.ad_loaded; v3.lc.adSkipped = options.ad_skipped; v3.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; v3.rpcTestFn = function (s) { trace('[MOCHIAD rpcTestFn] ' + s); return s; }; var v21 = false; chk.onEnterFrame = function () { var v5 = this._parent._mochiad_ctr; var v4 = getTimer() - this.started; var v2 = false; if (!chk.showing) { var v3 = v5.getBytesTotal(); if (v3 > 0 || typeof v3 == 'undefined') { v2 = true; chk.showing = true; chk.started = getTimer(); } else { if (v4 > chk.ad_timeout) { options.ad_failed(); v2 = true; } } } if (v2) { delete this.onEnterFrame; } }; }; v1.showInterLevelAd = function (options) { var v13 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showTimedAd', 'ad_started': function () { this.clip.stop(); }, 'ad_finished': function () { this.clip.play(); }, 'ad_failed': function () { trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software'); }, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}}; options = mochi.as2.MochiAd._parseOptions(options, v13); var clip = options.clip; var v10 = 11000; var v12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!mochi.as2.MochiAd.load(options)) { options.ad_failed(); options.ad_finished(); return undefined; } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var v5 = mochi.as2.MochiAd._getRes(options); var v14 = v5[0]; var v11 = v5[1]; mc._x = v14 * 0.5; mc._y = v11 * 0.5; var chk = mc.createEmptyMovieClip('_mochiad_wait', 3); chk.ad_msec = v10; chk.ad_timeout = v12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time); if (v2 > 0) { this._parent._alpha = v2; } else { var v3 = this._parent._parent; mochi.as2.MochiAd.unload(v3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var v2 = this.mc._mochiad_wait; v2.server_control = true; v2.started = getTimer(); v2.ad_msec = msec - 250; }; mc.lc.rpc = function (callbackID, arg) { mochi.as2.MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace('[MOCHIAD rpcTestFn] ' + s); return s; }; chk.onEnterFrame = function () { var v5 = this._parent._mochiad_ctr; var v4 = getTimer() - this.started; var v2 = false; if (!chk.showing) { var v3 = v5.getBytesTotal(); if (v3 > 0 || typeof v3 == 'undefined') { chk.showing = true; chk.started = getTimer(); } else { if (v4 > chk.ad_timeout) { options.ad_failed(); v2 = true; } } } if (v4 > chk.ad_msec) { v2 = true; } if (v2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; }; v1.showPreloaderAd = function (options) { trace('[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0'); mochi.as2.MochiAd.showPreGameAd(options); }; v1.showTimedAd = function (options) { trace('[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0'); mochi.as2.MochiAd.showInterLevelAd(options); }; v1._allowDomains = function (server) { var v1 = ((server.split('/'))[2].split(':'))[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain('*'); System.security.allowDomain(v1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain('*'); System.security.allowInsecureDomain(v1); } } return v1; }; v1.load = function (options) { var v12 = {'clip': _root, 'server': 'http://x.mochiads.com/srv/1/', 'method': 'load', 'depth': 10333, 'id': '_UNKNOWN_'}; options = mochi.as2.MochiAd._parseOptions(options, v12); options.swfv = options.clip.getSWFVersion() || 6; options.mav = mochi.as2.MochiAd.getVersion(); var v6 = options.clip; if (!mochi.as2.MochiAd._isNetworkAvailable()) { return null; } if (v6._mochiad_loaded) { return null; } var v11 = options.depth; delete options.depth; var mc = v6.createEmptyMovieClip('_mochiad', v11); var v10 = mochi.as2.MochiAd._getRes(options); options.res = v10[0] + 'x' + v10[1]; options.server += options.id; delete options.id; v6._mochiad_loaded = true; if (v6._url.indexOf('http') != 0) { trace('[MochiAd] NOTE: Security Sandbox Violation errors below are normal'); } var v4 = mc.createEmptyMovieClip('_mochiad_ctr', 1); for (var v7 in options) { v4[v7] = options[v7]; } var v9 = v4.server; delete v4.server; var v13 = mochi.as2.MochiAd._allowDomains(v9); mc.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; mochi.as2.MochiAd.unload(this._parent); } }; } }; var v5 = new Object(); var v8 = ['', Math.floor((new Date()).getTime()), random(999999)].join('_'); v5.mc = mc; v5.name = v8; v5.hostname = v13; v5.allowDomain = function (d) { return true; }; v5.allowInsecureDomain = v5.allowDomain; v5.connect(v8); mc.lc = v5; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; v4.lc = v8; v4.st = getTimer(); if (!options.skip) { v4.loadMovie(v9 + '.swf', 'POST'); } return mc; }; v1.unload = function (clip) { if (typeof clip == 'undefined') { clip = _root; } if (clip.clip && clip.clip._mochiad) { clip = clip.clip; } if (!clip._mochiad) { return false; } mochi.as2.MochiAd.containerNotify(clip, {'id': 'unload'}, clip._mochiad._containerLCName); clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return true; }; v1._isNetworkAvailable = function () { if (System.security) { var v1 = System.security; if (v1.sandboxType == 'localWithFile') { return false; } } return true; }; v1._getRes = function (options) { var v3 = options.clip.getBounds(); var v2 = 0; var v1 = 0; if (typeof options.res != 'undefined') { var v4 = options.res.split('x'); v2 = parseFloat(v4[0]); v1 = parseFloat(v4[1]); } else { v2 = v3.xMax - v3.xMin; v1 = v3.yMax - v3.yMin; } if (v2 == 0 || v1 == 0) { v2 = Stage.width; v1 = Stage.height; } return [v2, v1]; }; v1._parseOptions = function (options, defaults) { var v4 = {}; for (var v8 in defaults) { v4[v8] = defaults[v8]; } if (options) { for (v8 in options) { v4[v8] = options[v8]; } } if (_root.mochiad_options) { var v5 = _root.mochiad_options.split('&'); var v2 = 0; while (v2 < v5.length) { var v3 = v5[v2].split('='); v4[unescape(v3[0])] = unescape(v3[1]); ++v2; } } if (v4.id == 'test') { trace('[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!'); } return v4; }; v1.rpc = function (clip, callbackID, arg) { switch (arg.id) { case 'setValue': mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value); break; case 'getValue': var v4 = mochi.as2.MochiAd.getValue(clip, arg.objectName); mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v4, clip._mochiad._containerLCName); break; case 'runMethod': var v3 = mochi.as2.MochiAd.runMethod(clip, arg.method, arg.args); mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v3, clip._mochiad._containerLCName); break; default: trace('[mochiads rpc] unknown rpc id: ' + arg.id); } }; v1.setValue = function (base, objectName, value) { var v2 = objectName.split('.'); var v1; v1 = 0; while (v1 < v2.length - 1) { if (base[v2[v1]] == undefined || base[v2[v1]] == null) { return undefined; } base = base[v2[v1]]; ++v1; } base[v2[v1]] = value; }; v1.getValue = function (base, objectName) { var v2 = objectName.split('.'); var v1; v1 = 0; while (v1 < v2.length - 1) { if (base[v2[v1]] == undefined || base[v2[v1]] == null) { return undefined; } base = base[v2[v1]]; ++v1; } return base[v2[v1]]; }; v1.runMethod = function (base, methodName, argsArray) { var v2 = methodName.split('.'); var v1; v1 = 0; while (v1 < v2.length - 1) { if (base[v2[v1]] == undefined || base[v2[v1]] == null) { return undefined; } base = base[v2[v1]]; ++v1; } if (typeof base[v2[v1]] == 'function') { return base[v2[v1]].apply(base, argsArray); } else { return undefined; } }; v1.containerNotify = function (clip, args, lcName) { var v1 = clip._mochiad._mochiad_ctr.ad.app; if (v1.notify) { v1.notify(args); } else { (new LocalConnection()).send(lcName, 'notify', args); } }; v1.containerRpcResult = function (clip, callbackID, val, lcName) { var v1 = clip._mochiad._mochiad_ctr.ad.app; if (v1.rpcResult) { v1.rpcResult(callbackID, val); } else { (new LocalConnection()).send(lcName, 'rpcResult', callbackID, val); } }; ASSetPropFlags(mochi.as2.MochiAd.prototype, null, 1); } #endinitclip } movieClip 1030 __Packages.mochi.as2.MochiEventDispatcher { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEventDispatcher) { var v1 = function () { this.eventTable = {}; }; mochi.as2.MochiEventDispatcher = v1; var v2 = v1.prototype; v2.buildDelegate = function (thisObject, thatObject) { var v2 = {'thisObject': thisObject, 'thatObject': thatObject}; if (thatObject != undefined) { var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject; v2.delegate = function (args) { funct.call(thisObject, args); }; return v2; } v2.delegate = thisObject; return v2; }; v2.compareDelegate = function (d_A, d_B) { if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) { return false; } return true; }; v2.addEventListener = function (event, thisObject, thatObject) { this.removeEventListener(event, thisObject, thatObject); this.eventTable[event].push(this.buildDelegate(thisObject, thatObject)); }; v2.removeEventListener = function (event, thisObject, thatObject) { var v3 = this.buildDelegate(thisObject, thatObject); if (this.eventTable[event] == undefined) { this.eventTable[event] = []; return undefined; } for (var v4 in this.eventTable[event]) { if (!this.compareDelegate(this.eventTable[event][v4], v3)) { continue; } this.eventTable[event].splice(Number(v4), 1); } }; v2.triggerEvent = function (event, args) { if (this.eventTable[event] == undefined) { return undefined; } for (var v4 in this.eventTable[event]) { this.eventTable[event][v4].delegate(args); } }; ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 1031 __Packages.mochi.as2.MochiServices { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiServices) { var v1 = function () {}; mochi.as2.MochiServices = v1; var v2 = v1.prototype; v1.__get__id = function () { return mochi.as2.MochiServices._id; }; v1.__get__clip = function () { return mochi.as2.MochiServices._container; }; v1.__get__childClip = function () { return mochi.as2.MochiServices._clip; }; v1.getVersion = function () { return '3.9.1 as2'; }; v1.allowDomains = function (server) { var v1 = ((server.split('/'))[2].split(':'))[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain('*'); System.security.allowDomain(v1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain('*'); System.security.allowInsecureDomain(v1); } } return v1; }; v1.__get__isNetworkAvailable = function () { if (System.security) { var v1 = System.security; if (v1.sandboxType == 'localWithFile') { return false; } } return true; }; v1.__set__comChannelName = function (val) { if (val != undefined) { if (val.length > 3) { mochi.as2.MochiServices._sendChannelName = val + '_fromgame'; mochi.as2.MochiServices.initComChannels(); } } return mochi.as2.MochiServices.__get__comChannelName(); }; v1.__get__connected = function () { return mochi.as2.MochiServices._connected; }; v1.connect = function (id, clip, onError) { mochi.as2.MochiServices.warnID(id, false); if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) { trace('MochiServices Connecting...'); mochi.as2.MochiServices._connecting = true; mochi.as2.MochiServices.init(id, clip); } if (onError != undefined) { mochi.as2.MochiServices.onError = onError; } else { if (mochi.as2.MochiServices.onError == undefined) { mochi.as2.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } }; v1.disconnect = function () { if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected; mochi.as2.MochiServices.flush(true); if (mochi.as2.MochiServices._clip != undefined) { mochi.as2.MochiServices._clip.removeMovieClip(); delete mochi.as2.MochiServices._clip; } mochi.as2.MochiServices._listenChannel.close(); } }; v1.init = function (id, clip) { mochi.as2.MochiServices._id = id; if (clip != undefined) { mochi.as2.MochiServices._container = clip; } else { mochi.as2.MochiServices._container = _root; } mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container); }; v1.loadCommunicator = function (id, clip) { var v6 = '_mochiservices_com_' + id; var v5 = new MovieClipLoader(); var v3 = {}; if (mochi.as2.MochiServices._clip != null) { return mochi.as2.MochiServices._clip; } if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) { return null; } if ((mochi.as2.MochiServices.urlOptions()).servURL) { mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL; } var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services; if ((mochi.as2.MochiServices.urlOptions()).servicesURL) { v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL; } mochi.as2.MochiServices.allowDomains(v4); mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false); mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999); mochi.as2.MochiServices.listen(); if (v3.waitInterval != null) { clearInterval(v3.waitInterval); } v3.onLoadError = mochi.as2.MochiServices.loadError; v3.onLoadStart = function (target_mc) { this.isLoading = true; }; v3.onLoadComplete = function (target_mc) { target_mc.MochiServices = mochi.as2.MochiServices; }; v3.startTime = getTimer(); v3.wait = function () { if (getTimer() - this.startTime > 10000) { if (!this.isLoading) { mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, ['IOError']); } clearInterval(this.waitInterval); } }; v3.waitInterval = setInterval(v3, 'wait', 1000); v5.addListener(v3); v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip); mochi.as2.MochiServices._sendChannel = new LocalConnection(); mochi.as2.MochiServices._sendChannel._queue = []; return mochi.as2.MochiServices._clip; }; v1.loadError = function (target_mc, errorCode, httpStatus) { trace('MochiServices could not load.'); mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, [errorCode]); }; v1.onStatus = function (infoObject) { if (infoObject.level !== 'error') { } else { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); } }; v1.listen = function () { mochi.as2.MochiServices._listenChannel = new LocalConnection(); mochi.as2.MochiServices._listenChannel.handshake = function (args) { mochi.as2.MochiServices.__set__comChannelName(args.newChannel); }; mochi.as2.MochiServices._listenChannel.allowDomain = function (d) { return true; }; mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain; mochi.as2.MochiServices._listenChannel._nextcallbackID = 0; mochi.as2.MochiServices._listenChannel._callbacks = {}; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); trace('Waiting for MochiAds services to connect...'); }; v1.initComChannels = function () { if (!mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'}); mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()}); mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) { var v5 = pkg.callbackID; var v4 = this._callbacks[v5]; if (!v4) { return undefined; } var v2 = v4.callbackMethod; var v3 = v4.callbackObject; if (v3 && typeof v2 == 'string') { v2 = v3[v2]; } if (v2 != undefined) { v2.apply(v3, pkg.args); } delete this._callbacks[v5]; }; mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) { switch (pkg.target) { case 'services': mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args); break; case 'events': mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args); break; case 'coins': mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args); break; case 'social': mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args); } }; mochi.as2.MochiServices._listenChannel.onError = function () { mochi.as2.MochiServices.onError.apply(null, ['IOError']); }; trace('[SERVICES_API] connected!'); mochi.as2.MochiServices._connecting = false; mochi.as2.MochiServices._connected = true; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift()); } } }; v1.flush = function (error) { var v1; var v2; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { v1 = mochi.as2.MochiServices._sendChannel._queue.shift(); false; if (v1.callbackID != null) { v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; } delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; if (error) { mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod); } } }; v1.handleError = function (args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ['NotConnected']); } if (args.options != null && args.options.onError != null) { args.options.onError.apply(null, ['NotConnected']); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = 'NotConnected'; if (callbackObject != null && typeof callbackMethod == 'string') { callbackObject[callbackMethod](args); } else { if (callbackMethod != null) { callbackMethod.apply(args); } } } }; v1.send = function (methodName, args, callbackObject, callbackMethod) { if (mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } else { if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) { trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName); mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod); mochi.as2.MochiServices.flush(true); return undefined; } else { mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } } mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod}; ++mochi.as2.MochiServices._listenChannel._nextcallbackID; }; v1.urlOptions = function () { var v5 = {}; var v6; if (_root._url.indexOf('mochiad_options') != -1) { var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1; v6 = _root._url.substr(v2, _root._url.length); } else { if (_root.mochiad_options) { v6 = _root.mochiad_options; } } if (v6) { var v4 = _root.mochiad_options.split('&'); var v2 = 0; while (v2 < v4.length) { var v3 = v4[v2].split('='); v5[unescape(v3[0])] = unescape(v3[1]); ++v2; } } return v5; }; v1.warnID = function (bid, leaderboard) { bid = bid.toLowerCase(); if (bid.length != 16) { trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length'); return undefined; } else { if (bid == '1e113c7239048b3f') { if (leaderboard) { trace('WARNING: Using testing board ID'); } else { trace('WARNING: Using testing board ID as game ID'); } return undefined; } else { if (bid == '84993a1de4031cd8') { if (leaderboard) { trace('WARNING: Using testing game ID as board ID'); } else { trace('WARNING: Using testing game ID'); } return undefined; } } } var v1 = 0; while (v1 < bid.length) { switch (bid.charAt(v1)) { if (bid.charAt(v1) !== 'f') { } else { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a': break; case 'b': case 'c': case 'd': case 'e': } default: trace('WARNING: Board ID contains illegal characters: ' + bid); return undefined; } ++v1; } }; v1.addLinkEvent = function (url, burl, btn, onClick) { var timeout = 1500; var t0 = getTimer(); var v2 = new Object(); v2.mav = mochi.as2.MochiServices.getVersion(); v2.swfv = btn.getSWFVersion() || 6; v2.swfurl = btn._url; v2.fv = System.capabilities.version; v2.os = System.capabilities.os; v2.lang = System.capabilities.language; v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY; var s = '?'; var v3 = 0; for (var v6 in v2) { if (v3 != 0) { s += '&'; } ++v3; s = s + v6 + '=' + escape(v2[v6]); } if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) { var ping = btn.createEmptyMovieClip('ping', 777); var v7 = btn.createEmptyMovieClip('nettest', 778); mochi.as2.MochiServices.netupAttempted = true; ping.loadMovie('http://link.mochiads.com/linkping.swf?t=' + getTimer()); v7.onEnterFrame = function () { if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) { delete this.onEnterFrame; } else { if (getTimer() - t0 > timeout) { delete this.onEnterFrame; mochi.as2.MochiServices.netup = false; } } }; } var v4 = btn.createEmptyMovieClip('clk', 1001); v4._alpha = 0; v4.beginFill(1044735); v4.moveTo(0, 0); v4.lineTo(0, btn._height); v4.lineTo(btn._width, btn._height); v4.lineTo(btn._width, 0); v4.lineTo(0, 0); v4.endFill(); v4.onRelease = function () { if (mochi.as2.MochiServices.netup) { getURL(url + s, '_blank'); } else { getURL(burl, '_blank'); } if (onClick != undefined) { onClick(); } }; }; v1.setContainer = function (clip) {}; v1.stayOnTop = function (clip) {}; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.CONNECTED = 'onConnected'; v1._servURL = 'http://www.mochiads.com/static/lib/services/'; v1._services = 'services.swf'; v1._mochiLC = 'MochiLC.swf'; v1._listenChannelName = '__ms_'; v1._connecting = false; v1._connected = false; v1.netup = true; v1.netupAttempted = false; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); v1.addProperty('childClip', v1.__get__childClip, function () {}); v1.addProperty('clip', v1.__get__clip, function () {}); v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName); v1.addProperty('connected', v1.__get__connected, function () {}); v1.addProperty('id', v1.__get__id, function () {}); v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {}); ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1); } #endinitclip } movieClip 1032 __Packages.mochi.as2.MochiEvents { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEvents) { var v1 = function () {}; mochi.as2.MochiEvents = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.startSession = function (achievementID) { mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null); }; v1.setNotifications = function (clip, style) { var v2 = {}; for (var v3 in style) { v2[v3] = style[v3]; } v2.clip = clip; mochi.as2.MochiServices.send('events_setNotifications', v2, null, null); }; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.startPlay = function (tag) { if (tag == undefined) { tag = 'gameplay'; } mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null); }; v1.endPlay = function () { mochi.as2.MochiServices.send('events_clearRoundID', null, null, null); }; v1.trackEvent = function (tag, value) { mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null); }; v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived'; v1.ALIGN_TOP_LEFT = 'ALIGN_TL'; v1.ALIGN_TOP = 'ALIGN_T'; v1.ALIGN_TOP_RIGHT = 'ALIGN_TR'; v1.ALIGN_LEFT = 'ALIGN_L'; v1.ALIGN_CENTER = 'ALIGN_C'; v1.ALIGN_RIGHT = 'ALIGN_R'; v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL'; v1.ALIGN_BOTTOM = 'ALIGN_B'; v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR'; v1.FORMAT_SHORT = 'ShortForm'; v1.FORMAT_LONG = 'LongForm'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1); } #endinitclip } movieClip 1033 __Packages.mochi.as2.MochiCoins { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiCoins) { var v1 = function () {}; mochi.as2.MochiCoins = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showStore = function (options) { mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null); }; v1.showItem = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showItem call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null); }; v1.showVideo = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showVideo call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null); }; v1.getStoreItems = function () { mochi.as2.MochiServices.send('coins_getStoreItems'); }; v1.requestFunding = function (properties) { mochi.as2.MochiServices.send('social_requestFunding', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate); }; v1.STORE_SHOW = 'StoreShow'; v1.STORE_HIDE = 'StoreHide'; v1.ITEM_OWNED = 'ItemOwned'; v1.ITEM_NEW = 'ItemNew'; v1.STORE_ITEMS = 'StoreItems'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1); } #endinitclip } movieClip 1034 __Packages.mochi.as2.MochiSocial { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiSocial) { var v1 = function () {}; mochi.as2.MochiSocial = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showLoginWidget = function (options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options}); }; v1.hideLoginWidget = function () { mochi.as2.MochiServices.send('social_hideLoginWidget'); }; v1.requestLogin = function (properties) { mochi.as2.MochiServices.send('social_requestLogin', properties); }; v1.getFriendsList = function (properties) { mochi.as2.MochiServices.send('social_getFriendsList', properties); }; v1.postToStream = function (properties) { mochi.as2.MochiServices.send('social_postToStream', properties); }; v1.inviteFriends = function (properties) { mochi.as2.MochiServices.send('social_inviteFriends', properties); }; v1.requestFan = function (properties) { mochi.as2.MochiServices.send('social_requestFan', properties); }; v1.saveUserProperties = function (properties) { mochi.as2.MochiServices.send('social_saveUserProperties', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate); }; v1.LOGGED_IN = 'LoggedIn'; v1.LOGGED_OUT = 'LoggedOut'; v1.LOGIN_SHOW = 'LoginShow'; v1.LOGIN_HIDE = 'LoginHide'; v1.LOGIN_SHOWN = 'LoginShown'; v1.PROFILE_SHOW = 'ProfileShow'; v1.PROFILE_HIDE = 'ProfileHide'; v1.PROPERTIES_SAVED = 'PropertySaved'; v1.WIDGET_LOADED = 'WidgetLoaded'; v1.FRIEND_LIST = 'FriendsList'; v1.PROFILE_DATA = 'ProfileData'; v1.GAMEPLAY_DATA = 'GameplayData'; v1.ACTION_CANCELED = 'onCancel'; v1.ACTION_COMPLETE = 'onComplete'; v1.USER_INFO = 'UserInfo'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1.PROPERTIES_SIZE = 'PropertiesSize'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1); } #endinitclip } movieClip 1035 __Packages.spAdPreRoll { #initclip if (!_global.spAdPreRoll) { var v1 = function () { super(); spAPI.PreRollUnit = this; }; _global.spAdPreRoll = v1; _global.spAdPreRoll extends spAdUnit; var v2 = v1.prototype; v2.serve = function () { if (spAPI.PreRoll == '') { return undefined; } trace('spAdPreRoll->serve'); if (this.Served) { if (this.ServedWhat == spAPI.PreRoll && this.ServedCode == spAPI.PreRollCode) { trace('Ad Already Live...'); return undefined; } } this.Served = true; this.ServedWhat = spAPI.PreRoll; this.ServedCode = spAPI.PreRollCode; switch (spAPI.PreRoll) { case 'cpmstar': this.cpmPreRoll(spAPI.PreRollCode); break; case 'mochiads': this.mochiPreRoll(spAPI.PreRollCode); break; case 'mochiadsca': this.mochiMidRoll(spAPI.PreRollCode); break; case 'custom': this.customPreRoll(); } }; ASSetPropFlags(_global.spAdPreRoll.prototype, null, 1); } #endinitclip } movieClip 1036 __Packages.car_01 { #initclip if (!_global.car_01) { var v1 = function () { super(); }; _global.car_01 = v1; _global.car_01 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.random = Math.random(); this.bang = new Sound(); this.gas = new Sound(); this.brakes = new Sound(); this.signal = new Sound(); this.jingle = new Sound(); if (this.random < 0.33) { this.signal.attachSound('signal_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.signal.attachSound('signal_02'); } if (this.random >= 0.66) { this.signal.attachSound('signal_03'); } if (this.random < 0.33) { this.bang.attachSound('bang_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.bang.attachSound('bang_02'); } if (this.random >= 0.66) { this.bang.attachSound('bang_03'); } if (this.random < 0.2) { this.brakes.attachSound('brakes_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.brakes.attachSound('brakes_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.brakes.attachSound('brakes_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.brakes.attachSound('brakes_04'); } if (this.random >= 0.8) { this.brakes.attachSound('brakes_05'); } if (this.random < 0.2) { this.gas.attachSound('gas_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.gas.attachSound('gas_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.gas.attachSound('gas_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.gas.attachSound('gas_04'); } if (this.random >= 0.8) { this.gas.attachSound('gas_05'); } this.jam = false; this.car_stop_01._alpha = 0; this.car_stop_02._alpha = 0; this.rotation = 90; this.game_over = false; if (_root.level_number == 2 or _root.level_number == 3 or _root.level_number == 5 or _root.level_number == 6 or _root.level_number == 8 or _root.level_number == 10 or _root.level_number == 12 or _root.level_number == 13) { this.frame = Math.floor(Math.random() * 19); } else { this.frame = Math.floor(Math.random() * 30); } if (this.frame <= 10) { this.car_stop_01._x = -36.5; this.car_stop_01._y = 18.8; this.car_stop_02._x = -27.1; this.car_stop_02._y = 18.8; this.car_trafficator_01._x = -36.4; this.car_trafficator_01._y = -14.6; this.car_trafficator_02._x = -24.1; this.car_trafficator_02._y = -14.6; this.car_trafficator_03._x = -36.4; this.car_trafficator_03._y = 19.9; this.car_trafficator_04._x = -24.1; this.car_trafficator_04._y = 19.9; } if (this.frame == 11 or this.frame >= 12 and this.frame <= 15) { this.car_stop_01._x = -38.8; this.car_stop_01._y = 25.9; this.car_stop_02._x = -25.3; this.car_stop_02._y = 25.9; this.car_trafficator_01._x = -37.4; this.car_trafficator_01._y = -23.1; this.car_trafficator_02._x = -23.1; this.car_trafficator_02._y = -23.1; this.car_trafficator_03._x = -39.5; this.car_trafficator_03._y = 27.3; this.car_trafficator_04._x = -21.9; this.car_trafficator_04._y = 27.3; } if (this.frame == 12) { this.car_stop_01._x = -40.4; this.car_stop_01._y = 26.9; this.car_stop_02._x = -24.3; this.car_stop_02._y = 26.9; this.car_trafficator_01._x = -39.1; this.car_trafficator_01._y = -23.4; this.car_trafficator_02._x = -21.4; this.car_trafficator_02._y = -23.4; this.car_trafficator_03._x = -39.5; this.car_trafficator_03._y = 27.3; this.car_trafficator_04._x = -21.9; this.car_trafficator_04._y = 27.3; } if (this.frame >= 16 and this.frame <= 19) { this.car_stop_01._x = -37.4; this.car_stop_01._y = 22.3; this.car_stop_02._x = -25.1; this.car_stop_02._y = 22.3; this.car_trafficator_01._x = -36.3; this.car_trafficator_01._y = -21.3; this.car_trafficator_02._x = -22.6; this.car_trafficator_02._y = -21.3; this.car_trafficator_03._x = -36.3; this.car_trafficator_03._y = 23.7; this.car_trafficator_04._x = -22.6; this.car_trafficator_04._y = 23.7; } if (this.frame >= 20) { this.car_stop_01._x = -40.4; this.car_stop_01._y = 50.3; this.car_stop_02._x = -20.1; this.car_stop_02._y = 50.3; this.car_trafficator_01._x = -39.5; this.car_trafficator_01._y = -48.6; this.car_trafficator_02._x = -18.1; this.car_trafficator_02._y = -48.6; this.car_trafficator_03._x = -39.5; this.car_trafficator_03._y = 51.5; this.car_trafficator_04._x = -18.1; this.car_trafficator_04._y = 51.5; } this.gotoAndStop(this.frame); this.car_trafficator_01._visible = false; this.car_trafficator_02._visible = false; this.car_trafficator_03._visible = false; this.car_trafficator_04._visible = false; this.stop = this.attachMovie('stop', 'stop' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.stop._y = 0; this.stop._x = -30; this.stop._visible = false; if (_root.level_number == 10) { this.stop._rotation += 180; } this.direction = 1; this.speed = 2; this.timer = 0; this.dot = this.attachMovie('dot', 'dot' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.dot._y = 0; this.dot._x = 0; this.car_stop = false; this.press = 1; this.onRelease = function () { if (_root.game_over == false and _root.pause == true) { this.press -= 1; this.stop._visible = true; if (this.press == 0 and _root.sound == true) { this.brakes.start(); } this.car_stop = true; if (this.press < 0) { this.press = 1; this.stop._visible = false; this.car_stop = false; if (_root.sound == true) { this.gas.start(); } } } }; if (_root.level_number == 10) { this.smoke._visible = false; } }; v2.onEnterFrame = function () { if (_root.pause == true) { if (this.speed == 0 and Math.random() > 0.999 and _root.sound == true and _root.game_over == false and _root.jam01 > 1) { this.signal.start(); } if (_root.game_over == true) { this.stop._visible = false; } if (_root.game_over == true and (this.header.hitTest(_root.level.stop_01) or this.header.hitTest(_root.level.stop_02))) { this.car_stop = true; } this.car_stop_01._alpha = (2 - this.speed) * 50; this.car_stop_02._alpha = (2 - this.speed) * 50; if (this.car_stop == false and this.frame < 20) { this.speed += 0.05; } if (this.car_stop == false and this.frame >= 20) { this.speed += 0.025; } if (this.car_stop == true) { this.speed -= 0.2; } if (this.speed >= 2) { this.speed = 2; } if (this.speed <= 0) { this.speed = 0; } for (var v3 in _root.level.right._spawn.car_massive) { if (this.header.hitTest(_root.level.right._spawn.car_massive[v3].footer)) { this.speed -= 0.2; if (this.speed <= 0) { this.speed = 0; } } } for (v3 in _root.level.right_down._spawn.car_massive) { if (this.body.hitTest(_root.level.right_down._spawn.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } for (v3 in _root.level.right_down._spawn_.car_massive) { if (this.body.hitTest(_root.level.right_down._spawn_.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } if (this.dot.hitTest(_root.level.right._turn._dot) and this.direction == 1) { this.direction = 2; } if (this.dot.hitTest(_root.level.right._turn._dot_2) and this.direction == 3) { this.direction = 4; } if (this.direction == 1) { this._y -= this.speed; } if (this.direction == 2) { if (this._rotation <= 45 and this.speed == 2) { this.smoke._rotation -= 1.5; this.smoke._alpha -= 5; } if (this._rotation > 45 and this.speed == 2) { this.smoke._rotation += 1.5; this.smoke._alpha += 5; } this._rotation += this.speed * 1.6; if (this._rotation >= 90) { this._rotation = 90; this.direction += 1; } } if (this.direction == 3) { this._x += this.speed; } if (this.direction == 4) { if (this._rotation <= 135 and this.speed == 2) { this.smoke._rotation -= 1.5; this.smoke._alpha -= 5; } if (this._rotation > 135 and this.speed == 2) { this.smoke._rotation += 1.5; this.smoke._alpha += 5; } this.rotation += this.speed * 1.6; if (this.rotation >= 180) { this._rotation = 180; this.direction += 1; } else { this._rotation = this.rotation; } } if (this.direction == 5) { this._y += this.speed; } if (this.hitTest(_root.level.jam_01) and this.speed == 0 and this.jam == false) { if (_root.game_over == false) { _root.jam01 += 1; } this.jam = true; } if (this.hitTest(_root.level.jam_01) and this.speed != 0 and this.jam == true) { this.jam = false; _root.jam01 -= 1; } if (this.header.hitTest(_root.level.car_01) and this.game_over == false) { this.game_over = true; if (_root.game_over == false) { _root.menu.book.passed.gotoAndPlay(2); } if (_root.sound == true) { this.jingle.attachSound('jingle'); this.jingle.start(); } } if (this.footer.hitTest(_root.level.car_01)) { if (_root.game_over == false) { _root.car += 1; } this.removeMovieClip(); } if (_root.jam01 <= 0) { _root.jam01 = 0; } } }; v2.crush = function () { if (this.game_over == false) { this.car_trafficator_01._visible = true; this.car_trafficator_02._visible = true; this.car_trafficator_03._visible = true; this.car_trafficator_04._visible = true; if (_root.sound == true) { this.bang.start(); } this._rotation -= 3; this.speed = 0; this.car_stop = true; _root.game_over = true; this.game_over = true; _root.crush_timer = 50; _root.accident = true; this.aPoint = new flash.geom.Point(0, 0); this.body.localToGlobal(this.aPoint); this.smoke = _root.level.attachMovie('smoke', 'smoke' + _root.level.getNextHighestDepth(), _root.level.getNextHighestDepth()); this.smoke._x = this.aPoint.x - _root.level._x; this.smoke._y = this.aPoint.y - _root.level._y; } }; ASSetPropFlags(_global.car_01.prototype, null, 1); } #endinitclip } movieClip 1037 __Packages.car_02 { #initclip if (!_global.car_02) { var v1 = function () { super(); }; _global.car_02 = v1; _global.car_02 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.random = Math.random(); this.gas = new Sound(); this.brakes = new Sound(); this.jingle = new Sound(); this.signal = new Sound(); if (this.random < 0.33) { this.signal.attachSound('signal_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.signal.attachSound('signal_02'); } if (this.random >= 0.66) { this.signal.attachSound('signal_03'); } if (this.random < 0.2) { this.brakes.attachSound('brakes_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.brakes.attachSound('brakes_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.brakes.attachSound('brakes_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.brakes.attachSound('brakes_04'); } if (this.random >= 0.8) { this.brakes.attachSound('brakes_05'); } if (this.random < 0.2) { this.gas.attachSound('gas_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.gas.attachSound('gas_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.gas.attachSound('gas_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.gas.attachSound('gas_04'); } if (this.random >= 0.8) { this.gas.attachSound('gas_05'); } this.car_stop_01._alpha = 0; this.car_stop_02._alpha = 0; this.jam = false; this.game_over = false; if (_root.level_number == 2 or _root.level_number == 3 or _root.level_number == 5 or _root.level_number == 6 or _root.level_number == 8 or _root.level_number == 10 or _root.level_number == 12 or _root.level_number == 13) { this.frame = Math.floor(Math.random() * 19); } else { this.frame = Math.floor(Math.random() * 20); } if (this.frame <= 10) { this.car_stop_01._x = -36.5; this.car_stop_01._y = 18.8; this.car_stop_02._x = -27.1; this.car_stop_02._y = 18.8; this.car_trafficator_01._x = -36.4; this.car_trafficator_01._y = -14.6; this.car_trafficator_02._x = -24.1; this.car_trafficator_02._y = -14.6; this.car_trafficator_03._x = -36.4; this.car_trafficator_03._y = 19.9; this.car_trafficator_04._x = -24.1; this.car_trafficator_04._y = 19.9; } if (this.frame == 11 or this.frame >= 12 and this.frame <= 15) { this.car_stop_01._x = -38.8; this.car_stop_01._y = 25.9; this.car_stop_02._x = -25.3; this.car_stop_02._y = 25.9; this.car_trafficator_01._x = -37.4; this.car_trafficator_01._y = -23.1; this.car_trafficator_02._x = -23.1; this.car_trafficator_02._y = -23.1; this.car_trafficator_03._x = -39.5; this.car_trafficator_03._y = 27.3; this.car_trafficator_04._x = -21.9; this.car_trafficator_04._y = 27.3; } if (this.frame == 12) { this.car_stop_01._x = -40.4; this.car_stop_01._y = 26.9; this.car_stop_02._x = -24.3; this.car_stop_02._y = 26.9; this.car_trafficator_01._x = -39.1; this.car_trafficator_01._y = -23.4; this.car_trafficator_02._x = -21.4; this.car_trafficator_02._y = -23.4; this.car_trafficator_03._x = -39.5; this.car_trafficator_03._y = 27.3; this.car_trafficator_04._x = -21.9; this.car_trafficator_04._y = 27.3; } if (this.frame >= 16 and this.frame <= 19) { this.car_stop_01._x = -37.4; this.car_stop_01._y = 22.3; this.car_stop_02._x = -25.1; this.car_stop_02._y = 22.3; this.car_trafficator_01._x = -36.3; this.car_trafficator_01._y = -21.3; this.car_trafficator_02._x = -22.6; this.car_trafficator_02._y = -21.3; this.car_trafficator_03._x = -36.3; this.car_trafficator_03._y = 23.7; this.car_trafficator_04._x = -22.6; this.car_trafficator_04._y = 23.7; } if (this.frame >= 20) { this.car_stop_01._x = -40.4; this.car_stop_01._y = 50.3; this.car_stop_02._x = -20.1; this.car_stop_02._y = 50.3; this.car_trafficator_01._x = -39.5; this.car_trafficator_01._y = -48.6; this.car_trafficator_02._x = -18.1; this.car_trafficator_02._y = -48.6; this.car_trafficator_03._x = -39.5; this.car_trafficator_03._y = 51.5; this.car_trafficator_04._x = -18.1; this.car_trafficator_04._y = 51.5; } this.gotoAndStop(this.frame); this.car_trafficator_01._visible = false; this.car_trafficator_02._visible = false; this.car_trafficator_03._visible = false; this.car_trafficator_04._visible = false; this.turn_number = Math.round(Math.random() * 3.5); this.stop = this.attachMovie('stop', 'stop' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.stop._y = 0; this.stop._x = -30; this.stop._rotation = 180; this.stop._visible = false; this.direction = 1; this.speed = 2; this.timer = 0; this.dot = this.attachMovie('dot', 'dot' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.dot._y = 0; this.dot._x = 0; this.car_stop = false; this.press = 1; this.onRelease = function () { if (_root.game_over == false and _root.pause == true) { this.press -= 1; this.car_stop = true; this.stop._visible = true; if (this.press == 0 and _root.sound == true) { this.brakes.start(); } if (this.press < 0) { this.press = 1; this.car_stop = false; this.stop._visible = false; if (_root.sound == true) { this.gas.start(); } } } }; if (_root.level_number == 10) { this.smoke._visible = false; } }; v2.onEnterFrame = function () { if (_root.pause == true) { if (this.speed == 0 and Math.random() > 0.999 and _root.sound == true and _root.game_over == false and _root.jam02 > 1) { this.signal.start(); } this.car_stop_01._alpha = (2 - this.speed) * 50; this.car_stop_02._alpha = (2 - this.speed) * 50; if (_root.game_over == true) { this.stop._visible = false; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { _root.level._x += Math.random() * 4 - 2; _root.level._y += Math.random() * 4 - 2; } if (_root.game_over == true and (this.header.hitTest(_root.level.stop_01) or this.header.hitTest(_root.level.stop_02))) { this.car_stop = true; } if (this.car_stop == false and this.frame < 20) { this.speed += 0.05; } if (this.car_stop == false and this.frame >= 20) { this.speed += 0.025; } if (this.car_stop == true) { this.speed -= 0.2; } if (this.speed >= 2) { this.speed = 2; } if (this.speed <= 0) { this.speed = 0; } for (var v3 in _root.level.right._spawn.car_massive) { if (this.body.hitTest(_root.level.right._spawn.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } for (v3 in _root.level.right._spawn_.car_massive) { if (this.body.hitTest(_root.level.right._spawn_.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } for (v3 in _root.level.right_down._spawn.car_massive) { if (this.header.hitTest(_root.level.right_down._spawn.car_massive[v3].footer)) { this.speed -= 0.2; if (this.speed <= 0) { this.speed = 0; } } } if (this.dot.hitTest(_root.level.right_down._turn._dot) and this.direction == 1) { this.direction = 2; } if (this.body.hitTest(_root.level.right_01) and this.turn_number == 1) { this.car_trafficator_02._visible = true; this.car_trafficator_04._visible = true; } else { if (this.game_over == false and this.turn_number == 1) { this.car_trafficator_02._visible = false; this.car_trafficator_04._visible = false; } } if (this.body.hitTest(_root.level.right_02) and this.turn_number == 2) { this.car_trafficator_02._visible = true; this.car_trafficator_04._visible = true; } else { if (this.game_over == false and this.turn_number == 2) { this.car_trafficator_02._visible = false; this.car_trafficator_04._visible = false; } } if (this.dot.hitTest(_root.level.right_down._turn_01._dot) and this.direction == 1 and this.turn_number == 1) { this.direction = 2; } if (this.dot.hitTest(_root.level.right_down._turn_02._dot) and this.direction == 1 and this.turn_number == 2) { this.direction = 2; } if (this.direction == 1) { this._y -= this.speed; } if (this.direction == 2) { this._rotation += this.speed * 1.6; if (this._rotation <= 45 and this.speed == 2) { this.smoke._rotation -= 1.5; this.smoke._alpha -= 5; } if (this._rotation > 45 and this.speed == 2) { this.smoke._rotation += 1.5; this.smoke._alpha += 5; } if (this._rotation >= 90) { this._rotation = 90; this.direction += 1; } } if (this.direction == 3) { this._x += this.speed; } if (this.hitTest(_root.level.jam_02) and this.speed == 0 and this.jam == false) { if (_root.game_over == false) { _root.jam02 += 1; } this.jam = true; } if (this.hitTest(_root.level.jam_02) and this.speed != 0 and this.jam == true) { this.jam = false; _root.jam02 -= 1; } if ((this.header.hitTest(_root.level.car_02) or this.header.hitTest(_root.level.car_02_level_10)) and this.game_over == false) { this.game_over = true; if (_root.game_over == false) { _root.menu.book.passed.gotoAndPlay(2); } if (_root.sound == true) { this.jingle.attachSound('jingle'); this.jingle.start(); } } if (this.footer.hitTest(_root.level.car_02) or this.footer.hitTest(_root.level.car_02_level_10)) { if (_root.game_over == false) { _root.car += 1; } this.removeMovieClip(); } if (_root.jam02 <= 0) { _root.jam02 = 0; } } }; v2.crush = function () { if (this.game_over == false) { this.car_trafficator_01._visible = true; this.car_trafficator_02._visible = true; this.car_trafficator_03._visible = true; this.car_trafficator_04._visible = true; this._rotation -= 3; this.speed = 0; this.car_stop = true; this.game_over = true; _root.game_over = true; _root.crush_timer = 50; this.aPoint = new flash.geom.Point(0, 0); _root.accident = true; this.body.localToGlobal(this.aPoint); this.smoke = _root.level.attachMovie('smoke', 'smoke' + _root.level.getNextHighestDepth(), _root.level.getNextHighestDepth()); this.smoke._x = this.aPoint.x - _root.level._x; this.smoke._y = this.aPoint.y - _root.level._y; } }; ASSetPropFlags(_global.car_02.prototype, null, 1); } #endinitclip } movieClip 1038 __Packages.car_03 { #initclip if (!_global.car_03) { var v1 = function () { super(); }; _global.car_03 = v1; _global.car_03 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.random = Math.random(); this.bang = new Sound(); this.gas = new Sound(); this.brakes = new Sound(); this.jingle = new Sound(); this.signal = new Sound(); if (this.random < 0.33) { this.signal.attachSound('signal_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.signal.attachSound('signal_02'); } if (this.random >= 0.66) { this.signal.attachSound('signal_03'); } if (this.random < 0.33) { this.bang.attachSound('bang_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.bang.attachSound('bang_02'); } if (this.random >= 0.66) { this.bang.attachSound('bang_03'); } if (this.random < 0.2) { this.brakes.attachSound('brakes_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.brakes.attachSound('brakes_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.brakes.attachSound('brakes_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.brakes.attachSound('brakes_04'); } if (this.random >= 0.8) { this.brakes.attachSound('brakes_05'); } if (this.random < 0.2) { this.gas.attachSound('gas_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.gas.attachSound('gas_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.gas.attachSound('gas_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.gas.attachSound('gas_04'); } if (this.random >= 0.8) { this.gas.attachSound('gas_05'); } if (_root.level_number == 2 or _root.level_number == 3 or _root.level_number == 5 or _root.level_number == 6 or _root.level_number == 8 or _root.level_number == 10 or _root.level_number == 12 or _root.level_number == 13) { this.frame = Math.floor(Math.random() * 19); } else { this.frame = Math.floor(Math.random() * 20); } this.gotoAndStop(this.frame); this.car_trafficator_01._visible = false; this.car_trafficator_02._visible = false; this.car_trafficator_03._visible = false; this.car_trafficator_04._visible = false; this.game_over = false; this.jam = false; this.stop = this.attachMovie('stop', 'stop' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.stop._y = 0; this.stop._x = 51; this.stop._rotation = 180; if (_root.level_number == 10) { this.stop._rotation += 180; } this.stop._visible = false; this.direction = 1; this.speed = 2; this.timer = 0; this.dot = this.attachMovie('dot', 'dot' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.dot._y = 11; this.dot._x = 0; this.car_stop = false; this.press = 1; this.car_stop_01._alpha = 0; this.car_stop_02._alpha = 0; this.onRelease = function () { if (_root.game_over == false and _root.pause == true) { this.press -= 1; this.stop._visible = true; this.car_stop = true; if (this.press == 0 and _root.sound == true) { this.brakes.start(); } if (this.press < 0) { this.press = 1; this.car_stop = false; this.stop._visible = false; if (_root.sound == true) { this.gas.start(); } } } }; if (_root.level_number == 10) { this.smoke._visible = false; } }; v2.onEnterFrame = function () { if (_root.pause == true) { if (this.speed == 0 and Math.random() > 0.999 and _root.sound == true and _root.game_over == false and _root.jam03 > 1) { this.signal.start(); } this.car_stop_01._alpha = (2 - this.speed) * 50; this.car_stop_02._alpha = (2 - this.speed) * 50; if (_root.game_over == true) { this.stop._visible = false; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { _root.level._x += Math.random() * 4 - 2; _root.level._y += Math.random() * 4 - 2; } if (_root.game_over == true and (this.header.hitTest(_root.level.stop_01) or this.header.hitTest(_root.level.stop_02))) { this.car_stop = true; } if (this.car_stop == false) { this.speed += 0.0475; } if (this.car_stop == true) { this.speed -= 0.2; } if (this.speed >= 2) { this.speed = 2; } if (this.speed <= 0) { this.speed = 0; } for (var v3 in _root.level.right._spawn_.car_massive) { if (this.header.hitTest(_root.level.right._spawn_.car_massive[v3].footer)) { this.speed -= 0.2; if (this.speed <= 0) { this.speed = 0; } } } for (v3 in _root.level.right_down._spawn_.car_massive) { if (this.body.hitTest(_root.level.right_down._spawn_.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } for (v3 in _root.level.right_down._spawn.car_massive) { if (this.body.hitTest(_root.level.right_down._spawn.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } if (this.dot.hitTest(_root.level.right._turn._dot) and this.direction == 1) { this.direction = 2; } if (this.direction == 1) { this._y -= this.speed; } if (this.direction == 2) { this._rotation -= this.speed * 1.15; if (this._rotation >= -45 and this.speed == 2) { this.smoke._rotation -= 1.5; this.smoke._alpha -= 5; } if (this._rotation < -45 and this.speed == 2) { this.smoke._rotation += 1.5; this.smoke._alpha += 5; } if (this._rotation <= -90) { this._rotation = -90; this.direction += 1; } } if (this.direction == 3) { this._x -= this.speed; } if (this.hitTest(_root.level.jam_03) and this.speed == 0 and this.jam == false) { if (_root.game_over == false) { _root.jam03 += 1; } this.jam = true; } if (this.hitTest(_root.level.jam_03) and this.speed != 0 and this.jam == true) { this.jam = false; _root.jam03 -= 1; } if (this.header.hitTest(_root.level.car_03) and this.game_over == false) { this.game_over = true; if (_root.game_over == false) { _root.menu.book.passed.gotoAndPlay(2); } if (_root.sound == true) { this.jingle.attachSound('jingle'); this.jingle.start(); } } if (this.footer.hitTest(_root.level.car_03)) { if (_root.game_over == false) { _root.car += 1; } this.removeMovieClip(); } if (_root.jam03 <= 0) { _root.jam03 = 0; } } }; v2.crush = function () { if (this.game_over == false) { if (_root.sound == true) { this.bang.start(); } this.car_trafficator_01._visible = true; this.car_trafficator_02._visible = true; this.car_trafficator_03._visible = true; this.car_trafficator_04._visible = true; this._rotation -= 3; this.speed = 0; this.car_stop = true; this.game_over = true; _root.game_over = true; _root.crush_timer = 50; _root.accident = true; this.aPoint = new flash.geom.Point(0, 0); this.body.localToGlobal(this.aPoint); this.smoke = _root.level.attachMovie('smoke', 'smoke' + _root.level.getNextHighestDepth(), _root.level.getNextHighestDepth()); this.smoke._x = this.aPoint.x - _root.level._x; this.smoke._y = this.aPoint.y - _root.level._y; } }; ASSetPropFlags(_global.car_03.prototype, null, 1); } #endinitclip } movieClip 1039 __Packages.car_05 { #initclip if (!_global.car_05) { var v1 = function () { super(); }; _global.car_05 = v1; _global.car_05 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.random = Math.random(); this.bang = new Sound(); this.gas = new Sound(); this.brakes = new Sound(); this.jingle = new Sound(); this.signal = new Sound(); if (this.random < 0.33) { this.signal.attachSound('signal_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.signal.attachSound('signal_02'); } if (this.random >= 0.66) { this.signal.attachSound('signal_03'); } if (this.random < 0.33) { this.bang.attachSound('bang_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.bang.attachSound('bang_02'); } if (this.random >= 0.66) { this.bang.attachSound('bang_03'); } if (this.random < 0.2) { this.brakes.attachSound('brakes_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.brakes.attachSound('brakes_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.brakes.attachSound('brakes_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.brakes.attachSound('brakes_04'); } if (this.random >= 0.8) { this.brakes.attachSound('brakes_05'); } if (this.random < 0.2) { this.gas.attachSound('gas_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.gas.attachSound('gas_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.gas.attachSound('gas_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.gas.attachSound('gas_04'); } if (this.random >= 0.8) { this.gas.attachSound('gas_05'); } if (_root.level_number == 2 or _root.level_number == 3 or _root.level_number == 5 or _root.level_number == 6 or _root.level_number == 8 or _root.level_number == 10 or _root.level_number == 12) { this.frame = Math.floor(Math.random() * 19); } else { this.frame = Math.floor(Math.random() * 20); } this.gotoAndStop(this.frame); this.car_trafficator_01._visible = false; this.car_trafficator_02._visible = false; this.car_trafficator_03._visible = false; this.car_trafficator_04._visible = false; this.game_over = false; this.jam = false; this.rotation = -90; this.stop = this.attachMovie('stop', 'stop' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.stop._y = 0; this.stop._x = 51; if (_root.level_number == 13) { this.stop._rotation = 180; } this.stop._visible = false; this.direction = 1; this.speed = 2; this.timer = 0; this.dot = this.attachMovie('dot', 'dot' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.dot._y = 11; this.dot._x = 0; this.car_stop = false; this.press = 1; this.car_stop_01._alpha = 0; this.car_stop_02._alpha = 0; this.onRelease = function () { if (_root.game_over == false and _root.pause == true) { this.press -= 1; this.stop._visible = true; this.car_stop = true; if (this.press == 0 and _root.sound == true) { this.brakes.start(); } if (this.press < 0) { this.press = 1; this.car_stop = false; this.stop._visible = false; if (_root.sound == true) { this.gas.start(); } } } }; }; v2.onEnterFrame = function () { if (_root.pause == true) { if (this.speed == 0 and Math.random() > 0.999 and _root.sound == true and _root.game_over == false and _root.jam03 > 1) { this.signal.start(); } this.car_stop_01._alpha = (2 - this.speed) * 50; this.car_stop_02._alpha = (2 - this.speed) * 50; if (_root.game_over == true) { this.stop._visible = false; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { _root.level._x += Math.random() * 4 - 2; _root.level._y += Math.random() * 4 - 2; } if (_root.game_over == true and (this.header.hitTest(_root.level.stop_01) or this.header.hitTest(_root.level.stop_02))) { this.car_stop = true; } if (this.car_stop == false) { this.speed += 0.0475; } if (this.car_stop == true) { this.speed -= 0.2; } if (this.speed >= 2) { this.speed = 2; } if (this.speed <= 0) { this.speed = 0; } for (var v3 in _root.level.right._spawn_.car_massive) { if (this.header.hitTest(_root.level.right._spawn_.car_massive[v3].footer)) { this.speed -= 0.2; if (this.speed <= 0) { this.speed = 0; } } } for (v3 in _root.level.right_down._spawn_.car_massive) { if (this.body.hitTest(_root.level.right_down._spawn_.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } for (v3 in _root.level.right_down._spawn.car_massive) { if (this.body.hitTest(_root.level.right_down._spawn.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } if (this.dot.hitTest(_root.level.right._dot_2) and this.direction == 1) { this.direction = 2; } if (this.dot.hitTest(_root.level.right._dot) and this.direction == 3) { this.direction = 4; } if (this.direction == 1) { this._y -= this.speed; } if (this.direction == 5) { this._y += this.speed; } if (this.direction == 2) { this._rotation -= this.speed * 1.15; if (this._rotation >= -45 and this.speed == 2) { this.smoke._rotation -= 1.5; this.smoke._alpha -= 5; } if (this._rotation < -45 and this.speed == 2) { this.smoke._rotation += 1.5; this.smoke._alpha += 5; } if (this._rotation <= -90) { this._rotation = -90; this.direction += 1; } } if (this.direction == 3) { this._x -= this.speed; } if (this.direction == 4) { if (this._rotation >= -135 and this.speed == 2) { this.smoke._rotation -= 1.5; this.smoke._alpha -= 5; } if (this._rotation < -135 and this.speed == 2) { this.smoke._rotation += 1.5; this.smoke._alpha += 5; } this.rotation -= this.speed * 1.15; if (this.rotation <= -180) { this._rotation = -180; this.direction += 1; } else { this._rotation = this.rotation; } } if (this.hitTest(_root.level.jam_03) and this.speed == 0 and this.jam == false) { if (_root.game_over == false) { _root.jam03 += 1; } this.jam = true; } if (this.hitTest(_root.level.jam_03) and this.speed != 0 and this.jam == true) { this.jam = false; _root.jam03 -= 1; } if (this.header.hitTest(_root.level.car_03) and this.game_over == false) { this.game_over = true; if (_root.game_over == false) { _root.menu.book.passed.gotoAndPlay(2); } if (_root.sound == true) { this.jingle.attachSound('jingle'); this.jingle.start(); } } if (this.footer.hitTest(_root.level.car_03)) { if (_root.game_over == false) { _root.car += 1; } this.removeMovieClip(); } if (_root.jam03 <= 0) { _root.jam03 = 0; } } }; v2.crush = function () { if (this.game_over == false) { if (_root.sound == true) { this.bang.start(); } this.car_trafficator_01._visible = true; this.car_trafficator_02._visible = true; this.car_trafficator_03._visible = true; this.car_trafficator_04._visible = true; this._rotation -= 3; this.speed = 0; this.car_stop = true; this.game_over = true; _root.game_over = true; _root.crush_timer = 50; _root.accident = true; this.aPoint = new flash.geom.Point(0, 0); this.body.localToGlobal(this.aPoint); this.smoke = _root.level.attachMovie('smoke', 'smoke' + _root.level.getNextHighestDepth(), _root.level.getNextHighestDepth()); this.smoke._x = this.aPoint.x - _root.level._x; this.smoke._y = this.aPoint.y - _root.level._y; } }; ASSetPropFlags(_global.car_05.prototype, null, 1); } #endinitclip } movieClip 1040 __Packages.car_04 { #initclip if (!_global.car_04) { var v1 = function () { super(); }; _global.car_04 = v1; _global.car_04 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.random = Math.random(); this.gas = new Sound(); this.brakes = new Sound(); this.jingle = new Sound(); this.signal = new Sound(); if (this.random < 0.33) { this.signal.attachSound('signal_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.signal.attachSound('signal_02'); } if (this.random >= 0.66) { this.signal.attachSound('signal_03'); } if (this.random < 0.2) { this.brakes.attachSound('brakes_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.brakes.attachSound('brakes_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.brakes.attachSound('brakes_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.brakes.attachSound('brakes_04'); } if (this.random >= 0.8) { this.brakes.attachSound('brakes_05'); } if (this.random < 0.2) { this.gas.attachSound('gas_01'); } if (this.random >= 0.2 and this.random < 0.4) { this.gas.attachSound('gas_02'); } if (this.random >= 0.4 and this.random < 0.6) { this.gas.attachSound('gas_03'); } if (this.random >= 0.6 and this.random < 0.8) { this.gas.attachSound('gas_04'); } if (this.random >= 0.8) { this.gas.attachSound('gas_05'); } this.game_over = false; this.jam = false; if (_root.level_number == 2 or _root.level_number == 3 or _root.level_number == 5 or _root.level_number == 6 or _root.level_number == 8 or _root.level_number == 10 or _root.level_number == 13) { this.frame = Math.floor(Math.random() * 19); } else { this.frame = Math.floor(Math.random() * 20); } this.gotoAndStop(this.frame); this.car_trafficator_01._visible = false; this.car_trafficator_02._visible = false; this.car_trafficator_03._visible = false; this.car_trafficator_04._visible = false; this.stop = this.attachMovie('stop', 'stop' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.stop._y = 0; this.stop._x = 51; this.stop._visible = false; this.direction = 1; this.speed = 2; this.timer = 0; this.dot = this.attachMovie('dot', 'dot' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.dot._y = 11; this.dot._x = 0; this.car_stop = false; this.press = 1; this.car_stop_01._alpha = 0; this.car_stop_02._alpha = 0; this.onRelease = function () { if (_root.game_over == false and _root.pause == true) { this.press -= 1; this.car_stop = true; this.stop._visible = true; if (this.press == 0 and _root.sound == true) { this.brakes.start(); } if (this.press < 0) { this.press = 1; this.car_stop = false; this.stop._visible = false; if (_root.sound == true) { this.gas.start(); } } } }; if (_root.level_number == 10) { this.smoke._visible = false; } }; v2.onEnterFrame = function () { if (_root.pause == true) { if (this.speed == 0 and Math.random() > 0.999 and _root.sound == true and _root.game_over == false and _root.jam04 > 1) { this.signal.start(); } this.car_stop_01._alpha = (2 - this.speed) * 50; this.car_stop_02._alpha = (2 - this.speed) * 50; if (_root.game_over == true) { this.stop._visible = false; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { _root.level._x += Math.random() * 4 - 2; _root.level._y += Math.random() * 4 - 2; } if (_root.game_over == true and (this.header.hitTest(_root.level.stop_01) or this.header.hitTest(_root.level.stop_02))) { this.car_stop = true; } if (this.car_stop == false) { this.speed += 0.0475; } if (this.car_stop == true) { this.speed -= 0.2; } if (this.speed >= 2) { this.speed = 2; } if (this.speed <= 0) { this.speed = 0; } for (var v3 in _root.level.right._spawn_.car_massive) { if (this.body.hitTest(_root.level.right._spawn_.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } for (v3 in _root.level.right._spawn.car_massive) { if (this.body.hitTest(_root.level.right._spawn.car_massive[v3].body)) { this.speed -= 0.1; this.crush(); } } for (v3 in _root.level.right_down._spawn_.car_massive) { if (this.header.hitTest(_root.level.right_down._spawn_.car_massive[v3].footer)) { this.speed -= 0.2; if (this.speed <= 0) { this.speed = 0; } } } if (this.dot.hitTest(_root.level.right_down._turn._dot) and this.direction == 1) { this.direction = 2; } if (this.direction == 1) { this._y -= this.speed; } if (this.direction == 2) { this._rotation -= this.speed * 1.15; if (this._rotation >= -45 and this.speed == 2) { this.smoke._rotation -= 1.5; this.smoke._alpha -= 5; } if (this._rotation < -45 and this.speed == 2) { this.smoke._rotation += 1.5; this.smoke._alpha += 5; } if (this._rotation <= -90) { this._rotation = -90; this.direction += 1; } } if (this.direction == 3) { this._x -= this.speed; } if (this.hitTest(_root.level.jam_04) and this.speed == 0 and this.jam == false) { if (_root.game_over == false) { _root.jam04 += 1; } this.jam = true; } if (this.hitTest(_root.level.jam_04) and this.speed != 0 and this.jam == true) { this.jam = false; _root.jam04 -= 1; } if (this.header.hitTest(_root.level.car_04) and this.game_over == false) { this.game_over = true; if (_root.game_over == false) { _root.menu.book.passed.gotoAndPlay(2); } if (_root.sound == true) { this.jingle.attachSound('jingle'); this.jingle.start(); } } if (this.footer.hitTest(_root.level.car_04)) { if (_root.game_over == false) { _root.car += 1; } this.removeMovieClip(); } if (_root.jam04 <= 0) { _root.jam04 = 0; } } }; v2.crush = function () { if (this.game_over == false) { this.car_trafficator_01._visible = true; this.car_trafficator_02._visible = true; this.car_trafficator_03._visible = true; this.car_trafficator_04._visible = true; this._rotation -= 3; this.speed = 0; this.car_stop = true; this.game_over = true; _root.game_over = true; _root.crush_timer = 50; _root.accident = true; this.aPoint = new flash.geom.Point(0, 0); this.body.localToGlobal(this.aPoint); this.smoke = _root.level.attachMovie('smoke', 'smoke' + _root.level.getNextHighestDepth(), _root.level.getNextHighestDepth()); this.smoke._x = this.aPoint.x - _root.level._x; this.smoke._y = this.aPoint.y - _root.level._y; } }; ASSetPropFlags(_global.car_04.prototype, null, 1); } #endinitclip } movieClip 1041 __Packages.man { #initclip if (!_global.man) { var v1 = function () { super(); }; _global.man = v1; _global.man extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (_root.pause == false) { this.stop(); } else { this.play(); } }; ASSetPropFlags(_global.man.prototype, null, 1); } #endinitclip } movieClip 1042 __Packages.helicopter { #initclip if (!_global.helicopter) { var v1 = function () { super(); }; _global.helicopter = v1; _global.helicopter extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { if (_root.sound == true) { this.helicopter_sound = new Sound(); this.helicopter_sound.attachSound('helicopter'); this.helicopter_sound.start(); } }; v2.onEnterFrame = function () { if (_root.pause == false) { this.stop(); } else { this.play(); } if (this._currentframe == this._totalframes) { this.removeMovieClip(); } }; ASSetPropFlags(_global.helicopter.prototype, null, 1); } #endinitclip } movieClip 1043 __Packages.man_stand { #initclip if (!_global.man_stand) { var v1 = function () { super(); }; _global.man_stand = v1; _global.man_stand extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.timer = 0; this.time = 0; }; v2.onEnterFrame = function () { this.timer += 1; if (this.timer >= this.time) { this._rotation += Math.random() * 20 - 10; this.timer = 0; this.time = Math.random() * 50; } }; ASSetPropFlags(_global.man_stand.prototype, null, 1); } #endinitclip } movieClip 1044 __Packages.man_02 { #initclip if (!_global.man_02) { var v1 = function () { super(); }; _global.man_02 = v1; _global.man_02 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.random = Math.random(); this.scream = new Sound(); if (this.random < 0.33) { this.scream.attachSound('scream_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.scream.attachSound('scream_02'); } if (this.random >= 0.66) { this.scream.attachSound('scream_03'); } this.stop = 0; this.speed = Math.random() * 0.3 + 0.5; this.man_speed = 0; this.header = this.attachMovie('man_header', 'man_header' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.header._y = -4; this.header._x = -21; this.footer = this.attachMovie('man_header', 'man_header' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.footer._y = -4; this.footer._x = 5; this.body = this.attachMovie('man_body', 'man_body' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.body._x = -4; this.body._y = -4; this.man_crush = false; _root.accident = false; this._yscale = Math.random() * 8 + 84; this._xscale = this._yscale; }; v2.onEnterFrame = function () { if (_root.pause == true) { this._x -= this.man_speed; if (this._x <= -300) { this.removeMovieClip(); } if (_root.game_over == false) { this.man_speed += 0.5; } if (this.man_speed >= this.speed) { this.man_speed = this.speed; } for (var v3 in _root.level.zebra.man_massive_02) { if (this.header.hitTest(_root.level.zebra.man_massive_02[v3].footer)) { this.man_speed = _root.level.zebra.man_massive_02[v3].man_speed; this.speed = _root.level.zebra.man_massive_02[v3].speed; } } for (v3 in _root.level.zebra_2.man_massive_02) { if (this.header.hitTest(_root.level.zebra_2.man_massive_02[v3].footer)) { this.man_speed = _root.level.zebra_2.man_massive_02[v3].man_speed; this.speed = _root.level.zebra_2.man_massive_02[v3].speed; } } for (v3 in _root.level.right_down._spawn_.car_massive) { if (this.header.hitTest(_root.level.right_down._spawn_.car_massive[v3].body)) { this.man_speed = 0; } if (this.body.hitTest(_root.level.right_down._spawn_.car_massive[v3].body)) { _root.level.right_down._spawn_.car_massive[v3].car_trafficator_01._visible = true; _root.level.right_down._spawn_.car_massive[v3].car_trafficator_02._visible = true; _root.level.right_down._spawn_.car_massive[v3].car_trafficator_03._visible = true; _root.level.right_down._spawn_.car_massive[v3].car_trafficator_04._visible = true; _root.level.right_down._spawn_.car_massive[v3].car_stop = true; this.crush(); } } for (v3 in _root.level.right_down._spawn.car_massive) { if (this.header.hitTest(_root.level.right_down._spawn.car_massive[v3].body)) { this.man_speed = 0; } if (this.body.hitTest(_root.level.right_down._spawn.car_massive[v3].body)) { _root.level.right_down._spawn.car_massive[v3].car_trafficator_01._visible = true; _root.level.right_down._spawn.car_massive[v3].car_trafficator_02._visible = true; _root.level.right_down._spawn.car_massive[v3].car_trafficator_03._visible = true; _root.level.right_down._spawn.car_massive[v3].car_trafficator_04._visible = true; _root.level.right_down._spawn.car_massive[v3].car_stop = true; this.crush(); } } for (v3 in _root.level.right._spawn_.car_massive) { if (this.header.hitTest(_root.level.right._spawn_.car_massive[v3].body)) { this.man_speed = 0; } if (this.body.hitTest(_root.level.right._spawn_.car_massive[v3].body)) { _root.level.right._spawn_.car_massive[v3].car_trafficator_01._visible = true; _root.level.right._spawn_.car_massive[v3].car_trafficator_02._visible = true; _root.level.right._spawn_.car_massive[v3].car_trafficator_03._visible = true; _root.level.right._spawn_.car_massive[v3].car_trafficator_04._visible = true; _root.level.right._spawn_.car_massive[v3].car_stop = true; this.crush(); } } for (v3 in _root.level.right._spawn.car_massive) { if (this.header.hitTest(_root.level.right._spawn.car_massive[v3].body)) { this.man_speed = 0; } if (this.body.hitTest(_root.level.right._spawn.car_massive[v3].body)) { _root.level.right._spawn.car_massive[v3].car_trafficator_01._visible = true; _root.level.right._spawn.car_massive[v3].car_trafficator_02._visible = true; _root.level.right._spawn.car_massive[v3].car_trafficator_03._visible = true; _root.level.right._spawn.car_massive[v3].car_trafficator_04._visible = true; _root.level.right._spawn.car_massive[v3].car_stop = true; this.crush(); } } if (this.man_speed > 0) { this.stop += 0.1; } if (this.stop == 0.1) { this.gotoAndStop('walk'); } if (this.man_crush == false and this.man_speed == 0) { this.gotoAndStop('stand'); this.stop = 0; } } }; v2.crush = function () { if (_root.game_over == false) { if (_root.sound == true) { this.scream.start(); } this.man_speed = 0; _root.game_over = true; this.man_crush = true; _root.accident = true; this.gotoAndStop('dead'); } }; ASSetPropFlags(_global.man_02.prototype, null, 1); } #endinitclip } movieClip 1045 __Packages.man_01 { #initclip if (!_global.man_01) { var v1 = function () { super(); }; _global.man_01 = v1; _global.man_01 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.random = Math.random(); this.scream = new Sound(); if (this.random < 0.33) { this.scream.attachSound('scream_01'); } if (this.random >= 0.33 and this.random < 0.66) { this.scream.attachSound('scream_02'); } if (this.random >= 0.66) { this.scream.attachSound('scream_03'); } this.stop = 0; this.speed = Math.random() * 0.3 + 0.5; this.man_speed = 0; this.header = this.attachMovie('man_header', 'man_header' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.header._y = -4; this.header._x = 5; this.footer = this.attachMovie('man_header', 'man_header' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.footer._y = -4; this.footer._x = -21; this.body = this.attachMovie('man_body', 'man_body' + this.getNextHighestDepth(), this.getNextHighestDepth()); this.body._x = -4; this.body._y = -4; this.man_crush = false; _root.accident = false; this._yscale = Math.random() * 8 + 84; this._xscale = this._yscale; }; v2.onEnterFrame = function () { if (_root.pause == true) { this._x += this.man_speed; if (this._x >= 600) { this.removeMovieClip(); } if (_root.game_over == false) { this.man_speed += 0.5; } if (this.man_speed >= this.speed) { this.man_speed = this.speed; } for (var v3 in _root.level.zebra.man_massive) { if (this.header.hitTest(_root.level.zebra.man_massive[v3].footer)) { this.man_speed = _root.level.zebra.man_massive[v3].man_speed; this.speed = _root.level.zebra.man_massive[v3].speed; } } for (v3 in _root.level.zebra_2.man_massive) { if (this.header.hitTest(_root.level.zebra_2.man_massive[v3].footer)) { this.man_speed = _root.level.zebra_2.man_massive[v3].man_speed; this.speed = _root.level.zebra_2.man_massive[v3].speed; } } for (v3 in _root.level.right_down._spawn_.car_massive) { if (this.header.hitTest(_root.level.right_down._spawn_.car_massive[v3].body)) { this.man_speed = 0; } if (this.body.hitTest(_root.level.right_down._spawn_.car_massive[v3].body)) { _root.level.right_down._spawn_.car_massive[v3].car_trafficator_01._visible = true; _root.level.right_down._spawn_.car_massive[v3].car_trafficator_02._visible = true; _root.level.right_down._spawn_.car_massive[v3].car_trafficator_03._visible = true; _root.level.right_down._spawn_.car_massive[v3].car_trafficator_04._visible = true; _root.level.right_down._spawn_.car_massive[v3].car_stop = true; this.crush(); } } for (v3 in _root.level.right_down._spawn.car_massive) { if (this.header.hitTest(_root.level.right_down._spawn.car_massive[v3].body)) { this.man_speed = 0; } if (this.body.hitTest(_root.level.right_down._spawn.car_massive[v3].body)) { _root.level.right_down._spawn.car_massive[v3].car_trafficator_01._visible = true; _root.level.right_down._spawn.car_massive[v3].car_trafficator_02._visible = true; _root.level.right_down._spawn.car_massive[v3].car_trafficator_03._visible = true; _root.level.right_down._spawn.car_massive[v3].car_trafficator_04._visible = true; _root.level.right_down._spawn.car_massive[v3].car_stop = true; this.crush(); } } for (v3 in _root.level.right._spawn_.car_massive) { if (this.header.hitTest(_root.level.right._spawn_.car_massive[v3].body)) { this.man_speed = 0; } if (this.body.hitTest(_root.level.right._spawn_.car_massive[v3].body)) { _root.level.right._spawn_.car_massive[v3].car_trafficator_01._visible = true; _root.level.right._spawn_.car_massive[v3].car_trafficator_02._visible = true; _root.level.right._spawn_.car_massive[v3].car_trafficator_03._visible = true; _root.level.right._spawn_.car_massive[v3].car_trafficator_04._visible = true; _root.level.right._spawn_.car_massive[v3].car_stop = true; this.crush(); } } for (v3 in _root.level.right._spawn.car_massive) { if (this.header.hitTest(_root.level.right._spawn.car_massive[v3].body)) { this.man_speed = 0; } if (this.body.hitTest(_root.level.right._spawn.car_massive[v3].body)) { _root.level.right._spawn.car_massive[v3].car_trafficator_01._visible = true; _root.level.right._spawn.car_massive[v3].car_trafficator_02._visible = true; _root.level.right._spawn.car_massive[v3].car_trafficator_03._visible = true; _root.level.right._spawn.car_massive[v3].car_trafficator_04._visible = true; _root.level.right._spawn.car_massive[v3].car_stop = true; this.crush(); } } if (this.man_speed > 0) { this.stop += 0.1; } if (this.stop == 0.1) { this.gotoAndStop('walk'); } if (this.man_crush == false and this.man_speed == 0) { this.gotoAndStop('stand'); this.stop = 0; } } }; v2.crush = function () { if (_root.game_over == false) { if (_root.sound == true) { this.scream.start(); } this.man_speed = 0; _root.game_over = true; this.man_crush = true; _root.accident = true; this.gotoAndStop('dead'); } }; ASSetPropFlags(_global.man_01.prototype, null, 1); } #endinitclip } movieClip 1046 __Packages.smoke_flake_car { #initclip if (!_global.smoke_flake_car) { var v1 = function () { super(); }; _global.smoke_flake_car = v1; _global.smoke_flake_car extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.sin = 0; }; v2.onEnterFrame = function () { if (_root.pause == true) { this._y -= 0.35; this._x += (Math.random() - 0.5) * Math.sin(this.sin); this.sin += 0.25; this._xscale -= 0.5; this._yscale -= 0.5; this._alpha -= 1; if (this._alpha <= 0) { this.removeMovieClip(); } if (this._xscale <= 0) { this.removeMovieClip(); } } }; ASSetPropFlags(_global.smoke_flake_car.prototype, null, 1); } #endinitclip } movieClip 1047 __Packages.smoke_flake { #initclip if (!_global.smoke_flake) { var v1 = function () { super(); }; _global.smoke_flake = v1; _global.smoke_flake extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.sin = 0; }; v2.onEnterFrame = function () { if (_root.pause == true) { this._y -= 0.25; this._x += (Math.random() * 2 - 1) * Math.sin(this.sin); this.sin += 0.25; this._xscale -= 0.5; this._yscale -= 0.5; this._alpha -= 0.4; if (this._alpha <= 0) { this.removeMovieClip(); } if (this._xscale <= 0) { this.removeMovieClip(); } } }; ASSetPropFlags(_global.smoke_flake.prototype, null, 1); } #endinitclip } movieClip 1048 __Packages.smoke { #initclip if (!_global.smoke) { var v1 = function () { super(); }; _global.smoke = v1; _global.smoke extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.timer = 4; }; v2.onEnterFrame = function () { if (_root.pause == true) { this.timer += 1; if (this.timer >= 5) { this.timer = 0; this.smoke_flake = this.attachMovie('smoke_flake', 'smoke_flake' + this.getNextHighestDepth(), this.getNextHighestDepth()); } } }; ASSetPropFlags(_global.smoke.prototype, null, 1); } #endinitclip } movieClip 1049 __Packages.fader { #initclip if (!_global.fader) { var v1 = function () { super(); }; _global.fader = v1; _global.fader extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this._currentframe == this._totalframes) { this.removeMovieClip(); } }; ASSetPropFlags(_global.fader.prototype, null, 1); } #endinitclip } movieClip 1050 __Packages.smoke_car { #initclip if (!_global.smoke_car) { var v1 = function () { super(); }; _global.smoke_car = v1; _global.smoke_car extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.timer = 0; this.time = 20; }; v2.onEnterFrame = function () { if (_root.pause == true) { this.timer += 1; if (this.timer >= this.time) { this.timer = 0; this.smoke_flake = this.attachMovie('smoke_flake_car', 'smoke_flake_car' + this.getNextHighestDepth(), this.getNextHighestDepth()); } } }; ASSetPropFlags(_global.smoke_car.prototype, null, 1); } #endinitclip } movieClip 1051 __Packages.main_menu { #initclip if (!_global.main_menu) { var v1 = function () { super(); }; _global.main_menu = v1; _global.main_menu extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); _root.total_score = Math.round(_root.total_score); _root.menu.note_book.note.submit_screen.total_score.text = _root.total_score; if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.note_book.note.tutorial_screen._visible = false; _root.menu.note_book.note.options_screen._visible = false; _root.menu.note_book.note.credits_screen._visible = false; _root.menu.note_book.note.play_screen._visible = false; _root.menu.note_book.note.play_button_main_menu.body.onRelease = function () { trace('play'); if (_root.menu.note_book._currentframe == 1) { _root.menu.note_book.gotoAndPlay(2); } if (_root.menu.game_title._currentframe == 1) { _root.menu.game_title.gotoAndPlay(2); } _root.menu.note_book.note.submit_screen._visible = false; _root.menu.note_book.note.credits_screen._visible = false; _root.menu.note_book.note.options_screen._visible = false; _root.menu.note_book.note.tutorial_screen._visible = false; _root.menu.note_book.note.play_screen._visible = true; }; _root.menu.note_book.note.tutorial.body.onRelease = function () { trace('tutorial'); if (_root.menu.note_book._currentframe == 1) { _root.menu.note_book.gotoAndPlay(2); } if (_root.menu.game_title._currentframe == 1) { _root.menu.game_title.gotoAndPlay(2); } _root.menu.note_book.note.submit_screen._visible = false; _root.menu.note_book.note.credits_screen._visible = false; _root.menu.note_book.note.play_screen._visible = false; _root.menu.note_book.note.options_screen._visible = false; _root.menu.note_book.note.tutorial_screen._visible = true; }; _root.menu.note_book.note.options.body.onRelease = function () { trace('options'); if (_root.menu.note_book._currentframe == 1) { _root.menu.note_book.gotoAndPlay(2); } if (_root.menu.game_title._currentframe == 1) { _root.menu.game_title.gotoAndPlay(2); } _root.menu.note_book.note.submit_screen._visible = false; _root.menu.note_book.note.credits_screen._visible = false; _root.menu.note_book.note.play_screen._visible = false; _root.menu.note_book.note.options_screen._visible = true; _root.menu.note_book.note.tutorial_screen._visible = false; }; _root.menu.note_book.note.credits.body.onRelease = function () { trace('credits'); if (_root.menu.note_book._currentframe == 1) { _root.menu.note_book.gotoAndPlay(2); } if (_root.menu.game_title._currentframe == 1) { _root.menu.game_title.gotoAndPlay(2); } _root.menu.note_book.note.submit_screen._visible = false; _root.menu.note_book.note.play_screen._visible = false; _root.menu.note_book.note.options_screen._visible = false; _root.menu.note_book.note.tutorial_screen._visible = false; _root.menu.note_book.note.credits_screen._visible = true; }; _root.menu.note_book.note.submit.body.onRelease = function () { trace('submit'); if (_root.menu.note_book._currentframe == 1) { _root.menu.note_book.gotoAndPlay(2); } if (_root.menu.game_title._currentframe == 1) { _root.menu.game_title.gotoAndPlay(2); } _root.menu.note_book.note.play_screen._visible = false; _root.menu.note_book.note.options_screen._visible = false; _root.menu.note_book.note.tutorial_screen._visible = false; _root.menu.note_book.note.credits_screen._visible = false; _root.menu.note_book.note.submit_screen._visible = true; }; if (_root.total_score > 0) { _root.menu.note_book.note.submit._visible = true; } else { _root.menu.note_book.note.submit._visible = false; } _root.menu.note_book.note.submit_screen.submitButton.body.onRelease = function () { spAPI.submitScore(_root.menu.note_book.note.submit_screen.name.text, _root.total_score, '-'); }; _root.menu.note_book.note.more_games.body.onRelease = function () { spAPI.apiclick('moregames'); }; _root.menu.note_book.note.add_to_website.body.onRelease = function () { spAPI.apiclick('freecontent'); }; _root.menu.note_book.note.play_screen.level_number_01.gotoAndStop(2); if (_root.level_complete_number >= 2) { _root.menu.note_book.note.play_screen.level_number_02.gotoAndStop(2); } if (_root.level_complete_number >= 3) { _root.menu.note_book.note.play_screen.level_number_03.gotoAndStop(2); } if (_root.level_complete_number >= 4) { _root.menu.note_book.note.play_screen.level_number_04.gotoAndStop(2); } if (_root.level_complete_number >= 5) { _root.menu.note_book.note.play_screen.level_number_05.gotoAndStop(2); } if (_root.level_complete_number >= 6) { _root.menu.note_book.note.play_screen.level_number_06.gotoAndStop(2); } if (_root.level_complete_number >= 7) { _root.menu.note_book.note.play_screen.level_number_07.gotoAndStop(2); } if (_root.level_complete_number >= 8) { _root.menu.note_book.note.play_screen.level_number_08.gotoAndStop(2); } if (_root.level_complete_number >= 9) { _root.menu.note_book.note.play_screen.level_number_09.gotoAndStop(2); } if (_root.level_complete_number >= 10) { _root.menu.note_book.note.play_screen.level_number_10.gotoAndStop(2); } if (_root.level_complete_number >= 11) { _root.menu.note_book.note.play_screen.level_number_11.gotoAndStop(2); } if (_root.level_complete_number >= 12) { _root.menu.note_book.note.play_screen.level_number_12.gotoAndStop(2); } if (_root.level_complete_number >= 13) { _root.menu.note_book.note.play_screen.level_number_13.gotoAndStop(2); } if (_root.level_complete_number >= 14) { _root.menu.note_book.note.play_screen.level_number_14.gotoAndStop(2); } if (_root.level_complete_number >= 15) { _root.menu.note_book.note.play_screen.level_number_15.gotoAndStop(2); } if (_root.level_01_complete == 1) { _root.menu.note_book.note.play_screen.level_number_01.gotoAndStop(3); } if (_root.level_01_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_01.gotoAndStop(4); } if (_root.level_01_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_01.gotoAndStop(5); } if (_root.level_05_complete == 1) { _root.menu.note_book.note.play_screen.level_number_02.gotoAndStop(3); } if (_root.level_05_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_02.gotoAndStop(4); } if (_root.level_05_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_02.gotoAndStop(5); } if (_root.level_08_complete == 1) { _root.menu.note_book.note.play_screen.level_number_03.gotoAndStop(3); } if (_root.level_08_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_03.gotoAndStop(4); } if (_root.level_08_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_03.gotoAndStop(5); } if (_root.level_02_complete == 1) { _root.menu.note_book.note.play_screen.level_number_04.gotoAndStop(3); } if (_root.level_02_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_04.gotoAndStop(4); } if (_root.level_02_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_04.gotoAndStop(5); } if (_root.level_04_complete == 1) { _root.menu.note_book.note.play_screen.level_number_05.gotoAndStop(3); } if (_root.level_04_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_05.gotoAndStop(4); } if (_root.level_04_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_05.gotoAndStop(5); } if (_root.level_09_complete == 1) { _root.menu.note_book.note.play_screen.level_number_06.gotoAndStop(3); } if (_root.level_09_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_06.gotoAndStop(4); } if (_root.level_09_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_06.gotoAndStop(5); } if (_root.level_07_complete == 1) { _root.menu.note_book.note.play_screen.level_number_07.gotoAndStop(3); } if (_root.level_07_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_07.gotoAndStop(4); } if (_root.level_07_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_07.gotoAndStop(5); } if (_root.level_11_complete == 1) { _root.menu.note_book.note.play_screen.level_number_08.gotoAndStop(3); } if (_root.level_11_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_08.gotoAndStop(4); } if (_root.level_11_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_08.gotoAndStop(5); } if (_root.level_15_complete == 1) { _root.menu.note_book.note.play_screen.level_number_09.gotoAndStop(3); } if (_root.level_15_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_09.gotoAndStop(4); } if (_root.level_15_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_09.gotoAndStop(5); } if (_root.level_10_complete == 1) { _root.menu.note_book.note.play_screen.level_number_10.gotoAndStop(2); } if (_root.level_10_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_10.gotoAndStop(3); } if (_root.level_10_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_10_gotoAndStop(4); } if (_root.level_03_complete == 1) { _root.menu.note_book.note.play_screen.level_number_11.gotoAndStop(3); } if (_root.level_03_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_11.gotoAndStop(4); } if (_root.level_03_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_11.gotoAndStop(5); } if (_root.level_12_complete == 1) { _root.menu.note_book.note.play_screen.level_number_12.gotoAndStop(3); } if (_root.level_12_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_12.gotoAndStop(4); } if (_root.level_12_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_12.gotoAndStop(5); } if (_root.level_13_complete == 1) { _root.menu.note_book.note.play_screen.level_number_13.gotoAndStop(3); } if (_root.level_13_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_13.gotoAndStop(4); } if (_root.level_13_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_13.gotoAndStop(5); } if (_root.level_06_complete == 1) { _root.menu.note_book.note.play_screen.level_number_14.gotoAndStop(3); } if (_root.level_06_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_14.gotoAndStop(4); } if (_root.level_06_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_14.gotoAndStop(5); } if (_root.level_14_complete == 1) { _root.menu.note_book.note.play_screen.level_number_15.gotoAndStop(3); } if (_root.level_14_complete == 1.2) { _root.menu.note_book.note.play_screen.level_number_15.gotoAndStop(4); } if (_root.level_14_complete == 1.4) { _root.menu.note_book.note.play_screen.level_number_15.gotoAndStop(5); } _root.menu.note_book.note.options_screen.easy_mode.body.onRelease = function () { _root.difficulty = 1; }; _root.menu.note_book.note.options_screen.medium_mode.body.onRelease = function () { _root.difficulty = 1.2; }; _root.menu.note_book.note.options_screen.hard_mode.body.onRelease = function () { _root.difficulty = 1.4; }; _root.menu.note_book.note.options_screen.low_quality.body.onRelease = function () { _root._quality = 'LOW'; }; _root.menu.note_book.note.options_screen.medium_quality.body.onRelease = function () { _root._quality = 'MEDIUM'; }; _root.menu.note_book.note.options_screen.heigh_quality.body.onRelease = function () { _root._quality = 'BEST'; }; _root.menu.note_book.note.play_screen.level_number_01.onRelease = function () { _root.gotoAndStop(5); }; _root.menu.note_book.note.play_screen.level_number_02.onRelease = function () { if (_root.level_complete_number >= 2) { _root.gotoAndStop(6); } }; _root.menu.note_book.note.play_screen.level_number_03.onRelease = function () { if (_root.level_complete_number >= 3) { _root.gotoAndStop(7); } }; _root.menu.note_book.note.play_screen.level_number_04.onRelease = function () { if (_root.level_complete_number >= 4) { _root.gotoAndStop(8); } }; _root.menu.note_book.note.play_screen.level_number_05.onRelease = function () { if (_root.level_complete_number >= 5) { _root.gotoAndStop(9); } }; _root.menu.note_book.note.play_screen.level_number_06.onRelease = function () { if (_root.level_complete_number >= 6) { _root.gotoAndStop(10); } }; _root.menu.note_book.note.play_screen.level_number_07.onRelease = function () { if (_root.level_complete_number >= 7) { _root.gotoAndStop(11); } }; _root.menu.note_book.note.play_screen.level_number_08.onRelease = function () { if (_root.level_complete_number >= 8) { _root.gotoAndStop(12); } }; _root.menu.note_book.note.play_screen.level_number_09.onRelease = function () { if (_root.level_complete_number >= 9) { _root.gotoAndStop(13); } }; _root.menu.note_book.note.play_screen.level_number_10.onRelease = function () { if (_root.level_complete_number >= 10) { _root.gotoAndStop(14); } }; _root.menu.note_book.note.play_screen.level_number_11.onRelease = function () { if (_root.level_complete_number >= 11) { _root.gotoAndStop(15); } }; _root.menu.note_book.note.play_screen.level_number_12.onRelease = function () { if (_root.level_complete_number >= 12) { _root.gotoAndStop(16); } }; _root.menu.note_book.note.play_screen.level_number_13.onRelease = function () { if (_root.level_complete_number >= 13) { _root.gotoAndStop(17); } }; _root.menu.note_book.note.play_screen.level_number_14.onRelease = function () { if (_root.level_complete_number >= 14) { _root.gotoAndStop(18); } }; _root.menu.note_book.note.play_screen.level_number_15.onRelease = function () { if (_root.level_complete_number >= 15) { _root.gotoAndStop(19); } }; }; v2.onEnterFrame = function () { if (_root._quality == 'LOW') { _root.menu.note_book.note.options_screen.low_quality.gotoAndPlay(2); } if (_root._quality == 'MEDIUM') { _root.menu.note_book.note.options_screen.medium_quality.gotoAndPlay(2); } if (_root._quality == 'BEST') { _root.menu.note_book.note.options_screen.heigh_quality.gotoAndPlay(2); } if (_root.difficulty == 1) { _root.menu.note_book.note.options_screen.easy_mode.gotoAndPlay(2); } if (_root.difficulty == 1.2) { _root.menu.note_book.note.options_screen.medium_mode.gotoAndPlay(2); } if (_root.difficulty == 1.4) { _root.menu.note_book.note.options_screen.hard_mode.gotoAndPlay(2); } if (_root.menu.note_book.note.options_screen.easy_mode.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.options_screen.easy_mode.gotoAndPlay(2); } if (_root.menu.note_book.note.options_screen.medium_mode.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.options_screen.medium_mode.gotoAndPlay(2); } if (_root.menu.note_book.note.options_screen.hard_mode.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.options_screen.hard_mode.gotoAndPlay(2); } if (_root.menu.note_book.note.options_screen.low_quality.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.options_screen.low_quality.gotoAndPlay(2); } if (_root.menu.note_book.note.options_screen.medium_quality.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.options_screen.medium_quality.gotoAndPlay(2); } if (_root.menu.note_book.note.options_screen.heigh_quality.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.options_screen.heigh_quality.gotoAndPlay(2); } if (_root.menu.note_book.note.play_button_main_menu.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.play_button_main_menu.gotoAndPlay(2); } if (_root.menu.note_book.note.tutorial.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.tutorial.gotoAndPlay(2); } if (_root.menu.note_book.note.options.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.options.gotoAndPlay(2); } if (_root.menu.note_book.note.credits.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.credits.gotoAndPlay(2); } if (_root.menu.note_book.note.more_games.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.more_games.gotoAndPlay(2); } if (_root.menu.note_book.note.add_to_website.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.add_to_website.gotoAndPlay(2); } if (_root.menu.note_book.note.submit.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.submit.gotoAndPlay(2); } if (_root.menu.note_book.note.submit_screen.submitButton.body.hitTest(_root._xmouse, _root._ymouse)) { _root.menu.note_book.note.submit_screen.submitButton.gotoAndPlay(2); } }; ASSetPropFlags(_global.main_menu.prototype, null, 1); } #endinitclip } movieClip 1052 __Packages.spawn_03 { #initclip if (!_global.spawn_03) { var v1 = function () { super(); }; _global.spawn_03 = v1; _global.spawn_03 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.timer = 0; this.car_massive = []; this.time = 80; }; v2.onEnterFrame = function () { if (_root.pause == true) { this.timer += 1; if (_root.game_over == true) { this.timer = 0; } if (this.timer >= this.time) { if (_root.level_number == 12 or _root.level_number == 13) { var v3 = this.attachMovie('car_05', 'car_05' + this.getNextHighestDepth(), this.getNextHighestDepth()); v3._y = 0; v3._x = -50; } else { var v3 = this.attachMovie('car_03', 'car_03' + this.getNextHighestDepth(), this.getNextHighestDepth()); v3._y = 0; v3._x = -50; } if (_root.level_number == 7 and Math.random() > 0.5) { v3._x = -18 + Math.random(); } if (_root.level_number == 9 and Math.random() > 0.5) { v3._x = -18 + Math.random(); } if (_root.level_number == 11 and Math.random() > 0.5) { v3._x = -18 + Math.random(); } this.car_massive.push(v3); this.timer = 0; this.time = (Math.random() * 200 + 200) / _root.difficulty; } } }; ASSetPropFlags(_global.spawn_03.prototype, null, 1); } #endinitclip } movieClip 1053 __Packages.spawn_04 { #initclip if (!_global.spawn_04) { var v1 = function () { super(); }; _global.spawn_04 = v1; _global.spawn_04 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.timer = 0; this.car_massive = []; this.time = 120; }; v2.onEnterFrame = function () { if (_root.pause == true) { this.timer += 1; if (_root.game_over == true) { this.timer = 0; } if (this.timer >= this.time) { var v3 = this.attachMovie('car_04', 'car_04' + this.getNextHighestDepth(), this.getNextHighestDepth()); v3._y = 0; v3._x = -50 + Math.random(); if (_root.level_number == 6 and Math.random() > 0.5) { v3._x = -18 + Math.random(); } if (_root.level_number == 7 and Math.random() > 0.5) { v3._x = -8 + Math.random(); } if (_root.level_number == 12 and Math.random() > 0.5) { v3._x = -16 + Math.random(); } this.car_massive.push(v3); this.timer = 0; this.time = (Math.random() * 200 + 200) / _root.difficulty; } } }; ASSetPropFlags(_global.spawn_04.prototype, null, 1); } #endinitclip } movieClip 1054 __Packages.level_01 { #initclip if (!_global.level_01) { var v1 = function () { super(); }; _global.level_01 = v1; _global.level_01 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); trace(_root.level_01_complete); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint.pause.onRelease = function () { if (_root.hint.pause._currentframe == 1) { _root.pause = true; } if (_root.hint.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint.music.onRelease = function () { if (_root.hint.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint.mute.onRelease = function () { if (_root.hint.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.jam03 = 0; _root.jam04 = 0; _root.car = 0; _root.time = 0; this.helicopter_timer = 0; _root.level_number = 1; _root.game_over = false; _root.accident = false; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint.pause.gotoAndPlay(2); } if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 60) { _root.time = 60; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 10) { _root.game_over = true; _root.car = 10; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_01_score < (60 - _root.time) * 10 and _root.difficulty == 1) { _root.level_01_score = (60 - _root.time) * 10; } if (_root.level_01_score < (60 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_01_score = (60 - _root.time) * 20; } if (_root.level_01_score < (60 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_01_score = (60 - _root.time) * 30; } if (_root.level_01_complete <= _root.difficulty) { _root.level_01_complete = _root.difficulty; } trace(_root.level_01_complete); _root.menu.book.note.level_score.text = Math.round(_root.level_01_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.ingame_music.stop(); _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 10 - _root.car; _root.menu.book.timer.text = 60 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); }; ASSetPropFlags(_global.level_01.prototype, null, 1); } #endinitclip } movieClip 1055 __Packages.cross_walk { #initclip if (!_global.cross_walk) { var v1 = function () { super(); }; _global.cross_walk = v1; _global.cross_walk extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.timer_01 = 0; this.timer_02 = 0; this.man_massive = []; this.man_massive_02 = []; this.time_01 = Math.random() * 100 + 100; this.time_02 = Math.random() * 100 + 100; }; v2.onEnterFrame = function () { if (_root.pause == true) { this.timer_01 += 1; this.timer_02 += 1; if (_root.game_over == true) { this.timer_01 = 0; } if (_root.game_over == true) { this.timer_02 = 0; } if (this.timer_01 >= this.time_01) { var v3 = this.attachMovie('man_01', 'man_01' + this.getNextHighestDepth(), this.getNextHighestDepth()); v3._y = Math.random() * 20 + 30; if (Math.random() > 0.5) { v3._y = 48 + Math.random() * 2; } else { v3._y = 35 + Math.random() * 2; } v3._x = -300; this.man_massive.push(v3); this.timer_01 = 0; this.time_01 = (Math.random() * 200 + 400) / _root.difficulty; } if (this.timer_02 >= this.time_02) { v3 = this.attachMovie('man_02', 'man_02' + this.getNextHighestDepth(), this.getNextHighestDepth()); v3._y = Math.random() * 25 + 2; v3._x = 600; this.man_massive_02.push(v3); this.timer_02 = 0; this.time_02 = (Math.random() * 200 + 400) / _root.difficulty; } } }; ASSetPropFlags(_global.cross_walk.prototype, null, 1); } #endinitclip } movieClip 1056 __Packages.spawn_02 { #initclip if (!_global.spawn_02) { var v1 = function () { super(); }; _global.spawn_02 = v1; _global.spawn_02 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.timer = 0; this.car_massive = []; this.time = 40; }; v2.onEnterFrame = function () { if (_root.pause == true) { this.timer += 1; if (_root.game_over == true) { this.timer = 0; } if (this.timer >= this.time) { var v3 = this.attachMovie('car_02', 'car_02' + this.getNextHighestDepth(), this.getNextHighestDepth()); v3._y = 0; v3._x = 30; if (_root.level_number == 10 and Math.random() > 0.75) { v3._x = Math.random(); } if (_root.level_number == 14 and Math.random() > 0.75) { v3._x = Math.random(); } if (_root.level_number == 12 and Math.random() > 0.75) { v3._x = -5 + Math.random(); } this.car_massive.push(v3); this.timer = 0; this.time = (Math.random() * 200 + 200) / _root.difficulty; if (_root.level_number == 10) { this.time = (Math.random() * 200 + 150) / _root.difficulty; } if (_root.level_number == 14) { this.time = (Math.random() * 200 + 150) / _root.difficulty; } } } }; ASSetPropFlags(_global.spawn_02.prototype, null, 1); } #endinitclip } movieClip 1057 __Packages.level_05 { #initclip if (!_global.level_05) { var v1 = function () { super(); }; _global.level_05 = v1; _global.level_05 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint.pause.onRelease = function () { if (_root.hint.pause._currentframe == 1) { _root.pause = true; } if (_root.hint.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint.music.onRelease = function () { if (_root.hint.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint.mute.onRelease = function () { if (_root.hint.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 5; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 90) { _root.time = 90; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 15) { _root.game_over = true; _root.car = 15; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_05_score < (90 - _root.time) * 10 and _root.difficulty == 1) { _root.level_05_score = (90 - _root.time) * 10; } if (_root.level_05_score < (90 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_05_score = (90 - _root.time) * 20; } if (_root.level_05_score < (90 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_05_score = (90 - _root.time) * 30; } if (_root.level_05_complete <= _root.difficulty) { _root.level_05_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_05_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 15 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 90 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_05.prototype, null, 1); } #endinitclip } movieClip 1058 __Packages.spawn_01 { #initclip if (!_global.spawn_01) { var v1 = function () { super(); }; _global.spawn_01 = v1; _global.spawn_01 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.timer = 0; this.car_massive = []; this.time = 0; }; v2.onEnterFrame = function () { if (_root.pause == true) { this.timer += 1; if (_root.game_over == true) { this.timer = 0; } if (this.timer >= this.time) { var v3 = this.attachMovie('car_01', 'car_01' + this.getNextHighestDepth(), this.getNextHighestDepth()); v3._y = 0; v3._x = 30; if (_root.level_number == 9 and Math.random() > 0.5) { v3._x = -5 + Math.random(); } if (_root.level_number == 11 and Math.random() > 0.5) { v3._x = -5 + Math.random(); } this.car_massive.push(v3); this.timer = 0; this.time = (Math.random() * 200 + 200) / _root.difficulty; } } }; ASSetPropFlags(_global.spawn_01.prototype, null, 1); } #endinitclip } movieClip 1059 __Packages.level_08 { #initclip if (!_global.level_08) { var v1 = function () { super(); }; _global.level_08 = v1; _global.level_08 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint.pause.onRelease = function () { if (_root.hint.pause._currentframe == 1) { _root.pause = true; } if (_root.hint.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint.music.onRelease = function () { if (_root.hint.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint.mute.onRelease = function () { if (_root.hint.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 8; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 90) { _root.time = 90; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_08_score < (90 - _root.time) * 10 and _root.difficulty == 1) { _root.level_08_score = (90 - _root.time) * 10; } if (_root.level_08_score < (90 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_08_score = (90 - _root.time) * 20; } if (_root.level_08_score < (90 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_08_score = (90 - _root.time) * 30; } if (_root.level_08_complete <= _root.difficulty) { _root.level_08_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_08_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 90 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_08.prototype, null, 1); } #endinitclip } movieClip 1060 __Packages.level_02 { #initclip if (!_global.level_02) { var v1 = function () { super(); }; _global.level_02 = v1; _global.level_02 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_level_02.pause.onRelease = function () { if (_root.hint_level_02.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_level_02.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_level_02.music.onRelease = function () { if (_root.hint_level_02.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_level_02.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_level_02.mute.onRelease = function () { if (_root.hint_level_02.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_level_02.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_level_02.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 2; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_level_02.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_level_02.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_level_02.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 60) { _root.time = 60; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_02_score < (60 - _root.time) * 10 and _root.difficulty == 1) { _root.level_02_score = (60 - _root.time) * 10; } if (_root.level_02_score < (60 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_02_score = (60 - _root.time) * 20; } if (_root.level_02_score < (60 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_02_score = (60 - _root.time) * 30; } if (_root.level_02_complete <= _root.difficulty) { _root.level_02_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_02_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 60 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_02.prototype, null, 1); } #endinitclip } movieClip 1061 __Packages.level_04 { #initclip if (!_global.level_04) { var v1 = function () { super(); }; _global.level_04 = v1; _global.level_04 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_level_04.pause.onRelease = function () { if (_root.hint_level_04.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_level_04.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_level_04.music.onRelease = function () { if (_root.hint_level_04.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_level_04.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_level_04.mute.onRelease = function () { if (_root.hint_level_04.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_level_04.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_level_04.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 4; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_level_04.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_level_04.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_level_04.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 60) { _root.time = 60; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_04_score < (60 - _root.time) * 10 and _root.difficulty == 1) { _root.level_04_score = (60 - _root.time) * 10; } if (_root.level_04_score < (60 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_04_score = (60 - _root.time) * 20; } if (_root.level_04_score < (60 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_04_score = (60 - _root.time) * 30; } if (_root.level_04_complete <= _root.difficulty) { _root.level_04_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_04_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 60 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_04.prototype, null, 1); } #endinitclip } movieClip 1062 __Packages.level_09 { #initclip if (!_global.level_09) { var v1 = function () { super(); }; _global.level_09 = v1; _global.level_09 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_level_09.pause.onRelease = function () { if (_root.hint_level_09.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_level_09.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_level_09.music.onRelease = function () { if (_root.hint_level_09.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_level_09.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_level_09.mute.onRelease = function () { if (_root.hint_level_09.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_level_09.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_level_09.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 9; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_level_09.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_level_09.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_level_09.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 90) { _root.time = 90; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_09_score < (90 - _root.time) * 10 and _root.difficulty == 1) { _root.level_09_score = (90 - _root.time) * 10; } if (_root.level_09_score < (90 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_09_score = (90 - _root.time) * 20; } if (_root.level_09_score < (90 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_09_score = (90 - _root.time) * 30; } if (_root.level_09_complete <= _root.difficulty) { _root.level_09_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_09_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 90 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_09.prototype, null, 1); } #endinitclip } movieClip 1063 __Packages.level_07 { #initclip if (!_global.level_07) { var v1 = function () { super(); }; _global.level_07 = v1; _global.level_07 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_level_07.pause.onRelease = function () { if (_root.hint_level_07.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_level_07.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_level_07.music.onRelease = function () { if (_root.hint_level_07.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_level_07.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_level_07.mute.onRelease = function () { if (_root.hint_level_07.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_level_07.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_level_07.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 7; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_level_07.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_level_07.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_level_07.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 60) { _root.time = 60; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_07_score < (60 - _root.time) * 10 and _root.difficulty == 1) { _root.level_07_score = (60 - _root.time) * 10; } if (_root.level_07_score < (60 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_07_score = (60 - _root.time) * 20; } if (_root.level_07_score < (60 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_07_score = (60 - _root.time) * 30; } if (_root.level_07_complete <= _root.difficulty) { _root.level_07_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_07_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 60 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_07.prototype, null, 1); } #endinitclip } movieClip 1064 __Packages.level_11 { #initclip if (!_global.level_11) { var v1 = function () { super(); }; _global.level_11 = v1; _global.level_11 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); this.back.start(0, 1000); } _root.hint.pause.onRelease = function () { if (_root.hint.pause._currentframe == 1) { _root.pause = true; } if (_root.hint.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint.music.onRelease = function () { if (_root.hint.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint.mute.onRelease = function () { if (_root.hint.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 11; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 60) { _root.time = 60; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_11_score < (60 - _root.time) * 10 and _root.difficulty == 1) { _root.level_11_score = (60 - _root.time) * 10; } if (_root.level_11_score < (60 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_11_score = (60 - _root.time) * 20; } if (_root.level_11_score < (60 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_11_score = (60 - _root.time) * 30; } if (_root.level_11_complete <= _root.difficulty) { _root.level_11_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_11_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 60 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_11.prototype, null, 1); } #endinitclip } movieClip 1065 __Packages.level_15 { #initclip if (!_global.level_15) { var v1 = function () { super(); }; _global.level_15 = v1; _global.level_15 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint.pause.onRelease = function () { if (_root.hint.pause._currentframe == 1) { _root.pause = true; } if (_root.hint.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint.music.onRelease = function () { if (_root.hint.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint.mute.onRelease = function () { if (_root.hint.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.jam03 = 0; _root.jam04 = 0; _root.car = 0; _root.time = 0; this.helicopter_timer = 0; _root.level_number = 15; _root.game_over = false; _root.accident = false; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint.pause.gotoAndPlay(2); } if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 90) { _root.time = 90; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 15) { _root.game_over = true; _root.car = 15; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_15_score < (90 - _root.time) * 10 and _root.difficulty == 1) { _root.level_15_score = (90 - _root.time) * 10; } if (_root.level_15_score < (90 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_15_score = (90 - _root.time) * 20; } if (_root.level_15_score < (90 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_15_score = (90 - _root.time) * 30; } if (_root.level_15_complete <= _root.difficulty) { _root.level_15_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_15_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 15 - _root.car; _root.menu.book.timer.text = 90 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); }; ASSetPropFlags(_global.level_15.prototype, null, 1); } #endinitclip } movieClip 1066 __Packages.level_10 { #initclip if (!_global.level_10) { var v1 = function () { super(); }; _global.level_10 = v1; _global.level_10 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint.pause.onRelease = function () { if (_root.hint.pause._currentframe == 1) { _root.pause = true; } if (_root.hint.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint.music.onRelease = function () { if (_root.hint.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint.mute.onRelease = function () { if (_root.hint.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 10; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 60) { _root.time = 60; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_10_score < (60 - _root.time) * 10 and _root.difficulty == 1) { _root.level_10_score = (60 - _root.time) * 10; } if (_root.level_10_score < (60 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_10_score = (60 - _root.time) * 20; } if (_root.level_10_score < (60 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_10_score = (60 - _root.time) * 30; } if (_root.level_10_complete <= _root.difficulty) { _root.level_10_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_10_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 60 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_10.prototype, null, 1); } #endinitclip } movieClip 1067 __Packages.level_03 { #initclip if (!_global.level_03) { var v1 = function () { super(); }; _global.level_03 = v1; _global.level_03 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_03.pause.onRelease = function () { if (_root.hint_03.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_03.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_03.music.onRelease = function () { if (_root.hint_03.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_03.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_03.mute.onRelease = function () { if (_root.hint_03.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_03.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_03.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; this.helicopter_timer = 0; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 3; _root.game_over = false; _root.accident = false; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_03.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_03.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_03.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 100) { _root.time = 100; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_03_score < (100 - _root.time) * 10 and _root.difficulty == 1) { _root.level_03_score = (100 - _root.time) * 10; } if (_root.level_03_score < (100 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_03_score = (100 - _root.time) * 20; } if (_root.level_03_score < (100 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_03_score = (100 - _root.time) * 30; } if (_root.level_03_complete <= _root.difficulty) { _root.level_03_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_03_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 100 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_03.prototype, null, 1); } #endinitclip } movieClip 1068 __Packages.level_12 { #initclip if (!_global.level_12) { var v1 = function () { super(); }; _global.level_12 = v1; _global.level_12 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_level_12.pause.onRelease = function () { if (_root.hint_level_12.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_level_12.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_level_12.music.onRelease = function () { if (_root.hint_level_12.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_level_12.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_level_12.mute.onRelease = function () { if (_root.hint_level_12.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_level_12.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_level_12.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 12; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_level_12.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_level_12.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_level_12.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 60) { _root.time = 60; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_12_score < (60 - _root.time) * 10 and _root.difficulty == 1) { _root.level_12_score = (60 - _root.time) * 10; } if (_root.level_12_score < (60 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_12_score = (60 - _root.time) * 20; } if (_root.level_12_score < (60 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_12_score = (60 - _root.time) * 30; } if (_root.level_12_complete <= _root.difficulty) { _root.level_12_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_12_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 60 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 120 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_12.prototype, null, 1); } #endinitclip } movieClip 1069 __Packages.level_13 { #initclip if (!_global.level_13) { var v1 = function () { super(); }; _global.level_13 = v1; _global.level_13 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_13.pause.onRelease = function () { if (_root.hint_13.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_13.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_13.music.onRelease = function () { if (_root.hint_13.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_13.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_13.mute.onRelease = function () { if (_root.hint_13.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_13.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_13.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 13; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_13.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_13.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_13.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 90) { _root.time = 90; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_13_score < (90 - _root.time) * 10 and _root.difficulty == 1) { _root.level_13_score = (90 - _root.time) * 10; } if (_root.level_13_score < (90 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_13_score = (90 - _root.time) * 20; } if (_root.level_13_score < (90 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_13_score = (90 - _root.time) * 30; } if (_root.level_13_complete <= _root.difficulty) { _root.level_13_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_13_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 90 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_13.prototype, null, 1); } #endinitclip } movieClip 1070 __Packages.level_06 { #initclip if (!_global.level_06) { var v1 = function () { super(); }; _global.level_06 = v1; _global.level_06 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_level_06.pause.onRelease = function () { if (_root.hint_level_06.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_level_06.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_level_06.music.onRelease = function () { if (_root.hint_level_06.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_level_06.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_level_06.mute.onRelease = function () { if (_root.hint_level_06.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_level_06.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_level_06.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 6; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_level_06.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_level_06.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_level_06.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 90) { _root.time = 90; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_06_score < (90 - _root.time) * 10 and _root.difficulty == 1) { _root.level_06_score = (90 - _root.time) * 10; } if (_root.level_06_score < (90 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_06_score = (90 - _root.time) * 20; } if (_root.level_06_score < (90 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_06_score = (90 - _root.time) * 30; } if (_root.level_06_complete <= _root.difficulty) { _root.level_06_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_06_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 90 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_06.prototype, null, 1); } #endinitclip } movieClip 1071 __Packages.level_14 { #initclip if (!_global.level_14) { var v1 = function () { super(); }; _global.level_14 = v1; _global.level_14 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { stopAllSounds(); _root.pause = true; this.music = new Sound(); this.music.attachSound('music'); this.back = new Sound(); this.back.attachSound('back'); if (_root.game_music == true) { this.music.start(0, 1000); } if (_root.sound == true) { this.back.start(0, 1000); } _root.hint_level_14.pause.onRelease = function () { if (_root.hint_level_14.pause._currentframe == 1) { _root.pause = true; } if (_root.hint_level_14.pause._currentframe == 2) { _root.pause = false; } trace('pause'); }; _root.hint_level_14.music.onRelease = function () { if (_root.hint_level_14.music._currentframe == 1) { _root.game_music = false; stopAllSounds(); if (_root.sound == true) { this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } } if (_root.hint_level_14.music._currentframe == 2) { _root.game_music = true; this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } trace('music'); }; _root.hint_level_14.mute.onRelease = function () { if (_root.hint_level_14.mute._currentframe == 1) { _root.sound = false; stopAllSounds(); if (_root.game_music == true) { this.music = new Sound(); this.music.attachSound('music'); this.music.start(0, 1000); } } if (_root.hint_level_14.mute._currentframe == 2) { _root.sound = true; this.back = new Sound(); this.back.attachSound('back'); this.back.start(0, 1000); } trace('mute'); }; _root.hint_level_14.quit.onRelease = function () { _root.gotoAndStop('menu'); trace('quit'); }; _root.frame = _root._currentframe; if (_root.level_complete_number <= _root._currentframe - 4) { _root.level_complete_number = _root._currentframe - 4; } _root.menu.gotoAndStop(1); _root.crush_timer = 0; this.x = this._x; this.y = this._y; _root.jam03 = 0; _root.jam04 = 0; _root.jam01 = 0; _root.jam02 = 0; _root.car = 0; _root.time = 0; _root.level_number = 14; _root.game_over = false; _root.accident = false; this.helicopter_timer = 0; var v3 = _root.attachMovie('fader', 'fader' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root.menu.book.game_button.onRelease = function () { if (_root.menu.book.game_button._currentframe == 1) { _root.gotoAndPlay(_root.frame + 1); } if (_root.menu.book.game_button._currentframe == 2) { _root.gotoAndPlay('reset'); } }; _root.menu.book.menu_button.onRelease = function () { _root.gotoAndStop('menu'); }; }; v2.onEnterFrame = function () { if (_root.game_music == false) { _root.hint_level_14.music.gotoAndPlay(2); } if (_root.sound == false) { _root.hint_level_14.mute.gotoAndPlay(2); } if (_root.pause == true) { _root.hint_level_14.pause.gotoAndPlay(2); } this._x = this.x; this._y = this.y; this.helicopter_timer += 1; if (Math.random() * 10 > 5 and this.helicopter_timer == 500) { var v3 = _root.attachMovie('helicopter_motion', 'helicopter_motion' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = Math.random() * 200 + 400; v3._y = 700; v3._rotation = Math.random() * 25 + 35; this.helicopter_timer = 0; } _root.crush_timer -= 0.1; if (_root.crush_timer <= 0) { _root.crush_timer = 0; } if (_root.crush_timer > 0) { this._x += Math.random() * 4 - 2; this._y += Math.random() * 4 - 2; } if (_root.game_over == false and _root.pause == true) { _root.time += 0.02; } if (_root.jam04 >= 7 or _root.jam03 >= 7 or _root.jam01 >= 7 or _root.jam02 >= 7) { _root.game_over = true; _root.menu.book.note.gotoAndStop(2); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.time >= 60) { _root.time = 60; _root.game_over = true; _root.menu.book.note.gotoAndStop(3); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } if (_root.car >= 20) { _root.game_over = true; _root.car = 20; _root.menu.book.note.gotoAndStop(1); _root.menu.book.note.levelNumber.text = _root.frame - 4; if (_root.level_14_score < (60 - _root.time) * 10 and _root.difficulty == 1) { _root.level_14_score = (60 - _root.time) * 10; } if (_root.level_14_score < (60 - _root.time) * 20 and _root.difficulty == 1.2) { _root.level_14_score = (60 - _root.time) * 20; } if (_root.level_14_score < (60 - _root.time) * 30 and _root.difficulty == 1.4) { _root.level_14_score = (60 - _root.time) * 30; } if (_root.level_14_complete <= _root.difficulty) { _root.level_14_complete = _root.difficulty; } _root.menu.book.note.level_score.text = Math.round(_root.level_14_score); _root.total_score = _root.level_01_score + _root.level_02_score + _root.level_03_score + _root.level_04_score + _root.level_05_score + _root.level_06_score + _root.level_07_score + _root.level_08_score + _root.level_09_score + _root.level_10_score + _root.level_11_score + _root.level_12_score + _root.level_13_score + _root.level_14_score + _root.level_15_score; _root.menu.book.note.total_score.text = Math.round(_root.total_score); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } } if (_root.accident == true) { _root.game_over = true; _root.menu.book.note.gotoAndStop(4); if (_root.menu._currentframe == 1) { _root.menu.gotoAndPlay(2); } _root.menu.book.game_button.gotoAndStop(2); } _root.menu.book.car_number.text = 20 - _root.car; _root.menu.book.levelNumber.text = _root.level_number; _root.menu.book.timer.text = 60 - Math.floor(_root.time); _root.level.jam_lights_03.gotoAndStop(_root.jam03); _root.level.jam_lights_04.gotoAndStop(_root.jam04); _root.level.jam_lights_01.gotoAndStop(_root.jam01); _root.level.jam_lights_02.gotoAndStop(_root.jam02); }; ASSetPropFlags(_global.level_14.prototype, null, 1); } #endinitclip } frame 3 { stop(); } movieClip 27 smoke_car { #initclip Object.registerClass('smoke_car', smoke_car); #endinitclip } movieClip 31 { } movieClip 33 { } movieClip 35 car_body { frame 1 { stop(); } } movieClip 36 car_header { frame 1 { stop(); } } movieClip 75 car_01 { #initclip Object.registerClass('car_01', car_01); #endinitclip frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } frame 22 { stop(); } frame 23 { stop(); } frame 24 { stop(); } frame 25 { stop(); } frame 26 { stop(); } frame 27 { stop(); } frame 28 { stop(); } frame 29 { stop(); } } movieClip 76 car_02 { #initclip Object.registerClass('car_02', car_02); #endinitclip frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } frame 22 { stop(); } frame 23 { stop(); } frame 24 { stop(); } frame 25 { stop(); } frame 26 { stop(); } frame 27 { stop(); } frame 28 { stop(); } frame 29 { stop(); } } movieClip 78 car_03 { #initclip Object.registerClass('car_03', car_03); #endinitclip frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } } movieClip 79 car_05 { #initclip Object.registerClass('car_05', car_05); #endinitclip frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } } movieClip 80 car_04 { #initclip Object.registerClass('car_04', car_04); #endinitclip frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } } movieClip 82 man_body { } movieClip 85 body { frame 1 { stop(); } frame 2 { stop(); } } movieClip 86 header { frame 1 { stop(); } frame 2 { stop(); } } movieClip 88 man_header { } movieClip 91 { } movieClip 94 { } movieClip 97 { } movieClip 98 helicopter_vint { #initclip Object.registerClass('helicopter_vint', man); #endinitclip } movieClip 99 { } movieClip 100 helicopter_motion { #initclip Object.registerClass('helicopter_motion', helicopter); #endinitclip frame 101 { stop(); } } movieClip 117 man { #initclip Object.registerClass('man', man); #endinitclip frame 33 { gotoAndPlay(1); } } movieClip 118 man_stand { #initclip Object.registerClass('man_stand', man_stand); #endinitclip } movieClip 120 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 123 { } movieClip 126 { } movieClip 129 { } movieClip 132 { } movieClip 135 { } movieClip 138 { } movieClip 140 { } movieClip 141 { frame 100 { stop(); } } movieClip 142 man_02 { #initclip Object.registerClass('man_02', man_02); #endinitclip frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 143 man_01 { #initclip Object.registerClass('man_01', man_01); #endinitclip frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 146 smoke_flake_car { #initclip Object.registerClass('smoke_flake_car', smoke_flake_car); #endinitclip } movieClip 149 smoke_flake { #initclip Object.registerClass('smoke_flake', smoke_flake); #endinitclip } movieClip 150 smoke { #initclip Object.registerClass('smoke', smoke); #endinitclip } movieClip 153 { } movieClip 154 stop { frame 50 { gotoAndPlay('play'); } frame 51 { stop(); } } movieClip 156 dot { } movieClip 157 { } movieClip 158 fader { #initclip Object.registerClass('fader', fader); #endinitclip } movieClip 181 { } movieClip 184 { } movieClip 186 { } movieClip 189 { } movieClip 191 { } button 192 { on (release) { spAPI.apiclick('splash'); } } movieClip 193 { frame 1 { if (spAPI.SiteLock) { _visible = false; } } frame 400 { _root.gotoAndStop('menu'); } } frame 4 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 198 { } movieClip 200 { } movieClip 205 { } movieClip 207 { } movieClip 223 { frame 1 { stop(); } } movieClip 226 { frame 1 { stop(); } } movieClip 229 { frame 1 { stop(); } } movieClip 232 { frame 1 { stop(); } } movieClip 235 { frame 1 { stop(); } } movieClip 240 { frame 1 { stop(); } } movieClip 245 { frame 1 { stop(); } } movieClip 247 { } button 248 { on (release) { spAPI.apiclick('loader'); } } movieClip 249 { frame 1 { stop(); if (spAPI.SiteLock) { _visible = false; } } } movieClip 316 { } movieClip 341 { } movieClip 371 { } movieClip 391 { } movieClip 428 { } movieClip 429 { } movieClip 512 { } movieClip 525 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 535 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 545 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 555 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 565 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 571 { frame 1 { stop(); } frame 2 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 577 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 583 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 589 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 595 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 601 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 612 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 623 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 634 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 640 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 644 { } movieClip 650 { frame 1 { stop(); } } movieClip 654 { frame 1 { stop(); } } movieClip 658 { frame 1 { stop(); } } movieClip 662 { frame 1 { stop(); } } movieClip 666 { frame 1 { stop(); } } movieClip 670 { frame 1 { stop(); } } movieClip 671 { } movieClip 678 { frame 1 { stop(); } } movieClip 679 { } movieClip 680 { } movieClip 681 { frame 1 { stop(); } frame 20 { stop(); } } movieClip 684 { } movieClip 685 { frame 1 { stop(); } frame 16 { stop(); } } movieClip 687 main_menu { #initclip Object.registerClass('main_menu', main_menu); #endinitclip } frame 5 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 689 { } movieClip 691 { } movieClip 693 stopper { } movieClip 698 cross_walk { #initclip Object.registerClass('cross_walk', cross_walk); #endinitclip } movieClip 701 { } movieClip 702 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } } movieClip 746 tree { #initclip Object.registerClass('tree', man); #endinitclip } movieClip 748 { frame 1 { stop(); } } movieClip 750 spawn_03 { #initclip Object.registerClass('spawn_03', spawn_03); #endinitclip } movieClip 751 { } movieClip 753 spawn_04 { #initclip Object.registerClass('spawn_04', spawn_04); #endinitclip } movieClip 754 { } movieClip 756 level_01 { #initclip Object.registerClass('level_01', level_01); #endinitclip } movieClip 759 { } movieClip 811 { frame 1 { stop(); } } movieClip 815 { frame 1 { stop(); } } movieClip 817 { } movieClip 820 { frame 1 { stop(); } } movieClip 821 { } movieClip 825 { } movieClip 828 { } movieClip 831 { } movieClip 835 { frame 1 { stop(); } frame 2 { stop(); } } // unknown tag 88 length 69 movieClip 842 { } movieClip 844 { } movieClip 848 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 852 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 856 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 857 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 859 { } movieClip 860 { frame 1 { stop(); } } movieClip 861 { } movieClip 862 { frame 1 { stop(); } frame 30 { stop(); } } frame 6 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 866 { } movieClip 867 turn { } movieClip 869 spawn_01 { #initclip Object.registerClass('spawn_01', spawn_01); #endinitclip } movieClip 870 { } movieClip 871 spawn_02 { #initclip Object.registerClass('spawn_02', spawn_02); #endinitclip } movieClip 872 { } movieClip 874 level_05 { #initclip Object.registerClass('level_05', level_05); #endinitclip } movieClip 930 { } frame 7 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 933 { } movieClip 934 { } movieClip 936 { } movieClip 938 level_08 { #initclip Object.registerClass('level_08', level_08); #endinitclip } movieClip 940 { } frame 8 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 943 { } movieClip 944 { } movieClip 945 level_02 { #initclip Object.registerClass('level_02', level_02); #endinitclip } frame 9 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 949 { } movieClip 950 { } movieClip 953 level_04 { #initclip Object.registerClass('level_04', level_04); #endinitclip } frame 10 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 958 { } movieClip 961 level_09 { #initclip Object.registerClass('level_09', level_09); #endinitclip } frame 11 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 965 { } movieClip 966 { } movieClip 968 level_07 { #initclip Object.registerClass('level_07', level_07); #endinitclip } frame 12 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 971 { } movieClip 974 level_11 { #initclip Object.registerClass('level_11', level_11); #endinitclip } frame 13 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 979 level_15 { #initclip Object.registerClass('level_15', level_15); #endinitclip } frame 14 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 982 { } movieClip 985 { } movieClip 986 { } movieClip 988 level_10 { #initclip Object.registerClass('level_10', level_10); #endinitclip } frame 15 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 993 level_03 { #initclip Object.registerClass('level_03', level_03); #endinitclip } frame 16 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 997 { } movieClip 998 { } movieClip 1000 level_12 { #initclip Object.registerClass('level_12', level_12); #endinitclip } frame 17 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 1005 level_13 { #initclip Object.registerClass('level_13', level_13); #endinitclip } frame 18 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 1009 { } movieClip 1011 level_06 { #initclip Object.registerClass('level_06', level_06); #endinitclip } frame 19 { saveData.data.difficulty = _root.difficulty; saveData.data.level_complete_number = _root.level_complete_number; saveData.data.level_01_score = _root.level_01_score; saveData.data.level_02_score = _root.level_02_score; saveData.data.level_03_score = _root.level_03_score; saveData.data.level_04_score = _root.level_04_score; saveData.data.level_05_score = _root.level_05_score; saveData.data.level_06_score = _root.level_06_score; saveData.data.level_07_score = _root.level_07_score; saveData.data.level_08_score = _root.level_08_score; saveData.data.level_09_score = _root.level_09_score; saveData.data.level_10_score = _root.level_10_score; saveData.data.level_11_score = _root.level_11_score; saveData.data.level_12_score = _root.level_12_score; saveData.data.level_13_score = _root.level_13_score; saveData.data.level_14_score = _root.level_14_score; saveData.data.level_15_score = _root.level_15_score; saveData.data.total_score = _root.total_score; saveData.data.level_01_complete = _root.level_01_complete; saveData.data.level_02_complete = _root.level_02_complete; saveData.data.level_03_complete = _root.level_03_complete; saveData.data.level_04_complete = _root.level_04_complete; saveData.data.level_05_complete = _root.level_05_complete; saveData.data.level_06_complete = _root.level_06_complete; saveData.data.level_07_complete = _root.level_07_complete; saveData.data.level_08_complete = _root.level_08_complete; saveData.data.level_09_complete = _root.level_09_complete; saveData.data.level_10_complete = _root.level_10_complete; saveData.data.level_11_complete = _root.level_11_complete; saveData.data.level_12_complete = _root.level_12_complete; saveData.data.level_13_complete = _root.level_13_complete; saveData.data.level_14_complete = _root.level_14_complete; saveData.data.level_15_complete = _root.level_15_complete; stop(); } movieClip 1016 { } movieClip 1018 { } movieClip 1020 level_14 { #initclip Object.registerClass('level_14', level_14); #endinitclip } movieClip 1023 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 1024 { } movieClip 1025 { frame 1 { stop(); } frame 30 { stop(); } } frame 20 { _root.gotoAndPlay(_root.frame); } frame 21 { stop(); }




http://swfchan.com/19/90418/info.shtml
Created: 28/3 -2019 10:53:25 Last modified: 28/3 -2019 10:53:25 Server time: 22/12 -2024 12:50:33