STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229671 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #133298 |
press area |
ninjaclaw.com |
play better games |
Click me to begin |
The Flags Of The World Quiz |
dtext |
dtext |
remove? |
listitem |
listitem |
SUBMIT |
TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT |
FINISHED |
continue |
continue |
? |
1. Use the left and right arrows to scroll through the flags. 2. click a country name in the country list and it will move into the white box and saved to the flag Displayed. 3. As you match the country names to flags they are removed from the list. TIP: Match the easy ones first. 4. To remove a selection just click it in the white box and it will go back into the list. Or just click another answer and that will replace the existing one. 5. You can view help at any time by hovering the cursor over the Question mark. 6. Once you are happy will all your answers click the submit button to see how you did. |
Instructions |
The object of the game is to match all of the flags with the countries they belong to. To match up the flags and countries follow the steps below. 1. Use the left and right arrows to scroll through the flags. 2. If you see one you know click the country name in the country list and it will move into the white box below the flag. The country you clicked will be saved to that flag so you can continue to scroll through the flags. 3. As you match the country names to flags they are removed from the list. TIP: Match the easy ones first. You should then be able to work through the others through process of elimination. |
4. If you want to remove a selection just click it in the white box and it will go back into the list. Or just click another answer and that will replace the existing one. 5. You can view help at any time by hovering the cursor over the Question mark. 6. Once you are happy will all your answers click the submit button to see how you did. |
The object of the game is to match all of the flags with the countries they belong to. To match up the flags and countries follow the steps below. 1. Use the left and right arrows to scroll through the flags. 2. If you see one you know click the country name in the list below and it will move into the white box below the flag. The country you clicked will be saved to that flag so you can continue to scroll through the flags. 3. As you match the country names to flags they are removed from the list. TIP: Match the easy ones first. You should then be able to work through the others through process of elimination. |
ActionScript [AS1/AS2]
Frame 1var _mochiads_game_id = "14b6e3cb063ced0f"; mochi.as2.MochiAd.showPreGameAd({id:_mochiads_game_id, res:"550x600"});Frame 5if (_framesloaded == _totalframes) { gotoAndStop ("main"); } else { gotoAndPlay ("loading"); }Frame 15loadmsg_txt.removeTextField(); games.quiz.flagquiz.ImageMatcherApp.main(this);Symbol 4 Buttonon (release) { trace("goto ninjaclaw.com"); getURL ("http://www.ninjaclaw.com", "_blank"); mochi.as2.MochiServices.addLinkEvent("http://x.mochiads.com/link/cc60410e49318b49", "http://www.ninjaclaw.com", this); }Symbol 9 MovieClip [NinjaAd] Frame 1#initclip 30 Object.registerClass("NinjaAd", ninjaclaw.NinjaAd); #endinitclipSymbol 170 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0class mochi.as2.MochiAd { function MochiAd () { } static function getVersion() { return(mochi.as2.MochiServices.getVersion()); } 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 _local23 = 11000; var _local19 = options.ad_timeout; if (options.skip) { _local19 = 0; } 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 _local22 = options.color; delete options.color; var _local20 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local6.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local20); _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(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local7 = _local6.createEmptyMovieClip("_outline", 3); _local7.lineStyle(0, _local24, 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 = _local23; chk.ad_timeout = _local19; 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; mochi.as2.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) { mochi.as2.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) { mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName); 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) { mochi.as2.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; mochi.as2.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) { mochi.as2.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 _local7 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local7._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local7._mochiad_loaded = true; if (_local7._url.indexOf("http") != 0) { trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal"); } var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local8 in options) { _local4[_local8] = options[_local8]; } 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; mochi.as2.MochiAd.unload(this._parent); } }; } }; var _local5 = new Object(); var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local9; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local9); _local6.lc = _local5; _local4.lc = _local9; _local4.st = getTimer(); if (!options.skip) { _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); } containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName); 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); containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName); break; case "runMethod" : var _local3 = runMethod(clip, arg.method, arg.args); containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName); 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); } static function containerNotify(clip, args, lcName) { var _local1 = clip._mochiad._mochiad_ctr.ad.app; if (_local1.notify) { _local1.notify(args); } else { new LocalConnection().send(lcName, "notify", args); } } static function containerRpcResult(clip, callbackID, val, lcName) { var _local1 = clip._mochiad._mochiad_ctr.ad.app; if (_local1.rpcResult) { _local1.rpcResult(callbackID, val); } else { new LocalConnection().send(lcName, "rpcResult", callbackID, val); } } }Symbol 171 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0class mochi.as2.MochiSync { var _syncContainer; function MochiSync () { _syncContainer = {}; } function getProp(name) { return(_syncContainer[name]); } function setProp(name, value) { if (_syncContainer[name] == value) { return(undefined); } _syncContainer[name] = value; mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value}); } function triggerEvent(eventType, args) { switch (eventType) { case SYNC_REQUEST : mochi.as2.MochiServices.send("sync_syncronize", _syncContainer); break; case SYNC_PROPERTY : _syncContainer[args.name] = args.value; } } static var SYNC_REQUEST = "SyncRequest"; static var SYNC_PROPERTY = "UpdateProperty"; }Symbol 172 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0class mochi.as2.MochiServices { static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel; function MochiServices () { } static function get id() { return(_id); } static function get clip() { return(_container); } static function get childClip() { return(_clip); } static function getVersion() { return("3.7 as2"); } 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 get isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function set comChannelName(val) { if (val != undefined) { if (val.length > 3) { _sendChannelName = val + "_fromgame"; initComChannels(); } } //return(__get__comChannelName()); } static function get connected() { return(_connected); } static function connect(id, clip, onError) { warnID(id, false); if ((!_connected) && (_clip == undefined)) { trace("MochiServices Connecting..."); _connecting = true; 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); }; } } static function disconnect() { if (_connected || (_connecting)) { _connecting = (_connected = false); flush(true); if (_clip != undefined) { _clip.removeMovieClip(); delete _clip; } _listenChannel.close(); } } static function init(id, clip) { _id = id; if (clip != undefined) { _container = clip; } else { _container = _root; } loadCommunicator(id, _container); } static function loadCommunicator(id, clip) { var _local6 = "_mochiservices_com_" + id; var _local5 = new MovieClipLoader(); var _local3 = {}; if (_clip != null) { return(_clip); } if (!isNetworkAvailable) { return(null); } if (urlOptions().servURL) { _servURL = urlOptions().servURL; } var _local4 = _servURL + _services; if (urlOptions().servicesURL) { _local4 = urlOptions().servicesURL; } allowDomains(_local4); _clip = clip.createEmptyMovieClip(_local6, 10336, false); _listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999)); listen(); if (_local3.waitInterval != null) { clearInterval(_local3.waitInterval); } _local3.onLoadError = loadError; _local3.onLoadStart = function (target_mc) { this.isLoading = true; }; _local3.onLoadComplete = function (target_mc) { target_mc.MochiServices = mochi.as2.MochiServices; }; _local3.startTime = getTimer(); _local3.wait = function () { if ((getTimer() - this.startTime) > 10000) { if (!this.isLoading) { mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, ["IOError"]); } clearInterval(this.waitInterval); } }; _local3.waitInterval = setInterval(_local3, "wait", 1000); _local5.addListener(_local3); _local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip); _sendChannel = new LocalConnection(); _sendChannel._queue = []; return(_clip); } static function loadError(target_mc, errorCode, httpStatus) { trace("MochiServices could not load."); disconnect(); onError.apply(null, [errorCode]); } static function onStatus(infoObject) { if (!(infoObject.level === "error")) { } else { _connected = false; _listenChannel.connect(_listenChannelName); } } static function listen() { _listenChannel = new LocalConnection(); _listenChannel.handshake = function (args) { mochi.as2.MochiServices.__set__comChannelName(args.newChannel); }; _listenChannel.allowDomain = function (d) { return(true); }; _listenChannel.allowInsecureDomain = _listenChannel.allowDomain; _listenChannel._nextcallbackID = 0; _listenChannel._callbacks = {}; _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } static function initComChannels() { if (!_connected) { _sendChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()}); _listenChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; _listenChannel.onReceive = function (pkg) { var _local5 = pkg.callbackID; var _local4 = this._callbacks[_local5]; if (!_local4) { return(undefined); } var _local2 = _local4.callbackMethod; var _local3 = _local4.callbackObject; if (_local3 && (typeof(_local2) == "string")) { _local2 = _local3[_local2]; } if (_local2 != undefined) { _local2.apply(_local3, pkg.args); } delete this._callbacks[_local5]; }; _listenChannel.onEvent = function (pkg) { switch (pkg.target) { case "events" : mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args); break; case "coins" : mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args); break; case "sync" : mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args); } }; _listenChannel.onError = function () { mochi.as2.MochiServices.onError.apply(null, ["IOError"]); }; trace("[SERVICES_API] connected!"); _connecting = false; _connected = true; while (_sendChannel._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift()); } } } static function flush(error) { var _local1; var _local2; while (_sendChannel._queue.length > 0) { _local1 = _sendChannel._queue.shift(); if (_local1.callbackID != null) { _local2 = _listenChannel._callbacks[_local1.callbackID]; } delete _listenChannel._callbacks[_local1.callbackID]; if (error) { handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod); } } } static function handleError(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); } } } static function send(methodName, args, callbackObject, callbackMethod) { if (_connected) { _sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID}); } else { if ((_clip == undefined) || (!_connecting)) { trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName); handleError(args, callbackObject, callbackMethod); flush(true); return(undefined); } _sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID}); } _listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod}; _listenChannel._nextcallbackID++; } static function urlOptions() { var _local5 = {}; var _local6; if (_root._url.indexOf("mochiad_options") != -1) { var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1; _local6 = _root._url.substr(_local2, _root._url.length); } else if (_root.mochiad_options) { _local6 = _root.mochiad_options; } if (_local6) { var _local4 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2].split("="); _local5[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } return(_local5); } static function warnID(bid, leaderboard) { bid = bid.toLowerCase(); if (bid.length != 16) { trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length"); return(undefined); } if (bid == "1e113c7239048b3f") { if (leaderboard) { trace("WARNING: Using testing board ID"); } else { trace("WARNING: Using testing board ID as game ID"); } return(undefined); } if (bid == "84993a1de4031cd8") { if (leaderboard) { trace("WARNING: Using testing game ID as board ID"); } else { trace("WARNING: Using testing game ID"); } return(undefined); } var _local1 = 0; while (_local1 < bid.length) { switch (bid.charAt(_local1)) { case "0" : case "1" : case "2" : case "3" : case "4" : case "5" : case "6" : case "7" : case "8" : case "9" : case "a" : case "b" : case "c" : case "d" : case "e" : case "f" : break; default : trace("WARNING: Board ID contains illegal characters: " + bid); return(undefined); } _local1++; } } static function addLinkEvent(url, burl, btn, onClick) { var timeout = 1500; var t0 = getTimer(); var _local2 = new Object(); _local2.mav = getVersion(); _local2.swfv = btn.getSWFVersion() || 6; _local2.swfurl = btn._url; _local2.fv = System.capabilities.version; _local2.os = System.capabilities.os; _local2.lang = System.capabilities.language; _local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY; var s = "?"; var _local3 = 0; for (var _local6 in _local2) { if (_local3 != 0) { s = s + "&"; } _local3++; s = ((s + _local6) + "=") + escape(_local2[_local6]); } if (!(netupAttempted || (_connected))) { var ping = btn.createEmptyMovieClip("ping", 777); var _local7 = btn.createEmptyMovieClip("nettest", 778); netupAttempted = true; ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer()); _local7.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 _local4 = btn.createEmptyMovieClip("clk", 1001); _local4._alpha = 0; _local4.beginFill(1044735); _local4.moveTo(0, 0); _local4.lineTo(0, btn._height); _local4.lineTo(btn._width, btn._height); _local4.lineTo(btn._width, 0); _local4.lineTo(0, 0); _local4.endFill(); _local4.onRelease = function () { if (mochi.as2.MochiServices.netup) { getURL (url + s, "_blank"); } else { getURL (burl, "_blank"); } if (onClick != undefined) { onClick(); } }; } static function setContainer(clip) { } static function stayOnTop(clip) { } static var _servURL = "http://www.mochiads.com/static/lib/services/"; static var _services = "services.swf"; static var _mochiLC = "MochiLC.swf"; static var _listenChannelName = "__ms_"; static var _connecting = false; static var _connected = false; static var netup = true; static var netupAttempted = false; static var servicesSync = new mochi.as2.MochiSync(); }Symbol 173 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0class mochi.as2.MochiEventDispatcher { var eventTable; function MochiEventDispatcher () { eventTable = {}; } function buildDelegate(thisObject, thatObject) { var _local2 = {thisObject:thisObject, thatObject:thatObject}; if (thatObject != undefined) { var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject)); _local2.delegate = function (args) { funct.call(thisObject, args); }; } else { _local2.delegate = thisObject; } return(_local2); } function compareDelegate(d_A, d_B) { if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) { return(false); } return(true); } function addEventListener(event, thisObject, thatObject) { removeEventListener(event, thisObject, thatObject); eventTable[event].push(buildDelegate(thisObject, thatObject)); } function removeEventListener(event, thisObject, thatObject) { var _local3 = buildDelegate(thisObject, thatObject); if (eventTable[event] == undefined) { eventTable[event] = []; return(undefined); } for (var _local4 in eventTable[event]) { if (!compareDelegate(eventTable[event][_local4], _local3)) { continue; } eventTable[event].splice(Number(_local4), 1); } } function triggerEvent(event, args) { if (eventTable[event] == undefined) { return(undefined); } for (var _local4 in eventTable[event]) { eventTable[event][_local4].delegate(args); } } }Symbol 174 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0class mochi.as2.MochiEvents { static var gameStart, levelStart; function MochiEvents () { } static function getVersion() { return(mochi.as2.MochiServices.getVersion()); } static function startSession(achievementID) { mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null); } static function trigger(kind, obj) { if (obj == undefined) { obj = {}; } else if (obj.kind != undefined) { trace("WARNING: optional arguements package contains key 'id', it will be overwritten"); obj.kind = kind; } mochi.as2.MochiServices.send("events_triggerEvent", {eventObject:obj}, null, null); } static function setNotifications(clip, style) { var _local2 = {}; for (var _local3 in style) { _local2[_local3] = style[_local3]; } _local2.clip = clip; mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null); } static function addEventListener(eventType, thisObject, thatObject) { _dispatcher.addEventListener(eventType, thisObject, thatObject); } static function triggerEvent(eventType, args) { _dispatcher.triggerEvent(eventType, args); } static function removeEventListener(eventType, thisObject, thatObject) { _dispatcher.removeEventListener(eventType, thisObject, thatObject); } static function startGame() { gameStart = new Date().getTime(); trigger("start_game"); } static function endGame() { var _local1 = new Date().getTime() - gameStart; trigger("end_game", {time:_local1}); } static function startLevel() { levelStart = new Date().getTime(); trigger("start_level"); } static function endLevel() { var _local1 = new Date().getTime() - levelStart; trigger("end_level", {time:_local1}); } static var ACHIEVEMENT_RECEIVED = "AchievementReceived"; static var ALIGN_TOP_LEFT = "ALIGN_TL"; static var ALIGN_TOP = "ALIGN_T"; static var ALIGN_TOP_RIGHT = "ALIGN_TR"; static var ALIGN_LEFT = "ALIGN_L"; static var ALIGN_CENTER = "ALIGN_C"; static var ALIGN_RIGHT = "ALIGN_R"; static var ALIGN_BOTTOM_LEFT = "ALIGN_BL"; static var ALIGN_BOTTOM = "ALIGN_B"; static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR"; static var FORMAT_SHORT = "ShortForm"; static var FORMAT_LONG = "LongForm"; static var _dispatcher = new mochi.as2.MochiEventDispatcher(); }Symbol 175 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0class mochi.as2.MochiSocial { function MochiSocial () { } static function getVersion() { return(mochi.as2.MochiServices.getVersion()); } static function showLoginWidget(options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options}); } static function hideLoginWidget() { mochi.as2.MochiServices.send("coins_hideLoginWidget"); } static function requestLogin() { mochi.as2.MochiServices.send("coins_requestLogin"); } static function getUserInfo() { mochi.as2.MochiServices.send("coins_getUserInfo"); } static function saveUserProperties(properties) { mochi.as2.MochiServices.send("coins_saveUserProperties", properties); } static function addEventListener(eventType, delegate) { _dispatcher.addEventListener(eventType, delegate); } static function triggerEvent(eventType, args) { _dispatcher.triggerEvent(eventType, args); } static function removeEventListener(eventType, delegate) { _dispatcher.removeEventListener(eventType, delegate); } static var LOGGED_IN = "LoggedIn"; static var LOGGED_OUT = "LoggedOut"; static var LOGIN_SHOW = "LoginShow"; static var LOGIN_HIDE = "LoginHide"; static var LOGIN_SHOWN = "LoginShown"; static var PROFILE_SHOW = "ProfileShow"; static var PROFILE_HIDE = "ProfileHide"; static var PROPERTIES_SAVED = "PropertySaved"; static var WIDGET_LOADED = "WidgetLoaded"; static var USER_INFO = "UserInfo"; static var ERROR = "Error"; static var IO_ERROR = "IOError"; static var NO_USER = "NoUser"; static var PROPERTIES_SIZE = "PropertiesSize"; static var _dispatcher = new mochi.as2.MochiEventDispatcher(); }Symbol 176 MovieClip [__Packages.ninjaclaw.NinjaAd] Frame 0class ninjaclaw.NinjaAd extends MovieClip { var timeInterval, _x, _y, removeMovieClip; function NinjaAd () { super(); trace("ninjaclaw ad diplayed"); mx.events.EventDispatcher.initialize(this); timeInterval = setInterval(this, "close", 5000); _x = Stage.width / 2; _y = Stage.height / 2; } function close() { trace("removeAD"); dispatchEvent({type:"AdClosed"}); clearInterval(timeInterval); removeMovieClip(); } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } }Symbol 177 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { trace(((("addEventListener(event:String=" + event) + ", handler=") + handler) + ")"); var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { trace(((("removeEventListener(event:String=" + event) + ", handler=") + handler) + ")"); var _local3 = "__q_" + event; _removeEventListener(this[_local3], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }Symbol 178 MovieClip [__Packages.AnswerBox] Frame 0class AnswerBox extends MovieClip { var _x, _y, gotoAndStop; function AnswerBox () { super(); mx.events.EventDispatcher.initialize(this); } function setAnswer(txt) { dtext = txt; } function getAnswer() { return(dtext); } function setLocation(x, y) { _x = x; _y = y; } function onRelease() { dispatchEvent({target:this, type:"RemoveAnswer", answer:getAnswer()}); } function onRollOver() { gotoAndStop("OVER"); } function onRollOut() { gotoAndStop("OUT"); } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } var dtext = ""; }Symbol 179 MovieClip [__Packages.ArrowButton] Frame 0class ArrowButton extends MovieClip { var _x, _y, gotoAndStop; function ArrowButton () { super(); mx.events.EventDispatcher.initialize(this); } function setLocation(x, y) { _x = x; _y = y; } function onRelease() { dispatchEvent({target:this, type:"Click"}); } function onRollOver() { gotoAndStop("OVER"); } function onRollOut() { gotoAndStop("OUT"); } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } var dtext = ""; }Symbol 180 MovieClip [__Packages.ListItem] Frame 0class ListItem extends MovieClip { var _x, _y, _visible, gotoAndStop; function ListItem () { super(); mx.events.EventDispatcher.initialize(this); } function setTxt(txt) { dtext = txt; } function getTxt() { return(dtext); } function setLocation(x, y) { _x = x; _y = y; } function setUsed(used) { trace("USED=" + used); if (used) { _visible = false; } if (!used) { _visible = true; } } function onRelease() { dispatchEvent({target:this, type:"ListClick", answer:getTxt()}); } function onRollOver() { gotoAndStop("OVER"); } function onRollOut() { gotoAndStop("OUT"); } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } var dtext = ""; }Symbol 181 MovieClip [__Packages.OptionButton] Frame 0class OptionButton extends MovieClip { var _x, _y, gotoAndStop; function OptionButton () { super(); mx.events.EventDispatcher.initialize(this); } function setLocation(x, y) { _x = x; _y = y; } function onRelease() { trace("SUBMIT"); dispatchEvent({target:this, type:"Click"}); } function onRollOver() { gotoAndStop("OVER"); } function onRollOut() { gotoAndStop("OUT"); } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } var dtext = ""; }Symbol 182 MovieClip [__Packages.Stats] Frame 0class Stats extends MovieClip { var ok_btn, line1_txt, _x, _y; function Stats (line1) { super(); trace("_STATS SCREEN"); mx.events.EventDispatcher.initialize(this); ok_btn.onRelease = mx.utils.Delegate.create(this, Click); } function addText(line1) { line1_txt = line1; } function setLocation(x, y) { _x = x; _y = y; } function Click() { dispatchEvent({type:"ExitStats"}); } function Remove() { } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } }Symbol 183 MovieClip [__Packages.mx.utils.Delegate] Frame 0class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }Symbol 184 MovieClip [__Packages.games.quiz.flagquiz.Instructions] Frame 0class games.quiz.flagquiz.Instructions extends MovieClip { var start_btn, _x, _y; function Instructions () { super(); mx.events.EventDispatcher.initialize(this); start_btn.onRelease = mx.utils.Delegate.create(this, EventClickStartButton); } function setLocation(x, y) { _x = x; _y = y; } function EventClickStartButton() { trace(" Click Start Button"); dispatchEvent({type:"StartGame"}); } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } }Symbol 185 MovieClip [__Packages.games.quiz.flagquiz.Menus] Frame 0class games.quiz.flagquiz.Menus extends MovieClip { var start_btn, _x, _y; function Menus () { super(); mx.events.EventDispatcher.initialize(this); start_btn.onRelease = mx.utils.Delegate.create(this, EventClickStartButton); } function setLocation(x, y) { _x = x; _y = y; } function EventClickStartButton() { trace(" Click Start Button"); dispatchEvent({type:"LoadInstructions"}); } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } }Symbol 186 MovieClip [__Packages.games.quiz.flagquiz.ImageMatcherApp] Frame 0class games.quiz.flagquiz.ImageMatcherApp { static var target_mc; var game, menu, instructions; function ImageMatcherApp (ima) { trace("Constructor ImageMatcherApp "); showAd(); } function showAd() { trace("ShowAd"); var _local3 = _root.attachMovie("NinjaAd", "NinjaAd" + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _local3.addEventListener("AdClosed", this); } static function main(target) { trace("Main"); target_mc = target; var _local1 = new games.quiz.flagquiz.ImageMatcherApp(games.quiz.flagquiz.ImageMatcherApp); } function loadMenu() { trace("NumberReactApp.loadMenu()"); game = new games.quiz.flagquiz.Game(target_mc); game.addEventListener("GameOver", this); menu = target_mc.attachMovie("FMenus", "menu", target_mc.getNextHighestDepth()); menu.setLocation(0, 0); menu.addEventListener("LoadInstructions", this); } function LoadInstructions(e) { trace("LoadInstructions"); menu.removeMovieClip(); delete menu; instructions = target_mc.attachMovie("FInstructions", "instructions", target_mc.getNextHighestDepth()); instructions.setLocation(0, 0); instructions.addEventListener("StartGame", this); } function StartGame(e) { trace("StartGame"); instructions.removeMovieClip(); delete instructions; game.run(); } function GameOver(e) { trace("\t\tGameOver(e:Object)"); showAd()(); } function AdClosed() { trace("AdClosed"); if (menu == undefined) { trace("MENU == UNDEFINED"); loadMenu(); } } }Symbol 187 MovieClip [__Packages.games.quiz.flagquiz.Game] Frame 0class games.quiz.flagquiz.Game { var target_mc, model, controller, view, stats_mc; function Game (target) { trace("Constructor Game "); mx.events.EventDispatcher.initialize(this); target_mc = target; model = new games.quiz.flagquiz.immvc.IMModel(); controller = new games.quiz.flagquiz.immvc.IMController(model); view = new games.quiz.flagquiz.immvc.IMView(model, controller, target); model.addObserver(view); model.addEventListener("DisplayResults", this); view.build(); model.init(); model.sendUpdate(); } function DisplayResults(e) { view.stop(); trace((("DisplayResults-Game " + e.cor) + "/") + e.tot); displayStats(e.cor, e.tot); } function displayStats(correctAnswers, totalAnswers) { var _local2 = ""; var _local3 = (correctAnswers / totalAnswers) * 100; if (_local3 > 50) { if (_local3 > 75) { if (_local3 == 100) { _local2 = "You are offically a world flag genius. You some how got them all right."; } else if (_local3 > 90) { _local2 = "You got over 90 percent correct. Not Perfect but you are still a flag expert."; } else { _local2 = "You did good. You certainly know your flags"; } } else { _local2 = "Not a bad score but you could do better "; } } else if (_local3 > 25) { _local2 = "What were you thinking... You should try again. You must know more than that."; } else { _local2 = "Quick cover your screen before anyone sees your score. I guess geography is not your strongest subject."; } stats_mc = target_mc.attachMovie("FStats", "stats", target_mc.getNextHighestDepth()); stats_mc.addText((((((((((((((("Well done you have completed the Flags of the World Quiz!\r\r" + _local2) + newline) + "") + newline) + "You correctly matched ") + correctAnswers) + " out of ") + totalAnswers) + " correctly.") + newline) + "") + newline) + "You got ") + Math.round(_local3)) + " PERCENT correct. "); stats_mc.setLocation(1, 1); stats_mc.addEventListener("ExitStats", this); } function ExitStats() { trace("'EXIT STATS'"); stats_mc.removeMovieClip(); stats_mc.removeEventListener("ExitStats"); del(); dispatchEvent({type:"GameOver"}); } function run() { trace("Game.run ()"); view.start(); } function getModel() { return(model); } function kill() { trace("Game.kill()"); } function del() { trace("Game.del()"); view.del(); delete view; } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } }Symbol 188 MovieClip [__Packages.util.Observable] Frame 0class util.Observable { var observers; function Observable () { observers = new Array(); } function addObserver(o) { if (o == null) { return(false); } var _local2 = 0; while (_local2 < observers.length) { if (observers[_local2] == o) { return(false); } _local2++; } observers.push(o); return(true); } function removeObserver(o) { var _local3 = observers.length; var _local2 = 0; while (_local2 < _local3) { if (observers[_local2] == o) { observers.splice(_local2, 1); return(true); } _local2++; } return(false); } function notifyObservers(infoObj) { if (infoObj == undefined) { infoObj = null; } if (!changed) { return(undefined); } var _local3 = observers.slice(0); clearChanged(); var _local2 = _local3.length - 1; while (_local2 >= 0) { _local3[_local2].update(this, infoObj); _local2--; } } function clearObservers() { observers = new Array(); } function setChanged() { changed = true; } function clearChanged() { changed = false; } function hasChanged() { return(changed); } function countObservers() { return(observers.length); } var changed = false; }Symbol 189 MovieClip [__Packages.util.Observer] Frame 0interface util.Observer { }Symbol 190 MovieClip [__Packages.games.quiz.flagquiz.immvc.IMModel] Frame 0class games.quiz.flagquiz.immvc.IMModel extends util.Observable { var imageList, noOfEntries, shuffledImage, setChanged, notifyObservers; function IMModel () { super(); imageList = ["Argentina", "Austria", "Brazil", "Cambodia", "Canada", "Chile", "China", "Cuba", "Egypt", "Finland", "Germany", "Ghana", "Holland", "Hong Kong", "India", "Kenya", "Lebanon", "Luxembourg", "Malaysia", "Portugal", "Republic of Ireland", "Romania", "Russia", "Rwanda", "Sierra Leone", "South Korea", "Thailand", "Turkey", "Uganda", "Uruguay", "USA", "Vietnam"]; noOfEntries = imageList.length; shuffledImage = []; mx.events.EventDispatcher.initialize(this); trace("Constructor IMModel "); } function init() { trace("IMModel.init()"); shuffledImage = addAnswers(mixArray(imageList)); imageList = addBooleans(imageList); traceArrays(); } function sendUpdate() { var _local3 = shuffledImage[displayedImageNo][0]; var _local2 = shuffledImage[displayedImageNo][1]; var _local4 = new games.quiz.flagquiz.immvc.IMUpdate(_local3, _local2, imageList); setChanged(); notifyObservers(_local4); } function traceArrays() { var _local3 = imageList.length; var _local2; trace("imageList="); _local2 = 0; while (_local2 < _local3) { trace(([_local2] + " ") + imageList[_local2]); _local2++; } trace("shuffledImage="); _local2 = 0; while (_local2 < _local3) { trace(([_local2] + " ") + shuffledImage[_local2]); _local2++; } } function addBooleans(array) { trace("imageList ="); var _local3 = array.slice(); var _local4 = []; var _local5 = _local3.length; var _local1 = _local5 - 1; while (_local1 > -1) { var _local2 = [_local3[_local1], false]; _local4[_local1] = _local2; _local1--; } return(_local4); } function addAnswers(array) { trace("imageList ="); var _local4 = array.slice(); var _local5 = []; var _local6 = _local4.length; var _local2 = _local6 - 1; while (_local2 > -1) { var _local3 = [_local4[_local2], answer]; _local5[_local2] = _local3; _local2--; } return(_local5); } function mixArray(array) { var _local3 = array.length; var _local2 = array.slice(); var _local5; var _local1; var _local4; _local1 = 0; while (_local1 < _local3) { _local4 = _local2[_local1]; _local5 = random(_local3); _local2[_local1] = _local2[_local5]; _local2[_local5] = _local4; _local1++; } return(_local2); } function clickNextImage(dir) { if (dir == "left") { if (displayedImageNo >= 0) { displayedImageNo = displayedImageNo - 1; } if (displayedImageNo < 0) { displayedImageNo = noOfEntries - 1; } } if (dir == "right") { if (displayedImageNo < noOfEntries) { displayedImageNo = displayedImageNo + 1; } if (displayedImageNo >= noOfEntries) { displayedImageNo = 0; } } var _local3 = shuffledImage[displayedImageNo][0]; var _local2 = shuffledImage[displayedImageNo][1]; var _local4 = new games.quiz.flagquiz.immvc.IMUpdate(_local3, _local2, imageList); setChanged(); notifyObservers(_local4); } function clickList(listItm) { trace("clickList-MODEL"); var _local5 = listItm; var _local4; _local4 = shuffledImage[displayedImageNo][1]; var _local3 = imageList.length; var _local2; if (_local4 != answer) { _local2 = 0; while (_local2 < _local3) { if (imageList[_local2][0] == _local4) { imageList[_local2][1] = false; } _local2++; } } shuffledImage[displayedImageNo][1] = _local5; _local2 = 0; while (_local2 < _local3) { if (imageList[_local2][0] == _local5) { imageList[_local2][1] = true; } _local2++; } var _local6 = shuffledImage[displayedImageNo][1]; var _local7 = new games.quiz.flagquiz.immvc.IMUpdate(undefined, _local6, imageList); setChanged(); notifyObservers(_local7); } function clickRemoveAnswer(ans) { trace("MODEL REMOVE ANS" + ans); var _local4 = ans; var _local5 = "click a country below"; shuffledImage[displayedImageNo][1] = _local5; var _local3 = imageList.length; var _local2; _local2 = 0; while (_local2 < _local3) { if (imageList[_local2][0] == _local4) { imageList[_local2][1] = false; } _local2++; } var _local6 = new games.quiz.flagquiz.immvc.IMUpdate(undefined, _local5, imageList); setChanged(); notifyObservers(_local6); } function calcResults() { trace("MODEL CALC RESULTS"); var _local4 = 0; var _local3 = shuffledImage.length; var _local2 = 0; while (_local2 < _local3) { if (shuffledImage[_local2][0] == shuffledImage[_local2][1]) { _local4 = _local4 + 1; } _local2++; } trace((("SCORE = " + _local4) + " OUT OF ") + _local3); dispatchEvent({target:this, type:"DisplayResults", cor:_local4, tot:_local3}); } function kill() { trace("IMModel.kill()"); } function del() { trace("IMModel.del()"); } function addEventListener() { } function removeEventListener() { } function dispatchEvent() { } var displayedImageNo = 0; var answer = "click a country below"; }Symbol 191 MovieClip [__Packages.games.quiz.flagquiz.immvc.IMUpdate] Frame 0class games.quiz.flagquiz.immvc.IMUpdate { var dispImage, dispAns, imageList; function IMUpdate (di, da, il) { dispImage = di; dispAns = da; imageList = il; } }Symbol 192 MovieClip [__Packages.mvc.View] Frame 0interface mvc.View { }Symbol 193 MovieClip [__Packages.mvc.Controller] Frame 0interface mvc.Controller { }Symbol 194 MovieClip [__Packages.mvc.AbstractView] Frame 0class mvc.AbstractView implements util.Observer, mvc.View { var model, controller; function AbstractView (m, c) { setModel(m); trace(c); if (!(c === undefined)) { setController(c); } } function defaultController(model) { return(null); } function setModel(m) { model = m; } function getModel() { return(model); } function setController(c) { controller = c; getController().setView(this); } function getController() { if (controller === undefined) { setController(defaultController(getModel())); } return(controller); } function update(o, infoObj) { } }Symbol 195 MovieClip [__Packages.games.quiz.flagquiz.immvc.IMView] Frame 0class games.quiz.flagquiz.immvc.IMView extends mvc.AbstractView { var target_mc, container_mc, imagecontainer_mc, mask, button_left, button_right, answerBox, submit_btn, help_btn, getController, currentImage; function IMView (m, c, target) { super(m, c); trace("Constructor IMView "); target_mc = target; drawContainer(target, 0, 0, CONTAINER_DEPTH); } function defaultController(model) { trace("IMView return default controller"); return(new games.quiz.flagquiz.immvc.IMController(model)); } function drawContainer(target_mc, x, y, depth) { container_mc = target_mc.createEmptyMovieClip("Container", depth); container_mc._x = x; container_mc._y = y; } function build() { trace("BUILD"); container_mc.attachMovie("FBackground", "background", BACKGROUND_DEPTH); imagecontainer_mc = container_mc.createEmptyMovieClip("ImageContainer", IMAGEVIEWER_DEPTH); imagecontainer_mc._x = 50; imagecontainer_mc._y = 5; mask = imagecontainer_mc.attachMovie("FImageViewerMask", "mask", MASK_DEPTH); button_left = container_mc.attachMovie("Fbutton_left", "button_left", BUTTON_DEPTH); button_left.setLocation(50, 325); button_right = container_mc.attachMovie("Fbutton_right", "button_right", BUTTON_DEPTH + 1); button_right.setLocation(500, 325); answerBox = container_mc.attachMovie("FAnswerBox", "ab", IMAGEANSWER_DEPTH); answerBox.setAnswer("Answer"); answerBox.setLocation(275, 315); submit_btn = container_mc.attachMovie("FSubmitButton", "sb", SUBMIT_BTN_DEPTH, {_x:215, _y:545}); help_btn = container_mc.attachMovie("FHelpButton", "hb", SUBMIT_BTN_DEPTH + 1, {_x:460, _y:540}); } function createList(list) { trace("create List"); var _local7 = 12; var _local4 = 350; var _local3; var _local6 = MIN_LIST_DEPTH; var _local2 = 0; while (_local2 <= (list.length - 1)) { trace("ListItem to be created =" + container_mc["li" + _local2]); if (container_mc["li" + _local2] == undefined) { trace("UNDEFINED"); if (_local6 >= MAX_LIST_DEPTH) { trace("LIST ITEM DEPTH ERROR!"); } _local6 = _local6 + 1; _local3 = container_mc.attachMovie("FListItem", "li" + _local2, _local6); _local3.setLocation(_local7, _local4); _local3.setTxt(list[_local2][0]); listItems.push(_local3); if (_local4 < 520) { _local4 = _local4 + 12; } else { _local7 = _local7 + 275; _local4 = 350; } } else { trace("LISTEXISTS"); container_mc["li" + _local2].setTxt(list[_local2][0]); container_mc["li" + _local2].setUsed(list[_local2][1]); } _local2++; } } function start() { button_left.addEventListener("Click", getController()); button_right.addEventListener("Click", getController()); answerBox.addEventListener("RemoveAnswer", getController()); var _local3 = listItems.length; var _local2; trace("imageList="); _local2 = 0; while (_local2 < _local3) { listItems[_local2].addEventListener("ListClick", getController()); _local2++; } submit_btn.addEventListener("Click", getController()); } function stop() { button_left.removeEventListener("Click", getController()); button_right.removeEventListener("Click", getController()); answerBox.removeEventListener("RemoveAnswer", getController()); var _local3 = listItems.length; var _local2; trace("imageList="); _local2 = 0; while (_local2 < _local3) { listItems[_local2].removeEventListener("ListClick", getController()); _local2++; } submit_btn.removeEventListener("Click", getController()); } function update(o, infoObj) { trace("View update()"); var _local2 = games.quiz.flagquiz.immvc.IMUpdate(infoObj); trace("info.dispImage= " + _local2.dispImage); trace("info.dispAns= " + _local2.dispAns); trace("info.imageList= " + _local2.imageList); var _local3 = _local2.dispImage; var _local4 = _local2.dispAns; var _local5 = _local2.imageList; if (_local3 != undefined) { loadImage(_local3); } if (_local4 != undefined) { displayAnswer(_local4); } createList(_local5); } function loadImage(imgname) { trace("LOADIMAGE " + imgname); if (currentImage != undefined) { currentImage.removeMovieClip(); } trace("LOAD" + imgname); currentImage = imagecontainer_mc.attachMovie(imgname, "ci", 101, {_x:225, _y:150}); } function displayAnswer(ans) { answerBox.setAnswer(ans); } function kill() { trace("View.kill()"); } function del() { trace("View.del()"); } static var BACKGROUND_DEPTH = 0; static var CONTAINER_DEPTH = 10; static var IMAGEVIEWER_DEPTH = 100; static var MASK_DEPTH = 105; static var IMAGEANSWER_DEPTH = 110; static var BUTTON_DEPTH = 120; static var MIN_LIST_DEPTH = 130; static var MAX_LIST_DEPTH = 200; static var SUBMIT_BTN_DEPTH = 210; var listItems = []; }Symbol 196 MovieClip [__Packages.games.quiz.flagquiz.ImageViewer] Frame 0class games.quiz.flagquiz.ImageViewer { var target_mc, containerDepth, borderThickness, borderColor, imageLoader, container_mc; function ImageViewer (target, depth, x, y, w, h, borderThickness, borderColor) { target_mc = target; containerDepth = depth; this.borderThickness = borderThickness; this.borderColor = borderColor; imageLoader = new MovieClipLoader(); imageLoader.addListener(this); buildViewer(x, y, w, h); } function buildViewer(x, y, w, h) { createMainContainer(x, y); createImageClip(); createImageClipMask(w, h); createBorder(w, h); } function createMainContainer(x, y) { container_mc = target_mc.createEmptyMovieClip("container_mc" + containerDepth, containerDepth); container_mc._x = x; container_mc._y = y; } function createImageClip() { container_mc.createEmptyMovieClip("image_mc", imageDepth); } function createImageClipMask(w, h) { if (!((w > 0) && (h > 0))) { return(undefined); } container_mc.createEmptyMovieClip("mask_mc", maskDepth); container_mc.mask_mc.moveTo(0, 0); container_mc.mask_mc.beginFill(255); container_mc.mask_mc.lineTo(w, 0); container_mc.mask_mc.lineTo(w, h); container_mc.mask_mc.lineTo(0, h); container_mc.mask_mc.lineTo(0, 0); container_mc.mask_mc.endFill(); container_mc.mask_mc._visible = false; } function createBorder(w, h) { if (!((w > 0) && (h > 0))) { return(undefined); } container_mc.createEmptyMovieClip("border_mc", borderDepth); container_mc.border_mc.lineStyle(borderThickness, borderColor); container_mc.border_mc.moveTo(0, 0); container_mc.border_mc.lineTo(w, 0); container_mc.border_mc.lineTo(w, h); container_mc.border_mc.lineTo(0, h); container_mc.border_mc.lineTo(0, 0); } function loadImage(URL) { imageLoader.loadClip(URL, container_mc.image_mc); container_mc.createTextField("loadStatus_txt", statusDepth, 0, 0, 0, 0); container_mc.loadStatus_txt.background = true; container_mc.loadStatus_txt.border = true; container_mc.loadStatus_txt.setNewTextFormat(new TextFormat("Arial, Helvetica, _sans", 10, borderColor, false, false, false, null, null, "right")); container_mc.loadStatus_txt.autoSize = "left"; container_mc.loadStatus_txt._y = 3; container_mc.loadStatus_txt._x = 3; container_mc.loadStatus_txt.text = "LOADING"; } function onLoadProgress(target, bytesLoaded, bytesTotal) { container_mc.loadStatus_txt.text = ((("LOADING: " + Math.floor(bytesLoaded / 1024)) + "/") + Math.floor(bytesTotal / 1024)) + " KB"; } function onLoadInit(target) { container_mc.loadStatus_txt.removeTextField(); container_mc.image_mc.setMask(container_mc.mask_mc); } function onLoadError(target, errorCode) { if (errorCode == "URLNotFound") { container_mc.loadStatus_txt.text = "ERROR: File not found."; } else if (errorCode == "LoadNeverCompleted") { container_mc.loadStatus_txt.text = "ERROR: Load failed."; } else { container_mc.loadStatus_txt.text = "Load error: " + errorCode; } } function destroy() { imageLoader.removeListener(this); container_mc.removeMovieClip(); } static var imageDepth = 0; static var maskDepth = 1; static var borderDepth = 2; static var statusDepth = 3; }Symbol 197 MovieClip [__Packages.mvc.AbstractController] Frame 0class mvc.AbstractController implements mvc.Controller { var model, view; function AbstractController (m) { setModel(m); } function setModel(m) { model = m; } function getModel() { return(model); } function setView(v) { view = v; } function getView() { return(view); } }Symbol 198 MovieClip [__Packages.games.quiz.flagquiz.immvc.IMController] Frame 0class games.quiz.flagquiz.immvc.IMController extends mvc.AbstractController { var getModel; function IMController (m) { super(m); trace("Constructor Controller"); } function Click(e) { switch (e.target) { case _level0.Container.button_right : games.quiz.flagquiz.immvc.IMModel(getModel()).clickNextImage("right"); break; case _level0.Container.button_left : games.quiz.flagquiz.immvc.IMModel(getModel()).clickNextImage("left"); break; case _level0.Container.sb : games.quiz.flagquiz.immvc.IMModel(getModel()).calcResults(); } } function RemoveAnswer(e) { trace("RemoveAnswer-Controller " + e.answer); games.quiz.flagquiz.immvc.IMModel(getModel()).clickRemoveAnswer(e.answer); } function ListClick(e) { trace("ListClick-Controller " + e.answer); trace(games.quiz.flagquiz.immvc.IMModel(getModel())); games.quiz.flagquiz.immvc.IMModel(getModel()).clickList(e.answer); } }Symbol 17 MovieClip [FMenus] Frame 1#initclip 39 Object.registerClass("FMenus", games.quiz.flagquiz.Menus); #endinitclipSymbol 24 MovieClip [FAnswerBox] Frame 1#initclip 31 Object.registerClass("FAnswerBox", AnswerBox); #endinitclip stop();Symbol 27 MovieClip [Fbutton_left] Frame 1#initclip 32 Object.registerClass("Fbutton_left", ArrowButton); #endinitclip stop();Symbol 29 MovieClip [Fbutton_right] Frame 1#initclip 33 Object.registerClass("Fbutton_right", ArrowButton); #endinitclip stop();Symbol 34 MovieClip [FListItem] Frame 1#initclip 34 Object.registerClass("FListItem", ListItem); #endinitclip stop();Symbol 41 MovieClip [FSubmitButton] Frame 1#initclip 35 Object.registerClass("FSubmitButton", OptionButton); #endinitclip stop();Symbol 41 MovieClip [FSubmitButton] Frame 11stop();Symbol 51 MovieClip [FStats] Frame 1#initclip 36 Object.registerClass("FStats", Stats); #endinitclipSymbol 57 MovieClip [FHelpButton] Frame 1#initclip 37 Object.registerClass("FHelpButton", OptionButton); #endinitclip stop();Symbol 57 MovieClip [FHelpButton] Frame 10stop();Symbol 71 MovieClip [FInstructions] Frame 1#initclip 38 Object.registerClass("FInstructions", games.quiz.flagquiz.Instructions); #endinitclipSymbol 71 MovieClip [FInstructions] Frame 100gotoAndPlay (30);
Library Items
Symbol 1 Graphic | Used by:4 | |
Symbol 2 Font | Used by:3 5 6 | |
Symbol 3 Text | Uses:2 | Used by:4 |
Symbol 4 Button | Uses:1 3 | Used by:9 |
Symbol 5 Text | Uses:2 | Used by:9 |
Symbol 6 Text | Uses:2 | Used by:9 |
Symbol 7 Graphic | Used by:8 | |
Symbol 8 MovieClip | Uses:7 | Used by:9 |
Symbol 9 MovieClip [NinjaAd] | Uses:4 5 6 8 | Used by:Timeline |
Symbol 170 MovieClip [__Packages.mochi.as2.MochiAd] | ||
Symbol 171 MovieClip [__Packages.mochi.as2.MochiSync] | ||
Symbol 172 MovieClip [__Packages.mochi.as2.MochiServices] | ||
Symbol 173 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] | ||
Symbol 174 MovieClip [__Packages.mochi.as2.MochiEvents] | ||
Symbol 175 MovieClip [__Packages.mochi.as2.MochiSocial] | ||
Symbol 176 MovieClip [__Packages.ninjaclaw.NinjaAd] | ||
Symbol 177 MovieClip [__Packages.mx.events.EventDispatcher] | ||
Symbol 178 MovieClip [__Packages.AnswerBox] | ||
Symbol 179 MovieClip [__Packages.ArrowButton] | ||
Symbol 180 MovieClip [__Packages.ListItem] | ||
Symbol 181 MovieClip [__Packages.OptionButton] | ||
Symbol 182 MovieClip [__Packages.Stats] | ||
Symbol 183 MovieClip [__Packages.mx.utils.Delegate] | ||
Symbol 184 MovieClip [__Packages.games.quiz.flagquiz.Instructions] | ||
Symbol 185 MovieClip [__Packages.games.quiz.flagquiz.Menus] | ||
Symbol 186 MovieClip [__Packages.games.quiz.flagquiz.ImageMatcherApp] | ||
Symbol 187 MovieClip [__Packages.games.quiz.flagquiz.Game] | ||
Symbol 188 MovieClip [__Packages.util.Observable] | ||
Symbol 189 MovieClip [__Packages.util.Observer] | ||
Symbol 190 MovieClip [__Packages.games.quiz.flagquiz.immvc.IMModel] | ||
Symbol 191 MovieClip [__Packages.games.quiz.flagquiz.immvc.IMUpdate] | ||
Symbol 192 MovieClip [__Packages.mvc.View] | ||
Symbol 193 MovieClip [__Packages.mvc.Controller] | ||
Symbol 194 MovieClip [__Packages.mvc.AbstractView] | ||
Symbol 195 MovieClip [__Packages.games.quiz.flagquiz.immvc.IMView] | ||
Symbol 196 MovieClip [__Packages.games.quiz.flagquiz.ImageViewer] | ||
Symbol 197 MovieClip [__Packages.mvc.AbstractController] | ||
Symbol 198 MovieClip [__Packages.games.quiz.flagquiz.immvc.IMController] | ||
Symbol 10 Graphic | Used by:15 17 71 | |
Symbol 11 Font | Used by:12 16 56 63 64 70 | |
Symbol 12 Text | Uses:11 | Used by:15 |
Symbol 13 Graphic | Used by:15 | |
Symbol 14 Graphic | Used by:15 50 | |
Symbol 15 Button | Uses:10 12 13 14 | Used by:17 71 |
Symbol 16 Text | Uses:11 | Used by:17 |
Symbol 17 MovieClip [FMenus] | Uses:10 15 16 | Used by:Timeline |
Symbol 18 Graphic | Used by:24 | |
Symbol 19 Font | Used by:20 22 23 31 33 | |
Symbol 20 EditableText | Uses:19 | Used by:24 |
Symbol 21 Graphic | Used by:24 | |
Symbol 22 EditableText | Uses:19 | Used by:24 |
Symbol 23 EditableText | Uses:19 | Used by:24 |
Symbol 24 MovieClip [FAnswerBox] | Uses:18 20 21 22 23 | Used by:Timeline |
Symbol 25 Graphic | Used by:26 27 | |
Symbol 26 MovieClip | Uses:25 | Used by:27 29 |
Symbol 27 MovieClip [Fbutton_left] | Uses:25 26 | Used by:Timeline |
Symbol 28 Graphic | Used by:29 | |
Symbol 29 MovieClip [Fbutton_right] | Uses:28 26 | Used by:Timeline |
Symbol 30 Graphic | Used by:34 | |
Symbol 31 EditableText | Uses:19 | Used by:34 |
Symbol 32 Graphic | Used by:34 | |
Symbol 33 EditableText | Uses:19 | Used by:34 |
Symbol 34 MovieClip [FListItem] | Uses:30 31 32 33 | Used by:Timeline |
Symbol 35 Graphic | Used by:36 | |
Symbol 36 MovieClip | Uses:35 | Used by:41 |
Symbol 37 Font | Used by:38 | |
Symbol 38 Text | Uses:37 | Used by:41 |
Symbol 39 Graphic | Used by:40 | |
Symbol 40 MovieClip | Uses:39 | Used by:41 |
Symbol 41 MovieClip [FSubmitButton] | Uses:36 38 40 | Used by:Timeline |
Symbol 42 Graphic | Used by:51 | |
Symbol 43 Font | Used by:44 | |
Symbol 44 EditableText | Uses:43 | Used by:51 |
Symbol 45 Font | Used by:46 | |
Symbol 46 Text | Uses:45 | Used by:51 |
Symbol 47 Font | Used by:48 49 | |
Symbol 48 Text | Uses:47 | Used by:50 |
Symbol 49 Text | Uses:47 | Used by:50 |
Symbol 50 Button | Uses:14 48 49 | Used by:51 |
Symbol 51 MovieClip [FStats] | Uses:42 44 46 50 | Used by:Timeline |
Symbol 52 Font | Used by:53 | |
Symbol 53 Text | Uses:52 | Used by:57 |
Symbol 54 Graphic | Used by:57 | |
Symbol 55 Font | Used by:56 64 65 70 | |
Symbol 56 Text | Uses:55 11 | Used by:57 |
Symbol 57 MovieClip [FHelpButton] | Uses:53 54 56 | Used by:Timeline |
Symbol 58 Graphic | Used by:59 | |
Symbol 59 MovieClip [FBackground] | Uses:58 | Used by:Timeline |
Symbol 60 Graphic | Used by:71 | |
Symbol 61 Bitmap | Used by:62 | |
Symbol 62 Graphic | Uses:61 | Used by:71 |
Symbol 63 Text | Uses:11 | Used by:71 |
Symbol 64 Text | Uses:55 11 | Used by:71 |
Symbol 65 Text | Uses:55 | Used by:71 |
Symbol 66 Graphic | Used by:71 | |
Symbol 67 Graphic | Used by:71 | |
Symbol 68 Graphic | Used by:71 | |
Symbol 69 Graphic | Used by:71 | |
Symbol 70 Text | Uses:55 11 | Used by:71 |
Symbol 71 MovieClip [FInstructions] | Uses:10 15 60 62 63 64 65 66 67 68 69 70 | Used by:Timeline |
Symbol 72 Graphic | Used by:73 | |
Symbol 73 MovieClip [FImageViewerMask] | Uses:72 | Used by:Timeline |
Symbol 74 Bitmap | Used by:75 | |
Symbol 75 Graphic | Uses:74 | Used by:76 |
Symbol 76 MovieClip [Austria] | Uses:75 | Used by:Timeline |
Symbol 77 Bitmap | Used by:78 | |
Symbol 78 Graphic | Uses:77 | Used by:79 |
Symbol 79 MovieClip [Brazil] | Uses:78 | Used by:Timeline |
Symbol 80 Bitmap | Used by:81 | |
Symbol 81 Graphic | Uses:80 | Used by:82 |
Symbol 82 MovieClip [Cambodia] | Uses:81 | Used by:Timeline |
Symbol 83 Bitmap | Used by:84 | |
Symbol 84 Graphic | Uses:83 | Used by:85 |
Symbol 85 MovieClip [Canada] | Uses:84 | Used by:Timeline |
Symbol 86 Bitmap | Used by:87 | |
Symbol 87 Graphic | Uses:86 | Used by:88 |
Symbol 88 MovieClip [Chile] | Uses:87 | Used by:Timeline |
Symbol 89 Bitmap | Used by:90 | |
Symbol 90 Graphic | Uses:89 | Used by:91 |
Symbol 91 MovieClip [China] | Uses:90 | Used by:Timeline |
Symbol 92 Bitmap | Used by:93 | |
Symbol 93 Graphic | Uses:92 | Used by:94 |
Symbol 94 MovieClip [Cuba] | Uses:93 | Used by:Timeline |
Symbol 95 Bitmap | Used by:96 | |
Symbol 96 Graphic | Uses:95 | Used by:97 |
Symbol 97 MovieClip [Egypt] | Uses:96 | Used by:Timeline |
Symbol 98 Bitmap | Used by:99 | |
Symbol 99 Graphic | Uses:98 | Used by:100 |
Symbol 100 MovieClip [Finland] | Uses:99 | Used by:Timeline |
Symbol 101 Bitmap | Used by:102 | |
Symbol 102 Graphic | Uses:101 | Used by:103 |
Symbol 103 MovieClip [Germany] | Uses:102 | Used by:Timeline |
Symbol 104 Bitmap | Used by:105 | |
Symbol 105 Graphic | Uses:104 | Used by:106 |
Symbol 106 MovieClip [Ghana] | Uses:105 | Used by:Timeline |
Symbol 107 Bitmap | Used by:108 | |
Symbol 108 Graphic | Uses:107 | Used by:109 |
Symbol 109 MovieClip [Holland] | Uses:108 | Used by:Timeline |
Symbol 110 Bitmap | Used by:111 | |
Symbol 111 Graphic | Uses:110 | Used by:112 |
Symbol 112 MovieClip [Hong Kong] | Uses:111 | Used by:Timeline |
Symbol 113 Bitmap | Used by:114 | |
Symbol 114 Graphic | Uses:113 | Used by:115 |
Symbol 115 MovieClip [India] | Uses:114 | Used by:Timeline |
Symbol 116 Bitmap | Used by:117 | |
Symbol 117 Graphic | Uses:116 | Used by:118 |
Symbol 118 MovieClip [Kenya] | Uses:117 | Used by:Timeline |
Symbol 119 Bitmap | Used by:120 | |
Symbol 120 Graphic | Uses:119 | Used by:121 |
Symbol 121 MovieClip [Lebanon] | Uses:120 | Used by:Timeline |
Symbol 122 Bitmap | Used by:123 | |
Symbol 123 Graphic | Uses:122 | Used by:124 |
Symbol 124 MovieClip [Luxembourg] | Uses:123 | Used by:Timeline |
Symbol 125 Bitmap | Used by:126 | |
Symbol 126 Graphic | Uses:125 | Used by:127 |
Symbol 127 MovieClip [Malaysia] | Uses:126 | Used by:Timeline |
Symbol 128 Bitmap | Used by:129 | |
Symbol 129 Graphic | Uses:128 | Used by:130 |
Symbol 130 MovieClip [Portugal] | Uses:129 | Used by:Timeline |
Symbol 131 Bitmap | Used by:132 | |
Symbol 132 Graphic | Uses:131 | Used by:133 |
Symbol 133 MovieClip [Republic of Ireland] | Uses:132 | Used by:Timeline |
Symbol 134 Bitmap | Used by:135 | |
Symbol 135 Graphic | Uses:134 | Used by:136 |
Symbol 136 MovieClip [Romania] | Uses:135 | Used by:Timeline |
Symbol 137 Bitmap | Used by:138 | |
Symbol 138 Graphic | Uses:137 | Used by:139 |
Symbol 139 MovieClip [Russia] | Uses:138 | Used by:Timeline |
Symbol 140 Bitmap | Used by:141 | |
Symbol 141 Graphic | Uses:140 | Used by:142 |
Symbol 142 MovieClip [Rwanda] | Uses:141 | Used by:Timeline |
Symbol 143 Bitmap | Used by:144 | |
Symbol 144 Graphic | Uses:143 | Used by:145 |
Symbol 145 MovieClip [Sierra Leone] | Uses:144 | Used by:Timeline |
Symbol 146 Bitmap | Used by:147 | |
Symbol 147 Graphic | Uses:146 | Used by:148 |
Symbol 148 MovieClip [South Korea] | Uses:147 | Used by:Timeline |
Symbol 149 Bitmap | Used by:150 | |
Symbol 150 Graphic | Uses:149 | Used by:151 |
Symbol 151 MovieClip [Thailand] | Uses:150 | Used by:Timeline |
Symbol 152 Bitmap | Used by:153 | |
Symbol 153 Graphic | Uses:152 | Used by:154 |
Symbol 154 MovieClip [Turkey] | Uses:153 | Used by:Timeline |
Symbol 155 Bitmap | Used by:156 | |
Symbol 156 Graphic | Uses:155 | Used by:157 |
Symbol 157 MovieClip [Uganda] | Uses:156 | Used by:Timeline |
Symbol 158 Bitmap | Used by:159 | |
Symbol 159 Graphic | Uses:158 | Used by:160 |
Symbol 160 MovieClip [Uruguay] | Uses:159 | Used by:Timeline |
Symbol 161 Bitmap | Used by:162 | |
Symbol 162 Graphic | Uses:161 | Used by:163 |
Symbol 163 MovieClip [USA] | Uses:162 | Used by:Timeline |
Symbol 164 Bitmap | Used by:165 | |
Symbol 165 Graphic | Uses:164 | Used by:166 |
Symbol 166 MovieClip [Vietnam] | Uses:165 | Used by:Timeline |
Symbol 167 Bitmap | Used by:168 | |
Symbol 168 Graphic | Uses:167 | Used by:169 |
Symbol 169 MovieClip [Argentina] | Uses:168 | Used by:Timeline |
Instance Names
"link_btn" | Symbol 9 MovieClip [NinjaAd] Frame 1 | Symbol 4 Button |
"start_btn" | Symbol 17 MovieClip [FMenus] Frame 1 | Symbol 15 Button |
"ok_btn" | Symbol 51 MovieClip [FStats] Frame 1 | Symbol 50 Button |
"start_btn" | Symbol 71 MovieClip [FInstructions] Frame 1 | Symbol 15 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 9 as "NinjaAd" |
ExportAssets (56) | Timeline Frame 1 | Symbol 170 as "__Packages.mochi.as2.MochiAd" |
ExportAssets (56) | Timeline Frame 1 | Symbol 171 as "__Packages.mochi.as2.MochiSync" |
ExportAssets (56) | Timeline Frame 1 | Symbol 172 as "__Packages.mochi.as2.MochiServices" |
ExportAssets (56) | Timeline Frame 1 | Symbol 173 as "__Packages.mochi.as2.MochiEventDispatcher" |
ExportAssets (56) | Timeline Frame 1 | Symbol 174 as "__Packages.mochi.as2.MochiEvents" |
ExportAssets (56) | Timeline Frame 1 | Symbol 175 as "__Packages.mochi.as2.MochiSocial" |
ExportAssets (56) | Timeline Frame 1 | Symbol 176 as "__Packages.ninjaclaw.NinjaAd" |
ExportAssets (56) | Timeline Frame 1 | Symbol 177 as "__Packages.mx.events.EventDispatcher" |
ExportAssets (56) | Timeline Frame 1 | Symbol 178 as "__Packages.AnswerBox" |
ExportAssets (56) | Timeline Frame 1 | Symbol 179 as "__Packages.ArrowButton" |
ExportAssets (56) | Timeline Frame 1 | Symbol 180 as "__Packages.ListItem" |
ExportAssets (56) | Timeline Frame 1 | Symbol 181 as "__Packages.OptionButton" |
ExportAssets (56) | Timeline Frame 1 | Symbol 182 as "__Packages.Stats" |
ExportAssets (56) | Timeline Frame 1 | Symbol 183 as "__Packages.mx.utils.Delegate" |
ExportAssets (56) | Timeline Frame 1 | Symbol 184 as "__Packages.games.quiz.flagquiz.Instructions" |
ExportAssets (56) | Timeline Frame 1 | Symbol 185 as "__Packages.games.quiz.flagquiz.Menus" |
ExportAssets (56) | Timeline Frame 1 | Symbol 186 as "__Packages.games.quiz.flagquiz.ImageMatcherApp" |
ExportAssets (56) | Timeline Frame 1 | Symbol 187 as "__Packages.games.quiz.flagquiz.Game" |
ExportAssets (56) | Timeline Frame 1 | Symbol 188 as "__Packages.util.Observable" |
ExportAssets (56) | Timeline Frame 1 | Symbol 189 as "__Packages.util.Observer" |
ExportAssets (56) | Timeline Frame 1 | Symbol 190 as "__Packages.games.quiz.flagquiz.immvc.IMModel" |
ExportAssets (56) | Timeline Frame 1 | Symbol 191 as "__Packages.games.quiz.flagquiz.immvc.IMUpdate" |
ExportAssets (56) | Timeline Frame 1 | Symbol 192 as "__Packages.mvc.View" |
ExportAssets (56) | Timeline Frame 1 | Symbol 193 as "__Packages.mvc.Controller" |
ExportAssets (56) | Timeline Frame 1 | Symbol 194 as "__Packages.mvc.AbstractView" |
ExportAssets (56) | Timeline Frame 1 | Symbol 195 as "__Packages.games.quiz.flagquiz.immvc.IMView" |
ExportAssets (56) | Timeline Frame 1 | Symbol 196 as "__Packages.games.quiz.flagquiz.ImageViewer" |
ExportAssets (56) | Timeline Frame 1 | Symbol 197 as "__Packages.mvc.AbstractController" |
ExportAssets (56) | Timeline Frame 1 | Symbol 198 as "__Packages.games.quiz.flagquiz.immvc.IMController" |
ExportAssets (56) | Timeline Frame 12 | Symbol 17 as "FMenus" |
ExportAssets (56) | Timeline Frame 12 | Symbol 24 as "FAnswerBox" |
ExportAssets (56) | Timeline Frame 12 | Symbol 27 as "Fbutton_left" |
ExportAssets (56) | Timeline Frame 12 | Symbol 29 as "Fbutton_right" |
ExportAssets (56) | Timeline Frame 12 | Symbol 34 as "FListItem" |
ExportAssets (56) | Timeline Frame 12 | Symbol 41 as "FSubmitButton" |
ExportAssets (56) | Timeline Frame 12 | Symbol 51 as "FStats" |
ExportAssets (56) | Timeline Frame 12 | Symbol 57 as "FHelpButton" |
ExportAssets (56) | Timeline Frame 12 | Symbol 59 as "FBackground" |
ExportAssets (56) | Timeline Frame 12 | Symbol 71 as "FInstructions" |
ExportAssets (56) | Timeline Frame 12 | Symbol 73 as "FImageViewerMask" |
ExportAssets (56) | Timeline Frame 12 | Symbol 76 as "Austria" |
ExportAssets (56) | Timeline Frame 12 | Symbol 79 as "Brazil" |
ExportAssets (56) | Timeline Frame 12 | Symbol 82 as "Cambodia" |
ExportAssets (56) | Timeline Frame 12 | Symbol 85 as "Canada" |
ExportAssets (56) | Timeline Frame 12 | Symbol 88 as "Chile" |
ExportAssets (56) | Timeline Frame 12 | Symbol 91 as "China" |
ExportAssets (56) | Timeline Frame 12 | Symbol 94 as "Cuba" |
ExportAssets (56) | Timeline Frame 12 | Symbol 97 as "Egypt" |
ExportAssets (56) | Timeline Frame 12 | Symbol 100 as "Finland" |
ExportAssets (56) | Timeline Frame 12 | Symbol 103 as "Germany" |
ExportAssets (56) | Timeline Frame 12 | Symbol 106 as "Ghana" |
ExportAssets (56) | Timeline Frame 12 | Symbol 109 as "Holland" |
ExportAssets (56) | Timeline Frame 12 | Symbol 112 as "Hong Kong" |
ExportAssets (56) | Timeline Frame 12 | Symbol 115 as "India" |
ExportAssets (56) | Timeline Frame 12 | Symbol 118 as "Kenya" |
ExportAssets (56) | Timeline Frame 12 | Symbol 121 as "Lebanon" |
ExportAssets (56) | Timeline Frame 12 | Symbol 124 as "Luxembourg" |
ExportAssets (56) | Timeline Frame 12 | Symbol 127 as "Malaysia" |
ExportAssets (56) | Timeline Frame 12 | Symbol 130 as "Portugal" |
ExportAssets (56) | Timeline Frame 12 | Symbol 133 as "Republic of Ireland" |
ExportAssets (56) | Timeline Frame 12 | Symbol 136 as "Romania" |
ExportAssets (56) | Timeline Frame 12 | Symbol 139 as "Russia" |
ExportAssets (56) | Timeline Frame 12 | Symbol 142 as "Rwanda" |
ExportAssets (56) | Timeline Frame 12 | Symbol 145 as "Sierra Leone" |
ExportAssets (56) | Timeline Frame 12 | Symbol 148 as "South Korea" |
ExportAssets (56) | Timeline Frame 12 | Symbol 151 as "Thailand" |
ExportAssets (56) | Timeline Frame 12 | Symbol 154 as "Turkey" |
ExportAssets (56) | Timeline Frame 12 | Symbol 157 as "Uganda" |
ExportAssets (56) | Timeline Frame 12 | Symbol 160 as "Uruguay" |
ExportAssets (56) | Timeline Frame 12 | Symbol 163 as "USA" |
ExportAssets (56) | Timeline Frame 12 | Symbol 166 as "Vietnam" |
ExportAssets (56) | Timeline Frame 12 | Symbol 169 as "Argentina" |
Labels
"loading" | Frame 4 |
"main" | Frame 15 |
"OUT" | Symbol 24 MovieClip [FAnswerBox] Frame 1 |
"OVER" | Symbol 24 MovieClip [FAnswerBox] Frame 16 |
"OUT" | Symbol 27 MovieClip [Fbutton_left] Frame 1 |
"OVER" | Symbol 27 MovieClip [Fbutton_left] Frame 11 |
"OUT" | Symbol 29 MovieClip [Fbutton_right] Frame 1 |
"OVER" | Symbol 29 MovieClip [Fbutton_right] Frame 11 |
"OUT" | Symbol 34 MovieClip [FListItem] Frame 1 |
"OVER" | Symbol 34 MovieClip [FListItem] Frame 12 |
"OUT" | Symbol 41 MovieClip [FSubmitButton] Frame 1 |
"OVER" | Symbol 41 MovieClip [FSubmitButton] Frame 11 |
"OUT" | Symbol 57 MovieClip [FHelpButton] Frame 1 |
"OVER" | Symbol 57 MovieClip [FHelpButton] Frame 10 |
"fade in" | Symbol 71 MovieClip [FInstructions] Frame 1 |
Dynamic Text Variables
dtext | Symbol 20 EditableText | "dtext" |
dtext | Symbol 22 EditableText | "dtext" |
dtext | Symbol 31 EditableText | "listitem" |
dtext | Symbol 33 EditableText | "listitem" |
line1_txt | Symbol 44 EditableText | "TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT " |
|