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

Gem Swap.swf

This is the info page for
Flash #42771

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


Text
the internet's playground

>Go Now!

Play More Games

Make New Friends

Have More Fun

You Scored:

> Play Again

100

>Share!

LEVEL UP!

No More Moves

GAME OVER

PLEASE DO NOT CLOSE

SAVING SCORE

SAVING SCORE.

SAVING SCORE..

SAVING SCORE...

Gem Swap

Level

Score

START

START

START

Instructions

Destroy gems by creating lines of 3 or
more of the same kind.
You can move the gems by using the mouse
to click and swap adjacent ones.

ActionScript [AS1/AS2]

Frame 1
function showMochiAd() { trace("showing mochi ad"); MochiAd.showPreGameAd({id:"4a1f206dea8a928b", res:"600x400"}); } stop();
Instance of Symbol 107 MovieClip "background" in Frame 1
on (release) { getURL ("http://www.doof.com/?ref=gemswap", "_blank"); }
Instance of Symbol 149 MovieClip in Frame 1
on (release) { getURL ("http://www.doof.com/?ref=gemswap", "_blank"); }
Frame 2
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) ? (getVersion()) : (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); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("74c55c5d", this, 10301, true); com.novelgames.flashgames.common.MainDevelopment.initialize(this);
Instance of Symbol 157 MovieClip in Frame 2
on (release) { getURL ("http://www.doof.com/?ref=gemswap", "_blank"); }
Frame 24
stop();
Symbol 5 MovieClip [GIGYA] Frame 1
System.security.allowDomain("cdn.gigya.com"); System.security.allowInsecureDomain("cdn.gigya.com"); var mcWF = _root.createEmptyMovieClip("Wildfire", _root.getNextHighestDepth()); mcWF._lockroot = true; mcWF._x = 0; mcWF._y = 0; mcWF.ModuleID = "PostModule1"; var cfg = ((_root[mcWF.ModuleID] = {})); cfg.width = "600"; cfg.height = "400"; cfg.bookmarkURL = "http://www.doof.com/#/games/GemSwap"; cfg.widgetTitle = "Gem Swap"; cfg.advancedTracking = "true"; cfg.partner = "177341"; cfg.UIConfig = "<config><display showDesktop=\"true\" showEmail=\"true\" useTransitions=\"true\" showBookmark=\"true\" codeBoxHeight=\"auto\" showCodeBox=\"true\" showCloseButton=\"true\" bulletinChecked=\"false\" networksWithCodeBox=\"\"></display><body corner-roundness=\"8;8;8;8\"><background frame-color=\"Transparent\" gradient-color-begin=\"#353535\" gradient-color-end=\"#606060\" corner-roundness=\"8;8;8;8\"></background><controls size=\"11\" bold=\"true\"><snbuttons iconsOnly=\"false\" type=\"textUnder\" frame-color=\"#6D0000\" background-color=\"#FFFFFF\" over-background-color=\"#FFFFFF\" color=\"#CACACA\" corner-roundness=\"0;8;8;8\" gradient-color-begin=\"#8A8A8A\" gradient-color-end=\"#000000\" font=\"Arial\" size=\"11\" bold=\"false\" over-gradient-color-begin=\"#AAAAAA\" over-gradient-color-end=\"#000000\" over-color=\"#F4F4F4\" down-color=\"#000000\"><more frame-color=\"Transparent\"></more></snbuttons><textboxes frame-color=\"#000000\" color=\"#AAAAAA\" corner-roundness=\"0;0;0;0\" gradient-color-begin=\"#202020\" gradient-color-end=\"#0B0B0B\" font=\"Arial\" bold=\"false\"><codeboxes color=\"#EAEAEA\" frame-color=\"#8A8A8A\" gradient-color-begin=\"#000000\" font=\"Arial\" bold=\"false\"></codeboxes><inputs frame-color=\"#6D0000\"></inputs><dropdowns frame-color=\"#6D0000\" handle-gradient-color-begin=\"#B60000\" handle-gradient-color-end=\"#6D0000\" handle-over-gradient-color-begin=\"#FF0000\" handle-over-gradient-color-end=\"#DA0000\" handle-down-gradient-color-begin=\"#FF0000\" handle-down-gradient-color-end=\"#6D0000\" background-color=\"#6D0000\" gradient-color-begin=\"#000000\" font=\"Arial\" bold=\"false\"></dropdowns></textboxes><buttons frame-color=\"#FF0000\" gradient-color-begin=\"#FF2424\" gradient-color-end=\"#6D0000\" color=\"#F4F4F4\" corner-roundness=\"0;8;8;8\" font=\"Arial\" size=\"10\" bold=\"false\" down-frame-color=\"#000000\" over-gradient-color-begin=\"#DA0000\" down-gradient-color-begin=\"#910000\" over-gradient-color-end=\"#DA0000\" down-gradient-color-end=\"#FF0000\" over-color=\"#F4F4F4\"><post-buttons gradient-color-begin=\"#FF4949\" gradient-color-end=\"#6D0000\"></post-buttons></buttons><listboxes corner-roundness=\"5;5;5;5\"></listboxes><servicemarker gradient-color-begin=\"#DA0000\" gradient-color-end=\"#DA0000\"></servicemarker></controls><texts color=\"#FFFFFF\" font=\"Arial\" size=\"10\"><privacy color=\"#959595\" size=\"11\"></privacy><headers size=\"11\" bold=\"true\"></headers><labels size=\"11\" bold=\"true\"></labels><messages color=\"#D5D5D5\" frame-thickness=\"0\" corner-roundness=\"0;0;0;0\" gradient-color-begin=\"#B60000\" gradient-color-end=\"#000000\" size=\"11\" bold=\"true\"></messages><links color=\"#DFDFDF\" underline=\"false\" size=\"11\" bold=\"true\" over-color=\"#FFFFFF\"></links></texts></body></config>"; cfg.defaultContent = function () { return("<object width=\"600\" height=\"400\">\u00A0<param name=\"movie\" value=\"http://static.doof.com/content/static/games/GemSwap/GemSwapWidget.swf\"></param>\u00A0<param name=\"wmode\" value=\"transparent\"></param>\u00A0<embed src=\"http://static.doof.com/content/static/games/GemSwap/GemSwapWidget.swf\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"600\"\u00A0height=\"400\"></embed></object>"); }; cfg.onPostProfile = function (eventObj) { trace((((("event fired eventObj.type=" + eventObj.type) + " eventObj.network=") + eventObj.network) + " eventObj.partnerData=") + eventObj.partnerData); }; cfg.onLoad = function (eventObj) { trace((("event fired eventObj.type=" + eventObj.type) + "eventObj.ModuleID=") + eventObj.ModuleID); }; cfg.onClose = function (eventObj) { mcWF._visible = false; }; mcWF.loadMovie("http://cdn.gigya.com/WildFire/swf/wildfire.swf", "get");
Instance of Symbol 27 MovieClip "doofClick" in Symbol 38 MovieClip [endScreen] Frame 1
on (release) { getURL ("http://www.doof.com/?ref=gemswap", "_blank"); }
Instance of Symbol 35 MovieClip "playAgain" in Symbol 38 MovieClip [endScreen] Frame 1
on (release) { this._visible = false; _root.gotoAndStop("splashScreen"); _parent.removeMovieClip(this); }
Instance of Symbol 37 MovieClip "shareBTN" in Symbol 38 MovieClip [endScreen] Frame 1
on (release) { this.attachMovie("GIGYA", "GIGYA", this.getNextHighestDepth()); }
Symbol 53 MovieClip [gem] Frame 1
#initclip 19 Object.registerClass("gem", com.novelgames.flashgames.gems.Gem); #endinitclip
Symbol 56 MovieClip [scorePopup] Frame 1
#initclip 14 Object.registerClass("scorePopup", com.novelgames.flashgames.gems.ScorePopup); #endinitclip
Symbol 74 MovieClip [message] Frame 1
#initclip 15 Object.registerClass("message", com.novelgames.flashgames.gems.Message); #endinitclip
Symbol 74 MovieClip [message] Frame 40
showGameOverFinished(); var startGO = getTimer(); this.onEnterFrame = function () { if ((getTimer() - startGO) > 3000) { if (_root.inContainer) { trace("api exists"); _root.sendApiScore(_parent.score); trace("sendApiScore "); } else { trace("goto gameover"); _root.displayScore = _parent.score; _root.gotoAndPlay("GameOverScreen"); } delete this.onEnterFrame; } };
Symbol 78 MovieClip [lifeBar] Frame 1
#initclip 16 Object.registerClass("lifeBar", com.novelgames.flashgames.gems.LifeBar); #endinitclip
Symbol 99 MovieClip [game] Frame 1
#initclip 17 Object.registerClass("game", com.novelgames.flashgames.gems.Game); #endinitclip
Symbol 103 MovieClip [muteButton] Frame 1
#initclip 18 Object.registerClass("muteButton", com.novelgames.flashgames.common.MuteButton); #endinitclip
Symbol 105 MovieClip [GameConnectorAS2] Frame 1
#initclip 13 Object.registerClass("GameConnectorAS2", com.tmgc.gameconnector.GameConnectorAS2); #endinitclip
Symbol 146 MovieClip Frame 360
stop();
Symbol 149 MovieClip Frame 128
_parent.showMochiAd();
Symbol 149 MovieClip Frame 179
stop();
Symbol 162 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.5"); } static function showPreGameAd(options) { var _local26 = {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 = _parseOptions(options, _local26); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local22 = 11000; var _local25 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4); if (options.no_progress_bar) { _local6._visible = false; delete options.no_progress_bar; } else { _local6._x = 10; _local6._y = _local13 - 20; } var _local21 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local23 = options.outline; delete options.outline; var _local5 = _local6.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local6.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local21); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local7 = _local6.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local23, 100); _local7.moveTo(0, 0); _local7.lineTo(_local4 - 20, 0); _local7.lineTo(_local4 - 20, 10); _local7.lineTo(0, 10); _local7.lineTo(0, 0); chk.ad_msec = _local22; chk.ad_timeout = _local25; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; 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 _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local11 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local2 = (100 * _local8) / _local4; var _local10 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local13 = Math.min(100, Math.min(_local2 || 0, _local10)); _local13 = Math.max(this.last_pcnt, _local13); this.last_pcnt = _local13; _local9._xscale = _local13; options.ad_progress(_local13); if (sendHostProgress) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2}); if (_local2 == 100) { sendHostProgress = false; } } if (!chk.showing) { var _local7 = _local11.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) { options.ad_failed(); _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showClickAwayAd(options) { var _local9 = {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 = _parseOptions(options, _local9); var clip = options.clip; var _local8 = options.ad_timeout; delete options.ad_timeout; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local4 = _getRes(options); var _local10 = _local4[0]; var _local7 = _local4[1]; mc._x = _local10 * 0.5; mc._y = _local7 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_timeout = _local8; chk.started = getTimer(); chk.showing = false; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; var _local20 = false; mc.lc.regContLC = function (lc_name) { mc._containerLCName = lc_name; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { _local2 = true; chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local2) { delete this.onEnterFrame; } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, 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 = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adSkipped = options.ad_skipped; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; mc.lc.rpc = function (callbackID, arg) { MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s) { trace("[MOCHIAD rpcTestFn] " + s); return(s); }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showPreloaderAd(options) { trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); showPreGameAd(options); } static function showTimedAd(options) { trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); showInterLevelAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } if (clip._mochiad._containerLCName != undefined) { clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"}); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } static function rpc(clip, callbackID, arg) { switch (arg.id) { case "setValue" : setValue(clip, arg.objectName, arg.value); break; case "getValue" : var _local4 = getValue(clip, arg.objectName); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4); break; case "runMethod" : var _local3 = runMethod(clip, arg.method, arg.args); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3); break; default : trace("[mochiads rpc] unknown rpc id: " + arg.id); } } static function setValue(base, objectName, value) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } base[_local2[_local1]] = value; } static function getValue(base, objectName) { var _local2 = objectName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } return(base[_local2[_local1]]); } static function runMethod(base, methodName, argsArray) { var _local2 = methodName.split("."); var _local1; _local1 = 0; while (_local1 < (_local2.length - 1)) { if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) { return(undefined); } base = base[_local2[_local1]]; _local1++; } if (typeof(base[_local2[_local1]]) == "function") { return(base[_local2[_local1]].apply(base, argsArray)); } return(undefined); } }
Symbol 163 MovieClip [__Packages.com.novelgames.flashgames.gems.ScorePopup] Frame 0
class com.novelgames.flashgames.gems.ScorePopup extends MovieClip { var _x, _y, score, intervalID, removeMovieClip; function ScorePopup () { super(); } function initialize(x, y, score) { _x = x; _y = y; this.score = com.novelgames.flashgames.gems.Config.SCOREPOPUP_PREFIX + score; intervalID = setInterval(this, "destroy", com.novelgames.flashgames.gems.Config.SCOREPOPUP_SHOWTIME); } function destroy() { clearInterval(intervalID); removeMovieClip(); } }
Symbol 164 MovieClip [__Packages.com.novelgames.flashgames.gems.Config] Frame 0
class com.novelgames.flashgames.gems.Config { function Config () { } static var LINEGEMS = 3; static var BLOCK_NOOFTYPES = 7; static var BLOCK_DIMENSIONX = 8; static var BLOCK_DIMENSIONY = 8; static var BLOCK_SPACING = 45; static var CREATEDROP_SPEED = 300; static var CREATEDROP_SPACING = 30; static var SWAP_SPEED = 300; static var DESTROY_SCALESPEED = 800; static var DESTROY_ROTATESPEED = 1800; static var DROP_SPEED = 500; static var NOMOREMOVES_SCALESPEED = 300; static var NOMOREMVOES_SCALEROWDIFFERENCE = 50; static var SCOREPOPUP_PREFIX = "+"; static var SCOREPOPUP_SHOWTIME = 500; static var SCORE_LINE = 10; static var SCORE_LINEEXTRAGEM = 7; static var SCORE_EXTRALINE = 8; static var SCORE_COMBO = 9; static var SCORE_LEVELUP = 500; static var LIFEBAR_EMPTYCOLOUR = 669771; static var LIFEBAR_FULLCOLOUR = 8173519; static var LIFE_INITIAL = 250; static var LIFE_MAX = 360; static var LIFE_INCREASEPERLINE = 20; static var LIFE_INITIALDECREASERATE = 5; static var LIFE_DECREASERATEINCREMENT = 0.1; static var LEVELUP_SCALESPEED = 500; static var LEVELUP_LIFERESUMESPEED = 50; }
Symbol 165 MovieClip [__Packages.com.novelgames.flashgames.gems.Message] Frame 0
class com.novelgames.flashgames.gems.Message extends MovieClip { var stop, gotoAndStop, score, blocker, playAgainButton, _parent; function Message () { super(); stop(); } function showLevelUp(score) { gotoAndStop("levelUp"); this.score = com.novelgames.flashgames.gems.Config.SCOREPOPUP_PREFIX + score; } function showNoMoreMoves() { gotoAndStop("noMoreMoves"); } function showGameOver() { blocker.onPress = function () { }; blocker.useHandCursor = false; } function hide() { gotoAndStop("hide"); } function showGameOverFinished() { stop(); playAgainButton.onRelease = function () { this._parent._parent._parent.gotoTitlePage(); }; _parent.showEnterHighScore(); } }
Symbol 166 MovieClip [__Packages.com.novelgames.flashgames.gems.LifeBar] Frame 0
class com.novelgames.flashgames.gems.LifeBar extends MovieClip { var fullRed, fullGreen, fullBlue, emptyRed, emptyGreen, emptyBlue, _width, colour; function LifeBar () { super(); initialize(); } function initialize() { fullRed = (com.novelgames.flashgames.gems.Config.LIFEBAR_FULLCOLOUR >> 16) & 255; fullGreen = (com.novelgames.flashgames.gems.Config.LIFEBAR_FULLCOLOUR >> 8) & 255; fullBlue = com.novelgames.flashgames.gems.Config.LIFEBAR_FULLCOLOUR & 255; emptyRed = (com.novelgames.flashgames.gems.Config.LIFEBAR_EMPTYCOLOUR >> 16) & 255; emptyGreen = (com.novelgames.flashgames.gems.Config.LIFEBAR_EMPTYCOLOUR >> 8) & 255; emptyBlue = com.novelgames.flashgames.gems.Config.LIFEBAR_EMPTYCOLOUR & 255; } function updateLife(life) { var _local3 = ((life * fullRed) + ((com.novelgames.flashgames.gems.Config.LIFE_MAX - life) * emptyRed)) / com.novelgames.flashgames.gems.Config.LIFE_MAX; var _local5 = ((life * fullGreen) + ((com.novelgames.flashgames.gems.Config.LIFE_MAX - life) * emptyGreen)) / com.novelgames.flashgames.gems.Config.LIFE_MAX; var _local4 = ((life * fullBlue) + ((com.novelgames.flashgames.gems.Config.LIFE_MAX - life) * emptyBlue)) / com.novelgames.flashgames.gems.Config.LIFE_MAX; _width = life; new Color(colour).setRGB(((_local3 << 16) | (_local5 << 8)) | _local4); } }
Symbol 167 MovieClip [__Packages.com.novelgames.flashgames.gems.Game] Frame 0
class com.novelgames.flashgames.gems.Game extends MovieClip { var chosenGem1, chosenGem2, movingGems, showingNoMoreMoves, currentCombo, level, score, life, lifeDecreaseRate, lifeBar, levelStarted, shouldLevelUp, gameOver, soundSwap, soundGroup, soundLevelUp, soundGameOver, _parent, gemsHolder, _xmouse, _ymouse, gems, lastLifeDecreaseTime, moveGemsTime, intervalID, highlight, destroyingGems, scoresHolder, droppingGems, message; function Game () { super(); chosenGem1 = null; chosenGem2 = null; movingGems = false; showingNoMoreMoves = false; currentCombo = 0; level = 1; score = 0; life = com.novelgames.flashgames.gems.Config.LIFE_INITIAL; lifeDecreaseRate = com.novelgames.flashgames.gems.Config.LIFE_INITIALDECREASERATE; lifeBar.__proto__ = com.novelgames.flashgames.gems.LifeBar.prototype; lifeBar.initialize(); lifeBar.updateLife(life); levelStarted = false; shouldLevelUp = false; gameOver = false; soundSwap = new com.novelgames.flashgames.common.NewSound(this, "soundSwap"); soundGroup = new com.novelgames.flashgames.common.NewSound(this, "soundGroup"); soundLevelUp = new com.novelgames.flashgames.common.NewSound(this, "soundLevelUp"); soundGameOver = new com.novelgames.flashgames.common.NewSound(this, "soundGameOver"); _parent.connector.gameStarted(0); createGems(); } function gemPressed(gem) { if (gameOver) { return(undefined); } if (!levelStarted) { return(undefined); } if (movingGems) { return(undefined); } currentCombo = 0; if (chosenGem1 == null) { chosenGem1 = gem; showHighlight(gem._x, gem._y); } else if (chosenGem1 == gem) { chosenGem1 = null; hideHighlight(); } else if (!getGemsAreAdjacent(gem, chosenGem1)) { chosenGem1 = gem; showHighlight(gem._x, gem._y); } else { chosenGem2 = gem; startSwapGems(); } } function gemReleasedOutside() { var _local3; var _local2; if (gameOver) { return(undefined); } if (!levelStarted) { return(undefined); } if (movingGems) { return(undefined); } if (chosenGem1 == null) { return(undefined); } _local3 = Math.floor((_xmouse - gemsHolder._x) / com.novelgames.flashgames.gems.Config.BLOCK_SPACING); _local2 = Math.floor((_ymouse - gemsHolder._y) / com.novelgames.flashgames.gems.Config.BLOCK_SPACING); if (!getGemsAreAdjacent(chosenGem1, gems[(_local2 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local3])) { return(undefined); } chosenGem2 = gems[(_local2 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local3]; startSwapGems(); } function showEnterHighScore() { _parent.showEnterHighScore(score); } function onEnterFrame() { var _local2 = getTimer(); if (gameOver) { return(undefined); } if (!levelStarted) { return(undefined); } if (shouldLevelUp) { return(undefined); } if (showingNoMoreMoves) { return(undefined); } life = life - (((_local2 - lastLifeDecreaseTime) * lifeDecreaseRate) / 1000); if (life < 0) { life = 0; } lifeBar.updateLife(life); lastLifeDecreaseTime = _local2; if (life == 0) { showGameOver(); } } function createGems() { var _local7 = generateTypes(); var _local5; var _local6; var _local4; var _local3; var _local2; gems = new Array(); _local3 = 0; while (_local3 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY) { _local2 = 0; while (_local2 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) { _local5 = (_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2; _local6 = gemsHolder.attachMovie("gem", "gem" + _local5, _local5); _local4 = _local6; _local4.initialize(_local2, _local3 - com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY, _local7[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2]); _local4.targetY = _local3; gems[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2] = _local4; _local2++; } _local3++; } startCreateDropGems(); } function generateTypes() { var _local3 = new Array(com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY); var _local2; do { _local2 = 0; while (_local2 < _local3.length) { _local3[_local2] = Math.floor(Math.random() * com.novelgames.flashgames.gems.Config.BLOCK_NOOFTYPES); _local2++; } } while (!getTypesAreValid(_local3)); return(_local3); } function getTypesAreValid(types) { var _local3; var _local2; _local3 = 0; while (_local3 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY) { _local2 = 0; while (_local2 <= (com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX - com.novelgames.flashgames.gems.Config.LINEGEMS)) { if (getIsGroup(types, _local2, _local3, 1, 0)) { return(false); } _local2++; } _local3++; } _local3 = 0; while (_local3 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) { _local2 = 0; while (_local2 <= (com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY - com.novelgames.flashgames.gems.Config.LINEGEMS)) { if (getIsGroup(types, _local3, _local2, 0, 1)) { return(false); } _local2++; } _local3++; } return(getMovesAreAvailable(types)); } function getMovesAreAvailable(types) { var _local5; var _local3; var _local2; _local3 = 0; while (_local3 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY) { _local2 = 0; while (_local2 < (com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX - 1)) { com.novelgames.flashgames.gems.Util.swap(types, (_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2, ((_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2) + 1); if (getGroupsExist(types, _local2, _local3) || (getGroupsExist(types, _local2 + 1, _local3))) { com.novelgames.flashgames.gems.Util.swap(types, (_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2, ((_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2) + 1); return(true); } com.novelgames.flashgames.gems.Util.swap(types, (_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2, ((_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2) + 1); _local2++; } _local3++; } _local3 = 0; while (_local3 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) { _local2 = 0; while (_local2 < (com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY - 1)) { com.novelgames.flashgames.gems.Util.swap(types, (_local2 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local3, ((_local2 + 1) * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local3); if (getGroupsExist(types, _local3, _local2) || (getGroupsExist(types, _local3, _local2 + 1))) { com.novelgames.flashgames.gems.Util.swap(types, (_local2 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local3, ((_local2 + 1) * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local3); return(true); } com.novelgames.flashgames.gems.Util.swap(types, (_local2 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local3, ((_local2 + 1) * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local3); _local2++; } _local3++; } return(false); } function getGroupsExist(types, x, y) { var _local4; var _local3; var _local9; var _local2; var _local8; _local4 = Math.max(0, (x - com.novelgames.flashgames.gems.Config.LINEGEMS) - 1); _local3 = Math.min(com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX - com.novelgames.flashgames.gems.Config.LINEGEMS, x); _local2 = _local4; while (_local2 <= _local3) { if (getIsGroup(types, _local2, y, 1, 0)) { return(true); } _local2++; } _local4 = Math.max(0, (y - com.novelgames.flashgames.gems.Config.LINEGEMS) - 1); _local3 = Math.min(com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY - com.novelgames.flashgames.gems.Config.LINEGEMS, y); _local2 = _local4; while (_local2 <= _local3) { if (getIsGroup(types, x, _local2, 0, 1)) { return(true); } _local2++; } return(false); } function getIsGroup(types, x, y, stepX, stepY) { return(getGroupSize(types, x, y, stepX, stepY) >= com.novelgames.flashgames.gems.Config.LINEGEMS); } function getGroupSize(types, x, y, stepX, stepY) { var _local4 = types[(y * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + x]; var _local1; _local1 = 1; while (true) { x = x + stepX; y = y + stepY; if ((x >= com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) || (y >= com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY)) { return(_local1); } if (types[(y * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + x] != _local4) { return(_local1); } _local1++; } } function startCreateDropGems() { movingGems = true; moveGemsTime = getTimer(); intervalID = setInterval(this, "createDropGems", 1); } function createDropGems() { var _local4 = getTimer() - moveGemsTime; var _local3 = true; var _local2; _local2 = 0; while (_local2 < gems.length) { if (!gems[_local2].doCreateDropMove(_local4)) { _local3 = false; } _local2++; } if (_local3) { _local2 = 0; while (_local2 < gems.length) { gems[_local2].y = gems[_local2].targetY; _local2++; } movingGems = false; clearInterval(intervalID); if (!levelStarted) { levelStarted = true; lastLifeDecreaseTime = getTimer(); } if (showingNoMoreMoves) { showingNoMoreMoves = false; lastLifeDecreaseTime = getTimer(); } } updateAfterEvent(); } function getGemsAreAdjacent(gem1, gem2) { if ((gem1.x == gem2.x) && (Math.abs(gem1.y - gem2.y) == 1)) { return(true); } if ((gem1.y == gem2.y) && (Math.abs(gem1.x - gem2.x) == 1)) { return(true); } return(false); } function showHighlight(x, y) { highlight._x = gemsHolder._x + x; highlight._y = gemsHolder._y + y; highlight._visible = true; } function hideHighlight() { highlight._visible = false; } function startSwapGems() { chosenGem1.targetX = chosenGem2.x; chosenGem1.targetY = chosenGem2.y; chosenGem2.targetX = chosenGem1.x; chosenGem2.targetY = chosenGem1.y; soundSwap.start(); movingGems = true; moveGemsTime = getTimer(); intervalID = setInterval(this, "swapGems", 1); } function startUnswapGems() { chosenGem1.targetX = chosenGem2.x; chosenGem1.targetY = chosenGem2.y; chosenGem2.targetX = chosenGem1.x; chosenGem2.targetY = chosenGem1.y; soundSwap.start(); movingGems = true; moveGemsTime = getTimer(); intervalID = setInterval(this, "unswapGems", 1); } function swapGems() { var _local2 = getTimer() - moveGemsTime; if (_local2 < ((com.novelgames.flashgames.gems.Config.BLOCK_SPACING / com.novelgames.flashgames.gems.Config.SWAP_SPEED) * 1000)) { chosenGem1.doSwapMove(_local2); chosenGem2.doSwapMove(_local2); } else { finishGemsSwap(); if (checkDestroyingGems()) { chosenGem1 = null; chosenGem2 = null; hideHighlight(); movingGems = false; clearInterval(intervalID); startDestroyGems(); } else { clearInterval(intervalID); startUnswapGems(); } } updateAfterEvent(); } function unswapGems() { var _local2 = getTimer() - moveGemsTime; if (_local2 < ((com.novelgames.flashgames.gems.Config.BLOCK_SPACING / com.novelgames.flashgames.gems.Config.SWAP_SPEED) * 1000)) { chosenGem1.doSwapMove(_local2); chosenGem2.doSwapMove(_local2); } else { finishGemsSwap(); chosenGem1 = null; chosenGem2 = null; hideHighlight(); movingGems = false; clearInterval(intervalID); } updateAfterEvent(); } function finishGemsSwap() { gems[(chosenGem1.targetY * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + chosenGem1.targetX] = chosenGem1; gems[(chosenGem2.targetY * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + chosenGem2.targetX] = chosenGem2; chosenGem1.x = chosenGem1.targetX; chosenGem1.y = chosenGem1.targetY; chosenGem2.x = chosenGem2.targetX; chosenGem2.y = chosenGem2.targetY; chosenGem1._x = (chosenGem1.x * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2); chosenGem1._y = (chosenGem1.y * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2); chosenGem2._x = (chosenGem2.x * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2); chosenGem2._y = (chosenGem2.y * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2); } function checkDestroyingGems() { var _local12 = new Array(gems.length); var _local3; var _local13 = 0; var _local11 = 0; var _local14 = 0; var _local2; var _local10 = Number.POSITIVE_INFINITY; var _local8 = Number.NEGATIVE_INFINITY; var _local9 = Number.POSITIVE_INFINITY; var _local7 = Number.NEGATIVE_INFINITY; var _local6; var _local5; var _local4; _local6 = 0; while (_local6 < _local12.length) { _local12[_local6] = gems[_local6].type; _local6++; } destroyingGems = new Array(); _local6 = 0; while (_local6 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY) { _local5 = 0; while (_local5 <= (com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX - com.novelgames.flashgames.gems.Config.LINEGEMS)) { _local3 = getGroupSize(_local12, _local5, _local6, 1, 0); if (_local3 >= com.novelgames.flashgames.gems.Config.LINEGEMS) { _local4 = 0; while (_local4 < _local3) { _local2 = gems[(_local6 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + (_local5 + _local4)]; if (_local2._x < _local10) { _local10 = _local2._x; } if (_local2._x > _local8) { _local8 = _local2._x; } if (_local2._y < _local9) { _local9 = _local2._y; } if (_local2._y > _local7) { _local7 = _local2._y; } destroyingGems.push(_local2); _local4++; } _local11 = _local11 + com.novelgames.flashgames.gems.Config.SCORE_LINE; if (_local3 > com.novelgames.flashgames.gems.Config.LINEGEMS) { _local11 = _local11 + ((_local3 - com.novelgames.flashgames.gems.Config.LINEGEMS) * com.novelgames.flashgames.gems.Config.SCORE_LINEEXTRAGEM); } _local13++; _local14 = _local14 + com.novelgames.flashgames.gems.Config.LIFE_INCREASEPERLINE; } _local5 = _local5 + _local3; } _local6++; } _local6 = 0; while (_local6 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) { _local5 = 0; while (_local5 <= (com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY - com.novelgames.flashgames.gems.Config.LINEGEMS)) { _local3 = getGroupSize(_local12, _local6, _local5, 0, 1); if (_local3 >= com.novelgames.flashgames.gems.Config.LINEGEMS) { _local4 = 0; while (_local4 < _local3) { _local2 = gems[((_local5 + _local4) * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local6]; if (_local2._x < _local10) { _local10 = _local2._x; } if (_local2._x > _local8) { _local8 = _local2._x; } if (_local2._y < _local9) { _local9 = _local2._y; } if (_local2._y > _local7) { _local7 = _local2._y; } destroyingGems.push(_local2); _local4++; } _local11 = _local11 + com.novelgames.flashgames.gems.Config.SCORE_LINE; if (_local3 > com.novelgames.flashgames.gems.Config.LINEGEMS) { _local11 = _local11 + ((_local3 - com.novelgames.flashgames.gems.Config.LINEGEMS) * com.novelgames.flashgames.gems.Config.SCORE_LINEEXTRAGEM); } _local13++; _local14 = _local14 + com.novelgames.flashgames.gems.Config.LIFE_INCREASEPERLINE; } _local5 = _local5 + _local3; } _local6++; } if (destroyingGems.length > 0) { _local11 = _local11 + ((_local13 - 1) * com.novelgames.flashgames.gems.Config.SCORE_EXTRALINE); _local11 = _local11 + (currentCombo * com.novelgames.flashgames.gems.Config.SCORE_COMBO); showScorePopup((_local10 + _local8) / 2, (_local9 + _local7) / 2, _local11); score = score + _local11; life = life + _local14; if (life > com.novelgames.flashgames.gems.Config.LIFE_MAX) { life = com.novelgames.flashgames.gems.Config.LIFE_MAX; } lifeBar.updateLife(life); if (life >= com.novelgames.flashgames.gems.Config.LIFE_MAX) { shouldLevelUp = true; } currentCombo++; soundGroup.start(); return(true); } return(false); } function showScorePopup(x, y, score) { var _local2 = scoresHolder.getNextHighestDepth(); var _local3; var _local4; _local3 = scoresHolder.attachMovie("scorePopup", "scorePopup" + _local2, _local2); _local4 = _local3; _local4.initialize(x, y, score); } function startDestroyGems() { movingGems = true; moveGemsTime = getTimer(); intervalID = setInterval(this, "destroyGems", 1); } function destroyGems() { var _local8 = (getTimer() - moveGemsTime) / 1000; var _local6 = 100 - (com.novelgames.flashgames.gems.Config.DESTROY_SCALESPEED * _local8); var _local7 = com.novelgames.flashgames.gems.Config.DESTROY_ROTATESPEED * _local8; var _local4; var _local5; var _local2; var _local3; if (_local6 < 0) { _local6 = 0; } _local2 = 0; while (_local2 < destroyingGems.length) { destroyingGems[_local2]._xscale = _local6; destroyingGems[_local2]._yscale = _local6; destroyingGems[_local2]._rotation = _local7; _local2++; } if (_local6 <= 0) { clearInterval(intervalID); _local2 = 0; while (_local2 < destroyingGems.length) { gems[(destroyingGems[_local2].y * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + destroyingGems[_local2].x] = null; destroyingGems[_local2].removeMovieClip(); _local2++; } droppingGems = new Array(); _local2 = 0; while (_local2 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) { _local4 = 0; _local3 = com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY - 1; while (_local3 >= 0) { if (gems[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2] == null) { _local4++; } else if (_local4 > 0) { gems[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2].targetY = gems[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2].y + _local4; droppingGems.push(gems[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2]); } _local3--; } _local3 = 0; while (_local3 < _local4) { _local5 = generateNewGem(_local2, (-_local3) - 1, _local4); _local5.targetY = _local5.y + _local4; droppingGems.push(_local5); _local3++; } _local2++; } startDropGems(); } updateAfterEvent(); } function generateNewGem(x, y) { var _local2 = gemsHolder.getNextHighestDepth(); var _local4 = gemsHolder.attachMovie("gem", "gem" + _local2, _local2); var _local3 = _local4; var _local5 = Math.floor(Math.random() * com.novelgames.flashgames.gems.Config.BLOCK_NOOFTYPES); _local3.initialize(x, y, _local5); return(_local3); } function startDropGems() { movingGems = true; moveGemsTime = getTimer(); intervalID = setInterval(this, "dropGems", 1); } function dropGems() { var _local4 = getTimer() - moveGemsTime; var _local3; var _local2; _local2 = 0; while (_local2 < droppingGems.length) { if (!droppingGems[_local2].doDropMove(_local4)) { } else { droppingGems[_local2].y = droppingGems[_local2].targetY; gems[(droppingGems[_local2].y * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + droppingGems[_local2].x] = droppingGems[_local2]; droppingGems.splice(_local2, 1); _local2--; } _local2++; } if (droppingGems.length == 0) { clearInterval(intervalID); if (checkDestroyingGems()) { startDestroyGems(); } else if (shouldLevelUp) { levelUp(); } else { _local3 = new Array(gems.length); _local2 = 0; while (_local2 < _local3.length) { _local3[_local2] = gems[_local2].type; _local2++; } if (!getMovesAreAvailable(_local3)) { startNoMoreMoves(); } else { movingGems = false; } } } updateAfterEvent(); } function startNoMoreMoves() { showingNoMoreMoves = true; movingGems = true; moveGemsTime = getTimer(); message.showNoMoreMoves(); intervalID = setInterval(this, "destroyNoMoreMoveGems", 1); } function destroyNoMoreMoveGems() { var _local5 = 100 - (((getTimer() - moveGemsTime) * com.novelgames.flashgames.gems.Config.NOMOREMOVES_SCALESPEED) / 1000); var _local4; var _local3; var _local2; _local3 = com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY; while (_local3 >= 0) { _local4 = _local5 + (com.novelgames.flashgames.gems.Config.NOMOREMVOES_SCALEROWDIFFERENCE * (com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY - _local3)); _local2 = 0; while (_local2 < com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) { if (_local4 < 0) { gems[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2].removeMovieClip(); } else if (_local4 < 100) { gems[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2]._xscale = _local4; gems[(_local3 * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONX) + _local2]._yscale = _local4; } _local2++; } _local3--; } if ((_local5 + (com.novelgames.flashgames.gems.Config.NOMOREMVOES_SCALEROWDIFFERENCE * com.novelgames.flashgames.gems.Config.BLOCK_DIMENSIONY)) <= 0) { clearInterval(intervalID); message.hide(); createGems(); } updateAfterEvent(); } function levelUp() { score = score + com.novelgames.flashgames.gems.Config.SCORE_LEVELUP; message.showLevelUp(com.novelgames.flashgames.gems.Config.SCORE_LEVELUP); soundLevelUp.start(); movingGems = true; moveGemsTime = getTimer(); clearInterval(intervalID); intervalID = setInterval(this, "destroyLevelUpGems", 1); } function destroyLevelUpGems() { var _local4 = (getTimer() - moveGemsTime) / 1000; var _local3 = 100 - (com.novelgames.flashgames.gems.Config.LEVELUP_SCALESPEED * _local4); var _local2; _local2 = 0; while (_local2 < gems.length) { if (_local3 < 0) { gems[_local2].removeMovieClip(); } else { gems[_local2]._xscale = _local3; gems[_local2]._yscale = _local3; } _local2++; } life = com.novelgames.flashgames.gems.Config.LIFE_MAX - (com.novelgames.flashgames.gems.Config.LEVELUP_LIFERESUMESPEED * _local4); if (life < com.novelgames.flashgames.gems.Config.LIFE_INITIAL) { life = com.novelgames.flashgames.gems.Config.LIFE_INITIAL; } lifeBar.updateLife(life); if (life <= com.novelgames.flashgames.gems.Config.LIFE_INITIAL) { clearInterval(intervalID); level++; lifeDecreaseRate = lifeDecreaseRate + com.novelgames.flashgames.gems.Config.LIFE_DECREASERATEINCREMENT; levelStarted = false; shouldLevelUp = false; message.hide(); createGems(); } } function showGameOver() { gameOver = true; clearInterval(intervalID); var _local3 = _root.attachMovie("endScreen", "endScreen", _root.getNextHighestDepth()); trace(score); trace(_local3.playAgain.score); _local3.playAgain.score.text = score; trace(_local3.playAgain.score.text); } }
Symbol 168 MovieClip [__Packages.com.novelgames.flashgames.gems.Gem] Frame 0
class com.novelgames.flashgames.gems.Gem extends MovieClip { var stop, x, y, type, _x, _y, gotoAndStop, button, cacheAsBitmap, targetY, targetX; function Gem () { super(); stop(); } function initialize(x, y, type) { this.x = x; this.y = y; this.type = type; _x = (x * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2); _y = (y * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2); gotoAndStop(type + 1); button.onPress = function () { this._parent._parent._parent.gemPressed(this._parent); }; button.onReleaseOutside = function () { this._parent._parent._parent.gemReleasedOutside(); }; cacheAsBitmap = true; } function doCreateDropMove(time) { _y = ((y * (com.novelgames.flashgames.gems.Config.BLOCK_SPACING + com.novelgames.flashgames.gems.Config.CREATEDROP_SPACING)) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2)) + ((com.novelgames.flashgames.gems.Config.DROP_SPEED * time) / 1000); if (_y >= ((targetY * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2))) { _y = (targetY * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2); return(true); } return(false); } function doSwapMove(time) { if (targetX > x) { _x = ((x * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2)) + ((com.novelgames.flashgames.gems.Config.SWAP_SPEED * time) / 1000); } else if (targetX < x) { _x = ((x * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2)) - ((com.novelgames.flashgames.gems.Config.SWAP_SPEED * time) / 1000); } else if (targetY > y) { _y = ((y * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2)) + ((com.novelgames.flashgames.gems.Config.SWAP_SPEED * time) / 1000); } else { _y = ((y * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2)) - ((com.novelgames.flashgames.gems.Config.SWAP_SPEED * time) / 1000); } } function doDropMove(time) { _y = ((y * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2)) + ((com.novelgames.flashgames.gems.Config.DROP_SPEED * time) / 1000); if (_y >= ((targetY * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2))) { _y = (targetY * com.novelgames.flashgames.gems.Config.BLOCK_SPACING) + (com.novelgames.flashgames.gems.Config.BLOCK_SPACING / 2); return(true); } return(false); } }
Symbol 169 MovieClip [__Packages.com.novelgames.flashgames.common.NewSound] Frame 0
class com.novelgames.flashgames.common.NewSound extends Sound { var attachSound, setVolume, target, symbolName; function NewSound (target, symbolName) { super(target); var _local3; attachSound(symbolName); setVolume(volumeAll); this.target = target; this.symbolName = symbolName; sounds.push(this); _local3 = 0; while (_local3 < sounds.length) { if (sounds[_local3] == this) { } else if ((sounds[_local3].target == target) && (sounds[_local3].symbolName == symbolName)) { sounds.splice(_local3, 1); _local3--; } _local3++; } } static function setVolumeAll(volume) { var _local1; volumeAll = volume; _local1 = 0; while (_local1 < sounds.length) { sounds[_local1].setVolume(volume); _local1++; } } static function muteAll() { setVolumeAll(0); } static function unmuteAll() { setVolumeAll(100); } static function getIsMuteAll() { return(volumeAll == 0); } static var sounds = new Array(); static var volumeAll = 100; }
Symbol 170 MovieClip [__Packages.com.novelgames.flashgames.gems.Util] Frame 0
class com.novelgames.flashgames.gems.Util { function Util () { } static function swap(theArray, index1, index2) { var _local2 = theArray[index1]; theArray[index1] = theArray[index2]; theArray[index2] = _local2; } }
Symbol 171 MovieClip [__Packages.com.novelgames.flashgames.common.MuteButton] Frame 0
class com.novelgames.flashgames.common.MuteButton extends MovieClip { var gotoAndStop; function MuteButton () { super(); if (com.novelgames.flashgames.common.NewSound.getIsMuteAll()) { showOff(); } else { showOn(); } } function onPress() { if (com.novelgames.flashgames.common.NewSound.getIsMuteAll()) { com.novelgames.flashgames.common.NewSound.unmuteAll(); showOn(); } else { com.novelgames.flashgames.common.NewSound.muteAll(); showOff(); } } function showOff() { gotoAndStop("off"); } function showOn() { gotoAndStop("on"); } }
Symbol 172 MovieClip [__Packages.com.novelgames.flashgames.common.MainDevelopment] Frame 0
class com.novelgames.flashgames.common.MainDevelopment extends MovieClip { var gotoAndStop, startButton, highScoresButton, moreGamesButton; function MainDevelopment () { super(); } static function initialize(movieClip) { movieClip.__proto__ = com.novelgames.flashgames.common.MainDevelopment.prototype; movieClip.gotoTitlePage(); } function gotoTitlePage() { gotoAndStop("title"); startButton.onRelease = function () { this._parent.gotoInstructionsPage(); }; highScoresButton.onRelease = function () { this._parent.showHighScores(); }; moreGamesButton.onRelease = function () { this._parent.getURL("http://www.novelgames.com", "_blank"); }; } function gotoInstructionsPage() { gotoAndStop("instructions"); startButton.onRelease = function () { this._parent.gotoGamePage(); }; } function gotoGamePage() { gotoAndStop("game"); } function showHighScores() { trace("showHighScores()"); } function showEnterHighScore(score) { trace(("showEnterHighScore(" + score) + ")"); } }
Symbol 104 MovieClip [__Packages.com.tmgc.gameconnector.GameConnectorAS2] Frame 0
class com.tmgc.gameconnector.GameConnectorAS2 extends MovieClip { var _url, _localConnection; function GameConnectorAS2 () { super(); var _local7 = unescape(_url); var _local9 = _local7.lastIndexOf("?"); var _local8 = _local7.substr(_local9 + 1, _local7.length); var _local6 = _local8.split("&"); var _local3 = 0; while (_local3 < _local6.length) { var _local5 = _local6[_local3].split("=")[0]; var _local4 = _local6[_local3].split("=")[1]; if (_local5 == "doofConnectionName") { _doofConnectionName = _local4; } if (_local5 == "gameConnectionName") { _gameConnectionName = _local4; } _local3++; } _localConnection = new LocalConnection(); try { _localConnection.connect(gameConnectionName); } catch(error:Error) { trace(error); } } function get doofConnectionName() { return(_doofConnectionName); } function get gameConnectionName() { return(_gameConnectionName); } function gameStarted(initialScore) { trace("GameConnectorAS2.gameStarted() initialScore=" + String(initialScore)); _localConnection.send(doofConnectionName, "gameStarted", initialScore); } function gameEnded(finalScore) { trace("GameConnectorAS2.gameEnded() finalScore=" + String(finalScore)); _localConnection.send(doofConnectionName, "gameEnded", finalScore); } function gameScore(score) { trace("GameConnectorAS2.gameScore() score=" + String(score)); _localConnection.send(doofConnectionName, "gameScore", score); } function gameStat(statName, statValue) { trace((("GameConnectorAS2.gameStat() statName=" + statName) + ", statValue=") + statValue); _localConnection.send(doofConnectionName, "gameStat", statName, statValue); } function gameStatList(stats) { trace("GameConnectorAS2.gameStatList() stats=" + stats); _localConnection.send(doofConnectionName, "gameStatList", stats); } function stopGame() { trace("GameConnectorAS2.stopGame()"); } var _doofConnectionName = "doof"; var _gameConnectionName = "game"; }

Library Items

Symbol 1 Sound [soundSwap]
Symbol 2 Sound [soundGameOver]
Symbol 3 Sound [soundLevelUp]
Symbol 4 Sound [soundGroup]
Symbol 5 MovieClip [GIGYA]
Symbol 6 GraphicUsed by:27
Symbol 7 FontUsed by:8 17 32 36
Symbol 8 TextUses:7Used by:27
Symbol 9 GraphicUsed by:10 157
Symbol 10 MovieClipUses:9Used by:27
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:27
Symbol 13 GraphicUsed by:14
Symbol 14 ButtonUses:13Used by:18 37
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:18 37
Symbol 17 TextUses:7Used by:18
Symbol 18 MovieClipUses:14 16 17Used by:27
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:27
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:27
Symbol 23 FontUsed by:24 25 26 29 32
Symbol 24 TextUses:23Used by:27
Symbol 25 TextUses:23Used by:27
Symbol 26 TextUses:23Used by:27
Symbol 27 MovieClipUses:6 8 10 12 18 20 22 24 25 26Used by:38
Symbol 28 GraphicUsed by:35
Symbol 29 TextUses:23Used by:35
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:35
Symbol 32 TextUses:7 23Used by:35
Symbol 33 FontUsed by:34
Symbol 34 EditableTextUses:33Used by:35
Symbol 35 MovieClipUses:28 29 31 32 34Used by:38
Symbol 36 TextUses:7Used by:37
Symbol 37 MovieClipUses:14 16 36Used by:38
Symbol 38 MovieClip [endScreen]Uses:27 35 37
Symbol 39 GraphicUsed by:40  Timeline
Symbol 40 ButtonUses:39Used by:53
Symbol 41 GraphicUsed by:42  Timeline
Symbol 42 ButtonUses:41Used by:53
Symbol 43 GraphicUsed by:44  Timeline
Symbol 44 ButtonUses:43Used by:53
Symbol 45 GraphicUsed by:46  Timeline
Symbol 46 ButtonUses:45Used by:53
Symbol 47 GraphicUsed by:48  Timeline
Symbol 48 ButtonUses:47Used by:53
Symbol 49 GraphicUsed by:50  Timeline
Symbol 50 ButtonUses:49Used by:53
Symbol 51 GraphicUsed by:52  Timeline
Symbol 52 ButtonUses:51Used by:53
Symbol 53 MovieClip [gem]Uses:40 42 44 46 48 50 52
Symbol 54 FontUsed by:55 57 58 60 64 66 69 70 71 72 90 92 93 94 96 152 153 154 158
Symbol 55 EditableTextUses:54Used by:56
Symbol 56 MovieClip [scorePopup]Uses:55
Symbol 57 EditableTextUses:54Used by:74
Symbol 58 TextUses:54Used by:59
Symbol 59 MovieClipUses:58Used by:74
Symbol 60 TextUses:54Used by:61
Symbol 61 MovieClipUses:60Used by:74
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:74
Symbol 64 TextUses:54Used by:65
Symbol 65 MovieClipUses:64Used by:74
Symbol 66 TextUses:54Used by:67
Symbol 67 MovieClipUses:66Used by:68
Symbol 68 MovieClipUses:67Used by:73
Symbol 69 TextUses:54Used by:73
Symbol 70 TextUses:54Used by:73
Symbol 71 TextUses:54Used by:73
Symbol 72 TextUses:54Used by:73
Symbol 73 MovieClipUses:68 69 70 71 72Used by:74
Symbol 74 MovieClip [message]Uses:57 59 61 63 65 73Used by:99
Symbol 75 GraphicUsed by:76 145
Symbol 76 MovieClipUses:75Used by:78
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClip [lifeBar]Uses:76 77Used by:99
Symbol 79 GraphicUsed by:99
Symbol 80 GraphicUsed by:99
Symbol 81 MovieClipUsed by:99
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:99
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:99
Symbol 86 GraphicUsed by:87
Symbol 87 ButtonUses:86Used by:99
Symbol 88 GraphicUsed by:89
Symbol 89 ButtonUses:88Used by:99  Timeline
Symbol 90 TextUses:54Used by:91
Symbol 91 MovieClipUses:90Used by:99  Timeline
Symbol 92 EditableTextUses:54Used by:99
Symbol 93 EditableTextUses:54Used by:99
Symbol 94 TextUses:54Used by:95
Symbol 95 MovieClipUses:94Used by:99
Symbol 96 TextUses:54Used by:97
Symbol 97 MovieClipUses:96Used by:99
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClip [game]Uses:79 80 81 83 85 87 78 89 91 92 93 95 97 98 74Used by:Timeline
Symbol 100 GraphicUsed by:103
Symbol 101 GraphicUsed by:103
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip [muteButton]Uses:100 101 102Used by:Timeline
Symbol 105 MovieClip [GameConnectorAS2]Used by:Timeline
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:Timeline
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:108Used by:146
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:146
Symbol 112 GraphicUsed by:113 140
Symbol 113 MovieClipUses:112Used by:146
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:146
Symbol 116 GraphicUsed by:119
Symbol 117 ShapeTweeningUsed by:119
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:116 117 118Used by:146
Symbol 120 GraphicUsed by:121 141
Symbol 121 MovieClipUses:120Used by:146
Symbol 122 GraphicUsed by:125
Symbol 123 ShapeTweeningUsed by:125
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:122 123 124Used by:146
Symbol 126 GraphicUsed by:129
Symbol 127 ShapeTweeningUsed by:129
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:126 127 128Used by:146
Symbol 130 GraphicUsed by:135
Symbol 131 GraphicUsed by:135
Symbol 132 GraphicUsed by:135
Symbol 133 ShapeTweeningUsed by:135
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:130 131 132 133 134Used by:146
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:146
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:138Used by:146
Symbol 140 MovieClipUses:112Used by:146
Symbol 141 MovieClipUses:120Used by:146
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:146
Symbol 144 GraphicUsed by:146
Symbol 145 MovieClipUses:75Used by:146
Symbol 146 MovieClipUses:109 111 113 115 119 121 125 129 135 137 139 140 141 143 144 145Used by:149
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClipUses:147Used by:149
Symbol 149 MovieClipUses:146 148 SS1Used by:Timeline
Symbol 162 MovieClip [__Packages.MochiAd]
Symbol 163 MovieClip [__Packages.com.novelgames.flashgames.gems.ScorePopup]
Symbol 164 MovieClip [__Packages.com.novelgames.flashgames.gems.Config]
Symbol 165 MovieClip [__Packages.com.novelgames.flashgames.gems.Message]
Symbol 166 MovieClip [__Packages.com.novelgames.flashgames.gems.LifeBar]
Symbol 167 MovieClip [__Packages.com.novelgames.flashgames.gems.Game]
Symbol 168 MovieClip [__Packages.com.novelgames.flashgames.gems.Gem]
Symbol 169 MovieClip [__Packages.com.novelgames.flashgames.common.NewSound]
Symbol 170 MovieClip [__Packages.com.novelgames.flashgames.gems.Util]
Symbol 171 MovieClip [__Packages.com.novelgames.flashgames.common.MuteButton]
Symbol 172 MovieClip [__Packages.com.novelgames.flashgames.common.MainDevelopment]
Symbol 104 MovieClip [__Packages.com.tmgc.gameconnector.GameConnectorAS2]
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:Timeline
Symbol 152 TextUses:54Used by:155
Symbol 153 TextUses:54Used by:155
Symbol 154 TextUses:54Used by:155
Symbol 155 ButtonUses:152 153 154Used by:Timeline
Symbol 156 GraphicUsed by:Timeline
Symbol 157 MovieClipUses:9Used by:Timeline
Symbol 158 TextUses:54Used by:161
Symbol 159 FontUsed by:160
Symbol 160 TextUses:159Used by:161
Symbol 161 MovieClipUses:158 160Used by:Timeline
Streaming Sound 1Used by:Symbol 149 MovieClip

Instance Names

"background"Frame 1Symbol 107 MovieClip
"startButton"Frame 2Symbol 155 Button
"connector"Frame 2Symbol 105 MovieClip [GameConnectorAS2]
"startButton"Frame 8Symbol 155 Button
"score"Symbol 35 MovieClip Frame 1Symbol 34 EditableText
"doofClick"Symbol 38 MovieClip [endScreen] Frame 1Symbol 27 MovieClip
"playAgain"Symbol 38 MovieClip [endScreen] Frame 1Symbol 35 MovieClip
"shareBTN"Symbol 38 MovieClip [endScreen] Frame 1Symbol 37 MovieClip
"button"Symbol 53 MovieClip [gem] Frame 1Symbol 40 Button
"button"Symbol 53 MovieClip [gem] Frame 2Symbol 42 Button
"button"Symbol 53 MovieClip [gem] Frame 3Symbol 44 Button
"button"Symbol 53 MovieClip [gem] Frame 4Symbol 46 Button
"button"Symbol 53 MovieClip [gem] Frame 5Symbol 48 Button
"button"Symbol 53 MovieClip [gem] Frame 6Symbol 50 Button
"button"Symbol 53 MovieClip [gem] Frame 7Symbol 52 Button
"blocker"Symbol 74 MovieClip [message] Frame 26Symbol 63 MovieClip
"colour"Symbol 78 MovieClip [lifeBar] Frame 1Symbol 76 MovieClip
"gemsHolder"Symbol 99 MovieClip [game] Frame 1Symbol 81 MovieClip
"highlight"Symbol 99 MovieClip [game] Frame 1Symbol 83 MovieClip
"scoresHolder"Symbol 99 MovieClip [game] Frame 1Symbol 81 MovieClip
"lifeBar"Symbol 99 MovieClip [game] Frame 1Symbol 78 MovieClip [lifeBar]
"message"Symbol 99 MovieClip [game] Frame 1Symbol 74 MovieClip [message]

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "soundSwap"
ExportAssets (56)Timeline Frame 1Symbol 2 as "soundGameOver"
ExportAssets (56)Timeline Frame 1Symbol 3 as "soundLevelUp"
ExportAssets (56)Timeline Frame 1Symbol 4 as "soundGroup"
ExportAssets (56)Timeline Frame 1Symbol 5 as "GIGYA"
ExportAssets (56)Timeline Frame 1Symbol 38 as "endScreen"
ExportAssets (56)Timeline Frame 1Symbol 53 as "gem"
ExportAssets (56)Timeline Frame 1Symbol 56 as "scorePopup"
ExportAssets (56)Timeline Frame 1Symbol 74 as "message"
ExportAssets (56)Timeline Frame 1Symbol 78 as "lifeBar"
ExportAssets (56)Timeline Frame 1Symbol 99 as "game"
ExportAssets (56)Timeline Frame 1Symbol 103 as "muteButton"
ExportAssets (56)Timeline Frame 1Symbol 105 as "GameConnectorAS2"
ExportAssets (56)Timeline Frame 1Symbol 162 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 163 as "__Packages.com.novelgames.flashgames.gems.ScorePopup"
ExportAssets (56)Timeline Frame 1Symbol 164 as "__Packages.com.novelgames.flashgames.gems.Config"
ExportAssets (56)Timeline Frame 1Symbol 165 as "__Packages.com.novelgames.flashgames.gems.Message"
ExportAssets (56)Timeline Frame 1Symbol 166 as "__Packages.com.novelgames.flashgames.gems.LifeBar"
ExportAssets (56)Timeline Frame 1Symbol 167 as "__Packages.com.novelgames.flashgames.gems.Game"
ExportAssets (56)Timeline Frame 1Symbol 168 as "__Packages.com.novelgames.flashgames.gems.Gem"
ExportAssets (56)Timeline Frame 1Symbol 169 as "__Packages.com.novelgames.flashgames.common.NewSound"
ExportAssets (56)Timeline Frame 1Symbol 170 as "__Packages.com.novelgames.flashgames.gems.Util"
ExportAssets (56)Timeline Frame 1Symbol 171 as "__Packages.com.novelgames.flashgames.common.MuteButton"
ExportAssets (56)Timeline Frame 1Symbol 172 as "__Packages.com.novelgames.flashgames.common.MainDevelopment"
ExportAssets (56)Timeline Frame 1Symbol 104 as "__Packages.com.tmgc.gameconnector.GameConnectorAS2"

Labels

"splashScreen"Frame 1
"title"Frame 2
"instructions"Frame 8
"game"Frame 18
"GameOverScreen"Frame 24
"hide"Symbol 74 MovieClip [message] Frame 1
"levelUp"Symbol 74 MovieClip [message] Frame 6
"noMoreMoves"Symbol 74 MovieClip [message] Frame 13
"gameOver"Symbol 74 MovieClip [message] Frame 26
"on"Symbol 103 MovieClip [muteButton] Frame 1
"off"Symbol 103 MovieClip [muteButton] Frame 6

Dynamic Text Variables

scoreSymbol 55 EditableText""
scoreSymbol 57 EditableText""
levelSymbol 92 EditableText""
scoreSymbol 93 EditableText""




http://swfchan.com/9/42771/info.shtml
Created: 9/5 -2019 18:55:32 Last modified: 9/5 -2019 18:55:32 Server time: 22/12 -2024 21:25:07