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

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

Where is 2013- - escape puzzle game.swf

This is the info page for
Flash #132871

(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; } stop(); var soundList = new Array('amb1', 'alienSnd', 'beamSnd', 'ladowanieSnd', 'ladSnd', 'wajchaSnd', 'eleSnd', 'btnSnd', 'pickSnd', 'pickEnd', 'findSnd', 'useSnd', 'moveSnd', 'skrzynkaSnd', 'ropeSnd'); __com_mochibot__('52f5b849', this, 10301, true); mochi.as2.MochiAd.showPreGameAd({'id': '116cb58bf43a2367', 'res': '600x600'}); } frame 1 { goLive = true; has_intro = true; gameName = 'Where is 2013?'; authorInfo = '© Mateusz Skutnik'; miesiac = '12'; rok = '2012'; wersja = '1.0'; wersjaFloat = '3.7'; gameWidth = 600; gameHeight = 600; liniaMenu = 540; authorLink = 'http://www.pastelportal.com/stories/'; commentLink = 'http://www.pastelportal.com/stories/where-is-2013/'; twitterLink = 'http://twitter.com/MateuszSkutnik'; tweetLink = 'http://twitter.com/home?status=check out new game by Pastel Games: ' + commentLink; facebookLink = 'https://www.facebook.com/pastelstories'; shareLink = 'http://www.facebook.com/share.php?u=' + commentLink; moreGamesLink = 'http://www.pastelportal.com/promo.html'; kodWersji = miesiac + '.' + rok + '-f' + wersjaFloat + '-v' + wersja; footer = '<p align=\'center\'>' + gameName + ' | ' + kodWersji + ' | <a href=\'' + authorLink + '\' target=\'_blank\'>' + authorInfo + '</a> | <a href=\'' + commentLink + '\' target=\'_blank\'>comment</a></p>'; footerRGB = 6322279; stop(); var shadowJasny = new flash.filters.DropShadowFilter(5, 45, 0, 0.8, 5, 10, 1, 1, false, false, false); var shadowCiemny = new flash.filters.DropShadowFilter(5, 45, 0, 2, 5, 10, 2, 3, false, false, false); Stage.scaleMode = 'noScale'; fscommand('trapallkeys', true); Stage.showMenu = false; fscommand('showmenu', 'false'); Button.prototype.tabEnabled = false; MovieClip.prototype.tabEnabled = false; _global.root = this; _quality = 'BEST'; musicOn = true; sfxOn = true; saveFile = SharedObject.getLocal('__save__'); _global.s = saveFile.data; _global.sfx = function (co) { if (sfxOn) { root[co].start(); } }; _global.amb = function (ktory) { if (musicOn && ktoryAmbient != ktory) { stopAllSounds(); root[ktory].start(); ktoryAmbient = ktory; } (eval(ktory)).onSoundComplete = function () { (eval(ktory)).start(); }; if (ktory != 'amb_menu') { s.currentAmbient = ktory; } }; _global.rem = function (ktoryObiekt, nr) { s.done = true; point = {'x': _x, 'y': _y}; ktoryObiekt.localToGlobal(point); ktorySave = 'obiekt_' + _currentframe + '_' + ktoryObiekt._totalframes + '_' + Math.round(point.x) + '_' + Math.round(point.y); if (nr == undefined) { if (s[ktorySave] != undefined) { ktoryObiekt.gotoAndStop(s[ktorySave]); } } else { if (nr == 't') { s[ktorySave] = ktoryObiekt._totalframes; } else { if (nr == 'c') { s[ktorySave] = ktoryObiekt._currentframe; } else { s[ktorySave] = nr; } } } }; ataczSounds = function () { i = 0; while (i < soundList.length) { this[soundList[i]] = new Sound(this); this[soundList[i]].attachSound(soundList[i]); ++i; } }; toggleMusic = function () { if (musicOn) { ktoryAmbient = undefined; stopAllSounds(); musicOn = false; } else { musicOn = true; amb(s.currentAmbient); } createFooter(); }; toggleSfx = function () { if (sfxOn) { sfxOn = false; } else { sfxOn = true; } createFooter(); }; link = function (jakiLink) { if (goLive) { sfx('btnSnd'); getURL(jakiLink, '_blank'); } }; createFooter = function () { if (musicOn) { musicTXT = 'on'; } else { musicTXT = 'off'; } if (sfxOn) { sfxTXT = 'on'; } else { sfxTXT = 'off'; } optionsFooter = '<a href=\'asFunction:toggleMusic\'> | music: ' + musicTXT + '</a> | <a href=\'asFunction:toggleSfx\'>sound fx: ' + sfxTXT + '</a>'; versionTXT.removeTextField(); this.createTextField('footerTXT', 1000001, 0, gameHeight - 20, gameWidth, 20); footerTXT.selectable = false; footerTXT.html = true; footerTXT.htmlText = footer + optionsFooter; var v2 = new TextFormat(); v2.color = footerRGB; v2.align = 'center'; v2.font = 'Arial'; v2.size = 10; footerTXT.setTextFormat(v2); }; Array.prototype.shuffle = function () { i = 0; while (i < this.length) { var v3 = this[i]; var v2 = random(this.length); this[i] = this[v2]; this[v2] = v3; ++i; } }; MovieClip.prototype.drawRectangle = function (w, h, alfa) { var v2 = this.createEmptyMovieClip('s1', 1); v2.beginFill(0, alfa); v2.moveTo(0, 0); v2.lineTo(w, 0); v2.lineTo(w, h); v2.lineTo(0, h); v2.endFill(); }; przechodzimy = false; przejscie = function (gdzie) { przejscieDest = gdzie; if (!przechodzimy) { przechodzimy = true; this.createEmptyMovieClip('przejscieMC', this.getNextHighestDepth()); przejscieMC.drawRectangle(gameWidth, gameHeight, 100); przejscieMC._alpha = 1; przejscieMC.dissolve = false; przejscieMC.onEnterFrame = przejscieEF; } }; przejscieEF = function () { if (!this.dissolve) { this._alpha += 15; } else { this._alpha -= 15; } if (this._alpha >= 140) { if (pauseMC._visible) { removeMovieClip(pauseMC); pauseActive = false; } root.gotoAndStop(root.przejscieDest); this.dissolve = true; } if (this._alpha <= 0) { root.przechodzimy = false; delete this.onEnterFrame; removeMovieClip(this); } }; endGame = function () { stopAllSounds(); remove_items(); s.currentframe = 'resurrect'; przejscie('menu'); }; } frame 1 { opis_margines = 4; opis_wys_strzalki = 6; opis_korekta_wysokosci_fonta = 1; opis_kolor_napisu = 0; opis_kolor_tla = 16777215; var opis_txt_format = new TextFormat(); opis_txt_format.color = opis_kolor_napisu; opis_txt_format.align = 'center'; opis_txt_format.font = 'Covert'; opis_txt_format.size = 12; pokazOpis = function (co) { hideOpis(); this.removeMovieClip(opisMC); this.createEmptyMovieClip('opisMC', root.getNextHighestDepth()); opisMC._x = root._xmouse; opisMC._y = _ymouse - this._height; opisMC.filters = [shadowJasny]; opisMC.onEnterFrame = opisEF; opisMC.createTextField('opis_txt', 2, 0, 0, 0, 0); opisMC.opis_txt.text = co; opisMC.opis_txt.autoSize = 'center'; opisMC.opis_txt.selectable = false; opisMC.opis_txt.embedFonts = true; opisMC.opis_txt.setTextFormat(opis_txt_format); opisMC.opis_txt._x = -opisMC.opis_txt._width / 2; opisMC.opis_txt._y = -opisMC.opis_txt._height / 2 + opis_korekta_wysokosci_fonta; opis_szer = opisMC.opis_txt._width; opis_wys = opisMC.opis_txt._height; opisMC.beginFill(opis_kolor_tla, 100); opisMC.moveTo(-opis_szer / 2 - opis_margines, -opis_wys / 2 - opis_margines); opisMC.lineTo(-opis_szer / 2 - opis_margines, -opis_wys / 2 - opis_margines * 2); opisMC.lineTo(opis_szer / 2 + opis_margines, -opis_wys / 2 - opis_margines * 2); opisMC.lineTo(opis_szer / 2 + opis_margines, -opis_wys / 2 - opis_margines); opisMC.lineTo(opis_szer / 2 + opis_margines * 2, -opis_wys / 2 - opis_margines); opisMC.lineTo(opis_szer / 2 + opis_margines * 2, opis_wys / 2 + opis_margines); opisMC.lineTo(opis_szer / 2 + opis_margines, opis_wys / 2 + opis_margines); opisMC.lineTo(opis_szer / 2 + opis_margines, opis_wys / 2 + opis_margines * 2); opisMC.lineTo(-opis_szer / 2 - opis_margines, opis_wys / 2 + opis_margines * 2); opisMC.lineTo(-opis_szer / 2 - opis_margines, opis_wys / 2 + opis_margines); opisMC.lineTo(-opis_szer / 2 - opis_margines * 2, opis_wys / 2 + opis_margines); opisMC.lineTo(-opis_szer / 2 - opis_margines * 2, -opis_wys / 2 - opis_margines); opisMC.lineTo(-opis_szer / 2 - opis_margines, -opis_wys / 2 - opis_margines); opisMC.endFill(); opisMC.createEmptyMovieClip('opisMC_pointer', 1); opisMC.opisMC_pointer._y = opis_wys / 2 + opis_margines * 2 - 1; opisMC.opisMC_pointer.beginFill(opis_kolor_tla, 100); opisMC.opisMC_pointer.moveTo(-opis_wys_strzalki, 0); opisMC.opisMC_pointer.lineTo(opis_wys_strzalki, 0); opisMC.opisMC_pointer.lineTo(0, opis_wys_strzalki); opisMC.opisMC_pointer.lineTo(-opis_wys_strzalki, 0); opisMC.opisMC_pointer.endFill(); }; hideOpis = function () { delete opisMC.onEnterFrame; opisMC.removeMovieClip(this); }; opisEF = function () { this._x = root._xmouse; this._y = _ymouse - this._height; this.opisMC_pointer._x = this._x - root._xmouse; if (this._x <= this._width / 2) { this._x = this._width / 2; this.opisMC_pointer._x = -this._width / 2 + root._xmouse; if (this.opisMC_pointer._x <= -opis_szer / 2 + opis_wys_strzalki / 2) { this.opisMC_pointer._x = -opis_szer / 2 + opis_wys_strzalki / 2; } } if (this._x >= gameWidth - this._width / 2) { this._x = gameWidth - this._width / 2; this.opisMC_pointer._x = -gameWidth + _xmouse + this._width / 2; if (this.opisMC_pointer._x >= opis_szer / 2 - opis_wys_strzalki / 2) { this.opisMC_pointer._x = opis_szer / 2 - opis_wys_strzalki / 2; } } if (this._y <= this._height / 2 - opis_wys_strzalki / 2) { this._y = this._height / 2 - opis_wys_strzalki / 2; } }; nextFrame(); } movieClip 496 __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 497 __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 498 __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.5 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) { if (onError != undefined) { mochi.as2.MochiServices.onError = onError; } else { if (mochi.as2.MochiServices.onError == undefined) { mochi.as2.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } 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); } }; 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()) { mochi.as2.MochiServices.onError('NotConnected'); 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('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(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('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('NotConnected'); } if (args.options != null && args.options.onError != null) { args.options.onError('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 499 __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.getAchievements = function (properties) { mochi.as2.MochiServices.send('events_getAchievements', properties); }; v1.unlockAchievement = function (properties) { mochi.as2.MochiServices.send('events_unlockAchievement', properties); }; v1.startSession = function (achievementID) { mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null); }; v1.showAwards = function (options) { mochi.as2.MochiServices.send('events_showAwards', options, null, null); }; v1.setNotifications = function (style) { mochi.as2.MochiServices.send('events_setNotifications', style, 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.ACHIEVEMENTS_OWNED = 'AchievementOwned'; v1.ACHIEVEMENT_NEW = 'AchievementReceived'; v1.GAME_ACHIEVEMENTS = 'GameAchievements'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.IO_PENDING = 'IOPending'; 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.FORMAT_NONE = 'NoForm'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1); } #endinitclip } movieClip 500 __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 501 __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.showProfile = function (options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send('social_showProfile', options); }; 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 } frame 3 { stop(); przejscie('logo'); } frame 5 { } frame 9 { } movieClip 3 key { } movieClip 5 sticker_1 { } movieClip 7 sticker_2 { } movieClip 9 sticker_3 { } movieClip 11 fuse_1 { } movieClip 13 talerz { } movieClip 15 { } movieClip 16 secret { } movieClip 18 box { } movieClip 20 glass { } movieClip 22 ramka { } // unknown tag 88 length 63 movieClip 27 { frame 1 { _alpha = 0; } } movieClip 28 item_tester { } movieClip 29 { } // unknown tag 88 length 41 movieClip 33 { } // unknown tag 88 length 71 movieClip 36 { } movieClip 37 exit_mc_btn { frame 1 { stop(); onEnterFrame = function () { if (this.hitTest(root._xmouse, root._ymouse, true)) { nextFrame(); } else { prevFrame(); } }; } } movieClip 55 { } frame 25 { ataczSounds(); amb('amb_menu'); if (goLive != true) { gotoAndStop('menu'); } } movieClip 57 { frame 60 { stop(); root.przejscie('menu'); } } frame 30 { if (s.currentframe == undefined) { continueBtn._alpha = 50; continueBtn.enabled = false; } createFooter(); } button 65 { on (release) { __com_mochibot__('f4fd5d07', this, 10301, true); link(authorLink); } } button 70 { on (release) { __com_mochibot__('eb245509', this, 10301, true); link(commentLink); } } button 73 { on (press) { sfx('btnSnd'); przejscie('float'); } } button 75 { on (press) { sfx('btnSnd'); saveFile.clear(); _global.s = saveFile.data; przejscie('float'); } } button 79 { on (release) { __com_mochibot__('37c7f6bd', this, 10301, true); link(moreGamesLink); } } movieClip 82 { } button 84 { on (release) { hideOpis(); __com_mochibot__('e6152b21', this, 10301, true); sfx('btnSnd'); link(facebookLink); } on (rollOver) { pokazOpis('facebook'); } on (rollOut) { hideOpis(); } } movieClip 87 { } button 88 { on (release) { hideOpis(); __com_mochibot__('d26a8fee', this, 10301, true); sfx('btnSnd'); link(twitterLink); } on (rollOver) { pokazOpis('twitter'); } on (rollOut) { hideOpis(); } } movieClip 91 { } button 92 { on (press) { hideOpis(); __com_mochibot__('a430849e', this, 10301, true); sfx('btnSnd'); przejscie('share'); } on (rollOver) { pokazOpis('share'); } on (rollOut) { hideOpis(); } } movieClip 95 { } button 100 { on (release) { __com_mochibot__('f6f897be', this, 10301, true); link(tweetLink); } } movieClip 103 { } button 107 { on (release) { __com_mochibot__('9f266b3c', this, 10301, true); link(shareLink); } } button 111 { on (press) { sfx('btnSnd'); przejscie('menu'); } } frame 42 { reset = function () { rozstawMenu = 35; maxItems = 15; itemInHand = ''; go = true; restoreRoom(); }; if (s.listOfItems == undefined) { s.listOfItems = new Array(); } if (s.listOfPhotos == undefined) { s.listOfPhotos = new Array(); } if (s.listOfDocuments == undefined) { s.listOfDocuments = new Array(); } itemProperties = []; nextFrame(); } frame 43 { warp = function (gdzie, snd) { if (go) { if (Number(gdzie)) { gotoAndStop(_currentframe + gdzie); } else { gotoAndStop(gdzie); } sfx('moveSnd'); hideOpis(); say(''); s.currentframe = _currentframe; } }; restoreRoom = function () { checkInventoryStatus(); if (s.currentframe == undefined) { if (has_intro) { gotoAndStop('intro'); } else { gotoAndStop('gra'); s.currentframe = 'gra'; } } else { ktoryAmbient = undefined; amb(s.currentAmbient); gotoAndStop(s.currentframe); } }; nextFrame(); } frame 44 { itemFinder = function () { if (go) { if (this.i.substring(0, 3) == 'pic') { if (s.listOfPhotos.length == 0 && s.listOfItems.length == maxItems) { inv_full(); } else { say(''); this._visible = false; if (s.listOfPhotos.length == 0) { itemCollect('photos'); } else { ataczBot('photos'); sfx('findSnd'); } s.listOfPhotos.push(this.i.substring(4)); s[this.ktorySave] = true; } } else { if (this.i.substring(0, 3) == 'doc') { if (s.listOfDocuments.length == 0 && s.listOfItems.length == maxItems) { inv_full(); } else { say(''); this._visible = false; if (s.listOfDocuments.length == 0) { itemCollect('documents'); } else { ataczBot('documents'); sfx('findSnd'); } s.listOfDocuments.push(this.i.substring(4)); s[this.ktorySave] = true; } } else { czekIlosc = this.i + '_quantity'; if (s.listOfItems.length == maxItems && s[czekIlosc] == undefined) { inv_full(); } else { say(''); itemQuantityCzek(this.i); if (this.leaveMe != true) { this._visible = false; } else { this.play(); } s[this.ktorySave] = true; } } } reloadItemProperties(); } }; inv_full = function () { say('the inventory is full...', 'errorSnd'); }; itemQuantityCzek = function (co, withSnd) { if (co != undefined && co != 's_undefined') { czekIlosc = co + '_quantity'; if (s[czekIlosc] == undefined) { itemCollect(co, withSnd); s[czekIlosc] = 1; } else { ++s[czekIlosc]; ataczBot(co); if (withSnd != false) { sfx('findSnd'); } } onCollect(co); } }; itemCollect = function (co, withSnd) { attachMovie(co, co, root.getNextHighestDepth(), {'filters': [shadowJasny], 'moveInitVal': 0, 'inInventory': false, 'drag': false, 'onEnterFrame': itemLocate, 'onRollOver': itemNameDisp, 'onRollOut': hideOpis, 'onPress': itemPress}); this[co].attachMovie('item_tester', 'tester', 2); czekIlosc = co + '_quantity'; if (s[czekIlosc] != undefined && s[czekIlosc] >= 2) { itemQuantityDisplay(co, s[czekIlosc]); } if (!restoring) { s.listOfItems.push(co); sfx('findSnd'); this[co]._x = _xmouse; this[co]._y = _ymouse; } else { i = 0; while (i < s.listOfItems.length) { if (s.listOfItems[i] == this[co]._name) { this[co].myPos = i; } ++i; } this[co]._x = gameWidth / 2 - (rozstawMenu / 2) * (s.listOfItems.length - 1) + rozstawMenu * this[co].myPos; this[co]._y = liniaMenu; } }; botNr = 1; ataczBot = function (co) { attachMovie(co, co + botNr, this.getNextHighestDepth(), {'_x': _xmouse, '_y': _ymouse, 'toWhere': co, 'filters': [shadowJasny], 'onEnterFrame': toInventory, 'friction': 0}); ++botNr; }; toInventory = function () { this.gotoAndStop(1); if (this.friction <= 0.2) { this.friction += 0.02; } if ((eval('root.' + this.toWhere))._visible) { this._x += ((eval('root.' + this.toWhere))._x - this._x) * this.friction; this._y += ((eval('root.' + this.toWhere))._y - this._y) * 0.2; } else { this._x += (gameWidth / 2 - this._x) * this.friction; this._y += (liniaMenu - this._y) * 0.2; } this._alpha -= 4; if (this._alpha <= 0) { removeMovieClip(this); delete this.onEnterFrame; } }; gimme = function (co) { gimmeCo = co; clearInterval(gimmeInt); gimmeInt = setInterval(gimmeItem, 500); }; gimmeItem = function () { itemQuantityCzek(gimmeCo); clearInterval(gimmeInt); }; nextFrame(); } frame 45 { itemLocate = function () { if (_ymouse >= liniaMenu - 40 && this.inInventory && go) { this.nr = 20 - Math.abs(_xmouse - this._x) / 2; if (this.nr <= 0) { this.nr = 0; } this.destY = liniaMenu - this.nr; this._xscale += (100 + this.nr - this._xscale) * 0.2; this._yscale += (100 + this.nr - this._yscale) * 0.2; } else { this.destY = liniaMenu; this._xscale += (100 - this._xscale) * 0.2; this._yscale += (100 - this._yscale) * 0.2; } if (Math.abs(this._y - this.destY) <= 5) { this.inInventory = true; } if (!this.drag) { if (this.moveInitVal <= 0.3) { this.moveInitVal += 0.01; } i = 0; while (i < s.listOfItems.length) { if (s.listOfItems[i] == this._name) { myPos = i; } ++i; } this.destX = gameWidth / 2 - (rozstawMenu / 2) * (s.listOfItems.length - 1) + rozstawMenu * myPos; this._x += (this.destX - this._x) * this.moveInitVal; this._y += (this.destY - this._y) * 0.2; } if (this.hitTest(_xmouse, _ymouse, true)) { if (this._totalframes != 1) { if (go) { this.nextFrame(); } } } else { if (this._currentframe != 1) { if (go) { this.prevFrame(); } } } }; shadowLocate = function () { if (this.removeMe) { this._xscale -= 5; this._yscale -= 5; if (this._xscale <= 5) { delete this.onEnterFrame; removeMovieClip(this); } } else { this._x += ((eval('root.' + this.destItem)).destX - this._x) * 0.2; this._y += ((eval('root.' + this.destItem)).destY - this._y) * 0.2; } }; itemNameDisp = function () { if (go) { if (this._name == 'secret') { pokazOpis('glass marble (' + s.secret_quantity + '/10)'); } else { if (s[this._name + '_quantity'] >= 2) { pokazOpis(itemProperties[this._name][0] + ' (' + s[this._name + '_quantity'] + ')'); } else { pokazOpis(itemProperties[this._name][0]); } } } }; itemPress = function () { if (itemProperties[this._name][1]) { if (go) { if (!this.drag) { this.gotoAndStop(this._totalframes); go = false; Mouse.hide(); shadowName = this._name + '_shadow'; attachMovie(this._name, shadowName, root.getNextHighestDepth(), {'onEnterFrame': shadowLocate, '_alpha': 50, 'destItem': this._name, '_x': this.destX, '_y': this.destY}); this.swapDepths(root.getNextHighestDepth()); (eval(shadowName)).gotoAndStop(this._totalframes); sfx('pickSnd'); this.startDrag(true); this.drag = true; itemInHand = this._name; hideOpis(); } } else { if (this.tester.hitTest(this.destX, this.destY) && !go && this.drag) { Mouse.show(); stopDrag(); this.moveInitVal = 0; removeMovieClip(eval(shadowName)); this.drag = false; hideOpis(); sfx('pickEnd'); itemInHand = ''; go = true; } } } else { if (go) { if (this._name == 'plecak') { openSkrytka('skrytka_backpack'); } else { showItem(this._name); } } } combine(); }; showItem = function (co) { hideOpis(); remove_items(); go = false; if (co == 'documents' || co == 'photos') { sfx('documentsSnd'); attachMovie(co + '_view', 'data_view', this.getNextHighestDepth()); } else { sfx('btnSnd'); this.createEmptyMovieClip('item_closeup', this.getNextHighestDepth()); item_closeup.drawRectangle(gameWidth, gameHeight - 20, 80); item_closeup.attachMovie(co + '_view', co + '_view', 2, {'filters': [shadowJasny], '_x': gameWidth / 2, '_y': (gameHeight - 100) / 2}); item_closeup.attachMovie('exit_mc_btn', 'exit_mc_btn', 3, {'filters': [shadowJasny], '_x': gameWidth - 50, '_y': liniaMenu, 'onPress': hideItem}); } }; hideItem = function () { hideOpis(); sfx('btnSnd'); checkInventoryStatus(); go = true; removeMovieClip('item_closeup'); }; checkInventoryStatus = function () { if (s.listOfItems.length != 0) { restoring = true; restoringNr = 0; restoringInt = setInterval(restoreItemsFromSave, 1); reloadItemProperties(); } }; restoreItemsFromSave = function () { if (restoring) { if (restoringNr <= s.listOfItems.length - 1) { itemCollect(s.listOfItems[restoringNr], false); ++restoringNr; } else { reloadItemProperties(); clearInterval(restoringInt); restoring = false; } } }; nextFrame(); } frame 46 { used = function (co, withSnd) { if (withSnd != false) { sfx('useSnd'); } czekIlosc = co + '_quantity'; if (s[czekIlosc] <= 1) { s[czekIlosc] = undefined; usedAll(co); } else { if (s[czekIlosc] == 2) { --s[czekIlosc]; this[co].quantityTXT.removeTextField(); } else { if (s[czekIlosc] > 2) { --s[czekIlosc]; itemQuantityDisplay(co, s[czekIlosc]); } } } }; usedAll = function (co) { i = 0; while (i < s.listOfItems.length) { if (s.listOfItems[i].toString() == co) { s.listOfItems.splice(i, 1); } ++i; } (eval(co + '_shadow')).removeMe = true; removeMovieClip(co); if (s[itemInHand + '_quantity'] == undefined) { itemInHand = ''; go = true; Mouse.show(); } }; remove_items = function () { i = 0; while (i < s.listOfItems.length) { this[s.listOfItems[i]].removeMovieClip(this); (eval(s.listOfItems[i] + '_shadow')).removeMovieClip(this); ++i; } Mouse.show(); say(''); }; nextFrame(); } frame 47 { say_margines = 20; var say_txt_format = new TextFormat(); say_txt_format.color = 16777215; say_txt_format.align = 'center'; say_txt_format.font = 'Covert'; say_txt_format.size = 12; say = function (co, snd) { if (co == '') { oldSay = co; if (sayBox._visible) { sayBox.moveAway = true; sayBox.destX = -sayBox.sayBoxHeight; } } else { if (co != oldSay) { if (sayBox._visible) { removeMovieClip(sayBox); } root.createEmptyMovieClip('sayBox', root.getNextHighestDepth()); sayBox.moveAway = false; sayBox.destX = 0; sayBox.onEnterFrame = sayBoxEF; sayBox.createTextField('napis_txt', 2, 0, say_margines, gameWidth - say_margines * 2, 60); sayBox.napis_txt._x = say_margines; sayBox.napis_txt.autoSize = 'center'; sayBox.napis_txt.selectable = false; sayBox.napis_txt.multiline = true; sayBox.napis_txt.wordWrap = true; sayBox.napis_txt.text = co; sayBox.napis_txt.embedFonts = true; sayBox.napis_txt.setTextFormat(say_txt_format); oldSay = co; sayBox.sayBoxHeight = sayBox.napis_txt._height + say_margines * 2; sayBox._y = -sayBox.sayBoxHeight; sayBox.drawRectangle(gameWidth, sayBox.sayBoxHeight, 100); if (snd == undefined) { sfx('btnSnd'); } else { sfx(snd); } } } }; sayBoxEF = function () { this._y += (this.destX - this._y) * 0.5; if (this.moveAway && this._y <= -this.sayBoxHeight + 2) { removeMovieClip(this); } }; sayOnce = function (co) { mySave = ((((((((String(co)).substring(0, 20)).toLowerCase()).split(' ')).join('_')).split('.')).join('')).split(':')).join(''); if (s[mySave] != true) { say(co); s[mySave] = true; } }; czat = function (ktora) { say(''); remove_items(); sfx('btnSnd'); attachMovie('czatMC', 'czatMC', this.getNextHighestDepth()); czatMC.ktoraRozmowa = ktora; go = false; }; endCzat = function () { go = true; checkInventoryStatus(); removeMovieClip('czatMC'); }; nextFrame(); } frame 48 { openSklep = function (ktory) { if (go) { go = false; hideOpis(); sfx('shopSnd'); remove_items(); attachMovie('sklepMC', 'sklepMC', this.getNextHighestDepth, {'sklepName': ktory}); sklepMC.attachMovie('exit_mc_btn', 'exit_mc_btn', 100, {'filters': [shadowJasny], '_x': gameWidth / 2, '_y': liniaMenu, 'onPress': closeSklep}); } }; openSkrytka = function (ktory) { if (go) { go = false; hideOpis(); sfx('skrytkaSnd'); remove_items(); attachMovie('skrytkaMC', 'skrytkaMC', this.getNextHighestDepth, {'skrytkaName': ktory}); skrytkaMC.attachMovie('exit_mc_btn', 'exit_mc_btn', 100, {'filters': [shadowJasny], '_x': gameWidth / 2, '_y': liniaMenu, 'onPress': closeSkrytka}); } }; closeSklep = function () { go = true; sfx('shopEnd'); checkInventoryStatus(); removeMovieClip(sklepMC); }; closeSkrytka = function () { go = true; sfx('skrytkaEnd'); checkInventoryStatus(); removeMovieClip(skrytkaMC); }; nextFrame(); } frame 49 { opis_margines = 4; opis_wys_strzalki = 6; opis_korekta_wysokosci_fonta = 1; opis_kolor_napisu = 0; opis_kolor_tla = 16777215; var opis_txt_format = new TextFormat(); opis_txt_format.color = opis_kolor_napisu; opis_txt_format.align = 'center'; opis_txt_format.font = 'Covert'; opis_txt_format.size = 12; pokazOpis = function (co) { hideOpis(); this.removeMovieClip(opisMC); this.createEmptyMovieClip('opisMC', root.getNextHighestDepth()); opisMC._x = root._xmouse; opisMC._y = _ymouse - this._height; opisMC.filters = [shadowJasny]; opisMC.onEnterFrame = opisEF; opisMC.createTextField('opis_txt', 2, 0, 0, 0, 0); opisMC.opis_txt.text = co; opisMC.opis_txt.autoSize = 'center'; opisMC.opis_txt.selectable = false; opisMC.opis_txt.embedFonts = true; opisMC.opis_txt.setTextFormat(opis_txt_format); opisMC.opis_txt._x = -opisMC.opis_txt._width / 2; opisMC.opis_txt._y = -opisMC.opis_txt._height / 2 + opis_korekta_wysokosci_fonta; opis_szer = opisMC.opis_txt._width; opis_wys = opisMC.opis_txt._height; opisMC.beginFill(opis_kolor_tla, 100); opisMC.moveTo(-opis_szer / 2 - opis_margines, -opis_wys / 2 - opis_margines); opisMC.lineTo(-opis_szer / 2 - opis_margines, -opis_wys / 2 - opis_margines * 2); opisMC.lineTo(opis_szer / 2 + opis_margines, -opis_wys / 2 - opis_margines * 2); opisMC.lineTo(opis_szer / 2 + opis_margines, -opis_wys / 2 - opis_margines); opisMC.lineTo(opis_szer / 2 + opis_margines * 2, -opis_wys / 2 - opis_margines); opisMC.lineTo(opis_szer / 2 + opis_margines * 2, opis_wys / 2 + opis_margines); opisMC.lineTo(opis_szer / 2 + opis_margines, opis_wys / 2 + opis_margines); opisMC.lineTo(opis_szer / 2 + opis_margines, opis_wys / 2 + opis_margines * 2); opisMC.lineTo(-opis_szer / 2 - opis_margines, opis_wys / 2 + opis_margines * 2); opisMC.lineTo(-opis_szer / 2 - opis_margines, opis_wys / 2 + opis_margines); opisMC.lineTo(-opis_szer / 2 - opis_margines * 2, opis_wys / 2 + opis_margines); opisMC.lineTo(-opis_szer / 2 - opis_margines * 2, -opis_wys / 2 - opis_margines); opisMC.lineTo(-opis_szer / 2 - opis_margines, -opis_wys / 2 - opis_margines); opisMC.endFill(); opisMC.createEmptyMovieClip('opisMC_pointer', 1); opisMC.opisMC_pointer._y = opis_wys / 2 + opis_margines * 2 - 1; opisMC.opisMC_pointer.beginFill(opis_kolor_tla, 100); opisMC.opisMC_pointer.moveTo(-opis_wys_strzalki, 0); opisMC.opisMC_pointer.lineTo(opis_wys_strzalki, 0); opisMC.opisMC_pointer.lineTo(0, opis_wys_strzalki); opisMC.opisMC_pointer.lineTo(-opis_wys_strzalki, 0); opisMC.opisMC_pointer.endFill(); }; hideOpis = function () { delete opisMC.onEnterFrame; opisMC.removeMovieClip(this); }; opisEF = function () { this._x = root._xmouse; this._y = _ymouse - this._height; this.opisMC_pointer._x = this._x - root._xmouse; if (this._x <= this._width / 2) { this._x = this._width / 2; this.opisMC_pointer._x = -this._width / 2 + root._xmouse; if (this.opisMC_pointer._x <= -opis_szer / 2 + opis_wys_strzalki / 2) { this.opisMC_pointer._x = -opis_szer / 2 + opis_wys_strzalki / 2; } } if (this._x >= gameWidth - this._width / 2) { this._x = gameWidth - this._width / 2; this.opisMC_pointer._x = -gameWidth + _xmouse + this._width / 2; if (this.opisMC_pointer._x >= opis_szer / 2 - opis_wys_strzalki / 2) { this.opisMC_pointer._x = opis_szer / 2 - opis_wys_strzalki / 2; } } if (this._y <= this._height / 2 - opis_wys_strzalki / 2) { this._y = this._height / 2 - opis_wys_strzalki / 2; } }; nextFrame(); } frame 50 { sc = function (ktory) { if (go && cursorOn) { Mouse.hide(); attachMovie('cursor_' + ktory, 'movementCursor', this.getNextHighestDepth()); movementCursor._x = _xmouse; movementCursor._y = _ymouse; } }; hc = function () { if (go && cursorOn) { removeMovieClip('movementCursor'); Mouse.show(); } }; nextFrame(); } frame 51 { reloadItemProperties = function () { if (s.listOfDocuments.length == 1) { itemProperties.documents = ['a document', false, 0]; } else { itemProperties.documents = [s.listOfDocuments.length + ' documents', false, 0]; } if (s.listOfPhotos.length == 1) { itemProperties.photos = ['a photograph', false, 0]; } else { itemProperties.photos = [s.listOfPhotos.length + ' photographs', false, 0]; } }; setQuantity = function (co, ile) { if (s[co] == undefined) { s[co] = ile; } }; combineThis = function (skladnik1, skladnik2, efekt) { if (this[skladnik1].tester.hitTest(this[skladnik2].tester)) { itemQuantityCzek(efekt, false); used(skladnik1, false); used(skladnik2, false); sfx('combineSnd'); } }; gotoAndStop('dane'); } frame 53 { itemProperties.sticker_1 = ['careless man sticker', true]; itemProperties.sticker_2 = ['electric arc sticker', true]; itemProperties.sticker_3 = ['weathered electric arc sticker', true]; itemProperties.fuse_1 = ['fuse', true]; itemProperties.talerz = ['insulator plate', true]; itemProperties.box = ['black box', true]; itemProperties.key = ['small key', true]; itemProperties.glass = ['glass insulator', true]; itemProperties.secret = ['glass marble', true]; nextFrame(); } frame 54 { if (s.randomItemArray == undefined) { s.randomItemArray = new Array('spoon', 'knife', 'fork'); s.randomItemArray.shuffle(); } if (s.drawArray == undefined) { s.drawArray = new Array('spoon', 'knife', 'lighter', 'valve', 'metal_box', 'wrench', 'light_bulb', 'coil', 'fork'); s.drawArray.shuffle(); } setQuantity('sklep1_name', 'hardware store'); setQuantity('sklep1_cash', 0); setQuantity('sklep1_maxItems', 10); setQuantity('sklep1_items', new Array(s.drawArray[0], s.drawArray[1], s.drawArray[2], s.drawArray[3])); setQuantity('sklep2_name', 'mauritz shop'); setQuantity('sklep2_cash', 1000); setQuantity('sklep2_maxItems', 5); setQuantity('sklep2_items', new Array(s.drawArray[4], s.drawArray[5])); setQuantity('sklep2_key_quantity', 10); setQuantity('sklep3_name', 'Jules 3rd shop'); setQuantity('sklep3_cash', 100000); setQuantity('sklep3_maxItems', 17); setQuantity('sklep3_items', new Array(s.drawArray[6], s.drawArray[7], s.drawArray[8])); setQuantity('sklep3_wrench_quantity', 6); setQuantity('sklep3_light_bulb_quantity', 58); setQuantity('sklep3_fork_quantity', 12); setQuantity('skrytka1_name', 'rusty manhole hideout'); setQuantity('skrytka1_items', new Array('metal_box', 'wrench', 'light_bulb')); setQuantity('skrytka1_maxItems', 10); setQuantity('skrytka2_name', 'tree trunk hole'); setQuantity('skrytka2_items', new Array()); setQuantity('skrytka2_maxItems', 7); setQuantity('skrytka_backpack_name', 'your backpack:'); setQuantity('skrytka_backpack_items', new Array()); setQuantity('skrytka_backpack_maxItems', 30); setQuantity('cash', 15); nextFrame(); } frame 55 { var documentsTXT = []; documentsTXT.doc_1 = 'document_1_text'; documentsTXT.doc_2 = 'document_2_text'; documentsTXT.doc_3 = 'document_3_text'; documentsTXT.doc_4 = 'document_4_text'; var photosTXT = []; photosTXT.pic_1 = 'picture_1_description'; photosTXT.pic_2 = 'picture_2_description'; photosTXT.pic_3 = 'picture_3_description'; nextFrame(); } frame 56 { onCollect = function (co) { if (co == 'key') { linka.play(); } }; nextFrame(); } frame 57 { combine = function () { combineThis('metal_box', 'wrench', 'orb'); combineThis('hammer', 'light_bulb', 'wrench'); }; czek_stickers = function () { if (s.sticker_1_done && s.sticker_2_done && s.sticker_3_done) { sfx('eleSnd'); s.drut_1_done = true; } }; czek_fuses = function () { if (s.fuse_1_done && s.fuse_2_done && s.fuse_3_done && s.fuse_4_done && s.fuse_5_done) { sfx('eleSnd'); s.drut_2_done = true; } }; czek_masz = function () { if (s.talerz_done && s.mech_done && s.glass_done) { sfx('eleSnd'); s.drut_3_done = true; } }; czek_kluczyki = function () { if (s.kluczyk_1_done && s.kluczyk_2_done) { s.skrzynka_open = true; kluczyczki.play(); } }; reset(); } button 118 { on (press) { sfx('btnSnd'); przejscie('gra'); } } movieClip 120 { } frame 65 { amb('amb1'); } movieClip 126 { } movieClip 127 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } movieClip 133 { } movieClip 134 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } instance of movieClip 133 { onClipEvent (load) { gotoAndPlay(random(_totalframes)); } } } movieClip 135 { frame 1 { stop(); if (s.drut_2_done) { nextFrame(); } } instance of movieClip 133 { onClipEvent (load) { gotoAndPlay(random(_totalframes)); } } } movieClip 136 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } instance of movieClip 133 { onClipEvent (load) { gotoAndPlay(random(_totalframes)); } } } movieClip 137 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } movieClip 139 { frame 1 { stop(); if (s.mech_done) { nextFrame(); } } } movieClip 140 { frame 1 { onPress = function () { if (root.go) { if (mus != undefined) { amb(mus); } if (snd != undefined) { root.warp(wn, snd); } else { root.warp(wn); } } }; if (inf != undefined) { onRollOver = function () { root.say(inf); }; onRollOut = function () { root.say(''); }; } } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = 19; } } instance of movieClip 140 { onClipEvent (load) { wn = 23; } } instance of movieClip 140 { onClipEvent (load) { wn = 5; } } instance of movieClip 140 { onClipEvent (load) { wn = 42; } } instance of movieClip 140 { onClipEvent (load) { wn = 50; } } instance of movieClip 140 { onClipEvent (load) { wn = 51; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 2; } } movieClip 147 { } movieClip 148 { frame 1 { gfx._visible = false; point = {'x': _parent._x, 'y': _parent._y}; ktoryObiekt.localToGlobal(point); _parent.ktorySave = _parent.i + 'object_' + root._currentframe + '_' + Math.round(point.x) + '_' + Math.round(point.y); _parent.onPress = root.itemFinder; if (s[_parent.ktorySave] != undefined) { _parent._visible = false; delete _parent.onPress; } } } movieClip 149 { frame 1 { i = 'fuse_1'; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -2; } } movieClip 156 { frame 1 { i = 'sticker_3'; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } movieClip 160 { frame 1 { stop(); if (s.sticker_1_done) { nextFrame(); } } } movieClip 161 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } movieClip 163 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } movieClip 164 { frame 1 { stop(); if (s.drut_2_done) { nextFrame(); } } } movieClip 165 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } movieClip 166 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -5; } } instance of movieClip 140 { onClipEvent (load) { wn = 7; } } instance of movieClip 140 { onClipEvent (load) { wn = 5; } } instance of movieClip 140 { onClipEvent (load) { wn = 14; } } instance of movieClip 140 { onClipEvent (load) { wn = 39; } } instance of movieClip 140 { onClipEvent (load) { wn = 40; } } instance of movieClip 140 { onClipEvent (load) { wn = 37; } } movieClip 170 { frame 1 { stop(); if (s.sticker_1_done) { nextFrame(); } } } movieClip 172 { frame 1 { stop(); if (s.sticker_2_done) { nextFrame(); } } } movieClip 174 { frame 1 { stop(); if (s.sticker_3_done) { nextFrame(); } } } movieClip 175 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = 2; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = 3; } } movieClip 179 { } movieClip 181 { frame 1 { onMouseDown = function () { if (this.hitTest(eval('root.' + _parent.i))) { if (_parent.useMe != false) { root.used(_parent.i); } _parent.play(); } }; } } movieClip 182 { frame 1 { stop(); rem(this); i = 'sticker_1'; } frame 2 { s.sticker_1_done = true; root.czek_stickers(); rem(this, 't'); } frame 12 { stop(); } } movieClip 184 { frame 1 { stop(); rem(this); i = 'sticker_2'; } frame 2 { s.sticker_2_done = true; root.czek_stickers(); rem(this, 't'); } frame 12 { stop(); } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } movieClip 188 { frame 1 { stop(); rem(this); i = 'sticker_3'; } frame 2 { s.sticker_3_done = true; root.czek_stickers(); rem(this, 't'); } frame 12 { stop(); } } instance of movieClip 140 { onClipEvent (load) { wn = -2; } } movieClip 191 { frame 1 { i = 'secret'; } } instance of movieClip 140 { onClipEvent (load) { wn = -3; } } movieClip 194 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -5; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } movieClip 199 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -7; } } instance of movieClip 140 { onClipEvent (load) { wn = 2; } } instance of movieClip 140 { onClipEvent (load) { wn = 4; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = -2; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } movieClip 208 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = -2; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -4; } } instance of movieClip 140 { onClipEvent (load) { wn = 2; } } movieClip 211 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } movieClip 212 { } movieClip 213 { frame 1 { i = 'key'; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = -2; } } movieClip 220 { frame 1 { stop(); rem(this); i = 'key'; } frame 2 { rem(this, 't'); s[myVar] = true; } frame 15 { root.czek_kluczyki(); } frame 20 { stop(); } } movieClip 224 { frame 1 { i = 'box'; } } movieClip 225 { frame 1 { stop(); rem(this); } instance of movieClip 220 { onClipEvent (load) { myVar = 'kluczyk_1_done'; } } instance of movieClip 220 { onClipEvent (load) { myVar = 'kluczyk_2_done'; } } frame 2 { rem(this, 't'); sfx('skrzynkaSnd'); } frame 15 { stop(); } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -19; } } instance of movieClip 140 { onClipEvent (load) { wn = 2; } } movieClip 229 { frame 1 { i = 'sticker_2'; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } movieClip 235 { frame 1 { stop(); if (s.kluczyk_1_done) { nextFrame(); } } frame 2 { rem(this, 't'); s[myVar] = true; } } movieClip 237 { frame 1 { stop(); if (s.skrzynka_open) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -2; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } movieClip 246 { } movieClip 247 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } movieClip 248 { frame 1 { stop(); if (s.drut_2_done) { nextFrame(); } } } movieClip 250 { frame 1 { stop(); if (s.talerz_done) { nextFrame(); } } } movieClip 255 { } movieClip 256 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = 2; } } instance of movieClip 140 { onClipEvent (load) { wn = -23; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } movieClip 263 { } movieClip 264 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } movieClip 269 { } movieClip 270 { frame 1 { stop(); if (s.drut_2_done) { nextFrame(); } } } movieClip 276 { } movieClip 277 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } movieClip 278 { frame 1 { stop(); rem(this); i = 'talerz'; } frame 2 { rem(this, 't'); s.talerz_done = true; root.czek_masz(); } frame 21 { stop(); } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -2; } } instance of movieClip 140 { onClipEvent (load) { wn = 7; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 3; } } instance of movieClip 140 { onClipEvent (load) { wn = 4; } } movieClip 286 { frame 1 { i = 'glass'; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = -3; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -4; } } movieClip 296 { frame 1 { i = 'sticker_1'; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -7; } } instance of movieClip 140 { onClipEvent (load) { wn = 3; } } instance of movieClip 140 { onClipEvent (load) { wn = 5; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -3; } } instance of movieClip 140 { onClipEvent (load) { wn = 4; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } movieClip 310 { frame 1 { i = 'talerz'; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -5; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -4; } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } movieClip 324 { frame 1 { stop(); if (s['fuse_' + myNr + '_done']) { nextFrame(); } } } instance of movieClip 324 { onClipEvent (load) { myNr = 1; } } movieClip 326 { frame 1 { stop(); if (s.fuse_2_done) { nextFrame(); } } } instance of movieClip 324 { onClipEvent (load) { myNr = 3; } } instance of movieClip 324 { onClipEvent (load) { myNr = 4; } } instance of movieClip 324 { onClipEvent (load) { myNr = 5; } } movieClip 327 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } movieClip 329 { frame 1 { stop(); if (s.mech_done) { nextFrame(); } } } movieClip 331 { frame 1 { stop(); if (s.glass_done) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -42; } } instance of movieClip 140 { onClipEvent (load) { wn = 7; } } movieClip 334 { frame 1 { stop(); rem(this); i = 'fuse_1'; } frame 2 { s.fuse_1_done = true; root.czek_fuses(); rem(this, 't'); } frame 12 { stop(); } } movieClip 335 { frame 1 { stop(); rem(this); i = 'fuse_1'; } frame 2 { s.fuse_2_done = true; root.czek_fuses(); rem(this, 't'); } frame 12 { stop(); } } movieClip 336 { frame 1 { stop(); rem(this); i = 'fuse_1'; } frame 2 { s.fuse_3_done = true; root.czek_fuses(); rem(this, 't'); } frame 12 { stop(); } } movieClip 337 { frame 1 { stop(); rem(this); i = 'fuse_1'; } frame 2 { s.fuse_4_done = true; root.czek_fuses(); rem(this, 't'); } frame 12 { stop(); } } movieClip 338 { frame 1 { stop(); rem(this); i = 'fuse_1'; } frame 2 { s.fuse_5_done = true; root.czek_fuses(); rem(this, 't'); } frame 12 { stop(); } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } instance of movieClip 140 { onClipEvent (load) { wn = 4; } } instance of movieClip 140 { onClipEvent (load) { wn = 2; } } instance of movieClip 140 { onClipEvent (load) { wn = -39; } } movieClip 343 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } instance of movieClip 140 { onClipEvent (load) { wn = 2; } } instance of movieClip 140 { onClipEvent (load) { wn = -40; } } instance of movieClip 140 { onClipEvent (load) { wn = -2; } } instance of movieClip 140 { onClipEvent (load) { wn = -4; } } movieClip 353 { frame 1 { stop(); rem(this); i = 'box'; } frame 2 { rem(this, 't'); s.mech_done = true; root.czek_masz(); } frame 16 { stop(); } } movieClip 355 { frame 1 { stop(); rem(this); i = 'glass'; } frame 2 { rem(this, 't'); s.glass_done = true; root.czek_masz(); } frame 16 { stop(); } } instance of movieClip 140 { onClipEvent (load) { wn = -7; } } movieClip 359 { frame 1 { i = 'key'; } } movieClip 363 { } movieClip 364 { frame 1 { stop(); rem(this); } frame 2 { rem(this, 't'); sfx('ropeSnd'); } frame 27 { stop(); } } instance of movieClip 140 { onClipEvent (load) { wn = -50; } } movieClip 371 { } movieClip 372 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } instance of movieClip 371 { onClipEvent (load) { gotoAndPlay(random(_totalframes)); } } } movieClip 373 { frame 1 { stop(); if (s.drut_2_done) { nextFrame(); } } instance of movieClip 371 { onClipEvent (load) { gotoAndPlay(random(_totalframes)); } } } movieClip 374 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } instance of movieClip 371 { onClipEvent (load) { gotoAndPlay(random(_totalframes)); } } } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } instance of movieClip 140 { onClipEvent (load) { wn = -51; } } movieClip 381 { } movieClip 382 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } movieClip 384 { } movieClip 386 { } movieClip 388 { } movieClip 396 { } movieClip 397 { } movieClip 403 { } movieClip 406 { } movieClip 407 { frame 1 { stop(); rem(this); } instance of movieClip 140 { onClipEvent (load) { wn = 1; } } frame 2 { rem(this, 't'); } frame 16 { sfx('beamSnd'); } frame 120 { stop(); root.gotoAndStop('end'); } instance of movieClip 140 { onClipEvent (load) { wn = 'end_splash'; } } } movieClip 413 { } movieClip 414 { frame 1 { stop(); if (s.drut_2_done) { nextFrame(); } } } movieClip 419 { } movieClip 420 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } movieClip 423 { } movieClip 427 { frame 1 { stop(); if (s[myVar]) { nextFrame(); } } } movieClip 429 { frame 1 { stop(); if (s.allDone) { nextFrame(); } } instance of movieClip 427 { onClipEvent (load) { myVar = 'drut_1_done'; } } instance of movieClip 427 { onClipEvent (load) { myVar = 'drut_2_done'; } } instance of movieClip 427 { onClipEvent (load) { myVar = 'drut_3_done'; } } frame 2 { root.kregi.play(); } } movieClip 430 { frame 1 { stop(); if (s.allDone && s.ressu != true) { nextFrame(); } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } } movieClip 437 { } movieClip 438 { frame 1 { stop(); if (s.drut_1_done) { nextFrame(); } } } instance of movieClip 438 { onClipEvent (load) { myVar = 'drut_1_done'; } } movieClip 439 { frame 1 { stop(); if (s.drut_2_done) { nextFrame(); } } } instance of movieClip 439 { onClipEvent (load) { myVar = 'drut_1_done'; } } movieClip 444 { } movieClip 445 { frame 1 { stop(); if (s.drut_3_done) { nextFrame(); } } } instance of movieClip 445 { onClipEvent (load) { myVar = 'drut_1_done'; } } movieClip 450 { frame 1 { onPress = function () { if (root.go) { _parent.play(); } }; } } movieClip 451 { frame 1 { stop(); rem(this); } instance of movieClip 427 { onClipEvent (load) { myVar = 'drut_1_done'; } } instance of movieClip 427 { onClipEvent (load) { myVar = 'drut_2_done'; } } instance of movieClip 427 { onClipEvent (load) { myVar = 'drut_3_done'; } } frame 3 { sfx('wajchaSnd'); } frame 15 { if (s.drut_1_done && s.drut_2_done && s.drut_3_done) { stop(); s.allDone = true; root.prevFrame(); } } frame 17 { sfx('wajchaSnd'); } } instance of movieClip 140 { onClipEvent (load) { wn = -1; } } frame 121 { s.ressu = true; amb(''); } movieClip 476 { frame 7 { sfx('ladowanieSnd'); } frame 90 { sfx('ladSnd'); } frame 280 { sfx('alienSnd'); } frame 432 { stop(); root.przejscie('end_splash'); } } movieClip 480 { } button 485 { on (release) { endGame(); } } movieClip 488 { } movieClip 491 { frame 1 { stop(); rem(this); i = 'secret'; } frame 3 { stop(); rem(this, 'c'); } frame 5 { stop(); rem(this, 'c'); } frame 7 { stop(); rem(this, 'c'); } frame 9 { stop(); rem(this, 'c'); } frame 11 { stop(); rem(this, 'c'); } frame 13 { stop(); rem(this, 'c'); } frame 15 { stop(); rem(this, 'c'); } frame 17 { stop(); rem(this, 'c'); } frame 19 { stop(); rem(this, 'c'); } frame 56 { sfx('alienSnd'); } frame 132 { stop(); root.przejscie('outro'); } } frame 125 { s.currentframe = undefined; } movieClip 495 { frame 104 { sfx('ladowanieSnd'); } frame 384 { stop(); stopAllSounds(); root.przejscie('menu'); } }




http://swfchan.com/27/132871/info.shtml
Created: 17/2 -2019 12:08:00 Last modified: 17/2 -2019 12:08:00 Server time: 13/05 -2024 19:47:14