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/52048352?noj=FRM52048352-22DC" width="1" height="1"></div>

The Dwarf - collect gold and battle monsters in fun online game.swf

This is the info page for
Flash #133831

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


ActionScript [AS1/AS2]
Combined Code
movieClip 15 { } movieClip 17 { } movieClip 20 { } movieClip 23 { } movieClip 25 { frame 1 { stop(); } } movieClip 28 { } movieClip 30 { } movieClip 32 { } movieClip 34 { frame 3 { prevFrame(); } frame 11 { gotoAndPlay('streh'); } frame 19 { gotoAndPlay('streh'); } } movieClip 36 { frame 1 { stop(); } } movieClip 37 { frame 3 { prevFrame(); } frame 13 { gotoAndPlay('beh'); } frame 46 { _parent._parent.testujKonec(); } frame 47 { stop(); } } movieClip 45 { } movieClip 47 { frame 1 { stop(); } } movieClip 48 { frame 1 { stop(); } } movieClip 49 { frame 1 { stop(); } frame 3 { prevFrame(); } frame 14 { gotoAndPlay('beh'); } frame 20 { _parent.removeMovieClip(this); } } movieClip 53 { } movieClip 60 { } movieClip 62 { frame 1 { stop(); } } movieClip 63 { frame 1 { stop(); } } movieClip 64 { frame 3 { prevFrame(); } frame 14 { gotoAndPlay('beh'); } frame 15 { } frame 16 { } frame 21 { _parent.removeMovieClip(this); } } movieClip 66 { } movieClip 68 { frame 1 { stop(); } } movieClip 71 { } movieClip 72 { frame 1 { stop(); } } movieClip 73 { frame 3 { prevFrame(); } frame 11 { gotoAndPlay('beh'); } frame 16 { _parent.removeMovieClip(this); } } movieClip 80 { } movieClip 83 { frame 1 { stop(); } } movieClip 87 { frame 1 { stop(); } } movieClip 88 { frame 1 { stop(); } frame 2 { drzka.play(); } } movieClip 92 { frame 3 { prevFrame(); } frame 21 { gotoAndPlay('beh'); } } movieClip 93 potvora { frame 1 { function schopnost(jaka) { return _root.typyPotvor[typ][jaka]; } function zobrazVeSmeru(sx, sy) { var v1 = 0; if (sx > 0) { v1 = 2; } else { if (sx < 0) { v1 = 4; } else { if (sy > 0) { v1 = 3; } else { if (sy < 0) { v1 = 1; } } } } if (v1 == 1) { p.hlava.horni.gotoAndStop(2); if (hrac) { p.hlava.gotoAndStop(2); } } else { p.hlava.horni.gotoAndStop(1); if (hrac) { p.hlava.gotoAndStop(1); } } if (v1) { gotoAndStop((typ - 1) * 4 + v1 + 1); } } function zkusSmer(sx, sy, jenZkus) { if (!sx) { sx = 0; } if (!sy) { sy = 0; } var v3; var v2; v3 = xpos + sx; v2 = ypos + sy; if (!_parent.naPlanu(v3, v2)) { return 0; } var v6 = _parent.vyplnBunky(v3, v2); if (!v6) { return 0; } if (!jenZkus) { nastavSmer(sx, sy); } return 1; } function nastavSmer(sx, sy) { if (sx != undefined) { smerX = sx; } else { sx = 0; } if (sy != undefined) { smerY = sy; } else { sy = 0; } xpos2 = xpos + sx; ypos2 = ypos + sy; var v4 = _parent.dejPixely(xpos2, ypos2); stopx = v4.x; stopy = v4.y; zobrazVeSmeru(sx, sy); if (p._currentframe < 4) { p.gotoAndPlay('beh'); } pohyb = 1; return 1; } function popojdi() { var v3; var v2; testujNepritelePohledem(); _x = _x + smerX * rychlost; _y = _y + smerY * rychlost; var v1 = false; if (smerX > 0 && _x >= stopx) { _x = stopx; v1 = true; } else { if (smerX < 0 && _x <= stopx) { _x = stopx; v1 = true; } else { if (smerY > 0 && _y >= stopy) { _y = stopy; v1 = true; } else { if (smerY < 0 && _y <= stopy) { _y = stopy; v1 = true; } } } } if (v1) { pohyb = 0; xpos = xpos2; ypos = ypos2; testujObjekt(xpos, ypos); if (!hrac) { if (!testujPokladPohledem()) { urciDalsiSmer(); } } else { predchoziSmerX = smerX; predchoziSmerY = smerY; smerX = 0; smerY = 0; } } } function vidimNa(x, y, dohled) { if (!dohled) { dohled = 50; } var v1; var v7 = 0; var v3; var v4; v3 = x - xpos; v4 = y - ypos; if (v3 && v4) { return 0; } if (!v3 && !v4) { return 1; } if (v3 && !smerX) { return 0; } if (v4 && !smerY) { return 0; } if (v4 && v4 > 0 != smerY > 0) { return 0; } if (v3 && v3 > 0 != smerX > 0) { return 0; } if (v3) { v1 = smerX; do { if (xpos + v1 == x) { return 2; } if (!muzuNa(xpos + v1, ypos)) { return 0; } v1 += smerX; if (Math.abs(v1) > dohled) { return 0; } } while (true); } else { v1 = smerY; do { if (ypos + v1 == y) { return 2; } if (!muzuNa(xpos, ypos + v1)) { return 0; } v1 += smerY; if (Math.abs(v1) > dohled) { return 0; } } while (true); } } function muzuVidetNa(x, y, neZady) { var v3 = smerX; var v2 = smerY; var v1 = 0; var v8; var v7; v8 = x - xpos; v7 = y - ypos; if (v8 && v7) { return 0; } if (!v8 && !v7) { return 1; } smerX = -1; smerY = 0; if (!neZady || smerX != -v3 || smerY != -v2) { v1 = vidimNa(x, y); } if (!v1) { smerX = 1; smerY = 0; if (!neZady || smerX != -v3 || smerY != -v2) { v1 = vidimNa(x, y); } if (!v1) { smerX = 0; smerY = -1; if (!neZady || smerX != -v3 || smerY != -v2) { v1 = vidimNa(x, y); } if (!v1) { smerX = 0; smerY = 1; if (!neZady || smerX != -v3 || smerY != -v2) { v1 = vidimNa(x, y); } } } } smerX = v3; smerY = v2; return v1; } function muzuNa(x, y) { if (!_parent.naPlanu(x, y)) { return 0; } var v2 = _parent.vyplnBunky(x, y); if (v2 == schopnost('zakazanaCesta')) { return 0; } return v2; } function urciDalsiSmer() { var v7 = 0; var v6 = 0; var v3 = []; var v1; var v2; var v4; v2 = -1; while (v2 < 2) { v1 = -1; while (v1 < 2) { if (v1 && v2) { } else { if (!v1 && !v2) { } else { if (muzuNa(xpos + v1, ypos + v2)) { v3.push(v1, v2); if (v1 == -smerX && v2 == -smerY) { v4 = v3.length - 2; } } } } ++v1; } ++v2; } if (v3.length > 2) { if (v4 != undefined) { v3.splice(v4, 2); } } var v5 = random(v3.length / 2); nastavSmer(v3[v5 * 2], v3[v5 * 2 + 1]); } function zrusObjekt(x, y) { _parent.obsadBunku(x, y, 0); _parent.zobrazBunku(x, y); } function testujObjekt(x, y) { var v7; var v3; var v6 = _parent.objektBunky(x, y); var v8 = schopnost('uroven'); if (!v6) { return 0; } v7 = _parent.objektNa(x, y); if (v6 == _parent.PAST) { if (this == _parent.hrdina) { _parent.nahodPast(x, y); } else { if (v7.stav) { _parent.shodPast(x, y); if (v8 <= 2) { zranSe(200); } } } } if (this != _parent.hrdina && v6 == _parent.POKLAD) { if (v7.stav) { _parent.obsadBunku(x, y, 0); _parent.zobrazBunku(x, y); _parent.konec = -1; _parent.testujKonec(); } } if (v6 == _parent.DOUPE && this != _parent.hrdina) { if (!random(5)) { zacniMizet(); } } if (!schopnost('zerePoklady')) { return 0; } v3 = _parent.bunkaNa(x, y); if (v6 == _parent.DIAMANT) { --_parent.diamantu; _parent.zvuk('joink'); v3.jehoPoklad.diamanty.push(x, y); _parent.obsadBunku(v3.jehoPoklad.x, v3.jehoPoklad.y, _parent.POKLAD); _parent.zobrazBunku(v3.jehoPoklad.x, v3.jehoPoklad.y); if (!v3.jehoPoklad.stav) { v3.jehoPoklad.stav = 1; _parent.zvuk('otevri'); _parent.zobrazBunky(true); } zrusObjekt(x, y); _parent.testujKonec(); } else { if (v6 == _parent.ZLATO) { _parent.prachy += v7.stav; _parent.zvuk('zlato'); v3.jehoPoklad.prachy += v7.stav; _parent.obsadBunku(v3.jehoPoklad.x, v3.jehoPoklad.y, _parent.POKLAD); _parent.zobrazBunku(v3.jehoPoklad.x, v3.jehoPoklad.y); if (!v3.jehoPoklad.stav) { v3.jehoPoklad.stav = 1; _parent.zvuk('otevri'); _parent.zobrazBunky(true); } zrusObjekt(x, y); } else { if (v6 == _parent.RUDA) { _parent.seberPast(x, y); } } } if (v6 == _parent.BOMBA) { ++_parent.bomb; zrusObjekt(x, y); } } function testujPokladPohledem() { var v4; var v7; var v3; var v2; var v6; var v5; v4 = 0; while (v4 < _parent.poklady.length) { v3 = _parent.poklady[v4]; v2 = _parent.poklady[v4 + 1]; if (muzuVidetNa(v3, v2, 5) == 2) { if (v3 - xpos) { v6 = (v3 - xpos) / Math.abs(v3 - xpos); } else { v6 = 0; } if (v2 - ypos) { v5 = (v2 - ypos) / Math.abs(v2 - ypos); } else { v5 = 0; } nastavSmer(v6, v5); return 1; } v4 += 2; } return 0; } function testujNepritelePohledem() { var v3; var v5; var v4; var v2; v5 = schopnost('uroven'); v3 = 0; while (v3 < _parent.potvory.length) { v2 = _parent.potvory[v3]; if (vidimNa(v2.xpos, v2.ypos, 4) == 2) { if (v2.typ == typ) { return 0; } v4 = v2.schopnost('uroven'); if (v4 > v5) { if (!hrac) { smerX = -smerX; smerY = -smerY; urciDalsiSmer(); } return 0; } if (_parent.dalkaRovne(xpos, ypos, v2.xpos, v2.ypos) > 1) { return 1; } zautoc(); if (v5 > v4) { v2.chcipni(v3); _parent.testujKonec(); } else { v2.zranSe(schopnost('sila'), v3); } return 1; } ++v3; } return 0; } function zautoc() { p.hlava.gotoAndPlay('vypad'); if (hrac) { if (p.hlava.horni._currentframe == 1) { p.hlava.zbran.gotoAndPlay('dopredu'); } else { p.hlava.zbran.gotoAndPlay('dozadu'); } var v2 = random(2) + 1; _parent.zvuk('zasah'); } else { _parent.zvuk('polk'); } } function zranSe(kolik, hrob) { zivotu -= kolik; if (zivotu <= 0) { chcipni(hrob); } } function chcipni(hrob) { trace(this + ' chcipe do ' + hrob); zivotu = 0; p.gotoAndPlay('smrt'); if (hrob == undefined) { return 0; } } function zacniMizet() { chcipni(); } gotoAndStop((typ - 1) * 4 + 2); } } movieClip 95 { } movieClip 96 { } movieClip 97 bomba { } movieClip 99 { } movieClip 100 zlato { frame 1 { stop(); } } movieClip 105 { frame 1 { } } movieClip 106 dira { frame 1 { stop(); } frame 4 { _parent.bludiste.zvuk('boom'); } frame 16 { _visible = false; stop(); } } movieClip 108 { } movieClip 110 { } movieClip 111 ruda { frame 1 { } } movieClip 113 { } movieClip 115 { } movieClip 116 zeleza { frame 1 { stop(); } } movieClip 118 demant { } movieClip 121 { } movieClip 122 { frame 8 { stop(); } } movieClip 127 { } movieClip 128 poklad { frame 1 { stop(); } } frame 1 { function casNaMisi(kolik) { var v1 = 40 + (kolik / MAXUROVEN) * 360; return v1; } function bonusProSkore(ur) { var v1 = 0; v1 += ur * 100; var v2 = stavy.cas.celkemCasu * ur; if (v2 > 0) { v1 += v2; } return int(v1); } function prohlas(co) { if (!co) { hlaska._visible = false; return -1; } else { hlaska._visible = true; hlaska.gotoAndStop(co); return 1; } } function zacniHru(ur) { uroven = ur; prachy = 0; if (ur < 10) { bomb = 0; } else { bomb = 1; } gotoAndPlay('hra'); helpBomby2 = 0; skore = 0; } function vol(kolik) { if (volba != undefined) { obrazek.gotoAndPlay('v' + volba + 'pryc'); } volba = kolik; } function textHesla() { return 'Level password:\n' + hesla[uroven - 1]; } function levelDleHesla(co) { trace('level dle hesla ' + co); var v1; var v2 = co.toUpperCase(); v1 = 0; while (v1 < hesla.length) { if (v2 == hesla[v1].toUpperCase()) { return v1 + 1; } ++v1; } return 0; } function testujHeslo(hesliko) { var v1 = levelDleHesla(hesliko); trace(v1); if (!v1) { return 0; } zacniHru(v1); } typyPotvor = new Array({'jmeno': '', 'sila': 0, 'odolnost': 0, 'rychlost': 5}, {'jmeno': 'hrdina1', 'idcko': 'trp', 'uroven': 2, 'zerePoklady': 1, 'sila': 20, 'odolnost': 100, 'rychlost': 5, 'mnozeni': 0}, {'jmeno': 'hrdina2', 'idcko': 'trp', 'uroven': 2, 'zerePoklady': 1, 'sila': 20, 'odolnost': 100, 'rychlost': 5, 'mnozeni': 0}, {'jmeno': 'skret1', 'idcko': 'skret1', 'uroven': 1, 'zerePoklady': 0, 'sila': 10, 'odolnost': 10, 'rychlost': 3, 'mnozeni': 10}, {'jmeno': 'skret2', 'idcko': 'skret2', 'uroven': 1, 'zerePoklady': 0, 'sila': 10, 'odolnost': 20, 'rychlost': 3, 'mnozeni': 5}, {'jmeno': 'skret3', 'idcko': 'skret3', 'uroven': 1, 'zerePoklady': 0, 'sila': 5, 'odolnost': 10, 'rychlost': 3, 'mnozeni': 15}, {'jmeno': 'troll', 'idcko': 'troll', 'uroven': 3, 'zakazanaCesta': 2, 'zerePoklady': 0, 'sila': 20, 'odolnost': 150, 'rychlost': 2, 'mnozeni': 0}); hlaska._visible = false; helpici = ['Instrukce', 'Dalsi', 'Troll', 'Past', 'Truhly', 'Obchod']; hesla = ['', '', '', '', '', '', 'prepared', 'circle', 'rectangular', 'aside', 'single chest', 'overtrolled', 'weak center', 'spiral', 'small square', 'towers', 'niche', 'opposite', 'persecutors', 'hasty']; MAXUROVEN = 20; testovaniHry = false; cenaZivota = 200; cenaBomby = 150; mochiHotovo = false; } 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; } __com_mochibot__('51c443fe', this, 10301, true); } movieClip 132 { } movieClip 133 { } // unknown tag 88 length 143 movieClip 136 { } movieClip 137 { frame 6 { stop(); } } movieClip 140 { } movieClip 141 { } button 145 { on (release) { _parent._parent.testujHeslo(hesliko); } } button 147 { on (release) { _parent._parent.vol(0); } } movieClip 149 { } movieClip 151 { frame 1 { stop(); } } button 152 { on (rollOver) { _parent.stop(); gotoAndStop('2'); } on (rollOut) { _parent.play(); } on (release) { getURL('http://www.ironswine.com/', '_blank'); } } button 154 { on (rollOver) { _parent._parent.stop(); gotoAndStop('2'); } on (rollOut) { _parent._parent.play(); gotoAndStop('1'); } on (release) { getURL('http://www.thunderbird.cz/?game=dwarf', '_blank'); } } // unknown tag 88 length 64 movieClip 160 { } movieClip 161 { } movieClip 162 { frame 2 { stop(); } } movieClip 166 { } movieClip 175 { } movieClip 176 { } movieClip 177 { frame 1 { } } movieClip 178 { frame 1 { stop(); } frame 6 { _parent.menu.play(); _parent.vol(0); } frame 7 { gotoAndPlay('v' + _parent.volba); } frame 17 { stop(); } frame 21 { gotoAndPlay('volba'); } frame 26 { stop(); } frame 30 { gotoAndPlay('volba'); } frame 35 { stop(); } frame 39 { gotoAndPlay('volba'); } } movieClip 323 __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 324 __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 325 __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 326 __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 327 __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 328 __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 } frame 2 { mochi.as2.MochiAd.showPreGameAd({'id': 'cae398776158fba6', 'res': '728x546'}); } movieClip 180 { } button 182 { on (release) { getURL('http://www.ironswine.com/', '_blank'); } } // unknown tag 88 length 143 movieClip 185 { } movieClip 186 { frame 2 { this.onEnterFrame = function () { var v2 = _parent.getBytesLoaded(); var v4 = _parent.getBytesTotal(); if (v2 && v2 == v4 && _parent.mochiHotovo) { _parent.play(); delete onEnterFrame; } else { var v3 = int(v2 * 100 / v4); prouzek._xscale = v3; procStr = v3 + '%'; } }; stop(); } } frame 3 { mochiHotovo = true; stop(); } frame 4 { } frame 7 { obrazek.play(); } frame 11 { if (obrazek._currentframe == 1) { obrazek.play(); } } movieClip 189 { } movieClip 191 { } movieClip 193 { } movieClip 195 { } button 196 { on (rollOver) { gotoAndStop('v1'); } on (rollOut) { gotoAndStop('v'); } on (release) { _parent.play(); } } button 197 { on (rollOver) { gotoAndStop('v2'); } on (rollOut) { gotoAndStop('v'); } on (release) { _parent.vol(2); } } button 198 { on (rollOver) { gotoAndStop('v3'); } on (rollOut) { gotoAndStop('v'); } on (release) { _parent.vol(3); } } button 199 { on (rollOver) { gotoAndStop('v4'); } on (rollOut) { gotoAndStop('v'); } on (release) { getURL('http://www.ironswine.com/', '_blank'); } } movieClip 200 { frame 1 { stop(); } frame 7 { stop(); } } button 201 { on (release) { gotoAndStop('off'); } } button 203 { on (release) { _root.ticho = 0; _root.hudboHraj(_root.typHudby, 1); gotoAndStop('on'); } } movieClip 204 { frame 1 { stop(); } frame 2 { _root.ticho = 3; _root.hudboHraj(0); } } frame 12 { function Zvuk() { this.joink = new Sound(); this.joink.attachSound('joink'); this.zlato = new Sound(); this.zlato.attachSound('zlatoZvuk'); this.zasah = new Sound(); this.zasah.attachSound('zasah'); this.otevri = new Sound(); this.otevri.attachSound('otevri'); this.cvak = new Sound(); this.cvak.attachSound('mc6'); this.zeleza = new Sound(); this.zeleza.attachSound('cinknuti'); this.boom = new Sound(); this.boom.attachSound('boom'); this.bubny1 = new Sound(); this.bubny1.attachSound('bubny1'); this.squeak = new Sound(); this.squeak.attachSound('squeak'); this.polk = new Sound(); this.polk.attachSound('beepdrop'); } function hudboHraj(kolik, znovu) { if (!znovu && hudby[typHudby] == hudby[kolik]) { return 0; } zvukPozadi.stop(); if (!kolik) { return undefined; } zvukPozadi.attachSound(hudby[kolik]); if (kolik == 3) { zvukPozadi.setVolume(15); } else { zvukPozadi.setVolume(100); } typHudby = kolik; var v2 = 36000; if (!ticho) { zvukPozadi.start(0, v2); } return 1; } zvuky = new Zvuk(); hudby = new Array('', 'dwarf', 'hudbaHra'); zvukPozadi = new Sound(); ticho = 0; typHudby = 1; hudboHraj(1, 1); hlaska._visible = false; } movieClip 206 { } movieClip 208 { frame 1 { this.onPress = function () { _parent.startDrag(); }; this.onReleaseOutside = function () { _parent.stopDrag(); }; this.onRelease = this.onReleaseOutside; } } movieClip 210 { } button 211 { on (release) { _parent.bludiste.zastavCas(0); _parent.stavy.pauza.gotoAndPlay('on'); skryj(); } } button 212 { on (release) { _root.gotoAndPlay('menu'); skryj(); } } movieClip 216 { } button 218 { on (release) { skryj(); } } button 222 { on (release) { if (_parent.helpBomby2 == 1) { gotoAndStop('helpBomby2'); _parent.helpBomby2 = 2; } else { skryj(); } } } movieClip 224 { } movieClip 227 { frame 1 { function zobraz() { cena = _parent._parent.cenaBomby; if (_parent._parent.bludiste.prachy >= cena) { _visible = true; prachyStr = 'Buy a bomb for ' + cena + ' gold?\n' + 'Your gold: ' + _parent._parent.bludiste.prachy; } else { _visible = false; } } buton.onRelease = function () { _parent._parent.bludiste.prachy -= _parent._parent.cenaBomby; ++_parent._parent.bludiste.bomb; _parent._parent.stavy.zobraz(); if (!_parent._parent.helpBomby2) { _parent._parent.helpBomby2 = 1; } zobraz(); }; } } button 230 { on (release) { nextFrame(); } } movieClip 237 { } movieClip 246 { } movieClip 248 { } movieClip 252 { } button 256 { on (release) { nextFrame(); } } button 261 { on (release) { dira.play(); } } button 264 { on (release) { prevFrame(); } } button 267 { on (release) { gotoAndStop('helpBomby'); } } button 273 { on (release) { skryj(); _parent.gotoAndPlay('dalsiPokus'); } } button 275 { on (release) { _parent.gotoAndPlay('menu'); skryj(); } } button 277 { on (release) { _parent.gotoAndPlay('dalsiPokus'); skryj(); } } movieClip 278 { instance of movieClip 99 { onClipEvent (load) { _root.kodProsvcrnknuti = _root.fun(_root.skore * 2 + '554' + _root.jmenohrace + '3'); } } } button 279 { on (release) { _parent.prachy -= _parent.cenaZivota; _parent.gotoAndPlay('hra'); skryj(); } } button 284 { on (release) { ++_parent.uroven; _parent.gotoAndPlay('hra'); skryj(); } } button 285 { on (release) { getURL('http://www.ironswine.com', '_blank'); } } movieClip 291 { frame 1 { function skryj() { _visible = false; if (_parent.bludiste.zastaveno) { trace('odstavuju cas'); _parent.bludiste.zastavCas(0); } } p3.hlava.gotoAndStop(2); p4.hlava.gotoAndStop(2); p1.stop(); p2.stop(); p3.stop(); p4.stop(); stop(); } frame 3 { nextFrame(); } frame 4 { hesloStr = _parent.textHesla(); levelStr = 'Level ' + _parent.uroven; } frame 5 { nextFrame(); } frame 6 { hesloStr = _parent.textHesla(); levelStr = 'Level ' + _parent.uroven; bomba.zobraz(); } instance of movieClip 99 { onClipEvent (load) { _root.kodProsvcrnknuti = _root.fun(_root.skore * 2 + '554' + _root.jmenohrace + '3'); } } instance of movieClip 99 { onClipEvent (load) { _root.kodProsvcrnknuti = _root.fun(_root.skore * 2 + '554' + _root.jmenohrace + '3'); } } frame 17 { this.onEnterFrame = function () { if (dira._currentframe > 15) { delete this.onEnterFrame; skryj(); } }; } frame 21 { } frame 24 { } frame 25 { } frame 28 { } frame 29 { if (_parent.uroven == _parent.MAXUROVEN) { nextFrame(); } else { stop(); } } } frame 13 { stop(); } frame 14 { zacniHru(1); } frame 15 { hudboHraj(2, 1); hlav = 5; bylTab = true; } movieClip 294 { } movieClip 295 { } movieClip 299 { frame 1 { stop(); } } movieClip 300 { frame 1 { function zvuk(jakej) { if (_root.ticho == 3) { return undefined; } _root.zvuky[jakej + ''].start(); } function naPlanu(x, y) { return x > 0 && y > 0 && x <= MAXX && y <= MAXY; } function pokladK(x, y) { var v1; var v6; var v2; var v5 = 1000000; var v4; var v3; v1 = 0; while (v1 < poklady.length) { v4 = poklady[v1] - x; v3 = poklady[v1 + 1] - y; v2 = v4 * v4 + v3 * v3; if (v2 < v5) { v5 = v2; v6 = v1; } v1 += 2; } return bunkaNa(poklady[v6], poklady[v6 + 1]); } function rozhazPoklad(x, y) { var v2 = bunkaNa(x, y); var v1; prachy -= v2.prachy; v2.prachy = 0; v1 = 0; while (v1 < v2.diamanty.length) { obsadBunku(v2.diamanty[v1], v2.diamanty[v1 + 1], DIAMANT); zobrazBunku(v2.diamanty[v1], v2.diamanty[v1 + 1]); v1 += 2; } diamantu += v2.diamanty.length / 2; v2.diamanty.splice(0); } function zobrazTruhly() { var v1; v1 = 0; while (v1 < poklady.length) { zobrazBunku(poklady[v1], poklady[v1 + 1]); v1 += 2; } } function pocetSousedu(x, y) { var v1 = 0; if (vyplnBunky(x - 1, y)) { ++v1; } if (vyplnBunky(x + 1, y)) { ++v1; } if (vyplnBunky(x, y - 1)) { ++v1; } if (vyplnBunky(x, y + 1)) { ++v1; } return v1; } function dejSouradnice(x, y) { var v1 = {}; v1.x = Math.floor((x - b0._x) / b0._width) + 1; v1.y = Math.floor((y - b0._y) / b0._height) + 1; return v1; } function dejPixely(x, y) { var v1 = {}; v1.x = int(b0._x + b0._width * (x - 0.5)); v1.y = int(b0._y + b0._height * (y - 0.25)); return v1; } function dalkaRovne(x1, y1, x2, y2) { return Math.abs(x2 - x1) + Math.abs(y2 - y1); } function stvorBunky() { zlata = 0; var v8; var v4; var v5; var v7; var v11; var v6; v5 = 1; while (v5 <= MAXY) { v4 = 1; while (v4 <= MAXX) { v7 = vyplnBunky(v4, v5); if (!v7) { } else { v11 = v7; v8 = b0.duplicateMovieClip('b' + v4 + '_' + v5, v5 * MAXX + v4); v8._x = b0._x + (v4 - 1) * b0._width; v8._y = b0._y + (v5 - 1) * b0._height; v8.x = v4; v8.y = v5; if (v7 == undefined) { vyplne[(v5 - 1) * MAXX + (v4 - 1)] = 0; } v7 = objektBunky(v4, v5); if (v7 == undefined) { objekty[(v5 - 1) * MAXX + (v4 - 1)] = 0; } if (!objekty[(v5 - 1) * MAXX + (v4 - 1)]) { if (muzeZlato(_root.uroven)) { objekty[(v5 - 1) * MAXX + (v4 - 1)] = ZLATO; ++zlata; } } if (v7 == START) { startX = v4; startY = v5; } else { if (v7 == POKLAD) { poklady.push(v4, v5); v8.diamanty = new Array(); v8.prachy = 0; } else { if (v7 == DOUPE) { v6 = this['typyDoupat' + _parent.uroven][doupata.length / 3]; if (!v6) { if (v11 == 1) { v6 = 6; } else { if (!posledniTypPotvor) { v6 = 3; } else { v6 = posledniTypPotvor + 1; } if (v6 == 6) { v6 = 3; } posledniTypPotvor = v6; } } doupata.push(v4, v5, v6); if (v6 == 6) { v8.cekej = 0; } else { v8.cekej = inkubacniDoba(v6); } } else { if (v7 == DIAMANT) { ++diamantu; } else { if (v7 == PAST) { } } } } } } ++v4; } ++v5; } b0._visible = false; stavy.swapDepths(v8); volnyMista = new Array(); var v9; var v10; v5 = 1; while (v5 <= MAXY) { v4 = 1; while (v4 <= MAXX) { (bunkaNa(v4, v5)).jehoPoklad = pokladK(v4, v5); v10 = false; if (!objektBunky(v4, v5) && vyplnBunky(v4, v5) == 2 && pocetSousedu(v4, v5) == 1) { v10 = true; v9 = 0; while (v9 < doupata.length) { if (dalkaRovne(v4, v5, doupata[v9], doupata[v9 + 1]) <= 3) { v10 = false; break; } v9 += 2; } } if (v10) { volnyMista.push(v4, v5); } ++v4; } ++v5; } var v12; trace('doupat ' + doupat + ', pasticek ' + pasticek + ', volnych mist ' + volnyMista.length / 2); if (doupat || pasticek) { while (volnyMista.length) { if (!doupat && !pasticek) { break; } v12 = random(volnyMista.length / 2); v4 = volnyMista[v12 * 2]; v5 = volnyMista[v12 * 2 + 1]; if (doupat) { if (!posledniTypPotvor) { v6 = 3; } else { v6 = posledniTypPotvor + 1; } if (v6 == 6) { v6 = 3; } posledniTypPotvor = v6; doupata.push(v4, v5, v6); --doupat; obsadBunku(v4, v5, DOUPE); } else { if (pasticek) { --pasticek; obsadBunku(v4, v5, RUDA); } } volnyMista.splice(v12 * 2, 2); trace('doupat ' + doupat + ', pasticek ' + pasticek + ', volnych mist ' + volnyMista.length / 2); } } } function zobrazBunky(nepre) { y = 1; while (y <= MAXY) { x = 1; while (x <= MAXX) { zobrazBunku(x, y, nepre); ++x; } ++y; } } function zobrazBunku(x, y, nepre) { var v4 = vyplnBunky(x, y); var v3 = bunkaNa(x, y); v3.gotoAndStop(v4 + 1); v4 = objektBunky(x, y); if (!nepre) { if (v3.objekt) { v3.objekt.removeMovieClip(); } } if (!v4) { return 0; } var v2; if (nepre) { v2 = v3.objekt; } else { v2 = v3.attachMovie(idckaObjektu[v4], 'objekt', 2); } v2._x = b0._width >> 1; v2._y = b0._height >> 1; v2.typ = v4; if (v2.typ == PAST) { if (v2.stav == undefined) { v2.stav = 1; } if (v2.stav == 1) { v2.gotoAndStop(1); } else { v2.gotoAndStop(2); } return 2; } if (v2.typ == ZLATO) { if (v2.stav == undefined) { v2.stav = muzeZlato(_root.uroven); if (!v2.stav) { v2.stav = 1; } } v2.gotoAndStop(v2.stav); if (!v3.jehoPoklad.stav) { v2._alpha = 55; } else { v2._alpha = 100; } return 2; } if (v2.typ == DIAMANT) { if (!v3.jehoPoklad.stav) { v2._alpha = 55; } else { v2._alpha = 100; } return 2; } if (v2.typ == POKLAD) { v2.stav = Math.ceil(v3.diamanty.length + v3.prachy / 3); if (v2.stav > 9) { v2.stav = 9; } v2.gotoAndStop(v2.stav + 1); if (v2._currentframe != v2.stav + 1) { v2.zare.play(); } v2._xscale = 130; v2._yscale = 130; } return 2; } function vyplnBunky(x, y) { return vyplne[(y - 1) * MAXX + (x - 1)]; } function objektBunky(x, y) { return objekty[(y - 1) * MAXX + (x - 1)]; } function bunkaNa(x, y) { return this['b' + x + '_' + y]; } function objektNa(x, y) { return this['b' + x + '_' + y].objekt; } function vyplnBunku(x, y, c) { vyplne[(y - 1) * MAXX + (x - 1)] = c; } function obsadBunku(x, y, c) { objekty[(y - 1) * MAXX + (x - 1)] = c; } function save() { var v1 = 'vyplne=['; y = 1; while (y <= MAXY) { x = 1; while (x <= MAXX) { v1 += vyplnBunky(x, y) + ','; ++x; } ++y; } v1 = v1.substr(0, v1.length - 1); v1 += ']'; trace(v1); v1 = 'objekty=['; y = 1; while (y <= MAXY) { x = 1; while (x <= MAXX) { v1 += objektBunky(x, y) + ','; ++x; } ++y; } v1 = v1.substr(0, v1.length - 1); v1 += ']'; trace(v1); } function zacniUroven(kolik) { diamantu = 0; if (_parent.prachy) { prachy = _parent.prachy; } else { prachy = 0; } if (_parent.bomb) { bomb = _parent.bomb; } else { bomb = 0; } hlav = _parent.hlav; pasti = 0; konec = 0; doupata.splice(0); potvory.splice(0); poklady.splice(0); uroven = kolik; stvorBunky(); zobrazBunky(); stvorHrdinu(); casNaMisi = _root.casNaMisi(kolik); } function stvorHrdinu(t) { if (!t) { t = 1; } if (!hrdina) { hrdina = this.attachMovie('potvora', 'hrdina', this.getNextHighestDepth(), {'xpos': startX, 'ypos': startY, 'rychlost': _root.typyPotvor[t].rychlost, 'zivotu': _root.typyPotvor[t].odolnost, 'typ': t, 'uroven': _root.typyPotvor[t].uroven}); } var v4 = dejPixely(startX, startY); obsadBunku(startX, startY, 0); hrdina._x = v4.x; hrdina._y = v4.y; hrdina.hrac = 1; potvory.push(hrdina); } function stvorPotvoru(x, y, t) { if (potvory.length == MAXPOTVOR) { return 0; } var v3; v3 = this.attachMovie('potvora', 'p' + (potvory.length + 1), this.getNextHighestDepth(), {'typ': t, 'xpos': x, 'ypos': y, 'rychlost': _root.typyPotvor[t].rychlost, 'zivotu': _root.typyPotvor[t].odolnost, 'hrac': 0, 'uroven': _root.typyPotvor[t].uroven}); var v4 = dejPixely(x, y); v3._x = v4.x; v3._y = v4.y; potvory.push(v3); hrdina.swapDepths(v3); } function schopnost(koho, jaka) { return _root.typyPotvor[koho.typ][jaka]; } function zpracujKlavesy() { var v6; if (Key.isDown(27)) { if (!esteNesmiZastavit) { if (!zastaveno) { zastavCas(-1); _root.prohlas('pauza'); _parent.stavy.pauza.gotoAndPlay('off'); } else { zastavCas(0); _root.prohlas(); _parent.stavy.pauza.gotoAndPlay('on'); } esteNesmiZastavit = 10; } } else { if (esteNesmiZastavit) { --esteNesmiZastavit; } } if (zastaveno) { return 0; } if (_parent.testovaniHry && Key.isDown(9) && !_parent.bylTab) { _parent.bylTab = true; ++uroven; ++_parent.uroven; _parent.prachy = prachy + int(zlata * 0.83); _parent.bomb = bomb; trace('bomb je ' + _parent.bom + ', prachu je ' + _parent.prachy); _parent.gotoAndPlay('hra'); } else { if (!Key.isDown(9)) { _parent.bylTab = false; } } var v4 = 0; var v3 = 0; if (Key.isDown(37)) { v4 = -1; } else { if (Key.isDown(39)) { v4 = 1; } } if (Key.isDown(38)) { v3 = -1; } else { if (Key.isDown(40)) { v3 = 1; } } if (v4 && v3) { if (hrdina.zkusSmer(v4, 0, true) && !hrdina.zkusSmer(0, v3, true)) { v3 = 0; } if (hrdina.zkusSmer(0, v3, true) && !hrdina.zkusSmer(v4, 0, true)) { v4 = 0; } if (v4 && v3) { if (hrdina.predchoziSmerX) { v4 = 0; } else { if (hrdina.predchoziSmerY) { v3 = 0; } } } } if ((v4 || v3) && !hrdina.pohyb) { hrdina.zkusSmer(v4, v3); } if (!v4 && !v3 && !hrdina.pohyb) { hrdina.p.gotoAndStop('streh'); } if (Key.isDown(32)) { } if (Key.isDown(17)) { if (!naprahNaSutr) { naprahNaSutr = true; var v5 = objektBunky(hrdina.xpos, hrdina.ypos); if (v5 == PAST) { seberPast(hrdina.xpos, hrdina.ypos); } else { if (v5 == DOUPE && bomb) { shodBombu(hrdina.xpos, hrdina.ypos); } else { if (!v5) { polozPast(hrdina.xpos, hrdina.ypos); } } } } } else { naprahNaSutr = false; } } function zastavCas(jak) { var v1; var v4; var v3; if (konec) { v3 = 1; } else { v3 = 0; } v1 = v3; while (v1 < potvory.length) { p = potvory[v1]; if (jak) { p.p.stop(1); } else { p.p.play(); } ++v1; } if (jak < 0) { zastaveno = -1; casPauzy = getTimer(); } if (jak > 0) { zastaveno = 60; } if (!jak) { zastaveno = 0; uplynulo += getTimer() - casPauzy; } } function zpracujPohyby() { var v1; var v2; v2 = 0; while (v2 < potvory.length) { v1 = potvory[v2]; if (v1.zivotu <= 0) { potvory.splice(v2, 1); --v2; } else { if (v1.pohyb) { v1.popojdi(); } else { if (!v1.hrac) { v1.urciDalsiSmer(); } } } ++v2; } } function inkubacniDoba(typ) { var v2 = int(1700 / _root.typyPotvor[typ].mnozeni); var v3 = v2 - random(v2 >> 2) + random(v2 >> 2); return v3; } function testujMnozeni() { var v2; var v3; var v1; v1 = 0; while (v1 < doupata.length) { v3 = doupata[v1 + 2]; v2 = bunkaNa(doupata[v1], doupata[v1 + 1]); if (!v2.objekt._visible) { obsadBunku(doupata[v1], doupata[v1 + 1], 0); zobrazBunku(doupata[v1], doupata[v1 + 1]); doupata.splice(v1, 3); v1 -= 3; } else { --v2.cekej; if (v2.cekej <= 0) { stvorPotvoru(doupata[v1], doupata[v1 + 1], v3); v2.cekej = inkubacniDoba(v3); if (v3 == 6) { v2.objekt._visible = false; } } } v1 += 3; } } function shodBombu(x, y) { --bomb; (objektNa(x, y)).play(); } function seberPast(x, y) { obsadBunku(x, y, 0); zobrazBunku(x, y); ++pasti; zvuk('cvak'); } function polozPast(x, y) { if (!pasti) { return 0; } obsadBunku(x, y, PAST); zobrazBunku(x, y); --pasti; zvuk('cvak'); } function nahodPast(x, y) { zvuk('cvak'); if ((objektNa(x, y)).stav == 1) { return 0; } (objektNa(x, y)).stav = 1; zobrazBunku(x, y, true); } function shodPast(x, y) { if (!(objektNa(x, y)).stav) { return 0; } (objektNa(x, y)).stav = 0; zobrazBunku(x, y, true); zvuk('zeleza'); } function muzeZlato(ur) { var v1; v1 = random(ur) - random(15); if (v1 <= 0) { return 0; } v1 = Math.floor(v1 / 6) + 1; if (v1 > 3) { v1 = 3; } return v1; } function testujKonec() { if (konec == 10) { return 0; } if (!diamantu) { konec = 1; } if (!hrdina || hrdina.zivotu <= 0) { konec = -2; } if (konec) { if (konec > 0) { _parent.prachy = prachy; _parent.bomb = bomb; _parent.skore += _parent.bonusProSkore(_parent.uroven); } zastavCas(-1); if (konec == -1) { zvuk('squeak'); --hlav; --_parent.hlav; if (_parent.hlav) { _parent.prohlas('ztrataPokladu'); } else { _parent.prachy = prachy; _parent.bomb = bomb; if (_parent.prachy >= _parent.cenaZivota) { _parent.prohlas('dalsiPokus'); } else { _parent.prohlas('ztrataPokladuKonec'); } } } else { if (konec == -2) { zvuk('squeak'); --hlav; --_parent.hlav; if (_parent.hlav) { _parent.prohlas('ztrataHlavy'); } else { _parent.prachy = prachy; _parent.bomb = bomb; if (_parent.prachy >= _parent.cenaZivota) { _parent.prohlas('dalsiPokus'); } else { _parent.prohlas('ztrataHlavyKonec'); } } } else { if (_parent.uroven < _parent.MAXUROVEN) { _parent.prohlas('sukces'); _root.hudboHraj(0, 1); zvuk('bubny1'); } else { _parent.prohlas('sukcesKonec'); _root.hudboHraj(0, 1); zvuk('bubny1'); } } } konec = 10; } } this.onEnterFrame = function () { zpracujKlavesy(); if (zastaveno) { --zastaveno; if (!zastaveno) { zastavCas(0); } return 0; } zpracujPohyby(); testujMnozeni(); _parent.stavy.zobraz(); }; MAXX = 28; MAXY = 20; RUDA = 1; ZLATO = 2; DIAMANT = 3; DOUPE = 4; POKLAD = 5; START = 6; BOMBA = 7; PAST = 11; vyplne = new Array(); objekty = new Array(); idckaObjektu = new Array('', 'ruda', 'zlato', 'demant', 'dira', 'poklad', 'start', 'bomba', '', '', '', 'zeleza'); if (_parent.uroven < 12) { MAXPOTVOR = 10; } else { MAXPOTVOR = 10 + (_parent.uroven - 12); } potvory = new Array(); doupata = new Array(); poklady = new Array(); } instance b0 of movieClip 299 { } frame 2 { ur = _parent.uroven - 1; if (!ur) { vyplne = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; } --ur; } frame 3 { zacniUroven(_root.uroven); uplynulo = getTimer(); _parent.stavy.zobraz(); _parent.stavy.cas.zobraz(); if (_parent.uroven > 6) { zastavCas(-1); if (_parent.prachy >= _parent.cenaBomby) { _parent.prohlas('novaBomba'); } else { _parent.prohlas('nova'); } } else { var s = _parent.helpici[_parent.uroven - 1]; if (s.length) { zastavCas(-1); _parent.prohlas('help' + s); } } stop(); } } movieClip 305 { frame 5 { stop(); } } movieClip 309 { } movieClip 312 { frame 1 { stop(); } } movieClip 313 { frame 1 { function zobraz() { g0 = (getTimer() - _parent._parent.bludiste.uplynulo) / 1000; g = _parent._parent.bludiste.casNaMisi - g0; if (!g) { g = 0; } s = Math.floor(g % 60); m1 = Math.floor(g / 60); m = m1; if (s < 10) { s = '0' + s; } celkemCasu = g; if (g < 0) { g = 0; popisek.gotoAndStop(2); cisla._visible = false; } else { g = g0; popisek.gotoAndStop(1); } } this.onEnterFrame = function () { if (!_parent._parent.bludiste.zastaveno) { zobraz(); } }; zobraz(); } } button 319 { on (release) { if (_parent._parent.hlaska._visible) { return 0; } if (_parent._parent.bludiste.esteNesmiZastavit) { return 0; } _parent._parent.bludiste.zastavCas(-1); _parent._parent.prohlas('pauza'); gotoAndPlay('off'); } } button 320 { on (release) { if (_parent._parent.bludiste.esteNesmiZastavit) { return 0; } _parent._parent.bludiste.zastavCas(-1); _parent._parent.prohlas('pauza'); gotoAndPlay('off'); } } movieClip 321 { frame 4 { stop(); } frame 8 { stop(); } } movieClip 322 { frame 1 { function zobraz() { pasti = _parent.bludiste.pasti; if (!pasti) { pasti = ''; klipPasti._alpha = 35; } else { klipPasti._alpha = 100; } bomb = _parent.bludiste.bomb; if (!bomb) { bomb = ''; klipBomb._alpha = 35; } else { klipBomb._alpha = 100; } prachy = _parent.bludiste.prachy; if (!prachy) { prachy = ''; klipPrachy._alpha = 35; } else { klipPrachy._alpha = 100; } hlavy.gotoAndStop(_parent.hlav); levelStr = 'Level ' + _parent.uroven; } klipBomb.kl.plamen.stop(); } } frame 19 { stop(); }




http://swfchan.com/27/133831/info.shtml
Created: 10/2 -2019 03:52:23 Last modified: 10/2 -2019 03:52:23 Server time: 22/12 -2024 10:07:03