Section 1
//CampaignInfo (com.google.analytics.campaign.CampaignInfo)
package com.google.analytics.campaign {
import com.google.analytics.utils.*;
public class CampaignInfo {
private var _new:Boolean;
private var _empty:Boolean;
public function CampaignInfo(_arg1:Boolean=true, _arg2:Boolean=false){
_empty = _arg1;
_new = _arg2;
}
public function toURLString():String{
var _local1:Variables = toVariables();
return (_local1.toString());
}
public function isNew():Boolean{
return (_new);
}
public function get utmcn():String{
return ("1");
}
public function isEmpty():Boolean{
return (_empty);
}
public function toVariables():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
if (((!(isEmpty())) && (isNew()))){
_local1.utmcn = utmcn;
};
if (((!(isEmpty())) && (!(isNew())))){
_local1.utmcr = utmcr;
};
return (_local1);
}
public function get utmcr():String{
return ("1");
}
}
}//package com.google.analytics.campaign
Section 2
//CampaignKey (com.google.analytics.campaign.CampaignKey)
package com.google.analytics.campaign {
public class CampaignKey {
public var UCMD:String;// = "utm_medium"
public var UCID:String;// = "utm_id"
public var UCTR:String;// = "utm_term"
public var UCSR:String;// = "utm_source"
public var UCNO:String;// = "utm_nooverride"
public var UCCN:String;// = "utm_campaign"
public var UGCLID:String;// = "gclid"
public var UCCT:String;// = "utm_content"
}
}//package com.google.analytics.campaign
Section 3
//CampaignManager (com.google.analytics.campaign.CampaignManager)
package com.google.analytics.campaign {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import com.google.analytics.utils.*;
public class CampaignManager {
private var _config:Configuration;
private var _domainHash:Number;
private var _debug:DebugConfiguration;
private var _timeStamp:Number;
private var _referrer:String;
private var _buffer:Buffer;
public static const trackingDelimiter:String = "|";
public function CampaignManager(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Number, _arg5:String, _arg6:Number){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_domainHash = _arg4;
_referrer = _arg5;
_timeStamp = _arg6;
}
public function getCampaignInformation(_arg1:String, _arg2:Boolean):CampaignInfo{
var _local4:CampaignTracker;
var _local8:CampaignTracker;
var _local9:int;
var _local3:CampaignInfo = new CampaignInfo();
var _local5:Boolean;
var _local6:Boolean;
var _local7:int;
if (((_config.allowLinker) && (_buffer.isGenuine()))){
if (!_buffer.hasUTMZ()){
return (_local3);
};
};
_local4 = getTrackerFromSearchString(_arg1);
if (isValid(_local4)){
_local6 = hasNoOverride(_arg1);
if (((_local6) && (!(_buffer.hasUTMZ())))){
return (_local3);
};
};
if (!isValid(_local4)){
_local4 = getOrganicCampaign();
if (((!(_buffer.hasUTMZ())) && (isIgnoredKeyword(_local4)))){
return (_local3);
};
};
if (((!(isValid(_local4))) && (_arg2))){
_local4 = getReferrerCampaign();
if (((!(_buffer.hasUTMZ())) && (isIgnoredReferral(_local4)))){
return (_local3);
};
};
if (!isValid(_local4)){
if (((!(_buffer.hasUTMZ())) && (_arg2))){
_local4 = getDirectCampaign();
};
};
if (!isValid(_local4)){
return (_local3);
};
if (((_buffer.hasUTMZ()) && (!(_buffer.utmz.isEmpty())))){
_local8 = new CampaignTracker();
_local8.fromTrackerString(_buffer.utmz.campaignTracking);
_local5 = (_local8.toTrackerString() == _local4.toTrackerString());
_local7 = _buffer.utmz.responseCount;
};
if (((!(_local5)) || (_arg2))){
_local9 = _buffer.utma.sessionCount;
_local7++;
if (_local9 == 0){
_local9 = 1;
};
_buffer.utmz.domainHash = _domainHash;
_buffer.utmz.campaignCreation = _timeStamp;
_buffer.utmz.campaignSessions = _local9;
_buffer.utmz.responseCount = _local7;
_buffer.utmz.campaignTracking = _local4.toTrackerString();
_debug.info(_buffer.utmz.toString(), VisualDebugMode.geek);
_local3 = new CampaignInfo(false, true);
} else {
_local3 = new CampaignInfo(false, false);
};
return (_local3);
}
public function hasNoOverride(_arg1:String):Boolean{
var _local2:CampaignKey = _config.campaignKey;
if (_arg1 == ""){
return (false);
};
var _local3:Variables = new Variables(_arg1);
var _local4 = "";
if (_local3.hasOwnProperty(_local2.UCNO)){
_local4 = _local3[_local2.UCNO];
switch (_local4){
case "1":
return (true);
case "":
case "0":
default:
return (false);
};
};
return (false);
}
public function getTrackerFromSearchString(_arg1:String):CampaignTracker{
var _local2:CampaignTracker = getOrganicCampaign();
var _local3:CampaignTracker = new CampaignTracker();
var _local4:CampaignKey = _config.campaignKey;
if (_arg1 == ""){
return (_local3);
};
var _local5:Variables = new Variables(_arg1);
if (_local5.hasOwnProperty(_local4.UCID)){
_local3.id = _local5[_local4.UCID];
};
if (_local5.hasOwnProperty(_local4.UCSR)){
_local3.source = _local5[_local4.UCSR];
};
if (_local5.hasOwnProperty(_local4.UGCLID)){
_local3.clickId = _local5[_local4.UGCLID];
};
if (_local5.hasOwnProperty(_local4.UCCN)){
_local3.name = _local5[_local4.UCCN];
} else {
_local3.name = "(not set)";
};
if (_local5.hasOwnProperty(_local4.UCMD)){
_local3.medium = _local5[_local4.UCMD];
} else {
_local3.medium = "(not set)";
};
if (_local5.hasOwnProperty(_local4.UCTR)){
_local3.term = _local5[_local4.UCTR];
} else {
if (((_local2) && (!((_local2.term == ""))))){
_local3.term = _local2.term;
};
};
if (_local5.hasOwnProperty(_local4.UCCT)){
_local3.content = _local5[_local4.UCCT];
};
return (_local3);
}
public function getOrganicCampaign():CampaignTracker{
var _local1:CampaignTracker;
var _local4:Array;
var _local5:OrganicReferrer;
var _local6:String;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
var _local2:URL = new URL(_referrer);
var _local3 = "";
if (_local2.hostName != ""){
if (_local2.hostName.indexOf(".") > -1){
_local4 = _local2.hostName.split(".");
switch (_local4.length){
case 2:
_local3 = _local4[0];
break;
case 3:
_local3 = _local4[1];
break;
};
};
};
if (_config.organic.match(_local3)){
_local5 = _config.organic.getReferrerByName(_local3);
_local6 = _config.organic.getKeywordValue(_local5, _local2.search);
_local1 = new CampaignTracker();
_local1.source = _local5.engine;
_local1.name = "(organic)";
_local1.medium = "organic";
_local1.term = _local6;
};
return (_local1);
}
public function getDirectCampaign():CampaignTracker{
var _local1:CampaignTracker = new CampaignTracker();
_local1.source = "(direct)";
_local1.name = "(direct)";
_local1.medium = "(none)";
return (_local1);
}
public function isIgnoredKeyword(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "organic")))){
return (_config.organic.isIgnoredKeyword(_arg1.term));
};
return (false);
}
public function isIgnoredReferral(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "referral")))){
return (_config.organic.isIgnoredReferral(_arg1.source));
};
return (false);
}
public function isValid(_arg1:CampaignTracker):Boolean{
if (((_arg1) && (_arg1.isValid()))){
return (true);
};
return (false);
}
public function getReferrerCampaign():CampaignTracker{
var _local1:CampaignTracker;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
var _local2:URL = new URL(_referrer);
var _local3:String = _local2.hostName;
var _local4:String = _local2.path;
if (_local3.indexOf("www.") == 0){
_local3 = _local3.substr(4);
};
_local1 = new CampaignTracker();
_local1.source = _local3;
_local1.name = "(referral)";
_local1.medium = "referral";
_local1.content = _local4;
return (_local1);
}
public static function isInvalidReferrer(_arg1:String):Boolean{
var _local2:URL;
if ((((((_arg1 == "")) || ((_arg1 == "-")))) || ((_arg1 == "0")))){
return (true);
};
if (_arg1.indexOf("://") > -1){
_local2 = new URL(_arg1);
if ((((_local2.protocol == Protocols.file)) || ((_local2.protocol == Protocols.none)))){
return (true);
};
};
return (false);
}
public static function isFromGoogleCSE(_arg1:String, _arg2:Configuration):Boolean{
var _local3:URL = new URL(_arg1);
if (_local3.hostName.indexOf(_arg2.google) > -1){
if (_local3.search.indexOf((_arg2.googleSearchParam + "=")) > -1){
if (_local3.path == ("/" + _arg2.googleCsePath)){
return (true);
};
};
};
return (false);
}
}
}//package com.google.analytics.campaign
Section 4
//CampaignTracker (com.google.analytics.campaign.CampaignTracker)
package com.google.analytics.campaign {
import com.google.analytics.utils.*;
public class CampaignTracker {
public var content:String;
public var source:String;
public var clickId:String;
public var name:String;
public var term:String;
public var medium:String;
public var id:String;
public function CampaignTracker(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:String="", _arg5:String="", _arg6:String="", _arg7:String=""){
this.id = _arg1;
this.source = _arg2;
this.clickId = _arg3;
this.name = _arg4;
this.medium = _arg5;
this.term = _arg6;
this.content = _arg7;
}
public function isValid():Boolean{
if (((((!((id == ""))) || (!((source == ""))))) || (!((clickId == ""))))){
return (true);
};
return (false);
}
public function toTrackerString():String{
var _local1:Array = [];
_addIfNotEmpty(_local1, "utmcsr=", source);
_addIfNotEmpty(_local1, "utmccn=", name);
_addIfNotEmpty(_local1, "utmcmd=", medium);
_addIfNotEmpty(_local1, "utmctr=", term);
_addIfNotEmpty(_local1, "utmcct=", content);
_addIfNotEmpty(_local1, "utmcid=", id);
_addIfNotEmpty(_local1, "utmgclid=", clickId);
return (_local1.join(CampaignManager.trackingDelimiter));
}
private function _addIfNotEmpty(_arg1:Array, _arg2:String, _arg3:String):void{
if (_arg3 != ""){
_arg3 = _arg3.split("+").join("%20");
_arg3 = _arg3.split(" ").join("%20");
_arg1.push((_arg2 + _arg3));
};
}
public function fromTrackerString(_arg1:String):void{
var _local2:String = _arg1.split(CampaignManager.trackingDelimiter).join("&");
var _local3:Variables = new Variables(_local2);
if (_local3.hasOwnProperty("utmcid")){
this.id = _local3["utmcid"];
};
if (_local3.hasOwnProperty("utmcsr")){
this.source = _local3["utmcsr"];
};
if (_local3.hasOwnProperty("utmccn")){
this.name = _local3["utmccn"];
};
if (_local3.hasOwnProperty("utmcmd")){
this.medium = _local3["utmcmd"];
};
if (_local3.hasOwnProperty("utmctr")){
this.term = _local3["utmctr"];
};
if (_local3.hasOwnProperty("utmcct")){
this.content = _local3["utmcct"];
};
if (_local3.hasOwnProperty("utmgclid")){
this.clickId = _local3["utmgclid"];
};
}
}
}//package com.google.analytics.campaign
Section 5
//BrowserInfo (com.google.analytics.core.BrowserInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.utils.*;
public class BrowserInfo {
private var _config:Configuration;
private var _info:Environment;
public function BrowserInfo(_arg1:Configuration, _arg2:Environment){
_config = _arg1;
_info = _arg2;
}
public function get utmul():String{
return (_info.language.toLowerCase());
}
public function get utmje():String{
return ("0");
}
public function toURLString():String{
var _local1:Variables = toVariables();
return (_local1.toString());
}
public function get utmsr():String{
return (((_info.screenWidth + "x") + _info.screenHeight));
}
public function get utmfl():String{
var _local1:Version;
if (_config.detectFlash){
_local1 = _info.flashVersion;
return (((((_local1.major + ".") + _local1.minor) + " r") + _local1.build));
};
return ("-");
}
public function get utmcs():String{
return (_info.languageEncoding);
}
public function toVariables():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
_local1.utmcs = utmcs;
_local1.utmsr = utmsr;
_local1.utmsc = utmsc;
_local1.utmul = utmul;
_local1.utmje = utmje;
_local1.utmfl = utmfl;
return (_local1);
}
public function get utmsc():String{
return ((_info.screenColorDepth + "-bit"));
}
}
}//package com.google.analytics.core
Section 6
//Buffer (com.google.analytics.core.Buffer)
package com.google.analytics.core {
import flash.events.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import com.google.analytics.data.*;
public dynamic class Buffer {
private var _SO:SharedObject;
private var _OBJ:Object;
private var _utma:UTMA;
private var _utmb:UTMB;
private var _utmc:UTMC;
private var _debug:DebugConfiguration;
private var _utmk:UTMK;
private var _config:Configuration;
private var _utmv:UTMV;
private var _utmz:UTMZ;
private var _volatile:Boolean;
public function Buffer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Boolean=false, _arg4:Object=null){
var _local5:Boolean;
var _local6:String;
super();
_config = _arg1;
_debug = _arg2;
UTMB.defaultTimespan = _config.sessionTimeout;
UTMZ.defaultTimespan = _config.conversionTimeout;
if (!_arg3){
_SO = SharedObject.getLocal(_config.cookieName, _config.cookiePath);
_local5 = false;
if (_SO.data.utma){
if (!hasUTMA()){
_createUMTA();
};
_utma.fromSharedObject(_SO.data.utma);
if (_debug.verbose){
_debug.info(("found: " + _utma.toString(true)), VisualDebugMode.geek);
};
if (_utma.isExpired()){
if (_debug.verbose){
_debug.warning("UTMA has expired", VisualDebugMode.advanced);
};
_clearUTMA();
_local5 = true;
};
};
if (_SO.data.utmb){
if (!hasUTMB()){
_createUMTB();
};
_utmb.fromSharedObject(_SO.data.utmb);
if (_debug.verbose){
_debug.info(("found: " + _utmb.toString(true)), VisualDebugMode.geek);
};
if (_utmb.isExpired()){
if (_debug.verbose){
_debug.warning("UTMB has expired", VisualDebugMode.advanced);
};
_clearUTMB();
_local5 = true;
};
};
if (_SO.data.utmc){
delete _SO.data.utmc;
_local5 = true;
};
if (_SO.data.utmk){
if (!hasUTMK()){
_createUMTK();
};
_utmk.fromSharedObject(_SO.data.utmk);
if (_debug.verbose){
_debug.info(("found: " + _utmk.toString()), VisualDebugMode.geek);
};
};
if (_SO.data.utmv){
if (!hasUTMV()){
_createUMTV();
};
_utmv.fromSharedObject(_SO.data.utmv);
if (_debug.verbose){
_debug.info(("found: " + _utmv.toString(true)), VisualDebugMode.geek);
};
if (_utmv.isExpired()){
if (_debug.verbose){
_debug.warning("UTMV has expired", VisualDebugMode.advanced);
};
_clearUTMV();
_local5 = true;
};
};
if (_SO.data.utmz){
if (!hasUTMZ()){
_createUMTZ();
};
_utmz.fromSharedObject(_SO.data.utmz);
if (_debug.verbose){
_debug.info(("found: " + _utmz.toString(true)), VisualDebugMode.geek);
};
if (_utmz.isExpired()){
if (_debug.verbose){
_debug.warning("UTMZ has expired", VisualDebugMode.advanced);
};
_clearUTMZ();
_local5 = true;
};
};
if (_local5){
save();
};
} else {
_OBJ = new Object();
if (_arg4){
for (_local6 in _arg4) {
_OBJ[_local6] = _arg4[_local6];
};
};
};
_volatile = _arg3;
}
public function clearCookies():void{
utma.reset();
utmb.reset();
utmc.reset();
utmz.reset();
utmv.reset();
utmk.reset();
}
public function save():void{
var flushStatus:String;
if (!isVolatile()){
flushStatus = null;
try {
flushStatus = _SO.flush();
} catch(e:Error) {
_debug.warning("Error...Could not write SharedObject to disk");
};
switch (flushStatus){
case SharedObjectFlushStatus.PENDING:
_debug.info("Requesting permission to save object...");
_SO.addEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus);
break;
case SharedObjectFlushStatus.FLUSHED:
_debug.info("Value flushed to disk.");
break;
};
};
}
public function get utmv():UTMV{
if (!hasUTMV()){
_createUMTV();
};
return (_utmv);
}
public function get utmz():UTMZ{
if (!hasUTMZ()){
_createUMTZ();
};
return (_utmz);
}
public function hasUTMA():Boolean{
if (_utma){
return (true);
};
return (false);
}
public function hasUTMB():Boolean{
if (_utmb){
return (true);
};
return (false);
}
public function hasUTMC():Boolean{
if (_utmc){
return (true);
};
return (false);
}
public function isGenuine():Boolean{
if (!hasUTMK()){
return (true);
};
return ((utmk.hash == generateCookiesHash()));
}
public function resetCurrentSession():void{
_clearUTMB();
_clearUTMC();
save();
}
public function hasUTMK():Boolean{
if (_utmk){
return (true);
};
return (false);
}
public function generateCookiesHash():Number{
var _local1 = "";
_local1 = (_local1 + utma.valueOf());
_local1 = (_local1 + utmb.valueOf());
_local1 = (_local1 + utmc.valueOf());
_local1 = (_local1 + utmz.valueOf());
_local1 = (_local1 + utmv.valueOf());
return (Utils.generateHash(_local1));
}
private function _createUMTB():void{
_utmb = new UTMB();
_utmb.proxy = this;
}
private function _createUMTC():void{
_utmc = new UTMC();
}
private function _createUMTA():void{
_utma = new UTMA();
_utma.proxy = this;
}
public function hasUTMV():Boolean{
if (_utmv){
return (true);
};
return (false);
}
private function _createUMTK():void{
_utmk = new UTMK();
_utmk.proxy = this;
}
public function hasUTMZ():Boolean{
if (_utmz){
return (true);
};
return (false);
}
private function _createUMTV():void{
_utmv = new UTMV();
_utmv.proxy = this;
}
private function _onFlushStatus(_arg1:NetStatusEvent):void{
_debug.info("User closed permission dialog...");
switch (_arg1.info.code){
case "SharedObject.Flush.Success":
_debug.info("User granted permission -- value saved.");
break;
case "SharedObject.Flush.Failed":
_debug.info("User denied permission -- value not saved.");
break;
};
_SO.removeEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus);
}
private function _createUMTZ():void{
_utmz = new UTMZ();
_utmz.proxy = this;
}
public function updateUTMA(_arg1:Number):void{
if (_debug.verbose){
_debug.info((("updateUTMA( " + _arg1) + " )"), VisualDebugMode.advanced);
};
if (!utma.isEmpty()){
if (isNaN(utma.sessionCount)){
utma.sessionCount = 1;
} else {
utma.sessionCount = (utma.sessionCount + 1);
};
utma.lastTime = utma.currentTime;
utma.currentTime = _arg1;
};
}
private function _clearUTMA():void{
_utma = null;
if (!isVolatile()){
_SO.data.utma = null;
delete _SO.data.utma;
};
}
private function _clearUTMC():void{
_utmc = null;
}
private function _clearUTMB():void{
_utmb = null;
if (!isVolatile()){
_SO.data.utmb = null;
delete _SO.data.utmb;
};
}
public function update(_arg1:String, _arg2):void{
if (isVolatile()){
_OBJ[_arg1] = _arg2;
} else {
_SO.data[_arg1] = _arg2;
};
}
private function _clearUTMZ():void{
_utmz = null;
if (!isVolatile()){
_SO.data.utmz = null;
delete _SO.data.utmz;
};
}
private function _clearUTMV():void{
_utmv = null;
if (!isVolatile()){
_SO.data.utmv = null;
delete _SO.data.utmv;
};
}
public function isVolatile():Boolean{
return (_volatile);
}
public function get utma():UTMA{
if (!hasUTMA()){
_createUMTA();
};
return (_utma);
}
public function get utmb():UTMB{
if (!hasUTMB()){
_createUMTB();
};
return (_utmb);
}
public function get utmc():UTMC{
if (!hasUTMC()){
_createUMTC();
};
return (_utmc);
}
public function get utmk():UTMK{
if (!hasUTMK()){
_createUMTK();
};
return (_utmk);
}
}
}//package com.google.analytics.core
Section 7
//DocumentInfo (com.google.analytics.core.DocumentInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.external.*;
import com.google.analytics.utils.*;
public class DocumentInfo {
private var _pageURL:String;
private var _utmr:String;
private var _config:Configuration;
private var _adSense:AdSenseGlobals;
private var _info:Environment;
public function DocumentInfo(_arg1:Configuration, _arg2:Environment, _arg3:String, _arg4:String=null, _arg5:AdSenseGlobals=null){
_config = _arg1;
_info = _arg2;
_utmr = _arg3;
_pageURL = _arg4;
_adSense = _arg5;
}
public function get utmr():String{
if (!_utmr){
return ("-");
};
return (_utmr);
}
public function toURLString():String{
var _local1:Variables = toVariables();
return (_local1.toString());
}
private function _renderPageURL(_arg1:String=""):String{
var _local2:String = _info.locationPath;
var _local3:String = _info.locationSearch;
if (((!(_arg1)) || ((_arg1 == "")))){
_arg1 = (_local2 + unescape(_local3));
};
return (_arg1);
}
public function get utmp():String{
return (_renderPageURL(_pageURL));
}
public function get utmhid():String{
return (String(_generateHitId()));
}
private function _generateHitId():Number{
var _local1:Number;
if (((_adSense.hid) && (!((_adSense.hid == ""))))){
_local1 = Number(_adSense.hid);
} else {
_local1 = Math.round((Math.random() * 2147483647));
_adSense.hid = String(_local1);
};
return (_local1);
}
public function toVariables():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
if (((_config.detectTitle) && (!((utmdt == ""))))){
_local1.utmdt = utmdt;
};
_local1.utmhid = utmhid;
_local1.utmr = utmr;
_local1.utmp = utmp;
return (_local1);
}
public function get utmdt():String{
return (_info.documentTitle);
}
}
}//package com.google.analytics.core
Section 8
//Domain (com.google.analytics.core.Domain)
package com.google.analytics.core {
import com.google.analytics.debug.*;
public class Domain {
private var _mode:DomainNameMode;
private var _debug:DebugConfiguration;
private var _name:String;
public function Domain(_arg1:DomainNameMode=null, _arg2:String="", _arg3:DebugConfiguration=null){
_debug = _arg3;
if (_arg1 == null){
_arg1 = DomainNameMode.auto;
};
_mode = _arg1;
if (_arg1 == DomainNameMode.custom){
this.name = _arg2;
} else {
_name = _arg2;
};
}
public function get mode():DomainNameMode{
return (_mode);
}
public function set mode(_arg1:DomainNameMode):void{
_mode = _arg1;
if (_mode == DomainNameMode.none){
_name = "";
};
}
public function get name():String{
return (_name);
}
public function set name(_arg1:String):void{
if (((!((_arg1.charAt(0) == "."))) && (_debug))){
_debug.warning(("missing leading period \".\", cookie will only be accessible on " + _arg1), VisualDebugMode.geek);
};
_name = _arg1;
}
}
}//package com.google.analytics.core
Section 9
//DomainNameMode (com.google.analytics.core.DomainNameMode)
package com.google.analytics.core {
public class DomainNameMode {
private var _value:int;
private var _name:String;
public static const custom:DomainNameMode = new DomainNameMode(2, "custom");
;
public static const none:DomainNameMode = new DomainNameMode(0, "none");
;
public static const auto:DomainNameMode = new DomainNameMode(1, "auto");
;
public function DomainNameMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 10
//EventInfo (com.google.analytics.core.EventInfo)
package com.google.analytics.core {
import com.google.analytics.data.*;
import com.google.analytics.utils.*;
public class EventInfo {
private var _ext10:X10;
private var _isEventHit:Boolean;
private var _x10:X10;
public function EventInfo(_arg1:Boolean, _arg2:X10, _arg3:X10=null){
_isEventHit = _arg1;
_x10 = _arg2;
_ext10 = _arg3;
}
public function toURLString():String{
var _local1:Variables = toVariables();
return (_local1.toString());
}
public function get utmt():String{
return ("event");
}
public function get utme():String{
return (_x10.renderMergedUrlString(_ext10));
}
public function toVariables():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
if (_isEventHit){
_local1.utmt = utmt;
};
_local1.utme = utme;
return (_local1);
}
}
}//package com.google.analytics.core
Section 11
//EventTracker (com.google.analytics.core.EventTracker)
package com.google.analytics.core {
import com.google.analytics.v4.*;
public class EventTracker {
private var _parent:GoogleAnalyticsAPI;
public var name:String;
public function EventTracker(_arg1:String, _arg2:GoogleAnalyticsAPI){
this.name = _arg1;
_parent = _arg2;
}
public function trackEvent(_arg1:String, _arg2:String=null, _arg3:Number=NaN):Boolean{
return (_parent.trackEvent(name, _arg1, _arg2, _arg3));
}
}
}//package com.google.analytics.core
Section 12
//ga_internal (com.google.analytics.core.ga_internal)
package com.google.analytics.core {
public namespace ga_internal;
}//package com.google.analytics.core
Section 13
//GIFRequest (com.google.analytics.core.GIFRequest)
package com.google.analytics.core {
import flash.events.*;
import flash.display.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import com.google.analytics.utils.*;
import flash.system.*;
public class GIFRequest {
private var _info:Environment;
private var _count:int;
private var _utmac:String;
private var _alertcount:int;
private var _debug:DebugConfiguration;
private var _lastRequest:URLRequest;
private var _buffer:Buffer;
private var _config:Configuration;
private var _requests:Array;
public function GIFRequest(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Environment){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_info = _arg4;
_count = 0;
_alertcount = 0;
_requests = [];
}
public function get utmn():String{
return ((Utils.generate32bitRandom() as String));
}
public function onIOError(_arg1:IOErrorEvent):void{
var _local2:String = _lastRequest.url;
var _local3:String = String((_requests.length - 1));
var _local4 = (("Gif Request #" + _local3) + " failed");
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local2.indexOf("?") > -1){
_local2 = _local2.split("?")[0];
};
_local2 = _shortenURL(_local2);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local4 = (_local4 + ((" \"" + _local2) + "\" does not exists or is unreachable"));
};
_debug.failure(_local4);
} else {
_debug.warning(_local4);
};
_removeListeners(_arg1.target);
}
public function send(_arg1:String, _arg2:Variables=null, _arg3:Boolean=false, _arg4:Boolean=false):void{
var _local5:String;
var _local6:URLRequest;
var _local7:URLRequest;
_utmac = _arg1;
if (!_arg2){
_arg2 = new Variables();
};
_arg2.URIencode = false;
_arg2.pre = ["utmwv", "utmn", "utmhn", "utmt", "utme", "utmcs", "utmsr", "utmsc", "utmul", "utmje", "utmfl", "utmdt", "utmhid", "utmr", "utmp"];
_arg2.post = ["utmcc"];
if (_debug.verbose){
_debug.info(((("tracking: " + _buffer.utmb.trackCount) + "/") + _config.trackingLimitPerSession), VisualDebugMode.geek);
};
if ((((_buffer.utmb.trackCount < _config.trackingLimitPerSession)) || (_arg3))){
if (_arg4){
updateToken();
};
if (((((_arg3) || (!(_arg4)))) || ((_buffer.utmb.token >= 1)))){
if (((!(_arg3)) && (_arg4))){
_buffer.utmb.token = (_buffer.utmb.token - 1);
};
_buffer.utmb.trackCount = (_buffer.utmb.trackCount + 1);
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
};
_arg2.utmwv = utmwv;
_arg2.utmn = Utils.generate32bitRandom();
if (_info.domainName != ""){
_arg2.utmhn = _info.domainName;
};
if (_config.sampleRate < 1){
_arg2.utmsp = (_config.sampleRate * 100);
};
if ((((_config.serverMode == ServerOperationMode.local)) || ((_config.serverMode == ServerOperationMode.both)))){
_local5 = _info.locationSWFPath;
if (_local5.lastIndexOf("/") > 0){
_local5 = _local5.substring(0, _local5.lastIndexOf("/"));
};
_local6 = new URLRequest();
if (_config.localGIFpath.indexOf("http") == 0){
_local6.url = _config.localGIFpath;
} else {
_local6.url = (_local5 + _config.localGIFpath);
};
_local6.url = (_local6.url + ("?" + _arg2.toString()));
if (((_debug.active) && (_debug.GIFRequests))){
_debugSend(_local6);
} else {
sendRequest(_local6);
};
};
if ((((_config.serverMode == ServerOperationMode.remote)) || ((_config.serverMode == ServerOperationMode.both)))){
_local7 = new URLRequest();
if (_info.protocol == Protocols.HTTPS){
_local7.url = _config.secureRemoteGIFpath;
} else {
if (_info.protocol == Protocols.HTTP){
_local7.url = _config.remoteGIFpath;
} else {
_local7.url = _config.remoteGIFpath;
};
};
_arg2.utmac = utmac;
_arg2.utmcc = encodeURIComponent(utmcc);
_local7.url = (_local7.url + ("?" + _arg2.toString()));
if (((_debug.active) && (_debug.GIFRequests))){
_debugSend(_local7);
} else {
sendRequest(_local7);
};
};
};
};
}
public function onSecurityError(_arg1:SecurityErrorEvent):void{
if (_debug.GIFRequests){
_debug.failure(_arg1.text);
};
}
public function get utmsp():String{
return (((_config.sampleRate * 100) as String));
}
public function get utmcc():String{
var _local1:Array = [];
if (_buffer.hasUTMA()){
_local1.push((_buffer.utma.toURLString() + ";"));
};
if (_buffer.hasUTMZ()){
_local1.push((_buffer.utmz.toURLString() + ";"));
};
if (_buffer.hasUTMV()){
_local1.push((_buffer.utmv.toURLString() + ";"));
};
return (_local1.join("+"));
}
public function get utmac():String{
return (_utmac);
}
public function get utmwv():String{
return (_config.version);
}
public function sendRequest(_arg1:URLRequest):void{
var request = _arg1;
var loader:Loader = new Loader();
loader.name = String(_count++);
var context:LoaderContext = new LoaderContext(false);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
_lastRequest = request;
_requests[loader.name] = new RequestObject(request);
try {
loader.load(request, context);
} catch(e:Error) {
_debug.failure("\"Loader.load()\" could not instanciate Gif Request");
};
}
private function _removeListeners(_arg1:Object):void{
_arg1.removeEventListener(IOErrorEvent.IO_ERROR, onIOError);
_arg1.removeEventListener(Event.COMPLETE, onComplete);
}
public function updateToken():void{
var _local2:Number;
var _local1:Number = new Date().getTime();
_local2 = ((_local1 - _buffer.utmb.lastTime) * (_config.tokenRate / 1000));
if (_debug.verbose){
_debug.info(("tokenDelta: " + _local2), VisualDebugMode.geek);
};
if (_local2 >= 1){
_buffer.utmb.token = Math.min(Math.floor((_buffer.utmb.token + _local2)), _config.bucketCapacity);
_buffer.utmb.lastTime = _local1;
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
};
};
}
public function get utmhn():String{
return (_info.domainName);
}
private function _shortenURL(_arg1:String):String{
var _local2:Array;
if (_arg1.length > 60){
_local2 = _arg1.split("/");
while (_arg1.length > 60) {
_local2.shift();
_arg1 = ("../" + _local2.join("/"));
};
};
return (_arg1);
}
private function _debugSend(_arg1:URLRequest):void{
var _local3:String;
var _local2 = "";
switch (_debug.mode){
case VisualDebugMode.geek:
_local2 = ((("Gif Request #" + _alertcount) + ":\n") + _arg1.url);
break;
case VisualDebugMode.advanced:
_local3 = _arg1.url;
if (_local3.indexOf("?") > -1){
_local3 = _local3.split("?")[0];
};
_local3 = _shortenURL(_local3);
_local2 = (((("Send Gif Request #" + _alertcount) + ":\n") + _local3) + " ?");
break;
case VisualDebugMode.basic:
default:
_local2 = (((("Send " + _config.serverMode.toString()) + " Gif Request #") + _alertcount) + " ?");
};
_debug.alertGifRequest(_local2, _arg1, this);
_alertcount++;
}
public function onComplete(_arg1:Event):void{
var _local2:String = _arg1.target.loader.name;
_requests[_local2].complete();
var _local3 = (("Gif Request #" + _local2) + " sent");
var _local4:String = _requests[_local2].request.url;
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local4.indexOf("?") > -1){
_local4 = _local4.split("?")[0];
};
_local4 = _shortenURL(_local4);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local3 = (_local3 + ((" to \"" + _local4) + "\""));
};
_debug.success(_local3);
} else {
_debug.info(_local3);
};
_removeListeners(_arg1.target);
}
}
}//package com.google.analytics.core
Section 14
//IdleTimer (com.google.analytics.core.IdleTimer)
package com.google.analytics.core {
import flash.events.*;
import flash.display.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.utils.*;
public class IdleTimer {
private var _stage:Stage;
private var _loop:Timer;
private var _lastMove:int;
private var _inactivity:Number;
private var _debug:DebugConfiguration;
private var _session:Timer;
private var _buffer:Buffer;
public function IdleTimer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:DisplayObject, _arg4:Buffer){
var _local5:Number = _arg1.idleLoop;
var _local6:Number = _arg1.idleTimeout;
var _local7:Number = _arg1.sessionTimeout;
_loop = new Timer((_local5 * 1000));
_session = new Timer((_local7 * 1000), 1);
_debug = _arg2;
_stage = _arg3.stage;
_buffer = _arg4;
_lastMove = getTimer();
_inactivity = (_local6 * 1000);
_loop.addEventListener(TimerEvent.TIMER, checkForIdle);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
_debug.info(((((("delay: " + _local5) + "sec , inactivity: ") + _local6) + "sec, sessionTimeout: ") + _local7), VisualDebugMode.geek);
_loop.start();
}
private function onMouseMove(_arg1:MouseEvent):void{
_lastMove = getTimer();
if (_session.running){
_debug.info("session timer reset", VisualDebugMode.geek);
_session.reset();
};
}
public function endSession(_arg1:TimerEvent):void{
_session.removeEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_debug.info("session timer end session", VisualDebugMode.geek);
_session.reset();
_buffer.resetCurrentSession();
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.geek);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
}
public function checkForIdle(_arg1:TimerEvent):void{
var _local2:int = getTimer();
if ((_local2 - _lastMove) >= _inactivity){
if (!_session.running){
_debug.info("session timer start", VisualDebugMode.geek);
_session.start();
};
};
}
}
}//package com.google.analytics.core
Section 15
//Organic (com.google.analytics.core.Organic)
package com.google.analytics.core {
import com.google.analytics.utils.*;
public class Organic {
private var _sourcesCache:Array;
private var _sourcesEngine:Array;
private var _ignoredKeywords:Array;
private var _ignoredReferralsCache:Object;
private var _ignoredReferrals:Array;
private var _ignoredKeywordsCache:Object;
private var _sources:Array;
public static var throwErrors:Boolean = false;
public function Organic(){
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
_ignoredReferrals = [];
_ignoredReferralsCache = {};
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function isIgnoredKeyword(_arg1:String):Boolean{
if (_ignoredKeywordsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function getKeywordValue(_arg1:OrganicReferrer, _arg2:String):String{
var _local3:String = _arg1.keyword;
return (getKeywordValueFromPath(_local3, _arg2));
}
public function isIgnoredReferral(_arg1:String):Boolean{
if (_ignoredReferralsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function clear():void{
clearEngines();
clearIgnoredReferrals();
clearIgnoredKeywords();
}
public function get count():int{
return (_sources.length);
}
public function get ignoredKeywordsCount():int{
return (_ignoredKeywords.length);
}
public function match(_arg1:String):Boolean{
if (_arg1 == ""){
return (false);
};
_arg1 = _arg1.toLowerCase();
if (_sourcesEngine[_arg1] != undefined){
return (true);
};
return (false);
}
public function clearIgnoredKeywords():void{
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function addSource(_arg1:String, _arg2:String):void{
var _local3:OrganicReferrer = new OrganicReferrer(_arg1, _arg2);
if (_sourcesCache[_local3.toString()] == undefined){
_sources.push(_local3);
_sourcesCache[_local3.toString()] = (_sources.length - 1);
if (_sourcesEngine[_local3.engine] == undefined){
_sourcesEngine[_local3.engine] = [(_sources.length - 1)];
} else {
_sourcesEngine[_local3.engine].push((_sources.length - 1));
};
} else {
if (throwErrors){
throw (new Error((_local3.toString() + " already exists, we don't add it.")));
};
};
}
public function clearEngines():void{
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
}
public function get ignoredReferralsCount():int{
return (_ignoredReferrals.length);
}
public function addIgnoredReferral(_arg1:String):void{
if (_ignoredReferralsCache[_arg1] == undefined){
_ignoredReferrals.push(_arg1);
_ignoredReferralsCache[_arg1] = (_ignoredReferrals.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function clearIgnoredReferrals():void{
_ignoredReferrals = [];
_ignoredReferralsCache = {};
}
public function getReferrerByName(_arg1:String):OrganicReferrer{
var _local2:int;
if (match(_arg1)){
_local2 = _sourcesEngine[_arg1][0];
return (_sources[_local2]);
};
return (null);
}
public function addIgnoredKeyword(_arg1:String):void{
if (_ignoredKeywordsCache[_arg1] == undefined){
_ignoredKeywords.push(_arg1);
_ignoredKeywordsCache[_arg1] = (_ignoredKeywords.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function get sources():Array{
return (_sources);
}
public static function getKeywordValueFromPath(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Variables;
if (_arg2.indexOf((_arg1 + "=")) > -1){
if (_arg2.charAt(0) == "?"){
_arg2 = _arg2.substr(1);
};
_arg2 = _arg2.split("+").join("%20");
_local4 = new Variables(_arg2);
_local3 = _local4[_arg1];
};
return (_local3);
}
}
}//package com.google.analytics.core
Section 16
//OrganicReferrer (com.google.analytics.core.OrganicReferrer)
package com.google.analytics.core {
public class OrganicReferrer {
private var _engine:String;
private var _keyword:String;
public function OrganicReferrer(_arg1:String, _arg2:String){
this.engine = _arg1;
this.keyword = _arg2;
}
public function get keyword():String{
return (_keyword);
}
public function get engine():String{
return (_engine);
}
public function set engine(_arg1:String):void{
_engine = _arg1.toLowerCase();
}
public function toString():String{
return (((engine + "?") + keyword));
}
public function set keyword(_arg1:String):void{
_keyword = _arg1.toLowerCase();
}
}
}//package com.google.analytics.core
Section 17
//RequestObject (com.google.analytics.core.RequestObject)
package com.google.analytics.core {
import flash.net.*;
import flash.utils.*;
public class RequestObject {
public var start:int;
public var end:int;
public var request:URLRequest;
public function RequestObject(_arg1:URLRequest){
start = getTimer();
this.request = _arg1;
}
public function hasCompleted():Boolean{
return ((end > 0));
}
public function toString():String{
var _local1:Array = [];
_local1.push((("duration: " + duration) + "ms"));
_local1.push(("url: " + request.url));
return ((("{ " + _local1.join(", ")) + " }"));
}
public function complete():void{
end = getTimer();
}
public function get duration():int{
if (!hasCompleted()){
return (0);
};
return ((end - start));
}
}
}//package com.google.analytics.core
Section 18
//ServerOperationMode (com.google.analytics.core.ServerOperationMode)
package com.google.analytics.core {
public class ServerOperationMode {
private var _value:int;
private var _name:String;
public static const both:ServerOperationMode = new ServerOperationMode(2, "both");
;
public static const remote:ServerOperationMode = new ServerOperationMode(1, "remote");
;
public static const local:ServerOperationMode = new ServerOperationMode(0, "local");
;
public function ServerOperationMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 19
//TrackerCache (com.google.analytics.core.TrackerCache)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import flash.errors.*;
public class TrackerCache implements GoogleAnalyticsAPI {
public var tracker:GoogleAnalyticsAPI;
private var _ar:Array;
public static var CACHE_THROW_ERROR:Boolean;
public function TrackerCache(_arg1:GoogleAnalyticsAPI=null){
this.tracker = _arg1;
_ar = [];
}
public function size():uint{
return (_ar.length);
}
public function flush():void{
var _local1:Object;
var _local2:String;
var _local3:Array;
var _local4:int;
var _local5:int;
if (tracker == null){
return;
};
if (size() > 0){
_local4 = _ar.length;
while (_local5 < _local4) {
_local1 = _ar.shift();
_local2 = (_local1.name as String);
_local3 = (_local1.args as Array);
if (((!((_local2 == null))) && ((_local2 in tracker)))){
(tracker[_local2] as Function).apply(tracker, _local3);
};
_local5++;
};
};
}
public function enqueue(_arg1:String, ... _args):Boolean{
if (_arg1 == null){
return (false);
};
_ar.push({name:_arg1, args:_args});
return (true);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
enqueue("link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
enqueue("addOrganic", _arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
enqueue("setAllowLinker", _arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
enqueue("trackEvent", _arg1, _arg2, _arg3, _arg4);
return (true);
}
public function getClientInfo():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getClientInfo' method for the moment."));
};
return (false);
}
public function trackTrans():void{
enqueue("trackTrans");
}
public function trackPageview(_arg1:String=""):void{
enqueue("trackPageview", _arg1);
}
public function setClientInfo(_arg1:Boolean):void{
enqueue("setClientInfo", _arg1);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
enqueue("linkByPost", _arg1, _arg2);
}
public function setCookieTimeout(_arg1:int):void{
enqueue("setCookieTimeout", _arg1);
}
public function isEmpty():Boolean{
return ((_ar.length == 0));
}
public function getDetectTitle():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectTitle' method for the moment."));
};
return (false);
}
public function resetSession():void{
enqueue("resetSession");
}
public function setDetectFlash(_arg1:Boolean):void{
enqueue("setDetectFlash", _arg1);
}
public function clear():void{
_ar = [];
}
public function setCampNameKey(_arg1:String):void{
enqueue("setCampNameKey", _arg1);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
enqueue("addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function createEventTracker(_arg1:String):EventTracker{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'createEventTracker' method for the moment."));
};
return (null);
}
public function setVar(_arg1:String):void{
enqueue("setVar", _arg1);
}
public function clearIgnoredOrganic():void{
enqueue("clearIgnoredOrganic");
}
public function setDomainName(_arg1:String):void{
enqueue("setDomainName", _arg1);
}
public function setCampSourceKey(_arg1:String):void{
enqueue("setCampSourceKey", _arg1);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'addTrans' method for the moment."));
};
return (null);
}
public function setCampContentKey(_arg1:String):void{
enqueue("setCampContentKey", _arg1);
}
public function setLocalServerMode():void{
enqueue("setLocalServerMode");
}
public function getLocalGifPath():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getLocalGifPath' method for the moment."));
};
return ("");
}
public function setAllowAnchor(_arg1:Boolean):void{
enqueue("setAllowAnchor", _arg1);
}
public function clearIgnoredRef():void{
enqueue("clearIgnoredRef");
}
public function setLocalGifPath(_arg1:String):void{
enqueue("setLocalGifPath", _arg1);
}
public function getVersion():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getVersion' method for the moment."));
};
return ("");
}
public function setCookiePath(_arg1:String):void{
enqueue("setCookiePath", _arg1);
}
public function setSampleRate(_arg1:Number):void{
enqueue("setSampleRate", _arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
enqueue("setDetectTitle", _arg1);
}
public function setAllowHash(_arg1:Boolean):void{
enqueue("setAllowHash", _arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
enqueue("addIgnoredOrganic", _arg1);
}
public function setCampNOKey(_arg1:String):void{
enqueue("setCampNOKey", _arg1);
}
public function getServiceMode():ServerOperationMode{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getServiceMode' method for the moment."));
};
return (null);
}
public function setLocalRemoteServerMode():void{
enqueue("setLocalRemoteServerMode");
}
public function cookiePathCopy(_arg1:String):void{
enqueue("cookiePathCopy", _arg1);
}
public function getDetectFlash():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectFlash' method for the moment."));
};
return (false);
}
public function setCampaignTrack(_arg1:Boolean):void{
enqueue("setCampaignTrack", _arg1);
}
public function clearOrganic():void{
enqueue("clearOrganic");
}
public function setCampTermKey(_arg1:String):void{
enqueue("setCampTermKey", _arg1);
}
public function addIgnoredRef(_arg1:String):void{
enqueue("addIgnoredRef", _arg1);
}
public function setCampMediumKey(_arg1:String):void{
enqueue("setCampMediumKey", _arg1);
}
public function setSessionTimeout(_arg1:int):void{
enqueue("setSessionTimeout", _arg1);
}
public function setRemoteServerMode():void{
enqueue("setRemoteServerMode");
}
public function element(){
return (_ar[0]);
}
public function getAccount():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getAccount' method for the moment."));
};
return ("");
}
}
}//package com.google.analytics.core
Section 20
//TrackerMode (com.google.analytics.core.TrackerMode)
package com.google.analytics.core {
public class TrackerMode {
public static const BRIDGE:String = "Bridge";
public static const AS3:String = "AS3";
}
}//package com.google.analytics.core
Section 21
//Utils (com.google.analytics.core.Utils)
package com.google.analytics.core {
public class Utils {
public static function trim(_arg1:String, _arg2:Boolean=false):String{
var _local5:int;
var _local6:int;
var _local7:int;
if (_arg1 == ""){
return ("");
};
var _local3:Array = [" ", "\n", "\r", "\t"];
var _local4:String = _arg1;
if (_arg2){
_local5 = 0;
while ((((_local5 < _local3.length)) && ((_local4.indexOf(_local3[_local5]) > -1)))) {
_local4 = _local4.split(_local3[_local5]).join("");
_local5++;
};
} else {
_local6 = 0;
while ((((_local6 < _local4.length)) && ((_local3.indexOf(_local4.charAt(_local6)) > -1)))) {
_local6++;
};
_local4 = _local4.substr(_local6);
_local7 = (_local4.length - 1);
while ((((_local7 >= 0)) && ((_local3.indexOf(_local4.charAt(_local7)) > -1)))) {
_local7--;
};
_local4 = _local4.substring(0, (_local7 + 1));
};
return (_local4);
}
public static function generateHash(_arg1:String):int{
var _local4:int;
var _local5:int;
var _local2 = 1;
var _local3:int;
if (((!((_arg1 == null))) && (!((_arg1 == ""))))){
_local2 = 0;
_local4 = (_arg1.length - 1);
while (_local4 >= 0) {
_local5 = _arg1.charCodeAt(_local4);
_local2 = ((((_local2 << 6) & 268435455) + _local5) + (_local5 << 14));
_local3 = (_local2 & 266338304);
if (_local3 != 0){
_local2 = (_local2 ^ (_local3 >> 21));
};
_local4--;
};
};
return (_local2);
}
public static function generate32bitRandom():int{
return (Math.round((Math.random() * 2147483647)));
}
public static function validateAccount(_arg1:String):Boolean{
var _local2:RegExp = /^UA-[0-9]*-[0-9]*$/;
return (_local2.test(_arg1));
}
}
}//package com.google.analytics.core
Section 22
//Cookie (com.google.analytics.data.Cookie)
package com.google.analytics.data {
public interface Cookie {
function fromSharedObject(_arg1:Object):void;
function toURLString():String;
function get creation():Date;
function toSharedObject():Object;
function isExpired():Boolean;
function set creation(_arg1:Date):void;
function set expiration(_arg1:Date):void;
function get expiration():Date;
}
}//package com.google.analytics.data
Section 23
//UTMA (com.google.analytics.data.UTMA)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMA extends UTMCookie {
private var _sessionId:Number;
private var _domainHash:Number;
private var _firstTime:Number;
private var _currentTime:Number;
private var _lastTime:Number;
private var _sessionCount:Number;
public function UTMA(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:Number=NaN, _arg6:Number=NaN){
super("utma", "__utma", ["domainHash", "sessionId", "firstTime", "lastTime", "currentTime", "sessionCount"], (Timespan.twoyears * 1000));
this.domainHash = _arg1;
this.sessionId = _arg2;
this.firstTime = _arg3;
this.lastTime = _arg4;
this.currentTime = _arg5;
this.sessionCount = _arg6;
}
public function get lastTime():Number{
return (_lastTime);
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function set currentTime(_arg1:Number):void{
_currentTime = _arg1;
update();
}
public function get sessionId():Number{
return (_sessionId);
}
public function get sessionCount():Number{
return (_sessionCount);
}
public function get firstTime():Number{
return (_firstTime);
}
public function get currentTime():Number{
return (_currentTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set sessionId(_arg1:Number):void{
_sessionId = _arg1;
update();
}
public function set sessionCount(_arg1:Number):void{
_sessionCount = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function set firstTime(_arg1:Number):void{
_firstTime = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 24
//UTMB (com.google.analytics.data.UTMB)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMB extends UTMCookie {
private var _trackCount:Number;
private var _lastTime:Number;
private var _domainHash:Number;
private var _token:Number;
public static var defaultTimespan:Number = Timespan.thirtyminutes;
public function UTMB(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN){
super("utmb", "__utmb", ["domainHash", "trackCount", "token", "lastTime"], (defaultTimespan * 1000));
this.domainHash = _arg1;
this.trackCount = _arg2;
this.token = _arg3;
this.lastTime = _arg4;
}
public function set token(_arg1:Number):void{
_token = _arg1;
update();
}
public function set trackCount(_arg1:Number):void{
_trackCount = _arg1;
update();
}
public function get lastTime():Number{
return (_lastTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function get token():Number{
return (_token);
}
public function get trackCount():Number{
return (_trackCount);
}
}
}//package com.google.analytics.data
Section 25
//UTMC (com.google.analytics.data.UTMC)
package com.google.analytics.data {
public class UTMC extends UTMCookie {
private var _domainHash:Number;
public function UTMC(_arg1:Number=NaN){
super("utmc", "__utmc", ["domainHash"]);
this.domainHash = _arg1;
}
public function get domainHash():Number{
return (_domainHash);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 26
//UTMCookie (com.google.analytics.data.UTMCookie)
package com.google.analytics.data {
import com.google.analytics.core.*;
public class UTMCookie implements Cookie {
protected var inURL:String;
protected var name:String;
private var _creation:Date;
private var _expiration:Date;
public var proxy:Buffer;
protected var fields:Array;
private var _timespan:Number;
public function UTMCookie(_arg1:String, _arg2:String, _arg3:Array, _arg4:Number=0){
this.name = _arg1;
this.inURL = _arg2;
this.fields = _arg3;
_timestamp(_arg4);
}
public function isEmpty():Boolean{
var _local2:String;
var _local1:int;
var _local3:int;
while (_local3 < fields.length) {
_local2 = fields[_local3];
if ((((this[_local2] is Number)) && (isNaN(this[_local2])))){
_local1++;
} else {
if ((((this[_local2] is String)) && ((this[_local2] == "")))){
_local1++;
};
};
_local3++;
};
if (_local1 == fields.length){
return (true);
};
return (false);
}
public function resetTimestamp(_arg1:Number=NaN):void{
if (!isNaN(_arg1)){
_timespan = _arg1;
};
_creation = null;
_expiration = null;
_timestamp(_timespan);
}
protected function update():void{
resetTimestamp();
if (proxy){
proxy.update(name, toSharedObject());
};
}
public function reset():void{
var _local1:String;
var _local2:int;
while (_local2 < fields.length) {
_local1 = fields[_local2];
if ((this[_local1] is Number)){
this[_local1] = NaN;
} else {
if ((this[_local1] is String)){
this[_local1] = "";
};
};
_local2++;
};
resetTimestamp();
update();
}
public function fromSharedObject(_arg1:Object):void{
var _local2:String;
var _local3:int = fields.length;
var _local4:int;
while (_local4 < _local3) {
_local2 = fields[_local4];
if (_arg1[_local2]){
this[_local2] = _arg1[_local2];
};
_local4++;
};
if (_arg1.creation){
this.creation = _arg1.creation;
};
if (_arg1.expiration){
this.expiration = _arg1.expiration;
};
}
private function _timestamp(_arg1:Number):void{
creation = new Date();
_timespan = _arg1;
if (_arg1 > 0){
expiration = new Date((creation.valueOf() + _arg1));
};
}
public function isExpired():Boolean{
var _local1:Date = new Date();
var _local2:Number = (expiration.valueOf() - _local1.valueOf());
if (_local2 <= 0){
return (true);
};
return (false);
}
public function set expiration(_arg1:Date):void{
_expiration = _arg1;
}
public function get creation():Date{
return (_creation);
}
public function valueOf():String{
var _local2:String;
var _local3:*;
var _local1:Array = [];
var _local4:int;
while (_local4 < fields.length) {
_local2 = fields[_local4];
_local3 = this[_local2];
if ((_local3 is String)){
if (_local3 == ""){
_local3 = "-";
_local1.push(_local3);
} else {
_local1.push(_local3);
};
} else {
if ((_local3 is Number)){
if (_local3 == 0){
_local1.push(_local3);
} else {
if (isNaN(_local3)){
_local3 = "-";
_local1.push(_local3);
} else {
_local1.push(_local3);
};
};
};
};
_local4++;
};
return (("" + _local1.join(".")));
}
public function toURLString():String{
return (((inURL + "=") + valueOf()));
}
public function get expiration():Date{
if (_expiration){
return (_expiration);
};
return (new Date((new Date().valueOf() + 1000)));
}
public function toSharedObject():Object{
var _local2:String;
var _local3:*;
var _local1:Object = {};
var _local4:int;
for (;_local4 < fields.length;_local4++) {
_local2 = fields[_local4];
_local3 = this[_local2];
if ((_local3 is String)){
_local1[_local2] = _local3;
} else {
if (_local3 == 0){
_local1[_local2] = _local3;
} else {
if (isNaN(_local3)){
continue;
} else {
_local1[_local2] = _local3;
};
};
};
};
_local1.creation = creation;
_local1.expiration = expiration;
return (_local1);
}
public function toString(_arg1:Boolean=false):String{
var _local3:String;
var _local4:*;
var _local2:Array = [];
var _local5:int = fields.length;
var _local6:int;
for (;_local6 < _local5;_local6++) {
_local3 = fields[_local6];
_local4 = this[_local3];
if ((_local4 is String)){
_local2.push((((_local3 + ": \"") + _local4) + "\""));
} else {
if (_local4 == 0){
_local2.push(((_local3 + ": ") + _local4));
} else {
if (isNaN(_local4)){
continue;
} else {
_local2.push(((_local3 + ": ") + _local4));
};
};
};
};
var _local7 = (((name.toUpperCase() + " {") + _local2.join(", ")) + "}");
if (_arg1){
_local7 = (_local7 + (((" creation:" + creation) + ", expiration:") + expiration));
};
return (_local7);
}
public function set creation(_arg1:Date):void{
_creation = _arg1;
}
}
}//package com.google.analytics.data
Section 27
//UTMK (com.google.analytics.data.UTMK)
package com.google.analytics.data {
public class UTMK extends UTMCookie {
private var _hash:Number;
public function UTMK(_arg1:Number=NaN){
super("utmk", "__utmk", ["hash"]);
this.hash = _arg1;
}
public function set hash(_arg1:Number):void{
_hash = _arg1;
update();
}
public function get hash():Number{
return (_hash);
}
}
}//package com.google.analytics.data
Section 28
//UTMV (com.google.analytics.data.UTMV)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMV extends UTMCookie {
private var _domainHash:Number;
private var _value:String;
public function UTMV(_arg1:Number=NaN, _arg2:String=""){
super("utmv", "__utmv", ["domainHash", "value"], (Timespan.twoyears * 1000));
this.domainHash = _arg1;
this.value = _arg2;
}
override public function toURLString():String{
return (((inURL + "=") + encodeURI(valueOf())));
}
public function get value():String{
return (_value);
}
public function get domainHash():Number{
return (_domainHash);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set value(_arg1:String):void{
_value = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 29
//UTMZ (com.google.analytics.data.UTMZ)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMZ extends UTMCookie {
private var _campaignTracking:String;
private var _campaignCreation:Number;
private var _responseCount:Number;
private var _domainHash:Number;
private var _campaignSessions:Number;
public static var defaultTimespan:Number = Timespan.sixmonths;
public function UTMZ(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:String=""){
super("utmz", "__utmz", ["domainHash", "campaignCreation", "campaignSessions", "responseCount", "campaignTracking"], (defaultTimespan * 1000));
this.domainHash = _arg1;
this.campaignCreation = _arg2;
this.campaignSessions = _arg3;
this.responseCount = _arg4;
this.campaignTracking = _arg5;
}
public function set responseCount(_arg1:Number):void{
_responseCount = _arg1;
update();
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set campaignCreation(_arg1:Number):void{
_campaignCreation = _arg1;
update();
}
public function get campaignTracking():String{
return (_campaignTracking);
}
public function get campaignSessions():Number{
return (_campaignSessions);
}
public function get domainHash():Number{
return (_domainHash);
}
public function get responseCount():Number{
return (_responseCount);
}
public function get campaignCreation():Number{
return (_campaignCreation);
}
public function set campaignSessions(_arg1:Number):void{
_campaignSessions = _arg1;
update();
}
public function set campaignTracking(_arg1:String):void{
_campaignTracking = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 30
//X10 (com.google.analytics.data.X10)
package com.google.analytics.data {
public class X10 {
private var _delimEnd:String;// = ")"
private var _minimum:int;
private var _delimSet:String;// = "*"
private var _escapeChar:String;// = "'"
private var _delimBegin:String;// = "("
private var _delimNumValue:String;// = "!"
private var _key:String;// = "k"
private var _set:Array;
private var _hasData:int;
private var _escapeCharMap:Object;
private var _projectData:Object;
private var _value:String;// = "v"
public function X10(){
_set = [_key, _value];
super();
_projectData = {};
_escapeCharMap = {};
_escapeCharMap[_escapeChar] = "'0";
_escapeCharMap[_delimEnd] = "'1";
_escapeCharMap[_delimSet] = "'2";
_escapeCharMap[_delimNumValue] = "'3";
_minimum = 1;
}
private function _setInternal(_arg1:Number, _arg2:String, _arg3:Number, _arg4:String):void{
if (!hasProject(_arg1)){
_projectData[_arg1] = {};
};
if (_projectData[_arg1][_arg2] == undefined){
_projectData[_arg1][_arg2] = [];
};
_projectData[_arg1][_arg2][_arg3] = _arg4;
_hasData = (_hasData + 1);
}
private function _renderProject(_arg1:Object):String{
var _local4:int;
var _local5:Array;
var _local2 = "";
var _local3:Boolean;
var _local6:int = _set.length;
_local4 = 0;
while (_local4 < _local6) {
_local5 = _arg1[_set[_local4]];
if (_local5){
if (_local3){
_local2 = (_local2 + _set[_local4]);
};
_local2 = (_local2 + _renderDataType(_local5));
_local3 = false;
} else {
_local3 = true;
};
_local4++;
};
return (_local2);
}
public function hasProject(_arg1:Number):Boolean{
return (_projectData[_arg1]);
}
public function clearKey(_arg1:Number):void{
_clearInternal(_arg1, _key);
}
private function _renderDataType(_arg1:Array):String{
var _local3:String;
var _local4:int;
var _local2:Array = [];
_local4 = 0;
while (_local4 < _arg1.length) {
if (_arg1[_local4] != undefined){
_local3 = "";
if (((!((_local4 == _minimum))) && ((_arg1[(_local4 - 1)] == undefined)))){
_local3 = (_local3 + _local4.toString());
_local3 = (_local3 + _delimNumValue);
};
_local3 = (_local3 + _escapeExtensibleValue(_arg1[_local4]));
_local2.push(_local3);
};
_local4++;
};
return (((_delimBegin + _local2.join(_delimSet)) + _delimEnd));
}
public function getKey(_arg1:Number, _arg2:Number):String{
return ((_getInternal(_arg1, _key, _arg2) as String));
}
public function hasData():Boolean{
return ((_hasData > 0));
}
public function renderMergedUrlString(_arg1:X10=null):String{
var _local3:String;
if (!_arg1){
return (renderUrlString());
};
var _local2:Array = [_arg1.renderUrlString()];
for (_local3 in _projectData) {
if (((hasProject(Number(_local3))) && (!(_arg1.hasProject(Number(_local3)))))){
_local2.push((_local3 + _renderProject(_projectData[_local3])));
};
};
return (_local2.join(""));
}
public function setValue(_arg1:Number, _arg2:Number, _arg3:Number):Boolean{
if (((((!((Math.round(_arg3) == _arg3))) || (isNaN(_arg3)))) || ((_arg3 == Infinity)))){
return (false);
};
_setInternal(_arg1, _value, _arg2, _arg3.toString());
return (true);
}
public function renderUrlString():String{
var _local2:String;
var _local1:Array = [];
for (_local2 in _projectData) {
if (hasProject(Number(_local2))){
_local1.push((_local2 + _renderProject(_projectData[_local2])));
};
};
return (_local1.join(""));
}
private function _getInternal(_arg1:Number, _arg2:String, _arg3:Number):Object{
if (((hasProject(_arg1)) && (!((_projectData[_arg1][_arg2] == undefined))))){
return (_projectData[_arg1][_arg2][_arg3]);
};
return (undefined);
}
public function setKey(_arg1:Number, _arg2:Number, _arg3:String):Boolean{
_setInternal(_arg1, _key, _arg2, _arg3);
return (true);
}
public function clearValue(_arg1:Number):void{
_clearInternal(_arg1, _value);
}
private function _clearInternal(_arg1:Number, _arg2:String):void{
var _local3:Boolean;
var _local4:int;
var _local5:int;
if (((hasProject(_arg1)) && (!((_projectData[_arg1][_arg2] == undefined))))){
_projectData[_arg1][_arg2] = undefined;
_local3 = true;
_local5 = _set.length;
_local4 = 0;
while (_local4 < _local5) {
if (_projectData[_arg1][_set[_local4]] != undefined){
_local3 = false;
break;
};
_local4++;
};
if (_local3){
_projectData[_arg1] = undefined;
_hasData = (_hasData - 1);
};
};
}
public function getValue(_arg1:Number, _arg2:Number){
var _local3:* = _getInternal(_arg1, _value, _arg2);
if (_local3 == null){
return (null);
};
return (Number(_local3));
}
private function _escapeExtensibleValue(_arg1:String):String{
var _local3:int;
var _local4:String;
var _local5:String;
var _local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local4 = _arg1.charAt(_local3);
_local5 = _escapeCharMap[_local4];
if (_local5){
_local2 = (_local2 + _local5);
} else {
_local2 = (_local2 + _local4);
};
_local3++;
};
return (_local2);
}
}
}//package com.google.analytics.data
Section 31
//_Style (com.google.analytics.debug._Style)
package com.google.analytics.debug {
import flash.text.*;
import flash.net.*;
public class _Style {
public var failureColor:uint;
public var borderColor:uint;
public var backgroundColor:uint;
private var _sheet:StyleSheet;
public var roundedCorner:uint;
public var warningColor:uint;
public var infoColor:uint;
public var alertColor:uint;
public var successColor:uint;
private var _loader:URLLoader;
private var _defaultSheet:String;
public function _Style(){
_sheet = new StyleSheet();
_loader = new URLLoader();
_init();
}
private function _parseSheet(_arg1:String):void{
_sheet.parseCSS(_arg1);
}
public function get sheet():StyleSheet{
return (_sheet);
}
private function _init():void{
_defaultSheet = "";
_defaultSheet = (_defaultSheet + "a{text-decoration: underline;}\n");
_defaultSheet = (_defaultSheet + ".uiLabel{color: #000000;font-family: Arial;font-size: 12;margin-left: 2;margin-right: 2;}\n");
_defaultSheet = (_defaultSheet + ".uiWarning{color: #ffffff;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlert{color: #ffffff;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiInfo{color: #000000;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiSuccess{color: #ffffff;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiFailure{color: #ffffff;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlertAction{color: #ffffff;text-align: center;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlertTitle{color: #ffffff;font-family: Arial;font-size: 16;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + "\n");
roundedCorner = 6;
backgroundColor = 0xCCCCCC;
borderColor = 0x555555;
infoColor = 16777113;
alertColor = 0xFFCC00;
warningColor = 0xCC0000;
successColor = 0xFF00;
failureColor = 0xFF0000;
_parseSheet(_defaultSheet);
}
}
}//package com.google.analytics.debug
Section 32
//Alert (com.google.analytics.debug.Alert)
package com.google.analytics.debug {
import flash.events.*;
public class Alert extends Label {
public var autoClose:Boolean;// = true
public var actionOnNextLine:Boolean;// = true
private var _actions:Array;
public function Alert(_arg1:String, _arg2:Array, _arg3:String="uiAlert", _arg4:uint=0, _arg5:Align=null, _arg6:Boolean=false, _arg7:Boolean=true){
if (_arg4 == 0){
_arg4 = Style.alertColor;
};
if (_arg5 == null){
_arg5 = Align.center;
};
super(_arg1, _arg3, _arg4, _arg5, _arg6);
this.selectable = true;
super.mouseChildren = true;
this.buttonMode = true;
this.mouseEnabled = true;
this.useHandCursor = true;
this.actionOnNextLine = _arg7;
_actions = [];
var _local8:int;
while (_local8 < _arg2.length) {
_arg2[_local8].container = this;
_actions.push(_arg2[_local8]);
_local8++;
};
}
private function _defineActions():void{
var _local3:AlertAction;
var _local1 = "";
if (actionOnNextLine){
_local1 = (_local1 + "\n");
} else {
_local1 = (_local1 + " |");
};
_local1 = (_local1 + " ");
var _local2:Array = [];
var _local4:int;
while (_local4 < _actions.length) {
_local3 = _actions[_local4];
_local2.push((((("<a href=\"event:" + _local3.activator) + "\">") + _local3.name) + "</a>"));
_local4++;
};
_local1 = (_local1 + _local2.join(" | "));
appendText(_local1, "uiAlertAction");
}
protected function isValidAction(_arg1:String):Boolean{
var _local2:int;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (true);
};
_local2++;
};
return (false);
}
override protected function layout():void{
super.layout();
_defineActions();
}
protected function getAction(_arg1:String):AlertAction{
var _local2:int;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (_actions[_local2]);
};
_local2++;
};
return (null);
}
protected function spaces(_arg1:int):String{
var _local2 = "";
var _local3 = " ";
var _local4:int;
while (_local4 < (_arg1 + 1)) {
_local2 = (_local2 + _local3);
_local4++;
};
return (_local2);
}
override public function onLink(_arg1:TextEvent):void{
var _local2:AlertAction;
if (isValidAction(_arg1.text)){
_local2 = getAction(_arg1.text);
if (_local2){
_local2.execute();
};
};
if (autoClose){
close();
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 33
//AlertAction (com.google.analytics.debug.AlertAction)
package com.google.analytics.debug {
public class AlertAction {
public var container:Alert;
private var _callback;
public var activator:String;
public var name:String;
public function AlertAction(_arg1:String, _arg2:String, _arg3){
this.name = _arg1;
this.activator = _arg2;
_callback = _arg3;
}
public function execute():void{
if (_callback){
if ((_callback is Function)){
(_callback as Function)();
} else {
if ((_callback is String)){
var _local1 = container;
_local1[_callback]();
};
};
};
}
}
}//package com.google.analytics.debug
Section 34
//Align (com.google.analytics.debug.Align)
package com.google.analytics.debug {
public class Align {
private var _value:int;
private var _name:String;
public static const bottomRight:Align = new Align(18, "bottomRight");
;
public static const right:Align = new Align(16, "right");
;
public static const left:Align = new Align(32, "left");
;
public static const topRight:Align = new Align(17, "topRight");
;
public static const bottom:Align = new Align(2, "bottom");
;
public static const bottomLeft:Align = new Align(34, "bottomLeft");
;
public static const topLeft:Align = new Align(33, "topLeft");
;
public static const center:Align = new Align(0x0100, "center");
;
public static const none:Align = new Align(0, "none");
;
public static const top:Align = new Align(1, "top");
;
public function Align(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 35
//Background (com.google.analytics.debug.Background)
package com.google.analytics.debug {
import flash.display.*;
public class Background {
public static function drawRounded(_arg1, _arg2:Graphics, _arg3:uint=0, _arg4:uint=0):void{
var _local5:uint;
var _local6:uint;
var _local7:uint = Style.roundedCorner;
if ((((_arg3 > 0)) && ((_arg4 > 0)))){
_local5 = _arg3;
_local6 = _arg4;
} else {
_local5 = _arg1.width;
_local6 = _arg1.height;
};
if (((_arg1.stickToEdge) && (!((_arg1.alignement == Align.none))))){
switch (_arg1.alignement){
case Align.top:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, _local7, _local7);
break;
case Align.topLeft:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, 0, _local7);
break;
case Align.topRight:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, _local7, 0);
break;
case Align.bottom:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, _local7, 0, 0);
break;
case Align.bottomLeft:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, _local7, 0, 0);
break;
case Align.bottomRight:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, 0, 0, 0);
break;
case Align.left:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, _local7, 0, _local7);
break;
case Align.right:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, 0, _local7, 0);
break;
case Align.center:
_arg2.drawRoundRect(0, 0, _local5, _local6, _local7, _local7);
break;
};
} else {
_arg2.drawRoundRect(0, 0, _local5, _local6, _local7, _local7);
};
}
}
}//package com.google.analytics.debug
Section 36
//Debug (com.google.analytics.debug.Debug)
package com.google.analytics.debug {
import flash.events.*;
import flash.ui.*;
public class Debug extends Label {
private var _lines:Array;
private var _preferredForcedWidth:uint;// = 540
private var _linediff:int;// = 0
public var maxLines:uint;// = 16
public static var count:uint = 0;
public function Debug(_arg1:uint=0, _arg2:Align=null, _arg3:Boolean=false){
if (_arg2 == null){
_arg2 = Align.bottom;
};
super("", "uiLabel", _arg1, _arg2, _arg3);
this.name = ("Debug" + count++);
_lines = [];
selectable = true;
addEventListener(KeyboardEvent.KEY_DOWN, onKey);
}
public function writeBold(_arg1:String):void{
write(_arg1, true);
}
private function _getLinesToDisplay(_arg1:int=0):Array{
var _local2:Array;
var _local3:uint;
var _local4:uint;
if ((_lines.length - 1) > maxLines){
if ((_linediff <= 0)){
_linediff = (_linediff + _arg1);
} else {
if ((((_linediff > 0)) && ((_arg1 < 0)))){
_linediff = (_linediff + _arg1);
};
};
_local3 = ((_lines.length - maxLines) + _linediff);
_local4 = (_local3 + maxLines);
_local2 = _lines.slice(_local3, _local4);
} else {
_local2 = _lines;
};
return (_local2);
}
private function onKey(_arg1:KeyboardEvent=null):void{
var _local2:Array;
switch (_arg1.keyCode){
case Keyboard.DOWN:
_local2 = _getLinesToDisplay(1);
break;
case Keyboard.UP:
_local2 = _getLinesToDisplay(-1);
break;
default:
_local2 = null;
};
if (_local2 == null){
return;
};
text = _local2.join("\n");
}
override public function get forcedWidth():uint{
if (this.parent){
if (UISprite(this.parent).forcedWidth > _preferredForcedWidth){
return (_preferredForcedWidth);
};
return (UISprite(this.parent).forcedWidth);
//unresolved jump
};
return (super.forcedWidth);
}
public function write(_arg1:String, _arg2:Boolean=false):void{
var _local3:Array;
if (_arg1.indexOf("") > -1){
_local3 = _arg1.split("\n");
} else {
_local3 = [_arg1];
};
var _local4 = "";
var _local5 = "";
if (_arg2){
_local4 = "<b>";
_local5 = "</b>";
};
var _local6:int;
while (_local6 < _local3.length) {
_lines.push(((_local4 + _local3[_local6]) + _local5));
_local6++;
};
var _local7:Array = _getLinesToDisplay();
text = _local7.join("\n");
}
public function close():void{
dispose();
}
override protected function dispose():void{
removeEventListener(KeyboardEvent.KEY_DOWN, onKey);
super.dispose();
}
}
}//package com.google.analytics.debug
Section 37
//DebugConfiguration (com.google.analytics.debug.DebugConfiguration)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
public class DebugConfiguration {
public var showHideKey:Number;
private var _mode:VisualDebugMode;
private var _verbose:Boolean;// = false
public var destroyKey:Number;
public var GIFRequests:Boolean;// = false
public var showInfos:Boolean;// = true
public var infoTimeout:Number;// = 1000
public var minimizedOnStart:Boolean;// = false
private var _active:Boolean;// = false
public var traceOutput:Boolean;// = false
public var layout:ILayout;
public var warningTimeout:Number;// = 1500
public var javascript:Boolean;// = false
public var showWarnings:Boolean;// = true
private var _visualInitialized:Boolean;// = false
public function DebugConfiguration(){
_mode = VisualDebugMode.basic;
showHideKey = Keyboard.SPACE;
destroyKey = Keyboard.BACKSPACE;
super();
}
public function get verbose():Boolean{
return (_verbose);
}
public function set verbose(_arg1:Boolean):void{
_verbose = _arg1;
}
public function set mode(_arg1):void{
if ((_arg1 is String)){
switch (_arg1){
case "geek":
_arg1 = VisualDebugMode.geek;
break;
case "advanced":
_arg1 = VisualDebugMode.advanced;
break;
case "basic":
default:
_arg1 = VisualDebugMode.basic;
};
};
_mode = _arg1;
}
public function success(_arg1:String):void{
if (layout){
layout.createSuccessAlert(_arg1);
};
if (traceOutput){
trace((("[+] " + _arg1) + " !!"));
};
}
public function get active():Boolean{
return (_active);
}
private function _initializeVisual():void{
if (layout){
layout.init();
_visualInitialized = true;
};
}
private function _destroyVisual():void{
if (((layout) && (_visualInitialized))){
layout.destroy();
};
}
public function warning(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showWarnings))){
layout.createWarning(_arg1);
};
if (traceOutput){
trace((("## " + _arg1) + " ##"));
};
}
private function _filter(_arg1:VisualDebugMode=null):Boolean{
return (((_arg1) && ((int(_arg1) >= int(this.mode)))));
}
public function failure(_arg1:String):void{
if (layout){
layout.createFailureAlert(_arg1);
};
if (traceOutput){
trace((("[-] " + _arg1) + " !!"));
};
}
public function get mode(){
return (_mode);
}
public function set active(_arg1:Boolean):void{
_active = _arg1;
if (_active){
_initializeVisual();
} else {
_destroyVisual();
};
}
protected function trace(_arg1:String):void{
var _local7:Array;
var _local8:int;
var _local2:Array = [];
var _local3 = "";
var _local4 = "";
if (this.mode == VisualDebugMode.geek){
_local3 = (getTimer() + " - ");
_local4 = (new Array(_local3.length).join(" ") + " ");
};
if (_arg1.indexOf("\n") > -1){
_local7 = _arg1.split("\n");
_local8 = 0;
while (_local8 < _local7.length) {
if (_local7[_local8] == ""){
} else {
if (_local8 == 0){
_local2.push((_local3 + _local7[_local8]));
} else {
_local2.push((_local4 + _local7[_local8]));
};
};
_local8++;
};
} else {
_local2.push((_local3 + _arg1));
};
var _local5:int = _local2.length;
var _local6:int;
while (_local6 < _local5) {
trace(_local2[_local6]);
_local6++;
};
}
public function alert(_arg1:String):void{
if (layout){
layout.createAlert(_arg1);
};
if (traceOutput){
trace((("!! " + _arg1) + " !!"));
};
}
public function info(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showInfos))){
layout.createInfo(_arg1);
};
if (traceOutput){
trace(_arg1);
};
}
public function alertGifRequest(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
if (layout){
layout.createGIFRequestAlert(_arg1, _arg2, _arg3);
};
if (traceOutput){
trace(((">> " + _arg1) + " <<"));
};
}
}
}//package com.google.analytics.debug
Section 38
//FailureAlert (com.google.analytics.debug.FailureAlert)
package com.google.analytics.debug {
public class FailureAlert extends Alert {
public function FailureAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align = Align.bottomLeft;
var _local5:Boolean;
var _local6:Boolean;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Failure</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiFailure", Style.failureColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 39
//GIFRequestAlert (com.google.analytics.debug.GIFRequestAlert)
package com.google.analytics.debug {
public class GIFRequestAlert extends Alert {
public function GIFRequestAlert(_arg1:String, _arg2:Array){
super(_arg1, _arg2);
}
}
}//package com.google.analytics.debug
Section 40
//ILayout (com.google.analytics.debug.ILayout)
package com.google.analytics.debug {
import flash.display.*;
import com.google.analytics.core.*;
import flash.net.*;
public interface ILayout {
function createAlert(_arg1:String):void;
function addToStage(_arg1:DisplayObject):void;
function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void;
function createWarning(_arg1:String):void;
function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void;
function createInfo(_arg1:String):void;
function createFailureAlert(_arg1:String):void;
function addToPanel(_arg1:String, _arg2:DisplayObject):void;
function init():void;
function createSuccessAlert(_arg1:String):void;
function createVisualDebug():void;
function destroy():void;
function bringToFront(_arg1:DisplayObject):void;
function isAvailable():Boolean;
}
}//package com.google.analytics.debug
Section 41
//Info (com.google.analytics.debug.Info)
package com.google.analytics.debug {
import flash.events.*;
import flash.utils.*;
public class Info extends Label {
private var _timer:Timer;
public function Info(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiInfo", Style.infoColor, Align.top, true);
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
}
}//package com.google.analytics.debug
Section 42
//Label (com.google.analytics.debug.Label)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class Label extends UISprite {
private var _color:uint;
private var _background:Shape;
private var _textField:TextField;
public var stickToEdge:Boolean;
private var _text:String;
protected var selectable:Boolean;
private var _tag:String;
public static var count:uint = 0;
public function Label(_arg1:String="", _arg2:String="uiLabel", _arg3:uint=0, _arg4:Align=null, _arg5:Boolean=false){
this.name = ("Label" + count++);
selectable = false;
_background = new Shape();
_textField = new TextField();
_text = _arg1;
_tag = _arg2;
if (_arg4 == null){
_arg4 = Align.none;
};
this.alignement = _arg4;
this.stickToEdge = _arg5;
if (_arg3 == 0){
_arg3 = Style.backgroundColor;
};
_color = _arg3;
_textField.addEventListener(TextEvent.LINK, onLink);
}
public function get tag():String{
return (_tag);
}
private function _draw():void{
var _local1:Graphics = _background.graphics;
_local1.clear();
_local1.beginFill(_color);
var _local2:uint = _textField.width;
var _local3:uint = _textField.height;
if (forcedWidth > 0){
_local2 = forcedWidth;
};
Background.drawRounded(this, _local1, _local2, _local3);
_local1.endFill();
}
public function get text():String{
return (_textField.text);
}
public function appendText(_arg1:String, _arg2:String=""):void{
if (_arg1 == ""){
return;
};
if (_arg2 == ""){
_arg2 = tag;
};
_textField.htmlText = (_textField.htmlText + (((("<span class=\"" + _arg2) + "\">") + _arg1) + "</span>"));
_text = (_text + _arg1);
_draw();
resize();
}
public function set text(_arg1:String):void{
if (_arg1 == ""){
_arg1 = _text;
};
_textField.htmlText = (((("<span class=\"" + tag) + "\">") + _arg1) + "</span>");
_text = _arg1;
_draw();
resize();
}
override protected function layout():void{
_textField.type = TextFieldType.DYNAMIC;
_textField.autoSize = TextFieldAutoSize.LEFT;
_textField.background = false;
_textField.selectable = selectable;
_textField.multiline = true;
_textField.styleSheet = Style.sheet;
this.text = _text;
addChild(_background);
addChild(_textField);
}
public function set tag(_arg1:String):void{
_tag = _arg1;
text = "";
}
public function onLink(_arg1:TextEvent):void{
}
override protected function dispose():void{
_textField.removeEventListener(TextEvent.LINK, onLink);
super.dispose();
}
}
}//package com.google.analytics.debug
Section 43
//Layout (com.google.analytics.debug.Layout)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
import com.google.analytics.core.*;
import flash.net.*;
import com.google.analytics.*;
public class Layout implements ILayout {
private var _display:DisplayObject;
private var _infoQueue:Array;
private var _maxCharPerLine:int;// = 85
private var _hasInfo:Boolean;
private var _warningQueue:Array;
private var _hasDebug:Boolean;
private var _hasWarning:Boolean;
private var _mainPanel:Panel;
private var _GRAlertQueue:Array;
private var _debug:DebugConfiguration;
public var visualDebug:Debug;
private var _hasGRAlert:Boolean;
public function Layout(_arg1:DebugConfiguration, _arg2:DisplayObject){
_display = _arg2;
_debug = _arg1;
_hasWarning = false;
_hasInfo = false;
_hasDebug = false;
_hasGRAlert = false;
_warningQueue = [];
_infoQueue = [];
_GRAlertQueue = [];
}
private function onKey(_arg1:KeyboardEvent=null):void{
switch (_arg1.keyCode){
case _debug.showHideKey:
_mainPanel.visible = !(_mainPanel.visible);
break;
case _debug.destroyKey:
destroy();
break;
};
}
public function createWarning(_arg1:String):void{
if (((_hasWarning) || (!(isAvailable())))){
_warningQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasWarning = true;
var _local2:Warning = new Warning(_arg1, _debug.warningTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearWarning, false, 0, true);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function bringToFront(_arg1:DisplayObject):void{
_display.stage.setChildIndex(_arg1, (_display.stage.numChildren - 1));
}
public function createFailureAlert(_arg1:String):void{
var _local2:AlertAction;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
var _local3:Alert = new FailureAlert(_debug, _arg1, [_local2]);
addToPanel("analytics", _local3);
if (_hasDebug){
if (_debug.verbose){
_arg1 = _arg1.split("\n").join("");
_arg1 = _filterMaxChars(_arg1, 66);
};
visualDebug.writeBold(_arg1);
};
}
public function init():void{
var _local1 = 10;
var _local2:uint = (_display.stage.stageWidth - (_local1 * 2));
var _local3:uint = (_display.stage.stageHeight - (_local1 * 2));
var _local4:Panel = new Panel("analytics", _local2, _local3);
_local4.alignement = Align.top;
_local4.stickToEdge = false;
_local4.title = ("Google Analytics v" + GATracker.version);
_mainPanel = _local4;
addToStage(_local4);
bringToFront(_local4);
if (_debug.minimizedOnStart){
_mainPanel.onToggle();
};
createVisualDebug();
_display.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKey, false, 0, true);
}
public function addToPanel(_arg1:String, _arg2:DisplayObject):void{
var _local4:Panel;
var _local3:DisplayObject = _display.stage.getChildByName(_arg1);
if (_local3){
_local4 = (_local3 as Panel);
_local4.addData(_arg2);
} else {
trace((("panel \"" + _arg1) + "\" not found"));
};
}
private function _clearInfo(_arg1:Event):void{
_hasInfo = false;
if (_infoQueue.length > 0){
createInfo(_infoQueue.shift());
};
}
private function _filterMaxChars(_arg1:String, _arg2:int=0):String{
var _local6:String;
var _local3 = "\n";
var _local4:Array = [];
var _local5:Array = _arg1.split(_local3);
if (_arg2 == 0){
_arg2 = _maxCharPerLine;
};
var _local7:int;
while (_local7 < _local5.length) {
_local6 = _local5[_local7];
while (_local6.length > _arg2) {
_local4.push(_local6.substr(0, _arg2));
_local6 = _local6.substring(_arg2);
};
_local4.push(_local6);
_local7++;
};
return (_local4.join(_local3));
}
private function _clearGRAlert(_arg1:Event):void{
_hasGRAlert = false;
if (_GRAlertQueue.length > 0){
createGIFRequestAlert.apply(this, _GRAlertQueue.shift());
};
}
public function createSuccessAlert(_arg1:String):void{
var _local2:AlertAction;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
var _local3:Alert = new SuccessAlert(_debug, _arg1, [_local2]);
addToPanel("analytics", _local3);
if (_hasDebug){
if (_debug.verbose){
_arg1 = _arg1.split("\n").join("");
_arg1 = _filterMaxChars(_arg1, 66);
};
visualDebug.writeBold(_arg1);
};
}
public function isAvailable():Boolean{
return (!((_display.stage == null)));
}
public function createAlert(_arg1:String):void{
_arg1 = _filterMaxChars(_arg1);
var _local2:Alert = new Alert(_arg1, [new AlertAction("Close", "close", "close")]);
addToPanel("analytics", _local2);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function createInfo(_arg1:String):void{
if (((_hasInfo) || (!(isAvailable())))){
_infoQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasInfo = true;
var _local2:Info = new Info(_arg1, _debug.infoTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearInfo, false, 0, true);
if (_hasDebug){
visualDebug.write(_arg1);
};
}
public function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
var message = _arg1;
var request = _arg2;
var ref = _arg3;
if (_hasGRAlert){
_GRAlertQueue.push([message, request, ref]);
return;
};
_hasGRAlert = true;
var f:Function = function ():void{
ref.sendRequest(request);
};
message = _filterMaxChars(message);
var gra:GIFRequestAlert = new GIFRequestAlert(message, [new AlertAction("OK", "ok", f), new AlertAction("Cancel", "cancel", "close")]);
addToPanel("analytics", gra);
gra.addEventListener(Event.REMOVED_FROM_STAGE, _clearGRAlert, false, 0, true);
if (_hasDebug){
if (_debug.verbose){
message = message.split("\n").join("");
message = _filterMaxChars(message, 66);
};
visualDebug.write(message);
};
}
public function createVisualDebug():void{
if (!visualDebug){
visualDebug = new Debug();
visualDebug.alignement = Align.bottom;
visualDebug.stickToEdge = true;
addToPanel("analytics", visualDebug);
_hasDebug = true;
};
}
public function addToStage(_arg1:DisplayObject):void{
_display.stage.addChild(_arg1);
}
private function _clearWarning(_arg1:Event):void{
_hasWarning = false;
if (_warningQueue.length > 0){
createWarning(_warningQueue.shift());
};
}
public function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void{
var _local4:Panel = new Panel(_arg1, _arg2, _arg3);
_local4.alignement = Align.center;
_local4.stickToEdge = false;
addToStage(_local4);
bringToFront(_local4);
}
public function destroy():void{
_mainPanel.close();
_debug.layout = null;
}
}
}//package com.google.analytics.debug
Section 44
//Margin (com.google.analytics.debug.Margin)
package com.google.analytics.debug {
public class Margin {
public var top:int;
public var left:int;
public var bottom:int;
public var right:int;
public function Margin(_arg1:int=0, _arg2:int=0, _arg3:int=0, _arg4:int=0){
this.top = _arg1;
this.bottom = _arg2;
this.left = _arg3;
this.right = _arg4;
}
}
}//package com.google.analytics.debug
Section 45
//Panel (com.google.analytics.debug.Panel)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class Panel extends UISprite {
private var _savedH:uint;
private var _data:UISprite;
private var _mask:Sprite;
private var _background:Shape;
private var _savedW:uint;
private var _stickToEdge:Boolean;
private var _border:Shape;
private var _borderColor:uint;
protected var baseAlpha:Number;
private var _backgroundColor:uint;
private var _title:Label;
private var _colapsed:Boolean;
private var _name:String;
public function Panel(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint=0, _arg5:uint=0, _arg6:Number=0.3, _arg7:Align=null, _arg8:Boolean=false){
_name = _arg1;
this.name = _arg1;
this.mouseEnabled = false;
_colapsed = false;
forcedWidth = _arg2;
forcedHeight = _arg3;
this.baseAlpha = _arg6;
_background = new Shape();
_data = new UISprite();
_data.forcedWidth = _arg2;
_data.forcedHeight = _arg3;
_data.mouseEnabled = false;
_title = new Label(_arg1, "uiLabel", 0xFFFFFF, Align.topLeft, _arg8);
_title.buttonMode = true;
_title.margin.top = 0.6;
_title.margin.left = 0.6;
_title.addEventListener(MouseEvent.CLICK, onToggle);
_title.mouseChildren = false;
_border = new Shape();
_mask = new Sprite();
_mask.useHandCursor = false;
_mask.mouseEnabled = false;
_mask.mouseChildren = false;
if (_arg7 == null){
_arg7 = Align.none;
};
this.alignement = _arg7;
this.stickToEdge = _arg8;
if (_arg4 == 0){
_arg4 = Style.backgroundColor;
};
_backgroundColor = _arg4;
if (_arg5 == 0){
_arg5 = Style.borderColor;
};
_borderColor = _arg5;
}
public function get stickToEdge():Boolean{
return (_stickToEdge);
}
public function onToggle(_arg1:MouseEvent=null):void{
if (_colapsed){
_data.visible = true;
} else {
_data.visible = false;
};
_colapsed = !(_colapsed);
_update();
resize();
}
public function set stickToEdge(_arg1:Boolean):void{
_stickToEdge = _arg1;
_title.stickToEdge = _arg1;
}
override protected function dispose():void{
_title.removeEventListener(MouseEvent.CLICK, onToggle);
super.dispose();
}
private function _draw():void{
var _local1:uint;
var _local2:uint;
if (((_savedW) && (_savedH))){
forcedWidth = _savedW;
forcedHeight = _savedH;
};
if (!_colapsed){
_local1 = forcedWidth;
_local2 = forcedHeight;
} else {
_local1 = _title.width;
_local2 = _title.height;
_savedW = forcedWidth;
_savedH = forcedHeight;
forcedWidth = _local1;
forcedHeight = _local2;
};
var _local3:Graphics = _background.graphics;
_local3.clear();
_local3.beginFill(_backgroundColor);
Background.drawRounded(this, _local3, _local1, _local2);
_local3.endFill();
var _local4:Graphics = _data.graphics;
_local4.clear();
_local4.beginFill(_backgroundColor, 0);
Background.drawRounded(this, _local4, _local1, _local2);
_local4.endFill();
var _local5:Graphics = _border.graphics;
_local5.clear();
_local5.lineStyle(0.1, _borderColor);
Background.drawRounded(this, _local5, _local1, _local2);
_local5.endFill();
var _local6:Graphics = _mask.graphics;
_local6.clear();
_local6.beginFill(_backgroundColor);
Background.drawRounded(this, _local6, (_local1 + 1), (_local2 + 1));
_local6.endFill();
}
public function get title():String{
return (_title.text);
}
private function _update():void{
_draw();
if (baseAlpha < 1){
_background.alpha = baseAlpha;
_border.alpha = baseAlpha;
};
}
public function addData(_arg1:DisplayObject):void{
_data.addChild(_arg1);
}
override protected function layout():void{
_update();
addChild(_background);
addChild(_data);
addChild(_title);
addChild(_border);
addChild(_mask);
mask = _mask;
}
public function set title(_arg1:String):void{
_title.text = _arg1;
}
public function close():void{
dispose();
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 46
//Style (com.google.analytics.debug.Style)
package com.google.analytics.debug {
public const Style:_Style = new _Style();
}//package com.google.analytics.debug
Section 47
//SuccessAlert (com.google.analytics.debug.SuccessAlert)
package com.google.analytics.debug {
public class SuccessAlert extends Alert {
public function SuccessAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align = Align.bottomLeft;
var _local5:Boolean;
var _local6:Boolean;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Success</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiSuccess", Style.successColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 48
//UISprite (com.google.analytics.debug.UISprite)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class UISprite extends Sprite {
private var _forcedWidth:uint;
public var margin:Margin;
protected var alignTarget:DisplayObject;
protected var listenResize:Boolean;
public var alignement:Align;
private var _forcedHeight:uint;
public function UISprite(_arg1:DisplayObject=null){
listenResize = false;
alignement = Align.none;
this.alignTarget = _arg1;
margin = new Margin();
addEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
addEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
}
public function get forcedHeight():uint{
if (_forcedHeight){
return (_forcedHeight);
};
return (height);
}
private function _onAddedToStage(_arg1:Event):void{
layout();
resize();
}
protected function dispose():void{
var _local1:DisplayObject;
var _local2:int;
while (_local2 < numChildren) {
_local1 = getChildAt(_local2);
if (_local1){
removeChild(_local1);
};
_local2++;
};
}
public function set forcedHeight(_arg1:uint):void{
_forcedHeight = _arg1;
}
public function set forcedWidth(_arg1:uint):void{
_forcedWidth = _arg1;
}
protected function layout():void{
}
public function get forcedWidth():uint{
if (_forcedWidth){
return (_forcedWidth);
};
return (width);
}
public function alignTo(_arg1:Align, _arg2:DisplayObject=null):void{
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:UISprite;
if (_arg2 == null){
if ((parent is Stage)){
_arg2 = this.stage;
} else {
_arg2 = parent;
};
};
if (_arg2 == this.stage){
if (this.stage == null){
return;
};
_local3 = this.stage.stageHeight;
_local4 = this.stage.stageWidth;
_local5 = 0;
_local6 = 0;
} else {
_local7 = (_arg2 as UISprite);
if (_local7.forcedHeight){
_local3 = _local7.forcedHeight;
} else {
_local3 = _local7.height;
};
if (_local7.forcedWidth){
_local4 = _local7.forcedWidth;
} else {
_local4 = _local7.width;
};
_local5 = 0;
_local6 = 0;
};
switch (_arg1){
case Align.top:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (_local6 + margin.top);
break;
case Align.bottom:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.left:
x = (_local5 + margin.left);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.right:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.center:
x = ((_local4 / 2) - (forcedWidth / 2));
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.topLeft:
x = (_local5 + margin.left);
y = (_local6 + margin.top);
break;
case Align.topRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (_local6 + margin.top);
break;
case Align.bottomLeft:
x = (_local5 + margin.left);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.bottomRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
};
if (((!(listenResize)) && (!((_arg1 == Align.none))))){
_arg2.addEventListener(Event.RESIZE, onResize, false, 0, true);
listenResize = true;
};
this.alignement = _arg1;
this.alignTarget = _arg2;
}
private function _onRemovedFromStage(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
removeEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
dispose();
}
public function resize():void{
if (alignement != Align.none){
alignTo(alignement, alignTarget);
};
}
protected function onResize(_arg1:Event):void{
resize();
}
}
}//package com.google.analytics.debug
Section 49
//Warning (com.google.analytics.debug.Warning)
package com.google.analytics.debug {
import flash.events.*;
import flash.utils.*;
public class Warning extends Label {
private var _timer:Timer;
public function Warning(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiWarning", Style.warningColor, Align.top, false);
margin.top = 32;
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
}
}//package com.google.analytics.debug
Section 50
//VisualDebugMode (com.google.analytics.debug.VisualDebugMode)
package com.google.analytics.debug {
public class VisualDebugMode {
private var _value:int;
private var _name:String;
public static const advanced:VisualDebugMode = new VisualDebugMode(1, "advanced");
;
public static const geek:VisualDebugMode = new VisualDebugMode(2, "geek");
;
public static const basic:VisualDebugMode = new VisualDebugMode(0, "basic");
;
public function VisualDebugMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 51
//AnalyticsEvent (com.google.analytics.events.AnalyticsEvent)
package com.google.analytics.events {
import flash.events.*;
import com.google.analytics.*;
public class AnalyticsEvent extends Event {
public var tracker:AnalyticsTracker;
public static const READY:String = "ready";
public function AnalyticsEvent(_arg1:String, _arg2:AnalyticsTracker, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.tracker = _arg2;
}
override public function clone():Event{
return (new AnalyticsEvent(type, tracker, bubbles, cancelable));
}
}
}//package com.google.analytics.events
Section 52
//AdSenseGlobals (com.google.analytics.external.AdSenseGlobals)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class AdSenseGlobals extends JavascriptProxy {
private var _gaGlobalVerified:Boolean;// = false
public static var gaGlobal_js:XML = <script>
<![CDATA[
function()
{
try
{
gaGlobal
}
catch(e)
{
gaGlobal = {} ;
}
}
]]>
</script>
;
public function AdSenseGlobals(_arg1:DebugConfiguration){
super(_arg1);
}
public function set vid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.vid", _arg1);
}
public function get hid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.hid"));
}
public function set hid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.hid", _arg1);
}
public function get dh():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.dh"));
}
public function get sid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.sid"));
}
public function get vid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.vid"));
}
private function _verify():void{
if (!_gaGlobalVerified){
executeBlock(gaGlobal_js);
_gaGlobalVerified = true;
};
}
public function set sid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.sid", _arg1);
}
public function get gaGlobal():Object{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal"));
}
}
}//package com.google.analytics.external
Section 53
//HTMLDOM (com.google.analytics.external.HTMLDOM)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class HTMLDOM extends JavascriptProxy {
private var _referrer:String;
private var _language:String;
private var _host:String;
private var _pathname:String;
private var _location:String;
private var _search:String;
private var _characterSet:String;
private var _title:String;
private var _protocol:String;
private var _colorDepth:String;
public static var cache_properties_js:XML = <script>
<![CDATA[
function()
{
var obj = {};
obj.host = document.location.host;
obj.language = navigator.language ? navigator.language : navigator.browserLanguage;
obj.characterSet = document.characterSet ? document.characterSet : document.charset;
obj.colorDepth = window.screen.colorDepth;
obj.location = document.location.toString();
obj.pathname = document.location.pathname;
obj.protocol = document.location.protocol;
obj.search = document.location.search;
obj.referrer = document.referrer;
obj.title = document.title;
return obj;
}
]]>
</script>
;
public function HTMLDOM(_arg1:DebugConfiguration){
super(_arg1);
}
public function get search():String{
if (_search){
return (_search);
};
if (!isAvailable()){
return (null);
};
_search = getProperty("document.location.search");
return (_search);
}
public function get location():String{
if (_location){
return (_location);
};
if (!isAvailable()){
return (null);
};
_location = getPropertyString("document.location");
return (_location);
}
public function get pathname():String{
if (_pathname){
return (_pathname);
};
if (!isAvailable()){
return (null);
};
_pathname = getProperty("document.location.pathname");
return (_pathname);
}
public function cacheProperties():void{
if (!isAvailable()){
return;
};
var _local1:Object = call(cache_properties_js);
if (_local1){
_host = _local1.host;
_language = _local1.language;
_characterSet = _local1.characterSet;
_colorDepth = _local1.colorDepth;
_location = _local1.location;
_pathname = _local1.pathname;
_protocol = _local1.protocol;
_search = _local1.search;
_referrer = _local1.referrer;
_title = _local1.title;
};
}
public function get language():String{
if (_language){
return (_language);
};
if (!isAvailable()){
return (null);
};
var _local1:String = getProperty("navigator.language");
if (_local1 == null){
_local1 = getProperty("navigator.browserLanguage");
};
_language = _local1;
return (_language);
}
public function get colorDepth():String{
if (_colorDepth){
return (_colorDepth);
};
if (!isAvailable()){
return (null);
};
_colorDepth = getProperty("window.screen.colorDepth");
return (_colorDepth);
}
public function get referrer():String{
if (_referrer){
return (_referrer);
};
if (!isAvailable()){
return (null);
};
_referrer = getProperty("document.referrer");
return (_referrer);
}
public function get protocol():String{
if (_protocol){
return (_protocol);
};
if (!isAvailable()){
return (null);
};
_protocol = getProperty("document.location.protocol");
return (_protocol);
}
public function get host():String{
if (_host){
return (_host);
};
if (!isAvailable()){
return (null);
};
_host = getProperty("document.location.host");
return (_host);
}
public function get characterSet():String{
if (_characterSet){
return (_characterSet);
};
if (!isAvailable()){
return (null);
};
var _local1:String = getProperty("document.characterSet");
if (_local1 == null){
_local1 = getProperty("document.charset");
};
_characterSet = _local1;
return (_characterSet);
}
public function get title():String{
if (_title){
return (_title);
};
if (!isAvailable()){
return (null);
};
_title = getProperty("document.title");
return (_title);
}
}
}//package com.google.analytics.external
Section 54
//JavascriptProxy (com.google.analytics.external.JavascriptProxy)
package com.google.analytics.external {
import com.google.analytics.debug.*;
import flash.system.*;
import flash.external.*;
public class JavascriptProxy {
private var _notAvailableWarning:Boolean;// = true
private var _debug:DebugConfiguration;
public static var setProperty_js:XML = <script>
<![CDATA[
function( path , value )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
target[ prop ] = value ;
}
]]>
</script>
;
public static var hasProperty_js:XML = <script>
<![CDATA[
function( path )
{
var paths;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
}
else
{
paths = [path];
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
if( target )
{
return true;
}
else
{
return false;
}
}
]]>
</script>
;
public static var setPropertyRef_js:XML = <script>
<![CDATA[
function( path , target )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
alert( "paths:"+paths.length+", prop:"+prop );
var targets;
var name;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
alert( "targets:"+targets.length+", name:"+name );
var root = window;
var len = paths.length;
for( var i = 0 ; i < len ; i++ )
{
root = root[ paths[i] ] ;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
root[ prop ] = ref[name] ;
}
]]>
</script>
;
public function JavascriptProxy(_arg1:DebugConfiguration){
_debug = _arg1;
}
public function getProperty(_arg1:String){
return (call((_arg1 + ".valueOf")));
}
public function hasProperty(_arg1:String):Boolean{
return (call(hasProperty_js, _arg1));
}
public function setProperty(_arg1:String, _arg2):void{
call(setProperty_js, _arg1, _arg2);
}
public function executeBlock(_arg1:String):void{
var data = _arg1;
if (isAvailable()){
try {
ExternalInterface.call(data);
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
}
public function getPropertyString(_arg1:String):String{
return (call((_arg1 + ".toString")));
}
public function setPropertyByReference(_arg1:String, _arg2:String):void{
call(setPropertyRef_js, _arg1, _arg2);
}
public function call(_arg1:String, ... _args){
var output:String;
var functionName = _arg1;
var args = _args;
if (isAvailable()){
try {
if (((_debug.javascript) && (_debug.verbose))){
output = "";
output = ("Flash->JS: " + functionName);
output = (output + "( ");
if (args.length > 0){
output = (output + args.join(","));
};
output = (output + " )");
_debug.info(output);
};
args.unshift(functionName);
return (ExternalInterface.call.apply(ExternalInterface, args));
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
return (null);
}
public function isAvailable():Boolean{
var _local1:Boolean = ExternalInterface.available;
if (((_local1) && ((Capabilities.playerType == "External")))){
_local1 = false;
};
if (((((!(_local1)) && (_debug.javascript))) && (_notAvailableWarning))){
_debug.warning("ExternalInterface is not available.");
_notAvailableWarning = false;
};
return (_local1);
}
}
}//package com.google.analytics.external
Section 55
//Environment (com.google.analytics.utils.Environment)
package com.google.analytics.utils {
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
import flash.system.*;
public class Environment {
private var _dom:HTMLDOM;
private var _appName:String;
private var _debug:DebugConfiguration;
private var _appVersion:Version;
private var _url:String;
private var _protocol:Protocols;
private var _userAgent:UserAgent;
public function Environment(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:DebugConfiguration=null, _arg5:HTMLDOM=null){
var _local6:Version;
super();
if (_arg2 == ""){
if (isAIR()){
_arg2 = "AIR";
} else {
_arg2 = "Flash";
};
};
if (_arg3 == ""){
_local6 = flashVersion;
} else {
_local6 = Version.fromString(_arg3);
};
_url = _arg1;
_appName = _arg2;
_appVersion = _local6;
_debug = _arg4;
_dom = _arg5;
}
public function isAIR():Boolean{
return ((((playerType == "Desktop")) && ((Security.sandboxType.toString() == "application"))));
}
public function get screenWidth():Number{
return (Capabilities.screenResolutionX);
}
public function get playerType():String{
return (Capabilities.playerType);
}
public function get locationSearch():String{
var _local1:String = _dom.search;
if (_local1){
return (_local1);
};
return ("");
}
public function get protocol():Protocols{
if (!_protocol){
_findProtocol();
};
return (_protocol);
}
public function get flashVersion():Version{
var _local1:Version = Version.fromString(Capabilities.version.split(" ")[1], ",");
return (_local1);
}
public function get userAgent():UserAgent{
if (!_userAgent){
_userAgent = new UserAgent(this, appName, appVersion.toString(4));
};
return (_userAgent);
}
public function get languageEncoding():String{
var _local1:String;
if (System.useCodePage){
_local1 = _dom.characterSet;
if (_local1){
return (_local1);
};
return ("-");
};
return ("UTF-8");
}
public function get appName():String{
return (_appName);
}
public function get screenColorDepth():String{
var _local1:String;
switch (Capabilities.screenColor){
case "bw":
_local1 = "1";
break;
case "gray":
_local1 = "2";
break;
case "color":
default:
_local1 = "24";
};
var _local2:String = _dom.colorDepth;
if (_local2){
_local1 = _local2;
};
return (_local1);
}
private function _findProtocol():void{
var _local4:String;
var _local5:String;
var _local1:Protocols = Protocols.none;
if (_url != ""){
_local4 = _url.toLowerCase();
_local5 = _local4.substr(0, 5);
switch (_local5){
case "file:":
_local1 = Protocols.file;
break;
case "http:":
_local1 = Protocols.HTTP;
break;
case "https":
if (_local4.charAt(5) == ":"){
_local1 = Protocols.HTTPS;
};
break;
default:
_protocol = Protocols.none;
};
};
var _local2:String = _dom.protocol;
var _local3:String = (_local1.toString() + ":").toLowerCase();
if (((((_local2) && (!((_local2 == _local3))))) && (_debug))){
_debug.warning(((("Protocol mismatch: SWF=" + _local3) + ", DOM=") + _local2));
};
_protocol = _local1;
}
public function get locationSWFPath():String{
return (_url);
}
public function get platform():String{
var _local1:String = Capabilities.manufacturer;
return (_local1.split("Adobe ")[1]);
}
public function get operatingSystem():String{
return (Capabilities.os);
}
public function set appName(_arg1:String):void{
_appName = _arg1;
userAgent.applicationProduct = _arg1;
}
function set url(_arg1:String):void{
_url = _arg1;
}
public function get referrer():String{
var _local1:String = _dom.referrer;
if (_local1){
return (_local1);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function isInHTML():Boolean{
return ((Capabilities.playerType == "PlugIn"));
}
public function get language():String{
var _local1:String = _dom.language;
var _local2:String = Capabilities.language;
if (_local1){
if ((((_local1.length > _local2.length)) && ((_local1.substr(0, _local2.length) == _local2)))){
_local2 = _local1;
};
};
return (_local2);
}
public function get domainName():String{
var _local1:String;
var _local2:String;
var _local3:int;
if ((((protocol == Protocols.HTTP)) || ((protocol == Protocols.HTTPS)))){
_local1 = _url.toLowerCase();
if (protocol == Protocols.HTTP){
_local2 = _local1.split("http://").join("");
} else {
if (protocol == Protocols.HTTPS){
_local2 = _local1.split("https://").join("");
};
};
_local3 = _local2.indexOf("/");
if (_local3 > -1){
_local2 = _local2.substring(0, _local3);
};
return (_local2);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function set userAgent(_arg1:UserAgent):void{
_userAgent = _arg1;
}
public function set appVersion(_arg1:Version):void{
_appVersion = _arg1;
userAgent.applicationVersion = _arg1.toString(4);
}
public function get screenHeight():Number{
return (Capabilities.screenResolutionY);
}
public function get locationPath():String{
var _local1:String = _dom.pathname;
if (_local1){
return (_local1);
};
return ("");
}
public function get documentTitle():String{
var _local1:String = _dom.title;
if (_local1){
return (_local1);
};
return ("");
}
public function get appVersion():Version{
return (_appVersion);
}
}
}//package com.google.analytics.utils
Section 56
//Protocols (com.google.analytics.utils.Protocols)
package com.google.analytics.utils {
public class Protocols {
private var _value:int;
private var _name:String;
public static const none:Protocols = new Protocols(0, "none");
;
public static const HTTPS:Protocols = new Protocols(3, "HTTPS");
;
public static const file:Protocols = new Protocols(1, "file");
;
public static const HTTP:Protocols = new Protocols(2, "HTTP");
;
public function Protocols(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.utils
Section 57
//Timespan (com.google.analytics.utils.Timespan)
package com.google.analytics.utils {
public class Timespan {
public static var sixmonths:Number = 15768000;
public static var twoyears:Number = 63072000;
public static var thirtyminutes:Number = 1800;
}
}//package com.google.analytics.utils
Section 58
//URL (com.google.analytics.utils.URL)
package com.google.analytics.utils {
public class URL {
private var _url:String;
public function URL(_arg1:String=""){
_url = _arg1.toLowerCase();
}
public function get domain():String{
var _local1:Array;
if (((!((hostName == ""))) && ((hostName.indexOf(".") > -1)))){
_local1 = hostName.split(".");
switch (_local1.length){
case 2:
return (hostName);
case 3:
if (_local1[1] == "co"){
return (hostName);
};
_local1.shift();
return (_local1.join("."));
case 4:
_local1.shift();
return (_local1.join("."));
};
};
return ("");
}
public function get path():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf(hostName) == 0){
_local1 = _local1.substr(hostName.length);
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[0];
};
if (_local1.charAt(0) != "/"){
_local1 = ("/" + _local1);
};
return (_local1);
}
public function get protocol():Protocols{
var _local1:String = _url.split("://")[0];
switch (_local1){
case "file":
return (Protocols.file);
case "http":
return (Protocols.HTTP);
case "https":
return (Protocols.HTTPS);
default:
return (Protocols.none);
};
}
public function get hostName():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf("/") > -1){
_local1 = _local1.split("/")[0];
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[0];
};
if ((((protocol == Protocols.file)) || ((protocol == Protocols.none)))){
return ("");
};
return (_local1);
}
public function get subDomain():String{
if (((!((domain == ""))) && (!((domain == hostName))))){
return (hostName.split(("." + domain)).join(""));
};
return ("");
}
public function get search():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf(hostName) == 0){
_local1 = _local1.substr(hostName.length);
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[1];
} else {
_local1 = "";
};
return (_local1);
}
}
}//package com.google.analytics.utils
Section 59
//UserAgent (com.google.analytics.utils.UserAgent)
package com.google.analytics.utils {
import com.google.analytics.core.*;
import flash.system.*;
public class UserAgent {
private var _localInfo:Environment;
private var _applicationProduct:String;
private var _version:Version;
public static var minimal:Boolean = false;
public function UserAgent(_arg1:Environment, _arg2:String="", _arg3:String=""){
_localInfo = _arg1;
applicationProduct = _arg2;
_version = Version.fromString(_arg3);
}
public function get tamarinProductToken():String{
if (UserAgent.minimal){
return ("");
};
if (System.vmVersion){
return (("Tamarin/" + Utils.trim(System.vmVersion, true)));
};
return ("");
}
public function get applicationVersion():String{
return (_version.toString(2));
}
public function get vendorProductToken():String{
var _local1 = "";
if (_localInfo.isAIR()){
_local1 = (_local1 + "AIR");
} else {
_local1 = (_local1 + "FlashPlayer");
};
_local1 = (_local1 + "/");
_local1 = (_local1 + _version.toString(3));
return (_local1);
}
public function toString():String{
var _local1 = "";
_local1 = (_local1 + applicationProductToken);
if (applicationComment != ""){
_local1 = (_local1 + (" " + applicationComment));
};
if (tamarinProductToken != ""){
_local1 = (_local1 + (" " + tamarinProductToken));
};
if (vendorProductToken != ""){
_local1 = (_local1 + (" " + vendorProductToken));
};
return (_local1);
}
public function get applicationComment():String{
var _local1:Array = [];
_local1.push(_localInfo.platform);
_local1.push(_localInfo.playerType);
if (!UserAgent.minimal){
_local1.push(_localInfo.operatingSystem);
_local1.push(_localInfo.language);
};
if (Capabilities.isDebugger){
_local1.push("DEBUG");
};
if (_local1.length > 0){
return ((("(" + _local1.join("; ")) + ")"));
};
return ("");
}
public function set applicationVersion(_arg1:String):void{
_version = Version.fromString(_arg1);
}
public function get applicationProductToken():String{
var _local1:String = applicationProduct;
if (applicationVersion != ""){
_local1 = (_local1 + ("/" + applicationVersion));
};
return (_local1);
}
public function set applicationProduct(_arg1:String):void{
_applicationProduct = _arg1;
}
public function get applicationProduct():String{
return (_applicationProduct);
}
}
}//package com.google.analytics.utils
Section 60
//Variables (com.google.analytics.utils.Variables)
package com.google.analytics.utils {
import flash.net.*;
public dynamic class Variables {
public var post:Array;
public var URIencode:Boolean;
public var pre:Array;
public var sort:Boolean;// = true
public function Variables(_arg1:String=null, _arg2:Array=null, _arg3:Array=null){
pre = [];
post = [];
super();
if (_arg1){
decode(_arg1);
};
if (_arg2){
this.pre = _arg2;
};
if (_arg3){
this.post = _arg3;
};
}
private function _join(_arg1:Variables):void{
var _local2:String;
if (!_arg1){
return;
};
for (_local2 in _arg1) {
this[_local2] = _arg1[_local2];
};
}
public function join(... _args):void{
var _local2:int = _args.length;
var _local3:int;
while (_local3 < _local2) {
if (!(_args[_local3] is Variables)){
} else {
_join(_args[_local3]);
};
_local3++;
};
}
public function toString():String{
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:String;
var _local8:String;
var _local1:Array = [];
for (_local3 in this) {
_local2 = this[_local3];
if (URIencode){
_local2 = encodeURI(_local2);
};
_local1.push(((_local3 + "=") + _local2));
};
if (sort){
_local1.sort();
};
if (pre.length > 0){
pre.reverse();
_local5 = 0;
while (_local5 < pre.length) {
_local7 = pre[_local5];
_local6 = 0;
while (_local6 < _local1.length) {
_local4 = _local1[_local6];
if (_local4.indexOf(_local7) == 0){
_local1.unshift(_local1.splice(_local6, 1)[0]);
};
_local6++;
};
_local5++;
};
pre.reverse();
};
if (post.length > 0){
_local5 = 0;
while (_local5 < post.length) {
_local8 = post[_local5];
_local6 = 0;
while (_local6 < _local1.length) {
_local4 = _local1[_local6];
if (_local4.indexOf(_local8) == 0){
_local1.push(_local1.splice(_local6, 1)[0]);
};
_local6++;
};
_local5++;
};
};
return (_local1.join("&"));
}
public function decode(_arg1:String):void{
var _local2:Array;
var _local3:String;
var _local4:String;
var _local5:String;
var _local6:Array;
if (_arg1 == ""){
return;
};
if (_arg1.indexOf("&") > -1){
_local2 = _arg1.split("&");
} else {
_local2 = [_arg1];
};
var _local7:int;
while (_local7 < _local2.length) {
_local3 = _local2[_local7];
if (_local3.indexOf("=") > -1){
_local6 = _local3.split("=");
_local4 = _local6[0];
_local5 = decodeURI(_local6[1]);
this[_local4] = _local5;
};
_local7++;
};
}
public function toURLVariables():URLVariables{
var _local2:String;
var _local1:URLVariables = new URLVariables();
for (_local2 in this) {
_local1[_local2] = this[_local2];
};
return (_local1);
}
}
}//package com.google.analytics.utils
Section 61
//Version (com.google.analytics.utils.Version)
package com.google.analytics.utils {
public class Version {
private var _revision:uint;
private var _maxBuild:uint;// = 0xFF
private var _maxMinor:uint;// = 15
private var _maxMajor:uint;// = 15
private var _separator:String;// = "."
private var _maxRevision:uint;// = 0xFFFF
private var _build:uint;
private var _major:uint;
private var _minor:uint;
public function Version(_arg1:uint=0, _arg2:uint=0, _arg3:uint=0, _arg4:uint=0){
var _local5:Version;
super();
if ((((((((_arg1 > _maxMajor)) && ((_arg2 == 0)))) && ((_arg3 == 0)))) && ((_arg4 == 0)))){
_local5 = Version.fromNumber(_arg1);
_arg1 = _local5.major;
_arg2 = _local5.minor;
_arg3 = _local5.build;
_arg4 = _local5.revision;
};
this.major = _arg1;
this.minor = _arg2;
this.build = _arg3;
this.revision = _arg4;
}
public function toString(_arg1:int=0):String{
var _local2:Array;
if ((((_arg1 <= 0)) || ((_arg1 > 4)))){
_arg1 = getFields();
};
switch (_arg1){
case 1:
_local2 = [major];
break;
case 2:
_local2 = [major, minor];
break;
case 3:
_local2 = [major, minor, build];
break;
case 4:
default:
_local2 = [major, minor, build, revision];
};
return (_local2.join(_separator));
}
public function set revision(_arg1:uint):void{
_revision = Math.min(_arg1, _maxRevision);
}
public function get revision():uint{
return (_revision);
}
public function set build(_arg1:uint):void{
_build = Math.min(_arg1, _maxBuild);
}
public function set minor(_arg1:uint):void{
_minor = Math.min(_arg1, _maxMinor);
}
public function get build():uint{
return (_build);
}
public function set major(_arg1:uint):void{
_major = Math.min(_arg1, _maxMajor);
}
public function get minor():uint{
return (_minor);
}
private function getFields():int{
var _local1 = 4;
if (revision == 0){
_local1--;
};
if ((((_local1 == 3)) && ((build == 0)))){
_local1--;
};
if ((((_local1 == 2)) && ((minor == 0)))){
_local1--;
};
return (_local1);
}
public function valueOf():uint{
return (((((major << 28) | (minor << 24)) | (build << 16)) | revision));
}
public function get major():uint{
return (_major);
}
public function equals(_arg1):Boolean{
if (!(_arg1 is Version)){
return (false);
};
if ((((((((_arg1.major == major)) && ((_arg1.minor == minor)))) && ((_arg1.build == build)))) && ((_arg1.revision == revision)))){
return (true);
};
return (false);
}
public static function fromString(_arg1:String="", _arg2:String="."):Version{
var _local4:Array;
var _local3:Version = new (Version);
if ((((_arg1 == "")) || ((_arg1 == null)))){
return (_local3);
};
if (_arg1.indexOf(_arg2) > -1){
_local4 = _arg1.split(_arg2);
_local3.major = parseInt(_local4[0]);
_local3.minor = parseInt(_local4[1]);
_local3.build = parseInt(_local4[2]);
_local3.revision = parseInt(_local4[3]);
} else {
_local3.major = parseInt(_arg1);
};
return (_local3);
}
public static function fromNumber(_arg1:Number=0):Version{
var _local2:Version = new (Version);
if (((((((((((isNaN(_arg1)) || ((_arg1 == 0)))) || ((_arg1 < 0)))) || ((_arg1 == Number.MAX_VALUE)))) || ((_arg1 == Number.POSITIVE_INFINITY)))) || ((_arg1 == Number.NEGATIVE_INFINITY)))){
return (_local2);
};
_local2.major = (_arg1 >>> 28);
_local2.minor = ((_arg1 & 251658240) >>> 24);
_local2.build = ((_arg1 & 0xFF0000) >>> 16);
_local2.revision = (_arg1 & 0xFFFF);
return (_local2);
}
}
}//package com.google.analytics.utils
Section 62
//Bridge (com.google.analytics.v4.Bridge)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
public class Bridge implements GoogleAnalyticsAPI {
private var _debug:DebugConfiguration;
private var _proxy:JavascriptProxy;
private var _jsContainer:String;// = "_GATracker"
private var _hasGATracker:Boolean;// = false
private var _account:String;
private static var _linkTrackingObject_js:XML = <script>
<![CDATA[
function( container , target )
{
var targets ;
var name ;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
window[container][target] = ref[name] ;
}
]]>
</script>
;
private static var _createTrackingObject_js:XML = <script>
<![CDATA[
function( acct )
{
_GATracker[acct] = _gat._getTracker(acct);
}
]]>
</script>
;
private static var _injectTrackingObject_js:XML = <script>
<![CDATA[
function()
{
try
{
_GATracker
}
catch(e)
{
_GATracker = {};
}
}
]]>
</script>
;
private static var _checkGAJS_js:XML = <script>
<![CDATA[
function()
{
if( _gat && _gat._getTracker )
{
return true;
}
return false;
}
]]>
</script>
;
private static var _checkValidTrackingObject_js:XML = <script>
<![CDATA[
function(acct)
{
if( _GATracker[acct] && (_GATracker[acct]._getAccount) )
{
return true ;
}
else
{
return false;
}
}
]]>
</script>
;
public function Bridge(_arg1:String, _arg2:DebugConfiguration, _arg3:JavascriptProxy){
var _local4:String;
var _local5:String;
var _local6:String;
super();
_account = _arg1;
_debug = _arg2;
_proxy = _arg3;
if (!_checkGAJS()){
_local4 = "";
_local4 = (_local4 + "ga.js not found, be sure to check if\n");
_local4 = (_local4 + "<script src=\"http://www.google-analytics.com/ga.js\"></script>\n");
_local4 = (_local4 + "is included in the HTML.");
_debug.warning(_local4);
throw (new Error(_local4));
};
if (!_hasGATracker){
if (((_debug.javascript) && (_debug.verbose))){
_local5 = "";
_local5 = (_local5 + "The Google Analytics tracking code was not found on the container page\n");
_local5 = (_local5 + "we create it");
_debug.info(_local5, VisualDebugMode.advanced);
};
_injectTrackingObject();
};
if (Utils.validateAccount(_arg1)){
_createTrackingObject(_arg1);
} else {
if (_checkTrackingObject(_arg1)){
_linkTrackingObject(_arg1);
} else {
_local6 = "";
_local6 = (_local6 + (("JS Object \"" + _arg1) + "\" doesn't exist in DOM\n"));
_local6 = (_local6 + "Bridge object not created.");
_debug.warning(_local6);
throw (new Error(_local6));
};
};
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_debug.info((((("link( " + _arg1) + ", ") + _arg2) + " )"));
_call("_link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )"));
_call("_addOrganic", _arg1);
}
public function setAllowLinker(_arg1:Boolean):void{
_debug.info((("setAllowLinker( " + _arg1) + " )"));
_call("_setAllowLinker", _arg1);
}
private function _linkTrackingObject(_arg1:String):void{
_proxy.call(_linkTrackingObject_js, _jsContainer, _arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5 = 2;
if (((_arg3) && (!((_arg3 == ""))))){
_local5 = 3;
};
if ((((_local5 == 3)) && (!(isNaN(_arg4))))){
_local5 = 4;
};
switch (_local5){
case 4:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2, _arg3, _arg4));
case 3:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2, _arg3));
case 2:
default:
_debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2));
};
}
public function setClientInfo(_arg1:Boolean):void{
_debug.info((("setClientInfo( " + _arg1) + " )"));
_call("_setClientInfo", _arg1);
}
public function trackTrans():void{
_debug.info("trackTrans()");
_call("_trackTrans");
}
public function setCookieTimeout(_arg1:int):void{
_debug.info((("setCookieTimeout( " + _arg1) + " )"));
_call("_setCookieTimeout", _arg1);
}
public function trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
_call("_trackPageview", _arg1);
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_call("_getClientInfo"));
}
private function _checkValidTrackingObject(_arg1:String):Boolean{
return (_proxy.call(_checkValidTrackingObject_js, _arg1));
}
private function _checkGAJS():Boolean{
return (_proxy.call(_checkGAJS_js));
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_debug.warning((((("linkByPost( " + _arg1) + ", ") + _arg2) + " ) not implemented"));
}
private function _call(_arg1:String, ... _args){
_args.unshift(((((("window." + _jsContainer) + "[\"") + _account) + "\"].") + _arg1));
return (_proxy.call.apply(_proxy, _args));
}
public function hasGAJS():Boolean{
return (_checkGAJS());
}
private function _checkTrackingObject(_arg1:String):Boolean{
var _local2:Boolean = _proxy.hasProperty(_arg1);
var _local3:Boolean = _proxy.hasProperty((_arg1 + "._getAccount"));
return (((_local2) && (_local3)));
}
public function resetSession():void{
_debug.warning("resetSession() not implemented");
}
public function getDetectTitle():Boolean{
_debug.info("getDetectTitle()");
return (_call("_getDetectTitle"));
}
public function setCampNameKey(_arg1:String):void{
_debug.info((("setCampNameKey( " + _arg1) + " )"));
_call("_setCampNameKey", _arg1);
}
public function setDetectFlash(_arg1:Boolean):void{
_debug.info((("setDetectFlash( " + _arg1) + " )"));
_call("_setDetectFlash", _arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
_debug.info((("createEventTracker( " + _arg1) + " )"));
return (new EventTracker(_arg1, this));
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_debug.info((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " )"));
_call("_addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function clearIgnoredOrganic():void{
_debug.info("clearIgnoredOrganic()");
_call("_clearIgnoreOrganic");
}
public function setVar(_arg1:String):void{
_debug.info((("setVar( " + _arg1) + " )"));
_call("_setVar", _arg1);
}
public function setDomainName(_arg1:String):void{
_debug.info((("setDomainName( " + _arg1) + " )"));
_call("_setDomainName", _arg1);
}
public function hasTrackingAccount(_arg1:String):Boolean{
if (Utils.validateAccount(_arg1)){
return (_checkValidTrackingObject(_arg1));
};
return (_checkTrackingObject(_arg1));
}
public function setCampSourceKey(_arg1:String):void{
_debug.info((("setCampSourceKey( " + _arg1) + " )"));
_call("_setCampSourceKey", _arg1);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
_debug.info((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " )"));
_call("_addTrans", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
return (null);
}
public function setCampContentKey(_arg1:String):void{
_debug.info((("setCampContentKey( " + _arg1) + " )"));
_call("_setCampContentKey", _arg1);
}
public function setLocalServerMode():void{
_debug.info("setLocalServerMode()");
_call("_setLocalServerMode");
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_call("_getLocalGifPath"));
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_call("_clearIgnoreRef");
}
public function setAllowAnchor(_arg1:Boolean):void{
_debug.info((("setAllowAnchor( " + _arg1) + " )"));
_call("_setAllowAnchor", _arg1);
}
public function setLocalGifPath(_arg1:String):void{
_debug.info((("setLocalGifPath( " + _arg1) + " )"));
_call("_setLocalGifPath", _arg1);
}
public function getVersion():String{
_debug.info("getVersion()");
return (_call("_getVersion"));
}
private function _injectTrackingObject():void{
_proxy.executeBlock(_injectTrackingObject_js);
_hasGATracker = true;
}
public function setCookiePath(_arg1:String):void{
_debug.info((("setCookiePath( " + _arg1) + " )"));
_call("_setCookiePath", _arg1);
}
public function setSampleRate(_arg1:Number):void{
_debug.info((("setSampleRate( " + _arg1) + " )"));
_call("_setSampleRate", _arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_debug.info((("setAllowHash( " + _arg1) + " )"));
_call("_setAllowHash", _arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_debug.info((("addIgnoredOrganic( " + _arg1) + " )"));
_call("_addIgnoredOrganic", _arg1);
}
public function setCampNOKey(_arg1:String):void{
_debug.info((("setCampNOKey( " + _arg1) + " )"));
_call("_setCampNOKey", _arg1);
}
public function cookiePathCopy(_arg1:String):void{
_debug.info((("cookiePathCopy( " + _arg1) + " )"));
_call("_cookiePathCopy", _arg1);
}
public function setLocalRemoteServerMode():void{
_debug.info("setLocalRemoteServerMode()");
_call("_setLocalRemoteServerMode");
}
public function getServiceMode():ServerOperationMode{
_debug.info("getServiceMode()");
return (_call("_getServiceMode"));
}
public function setDetectTitle(_arg1:Boolean):void{
_debug.info((("setDetectTitle( " + _arg1) + " )"));
_call("_setDetectTitle", _arg1);
}
private function _createTrackingObject(_arg1:String):void{
_proxy.call(_createTrackingObject_js, _arg1);
}
public function setCampaignTrack(_arg1:Boolean):void{
_debug.info((("setCampaignTrack( " + _arg1) + " )"));
_call("_setCampaignTrack", _arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_call("_clearOrganic");
}
public function setCampTermKey(_arg1:String):void{
_debug.info((("setCampTermKey( " + _arg1) + " )"));
_call("_setCampTermKey", _arg1);
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_call("_getDetectFlash"));
}
public function setCampMediumKey(_arg1:String):void{
_debug.info((("setCampMediumKey( " + _arg1) + " )"));
_call("_setCampMediumKey", _arg1);
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_call("_addIgnoredRef", _arg1);
}
public function setSessionTimeout(_arg1:int):void{
_debug.info((("setSessionTimeout( " + _arg1) + " )"));
_call("_setSessionTimeout", _arg1);
}
public function setRemoteServerMode():void{
_debug.info("setRemoteServerMode()");
_call("_setRemoteServerMode");
}
public function getAccount():String{
_debug.info("getAccount()");
return (_call("_getAccount"));
}
}
}//package com.google.analytics.v4
Section 63
//Configuration (com.google.analytics.v4.Configuration)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.utils.*;
import com.google.analytics.campaign.*;
public class Configuration {
public var serverMode:ServerOperationMode;
public var detectFlash:Boolean;// = true
public var hasSiteOverlay:Boolean;// = false
public var allowLocalTracking:Boolean;// = true
public var secureRemoteGIFpath:String;// = "https://ssl.google-analytics.com/__utm.gif"
private var _version:String;// = "4.3as"
public var allowDomainHash:Boolean;// = true
public var detectClientInfo:Boolean;// = true
public var idleLoop:Number;// = 30
public var isTrackOutboundSubdomains:Boolean;// = false
public var cookiePath:String;// = "/"
public var transactionFieldDelim:String;// = "|"
private var _organic:Organic;
private var _cookieName:String;// = "analytics"
public var campaignKey:CampaignKey;
public var google:String;// = "google"
public var googleCsePath:String;// = "cse"
public var bucketCapacity:Number;// = 10
private var _sampleRate:Number;// = 1
public var remoteGIFpath:String;// = "http://www.google-analytics.com/__utm.gif"
public var googleSearchParam:String;// = "q"
public var allowLinker:Boolean;// = false
public var maxOutboundLinkExamined:Number;// = 1000
private var _debug:DebugConfiguration;
public var allowAnchor:Boolean;// = false
private var _domain:Domain;
private var _trackingLimitPerSession:int;// = 500
public var tokenCliff:int;// = 10
public var sessionTimeout:Number;
public var idleTimeout:Number;// = 60
public var campaignTracking:Boolean;// = true
public var domainName:String;// = ""
public var detectTitle:Boolean;// = true
public var tokenRate:Number;// = 0.2
public var conversionTimeout:Number;
public var localGIFpath:String;// = "/__utm.gif"
public function Configuration(_arg1:DebugConfiguration=null){
_organic = new Organic();
conversionTimeout = Timespan.sixmonths;
sessionTimeout = Timespan.thirtyminutes;
campaignKey = new CampaignKey();
serverMode = ServerOperationMode.remote;
super();
_debug = _arg1;
_domain = new Domain(DomainNameMode.auto, "", _debug);
serverMode = ServerOperationMode.remote;
_initOrganicSources();
}
public function get organic():Organic{
return (_organic);
}
public function get cookieName():String{
return (_cookieName);
}
public function get trackingLimitPerSession():int{
return (_trackingLimitPerSession);
}
private function _initOrganicSources():void{
addOrganicSource(google, googleSearchParam);
addOrganicSource("yahoo", "p");
addOrganicSource("msn", "q");
addOrganicSource("aol", "query");
addOrganicSource("aol", "encquery");
addOrganicSource("lycos", "query");
addOrganicSource("ask", "q");
addOrganicSource("altavista", "q");
addOrganicSource("netscape", "query");
addOrganicSource("cnn", "query");
addOrganicSource("looksmart", "qt");
addOrganicSource("about", "terms");
addOrganicSource("mamma", "query");
addOrganicSource("alltheweb", "q");
addOrganicSource("gigablast", "q");
addOrganicSource("voila", "rdata");
addOrganicSource("virgilio", "qs");
addOrganicSource("live", "q");
addOrganicSource("baidu", "wd");
addOrganicSource("alice", "qs");
addOrganicSource("yandex", "text");
addOrganicSource("najdi", "q");
addOrganicSource("aol", "q");
addOrganicSource("club-internet", "q");
addOrganicSource("mama", "query");
addOrganicSource("seznam", "q");
addOrganicSource("search", "q");
addOrganicSource("wp", "szukaj");
addOrganicSource("onet", "qt");
addOrganicSource("netsprint", "q");
addOrganicSource("google.interia", "q");
addOrganicSource("szukacz", "q");
addOrganicSource("yam", "k");
addOrganicSource("pchome", "q");
addOrganicSource("kvasir", "searchExpr");
addOrganicSource("sesam", "q");
addOrganicSource("ozu", "q");
addOrganicSource("terra", "query");
addOrganicSource("nostrum", "query");
addOrganicSource("mynet", "q");
addOrganicSource("ekolay", "q");
addOrganicSource("search.ilse", "search_for");
}
public function get sampleRate():Number{
return (_sampleRate);
}
public function addOrganicSource(_arg1:String, _arg2:String):void{
var engine = _arg1;
var keyword = _arg2;
try {
_organic.addSource(engine, keyword);
} catch(e:Error) {
if (((_debug) && (_debug.active))){
_debug.warning(e.message);
};
};
}
public function get domain():Domain{
return (_domain);
}
public function set sampleRate(_arg1:Number):void{
if (_arg1 <= 0){
_arg1 = 0.1;
};
if (_arg1 > 1){
_arg1 = 1;
};
_arg1 = Number(_arg1.toFixed(2));
_sampleRate = _arg1;
}
public function get version():String{
return (_version);
}
}
}//package com.google.analytics.v4
Section 64
//GoogleAnalyticsAPI (com.google.analytics.v4.GoogleAnalyticsAPI)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
public interface GoogleAnalyticsAPI {
function setCampSourceKey(_arg1:String):void;
function getServiceMode():ServerOperationMode;
function resetSession():void;
function setLocalServerMode():void;
function setCampContentKey(_arg1:String):void;
function addOrganic(_arg1:String, _arg2:String):void;
function setDetectFlash(_arg1:Boolean):void;
function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object;
function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean;
function setCampTermKey(_arg1:String):void;
function setCampNameKey(_arg1:String):void;
function addIgnoredOrganic(_arg1:String):void;
function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void;
function setAllowLinker(_arg1:Boolean):void;
function getClientInfo():Boolean;
function getDetectFlash():Boolean;
function setCampaignTrack(_arg1:Boolean):void;
function createEventTracker(_arg1:String):EventTracker;
function setCookieTimeout(_arg1:int):void;
function setAllowAnchor(_arg1:Boolean):void;
function trackTrans():void;
function clearOrganic():void;
function trackPageview(_arg1:String=""):void;
function setLocalGifPath(_arg1:String):void;
function getVersion():String;
function getLocalGifPath():String;
function setVar(_arg1:String):void;
function clearIgnoredOrganic():void;
function setCampMediumKey(_arg1:String):void;
function addIgnoredRef(_arg1:String):void;
function setClientInfo(_arg1:Boolean):void;
function setCookiePath(_arg1:String):void;
function setSampleRate(_arg1:Number):void;
function setSessionTimeout(_arg1:int):void;
function setRemoteServerMode():void;
function clearIgnoredRef():void;
function setDomainName(_arg1:String):void;
function setDetectTitle(_arg1:Boolean):void;
function setAllowHash(_arg1:Boolean):void;
function getAccount():String;
function linkByPost(_arg1:Object, _arg2:Boolean=false):void;
function link(_arg1:String, _arg2:Boolean=false):void;
function setCampNOKey(_arg1:String):void;
function setLocalRemoteServerMode():void;
function cookiePathCopy(_arg1:String):void;
function getDetectTitle():Boolean;
}
}//package com.google.analytics.v4
Section 65
//Tracker (com.google.analytics.v4.Tracker)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.data.*;
import com.google.analytics.external.*;
import com.google.analytics.utils.*;
import com.google.analytics.campaign.*;
public class Tracker implements GoogleAnalyticsAPI {
private const EVENT_TRACKER_LABEL_KEY_NUM:int = 3;
private const EVENT_TRACKER_VALUE_VALUE_NUM:int = 1;
private const EVENT_TRACKER_PROJECT_ID:int = 5;
private const EVENT_TRACKER_OBJECT_NAME_KEY_NUM:int = 1;
private const EVENT_TRACKER_TYPE_KEY_NUM:int = 2;
private var _adSense:AdSenseGlobals;
private var _eventTracker:X10;
private var _noSessionInformation:Boolean;// = false
private var _browserInfo:BrowserInfo;
private var _debug:DebugConfiguration;
private var _isNewVisitor:Boolean;// = false
private var _buffer:Buffer;
private var _config:Configuration;
private var _x10Module:X10;
private var _campaign:CampaignManager;
private var _formatedReferrer:String;
private var _timeStamp:Number;
private var _info:Environment;
private var _domainHash:Number;
private var _campaignInfo:CampaignInfo;
private var _gifRequest:GIFRequest;
private var _hasInitData:Boolean;// = false
private var _account:String;
public function Tracker(_arg1:String, _arg2:Configuration, _arg3:DebugConfiguration, _arg4:Environment, _arg5:Buffer, _arg6:GIFRequest, _arg7:AdSenseGlobals){
var _local8:String;
super();
_account = _arg1;
_config = _arg2;
_debug = _arg3;
_info = _arg4;
_buffer = _arg5;
_gifRequest = _arg6;
_adSense = _arg7;
if (!Utils.validateAccount(_arg1)){
_local8 = (("Account \"" + _arg1) + "\" is not valid.");
_debug.warning(_local8);
throw (new Error(_local8));
};
_initData();
}
private function _doTracking():Boolean{
if (((((!((_info.protocol == Protocols.file))) && (!((_info.protocol == Protocols.none))))) && (_isNotGoogleSearch()))){
return (true);
};
if (_config.allowLocalTracking){
return (true);
};
return (false);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )"));
_config.organic.addSource(_arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
_config.allowLinker = _arg1;
_debug.info((("setAllowLinker( " + _config.allowLinker) + " )"));
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5:Boolean;
var _local6 = 2;
if (((!((_arg1 == ""))) && (!((_arg2 == ""))))){
_eventTracker.clearKey(EVENT_TRACKER_PROJECT_ID);
_eventTracker.clearValue(EVENT_TRACKER_PROJECT_ID);
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_OBJECT_NAME_KEY_NUM, _arg1);
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_TYPE_KEY_NUM, _arg2);
if (((_arg3) && (!((_arg3 == ""))))){
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_LABEL_KEY_NUM, _arg3);
_local6 = 3;
if (!isNaN(_arg4)){
_local5 = _eventTracker.setValue(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_VALUE_VALUE_NUM, _arg4);
_local6 = 4;
};
};
if (_local5){
_debug.info(((("valid event tracking call\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek);
_sendXEvent(_eventTracker);
};
} else {
_debug.warning(((("event tracking call is not valid, failed!\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek);
_local5 = false;
};
switch (_local6){
case 4:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )"));
break;
case 3:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )"));
break;
case 2:
default:
_debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )"));
};
return (_local5);
}
public function trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
if (_doTracking()){
_initData();
_trackMetrics(_arg1);
_noSessionInformation = false;
} else {
_debug.warning((("trackPageview( " + _arg1) + " ) failed"));
};
}
public function setCookieTimeout(_arg1:int):void{
_config.conversionTimeout = _arg1;
_debug.info((("setCookieTimeout( " + _config.conversionTimeout) + " )"));
}
public function trackTrans():void{
_debug.warning("trackTrans() not implemented");
}
public function setClientInfo(_arg1:Boolean):void{
_config.detectClientInfo = _arg1;
_debug.info((("setClientInfo( " + _config.detectClientInfo) + " )"));
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_debug.warning((("linkByPost( " + [_arg1, _arg2].join(", ")) + " ) not implemented"));
}
private function _initData():void{
var _local1:String;
var _local2:String;
if (!_hasInitData){
_updateDomainName();
_domainHash = _getDomainHash();
_timeStamp = Math.round((new Date().getTime() / 1000));
if (_debug.verbose){
_local1 = "";
_local1 = (_local1 + "_initData 0");
_local1 = (_local1 + ("\ndomain name: " + _config.domainName));
_local1 = (_local1 + ("\ndomain hash: " + _domainHash));
_local1 = (_local1 + (((("\ntimestamp: " + _timeStamp) + " (") + new Date((_timeStamp * 1000))) + ")"));
_debug.info(_local1, VisualDebugMode.geek);
};
};
if (_doTracking()){
_handleCookie();
};
if (!_hasInitData){
if (_doTracking()){
_formatedReferrer = _formatReferrer();
_browserInfo = new BrowserInfo(_config, _info);
_debug.info(("browserInfo: " + _browserInfo.toURLString()), VisualDebugMode.advanced);
if (_config.campaignTracking){
_campaign = new CampaignManager(_config, _debug, _buffer, _domainHash, _formatedReferrer, _timeStamp);
_campaignInfo = _campaign.getCampaignInformation(_info.locationSearch, _noSessionInformation);
_debug.info(("campaignInfo: " + _campaignInfo.toURLString()), VisualDebugMode.advanced);
};
};
_x10Module = new X10();
_eventTracker = new X10();
_hasInitData = true;
};
if (_config.hasSiteOverlay){
_debug.warning("Site Overlay is not supported");
};
if (_debug.verbose){
_local2 = "";
_local2 = (_local2 + "_initData (misc)");
_local2 = (_local2 + ("\nflash version: " + _info.flashVersion.toString(4)));
_local2 = (_local2 + ("\nprotocol: " + _info.protocol));
_local2 = (_local2 + (("\ndefault domain name (auto): \"" + _info.domainName) + "\""));
_local2 = (_local2 + ("\nlanguage: " + _info.language));
_local2 = (_local2 + ("\ndomain hash: " + _getDomainHash()));
_local2 = (_local2 + ("\nuser-agent: " + _info.userAgent));
_debug.info(_local2, VisualDebugMode.geek);
};
}
public function getDetectTitle():Boolean{
_debug.info("getDetectTitle()");
return (_config.detectTitle);
}
public function resetSession():void{
_debug.info("resetSession()");
_buffer.resetCurrentSession();
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_config.detectClientInfo);
}
private function _sendXEvent(_arg1:X10=null):void{
var _local2:Variables;
var _local3:EventInfo;
var _local4:Variables;
var _local5:Variables;
_initData();
if (_takeSample()){
_local2 = new Variables();
_local2.URIencode = true;
_local3 = new EventInfo(true, _x10Module, _arg1);
_local4 = _local3.toVariables();
_local5 = _renderMetricsSearchVariables();
_local2.join(_local4, _local5);
_gifRequest.send(_account, _local2, false, true);
};
}
public function setDetectFlash(_arg1:Boolean):void{
_config.detectFlash = _arg1;
_debug.info((("setDetectFlash( " + _config.detectFlash) + " )"));
}
public function setCampNameKey(_arg1:String):void{
_config.campaignKey.UCCN = _arg1;
var _local2 = (("setCampNameKey( " + _config.campaignKey.UCCN) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCN]"));
} else {
_debug.info(_local2);
};
}
private function _formatReferrer():String{
var _local2:String;
var _local3:URL;
var _local4:URL;
var _local1:String = _info.referrer;
if ((((_local1 == "")) || ((_local1 == "localhost")))){
_local1 = "-";
} else {
_local2 = _info.domainName;
_local3 = new URL(_local1);
_local4 = new URL(("http://" + _local2));
if (_local3.hostName == _local2){
return ("-");
};
if (_local4.domain == _local3.domain){
if (_local4.subDomain != _local3.subDomain){
_local1 = "0";
};
};
if ((((_local1.charAt(0) == "[")) && (_local1.charAt((_local1.length - 1))))){
_local1 = "-";
};
};
_debug.info(("formated referrer: " + _local1), VisualDebugMode.advanced);
return (_local1);
}
private function _visitCode():Number{
if (_debug.verbose){
_debug.info(("visitCode: " + _buffer.utma.sessionId), VisualDebugMode.geek);
};
return (_buffer.utma.sessionId);
}
public function createEventTracker(_arg1:String):EventTracker{
_debug.info((("createEventTracker( " + _arg1) + " )"));
return (new EventTracker(_arg1, this));
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_debug.warning((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " ) not implemented"));
}
public function clearIgnoredOrganic():void{
_debug.info("clearIgnoredOrganic()");
_config.organic.clearIgnoredKeywords();
}
public function setVar(_arg1:String):void{
var _local2:Variables;
if (((!((_arg1 == ""))) && (_isNotGoogleSearch()))){
_initData();
_buffer.utmv.domainHash = _domainHash;
_buffer.utmv.value = _arg1;
if (_debug.verbose){
_debug.info(_buffer.utmv.toString(), VisualDebugMode.geek);
};
_debug.info((("setVar( " + _arg1) + " )"));
if (_takeSample()){
_local2 = new Variables();
_local2.utmt = "var";
_gifRequest.send(_account, _local2);
};
} else {
_debug.warning((("setVar \"" + _arg1) + "\" is ignored"));
};
}
public function setDomainName(_arg1:String):void{
if (_arg1 == "auto"){
_config.domain.mode = DomainNameMode.auto;
} else {
if (_arg1 == "none"){
_config.domain.mode = DomainNameMode.none;
} else {
_config.domain.mode = DomainNameMode.custom;
_config.domain.name = _arg1;
};
};
_updateDomainName();
_debug.info((("setDomainName( " + _config.domainName) + " )"));
}
private function _updateDomainName():void{
var _local1:String;
if (_config.domain.mode == DomainNameMode.auto){
_local1 = _info.domainName;
if (_local1.substring(0, 4) == "www."){
_local1 = _local1.substring(4);
};
_config.domain.name = _local1;
};
_config.domainName = _config.domain.name.toLowerCase();
_debug.info(("domain name: " + _config.domainName), VisualDebugMode.advanced);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
_debug.warning((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " ) not implemented"));
return (null);
}
private function _renderMetricsSearchVariables(_arg1:String=""):Variables{
var _local4:Variables;
var _local2:Variables = new Variables();
_local2.URIencode = true;
var _local3:DocumentInfo = new DocumentInfo(_config, _info, _formatedReferrer, _arg1, _adSense);
_debug.info(("docInfo: " + _local3.toURLString()), VisualDebugMode.geek);
if (_config.campaignTracking){
_local4 = _campaignInfo.toVariables();
};
var _local5:Variables = _browserInfo.toVariables();
_local2.join(_local3.toVariables(), _local5, _local4);
return (_local2);
}
public function setCampContentKey(_arg1:String):void{
_config.campaignKey.UCCT = _arg1;
var _local2 = (("setCampContentKey( " + _config.campaignKey.UCCT) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCT]"));
} else {
_debug.info(_local2);
};
}
private function _handleCookie():void{
var _local1:String;
var _local2:String;
var _local3:Array;
var _local4:String;
if (_config.allowLinker){
};
if (((_buffer.hasUTMA()) && (!(_buffer.utma.isEmpty())))){
if (((!(_buffer.hasUTMB())) || (!(_buffer.hasUTMC())))){
_buffer.updateUTMA(_timeStamp);
_noSessionInformation = true;
};
if (_debug.verbose){
_debug.info(("from cookie " + _buffer.utma.toString()), VisualDebugMode.geek);
};
} else {
_debug.info("create a new utma", VisualDebugMode.advanced);
_buffer.utma.domainHash = _domainHash;
_buffer.utma.sessionId = _getUniqueSessionId();
_buffer.utma.firstTime = _timeStamp;
_buffer.utma.lastTime = _timeStamp;
_buffer.utma.currentTime = _timeStamp;
_buffer.utma.sessionCount = 1;
if (_debug.verbose){
_debug.info(_buffer.utma.toString(), VisualDebugMode.geek);
};
_noSessionInformation = true;
_isNewVisitor = true;
};
if (((_adSense.gaGlobal) && ((_adSense.dh == String(_domainHash))))){
if (_adSense.sid){
_buffer.utma.currentTime = Number(_adSense.sid);
if (_debug.verbose){
_local1 = "";
_local1 = (_local1 + "AdSense sid found\n");
_local1 = (_local1 + (((("Override currentTime(" + _buffer.utma.currentTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")"));
_debug.info(_local1, VisualDebugMode.geek);
};
};
if (_isNewVisitor){
if (_adSense.sid){
_buffer.utma.lastTime = Number(_adSense.sid);
if (_debug.verbose){
_local2 = "";
_local2 = (_local2 + "AdSense sid found (new visitor)\n");
_local2 = (_local2 + (((("Override lastTime(" + _buffer.utma.lastTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")"));
_debug.info(_local2, VisualDebugMode.geek);
};
};
if (_adSense.vid){
_local3 = _adSense.vid.split(".");
_buffer.utma.sessionId = Number(_local3[0]);
_buffer.utma.firstTime = Number(_local3[1]);
if (_debug.verbose){
_local4 = "";
_local4 = (_local4 + "AdSense vid found (new visitor)\n");
_local4 = (_local4 + (((("Override sessionId(" + _buffer.utma.sessionId) + ") from AdSense vid(") + Number(_local3[0])) + ")\n"));
_local4 = (_local4 + (((("Override firstTime(" + _buffer.utma.firstTime) + ") from AdSense vid(") + Number(_local3[1])) + ")"));
_debug.info(_local4, VisualDebugMode.geek);
};
};
if (_debug.verbose){
_debug.info(("AdSense modified : " + _buffer.utma.toString()), VisualDebugMode.geek);
};
};
};
_buffer.utmb.domainHash = _domainHash;
if (isNaN(_buffer.utmb.trackCount)){
_buffer.utmb.trackCount = 0;
};
if (isNaN(_buffer.utmb.token)){
_buffer.utmb.token = _config.tokenCliff;
};
if (isNaN(_buffer.utmb.lastTime)){
_buffer.utmb.lastTime = _buffer.utma.currentTime;
};
_buffer.utmc.domainHash = _domainHash;
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.advanced);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.advanced);
};
}
public function setLocalServerMode():void{
_config.serverMode = ServerOperationMode.local;
_debug.info("setLocalServerMode()");
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_config.organic.clearIgnoredReferrals();
}
public function setCampSourceKey(_arg1:String):void{
_config.campaignKey.UCSR = _arg1;
var _local2 = (("setCampSourceKey( " + _config.campaignKey.UCSR) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCSR]"));
} else {
_debug.info(_local2);
};
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_config.localGIFpath);
}
public function setLocalGifPath(_arg1:String):void{
_config.localGIFpath = _arg1;
_debug.info((("setLocalGifPath( " + _config.localGIFpath) + " )"));
}
public function getVersion():String{
_debug.info("getVersion()");
return (_config.version);
}
public function setAllowAnchor(_arg1:Boolean):void{
_config.allowAnchor = _arg1;
_debug.info((("setAllowAnchor( " + _config.allowAnchor) + " )"));
}
private function _isNotGoogleSearch():Boolean{
var _local1:String = _config.domainName;
var _local2 = (_local1.indexOf("www.google.") < 0);
var _local3 = (_local1.indexOf(".google.") < 0);
var _local4 = (_local1.indexOf("google.") < 0);
var _local5 = (_local1.indexOf("google.org") > -1);
return (((((((((_local2) || (_local3))) || (_local4))) || (!((_config.cookiePath == "/"))))) || (_local5)));
}
public function setSampleRate(_arg1:Number):void{
if (_arg1 < 0){
_debug.warning("sample rate can not be negative, ignoring value.");
} else {
_config.sampleRate = _arg1;
};
_debug.info((("setSampleRate( " + _config.sampleRate) + " )"));
}
private function _takeSample():Boolean{
if (_debug.verbose){
_debug.info((((("takeSample: (" + (_visitCode() % 10000)) + ") < (") + (_config.sampleRate * 10000)) + ")"), VisualDebugMode.geek);
};
return (((_visitCode() % 10000) < (_config.sampleRate * 10000)));
}
public function setCookiePath(_arg1:String):void{
_config.cookiePath = _arg1;
_debug.info((("setCookiePath( " + _config.cookiePath) + " )"));
}
public function setAllowHash(_arg1:Boolean):void{
_config.allowDomainHash = _arg1;
_debug.info((("setAllowHash( " + _config.allowDomainHash) + " )"));
}
private function _generateUserDataHash():Number{
var _local1 = "";
_local1 = (_local1 + _info.appName);
_local1 = (_local1 + _info.appVersion);
_local1 = (_local1 + _info.language);
_local1 = (_local1 + _info.platform);
_local1 = (_local1 + _info.userAgent.toString());
_local1 = (_local1 + (((_info.screenWidth + "x") + _info.screenHeight) + _info.screenColorDepth));
_local1 = (_local1 + _info.referrer);
return (Utils.generateHash(_local1));
}
public function setCampNOKey(_arg1:String):void{
_config.campaignKey.UCNO = _arg1;
var _local2 = (("setCampNOKey( " + _config.campaignKey.UCNO) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCNO]"));
} else {
_debug.info(_local2);
};
}
public function addIgnoredOrganic(_arg1:String):void{
_debug.info((("addIgnoredOrganic( " + _arg1) + " )"));
_config.organic.addIgnoredKeyword(_arg1);
}
public function setLocalRemoteServerMode():void{
_config.serverMode = ServerOperationMode.both;
_debug.info("setLocalRemoteServerMode()");
}
public function cookiePathCopy(_arg1:String):void{
_debug.warning((("cookiePathCopy( " + _arg1) + " ) not implemented"));
}
public function setDetectTitle(_arg1:Boolean):void{
_config.detectTitle = _arg1;
_debug.info((("setDetectTitle( " + _config.detectTitle) + " )"));
}
public function setCampTermKey(_arg1:String):void{
_config.campaignKey.UCTR = _arg1;
var _local2 = (("setCampTermKey( " + _config.campaignKey.UCTR) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCTR]"));
} else {
_debug.info(_local2);
};
}
public function getServiceMode():ServerOperationMode{
_debug.info("getServiceMode()");
return (_config.serverMode);
}
private function _trackMetrics(_arg1:String=""):void{
var _local2:Variables;
var _local3:Variables;
var _local4:Variables;
var _local5:EventInfo;
if (_takeSample()){
_local2 = new Variables();
_local2.URIencode = true;
if (((_x10Module) && (_x10Module.hasData()))){
_local5 = new EventInfo(false, _x10Module);
_local3 = _local5.toVariables();
};
_local4 = _renderMetricsSearchVariables(_arg1);
_local2.join(_local3, _local4);
_gifRequest.send(_account, _local2);
};
}
public function setCampaignTrack(_arg1:Boolean):void{
_config.campaignTracking = _arg1;
_debug.info((("setCampaignTrack( " + _config.campaignTracking) + " )"));
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_config.organic.addIgnoredReferral(_arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_config.organic.clearEngines();
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_config.detectFlash);
}
public function setCampMediumKey(_arg1:String):void{
_config.campaignKey.UCMD = _arg1;
var _local2 = (("setCampMediumKey( " + _config.campaignKey.UCMD) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCMD]"));
} else {
_debug.info(_local2);
};
}
private function _getUniqueSessionId():Number{
var _local1:Number = ((Utils.generate32bitRandom() ^ _generateUserDataHash()) * 2147483647);
_debug.info(("Session ID: " + _local1), VisualDebugMode.geek);
return (_local1);
}
private function _getDomainHash():Number{
if (((((!(_config.domainName)) || ((_config.domainName == "")))) || ((_config.domain.mode == DomainNameMode.none)))){
_config.domainName = "";
return (1);
};
_updateDomainName();
if (_config.allowDomainHash){
return (Utils.generateHash(_config.domainName));
};
return (1);
}
public function setSessionTimeout(_arg1:int):void{
_config.sessionTimeout = _arg1;
_debug.info((("setSessionTimeout( " + _config.sessionTimeout) + " )"));
}
public function getAccount():String{
_debug.info("getAccount()");
return (_account);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_debug.warning((("link( " + [_arg1, _arg2].join(", ")) + " ) not implemented"));
}
public function setRemoteServerMode():void{
_config.serverMode = ServerOperationMode.remote;
_debug.info("setRemoteServerMode()");
}
}
}//package com.google.analytics.v4
Section 66
//AnalyticsTracker (com.google.analytics.AnalyticsTracker)
package com.google.analytics {
import flash.events.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
public interface AnalyticsTracker extends GoogleAnalyticsAPI, IEventDispatcher {
function set account(_arg1:String):void;
function get config():Configuration;
function get mode():String;
function set config(_arg1:Configuration):void;
function set mode(_arg1:String):void;
function set debug(_arg1:DebugConfiguration):void;
function get visualDebug():Boolean;
function get account():String;
function set visualDebug(_arg1:Boolean):void;
function isReady():Boolean;
function get debug():DebugConfiguration;
}
}//package com.google.analytics
Section 67
//API (com.google.analytics.API)
package com.google.analytics {
import com.google.analytics.utils.*;
public class API {
public static var version:Version = new Version();
version.major = 1;
version.minor = 0;
version.build = 1;
version.revision = "$Rev: 319 $ ".split(" ")[1];
}
}//package com.google.analytics
Section 68
//GATracker (com.google.analytics.GATracker)
package com.google.analytics {
import flash.events.*;
import flash.display.*;
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
import com.google.analytics.utils.*;
import com.google.analytics.events.*;
public class GATracker implements AnalyticsTracker {
private var _adSense:AdSenseGlobals;
private var _env:Environment;
private var _visualDebug:Boolean;
private var _idleTimer:IdleTimer;
private var _debug:DebugConfiguration;
private var _buffer:Buffer;
private var _config:Configuration;
private var _mode:String;
private var _display:DisplayObject;
private var _jsproxy:JavascriptProxy;
private var _dom:HTMLDOM;
private var _eventDispatcher:EventDispatcher;
private var _ready:Boolean;// = false
private var _gifRequest:GIFRequest;
private var _account:String;
private var _tracker:GoogleAnalyticsAPI;
public static var version:Version = API.version;
public static var autobuild:Boolean = true;
public function GATracker(_arg1:DisplayObject, _arg2:String, _arg3:String="AS3", _arg4:Boolean=false, _arg5:Configuration=null, _arg6:DebugConfiguration=null){
_display = _arg1;
_eventDispatcher = new EventDispatcher(this);
_tracker = new TrackerCache();
this.account = _arg2;
this.mode = _arg3;
this.visualDebug = _arg4;
if (!_arg6){
this.debug = new DebugConfiguration();
};
if (!_arg5){
this.config = new Configuration(_arg6);
};
if (autobuild){
_factory();
};
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_tracker.link(_arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_tracker.addOrganic(_arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
_tracker.setAllowLinker(_arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
return (_tracker.trackEvent(_arg1, _arg2, _arg3, _arg4));
}
public function setCookieTimeout(_arg1:int):void{
_tracker.setCookieTimeout(_arg1);
}
public function trackTrans():void{
_tracker.trackTrans();
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
public function trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_arg1);
}
public function setClientInfo(_arg1:Boolean):void{
_tracker.setClientInfo(_arg1);
}
public function get account():String{
return (_account);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_tracker.linkByPost(_arg1, _arg2);
}
public function getDetectTitle():Boolean{
return (_tracker.getDetectTitle());
}
public function dispatchEvent(_arg1:Event):Boolean{
return (_eventDispatcher.dispatchEvent(_arg1));
}
public function get config():Configuration{
return (_config);
}
public function set mode(_arg1:String):void{
_mode = _arg1;
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
_eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public function setDetectFlash(_arg1:Boolean):void{
_tracker.setDetectFlash(_arg1);
}
public function resetSession():void{
_tracker.resetSession();
}
public function setCampNameKey(_arg1:String):void{
_tracker.setCampNameKey(_arg1);
}
public function get debug():DebugConfiguration{
return (_debug);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_tracker.addItem(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
private function _bridgeFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (Bridge) v" + version) + "\naccount: ") + account));
return (new Bridge(account, _debug, _jsproxy));
}
public function clearIgnoredOrganic():void{
_tracker.clearIgnoredOrganic();
}
public function set account(_arg1:String):void{
_account = _arg1;
}
public function setVar(_arg1:String):void{
_tracker.setVar(_arg1);
}
public function build():void{
if (!isReady()){
_factory();
};
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
_eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public function setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_arg1));
}
public function setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
public function set config(_arg1:Configuration):void{
_config = _arg1;
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
return (_tracker.addTrans(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
}
public function setCampContentKey(_arg1:String):void{
_tracker.setCampContentKey(_arg1);
}
public function willTrigger(_arg1:String):Boolean{
return (_eventDispatcher.willTrigger(_arg1));
}
public function setLocalServerMode():void{
_tracker.setLocalServerMode();
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
public function isReady():Boolean{
return (_ready);
}
public function get mode():String{
return (_mode);
}
public function set debug(_arg1:DebugConfiguration):void{
_debug = _arg1;
}
public function setLocalGifPath(_arg1:String):void{
_tracker.setLocalGifPath(_arg1);
}
public function getVersion():String{
return (_tracker.getVersion());
}
public function setSampleRate(_arg1:Number):void{
_tracker.setSampleRate(_arg1);
}
public function setCookiePath(_arg1:String):void{
_tracker.setCookiePath(_arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_tracker.setAllowHash(_arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_tracker.addIgnoredOrganic(_arg1);
}
public function setLocalRemoteServerMode():void{
_tracker.setLocalRemoteServerMode();
}
public function cookiePathCopy(_arg1:String):void{
_tracker.cookiePathCopy(_arg1);
}
private function _factory():void{
var _local1:GoogleAnalyticsAPI;
_jsproxy = new JavascriptProxy(debug);
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
var _local2:TrackerCache = (_tracker as TrackerCache);
switch (mode){
case TrackerMode.BRIDGE:
_local1 = _bridgeFactory();
break;
case TrackerMode.AS3:
default:
_local1 = _trackerFactory();
};
if (!_local2.isEmpty()){
_local2.tracker = _local1;
_local2.flush();
};
_tracker = _local1;
_ready = true;
dispatchEvent(new AnalyticsEvent(AnalyticsEvent.READY, this));
}
public function setCampTermKey(_arg1:String):void{
_tracker.setCampTermKey(_arg1);
}
private function _trackerFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (AS3) v" + version) + "\naccount: ") + account));
_adSense = new AdSenseGlobals(debug);
_dom = new HTMLDOM(debug);
_dom.cacheProperties();
_env = new Environment("", "", "", debug, _dom);
_buffer = new Buffer(config, debug, false);
_gifRequest = new GIFRequest(config, debug, _buffer, _env);
_idleTimer = new IdleTimer(config, debug, _display, _buffer);
_env.url = _display.stage.loaderInfo.url;
return (new Tracker(account, config, debug, _env, _buffer, _gifRequest, _adSense));
}
public function setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
_tracker.setDetectTitle(_arg1);
}
public function getServiceMode():ServerOperationMode{
return (_tracker.getServiceMode());
}
public function clearOrganic():void{
_tracker.clearOrganic();
}
public function setCampaignTrack(_arg1:Boolean):void{
_tracker.setCampaignTrack(_arg1);
}
public function addIgnoredRef(_arg1:String):void{
_tracker.addIgnoredRef(_arg1);
}
public function set visualDebug(_arg1:Boolean):void{
_visualDebug = _arg1;
}
public function setCampMediumKey(_arg1:String):void{
_tracker.setCampMediumKey(_arg1);
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function hasEventListener(_arg1:String):Boolean{
return (_eventDispatcher.hasEventListener(_arg1));
}
public function getAccount():String{
return (_tracker.getAccount());
}
public function setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics
Section 69
//Quadratic (fl.motion.easing.Quadratic)
package fl.motion.easing {
public class Quadratic {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
}
}//package fl.motion.easing
Section 70
//Color (fl.motion.Color)
package fl.motion {
import flash.display.*;
import flash.geom.*;
public class Color extends ColorTransform {
private var _tintColor:Number;// = 0
private var _tintMultiplier:Number;// = 0
public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){
super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
}
private function deriveTintColor():uint{
var _local1:Number = (1 / this.tintMultiplier);
var _local2:uint = Math.round((this.redOffset * _local1));
var _local3:uint = Math.round((this.greenOffset * _local1));
var _local4:uint = Math.round((this.blueOffset * _local1));
var _local5:uint = (((_local2 << 16) | (_local3 << 8)) | _local4);
return (_local5);
}
public function set brightness(_arg1:Number):void{
if (_arg1 > 1){
_arg1 = 1;
} else {
if (_arg1 < -1){
_arg1 = -1;
};
};
var _local2:Number = (1 - Math.abs(_arg1));
var _local3:Number = 0;
if (_arg1 > 0){
_local3 = (_arg1 * 0xFF);
};
this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2));
this.redOffset = (this.greenOffset = (this.blueOffset = _local3));
}
private function parseXML(_arg1:XML=null):Color{
var _local3:XML;
var _local4:String;
var _local5:uint;
if (!_arg1){
return (this);
};
var _local2:XML = _arg1.elements()[0];
if (!_local2){
return (this);
};
for each (_local3 in _local2.attributes()) {
_local4 = _local3.localName();
if (_local4 == "tintColor"){
_local5 = (Number(_local3.toString()) as uint);
this.tintColor = _local5;
} else {
this[_local4] = Number(_local3.toString());
};
};
return (this);
}
public function get tintColor():uint{
return (this._tintColor);
}
public function set tintColor(_arg1:uint):void{
this.setTint(_arg1, this.tintMultiplier);
}
public function get brightness():Number{
return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1));
}
public function set tintMultiplier(_arg1:Number):void{
this.setTint(this.tintColor, _arg1);
}
public function get tintMultiplier():Number{
return (this._tintMultiplier);
}
public function setTint(_arg1:uint, _arg2:Number):void{
this._tintColor = _arg1;
this._tintMultiplier = _arg2;
this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2)));
var _local3:uint = ((_arg1 >> 16) & 0xFF);
var _local4:uint = ((_arg1 >> 8) & 0xFF);
var _local5:uint = (_arg1 & 0xFF);
this.redOffset = Math.round((_local3 * _arg2));
this.greenOffset = Math.round((_local4 * _arg2));
this.blueOffset = Math.round((_local5 * _arg2));
}
public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{
var _local4:Number = (1 - _arg3);
var _local5:uint = ((_arg1 >> 24) & 0xFF);
var _local6:uint = ((_arg1 >> 16) & 0xFF);
var _local7:uint = ((_arg1 >> 8) & 0xFF);
var _local8:uint = (_arg1 & 0xFF);
var _local9:uint = ((_arg2 >> 24) & 0xFF);
var _local10:uint = ((_arg2 >> 16) & 0xFF);
var _local11:uint = ((_arg2 >> 8) & 0xFF);
var _local12:uint = (_arg2 & 0xFF);
var _local13:uint = ((_local5 * _local4) + (_local9 * _arg3));
var _local14:uint = ((_local6 * _local4) + (_local10 * _arg3));
var _local15:uint = ((_local7 * _local4) + (_local11 * _arg3));
var _local16:uint = ((_local8 * _local4) + (_local12 * _arg3));
var _local17:uint = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16);
return (_local17);
}
public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{
var _local4:Number = (1 - _arg3);
var _local5:ColorTransform = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3)));
return (_local5);
}
public static function fromXML(_arg1:XML):Color{
return (Color(new (Color).parseXML(_arg1)));
}
}
}//package fl.motion
Section 71
//Fade (fl.transitions.Fade)
package fl.transitions {
import flash.display.*;
public class Fade extends Transition {
protected var _alphaFinal:Number;
public function Fade(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
super(_arg1, _arg2, _arg3);
this._alphaFinal = this.manager.contentAppearance.alpha;
}
override public function get type():Class{
return (Fade);
}
override protected function _render(_arg1:Number):void{
this._content.alpha = (this._alphaFinal * _arg1);
}
}
}//package fl.transitions
Section 72
//Transition (fl.transitions.Transition)
package fl.transitions {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
public class Transition extends EventDispatcher {
protected var _direction:uint;// = 0
protected var _height:Number;// = NAN
protected var _easing:Function;
protected var _twn:Tween;
protected var _width:Number;// = NAN
protected var _outerBounds:Rectangle;
protected var _progress:Number;
public var ID:int;
protected var _innerBounds:Rectangle;
protected var _manager:TransitionManager;
protected var _duration:Number;// = 2
protected var _content:MovieClip;
public static const IN:uint = 0;
public static const OUT:uint = 1;
public function Transition(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
this.content = _arg1;
this.direction = _arg2.direction;
this.duration = _arg2.duration;
this.easing = _arg2.easing;
this.manager = _arg3;
this._innerBounds = this.manager._innerBounds;
this._outerBounds = this.manager._outerBounds;
this._width = this.manager._width;
this._height = this.manager._height;
this._resetTween();
}
public function get type():Class{
return (Transition);
}
public function cleanUp():void{
this.removeEventListener("transitionInDone", this._manager.transitionInDone);
this.removeEventListener("transitionOutDone", this._manager.transitionOutDone);
this.stop();
}
public function stop():void{
this._twn.fforward();
this._twn.stop();
}
public function onMotionFinished(_arg1:Object):void{
if (this.direction == Transition.OUT){
this.dispatchEvent(new Event("transitionOutDone"));
} else {
this.dispatchEvent(new Event("transitionInDone"));
};
}
public function set easing(_arg1:Function):void{
this._easing = _arg1;
if (this._twn){
this._twn.func = _arg1;
};
}
public function set manager(_arg1:TransitionManager):void{
if (this._manager){
this.removeEventListener("transitionInDone", this._manager.transitionInDone);
this.removeEventListener("transitionOutDone", this._manager.transitionOutDone);
};
this._manager = _arg1;
this.addEventListener("transitionInDone", this._manager.transitionInDone);
this.addEventListener("transitionOutDone", this._manager.transitionOutDone);
}
private function _resetTween():void{
if (this._twn){
this._twn.stop();
this._twn.removeEventListener(TweenEvent.MOTION_FINISH, this.onMotionFinished);
};
this._twn = new Tween(this, "", this.easing, 0, 1, this.duration, true);
this._twn.stop();
this._twn.prop = "progress";
this._twn.addEventListener(TweenEvent.MOTION_FINISH, this.onMotionFinished, false, 0, true);
}
public function drawBox(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_arg1.graphics.moveTo(_arg2, _arg3);
_arg1.graphics.lineTo((_arg2 + _arg4), _arg3);
_arg1.graphics.lineTo((_arg2 + _arg4), (_arg3 + _arg5));
_arg1.graphics.lineTo(_arg2, (_arg3 + _arg5));
_arg1.graphics.lineTo(_arg2, _arg3);
}
public function set progress(_arg1:Number):void{
if (this._progress == _arg1){
return;
};
this._progress = _arg1;
if (this._direction){
this._render((1 - _arg1));
} else {
this._render(_arg1);
};
this.dispatchEvent(new Event("transitionProgress"));
}
public function get duration():Number{
return (this._duration);
}
public function set duration(_arg1:Number):void{
if (_arg1){
this._duration = _arg1;
if (this._twn){
this._twn.duration = _arg1;
};
};
}
public function start():void{
this.content.visible = true;
this._twn.start();
}
public function get easing():Function{
return (this._easing);
}
public function get manager():TransitionManager{
return (this._manager);
}
public function set content(_arg1:MovieClip):void{
if (_arg1){
this._content = _arg1;
if (this._twn){
this._twn.obj = _arg1;
};
};
}
protected function _render(_arg1:Number):void{
}
public function get content():MovieClip{
return (this._content);
}
public function drawCircle(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number):void{
_arg1.graphics.moveTo((_arg2 + _arg4), _arg3);
_arg1.graphics.curveTo((_arg4 + _arg2), ((Math.tan((Math.PI / 8)) * _arg4) + _arg3), ((Math.sin((Math.PI / 4)) * _arg4) + _arg2), ((Math.sin((Math.PI / 4)) * _arg4) + _arg3));
_arg1.graphics.curveTo(((Math.tan((Math.PI / 8)) * _arg4) + _arg2), (_arg4 + _arg3), _arg2, (_arg4 + _arg3));
_arg1.graphics.curveTo(((-(Math.tan((Math.PI / 8))) * _arg4) + _arg2), (_arg4 + _arg3), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg2), ((Math.sin((Math.PI / 4)) * _arg4) + _arg3));
_arg1.graphics.curveTo((-(_arg4) + _arg2), ((Math.tan((Math.PI / 8)) * _arg4) + _arg3), (-(_arg4) + _arg2), _arg3);
_arg1.graphics.curveTo((-(_arg4) + _arg2), ((-(Math.tan((Math.PI / 8))) * _arg4) + _arg3), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg2), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg3));
_arg1.graphics.curveTo(((-(Math.tan((Math.PI / 8))) * _arg4) + _arg2), (-(_arg4) + _arg3), _arg2, (-(_arg4) + _arg3));
_arg1.graphics.curveTo(((Math.tan((Math.PI / 8)) * _arg4) + _arg2), (-(_arg4) + _arg3), ((Math.sin((Math.PI / 4)) * _arg4) + _arg2), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg3));
_arg1.graphics.curveTo((_arg4 + _arg2), ((-(Math.tan((Math.PI / 8))) * _arg4) + _arg3), (_arg4 + _arg2), _arg3);
}
public function get progress():Number{
return (this._progress);
}
private function _noEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public function set direction(_arg1:Number):void{
this._direction = (_arg1) ? 1 : 0;
}
public function get direction():Number{
return (this._direction);
}
}
}//package fl.transitions
Section 73
//TransitionManager (fl.transitions.TransitionManager)
package fl.transitions {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
public class TransitionManager extends EventDispatcher {
public var type:Object;
public var _width:Number;// = NAN
public var _height:Number;// = NAN
public var _outerBounds:Rectangle;
private var _visualPropList:Object;
private var _triggerEvent:String;
public var className:String;// = "TransitionManager"
public var _innerBounds:Rectangle;
private var _content:MovieClip;
private var _contentAppearance:Object;
private var _transitions:Object;
private static var IDCount:int = 0;
public function TransitionManager(_arg1:MovieClip){
type = TransitionManager;
_visualPropList = {x:null, y:null, scaleX:null, scaleY:null, alpha:null, rotation:null};
super();
this.content = _arg1;
this._transitions = {};
}
public function removeTransition(_arg1:Transition):Boolean{
if (((((!(_arg1)) || (!(this._transitions)))) || (!(this._transitions[_arg1.ID])))){
return (false);
};
_arg1.cleanUp();
return (delete this._transitions[_arg1.ID]);
}
public function saveContentAppearance():void{
var _local2:Object;
var _local3:String;
var _local1:MovieClip = this._content;
if (!this._contentAppearance){
_local2 = (this._contentAppearance = {});
for (_local3 in this._visualPropList) {
_local2[_local3] = _local1[_local3];
};
_local2.colorTransform = _local1.transform.colorTransform;
};
this._innerBounds = _local1.getBounds(_local1);
this._outerBounds = _local1.getBounds(_local1.parent);
this._width = _local1.width;
this._height = _local1.height;
}
public function removeAllTransitions():void{
var _local1:Transition;
for each (_local1 in this._transitions) {
_local1.cleanUp();
this.removeTransition(_local1);
};
}
function transitionInDone(_arg1:Object):void{
var _local2:Boolean;
this.removeTransition(_arg1.target);
if (this.numInTransitions == 0){
_local2 = this._content.visible;
if ((((this._triggerEvent == "hide")) || ((this._triggerEvent == "hideChild")))){
this._content.visible = false;
};
if (_local2){
this.dispatchEvent(new Event("allTransitionsInDone"));
};
};
}
public function addTransition(_arg1:Transition):Transition{
_arg1.ID = ++TransitionManager.IDCount;
this._transitions[_arg1.ID] = _arg1;
return (_arg1);
}
public function startTransition(_arg1:Object):Transition{
this.removeTransition(this.findTransition(_arg1));
var _local2:Class = _arg1.type;
var _local3:Transition = new _local2(this._content, _arg1, this);
this.addTransition(_local3);
_local3.start();
return (_local3);
}
function transitionOutDone(_arg1:Object):void{
var _local2:Boolean;
this.removeTransition(_arg1.target);
if (this.numOutTransitions == 0){
this.restoreContentAppearance();
_local2 = this._content.visible;
if (((_local2) && ((((_triggerEvent == "hide")) || ((_triggerEvent == "hideChild")))))){
this._content.visible = false;
};
if (_local2){
this.dispatchEvent(new Event("allTransitionsOutDone"));
};
};
}
public function restoreContentAppearance():void{
var _local3:String;
var _local1:MovieClip = this._content;
var _local2:Object = this._contentAppearance;
for (_local3 in this._visualPropList) {
_local1[_local3] = _local2[_local3];
};
_local1.transform.colorTransform = _local2.colorTransform;
}
public function get numTransitions():Number{
var _local2:Transition;
var _local1:Number = 0;
for each (_local2 in this._transitions) {
_local1++;
};
return (_local1);
}
public function findTransition(_arg1:Object):Transition{
var _local2:Transition;
for each (_local2 in this._transitions) {
if (_local2.type == _arg1.type){
return (_local2);
};
};
return (null);
}
public function set content(_arg1:MovieClip):void{
this._content = _arg1;
this.saveContentAppearance();
}
public function get numInTransitions():Number{
var _local3:Transition;
var _local1:Number = 0;
var _local2:Object = this._transitions;
for each (_local3 in _local2) {
if (!_local3.direction){
_local1++;
};
};
return (_local1);
}
public function get numOutTransitions():Number{
var _local3:Transition;
var _local1:Number = 0;
var _local2:Object = this._transitions;
for each (_local3 in _local2) {
if (_local3.direction){
_local1++;
};
};
return (_local1);
}
public function get content():MovieClip{
return (this._content);
}
public function get transitionsList():Object{
return (this._transitions);
}
public function get contentAppearance():Object{
return (this._contentAppearance);
}
public static function start(_arg1:MovieClip, _arg2:Object):Transition{
if (!_arg1.__transitionManager){
_arg1.__transitionManager = new TransitionManager(_arg1);
};
if (_arg2.direction == 1){
_arg1.__transitionManager._triggerEvent = "hide";
} else {
_arg1.__transitionManager._triggerEvent = "reveal";
};
return (_arg1.__transitionManager.startTransition(_arg2));
}
}
}//package fl.transitions
Section 74
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Tween extends EventDispatcher {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var begin:Number;// = NAN
private var _finish:Number;// = NAN
public var change:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//package fl.transitions
Section 75
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var position:Number;// = NAN
public var time:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 76
//FontAsset (mx.core.FontAsset)
package mx.core {
import flash.text.*;
public class FontAsset extends Font implements IFlexAsset {
mx_internal static const VERSION:String = "3.2.0.3958";
}
}//package mx.core
Section 77
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 78
//mx_internal (mx.core.mx_internal)
package mx.core {
public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core
Section 79
//O1111111l (O11111110.O1111111l)
package O11111110 {
import flash.net.*;
public class O1111111l {
private var O1111100O1:int;
private var O11111l1l:String;
private var O11111l1O:Array;
private var O111111Ol:String;
public var O11111OOO:int;// = 1
private var O111111O0:String;
private static var O11111l11:O1111111l;
public function O1111111l():void{
O11111OOO = 1;
super();
O11111l1O = new Array();
}
private function O11111l10():void{
O11111l1O.push(new O11111O00(1, 1, (((((("http://www.agame.com/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(17, 1, (((((("http://www.gamesgames.com/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(29, 1, (((((("http://www.girlsgogames.com/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(45, 2, (((((("http://www.a10.com/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(2, 19, "http://www.game.com.cn/downloads"));
O11111l1O.push(new O11111O00(2, 19, "http://www.game.com.cn/downloads"));
O11111l1O.push(new O11111O00(2, 19, "http://www.game.com.cn/downloads"));
O11111l1O.push(new O11111O00(2, 19, "http://www.game.com.cn/downloads"));
O11111l1O.push(new O11111O00(4, 5, (((((("http://www.spel.nl/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(18, 5, (((((("http://www.spelletjes.nl/spel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(30, 5, (((((("http://www.girlsgogames.nl/spel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(3, 5, (((((("http://www.spel.nl/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(5, 6, (((((("http://www.jeu.fr/jeu/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(19, 6, (((((("http://www.jeux.fr/jeu/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(31, 6, (((((("http://www.girlsgogames.fr/jeu/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(4, 6, (((((("http://www.jeu.fr/jeu/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(6, 7, (((((("http://www.spielen.com/spiel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(20, 7, (((((("http://www.jetztspielen.de/spiel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(32, 7, (((((("http://www.girlsgogames.de/spiel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(5, 7, (((((("http://www.spielen.com/spiel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(14, 13, (((((("http://www.minigry.pl/gra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(21, 13, (((((("http://www.gry.pl/gra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(33, 13, (((((("http://www.girlsgogames.pl/gra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(6, 13, (((((("http://www.minigry.pl/gra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(9, 12, (((((("http://www.spel.eu/spel_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(22, 12, (((((("http://www.spela.se/spel_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(34, 12, (((((("http://www.girlsgogames.se/spel_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(7, 12, (((((("http://www.spel.eu/spel_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(8, 11, (((((("http://www.giocaregratis.it/gioco/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(23, 11, (((((("http://www.gioco.it/gioco/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(35, 11, (((((("http://www.girlsgogames.it/gioco/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(8, 11, (((((("http://www.giocaregratis.it/gioco/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(5, 8, (((((("http://www.zapjuegos.com/juego/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(24, 8, (((((("http://www.juegos.com/juego/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(36, 8, (((((("http://www.juegosdechicas.com/juego/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(9, 8, (((((("http://www.zapjuegos.com/juego/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(7, 9, (((((("http://www.clickjogos.com/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(25, 9, (((((("http://www.ojogos.com.br/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(38, 9, (((((("http://www.girlsgogames.com.br/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(10, 9, (((((("http://www.clickjogos.com/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 16, (((((("http://www.games.co.id/permainanme/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 16, (((((("http://www.games.co.id/permainanme/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 16, (((((("http://www.games.co.id/permainanme/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 16, (((((("http://www.games.co.id/permainanme/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(11, 14, (((((("http://www.flashgames.ru/igra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(26, 14, (((((("http://www.ourgames.ru/igra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(39, 14, (((((("http://www.girlsgogames.ru/igra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(12, 14, (((((("http://www.flashgames.ru/igra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(10, 2, (((((("http://www.mygames.co.uk/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(27, 2, (((((("http://www.games.co.uk/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(37, 2, (((((("http://www.girlsgogames.co.uk/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 2, (((((("http://www.mygames.co.uk/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(12, 3, (((((("http://www.game.co.in/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(12, 3, (((((("http://www.game.co.in/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(40, 3, (((((("http://www.girlsgogames.in/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(14, 3, (((((("http://www.game.co.in/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(15, 15, (((((("http://www.asoyun.com/oyun/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(28, 15, (((((("http://www.oyunlar123.com/oyun/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(41, 15, (((((("http://www.girlsgogamestr.com/oyun/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(15, 15, (((((("http://www.asoyun.com/oyun/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(16, 17, (((((("http://www.game.com.my/permainan_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(16, 17, (((((("http://www.game.com.my/permainan_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(16, 17, (((((("http://www.game.com.my/permainan_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(16, 17, (((((("http://www.game.com.my/permainan_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(42, 10, (((((("http://www.ojogos.pt/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(42, 10, (((((("http://www.ojogos.pt/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(42, 10, (((((("http://www.ojogos.pt/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(42, 10, (((((("http://www.ojogos.pt/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(43, 4, (((((("http://www.laro.com.ph/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(43, 4, (((((("http://www.laro.com.ph/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(43, 4, (((((("http://www.laro.com.ph/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(43, 4, (((((("http://www.laro.com.ph/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(44, 18, (((((("http://www.egames.jp/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(44, 18, (((((("http://www.egames.jp/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(44, 18, (((((("http://www.egames.jp/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(44, 18, (((((("http://www.egames.jp/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(45, 2, (((((("http://www.a10.com/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(45, 2, (((((("http://www.a10.com/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(45, 2, (((((("http://www.a10.com/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(45, 2, (((((("http://www.a10.com/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
}
public function O11111O0l():void{
navigateToURL(new URLRequest(O11111l1O[((((O11111OOO - 1) * 4) + O1111100O1) - 1)].O11111Ol1), "_blank");
}
public function O11111Oll(_arg1:String, _arg2:String, _arg3:String, _arg4:int):void{
O1111100O1 = _arg4;
O11111l1l = _arg1;
O111111Ol = _arg2;
O111111O0 = _arg3;
O11111l10();
}
public function O11111O01():int{
return (O11111l1O[((((O11111OOO - 1) * 4) + O1111100O1) - 1)].O11111OOl);
}
public function O11111Ol0(_arg1:int=1):void{
O11111OOO = _arg1;
}
public function O11111O0O():int{
return (O11111l1O[((((O11111OOO - 1) * 4) + O1111100O1) - 1)].O11111OO0);
}
public static function O11111OlO():O1111111l{
if (O11111l11 == null){
O11111l11 = new (O1111111l);
};
return (O11111l11);
}
}
}//package O11111110
class O11111O00 {
public var O11111Ol1:String;
public var O11111OOl:int;
public var O11111OO0:int;
private function O11111O00(_arg1:int, _arg2:int, _arg3:String):void{
O11111OOl = _arg1;
O11111OO0 = _arg2;
O11111Ol1 = _arg3;
}
}
Section 80
//O1111111O (O11111110.O1111111O)
package O11111110 {
import flash.net.*;
import flash.external.*;
public class O1111111O {
private static const O11111OOO:Array = ["www.zlonggamestest.com", "gamedev.dev.spilgames.com", "gamedev.dev.spillgroup.com", "www.agame.com", "www.girlsgogames.com", "www.games.co.uk", "www.mygames.co.uk", "www.girlsgogames.co.uk", "www.spel.nl", "www.spelletjes.nl", "www.girlsgogames.nl", "www.jetztspielen.de", "www.spielen.com", "www.girlsgogames.de", "www.jeux.fr", "www.jeu.fr", "www.girlsgogames.fr", "www.juegos.com", "www.zapjuegos.com", "www.juegosdechicas.com", "www.gioco.it", "www.giocaregratis.it", "www.girlsgogames.it", "www.gry.pl", "www.minigry.pl", "www.girlsgogames.pl", "www.spela.se", "www.spel.eu", "www.girlsgogames.se", "www.ojogos.pt", "www.ourgames.ru", "www.flashgames.ru", "www.girlsgogames.ru", "www.oyunlar123.com", "www.asoyun.com", "www.girlsgogamestr.com", "www.gamesgames.com", "www.agame.com", "www.girlsgogames.com", "www.juegos.com", "www.zapjuegos.com", "www.juegosdechicas.com", "www.ojogos.com.br", "www.clickjogos.com", "www.girlsgogames.com.br", "www.game.com.cn", "www.xiaoyouxi.com", "www.egames.jp", "www.game.co.in", "www.game.co.in", "www.girlsgogames.in", "www.games.co.id", "www.laro.com.ph", "www.game.com.my", "www.onrpg.com", "www.zlonggames.com", "www.a10.com"];
private static var O11111OOl:URLRequest;
private static var O11111OO0;
public function O1111111O():void{
super();
try {
O11111OO0 = ExternalInterface.call("window.location.href.toString");
} catch(e) {
O11111OO0 = "error";
};
if ((((O11111OO0 == null)) || ((O11111OO0 == "")))){
O11111OO0 = "error";
};
if (String(O11111OO0).indexOf(".swf") != -1){
O11111OO0 = "error";
};
}
public function O11111OO1():Boolean{
if (((!((O11111Ol0(O11111O01(O11111OO0)) == -1))) && (!((O11111OO0 == "error"))))){
return (true);
};
return (false);
}
private static function O11111O01(_arg1:String):String{
var _local2:String;
var _local3:uint;
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
return (_local2);
}
private static function O11111Ol0(_arg1:String):Number{
var _local2:uint;
if (((O11111OOO) && (_arg1))){
_local2 = 0;
while (_local2 < O11111OOO.length) {
if (_arg1 == O11111OOO[_local2]){
return (_local2);
};
_local2++;
};
return (-1);
} else {
trace("cannot find site name");
};
return (-1);
}
}
}//package O11111110
Section 81
//Brand (spill.localisation.Brand)
package spill.localisation {
import flash.xml.*;
public class Brand {
public var domain:String;
public var emailPage:String;
public var name:String;
public var site_id:uint;
public var isExternal:Boolean;// = false
public var id:Number;
public var hostingDomain:String;// = ""
public var preferedLanguage:String;// = ""
public var moreLink:String;// = ""
public var hasSendToFriendLink:Boolean;// = true
public var emailLink:String;// = "game"
public var portalGroup:uint;
public var useGoogleAnalitics:Boolean;// = true
private static const topLevelDoubles:String = (((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,");
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
public function exportXML():XML{
var _local3:XML;
var _local1:XML = <portal/>
;
_local1.@id = site_id;
_local1.@language = preferedLanguage;
_local1.@channel = portalGroup;
var _local2:XML = <domain/>
;
_local2.appendChild(new XMLNode(3, domain));
_local1.appendChild(_local2);
if (moreLink){
_local3 = <more_games_path/>
;
_local3.appendChild(new XMLNode(3, moreLink));
_local1.appendChild(_local3);
};
_local2 = <game_path/>
;
_local2.appendChild(new XMLNode(3, emailLink));
_local1.appendChild(_local2);
if (!useGoogleAnalitics){
_local1.attributes.noGoogleAnalitics = true;
};
if (!hasSendToFriendLink){
_local1.attributes.noSendToFriendLink = true;
};
return (_local1);
}
private function get utm_source():String{
return (("utm_source=brandedgames_" + (isExternal) ? "external" : "internal"));
}
public function getMoreGamesLink(_arg1:String, _arg2:Boolean, _arg3:String="", _arg4:String=""):String{
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ("/" + moreLink));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg3 = stripSubDomain(_arg3);
trace(_arg3);
if (_arg3 == "localhost"){
_arg3 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg3));
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
public function get backgroundColor():uint{
return (PortalGroup.backgroundColors[portalGroup]);
}
private function get utm_term():String{
return ("utm_term=");
}
public function importXML(_arg1:XMLNode):void{
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg4));
_local5 = (_local5 + "&utm_content=send_to_friend");
};
return (_local5);
}
private static function stripSubDomain(_arg1:String):String{
if (!_arg1){
return ("");
};
var _local2:Array = _arg1.split(".");
if (_local2.length <= 2){
return (_arg1);
};
_local2 = _local2.reverse();
if (topLevelDoubles.indexOf((((_local2[1] + ".") + _local2[0]) + ",")) > 0){
return (((((_local2[2] + ".") + _local2[1]) + ".") + _local2[0]));
};
return (((_local2[1] + ".") + _local2[0]));
}
}
}//package spill.localisation
Section 82
//BrandingLogo (spill.localisation.BrandingLogo)
package spill.localisation {
import flash.events.*;
import flash.display.*;
public class BrandingLogo extends MovieClip {
public function BrandingLogo(){
addFrameScript(0, frame1);
super();
stop();
mouseEnabled = false;
mouseChildren = false;
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
if (stage){
added();
};
brandingChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true);
brandingChanged();
}
private function brandingChanged(_arg1:Event=null):void{
if (SpilGame.currentBranding){
gotoAndStop(SpilGame.currentBranding.domain);
};
}
function frame1(){
stop();
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("brandingChanged", brandingChanged);
}
}
}//package spill.localisation
Section 83
//Brandings (spill.localisation.Brandings)
package spill.localisation {
public class Brandings {
private static var brands_by_id:Object = new Object();
private static var brands_by_domain:Object = new Object();
public static function getBrandByID(_arg1:Number):Brand{
return (brands_by_id[_arg1]);
}
public static function getBrandsArray():Array{
var _local2:Brand;
var _local1:Array = new Array();
for each (_local2 in brands_by_domain) {
_local1.push(_local2);
};
return (_local1);
}
private static function addBrand(_arg1:Brand):Brand{
if (brands_by_domain[_arg1.domain]){
trace(("ERROR: Attempting to add duplicate brand by domain: " + _arg1.domain));
} else {
brands_by_domain[_arg1.domain] = _arg1;
};
if (brands_by_id[_arg1.site_id]){
trace(("ERROR: Attempting to add duplicate brand by id: " + _arg1.site_id));
} else {
brands_by_id[_arg1.site_id] = _arg1;
};
return (_arg1);
}
public static function initialize():void{
var _local1:Brand;
_local1 = new Brand();
_local1.site_id = 79;
_local1.domain = "www.agame.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TWEEN;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 88;
_local1.domain = "www.gamesgames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 90;
_local1.domain = "www.girlsgogames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 45;
_local1.domain = "www.a10.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TEEN;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 92;
_local1.domain = "www.games.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 107;
_local1.domain = "www.mygames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.TWEEN;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 102;
_local1.domain = "www.girlsgogames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 2;
_local1.domain = "www.game.com.cn";
_local1.moreLink = "moregames/";
_local1.preferedLanguage = "cn";
_local1.portalGroup = PortalGroup.NONE;
_local1.useGoogleAnalitics = false;
_local1.hasSendToFriendLink = false;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 25;
_local1.domain = "www.spel.nl";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1;
_local1.domain = "www.spelletjes.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 93;
_local1.domain = "www.girlsgogames.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 12;
_local1.domain = "www.jeu.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 95;
_local1.domain = "www.girlsgogames.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 11;
_local1.domain = "www.jeux.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 26;
_local1.domain = "www.spielen.com";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 94;
_local1.domain = "www.girlsgogames.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 5;
_local1.domain = "www.jetztspielen.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 109;
_local1.domain = "www.minigry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 16;
_local1.domain = "www.gry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 98;
_local1.domain = "www.girlsgogames.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 108;
_local1.domain = "www.spel.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 100;
_local1.domain = "www.girlsgogames.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 44;
_local1.domain = "www.spela.se";
_local1.emailLink = "spel_";
_local1.preferedLanguage = "se";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 106;
_local1.domain = "www.giocaregratis.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 15;
_local1.domain = "www.gioco.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 99;
_local1.domain = "www.girlsgogames.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 97;
_local1.domain = "www.zapjuegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 86;
_local1.domain = "www.juegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 96;
_local1.domain = "www.juegosdechicas.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 122;
_local1.domain = "www.girlsgogames.es";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 91;
_local1.domain = "www.clickjogos.com";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 101;
_local1.domain = "www.girlsgogames.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 50;
_local1.domain = "www.ojogos.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 55;
_local1.domain = "www.games.co.id";
_local1.emailLink = "permainanme";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 105;
_local1.domain = "www.flashgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 104;
_local1.domain = "www.girlsgogames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 103;
_local1.domain = "www.ourgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 24;
_local1.domain = "www.game.co.in";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "in";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 87;
_local1.domain = "www.ojogos.pt";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 120;
_local1.domain = "www.egames.jp";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "jp";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 0;
_local1.domain = "gamedev.dev.spilgames.com";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = null;
addBrand(_local1);
}
public static function exportXML():XML{
var _local2:Brand;
var _local1:XML = <portals/>
;
for each (_local2 in brands_by_domain) {
_local1.appendChild(_local2.exportXML());
};
return (_local1);
}
public static function getBrandByDomain(_arg1:String):Brand{
return (brands_by_domain[_arg1]);
}
public static function hasDomain(_arg1:String):Boolean{
return (!((brands_by_domain[_arg1] == null)));
}
}
}//package spill.localisation
Section 84
//Language (spill.localisation.Language)
package spill.localisation {
import flash.xml.*;
public class Language {
public var portal_groups:Array;
public var references:Array;
public var name:String;
public var embedInputFonts:Boolean;// = true
public var id:uint;
public var forceFont:String;// = null
public var textLanguage:String;
public var bwcId:int;
public var embedFonts:Boolean;// = true
public var displayName:String;// = ""
public var dname:String;
public function Language(_arg1:String, _arg2:String=null){
references = [];
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function exportXML():XMLNode{
var _local1:XMLNode = new XMLNode(1, "language");
_local1.attributes.name = name;
if (textLanguage != null){
_local1.attributes.textLanguage = textLanguage;
};
if (references.length){
_local1.attributes.references = references.toString();
};
_local1.attributes.id = bwcId;
var _local2:XMLNode = new XMLNode(1, "display_name");
_local2.firstChild = new XMLNode(3, displayName);
_local1.appendChild(_local2);
var _local3:Array = [];
var _local4:Array = PortalGroup.channelNames;
var _local5:int;
while (_local5 < _local4.length) {
_local3.push(Brandings.getBrandByDomain(portal_groups[_local5]).site_id);
_local5++;
};
_local1.attributes.channels = _local3.join(",");
return (_local1);
}
public function get p_teen():String{
return (portal_groups[PortalGroup.TEEN]);
}
public function set p_teen(_arg1:String):void{
portal_groups[PortalGroup.TEEN] = _arg1;
}
public function get p_tween():String{
return (portal_groups[PortalGroup.TWEEN]);
}
public function get p_family():String{
return (portal_groups[PortalGroup.FAMILY]);
}
public function get p_girl():String{
return (portal_groups[PortalGroup.GIRL]);
}
public function set p_girl(_arg1:String):void{
portal_groups[PortalGroup.GIRL] = _arg1;
}
public function get displayAcronim():String{
return ((dname) ? dname : name);
}
public function set p_family(_arg1:String):void{
portal_groups[PortalGroup.FAMILY] = _arg1;
}
public function set p_tween(_arg1:String):void{
portal_groups[PortalGroup.TWEEN] = _arg1;
}
}
}//package spill.localisation
Section 85
//Languages (spill.localisation.Languages)
package spill.localisation {
import flash.xml.*;
public class Languages {
public static var languages:Object = new Object();
private static var _init:Boolean = false;
public static function initialize():void{
var _local1:Language;
if (_init){
return;
};
_init = true;
_local1 = new Language("nl");
_local1.displayName = "Nederlands";
_local1.p_family = "www.spelletjes.nl";
_local1.p_tween = "www.spel.nl";
_local1.p_girl = "www.girlsgogames.nl";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 3;
addLanguage(_local1);
_local1 = new Language("es");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.girlsgogames.es";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 9;
addLanguage(_local1);
_local1 = new Language("pl");
_local1.displayName = "Polski";
_local1.p_family = "www.gry.pl";
_local1.p_tween = "www.minigry.pl";
_local1.p_girl = "www.girlsgogames.pl";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 6;
addLanguage(_local1);
_local1 = new Language("fr");
_local1.displayName = "Français";
_local1.p_family = "www.jeux.fr";
_local1.p_tween = "www.jeu.fr";
_local1.p_girl = "www.girlsgogames.fr";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 4;
addLanguage(_local1);
_local1 = new Language("en_us", "us");
_local1.displayName = "English (US)";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 1;
addLanguage(_local1);
addReference(_local1, "en");
_local1 = new Language("id");
_local1.displayName = "Bahasa Ind.";
_local1.p_family = "www.games.co.id";
_local1.p_tween = "www.games.co.id";
_local1.p_girl = "www.games.co.id";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 11;
addLanguage(_local1);
_local1 = new Language("ru");
_local1.displayName = "Русский язык";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 12;
addLanguage(_local1);
_local1 = new Language("se");
_local1.displayName = "Svenska";
_local1.p_family = "www.spela.se";
_local1.p_tween = "www.spel.se";
_local1.p_girl = "www.girlsgogames.se";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 7;
addLanguage(_local1);
addReference(_local1, "sv");
_local1 = new Language("it");
_local1.displayName = "Italiano";
_local1.p_family = "www.gioco.it";
_local1.p_tween = "www.giocaregratis.it";
_local1.p_girl = "www.girlsgogames.it";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 8;
addLanguage(_local1);
_local1 = new Language("en_uk", "uk");
_local1.displayName = "English (UK)";
_local1.p_family = "www.games.co.uk";
_local1.p_tween = "www.mygames.co.uk";
_local1.p_girl = "www.girlsgogames.co.uk";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 13;
addLanguage(_local1);
_local1 = new Language("cn");
_local1.displayName = "中文";
_local1.p_family = "www.game.com.cn";
_local1.p_tween = "www.game.com.cn";
_local1.p_girl = "www.game.com.cn";
_local1.p_teen = "www.game.com.cn";
_local1.bwcId = 2;
_local1.embedFonts = false;
_local1.embedInputFonts = false;
_local1.forceFont = "_sans";
addLanguage(_local1);
addReference(_local1, "zh-CN");
addReference(_local1, "zh-TW");
_local1 = new Language("pt");
_local1.displayName = "Português";
_local1.p_family = "www.ojogos.pt";
_local1.p_tween = "www.ojogos.pt";
_local1.p_girl = "www.ojogos.pt";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 17;
addLanguage(_local1);
_local1 = new Language("in");
_local1.displayName = "India";
_local1.p_family = "www.game.co.in";
_local1.p_tween = "www.game.co.in";
_local1.p_girl = "www.game.co.in";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "en_uk";
_local1.bwcId = 14;
addLanguage(_local1);
_local1 = new Language("de");
_local1.displayName = "Deutsch";
_local1.p_family = "www.jetztspielen.de";
_local1.p_tween = "www.spielen.com";
_local1.p_girl = "www.girlsgogames.de";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 5;
addLanguage(_local1);
_local1 = new Language("br");
_local1.displayName = "PortuguêsBR";
_local1.p_family = "www.ojogos.com.br";
_local1.p_tween = "www.clickjogos.com";
_local1.p_girl = "www.girlsgogames.com.br";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 10;
addLanguage(_local1);
_local1 = new Language("jp");
_local1.displayName = "日本語";
_local1.p_family = "www.egames.jp";
_local1.p_tween = "www.egames.jp";
_local1.p_girl = "www.egames.jp";
_local1.p_teen = "www.a10.com";
_local1.embedFonts = true;
_local1.embedInputFonts = false;
_local1.forceFont = "MS UI Gothic";
_local1.bwcId = 19;
addLanguage(_local1);
addReference(_local1, "ja");
}
public static function exportXML():XMLNode{
var _local3:Language;
var _local1:Array = getLanguagesArray();
var _local2:XMLNode = new XMLNode(1, "languages");
for each (_local3 in _local1) {
_local2.appendChild(_local3.exportXML());
};
return (_local2);
}
public static function getLanguagesArray():Array{
var _local3:Language;
var _local1:Array = new Array();
var _local2:Object = new Object();
for each (_local3 in languages) {
if (!_local2[_local3.name]){
_local1.push(_local3);
_local2[_local3.name] = true;
};
};
return (_local1);
}
public static function getLanguage(_arg1:String):Language{
return (languages[_arg1]);
}
private static function addLanguage(_arg1:Language):void{
languages[_arg1.name] = _arg1;
}
private static function addReference(_arg1:Language, _arg2:String):void{
languages[_arg2] = _arg1;
_arg1.references.push(_arg2);
}
public static function getLanguageByOldID(_arg1:int):Language{
var _local2:Language;
for each (_local2 in languages) {
if (_local2.bwcId == _arg1){
return (_local2);
};
};
return (null);
}
}
}//package spill.localisation
Section 86
//LanguageSelectBox (spill.localisation.LanguageSelectBox)
package spill.localisation {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class LanguageSelectBox extends MovieClip {
private var flag:MovieClip;
private var languageName_text:TextField;
private var popup:MovieClip;
private var mc:MovieClip;
public function LanguageSelectBox(){
if (numChildren > 0){
removeChildAt(0);
};
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true);
Languages.initialize();
popup = new LanguageSelectPopup_mc();
x = Math.round(x);
y = Math.round(y);
popup.y = (-(Math.floor(popup.height)) + 1);
popup.visible = false;
addChild(popup);
mc = new LanguageSelectBox_mc();
addChild(mc);
flag = mc.flag;
languageName_text = mc.languageName_text;
if (stage){
added();
};
init();
languageChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
public function set popupLocation(_arg1:String):void{
trace(("popupLocation = " + _arg1));
if (_arg1 == "bottom"){
popup.y = (Math.floor(mc.height) - 1);
} else {
popup.y = (-(Math.floor(popup.height)) + 1);
};
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function init():void{
var _local2:MovieClip;
var _local3:Language;
var _local1:int;
while (_local1 < popup.numChildren) {
_local2 = MovieClip(popup.getChildAt(_local1));
_local2.addEventListener(MouseEvent.CLICK, itemClicked, true, 0, true);
_local2.flag.gotoAndStop(_local2.name.substr(2));
_local2.flag.mouseEnabled = false;
_local2.text.mouseEnabled = false;
_local3 = Languages.getLanguage(_local2.name.substr(2));
if (_local3){
_local2.text.text = _local3.displayAcronim;
} else {
trace((("Error, '" + _local2.name.substr(2)) + "' language not found"));
};
_local1++;
};
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
private function mouseOver(_arg1:MouseEvent):void{
popup.visible = true;
}
private function languageChanged(_arg1:Event=null):void{
if (SpilGame.currentLanguage){
flag.gotoAndStop(SpilGame.currentLanguage.name);
languageName_text.text = SpilGame.currentLanguage.displayName;
languageName_text.embedFonts = SpilGame.currentLanguage.embedInputFonts;
};
}
}
}//package spill.localisation
Section 87
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var languageName_text:TextField;
public var flag:MovieClip;
}
}//package spill.localisation
Section 88
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_br:MovieClip;
public var l_se:MovieClip;
public var l_en_us:MovieClip;
public var l_id:MovieClip;
public var l_in:MovieClip;
public var l_en_uk:MovieClip;
public var l_my:MovieClip;
public var l_es:MovieClip;
public var l_it:MovieClip;
public var l_cn:MovieClip;
public var l_pl:MovieClip;
public var l_nl:MovieClip;
public var l_de:MovieClip;
public var l_ru:MovieClip;
public var l_pt:MovieClip;
public var l_tr:MovieClip;
public var l_jp:MovieClip;
public var l_fr:MovieClip;
}
}//package spill.localisation
Section 89
//LocalizedTextField (spill.localisation.LocalizedTextField)
package spill.localisation {
import flash.events.*;
public class LocalizedTextField extends TextFieldFit {
private var regex:RegExp;
private var originalText:String;
public function LocalizedTextField(){
regex = /{([^{}]*)}/g;
super();
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
added();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
private function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
override public function set text(_arg1:String):void{
originalText = _arg1;
if ((_arg1 is String)){
super.text = _arg1.replace(regex, replaceFn);
} else {
super.text = "";
};
}
private function languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
}
}//package spill.localisation
Section 90
//PortalGroup (spill.localisation.PortalGroup)
package spill.localisation {
import flash.xml.*;
public class PortalGroup {
public static const FAMILY:uint = 0;
public static const channelNames:Array = ["family", "tween", "girl", "teen"];
public static const TWEEN:uint = 1;
public static const NONE:uint = 4;
public static const TEEN:uint = 3;
public static const GIRL:uint = 2;
public static const backgroundColors:Array = [0xFFFFFF, 0xFFFFFF, 16742331, 0xFFFFFF];
public static function getName(_arg1:int):String{
return (channelNames[_arg1]);
}
public static function exportXML():XMLNode{
var _local3:XMLNode;
var _local1:XMLNode = new XMLNode(1, "channels");
var _local2:int;
while (_local2 < 4) {
_local3 = new XMLNode(1, "channel");
_local3.attributes.name = channelNames[_local2];
_local3.attributes.id = _local2;
_local1.appendChild(_local3);
_local2++;
};
return (_local1);
}
}
}//package spill.localisation
Section 91
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 92
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
public class SpilGame {
private static const cookiePath:String = "/";
private static const cookieLanguageVar:String = "savedLang";
public static const LANGUAGE_CHANGED:String = "languageChanged";
private static const cookieName:String = "spilgames_language_v100";
public static const BRANDING_CHANGED:String = "brandingChanged";
private static var strings:Object = new Object();
public static var currentBranding:Brand;
private static var contexMenuItem:ContextMenuItem;
spil_internal static var gameName:String;
spil_internal static var debugHostDomain:String = "";
private static var localDomains:Object = new Object();
spil_internal static var emailPage:String;
private static var channelLock:Boolean = false;
spil_internal static var debugEmbedDomain:String = "";
private static var eventDispatcher:EventDispatcher;
private static var _init:Boolean = false;
public static var currentLanguage:Language;
spil_internal static var portalGroup:uint;
public static function getSpilCompanyLink():String{
if (currentLanguage.name == "cn"){
return ("http://www.game.com.cn/downloads/");
};
return ("http://www.gameportal.net");
}
public static function getString(_arg1:String):String{
var _local2:Object = strings[_arg1];
if (_local2){
if (currentLanguage.textLanguage){
return (_local2[currentLanguage.textLanguage]);
};
return (_local2[currentLanguage.name]);
//unresolved jump
};
return ("");
}
public static function traceAllBrands():void{
trace(outputAllBrands());
}
public static function initialize(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false):void{
if (_init){
trace("ERROR: LocalisationManager already initialised");
return;
};
_init = true;
localDomains["localhost"] = true;
localDomains["www8.agame.com"] = true;
localDomains["gamedev.dev.spilgames.com"] = true;
Brandings.initialize();
Languages.initialize();
initContexMenu(_arg4);
channelLock = _arg5;
gameName = _arg1.replace(" ", "_");
portalGroup = _arg2;
emailPage = _arg3;
chooseLanguage();
chooseBranding();
}
public static function get isExternal():Boolean{
return (((!(Brandings.hasDomain(embedDomain))) && (!(localDomains[embedDomain]))));
}
private static function initContexMenu(_arg1:Sprite):void{
contexMenuItem = new ContextMenuItem("");
_arg1.contextMenu = new ContextMenu();
_arg1.contextMenu.customItems.push(contexMenuItem);
contexMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contexMenuClicked);
}
private static function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
trace(_arg1.text);
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
trace(_arg1.text);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
spil_internal static function get hostingDomain():String{
var _local1:LocalConnection;
if (debugHostDomain != ""){
return (debugHostDomain);
};
_local1 = new LocalConnection();
return (_local1.domain);
}
spil_internal static function chooseLanguage():void{
if (cookieLanguage != null){
currentLanguage = cookieLanguage;
} else {
if (isExternal){
currentLanguage = systemLanguage;
} else {
currentLanguage = portalLanguage;
if (!currentLanguage){
currentLanguage = systemLanguage;
};
};
};
if (!currentLanguage){
trace("Unable to determine language, using 'English US'");
currentLanguage = Languages.getLanguage("en_us");
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
private static function contexMenuClicked(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu")));
}
public static function importXMLv2(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.attribute("identifier")] = new Object());
for each (_local4 in _local2.children()) {
if (_local4.children().length() > 0){
_local3[_local4.name()] = _local4.children()[0].toString();
} else {
_local3[_local4.name()] = "";
};
};
};
}
spil_internal static function changeLanguage(_arg1:String):void{
var _local2:Language = Languages.getLanguage(_arg1);
if (!_local2){
trace("ERROR: Supplied language string does not have a matching language");
} else {
cookieLanguage = _local2;
currentLanguage = _local2;
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
chooseBranding();
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
public static function getSendToFriendLink():String{
return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain));
}
spil_internal static function chooseBranding():void{
var _local1:Brand;
var _local2:uint;
if (!isExternal){
_local1 = Brandings.getBrandByDomain(embedDomain);
if (_local1){
if (currentLanguage.name == _local1.preferedLanguage){
currentBranding = _local1;
} else {
_local2 = 0;
if ((((_local1.portalGroup == PortalGroup.NONE)) || (channelLock))){
_local2 = portalGroup;
} else {
_local2 = _local1.portalGroup;
};
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[_local2]);
};
} else {
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]);
};
} else {
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]);
};
if ((!(currentBranding) is Brand)){
currentBranding = Brandings.getBrandByDomain("www.agame.com");
};
contexMenuItem.caption = ("More Games: " + currentBranding.domain);
dispatchEvent(new Event(BRANDING_CHANGED));
}
spil_internal static function get systemLanguage():Language{
return (Languages.getLanguage(Capabilities.language));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
if (_arg1 == null){
_local2.data[cookieLanguageVar] = null;
} else {
_local2.data[cookieLanguageVar] = _arg1.name;
};
_local2.flush();
}
public static function importXML(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.identifier] = new Object());
for each (_local4 in _local2.children()) {
_local3[_local4.name()] = _local4.children()[0].toString();
};
};
}
spil_internal static function dispatchEvent(_arg1:Event):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.dispatchEvent(_arg1);
}
private static function getDomain(_arg1:String):String{
var _local2:String;
var _local3:uint;
if (_arg1.indexOf("file") == 0){
return ("offline_play");
};
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
if (_local2 == "localhost"){
_local2 = "offline_play";
};
return (_local2);
}
public static function exportXML():XML{
var _local1:XML = <spil_games/>
;
_local1.appendChild(Brandings.exportXML());
_local1.appendChild(Languages.exportXML());
_local1.appendChild(PortalGroup.exportXML());
return (_local1);
}
public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public static function outputAllBrands():String{
var _local3:Brand;
var _local1:Array = Brandings.getBrandsArray();
var _local2 = "";
for each (_local3 in _local1) {
_local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n"));
};
return (_local2);
}
public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public static function getMoreGamesLink(_arg1:String=""):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
var _local2:String = String(_local1.data[cookieLanguageVar]);
return (Languages.getLanguage(_local2));
}
private static function get portalLanguage():Language{
var _local1:Brand;
var _local2:String;
var _local3:Language;
if (isExternal){
return (null);
};
if (!embedDomain){
return (null);
};
_local1 = Brandings.getBrandByDomain(embedDomain);
if (!_local1){
return (null);
};
_local2 = _local1.preferedLanguage;
if (!_local2){
return (null);
};
_local3 = Languages.getLanguage(_local2);
if (!_local3){
return (null);
};
return (_local3);
}
spil_internal static function get embedDomain():String{
var loc:String;
if (debugEmbedDomain != ""){
return (debugEmbedDomain);
};
if (ExternalInterface.available){
try {
loc = ExternalInterface.call("window.location.href.toString");
if (((!((loc == ""))) && (!((loc == null))))){
trace(("embed domain = " + getDomain(loc)));
return (getDomain(loc));
};
} catch(e:SecurityError) {
trace(("Security Error connecting to external interface, error = " + e));
} catch(e:Error) {
trace(("Error connecting to external interface, error = " + e));
};
};
return (null);
}
}
}//package spill.localisation
Section 93
//SpilGamesLink (spill.localisation.SpilGamesLink)
package spill.localisation {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public class SpilGamesLink extends SimpleButton {
public function SpilGamesLink(){
addEventListener(MouseEvent.CLICK, buttonClicked);
}
private function buttonClicked(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank");
}
}
}//package spill.localisation
Section 94
//TextFieldFit (spill.localisation.TextFieldFit)
package spill.localisation {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.filters.*;
public class TextFieldFit extends MovieClip {
protected var _glowQuality:Number;// = 1
protected var _gridFitType:String;// = "pixel"
protected var _text:String;// = "default"
private var debugBounding:Sprite;
protected var _disableWordwrap:Boolean;// = false
protected var _textSize:Number;// = 12
protected var _multiline:Boolean;// = false
protected var _font:String;// = ""
protected var _embedFonts:Boolean;// = true
protected var _underline:Boolean;// = false
protected var _vAlign:String;// = "top"
protected var _italic:Boolean;// = false
protected var _useGlowFilter:Boolean;// = false
protected var _glowColor:uint;// = 0
protected var _bold:Boolean;// = false
private var h:Number;
protected var _antiAliasType:String;// = "advanced"
private var sizeChanged:Boolean;// = true
private var w:Number;
private var embeddedFonts:Array;
protected var _hAlign:String;// = "left"
protected var _textColor:uint;// = 0
protected var _glowStrength:Number;// = 5
protected var _glowBlur:Number;// = 3
protected var _selectable:Boolean;// = false
private var format:TextFormat;
private var field:TextField;
private var valid:Boolean;// = true
private static const gutter:Number = 2;
spil_internal static var embedFonts:Boolean = true;
spil_internal static var forceAAType:String = null;
spil_internal static var forceFont:String = null;
public static var alwaysCheckWidth:Boolean = false;
public function TextFieldFit(){
var _local1:Boolean = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
var _local2:Number = width;
var _local3:Number = height;
if (numChildren > 0){
removeChildAt(0);
};
if (!field){
field = new TextField();
addChild(field);
};
field.border = false;
field.background = false;
field.type = TextFieldType.DYNAMIC;
mouseEnabled = false;
mouseChildren = false;
format = new TextFormat();
embeddedFonts = Font.enumerateFonts(false);
setSize(_local2, _local3);
validate();
if (stage){
addEventListener(Event.RENDER, init);
stage.invalidate();
};
init();
}
private function resizeText(_arg1:Boolean=false):void{
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
if (format.size <= 3){
trace("WARNING: Text resised to 3px, either an error occured or the text just wont fit");
return;
};
field.setTextFormat(format);
resizeText(true);
} else {
if (_arg1 == false){
while (doesTextFit()) {
if (format.size <= textSize){
format.size = Object((Number(format.size) + 1));
field.setTextFormat(format);
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
field.setTextFormat(format);
break;
};
} else {
break;
};
};
};
};
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
private function validate(_arg1:Event=null):void{
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
public function get vAlign():String{
return (_vAlign);
}
public function get italic():Boolean{
return (_italic);
}
public function get textColor():uint{
return (_textColor);
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
public function get text():String{
return (_text);
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function get selectable():Boolean{
return (_selectable);
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function get disableWordwrap():Boolean{
return (_disableWordwrap);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
private function layoutText():void{
resizeText();
field.height = (field.textHeight + (gutter * 2));
if (vAlign == "top"){
field.y = 0;
} else {
if (vAlign == "middle"){
field.y = ((h - field.height) / 2);
} else {
if (vAlign == "bottom"){
field.y = (h - field.height);
};
};
};
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
public function get hAlign():String{
return (_hAlign);
}
public function setSize(_arg1:Number, _arg2:Number):void{
w = _arg1;
h = _arg2;
scaleX = (scaleY = 1);
field.width = w;
field.height = h;
invalidate();
}
public function get bold():Boolean{
return (_bold);
}
public function set gridFitType(_arg1:String):void{
_gridFitType = _arg1;
invalidate();
}
public function set underline(_arg1:Boolean):void{
_underline = _arg1;
invalidate();
}
public function get glowBlur():Number{
return (_glowBlur);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
invalidate();
}
public function set font(_arg1:String):void{
_font = _arg1;
invalidate();
}
public function set textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function set selectable(_arg1:Boolean):void{
_selectable = _arg1;
invalidate();
}
public function get multiline():Boolean{
return (_multiline);
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function set disableWordwrap(_arg1:Boolean):void{
_disableWordwrap = _arg1;
invalidate();
}
public function get glowQuality():Number{
return (_glowQuality);
}
public function get gridFitType():String{
return (_gridFitType);
}
public function get underline():Boolean{
return (_underline);
}
public function get textSize():Number{
return (_textSize);
}
public function get glowColor():uint{
return (_glowColor);
}
public function set antiAliasType(_arg1:String):void{
_antiAliasType = _arg1;
invalidate();
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
protected function updateProperties():void{
var _local1:Boolean;
var _local2:Font;
field.text = _text;
field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline;
field.wordWrap = ((field.multiline) && (!(_disableWordwrap)));
field.selectable = _selectable;
field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType;
field.gridFitType = _gridFitType;
embeddedFonts = Font.enumerateFonts(false);
if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){
_local1 = false;
for each (_local2 in embeddedFonts) {
if (_font == _local2.fontName){
_local1 = true;
break;
};
};
field.embedFonts = _local1;
if (!_local1){
trace(((("WARNING: Embedded font '" + _font) + "' not found, disabling embedding of fonts, text = ") + _text));
};
} else {
field.embedFonts = false;
};
if (TextFieldFit.forceFont){
format.font = TextFieldFit.forceFont;
} else {
if (_font != ""){
format.font = _font;
};
};
if (sizeChanged){
format.size = _textSize;
};
format.color = _textColor;
format.align = _hAlign;
format.bold = _bold;
format.italic = _italic;
format.underline = _underline;
format.leftMargin = 0;
format.rightMargin = 0;
field.setTextFormat(format);
if (_useGlowFilter){
filters = [new GlowFilter(_glowColor, 1, _glowBlur, _glowBlur, _glowStrength, _glowQuality)];
} else {
filters = [];
};
}
private function doesTextFit():Boolean{
if (((((field.textHeight + (gutter * 2)) > h)) || (((((field.textWidth + (gutter * 2)) > w)) && (((!(field.multiline)) || (alwaysCheckWidth))))))){
return (false);
};
return (true);
}
public function get glowStrength():Number{
return (_glowStrength);
}
}
}//package spill.localisation
Section 95
//CategoryCard_mc (spill.TMH.Category.CategoryCard_mc)
package spill.TMH.Category {
import flash.display.*;
public dynamic class CategoryCard_mc extends MovieClip {
public var imagePlaceHolder:MovieClip;
public var Top:MovieClip;
}
}//package spill.TMH.Category
Section 96
//MiniTimeLine (spill.TMH.Controls.MiniTimeLine)
package spill.TMH.Controls {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import spill.TMH.sound.*;
public class MiniTimeLine extends MovieClip {
private var _O0lll0l0l:Boolean;
private var _OO0ll0lOl:MovieClip;
private var _OO00l100O:MovieClip;
private var _OO0Ol0l00:Boolean;
private var _O001l1001:Boolean;
private var _O011111l0:TimeLine4;
private var _O0ll0O1ll:Point;
private var _OO10O0l0l:Number;
private var _O11101100:Boolean;
private var _OOOOll0l1:Boolean;
private var _O1O0l11OO:MovieClip;
private var _O1l0O0100:Boolean;
private var _OO00O11O0:int;
private var _OOOlO0100:int;
private var _O1OO0O1l1:MovieClip;
private var _O100O1l00:Boolean;
private var _O0O1OO0ll:Boolean;
private var _OOO1OO1O0:Boolean;
private var _OO101llOO:Number;
private var _O11O1O101:Number;
public function MiniTimeLine(_arg1:TimeLine4){
_O011111l0 = _arg1;
_OO10O0l0l = 600;
_O11O1O101 = 20;
_O1O0l11OO = new timelineControl();
_O1O0l11OO.width = _OO10O0l0l;
_O1O0l11OO.height = _O11O1O101;
_O1O0l11OO.x = (_O1O0l11OO.width / 2);
_O1O0l11OO.y = (_O1O0l11OO.height / 2);
addChild(_O1O0l11OO);
_O1OO0O1l1 = new timelineController1();
_O1OO0O1l1.x = 500;
_O1OO0O1l1.y = (_O1OO0O1l1.height / 2);
addChild(_O1OO0O1l1);
_O1OO0O1l1.addEventListener(MouseEvent.MOUSE_OUT, _OOO010O0l);
_OO0ll0lOl = new timelineController2();
_OO0ll0lOl.x = 600;
_OO0ll0lOl.y = (_OO0ll0lOl.height / 2);
addChild(_OO0ll0lOl);
_OO0ll0lOl.addEventListener(MouseEvent.MOUSE_OUT, _O0l0l01l1);
_OO00l100O = new MovieClip();
_OO00l100O.x = _O1OO0O1l1.x;
_OO00l100O.y = 0;
_OO00l100O.alpha = 0.3;
_OO00l100O.graphics.beginFill(0xFFFFFF);
_OO00l100O.graphics.drawRect(0, 0, (_OO0ll0lOl.x - _O1OO0O1l1.x), _O11O1O101);
_OO00l100O.graphics.endFill();
addChild(_OO00l100O);
_OO00l100O.addEventListener(MouseEvent.MOUSE_DOWN, _O1O010l0l);
_OO00l100O.addEventListener(MouseEvent.MOUSE_UP, _O10OlO1ll);
_OO00l100O.addEventListener(MouseEvent.MOUSE_OVER, _O1ll0OO10);
_OO00l100O.addEventListener(MouseEvent.MOUSE_OUT, _OO0ll00O1);
addEventListener(MouseEvent.MOUSE_DOWN, _O0OOl0O0l);
_OOOlO0100 = ((_OO10O0l0l * 0.01) * (700 / (_O011111l0.m_getZoomedTimeLineWidth() * 0.01)));
_OO00O11O0 = ((_OO10O0l0l * 0.01) * (700 / ((_O011111l0.m_getZoomedTimeLineWidth() * _O011111l0.m_getMaxmimumZoom()) * 0.01)));
_OO101llOO = 0;
_OOOOll0l1 = false;
_O100O1l00 = false;
_O11101100 = false;
_OOO1OO1O0 = true;
}
public function redrawSliderAccordingToYears():void{
var _local1:Number = (Math.abs(_O011111l0.m_getFirstYearOnTimeLine()) / (_O011111l0.m_getZoomedTimeLineWidth() * 0.01));
var _local2:Number = ((Math.abs(_O011111l0.m_getFirstYearOnTimeLine()) + 700) / (_O011111l0.m_getZoomedTimeLineWidth() * 0.01));
var _local3:Number = (_local1 * (_OO10O0l0l / 100));
var _local4:Number = (_local2 * (_OO10O0l0l / 100));
_O11Ol0O10();
_O1OO0O1l1.x = _local3;
_OO0ll0lOl.x = _local4;
_OOO011O11();
}
private function _O1O010l0l(_arg1:MouseEvent):void{
_O0O1OO0ll = true;
stage.addEventListener(MouseEvent.MOUSE_MOVE, _O110lOO01);
MouseControl.setCursorGrabbed();
}
private function _O110lOO01(_arg1:MouseEvent):void{
var _local2:Number = (mouseX - _O0ll0O1ll.x);
if (Math.abs(_OO101llOO) < 100){
_OO101llOO = (_OO101llOO + _local2);
SoundManager.playSound("timeline", 0, 2, 0, 0.2);
} else {
if (Math.abs(_local2) < 2){
_OO101llOO = 0;
};
};
if (!_OOOOll0l1){
incrementSliderArea(_local2);
};
_O0ll0O1ll = new Point(mouseX, mouseY);
}
private function _OOO011O11():void{
_OO00l100O.x = _O1OO0O1l1.x;
_OO00l100O.graphics.clear();
_OO00l100O.graphics.beginFill(0xFFFFFF);
_OO00l100O.graphics.drawRect(0, 0, (_OO0ll0lOl.x - _O1OO0O1l1.x), _O11O1O101);
_OO00l100O.graphics.endFill();
}
private function _OO0ll00O1(_arg1:MouseEvent):void{
_O11101100 = false;
if (!_O100O1l00){
MouseControl.setCursorNormal();
};
}
private function _OO10111lO(_arg1:MouseEvent):void{
var _local2:int = (_OO0ll0lOl.x - _O1OO0O1l1.x);
if ((((mouseX < 0)) && ((_local2 < _OO00O11O0)))){
if (_O0lll0l0l){
_O1OO0O1l1.x = 0;
};
} else {
if ((((mouseX > _OO10O0l0l)) && ((_local2 < _OO00O11O0)))){
if (_O1l0O0100){
_OO0ll0lOl.x = _OO10O0l0l;
};
} else {
if (((_O0lll0l0l) && ((mouseX >= (_OO0ll0lOl.x - _OOOlO0100))))){
_O1OO0O1l1.x = (_OO0ll0lOl.x - _OOOlO0100);
} else {
if (((((_O0lll0l0l) && ((_local2 >= _OO00O11O0)))) && ((mouseX < _O1OO0O1l1.x)))){
_O1OO0O1l1.x = (_OO0ll0lOl.x - _OO00O11O0);
} else {
if (((_O1l0O0100) && ((mouseX <= (_O1OO0O1l1.x + _OOOlO0100))))){
_OO0ll0lOl.x = (_O1OO0O1l1.x + _OOOlO0100);
} else {
if (((((_O1l0O0100) && ((_local2 >= _OO00O11O0)))) && ((mouseX > _OO0ll0lOl.x)))){
_OO0ll0lOl.x = (_O1OO0O1l1.x + _OO00O11O0);
} else {
if (_O1l0O0100){
if (mouseX <= (_O1OO0O1l1.x + _OO00O11O0)){
_OO0ll0lOl.x = mouseX;
} else {
_OO0ll0lOl.x = (_O1OO0O1l1.x + _OO00O11O0);
};
} else {
if (_O0lll0l0l){
if (mouseX >= (_OO0ll0lOl.x - _OO00O11O0)){
_O1OO0O1l1.x = mouseX;
} else {
_O1OO0O1l1.x = (_OO0ll0lOl.x - _OO00O11O0);
};
};
};
};
};
};
};
};
};
_OOO011O11();
AdjustTimeLineAccordingToSlider();
}
private function _O1lOlll0l(_arg1:MouseEvent):void{
if (!_O100O1l00){
_OO0Ol0l00 = true;
MouseControl.setCursorExtentRight();
};
}
private function _O1ll0OO10(_arg1:MouseEvent):void{
_O11101100 = true;
if (!_O100O1l00){
MouseControl.setCursorCanGrab();
};
}
public function IsDragging():Boolean{
return (_O100O1l00);
}
public function AdjustTimeLineAccordingToSlider():void{
var _local1:Number = (_O1OO0O1l1.x / (_OO10O0l0l / 100));
var _local2:Number = (_OO0ll0lOl.x / (_OO10O0l0l / 100));
_O011111l0.miniTimeLineChangedTime(_local1, _local2);
_O11Ol0O10();
}
private function _O0OOl0O0l(_arg1:MouseEvent):void{
if (_OO0Ol0l00){
_O1l0O0100 = true;
} else {
if (_O001l1001){
_O0lll0l0l = true;
} else {
_O100O1l00 = true;
};
};
_OO101llOO = 0;
_OOOOll0l1 = false;
_O0ll0O1ll = new Point(mouseX, mouseY);
stage.addEventListener(MouseEvent.MOUSE_UP, _O0l1ll0O1);
}
public function update(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
if (((_OOOOll0l1) && ((((_OO101llOO > 0)) || ((_OO101llOO < 0)))))){
_local2 = (_OO101llOO / (200 * _arg1));
_OO101llOO = (_OO101llOO - _local2);
if ((((_OO101llOO < 10)) && ((_OO101llOO > -10)))){
_OO101llOO = 0;
} else {
incrementSliderArea(_local2);
};
} else {
if ((((_OO101llOO > 0)) || ((_OO101llOO < 0)))){
_local3 = (_OO101llOO / (500 * _arg1));
_OO101llOO = (_OO101llOO - _local3);
if ((((_OO101llOO < 10)) && ((_OO101llOO > -10)))){
_OO101llOO = 0;
};
};
_OOOOll0l1 = false;
};
}
private function _OOO010O0l(_arg1:MouseEvent):void{
if (_O001l1001){
_O001l1001 = false;
MouseControl.setCursorNormal();
};
}
private function _O0l0l01l1(_arg1:MouseEvent):void{
if (_OO0Ol0l00){
_OO0Ol0l00 = false;
MouseControl.setCursorNormal();
};
}
public function incrementSliderArea(_arg1:Number):void{
_OO00l100O.x = (_OO00l100O.x + _arg1);
_OO0ll0lOl.x = (_OO0ll0lOl.x + _arg1);
_O1OO0O1l1.x = (_O1OO0O1l1.x + _arg1);
if (_OO0ll0lOl.x > _OO10O0l0l){
_OO0ll0lOl.x = _OO10O0l0l;
_O1OO0O1l1.x = (_OO0ll0lOl.x - _OO00l100O.width);
_OO00l100O.x = _O1OO0O1l1.x;
} else {
if (_O1OO0O1l1.x < 0){
_O1OO0O1l1.x = 0;
_OO0ll0lOl.x = (_O1OO0O1l1.x + _OO00l100O.width);
_OO00l100O.x = _O1OO0O1l1.x;
};
};
AdjustTimeLineAccordingToSlider();
}
public function setMouseEnabled(_arg1:Boolean):void{
if (((!(_OOO1OO1O0)) && (_arg1))){
_O1OO0O1l1.addEventListener(MouseEvent.MOUSE_OUT, _OOO010O0l);
_OO0ll0lOl.addEventListener(MouseEvent.MOUSE_OUT, _O0l0l01l1);
_OO00l100O.addEventListener(MouseEvent.MOUSE_DOWN, _O1O010l0l);
_OO00l100O.addEventListener(MouseEvent.MOUSE_UP, _O10OlO1ll);
_OO00l100O.addEventListener(MouseEvent.MOUSE_OVER, _O1ll0OO10);
_OO00l100O.addEventListener(MouseEvent.MOUSE_OUT, _OO0ll00O1);
addEventListener(MouseEvent.MOUSE_DOWN, _O0OOl0O0l);
} else {
if (((_OOO1OO1O0) && (!(_arg1)))){
_O1OO0O1l1.removeEventListener(MouseEvent.MOUSE_OUT, _OOO010O0l);
_OO0ll0lOl.removeEventListener(MouseEvent.MOUSE_OUT, _O0l0l01l1);
_OO00l100O.removeEventListener(MouseEvent.MOUSE_DOWN, _O1O010l0l);
_OO00l100O.removeEventListener(MouseEvent.MOUSE_UP, _O10OlO1ll);
_OO00l100O.removeEventListener(MouseEvent.MOUSE_OVER, _O1ll0OO10);
_OO00l100O.removeEventListener(MouseEvent.MOUSE_OUT, _OO0ll00O1);
removeEventListener(MouseEvent.MOUSE_DOWN, _O0OOl0O0l);
};
};
_OOO1OO1O0 = _arg1;
}
private function _O11Ol0O10():void{
var _local1:Point = _O011111l0.getUsedViewArea();
}
private function _O0l1ll0O1(_arg1:MouseEvent):void{
_OOOOll0l1 = true;
_O1l0O0100 = false;
_O0lll0l0l = false;
_O10OlO1ll(_arg1);
stage.removeEventListener(MouseEvent.MOUSE_UP, _O0l1ll0O1);
}
private function _O0l01lOO0(_arg1:MouseEvent):void{
if (!_O100O1l00){
_O001l1001 = true;
MouseControl.setCursorExtentLeft();
};
}
public function destroy():void{
setMouseEnabled(false);
if (((_O1O0l11OO) && (contains(_O1O0l11OO)))){
removeChild(_O1O0l11OO);
};
_O1O0l11OO = null;
if (((_O1OO0O1l1) && (contains(_O1OO0O1l1)))){
removeChild(_O1OO0O1l1);
};
_O1OO0O1l1 = null;
if (((_OO0ll0lOl) && (contains(_OO0ll0lOl)))){
removeChild(_OO0ll0lOl);
};
_OO0ll0lOl = null;
if (((_OO00l100O) && (contains(_OO00l100O)))){
removeChild(_OO00l100O);
};
_OO00l100O = null;
}
private function _O10OlO1ll(_arg1:MouseEvent):void{
_O0O1OO0ll = false;
stage.removeEventListener(MouseEvent.MOUSE_MOVE, _O110lOO01);
_OOOOll0l1 = true;
_O100O1l00 = false;
if (_O11101100){
MouseControl.setCursorCanGrab();
} else {
MouseControl.setCursorNormal();
};
}
}
}//package spill.TMH.Controls
Section 97
//MouseControl (spill.TMH.Controls.MouseControl)
package spill.TMH.Controls {
import flash.events.*;
import flash.display.*;
import spill.TMH.*;
import TMH.Cursor.*;
import flash.ui.*;
public class MouseControl extends EventDispatcher {
private var _O10llllOO:MovieClip;
public var bNormalActive:Boolean;
public var bLeftScrollActive:Boolean;
public var bMouseDown:Boolean;// = false
private var _O1l00llOl:GameDisplay;
private var _O00OlOlOO:hand_mc;
public var bRightScrollActive:Boolean;
private var _OOO01O1l1:Boolean;// = false
protected var stage:Stage;
public static var instance:MouseControl;
public function MouseControl(_arg1:GameDisplay){
enabled = true;
_O1l00llOl = _arg1;
stage = _O1l00llOl.stage;
MouseControl.instance = this;
stage.addEventListener(MouseEvent.MOUSE_MOVE, _OO1O0Ol00, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_DOWN, _O0lOOllOl, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, _O000Oll0O, false, 0, true);
_O00OlOlOO = new hand_mc();
setScrollRight(false);
setScrollLeft(false);
_O1l00llOl.mouseLayer.addChild(_O00OlOlOO);
_O00OlOlOO.mouseEnabled = false;
_O00OlOlOO.mouseChildren = false;
bLeftScrollActive = false;
bRightScrollActive = false;
bNormalActive = false;
Mouse.hide();
}
public function get enabled():Boolean{
return (_OOO01O1l1);
}
public function hide():void{
_O00OlOlOO.visible = false;
if (_O10llllOO){
_O10llllOO.visible = false;
};
}
public function removeHandCursor():void{
_O00OlOlOO.gotoAndStop("hand");
if (_O10llllOO){
_O10llllOO.visible = true;
_O00OlOlOO.visible = false;
} else {
_O00OlOlOO.visible = true;
};
}
public function setScrollRight(_arg1:Boolean):void{
if (_O00OlOlOO){
_O00OlOlOO.right_scroll_indicator.visible = _arg1;
};
}
private function _O000Oll0O(_arg1:MouseEvent):void{
if (((_O1l00llOl) && (!(_O1l00llOl.isPaused())))){
Mouse.hide();
_O010O1O1O();
};
bMouseDown = false;
}
public function set enabled(_arg1:Boolean):void{
_OOO01O1l1 = _arg1;
}
private function _OO1O0Ol00(_arg1:MouseEvent):void{
_O010O1O1O();
_arg1.updateAfterEvent();
}
public function setCursor(_arg1:MovieClip=null):void{
if (_O10llllOO){
_O00OlOlOO.removeChild(_O10llllOO);
};
_O10llllOO = _arg1;
if (_arg1){
_O00OlOlOO.addChild(_arg1);
} else {
_O00OlOlOO.visible = true;
};
}
public function setHandCursor(_arg1:String):void{
if (_O00OlOlOO){
_O00OlOlOO.gotoAndStop(_arg1);
_O00OlOlOO.visible = true;
if (_O10llllOO){
_O10llllOO.visible = false;
};
};
}
private function _O0lOOllOl(_arg1:MouseEvent):void{
bMouseDown = true;
}
private function _O010O1O1O():void{
if (_O1l00llOl){
_O00OlOlOO.x = _O1l00llOl.mouseX;
_O00OlOlOO.y = _O1l00llOl.mouseY;
};
}
public function setScrollLeft(_arg1:Boolean):void{
if (_O00OlOlOO){
_O00OlOlOO.left_scroll_indicator.visible = _arg1;
};
}
public function destroy():void{
MouseControl.instance = null;
_O1l00llOl = null;
enabled = false;
stage = null;
_O00OlOlOO = null;
Mouse.show();
}
public function show():void{
if (_O10llllOO){
_O10llllOO.visible = true;
} else {
_O00OlOlOO.visible = true;
};
}
public static function setCursorCanGrab():void{
if (MouseControl.instance){
MouseControl.instance.bNormalActive = false;
MouseControl.instance.setHandCursor("can_grab");
};
}
public static function setCursorAddScrollRight():void{
if (((MouseControl.instance) && (!(MouseControl.instance.bRightScrollActive)))){
MouseControl.instance.bRightScrollActive = true;
trace("Set mouse Add scroll right");
MouseControl.instance.setScrollRight(true);
};
}
public static function setCursorExtentLeft():void{
if (MouseControl.instance){
MouseControl.instance.bNormalActive = false;
MouseControl.instance.setHandCursor("extent_left");
};
}
public static function setCursorGrabbed():void{
if (MouseControl.instance){
MouseControl.instance.bNormalActive = false;
MouseControl.instance.setHandCursor("grabbed");
};
}
public static function setCursorRemoveScrollLeft():void{
if (((MouseControl.instance) && (MouseControl.instance.bLeftScrollActive))){
MouseControl.instance.bLeftScrollActive = false;
trace("Set mouse REMOVE ScrollLeft");
MouseControl.instance.setScrollLeft(false);
};
}
public static function setCursorRemoveScrollRight():void{
if (((MouseControl.instance) && (MouseControl.instance.bRightScrollActive))){
MouseControl.instance.bRightScrollActive = false;
trace("Set mouse REMOVE ScrollRight");
MouseControl.instance.setScrollRight(false);
};
}
public static function setCursorExtentRight():void{
if (MouseControl.instance){
MouseControl.instance.bNormalActive = false;
MouseControl.instance.setHandCursor("extent_right");
};
}
public static function setCursorCanReleaseGrab():void{
if (MouseControl.instance){
MouseControl.instance.bNormalActive = false;
MouseControl.instance.setHandCursor("can_release_grab");
};
}
public static function setCursorAddScrollLeft():void{
if (((MouseControl.instance) && (!(MouseControl.instance.bLeftScrollActive)))){
MouseControl.instance.bLeftScrollActive = true;
trace("Set mouse Add scroll left");
MouseControl.instance.setScrollLeft(true);
};
}
public static function setCursorNormal():void{
if (((MouseControl.instance) && (!(MouseControl.instance.bNormalActive)))){
MouseControl.instance.bNormalActive = true;
MouseControl.instance.setHandCursor("normal_hand");
};
}
}
}//package spill.TMH.Controls
Section 98
//Selector (spill.TMH.Controls.Selector)
package spill.TMH.Controls {
import flash.events.*;
import spill.TMH.Data.Cards.*;
import flash.display.*;
import spill.TMH.Events.*;
import flash.geom.*;
import flash.utils.*;
public class Selector extends Sprite {
protected var bScrollEnabled:Boolean;
private var _O0O1O1O1l:MovieClip;
protected var objectToMove:Sprite;
private var _O1OOl0ll1:MovieClip;
private var _O001O11OO:MovieClip;
protected var bSlidingRight:Boolean;
protected var dispatchMouseOverObjEvt:DisplayObject;
protected var bSlidingLeft:Boolean;
protected var spaceBetween:int;
private var _O1O1l0O1l:Boolean;
protected var dispatchSelectedEvtObj:DisplayObject;
protected var previousFrameTime:Number;
private var _O00001lO1:MovieClip;
private var _O111OO11O:Boolean;
private var _O1O0O1O1O:MovieClip;
protected var backgroundWidth:int;
protected var objectToMoveTargetPos:Point;
private var _O1lOl1lO1:Array;
private var _OOlOl0l01:Object;
protected var slideDistance:Number;
protected var bMultiSelect:Boolean;
protected var bUseMouseScrollAtBorders:Boolean;
private var _OOl111l10:int;
private var _O01OllO1O:Array;
protected var backgroundHeight:int;
private var _OOOO0l0l0:MovieClip;
protected var bEnabled:Boolean;
public function Selector(_arg1:int, _arg2:int, _arg3:MovieClip, _arg4:MovieClip, _arg5:MovieClip, _arg6:MovieClip, _arg7:MovieClip, _arg8:int=10, _arg9:Boolean=true, _arg10:Boolean=true, _arg11:Boolean=false){
backgroundWidth = _arg1;
backgroundHeight = _arg2;
bScrollEnabled = (bUseMouseScrollAtBorders = _arg9);
if (!bScrollEnabled){
_O1O1l0O1l = false;
} else {
_O1O1l0O1l = _arg10;
};
spaceBetween = _arg8;
_OOl111l10 = 0;
bMultiSelect = _arg11;
_O01OllO1O = new Array();
bSlidingLeft = (bSlidingRight = false);
slideDistance = 0;
bEnabled = true;
objectToMove = null;
objectToMoveTargetPos = new Point(0, 0);
_O111OO11O = false;
_O00OlO001(_arg3, _arg4, _arg5, _arg6, _arg7);
_OOl0110l1();
addEventListener(MouseEvent.MOUSE_DOWN, mouseDownClick);
addEventListener(Event.ENTER_FRAME, update);
if (_O1O1l0O1l){
_O001O11OO.addEventListener(MouseEvent.CLICK, mouseClickLeftBorder);
_O1OOl0ll1.addEventListener(MouseEvent.CLICK, mouseClickRightBorder);
};
}
public function getMouseOverObject():Object{
return (_OOlOl0l01);
}
public function mouseClickRightBorder(_arg1:MouseEvent):void{
if (bEnabled){
browseLeft();
};
}
public function undoSelection(_arg1:Object):void{
var _local2:DisplayObject;
for each (_local2 in _O01OllO1O) {
if (((_local2) && ((_local2 == _arg1)))){
_O01OllO1O.splice(_O01OllO1O.indexOf(_arg1), 1);
break;
};
};
}
public function destroy():void{
var _local1:Card;
var _local2:int;
removeEventListener(MouseEvent.CLICK, mouseDownClick);
removeEventListener(Event.ENTER_FRAME, update);
if (_O1O1l0O1l){
_O001O11OO.removeEventListener(MouseEvent.CLICK, mouseClickLeftBorder);
_O1OOl0ll1.removeEventListener(MouseEvent.CLICK, mouseClickRightBorder);
};
if (((_O1O0O1O1O) && (contains(_O1O0O1O1O)))){
removeChild(_O1O0O1O1O);
};
_O1O0O1O1O = null;
if (((_O001O11OO) && (contains(_O001O11OO)))){
removeChild(_O001O11OO);
};
_O001O11OO = null;
if (((_O1OOl0ll1) && (contains(_O1OOl0ll1)))){
removeChild(_O1OOl0ll1);
};
_O1OOl0ll1 = null;
if (contains(_O0O1O1O1l)){
_local2 = (_O0O1O1O1l.numChildren - 1);
while (_local2 > 0) {
if ((_O0O1O1O1l.getChildAt(_local2) as Card)){
(_O0O1O1O1l.getChildAt(_local2) as Card).destroy();
_O0O1O1O1l.removeChildAt(_local2);
};
_local2--;
};
removeChild(_O0O1O1O1l);
};
_O0O1O1O1l = null;
if (contains(_OOOO0l0l0)){
removeChild(_OOOO0l0l0);
};
_OOOO0l0l0 = null;
for each (_local1 in _O1lOl1lO1) {
if (_local1){
_local1.destroy();
};
_local1 = null;
};
_O1lOl1lO1 = null;
_O01OllO1O = null;
_OOlOl0l01 = null;
dispatchSelectedEvtObj = null;
dispatchMouseOverObjEvt = null;
}
public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):void{
if ((((_O01OllO1O.length == 0)) || (_arg2))){
bEnabled = _arg1;
};
}
private function _OO11100lO(_arg1:Card):void{
var _local2:Boolean;
var _local3:DisplayObject;
if (!bMultiSelect){
if ((((_O01OllO1O.length < 1)) || (!((_O01OllO1O[0] == _arg1))))){
_O01OllO1O[0] = _arg1;
};
} else {
_local2 = false;
for each (_local3 in _O01OllO1O) {
if (((_local3) && ((_local3 == _arg1)))){
_O01OllO1O.splice(_O01OllO1O.indexOf(_arg1), 1);
_local2 = true;
break;
};
};
if (!_local2){
_O01OllO1O.push(_arg1);
};
};
}
public function setDispatchSelectedEvtObj(_arg1:DisplayObject):void{
dispatchSelectedEvtObj = _arg1;
}
public function browseLeft():void{
if (slideDistance <= 0){
bSlidingRight = false;
bSlidingLeft = true;
slideDistance = (_O1lOl1lO1[0].width + spaceBetween);
};
}
private function _OOl0110l1():void{
_O1lOl1lO1 = new Array();
}
public function setDispatchMouseOverObject(_arg1:DisplayObject):void{
dispatchMouseOverObjEvt = _arg1;
}
public function isEnabled():Boolean{
return (bEnabled);
}
public function browseRight():void{
if (slideDistance <= 0){
bSlidingLeft = false;
bSlidingRight = true;
slideDistance = (_O1lOl1lO1[0].width + spaceBetween);
};
}
protected function getObjectUnderPoint(_arg1:Point):DisplayObject{
var _local2:Card;
if (_O1O1l0O1l){
if (((_O001O11OO.hitTestPoint(_arg1.x, _arg1.y, true)) || (_O1OOl0ll1.hitTestPoint(_arg1.x, _arg1.y, true)))){
return (null);
};
};
for each (_local2 in _O1lOl1lO1) {
if (_local2.hitTestPoint(_arg1.x, _arg1.y, true)){
return (_local2);
};
};
return (null);
}
public function getSelectedObjects():Array{
return (_O01OllO1O);
}
protected function drawObjects(_arg1:Number):void{
var _local3:int;
var _local4:int;
var _local5:Object;
var _local6:Object;
var _local2:Number = Math.round((200 * _arg1));
if ((slideDistance - _local2) > 0){
slideDistance = (slideDistance - _local2);
} else {
_local2 = slideDistance;
slideDistance = 0;
};
if (_O1lOl1lO1.length > 0){
if ((_O1lOl1lO1.length * (_O1lOl1lO1[0].width + 10)) > 700){
_local3 = 0;
while (_local3 < _O1lOl1lO1.length) {
if (bSlidingLeft){
_O1lOl1lO1[_local3].x = (_O1lOl1lO1[_local3].x - _local2);
} else {
if (bSlidingRight){
_O1lOl1lO1[_local3].x = (_O1lOl1lO1[_local3].x + _local2);
};
};
_local3++;
};
_local4 = 0;
while (_local4 < _O1lOl1lO1.length) {
if (bSlidingLeft){
if (_O1lOl1lO1[_local4].x <= -10){
_O1lOl1lO1[_local4].x = ((_O0O1O1O1l.width + _O1lOl1lO1[_local4].x) + 10);
_local5 = _O1lOl1lO1.shift();
_O1lOl1lO1.push(_local5);
};
} else {
if (bSlidingRight){
if (_O1lOl1lO1[_local4].x > _O0O1O1O1l.width){
_O1lOl1lO1[_local4].x = (_O1lOl1lO1[_local4].x - (_O0O1O1O1l.width + spaceBetween));
_local6 = _O1lOl1lO1.splice(_local4, 1);
_O1lOl1lO1.unshift(_local6[0]);
};
};
};
_local4++;
};
};
};
}
public function update(_arg1:Event):void{
var _local4:Object;
var _local5:Point;
var _local2:Number = getTimer();
var _local3:Number = 0;
if (previousFrameTime > 0){
_local3 = ((_local2 - previousFrameTime) / 1000);
};
previousFrameTime = _local2;
if (bEnabled){
if (IsMouseOver()){
mouseScrollAtBorders();
_local4 = getObjectUnderPoint(localToGlobal(new Point(mouseX, mouseY)));
if (_OOlOl0l01 != _local4){
if (_OOlOl0l01){
_OOlOl0l01.setMouseOut();
_OOlOl0l01 = null;
if (((!(_local4)) && ((_O01OllO1O.length == 0)))){
MouseControl.setCursorNormal();
};
};
setObjectMouseOver(_local4);
};
} else {
if (_OOlOl0l01){
resetObjects();
_OOlOl0l01 = null;
MouseControl.setCursorNormal();
};
};
if (_O111OO11O){
_O0Ol10l10(_local3);
} else {
if (slideDistance > 0){
drawObjects(_local3);
};
};
};
if (objectToMove){
_local5 = new Point(objectToMove.x, objectToMove.y);
if (Point.distance(_local5, objectToMoveTargetPos) > 10){
_local5 = Point.interpolate(_local5, objectToMoveTargetPos, 0.1);
objectToMove.x = _local5.x;
objectToMove.y = _local5.y;
setEnabled(false, true);
} else {
objectToMove.x = objectToMoveTargetPos.x;
objectToMove.y = objectToMoveTargetPos.y;
objectToMove = null;
setEnabled(true, true);
};
};
}
public function resetObjects():void{
var _local1:Card;
for each (_local1 in _O1lOl1lO1) {
_local1.setMouseOut();
};
}
private function _O00OlO001(_arg1:MovieClip, _arg2:MovieClip, _arg3:MovieClip, _arg4:MovieClip, _arg5:MovieClip):void{
if (_arg1){
_O1O0O1O1O = new MovieClip();
_O1O0O1O1O.x = 0;
_O1O0O1O1O.y = 0;
_O1O0O1O1O.alpha = 0.8;
(_O1O0O1O1O.name + "Selector_background");
_O1O0O1O1O.graphics.beginFill(0xDD00);
_O1O0O1O1O.graphics.drawRect(0, 0, backgroundWidth, backgroundHeight);
_O1O0O1O1O.graphics.endFill();
addChild(_O1O0O1O1O);
};
_O0O1O1O1l = new MovieClip();
_O0O1O1O1l.x = -50;
_O0O1O1O1l.y = 0;
addChild(_O0O1O1O1l);
if (_arg3){
_OOOO0l0l0 = _arg3;
Utils.initButton(_OOOO0l0l0, null, "Arrow");
_OOOO0l0l0.x = (0 + (_arg3.width / 2));
_OOOO0l0l0.y = ((_OOOO0l0l0.height / 2) + ((backgroundHeight - _OOOO0l0l0.height) / 2));
addChild(_OOOO0l0l0);
};
if (_arg5){
_O00001lO1 = _arg5;
Utils.initButton(_O00001lO1, null, "Arrow");
_O00001lO1.x = (backgroundWidth - (_arg5.width / 2));
_O00001lO1.y = ((_O00001lO1.height / 2) + ((backgroundHeight - _O00001lO1.height) / 2));
addChild(_O00001lO1);
};
if (_O1O1l0O1l){
_O001O11OO = new MovieClip();
_O001O11OO.x = 30;
_O001O11OO.y = ((backgroundHeight / 2) - 20);
_O001O11OO.graphics.beginFill(0x222222);
_O001O11OO.graphics.drawRect(0, 0, 40, 40);
_O001O11OO.graphics.endFill();
addChild(_O001O11OO);
_O1OOl0ll1 = new MovieClip();
_O1OOl0ll1.x = (backgroundWidth - 70);
_O1OOl0ll1.y = ((backgroundHeight / 2) - 20);
_O1OOl0ll1.graphics.beginFill(0x222222);
_O1OOl0ll1.graphics.drawRect(0, 0, 40, 40);
_O1OOl0ll1.graphics.endFill();
addChild(_O1OOl0ll1);
};
}
public function insertObject(_arg1:DisplayObject, _arg2:int=-1):void{
var _local3:Point;
var _local4:int;
var _local5:int;
if (_arg2 < 0){
_O0O1O1O1l.addChild(_arg1);
_arg1.x = (_O0O1O1O1l.width + spaceBetween);
_arg1.y = ((_arg1.height / 2) + ((backgroundHeight - _arg1.height) / 2));
_O1lOl1lO1.push(_arg1);
} else {
_local3 = new Point(_arg1.x, _arg1.y);
_O0O1O1O1l.addChild(_arg1);
_arg1.x = (_arg1.x - _O0O1O1O1l.x);
_arg1.y = (_arg1.y - y);
_local4 = 0;
_local5 = 0;
if ((((_arg2 == 0)) && ((_O1lOl1lO1.length > 0)))){
_local4 = ((_O1lOl1lO1[_arg2].x - _O1lOl1lO1[_arg2].width) - spaceBetween);
_local5 = _O1lOl1lO1[_arg2].y;
} else {
if (_arg2 > 0){
_local4 = ((_O1lOl1lO1[(_arg2 - 1)].x + _O1lOl1lO1[(_arg2 - 1)].width) + spaceBetween);
_local5 = _O1lOl1lO1[(_arg2 - 1)].y;
} else {
if (_O1lOl1lO1.length > _arg2){
_local4 = ((_O1lOl1lO1[_arg2].x - _arg1.width) - spaceBetween);
_local5 = _O1lOl1lO1[_arg2].y;
} else {
trace("WARNING.. A card is possibly re-entering the list incorrectly.");
_local4 = (350 - (_arg1.width / 2));
_local5 = 60;
trace((((((((((((" curX: " + _arg1.x) + " curY: ") + _arg1.y) + " x: ") + _local4) + " y: ") + _local5) + " updatePos: ") + _arg2) + " length: ") + _O1lOl1lO1.length));
};
};
};
objectToMove = (_arg1 as Sprite);
objectToMoveTargetPos.x = _local4;
objectToMoveTargetPos.y = _local5;
_O1lOl1lO1.splice(_arg2, 0, _arg1);
};
if (!bScrollEnabled){
_O0O1O1O1l.x = (((width / 2) - (_O0O1O1O1l.width / 2)) - (_O0O1O1O1l.getChildAt(0).x / 2));
};
}
public function mouseClickLeftBorder(_arg1:MouseEvent):void{
if (bEnabled){
browseRight();
};
}
protected function setObjectMouseOver(_arg1:Object):void{
var _local2:Card = (_arg1 as Card);
if (_local2){
_OOlOl0l01 = _arg1;
_OOlOl0l01.setMouseOver();
};
if (dispatchMouseOverObjEvt){
dispatchMouseOverObjEvt.dispatchEvent(new MouseOverObjectEvent(MouseOverObjectEvent.OVER_OBJECT, _arg1));
};
}
public function mouseDownClick(_arg1:MouseEvent):void{
var _local2:Card;
if (bEnabled){
_local2 = (getObjectUnderPoint(localToGlobal(new Point(mouseX, mouseY))) as Card);
if (_local2){
_OO11100lO(_local2);
if (dispatchSelectedEvtObj){
dispatchSelectedEvtObj.dispatchEvent(new SelectEvent(SelectEvent.SELECTED, _local2));
};
};
};
}
public function mouseScrollAtBorders():void{
if (((((bUseMouseScrollAtBorders) && (!(_O111OO11O)))) && ((_O1lOl1lO1.length > 0)))){
if ((((mouseX <= _OOOO0l0l0.width)) && ((mouseX >= 0)))){
MouseControl.setCursorAddScrollLeft();
browseRight();
} else {
if ((((mouseX >= (backgroundWidth - _O00001lO1.width))) && ((mouseX <= backgroundWidth)))){
MouseControl.setCursorAddScrollRight();
browseLeft();
} else {
MouseControl.setCursorRemoveScrollLeft();
MouseControl.setCursorRemoveScrollRight();
};
};
};
}
public function removeObject(_arg1:DisplayObject):int{
_O0O1O1O1l.removeChild(_arg1);
var _local2:int = _O1lOl1lO1.indexOf(_arg1);
_O1lOl1lO1.splice(_local2, 1);
if (!bScrollEnabled){
_O0O1O1O1l.x = (((width / 2) - (_O0O1O1O1l.width / 2)) - (_O0O1O1O1l.getChildAt(0).x / 2));
};
return (_local2);
}
private function _O0Ol10l10(_arg1:Number):void{
var _local2:Boolean;
var _local3:Boolean;
var _local4:int;
var _local5:int;
var _local6:Array;
var _local7:Array;
var _local8:int;
var _local9:int;
var _local10:Number;
var _local11:Number;
var _local12:int;
var _local13:int;
var _local14:Number;
var _local15:Number;
var _local16:int;
var _local17:int;
var _local18:int;
var _local19:int;
_O111OO11O = false;
if (_O1lOl1lO1.length > 0){
_local2 = false;
_local3 = false;
_local4 = (_O1lOl1lO1.length - 1);
_local5 = 0;
_local6 = new Array();
_local7 = new Array();
_local8 = 0;
_local9 = 0;
_local10 = (_O1lOl1lO1[0].width + 10);
_local11 = ((_O1lOl1lO1.length - 1) * _local10);
_local12 = 0;
while (_local12 < _O1lOl1lO1.length) {
_local14 = Math.abs((_O1lOl1lO1[_local4].x - _O1lOl1lO1[_local12].x));
if ((((_local14 > _local10)) && ((_local14 < _local11)))){
_O111OO11O = true;
_local5 = _local12;
break;
};
_local4 = _local12;
_local12++;
};
_local13 = 0;
while (_local13 < _O1lOl1lO1.length) {
if (_O1lOl1lO1[_local13].x > _O1lOl1lO1[_local4].x){
_local7.push(_local13);
} else {
_local6.push(_local13);
};
if (_O1lOl1lO1[_local8].x < _O1lOl1lO1[_local13].x){
_local8 = _local13;
};
if (_O1lOl1lO1[_local9].x > _O1lOl1lO1[_local13].x){
_local9 = _local13;
};
_local13++;
};
if ((((_O1lOl1lO1[_local9].x > 100)) && ((_local11 >= (700 - _local10))))){
_O111OO11O = true;
_local2 = true;
} else {
if ((((_O1lOl1lO1[_local8].x < 700)) && ((_O1lOl1lO1[_local9].x < 90)))){
_O111OO11O = true;
_local3 = true;
} else {
if ((((_O1lOl1lO1[_local9].x > 100)) && ((_O1lOl1lO1[_local8].x > 700)))){
_O111OO11O = true;
_local2 = true;
};
};
};
if (_O111OO11O){
_local15 = Math.round((200 * _arg1));
if (_local2){
if (Math.abs((_O1lOl1lO1[_local9].x - _local15)) < _local10){
_local15 = Math.abs((_local10 - Math.abs(_O1lOl1lO1[_local9].x)));
};
_local16 = 0;
while (_local16 < _O1lOl1lO1.length) {
_O1lOl1lO1[_local16].x = (_O1lOl1lO1[_local16].x - _local15);
_local16++;
};
} else {
if (_local3){
if (Math.abs((_O1lOl1lO1[_local9].x - _local15)) < _local10){
_local15 = Math.abs((_local10 - Math.abs(_O1lOl1lO1[_local9].x)));
};
_local17 = 0;
while (_local17 < _O1lOl1lO1.length) {
_O1lOl1lO1[_local17].x = (_O1lOl1lO1[_local17].x + _local15);
_local17++;
};
} else {
if ((((_O1lOl1lO1[_local8].x > 700)) || ((((_local7.length <= _local6.length)) && ((_O1lOl1lO1[_local9].x > 100)))))){
if (Math.abs((_O1lOl1lO1[_local4].x - (_O1lOl1lO1[_local5].x - _local15))) < _local10){
_local15 = Math.abs((_local10 - Math.abs((_O1lOl1lO1[_local4].x - _O1lOl1lO1[_local5].x))));
};
_local18 = 0;
while (_local18 < _local7.length) {
_O1lOl1lO1[_local7[_local18]].x = (_O1lOl1lO1[_local7[_local18]].x - _local15);
_local18++;
};
} else {
if (Math.abs((_O1lOl1lO1[_local4].x - (_O1lOl1lO1[_local5].x - _local15))) < _local10){
_local15 = Math.abs((_local10 - Math.abs((_O1lOl1lO1[_local4].x - _O1lOl1lO1[_local5].x))));
};
_local19 = 0;
while (_local19 < _local6.length) {
_O1lOl1lO1[_local6[_local19]].x = (_O1lOl1lO1[_local6[_local19]].x + _local15);
_local19++;
};
};
};
};
};
};
}
public function IsMouseOver():Boolean{
if ((((((((mouseX >= x)) && ((mouseX <= (x + backgroundWidth))))) && ((mouseY >= y)))) && ((mouseY <= (y + backgroundHeight))))){
return (true);
};
return (false);
}
public function reOrderSliderObjects():void{
if (_O1lOl1lO1.length > 0){
_O111OO11O = true;
};
}
}
}//package spill.TMH.Controls
Section 99
//TextFieldMultiFormat (spill.TMH.Controls.TextFieldMultiFormat)
package spill.TMH.Controls {
import flash.display.*;
import flash.text.*;
public class TextFieldMultiFormat extends Sprite {
private var _O1011Ol1l:int;
private var _O1O1OOO0l:int;
private var _O1OOll00l:Boolean;
private var _O01110lll:int;
private var _OOO00Ol1l:int;
private var _OO1l1O0ll:Array;
public function TextFieldMultiFormat(_arg1:int, _arg2:int, _arg3:Boolean=true){
_OO1l1O0ll = new Array();
_O1OOll00l = _arg3;
_OOO00Ol1l = _arg1;
_O1011Ol1l = _arg2;
_O1O1OOO0l = 0;
_O01110lll = 1;
}
public function Add(_arg1:TextField):int{
_arg1.width = _OOO00Ol1l;
_arg1.multiline = true;
_arg1.wordWrap = true;
_arg1.height = (_arg1.textHeight + 4);
_OO1l1O0ll.push(_arg1);
return (_OO1l1O0ll.indexOf(_arg1));
}
public function Hide():void{
var _local1:int;
while (_local1 < _OO1l1O0ll.length) {
if (contains(_OO1l1O0ll[_local1])){
removeChild(_OO1l1O0ll[_local1]);
};
_local1++;
};
}
public function Remove(_arg1:TextField):Array{
return (_OO1l1O0ll.splice(_OO1l1O0ll.indexOf(_arg1), 1));
}
public function Destroy():void{
Clear();
_OO1l1O0ll = null;
}
public function ShowNext():void{
if ((_O1O1OOO0l + _O01110lll) < (_OO1l1O0ll.length - 1)){
_O1O1OOO0l = (_O1O1OOO0l + _O01110lll);
Show();
};
}
public function ShowPrevious():void{
if ((_O1O1OOO0l - _O01110lll) >= 0){
_O1O1OOO0l = (_O1O1OOO0l - _O01110lll);
Show();
};
}
public function Clear():void{
var _local1:TextField;
_O1O1OOO0l = 0;
Hide();
while (_OO1l1O0ll.length > 0) {
_local1 = _OO1l1O0ll.pop();
_local1 = null;
};
}
public function Show():void{
Hide();
var _local1:int;
var _local2:int = _O1O1OOO0l;
while (_local2 < _OO1l1O0ll.length) {
if (((!(contains(_OO1l1O0ll[_local2]))) && (((_local1 + _OO1l1O0ll[_local2].height) <= _O1011Ol1l)))){
addChild(_OO1l1O0ll[_local2]);
_OO1l1O0ll[_local2].y = _local1;
};
_local1 = (_local1 + (_OO1l1O0ll[_local2] as TextField).height);
_local2++;
};
}
public function setStepSize(_arg1:int):void{
_O01110lll = _arg1;
}
}
}//package spill.TMH.Controls
Section 100
//TimeLine4 (spill.TMH.Controls.TimeLine4)
package spill.TMH.Controls {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import spill.TMH.*;
import fl.motion.*;
import spill.TMH.sound.*;
public class TimeLine4 extends MovieClip {
private var _OOO001l0l:Number;
private var _O0l1O110O:Boolean;
private var _O0010O011:Number;
private var _O0Ol10OO0:Boolean;
private var _OOO001l1l:Boolean;
private var _O01O11l0l:Sprite;
private var _O010llO0l:MovieClip;
private var _OOlO01000:Array;
private var _OO1O0111O:GameSession;
public var completeTimeLineEnd:Number;
protected var bUseMouseScrollAtBorders:Boolean;
public var completeTimeLineStart:Number;
private var _O10011O1l:Boolean;
private var _O0lOO10ll:Boolean;
private var _OOl0OOllO:Point;
private var _O01110OO0:Boolean;
public var maxZoomLevel:Number;
private var _OOOl1100O:TimelineLarge;
public var zoomLevel:Number;
public function TimeLine4(_arg1:GameSession){
var _local2:String;
super();
_OO1O0111O = _arg1;
completeTimeLineStart = -14000000000;
completeTimeLineEnd = 2000;
zoomLevel = (_O0010O011 = 0);
maxZoomLevel = 2.5;
_OOO001l0l = -3774;
_O0Ol10OO0 = false;
_O0l1O110O = false;
_OOOl1100O = new TimelineLarge();
_OOOl1100O.x = _OOO001l0l;
_OOOl1100O.y = (_OOOl1100O.y - (_OOOl1100O.height / 2));
addChild(_OOOl1100O);
_O01O11l0l = new Sprite();
_O01O11l0l.x = 0;
_O01O11l0l.y = 0;
addChild(_O01O11l0l);
_O10011O1l = false;
bUseMouseScrollAtBorders = true;
_O0lOO10ll = false;
_OOlO01000 = new Array();
_OOlO01000.push(new YearsGroup(2000, 2100, 10, 6100, 6768));
_OOlO01000.push(new YearsGroup(1900, 2000, 10, 5420, 6099.9));
_OOlO01000.push(new YearsGroup(1000, 1900, 100, 4806.8, 5419.9));
_OOlO01000.push(new YearsGroup(0, 1000, 100, 4127.4, 4806.7));
_OOlO01000.push(new YearsGroup(-1000, 0, 100, 3445.1, 4127.3));
_OOlO01000.push(new YearsGroup(-10000, -1000, 1000, 2829.6, 3445.09));
_OOlO01000.push(new YearsGroup(-100000, -10000, 10000, 2216.1, 2829.59));
_OOlO01000.push(new YearsGroup(-1000000, -100000, 100000, 1602.6, 2216.09));
_OOlO01000.push(new YearsGroup(-100000000, -1000000, 10000000, 918.5, 1602.5));
_OOlO01000.push(new YearsGroup(-14000000000, -100000000, 1000000000, 0, 918.49));
_O11O0001O();
_local2 = GradientType.LINEAR;
var _local3:Array = [0xFFFFFF, 0xFFFFFF];
var _local4:Array = [0.8, 0];
var _local5:Array = [0, 0xFF];
var _local6:Matrix = new Matrix();
_local6.createGradientBox(70, 100, 0, 0, 0);
var _local7:String = SpreadMethod.PAD;
var _local8:Sprite = new Sprite();
_local8.x = 0;
_local8.y = -50;
_local8.graphics.beginGradientFill(_local2, _local3, _local4, _local5, _local6, _local7);
_local8.graphics.drawRect(0, 0, 70, 100);
_local8.graphics.endFill();
addChild(_local8);
var _local9:Sprite = new Sprite();
_local9.x = 700;
_local9.y = 50;
_local9.graphics.beginGradientFill(_local2, _local3, _local4, _local5, _local6, _local7);
_local9.graphics.drawRect(0, 0, 70, 100);
_local9.graphics.endFill();
_local9.rotation = 180;
addChild(_local9);
_O010llO0l = new MovieClip();
_O010llO0l.x = 0;
_O010llO0l.y = -50;
_O010llO0l.alpha = 0;
_O010llO0l.graphics.beginFill(0xFFFF);
_O010llO0l.graphics.drawRect(0, 0, 700, 100);
_O010llO0l.graphics.endFill();
addChild(_O010llO0l);
addEventListener(Event.ADDED_TO_STAGE, _OOll10lO0);
_OOO001l1l = true;
}
public function destroy():void{
stage.removeEventListener(MouseEvent.MOUSE_DOWN, _O1l0O10O0);
stage.removeEventListener(MouseEvent.MOUSE_UP, _OOOOlll0O);
if (((_OOOl1100O) && (contains(_OOOl1100O)))){
removeChild(_OOOl1100O);
};
_OOOl1100O = null;
if (((_O01O11l0l) && (contains(_O01O11l0l)))){
removeChild(_O01O11l0l);
};
_O01O11l0l = null;
if (((_O010llO0l) && (contains(_O010llO0l)))){
removeChild(_O010llO0l);
};
_O010llO0l = null;
}
private function _O01l1OOO1():Boolean{
if ((((((mouseY > -50)) && ((mouseY < 50)))) && (_OOO001l1l))){
return (true);
};
return (false);
}
public function getUsedViewArea():Point{
return (new Point(0, 1));
}
public function miniTimeLineChangedTime(_arg1:Number, _arg2:Number):void{
_OOO001l0l = (-(_arg1) * (_OOOl1100O.width * 0.01));
var _local3:Number = (_arg1 * (6768 / 100));
var _local4:Number = (_arg2 * (6768 / 100));
var _local5:Number = (_local4 - _local3);
var _local6:Number = (_local5 - 700);
var _local7:Number = (_local6 / (_local5 / 100));
zoomLevel = (_local7 / 10);
if (_OOO001l0l < ((-6768 * (1 - (zoomLevel * 0.1))) + 700)){
_OOO001l0l = ((-6768 * (1 - (zoomLevel * 0.1))) + 700);
};
_O01110OO0 = true;
_O0lOO10ll = true;
}
public function m_getZoomedTimeLineWidth():Number{
return (_OOOl1100O.width);
}
public function m_getFirstYearOnTimeLine():Number{
return (_OOO001l0l);
}
public function browseRight(_arg1:int=1):void{
if ((_OOO001l0l + _arg1) < 0){
_OOO001l0l = (_OOO001l0l + _arg1);
_O01110OO0 = true;
SoundManager.playSound("timeline", 0, 2, 0, 0.2);
};
}
private function _O1111l0lO(_arg1:MouseEvent):void{
var _local2:Number;
if (_O10011O1l){
_local2 = (_OOl0OOllO.x - mouseX);
SoundManager.playSound("timeline", 0, 2, 0, 0.2);
if (_local2 < 0){
browseRight(-(_local2));
} else {
browseLeft(_local2);
};
_OOl0OOllO = new Point(mouseX, mouseY);
};
}
public function browseLeft(_arg1:int=1):void{
if ((_OOO001l0l - _arg1) > (-(_OOOl1100O.width) + 700)){
_OOO001l0l = (_OOO001l0l - _arg1);
_O01110OO0 = true;
SoundManager.playSound("timeline", 0, 2, 0, 0.2);
};
}
private function _O1l0O10O0(_arg1:Event):void{
if (_O01l1OOO1()){
_O10011O1l = true;
_OOl0OOllO = new Point(mouseX, mouseY);
stage.addEventListener(MouseEvent.MOUSE_MOVE, _O1111l0lO);
MouseControl.setCursorGrabbed();
};
}
public function IsTimeLineDragging():Boolean{
return (_O10011O1l);
}
public function setVisualTimeSpanFeedback(_arg1:Number):void{
}
private function _OOll10lO0(_arg1:Event=null):void{
removeEventListener(Event.ADDED_TO_STAGE, _OOll10lO0);
stage.addEventListener(MouseEvent.MOUSE_DOWN, _O1l0O10O0);
stage.addEventListener(MouseEvent.MOUSE_UP, _OOOOlll0O);
}
public function update(_arg1:Number):void{
if (_O01110OO0){
_O11O0001O();
if (!_O0lOO10ll){
_OO1O0111O.timeLineUpdated();
};
_O0lOO10ll = false;
};
mouseScrollAtBorders();
if (((((!(_O0Ol10OO0)) && (_O01l1OOO1()))) && (!(_O10011O1l)))){
_O0Ol10OO0 = true;
setHighLightTimeLine(true);
if (_OO1O0111O.getCardSelected()){
MouseControl.setCursorCanReleaseGrab();
} else {
MouseControl.setCursorCanGrab();
};
} else {
if (((((_O0Ol10OO0) && (!(_O01l1OOO1())))) && (!(_O10011O1l)))){
_O0Ol10OO0 = false;
if (_OO1O0111O.getCardSelected()){
MouseControl.setCursorGrabbed();
} else {
setHighLightTimeLine(false);
MouseControl.setCursorNormal();
};
} else {
if (((!(_O0l1O110O)) && (_OO1O0111O.getCardSelected()))){
setHighLightTimeLine(true);
} else {
if (((((_O0l1O110O) && (!(_OO1O0111O.getCardSelected())))) && (!(_O0Ol10OO0)))){
setHighLightTimeLine(false);
};
};
};
};
}
public function setHighLightTimeLine(_arg1:Boolean):void{
var _local2:Color = new Color();
_O0l1O110O = _arg1;
if (_O0l1O110O){
_local2.tintMultiplier = -0.2;
_OOOl1100O.transform.colorTransform = _local2;
} else {
_local2.tintMultiplier = 0;
_OOOl1100O.transform.colorTransform = _local2;
};
}
public function UpdateZoom(_arg1:Number):void{
_O0010O011 = zoomLevel;
zoomLevel = (zoomLevel + _arg1);
_O01110OO0 = true;
}
public function mouseScrollAtBorders():void{
if (bUseMouseScrollAtBorders){
if ((((mouseY > _O010llO0l.y)) && ((mouseY < (_O010llO0l.y + _O010llO0l.height))))){
if (mouseX <= 70){
browseRight(((70 - mouseX) * 0.5));
MouseControl.setCursorAddScrollLeft();
} else {
if (mouseX >= (700 - 70)){
browseLeft(((70 - (700 - mouseX)) * 0.5));
MouseControl.setCursorAddScrollRight();
} else {
MouseControl.setCursorRemoveScrollLeft();
MouseControl.setCursorRemoveScrollRight();
};
};
};
};
}
public function m_getMaxmimumZoom():Number{
return ((1 - (maxZoomLevel * 0.1)));
}
private function _OOOOlll0O(_arg1:Event):void{
if (_O10011O1l){
_O10011O1l = false;
stage.removeEventListener(MouseEvent.MOUSE_MOVE, _O1111l0lO);
if (_O0Ol10OO0){
MouseControl.setCursorCanGrab();
} else {
MouseControl.setCursorNormal();
};
};
}
public function debug():void{
}
private function _O11O0001O():void{
_OOOl1100O.x = _OOO001l0l;
_OOOl1100O.scaleX = (1 - (zoomLevel * 0.1));
_OOOl1100O.scaleY = (1 - (zoomLevel * 0.1));
_O01110OO0 = false;
}
public function getYearUnderScreenPosition(_arg1:int):Number{
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local2:Number = 0;
var _local3:int;
while (_local3 < _OOlO01000.length) {
if ((((_OOOl1100O.mouseX >= _OOlO01000[_local3].origin)) && ((_OOOl1100O.mouseX < _OOlO01000[_local3].destination)))){
_local4 = (_OOOl1100O.mouseX - _OOlO01000[_local3].origin);
_local5 = (_OOlO01000[_local3].destination - _OOlO01000[_local3].origin);
_local6 = (Math.abs((_OOlO01000[_local3].startyear - _OOlO01000[_local3].endyear)) / _local5);
_local2 = (_OOlO01000[_local3].startyear + (_local4 * _local6));
if (_OOlO01000[_local3].startyear == -14000000000){
_local2 = (_local2 - 750000000);
};
return (Math.round(_local2));
} else {
if (_OOOl1100O.mouseX >= _OOlO01000[0].destination){
return (_OOlO01000[0].endyear);
};
if (_OOOl1100O.mouseX < _OOlO01000[(_OOlO01000.length - 1)].origin){
return (-15000000000);
};
};
_local3++;
};
return (_local2);
}
public function setEnabled(_arg1:Boolean):void{
_OOO001l1l = _arg1;
}
}
}//package spill.TMH.Controls
class YearsGroup {
public var interval:Number;
public var origin:Number;
public var endyear:Number;
public var destination:Number;
public var startyear:Number;
private function YearsGroup(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number){
startyear = _arg1;
endyear = _arg2;
interval = _arg3;
origin = _arg4;
destination = _arg5;
}
}
Section 101
//Tooltip (spill.TMH.Controls.Tooltip)
package spill.TMH.Controls {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.geom.*;
import spill.localisation.*;
import flash.filters.*;
public class Tooltip extends Sprite {
protected var bMoveMouseMove:Boolean;
public var _width:Number;// = 200
protected var bShown:Boolean;
public var padding:Number;// = 8
protected var mc:MovieClip;
protected var fadeSpeedOut:Number;// = 0.2
protected var fadeSpeedIn:Number;// = 0.2
protected var fadeDir:Number;// = 1
protected var fading:Boolean;// = false
public function Tooltip(_arg1:Boolean=true){
mouseEnabled = false;
mouseChildren = false;
alpha = 0;
bShown = false;
bMoveMouseMove = _arg1;
init();
addEventListener(Event.ADDED_TO_STAGE, _O1l0ll1O1, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, _OO0OlOO0l, false, 0, true);
}
public function hide():void{
fadeDir = -1;
if (!fading){
addEventListener(Event.ENTER_FRAME, fade);
};
fading = true;
}
protected function init():void{
mc = null;
mc.txt.width = _width;
mc.txt.autoSize = TextFieldAutoSize.LEFT;
mc.txt.multiline = true;
mc.txt.wordWrap = true;
mc.txt.embedFonts = SpilGame.currentLanguage.embedFonts;
mc.filters = [new DropShadowFilter(4, 45, 0, 0.6)];
addChild(mc);
}
protected function move(_arg1:MouseEvent=null):void{
x = (parent.mouseX - 100);
var _local2:Point = this.localToGlobal(new Point((_width + (padding * 2)), 0));
if (_local2.x > 640){
x = (640 - (_width + (padding * 2)));
} else {
if (x < 0){
x = 0;
};
};
if (_arg1){
_arg1.updateAfterEvent();
};
}
public function IsShown():Boolean{
return (bShown);
}
private function _OO0OlOO0l(_arg1:Event):void{
if (bMoveMouseMove){
stage.removeEventListener(MouseEvent.MOUSE_MOVE, move);
};
}
private function _O1l0ll1O1(_arg1:Event):void{
if (bMoveMouseMove){
stage.addEventListener(MouseEvent.MOUSE_MOVE, move, false, 0, true);
};
}
public function setText(_arg1:String):void{
var _local2:TextFormat;
mc.txt.embedFonts = SpilGame.currentLanguage.embedFonts;
mc.txt.text = _arg1;
mc.txt.x = (mc.txt.y = padding);
if (SpilGame.currentLanguage.forceFont){
_local2 = new TextFormat();
_local2.font = SpilGame.currentLanguage.forceFont;
mc.txt.setTextFormat(_local2);
};
}
protected function fade(_arg1:Event):void{
if (fadeDir < 0){
alpha = (alpha + (fadeDir * fadeSpeedOut));
} else {
alpha = (alpha + (fadeDir * fadeSpeedIn));
};
var _local2:Boolean;
if (fadeDir == 1){
bShown = true;
if (alpha >= 1){
_local2 = true;
alpha = 1;
};
} else {
if (alpha <= 0){
bShown = false;
_local2 = true;
alpha = 0;
};
};
if (_local2){
removeEventListener(Event.ENTER_FRAME, fade);
fading = false;
};
}
public function show(_arg1:String):void{
setText(_arg1);
fadeDir = 1;
if (!fading){
addEventListener(Event.ENTER_FRAME, fade);
};
fading = true;
}
}
}//package spill.TMH.Controls
Section 102
//ToolTipYear (spill.TMH.Controls.ToolTipYear)
package spill.TMH.Controls {
import flash.events.*;
import flash.text.*;
import TMH.*;
public class ToolTipYear extends Tooltip {
protected var currentYear:Number;
protected var YearIndicatorTxt:TextField;
public function ToolTipYear(_arg1:Boolean=false){
super(_arg1);
currentYear = 0;
fadeSpeedIn = 0.2;
fadeSpeedOut = 0.03;
}
override protected function init():void{
mc = new TooltipYear_mc();
mc.x = 0;
mc.y = 0;
addChild(mc);
YearIndicatorTxt = new TextField();
YearIndicatorTxt.defaultTextFormat = new TextFormat("Arial", 18, 0);
YearIndicatorTxt.text = ("" + currentYear);
YearIndicatorTxt.x = 10;
YearIndicatorTxt.y = -40;
YearIndicatorTxt.width = 130;
YearIndicatorTxt.height = 38;
YearIndicatorTxt.autoSize = TextFieldAutoSize.CENTER;
mc.addChild(YearIndicatorTxt);
}
public function instantHide(_arg1:Event):void{
bShown = false;
fading = false;
fadeDir = -1;
alpha = 0;
YearIndicatorTxt.text = "";
if (stage.hasEventListener(MouseEvent.MOUSE_MOVE)){
stage.removeEventListener(MouseEvent.MOUSE_MOVE, move);
};
}
override protected function fade(_arg1:Event):void{
super.fade(_arg1);
if (alpha < 0.2){
YearIndicatorTxt.text = "";
};
if (fadeDir < 0){
YearIndicatorTxt.y = (YearIndicatorTxt.y - 1);
YearIndicatorTxt.scaleY = (YearIndicatorTxt.scaleY + 0.05);
};
}
private function _OO10O0O1O(_arg1:Number):String{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local2:String = Utils.m_getYearLabel(Math.abs(_arg1));
if (Math.abs(_arg1) >= 1000000000){
_local3 = Math.floor((_arg1 / 1000000000));
_local4 = (_arg1 - (_local3 * 1000000000));
_local5 = Math.round((_local4 / 1000000));
_local6 = ((_local3 * 1000000000) + (_local5 * 1000000));
_local6 = (_local6 / 1000000000);
return (((_local6 + " ") + _local2));
};
if (Math.abs(_arg1) >= 1000000){
_local7 = Math.floor((_arg1 / 1000000));
_local8 = (_arg1 - (_local7 * 1000000));
_local9 = Math.round((_local8 / 100000));
_local10 = ((_local7 * 1000000) + (_local9 * 100000));
_local10 = (_local10 / 1000000);
return (((_local10 + " ") + _local2));
};
if (Math.abs(_arg1) >= 100000){
_local11 = Math.floor((_arg1 / 100000));
_local12 = (_arg1 - (_local11 * 100000));
_local13 = Math.round((_local12 / 1000));
_local14 = ((_local11 * 100000) + (_local13 * 1000));
return ((_local14 + " "));
};
if (Math.abs(_arg1) >= 10000){
_local15 = Math.floor((_arg1 / 10000));
_local16 = (_arg1 - (_local15 * 10000));
_local17 = Math.round((_local16 / 100));
_local18 = ((_local15 * 10000) + (_local17 * 100));
return ((_local18 + " "));
};
return ((_arg1 + " "));
}
public function updateYearTxt(_arg1:Number):void{
var _local2:String;
if (!fading){
currentYear = _arg1;
_local2 = ("" + currentYear);
if (currentYear < 0){
_local2 = _OO10O0O1O(currentYear);
};
YearIndicatorTxt.text = ("" + _local2);
};
}
override public function show(_arg1:String):void{
YearIndicatorTxt.scaleY = 1;
YearIndicatorTxt.y = -40;
fadeDir = 1;
if (!fading){
addEventListener(Event.ENTER_FRAME, fade);
};
fading = true;
}
}
}//package spill.TMH.Controls
Section 103
//Actor (spill.TMH.Core.Actor)
package spill.TMH.Core {
import flash.display.*;
import flash.geom.*;
public class Actor extends Sprite {
private var _O1Oll0O0l:Number;
private var _O010O1l10:Boolean;
private var _O0l10OOO0:Number;
private var _OOl0110Ol:Sprite;
private var _OO000lO0O:Boolean;
private var _OO011l10l:Point;
public function Actor(){
_OOl0110Ol = null;
_OO011l10l = new Point(0, 0);
_O0l10OOO0 = 0;
_O1Oll0O0l = 0;
_OO000lO0O = false;
_O010O1l10 = false;
}
public function move(_arg1:Number):void{
}
public function update(_arg1:Number):void{
move(_arg1);
}
public function init():void{
_OO000lO0O = true;
}
public function IsActive():Boolean{
return (_OO000lO0O);
}
public function Destroy():void{
if (((((parent) && (_OOl0110Ol))) && (parent.contains(_OOl0110Ol)))){
parent.removeChild(_OOl0110Ol);
};
_OOl0110Ol = null;
}
}
}//package spill.TMH.Core
Section 104
//Base64 (spill.TMH.Core.Base64)
package spill.TMH.Core {
import flash.utils.*;
public class Base64 {
public static const version:String = "1.1.0";
private static const _O10110OO0:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._";
public function Base64(){
throw (new Error("Base64 class is static container only"));
}
public static function decode(_arg1:String):String{
var _local2:ByteArray = decodeToByteArray(_arg1);
return (_local2.readUTFBytes(_local2.length));
}
public static function encode(_arg1:String):String{
var _local2:ByteArray = new ByteArray();
_local2.writeUTFBytes(_arg1);
return (encodeByteArray(_local2));
}
public static function decodeToByteArray(_arg1:String):ByteArray{
var _local6:uint;
var _local7:uint;
var _local2:ByteArray = new ByteArray();
var _local3:Array = new Array(4);
var _local4:Array = new Array(3);
var _local5:uint;
while (_local5 < _arg1.length) {
_local6 = 0;
while ((((_local6 < 4)) && (((_local5 + _local6) < _arg1.length)))) {
_local3[_local6] = _O10110OO0.indexOf(_arg1.charAt((_local5 + _local6)));
_local6++;
};
_local4[0] = ((_local3[0] << 2) + ((_local3[1] & 48) >> 4));
_local4[1] = (((_local3[1] & 15) << 4) + ((_local3[2] & 60) >> 2));
_local4[2] = (((_local3[2] & 3) << 6) + _local3[3]);
_local7 = 0;
while (_local7 < _local4.length) {
if (_local3[(_local7 + 1)] == 64){
break;
};
_local2.writeByte(_local4[_local7]);
_local7++;
};
_local5 = (_local5 + 4);
};
_local2.position = 0;
return (_local2);
}
public static function encodeByteArray(_arg1:ByteArray):String{
var _local3:Array;
var _local5:uint;
var _local6:uint;
var _local7:uint;
var _local2 = "";
var _local4:Array = new Array(4);
_arg1.position = 0;
while (_arg1.bytesAvailable > 0) {
_local3 = new Array();
_local5 = 0;
while ((((_local5 < 3)) && ((_arg1.bytesAvailable > 0)))) {
_local3[_local5] = _arg1.readUnsignedByte();
_local5++;
};
_local4[0] = ((_local3[0] & 252) >> 2);
_local4[1] = (((_local3[0] & 3) << 4) | (_local3[1] >> 4));
_local4[2] = (((_local3[1] & 15) << 2) | (_local3[2] >> 6));
_local4[3] = (_local3[2] & 63);
_local6 = _local3.length;
while (_local6 < 3) {
_local4[(_local6 + 1)] = 64;
_local6++;
};
_local7 = 0;
while (_local7 < _local4.length) {
_local2 = (_local2 + _O10110OO0.charAt(_local4[_local7]));
_local7++;
};
};
return (_local2);
}
}
}//package spill.TMH.Core
Section 105
//BitArray (spill.TMH.Core.BitArray)
package spill.TMH.Core {
import flash.utils.*;
public class BitArray extends ByteArray {
private var _O111l0O0O:uint;// = 0
private var _O01Ol000l:uint;// = 0
private var _O01OOOlOl:uint;// = 0
private var _O10llOO10:uint;// = 0
public function readBits(_arg1:uint):uint{
var _local2:uint;
while (_arg1--) {
_local2 = (_local2 << 1);
if (_OO0010101()){
_local2++;
};
};
return (_local2);
}
public function writeBits(_arg1:uint, _arg2:uint):void{
if (_arg1 > (Math.pow(2, _arg2) - 1)){
trace((((_arg1 + " too long to fit in ") + _arg2) + "bits"));
};
var _local3:String = _arg1.toString(2);
var _local4:int = _local3.length;
while (_local4 < _arg2) {
_O00lOl1Ol(false);
_local4++;
};
_local4 = 0;
while (_local4 < _local3.length) {
_O00lOl1Ol((_local3.charCodeAt(_local4) > 48));
_local4++;
};
}
public function flushInputBuffer():void{
while (_O111l0O0O) {
_O00lOl1Ol(false);
};
}
public function flushOutputBuffer():void{
_O10llOO10 = 0;
_O01Ol000l = 0;
}
private function _O00lOl1Ol(_arg1:Boolean):void{
_O01OOOlOl = (_O01OOOlOl << 1);
if (_arg1){
_O01OOOlOl++;
};
if (++_O111l0O0O == 8){
writeByte(_O01OOOlOl);
_O01OOOlOl = 0;
_O111l0O0O = 0;
};
}
private function _OO0010101():Boolean{
if (!_O01Ol000l){
_O10llOO10 = readByte();
_O01Ol000l = 8;
};
_O01Ol000l--;
var _local1 = ((_O10llOO10 & 128) > 0);
_O10llOO10 = (_O10llOO10 << 1);
return (_local1);
}
}
}//package spill.TMH.Core
Section 106
//Card (spill.TMH.Data.Cards.Card)
package spill.TMH.Data.Cards {
import flash.display.*;
import spill.TMH.Controls.*;
public class Card extends Sprite {
public var visual:MovieClip;
public function Card(_arg1:MovieClip){
visual = _arg1;
addChild(visual);
}
public function setVisualySelected():void{
}
public function resetVisualySelected():void{
}
public function setMouseOver():void{
MouseControl.setCursorCanGrab();
}
public function destroy():void{
if (((visual) && (contains(visual)))){
removeChild(visual);
};
visual = null;
}
public function setMouseOut():void{
}
}
}//package spill.TMH.Data.Cards
Section 107
//CardsData (spill.TMH.Data.Cards.CardsData)
package spill.TMH.Data.Cards {
import flash.geom.*;
import spill.TMH.Questions.*;
public class CardsData {
private var _O1OOl1l11:trophy_2;
private var _O1lO11lO0:trophy_3;
private var _O011ll11l:trophy_5;
private var _O1O11l0OO:trophy_9;
private var _O0OlOO0O1:trophy_12;
private var _O0llOlO00:trophy_13;
private var _O0OO00l00:trophy_8;
private var _O11O1000l:trophy_10;
private var _OOl1011lO:trophy_4;
private var _O001OlO01:trophy_1;
private var _OO0l00OO0:trophy_6;
private var _OOll1O11l:trophy_7;
private var _OOOOlOlll:trophy_11;
public static var randomCategoryCards:Object = {Amount:[[13]], category101:["10", 101, new trophy_1(0, 0), 10], category102:["20", 102, new trophy_1(0, 0), 20], category103:["30", 103, new trophy_1(0, 0), 30], category104:["40", 104, new trophy_1(0, 0), 40], category105:["50", 105, new trophy_1(0, 0), 50], category106:["60", 106, new trophy_1(0, 0), 60], category107:["70", 107, new trophy_1(0, 0), 70], category108:["80", 108, new trophy_1(0, 0), 80], category109:["90", 109, new trophy_1(0, 0), 90], category110:["100", 110, new trophy_1(0, 0), 100], category111:["110", 111, new trophy_1(0, 0), 110], category112:["120", 112, new trophy_1(0, 0), 120], category113:["130", 113, new trophy_1(0, 0), 130]};
public static var categoryCards:Object = {Amount:[[13]], category1:["mobility", 1, new trophy_1(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_01", "Loc_Question_mobility_01", new Point(1885, 1885), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_02", "Loc_Question_mobility_02", new Point(1817, 1817), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_03", "Loc_Question_mobility_03", new Point(1787, 1787), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_04", "Loc_Question_mobility_04", new Point(-7000, -7000), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_05", "Loc_Question_mobility_05", new Point(1903, 1903), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_06", "Loc_Question_mobility_06", new Point(1804, 1804), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_07", "Loc_Question_mobility_07", new Point(550, 550), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_08", "Loc_Question_mobility_08", new Point(1900, 1900), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_09", "Loc_Question_mobility_09", new Point(1743, 1743), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.mobility_10", "Loc_Question_mobility_10", new Point(1937, 1937), 10)]], category2:["disasters", 2, new trophy_2(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_01", "Loc_Question_disasters_01", new Point(2001, 2001), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_02", "Loc_Question_disasters_02", new Point(1986, 1986), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_03", "Loc_Question_disasters_03", new Point(2004, 2004), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_04", "Loc_Question_disasters_04", new Point(2005, 2005), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_05", "Loc_Question_disasters_05", new Point(1912, 1912), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_06", "Loc_Question_disasters_06", new Point(1588, 1588), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_07", "Loc_Question_disasters_07", new Point(1347, 1347), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_08", "Loc_Question_disasters_08", new Point(-13700000000, -13700000000), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_09", "Loc_Question_disasters_09", new Point(-65000000, -65000000), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.disasters_10", "Loc_Question_disasters_10", new Point(-79, -79), 10)]], category3:["important_people", 3, new trophy_3(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_01", "Loc_Question_important_people_01", new Point(1961, 1961), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_02", "Loc_Question_important_people_02", new Point(1931, 1931), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_03", "Loc_Question_important_people_03", new Point(1963, 1963), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_04", "Loc_Question_important_people_04", new Point(1926, 1926), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_05", "Loc_Question_important_people_05", new Point(1933, 1933), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_06", "Loc_Question_important_people_06", new Point(1643, 1643), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_07", "Loc_Question_important_people_07", new Point(1776, 1776), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_08", "Loc_Question_important_people_08", new Point(1271, 1271), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_09", "Loc_Question_important_people_09", new Point(1520, 1520), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.important_people_10", "Loc_Question_important_people_10", new Point(1910, 1910), 10)]], category4:["architecture", 4, new trophy_4(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_01", "Loc_Question_architecture_01", new Point(1648, 1648), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_02", "Loc_Question_architecture_02", new Point(1980, 1980), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_03", "Loc_Question_architecture_03", new Point(-2566, -2566), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_04", "Loc_Question_architecture_04", new Point(80, 80), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_05", "Loc_Question_architecture_05", new Point(1911, 1911), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_06", "Loc_Question_architecture_06", new Point(-3000, -3000), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_07", "Loc_Question_architecture_07", new Point(-550, -550), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_08", "Loc_Question_architecture_08", new Point(1891, 1891), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_09", "Loc_Question_architecture_09", new Point(-431, -431), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.architecture_10", "Loc_Question_architecture_10", new Point(1998, 1998), 10)]], category5:["inventions", 5, new trophy_5(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_01", "Loc_Question_inventions_01", new Point(1895, 1895), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_02", "Loc_Question_inventions_02", new Point(1901, 1901), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_03", "Loc_Question_inventions_03", new Point(1899, 1899), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_04", "Loc_Question_inventions_04", new Point(-3500, -3500), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_05", "Loc_Question_inventions_05", new Point(1974, 1974), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_06", "Loc_Question_inventions_06", new Point(-790000, -790000), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_07", "Loc_Question_inventions_07", new Point(1972, 1972), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_08", "Loc_Question_inventions_08", new Point(1879, 1879), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_09", "Loc_Question_inventions_09", new Point(1595, 1595), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.inventions_10", "Loc_Question_inventions_10", new Point(1644, 1644), 10)]], category6:["world_and_universe_exploration", 6, new trophy_6(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_01", "Loc_Question_world_and_universe_exploration_01", new Point(1875, 1875), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_02", "Loc_Question_world_and_universe_exploration_02", new Point(1492, 1492), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_03", "Loc_Question_world_and_universe_exploration_03", new Point(1606, 1606), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_04", "Loc_Question_world_and_universe_exploration_04", new Point(1965, 1965), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_05", "Loc_Question_world_and_universe_exploration_05", new Point(1608, 1608), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_06", "Loc_Question_world_and_universe_exploration_06", new Point(-1000, -1000), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_07", "Loc_Question_world_and_universe_exploration_07", new Point(-325, -325), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_08", "Loc_Question_world_and_universe_exploration_08", new Point(1778, 1778), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_09", "Loc_Question_world_and_universe_exploration_09", new Point(-210, -210), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.world_and_universe_exploration_10", "Loc_Question_world_and_universe_exploration_10", new Point(1953, 1953), 10)]], category7:["wars", 7, new trophy_7(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_01", "Loc_Question_wars_01", new Point(1914, 1914), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_02", "Loc_Question_wars_02", new Point(1945, 1945), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_03", "Loc_Question_wars_03", new Point(1337, 1337), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_04", "Loc_Question_wars_04", new Point(1991, 1991), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_05", "Loc_Question_wars_05", new Point(1861, 1861), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_06", "Loc_Question_wars_06", new Point(1939, 1939), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_07", "Loc_Question_wars_07", new Point(1839, 1839), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_08", "Loc_Question_wars_08", new Point(0x0700, 0x0700), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_09", "Loc_Question_wars_09", new Point(1954, 1954), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.wars_10", "Loc_Question_wars_10", new Point(1975, 1975), 10)]], category8:["art", 8, new trophy_8(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_01", "Loc_Question_art_01", new Point(1889, 1889), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_02", "Loc_Question_art_02", new Point(1485, 1485), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_03", "Loc_Question_art_03", new Point(-210, -210), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_04", "Loc_Question_art_04", new Point(1908, 1908), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_05", "Loc_Question_art_05", new Point(-30400, -30400), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_06", "Loc_Question_art_06", new Point(1547, 1547), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_07", "Loc_Question_art_07", new Point(1066, 1066), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_08", "Loc_Question_art_08", new Point(-150, -150), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_09", "Loc_Question_art_09", new Point(1642, 1642), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.art_10", "Loc_Question_art_10", new Point(1910, 1910), 10)]], category9:["extinct", 9, new trophy_9(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_01", "Loc_Question_extinct_01", new Point(-68000000, -68000000), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_02", "Loc_Question_extinct_02", new Point(1861, 1861), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_03", "Loc_Question_extinct_03", new Point(-5000, -5000), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_04", "Loc_Question_extinct_04", new Point(-73000000, -73000000), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_05", "Loc_Question_extinct_05", new Point(-150000000, -150000000), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_06", "Loc_Question_extinct_06", new Point(1937, 1937), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_07", "Loc_Question_extinct_07", new Point(-156000000, -156000000), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_08", "Loc_Question_extinct_08", new Point(-70000000, -70000000), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_09", "Loc_Question_extinct_09", new Point(-68000000, -68000000), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.extinct_10", "Loc_Question_extinct_10", new Point(-7000, -7000), 10)]], category10:["food", 10, new trophy_10(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_01", "Loc_Question_food_01", new Point(1471, 1471), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_02", "Loc_Question_food_02", new Point(-6000, -6000), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_03", "Loc_Question_food_03", new Point(1586, 1586), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_04", "Loc_Question_food_04", new Point(1290, 1290), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_05", "Loc_Question_food_05", new Point(-3600, -3600), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_06", "Loc_Question_food_06", new Point(1784, 1784), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_07", "Loc_Question_food_07", new Point(1938, 1938), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_08", "Loc_Question_food_08", new Point(-8500, -8500), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_09", "Loc_Question_food_09", new Point(1480, 1480), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.food_10", "Loc_Question_food_10", new Point(1250, 1250), 10)]], category11:["science", 11, new trophy_11(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_01", "Loc_Question_science_01", new Point(1922, 1922), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_02", "Loc_Question_science_02", new Point(1969, 1969), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_03", "Loc_Question_science_03", new Point(1996, 1996), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_04", "Loc_Question_science_04", new Point(1982, 1982), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_05", "Loc_Question_science_05", new Point(1966, 1966), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_06", "Loc_Question_science_06", new Point(1206, 1206), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_07", "Loc_Question_science_07", new Point(1972, 1972), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_08", "Loc_Question_science_08", new Point(-230, -230), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_09", "Loc_Question_science_09", new Point(-580, -580), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.science_10", "Loc_Question_science_10", new Point(1961, 1961), 10)]], category12:["fashion", 12, new trophy_12(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_01", "Loc_Question_fashion_01", new Point(1550, 1550), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_02", "Loc_Question_fashion_02", new Point(-1500, -1500), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_03", "Loc_Question_fashion_03", new Point(1550, 1550), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_04", "Loc_Question_fashion_04", new Point(1100, 1100), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_05", "Loc_Question_fashion_05", new Point(1965, 1965), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_06", "Loc_Question_fashion_06", new Point(-8000, -8000), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_07", "Loc_Question_fashion_07", new Point(1400, 1400), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_08", "Loc_Question_fashion_08", new Point(1856, 1856), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_09", "Loc_Question_fashion_09", new Point(1793, 1793), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.fashion_10", "Loc_Question_fashion_10", new Point(1913, 1913), 10)]], category13:["evolution", 13, new trophy_13(0, 0), [new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_01", "Loc_Question_evolution_01", new Point(-35000, -35000), 1), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_02", "Loc_Question_evolution_02", new Point(-200000, -200000), 2), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_03", "Loc_Question_evolution_03", new Point(-3500000000, -3500000000), 3), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_04", "Loc_Question_evolution_04", new Point(-1900000000, -1900000000), 4), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_05", "Loc_Question_evolution_05", new Point(-900000000, -900000000), 5), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_06", "Loc_Question_evolution_06", new Point(-2500000000, -2500000000), 6), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_07", "Loc_Question_evolution_07", new Point(-1900000000, -1900000000), 7), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_08", "Loc_Question_evolution_08", new Point(-635000000, -635000000), 8), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_09", "Loc_Question_evolution_09", new Point(-150000000, -150000000), 9), new QuestionCard(new QuestionCard_mc(), "spill.TMH.Questions.evolution_10", "Loc_Question_evolution_10", new Point(-700000000, -700000000), 10)]]};
}
}//package spill.TMH.Data.Cards
Section 108
//GameModeCard (spill.TMH.Data.Cards.GameModeCard)
package spill.TMH.Data.Cards {
import flash.events.*;
import flash.display.*;
import spill.TMH.Events.*;
import spill.TMH.Category.*;
import spill.TMH.Controls.*;
import flash.text.*;
import flash.geom.*;
import spill.TMH.*;
import spill.TMH.sound.*;
public class GameModeCard extends Card {
protected var cardBeingDragged:QuestionCard;
protected var totalPlayTime:Number;
protected var faultyPlacement:MovieClip;
protected var cardBeingDraggedListPosition:int;
protected var bDragCapable:Boolean;
protected var correctPlacement:MovieClip;
protected var bShowHint:Boolean;
protected var hintAfterSeconds:Number;
protected var CardSelector:Selector;
private var _OO11100Ol:Boolean;
protected var questions:Array;
private var _OOl01OOlO:TextField;
protected var yearIndicator:ToolTipYear;
protected var prevMouseOverCard:QuestionCard;
protected var currentPlayingTime:Number;
protected var bFadingCard:Boolean;
protected var currentQuestionTime:Number;
protected var bGameStarted:Boolean;
private var _O10000100:Number;// = 0
protected var hintHotBar:hintMeter_mc;
protected var yearOnTimeLine:Number;
protected var category:int;
public function GameModeCard(_arg1:CategoryCard_mc, _arg2:int, _arg3:Array){
var _local4:QuestionCard;
super(_arg1);
category = _arg2;
questions = _arg3;
totalPlayTime = 0;
currentPlayingTime = 0;
bGameStarted = false;
cardBeingDragged = null;
bDragCapable = false;
cardBeingDraggedListPosition = 0;
_OO11100Ol = false;
bFadingCard = false;
bShowHint = false;
if (category < 101){
for each (_local4 in questions) {
_local4.setCategory(category);
};
};
}
public function m_calculateScore():Object{
var _local1:int;
var _local2:Object = 0;
while (_local1 < questions.length) {
_local2 = (_local2 + (questions[_local1] as QuestionCard).m_determinePoints());
_local1++;
};
return (_local2);
}
public function getAmountOfQuestions():int{
return (questions.length);
}
public function setSelectedYear(_arg1:Number):void{
yearOnTimeLine = _arg1;
if (((yearIndicator) && (yearIndicator.IsShown()))){
yearIndicator.updateYearTxt(yearOnTimeLine);
};
}
public function getCardSelector():Selector{
return (CardSelector);
}
public function PlayScoreAnimation(_arg1:Boolean, _arg2:QuestionCard):void{
if (_arg1){
PlayCorrectAnimation();
PlayAmountOfPointAnimation(_arg2);
} else {
PlayFaultAnimation();
PlayAmountOfPointAnimation(_arg2);
};
}
public function isCradBeingDragged():Boolean{
return ((cardBeingDragged) ? true : false);
}
public function IsCardCorrect(_arg1:int):Boolean{
var _local2:QuestionCard = (questions[_arg1] as QuestionCard);
if (((_local2.IsPlaced()) && (_local2.IsCorrect()))){
return (true);
};
return (false);
}
override public function destroy():void{
reset();
category = 0;
if (CardSelector){
CardSelector.destroy();
};
CardSelector = null;
if (((yearIndicator) && (contains(yearIndicator)))){
removeChild(yearIndicator);
};
yearIndicator = null;
yearOnTimeLine = 0;
if (((correctPlacement) && (contains(correctPlacement)))){
removeChild(correctPlacement);
};
correctPlacement = null;
if (((faultyPlacement) && (contains(faultyPlacement)))){
removeChild(faultyPlacement);
};
faultyPlacement = null;
}
public function resetShowHint():void{
bShowHint = false;
}
public function ShouldShowHint():Boolean{
return (bShowHint);
}
private function _OO111lO0l():void{
var _local1:MovieClip = new Button_ingameScreen();
_local1.rotation = 180;
CardSelector = new Selector(700, 120, null, null, _local1, null, new Button_ingameScreen(), 10, true, false, false);
CardSelector.x = 0;
CardSelector.y = 10;
CardSelector.setDispatchSelectedEvtObj(this);
addChild(CardSelector);
var _local2:int;
while (_local2 < questions.length) {
(questions[_local2] as QuestionCard).init();
CardSelector.insertObject((questions[_local2] as DisplayObject));
_local2++;
};
correctPlacement = new answerGood();
correctPlacement.x = 800;
correctPlacement.y = 800;
correctPlacement.mouseEnabled = false;
correctPlacement.mouseChildren = false;
correctPlacement.enabled = false;
correctPlacement.gotoAndStop(correctPlacement.totalFrames);
addChild(correctPlacement);
faultyPlacement = new answerWrong();
faultyPlacement.x = 800;
faultyPlacement.y = 800;
faultyPlacement.mouseEnabled = false;
faultyPlacement.mouseChildren = false;
faultyPlacement.gotoAndStop(faultyPlacement.totalFrames);
addChild(faultyPlacement);
yearIndicator = new ToolTipYear();
yearIndicator.x = 0;
yearIndicator.y = 0;
addChild(yearIndicator);
hideYearIndicator();
hintHotBar = new hintMeter_mc();
hintHotBar.x = 0;
hintHotBar.y = 0;
addChild(hintHotBar);
hideHintBar();
addEventListener(SelectEvent.SELECTED, _O11OO1llO, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_DOWN, _O1O1110l0, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, _OO0lOl01l, false, 0, true);
}
protected function PlayAmountOfPointAnimation(_arg1:QuestionCard):void{
var _local2:int = _arg1.m_determinePoints();
if (((_OOl01OOlO) && (contains(_OOl01OOlO)))){
removeChild(_OOl01OOlO);
_OOl01OOlO = null;
};
_OOl01OOlO = new TextField();
if (_local2 == 0){
_OOl01OOlO.defaultTextFormat = new TextFormat("Arial", 64, 0xBF0000, true);
} else {
_OOl01OOlO.defaultTextFormat = new TextFormat("Arial", 64, 0xFFCC00, true);
};
_OOl01OOlO.text = ("" + _local2);
_OOl01OOlO.width = 200;
_OOl01OOlO.x = (cardBeingDragged.x - (_OOl01OOlO.width / 2));
_OOl01OOlO.y = cardBeingDragged.y;
_OOl01OOlO.autoSize = TextFieldAutoSize.CENTER;
_OOl01OOlO.selectable = false;
_OOl01OOlO.mouseEnabled = false;
_OOl01OOlO.visible = false;
addChildAt(_OOl01OOlO, (getChildIndex(_arg1) + 1));
_O10000100 = 2;
}
public function isScoreShowing():Boolean{
return (((_O10000100 > 0)) ? true : false);
}
public function startGame():void{
_OO111lO0l();
bGameStarted = true;
}
public function setPlayTime(_arg1:Number):void{
totalPlayTime = _arg1;
}
public function PlacedCard(_arg1:QuestionCard):Boolean{
_OO11100Ol = _arg1.isCorrectlyPlaced(yearOnTimeLine);
FadeOutCard(_arg1);
return (false);
}
public function getQuestionFault():int{
var _local2:QuestionCard;
var _local1:int;
for each (_local2 in questions) {
if (((_local2.IsPlaced()) && (!(_local2.IsCorrect())))){
_local1++;
};
};
return (_local1);
}
protected function PlayCorrectAnimation():void{
SoundManager.playSound("ingame", 1);
correctPlacement.x = cardBeingDragged.x;
correctPlacement.y = cardBeingDragged.y;
correctPlacement.gotoAndPlay(1);
}
public function hideYearIndicator(_arg1:Boolean=false):void{
if (yearIndicator){
if (_arg1){
yearIndicator.instantHide(null);
} else {
yearIndicator.hide();
};
};
}
private function _O0001l11l():Boolean{
if ((((stage.mouseY > 200)) && ((stage.mouseY < 300)))){
return (true);
};
return (false);
}
override public function setVisualySelected():void{
super.setVisualySelected();
}
public function setEnableCardSelector(_arg1:Boolean):void{
CardSelector.setEnabled(_arg1);
}
public function getQuestionTimeSpan():Number{
if (cardBeingDragged){
return (cardBeingDragged.getTimeSpan());
};
return (0);
}
override public function resetVisualySelected():void{
super.resetVisualySelected();
}
protected function FadeOutCard(_arg1:QuestionCard):void{
bFadingCard = true;
}
public function setHintBarFrame(_arg1:int):void{
if (hintHotBar){
hintHotBar.gotoAndStop(_arg1);
};
}
public function getQuestionsLeft():int{
var _local2:QuestionCard;
var _local1:int;
for each (_local2 in questions) {
if (!_local2.IsPlaced()){
_local1++;
};
};
return (_local1);
}
public function update(_arg1:Number):void{
var _local2:QuestionCard;
var _local3:Point;
var _local4:Point;
if (bGameStarted){
currentPlayingTime = (currentPlayingTime + _arg1);
if (((((bDragCapable) && (cardBeingDragged))) && (!(bFadingCard)))){
cardBeingDragged.x = mouseX;
cardBeingDragged.y = mouseY;
_local3 = localToGlobal(new Point(cardBeingDragged.x, cardBeingDragged.y));
if ((_local3.x - (cardBeingDragged.width / 2)) < 0){
_local3.x = (0 + (cardBeingDragged.width / 2));
} else {
if ((_local3.x + (cardBeingDragged.width / 2)) > 700){
_local3.x = (700 - (cardBeingDragged.width / 2));
};
};
if ((_local3.y - ((cardBeingDragged.height / 2) + 20)) < 0){
_local3.y = ((0 + (cardBeingDragged.height / 2)) + 20);
} else {
if ((_local3.y + (cardBeingDragged.height / 2)) > 400){
_local3.y = (400 - (cardBeingDragged.height / 2));
};
};
_local4 = globalToLocal(_local3);
cardBeingDragged.x = _local4.x;
cardBeingDragged.y = _local4.y;
} else {
if (((!(bFadingCard)) && (cardBeingDragged))){
if (_O0001l11l()){
PlacedCard(cardBeingDragged);
CardSelector.reOrderSliderObjects();
hideYearIndicator();
} else {
removeChild(cardBeingDragged);
CardSelector.insertObject(cardBeingDragged, cardBeingDraggedListPosition);
cardBeingDragged = null;
bShowHint = false;
hideYearIndicator(true);
};
hideHintBar();
if (_O0001l11l()){
MouseControl.setCursorCanGrab();
} else {
MouseControl.setCursorNormal();
};
};
};
if (yearIndicator.IsShown()){
if (cardBeingDragged){
yearIndicator.x = (cardBeingDragged.x - (cardBeingDragged.width / 2));
yearIndicator.y = (cardBeingDragged.y - (cardBeingDragged.height / 2));
};
yearIndicator.updateYearTxt(0);
};
_local2 = (CardSelector.getMouseOverObject() as QuestionCard);
if (((_local2) && (GameSession.m_questionTxTArea))){
GameSession.m_questionTxTArea.text = _local2.getQuestion();
};
if (bFadingCard){
cardBeingDragged.alpha = (cardBeingDragged.alpha - _arg1);
if (cardBeingDragged.alpha <= 0.1){
PlayScoreAnimation(_OO11100Ol, cardBeingDragged);
CardSelector.undoSelection(cardBeingDragged);
removeChild(cardBeingDragged);
cardBeingDragged = null;
bFadingCard = false;
CardSelector.setEnabled(true, true);
};
};
if (_O10000100 > 0){
_O10000100 = (_O10000100 - _arg1);
_OOl01OOlO.y = (_OOl01OOlO.y - (_arg1 * 100));
if (_O10000100 <= 1.5){
_OOl01OOlO.visible = true;
};
if ((((_O10000100 <= 0)) && (contains(_OOl01OOlO)))){
removeChild(_OOl01OOlO);
_OOl01OOlO = null;
};
};
};
}
public function prepareBeforeLevelStart():void{
visual.visible = false;
x = 0;
y = 0;
}
private function _O11OO1llO(_arg1:SelectEvent):void{
cardBeingDraggedListPosition = CardSelector.removeObject((_arg1.selectedOBj as DisplayObject));
cardBeingDragged = (_arg1.selectedOBj as QuestionCard);
addChild(cardBeingDragged);
setChildIndex(yearIndicator, getChildIndex(cardBeingDragged));
setChildIndex(hintHotBar, getChildIndex(cardBeingDragged));
CardSelector.setEnabled(false, true);
showYearIndicator();
showHintBar();
MouseControl.setCursorGrabbed();
bShowHint = true;
}
public function showHintBar():void{
if (hintHotBar){
hintHotBar.visible = true;
};
}
private function _OO0lOl01l(_arg1:MouseEvent):void{
bDragCapable = false;
}
public function showYearIndicator():void{
if (cardBeingDragged){
yearIndicator.x = (cardBeingDragged.x - (cardBeingDragged.width / 2));
yearIndicator.y = (cardBeingDragged.y - ((cardBeingDragged.height / 2) + yearIndicator.height));
};
yearIndicator.show("");
}
override public function setMouseOver():void{
super.setMouseOver();
(visual as CategoryCard_mc).Top.visible = false;
}
public function gameOver():void{
}
public function reset():void{
totalPlayTime = 0;
currentPlayingTime = 0;
bGameStarted = false;
cardBeingDragged = null;
cardBeingDraggedListPosition = 0;
bDragCapable = true;
hideYearIndicator(true);
hideHintBar();
yearOnTimeLine = 0;
if (correctPlacement){
correctPlacement.gotoAndStop(correctPlacement.totalFrames);
};
if (faultyPlacement){
faultyPlacement.gotoAndStop(faultyPlacement.totalFrames);
};
bFadingCard = false;
bShowHint = false;
currentQuestionTime = 0;
prevMouseOverCard = null;
if (CardSelector){
CardSelector.destroy();
};
CardSelector = null;
}
private function _O1O1110l0(_arg1:MouseEvent):void{
bDragCapable = true;
}
public function getTimeLeft():Number{
return (Math.max((totalPlayTime - currentPlayingTime), 0));
}
public function getQuestionCorrect():int{
var _local2:QuestionCard;
var _local1:int;
for each (_local2 in questions) {
if (((_local2.IsPlaced()) && (_local2.IsCorrect()))){
_local1++;
};
};
return (_local1);
}
public function hideHintBar():void{
if (hintHotBar){
hintHotBar.visible = false;
};
}
override public function setMouseOut():void{
super.setMouseOut();
(visual as CategoryCard_mc).Top.visible = true;
}
public function getCategory():int{
return (category);
}
public function getQuestionCardNumber(_arg1:int):int{
return (questions[_arg1].getCardNumber());
}
protected function PlayFaultAnimation():void{
SoundManager.playSound("ingame", 0);
faultyPlacement.x = cardBeingDragged.x;
faultyPlacement.y = cardBeingDragged.y;
faultyPlacement.gotoAndPlay(1);
}
public function updateHint(_arg1:Number):void{
var _local4:Point;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local2:int;
var _local3:QuestionCard = (getCardSelector().getMouseOverObject() as QuestionCard);
if (_local3){
_local4 = _local3.getCorrectYearsHintVersion();
_local5 = Math.round(((_local4.x + _local4.y) / 2));
_local6 = (_local5 - _arg1);
_local7 = (2009 - _local5);
_local8 = 0;
if (_local7 < 20){
_local7 = 20;
};
if (_local5 > -800000){
_local8 = (Math.abs(_local6) / _local7);
_local8 = (1 - _local8);
if (_local8 >= 0.8){
_local8 = 1;
};
_local8 = ((_local8 < 0)) ? 0 : _local8;
} else {
_local9 = 0;
_local10 = 0;
_local11 = 0;
_local12 = 0;
_local13 = 0;
_local14 = 0;
_local15 = 0;
if ((((_local5 >= -3000000000)) && ((_local5 <= -150000000)))){
_local9 = (Math.log(Math.abs(_local5)) * Math.LOG10E);
_local10 = Math.floor(_local9);
_local11 = Math.pow(10, _local10);
_local12 = (Math.abs(_local5) + 10000000);
_local13 = (Math.abs(_local5) + 2500000000);
_local14 = ((_local5 + 90000000) * -1);
_local15 = ((_local5 + 70000000) * -1);
} else {
if ((((_local5 > -150000000)) && ((_local5 <= -100000000)))){
_local9 = (Math.log(Math.abs(_local5)) * Math.LOG10E);
_local10 = Math.floor(_local9);
_local11 = Math.pow(10, _local10);
_local12 = (Math.abs(_local5) + 2000000000);
_local13 = (Math.abs(_local5) + 4000000000);
_local14 = (Math.abs(_local5) * 0.84);
_local15 = (Math.abs(_local5) * 0.94);
} else {
_local9 = (Math.log(Math.abs(_local5)) * Math.LOG10E);
_local10 = Math.floor(_local9);
_local11 = Math.pow(10, _local10);
_local12 = (Math.abs(_local5) + (_local11 * 1));
_local13 = (Math.abs(_local5) + (_local11 * 3.71));
if ((((_local13 > 100000000)) && ((_local13 < 2000000000)))){
_local12 = (_local12 + 500000000);
_local13 = (_local13 + 2500000000);
};
_local14 = Math.abs((_local5 * 0.15));
_local15 = Math.abs((_local5 * 0.4));
};
};
if ((((((_arg1 > (_local5 - _local12))) && ((_arg1 < _local5)))) || ((((_arg1 < (_local5 + _local14))) && ((_arg1 > _local5)))))){
_local8 = 1;
} else {
if ((((_arg1 < (_local5 + _local15))) && ((_arg1 > _local5)))){
_local16 = (_local5 + _local14);
_local17 = Math.abs((_local16 - _arg1));
_local18 = (_local5 + _local15);
_local19 = (_local16 - _local18);
_local20 = Math.abs((_local17 / (_local19 * 0.01)));
_local8 = ((100 - _local20) * 0.01);
} else {
if ((((_arg1 > (_local5 - _local13))) && ((_arg1 < _local5)))){
_local21 = (_local5 - _local12);
_local22 = Math.abs((_local21 - _arg1));
_local23 = (_local5 - _local13);
_local24 = (_local21 - _local23);
_local25 = Math.abs((_local22 / (_local24 * 0.01)));
_local8 = ((100 - _local25) * 0.01);
};
};
};
};
};
if (cardBeingDragged){
hintHotBar.x = (cardBeingDragged.x - (cardBeingDragged.width / 2));
hintHotBar.y = (cardBeingDragged.y + ((cardBeingDragged.height / 2) + hintHotBar.height));
};
_local2 = (_local8 * 10);
setHintBarFrame(_local2);
}
public function getQuestionCategory(_arg1:int):int{
return (questions[_arg1].getCategory());
}
public function getTotalTime():Number{
return (totalPlayTime);
}
}
}//package spill.TMH.Data.Cards
Section 109
//QuestionCard (spill.TMH.Data.Cards.QuestionCard)
package spill.TMH.Data.Cards {
import flash.display.*;
import spill.TMH.Category.*;
import flash.geom.*;
import spill.TMH.Questions.*;
import flash.utils.*;
import spill.localisation.*;
public class QuestionCard extends Card {
protected var cardImageStr:String;
private var _OOlOO1Ol0:Point;
private var _OOl1lOOl1:mobility_02;
private var _OO01O011O:evolution_09;
private var _OOO1110OO:fashion_02;
private var _O01O110OO:disasters_07;
private var _OO0l0lOlO:art_07;
private var _O1lOl1OOl:fashion_10;
private var _OOl01OlOO:architecture_10;
private var _OO1Oll01l:science_02;
private var _O1110O00O:extinct_05;
private var _O10111lO0:disasters_02;
private var _O0Ol0l0Ol:science_09;
private var _O1100110O:important_people_04;
private var _O1l1l01O0:art_01;
private var _O1lO11l00:world_and_universe_exploration_06;
private var _OOlOOl010:Number;
private var _O0OO00OOO:important_people_05;
private var _OO0010000:extinct_04;
private var _OO0lOll0O:evolution_06;
protected var correctTime:Point;
private var _O001ll0lO:science_06;
private var _O01O10ll1:mobility_06;
private var _O1Ol1l101:evolution_10;
private var _O0O0O01l0:mobility_09;
private var _OO1111100:inventions_03;
private var _O011O011l:architecture_09;
protected var fact:int;
private var _O0O01Olll:fashion_09;
private var _O01O00010:extinct_02;
private var _OO1111111:disasters_03;
private var _O000l0O01:science_07;
private var _OOl01lO0l:Number;
private var _O0lOOO001:extinct_08;
private var _O0OOO00OO:food_09;
protected var cardNumber:int;
private var _O1000O00l:food_02;
protected var cardImageData:BitmapData;
private var _O10O0O1l0:food_04;
private var _O0OlO0110:evolution_01;
private var _OOl1l11ll:architecture_06;
private var _O1Ol0ll0O:wars_01;
private var _O0O01001l:art_09;
private var _O1l0OOll1:food_07;
private var _O01O10O1l:disasters_09;
private var _O0O11l0lO:wars_05;
private var _O11OO0lll:important_people_08;
private var _OO0OO00OO:food_06;
private var _O1l11100l:architecture_02;
private var _O100OO101:food_08;
private var _O0OlOl0O1:world_and_universe_exploration_09;
private var _O1111lO01:fashion_08;
private var _O110l111l:inventions_01;
private var _O10l1OOlO:mobility_10;
private var _O0001llOO:mobility_04;
private var _O10OOOO0l:disasters_10;
private var _O10O1O100:wars_02;
private var _O1l0Ol0Ol:art_05;
private var _O1l111OOl:world_and_universe_exploration_07;
private var _O0ll01010:fashion_01;
private var _OOO0lO0lO:wars_09;
private var _O0Oll0llO:architecture_05;
private var _OO0l1OOlO:fashion_06;
private var _OO0O1l1l0:disasters_06;
protected var correctTimeMargin:Number;
private var _O0OO11lO1:world_and_universe_exploration_01;
private var _O011lO0ll:fashion_04;
private var _O010l01OO:disasters_04;
private var _O000lO0lO:world_and_universe_exploration_04;
private var _O00OlOOO0:evolution_08;
private var _O11Oll0l1:wars_07;
private var _OOOO0l0O1:art_02;
private var _O00OOl1l0:extinct_09;
private var _O10OlO1ll:food_03;
private var _OO0Ol101l:extinct_06;
private var _O1ll0ll1l:wars_04;
private var _O1O101O11:important_people_03;
private var _O00lO0l10:science_05;
private var _OOOO1l01l:fashion_03;
private var _OOll000O0:important_people_06;
private var _OOOlOO0Ol:world_and_universe_exploration_02;
private var _OO0101l10:inventions_09;
private var _O1O1lO1ll:food_01;
private var _O10OO1OOO:mobility_05;
private var _O0OO101Ol:disasters_08;
private var _O0l0011Ol:evolution_07;
private var _O01OllO01:art_08;
private var _OOO0011lO:Number;
private var _OO101O011:fashion_05;
private var _OO0l1ll0O:world_and_universe_exploration_05;
private var _OO1l00111:extinct_07;
private var _O1l0O0llO:world_and_universe_exploration_08;
private var _O0O00lOOO:evolution_05;
private var _OO1l0l1OO:food_05;
protected var bPlaced:Boolean;
protected var inCategory:int;
private var _O1l01l0ll:important_people_09;
private var _O01Ol0lll:art_10;
private var _O100OOll0:fashion_07;
private var _O01OllO11:extinct_01;
private var _O1110lO11:extinct_10;
private var _O10O10Oll:art_06;
private var _O01lO111O:architecture_04;
private var _OOllOO111:wars_03;
private var _OOO010OO0:mobility_01;
private var _O0lOO0O11:extinct_03;
private var _O010l10O1:Number;
private var _O100101ll:inventions_08;
private var _O1OOOl101:world_and_universe_exploration_10;
private var _O10l1Oll1:Number;// = 2009
private var _O11lOl0lO:wars_06;
private var _OO1OlO011:mobility_03;
private var _O111l1OOl:food_10;
private var _O101l1Ol0:science_08;
private var _OO1Ol11OO:important_people_10;
private var _OO1OlOll1:science_10;
private var _OO0OOlO1O:important_people_01;
private var _OO1Ol00Ol:inventions_07;
private var _O10ll11l1:science_01;
protected var bCorrect:Boolean;
private var _O111llO0l:mobility_07;
private var _O011O1lO0:evolution_03;
private var _O000lO00O:art_03;
protected var placedAtYear:Number;
private var _OO00O1Oll:world_and_universe_exploration_03;
protected var image_bm:Bitmap;
private var _O11lOOOOl:science_03;
private var _OO0l0O00O:important_people_02;
private var _OO10O0lO1:inventions_06;
private var _OO1101llO:inventions_10;
private var _OOl0lO11O:wars_08;
private var _O1Ol0Ol0l:architecture_03;
private var _OO00Ol11l:inventions_02;
private var _O0l1O00ll:disasters_05;
private var _O01lO1O11:Number;// = 0.1
private var _OO101l10l:evolution_04;
private var _O0Olll0lO:architecture_07;
private var _O00O1O1Ol:evolution_02;
protected var question:String;
private var _O1O0l10O0:important_people_07;
private var _OO11lllll:architecture_08;
private var _O01011lO1:science_04;
private var _OOllll00O:wars_10;
private var _O1lOO000O:inventions_05;
private var _O110l0101:architecture_01;
private var _O1101100O:Number;
private var _OOOlOlOO0:inventions_04;
private var _O0O0O101O:mobility_08;
private var _O0010O0Ol:art_04;
private var _O1OOllllO:disasters_01;
public function QuestionCard(_arg1:MovieClip, _arg2:String, _arg3:String, _arg4:Point, _arg5:int){
super(_arg1);
question = _arg3;
correctTime = _arg4;
fact = _arg5;
cardNumber = -1;
_OOlOO1Ol0 = new Point(0, 0);
_OOlOO1Ol0.x = (correctTime.x - (Math.random() * (_O01Olll10(correctTime.x) / 2)));
_OOlOO1Ol0.y = ((correctTime.y + 1) + (Math.random() * (_O01Olll10(correctTime.x) / 4)));
cardImageStr = _arg2;
var _local6:Class = (getDefinitionByName(cardImageStr) as Class);
cardImageData = (new _local6(0, 0) as BitmapData);
image_bm = new Bitmap(cardImageData, "auto", true);
image_bm.x = (-(image_bm.width) / 2);
image_bm.y = (-(image_bm.height) / 2);
(visual as QuestionCard_mc).imagePlaceHolder.addChild(image_bm);
Utils.initButton(_arg1, null, "quest");
}
override public function destroy():void{
}
public function getCorrectYears():Point{
return (correctTime);
}
public function isCorrectlyPlaced(_arg1:Number):Boolean{
placedAtYear = _arg1;
bPlaced = true;
if ((((_O1101100O < -95000000)) && ((_O1101100O > -1000000000)))){
if ((((placedAtYear < -60000000)) && ((placedAtYear > -2500000000)))){
bCorrect = true;
return (true);
};
};
if ((((_arg1 >= _OOlOOl010)) && ((_arg1 <= _OOO0011lO)))){
bCorrect = true;
return (true);
};
return (false);
}
private function _O01Olll10(_arg1:Number):Number{
if (_arg1 > 1900){
return (8);
};
if ((((_arg1 <= 1900)) && ((_arg1 > -1000)))){
return (16);
};
if ((((_arg1 <= -1000)) && ((_arg1 > -10000)))){
return (64);
};
if ((((_arg1 <= -10000)) && ((_arg1 > -100000)))){
return (0x0400);
};
if ((((_arg1 <= -100000)) && ((_arg1 > -1000000)))){
return (0x2000);
};
if (_arg1 <= -1000000){
return (0x100000);
};
return (0);
}
public function IsPlaced():Boolean{
return (bPlaced);
}
private function _O0Olll111(_arg1:Number):Number{
if ((((_arg1 <= 1900)) && ((_arg1 > -1000)))){
return (4);
};
if ((((_arg1 <= -1000)) && ((_arg1 > -10000)))){
return (16);
};
if ((((_arg1 <= -10000)) && ((_arg1 > -100000)))){
return (200);
};
if ((((_arg1 <= -100000)) && ((_arg1 > -1000000)))){
return (1000000);
};
if ((((_arg1 <= -1000000)) && ((_arg1 >= -100000000)))){
return (10000000);
};
if (_arg1 <= -100000000){
return (100000000);
};
return (0);
}
public function getCategory():int{
return (inCategory);
}
public function getCardNumber():int{
return (cardNumber);
}
override public function setMouseOver():void{
super.setMouseOver();
(visual as QuestionCard_mc).Top.visible = false;
visual.scaleX = 1;
visual.scaleY = 1;
}
public function getCorrectYearsHintVersion():Point{
return (_OOlOO1Ol0);
}
public function getFact():int{
return (fact);
}
override public function setMouseOut():void{
super.setMouseOut();
(visual as QuestionCard_mc).Top.visible = true;
visual.scaleX = 0.9;
visual.scaleY = 0.9;
}
public function init():void{
placedAtYear = 999999;
bPlaced = false;
bCorrect = false;
x = 0;
y = 0;
alpha = 1;
if ((((correctTime.x < -100000000)) && ((correctTime.x > -1000000000)))){
_O1101100O = correctTime.x;
_O010l10O1 = 1000000000;
_OOlOOl010 = (_O1101100O - (correctTime.x + 1000000000));
_OOO0011lO = (_O1101100O + Math.abs((correctTime.x + 95000000)));
} else {
correctTimeMargin = (_O0Olll111(correctTime.x) / 2);
_OOl01lO0l = Math.abs(((correctTime.x - correctTimeMargin) - (correctTime.y + correctTimeMargin)));
_O1101100O = correctTime.x;
_O010l10O1 = ((Math.abs((_O10l1Oll1 - _O1101100O)) + (_OOl01lO0l / 2)) * _O01lO1O11);
_OOlOOl010 = (_O1101100O - _O010l10O1);
_OOO0011lO = (_O1101100O + _O010l10O1);
};
setMouseOut();
}
public function getTimeSpan():Number{
var _local1:Number = Math.abs((correctTime.x - correctTime.y));
if (_local1 == 0){
_local1 = 1;
};
return (_local1);
}
public function m_determinePoints():int{
var _local1:*;
if (bPlaced){
_local1 = (m_getPercentageWithinMargin() * 20);
return (_local1);
};
return (0);
}
public function getQuestion():String{
var _local1:String = question.slice((question.length - 2), question.length);
var _local2:int = int(_local1);
return (SpilGame.getString(question));
}
public function m_getPercentageWithinMargin():Number{
var _local2:Number;
var _local1:Number = Math.abs(m_getDistanceFromCorrectYear());
if (_local1 < _O010l10O1){
_local2 = (100 - (_local1 / (_O010l10O1 * 0.01)));
if (_O1101100O < -100000){
if (_local2 > 92){
_local2 = 100;
};
} else {
if (_O1101100O < -10000){
if (_local2 > 94){
_local2 = 100;
};
} else {
if (_O1101100O < -3000){
if (_local2 > 96){
_local2 = 100;
};
} else {
if (_O1101100O < 1900){
if (_local2 > 96){
_local2 = 100;
};
};
};
};
};
return (_local2);
};
return (0);
}
public function setCategory(_arg1:int):void{
inCategory = _arg1;
var _local2:int;
while (_local2 < CardsData.categoryCards[("category" + inCategory)][3].length) {
if (CardsData.categoryCards[("category" + inCategory)][3][_local2] == this){
cardNumber = _local2;
};
_local2++;
};
}
public function IsCorrect():Boolean{
return (bCorrect);
}
public function m_getPlacedYear():Number{
return (placedAtYear);
}
public function m_getDistanceFromCorrectYear():Number{
if ((((_O1101100O < -95000000)) && ((_O1101100O > -1000000000)))){
if ((((placedAtYear < -95000000)) && ((placedAtYear > -1000000000)))){
return (0);
};
if ((((placedAtYear > -60000000)) || ((placedAtYear < -2500000000)))){
return (_O010l10O1);
};
};
var _local1:Number = (_O1101100O - placedAtYear);
return (_local1);
}
}
}//package spill.TMH.Data.Cards
Section 110
//TrophyCard (spill.TMH.Data.Cards.TrophyCard)
package spill.TMH.Data.Cards {
import flash.events.*;
import spill.TMH.Events.*;
import flash.geom.*;
import spill.TMH.Questions.*;
import flash.filters.*;
public class TrophyCard extends Card {
protected var cardBeingDragged:QuestionCard;
protected var cardBeingDraggedListPosition:int;
protected var bDragCapable:Boolean;
protected var category:int;
public function TrophyCard(_arg1:TropheeCard_mc, _arg2:int, _arg3:Array){
super(_arg1);
category = _arg2;
bDragCapable = false;
}
override public function destroy():void{
super.destroy();
}
public function prepareBeforeLevelStart():void{
visual.visible = false;
x = 0;
y = 0;
}
override public function resetVisualySelected():void{
super.resetVisualySelected();
this.filters = null;
}
public function update(_arg1:Number):void{
var _local2:Point;
var _local3:Point;
if (((bDragCapable) && (cardBeingDragged))){
cardBeingDragged.x = (mouseX + (cardBeingDragged.width / 2));
cardBeingDragged.y = (mouseY - (cardBeingDragged.height / 2));
_local2 = localToGlobal(new Point(cardBeingDragged.x, cardBeingDragged.y));
if ((_local2.x - (cardBeingDragged.width / 2)) < 0){
_local2.x = (0 + (cardBeingDragged.width / 2));
} else {
if ((_local2.x + (cardBeingDragged.width / 2)) > 700){
_local2.x = (700 - (cardBeingDragged.width / 2));
};
};
if ((_local2.y - ((cardBeingDragged.height / 2) + 20)) < 0){
_local2.y = ((0 + (cardBeingDragged.height / 2)) + 20);
} else {
if ((_local2.y + (cardBeingDragged.height / 2)) > 400){
_local2.y = (400 - (cardBeingDragged.height / 2));
};
};
_local3 = globalToLocal(_local2);
cardBeingDragged.x = _local3.x;
cardBeingDragged.y = _local3.y;
};
}
private function _O0l110O11():void{
stage.addEventListener(MouseEvent.MOUSE_DOWN, _O0O1lOO0O, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, _OO0lOOOlO, false, 0, true);
}
override public function setMouseOver():void{
super.setMouseOver();
(visual as TropheeCard_mc).Top.visible = false;
}
private function _O1OOO01O0(_arg1:SelectEvent):void{
}
override public function setVisualySelected():void{
super.setVisualySelected();
var _local1:Array = new Array();
_local1.push(new GlowFilter(0xFF0000, 0.8, 10, 4, 3, 1));
this.filters = _local1;
}
public function getCategory():int{
return (category);
}
private function _OO0lOOOlO(_arg1:MouseEvent):void{
bDragCapable = false;
}
private function _O0O1lOO0O(_arg1:MouseEvent):void{
bDragCapable = true;
}
override public function setMouseOut():void{
super.setMouseOut();
(visual as TropheeCard_mc).Top.visible = true;
}
}
}//package spill.TMH.Data.Cards
Section 111
//LoadUserData (spill.TMH.Data.LoadUserData)
package spill.TMH.Data {
import flash.net.*;
public class LoadUserData {
public static var methodSWF:uint = 1;
public static var methodCookie:uint = 1;
public static var cookieLocation:String;
private static var _OOlOOl0Ol:SharedObject;
public static function LoadData(_arg1:uint):UserData{
var _local2:UserData = new UserData();
switch (_arg1){
case methodCookie:
return (LoadCookie());
case methodSWF:
break;
};
return (_local2);
}
public static function LoadCookie():UserData{
try {
_OOlOOl0Ol = SharedObject.getLocal("TMH", "/");
trace((("SharedObject is " + _OOlOOl0Ol.size) + " bytes"));
} catch(e:Error) {
trace("Error getting local data");
};
var _OO0110110:UserData = new UserData();
if (_OOlOOl0Ol.data.name){
_OO0110110.Name = _OOlOOl0Ol.data.name;
};
if (_OOlOOl0Ol.data.highScore){
_OO0110110.HighScore = _OOlOOl0Ol.data.highScore;
};
if (_OOlOOl0Ol.data.questions){
_OO0110110.Questions = _OOlOOl0Ol.data.questions;
};
if (_OOlOOl0Ol.data.gamePlayCount){
_OO0110110.gamePlayCount = _OOlOOl0Ol.data.gamePlayCount;
};
if (_OOlOOl0Ol.data.bSavedSettingsOnce){
_OO0110110.Language = _OOlOOl0Ol.data.language;
_OO0110110.Sfx_volume = _OOlOOl0Ol.data.sfx_volume;
_OO0110110.Music_volume = _OOlOOl0Ol.data.music_volume;
_OO0110110.Quality = _OOlOOl0Ol.data.quality;
};
return (_OO0110110);
}
}
}//package spill.TMH.Data
Section 112
//SaveUserData (spill.TMH.Data.SaveUserData)
package spill.TMH.Data {
import flash.net.*;
public class SaveUserData {
protected var cookieLocation:String;// = "/TMH"
protected var userdata:UserData;
public static var methodSWF:uint = 1;
private static var _O1O01O1O1:SharedObject;
public static var methodCookie:uint = 1;
private static function _O0O0l01Ol(_arg1:UserData):void{
var userdata = _arg1;
try {
_O1O01O1O1 = SharedObject.getLocal("TMH", "/");
} catch(e:Error) {
trace("Error getting local data");
};
if (_O1O01O1O1){
_O1O01O1O1.data.name = userdata.Name;
_O1O01O1O1.data.highScore = userdata.HighScore;
_O1O01O1O1.data.questions = userdata.Questions;
_O1O01O1O1.data.gamePlayCount = userdata.gamePlayCount;
trace((("SharedObject is " + _O1O01O1O1.size) + " bytes"));
};
}
public static function SaveData(_arg1:UserData, _arg2:uint):void{
switch (_arg2){
case _slot1.methodCookie:
_O0O0l01Ol(_arg1);
break;
case _slot1.methodSWF:
break;
};
}
private static function _OOl11001l(_arg1:UserData):void{
var userdata = _arg1;
try {
_O1O01O1O1 = SharedObject.getLocal("TMH", "/");
} catch(e:Error) {
trace("Error getting local data");
};
if (_O1O01O1O1){
userdata.bSavedSettingsOnce = true;
_O1O01O1O1.data.bSavedSettingsOnce = userdata.bSavedSettingsOnce;
_O1O01O1O1.data.sfx_volume = userdata.Sfx_volume;
_O1O01O1O1.data.music_volume = userdata.Music_volume;
_O1O01O1O1.data.quality = userdata.Quality;
};
}
public static function SaveSettings(_arg1:UserData, _arg2:uint):void{
switch (_arg2){
case _slot1.methodCookie:
_OOl11001l(_arg1);
break;
case _slot1.methodSWF:
break;
};
}
}
}//package spill.TMH.Data
Section 113
//UserData (spill.TMH.Data.UserData)
package spill.TMH.Data {
import flash.display.*;
public class UserData {
protected var quality:uint;// = 2
protected var name:String;// = "Player"
protected var highScore:uint;// = 0
protected var completedQuestion:Array;
protected var sfx_volume:uint;// = 1
protected var language:uint;// = 0
public var gamePlayCount:int;// = 0
protected var music_volume:uint;// = 2
public var bSavedSettingsOnce:Boolean;// = true
public function UserData(){
Clear();
}
public function set Music_volume(_arg1:uint):void{
music_volume = _arg1;
}
public function set Quality(_arg1:uint):void{
quality = _arg1;
}
public function get Language():uint{
return (language);
}
public function set Language(_arg1:uint):void{
language = _arg1;
}
public function set Sfx_volume(_arg1:uint):void{
sfx_volume = _arg1;
}
public function GetStageQuality():String{
switch (quality){
case 0:
return (StageQuality.LOW);
case 1:
return (StageQuality.MEDIUM);
case 2:
return (StageQuality.HIGH);
default:
return (StageQuality.MEDIUM);
};
}
public function set Questions(_arg1:Array):void{
completedQuestion = _arg1;
}
public function get Music_volume():uint{
return (music_volume);
}
public function set Name(_arg1:String):void{
name = _arg1;
}
public function get Quality():uint{
return (quality);
}
public function set HighScore(_arg1:uint):void{
highScore = _arg1;
}
public function get Name():String{
return (name);
}
public function get Questions():Array{
return (completedQuestion);
}
public function get HighScore():uint{
return (highScore);
}
public function SetUserData(_arg1:String, _arg2:uint):void{
name = _arg1;
highScore = _arg2;
}
public function get Sfx_volume():uint{
return (sfx_volume);
}
public function Clear():void{
name = "Player";
highScore = 0;
gamePlayCount = 0;
sfx_volume = 1;
music_volume = 2;
quality = 2;
language = 0;
completedQuestion = new Array(130);
var _local1:int;
while (_local1 < completedQuestion.length) {
completedQuestion[_local1] = 0;
_local1++;
};
}
}
}//package spill.TMH.Data
Section 114
//MouseOverObjectEvent (spill.TMH.Events.MouseOverObjectEvent)
package spill.TMH.Events {
import flash.events.*;
public class MouseOverObjectEvent extends Event {
public var mouseOverOBj:Object;
public static const OVER_OBJECT:String = "Over_Object";
public function MouseOverObjectEvent(_arg1:String, _arg2:Object, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
mouseOverOBj = _arg2;
}
}
}//package spill.TMH.Events
Section 115
//SelectEvent (spill.TMH.Events.SelectEvent)
package spill.TMH.Events {
import flash.events.*;
public class SelectEvent extends Event {
public var selectedOBj:Object;
public static const SELECTED:String = "Selected";
public function SelectEvent(_arg1:String, _arg2:Object, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
selectedOBj = _arg2;
}
}
}//package spill.TMH.Events
Section 116
//HudManager (spill.TMH.Hud.HudManager)
package spill.TMH.Hud {
import spill.TMH.*;
public class HudManager {
protected var bShowLifeMeter:Boolean;
public var gameDisplay:GameDisplay;
public function HudManager(_arg1:GameDisplay, _arg2:Game){
bShowLifeMeter = false;
gameDisplay = _arg1;
setCurrentLevel(_arg2);
initGameHUD();
}
public function removeGameHUD():void{
}
public function addGameHUD():void{
}
public function update(_arg1:Number):void{
}
public function updateLifeMeter(_arg1:Number):void{
}
public function setCurrentLevel(_arg1:Game):void{
}
public function initGameHUD():void{
}
public function showLife():void{
bShowLifeMeter = true;
}
public function Destroy():void{
removeGameHUD();
}
public function hideLife():void{
bShowLifeMeter = false;
}
}
}//package spill.TMH.Hud
Section 117
//GameCompleteMenu (spill.TMH.Menus.GameCompleteMenu)
package spill.TMH.Menus {
import flash.events.*;
import spill.TMH.Data.Cards.*;
import flash.display.*;
import flash.utils.*;
import spill.TMH.sound.*;
import spill.localisation.*;
import spill.TMH.tracker.*;
public class GameCompleteMenu extends Menu {
protected var timeAnimAlpha:Number;
protected var bFadeInTrophyAnim:Boolean;
private var _O0lOl01O0:Bitmap;
private var _O011llOOl:MovieClip;
private var _OOl000000:GameComplete_Text;
protected var bFadeOutTimeAnim:Boolean;
private var _O1OO11O01:TropheeScreen;
private var _OO01011ll:GameModeCard;
protected var score:Number;
private var _O001Ol100:Timeline_Gamecomplete;
private var _OOlOl01O1:ranking_4;
protected var timeAnimArrowTargetPos:Number;
private var _O01O00O1l:ranking_7;
protected var bShowGameCompeleteAnim:Boolean;
protected var previousFrameTime:Number;
private var _OOl1O0OlO:ranking_6;
private var _O1O0O110l:ranking_8;
private var _O1Ol0lllO:Number;
private var _OOOlOlO00:GameComplete_mc;
protected var bShowTrophyWonAnim:Boolean;
protected var bShowingSendToFriend:Boolean;
private var _O1O111O1l:ranking_5;
private var _O111lllll:SendToFriendOutMenu;
private var _OOl0O11ll:Array;
private var _O1ll010O1:ranking_1;
private var _O1l100OlO:ranking_2;
private var _O0Ol0O100:ranking_9;
private var _OO000O1l1:GameComplete;
private var _OO0lOOllO:ranking_3;
private var _O011lO011:ranking_10;
protected var bHighScoreSubmittedOnce:Boolean;
protected var bFadeOutTrophyAnim:Boolean;
private var _OO11Ol0lO:AnimationCard_mc;
private var _O0OO00ll1:SubmitHighScoreMenu;
protected var bShowingSubmitHighscore:Boolean;
protected var trophyAnimAlpha:Number;
public function GameCompleteMenu(_arg1:Main, _arg2:GameModeCard):void{
super(_arg1);
_OO000O1l1 = new GameComplete();
addChild(_OO000O1l1);
_OO01011ll = _arg2;
_O001Ol100 = new Timeline_Gamecomplete();
_OOl000000 = new GameComplete_Text();
_O1OO11O01 = new TropheeScreen();
_OO11Ol0lO = new AnimationCard_mc();
bShowGameCompeleteAnim = false;
bShowingSubmitHighscore = false;
bShowingSendToFriend = false;
score = (main.m_gameStats.m_CalculateScore() as Number);
bHighScoreSubmittedOnce = false;
if (main.userdata.HighScore < score){
main.userdata.HighScore = score;
main.SaveGameData();
};
var _local3:Number = (_O001Ol100.timeline_completebar.width * 0.75);
var _local4:Number = (_O001Ol100.timeline_completebar.width * 0.25);
_O1Ol0lllO = 10;
timeAnimArrowTargetPos = 0;
if (score > 44000){
timeAnimArrowTargetPos = _local3;
timeAnimArrowTargetPos = (timeAnimArrowTargetPos + ((_local4 / 200000) * (score - 44000)));
} else {
if (score < 1000){
timeAnimArrowTargetPos = (10 + (Math.random() * 26));
} else {
timeAnimArrowTargetPos = ((_local3 / 44000) * score);
};
};
timeAnimArrowTargetPos = (timeAnimArrowTargetPos + _O001Ol100.TimelineCompleteArrow.x);
if (timeAnimArrowTargetPos > _O001Ol100.timeline_completebar.width){
timeAnimArrowTargetPos = _O001Ol100.timeline_completebar.width;
};
_O1Ol0lllO = (_O1Ol0lllO + (timeAnimArrowTargetPos / 2.6));
if (!main.m_gameStats.m_bAlreadySolvedAllQuestions){
Analytics.gameCompletedEvent();
bShowGameCompeleteAnim = main.m_gameStats.m_AllQuestionsCorrect(main.userdata.Questions);
};
if (main.m_gameStats.m_categoryID < 100){
bShowTrophyWonAnim = main.m_gameStats.m_WonTrophy();
};
addEventListener(Event.ENTER_FRAME, _O0l11OOO0, false, 0, false);
Utils.initButton(_OO000O1l1.btn_main, main.goMainMenu);
Utils.initButton(_OO000O1l1.btn_trophee, main.goTrophyRoomMenu);
Utils.initButton(_OO000O1l1.btn_highscore, main.goHighScores);
Utils.initBrandinButton(_OO000O1l1.btn_MoreGames, "More_Games_Button_Game_Finished");
Utils.initButton(_OO000O1l1.btn_submithighscore, _O0Ol00Ol1);
Utils.initButton(_OO000O1l1.btn_sendtofriend, _O10111lll);
Utils.initButton(_OO000O1l1.btn_tryAgain, _OOO0OO10l);
Utils.initButton(_OO000O1l1.btn_test, main.goGameModeMenu);
_OO000O1l1.btn_submithighscore.visible = false;
_OO000O1l1.btn_sendtofriend.visible = false;
_OO000O1l1.btn_tryAgain.visible = false;
_OO000O1l1.btn_test.visible = false;
Analytics.levelCompleteEvent();
}
private function _O10111lll(_arg1:MouseEvent):void{
var _local2:int;
bShowingSendToFriend = false;
_O01lO0l01(false);
if (!_O111lllll){
_local2 = getRankingID(score);
_O111lllll = new SendToFriendOutMenu(main, getRankingClassString(_local2), _local2);
_O111lllll.x = 0;
_O111lllll.y = 0;
addChild(_O111lllll);
_O111lllll.callBackFunctionClose = returnFromOtherMenu;
};
}
private function _OOl1OOl01(_arg1:Event):void{
var _local2:Number = getTimer();
var _local3:Number = ((_local2 - previousFrameTime) / 1000);
previousFrameTime = _local2;
if (_local3 >= 0){
if (((bShowTrophyWonAnim) && ((_O011llOOl == null)))){
Music.playSong("Trophy", false);
_OO000O1l1.placeholder_time_text.addChild(_O1OO11O01);
trophyAnimAlpha = 0;
bFadeInTrophyAnim = true;
bFadeOutTrophyAnim = false;
_O011llOOl = new MovieClip();
_O011llOOl.graphics.beginBitmapFill(CardsData.categoryCards[("category" + main.m_gameStats.m_categoryID)][2]);
_O011llOOl.graphics.drawRect(0, 0, 80, 110);
_O011llOOl.graphics.endFill();
_O011llOOl.x = (_O011llOOl.x - (_O011llOOl.width / 2));
_O011llOOl.y = (_O011llOOl.y - (_O011llOOl.height / 2));
_O1OO11O01.alpha = 0;
_O1OO11O01.placeholder_tropheechamber.addChild(_O011llOOl);
};
if (((bShowTrophyWonAnim) && (bFadeInTrophyAnim))){
_O1OO11O01.alpha = (_O1OO11O01.alpha + (_local3 * 0.8));
if (_O1OO11O01.alpha >= 1){
SoundManager.playSound("results", 0);
bFadeInTrophyAnim = false;
bFadeOutTrophyAnim = true;
};
} else {
if (((bShowTrophyWonAnim) && (bFadeOutTrophyAnim))){
_O1OO11O01.alpha = (_O1OO11O01.alpha - (_local3 * 0.6));
if (_O1OO11O01.alpha <= 0.01){
bFadeInTrophyAnim = false;
bFadeOutTrophyAnim = false;
};
} else {
if (_OO000O1l1.placeholder_time_text.contains(_O1OO11O01)){
_OO000O1l1.placeholder_time_text.removeChild(_O1OO11O01);
};
removeEventListener(Event.ENTER_FRAME, _OOl1OOl01);
_OO000O1l1.placeholder_time_text.addChild(_O001Ol100);
addEventListener(Event.ENTER_FRAME, _OOl1O1l00, false, 0, false);
SoundManager.playSound("results", 2);
};
};
};
}
public function getRankingID(_arg1:Number):int{
var _local2 = 10;
if ((((_arg1 <= 44000)) && ((_arg1 >= 25)))){
_local2 = (10 - Math.round((_arg1 / (44000 / 7))));
} else {
if (_arg1 > 44000){
_local2 = (3 - Math.round(((_arg1 - 44000) / (200000 / 3))));
if (_local2 < 1){
_local2 = 1;
};
};
};
return (_local2);
}
private function _OOOOl0ll1(_arg1:Number):void{
switch (_arg1){
case 1:
SoundManager.playSound("ranking", 0);
break;
case 2:
SoundManager.playSound("ranking", 3);
break;
case 3:
SoundManager.playSound("ranking", 7);
break;
case 4:
SoundManager.playSound("ranking", 4);
break;
case 5:
SoundManager.playSound("ranking", 8);
break;
case 6:
SoundManager.playSound("ranking", 2);
break;
case 7:
SoundManager.playSound("ranking", 5);
break;
case 8:
SoundManager.playSound("ranking", 9);
break;
case 9:
SoundManager.playSound("ranking", 6);
break;
case 10:
SoundManager.playSound("ranking", 1);
break;
default:
SoundManager.playSound("ranking", 1);
break;
};
}
private function _O0Ol00Ol1(_arg1:MouseEvent):void{
bShowingSubmitHighscore = false;
_O01lO0l01(false);
if (((!(bHighScoreSubmittedOnce)) && (!(_O0OO00ll1)))){
_O0OO00ll1 = new SubmitHighScoreMenu(main, _O0l0l00OO(score), score);
_O0OO00ll1.x = 0;
_O0OO00ll1.y = 0;
addChild(_O0OO00ll1);
_O0OO00ll1.callBackFunctionClose = returnFromOtherMenu;
};
}
private function _O01lO0l01(_arg1:Boolean):void{
_OO000O1l1.btn_submithighscore.mouseEnabled = _arg1;
_OO000O1l1.btn_submithighscore.enabled = _arg1;
_OO000O1l1.btn_sendtofriend.mouseEnabled = _arg1;
_OO000O1l1.btn_sendtofriend.enabled = _arg1;
}
protected function returnFromOtherMenu(_arg1:Event=null):void{
if (((_O111lllll) && (contains(_O111lllll)))){
removeChild(_O111lllll);
};
_O111lllll = null;
if (((_O0OO00ll1) && (contains(_O0OO00ll1)))){
if (_O0OO00ll1.bSubmitted){
bHighScoreSubmittedOnce = true;
_OO000O1l1.btn_submithighscore.visible = false;
};
removeChild(_O0OO00ll1);
};
_O0OO00ll1 = null;
_O01lO0l01(true);
}
private function _O0l0l00OO(_arg1:Number):Bitmap{
var _local2:int = getRankingID(_arg1);
var _local3:Class = (getDefinitionByName(getRankingClassString(_local2)) as Class);
var _local4:BitmapData = (new _local3(0, 0) as BitmapData);
var _local5:Bitmap = new Bitmap(_local4, "auto", true);
return (_local5);
}
private function _O0l11OOO0(_arg1:Event):void{
var _local2:Number = getTimer();
var _local3:Number = ((_local2 - previousFrameTime) / 1000);
previousFrameTime = _local2;
if (_local3 >= 0){
if (((bShowGameCompeleteAnim) && ((_OOOlOlO00 == null)))){
Music.playSong("Trophy", false);
_OOOlOlO00 = new GameComplete_mc();
_OOOlOlO00.gotoAndPlay(1);
_OO000O1l1.placeholder_time_text.addChild(_OOOlOlO00);
} else {
if (((bShowGameCompeleteAnim) && ((((_OOOlOlO00.currentFrame >= 78)) && ((_OOOlOlO00.currentFrame <= 80)))))){
SoundManager.playSound("results", 3);
} else {
if (((!(bShowGameCompeleteAnim)) || ((_OOOlOlO00.currentFrame >= _OOOlOlO00.totalFrames)))){
if (_OOOlOlO00){
_OO000O1l1.placeholder_time_text.removeChild(_OOOlOlO00);
};
removeEventListener(Event.ENTER_FRAME, _O0l11OOO0);
addEventListener(Event.ENTER_FRAME, _OOl1OOl01, false, 0, false);
};
};
};
};
}
public function getRankingClassString(_arg1:int):String{
return (("ranking_" + _arg1));
}
private function _OOO0OO10l(_arg1:MouseEvent):void{
main.startGame(_OO01011ll);
}
private function _OOl1O1l00(_arg1:Event):void{
var _local2:Boolean;
var _local3:Number = getTimer();
var _local4:Number = ((_local3 - previousFrameTime) / 1000);
previousFrameTime = _local3;
if (_local4 >= 0){
if (_O001Ol100.TimelineCompleteArrow.x < timeAnimArrowTargetPos){
_O001Ol100.TimelineCompleteArrow.x = (_O001Ol100.TimelineCompleteArrow.x + (_O1Ol0lllO * _local4));
if (_O001Ol100.TimelineCompleteArrow.x > timeAnimArrowTargetPos){
_O001Ol100.TimelineCompleteArrow.x = (timeAnimArrowTargetPos + 1);
};
} else {
if (_O001Ol100.timeline_amazedDino.visible){
bFadeOutTimeAnim = false;
_O001Ol100.timeline_amazedDino.visible = false;
_O001Ol100.timeline_amazedDino.alpha = 0;
_O0lOl01O0 = _O0l0l00OO(score);
_O0lOl01O0.x = (-(_O0lOl01O0.width) / 2);
_O0lOl01O0.y = (-(_O0lOl01O0.width) / 2);
_O0lOl01O0.visible = false;
_OO000O1l1.placeholder_images.addChild(_O0lOl01O0);
_OO000O1l1.placeholder_images.addChild(_OO11Ol0lO);
_OO11Ol0lO.gotoAndPlay(2);
SoundManager.playSound("results", 4, 1);
SoundManager.playSound("results", 1);
};
};
if (((((!(bFadeOutTimeAnim)) && (_O0lOl01O0))) && ((_OO11Ol0lO.currentFrame >= _OO11Ol0lO.totalFrames)))){
_O0lOl01O0.visible = true;
bFadeOutTimeAnim = true;
_OOOOl0ll1(getRankingID(score));
};
if (bFadeOutTimeAnim){
if (_O001Ol100.alpha <= 0){
_local2 = true;
};
_O001Ol100.alpha = (_O001Ol100.alpha - _local4);
};
};
if (_local2){
_OO000O1l1.placeholder_time_text.removeChild(_O001Ol100);
removeEventListener(Event.ENTER_FRAME, _OOl1O1l00);
_OOllO00ll();
};
}
public function getRankText(_arg1:int):String{
return (Utils.m_getRankText(_arg1));
}
private function _OOllO00ll():void{
_OO000O1l1.placeholder_time_text.addChild(_OOl000000);
_OO000O1l1.btn_submithighscore.visible = true;
_OO000O1l1.btn_sendtofriend.visible = true;
_OO000O1l1.btn_tryAgain.visible = true;
_OO000O1l1.btn_test.visible = true;
if (main.m_gameStats.m_categoryID < 100){
_OOl000000.field_cardScore.text = ("" + main.m_gameStats.m_score);
_OOl000000.field_bonusScore.text = ("" + main.m_gameStats.m_getTimeLeftBonusScore());
_OOl000000.field_overview.text = ((("" + main.m_gameStats.m_correctCards) + "/") + main.m_gameStats.m_totalCards);
_OOl000000.field_TotalScore.text = ("" + main.m_gameStats.m_CalculateScore());
if (main.m_gameStats.m_WonTrophy()){
_OOl000000.field_NewTrophy.text = SpilGame.getString("Pause_Yes_btn");
} else {
_OOl000000.field_NewTrophy.text = SpilGame.getString("Pause_No_btn");
};
_OOl000000.field_NewFacts.text = ("" + main.m_gameStats.m_FactsUnlocked.length);
Utils.initButton(_OOl000000.btn_trophee_special, main.goTrophyRoomMenu);
} else {
_OOl000000.field_cardScore.text = ("" + main.m_gameStats.m_score);
_OOl000000.field_bonusScore.text = ("" + main.m_gameStats.m_getTimeLeftBonusScore());
_OOl000000.field_overview.text = ((("" + main.m_gameStats.m_correctCards) + "/") + main.m_gameStats.m_totalCards);
_OOl000000.field_TotalScore.text = ("" + main.m_gameStats.m_CalculateScore());
_OOl000000.field_NewTrophy.visible = false;
_OOl000000.field_NewFacts.visible = false;
_OOl000000.txt_trophy.visible = false;
_OOl000000.txt_Facts.visible = false;
_OOl000000.txt_TrophyDescr.visible = false;
_OOl000000.btn_trophee_special.visible = false;
};
_OOl000000.txt_feedback.embedFonts = SpilGame.currentLanguage.embedFonts;
_OOl000000.txt_feedback.text = Utils.m_getRankText(getRankingID(score));
if (getRankingID(score) >= 9){
Music.playSong("LowIQ", false);
} else {
Music.playSong("Victory", false);
};
Music.playSong("mainScreen", true, Music.FADE_IN);
}
}
}//package spill.TMH.Menus
Section 118
//GameModeMenu (spill.TMH.Menus.GameModeMenu)
package spill.TMH.Menus {
import spill.TMH.Data.Cards.*;
import flash.display.*;
import spill.TMH.Events.*;
import spill.TMH.Category.*;
import spill.TMH.Controls.*;
import flash.text.*;
import spill.TMH.sound.*;
import spill.localisation.*;
public class GameModeMenu extends Menu {
private var _O011lOlOl:Selector;
private var _O1O1l11l0:GameSelectMenu_mc;
private var _O1010llOO:String;
private var _O10OlO0O0:Selector;
private var _O1Ol0O1O1:String;
public function GameModeMenu(_arg1:Main):void{
super(_arg1);
Music.playSong("mainScreen");
_O1O1l11l0 = new GameSelectMenu_mc();
addChild(_O1O1l11l0);
var _local2:MovieClip = new Button_Gameselect();
_local2.rotation = 180;
_O10OlO0O0 = new Selector(580, 90, null, null, _local2, null, new Button_Gameselect(), 10, true, false, false);
_O10OlO0O0.x = 0;
_O10OlO0O0.y = 0;
_O10OlO0O0.setDispatchSelectedEvtObj(_O1O1l11l0);
_O10OlO0O0.setDispatchMouseOverObject(_O1O1l11l0);
_O1O1l11l0.ByCategory_placeholder.addChild(_O10OlO0O0);
_local2 = new Button_Gameselect();
_local2.rotation = 180;
_O011lOlOl = new Selector(580, 90, null, null, _local2, null, new Button_Gameselect(), 10, true, false, false);
_O011lOlOl.x = 0;
_O011lOlOl.y = 0;
_O011lOlOl.setDispatchSelectedEvtObj(_O1O1l11l0);
_O011lOlOl.setDispatchMouseOverObject(_O1O1l11l0);
_O1O1l11l0.PlayRandom_placeholder.addChild(_O011lOlOl);
_O10Oll100();
Utils.initButton(_O1O1l11l0.btn_main, main.goMainMenu);
Utils.initButton(_O1O1l11l0.btn_trophee, main.goTrophyRoomMenu);
Utils.initButton(_O1O1l11l0.btn_highscore, main.goHighScores);
Utils.initButton(_O1O1l11l0.btn_howtoplay, main.goHowToPlay);
Utils.initBrandinButton(_O1O1l11l0.btn_MoreGames, "More_Games_Button_Level_Selection");
_O1O1l11l0.addEventListener(SelectEvent.SELECTED, _O0011OO1O, false, 0, true);
_O1O1l11l0.addEventListener(MouseOverObjectEvent.OVER_OBJECT, _O1O00l011, false, 0, true);
_O1Ol0O1O1 = _O1O1l11l0.txt_trophymode.text;
_O1010llOO = _O1O1l11l0.txt_endlessmode.text;
}
private function _O10Oll100():void{
var _local2:CategoryCard_mc;
var _local3:Bitmap;
var _local4:GameModeCard;
var _local5:TextField;
var _local8:int;
var _local1:int;
_local1 = CardsData.categoryCards["Amount"][0];
var _local6 = 1;
while (_local6 <= _local1) {
_local2 = new CategoryCard_mc();
_local3 = new Bitmap(CardsData.categoryCards[("category" + _local6)][2], "auto", true);
_local3.width = 50;
_local3.height = 70;
_local2.imagePlaceHolder.addChild(_local3);
_local4 = new GameModeCard(_local2, CardsData.categoryCards[("category" + _local6)][1], CardsData.categoryCards[("category" + _local6)][3]);
_local4.name = CardsData.categoryCards[("category" + _local6)][0];
_O10OlO0O0.insertObject(_local4);
_local6++;
};
_local1 = CardsData.randomCategoryCards["Amount"][0];
var _local7 = 1;
while (_local7 <= _local1) {
_local8 = (_local7 + 100);
_local2 = new CategoryCard_mc();
_local3 = new Bitmap(CardsData.randomCategoryCards[("category" + _local8)][2], "auto", true);
_local3.width = 50;
_local3.height = 70;
_local5 = new TextField();
_local5.defaultTextFormat = new TextFormat("Arial", 24, 0xFFFFFF, true, true);
_local5.text = ("" + CardsData.randomCategoryCards[("category" + _local8)][3]);
_local5.width = 46;
_local5.x = 0;
_local5.y = 40;
_local5.autoSize = TextFieldAutoSize.CENTER;
_local5.selectable = false;
_local5.mouseEnabled = false;
_local2.imagePlaceHolder.addChild(_local3);
_local2.imagePlaceHolder.addChild(_local5);
_local4 = new GameModeCard(_local2, CardsData.randomCategoryCards[("category" + _local8)][1], main.GetRandomCards(CardsData.randomCategoryCards[("category" + _local8)][3]));
_local4.name = CardsData.randomCategoryCards[("category" + _local8)][0];
_O011lOlOl.insertObject(_local4);
_local7++;
};
}
private function _O1O00l011(_arg1:MouseOverObjectEvent):void{
_O1O1l11l0.txt_trophymode.text = _O1Ol0O1O1;
_O1O1l11l0.txt_endlessmode.text = _O1010llOO;
if (((_arg1.mouseOverOBj) && ((_arg1.mouseOverOBj is GameModeCard)))){
SoundManager.playSound("menu", 3, 2);
if ((_arg1.mouseOverOBj as GameModeCard).getCategory() < 100){
_O1O1l11l0.txt_trophymode.text = ((_O1Ol0O1O1 + " ") + Utils.m_getCategoryByID((_arg1.mouseOverOBj as GameModeCard).getCategory()));
} else {
_O1O1l11l0.txt_endlessmode.text = ((((_O1010llOO + " ") + (((_arg1.mouseOverOBj as GameModeCard).getCategory() - 100) * 10)) + " ") + SpilGame.getString("questions"));
};
};
}
private function _O0OlO1lll():void{
_O10OlO0O0.destroy();
_O10OlO0O0 = null;
_O011lOlOl.destroy();
_O011lOlOl = null;
_O1O1l11l0.removeEventListener(SelectEvent.SELECTED, _O0011OO1O);
_O1O1l11l0.removeEventListener(MouseOverObjectEvent.OVER_OBJECT, _O1O00l011);
}
private function _O0011OO1O(_arg1:SelectEvent):void{
var _local2:int;
var _local3:CategoryCard_mc;
var _local4:MovieClip;
var _local5:GameModeCard;
SoundManager.playSound("menu", 2);
if (_arg1.selectedOBj){
_local2 = (_arg1.selectedOBj as GameModeCard).getCategory();
if (_local2 < 100){
_local3 = new CategoryCard_mc();
_local4 = new MovieClip();
_local4.graphics.beginBitmapFill(CardsData.categoryCards[("category" + _local2)][2]);
_local4.graphics.drawRect(0, 0, 80, 110);
_local4.graphics.endFill();
_local4.width = 50;
_local4.height = 70;
_local3.imagePlaceHolder.addChild(_local4);
_local5 = new GameModeCard(_local3, CardsData.categoryCards[("category" + _local2)][1], CardsData.categoryCards[("category" + _local2)][3]);
_local5.name = CardsData.categoryCards[("category" + _local2)][0];
} else {
_local3 = new CategoryCard_mc();
_local4 = new MovieClip();
_local4.graphics.beginBitmapFill(CardsData.randomCategoryCards[("category" + _local2)][2]);
_local4.graphics.drawRect(0, 0, 80, 110);
_local4.graphics.endFill();
_local4.width = 50;
_local4.height = 70;
_local3.imagePlaceHolder.addChild(_local4);
_local5 = new GameModeCard(_local3, CardsData.randomCategoryCards[("category" + _local2)][1], main.GetRandomCards(CardsData.randomCategoryCards[("category" + _local2)][3]));
_local5.name = CardsData.randomCategoryCards[("category" + _local2)][0];
};
_O0OlO1lll();
main.startGame(_local5);
};
}
}
}//package spill.TMH.Menus
Section 119
//HighScoreMenu (spill.TMH.Menus.HighScoreMenu)
package spill.TMH.Menus {
import flash.events.*;
import spill.localisation.*;
public class HighScoreMenu extends Menu {
private var _OOllO01ll:Highscoremenu_mc;
public function HighScoreMenu(_arg1:Main):void{
super(_arg1);
_OOllO01ll = new Highscoremenu_mc();
addChild(_OOllO01ll);
_O1l101lO0();
main.getHighScoreComp().x = 120;
main.getHighScoreComp().y = 50;
_OOllO01ll.addChild(main.getHighScoreComp());
main.getHighScoreComp().addEventListener("000111000100", main.goMainMenu, false, 0, true);
Utils.initButton(_OOllO01ll.btn_main, main.goMainMenu);
Utils.initButton(_OOllO01ll.btn_trophee, main.goTrophyRoomMenu);
Utils.initBrandinButton(_OOllO01ll.btn_MoreGames, "More_Games_Button_High_Scores_Screen");
}
private function _O1OOl11ll(_arg1:MouseEvent):void{
}
private function _O1l101lO0():void{
main.getHighScoreComp().O1100000l(SpilGame.currentLanguage.bwcId);
}
}
}//package spill.TMH.Menus
Section 120
//HowToPlayMenu (spill.TMH.Menus.HowToPlayMenu)
package spill.TMH.Menus {
import flash.events.*;
import flash.display.*;
import spill.TMH.sound.*;
public class HowToPlayMenu extends Menu {
private var _OO01l111O:Boolean;
private var _O00O0101l:HowToPlaymenu01_mc;
private var _OOOOOO10l:HowToPlaymenu03_mc;
private var _O1l1101l1:HowToPlaymenu02_mc;
private var _OOOO1l1O1:HowToPlaymenu04_mc;
public function HowToPlayMenu(_arg1:Main, _arg2:Boolean=false){
super(_arg1);
_OO01l111O = _arg2;
Music.playSong("mainScreen");
_O00O0101l = new HowToPlaymenu01_mc();
_O1lOOl1lO(_O00O0101l);
_O1l1101l1 = new HowToPlaymenu02_mc();
_O1lOOl1lO(_O1l1101l1);
_OOOOOO10l = new HowToPlaymenu03_mc();
_O1lOOl1lO(_OOOOOO10l);
_OOOO1l1O1 = new HowToPlaymenu04_mc();
_O1lOOl1lO(_OOOO1l1O1);
_O0O001010();
Utils.initBrandinButton(_O00O0101l.btn_MoreGames, "More_Games_Button_Tutorial");
Utils.initBrandinButton(_O1l1101l1.btn_MoreGames, "More_Games_Button_Tutorial");
Utils.initBrandinButton(_OOOOOO10l.btn_MoreGames, "More_Games_Button_Tutorial");
Utils.initBrandinButton(_OOOO1l1O1.btn_MoreGames, "More_Games_Button_Tutorial");
}
private function _O1lOOl1lO(_arg1:MovieClip, _arg2:int=1):void{
var _local4:MovieClip;
var _local3:int;
while (_local3 < _arg1.numChildren) {
_local4 = (_arg1.getChildAt(_local3) as MovieClip);
if (_local4 != null){
_local4.gotoAndStop(_arg2);
};
_local3++;
};
_arg1.gotoAndStop(_arg2);
}
private function _O0ll0l1l1(_arg1:Event=null):void{
if (contains(_O00O0101l)){
removeChild(_O00O0101l);
};
if (contains(_OOOOOO10l)){
removeChild(_OOOOOO10l);
};
if (contains(_OOOO1l1O1)){
removeChild(_OOOO1l1O1);
};
addChild(_O1l1101l1);
_O11l010Ol(_O1l1101l1);
_O0111001O();
}
private function _OO0Ol0l00(_arg1:Event=null):void{
if (contains(_O00O0101l)){
_O0ll0l1l1();
} else {
if (contains(_O1l1101l1)){
_O0lll001O();
} else {
if (contains(_OOOOOO10l)){
_O0llO011O();
};
};
};
_O0111001O();
}
private function _O0O001010(_arg1:Event=null):void{
if (contains(_O1l1101l1)){
removeChild(_O1l1101l1);
};
if (contains(_OOOOOO10l)){
removeChild(_OOOOOO10l);
};
if (contains(_OOOO1l1O1)){
removeChild(_OOOO1l1O1);
};
addChild(_O00O0101l);
_O11l010Ol(_O00O0101l);
_O0111001O();
}
private function _O0111001O():void{
var _local1:MovieClip;
if (contains(_O00O0101l)){
_local1 = _O00O0101l;
} else {
if (contains(_O1l1101l1)){
_local1 = _O1l1101l1;
} else {
if (contains(_OOOOOO10l)){
_local1 = _OOOOOO10l;
} else {
if (contains(_OOOO1l1O1)){
_local1 = _OOOO1l1O1;
};
};
};
};
if (_OO01l111O){
_local1.btn_main.visible = false;
_local1.btn_trophee.visible = false;
_local1.btn_highscore.visible = false;
} else {
Utils.initButton(_local1.btn_main, main.goMainMenu);
Utils.initButton(_local1.btn_trophee, main.goTrophyRoomMenu);
Utils.initButton(_local1.btn_highscore, main.goHighScores);
};
Utils.initButton(_local1.btn_skip, _O1O0OOO1O);
if (_local1.btn_next){
Utils.initButton(_local1.btn_next, _OO0Ol0l00);
};
if (_local1.btn_previous){
Utils.initButton(_local1.btn_previous, _OO010Ol0O);
};
}
private function _O11l010Ol(_arg1:MovieClip, _arg2:int=1):void{
var _local4:MovieClip;
var _local3:int;
while (_local3 < _arg1.numChildren) {
_local4 = (_arg1.getChildAt(_local3) as MovieClip);
if (_local4 != null){
_local4.gotoAndPlay(_arg2);
};
_local3++;
};
_arg1.gotoAndPlay(_arg2);
}
private function _O0llO011O(_arg1:Event=null):void{
if (contains(_O00O0101l)){
removeChild(_O00O0101l);
};
if (contains(_O1l1101l1)){
removeChild(_O1l1101l1);
};
if (contains(_OOOOOO10l)){
removeChild(_OOOOOO10l);
};
addChild(_OOOO1l1O1);
_O11l010Ol(_OOOO1l1O1);
_O0111001O();
}
private function _O0lll001O(_arg1:Event=null):void{
if (contains(_O00O0101l)){
removeChild(_O00O0101l);
};
if (contains(_O1l1101l1)){
removeChild(_O1l1101l1);
};
if (contains(_OOOO1l1O1)){
removeChild(_OOOO1l1O1);
};
addChild(_OOOOOO10l);
_O11l010Ol(_OOOOOO10l);
_O0111001O();
}
private function _O1O0OOO1O(_arg1:Event=null):void{
if (_OO01l111O){
parent.removeChild(this);
} else {
main.goGameModeMenu(_arg1);
};
}
private function _OO010Ol0O(_arg1:Event=null):void{
if (contains(_O1l1101l1)){
_O0O001010();
} else {
if (contains(_OOOOOO10l)){
_O0ll0l1l1();
} else {
if (contains(_OOOO1l1O1)){
_O0lll001O();
};
};
};
_O0111001O();
}
}
}//package spill.TMH.Menus
Section 121
//MainMenu (spill.TMH.Menus.MainMenu)
package spill.TMH.Menus {
import flash.events.*;
import TMH.MENU.*;
import spill.TMH.sound.*;
public class MainMenu extends Menu {
private var _O1l1l0l01:MainMenu_mc;
public function MainMenu(_arg1:Main):void{
super(_arg1);
Music.playSong("mainScreen");
_O1l1l0l01 = new MainMenu_mc();
addChild(_O1l1l0l01);
Utils.initButton(_O1l1l0l01.btn_start, _O1l0lO1O1);
Utils.initButton(_O1l1l0l01.btn_howtoplay, _O1lO0011O);
Utils.initButton(_O1l1l0l01.btn_tropheeroom, _O0l1llOOl);
Utils.initButton(_O1l1l0l01.btn_highscore, _O0l01OlO0);
_O1O0O01O0();
Utils.initBrandinButton(_O1l1l0l01.btn_MoreGames, "More_Games_Button_Main_Menu");
_O1l1l0l01.btn_Language.visible = false;
}
private function _O0l0O1OOl(_arg1:MouseEvent):void{
if (_arg1.target){
if (_arg1.target == _O1l1l0l01.btn_sfx){
_O01l0O01O();
} else {
if (_arg1.target == _O1l1l0l01.btn_music){
_O1l00O1O0();
} else {
if (_arg1.target == _O1l1l0l01.btn_quality){
_OOO100l0O();
};
};
};
};
_O0010l10l();
main.SaveGameSettings();
main.ProcessGameSettings();
SoundManager.playSound("menu", 4, 5);
}
private function _O0l1llOOl(_arg1:MouseEvent):void{
main.goTrophyRoomMenu(null);
}
private function _OOO100l0O(_arg1:int=0):void{
if (_arg1 == 0){
if (_O1l1l0l01.btn_quality.currentLabel == "low"){
_O1l1l0l01.btn_quality.gotoAndStop("medium");
} else {
if (_O1l1l0l01.btn_quality.currentLabel == "medium"){
_O1l1l0l01.btn_quality.gotoAndStop("high");
} else {
if (_O1l1l0l01.btn_quality.currentLabel == "high"){
_O1l1l0l01.btn_quality.gotoAndStop("low");
};
};
};
} else {
if (_arg1 == 1){
_O1l1l0l01.btn_quality.gotoAndStop("low");
} else {
if (_arg1 == 2){
_O1l1l0l01.btn_quality.gotoAndStop("medium");
} else {
if (_arg1 == 3){
_O1l1l0l01.btn_quality.gotoAndStop("high");
};
};
};
};
}
private function _O1lO0011O(_arg1:MouseEvent):void{
main.goHowToPlay(null);
}
private function _O1l00O1O0(_arg1:int=0):void{
if (_arg1 == 0){
if (_O1l1l0l01.btn_music.currentLabel == "low"){
_O1l1l0l01.btn_music.gotoAndStop("medium");
} else {
if (_O1l1l0l01.btn_music.currentLabel == "medium"){
_O1l1l0l01.btn_music.gotoAndStop("high");
} else {
if (_O1l1l0l01.btn_music.currentLabel == "high"){
_O1l1l0l01.btn_music.gotoAndStop("low");
};
};
};
} else {
if (_arg1 == 1){
_O1l1l0l01.btn_music.gotoAndStop("low");
} else {
if (_arg1 == 2){
_O1l1l0l01.btn_music.gotoAndStop("medium");
} else {
if (_arg1 == 3){
_O1l1l0l01.btn_music.gotoAndStop("high");
};
};
};
};
}
private function _O1O0O01O0():void{
_O01l0O01O((main.userdata.Sfx_volume + 1));
_O1l00O1O0((main.userdata.Music_volume + 1));
_OOO100l0O((main.userdata.Quality + 1));
Utils.initButton(_O1l1l0l01.btn_sfx, _O0l0O1OOl, "");
Utils.initButton(_O1l1l0l01.btn_music, _O0l0O1OOl, "");
Utils.initButton(_O1l1l0l01.btn_quality, _O0l0O1OOl, "");
}
private function _O0010l10l():void{
if (_O1l1l0l01.btn_sfx.currentLabel == "low"){
main.userdata.Sfx_volume = 0;
} else {
if (_O1l1l0l01.btn_sfx.currentLabel == "medium"){
main.userdata.Sfx_volume = 1;
} else {
if (_O1l1l0l01.btn_sfx.currentLabel == "high"){
main.userdata.Sfx_volume = 2;
};
};
};
if (_O1l1l0l01.btn_music.currentLabel == "low"){
main.userdata.Music_volume = 0;
} else {
if (_O1l1l0l01.btn_music.currentLabel == "medium"){
main.userdata.Music_volume = 1;
} else {
if (_O1l1l0l01.btn_music.currentLabel == "high"){
main.userdata.Music_volume = 2;
};
};
};
if (_O1l1l0l01.btn_quality.currentLabel == "low"){
main.userdata.Quality = 0;
} else {
if (_O1l1l0l01.btn_quality.currentLabel == "medium"){
main.userdata.Quality = 1;
} else {
if (_O1l1l0l01.btn_quality.currentLabel == "high"){
main.userdata.Quality = 2;
};
};
};
}
private function _O0l01OlO0(_arg1:MouseEvent):void{
main.goHighScores(null);
}
private function _O01l0O01O(_arg1:int=0):void{
if (_arg1 == 0){
if (_O1l1l0l01.btn_sfx.currentLabel == "low"){
_O1l1l0l01.btn_sfx.gotoAndStop("medium");
} else {
if (_O1l1l0l01.btn_sfx.currentLabel == "medium"){
_O1l1l0l01.btn_sfx.gotoAndStop("high");
} else {
if (_O1l1l0l01.btn_sfx.currentLabel == "high"){
_O1l1l0l01.btn_sfx.gotoAndStop("low");
};
};
};
} else {
if (_arg1 == 1){
_O1l1l0l01.btn_sfx.gotoAndStop("low");
} else {
if (_arg1 == 2){
_O1l1l0l01.btn_sfx.gotoAndStop("medium");
} else {
if (_arg1 == 3){
_O1l1l0l01.btn_sfx.gotoAndStop("high");
};
};
};
};
}
private function _O1l0lO1O1(_arg1:MouseEvent):void{
if (main.userdata.gamePlayCount == 0){
main.goHowToPlay(null);
} else {
main.goGameModeMenu(null);
};
}
}
}//package spill.TMH.Menus
Section 122
//Menu (spill.TMH.Menus.Menu)
package spill.TMH.Menus {
import flash.display.*;
public class Menu extends MovieClip {
protected var main:Main;
public function Menu(_arg1:Main){
main = _arg1;
}
}
}//package spill.TMH.Menus
Section 123
//PausedMenu (spill.TMH.Menus.PausedMenu)
package spill.TMH.Menus {
import flash.events.*;
import flash.display.*;
import spill.TMH.*;
import spill.TMH.sound.*;
import flash.filters.*;
public class PausedMenu extends Sprite {
private var _O1ll00OO0:Game;
private var _O1OO11l01:QuitMenu_mc;
private var _OO11lOOlO:int;// = 0
private var _O11Oll01O:pauseScreen_mc;
public static var MENU_MAIN:int = 1;
public static var MENU_TROPHYROOM:int = 3;
public static var MENU_HOWTOPLAY:int = 2;
public function PausedMenu(_arg1:Game){
_O11Oll01O = new pauseScreen_mc();
_O11Oll01O.filters = [new DropShadowFilter(10, 45, 0x442200, 1, 20, 20)];
addChild(_O11Oll01O);
_O1OO11l01 = new QuitMenu_mc();
_O1ll00OO0 = _arg1;
Utils.initButton(_O11Oll01O.btn_playgame, _O1OO0100O, "pause");
Utils.initButton(_O11Oll01O.btn_pauseMainmenu, quit, "pause");
Utils.initButton(_O11Oll01O.btn_howToMenu, _OO1Ol1l1O, "pause");
Utils.initButton(_O11Oll01O.btn_TropheeRoommenu, _OOlO10Ol1, "pause");
Utils.initBrandinButton(_O11Oll01O.btn_MoreGames, "More_Games_Button_Pause");
_O1OlllO01();
}
private function _O000OlO00():void{
if (_O11Oll01O.btn_sfx.currentLabel == "low"){
_O1ll00OO0.main.userdata.Sfx_volume = 0;
} else {
if (_O11Oll01O.btn_sfx.currentLabel == "medium"){
_O1ll00OO0.main.userdata.Sfx_volume = 1;
} else {
if (_O11Oll01O.btn_sfx.currentLabel == "high"){
_O1ll00OO0.main.userdata.Sfx_volume = 2;
};
};
};
if (_O11Oll01O.btn_music.currentLabel == "low"){
_O1ll00OO0.main.userdata.Music_volume = 0;
} else {
if (_O11Oll01O.btn_music.currentLabel == "medium"){
_O1ll00OO0.main.userdata.Music_volume = 1;
} else {
if (_O11Oll01O.btn_music.currentLabel == "high"){
_O1ll00OO0.main.userdata.Music_volume = 2;
};
};
};
if (_O11Oll01O.btn_quality.currentLabel == "low"){
_O1ll00OO0.main.userdata.Quality = 0;
} else {
if (_O11Oll01O.btn_quality.currentLabel == "medium"){
_O1ll00OO0.main.userdata.Quality = 1;
} else {
if (_O11Oll01O.btn_quality.currentLabel == "high"){
_O1ll00OO0.main.userdata.Quality = 2;
};
};
};
}
private function _OO1Ol1l1O(_arg1:MouseEvent=null):void{
addChild(new HowToPlayMenu(_O1ll00OO0.main, true));
}
private function _O11lOlO1l(_arg1:int=0):void{
if (_arg1 == 0){
if (_O11Oll01O.btn_quality.currentLabel == "low"){
_O11Oll01O.btn_quality.gotoAndStop("medium");
} else {
if (_O11Oll01O.btn_quality.currentLabel == "medium"){
_O11Oll01O.btn_quality.gotoAndStop("high");
} else {
if (_O11Oll01O.btn_quality.currentLabel == "high"){
_O11Oll01O.btn_quality.gotoAndStop("low");
};
};
};
} else {
if (_arg1 == 1){
_O11Oll01O.btn_quality.gotoAndStop("low");
} else {
if (_arg1 == 2){
_O11Oll01O.btn_quality.gotoAndStop("medium");
} else {
if (_arg1 == 3){
_O11Oll01O.btn_quality.gotoAndStop("high");
};
};
};
};
}
private function _O1lll1110(_arg1:MouseEvent=null):void{
_O0O0llOlO();
}
private function _O1OO11lll(_arg1:int=0):void{
if (_arg1 == 0){
if (_O11Oll01O.btn_sfx.currentLabel == "low"){
_O11Oll01O.btn_sfx.gotoAndStop("medium");
} else {
if (_O11Oll01O.btn_sfx.currentLabel == "medium"){
_O11Oll01O.btn_sfx.gotoAndStop("high");
} else {
if (_O11Oll01O.btn_sfx.currentLabel == "high"){
_O11Oll01O.btn_sfx.gotoAndStop("low");
};
};
};
} else {
if (_arg1 == 1){
_O11Oll01O.btn_sfx.gotoAndStop("low");
} else {
if (_arg1 == 2){
_O11Oll01O.btn_sfx.gotoAndStop("medium");
} else {
if (_arg1 == 3){
_O11Oll01O.btn_sfx.gotoAndStop("high");
};
};
};
};
}
private function _O1OO0100O(_arg1:MouseEvent=null):void{
_O1ll00OO0.start();
_O1ll00OO0 = null;
}
public function quit(_arg1:MouseEvent):void{
_OO11lOOlO = PausedMenu.MENU_MAIN;
_O1l0l1OlO();
}
private function _O0lOOO0O1(_arg1:Event):void{
if (_arg1.target){
if (_arg1.target == _O11Oll01O.btn_sfx){
_O1OO11lll();
} else {
if (_arg1.target == _O11Oll01O.btn_music){
_OO010O001();
} else {
if (_arg1.target == _O11Oll01O.btn_quality){
_O11lOlO1l();
};
};
};
};
_O000OlO00();
_O1ll00OO0.main.SaveGameSettings();
_O1ll00OO0.main.ProcessGameSettings();
SoundManager.playSound("menu", 4, 5);
}
private function _O1OlllO01():void{
_O1OO11lll((_O1ll00OO0.main.userdata.Sfx_volume + 1));
_OO010O001((_O1ll00OO0.main.userdata.Music_volume + 1));
_O11lOlO1l((_O1ll00OO0.main.userdata.Quality + 1));
Utils.initButton(_O11Oll01O.btn_sfx, _O0lOOO0O1, "");
Utils.initButton(_O11Oll01O.btn_music, _O0lOOO0O1, "");
Utils.initButton(_O11Oll01O.btn_quality, _O0lOOO0O1, "");
}
private function _O0O0llOlO():void{
if (contains(_O1OO11l01)){
removeChild(_O1OO11l01);
};
}
private function _O1l0l1OlO():void{
addChild(_O1OO11l01);
Utils.initButton(_O1OO11l01.btn_yes, _OO01lOO00, "pause");
Utils.initButton(_O1OO11l01.btn_no, _O1lll1110, "pause");
}
private function _OO010O001(_arg1:int=0):void{
if (_arg1 == 0){
if (_O11Oll01O.btn_music.currentLabel == "low"){
_O11Oll01O.btn_music.gotoAndStop("medium");
} else {
if (_O11Oll01O.btn_music.currentLabel == "medium"){
_O11Oll01O.btn_music.gotoAndStop("high");
} else {
if (_O11Oll01O.btn_music.currentLabel == "high"){
_O11Oll01O.btn_music.gotoAndStop("low");
};
};
};
} else {
if (_arg1 == 1){
_O11Oll01O.btn_music.gotoAndStop("low");
} else {
if (_arg1 == 2){
_O11Oll01O.btn_music.gotoAndStop("medium");
} else {
if (_arg1 == 3){
_O11Oll01O.btn_music.gotoAndStop("high");
};
};
};
};
}
private function _OOlO10Ol1(_arg1:MouseEvent=null):void{
_OO11lOOlO = PausedMenu.MENU_TROPHYROOM;
_O1l0l1OlO();
}
private function _OO01lOO00(_arg1:MouseEvent=null):void{
_O0O0llOlO();
if (_OO11lOOlO == PausedMenu.MENU_MAIN){
_O1ll00OO0.quit();
_O1ll00OO0 = null;
} else {
if (_OO11lOOlO == PausedMenu.MENU_HOWTOPLAY){
_O1ll00OO0.main.goHowToPlay(null);
} else {
if (_OO11lOOlO == PausedMenu.MENU_TROPHYROOM){
_O1ll00OO0.main.goTrophyRoomMenu(null);
};
};
};
}
}
}//package spill.TMH.Menus
Section 124
//PreloaderMenu (spill.TMH.Menus.PreloaderMenu)
package spill.TMH.Menus {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
import flash.net.*;
import TMH.MENU.*;
public class PreloaderMenu extends Sprite {
private var _O1lO1lO01:LoaderInfo;
private var _O0l0ll1OO:PreLoader_mc;
public function PreloaderMenu(_arg1:LoaderInfo){
_O1lO1lO01 = _arg1;
_O1lO1lO01.addEventListener(ProgressEvent.PROGRESS, _O0000OlO0, false, 0, true);
_O0l0ll1OO = new PreLoader_mc();
_O0l0ll1OO.btn_MoreGames.addEventListener(MouseEvent.CLICK, _O0OO1l01O, false, 0, true);
addChild(_O0l0ll1OO);
}
private function _O0OO1l01O(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("More_Games_Button_Preloader")));
}
private function _O0000OlO0(_arg1:ProgressEvent):void{
var _local2:Number = (_O1lO1lO01.bytesLoaded / _O1lO1lO01.bytesTotal);
_O0l0ll1OO.txtCount.text = (Math.round((_local2 * 100)) + "%");
if (_local2 == 1){
_O1lO1lO01.removeEventListener(ProgressEvent.PROGRESS, _O0000OlO0, false);
_O1lO1lO01 = null;
};
}
}
}//package spill.TMH.Menus
Section 125
//SendToFriendInMenu (spill.TMH.Menus.SendToFriendInMenu)
package spill.TMH.Menus {
import flash.events.*;
import spill.TMH.Data.Cards.*;
import flash.display.*;
import spill.TMH.Category.*;
import flash.utils.*;
import spill.TMH.sound.*;
import spill.TMH.Core.*;
public class SendToFriendInMenu extends Menu {
private var _O0Ol0l00l:uint;
private var _OOlOl1O10:int;
private var _O00OlOl1O:String;
private var _O1O1O0lO1:int;
private var _O1OOllO0O:String;
private var _OOllO0O0O:String;
private var _OOO01O100:SendToFriendIn_mc;
public function SendToFriendInMenu(_arg1:Main, _arg2:String):void{
super(_arg1);
Music.playSong("mainScreen");
_OOO01O100 = new SendToFriendIn_mc();
addChild(_OOO01O100);
_O00OlOl1O = _arg2;
_OOlOl1O10 = 0;
_O0Ol0l00l = 0;
_OOllO0O0O = "";
_O1OOllO0O = "";
_O1O1O0lO1 = 0;
_O00ll10l1();
Utils.initButton(_OOO01O100.closebutton, _O1l0O10lO);
Utils.initButton(_OOO01O100.btn_friendsgame, _O1lO001l1);
Utils.initButton(_OOO01O100.btn_startgame, _O00l0ll01);
}
private function _O0lO11100():void{
_OOO01O100.txt_friendOfIsA_rank.embedFonts = true;
_OOO01O100.txt_friendOfIsA_rank.text = ((_OOllO0O0O + " ") + Utils.m_getSendToFriendInText(_O1O1O0lO1));
}
private function _O00l0ll01(_arg1:Event):void{
_O1l0O10lO(null);
main.goGameModeMenu();
}
private function _O1l0O10lO(_arg1:Event):void{
if (((parent) && (parent.contains(this)))){
parent.removeChild(this);
};
}
private function _O0llO10ll():void{
var _local1:Class = (getDefinitionByName(_O1OOllO0O) as Class);
var _local2:BitmapData = (new _local1(0, 0) as BitmapData);
var _local3:Bitmap = new Bitmap(_local2, "auto", true);
_local3.width = 180;
_local3.height = 180;
_local3.x = (-(_local3.width) / 2);
_local3.y = (-(_local3.height) / 2);
_OOO01O100.placeholder_image.addChild(_local3);
}
private function _O1lO001l1(_arg1:Event):void{
var _local2:CategoryCard_mc;
var _local3:MovieClip;
var _local4:GameModeCard;
if (_OOlOl1O10 < 100){
_local2 = new CategoryCard_mc();
_local3 = new MovieClip();
_local3.graphics.beginBitmapFill(CardsData.categoryCards[("category" + _OOlOl1O10)][2]);
_local3.graphics.drawRect(0, 0, 50, 70);
_local3.graphics.endFill();
_local2.imagePlaceHolder.addChild(_local3);
_local4 = new GameModeCard(_local2, CardsData.categoryCards[("category" + _OOlOl1O10)][1], CardsData.categoryCards[("category" + _OOlOl1O10)][3]);
_local4.name = CardsData.categoryCards[("category" + _OOlOl1O10)][0];
} else {
_local2 = new CategoryCard_mc();
_local3 = new MovieClip();
_local3.graphics.beginBitmapFill(CardsData.randomCategoryCards[("category" + _OOlOl1O10)][2]);
_local3.graphics.drawRect(0, 0, 50, 70);
_local3.graphics.endFill();
_local2.imagePlaceHolder.addChild(_local3);
_local4 = new GameModeCard(_local2, CardsData.randomCategoryCards[("category" + _OOlOl1O10)][1], main.GetRandomCards(CardsData.randomCategoryCards[("category" + _OOlOl1O10)][3]));
_local4.name = CardsData.randomCategoryCards[("category" + _OOlOl1O10)][0];
};
_O1l0O10lO(null);
if (_local4){
main.startGame(_local4);
} else {
main.goMainMenu(null);
};
}
public function importString(_arg1:String):Boolean{
var _local2:BitArray = new BitArray();
_local2.writeBytes(Base64.decodeToByteArray(unescape(_arg1)));
_local2.position = 0;
_OOlOl1O10 = _local2.readBits(8);
_O0Ol0l00l = _local2.readBits(16);
_O1O1O0lO1 = _local2.readBits(8);
_O1OOllO0O = _local2.readUTF();
_OOllO0O0O = _local2.readUTF();
return (false);
}
private function _O00ll10l1():void{
importString(_O00OlOl1O);
_O0llO10ll();
_O0lO11100();
}
}
}//package spill.TMH.Menus
Section 126
//SendToFriendOutMenu (spill.TMH.Menus.SendToFriendOutMenu)
package spill.TMH.Menus {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import spill.TMH.sound.*;
import spill.localisation.*;
import spill.TMH.Core.*;
import flash.system.*;
public class SendToFriendOutMenu extends Menu {
private var _O0O0O0l11:int;
private var _O010100lO:int;
private var _O1lO1l1l0:SendToFriendOut_mc;
public var callBackFunctionClose:Function;
private var _OO010lOO1:String;
public function SendToFriendOutMenu(_arg1:Main, _arg2:String, _arg3:int):void{
super(_arg1);
_O1lO1l1l0 = new SendToFriendOut_mc();
addChild(_O1lO1l1l0);
_OO010lOO1 = _arg2;
_O010100lO = main.m_gameStats.m_categoryID;
_O0O0O0l11 = _arg3;
_OO00l0110();
_O01l10O0l();
_O1lO1l1l0.txt_link.selectable = false;
_O1lO1l1l0.txt_playernameSubmit.selectable = true;
_O1lO1l1l0.txt_playernameSubmit.mouseEnabled = true;
_O1lO1l1l0.txt_playernameSubmit.maxChars = 20;
_O1lO1l1l0.txt_playernameSubmit.text = SpilGame.getString("Player_Name");
if (!_O1lO1l1l0.txt_playernameSubmit.hasEventListener(KeyboardEvent.KEY_DOWN)){
_O1lO1l1l0.txt_playernameSubmit.addEventListener(KeyboardEvent.KEY_DOWN, _OOlO1ll0l, false, 0, false);
};
if (!_O1lO1l1l0.txt_playernameSubmit.hasEventListener(KeyboardEvent.KEY_UP)){
_O1lO1l1l0.txt_playernameSubmit.addEventListener(KeyboardEvent.KEY_UP, onKeyUp, false, 0, false);
};
_OOO0OO1O0();
Utils.initButton(_O1lO1l1l0.closebutton, _O00l1l1O0);
Utils.initButton(_O1lO1l1l0.btn_copyUrl, _OO011O1l0);
}
private function _O00l1l1O0(_arg1:MouseEvent):void{
if (_O1lO1l1l0.txt_playernameSubmit.hasEventListener(KeyboardEvent.KEY_DOWN)){
_O1lO1l1l0.txt_playernameSubmit.removeEventListener(KeyboardEvent.KEY_DOWN, _OOlO1ll0l);
};
if (_O1lO1l1l0.txt_playernameSubmit.hasEventListener(KeyboardEvent.KEY_UP)){
_O1lO1l1l0.txt_playernameSubmit.removeEventListener(KeyboardEvent.KEY_UP, onKeyUp);
};
callBackFunctionClose();
}
public function exportString(_arg1:String=""):String{
var _local2:BitArray = new BitArray();
var _local3:BitArray = new BitArray();
var _local4:uint = (main.m_gameStats.m_CalculateScore() as uint);
_local2.writeBits(_O010100lO, 8);
_local2.writeBits(_local4, 16);
_local2.writeBits(_O0O0O0l11, 8);
_local2.writeUTF(_OO010lOO1);
_local2.writeUTF(_arg1);
_local2.position = 0;
var _local5:String = escape(Base64.encodeByteArray(_local2));
return (_local5);
}
protected function onKeyUp(_arg1:Event):void{
_OOO0OO1O0();
}
private function _OOlO1ll0l(_arg1:Event):void{
SoundManager.playSound("menu", 6, 2);
}
private function _OO00l0110():void{
var _local1:Class = (getDefinitionByName(_OO010lOO1) as Class);
var _local2:BitmapData = (new _local1(0, 0) as BitmapData);
var _local3:Bitmap = new Bitmap(_local2, "auto", true);
_local3.width = 180;
_local3.height = 180;
_local3.x = (-(_local3.width) / 2);
_local3.y = (-(_local3.height) / 2);
_O1lO1l1l0.placeholder_image.addChild(_local3);
}
private function _OOO0OO1O0():void{
var _local1:String = exportString(_O1lO1l1l0.txt_playernameSubmit.text);
var _local2:String = SpilGame.getSendToFriendLink();
_O1lO1l1l0.txt_link.text = ((_local2 + "&code=") + _local1);
}
private function _OO011O1l0(_arg1:Event):void{
_OOO0OO1O0();
System.setClipboard(_O1lO1l1l0.txt_link.text);
}
private function _O01l10O0l():void{
_O1lO1l1l0.txt_sendtofriend_rank.embedFonts = true;
_O1lO1l1l0.txt_sendtofriend_rank.text = Utils.m_getSendToFriendOutText(_O0O0O0l11);
}
}
}//package spill.TMH.Menus
Section 127
//SubmitHighScoreMenu (spill.TMH.Menus.SubmitHighScoreMenu)
package spill.TMH.Menus {
import flash.events.*;
import flash.display.*;
import spill.TMH.sound.*;
import spill.localisation.*;
public class SubmitHighScoreMenu extends Menu {
public var bSubmitted:Boolean;
private var _O01O1l0lO:SubmitHighscore_mc;
public var callBackFunctionClose:Function;
public function SubmitHighScoreMenu(_arg1:Main, _arg2:Bitmap, _arg3:Object):void{
super(_arg1);
_O01O1l0lO = new SubmitHighscore_mc();
addChild(_O01O1l0lO);
bSubmitted = false;
_O01O1l0lO.txt_playernameSubmit.selectable = true;
_O01O1l0lO.txt_playernameSubmit.mouseEnabled = true;
_O01O1l0lO.txt_playernameSubmit.maxChars = 20;
_O01O1l0lO.txt_playernameSubmit.text = SpilGame.getString("Player_Name");
if (!_O01O1l0lO.txt_playernameSubmit.hasEventListener(KeyboardEvent.KEY_DOWN)){
_O01O1l0lO.txt_playernameSubmit.addEventListener(KeyboardEvent.KEY_DOWN, _O1100Ol0O, false, 0, false);
};
_O01O1l0lO.txt_score.text = ("" + main.m_gameStats.m_CalculateScore());
_OOO110l1l(_arg2);
Utils.initButton(_O01O1l0lO.closebutton, _O1OllOlll);
Utils.initButton(_O01O1l0lO.btn_submit, _OOOO0O100);
}
private function _OO00l1l1l(_arg1:Event=null):void{
var _local2:String = _O01O1l0lO.txt_playernameSubmit.text;
var _local3:Number = (main.m_gameStats.m_CalculateScore() as Number);
if (_local2.length >= 1){
main.O01l10(_local2, _local3);
bSubmitted = true;
_O1OllOlll(null);
};
}
private function _OOOO0O100(_arg1:MouseEvent):void{
_OO00l1l1l(null);
main.goHighScores(null);
}
private function _OOO110l1l(_arg1:Bitmap):void{
_arg1.width = 180;
_arg1.height = 180;
_arg1.x = (-(_arg1.width) / 2);
_arg1.y = (-(_arg1.height) / 2);
_O01O1l0lO.placeholder_image.addChild(_arg1);
}
private function _O1100Ol0O(_arg1:Event):void{
SoundManager.playSound("menu", 6, 2);
}
private function _O1OllOlll(_arg1:MouseEvent):void{
callBackFunctionClose();
}
}
}//package spill.TMH.Menus
Section 128
//TrophyRoomMenu (spill.TMH.Menus.TrophyRoomMenu)
package spill.TMH.Menus {
import flash.events.*;
import spill.TMH.Data.Cards.*;
import flash.display.*;
import spill.TMH.Events.*;
import spill.TMH.Controls.*;
import flash.text.*;
import spill.TMH.Questions.*;
import spill.TMH.sound.*;
import flash.filters.*;
public class TrophyRoomMenu extends Menu {
private var _O0l1O0OlO:Boolean;
private var _O1O001ll1:TropheeRoom_mc;
private var _O0OOOO00O:Selector;
private var _OOO1Ol11O:Array;
private var _O0l0Ol010:TextFieldMultiFormat;
public function TrophyRoomMenu(_arg1:Main):void{
super(_arg1);
Music.playSong("mainScreen");
_O1O001ll1 = new TropheeRoom_mc();
addChild(_O1O001ll1);
_O0OOOO00O = new Selector(570, 85, null, null, new btn_TropheeRoom_Left(), null, new btn_TropheeRoom_Right(), 10, true, false, false);
_O0OOOO00O.x = 0;
_O0OOOO00O.y = 0;
_O0OOOO00O.setDispatchSelectedEvtObj(_O1O001ll1);
_O0OOOO00O.setDispatchMouseOverObject(_O1O001ll1);
_O1O001ll1.placeholder_tropheeslider.addChild(_O0OOOO00O);
_OOO1Ol11O = new Array();
_O0l1O0OlO = false;
if (main.m_gameStats.m_FactsUnlocked.length > 0){
_O0l1O0OlO = true;
};
_O0l0001lO();
_O0O10ll10();
Utils.initButton(_O1O001ll1.btn_scroll_down, _O0lll110O);
Utils.initButton(_O1O001ll1.btn_scroll_up, _O101O1O11);
Utils.initButton(_O1O001ll1.btn_main, main.goMainMenu);
Utils.initButton(_O1O001ll1.btn_highscore, main.goHighScores);
Utils.initBrandinButton(_O1O001ll1.btn_MoreGames, "More_Games_Button_TrophyRoom");
_O1O001ll1.addEventListener(SelectEvent.SELECTED, _OO001l0O1, false, 0, true);
_O1O001ll1.addEventListener(MouseOverObjectEvent.OVER_OBJECT, _O0l0l10O0, false, 0, true);
_O0l0Ol010 = new TextFieldMultiFormat(400, 210, false);
_O1O001ll1.placeholderTextbox.addChild(_O0l0Ol010);
}
private function _O1O101l10(_arg1:TrophyCard):void{
var _local5:TextFormat;
var _local6:TextFormat;
var _local11:int;
var _local12:TextField;
var _local13:TextField;
var _local2:int = _arg1.getCategory();
var _local3:int;
var _local4:String = Utils.m_getCategoryExcelName(_local2);
var _local7:Array = new Array();
_local7.push(new BlurFilter(3, 3, 3));
while (_O1O001ll1.placeholder_tropheeCardImg.numChildren > 0) {
_O1O001ll1.placeholder_tropheeCardImg.removeChildAt(0);
};
_O1O001ll1.txt_description_trophee.text = (" " + Utils.m_getTrophyCategoryNameByID(_local2));
_O1O001ll1.txt_description_trophee.embedFonts = true;
_O1O001ll1.txt_description_trophee.antiAliasType = AntiAliasType.ADVANCED;
_O0l0Ol010.Clear();
_O0l0Ol010.setStepSize(2);
_local5 = new TextFormat("Arial", 10, 3547404);
_local6 = new TextFormat("Arial", 8, 3547404, true, false, true);
var _local8:int;
while (_local8 < 10) {
_local11 = (CardsData.categoryCards[("category" + _local2)][3][_local8] as QuestionCard).getFact();
_local12 = new TextField();
_local12.embedFonts = true;
_local12.antiAliasType = AntiAliasType.ADVANCED;
_local13 = new TextField();
_local13.embedFonts = true;
_local13.antiAliasType = AntiAliasType.ADVANCED;
if (main.userdata.Questions[(((_local2 - 1) * 10) + _local8)] == 1){
_local3++;
} else {
_local13.filters = _local7;
};
_local12.defaultTextFormat = _local6;
_local12.text = Utils.m_getFactName(_local2, _local11);
_local12.selectable = false;
_local12.mouseEnabled = false;
_local13.defaultTextFormat = _local5;
_local13.text = Utils.m_getFact(_local4, _local11);
_local13.selectable = false;
_local13.mouseEnabled = false;
if (_O0OlO000l((((_local2 - 1) * 10) + _local8))){
_local12.filters = [new GlowFilter(0xFDF000, 0.8, 2, 2, 1)];
};
_O0l0Ol010.Add(_local12);
_O0l0Ol010.Add(_local13);
_local8++;
};
_O0l0Ol010.Show();
var _local9:MovieClip = new MovieClip();
var _local10:Bitmap = new Bitmap(CardsData.categoryCards[("category" + _local2)][2], "auto", true);
_local10.scaleX = 0.9;
_local10.scaleY = 0.9;
_local10.x = (-(_local10.width) / 2);
_local10.y = (-(_local10.height) / 2);
_local9.addChild(_local10);
_local9.rotation = -20;
_local9.y = (_local9.y - 10);
_local9.filters = [new DropShadowFilter(4, 45, 0x663300, 1, 4, 4), new BlurFilter(_OOl1l1l00(_local3), _OOl1l1l00(_local3), 1)];
_O1O001ll1.placeholder_tropheeCardImg.addChild(_local9);
}
private function _O0l0l10O0(_arg1:MouseOverObjectEvent):void{
if (_arg1.mouseOverOBj){
SoundManager.playSound("trophy", 1, 2);
};
}
private function _OOl1l1l00(_arg1:int):Number{
return ((10 - _arg1));
}
private function _O0lll110O(_arg1:Event):void{
_O0l0Ol010.ShowNext();
}
private function _O0O10ll10():void{
var _local2:MovieClip;
var _local4:Array;
var _local1:Array = main.m_gameStats.m_GetCorrectQuestions(main.userdata.Questions);
var _local3:int;
while (_local3 < _local1.length) {
_local4 = new Array();
_local4.push(new BlurFilter(_OOl1l1l00(_local1[_local3]), _OOl1l1l00(_local1[_local3]), 1));
(_OOO1Ol11O[_local3] as TrophyCard).visual.filters = _local4;
_local3++;
};
}
private function _O0l0001lO():void{
var _local2:TropheeCard_mc;
var _local3:Bitmap;
var _local4:TrophyCard;
var _local1:int;
_local1 = CardsData.categoryCards["Amount"][0];
var _local5 = 1;
while (_local5 <= _local1) {
_local2 = new TropheeCard_mc();
_local3 = new Bitmap(CardsData.categoryCards[("category" + _local5)][2], "auto", true);
_local3.width = 50;
_local3.height = 70;
_local2.imagePlaceHolder.addChild(_local3);
_local4 = new TrophyCard(_local2, CardsData.categoryCards[("category" + _local5)][1], CardsData.categoryCards[("category" + _local5)][3]);
_local4.name = CardsData.categoryCards[("category" + _local5)][0];
if (((_O0l1O0OlO) && ((main.m_gameStats.m_categoryID == CardsData.categoryCards[("category" + _local5)][1])))){
_local4.filters = [new GlowFilter(0xFDF000, 0.8, 4, 4, 12)];
};
_OOO1Ol11O.push(_local4);
_O0OOOO00O.insertObject(_local4);
_local5++;
};
}
private function _O101O1O11(_arg1:Event):void{
_O0l0Ol010.ShowPrevious();
}
private function _OO001l0O1(_arg1:SelectEvent):void{
if (_arg1.selectedOBj){
SoundManager.playSound("trophy", 0);
_O1O101l10((_arg1.selectedOBj as TrophyCard));
};
}
private function _O0OlO000l(_arg1:int):Boolean{
var _local2:int;
while (_local2 < main.m_gameStats.m_FactsUnlocked.length) {
if (_arg1 == main.m_gameStats.m_FactsUnlocked[_local2]){
return (true);
};
_local2++;
};
return (false);
}
}
}//package spill.TMH.Menus
Section 129
//Player (spill.TMH.Player.Player)
package spill.TMH.Player {
import spill.TMH.Core.*;
public class Player extends Actor {
}
}//package spill.TMH.Player
Section 130
//architecture_01 (spill.TMH.Questions.architecture_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_01 extends BitmapData {
public function architecture_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 131
//architecture_02 (spill.TMH.Questions.architecture_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_02 extends BitmapData {
public function architecture_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 132
//architecture_03 (spill.TMH.Questions.architecture_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_03 extends BitmapData {
public function architecture_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 133
//architecture_04 (spill.TMH.Questions.architecture_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_04 extends BitmapData {
public function architecture_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 134
//architecture_05 (spill.TMH.Questions.architecture_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_05 extends BitmapData {
public function architecture_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 135
//architecture_06 (spill.TMH.Questions.architecture_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_06 extends BitmapData {
public function architecture_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 136
//architecture_07 (spill.TMH.Questions.architecture_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_07 extends BitmapData {
public function architecture_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 137
//architecture_08 (spill.TMH.Questions.architecture_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_08 extends BitmapData {
public function architecture_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 138
//architecture_09 (spill.TMH.Questions.architecture_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_09 extends BitmapData {
public function architecture_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 139
//architecture_10 (spill.TMH.Questions.architecture_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class architecture_10 extends BitmapData {
public function architecture_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 140
//art_01 (spill.TMH.Questions.art_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_01 extends BitmapData {
public function art_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 141
//art_02 (spill.TMH.Questions.art_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_02 extends BitmapData {
public function art_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 142
//art_03 (spill.TMH.Questions.art_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_03 extends BitmapData {
public function art_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 143
//art_04 (spill.TMH.Questions.art_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_04 extends BitmapData {
public function art_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 144
//art_05 (spill.TMH.Questions.art_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_05 extends BitmapData {
public function art_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 145
//art_06 (spill.TMH.Questions.art_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_06 extends BitmapData {
public function art_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 146
//art_07 (spill.TMH.Questions.art_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_07 extends BitmapData {
public function art_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 147
//art_08 (spill.TMH.Questions.art_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_08 extends BitmapData {
public function art_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 148
//art_09 (spill.TMH.Questions.art_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_09 extends BitmapData {
public function art_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 149
//art_10 (spill.TMH.Questions.art_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class art_10 extends BitmapData {
public function art_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 150
//disasters_01 (spill.TMH.Questions.disasters_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_01 extends BitmapData {
public function disasters_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 151
//disasters_02 (spill.TMH.Questions.disasters_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_02 extends BitmapData {
public function disasters_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 152
//disasters_03 (spill.TMH.Questions.disasters_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_03 extends BitmapData {
public function disasters_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 153
//disasters_04 (spill.TMH.Questions.disasters_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_04 extends BitmapData {
public function disasters_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 154
//disasters_05 (spill.TMH.Questions.disasters_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_05 extends BitmapData {
public function disasters_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 155
//disasters_06 (spill.TMH.Questions.disasters_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_06 extends BitmapData {
public function disasters_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 156
//disasters_07 (spill.TMH.Questions.disasters_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_07 extends BitmapData {
public function disasters_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 157
//disasters_08 (spill.TMH.Questions.disasters_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_08 extends BitmapData {
public function disasters_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 158
//disasters_09 (spill.TMH.Questions.disasters_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_09 extends BitmapData {
public function disasters_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 159
//disasters_10 (spill.TMH.Questions.disasters_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class disasters_10 extends BitmapData {
public function disasters_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 160
//evolution_01 (spill.TMH.Questions.evolution_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_01 extends BitmapData {
public function evolution_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 161
//evolution_02 (spill.TMH.Questions.evolution_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_02 extends BitmapData {
public function evolution_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 162
//evolution_03 (spill.TMH.Questions.evolution_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_03 extends BitmapData {
public function evolution_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 163
//evolution_04 (spill.TMH.Questions.evolution_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_04 extends BitmapData {
public function evolution_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 164
//evolution_05 (spill.TMH.Questions.evolution_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_05 extends BitmapData {
public function evolution_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 165
//evolution_06 (spill.TMH.Questions.evolution_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_06 extends BitmapData {
public function evolution_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 166
//evolution_07 (spill.TMH.Questions.evolution_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_07 extends BitmapData {
public function evolution_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 167
//evolution_08 (spill.TMH.Questions.evolution_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_08 extends BitmapData {
public function evolution_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 168
//evolution_09 (spill.TMH.Questions.evolution_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_09 extends BitmapData {
public function evolution_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 169
//evolution_10 (spill.TMH.Questions.evolution_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class evolution_10 extends BitmapData {
public function evolution_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 170
//extinct_01 (spill.TMH.Questions.extinct_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_01 extends BitmapData {
public function extinct_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 171
//extinct_02 (spill.TMH.Questions.extinct_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_02 extends BitmapData {
public function extinct_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 172
//extinct_03 (spill.TMH.Questions.extinct_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_03 extends BitmapData {
public function extinct_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 173
//extinct_04 (spill.TMH.Questions.extinct_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_04 extends BitmapData {
public function extinct_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 174
//extinct_05 (spill.TMH.Questions.extinct_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_05 extends BitmapData {
public function extinct_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 175
//extinct_06 (spill.TMH.Questions.extinct_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_06 extends BitmapData {
public function extinct_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 176
//extinct_07 (spill.TMH.Questions.extinct_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_07 extends BitmapData {
public function extinct_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 177
//extinct_08 (spill.TMH.Questions.extinct_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_08 extends BitmapData {
public function extinct_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 178
//extinct_09 (spill.TMH.Questions.extinct_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_09 extends BitmapData {
public function extinct_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 179
//extinct_10 (spill.TMH.Questions.extinct_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class extinct_10 extends BitmapData {
public function extinct_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 180
//fashion_01 (spill.TMH.Questions.fashion_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_01 extends BitmapData {
public function fashion_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 181
//fashion_02 (spill.TMH.Questions.fashion_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_02 extends BitmapData {
public function fashion_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 182
//fashion_03 (spill.TMH.Questions.fashion_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_03 extends BitmapData {
public function fashion_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 183
//fashion_04 (spill.TMH.Questions.fashion_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_04 extends BitmapData {
public function fashion_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 184
//fashion_05 (spill.TMH.Questions.fashion_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_05 extends BitmapData {
public function fashion_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 185
//fashion_06 (spill.TMH.Questions.fashion_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_06 extends BitmapData {
public function fashion_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 186
//fashion_07 (spill.TMH.Questions.fashion_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_07 extends BitmapData {
public function fashion_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 187
//fashion_08 (spill.TMH.Questions.fashion_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_08 extends BitmapData {
public function fashion_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 188
//fashion_09 (spill.TMH.Questions.fashion_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_09 extends BitmapData {
public function fashion_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 189
//fashion_10 (spill.TMH.Questions.fashion_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class fashion_10 extends BitmapData {
public function fashion_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 190
//food_01 (spill.TMH.Questions.food_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_01 extends BitmapData {
public function food_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 191
//food_02 (spill.TMH.Questions.food_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_02 extends BitmapData {
public function food_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 192
//food_03 (spill.TMH.Questions.food_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_03 extends BitmapData {
public function food_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 193
//food_04 (spill.TMH.Questions.food_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_04 extends BitmapData {
public function food_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 194
//food_05 (spill.TMH.Questions.food_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_05 extends BitmapData {
public function food_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 195
//food_06 (spill.TMH.Questions.food_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_06 extends BitmapData {
public function food_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 196
//food_07 (spill.TMH.Questions.food_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_07 extends BitmapData {
public function food_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 197
//food_08 (spill.TMH.Questions.food_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_08 extends BitmapData {
public function food_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 198
//food_09 (spill.TMH.Questions.food_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_09 extends BitmapData {
public function food_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 199
//food_10 (spill.TMH.Questions.food_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class food_10 extends BitmapData {
public function food_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 200
//important_people_01 (spill.TMH.Questions.important_people_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_01 extends BitmapData {
public function important_people_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 201
//important_people_02 (spill.TMH.Questions.important_people_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_02 extends BitmapData {
public function important_people_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 202
//important_people_03 (spill.TMH.Questions.important_people_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_03 extends BitmapData {
public function important_people_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 203
//important_people_04 (spill.TMH.Questions.important_people_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_04 extends BitmapData {
public function important_people_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 204
//important_people_05 (spill.TMH.Questions.important_people_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_05 extends BitmapData {
public function important_people_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 205
//important_people_06 (spill.TMH.Questions.important_people_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_06 extends BitmapData {
public function important_people_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 206
//important_people_07 (spill.TMH.Questions.important_people_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_07 extends BitmapData {
public function important_people_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 207
//important_people_08 (spill.TMH.Questions.important_people_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_08 extends BitmapData {
public function important_people_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 208
//important_people_09 (spill.TMH.Questions.important_people_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_09 extends BitmapData {
public function important_people_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 209
//important_people_10 (spill.TMH.Questions.important_people_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class important_people_10 extends BitmapData {
public function important_people_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 210
//inventions_01 (spill.TMH.Questions.inventions_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_01 extends BitmapData {
public function inventions_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 211
//inventions_02 (spill.TMH.Questions.inventions_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_02 extends BitmapData {
public function inventions_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 212
//inventions_03 (spill.TMH.Questions.inventions_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_03 extends BitmapData {
public function inventions_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 213
//inventions_04 (spill.TMH.Questions.inventions_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_04 extends BitmapData {
public function inventions_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 214
//inventions_05 (spill.TMH.Questions.inventions_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_05 extends BitmapData {
public function inventions_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 215
//inventions_06 (spill.TMH.Questions.inventions_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_06 extends BitmapData {
public function inventions_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 216
//inventions_07 (spill.TMH.Questions.inventions_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_07 extends BitmapData {
public function inventions_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 217
//inventions_08 (spill.TMH.Questions.inventions_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_08 extends BitmapData {
public function inventions_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 218
//inventions_09 (spill.TMH.Questions.inventions_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_09 extends BitmapData {
public function inventions_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 219
//inventions_10 (spill.TMH.Questions.inventions_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class inventions_10 extends BitmapData {
public function inventions_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 220
//mobility_01 (spill.TMH.Questions.mobility_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_01 extends BitmapData {
public function mobility_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 221
//mobility_02 (spill.TMH.Questions.mobility_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_02 extends BitmapData {
public function mobility_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 222
//mobility_03 (spill.TMH.Questions.mobility_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_03 extends BitmapData {
public function mobility_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 223
//mobility_04 (spill.TMH.Questions.mobility_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_04 extends BitmapData {
public function mobility_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 224
//mobility_05 (spill.TMH.Questions.mobility_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_05 extends BitmapData {
public function mobility_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 225
//mobility_06 (spill.TMH.Questions.mobility_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_06 extends BitmapData {
public function mobility_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 226
//mobility_07 (spill.TMH.Questions.mobility_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_07 extends BitmapData {
public function mobility_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 227
//mobility_08 (spill.TMH.Questions.mobility_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_08 extends BitmapData {
public function mobility_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 228
//mobility_09 (spill.TMH.Questions.mobility_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_09 extends BitmapData {
public function mobility_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 229
//mobility_10 (spill.TMH.Questions.mobility_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class mobility_10 extends BitmapData {
public function mobility_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 230
//QuestionCard_mc (spill.TMH.Questions.QuestionCard_mc)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class QuestionCard_mc extends MovieClip {
public var Top:MovieClip;
public var imagePlaceHolder:MovieClip;
public function QuestionCard_mc(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package spill.TMH.Questions
Section 231
//science_01 (spill.TMH.Questions.science_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_01 extends BitmapData {
public function science_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 232
//science_02 (spill.TMH.Questions.science_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_02 extends BitmapData {
public function science_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 233
//science_03 (spill.TMH.Questions.science_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_03 extends BitmapData {
public function science_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 234
//science_04 (spill.TMH.Questions.science_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_04 extends BitmapData {
public function science_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 235
//science_05 (spill.TMH.Questions.science_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_05 extends BitmapData {
public function science_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 236
//science_06 (spill.TMH.Questions.science_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_06 extends BitmapData {
public function science_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 237
//science_07 (spill.TMH.Questions.science_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_07 extends BitmapData {
public function science_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 238
//science_08 (spill.TMH.Questions.science_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_08 extends BitmapData {
public function science_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 239
//science_09 (spill.TMH.Questions.science_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_09 extends BitmapData {
public function science_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 240
//science_10 (spill.TMH.Questions.science_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class science_10 extends BitmapData {
public function science_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 241
//TropheeCard_mc (spill.TMH.Questions.TropheeCard_mc)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class TropheeCard_mc extends MovieClip {
public var imagePlaceHolder:MovieClip;
public var Top:MovieClip;
}
}//package spill.TMH.Questions
Section 242
//wars_01 (spill.TMH.Questions.wars_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_01 extends BitmapData {
public function wars_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 243
//wars_02 (spill.TMH.Questions.wars_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_02 extends BitmapData {
public function wars_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 244
//wars_03 (spill.TMH.Questions.wars_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_03 extends BitmapData {
public function wars_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 245
//wars_04 (spill.TMH.Questions.wars_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_04 extends BitmapData {
public function wars_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 246
//wars_05 (spill.TMH.Questions.wars_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_05 extends BitmapData {
public function wars_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 247
//wars_06 (spill.TMH.Questions.wars_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_06 extends BitmapData {
public function wars_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 248
//wars_07 (spill.TMH.Questions.wars_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_07 extends BitmapData {
public function wars_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 249
//wars_08 (spill.TMH.Questions.wars_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_08 extends BitmapData {
public function wars_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 250
//wars_09 (spill.TMH.Questions.wars_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_09 extends BitmapData {
public function wars_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 251
//wars_10 (spill.TMH.Questions.wars_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class wars_10 extends BitmapData {
public function wars_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 252
//world_and_universe_exploration_01 (spill.TMH.Questions.world_and_universe_exploration_01)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_01 extends BitmapData {
public function world_and_universe_exploration_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 253
//world_and_universe_exploration_02 (spill.TMH.Questions.world_and_universe_exploration_02)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_02 extends BitmapData {
public function world_and_universe_exploration_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 254
//world_and_universe_exploration_03 (spill.TMH.Questions.world_and_universe_exploration_03)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_03 extends BitmapData {
public function world_and_universe_exploration_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 255
//world_and_universe_exploration_04 (spill.TMH.Questions.world_and_universe_exploration_04)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_04 extends BitmapData {
public function world_and_universe_exploration_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 256
//world_and_universe_exploration_05 (spill.TMH.Questions.world_and_universe_exploration_05)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_05 extends BitmapData {
public function world_and_universe_exploration_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 257
//world_and_universe_exploration_06 (spill.TMH.Questions.world_and_universe_exploration_06)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_06 extends BitmapData {
public function world_and_universe_exploration_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 258
//world_and_universe_exploration_07 (spill.TMH.Questions.world_and_universe_exploration_07)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_07 extends BitmapData {
public function world_and_universe_exploration_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 259
//world_and_universe_exploration_08 (spill.TMH.Questions.world_and_universe_exploration_08)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_08 extends BitmapData {
public function world_and_universe_exploration_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 260
//world_and_universe_exploration_09 (spill.TMH.Questions.world_and_universe_exploration_09)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_09 extends BitmapData {
public function world_and_universe_exploration_09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 261
//world_and_universe_exploration_10 (spill.TMH.Questions.world_and_universe_exploration_10)
package spill.TMH.Questions {
import flash.display.*;
public dynamic class world_and_universe_exploration_10 extends BitmapData {
public function world_and_universe_exploration_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package spill.TMH.Questions
Section 262
//Music (spill.TMH.sound.Music)
package spill.TMH.sound {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import TMH.Music.*;
public class Music {
private static const _O0O0O000l:Number = 30;
public static const TEST:Object = {fadeInStart:0, fadeInTime:5, fadeOutStart:1, fadeOutTime:5};
public static const FADE_IN_OUT:Object = {fadeInStart:0.3, fadeInTime:1, fadeOutStart:1, fadeOutTime:1};
public static const NO_FADE:Object = {fadeInStart:1, fadeInTime:0, fadeOutStart:0, fadeOutTime:0};
public static const FADE_IN:Object = {fadeInStart:0.3, fadeInTime:1, fadeOutStart:0, fadeOutTime:0};
public static const FADE_OUT:Object = {fadeInStart:0, fadeInTime:0, fadeOutStart:1, fadeOutTime:1};
private static var _OOl111ll1:SoundChannel;
private static var _O1O011011:SoundTransform;
private static var _O00O11Ol1:Boolean = false;
private static var _OO01l1l1l:Sound;
private static var _O1l00l000:Number = 1;
private static var _O0O01l101:Number;
public static var _volume:Number = 1;
private static var _OO010l000:String;
private static var _O11l101l1:SoundChannel;
private static var _O001lO1l1:MovieClip = new MovieClip();
private static var _OO111OO1O:Object;
private static var _O0O011100:Boolean;
private static var _OOOO0lOl1:String;
private static var _O0l0Oll1O:SoundTransform;
private static var _O110Ol011:Object = {mainScreen:mainscreen_mp3, LowIQ:Low_iq_mp3, Trophy:trophy_mp3, Victory:victory_mp3, Music_1:music_1_mp3, Music_2:music_2_mp3};
private static var _O0011Ol0l:Sound;
public static var playList:Array = new Array();
public static function pause():void{
_O0O011100 = true;
_O0O01l101 = _O11l101l1.position;
_O11l101l1.stop();
}
private static function _OOOll10ll(_arg1:Event):void{
var _local2:Boolean;
var _local3:Boolean;
if (((((_OO010l000) && (_O1O011011))) && (_OOl111ll1))){
_O1O011011.volume = (_O1O011011.volume - (volume / (_O0O0O000l * _OO111OO1O.fadeOutTime)));
if (_O1O011011.volume <= 0){
_O1O011011.volume = 0;
_OOl111ll1.stop();
_local2 = true;
} else {
_OOl111ll1.soundTransform = _O1O011011;
};
} else {
_local2 = true;
};
if (((((_OOOO0lOl1) && (_O0l0Oll1O))) && (_O11l101l1))){
_O0l0Oll1O.volume = (_O0l0Oll1O.volume + (volume / (_O0O0O000l * _OO111OO1O.fadeInTime)));
if (_O0l0Oll1O.volume >= (volume * _O1l00l000)){
_O0l0Oll1O.volume = (volume * _O1l00l000);
_local3 = true;
};
_O11l101l1.soundTransform = _O0l0Oll1O;
} else {
_local3 = true;
};
if (((_local2) && (_local3))){
_O001lO1l1.removeEventListener(Event.ENTER_FRAME, _OOOll10ll);
_O00O11Ol1 = false;
playNextItemInList();
};
}
public static function get mute():Boolean{
return (!(Boolean(_O1l00l000)));
}
public static function get volume():Number{
return (_volume);
}
public static function resume():void{
if (!_O0O011100){
return;
};
_O0O011100 = false;
_O11l101l1 = _OO01l1l1l.play((_O0O01l101 % _OO01l1l1l.length), 1, _O0l0Oll1O);
if (_O11l101l1){
_O11l101l1.addEventListener(Event.SOUND_COMPLETE, _O0O01O1O0, false, 0, true);
};
}
public static function addNextItemInList(_arg1:Object):void{
if ((_arg1 as PlayListItem)){
playList.push(_arg1);
};
}
public static function set mute(_arg1:Boolean):void{
_O1l00l000 = (_arg1) ? 0 : 1;
if (((_O0l0Oll1O) && (_O11l101l1))){
_O0l0Oll1O.volume = (_O1l00l000 * volume);
_O11l101l1.soundTransform = _O0l0Oll1O;
};
}
private static function _O0O01O1O0(_arg1:Event):void{
_O11l101l1 = _OO01l1l1l.play(0, 100, _O0l0Oll1O);
}
public static function set volume(_arg1:Number):void{
_volume = _arg1;
if (((_O0l0Oll1O) && (_O11l101l1))){
_O0l0Oll1O.volume = (_O1l00l000 * _volume);
_O11l101l1.soundTransform = _O0l0Oll1O;
};
}
public static function stopSong(_arg1:Object=null):void{
playSong(null, false, _arg1);
}
public static function CreatePlayListItem(_arg1:String=null, _arg2:Boolean=true, _arg3:Object=null, _arg4:Boolean=false):Object{
return ((new PlayListItem(_arg1, _arg2, _arg3, _arg4) as Object));
}
public static function playSong(_arg1:String=null, _arg2:Boolean=true, _arg3:Object=null, _arg4:Boolean=false):SoundChannel{
if ((((_OOOO0lOl1 == _arg1)) && (!(_arg4)))){
return (_O11l101l1);
};
if (((_O00O11Ol1) && (_OOl111ll1))){
_OOl111ll1.stop();
};
_OO111OO1O = (_arg3) ? _arg3 : FADE_IN_OUT;
_O0O01l101 = 0;
if (_OOOO0lOl1 != null){
_OO010l000 = _OOOO0lOl1;
_O0011Ol0l = _OO01l1l1l;
_O1O011011 = _O0l0Oll1O;
_OOl111ll1 = _O11l101l1;
if (_O1O011011){
_O1O011011.volume = ((_OO111OO1O.fadeOutStart * volume) * _O1l00l000);
};
};
_OOOO0lOl1 = _arg1;
if (_O110Ol011[_arg1] != null){
_OO01l1l1l = new (_O110Ol011[_arg1]);
_O11l101l1 = _OO01l1l1l.play(0, (_arg2) ? 100 : 1);
_O0l0Oll1O = new SoundTransform();
_O0l0Oll1O.volume = ((_OO111OO1O.fadeInStart * volume) * _O1l00l000);
if (_O11l101l1){
_O11l101l1.soundTransform = _O0l0Oll1O;
};
};
_O001lO1l1.addEventListener(Event.ENTER_FRAME, _OOOll10ll);
_O00O11Ol1 = true;
_O0O011100 = false;
return (_O11l101l1);
}
public static function playNextItemInList():void{
var _local1:PlayListItem;
if (playList.length > 0){
_local1 = (playList.splice(0, 1)[0] as PlayListItem);
if (_local1){
playSong(_local1.m_song, _local1.m_loop, _local1.m_Fade, _local1.m_restart);
};
};
}
}
}//package spill.TMH.sound
class PlayListItem {
public var m_loop:Boolean;// = true
public var m_song:String;// = null
public var m_restart:Boolean;// = false
public var m_Fade:Object;// = null
private function PlayListItem(_arg1:String, _arg2:Boolean=true, _arg3:Object=null, _arg4:Boolean=false){
m_song = _arg1;
m_Fade = _arg3;
m_loop = _arg2;
m_restart = _arg4;
}
}
Section 263
//SoundFX (spill.TMH.sound.SoundFX)
package spill.TMH.sound {
import flash.events.*;
import flash.media.*;
import spill.TMH.*;
import flash.utils.*;
public class SoundFX {
private static var _O1O1O1ll1:Dictionary = new Dictionary();
private static var _O00O000Ol:Boolean = false;
private static var _O0000l01l:Dictionary = new Dictionary();
public static var volume:Number = 1;
public static function isPlaying(_arg1:SoundChannel):Boolean{
if (_O1O1O1ll1[_arg1]){
return (true);
};
return (false);
}
public static function resetCounters():void{
_O1O1O1ll1 = new Dictionary();
_O0000l01l = new Dictionary();
}
public static function set mute(_arg1:Boolean):void{
_O00O000Ol = _arg1;
}
private static function _OO00OOl10(_arg1:Event):void{
var _local2:Class = _O1O1O1ll1[_arg1.currentTarget];
var _local3:SoundChannel = (_arg1.currentTarget as SoundChannel);
var _local4 = _O0000l01l;
var _local5 = _local2;
var _local6 = (_local4[_local5] - 1);
_local4[_local5] = _local6;
_O1O1O1ll1[_arg1.currentTarget] = null;
delete _O1O1O1ll1[_arg1.currentTarget];
_local2 = null;
_local3 = null;
}
public static function get mute():Boolean{
return (_O00O000Ol);
}
public static function playSound(_arg1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=0, _arg5:Number=1):SoundChannel{
var _local9:Number;
var _local10:Number;
if ((_arg1 is Array)){
_arg1 = _arg1[Math.floor((Math.random() * _arg1.length))];
};
if ((!(_arg1) is Class)){
return (null);
};
if (_O0000l01l[_arg1] >= _arg5){
return (null);
};
var _local6:Sound = new (_arg1);
var _local7:SoundChannel = _local6.play(0, _arg2);
if (!_local7){
return (null);
};
var _local8:SoundTransform = new SoundTransform((_O00O000Ol) ? 0 : (volume * _arg3));
if (_arg4 != 0){
_local9 = GameDisplay.instance.getSoundPanning(_arg4);
_local10 = 1;
if (_local9 < -1){
_local10 = (_local10 + (1 + _local9));
_local9 = -1;
} else {
if (_local9 > 1){
_local10 = (_local10 + (1 - _local9));
_local9 = 1;
};
};
_local8.pan = _local9;
_local8.volume = (_local8.volume * Math.max(Math.min(_local10, 1), 0));
};
_local7.soundTransform = _local8;
_O1O1O1ll1[_local7] = _arg1;
if (!_O0000l01l[_arg1]){
_O0000l01l[_arg1] = 0;
};
var _local11 = _O0000l01l;
var _local12 = _arg1;
var _local13 = (_local11[_local12] + 1);
_local11[_local12] = _local13;
_local7.addEventListener(Event.SOUND_COMPLETE, _OO00OOl10);
return (_local7);
}
}
}//package spill.TMH.sound
Section 264
//SoundManager (spill.TMH.sound.SoundManager)
package spill.TMH.sound {
import flash.media.*;
import TMH.SFX.*;
public class SoundManager {
public static var sounds:Object = {trophy:[[TropheeClickwav], [TropheeRoomMouseOverwav]], ingame:[[PlaceCardsWrongwav], [PlaceCardsRightwav], [GrabCardswav], [GameScreenMouseOverwav]], results:[[AllRightSoundwav], [ReachingGoalSoundwav], [BuildUpSoundwav], [PictureCapturingwav], [card1wav]], timeline:[[TimelineSlidingwav]], ranking:[[EruditeDolphinwav], [BrainlessAmoebawav], [DopeyDunkleosteuswav], [BrainyHomoSapienwav], [DozDodowav], [FoolishFleawav], [MoronicMoldwav], [KnowItAllNeanderthalwav], [ImbecilicDinosaurwav], [FeebleMindedJellyfishwav]], menu:[[PauseGameScreenClickwav], [Arrowwav], [GameModeScreenClickwav], [GameModeScreenMouseOverwav], [MainscreenMouseOverwav], [MainscreenClickwav], [TypeInSoundwav]]};
public static function playSound(_arg1:String, _arg2:Number, _arg3:int=1, _arg4:Number=0, _arg5:Number=0):SoundChannel{
var _local6:Array = sounds[_arg1][_arg2];
if (((_local6) && ((_local6.length > 0)))){
if (_arg5 == 0){
return (SoundFX.playSound(_local6[0], 1, SoundFX.volume, _arg4, _arg3));
};
return (SoundFX.playSound(_local6[0], 1, _arg5, _arg4, _arg3));
};
return (null);
}
}
}//package spill.TMH.sound
Section 265
//Analytics (spill.TMH.tracker.Analytics)
package spill.TMH.tracker {
import flash.display.*;
import com.google.analytics.*;
public class Analytics {
private static var _O1l10OO0l:String = "Test_My_History";
private static var _O10Ol1O11:Boolean = false;
private static var _OOO001110:String = "UA-6695967-1";
private static var _O00Ol0Ol1:Boolean = false;
private static var _O11O0l0Ol:AnalyticsTracker;
private static var _O1Olllll0:Boolean = false;
public static function gameCompletedEvent():void{
if (!_O1Olllll0){
_O1Olllll0 = true;
_O11O0l0Ol.trackEvent(_O1l10OO0l, "Game completed", "per session", 0);
};
}
public static function initialize(_arg1:DisplayObject, _arg2:Boolean=true):void{
_O11O0l0Ol = new GATracker(_arg1, _OOO001110, "AS3", _arg2);
}
public static function mainScreenEvent():void{
if (!_O00Ol0Ol1){
_O00Ol0Ol1 = true;
_O11O0l0Ol.trackEvent(_O1l10OO0l, "mainscreen viewed", "per session", 0);
};
}
public static function levelCompleteEvent():void{
if (!_O10Ol1O11){
_O10Ol1O11 = true;
_O11O0l0Ol.trackEvent(_O1l10OO0l, "One test complete", "per session", 0);
};
}
}
}//package spill.TMH.tracker
Section 266
//Game (spill.TMH.Game)
package spill.TMH {
import flash.events.*;
import flash.display.*;
import spill.TMH.Controls.*;
import flash.utils.*;
import spill.TMH.Menus.*;
import spill.TMH.Player.*;
import spill.TMH.Hud.*;
import flash.ui.*;
import flash.system.*;
public class Game extends MovieClip {
public var main:Main;
private var _O0lllllll:PausedMenu;
protected var bDestroyed:Boolean;// = false
public var player:Player;
protected var previousFrameTime:Number;
public var gameDisplay:GameDisplay;
private var _O00ll01lO:Number;// = 0
public var hud:HudManager;
public var mouseControl:MouseControl;
public function Game(_arg1:Main){
addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true);
addEventListener(Event.ENTER_FRAME, update, false, 990, false);
main = _arg1;
}
override public function stop():void{
gameDisplay.coverLayer.visible = true;
gameDisplay.pauseChanged(true);
if (!_O0lllllll){
_O0lllllll = new PausedMenu(this);
_O0lllllll.x = 0;
_O0lllllll.y = 0;
addChild(_O0lllllll);
};
if (stage){
stage.quality = StageQuality.BEST;
};
mouseControl.hide();
}
public function get running():Boolean{
return (!(bDestroyed));
}
public function quit():void{
main.goMainMenu(null);
}
public function init(_arg1:Event=null):void{
gameDisplay = new GameDisplay();
addChild(gameDisplay);
initBackground();
hud = new HudManager(gameDisplay, this);
hud.addGameHUD();
mouseControl = new MouseControl(gameDisplay);
gameDisplay.setMouseControl(mouseControl);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent, false, 991, true);
stage.addEventListener(FocusEvent.FOCUS_OUT, _OOOl1OO1O, false, 0, true);
addEventListener(Event.DEACTIVATE, deactivate, false, 0, true);
stage.focus = stage;
if (main.userdata.bSavedSettingsOnce){
stage.quality = main.userdata.GetStageQuality();
} else {
stage.quality = StageQuality.MEDIUM;
};
prepareLevel();
}
private function _OOOl1OO1O(_arg1:FocusEvent):void{
if (stage){
stage.focus = stage;
};
}
protected function initBackground():void{
}
public function start():void{
stage.focus = stage;
gameDisplay.coverLayer.visible = false;
gameDisplay.pauseChanged(false);
if (_O0lllllll){
stage.quality = main.userdata.GetStageQuality();
removeChild(_O0lllllll);
_O0lllllll = null;
};
mouseControl.show();
}
public function update(_arg1:Event):Number{
var _local2:Number = getTimer();
var _local3:Number = ((_local2 - previousFrameTime) / 1000);
previousFrameTime = _local2;
if (_local3 > 0.1){
_local3 = 0.1;
};
if (_local3 >= 0){
if (((running) && (!(gameDisplay.isPaused())))){
if (player){
player.update(_local3);
};
if (hud){
hud.update(_local3);
};
};
} else {
return (0);
};
return (_local3);
}
protected function keyDownEvent(_arg1:KeyboardEvent):void{
if ((((_arg1.keyCode == 80)) || ((_arg1.keyCode == Keyboard.ESCAPE)))){
if (!gameDisplay.isPaused()){
stop();
} else {
start();
};
};
}
public function destroy():void{
removeEventListener(Event.ADDED_TO_STAGE, init, false);
removeEventListener(Event.ENTER_FRAME, update);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent);
if (hud){
hud.Destroy();
hud = null;
};
if (player){
player.Destroy();
player = null;
};
if (gameDisplay){
gameDisplay.destroy();
gameDisplay = null;
};
if (mouseControl){
mouseControl.destroy();
mouseControl = null;
};
System.gc();
System.gc();
bDestroyed = true;
}
protected function deactivate(_arg1:Event):void{
if (running){
stop();
};
}
protected function prepareLevel():void{
player = new Player();
gameDisplay.playerLayer.addChild(player);
}
}
}//package spill.TMH
Section 267
//GameDisplay (spill.TMH.GameDisplay)
package spill.TMH {
import flash.events.*;
import flash.display.*;
import spill.TMH.Controls.*;
import flash.ui.*;
public class GameDisplay extends Sprite {
private var _O1OOOOl1l:Number;// = 30
public var displayHeight:Number;// = 500
private var _OO01O1l11:Number;// = 0
public var coverLayer:Sprite;
public var uiLayer:Sprite;
public var displayWidth:Number;// = 700
private var _O1l010lO0:Number;// = 12
public var mouseLayer:Sprite;
public var levelLayer:Sprite;
public var background:Sprite;
public var playerLayer:Sprite;
public var mouseControl:MouseControl;
private var _O11O10OlO:Boolean;// = false
public static var instance:GameDisplay;
public function GameDisplay(){
levelLayer = new Sprite();
playerLayer = new Sprite();
uiLayer = new Sprite();
coverLayer = new Sprite();
mouseLayer = new Sprite();
super();
coverLayer.graphics.beginFill(16768392, 0.6);
coverLayer.graphics.lineStyle();
coverLayer.graphics.drawRect(0, 0, 700, 400);
coverLayer.visible = false;
GameDisplay.instance = this;
addChild(levelLayer);
addChild(playerLayer);
addChild(uiLayer);
addChild(coverLayer);
addChild(mouseLayer);
mouseLayer.mouseEnabled = false;
uiLayer.mouseEnabled = false;
addEventListener(Event.ADDED_TO_STAGE, _OOO1O0010);
}
public function setMouseControl(_arg1:MouseControl):void{
mouseControl = _arg1;
}
public function hideMouse(_arg1:MouseEvent):void{
if (_O11O10OlO){
return;
};
Mouse.hide();
}
public function getSoundPanning(_arg1:int):int{
return (_arg1);
}
private function _OOO1O0010(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, _OOO1O0010);
}
public function pauseChanged(_arg1:Boolean):void{
if (_arg1){
Mouse.show();
} else {
Mouse.hide();
};
_O11O10OlO = _arg1;
}
public function destroy():void{
removeChild(levelLayer);
removeChild(playerLayer);
removeChild(uiLayer);
removeChild(coverLayer);
removeChild(mouseLayer);
levelLayer = null;
playerLayer = null;
uiLayer = null;
coverLayer = null;
mouseLayer = null;
mouseControl = null;
background = null;
GameDisplay.instance = null;
}
public function showMouse(_arg1:Event):void{
Mouse.show();
}
public function isPaused():Boolean{
return (_O11O10OlO);
}
}
}//package spill.TMH
Section 268
//GameSession (spill.TMH.GameSession)
package spill.TMH {
import flash.events.*;
import spill.TMH.Data.Cards.*;
import flash.display.*;
import spill.TMH.Controls.*;
import flash.media.*;
import spill.TMH.sound.*;
import spill.localisation.*;
public class GameSession extends Game {
private var _OO10O1111:SoundChannel;
private var _O0O0l100l:Number;
private var _OO00O1lll:MovieClip;
private var _OOO0l10O0:Number;
private var _O11011lO0:Boolean;
private var _OO0l00l1O:TimeLine4;
private var _O10OOOOlO:MiniTimeLine;
private var _O0OlOl01O:GameModeCard;
private var _OOOOlO111:MovieClip;
private var _OO010O11l:Array;
private var _O0llOO01O:int;// = 0
public var zoomLevel:Number;
private var _O01O010O0:Number;
private var _OO01Ol011:Boolean;
private var _OO1ll0Oll:inGameScreen_mc;
public static var m_questionTxTArea:LocalizedTextField;
public function GameSession(_arg1:Main, _arg2:GameModeCard){
_OO010O11l = new Array("Music_1", "Music_2");
super(_arg1);
_O0OlOl01O = _arg2;
_OOO0l10O0 = 15;
}
public function getCardSelected():Boolean{
return (_O0OlOl01O.isCradBeingDragged());
}
override public function start():void{
_O0OlOl01O.getCardSelector().setEnabled(true);
Music.resume();
super.start();
}
protected function playRandomSong():void{
_O0llOO01O = Math.round((Math.random() * 1));
_OO10O1111 = Music.playSong(_OO010O11l[_O0llOO01O], false, Music.FADE_IN_OUT);
_OO10O1111.addEventListener(Event.SOUND_COMPLETE, updateSong);
}
public function timeLineUpdated():void{
if (_O10OOOOlO){
_O10OOOOlO.redrawSliderAccordingToYears();
};
}
override public function update(_arg1:Event):Number{
var _local3:Number;
var _local2:Number = super.update(_arg1);
if (!gameDisplay.isPaused()){
if (((!(_O11011lO0)) && (!(_OO01Ol011)))){
_OO0l00l1O.update(_local2);
if (_O10OOOOlO.IsDragging()){
_OO0l00l1O.setEnabled(false);
_O0OlOl01O.setEnableCardSelector(false);
} else {
if (_OO0l00l1O.IsTimeLineDragging()){
_O0OlOl01O.setEnableCardSelector(false);
_O10OOOOlO.setMouseEnabled(false);
} else {
_OO0l00l1O.setEnabled(true);
_O10OOOOlO.setMouseEnabled(true);
_O0OlOl01O.setEnableCardSelector(true);
};
};
_O0OlOl01O.update(_local2);
_local3 = _OO0l00l1O.getYearUnderScreenPosition(mouseX);
_O0OlOl01O.setSelectedYear(_local3);
_OO0l00l1O.setVisualTimeSpanFeedback(_O0OlOl01O.getQuestionTimeSpan());
if (_O0OlOl01O.ShouldShowHint()){
showHint(_local3);
};
if ((((((_O0OlOl01O.getQuestionsLeft() <= 0)) && (!(_O0OlOl01O.isCradBeingDragged())))) && (!(_O0OlOl01O.isScoreShowing())))){
_O0O0l100l = 2;
_OO01Ol011 = true;
gameDisplay.uiLayer.addChild(_OO00O1lll);
_OO00O1lll.gotoAndPlay(1);
} else {
if (_O0OlOl01O.getQuestionsLeft() > 0){
updateTimer();
};
};
} else {
if (_OO01Ol011){
_O0O0l100l = (_O0O0l100l - _local2);
if (_O0O0l100l < 0){
gameDisplay.uiLayer.removeChild(_OO00O1lll);
_OO00O1lll = null;
_O10lO0100();
};
} else {
if (_O11011lO0){
_O01O010O0 = (_O01O010O0 - _local2);
if (_O01O010O0 < 0){
gameDisplay.uiLayer.removeChild(_OOOOlO111);
_OOOOlO111 = null;
_O10lO0100();
};
};
};
};
};
if (_O0OlOl01O){
_OO1ll0Oll.txt_score.text = ("" + _O0OlOl01O.m_calculateScore());
};
return (_local2);
}
override public function init(_arg1:Event=null):void{
super.init(_arg1);
_OO1ll0Oll = new inGameScreen_mc();
gameDisplay.levelLayer.addChild(_OO1ll0Oll);
Utils.initButton(_OO1ll0Oll.btn_pausegame, deactivate);
Utils.initBrandinButton(_OO1ll0Oll.btn_MoreGames, "More_Games_Button_In_Game");
zoomLevel = 1;
_OOl1llO1l();
_O0OlOl01O.setPlayTime((_O0OlOl01O.getAmountOfQuestions() * _OOO0l10O0));
_O0OlOl01O.prepareBeforeLevelStart();
gameDisplay.playerLayer.addChild(_O0OlOl01O);
_O0OlOl01O.x = 0;
_O0OlOl01O.y = 40;
_O0OlOl01O.startGame();
_OO1ll0Oll.hintArrowsLeft.gotoAndStop(_OO1ll0Oll.hintArrowsLeft.totalFrames);
_OO1ll0Oll.hintArrowsRight.gotoAndStop(_OO1ll0Oll.hintArrowsRight.totalFrames);
_OO1ll0Oll.ingameClock_disc.gotoAndStop(1);
_OOOOlO111 = new timesUp_mc();
_OOOOlO111.x = (700 * 0.5);
_OOOOlO111.y = (400 * 0.5);
_O11011lO0 = false;
_OO00O1lll = new allCardsPlayed_mc();
_OO00O1lll.x = (700 * 0.5);
_OO00O1lll.y = (400 * 0.5);
_OO01Ol011 = false;
_O0O0l100l = 0;
m_questionTxTArea = _OO1ll0Oll.txt_question;
playRandomSong();
}
public function showHint(_arg1:Number):void{
_O0OlOl01O.updateHint(_arg1);
}
private function _O1OlO00O1(_arg1:int):Boolean{
var _local2:int;
while (_local2 < 10) {
if (main.userdata.Questions[(((_arg1 - 1) * 10) + _local2)] == 0){
return (false);
};
_local2++;
};
return (true);
}
public function getGameModeCard():GameModeCard{
return (_O0OlOl01O);
}
override public function destroy():void{
_OO0l00l1O.destroy();
gameDisplay.playerLayer.removeChild(_OO0l00l1O);
_OO0l00l1O = null;
_O10OOOOlO.destroy();
gameDisplay.playerLayer.removeChild(_O10OOOOlO);
_O10OOOOlO = null;
_O0OlOl01O.reset();
gameDisplay.playerLayer.removeChild(_O0OlOl01O);
_O0OlOl01O = null;
if (_OO10O1111){
_OO10O1111.removeEventListener(Event.SOUND_COMPLETE, updateSong);
_OO10O1111 = null;
};
super.destroy();
}
private function _OOl1llO1l():void{
_OO0l00l1O = new TimeLine4(this);
_OO0l00l1O.x = 0;
_OO0l00l1O.y = 250;
gameDisplay.playerLayer.addChild(_OO0l00l1O);
_O10OOOOlO = new MiniTimeLine(_OO0l00l1O);
_O10OOOOlO.x = 50;
_O10OOOOlO.y = 320;
gameDisplay.playerLayer.addChild(_O10OOOOlO);
_O10OOOOlO.redrawSliderAccordingToYears();
}
override public function stop():void{
_O0OlOl01O.getCardSelector().setEnabled(false);
Music.pause();
super.stop();
}
private function _O10lO0100():void{
var _local1:Array;
var _local2:int;
var _local3:int;
var _local4:int;
if (_O0OlOl01O){
main.m_gameStats.m_timeLeft = _O0OlOl01O.getTimeLeft();
main.m_gameStats.m_totalCards = _O0OlOl01O.getAmountOfQuestions();
main.m_gameStats.m_correctCards = _O0OlOl01O.getQuestionCorrect();
main.m_gameStats.m_categoryID = _O0OlOl01O.getCategory();
main.m_gameStats.m_score = _O0OlOl01O.m_calculateScore();
main.m_gameStats.m_timePerQuest = _OOO0l10O0;
main.m_gameStats.m_bAlreadySolvedAllQuestions = main.m_gameStats.m_AllQuestionsCorrect(main.userdata.Questions);
_local1 = new Array();
if (_O0OlOl01O.getCategory() < 100){
_local2 = 0;
while (_local2 < _O0OlOl01O.getAmountOfQuestions()) {
if (_O0OlOl01O.IsCardCorrect(_local2)){
_local3 = _O0OlOl01O.getQuestionCategory(_local2);
_local4 = _O0OlOl01O.getQuestionCardNumber(_local2);
if (main.userdata.Questions[(((_local3 - 1) * 10) + _local4)] == 0){
_local1.push((((_local3 - 1) * 10) + _local4));
};
main.userdata.Questions[(((_local3 - 1) * 10) + _local4)] = 1;
};
_local2++;
};
_O1OO0ll0O(_local1);
};
main.SaveGameData();
Music.stopSong(Music.FADE_OUT);
_O0OlOl01O.gameOver();
main.gameOver(null);
};
}
private function _O0lOOl11l():void{
_O01O010O0 = 2;
gameDisplay.uiLayer.addChild(_OOOOlO111);
_OOOOlO111.gotoAndPlay(1);
_O11011lO0 = true;
}
protected function updateTimer():void{
var _local1:Number = _O0OlOl01O.getTotalTime();
var _local2:Number = _O0OlOl01O.getTimeLeft();
var _local3:Number = (_local2 * (360 / _local1));
_OO1ll0Oll.ingameClock_pointer.rotation = (_local3 * -1);
var _local4:int = Math.abs(((360 - _local3) * (_OO1ll0Oll.ingameClock_disc.totalFrames / 360)));
_OO1ll0Oll.ingameClock_disc.gotoAndStop(_local4);
if (_local2 <= 0){
_O0lOOl11l();
};
}
private function _O1OO0ll0O(_arg1:Array):void{
var _local4:int;
var _local5:int;
var _local6:int;
var _local2:Array = new Array();
var _local3:int;
while (_local3 < _arg1.length) {
_local4 = _arg1[_local3];
_local5 = (Math.floor((_local4 / 10)) + 1);
_local6 = ((_local4 - (_local5 * 10)) + 1);
if (_O1OlO00O1(_local5)){
_local2.push(_local5);
};
_local3++;
};
main.m_gameStats.m_FactsUnlocked = _arg1;
main.m_gameStats.m_CategoryWon = _local2;
}
protected function updateSong(_arg1:Event=null):void{
_OO10O1111.removeEventListener(Event.SOUND_COMPLETE, updateSong);
_OO10O1111 = null;
if (_O0llOO01O == 0){
_O0llOO01O = 1;
} else {
if (_O0llOO01O == 1){
_O0llOO01O = 0;
};
};
_OO10O1111 = Music.playSong(_OO010O11l[_O0llOO01O]);
_OO10O1111.addEventListener(Event.SOUND_COMPLETE, updateSong);
}
}
}//package spill.TMH
Section 269
//hand_mc (TMH.Cursor.hand_mc)
package TMH.Cursor {
import flash.display.*;
public dynamic class hand_mc extends MovieClip {
public var right_scroll_indicator:MovieClip;
public var normal_haand:MovieClip;
public var can_release_grab:MovieClip;
public var grabbed:MovieClip;
public var can_grab:MovieClip;
public var left_scroll_indicator:MovieClip;
public function hand_mc(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame1(){
this.stop();
}
function frame2(){
this.stop();
}
function frame4(){
this.stop();
}
function frame3(){
this.stop();
}
}
}//package TMH.Cursor
Section 270
//MainMenu_mc (TMH.MENU.MainMenu_mc)
package TMH.MENU {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class MainMenu_mc extends MovieClip {
public var btn_tropheeroom:MovieClip;
public var btn_music:MovieClip;
public var btn_howtoplay:MovieClip;
public var btn_highscore:MovieClip;
public var btn_MoreGames:MovieClip;
public var btn_sfx:MovieClip;
public var btn_Language:LanguageSelectBox;
public var btn_quality:MovieClip;
public var btn_start:MovieClip;
public function MainMenu_mc(){
__setProp_btn_Language_mainmenu_languageselectbox_0();
}
function __setProp_btn_Language_mainmenu_languageselectbox_0(){
try {
btn_Language["componentInspectorSetting"] = true;
} catch(e:Error) {
};
btn_Language.popupLocation = "bottom";
try {
btn_Language["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH.MENU
Section 271
//PreLoader_mc (TMH.MENU.PreLoader_mc)
package TMH.MENU {
import flash.events.*;
import flash.xml.*;
import flash.display.*;
import spill.localisation.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.media.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class PreLoader_mc extends MovieClip {
public var __id31_:LocalizedTextField;
public var btn_MoreGames:MovieClip;
public var txtCount:TextField;
public function PreLoader_mc(){
__setProp___id31__PreloaderMenu_loadingtext_0();
}
function __setProp___id31__PreloaderMenu_loadingtext_0(){
try {
__id31_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id31_.text = "{Loading}";
__id31_.textColor = 3547404;
__id31_.textSize = 22;
__id31_.bold = true;
__id31_.disableWordwrap = false;
__id31_.embedFonts = false;
__id31_.font = "Arial";
__id31_.hAlign = "center";
__id31_.multiline = false;
__id31_.vAlign = "top";
__id31_.antiAliasType = "advanced";
__id31_.glowBlur = 3;
__id31_.glowColor = 0;
__id31_.useGlowFilter = false;
__id31_.glowQuality = 1;
__id31_.glowStrength = 5;
__id31_.gridFitType = "pixel";
__id31_.italic = false;
__id31_.selectable = false;
__id31_.underline = false;
try {
__id31_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH.MENU
Section 272
//Low_iq_mp3 (TMH.Music.Low_iq_mp3)
package TMH.Music {
import flash.media.*;
public dynamic class Low_iq_mp3 extends Sound {
}
}//package TMH.Music
Section 273
//mainscreen_mp3 (TMH.Music.mainscreen_mp3)
package TMH.Music {
import flash.media.*;
public dynamic class mainscreen_mp3 extends Sound {
}
}//package TMH.Music
Section 274
//music_1_mp3 (TMH.Music.music_1_mp3)
package TMH.Music {
import flash.media.*;
public dynamic class music_1_mp3 extends Sound {
}
}//package TMH.Music
Section 275
//music_2_mp3 (TMH.Music.music_2_mp3)
package TMH.Music {
import flash.media.*;
public dynamic class music_2_mp3 extends Sound {
}
}//package TMH.Music
Section 276
//trophy_mp3 (TMH.Music.trophy_mp3)
package TMH.Music {
import flash.media.*;
public dynamic class trophy_mp3 extends Sound {
}
}//package TMH.Music
Section 277
//victory_mp3 (TMH.Music.victory_mp3)
package TMH.Music {
import flash.media.*;
public dynamic class victory_mp3 extends Sound {
}
}//package TMH.Music
Section 278
//AllRightSoundwav (TMH.SFX.AllRightSoundwav)
package TMH.SFX {
import flash.media.*;
public dynamic class AllRightSoundwav extends Sound {
}
}//package TMH.SFX
Section 279
//Arrowwav (TMH.SFX.Arrowwav)
package TMH.SFX {
import flash.media.*;
public dynamic class Arrowwav extends Sound {
}
}//package TMH.SFX
Section 280
//BrainlessAmoebawav (TMH.SFX.BrainlessAmoebawav)
package TMH.SFX {
import flash.media.*;
public dynamic class BrainlessAmoebawav extends Sound {
}
}//package TMH.SFX
Section 281
//BrainyHomoSapienwav (TMH.SFX.BrainyHomoSapienwav)
package TMH.SFX {
import flash.media.*;
public dynamic class BrainyHomoSapienwav extends Sound {
}
}//package TMH.SFX
Section 282
//BuildUpSoundwav (TMH.SFX.BuildUpSoundwav)
package TMH.SFX {
import flash.media.*;
public dynamic class BuildUpSoundwav extends Sound {
}
}//package TMH.SFX
Section 283
//card1wav (TMH.SFX.card1wav)
package TMH.SFX {
import flash.media.*;
public dynamic class card1wav extends Sound {
}
}//package TMH.SFX
Section 284
//DopeyDunkleosteuswav (TMH.SFX.DopeyDunkleosteuswav)
package TMH.SFX {
import flash.media.*;
public dynamic class DopeyDunkleosteuswav extends Sound {
}
}//package TMH.SFX
Section 285
//DozDodowav (TMH.SFX.DozDodowav)
package TMH.SFX {
import flash.media.*;
public dynamic class DozDodowav extends Sound {
}
}//package TMH.SFX
Section 286
//EruditeDolphinwav (TMH.SFX.EruditeDolphinwav)
package TMH.SFX {
import flash.media.*;
public dynamic class EruditeDolphinwav extends Sound {
}
}//package TMH.SFX
Section 287
//FeebleMindedJellyfishwav (TMH.SFX.FeebleMindedJellyfishwav)
package TMH.SFX {
import flash.media.*;
public dynamic class FeebleMindedJellyfishwav extends Sound {
}
}//package TMH.SFX
Section 288
//FoolishFleawav (TMH.SFX.FoolishFleawav)
package TMH.SFX {
import flash.media.*;
public dynamic class FoolishFleawav extends Sound {
}
}//package TMH.SFX
Section 289
//GameModeScreenClickwav (TMH.SFX.GameModeScreenClickwav)
package TMH.SFX {
import flash.media.*;
public dynamic class GameModeScreenClickwav extends Sound {
}
}//package TMH.SFX
Section 290
//GameModeScreenMouseOverwav (TMH.SFX.GameModeScreenMouseOverwav)
package TMH.SFX {
import flash.media.*;
public dynamic class GameModeScreenMouseOverwav extends Sound {
}
}//package TMH.SFX
Section 291
//GameScreenMouseOverwav (TMH.SFX.GameScreenMouseOverwav)
package TMH.SFX {
import flash.media.*;
public dynamic class GameScreenMouseOverwav extends Sound {
}
}//package TMH.SFX
Section 292
//GrabCardswav (TMH.SFX.GrabCardswav)
package TMH.SFX {
import flash.media.*;
public dynamic class GrabCardswav extends Sound {
}
}//package TMH.SFX
Section 293
//ImbecilicDinosaurwav (TMH.SFX.ImbecilicDinosaurwav)
package TMH.SFX {
import flash.media.*;
public dynamic class ImbecilicDinosaurwav extends Sound {
}
}//package TMH.SFX
Section 294
//KnowItAllNeanderthalwav (TMH.SFX.KnowItAllNeanderthalwav)
package TMH.SFX {
import flash.media.*;
public dynamic class KnowItAllNeanderthalwav extends Sound {
}
}//package TMH.SFX
Section 295
//MainscreenClickwav (TMH.SFX.MainscreenClickwav)
package TMH.SFX {
import flash.media.*;
public dynamic class MainscreenClickwav extends Sound {
}
}//package TMH.SFX
Section 296
//MainscreenMouseOverwav (TMH.SFX.MainscreenMouseOverwav)
package TMH.SFX {
import flash.media.*;
public dynamic class MainscreenMouseOverwav extends Sound {
}
}//package TMH.SFX
Section 297
//MoronicMoldwav (TMH.SFX.MoronicMoldwav)
package TMH.SFX {
import flash.media.*;
public dynamic class MoronicMoldwav extends Sound {
}
}//package TMH.SFX
Section 298
//PauseGameScreenClickwav (TMH.SFX.PauseGameScreenClickwav)
package TMH.SFX {
import flash.media.*;
public dynamic class PauseGameScreenClickwav extends Sound {
}
}//package TMH.SFX
Section 299
//PictureCapturingwav (TMH.SFX.PictureCapturingwav)
package TMH.SFX {
import flash.media.*;
public dynamic class PictureCapturingwav extends Sound {
}
}//package TMH.SFX
Section 300
//PlaceCardsRightwav (TMH.SFX.PlaceCardsRightwav)
package TMH.SFX {
import flash.media.*;
public dynamic class PlaceCardsRightwav extends Sound {
}
}//package TMH.SFX
Section 301
//PlaceCardsWrongwav (TMH.SFX.PlaceCardsWrongwav)
package TMH.SFX {
import flash.media.*;
public dynamic class PlaceCardsWrongwav extends Sound {
}
}//package TMH.SFX
Section 302
//ReachingGoalSoundwav (TMH.SFX.ReachingGoalSoundwav)
package TMH.SFX {
import flash.media.*;
public dynamic class ReachingGoalSoundwav extends Sound {
}
}//package TMH.SFX
Section 303
//TimelineSlidingwav (TMH.SFX.TimelineSlidingwav)
package TMH.SFX {
import flash.media.*;
public dynamic class TimelineSlidingwav extends Sound {
}
}//package TMH.SFX
Section 304
//TropheeClickwav (TMH.SFX.TropheeClickwav)
package TMH.SFX {
import flash.media.*;
public dynamic class TropheeClickwav extends Sound {
}
}//package TMH.SFX
Section 305
//TropheeRoomMouseOverwav (TMH.SFX.TropheeRoomMouseOverwav)
package TMH.SFX {
import flash.media.*;
public dynamic class TropheeRoomMouseOverwav extends Sound {
}
}//package TMH.SFX
Section 306
//TypeInSoundwav (TMH.SFX.TypeInSoundwav)
package TMH.SFX {
import flash.media.*;
public dynamic class TypeInSoundwav extends Sound {
}
}//package TMH.SFX
Section 307
//TooltipYear_mc (TMH.TooltipYear_mc)
package TMH {
import flash.display.*;
public dynamic class TooltipYear_mc extends MovieClip {
}
}//package TMH
Section 308
//BrandingButtonFrontpage_28 (TMH_Interface_fla.BrandingButtonFrontpage_28)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class BrandingButtonFrontpage_28 extends MovieClip {
public var __id74_:LocalizedTextField;
public function BrandingButtonFrontpage_28(){
__setProp___id74__BrandingButtonFrontpage_text_0();
}
function __setProp___id74__BrandingButtonFrontpage_text_0(){
try {
__id74_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id74_.text = "{Branding_More_Games_Sentence_Short}";
__id74_.textColor = 2656687;
__id74_.textSize = 12;
__id74_.bold = true;
__id74_.disableWordwrap = false;
__id74_.embedFonts = true;
__id74_.font = "Arial";
__id74_.hAlign = "center";
__id74_.multiline = false;
__id74_.vAlign = "middle";
__id74_.antiAliasType = "advanced";
__id74_.glowBlur = 0;
__id74_.glowColor = 0;
__id74_.useGlowFilter = true;
__id74_.glowQuality = 2;
__id74_.glowStrength = 5;
__id74_.gridFitType = "pixel";
__id74_.italic = false;
__id74_.selectable = false;
__id74_.underline = false;
try {
__id74_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 309
//buttonHome_22 (TMH_Interface_fla.buttonHome_22)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class buttonHome_22 extends MovieClip {
public var __id75_:LocalizedTextField;
public function buttonHome_22(){
__setProp___id75__buttonHome_text_0();
}
function __setProp___id75__buttonHome_text_0(){
try {
__id75_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id75_.text = "{Pause_MainMenu_btn}";
__id75_.textColor = 0;
__id75_.textSize = 12;
__id75_.bold = true;
__id75_.disableWordwrap = false;
__id75_.embedFonts = true;
__id75_.font = "Arial";
__id75_.hAlign = "center";
__id75_.multiline = false;
__id75_.vAlign = "middle";
__id75_.antiAliasType = "advanced";
__id75_.glowBlur = 3;
__id75_.glowColor = 0;
__id75_.useGlowFilter = false;
__id75_.glowQuality = 1;
__id75_.glowStrength = 5;
__id75_.gridFitType = "pixel";
__id75_.italic = false;
__id75_.selectable = false;
__id75_.underline = false;
try {
__id75_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 310
//buttonHowToPlay_20 (TMH_Interface_fla.buttonHowToPlay_20)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class buttonHowToPlay_20 extends MovieClip {
public var __id76_:LocalizedTextField;
public function buttonHowToPlay_20(){
__setProp___id76__buttonHowToPlay_text_0();
}
function __setProp___id76__buttonHowToPlay_text_0(){
try {
__id76_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id76_.text = "{HowToPlay_Btn}";
__id76_.textColor = 0;
__id76_.textSize = 12;
__id76_.bold = true;
__id76_.disableWordwrap = false;
__id76_.embedFonts = true;
__id76_.font = "Arial";
__id76_.hAlign = "center";
__id76_.multiline = false;
__id76_.vAlign = "middle";
__id76_.antiAliasType = "advanced";
__id76_.glowBlur = 3;
__id76_.glowColor = 0;
__id76_.useGlowFilter = false;
__id76_.glowQuality = 1;
__id76_.glowStrength = 5;
__id76_.gridFitType = "pixel";
__id76_.italic = false;
__id76_.selectable = false;
__id76_.underline = false;
try {
__id76_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 311
//buttonSendToFriend_128 (TMH_Interface_fla.buttonSendToFriend_128)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class buttonSendToFriend_128 extends MovieClip {
public var __id35_:LocalizedTextField;
public function buttonSendToFriend_128(){
__setProp___id35__buttonSendToFriend_text_0();
}
function __setProp___id35__buttonSendToFriend_text_0(){
try {
__id35_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id35_.text = "{Send_to_Friend_Btn}";
__id35_.textColor = 0;
__id35_.textSize = 12;
__id35_.bold = true;
__id35_.disableWordwrap = false;
__id35_.embedFonts = false;
__id35_.font = "Arial";
__id35_.hAlign = "center";
__id35_.multiline = false;
__id35_.vAlign = "middle";
__id35_.antiAliasType = "advanced";
__id35_.glowBlur = 3;
__id35_.glowColor = 0;
__id35_.useGlowFilter = false;
__id35_.glowQuality = 1;
__id35_.glowStrength = 5;
__id35_.gridFitType = "pixel";
__id35_.italic = false;
__id35_.selectable = false;
__id35_.underline = false;
try {
__id35_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 312
//buttonStart_159 (TMH_Interface_fla.buttonStart_159)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class buttonStart_159 extends MovieClip {
public var __id30_:LocalizedTextField;
public function buttonStart_159(){
__setProp___id30__buttonStart_text_0();
}
function __setProp___id30__buttonStart_text_0(){
try {
__id30_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id30_.text = "{HowToPlay_Skip_Btn}";
__id30_.textColor = 0;
__id30_.textSize = 12;
__id30_.bold = true;
__id30_.disableWordwrap = false;
__id30_.embedFonts = true;
__id30_.font = "Arial";
__id30_.hAlign = "center";
__id30_.multiline = false;
__id30_.vAlign = "middle";
__id30_.antiAliasType = "advanced";
__id30_.glowBlur = 3;
__id30_.glowColor = 0;
__id30_.useGlowFilter = false;
__id30_.glowQuality = 1;
__id30_.glowStrength = 5;
__id30_.gridFitType = "pixel";
__id30_.italic = false;
__id30_.selectable = false;
__id30_.underline = false;
try {
__id30_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 313
//buttonSubmitHighscore_130 (TMH_Interface_fla.buttonSubmitHighscore_130)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class buttonSubmitHighscore_130 extends MovieClip {
public var __id34_:LocalizedTextField;
public function buttonSubmitHighscore_130(){
__setProp___id34__buttonSubmitHighscore_text_0();
}
function __setProp___id34__buttonSubmitHighscore_text_0(){
try {
__id34_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id34_.text = "{Submit_Highscore_Btn}";
__id34_.textColor = 0;
__id34_.textSize = 12;
__id34_.bold = true;
__id34_.disableWordwrap = false;
__id34_.embedFonts = false;
__id34_.font = "Arial";
__id34_.hAlign = "center";
__id34_.multiline = false;
__id34_.vAlign = "middle";
__id34_.antiAliasType = "advanced";
__id34_.glowBlur = 3;
__id34_.glowColor = 0;
__id34_.useGlowFilter = false;
__id34_.glowQuality = 1;
__id34_.glowStrength = 5;
__id34_.gridFitType = "pixel";
__id34_.italic = false;
__id34_.selectable = false;
__id34_.underline = false;
try {
__id34_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 314
//buttonTest_132 (TMH_Interface_fla.buttonTest_132)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class buttonTest_132 extends MovieClip {
public var __id32_:LocalizedTextField;
public function buttonTest_132(){
__setProp___id32__buttonTest_text_0();
}
function __setProp___id32__buttonTest_text_0(){
try {
__id32_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id32_.text = "{Test_Btn}";
__id32_.textColor = 0;
__id32_.textSize = 12;
__id32_.bold = true;
__id32_.disableWordwrap = false;
__id32_.embedFonts = true;
__id32_.font = "Arial";
__id32_.hAlign = "center";
__id32_.multiline = false;
__id32_.vAlign = "middle";
__id32_.antiAliasType = "advanced";
__id32_.glowBlur = 3;
__id32_.glowColor = 0;
__id32_.useGlowFilter = false;
__id32_.glowQuality = 1;
__id32_.glowStrength = 5;
__id32_.gridFitType = "pixel";
__id32_.italic = false;
__id32_.selectable = false;
__id32_.underline = false;
try {
__id32_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 315
//buttonTropheeroom_18 (TMH_Interface_fla.buttonTropheeroom_18)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class buttonTropheeroom_18 extends MovieClip {
public var __id77_:LocalizedTextField;
public function buttonTropheeroom_18(){
__setProp___id77__buttonTropheeroom_text_0();
}
function __setProp___id77__buttonTropheeroom_text_0(){
try {
__id77_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id77_.text = "{TrophyRoom_Btn}";
__id77_.textColor = 0;
__id77_.textSize = 12;
__id77_.bold = true;
__id77_.disableWordwrap = false;
__id77_.embedFonts = true;
__id77_.font = "Arial";
__id77_.hAlign = "center";
__id77_.multiline = false;
__id77_.vAlign = "middle";
__id77_.antiAliasType = "advanced";
__id77_.glowBlur = 3;
__id77_.glowColor = 0;
__id77_.useGlowFilter = false;
__id77_.glowQuality = 1;
__id77_.glowStrength = 5;
__id77_.gridFitType = "pixel";
__id77_.italic = false;
__id77_.selectable = false;
__id77_.underline = false;
try {
__id77_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 316
//Continue_Button_24 (TMH_Interface_fla.Continue_Button_24)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Continue_Button_24 extends MovieClip {
public var txt_game_complete:LocalizedTextField;
public function Continue_Button_24(){
__setProp_txt_game_complete_Continue_Button_Layer4_0();
}
function __setProp_txt_game_complete_Continue_Button_Layer4_0(){
try {
txt_game_complete["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_game_complete.text = "{Pause_Resume_btn}";
txt_game_complete.textColor = 0;
txt_game_complete.textSize = 12;
txt_game_complete.bold = true;
txt_game_complete.disableWordwrap = false;
txt_game_complete.embedFonts = true;
txt_game_complete.font = "Arial";
txt_game_complete.hAlign = "center";
txt_game_complete.multiline = false;
txt_game_complete.vAlign = "middle";
txt_game_complete.antiAliasType = "advanced";
txt_game_complete.glowBlur = 3;
txt_game_complete.glowColor = 0;
txt_game_complete.useGlowFilter = false;
txt_game_complete.glowQuality = 1;
txt_game_complete.glowStrength = 5;
txt_game_complete.gridFitType = "pixel";
txt_game_complete.italic = false;
txt_game_complete.selectable = false;
txt_game_complete.underline = false;
try {
txt_game_complete["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 317
//CopyURL_button_9 (TMH_Interface_fla.CopyURL_button_9)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class CopyURL_button_9 extends MovieClip {
public var txt_copyURL:LocalizedTextField;
public function CopyURL_button_9(){
__setProp_txt_copyURL_CopyURL_button_text_0();
}
function __setProp_txt_copyURL_CopyURL_button_text_0(){
try {
txt_copyURL["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_copyURL.text = "{Send_to_friend_Send_CopyUrl}";
txt_copyURL.textColor = 3547404;
txt_copyURL.textSize = 12;
txt_copyURL.bold = true;
txt_copyURL.disableWordwrap = false;
txt_copyURL.embedFonts = false;
txt_copyURL.font = "Arial";
txt_copyURL.hAlign = "center";
txt_copyURL.multiline = false;
txt_copyURL.vAlign = "middle";
txt_copyURL.antiAliasType = "advanced";
txt_copyURL.glowBlur = 3;
txt_copyURL.glowColor = 0;
txt_copyURL.useGlowFilter = false;
txt_copyURL.glowQuality = 1;
txt_copyURL.glowStrength = 5;
txt_copyURL.gridFitType = "pixel";
txt_copyURL.italic = false;
txt_copyURL.selectable = false;
txt_copyURL.underline = false;
try {
txt_copyURL["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 318
//eraser_button_84 (TMH_Interface_fla.eraser_button_84)
package TMH_Interface_fla {
import flash.events.*;
import flash.xml.*;
import flash.display.*;
import spill.localisation.*;
import flash.text.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.geom.*;
import flash.system.*;
import flash.external.*;
import flash.filters.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.media.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class eraser_button_84 extends MovieClip {
public var __id62_:LocalizedTextField;
public function eraser_button_84(){
__setProp___id62__eraser_button_Layer1_0();
}
function __setProp___id62__eraser_button_Layer1_0(){
try {
__id62_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id62_.text = "{Branding_More_Games_Sentence_Short}";
__id62_.textColor = 0xFFFFFF;
__id62_.textSize = 10;
__id62_.bold = true;
__id62_.disableWordwrap = false;
__id62_.embedFonts = true;
__id62_.font = "Arial";
__id62_.hAlign = "center";
__id62_.multiline = false;
__id62_.vAlign = "top";
__id62_.antiAliasType = "advanced";
__id62_.glowBlur = 0;
__id62_.glowColor = 0;
__id62_.useGlowFilter = true;
__id62_.glowQuality = 2;
__id62_.glowStrength = 5;
__id62_.gridFitType = "pixel";
__id62_.italic = false;
__id62_.selectable = false;
__id62_.underline = false;
try {
__id62_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 319
//flag_icon_179 (TMH_Interface_fla.flag_icon_179)
package TMH_Interface_fla {
import flash.display.*;
public dynamic class flag_icon_179 extends MovieClip {
public function flag_icon_179(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TMH_Interface_fla
Section 320
//FriendsGame_button_13 (TMH_Interface_fla.FriendsGame_button_13)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class FriendsGame_button_13 extends MovieClip {
public var __id82_:LocalizedTextField;
public function FriendsGame_button_13(){
__setProp___id82__FriendsGame_button_text_0();
}
function __setProp___id82__FriendsGame_button_text_0(){
try {
__id82_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id82_.text = "{Send_To_Friend_Landing_Play_Friend}";
__id82_.textColor = 3547404;
__id82_.textSize = 10;
__id82_.bold = true;
__id82_.disableWordwrap = false;
__id82_.embedFonts = true;
__id82_.font = "Arial";
__id82_.hAlign = "center";
__id82_.multiline = false;
__id82_.vAlign = "middle";
__id82_.antiAliasType = "advanced";
__id82_.glowBlur = 3;
__id82_.glowColor = 0;
__id82_.useGlowFilter = false;
__id82_.glowQuality = 1;
__id82_.glowStrength = 5;
__id82_.gridFitType = "pixel";
__id82_.italic = false;
__id82_.selectable = false;
__id82_.underline = false;
try {
__id82_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 321
//gamecompleteText_73 (TMH_Interface_fla.gamecompleteText_73)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class gamecompleteText_73 extends MovieClip {
public var __id72_:LocalizedTextField;
public function gamecompleteText_73(){
__setProp___id72__gamecompleteText_Layer1_0();
}
function __setProp___id72__gamecompleteText_Layer1_0(){
try {
__id72_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id72_.text = "{Game_complete_feedback}";
__id72_.textColor = 16777164;
__id72_.textSize = 32;
__id72_.bold = false;
__id72_.disableWordwrap = false;
__id72_.embedFonts = true;
__id72_.font = "Arial";
__id72_.hAlign = "center";
__id72_.multiline = true;
__id72_.vAlign = "top";
__id72_.antiAliasType = "advanced";
__id72_.glowBlur = 3;
__id72_.glowColor = 0;
__id72_.useGlowFilter = false;
__id72_.glowQuality = 1;
__id72_.glowStrength = 5;
__id72_.gridFitType = "pixel";
__id72_.italic = false;
__id72_.selectable = false;
__id72_.underline = false;
try {
__id72_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 322
//HighscoreButtonBig_162 (TMH_Interface_fla.HighscoreButtonBig_162)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class HighscoreButtonBig_162 extends MovieClip {
public var __id29_:LocalizedTextField;
public function HighscoreButtonBig_162(){
__setProp___id29__HighscoreButtonBig_text_0();
}
function __setProp___id29__HighscoreButtonBig_text_0(){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.text = "{Highscore_Btn}";
__id29_.textColor = 0;
__id29_.textSize = 12;
__id29_.bold = true;
__id29_.disableWordwrap = false;
__id29_.embedFonts = true;
__id29_.font = "Arial";
__id29_.hAlign = "center";
__id29_.multiline = false;
__id29_.vAlign = "middle";
__id29_.antiAliasType = "advanced";
__id29_.glowBlur = 3;
__id29_.glowColor = 0;
__id29_.useGlowFilter = false;
__id29_.glowQuality = 1;
__id29_.glowStrength = 5;
__id29_.gridFitType = "pixel";
__id29_.italic = false;
__id29_.selectable = false;
__id29_.underline = false;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 323
//hintArrowsLeft_169 (TMH_Interface_fla.hintArrowsLeft_169)
package TMH_Interface_fla {
import flash.display.*;
public dynamic class hintArrowsLeft_169 extends MovieClip {
public function hintArrowsLeft_169(){
addFrameScript(27, frame28);
}
function frame28(){
this.stop();
}
}
}//package TMH_Interface_fla
Section 324
//hintArrowsRight_171 (TMH_Interface_fla.hintArrowsRight_171)
package TMH_Interface_fla {
import flash.display.*;
public dynamic class hintArrowsRight_171 extends MovieClip {
public function hintArrowsRight_171(){
addFrameScript(27, frame28);
}
function frame28(){
this.stop();
}
}
}//package TMH_Interface_fla
Section 325
//noButton_5 (TMH_Interface_fla.noButton_5)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class noButton_5 extends MovieClip {
public var __id87_:LocalizedTextField;
public function noButton_5(){
__setProp___id87__noButton_text_0();
}
function __setProp___id87__noButton_text_0(){
try {
__id87_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id87_.text = "{Pause_No_btn}";
__id87_.textColor = 0;
__id87_.textSize = 12;
__id87_.bold = true;
__id87_.disableWordwrap = false;
__id87_.embedFonts = true;
__id87_.font = "Arial";
__id87_.hAlign = "center";
__id87_.multiline = false;
__id87_.vAlign = "middle";
__id87_.antiAliasType = "advanced";
__id87_.glowBlur = 3;
__id87_.glowColor = 0;
__id87_.useGlowFilter = false;
__id87_.glowQuality = 1;
__id87_.glowStrength = 5;
__id87_.gridFitType = "pixel";
__id87_.italic = false;
__id87_.selectable = false;
__id87_.underline = false;
try {
__id87_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 326
//StartNew_buttoncopy_14 (TMH_Interface_fla.StartNew_buttoncopy_14)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class StartNew_buttoncopy_14 extends MovieClip {
public var __id81_:LocalizedTextField;
public function StartNew_buttoncopy_14(){
__setProp___id81__StartNew_buttoncopy_text_0();
}
function __setProp___id81__StartNew_buttoncopy_text_0(){
try {
__id81_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id81_.text = "{Send_To_Friend_Landing_Start_new}";
__id81_.textColor = 3547404;
__id81_.textSize = 10;
__id81_.bold = true;
__id81_.disableWordwrap = false;
__id81_.embedFonts = true;
__id81_.font = "Arial";
__id81_.hAlign = "center";
__id81_.multiline = false;
__id81_.vAlign = "middle";
__id81_.antiAliasType = "advanced";
__id81_.glowBlur = 3;
__id81_.glowColor = 0;
__id81_.useGlowFilter = false;
__id81_.glowQuality = 1;
__id81_.glowStrength = 5;
__id81_.gridFitType = "pixel";
__id81_.italic = false;
__id81_.selectable = false;
__id81_.underline = false;
try {
__id81_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 327
//Submit_button_16 (TMH_Interface_fla.Submit_button_16)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Submit_button_16 extends MovieClip {
public var txt_PressStart:LocalizedTextField;
public function Submit_button_16(){
__setProp_txt_PressStart_Submit_button_text_0();
}
function __setProp_txt_PressStart_Submit_button_text_0(){
try {
txt_PressStart["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_PressStart.text = "{Submit_Button}";
txt_PressStart.textColor = 3547404;
txt_PressStart.textSize = 12;
txt_PressStart.bold = true;
txt_PressStart.disableWordwrap = false;
txt_PressStart.embedFonts = true;
txt_PressStart.font = "Arial";
txt_PressStart.hAlign = "center";
txt_PressStart.multiline = false;
txt_PressStart.vAlign = "middle";
txt_PressStart.antiAliasType = "advanced";
txt_PressStart.glowBlur = 3;
txt_PressStart.glowColor = 0;
txt_PressStart.useGlowFilter = false;
txt_PressStart.glowQuality = 1;
txt_PressStart.glowStrength = 5;
txt_PressStart.gridFitType = "pixel";
txt_PressStart.italic = false;
txt_PressStart.selectable = false;
txt_PressStart.underline = false;
try {
txt_PressStart["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 328
//TrophyUnlockedText_67 (TMH_Interface_fla.TrophyUnlockedText_67)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class TrophyUnlockedText_67 extends MovieClip {
public var __id73_:LocalizedTextField;
public function TrophyUnlockedText_67(){
__setProp___id73__TrophyUnlockedText_Layer1_0();
}
function __setProp___id73__TrophyUnlockedText_Layer1_0(){
try {
__id73_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id73_.text = "{Trophy_unlocked_feedback}";
__id73_.textColor = 16777164;
__id73_.textSize = 32;
__id73_.bold = false;
__id73_.disableWordwrap = false;
__id73_.embedFonts = true;
__id73_.font = "Arial";
__id73_.hAlign = "center";
__id73_.multiline = true;
__id73_.vAlign = "top";
__id73_.antiAliasType = "advanced";
__id73_.glowBlur = 3;
__id73_.glowColor = 0;
__id73_.useGlowFilter = false;
__id73_.glowQuality = 1;
__id73_.glowStrength = 5;
__id73_.gridFitType = "pixel";
__id73_.italic = false;
__id73_.selectable = false;
__id73_.underline = false;
try {
__id73_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 329
//tryAgainButton_131 (TMH_Interface_fla.tryAgainButton_131)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class tryAgainButton_131 extends MovieClip {
public var __id33_:LocalizedTextField;
public function tryAgainButton_131(){
__setProp___id33__tryAgainButton_text_0();
}
function __setProp___id33__tryAgainButton_text_0(){
try {
__id33_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id33_.text = "{Try_Again_Btn}";
__id33_.textColor = 0;
__id33_.textSize = 12;
__id33_.bold = true;
__id33_.disableWordwrap = false;
__id33_.embedFonts = false;
__id33_.font = "Arial";
__id33_.hAlign = "center";
__id33_.multiline = false;
__id33_.vAlign = "middle";
__id33_.antiAliasType = "advanced";
__id33_.glowBlur = 3;
__id33_.glowColor = 0;
__id33_.useGlowFilter = false;
__id33_.glowQuality = 1;
__id33_.glowStrength = 5;
__id33_.gridFitType = "pixel";
__id33_.italic = false;
__id33_.selectable = false;
__id33_.underline = false;
try {
__id33_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 330
//yesButton_2 (TMH_Interface_fla.yesButton_2)
package TMH_Interface_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class yesButton_2 extends MovieClip {
public var __id88_:LocalizedTextField;
public function yesButton_2(){
__setProp___id88__yesButton_text_0();
}
function __setProp___id88__yesButton_text_0(){
try {
__id88_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id88_.text = "{Pause_Yes_btn}";
__id88_.textColor = 0;
__id88_.textSize = 12;
__id88_.bold = true;
__id88_.disableWordwrap = false;
__id88_.embedFonts = true;
__id88_.font = "Arial";
__id88_.hAlign = "center";
__id88_.multiline = false;
__id88_.vAlign = "middle";
__id88_.antiAliasType = "advanced";
__id88_.glowBlur = 3;
__id88_.glowColor = 0;
__id88_.useGlowFilter = false;
__id88_.glowQuality = 1;
__id88_.glowStrength = 5;
__id88_.gridFitType = "pixel";
__id88_.italic = false;
__id88_.selectable = false;
__id88_.underline = false;
try {
__id88_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TMH_Interface_fla
Section 331
//allCardsPlayed_mc (allCardsPlayed_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class allCardsPlayed_mc extends MovieClip {
public var __id26_:LocalizedTextField;
public function allCardsPlayed_mc(){
__setProp___id26__allCardsPlayed_Layer4_0();
}
function __setProp___id26__allCardsPlayed_Layer4_0(){
try {
__id26_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id26_.text = "{Game_all_cards_played}";
__id26_.textColor = 0xFFFFFF;
__id26_.textSize = 12;
__id26_.bold = true;
__id26_.disableWordwrap = false;
__id26_.embedFonts = true;
__id26_.font = "Arial";
__id26_.hAlign = "center";
__id26_.multiline = true;
__id26_.vAlign = "middle";
__id26_.antiAliasType = "advanced";
__id26_.glowBlur = 3;
__id26_.glowColor = 0;
__id26_.useGlowFilter = false;
__id26_.glowQuality = 1;
__id26_.glowStrength = 5;
__id26_.gridFitType = "pixel";
__id26_.italic = false;
__id26_.selectable = false;
__id26_.underline = false;
try {
__id26_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 332
//AnimationCard_mc (AnimationCard_mc)
package {
import flash.display.*;
public dynamic class AnimationCard_mc extends MovieClip {
public function AnimationCard_mc(){
addFrameScript(138, frame139);
}
function frame139(){
stop();
}
}
}//package
Section 333
//answerGood (answerGood)
package {
import flash.display.*;
public dynamic class answerGood extends MovieClip {
public function answerGood(){
addFrameScript(52, frame53);
}
function frame53(){
this.stop();
}
}
}//package
Section 334
//answerWrong (answerWrong)
package {
import flash.display.*;
public dynamic class answerWrong extends MovieClip {
public function answerWrong(){
addFrameScript(60, frame61);
}
function frame61(){
this.stop();
}
}
}//package
Section 335
//btn_TropheeRoom_Left (btn_TropheeRoom_Left)
package {
import flash.display.*;
public dynamic class btn_TropheeRoom_Left extends MovieClip {
}
}//package
Section 336
//btn_TropheeRoom_Right (btn_TropheeRoom_Right)
package {
import flash.display.*;
public dynamic class btn_TropheeRoom_Right extends MovieClip {
}
}//package
Section 337
//Button_Gameselect (Button_Gameselect)
package {
import flash.display.*;
public dynamic class Button_Gameselect extends MovieClip {
}
}//package
Section 338
//Button_ingameScreen (Button_ingameScreen)
package {
import flash.display.*;
public dynamic class Button_ingameScreen extends MovieClip {
}
}//package
Section 339
//COM_LoadingBar (COM_LoadingBar)
package {
import flash.display.*;
public dynamic class COM_LoadingBar extends MovieClip {
}
}//package
Section 340
//COM_LoadingProgress (COM_LoadingProgress)
package {
import flash.display.*;
public dynamic class COM_LoadingProgress extends MovieClip {
}
}//package
Section 341
//GameComplete (GameComplete)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class GameComplete extends MovieClip {
public var btn_tryAgain:MovieClip;
public var btn_test:MovieClip;
public var btn_sendtofriend:MovieClip;
public var btn_MoreGames:MovieClip;
public var placeholder_images:MovieClip;
public var btn_highscore:MovieClip;
public var placeholder_time_text:MovieClip;
public var btn_submithighscore:MovieClip;
public var txt_game_complete:LocalizedTextField;
public var btn_main:MovieClip;
public var btn_trophee:MovieClip;
public function GameComplete(){
__setProp_txt_game_complete_testComplete_Layer4_0();
}
function __setProp_txt_game_complete_testComplete_Layer4_0(){
try {
txt_game_complete["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_game_complete.text = "{Test_Complete_Score}";
txt_game_complete.textColor = 3219724;
txt_game_complete.textSize = 16;
txt_game_complete.bold = true;
txt_game_complete.disableWordwrap = false;
txt_game_complete.embedFonts = false;
txt_game_complete.font = "Arial";
txt_game_complete.hAlign = "left";
txt_game_complete.multiline = false;
txt_game_complete.vAlign = "top";
txt_game_complete.antiAliasType = "normal";
txt_game_complete.glowBlur = 3;
txt_game_complete.glowColor = 0;
txt_game_complete.useGlowFilter = false;
txt_game_complete.glowQuality = 1;
txt_game_complete.glowStrength = 5;
txt_game_complete.gridFitType = "pixel";
txt_game_complete.italic = false;
txt_game_complete.selectable = false;
txt_game_complete.underline = false;
try {
txt_game_complete["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 342
//GameComplete_mc (GameComplete_mc)
package {
import flash.display.*;
public dynamic class GameComplete_mc extends MovieClip {
public function GameComplete_mc(){
addFrameScript(214, frame215);
}
function frame215(){
stop();
}
}
}//package
Section 343
//GameComplete_Text (GameComplete_Text)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class GameComplete_Text extends MovieClip {
public var __id68_:LocalizedTextField;
public var __id64_:LocalizedTextField;
public var field_NewFacts:TextField;
public var field_overview:TextField;
public var __id69_:LocalizedTextField;
public var __id65_:LocalizedTextField;
public var field_bonusScore:TextField;
public var field_TotalScore:TextField;
public var txt_TrophyDescr:LocalizedTextField;
public var __id66_:LocalizedTextField;
public var __id70_:LocalizedTextField;
public var field_NewTrophy:TextField;
public var txt_Facts:LocalizedTextField;
public var field_cardScore:TextField;
public var txt_trophy:LocalizedTextField;
public var btn_trophee_special:MovieClip;
public var __id67_:LocalizedTextField;
public var __id71_:LocalizedTextField;
public var txt_feedback:LocalizedTextField;
public function GameComplete_Text(){
__setProp_txt_feedback_GameComplete_Text_Layer3_0();
__setProp___id64__GameComplete_Text_Layer3_0();
__setProp___id65__GameComplete_Text_Layer3_0();
__setProp___id66__GameComplete_Text_Layer3_0();
__setProp___id67__GameComplete_Text_Layer3_0();
__setProp___id68__GameComplete_Text_Layer3_0();
__setProp___id69__GameComplete_Text_Layer3_0();
__setProp___id70__GameComplete_Text_Layer3_0();
__setProp___id71__GameComplete_Text_Layer3_0();
__setProp_txt_trophy_GameComplete_Text_Layer3_0();
__setProp_txt_Facts_GameComplete_Text_Layer3_0();
__setProp_txt_TrophyDescr_GameComplete_Text_Layer3_0();
}
function __setProp___id65__GameComplete_Text_Layer3_0(){
try {
__id65_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id65_.text = "{Game_Complete_questions}";
__id65_.textColor = 3547404;
__id65_.textSize = 12;
__id65_.bold = true;
__id65_.disableWordwrap = false;
__id65_.embedFonts = true;
__id65_.font = "Arial";
__id65_.hAlign = "left";
__id65_.multiline = false;
__id65_.vAlign = "top";
__id65_.antiAliasType = "advanced";
__id65_.glowBlur = 3;
__id65_.glowColor = 0;
__id65_.useGlowFilter = false;
__id65_.glowQuality = 1;
__id65_.glowStrength = 5;
__id65_.gridFitType = "pixel";
__id65_.italic = false;
__id65_.selectable = false;
__id65_.underline = false;
try {
__id65_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id67__GameComplete_Text_Layer3_0(){
try {
__id67_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id67_.text = "{Test_Complete_Score}";
__id67_.textColor = 3547404;
__id67_.textSize = 12;
__id67_.bold = true;
__id67_.disableWordwrap = false;
__id67_.embedFonts = true;
__id67_.font = "Arial";
__id67_.hAlign = "left";
__id67_.multiline = false;
__id67_.vAlign = "top";
__id67_.antiAliasType = "advanced";
__id67_.glowBlur = 3;
__id67_.glowColor = 0;
__id67_.useGlowFilter = false;
__id67_.glowQuality = 1;
__id67_.glowStrength = 5;
__id67_.gridFitType = "pixel";
__id67_.italic = false;
__id67_.selectable = false;
__id67_.underline = false;
try {
__id67_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id69__GameComplete_Text_Layer3_0(){
try {
__id69_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id69_.text = "{points}";
__id69_.textColor = 3547404;
__id69_.textSize = 12;
__id69_.bold = true;
__id69_.disableWordwrap = false;
__id69_.embedFonts = true;
__id69_.font = "Arial";
__id69_.hAlign = "left";
__id69_.multiline = false;
__id69_.vAlign = "top";
__id69_.antiAliasType = "advanced";
__id69_.glowBlur = 3;
__id69_.glowColor = 0;
__id69_.useGlowFilter = false;
__id69_.glowQuality = 1;
__id69_.glowStrength = 5;
__id69_.gridFitType = "pixel";
__id69_.italic = false;
__id69_.selectable = false;
__id69_.underline = false;
try {
__id69_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id66__GameComplete_Text_Layer3_0(){
try {
__id66_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id66_.text = "{Test_Complete_Total}";
__id66_.textColor = 3547404;
__id66_.textSize = 12;
__id66_.bold = true;
__id66_.disableWordwrap = false;
__id66_.embedFonts = true;
__id66_.font = "Arial";
__id66_.hAlign = "left";
__id66_.multiline = false;
__id66_.vAlign = "top";
__id66_.antiAliasType = "advanced";
__id66_.glowBlur = 3;
__id66_.glowColor = 0;
__id66_.useGlowFilter = false;
__id66_.glowQuality = 1;
__id66_.glowStrength = 5;
__id66_.gridFitType = "pixel";
__id66_.italic = false;
__id66_.selectable = false;
__id66_.underline = false;
try {
__id66_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id68__GameComplete_Text_Layer3_0(){
try {
__id68_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id68_.text = "{Game_Complete__correct}";
__id68_.textColor = 3547404;
__id68_.textSize = 12;
__id68_.bold = true;
__id68_.disableWordwrap = false;
__id68_.embedFonts = true;
__id68_.font = "Arial";
__id68_.hAlign = "left";
__id68_.multiline = false;
__id68_.vAlign = "top";
__id68_.antiAliasType = "advanced";
__id68_.glowBlur = 3;
__id68_.glowColor = 0;
__id68_.useGlowFilter = false;
__id68_.glowQuality = 1;
__id68_.glowStrength = 5;
__id68_.gridFitType = "pixel";
__id68_.italic = false;
__id68_.selectable = false;
__id68_.underline = false;
try {
__id68_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id64__GameComplete_Text_Layer3_0(){
try {
__id64_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id64_.text = "{Test_Complete_Bonus}";
__id64_.textColor = 3547404;
__id64_.textSize = 12;
__id64_.bold = true;
__id64_.disableWordwrap = false;
__id64_.embedFonts = true;
__id64_.font = "Arial";
__id64_.hAlign = "left";
__id64_.multiline = false;
__id64_.vAlign = "top";
__id64_.antiAliasType = "advanced";
__id64_.glowBlur = 3;
__id64_.glowColor = 0;
__id64_.useGlowFilter = false;
__id64_.glowQuality = 1;
__id64_.glowStrength = 5;
__id64_.gridFitType = "pixel";
__id64_.italic = false;
__id64_.selectable = false;
__id64_.underline = false;
try {
__id64_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id70__GameComplete_Text_Layer3_0(){
try {
__id70_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id70_.text = "{points}";
__id70_.textColor = 3547404;
__id70_.textSize = 12;
__id70_.bold = true;
__id70_.disableWordwrap = false;
__id70_.embedFonts = true;
__id70_.font = "Arial";
__id70_.hAlign = "left";
__id70_.multiline = false;
__id70_.vAlign = "top";
__id70_.antiAliasType = "advanced";
__id70_.glowBlur = 3;
__id70_.glowColor = 0;
__id70_.useGlowFilter = false;
__id70_.glowQuality = 1;
__id70_.glowStrength = 5;
__id70_.gridFitType = "pixel";
__id70_.italic = false;
__id70_.selectable = false;
__id70_.underline = false;
try {
__id70_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id71__GameComplete_Text_Layer3_0(){
try {
__id71_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id71_.text = "{points}";
__id71_.textColor = 3547404;
__id71_.textSize = 12;
__id71_.bold = true;
__id71_.disableWordwrap = false;
__id71_.embedFonts = true;
__id71_.font = "Arial";
__id71_.hAlign = "left";
__id71_.multiline = false;
__id71_.vAlign = "top";
__id71_.antiAliasType = "advanced";
__id71_.glowBlur = 3;
__id71_.glowColor = 0;
__id71_.useGlowFilter = false;
__id71_.glowQuality = 1;
__id71_.glowStrength = 5;
__id71_.gridFitType = "pixel";
__id71_.italic = false;
__id71_.selectable = false;
__id71_.underline = false;
try {
__id71_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_feedback_GameComplete_Text_Layer3_0(){
try {
txt_feedback["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_feedback.text = "{Test_Complete_Bonus}";
txt_feedback.textColor = 15032101;
txt_feedback.textSize = 21;
txt_feedback.bold = true;
txt_feedback.disableWordwrap = false;
txt_feedback.embedFonts = true;
txt_feedback.font = "Arial";
txt_feedback.hAlign = "left";
txt_feedback.multiline = true;
txt_feedback.vAlign = "top";
txt_feedback.antiAliasType = "advanced";
txt_feedback.glowBlur = 3;
txt_feedback.glowColor = 0;
txt_feedback.useGlowFilter = false;
txt_feedback.glowQuality = 1;
txt_feedback.glowStrength = 5;
txt_feedback.gridFitType = "pixel";
txt_feedback.italic = false;
txt_feedback.selectable = false;
txt_feedback.underline = false;
try {
txt_feedback["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_TrophyDescr_GameComplete_Text_Layer3_0(){
try {
txt_TrophyDescr["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_TrophyDescr.text = "{Test_Complete_trophy_description}";
txt_TrophyDescr.textColor = 3547404;
txt_TrophyDescr.textSize = 12;
txt_TrophyDescr.bold = true;
txt_TrophyDescr.disableWordwrap = false;
txt_TrophyDescr.embedFonts = true;
txt_TrophyDescr.font = "Arial";
txt_TrophyDescr.hAlign = "left";
txt_TrophyDescr.multiline = false;
txt_TrophyDescr.vAlign = "top";
txt_TrophyDescr.antiAliasType = "advanced";
txt_TrophyDescr.glowBlur = 3;
txt_TrophyDescr.glowColor = 0;
txt_TrophyDescr.useGlowFilter = false;
txt_TrophyDescr.glowQuality = 1;
txt_TrophyDescr.glowStrength = 5;
txt_TrophyDescr.gridFitType = "pixel";
txt_TrophyDescr.italic = false;
txt_TrophyDescr.selectable = false;
txt_TrophyDescr.underline = false;
try {
txt_TrophyDescr["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_trophy_GameComplete_Text_Layer3_0(){
try {
txt_trophy["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_trophy.text = "{Test_overview}";
txt_trophy.textColor = 3547404;
txt_trophy.textSize = 12;
txt_trophy.bold = true;
txt_trophy.disableWordwrap = false;
txt_trophy.embedFonts = true;
txt_trophy.font = "Arial";
txt_trophy.hAlign = "left";
txt_trophy.multiline = false;
txt_trophy.vAlign = "top";
txt_trophy.antiAliasType = "advanced";
txt_trophy.glowBlur = 3;
txt_trophy.glowColor = 0;
txt_trophy.useGlowFilter = false;
txt_trophy.glowQuality = 1;
txt_trophy.glowStrength = 5;
txt_trophy.gridFitType = "pixel";
txt_trophy.italic = false;
txt_trophy.selectable = false;
txt_trophy.underline = false;
try {
txt_trophy["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_Facts_GameComplete_Text_Layer3_0(){
try {
txt_Facts["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_Facts.text = "{Test_Complete_Facts}";
txt_Facts.textColor = 3547404;
txt_Facts.textSize = 12;
txt_Facts.bold = true;
txt_Facts.disableWordwrap = false;
txt_Facts.embedFonts = true;
txt_Facts.font = "Arial";
txt_Facts.hAlign = "left";
txt_Facts.multiline = false;
txt_Facts.vAlign = "top";
txt_Facts.antiAliasType = "advanced";
txt_Facts.glowBlur = 3;
txt_Facts.glowColor = 0;
txt_Facts.useGlowFilter = false;
txt_Facts.glowQuality = 1;
txt_Facts.glowStrength = 5;
txt_Facts.gridFitType = "pixel";
txt_Facts.italic = false;
txt_Facts.selectable = false;
txt_Facts.underline = false;
try {
txt_Facts["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 344
//GameSelectMenu_mc (GameSelectMenu_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class GameSelectMenu_mc extends MovieClip {
public var btn_MoreGames:MovieClip;
public var txt_trophymode:LocalizedTextField;
public var btn_howtoplay:MovieClip;
public var btn_trophee:MovieClip;
public var txt_endlessmode:LocalizedTextField;
public var ByCategory_placeholder:MovieClip;
public var PlayRandom_placeholder:MovieClip;
public var btn_highscore:MovieClip;
public var btn_main:MovieClip;
public var __id27_:LocalizedTextField;
public function GameSelectMenu_mc(){
__setProp_txt_trophymode_GameSelect_text();
__setProp_txt_endlessmode_GameSelect_text();
__setProp___id27__GameSelect_layerbuttons();
}
function __setProp___id27__GameSelect_layerbuttons(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{GameMode_Title}";
__id27_.textColor = 3547404;
__id27_.textSize = 16;
__id27_.bold = true;
__id27_.disableWordwrap = false;
__id27_.embedFonts = true;
__id27_.font = "Arial";
__id27_.hAlign = "left";
__id27_.multiline = false;
__id27_.vAlign = "top";
__id27_.antiAliasType = "advanced";
__id27_.glowBlur = 3;
__id27_.glowColor = 0;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 1;
__id27_.glowStrength = 5;
__id27_.gridFitType = "pixel";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_endlessmode_GameSelect_text(){
try {
txt_endlessmode["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_endlessmode.text = "{GameMode_Endless_mode}";
txt_endlessmode.textColor = 3547404;
txt_endlessmode.textSize = 12;
txt_endlessmode.bold = true;
txt_endlessmode.disableWordwrap = false;
txt_endlessmode.embedFonts = true;
txt_endlessmode.font = "Arial";
txt_endlessmode.hAlign = "left";
txt_endlessmode.multiline = false;
txt_endlessmode.vAlign = "top";
txt_endlessmode.antiAliasType = "advanced";
txt_endlessmode.glowBlur = 3;
txt_endlessmode.glowColor = 0;
txt_endlessmode.useGlowFilter = false;
txt_endlessmode.glowQuality = 1;
txt_endlessmode.glowStrength = 5;
txt_endlessmode.gridFitType = "pixel";
txt_endlessmode.italic = false;
txt_endlessmode.selectable = false;
txt_endlessmode.underline = false;
try {
txt_endlessmode["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_trophymode_GameSelect_text(){
try {
txt_trophymode["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_trophymode.text = "{GameMode_Trophy_mode}";
txt_trophymode.textColor = 3547404;
txt_trophymode.textSize = 12;
txt_trophymode.bold = true;
txt_trophymode.disableWordwrap = false;
txt_trophymode.embedFonts = true;
txt_trophymode.font = "Arial";
txt_trophymode.hAlign = "left";
txt_trophymode.multiline = false;
txt_trophymode.vAlign = "top";
txt_trophymode.antiAliasType = "advanced";
txt_trophymode.glowBlur = 3;
txt_trophymode.glowColor = 0;
txt_trophymode.useGlowFilter = false;
txt_trophymode.glowQuality = 1;
txt_trophymode.glowStrength = 5;
txt_trophymode.gridFitType = "pixel";
txt_trophymode.italic = false;
txt_trophymode.selectable = false;
txt_trophymode.underline = false;
try {
txt_trophymode["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 345
//Highscoremenu_mc (Highscoremenu_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class Highscoremenu_mc extends MovieClip {
public var __id37_:LocalizedTextField;
public var __id36_:LocalizedTextField;
public var btn_trophee:MovieClip;
public var btn_MoreGames:MovieClip;
public var btn_back:MovieClip;
public var btn_main:MovieClip;
public function Highscoremenu_mc(){
__setProp___id36__Highscoremenu_menu_elements_0();
__setProp___id37__Highscoremenu_Layer16_0();
}
function __setProp___id36__Highscoremenu_menu_elements_0(){
try {
__id36_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id36_.text = "{Highscore_title}";
__id36_.textColor = 3219724;
__id36_.textSize = 16;
__id36_.bold = true;
__id36_.disableWordwrap = false;
__id36_.embedFonts = true;
__id36_.font = "Arial";
__id36_.hAlign = "left";
__id36_.multiline = false;
__id36_.vAlign = "top";
__id36_.antiAliasType = "advanced";
__id36_.glowBlur = 3;
__id36_.glowColor = 0;
__id36_.useGlowFilter = false;
__id36_.glowQuality = 1;
__id36_.glowStrength = 5;
__id36_.gridFitType = "pixel";
__id36_.italic = false;
__id36_.selectable = false;
__id36_.underline = false;
try {
__id36_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id37__Highscoremenu_Layer16_0(){
try {
__id37_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id37_.text = "{GoBackSendFriend_txt}";
__id37_.textColor = 4272409;
__id37_.textSize = 10;
__id37_.bold = true;
__id37_.disableWordwrap = false;
__id37_.embedFonts = false;
__id37_.font = "";
__id37_.hAlign = "right";
__id37_.multiline = false;
__id37_.vAlign = "top";
__id37_.antiAliasType = "normal";
__id37_.glowBlur = 3;
__id37_.glowColor = 0;
__id37_.useGlowFilter = false;
__id37_.glowQuality = 1;
__id37_.glowStrength = 5;
__id37_.gridFitType = "pixel";
__id37_.italic = false;
__id37_.selectable = false;
__id37_.underline = false;
try {
__id37_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 346
//hintMeter_mc (hintMeter_mc)
package {
import flash.display.*;
public dynamic class hintMeter_mc extends MovieClip {
}
}//package
Section 347
//HowToPlaymenu01_mc (HowToPlaymenu01_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class HowToPlaymenu01_mc extends MovieClip {
public var __id58_:LocalizedTextField;
public var btn_skip:MovieClip;
public var pagenumber_txt:TextField;
public var __id60_:LocalizedTextField;
public var btn_highscore:MovieClip;
public var __id59_:LocalizedTextField;
public var btn_trophee:MovieClip;
public var __id61_:LocalizedTextField;
public var btn_MoreGames:MovieClip;
public var btn_next:MovieClip;
public var btn_main:MovieClip;
public function HowToPlaymenu01_mc(){
__setProp___id58__HowToPlaymenu01_menu_elements_0();
__setProp___id59__HowToPlaymenu01_Layer16_0();
__setProp___id60__HowToPlaymenu01_Layer17_0();
__setProp___id61__HowToPlaymenu01_Layer19_0();
}
function __setProp___id58__HowToPlaymenu01_menu_elements_0(){
try {
__id58_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id58_.text = "{HowToPLay_Title}";
__id58_.textColor = 3547404;
__id58_.textSize = 16;
__id58_.bold = true;
__id58_.disableWordwrap = false;
__id58_.embedFonts = true;
__id58_.font = "Arial";
__id58_.hAlign = "left";
__id58_.multiline = false;
__id58_.vAlign = "top";
__id58_.antiAliasType = "advanced";
__id58_.glowBlur = 3;
__id58_.glowColor = 0;
__id58_.useGlowFilter = false;
__id58_.glowQuality = 1;
__id58_.glowStrength = 5;
__id58_.gridFitType = "pixel";
__id58_.italic = false;
__id58_.selectable = false;
__id58_.underline = false;
try {
__id58_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id60__HowToPlaymenu01_Layer17_0(){
try {
__id60_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id60_.text = "{HowToPlay_Skip_Btn}";
__id60_.textColor = 3547404;
__id60_.textSize = 12;
__id60_.bold = true;
__id60_.disableWordwrap = false;
__id60_.embedFonts = true;
__id60_.font = "Arial";
__id60_.hAlign = "right";
__id60_.multiline = false;
__id60_.vAlign = "top";
__id60_.antiAliasType = "advanced";
__id60_.glowBlur = 3;
__id60_.glowColor = 0;
__id60_.useGlowFilter = false;
__id60_.glowQuality = 1;
__id60_.glowStrength = 5;
__id60_.gridFitType = "pixel";
__id60_.italic = false;
__id60_.selectable = false;
__id60_.underline = false;
try {
__id60_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id59__HowToPlaymenu01_Layer16_0(){
try {
__id59_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id59_.text = "{HowToPLay_description1}";
__id59_.textColor = 3547404;
__id59_.textSize = 12;
__id59_.bold = true;
__id59_.disableWordwrap = false;
__id59_.embedFonts = true;
__id59_.font = "Arial";
__id59_.hAlign = "left";
__id59_.multiline = false;
__id59_.vAlign = "top";
__id59_.antiAliasType = "advanced";
__id59_.glowBlur = 3;
__id59_.glowColor = 0;
__id59_.useGlowFilter = false;
__id59_.glowQuality = 1;
__id59_.glowStrength = 5;
__id59_.gridFitType = "pixel";
__id59_.italic = false;
__id59_.selectable = false;
__id59_.underline = false;
try {
__id59_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id61__HowToPlaymenu01_Layer19_0(){
try {
__id61_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id61_.text = "{HowToPlay_Next_Btn}";
__id61_.textColor = 3547404;
__id61_.textSize = 12;
__id61_.bold = true;
__id61_.disableWordwrap = false;
__id61_.embedFonts = true;
__id61_.font = "Arial";
__id61_.hAlign = "right";
__id61_.multiline = false;
__id61_.vAlign = "top";
__id61_.antiAliasType = "advanced";
__id61_.glowBlur = 3;
__id61_.glowColor = 0;
__id61_.useGlowFilter = false;
__id61_.glowQuality = 1;
__id61_.glowStrength = 5;
__id61_.gridFitType = "pixel";
__id61_.italic = false;
__id61_.selectable = false;
__id61_.underline = false;
try {
__id61_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 348
//HowToPlaymenu02_mc (HowToPlaymenu02_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class HowToPlaymenu02_mc extends MovieClip {
public var btn_skip:MovieClip;
public var __id54_:LocalizedTextField;
public var __id52_:LocalizedTextField;
public var __id50_:LocalizedTextField;
public var btn_highscore:MovieClip;
public var pagenumber_txt:TextField;
public var __id53_:LocalizedTextField;
public var __id51_:LocalizedTextField;
public var btn_MoreGames:MovieClip;
public var btn_trophee:MovieClip;
public var btn_next:MovieClip;
public var btn_previous:MovieClip;
public var btn_main:MovieClip;
public function HowToPlaymenu02_mc(){
__setProp___id50__HowToPlaymenu02_menu_elements_0();
__setProp___id51__HowToPlaymenu02_menu_elements_0();
__setProp___id52__HowToPlaymenu02_menu_elements_0();
__setProp___id53__HowToPlaymenu02_Layer17_0();
__setProp___id54__HowToPlaymenu02_Layer17_0();
}
function __setProp___id54__HowToPlaymenu02_Layer17_0(){
try {
__id54_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id54_.text = "{HowToPlay_Next_Btn}";
__id54_.textColor = 3547404;
__id54_.textSize = 12;
__id54_.bold = true;
__id54_.disableWordwrap = false;
__id54_.embedFonts = true;
__id54_.font = "Arial";
__id54_.hAlign = "right";
__id54_.multiline = false;
__id54_.vAlign = "top";
__id54_.antiAliasType = "advanced";
__id54_.glowBlur = 3;
__id54_.glowColor = 0;
__id54_.useGlowFilter = false;
__id54_.glowQuality = 1;
__id54_.glowStrength = 5;
__id54_.gridFitType = "pixel";
__id54_.italic = false;
__id54_.selectable = false;
__id54_.underline = false;
try {
__id54_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id52__HowToPlaymenu02_menu_elements_0(){
try {
__id52_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id52_.text = "{HowToPLay_description2}";
__id52_.textColor = 3547404;
__id52_.textSize = 12;
__id52_.bold = true;
__id52_.disableWordwrap = false;
__id52_.embedFonts = true;
__id52_.font = "Arial";
__id52_.hAlign = "left";
__id52_.multiline = false;
__id52_.vAlign = "top";
__id52_.antiAliasType = "advanced";
__id52_.glowBlur = 3;
__id52_.glowColor = 0;
__id52_.useGlowFilter = false;
__id52_.glowQuality = 1;
__id52_.glowStrength = 5;
__id52_.gridFitType = "pixel";
__id52_.italic = false;
__id52_.selectable = false;
__id52_.underline = false;
try {
__id52_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id50__HowToPlaymenu02_menu_elements_0(){
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{HowToPlay_Previous_Btn}";
__id50_.textColor = 3547404;
__id50_.textSize = 12;
__id50_.bold = true;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "left";
__id50_.multiline = false;
__id50_.vAlign = "top";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 3;
__id50_.glowColor = 0;
__id50_.useGlowFilter = false;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id53__HowToPlaymenu02_Layer17_0(){
try {
__id53_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id53_.text = "{HowToPlay_Skip_Btn}";
__id53_.textColor = 3547404;
__id53_.textSize = 12;
__id53_.bold = true;
__id53_.disableWordwrap = false;
__id53_.embedFonts = true;
__id53_.font = "Arial";
__id53_.hAlign = "right";
__id53_.multiline = false;
__id53_.vAlign = "top";
__id53_.antiAliasType = "advanced";
__id53_.glowBlur = 3;
__id53_.glowColor = 0;
__id53_.useGlowFilter = false;
__id53_.glowQuality = 1;
__id53_.glowStrength = 5;
__id53_.gridFitType = "pixel";
__id53_.italic = false;
__id53_.selectable = false;
__id53_.underline = false;
try {
__id53_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id51__HowToPlaymenu02_menu_elements_0(){
try {
__id51_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id51_.text = "{HowToPLay_Title}";
__id51_.textColor = 3547404;
__id51_.textSize = 16;
__id51_.bold = true;
__id51_.disableWordwrap = false;
__id51_.embedFonts = true;
__id51_.font = "Arial";
__id51_.hAlign = "left";
__id51_.multiline = false;
__id51_.vAlign = "top";
__id51_.antiAliasType = "advanced";
__id51_.glowBlur = 3;
__id51_.glowColor = 0;
__id51_.useGlowFilter = false;
__id51_.glowQuality = 1;
__id51_.glowStrength = 5;
__id51_.gridFitType = "pixel";
__id51_.italic = false;
__id51_.selectable = false;
__id51_.underline = false;
try {
__id51_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 349
//HowToPlaymenu03_mc (HowToPlaymenu03_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class HowToPlaymenu03_mc extends MovieClip {
public var __id48_:LocalizedTextField;
public var __id46_:LocalizedTextField;
public var __id44_:LocalizedTextField;
public var btn_highscore:MovieClip;
public var pagenumber_txt:TextField;
public var btn_skip:MovieClip;
public var __id47_:LocalizedTextField;
public var __id45_:LocalizedTextField;
public var btn_trophee:MovieClip;
public var btn_MoreGames:MovieClip;
public var btn_next:MovieClip;
public var btn_previous:MovieClip;
public var btn_main:MovieClip;
public function HowToPlaymenu03_mc(){
__setProp___id44__HowToPlayMenu03_menu_elements_0();
__setProp___id45__HowToPlayMenu03_Layer16_0();
__setProp___id46__HowToPlayMenu03_Layer16_0();
__setProp___id47__HowToPlayMenu03_Layer16_0();
__setProp___id48__HowToPlayMenu03_Layer16_0();
}
function __setProp___id47__HowToPlayMenu03_Layer16_0(){
try {
__id47_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id47_.text = "{HowToPlay_Skip_Btn}";
__id47_.textColor = 3547404;
__id47_.textSize = 12;
__id47_.bold = true;
__id47_.disableWordwrap = false;
__id47_.embedFonts = true;
__id47_.font = "Arial";
__id47_.hAlign = "right";
__id47_.multiline = false;
__id47_.vAlign = "top";
__id47_.antiAliasType = "advanced";
__id47_.glowBlur = 3;
__id47_.glowColor = 0;
__id47_.useGlowFilter = false;
__id47_.glowQuality = 1;
__id47_.glowStrength = 5;
__id47_.gridFitType = "pixel";
__id47_.italic = false;
__id47_.selectable = false;
__id47_.underline = false;
try {
__id47_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id45__HowToPlayMenu03_Layer16_0(){
try {
__id45_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id45_.text = "{HowToPlay_Previous_Btn}";
__id45_.textColor = 3547404;
__id45_.textSize = 12;
__id45_.bold = true;
__id45_.disableWordwrap = false;
__id45_.embedFonts = true;
__id45_.font = "Arial";
__id45_.hAlign = "left";
__id45_.multiline = false;
__id45_.vAlign = "top";
__id45_.antiAliasType = "advanced";
__id45_.glowBlur = 3;
__id45_.glowColor = 0;
__id45_.useGlowFilter = false;
__id45_.glowQuality = 1;
__id45_.glowStrength = 5;
__id45_.gridFitType = "pixel";
__id45_.italic = false;
__id45_.selectable = false;
__id45_.underline = false;
try {
__id45_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id48__HowToPlayMenu03_Layer16_0(){
try {
__id48_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id48_.text = "{HowToPlay_Next_Btn}";
__id48_.textColor = 3547404;
__id48_.textSize = 12;
__id48_.bold = true;
__id48_.disableWordwrap = false;
__id48_.embedFonts = true;
__id48_.font = "Arial";
__id48_.hAlign = "right";
__id48_.multiline = false;
__id48_.vAlign = "top";
__id48_.antiAliasType = "advanced";
__id48_.glowBlur = 3;
__id48_.glowColor = 0;
__id48_.useGlowFilter = false;
__id48_.glowQuality = 1;
__id48_.glowStrength = 5;
__id48_.gridFitType = "pixel";
__id48_.italic = false;
__id48_.selectable = false;
__id48_.underline = false;
try {
__id48_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id46__HowToPlayMenu03_Layer16_0(){
try {
__id46_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id46_.text = "{HowToPLay_description3}";
__id46_.textColor = 3547404;
__id46_.textSize = 12;
__id46_.bold = true;
__id46_.disableWordwrap = false;
__id46_.embedFonts = true;
__id46_.font = "Arial";
__id46_.hAlign = "left";
__id46_.multiline = false;
__id46_.vAlign = "top";
__id46_.antiAliasType = "advanced";
__id46_.glowBlur = 3;
__id46_.glowColor = 0;
__id46_.useGlowFilter = false;
__id46_.glowQuality = 1;
__id46_.glowStrength = 5;
__id46_.gridFitType = "pixel";
__id46_.italic = false;
__id46_.selectable = false;
__id46_.underline = false;
try {
__id46_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id44__HowToPlayMenu03_menu_elements_0(){
try {
__id44_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id44_.text = "{HowToPLay_Title}";
__id44_.textColor = 3547404;
__id44_.textSize = 16;
__id44_.bold = true;
__id44_.disableWordwrap = false;
__id44_.embedFonts = true;
__id44_.font = "Arial";
__id44_.hAlign = "left";
__id44_.multiline = false;
__id44_.vAlign = "top";
__id44_.antiAliasType = "advanced";
__id44_.glowBlur = 3;
__id44_.glowColor = 0;
__id44_.useGlowFilter = false;
__id44_.glowQuality = 1;
__id44_.glowStrength = 5;
__id44_.gridFitType = "pixel";
__id44_.italic = false;
__id44_.selectable = false;
__id44_.underline = false;
try {
__id44_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 350
//HowToPlaymenu04_mc (HowToPlaymenu04_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class HowToPlaymenu04_mc extends MovieClip {
public var btn_skip:MovieClip;
public var btn_main:MovieClip;
public var __id42_:LocalizedTextField;
public var __id40_:LocalizedTextField;
public var pagenumber_txt:TextField;
public var btn_highscore:MovieClip;
public var __id39_:LocalizedTextField;
public var btn_trophee:MovieClip;
public var __id41_:LocalizedTextField;
public var btn_MoreGames:MovieClip;
public var btn_previous:MovieClip;
public function HowToPlaymenu04_mc(){
__setProp___id39__HowToPlaymenu04_menu_elements_0();
__setProp___id40__HowToPlaymenu04_menu_elements_0();
__setProp___id41__HowToPlaymenu04_menu_elements_0();
__setProp___id42__HowToPlaymenu04_menu_elements_0();
}
function __setProp___id42__HowToPlaymenu04_menu_elements_0(){
try {
__id42_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id42_.text = "{HowToPlay_Skip_Btn}";
__id42_.textColor = 3547404;
__id42_.textSize = 12;
__id42_.bold = true;
__id42_.disableWordwrap = false;
__id42_.embedFonts = true;
__id42_.font = "Arial";
__id42_.hAlign = "right";
__id42_.multiline = false;
__id42_.vAlign = "top";
__id42_.antiAliasType = "advanced";
__id42_.glowBlur = 3;
__id42_.glowColor = 0;
__id42_.useGlowFilter = false;
__id42_.glowQuality = 1;
__id42_.glowStrength = 5;
__id42_.gridFitType = "pixel";
__id42_.italic = false;
__id42_.selectable = false;
__id42_.underline = false;
try {
__id42_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id40__HowToPlaymenu04_menu_elements_0(){
try {
__id40_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id40_.text = "{HowToPLay_description4}";
__id40_.textColor = 3547404;
__id40_.textSize = 12;
__id40_.bold = true;
__id40_.disableWordwrap = false;
__id40_.embedFonts = true;
__id40_.font = "Arial";
__id40_.hAlign = "left";
__id40_.multiline = false;
__id40_.vAlign = "top";
__id40_.antiAliasType = "advanced";
__id40_.glowBlur = 3;
__id40_.glowColor = 0;
__id40_.useGlowFilter = false;
__id40_.glowQuality = 1;
__id40_.glowStrength = 5;
__id40_.gridFitType = "pixel";
__id40_.italic = false;
__id40_.selectable = false;
__id40_.underline = false;
try {
__id40_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id39__HowToPlaymenu04_menu_elements_0(){
try {
__id39_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id39_.text = "{HowToPlay_Previous_Btn}";
__id39_.textColor = 3547404;
__id39_.textSize = 12;
__id39_.bold = true;
__id39_.disableWordwrap = false;
__id39_.embedFonts = true;
__id39_.font = "Arial";
__id39_.hAlign = "left";
__id39_.multiline = false;
__id39_.vAlign = "top";
__id39_.antiAliasType = "advanced";
__id39_.glowBlur = 3;
__id39_.glowColor = 0;
__id39_.useGlowFilter = false;
__id39_.glowQuality = 1;
__id39_.glowStrength = 5;
__id39_.gridFitType = "pixel";
__id39_.italic = false;
__id39_.selectable = false;
__id39_.underline = false;
try {
__id39_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id41__HowToPlaymenu04_menu_elements_0(){
try {
__id41_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id41_.text = "{HowToPLay_Title}";
__id41_.textColor = 3547404;
__id41_.textSize = 16;
__id41_.bold = true;
__id41_.disableWordwrap = false;
__id41_.embedFonts = true;
__id41_.font = "Arial";
__id41_.hAlign = "left";
__id41_.multiline = false;
__id41_.vAlign = "top";
__id41_.antiAliasType = "advanced";
__id41_.glowBlur = 3;
__id41_.glowColor = 0;
__id41_.useGlowFilter = false;
__id41_.glowQuality = 1;
__id41_.glowStrength = 5;
__id41_.gridFitType = "pixel";
__id41_.italic = false;
__id41_.selectable = false;
__id41_.underline = false;
try {
__id41_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 351
//inGameScreen_mc (inGameScreen_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class inGameScreen_mc extends MovieClip {
public var txt_score:TextField;
public var btn_pausegame:MovieClip;
public var btn_MoreGames:MovieClip;
public var hintArrowsRight:MovieClip;
public var txt_question:LocalizedTextField;
public var ingameClock:MovieClip;
public var hintArrowsLeft:MovieClip;
public var ingameClock_pointer:MovieClip;
public var ingameClock_disc:MovieClip;
public var __id28_:LocalizedTextField;
public function inGameScreen_mc(){
__setProp___id28__inGameScreen_calculator_0();
__setProp_txt_question_inGameScreen_localisedtextfield_0();
}
function __setProp_txt_question_inGameScreen_localisedtextfield_0(){
try {
txt_question["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_question.text = "";
txt_question.textColor = 2449276;
txt_question.textSize = 14;
txt_question.bold = true;
txt_question.disableWordwrap = false;
txt_question.embedFonts = true;
txt_question.font = "Arial";
txt_question.hAlign = "left";
txt_question.multiline = true;
txt_question.vAlign = "top";
txt_question.antiAliasType = "advanced";
txt_question.glowBlur = 3;
txt_question.glowColor = 0;
txt_question.useGlowFilter = false;
txt_question.glowQuality = 1;
txt_question.glowStrength = 5;
txt_question.gridFitType = "pixel";
txt_question.italic = false;
txt_question.selectable = false;
txt_question.underline = false;
try {
txt_question["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id28__inGameScreen_calculator_0(){
try {
__id28_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id28_.text = "{Score_Ingame_txt}";
__id28_.textColor = 0x484848;
__id28_.textSize = 8;
__id28_.bold = true;
__id28_.disableWordwrap = false;
__id28_.embedFonts = true;
__id28_.font = "Arial";
__id28_.hAlign = "left";
__id28_.multiline = false;
__id28_.vAlign = "top";
__id28_.antiAliasType = "advanced";
__id28_.glowBlur = 3;
__id28_.glowColor = 0;
__id28_.useGlowFilter = false;
__id28_.glowQuality = 1;
__id28_.glowStrength = 5;
__id28_.gridFitType = "pixel";
__id28_.italic = false;
__id28_.selectable = false;
__id28_.underline = false;
try {
__id28_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 352
//Lethe_Alert_Page (Lethe_Alert_Page)
package {
import flash.display.*;
public dynamic class Lethe_Alert_Page extends MovieClip {
}
}//package
Section 353
//Lethe_All_Logo (Lethe_All_Logo)
package {
import flash.display.*;
public dynamic class Lethe_All_Logo extends MovieClip {
}
}//package
Section 354
//Lethe_BackGround (Lethe_BackGround)
package {
import flash.display.*;
public dynamic class Lethe_BackGround extends MovieClip {
}
}//package
Section 355
//Lethe_Button_Back (Lethe_Button_Back)
package {
import flash.display.*;
public dynamic class Lethe_Button_Back extends MovieClip {
}
}//package
Section 356
//Lethe_Button_Down (Lethe_Button_Down)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 357
//Lethe_Button_Down2 (Lethe_Button_Down2)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down2 extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 358
//Lethe_Button_Down3 (Lethe_Button_Down3)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down3 extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 359
//Lethe_Button_Up (Lethe_Button_Up)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 360
//Lethe_Button_Up2 (Lethe_Button_Up2)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up2 extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 361
//Lethe_Button_Up3 (Lethe_Button_Up3)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up3 extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 362
//Lethe_Continue_Button (Lethe_Continue_Button)
package {
import flash.display.*;
public dynamic class Lethe_Continue_Button extends MovieClip {
public function Lethe_Continue_Button(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package
Section 363
//Lethe_Drag_Block (Lethe_Drag_Block)
package {
import flash.display.*;
public dynamic class Lethe_Drag_Block extends MovieClip {
}
}//package
Section 364
//Lethe_DragArea (Lethe_DragArea)
package {
import flash.display.*;
public dynamic class Lethe_DragArea extends MovieClip {
}
}//package
Section 365
//Lethe_FocusLine (Lethe_FocusLine)
package {
import flash.display.*;
public dynamic class Lethe_FocusLine extends MovieClip {
}
}//package
Section 366
//Lethe_LineBack (Lethe_LineBack)
package {
import flash.display.*;
public dynamic class Lethe_LineBack extends MovieClip {
}
}//package
Section 367
//Lethe_LineBack2 (Lethe_LineBack2)
package {
import flash.display.*;
public dynamic class Lethe_LineBack2 extends MovieClip {
}
}//package
Section 368
//Lethe_Link_Button (Lethe_Link_Button)
package {
import flash.display.*;
public dynamic class Lethe_Link_Button extends MovieClip {
public function Lethe_Link_Button(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package
Section 369
//Lethe_Loading_Text (Lethe_Loading_Text)
package {
import flash.display.*;
public dynamic class Lethe_Loading_Text extends MovieClip {
}
}//package
Section 370
//Lethe_PreviewMc (Lethe_PreviewMc)
package {
import flash.display.*;
public dynamic class Lethe_PreviewMc extends MovieClip {
}
}//package
Section 371
//Lethe_Scroll_Bar (Lethe_Scroll_Bar)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Bar extends MovieClip {
}
}//package
Section 372
//Lethe_Scroll_Down (Lethe_Scroll_Down)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Down extends MovieClip {
}
}//package
Section 373
//Lethe_Scroll_Up (Lethe_Scroll_Up)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Up extends MovieClip {
}
}//package
Section 374
//Lethe_Text1 (Lethe_Text1)
package {
import flash.display.*;
public dynamic class Lethe_Text1 extends MovieClip {
}
}//package
Section 375
//Lethe_Text2 (Lethe_Text2)
package {
import flash.display.*;
public dynamic class Lethe_Text2 extends MovieClip {
}
}//package
Section 376
//Lethe_Text3 (Lethe_Text3)
package {
import flash.display.*;
public dynamic class Lethe_Text3 extends MovieClip {
}
}//package
Section 377
//Main (Main)
package {
import flash.events.*;
import spill.TMH.Data.Cards.*;
import flash.display.*;
import spill.TMH.Data.*;
import fl.transitions.*;
import spill.TMH.*;
import spill.TMH.Menus.*;
import spill.TMH.sound.*;
import fl.motion.easing.*;
import spill.TMH.tracker.*;
import flash.ui.*;
import flash.external.*;
public class Main extends Sprite {
private var _OOl1l0O1O:TransitionManager;
private var _O0l1l00OO:Boolean;// = false
private var _O11010l11:Game;
private var _OOOll11l0:O11111OO11;
public var bShowDebug:Boolean;// = false
private var _O0O1001OO:Object;
private var _OO0O00110:MovieClip;
public var userdata:UserData;
private var _O10O1lll1:MovieClip;
public var m_gameStats:m_GameStatistics;
private static var _O11ll010l:Boolean = false;
public function Main():void{
_O0O1001OO = {type:Fade, direction:Transition.OUT, duration:1, startPoint:5, easing:Quadratic.easeOut};
m_gameStats = new m_GameStatistics();
super();
if (stage){
_O0OOO1101();
} else {
addEventListener(Event.ADDED_TO_STAGE, _O0OOO1101);
addEventListener(Event.CLOSE, _O1100O0O1);
};
}
public function goMainMenu(_arg1:Event=null):void{
var _local2:String;
var _local3:String;
if ((_O10O1lll1 is MainMenu)){
return;
};
_O010l0O10(new MainMenu(this));
if (!_O11ll010l){
_local2 = _O001O110O();
if (_O0010l0O1(_local2)){
_local3 = _O1lO1l111(_local2);
if (_local3.length > 5){
goSendToFrienInMenu(_local3);
};
};
_O11ll010l = true;
};
}
public function SaveGameSettings():void{
SaveUserData.SaveSettings(userdata, SaveUserData.methodCookie);
}
public function O01l10(_arg1:String, _arg2:Number):void{
_OOOll11l0.O11111O10(_arg2, _arg1);
}
private function _O0010l0O1(_arg1:String):Boolean{
return ((_arg1.indexOf("code=") > 0));
}
public function ProcessGameSettings():void{
Music.volume = (userdata.Music_volume * 0.4);
SoundFX.volume = (userdata.Sfx_volume * 0.4);
stage.quality = userdata.GetStageQuality();
}
public function SaveGameData():void{
SaveUserData.SaveData(userdata, SaveUserData.methodCookie);
}
public function getHighScoreComp():O11111OO11{
return (_OOOll11l0);
}
private function _O010l0O10(_arg1:MovieClip):void{
var _local2:BitmapData;
var _local3:Bitmap;
if (_O0l1l00OO){
_O001O0ll0();
};
addChildAt(_arg1, 0);
if (_O10O1lll1){
_local2 = new BitmapData(700, 500, true, 0);
_local2.draw(_O10O1lll1);
_local3 = new Bitmap(_local2);
_OO0O00110 = new MovieClip();
_OO0O00110.addChild(_local3);
_OO0O00110.mouseEnabled = false;
_OO0O00110.mouseChildren = false;
addChild(_OO0O00110);
if (_O10O1lll1 == _O11010l11){
setChildIndex(_O11010l11, 0);
if (_O11010l11.running){
_O11010l11.destroy();
};
_O11010l11 = null;
};
removeChild(_O10O1lll1);
_OOl1l0O1O = new TransitionManager(_OO0O00110);
_OOl1l0O1O.addEventListener("allTransitionsOutDone", _O001O0ll0);
_OOl1l0O1O.startTransition(_O0O1001OO);
_O0l1l00OO = true;
};
_O10O1lll1 = _arg1;
}
public function GetRandomCards(_arg1:int):Array{
var _O0ll0Ol11:int;
var _O0ll100O0:int;
var _OO0O0l10l:int;
var _O000l01l0:int;
var amount = _arg1;
var _OO01Ol1ll:Array = new Array();
var _O01lOl10l:Array = new Array();
var _OO00l1lO0:Array = new Array();
var i:int;
while (i < userdata.Questions.length) {
if (userdata.Questions[i] == 0){
_O01lOl10l.push(i);
} else {
_OO00l1lO0.push(i);
};
i = (i + 1);
};
var _O1O0Ol00l:int;
if (_O01lOl10l.length < amount){
_OO01Ol1ll = _OO01Ol1ll.concat(_O01lOl10l);
_O1O0Ol00l = (_O1O0Ol00l + _O01lOl10l.length);
while (_O1O0Ol00l < amount) {
_O0ll0Ol11 = Math.floor((Math.random() * _OO00l1lO0.length));
if (_O0ll0Ol11 >= _OO00l1lO0.length){
_O0ll0Ol11 = (_O0ll0Ol11 - 1);
};
_OO01Ol1ll.push(_OO00l1lO0.splice(_O0ll0Ol11, 1));
_O1O0Ol00l = (_O1O0Ol00l + 1);
};
} else {
while (_O1O0Ol00l < amount) {
_O0ll100O0 = Math.floor((Math.random() * _O01lOl10l.length));
if (_O0ll100O0 >= _O01lOl10l.length){
_O0ll100O0 = (_O0ll100O0 - 1);
};
_OO01Ol1ll.push(_O01lOl10l.splice(_O0ll100O0, 1));
_O1O0Ol00l = (_O1O0Ol00l + 1);
};
};
var _O0101OO0O:* = function ():int{
return (Math.round(((Math.random() * 2) - 1)));
};
_OO01Ol1ll.sort(_O0101OO0O);
var _OO100OOOO:Array = new Array();
var count:int;
while (count < _OO01Ol1ll.length) {
_OO0O0l10l = (Math.floor((_OO01Ol1ll[count] / 10)) + 1);
_O000l01l0 = (_OO01Ol1ll[count] % 10);
_OO100OOOO.push(CardsData.categoryCards[("category" + _OO0O0l10l)][3][_O000l01l0]);
_OO100OOOO[(_OO100OOOO.length - 1)].setCategory(_OO0O0l10l);
count = (count + 1);
};
return (_OO100OOOO);
}
public function goGameCompleteMenu(_arg1:Event=null):void{
_O010l0O10(new GameCompleteMenu(this, (_O11010l11 as GameSession).getGameModeCard()));
}
private function _O001O0ll0(_arg1:Event=null):void{
_OOl1l0O1O.removeEventListener("allTransitionsOutDone", _O001O0ll0);
_O0l1l00OO = false;
removeChild(_OO0O00110);
}
private function _O1lO1l111(_arg1:String):String{
var _local2:Number = (_arg1.indexOf("code=") + 5);
var _local3:Number = _arg1.indexOf("&", _local2);
if (_local3 < _local2){
return (_arg1.substring(_local2));
};
return (_arg1.substring(_local2, _local3));
}
private function _O001O110O():String{
var _O11OO001l:String;
if (ExternalInterface.available){
try {
_O11OO001l = ExternalInterface.call("window.location.href.toString");
if (((!((_O11OO001l == ""))) && (!((_O11OO001l == null))))){
return (_O11OO001l);
} else {
return ("");
};
} catch(e:SecurityError) {
return ("");
} catch(e:Error) {
return ("");
};
} else {
return ("");
};
return ("");
}
public function goSendToFrienInMenu(_arg1:String):void{
addChild(new SendToFriendInMenu(this, _arg1));
}
public function LoadGameData():void{
userdata = LoadUserData.LoadData(LoadUserData.methodCookie);
}
public function gameOver(_arg1:Event):void{
stage.quality = StageQuality.BEST;
if (_O11010l11){
_O11010l11.removeEventListener("gameOver", gameOver, false);
_O11010l11.removeEventListener("userQuit", _O1100O0O1, false);
};
goGameCompleteMenu();
Mouse.show();
}
public function goHighScores(_arg1:Event=null):void{
_O010l0O10(new HighScoreMenu(this));
}
private function _O0OOO1101(_arg1:Event=null):void{
Analytics.mainScreenEvent();
LoadGameData();
ProcessGameSettings();
_OOOll11l0 = new O11111OO11();
_OOOll11l0.O111111O(parent, "Test_My_History", 1, "Test_My_History", 0, "normal", 2);
if (!_OOOll11l0.O11111100()){
trace("Highscores Disabled");
};
stage.frameRate = 31;
TestMyHistory.PERFORMANCE = new Performance();
goMainMenu();
}
public function startGame(_arg1:GameModeCard):void{
m_gameStats.m_reset();
userdata.gamePlayCount = (userdata.gamePlayCount + 1);
SaveGameData();
_O11010l11 = new GameSession(this, _arg1);
_O010l0O10(_O11010l11);
}
public function goTrophyRoomMenu(_arg1:Event=null):void{
_O010l0O10(new TrophyRoomMenu(this));
}
private function _O1100O0O1(_arg1:Event=null):void{
stage.quality = StageQuality.BEST;
_O11010l11.removeEventListener("gameOver", gameOver, false);
_O11010l11.removeEventListener("userQuit", _O1100O0O1, false);
goMainMenu();
Mouse.show();
}
public function goGameModeMenu(_arg1:Event=null):void{
_O010l0O10(new GameModeMenu(this));
}
public function goHowToPlay(_arg1:Event=null):void{
_O010l0O10(new HowToPlayMenu(this));
}
}
}//package
class m_GameStatistics {
public var m_score:Object;// = 0
public var m_timePerQuest:int;// = 0
public var m_timeLeft:Number;// = 0
public var m_CategoryWon:Array;
public var m_totalCards:int;// = 0
public var m_FactsUnlocked:Array;
public var m_bAlreadySolvedAllQuestions:Boolean;// = false
public var m_categoryID:int;// = 1
public var m_correctCards:int;// = 0
private function m_GameStatistics(){
m_FactsUnlocked = new Array();
m_CategoryWon = new Array();
super();
}
public function m_getTimeLeftBonusScore():int{
var _local1:Number;
var _local2:Number;
var _local3:Number;
if (m_correctCards > 0){
_local1 = (m_totalCards * m_timePerQuest);
_local2 = (m_timeLeft / _local1);
_local3 = (m_correctCards / m_totalCards);
return (((_local2 * _local3) * 40000));
};
return (0);
}
public function m_IsTrophyCategory():Boolean{
return ((m_categoryID < 100));
}
public function m_GetCorrectQuestions(_arg1:Array):Array{
var _local2:Array = _arg1;
var _local3:Array = new Array((_local2.length / 10));
var _local4:int;
while (_local4 < _local3.length) {
_local3[_local4] = 0;
_local4++;
};
var _local5:int;
var _local6:int;
while (_local5 < 13) {
_local6 = (_local5 * 10);
while (_local6 < ((_local5 + 1) * 10)) {
if (_local2[_local6] == 1){
var _local7 = _local3;
var _local8 = _local5;
var _local9 = (_local7[_local8] + 1);
_local7[_local8] = _local9;
};
_local6++;
};
_local5++;
};
return (_local3);
}
public function m_AllQuestionsCorrect(_arg1:Array):Boolean{
var _local2:int;
var _local3:Array = _arg1;
var _local4:int;
while (_local4 < _local3.length) {
if (_local3[_local4] == 1){
_local2++;
};
_local4++;
};
if (_local2 == 130){
return (true);
};
return (false);
}
public function m_WonTrophy():Boolean{
return ((m_CategoryWon.length > 0));
}
public function m_reset():void{
m_timeLeft = 0;
m_totalCards = 0;
m_correctCards = 0;
m_categoryID = 1;
m_score = 0;
m_timePerQuest = 0;
m_FactsUnlocked = new Array();
m_CategoryWon = new Array();
m_bAlreadySolvedAllQuestions = false;
}
public function m_CalculateScore():Object{
var _local1:Object = m_score;
_local1 = (_local1 + m_getTimeLeftBonusScore());
return (_local1);
}
}
Section 378
//O11111111 (O11111111)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import O11111110.*;
import flash.net.*;
import flash.system.*;
public class O11111111 extends MovieClip {
private const O11111OO1:Array;
private var O11111OO0:Number;
private var O11111OOO:MovieClip;
private var O11111OOl;
private var O11111O01:Boolean;// = false
private var O11111O00;
private var O11111O0O:Loader;
private var O11111O0l;
private var O111111l1:String;
private var O111111lO:int;
private var O111111ll:Number;
private var O11111l11;
private var oddLineColor:Number;
private var O111111O0:String;
private var O111111O1:String;
private var O11111l1O;
private var O11111Ol0:MovieClip;
private var O11111Ol1:Array;
private var O111111OO:String;
private var O111111Ol:String;
private var O11111OlO:String;
private var O1111100O1:int;
private var O11111Oll:Boolean;
private var evenLineColor:Number;
private var noticeLineColor:Number;
private var selfLineColor:Number;
public function O11111111():void{
var O11111l1l:int;
var O11111l10:*;
O11111O01 = false;
O11111OO1 = ["Failed to get highscores.", "Failed to get highscores.", "Failed to get highscores.", "Failed to get highscores.", "Ophalen van de highscores mislukt", "Classement échoué.", "Highscores konnten nicht geladen werden.", "Error al cargar las puntuaciones máximas.", "Os recordes não foram recebidos.", "Não conseguiu obter uma das melhores pontuações", "Impossibile recuperare dati sui record.", "Kunde ej hämta toppoäng.", "Pobieranie rankingu nie powiodło się.", "Ошибка! Получить данные о рекордах не удалось!", "Yüksek skorlar alınamadı.", "Gagal untuk mendapatkan skor tertinggi", "Gagal mendapatkan skor tertinggi.", "ハイスコア情報の取得に失敗しました", "获取排行榜失败"];
super();
Security.allowDomain("*");
O11111OOl = this.parent;
O11111OOl.stop();
O11111l1l = 0;
while (true) {
try {
O11111l10 = O11111OOl.getChildAt(O11111l1l);
if ((O11111l10 is MovieClip)){
O11111l10.visible = false;
} else {
O11111OOl.removeChild(O11111l10);
};
O11111l1l = (O11111l1l + 1);
} catch(O11111llO:Error) {
break;
};
};
try {
O11111OOl["O111111O"] = O111110lO;
} catch(O11111llO:Error) {
};
}
private function O1111100O(_arg1:MouseEvent):void{
_arg1.currentTarget.gotoAndStop(1);
}
private function O1111O1l1(_arg1):void{
removeEventListener(Event.ENTER_FRAME, O111110ll);
O11111l11.visible = true;
O11111O00.text = O11111OO1[(O1111111l.O11111OlO().O11111O0O() - 1)];
}
private function O1111100l(_arg1:MouseEvent):void{
_arg1.currentTarget.gotoAndStop(3);
}
private function O1111O1lO(_arg1:Event):void{
O11111OOl.dispatchEvent(_arg1);
}
public function O11111O11():void{
if (O11111l1O != null){
O11111l1O.O11111l0O();
};
}
public function get O11111O10():Boolean{
return (O11111O01);
}
private function O1111O1O0(_arg1:String){
return (getDefinitionByName(_arg1));
}
public function O11111O1O():void{
if (O11111l1O != null){
O11111l1O.O11111l1l();
};
}
public function O11111O1l(_arg1:int, _arg2:String):void{
if (O11111l1O != null){
O11111l1O.O11111l10(_arg1, _arg2);
};
}
private function O1111O1OO(_arg1:MouseEvent):void{
this.O1111O1lO(new Event("00000100110"));
}
private function O1111O1O1():void{
var O111110O1:*;
var O111110OO:*;
var O111110Ol:*;
var O111110O0:*;
var O11111l1l:int;
var O11111l01:int;
var O1111101l:*;
var O11111l10:*;
var O111110l1:*;
O111110O1 = getDefinitionByName("Lethe_Button_Back");
O111110OO = getDefinitionByName("Lethe_Loading_Text");
O111110Ol = getDefinitionByName("COM_LoadingProgress");
O111110O0 = getDefinitionByName("Lethe_Text3");
O11111l1l = 0;
O11111l01 = 0;
while (true) {
try {
O11111l10 = O11111OOO.getChildAt(O11111l1l);
if ((O11111l10 is O111110O1)){
O11111l11 = O11111l10;
O11111001(O11111l11);
O11111l01 = 0;
while (true) {
try {
O1111101l = O11111l11.getChildAt(O11111l01);
if ((O1111101l is O111110O0)){
O1111101l.gotoAndStop(O1111111l.O11111OlO().O11111O0O());
break;
};
O11111l01 = (O11111l01 + 1);
} catch(O11111llO:Error) {
break;
};
};
O11111l11.visible = false;
try {
O11111l10.removeEventListener(MouseEvent.CLICK, O1111O1OO);
} catch(e:Error) {
};
O11111l10.addEventListener(MouseEvent.CLICK, O1111O1OO, false, 0, true);
} else {
if ((O11111l10 is O111110OO)){
O11111l01 = 0;
while (true) {
try {
O111110l1 = O11111l10.getChildAt(O11111l01);
if ((O111110l1 is TextField)){
O11111O00 = O111110l1;
break;
};
O11111l01 = (O11111l01 + 1);
} catch(O11111llO:Error) {
break;
};
};
} else {
if ((O11111l10 is O111110Ol)){
O11111O0l = O11111l10;
O11111O0l.stop();
};
};
};
O11111l1l = (O11111l1l + 1);
} catch(O11111llO:Error) {
break;
};
};
}
private function O1111O1Ol(_arg1:Event):void{
this.dispatchEvent(new Event(Event.COMPLETE));
O11111l1O = _arg1.currentTarget.content;
O11111l1O.addEventListener("000111000100", O1111O1lO);
O11111l1O.addEventListener("00111111000", O1111O1lO);
O11111l1O.addEventListener("000000000000", O1111O1lO);
O11111l1O.addEventListener("010101010100", O1111O1lO);
O11111l1O.addEventListener("000001111111", O1111O1lO);
O11111l1O.O11111l1O(O11111OO0, O111111lO, O111111ll, O111111Ol, O11111O10, O1111111l.O11111OlO().O11111OOO, O111111O1, evenLineColor, oddLineColor, noticeLineColor, selfLineColor);
O11111l1O.O11111l11(O1111O1O0("Lethe_BackGround"), O1111O1O0("Lethe_Button_Down"), O1111O1O0("Lethe_Button_Down2"), O1111O1O0("Lethe_Button_Down3"), O1111O1O0("Lethe_Button_Up"), O1111O1O0("Lethe_Button_Up2"), O1111O1O0("Lethe_Button_Up3"), O1111O1O0("Lethe_FocusLine"), O1111O1O0("Lethe_LineBack"), O1111O1O0("Lethe_LineBack2"), O1111O1O0("Lethe_Scroll_Bar"), O1111O1O0("Lethe_Drag_Block"), O1111O1O0("Lethe_Scroll_Up"), O1111O1O0("Lethe_Scroll_Down"), O1111O1O0("Lethe_DragArea"));
O11111O1O();
}
public function set O11111O10(_arg1:Boolean):void{
var _local2:LocalConnection;
var _local3:String;
var _local4:Array;
var _local5:int;
var _local6:int;
var _local7:O1111111O;
O11111O01 = _arg1;
O11111Ol1 = ["www8.agame.com", "www.zlonggames.com", "gamedev.dev.spillgroup.com", "gamedev.dev.spilgames.com", "www.zlonggamestest.com"];
_local2 = new LocalConnection();
if (_local2.domain != "localhost"){
_local4 = _local2.domain.split(".");
_local5 = (_local4.length - 1);
_local6 = (_local4.length - 2);
O11111OlO = ((_local4[_local6] + ".") + _local4[_local5]);
} else {
O11111OlO = "localhost";
};
O1111111l.O11111OlO().O11111Oll(O11111OlO, O111111Ol, O111111O0, O1111100O1);
if (((isNaN(O11111OO0)) || (isNaN(O111111lO)))){
O111110l0();
return;
};
for each (_local3 in O11111Ol1) {
if (_local2.domain == _local3){
_local7 = new O1111111O();
if (_local7.O11111OO1()){
O11111Oll = true;
O1111O110();
return;
};
O111110l0();
return;
};
};
O111110l0();
}
private function O1111O110():void{
var _local1:*;
stop();
O11111O0O = new Loader();
O11111O0O.load(new URLRequest(O111111l1));
O11111OOl.addChildAt(O11111O0O, 0);
this.addEventListener(Event.ENTER_FRAME, O111110ll);
O11111O0O.contentLoaderInfo.addEventListener(Event.COMPLETE, O1111O1Ol);
O11111O0O.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, O1111O1l1);
O11111O0O.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, O1111O1l1);
_local1 = getDefinitionByName("COM_LoadingBar");
if (_local1 != null){
O11111OOO = new (_local1);
O11111OOl.addChild(O11111OOO);
O1111O1O1();
};
}
private function O1111O111():void{
var O11111l1l:int;
var O11111l01:int;
var O11111l0O:*;
var O11111l0l:*;
var O11111l00:*;
var O11111011:*;
var O1111101O:*;
var O1111101l:*;
var O11111l10:*;
O11111l1l = 0;
O11111l01 = 0;
O11111l0O = getDefinitionByName("Lethe_Continue_Button");
O11111l0l = getDefinitionByName("Lethe_Link_Button");
O11111l00 = getDefinitionByName("Lethe_Text1");
O11111011 = getDefinitionByName("Lethe_Text2");
O1111101O = getDefinitionByName("Lethe_All_Logo");
while (true) {
try {
O11111l10 = O11111Ol0.getChildAt(O11111l1l);
if ((O11111l10 is O11111l0O)){
O11111001(O11111l10);
try {
O11111l10.removeEventListener(MouseEvent.CLICK, O1111O11l);
} catch(e:Error) {
};
O11111l10.addEventListener(MouseEvent.CLICK, O1111O11l, false, 0, true);
O11111l01 = 0;
while (true) {
try {
O1111101l = O11111l10.getChildAt(O11111l01);
if ((((O1111101l is O11111l00)) || ((O1111101l is O11111011)))){
O1111101l.gotoAndStop(O1111111l.O11111OlO().O11111O0O());
};
O11111l01 = (O11111l01 + 1);
} catch(O11111llO:Error) {
break;
};
};
} else {
if ((O11111l10 is O11111l0l)){
try {
O11111l10.removeEventListener(MouseEvent.CLICK, O1111O11O);
} catch(e:Error) {
};
O11111l10.addEventListener(MouseEvent.CLICK, O1111O11O, false, 0, true);
O11111001(O11111l10);
O11111l01 = 0;
while (true) {
try {
O1111101l = O11111l10.getChildAt(O11111l01);
if ((((O1111101l is O11111l00)) || ((O1111101l is O11111011)))){
O1111101l.gotoAndStop(O1111111l.O11111OlO().O11111O0O());
} else {
if ((O1111101l is O1111101O)){
O1111101l.gotoAndStop(O1111111l.O11111OlO().O11111O01());
};
};
O11111l01 = (O11111l01 + 1);
} catch(O11111llO:Error) {
break;
};
};
};
};
O11111l1l = (O11111l1l + 1);
} catch(O11111llO:Error) {
break;
};
};
}
public function O111111l0():Boolean{
return (O11111Oll);
}
private function O1111O11l(_arg1:MouseEvent):void{
this.O1111O1lO(new Event("000111000100"));
}
private function O1111O11O(_arg1:MouseEvent):void{
O1111111l.O11111OlO().O11111O0l();
this.O1111O1lO(new Event("00111111000"));
}
private function O111110l0():void{
var O11111ll0:*;
if (O11111OOO != null){
O11111OOl.removeChild(O11111OOO);
O11111OOO = null;
};
if (O11111Ol0 == null){
try {
O11111ll0 = getDefinitionByName("Lethe_Alert_Page");
O11111Ol0 = new (O11111ll0);
O11111OOl.addChild(O11111Ol0);
O1111O111();
} catch(O11111llO:Error) {
};
};
}
private function O111110lO(_arg1=null, _arg2:String="default", _arg3=1, _arg4="", _arg5:int=0, _arg6:String="normal", _arg7:int=1, _arg8:Number=0x515151, _arg9:Number=0x515151, _arg10:Number=0x515151, _arg11:Number=0x515151):void{
O11111OOl["O11111O10"] = O11111O1l;
O11111OOl["O11111O11"] = O11111O1O;
O11111OOl["O11111100"] = O111111l0;
O11111OOl["O11111101"] = O11111101;
O11111OOl["O1100000l"] = O10000101;
O11111OOl["O1111110l"] = O1111110l;
O11111OOl["O111111001"] = O11111100;
O11111OOl["O111111010"] = O11111O11;
O1111111l.O11111OlO().O11111Ol0(_arg3);
evenLineColor = _arg8;
oddLineColor = _arg9;
selfLineColor = _arg11;
noticeLineColor = _arg10;
O1111100O1 = _arg7;
O111111O1 = _arg6;
O111111Ol = _arg2;
if (_arg4 == ""){
O111111O0 = O111111Ol;
} else {
O111111O0 = _arg4;
};
O111111ll = _arg5;
if (((!((_arg1 == null))) && (!((_arg1.loaderInfo == null))))){
O11111OO0 = Number(_arg1.loaderInfo.parameters["id"]);
O111111lO = Number(_arg1.loaderInfo.parameters["s"]);
O111111l1 = "http://www8.agame.com/games/flash/highscore/Submiter.swf?v=111";
O11111O10 = true;
};
}
private function O111110ll(_arg1:Event):void{
var _local2:int;
_local2 = (((O11111O0O.contentLoaderInfo.bytesLoaded / O11111O0O.contentLoaderInfo.bytesTotal) * 100) >> 0);
if (_local2 == 0){
O11111O0l.gotoAndStop(1);
} else {
O11111O0l.gotoAndStop(_local2);
};
O11111O00.text = (String(_local2) + "%");
if (_local2 >= 100){
O11111l11 = null;
O11111O0l = null;
O11111O00 = null;
removeEventListener(Event.ENTER_FRAME, O111110ll);
O11111OOl.removeChild(O11111OOO);
O11111OOO = null;
};
}
public function O11111100():void{
if (O11111l1O != null){
O11111l1O.O11111l0l();
};
}
public function O11111101():Boolean{
return (!((O11111l1O == null)));
}
public function O1111110O(_arg1:Number, _arg2:Number):void{
if (O11111O0O){
O11111O0O.scaleX = (_arg1 / 460);
O11111O0O.scaleY = (_arg2 / 300);
};
}
public function O1111110l():void{
if (O11111l1O != null){
O11111l1O.O11111l00();
};
}
private function O11111000(_arg1:MouseEvent):void{
_arg1.currentTarget.gotoAndStop(2);
}
private function O11111001(_arg1):void{
var _btn = _arg1;
_btn.stop();
_btn.mouseChildren = false;
_btn.buttonMode = true;
try {
_btn.removeEventListener(MouseEvent.MOUSE_OVER, O11111000);
_btn.removeEventListener(MouseEvent.MOUSE_DOWN, O1111100l);
_btn.removeEventListener(MouseEvent.MOUSE_OUT, O1111100O);
_btn.removeEventListener(MouseEvent.MOUSE_UP, O1111100O);
} catch(e:Error) {
};
_btn.addEventListener(MouseEvent.MOUSE_OVER, O11111000, false, 0, true);
_btn.addEventListener(MouseEvent.MOUSE_DOWN, O1111100l, false, 0, true);
_btn.addEventListener(MouseEvent.MOUSE_OUT, O1111100O, false, 0, true);
_btn.addEventListener(MouseEvent.MOUSE_UP, O1111100O, false, 0, true);
}
public function O10000101(_arg1:int):void{
var _langType = _arg1;
O1111111l.O11111OlO().O11111Ol0(_langType);
try {
O1111O111();
} catch(e:Error) {
};
try {
O1111O1O1();
} catch(e:Error) {
};
try {
O11111O00.text = O11111OO1[(O1111111l.O11111OlO().O11111O0O() - 1)];
} catch(e:Error) {
};
try {
O11111l1O.O0100010(_langType);
} catch(e:Error) {
};
}
}
}//package
Section 379
//O11111OO11 (O11111OO11)
package {
import flash.display.*;
public dynamic class O11111OO11 extends MovieClip {
}
}//package
Section 380
//pauseScreen_mc (pauseScreen_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class pauseScreen_mc extends MovieClip {
public var btn_TropheeRoommenu:MovieClip;
public var btn_music:MovieClip;
public var txt_pauseMenu:LocalizedTextField;
public var btn_howToMenu:MovieClip;
public var btn_playgame:MovieClip;
public var btn_pauseMainmenu:MovieClip;
public var btn_MoreGames:MovieClip;
public var btn_sfx:MovieClip;
public var btn_quality:MovieClip;
public function pauseScreen_mc(){
__setProp_txt_pauseMenu_pauseScreen_titlepage_0();
}
function __setProp_txt_pauseMenu_pauseScreen_titlepage_0(){
try {
txt_pauseMenu["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_pauseMenu.text = "{Pause_title}";
txt_pauseMenu.textColor = 3547404;
txt_pauseMenu.textSize = 12;
txt_pauseMenu.bold = true;
txt_pauseMenu.disableWordwrap = false;
txt_pauseMenu.embedFonts = true;
txt_pauseMenu.font = "Arial";
txt_pauseMenu.hAlign = "left";
txt_pauseMenu.multiline = false;
txt_pauseMenu.vAlign = "middle";
txt_pauseMenu.antiAliasType = "advanced";
txt_pauseMenu.glowBlur = 3;
txt_pauseMenu.glowColor = 0;
txt_pauseMenu.useGlowFilter = false;
txt_pauseMenu.glowQuality = 1;
txt_pauseMenu.glowStrength = 5;
txt_pauseMenu.gridFitType = "pixel";
txt_pauseMenu.italic = false;
txt_pauseMenu.selectable = false;
txt_pauseMenu.underline = false;
try {
txt_pauseMenu["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 381
//Performance (Performance)
package {
import flash.utils.*;
import flash.system.*;
public class Performance {
public var PERFORMANCEMEASURED_TIME:uint;// = 0
public var PERFORMANCEMEASURED_INDEX:uint;// = 0
public static var SLOW:uint = 1;
public static var FAST:uint = 3;
public static var AVERAGE:uint = 2;
public static var SUPERFAST:uint = 9;
public static var ULTRASLOW:uint = 0;
public function Performance(){
Test();
if (Capabilities.isDebugger){
PERFORMANCEMEASURED_INDEX = SUPERFAST;
};
}
public function Test():void{
var _local2:Number;
var _local3:Number;
var _local1:uint;
while (_local1 < 1) {
_local2 = getTimer();
_O1lO0O010();
_local3 = getTimer();
_local1 = (_local3 - _local2);
};
PERFORMANCEMEASURED_TIME = _local1;
PERFORMANCEMEASURED_INDEX = _O0l011Oll(_local1);
}
private function _O0l011Oll(_arg1:uint):uint{
if (_arg1 > 44){
return (ULTRASLOW);
};
if (_arg1 > 22){
return (SLOW);
};
if (_arg1 > 14){
return (AVERAGE);
};
if (_arg1 > 1){
return (FAST);
};
return (SUPERFAST);
}
private function _O1lO0O010():void{
var _local2:Number;
var _local1:Number = 1;
while (_local1 < 1000000) {
_local2 = (_local1 + _local1);
_local1++;
};
}
}
}//package
Section 382
//QuitMenu_mc (QuitMenu_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class QuitMenu_mc extends MovieClip {
public var __id89_:LocalizedTextField;
public var btn_yes:MovieClip;
public var btn_no:MovieClip;
public function QuitMenu_mc(){
__setProp___id89__quitMenu_text_0();
}
function __setProp___id89__quitMenu_text_0(){
try {
__id89_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id89_.text = "{Pause_Quit_text}";
__id89_.textColor = 3547404;
__id89_.textSize = 16;
__id89_.bold = true;
__id89_.disableWordwrap = false;
__id89_.embedFonts = true;
__id89_.font = "Arial";
__id89_.hAlign = "center";
__id89_.multiline = true;
__id89_.vAlign = "middle";
__id89_.antiAliasType = "advanced";
__id89_.glowBlur = 3;
__id89_.glowColor = 0;
__id89_.useGlowFilter = false;
__id89_.glowQuality = 1;
__id89_.glowStrength = 5;
__id89_.gridFitType = "pixel";
__id89_.italic = false;
__id89_.selectable = false;
__id89_.underline = false;
try {
__id89_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 383
//ranking_1 (ranking_1)
package {
import flash.display.*;
public dynamic class ranking_1 extends BitmapData {
public function ranking_1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 384
//ranking_10 (ranking_10)
package {
import flash.display.*;
public dynamic class ranking_10 extends BitmapData {
public function ranking_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 385
//ranking_2 (ranking_2)
package {
import flash.display.*;
public dynamic class ranking_2 extends BitmapData {
public function ranking_2(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 386
//ranking_3 (ranking_3)
package {
import flash.display.*;
public dynamic class ranking_3 extends BitmapData {
public function ranking_3(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 387
//ranking_4 (ranking_4)
package {
import flash.display.*;
public dynamic class ranking_4 extends BitmapData {
public function ranking_4(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 388
//ranking_5 (ranking_5)
package {
import flash.display.*;
public dynamic class ranking_5 extends BitmapData {
public function ranking_5(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 389
//ranking_6 (ranking_6)
package {
import flash.display.*;
public dynamic class ranking_6 extends BitmapData {
public function ranking_6(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 390
//ranking_7 (ranking_7)
package {
import flash.display.*;
public dynamic class ranking_7 extends BitmapData {
public function ranking_7(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 391
//ranking_8 (ranking_8)
package {
import flash.display.*;
public dynamic class ranking_8 extends BitmapData {
public function ranking_8(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 392
//ranking_9 (ranking_9)
package {
import flash.display.*;
public dynamic class ranking_9 extends BitmapData {
public function ranking_9(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 393
//SendToFriendIn_mc (SendToFriendIn_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class SendToFriendIn_mc extends MovieClip {
public var btn_friendsgame:MovieClip;
public var txt_pauseMenu:LocalizedTextField;
public var __id83_:LocalizedTextField;
public var closebutton:MovieClip;
public var placeholder_image:MovieClip;
public var btn_startgame:MovieClip;
public var txt_friendOfIsA_rank:LocalizedTextField;
public function SendToFriendIn_mc(){
__setProp_txt_pauseMenu_TMH_SendToFriendIn_Layer2_0();
__setProp_txt_friendOfIsA_rank_TMH_SendToFriendIn_textlayer_0();
__setProp___id83__TMH_SendToFriendIn_textlayer_0();
}
function __setProp_txt_pauseMenu_TMH_SendToFriendIn_Layer2_0(){
try {
txt_pauseMenu["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_pauseMenu.text = "{Send_To_Friend_Landing_Title}";
txt_pauseMenu.textColor = 3547404;
txt_pauseMenu.textSize = 12;
txt_pauseMenu.bold = true;
txt_pauseMenu.disableWordwrap = false;
txt_pauseMenu.embedFonts = false;
txt_pauseMenu.font = "Arial";
txt_pauseMenu.hAlign = "left";
txt_pauseMenu.multiline = false;
txt_pauseMenu.vAlign = "middle";
txt_pauseMenu.antiAliasType = "advanced";
txt_pauseMenu.glowBlur = 3;
txt_pauseMenu.glowColor = 0;
txt_pauseMenu.useGlowFilter = false;
txt_pauseMenu.glowQuality = 1;
txt_pauseMenu.glowStrength = 5;
txt_pauseMenu.gridFitType = "pixel";
txt_pauseMenu.italic = false;
txt_pauseMenu.selectable = false;
txt_pauseMenu.underline = false;
try {
txt_pauseMenu["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_friendOfIsA_rank_TMH_SendToFriendIn_textlayer_0(){
try {
txt_friendOfIsA_rank["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_friendOfIsA_rank.text = "";
txt_friendOfIsA_rank.textColor = 15032101;
txt_friendOfIsA_rank.textSize = 18;
txt_friendOfIsA_rank.bold = true;
txt_friendOfIsA_rank.disableWordwrap = false;
txt_friendOfIsA_rank.embedFonts = true;
txt_friendOfIsA_rank.font = "Arial";
txt_friendOfIsA_rank.hAlign = "center";
txt_friendOfIsA_rank.multiline = true;
txt_friendOfIsA_rank.vAlign = "top";
txt_friendOfIsA_rank.antiAliasType = "advanced";
txt_friendOfIsA_rank.glowBlur = 3;
txt_friendOfIsA_rank.glowColor = 0;
txt_friendOfIsA_rank.useGlowFilter = false;
txt_friendOfIsA_rank.glowQuality = 1;
txt_friendOfIsA_rank.glowStrength = 5;
txt_friendOfIsA_rank.gridFitType = "pixel";
txt_friendOfIsA_rank.italic = false;
txt_friendOfIsA_rank.selectable = false;
txt_friendOfIsA_rank.underline = false;
try {
txt_friendOfIsA_rank["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id83__TMH_SendToFriendIn_textlayer_0(){
try {
__id83_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id83_.text = "{Send_To_Friend_Landing_Info}";
__id83_.textColor = 3547404;
__id83_.textSize = 12;
__id83_.bold = true;
__id83_.disableWordwrap = false;
__id83_.embedFonts = true;
__id83_.font = "Arial";
__id83_.hAlign = "center";
__id83_.multiline = true;
__id83_.vAlign = "top";
__id83_.antiAliasType = "advanced";
__id83_.glowBlur = 3;
__id83_.glowColor = 0;
__id83_.useGlowFilter = false;
__id83_.glowQuality = 1;
__id83_.glowStrength = 5;
__id83_.gridFitType = "pixel";
__id83_.italic = false;
__id83_.selectable = false;
__id83_.underline = false;
try {
__id83_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 394
//SendToFriendOut_mc (SendToFriendOut_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class SendToFriendOut_mc extends MovieClip {
public var __id86_:LocalizedTextField;
public var __id84_:LocalizedTextField;
public var placeholder_image:MovieClip;
public var txt_playernameSubmit:TextField;
public var btn_copyUrl:MovieClip;
public var __id85_:LocalizedTextField;
public var txt_link:TextField;
public var closebutton:MovieClip;
public var txt_howtocopy:LocalizedTextField;
public var txt_sendtofriend_rank:LocalizedTextField;
public function SendToFriendOut_mc(){
__setProp___id84__TMH_SendToFriendOut_bg_0();
__setProp_txt_howtocopy_TMH_SendToFriendOut_textlayer_0();
__setProp_txt_sendtofriend_rank_TMH_SendToFriendOut_textlayer_0();
__setProp___id85__TMH_SendToFriendOut_textlayer_0();
__setProp___id86__TMH_SendToFriendOut_textlayer_0();
}
function __setProp___id86__TMH_SendToFriendOut_textlayer_0(){
try {
__id86_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id86_.text = "{Send_to_friend_Send_Name}";
__id86_.textColor = 3547404;
__id86_.textSize = 12;
__id86_.bold = true;
__id86_.disableWordwrap = false;
__id86_.embedFonts = true;
__id86_.font = "Arial";
__id86_.hAlign = "center";
__id86_.multiline = false;
__id86_.vAlign = "middle";
__id86_.antiAliasType = "advanced";
__id86_.glowBlur = 3;
__id86_.glowColor = 0;
__id86_.useGlowFilter = false;
__id86_.glowQuality = 1;
__id86_.glowStrength = 5;
__id86_.gridFitType = "pixel";
__id86_.italic = false;
__id86_.selectable = false;
__id86_.underline = false;
try {
__id86_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id84__TMH_SendToFriendOut_bg_0(){
try {
__id84_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id84_.text = "{Send_to_friend_Send_Title}";
__id84_.textColor = 3547404;
__id84_.textSize = 12;
__id84_.bold = true;
__id84_.disableWordwrap = false;
__id84_.embedFonts = true;
__id84_.font = "Arial";
__id84_.hAlign = "left";
__id84_.multiline = false;
__id84_.vAlign = "middle";
__id84_.antiAliasType = "advanced";
__id84_.glowBlur = 3;
__id84_.glowColor = 0;
__id84_.useGlowFilter = false;
__id84_.glowQuality = 1;
__id84_.glowStrength = 5;
__id84_.gridFitType = "pixel";
__id84_.italic = false;
__id84_.selectable = false;
__id84_.underline = false;
try {
__id84_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id85__TMH_SendToFriendOut_textlayer_0(){
try {
__id85_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id85_.text = "{Send_to_friend_Send_Link}";
__id85_.textColor = 3547404;
__id85_.textSize = 12;
__id85_.bold = true;
__id85_.disableWordwrap = false;
__id85_.embedFonts = true;
__id85_.font = "Arial";
__id85_.hAlign = "center";
__id85_.multiline = false;
__id85_.vAlign = "middle";
__id85_.antiAliasType = "advanced";
__id85_.glowBlur = 3;
__id85_.glowColor = 0;
__id85_.useGlowFilter = false;
__id85_.glowQuality = 1;
__id85_.glowStrength = 5;
__id85_.gridFitType = "pixel";
__id85_.italic = false;
__id85_.selectable = false;
__id85_.underline = false;
try {
__id85_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_howtocopy_TMH_SendToFriendOut_textlayer_0(){
try {
txt_howtocopy["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_howtocopy.text = "{Send_to_friend_Send_Info}";
txt_howtocopy.textColor = 3547404;
txt_howtocopy.textSize = 12;
txt_howtocopy.bold = true;
txt_howtocopy.disableWordwrap = false;
txt_howtocopy.embedFonts = true;
txt_howtocopy.font = "Arial";
txt_howtocopy.hAlign = "center";
txt_howtocopy.multiline = true;
txt_howtocopy.vAlign = "middle";
txt_howtocopy.antiAliasType = "advanced";
txt_howtocopy.glowBlur = 3;
txt_howtocopy.glowColor = 0;
txt_howtocopy.useGlowFilter = false;
txt_howtocopy.glowQuality = 1;
txt_howtocopy.glowStrength = 5;
txt_howtocopy.gridFitType = "pixel";
txt_howtocopy.italic = false;
txt_howtocopy.selectable = false;
txt_howtocopy.underline = false;
try {
txt_howtocopy["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_sendtofriend_rank_TMH_SendToFriendOut_textlayer_0(){
try {
txt_sendtofriend_rank["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_sendtofriend_rank.text = "";
txt_sendtofriend_rank.textColor = 15032101;
txt_sendtofriend_rank.textSize = 16;
txt_sendtofriend_rank.bold = true;
txt_sendtofriend_rank.disableWordwrap = false;
txt_sendtofriend_rank.embedFonts = false;
txt_sendtofriend_rank.font = "Arial";
txt_sendtofriend_rank.hAlign = "center";
txt_sendtofriend_rank.multiline = false;
txt_sendtofriend_rank.vAlign = "top";
txt_sendtofriend_rank.antiAliasType = "normal";
txt_sendtofriend_rank.glowBlur = 3;
txt_sendtofriend_rank.glowColor = 0;
txt_sendtofriend_rank.useGlowFilter = false;
txt_sendtofriend_rank.glowQuality = 1;
txt_sendtofriend_rank.glowStrength = 5;
txt_sendtofriend_rank.gridFitType = "pixel";
txt_sendtofriend_rank.italic = false;
txt_sendtofriend_rank.selectable = false;
txt_sendtofriend_rank.underline = false;
try {
txt_sendtofriend_rank["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 395
//SubmitHighscore_mc (SubmitHighscore_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class SubmitHighscore_mc extends MovieClip {
public var __id79_:LocalizedTextField;
public var __id78_:LocalizedTextField;
public var txt_score:TextField;
public var __id80_:LocalizedTextField;
public var placeholder_image:MovieClip;
public var closebutton:MovieClip;
public var txt_playernameSubmit:TextField;
public var btn_submit:MovieClip;
public var txt_pauseMenu:LocalizedTextField;
public function SubmitHighscore_mc(){
__setProp___id78__TMH_SubmitHighscore_text_0();
__setProp_txt_pauseMenu_TMH_SubmitHighscore_text_0();
__setProp___id79__TMH_SubmitHighscore_text_0();
__setProp___id80__TMH_SubmitHighscore_text_0();
}
function __setProp_txt_pauseMenu_TMH_SubmitHighscore_text_0(){
try {
txt_pauseMenu["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_pauseMenu.text = "{Submit_Highscore_info}";
txt_pauseMenu.textColor = 3547404;
txt_pauseMenu.textSize = 12;
txt_pauseMenu.bold = true;
txt_pauseMenu.disableWordwrap = false;
txt_pauseMenu.embedFonts = true;
txt_pauseMenu.font = "Arial";
txt_pauseMenu.hAlign = "left";
txt_pauseMenu.multiline = true;
txt_pauseMenu.vAlign = "top";
txt_pauseMenu.antiAliasType = "advanced";
txt_pauseMenu.glowBlur = 3;
txt_pauseMenu.glowColor = 0;
txt_pauseMenu.useGlowFilter = false;
txt_pauseMenu.glowQuality = 1;
txt_pauseMenu.glowStrength = 5;
txt_pauseMenu.gridFitType = "pixel";
txt_pauseMenu.italic = false;
txt_pauseMenu.selectable = false;
txt_pauseMenu.underline = false;
try {
txt_pauseMenu["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id80__TMH_SubmitHighscore_text_0(){
try {
__id80_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id80_.text = "{Player_name_txt}";
__id80_.textColor = 3547404;
__id80_.textSize = 12;
__id80_.bold = true;
__id80_.disableWordwrap = false;
__id80_.embedFonts = true;
__id80_.font = "Arial";
__id80_.hAlign = "left";
__id80_.multiline = false;
__id80_.vAlign = "top";
__id80_.antiAliasType = "advanced";
__id80_.glowBlur = 3;
__id80_.glowColor = 0;
__id80_.useGlowFilter = false;
__id80_.glowQuality = 1;
__id80_.glowStrength = 5;
__id80_.gridFitType = "pixel";
__id80_.italic = false;
__id80_.selectable = false;
__id80_.underline = false;
try {
__id80_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id78__TMH_SubmitHighscore_text_0(){
try {
__id78_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id78_.text = "{Submit_Highscore_title}";
__id78_.textColor = 3547404;
__id78_.textSize = 12;
__id78_.bold = true;
__id78_.disableWordwrap = false;
__id78_.embedFonts = true;
__id78_.font = "Arial";
__id78_.hAlign = "left";
__id78_.multiline = false;
__id78_.vAlign = "middle";
__id78_.antiAliasType = "advanced";
__id78_.glowBlur = 3;
__id78_.glowColor = 0;
__id78_.useGlowFilter = false;
__id78_.glowQuality = 1;
__id78_.glowStrength = 5;
__id78_.gridFitType = "pixel";
__id78_.italic = false;
__id78_.selectable = false;
__id78_.underline = false;
try {
__id78_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id79__TMH_SubmitHighscore_text_0(){
try {
__id79_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id79_.text = "{Your_score_txt}";
__id79_.textColor = 3547404;
__id79_.textSize = 12;
__id79_.bold = true;
__id79_.disableWordwrap = false;
__id79_.embedFonts = true;
__id79_.font = "Arial";
__id79_.hAlign = "left";
__id79_.multiline = false;
__id79_.vAlign = "top";
__id79_.antiAliasType = "advanced";
__id79_.glowBlur = 3;
__id79_.glowColor = 0;
__id79_.useGlowFilter = false;
__id79_.glowQuality = 1;
__id79_.glowStrength = 5;
__id79_.gridFitType = "pixel";
__id79_.italic = false;
__id79_.selectable = false;
__id79_.underline = false;
try {
__id79_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 396
//TestMyHistory (TestMyHistory)
package {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
import spill.TMH.Menus.*;
import spill.TMH.tracker.*;
import flash.utils.*;
import flash.geom.*;
public class TestMyHistory extends MovieClip {
private var _OO1Olll1O:PreloaderMenu;
public static const Arial:Class = TestMyHistory_Arial;
public static const ArialBold:Class = TestMyHistory_ArialBold;
public static var PERFORMANCE:Performance;
public static var MAX_EVERYOTHERFRAME:uint = 1;
public function TestMyHistory(){
scrollRect = new Rectangle(0, 0, 700, 400);
stage.scaleMode = StageScaleMode.SHOW_ALL;
stage.stageFocusRect = false;
stage.showDefaultContextMenu = false;
Languages.initialize();
var _local1:Language = Languages.getLanguage("jp");
_local1.forceFont = null;
_local1.embedInputFonts = true;
SpilGame.initialize("Test_My_History", PortalGroup.FAMILY, "Test_My_History.html", this);
_OOOll11O0("en_us");
var _local2:XML = <LocalisedText><textItem identifier="Portal_Description"><en_us>How evolved is your historical trivia thinking?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Portal_Manual"><en_us>Move the timeline (or timeline overview for speed) with your mouse and drag the images to the correct years. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Branding_More_Games_Sentence_Long"><en_us>Play more quiz games at:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Branding_More_Games_Sentence_Short"><en_us>More quizzes at: </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Player_Name"><en_us>Player</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_01"><en_us>When was the first internal-combustion car built?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_02"><en_us>When was the first bicycle made?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_03"><en_us>In what year was the first steamboat used?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_04"><en_us>From around when do the oldest boats ever found date?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_05"><en_us>When was the first powered airplane flown?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_06"><en_us>When was the first trip by steam locomotive?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_07"><en_us>Around when was the first wheelchair made?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_08"><en_us>When was the first flight in a zeppelin?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_09"><en_us>When was the first recorded use of roller skates?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_mobility_10"><en_us>When was the first shopping cart introduced?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_01"><en_us>Although earlier inventors experimented with steam-engine automobiles, the first car made with an internal combustion engine resembling what we know as automobiles today was invented in 1885 by Karl Benz. Later that same year, Gottlieb Daimler, who lived only 100 kilometres [60 miles] away from Benz, but had never met him, built the world's first motorcycle.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_02"><en_us>In 1817, the German Baron Von Drais invented the Draisienne, a steerable bicycle made almost completely out of wood. As it had no pedals, riders propelled it by pushing their feet against the ground. At the time, the speed record for this bicycle was 15 km/h [9 mi/h]. The first bike with pedals was introduced in 1939 and, in 1842, solid rubber tires were added.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_03"><en_us>John Fitch made the first successful trial of a forty-five-foot steamboat on the Delaware River on August 22, 1787, in the presence of members of the Constitutional Convention. Fitch later built a larger vessel that carried passengers and freight between Philadelphia and Burlington, New Jersey.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_04"><en_us>Circumstantial evidence, such as the early settlement of Australia over 40,000 years ago, suggests that boats have been used since very ancient times. However, the oldest boats to be found by archaeological excavation are logboats from around 9,000 years ago.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_05"><en_us>The Wright brothers, Orville (1871-1948) and Wilbur (1867-1912), are the two Americans generally credited with inventing and building the world's first successful airplane and making the first controlled, powered, and sustained heavier-than-air human flight in 1903.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_06"><en_us>In 1803, Samuel Homfray decided to fund the development of a steam-powered vehicle to replace the horse-drawn carts on the tramways. Richard Trevithick (1771-1833) built that vehicle, the first steam engine locomotive. On February 22, 1804, the locomotive hauled its first load 14 km [9 mi] through Wales. It took about two hours.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_07"><en_us>The earliest record of wheelchairs dates back to the 6th century, and was found inscribed in a stone slate in China. Europeans have been using this technology since the German Renaissance.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_08"><en_us>The German company Luftschiffbau Zeppelin, owned by Count Ferdinand Graf von Zeppelin, flew the world's first untethered rigid airship, the LZ-1, on July 2, 1900, near Lake Constance (the Bodensee) in Germany, carrying five passengers. The flight lasted only 18 minutes before the zeppelin was forced to land on the lake.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_09"><en_us>The first recorded use of roller skates is from a 1743 London stage show. Like all skates until 1863, these were in-line skates, which may have been invented in Holland as a dry-land alternative to their popular ice skates. However, the first known inventor of rollerskates was Jean-Joseph Merlin in 1760.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_mobility_10"><en_us> What is generally considered to be the "first" shopping cart was introduced in June 4, 1937 by Sylvan Goldman, owner of the Humpty Dumpty supermarket chain in Oklahoma City. It did not catch on immediately as men found them effeminate and women found them suggestive of a baby carriage.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_01"><en_us>In what year did the attack on New York's twin towers occur?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_02"><en_us>In what year was the meltdown at Chernobyl?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_03"><en_us>In what year did the deadly tsunami caused by the Indian Ocean Earthquake occur?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_04"><en_us>In what year did Hurricane Katrina devastate the southern coast of the U.S.?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_05"><en_us>In what year did the Titanic sink?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_06"><en_us>In what year did Philip II send the Spanish Armada to invade England?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_07"><en_us>When was the first recorded instance of the bubonic plague?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_08"><en_us>About how long ago was the Big Bang?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_09"><en_us>When was the Chicxulub Crater approximately created?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_disasters_10"><en_us>When was Mount Vesuvius's most devastating eruption?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_01"><en_us>2,749 people were killed in the September 11, 2001 attacks on the WTC in New York City, USA. The NY stock exchange closed for 6 days and the attack led to a 20% cutback in U.S. air travel capacity.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_02"><en_us>Large areas in Ukraine, Belarus, and Russia were badly contaminated after the 1986 meltdown at the Chernobyl power plant, resulting in the evacuation and resettlement of over 336,000 people.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_03"><en_us>In December 2004, the Indian Ocean earthquake, the second largerst ever recorded, caused a tsunami that killed more than 225,000 people in eleven countries. The term tsunami comes from the Japanese words meaning harbor ("tsu", 津) and wave ("nami", 波).</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_04"><en_us>Hurricane Katrina cost 1,836 lives, and 705 people went missing. 80% of New Orleans was covered in floodwater after the storm, contributing to a total of $81.2 billion in damage.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_05"><en_us>The April 15, 1912 sinking of the RMS Titanic, the largest and most luxurious cruise ship to date, billed as unsinkable and poised to break speed records, lasted 3 hours and resulted in the deaths of 1,517 people, making it one of the deadliest peacetime maritime disasters in history. 705 survived.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_06"><en_us>In the largest engagement of the undeclared Anglo-Spanish war, Philip II of Spain sent the Armada to invade England in 1588 and ended up losing 50 of about 130 ships, and 15,000-20,000 men.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_07"><en_us>Many historians believe the black death began in China's Gobi Desert in the late 1320s. By 1350, the plague had spread throughout Asia and Europe. The first written account is from the books of the city of Messina, which described the arrival and initial progress of the disease at the beginning of October 1347. Over the next few centuries, it struck again and again, killing at least 40% of the world's population.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_08"><en_us>Extrapolation of the expansion of the universe backwards in time using general relativity yields an infinite density and temperature at a finite time in the past. This singularity signals the breakdown of general relativity and is how scientists estimate the birth of our universe, or Big Bang, to have taken place about 13.7 billion years ago.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_09"><en_us>Although covered with Limestone sediment, the 180-km- [110 mi-] wide crater in Mexico is clearly visible from space. It's believed that a meteroid about 10 km wide struck this spot 65 million years ago, possibily leading to the extinction of the dinosaurs.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_disasters_10"><en_us>Mount Vesuvius is best known for its eruption in 79 that led to the destruction of the Roman cities of Pompeii and Herculaneum. Before that, no one was aware that Vesuvius was a volcano, as it hadn't erupted in 1,800 years (and there isn't even a latin word for volcano), so they could not read the signs that an eruption was coming. The eruption itself was also unusual, spewing out a more-damaging tower of magma and ash instead of the usual lava.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_01"><en_us>When was Barack Obama born?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_02"><en_us>When did Coca-Cola commercialize Santa Claus?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_03"><en_us>When was JFK assassinated?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_04"><en_us>When was Marilyn Monroe born?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_05"><en_us>When did Hitler become the Chancellor of Germany?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_06"><en_us>When was the Sun King crowned?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_07"><en_us>When did Jefferson write the Declaration of Independence?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_08"><en_us>When did Marco Polo begin his journey to China?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_09"><en_us>In what year did Montezuma die?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_important_people_10"><en_us>When was Mother Teresa born?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_01"><en_us>Barack Obama, America's 44th president, was born in Honolulu, Hawaii on August 4, 1961 to an American mother and a Kenyan father. He spent several childhood years in Indonesia before returning to the U.S.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_02"><en_us>Before 1931, there was no consistent image of Santa Claus, who often looked a bit spooky. But, as the 1931 holiday season opened, Coca-Cola's avertising agency, D'Arcy, decided to launch a holiday campaign featuring a wholesome Santa who was both realistic and symbolic. Coca-Cola commissioned Michigan-born illustrator Haddon Sundblom to develop advertising images using Santa Claus, showing Santa himself, not a man dressed as Santa. This is still the image used today.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_03"><en_us>Born on May 29, 1917, the life of John F. Kennedy, the 35th president of the U.S., came to an early end when he was shot during his presidency at a parade through Dallas, Texas on November 22, 1963. The assassin was believed to be Lee Harvey Oswald, who was killed two days later on live television while being transfered to Dallas city jail by Jack Ruby, a strip club owner.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_04"><en_us>Marilyn Monroe was born June 1, 1926 as Norma Jeane Mortenson. She borrowed another actress's first name and her grandmother's last to create her stage name, which she changed legally in 1956 although she'd been using it professionally since 1946.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_05"><en_us>Born April 20, 1889, WWI veteran Adolf Elizabeth Hitler joined the Nazi party in 1920 and became its leader in 1921. After a failed coup that led to his arrest in 1923, Hitler wrote the best-seeling Mein Kampf (My Struggle) from prison and subsequently charmed his way to become the German Chancellor by 1933. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_06"><en_us>Louis XIV, known as the Sun King, was crowned King of France and Navarre in 1643 at 4 years of age, but did not exercise any power until the death of his prime minister, the Italian Cardinal Jules Mazarin, in 1661. Louis remained on the throne until his death in September 1715, four days before his 77th birthday. His reign lasted 72 years, 3 months, and 18 days, the longest documented for any European monarch to date.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_07"><en_us>The third President of the United States (1801-1809) was the principal author of the Declaration of Independence (1776) and one of the most influential Founding Fathers due to his promotion of the ideals of republicanism in the United States. Jefferson was also an accomplished farmer, lawyer, architect, inventor, naturalist, philosopher, and scientist, and his library was the foundation of the Library of Congress. Jefferson died on July 4, 1826, the 50th anniversary of the signing of the Declaration of Independence. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_08"><en_us>In 1271, the 17-year-old Marco Polo became one of the first Westerners to travel the Silk Road to China in a journey that lasted 4 years. After spending 17 years in the service of Kublai Khan, he returned to Venice only to be taken as a prisoner in the war with Genoa three years later. His cellmate, a romance novelist named Rustichello, took Marco Polo's accounts and turned them into a best-selling book. However, the validity of this book, nicknamed "A Million Lies," is still questioned to this day.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_09"><en_us>Montezuma II (or Moctezuma) was the most powerful and also the last emporer of the Aztec empire, ruling most of what is now Mexico. The cause of his death in 1520 remains a controversy: was he stoned by his own people for asking them to submit to the Spanish or killed by the Spanish themselves in their (successful) bid to conquer his empire?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_important_people_10"><en_us>Mother Teresa of Calcutta was born August 26, 1910 as Agnesë Gonxhe Bojaxhiu. She was an Albanian Roman Catholic nun with Indian citizenship who dedicated her life to charity and spreading Christianity. After her death in 1997, she was beatified a saint by Pope John Paul II.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_01"><en_us>In what year was the Taj Mahal completed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_02"><en_us>When was the Gotthard Tunnel completed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_03"><en_us>When was the Great Pyramid of Giza completed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_04"><en_us>When was Rome's Colosseum unveiled?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_05"><en_us>When were the ruins of Machu Picchu discovered?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_06"><en_us>Around when was Stonehenge built?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_07"><en_us>When was the Great Wall of China begun?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_08"><en_us>When was the Wainwright building completed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_09"><en_us>When was the Parthenon completed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_architecture_10"><en_us>When was the Hong Kong International Airport completed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_01"><en_us>When Mumtaz Mahal (a name given by her husband meaning "ornament of the palace") died in 1631 after birthing her 14th child, Shah Jahan was so inconsolable that his court mourned for two years. His builders spent 17 years building the world's most magnificent tomb to honor his beloved. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_02"><en_us>The world's longest road tunnel, running through Switzerland below the St. Gotthard Pass, is just under 16.4 kilometres [10.5 miles] in length. It was completed in 1980 after 11 years of construction, 100 years after the infamous railway tunnel beside it that cost 7 years and 277 lives was completed.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_03"><en_us>Despite having a base as big as 7 by 7 city blocks, the only remaining structure of the Seven Wonders of the Ancient World was completed in 2566 BC after only 20 years of work. It is believed the pyramid was built as a tomb for fourth dynasty Egyptian King Khufu (Cheops in Greek).</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_04"><en_us>When Vespasian succeeded Nero as Rome's emporer in 69, he wanted to show the people that he would use his wealth for them rather than himself. So he began a 10-year project to build the largest amphitheatre of the Roman Empire, formally unveiling it in 80. It remained the main site of Gladiatorial contests until they were outlawed in 438.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_05"><en_us>Probably built in the mid-15th century, Machu Picchu was known as a "Lost City" from the time of the Spanish Invasion until it was discovered in 1911 by Hiram Bingham, an American historian. Now it is one of the New Seven Wonders of the World. Located in the Vilcanota mountain range in Peru, the city's main square is 2,350 m [7,710 ft] above sea level.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_06"><en_us>Construction on Stonehenge was done in 3 phases, the first probably beginning by 3,000 BC, and lasted around 1,500 years. New archaeological evidence found by the Stonehenge Riverside Project indicates that Stonehenge served as a burial ground from its earliest beginnings.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_07"><en_us>The Great Wall of China is not a continuous wall but is a collection of short walls that often follow the crest of hills on the southern edge of the Mongolian plain. Overall, the wall extends about 2,400 kilometres [1,500 miles]. The earliest walls were begun during the 6th century BC, and the walls standing today were completed during the Ming Dynasty (1388-1644).</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_08"><en_us>When the 10-story Wainwright building in St. Louis, Missori was completed in 1891, it was one of the first skyscrapers in the world. Named for local financier Ellis Wainwright, Frank Lloyd Wright called the building "the very first human expression of a tall steel office building as architecture."</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_09"><en_us>After Pericles became the head of Athens, he began work on the Parthenon in 447 BC, likely as part of a campaign to maintain Athenian control of the Greek states despite the conclusion of their reason for uniting (a treaty against Persian expansion). The Parthenon was completed in 431 BC and was later used as a church and even a mosque.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_architecture_10"><en_us>Completed in 1998, the $20 billion Hong Kong International Airport is built on 12.5 square kilometers [3.1 acres] of reclaimed land, increasing the size of Hong Kong by 1%.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_01"><en_us>When were the first radio signals sent?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_02"><en_us>When was the electric vacuum cleaner invented?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_03"><en_us>When was the first paperclip patent given out?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_04"><en_us>Around when was the first recorded use of a wheel?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_05"><en_us>When was the first personal computer advertised?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_06"><en_us>Around when did man learn to control fire?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_07"><en_us>In what year was the Internet developed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_08"><en_us>When was the first long-lasting lightbulb invented?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_09"><en_us>When was the construction of a flush toilet first explained?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_inventions_10"><en_us>When was the barometer invented?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_01"><en_us>During the 1860s, Scottish physicist James Clerk Maxwell predicted the existence of radio waves; in 1886, German physicist Heinrich Rudolph Hertz found a way to produce them. Who actually "invented" the radio (then called "wireless telegraphy") remains a controversy, but the credit generally goes to Guglielmo Marconi, an Italian inventor who sent and received his first radio signal in Italy in 1895.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_02"><en_us>Although Daniel Hess patented an early version of the vacuum cleaner in 1860, it was Hubert Cecil Booth who invented the vacuum as we know it in 1901 after noticing a device used in trains to blow dust off the chairs and thinking it would be much more useful to have one that sucked in the dust.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_03"><en_us>Johan Vaaler of Norway was the first person to obtain a patent on a paperclip design (from Germany) in 1899. That same year, a company called the Gem Manufacturing Ltd. of England was the first to patent the design of a machine that could manufacture the double-oval-shaped, standard-looking paperclip we use today.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_04"><en_us>Based on diagrams on ancient clay tablets, the earliest known use of this essential invention was a potter’s wheel that was used at Ur in Mesopotamia (part of modern day Iraq) as early as 3,500 BC. The first use of the wheel for transportation was probably on Mesopotamian chariots in 3,200 BC.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_05"><en_us>Konrad Zus invented what is called the first computer in 1936. By 40 years later, more people were starting to demand access to this then rare technology. The March 1974 issue of QST magazine answered this demand with the first ad for a "personal computer," designed by the Scelbi Computer Consulting Company of Milford, Connecticut. It cost $565 and came with 1KB of programmable memory, with a 15KB expansion for $2,760. Major assembly required.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_06"><en_us>There is evidence of controlled fire in what is now Israel from as long as 790,000 years ago, the age of homo erectus. Learning to control fire would have changed man's diet, helped defend the group from wild animals, and possibly aided social interaction. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_07"><en_us>Larry G. Roberts created the first functioning long-distance computer network in 1965, but if any two people could be said to have "invented the Internet," it would be Bob Kahn and Vincent Cerf, who invented in 1972 the way data is transfered on the modern Internet. But, Kahn and Cerf have publicly stated that "no one person or group of people" invented the Internet. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_08"><en_us>In the 1840s, several inventors were experimenting with heating incandescent fibers inside a closed bulb, but, in 1879, Thomas Alva Edison discovered that bending a carbon-coated string (later a thread of bamboo) inside the bulb would create a light source that lasted long enough for practical use. Edison was also the first to envision this bulb as part of an electrical grid, lighting houses everywhere.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_09"><en_us>The best-known name associated with the flush toilet is Thomas Crapper, a 19th-century English sanitary engineer. But, its history goes back further than that. While some say it may go back as much as 4,000 years to some lost inventor in Crete, the earliest documentation comes from Sir John Harrington, who published a pamphlet around 1595 that explained the construction of a valve water closet.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_inventions_10"><en_us>Through experiments with his mentor, Galileo, Evangelista Torricelli found that he could create a vacuum in a tube filled with mercury. When he realized that this was caused by changes in atmospheric pressure, he harnassed the discovery to create the world's first barometer in 1644.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_01"><en_us>When was the Mariana Trench discovered?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_02"><en_us>When did Columbus discover the Americas?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_03"><en_us>When did Europeans first discover Australia?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_04"><en_us>When was the first Mars flyby?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_05"><en_us>When was the telescope invented?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_06"><en_us>Approximately when was the first recorded use of diamonds?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_07"><en_us>When did Pytheas of Massilia make his voyage to Northern Europe?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_08"><en_us>When did James Cook discover Hawaii?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_09"><en_us>Around when was the magnetic compass invented?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_world_and_universe_exploration_10"><en_us>When did the first people reach the top of Mount Everest?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_01"><en_us>The Mariana Trench is the deepest part of the ocean floor, with its deepest section named the Challenger Deep after the the British HMS Challenger that discovered a surprising depth of over 9,000 meters [29,528 ft] when exploring the ocean floor with sonic instruments in 1875--so surprising that the crew checked twice. The most accurate measurement of the trench to date was done in 1995 by an unmanned Japanese probe named Kaiko, which found a depth of 10,911 meters [35,798 ft].</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_02"><en_us>The term "America" is believed to have been coined in 1507 in honor of the Italian explorer and cartographer Amerigo Vespucci, who wrote some illuminating letters about the newly re-discovered land. While it is argued that the Vikings had visited the Americas 500 years before that and the land had been settled for thousands of years, it was Columbus's "discovery" in 1492 that introduced these forgotten masses of land to the wider world.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_03"><en_us>By the 1600s, the Australian mainland had been inhabited by around 250 indigenous groups for around 40,000 years. The first European to set his eyes on it was the Dutch navigator Willem Janszoon. While the Dutch continued exploring what they called New Holland, the British were the first Europeans to settle the continent, changing the name of the coast to New South Wales, their new penal colony. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_04"><en_us>Since earliest history, star gazers have been fascinated by the red planet wandering across the sky. Over time, better telescopes allowed closer and closer looks, fueling hope that Mars harbored life. But, when the Mariner IV flew past Mars on July 14, 1965, providing the first close-up photographs of another planet, they discovered a planet of barren deserts. However, further probes and rovers continue to discover more and more about our nearest neighbor.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_05"><en_us>One of the most important contributions to modern science was made not by scientists, but by artisans: spectacle makers Hans Lippershey and Jacob Metius applied to the government of the Netherlands for patents for this invention in 1608 within a few weeks of each other (neither was awarded one, but Lippershey was contracted by the government for another project). However, it was indeed a scientist who made this invention famous: an astronomer by the name Galileo.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_06"><en_us>The first recorded use of diamonds dates back to around 1000 BC, when people of what is now India prized them for their light-refracting qualities and used them both as decoration and as talismans to ward off evil and provide protection. However, it's believed that humans may have been using diamonds for another 3,000 years before that.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_07"><en_us>The Greek astronomer from the colony of Massilia (now France's Marseille) started a voyage around 325 BC to Great Britain, continuing on to a more northern place he called "Thule" (possibly Norway). He brought back reports of amber, polar ice, the midnight sun, and what may be the first reports of Stonehenge. While many of his stories were dismissed in his day, he is now widely considered the first true explorer in history.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_08"><en_us>When James Cook became the first known European to make contact with the Hawaiians in 1778, he stumbled upon a civilization already a thousand years old. Cook’s arrival happened to coincide with the Hawaiians’ Makahiki season, a period when all wars ceased and games were held to honor Lono. Thus, Cook was treated like a god, with natives lavishing him with gifts and holding ceremonies in his honor. When his ship was ruined upon his departure, their belief in their new-found god grew faint and a misunderstanding led to a fierce battle in 1779 in which Cook was killed.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_09"><en_us>During China's Qin dynasty (221-206 BC), fortune tellers used magnetic lodestones to read out fortunes. When someone noticed that these stones, which naturally align in a north-south direction, were better at pointing out cardinal directions, the first compass was invented.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_world_and_universe_exploration_10"><en_us>At 8,848 meters [29,029 ft], Mt. Everest, located in the Himalaya mountains on the border of Tibet and Nepal, is the tallest mountain on Earth. As part of the 8th British expedition to attempt the climb, the first people to successfully reach this height in 1953 were New Zealander Edmund Hillary and Tenzing Norgay from Nepal. Not all have been so lucky: the mountain has claimed 210 lives and most corpses are left where they fell, some still visible from the common climbing routes.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_01"><en_us>When was Archduke Franz Ferdinand assassinated, beginning WWI?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_02"><en_us>When did World War II end?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_03"><en_us>When did the Hundred Years' War begin?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_04"><en_us>When did the Cold War end?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_05"><en_us>When did the American Civil War begin?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_06"><en_us>When did the Spanish Civil War end?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_07"><en_us>When did the First Opium War begin?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_08"><en_us>When did the French Revolutionary War begin?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_09"><en_us>When did the Algerian War of Independence begin?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_wars_10"><en_us>When did the Vietnam War end?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_01"><en_us>With tensions mounting and a nationalistic sentiment spreading among the major world powers in the early 20th century, a war seemed inevitable. The conflict began with the assassination of Austro-Hungarian Archduke Franz Ferdinand in Sarajevo in 1914, and culminated in horrific trench warfare in France and Belgium, sending millions of soldiers to muddy graves. The destruction and loss of life was such that an entire generation of young men was wiped out, causing this war to be known as "The War to End all Wars."</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_02"><en_us>Resenting the restrictions put on them after World War I, Germany again took up arms in 1939. Through the execution of a military technique known as Blitzkrieg (or Lightning War, because of its ferocity and speed), Germany managed to occupy practically all of Europe by 1943. It would eventually take a total of 6 years, and the dropping of two atomic bombs on Germany's ally Japan, to end the conflict in 1945.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_03"><en_us>Although named the "Hundred Years' War," this war between the peoples of England and France actually lasted longer (1337-1453) and, for most of the time, without any real conflict. It was a period of military and political evolution, proving the effectiveness of cheap, lightly-armored infantry and missile units, which destabilized the nobility and its concepts of chivalry. Also, the conflict awakened a sense of nationalism in both the English and the French, unifying the people under their national banners.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_04"><en_us>After the fall of Nazi Germany, distrust grew between the western nations and the Soviet Union. The distrust between the USA and the USSR resulted in a worldwide arms race and a number of conflicts, resulting in a global fear of a nuclear fallout. Eventually, the arms and space race caused a major dent in the Soviet economy, and reforms by leaders such as Gorbachev caused a thaw in relations, ultimately leading to the end of the Cold War by 1991.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_05"><en_us>After Abraham Lincoln won the presidential election and called for a halt to slavery beyond the states in which it already existed, 11 southern states, afraid that many people would lose their livelihood without slavery, seceded from the union and created the Confederate States of America in 1861. The following war between the northern and southern states ended in 1865 with a victory for the North and resulted in the Emancipation Proclamation and the Thirteenth Amendment, thus freeing all slaves on U.S. soil.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_06"><en_us>The Spanish Civil War (1936-1939) was the first conflict in the 20th century to show the general fear of communist political power. While distrusting the agenda of the Spanish anti-communist Nationalists, the general consensus in the League of Nations (the NATO of the time), was that anything was better than communism. Nazi Germany and Fascist Italy sent forces to aid Francisco Franco’s uprising, while the rest of Europe stood by; indecision and fear of another Great War hampering any intervention.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_07"><en_us>Determined to put a halt to the British East India Company’s smuggling of opium into China, the Chinese imposed a trade embargo on the British. The loss of the opium market, and subsequent execution of British smugglers, led Great Britain to send a army of 1400 men to China’s shores in 1839. Technological advances on the side of the British made for a very one-sided conflict, and China was forced to sue for peace in 1842, handing over Hong Kong in the process.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_08"><en_us>Beginning in 1792 with the storming of the Bastille, the French Revolution caused a wave of concern among the other European kingdoms at the rising sentiment against the absolute power of the monarchy. Determined to put the deposed French king Louis XVI back on his throne, Europe united in order to suppress the disorganized Revolutionary Army, but was defeated in 1802 by the superior modern French military tactics that the revolution brought forth.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_09"><en_us>The Algerian War (1954-1962) was one of the many Decolonization Wars of the 20th century. Former European colonial powers were losing influence under the increasing desire for independence and autonomy. Combined with a shift of world power following WWII, the general opinion was that European Imperialism had become out-dated and immoral. Even so, the Algerian War is an example of how the struggle for independence often resulted in a bitter struggle within the colonies.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_wars_10"><en_us>The United States entered the Vietnam War in 1959 in an effort to halt the spread of communism to South Vietnam, and so secure the rest of Asia from the new Chinese communist threat. Throughout the conflict, American forces suffered heavy casualties against the guerilla tactics of the Vietcong. Never-before-seen television footage of the battlefields increased American war weariness to such a level that national anti-war protests and international pressure forced America out of the war in 1975. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_01"><en_us>When did van Gogh paint "The Starry Night"?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_02"><en_us>Around when was "The Birth of Venus" created?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_03"><en_us>When was the Chinese Terracotta Army completed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_04"><en_us>When did Gustav Klimt complete "The Kiss"?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_05"><en_us>From when do the cave paintings in the Chauvet Cave date?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_06"><en_us>When did the first person ever to buy the Mona Lisa, François I, die?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_07"><en_us>The Bayeux Tapestry depicts the events from the Battle of Hastings. In what year did this battle take place?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_08"><en_us>Around when was the Venus de Milo statue created?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_09"><en_us>When was Rembrandt's "The Night Watch" completed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_art_10"><en_us>When did Henri Rousseau paint "Jaguar Attacking a Horse"?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_01"><en_us>Post-impressionist Vincent van Gogh based his 1889 masterpiece "The Starry Night" on the view he had from his room in the sanatorium in Saint-Rémy. He was voluntarily committed to this sanatorium after a brutal fight with his friend and fellow painter Paul Gauguin, during which he famously cut off part of his own ear. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_02"><en_us>Created around 1485, "The Birth of Venus" is a Renaissance-era painting by Sandro Botticelli depicting the Roman goddess Venus emerging from the sea. Unlike most other "pagan" art from this time, it survived the Bonfire of the Vanities (Florence, 1497), in which thousands of objects like cosmetics, art, and books were destroyed.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_03"><en_us>The Terracotta Army is an army-sized group of life-sized sculptures, consisting of around 7,000 to 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses. These sculptures were made to be placed in the necropolis of the First Emperor of China, Qin Shi Huang. The work on the necropolis started as soon as Qin Shi Huang became emperor in 246 BC and ended shortly after his death, around 210 BC. According to legend, these were actual soldiers that were buried together with the emperor to guard him in the afterlife.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_04"><en_us>"The Kiss" (1907-1908) was made during Gustav Klimt's "Golden Phase." The painting contains a large amount of gold leaf, most likely inspired by the Byzantine art that Klimt saw on his trips to Venice and Ravenna. In the painting, two lovers are visible, but only their faces and hands are clearly shaped. The rest of their bodies almost seem as one, which portrays the loss of self caused by their love for each other. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_05"><en_us>The Chauvet Cave in southern France contains the world's oldest known cave paintings and a wide variety of fossilized animal remains, which have been traced back to 30,400 BC by carbon dating. On the walls, a large number of different animals are depicted, but almost no human figures were found except for two well-known partials: a 'Venus' and a 'Sorcerer' which is half man, half bison.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_06"><en_us>The Mona Lisa (c. 1503-1506) is believed to depict Lisa de Giocondo, the wife of a rich Florentine. Leonarda da Vinci himself is said to have been so fond of the picture that he always carried it with him until it was eventually sold to François I (1494-1547). This French king purchased works from famed artists such as Raphael and Michelangelo, and began the lavish collection of Renaissance artwork that now hangs in the Louvre.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_07"><en_us>The Bayeux Tapestry is in fact not a tapestry, but an embroidery of colored wool on a linen background. It is 50 cm by 70 m [20" by 230 ft] and shows the events leading up to the Battle of Hastings, the Norman invasion of England and the invasion itself, in 1066. It was most likely commissioned right after the invasion and finished between 1077 and 1083. The images on the tapestry are extremely detailed. Napoleon seized it in 1803 with the intention to use it for his own plan to attack England.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_08"><en_us>The Venus de Milo was discovered in 1820 by a young Greek peasant along with a plinth with an inscription stating that she was made by "Alexandros, son of Menides, citizen of Antioch of Maeander," who lived around 150 BC. However, this embarrassed the experts who had already claimed that the statue was made by Praxiteles in the 4th century BC before they received the plinth's translation. Shortly after, the plinth mysteriously disappeared...</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_09"><en_us>Rembrandt completed his most famous painting "The Night Watch" in 1642, at the peak of the Dutch Golden Age. In recent years, there have been several violent attacks on the painting. The first one was in 1911, when a discharged navy cook stabbed it with a knife. The next attack, in 1975, was the worst: an unemployed teacher sliced out strips of canvas with a bread knife--the damage is still visible. The last attack, in 1990, occured when a psychotic man sprayed acid on the canvas. Luckily, this time the guards were prepared and only little damage was done.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_art_10"><en_us>Henri Rousseau's nickname was "Le Douanier" (Customs Officer) because he worked at the Paris Customs Office for over 20 years. He retired in 1893 to dedicate his life fully to painting, but he never managed to make a living out of it. It wasn't until after his death in 1910, the same year in which he painted "Jaguar Attacking a Horse," that his work began to get more recognition.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_01"><en_us>Around when did T-Rex first roam the Earth?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_02"><en_us>When did the Dodo become extinct?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_03"><en_us>Around when did the Woolly Mammoth become extinct?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_04"><en_us>Around when did the Edmontosaurus first roam the Earth?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_05"><en_us>About when did the Brontosaurus roam the Earth?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_06"><en_us>When did the Bali Tiger become extinct?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_07"><en_us>About when did the Stegosaurus first appear?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_08"><en_us>Around when did the Triceratops first appear?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_09"><en_us>About when did the Pachycephalosaurus first appear?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_extinct_10"><en_us>Around when did the Saber-Toothed Tiger become extinct?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_01"><en_us>Probably the most famous dinosaur on earth, the Tyrannosaurus Rex (or King of the Tyrant Lizards), appearing 68 million years ago, must have been a fearsome sight to behold. Up to 13 meters [43 ft] in length, 4 meters [13 ft] in height at the hips, and weighing up to 6.8 metric tons [7.5 short tons], it was one of the largest carnivores in the Cretaceous period. The debate still rages on about whether it was the top predator, or merely a lumbering scavenger.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_02"><en_us>The Dodo is often used as the archetype of an extinct species because its extinction can be proven to be the result of human interference. The Dodo was fully isolated on the island of Mauritius and so did not fear man, nor the animals man kept as livestock or pets. While people did not eat them much because of their foul taste, dodos were hunted for sport. As settlers encroached upon their habitat, they drove the species to extinction in 1861.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_03"><en_us>Standing at around 3.5 meters [11 ft] tall and covered in a thick layer of long hair, Woolly Mammoths were perfectly suited for the cold regions of the world. Unfortunately for the massive creatures, their habitat was drastically reduced as the Ice Age came to an end. As their population teetered on the edge of extinction, it was modern man that pushed them over the edge through hunting around 5,000 years ago.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_04"><en_us>Edmontosaurus was a member of the duck-billed dinosaurs, so named because of the resemblance of the skull to that of a modern duck. An herbivore, thought to have lived in herds or groups, it usually moved around slowly on four legs, but when necessary it could run on two legs to reach speeds of 45 km/h [28 mi/h]. It lived between 73 and 65 million years ago.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_05"><en_us>Brontosaurus is actually the incorrect term for the dinosaur that lived around 150 million years ago, as it has long been abandoned by science in favor of the name Apatosaurus. The creatures were members of the sauropod family, the largest land creatures to ever roam the Earth. The total length of 26 meters [85 ft] is mostly due to a gigantic neck and tail. It is believed that the whip-like tail could create a cracking sound of over 200 decibels, comparable to the volume of a cannon.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_06"><en_us>Hunted to extinction by humans in 1937, the Bali Tiger was the smallest subspecies of tiger found solely on the island of Bali. It differed from its larger brethren not only in size but also in the unique patterns on its fur. It had fewer stripes with occasional black spots between, and a series of unusual bar-shaped prints on its head.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_07"><en_us>The size of a bus, spikes on its tail, and two rows of large plates running the length of its back, the Stegosaurus is one of the most recognizable dinosaurs. It was a well-protected animal, as the plates on its back formed a veritable shielded wall guarding its body, while a well-placed swing from its tail would have severely wounded, if not killed, most predators. It lived between 156 and 140 million years ago.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_08"><en_us>This famous three-horned dinosaur is commonly depicted fiercely battling the Tyrannosaurus rex; however, there is little proof for this battle between giants. The only certainty is that they shared the same time period, living 70 to 65 million years ago. The horns are thought to have been used in self-defense, but also for display and male rivalry.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_09"><en_us>Appearing around 68 million years ago, the name of the Pachycephalosaurus, meaning "thick-headed lizard," refers to the animal’s 25-cm- [10-in-] thick skull. Upon discovery of the fossils of this incredible skull, it was thought that the animals competed in head-butting competitions in the same way modern sheep and goats do. This theory was soon discounted as no scars were found on the domed skulls. Instead, they probably head-butted each other’s extraordinarily broad flanks, without fear of injury.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_extinct_10"><en_us>These animals, who died out around 7,000 BC, were not necessarily closely related to tigers at all, as the species of saber-toothed cats (as they should be called) was as diverse as that of the modern cat. Named for their enormous, saber-like upper canine teeth, they had to open their jaw extremely wide to bite and eat their prey.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_01"><en_us>When was the world's first coffee house established?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_02"><en_us>When was the first recorded reference to beer?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_03"><en_us>When was the first recorded shipment of chocolate into Europe?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_04"><en_us>From when is the earliest known reference to ravioli?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_05"><en_us>From when did the oldest popping corn ever discovered date?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_06"><en_us>When was the first recorded reference to lollipops?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_07"><en_us>When was the mechanical process for freeze-drying food invented?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_08"><en_us>Around when did humans first learn to make bread?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_09"><en_us>When did the British begin making their own marmelade?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_food_10"><en_us>Around when was the eggplant introduced into Europe?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_01"><en_us>The world's first coffee house, called Kiva Han, was opened in 1471 in Istanbul. Many soon followed in the Arabic world, but it wasn't until 1615 that coffee was introduced to Europe. However, right after it's introduction, it became an instant succes.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_02"><en_us>The first record of beer brewing goes back to 6,000 BC in Mesopotamia. It is even mentioned in the epic of Gilgamesj, one of the earliest known works of fiction. The Mesopotamians considered it a divine drink and offered it to their gods.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_03"><en_us>Cacao, the source of chocolate, was first used by the Mesoamerican peoples at least 3,000 years ago. They used the chocolate in a bitter and very spicy drink called ‘xocolātl.’ It was thoroughly detested by the Spanish sailors and settlers, who made it more appetizing by adding sugar, milk, and vanilla. In 1585, the first shipment of cacao to Europe was recorded. It would be used as a beverage until 1847, when the first chocolate bars were produced. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_04"><en_us>The oldest known recipe for ravioli is English, or, more specifically, Anglo-Norman. Written down around 1290, it closely resembled later descriptions of ravioli made in Mediterranean regions. This is no coincidence, as the Anglo-Normans left their cultural footprint on many coastal regions of medieval Europe as they settled there. Ravioli was probably a common dish at the time, but it wasn’t until the Anglo-Normans conquered England that the recipe was chronicled.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_05"><en_us>The oldest ears of popping corn ever found were discovered in a cave in Mexico in 1948 and are believed to be 5,600 years old. Some of the kernels of corn were so well preserved that they were still able to pop. The later civilizations of Mesoamerica also had popping corn, using it as food as well as an ornament and revering it for its unique popping quality. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_06"><en_us>The idea behind the lollipop is very logical and simple: namely, that eating food with the aid of a tool is more hygienic and efficient. In the case of the lollipop, this is simply the concept of putting food on the end of a stick, which people have been doing since prehistoric times. The first reference to modern lollipops dates back to 1784, when ‘lollypops’ appeared--a small, hard candy that was consumed throughout England. Later, a stick was added to making the eating of the candy easier.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_07"><en_us>The Peruvian Incas already used the freeze-drying preservation process in the 15th century. However, their discovery was serendipitous, as the cold mountain temperatures froze the food, and the water inside slowly vaporized under the low air pressure of the high altitudes above Machu Picchu. The first mechanical device for the specific use of freeze-drying foodstuffs was made in 1938, and was used for freeze-drying coffee, which in turn led to the introduction of powdered food products.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_08"><en_us>Whether discovered by accident or through experimentation with flour and water, bread is one of the oldest prepared foods, believed to date back to the Neolithic era around 8,500 BC. Wherever there was wheat, bread soon became part of the local staple diet. Bread was such an important source of food in many societies that its cultural significance can still be seen today, for example in idioms like "bread-winner" and "putting bread on the table."</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_09"><en_us>Marmalade appeared in England in 1480 and was based on the Portuguese "marmelada." Originally, it was a preserve made from quinces, also known as "marmelo," but the British preferred citrus fruits due to their sweeter taste. Marmalade became incredibly popular across the British Isles, and these days their customized recipe is eaten in practically all English-speaking countries. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_food_10"><en_us>Originating from India, the colorful eggplant was introduced into Europe by the Moors in the 13th century. The name eggplant was given to the fruit by the English because the first European-grown versions were small and white. Records indicate that Europeans did not fully trust the strange plant, believing that the skin of the fruit could drive you mad or act as a love potion. In fact, until a mere 50 years ago, many varieties of eggplant grown in America were for ornament only. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_01"><en_us>When did Albert Einstein receive the Nobel Prize in Physics?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_02"><en_us>When did the first man walk on the Moon?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_03"><en_us>When was the USB system and stick developed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_04"><en_us>When was the Compact Disc invented?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_05"><en_us>When was the television debut of the first Star Trek series?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_06"><en_us>When did Al-Jazari design the water-powered astronomical clock?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_07"><en_us>When was the video game Pong first released?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_08"><en_us>Around when was π accurately estimated for the first time?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_09"><en_us>Around when was the Greek philosopher Pythagoras born?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_science_10"><en_us>When was the first electronic calculator made?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_01"><en_us>Albert Einstein, who is mostly remembered for his work on relativity and the relationship between energy and mass, also discovered the scientific properties of the photoelectric effect. This discovery led to the quantum revolution in physics and earned Einstein the Nobel Prize in 1922.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_02"><en_us>Neil Armstrong was the first man to walk on the surface of the Moon during the Apollo 11 mission in 1969, joined 15 minutes later by Buzz Aldrin. During their 2.5-hour lunar walk, they tested maneuverability in the Moon’s low gravity, planted the American flag, and left commemorative items to deceased Russian and American astronauts. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_03"><en_us>The Universal Serial Bus (USB) was created as an efficient method of connecting external hardware to a computer. Before USB, the keyboard, mouse, and other computer devices had their own connector cables and ports, but in 1996, the USB plug effectively simplified the system down to one universal plug for practically all external devices.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_04"><en_us>Although the research into laser technology and optical discs started in 1975, it wasn’t until 1982 that the first functioning Compact Disc became available commercially. The size and shape of the CD have not changed much since, the most common version being the Maxi Disc at 120 mm [4.7"] in diameter and 1.2 mm [0.047"] thick. It began as a music format, but now is also used for video and interactive software. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_05"><en_us>The first Star Trek, known as "The Original Series," was received rather poorly when it debuted in 1966 and was cancelled after its third season. However, despite low ratings, the fan base turned out to be enormous. Reruns in later years were watched en masse by an ever-increasing amount of people who, to this day, organize massive ‘Trekkie’ conventions worldwide to honor this series, the 4 television spin-offs, and the 11 films.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_06"><en_us>In 1206, Al-Jazari compiled his “Book of Knowledge of Ingenious Mechanical Devices.” This book is filled with his designs of mechanical marvels, among which is the Castle Clock, the most sophisticated water-powered clock in its day. This clock not only told the time, but also displayed the zodiac, the solar and lunar orbits, and was reprogrammable to account for the changing lengths of day and night throughout the year.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_07"><en_us>As the first commercially successful video game, Pong jumpstarted the video game industry. Released in 1972 by Atari, Pong is based on the sport of table tennis, also known as ping pong, and requires the players to attempt to hit a ball past each other's paddles to score points. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_08"><en_us>Ancient civilizations understood that the ratio of the circumference to the diameter of a circle is the same for all circles, and that it is slightly more than 3. However, it was not until the Greek Archimedes started vigorously studying this ratio around 230 BC that the first accurate estimate of π was calculated, forming the basis for today’s estimation of this never-ending number.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_09"><en_us>Pythagoras, who lived from around 580 to around 500 BC, was one of the first of the great Greek philosophers and influenced all great philosophers that followed. However, some question whether he was personally responsible for all of the ideas and philosophical movements credited to him, as there is little proof of this from his own lifetime. Nevertheless, according to claims from later philosophers, he was a great mathematician, and some actually centered a religion around his belief that nature was ruled by numbers. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_science_10"><en_us>In October 1961, the world's first all-electronic desktop calculator, the Bell Punch/Sumlock Comptometer ANITA (A New Inspiration To Arithmetic/Accounting) was announced. The ANITA was unique in that it had a full keyboard and was very quiet and fast. Being the only electronic desktop calculator available, it sold well and become popular very quickly.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_01"><en_us>Around when was denim (or jean fabric) first developed?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_02"><en_us>From around when is the first evidence of wool fabric?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_03"><en_us>About when did Renaissance fashion reach its height?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_04"><en_us>When was the turning point in medieval fashion?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_05"><en_us>When did the miniskirt become fashionable?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_06"><en_us>From when is the earliest evidence of shoes?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_07"><en_us>Around when did women start wearing the first bikinis?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_08"><en_us>When was fashion photography introduced? </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_09"><en_us>When did Marie Antoinette, the world's first fashion icon, die?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_fashion_10"><en_us>When did Gabrielle Bonheur "Coco" Chanel start what would become the Chanel empire?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_01"><en_us>During the 16th century, sailors in Genoa began wearing a sturdy woven fabric that was called, after the city, "jean." At the same time, the French had developed their own more expensive and even sturdier fabric, known to the world then as "serge de Nîmes" (twill from Nîmes), or denim. The third common term for this fabric, dungarees, comes from sailors of the same period from the Indian town of Dungha.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_02"><en_us>The domestication of sheep would have made wool very accessible, so the refinement of wool into a fabric probably goes back to the earliest civilizations, although the first evidence thereof comes from a Danish textile mill dating from around 1500 BC that had been preserved in a bog. Probably after this, groups began specializing sheep for wool or food and scraping the wool to clean it (and gather lanolin for cosmetics) before putting it to commercial use.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_03"><en_us>The flutter of creativity and increase in trade that defined Europe's Renaissance era was also reflected in its colorful, rich, and elaborate fashions, which came to their peak during the 16th century. Exaggerated shapes emphasized gender features and luxurious fabrics (for the wealthy) and volumized sleeves were cut to show more ornate detailing in the layers beneath. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_04"><en_us>In the 11th and 12th centuries, the shapeless tunics that had dominated the clothing of both sexes since Roman times began to be replaced by more gender-specific attire, such as shorter tunics for men and form-fitted dresses for women, with the greatest changes happening around 1100. As the First Crusade began in the year 1095, the crusades are often credited with awakening a European interest in the luxury fabrics and ornamentation crusaders found in their travels to the East.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_05"><en_us>In 1965, Mary Quant created what would become known as the "Miniskirt." Frowned upon by older generations for being far too revealing, the miniskirt stopped 20cm [8"] above the knees. The rise of feminism saw to it that the skirt became a paradoxical symbol of liberation, because while women were free from the constraints of old-fashioned clothing, the miniskirt was also responsible for the rise in sexual objectification of women.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_06"><en_us>The earliest found use of shoes dates from about 10,000 years ago. Depictions of people wearing shoes were found in cave paintings in Spain and France. However, it is very likely that people wore shoes much earlier than this. As feet were better supported when encased in footwear, the bones within became less rigid and broad. Researchers credit the change in the foot bones of humans between 100,000-50,000 years ago to the introduction of shoes during that time. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_07"><en_us>The first active use of the two-piece bikini was by the ancient Greeks around 1400 BC. This is shown in depictions on Greek pots and urns where female athletes can be seen in garments consisting of a breast band and a loincloth. While the construction of the bikini hasn't changed, society's view of its morality has mutated over time. For many eras, any form of undress was taboo, and even in 1907, a woman was arrested for wearing a form-fitting one-piece as it was too revealing. Nowadays, bikinis are openly worn in all shapes and sizes.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_08"><en_us>Starting in 1856, at the height of the photographic boom, the Tuscan noblewoman Virginia Oldoini made her first appointment to be photographed by the portrait studio of Mayer&Pierson. The pictures depict her in her official court garb, which in itself is not strange as photos were widely replacing portraits. What makes her the first fashion model is the way she portrays herself in later pictures, wearing theatrical outfits and striking daring poses. Before her death in 1899, she posed for over 400 photographs and unknowingly introduced fashion photography to the world.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_09"><en_us>Marie Antoinette is known for her amazing costumes, which often consisted of large, colorful dresses, extravagant jewelry, and, most of all, her powdered and feathered updos that sometimes reached up to a meter [3 ft] above her head. She understood that her sense of style could directly influence the opinion of those around her, and so knew to look powerful and superior even if this was not the case. Ironically, this extravagant fashion sense turned the French revolutionaries against her, and being French royalty, she was beheaded by guillotine in 1793.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_fashion_10"><en_us>Chanel’s fashion emporium began as a pastime. Having been influenced by the lavish life of the extremely wealthy through an affair with a millionaire playboy, she decided to turn her tailoring hobby into a business. She failed a number of times, but in 1913, her unique fashion style stole the hearts and minds of French women. Within 10 years, her clothing and perfumes were known worldwide and thereafter set the standard for future designers.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_01"><en_us>From when do the oldest Cro-Magnon fossils found date?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_02"><en_us>When did Neanderthals likely appear?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_03"><en_us>About when did the first life on Earth appear?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_04"><en_us>When did eukaryotes approximately start to develop?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_05"><en_us>Around when did the first fungi form?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_06"><en_us>About when did oxygen first form in the atmosphere?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_07"><en_us>From around when does the first evidence of photosynthesis date?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_08"><en_us>Around when did the first animal life emerge?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_09"><en_us>When did what is known as the first bird emerge?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Question_evolution_10"><en_us>Around when did the first plant life emerge?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_01"><en_us>In 1868, in a shallow cave at Cro-Magnon near Les Eyzies-de-Tayac in the Dordogne, France, a number of obviously ancient human skeletons were found. The cave was investigated by the French geologist, Édouard Lartet, who uncovered five archaeological layers. The human bones found in the topmost layer proved to be between 35,000-10,000 years old. The prehistoric humans revealed by this find were called Cro-Magnon and have since been considered, along with Neanderthals (H. neanderthalensis), to be representative of prehistoric man.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_02"><en_us>Neanderthals emerged between 200,000-100,000 years ago and were replaced by early modern humans between 35,000-28,000 years ago. These early humans spread northward, displacing or absorbing local Neanderthal populations. Fossil evidence suggests interbreeding between late Neanderthal and early modern humans, meaning that Neanderthals contributed genetically to the humans that followed. Neanderthals have come to be viewed as quite close, evolutionarily, to modern humans.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_03"><en_us>The prokaryotes are a group of organisms that lack a cell nucleus, or any other membrane-bound organelles, and are classified as either bacteria or archaea. It is generally accepted that the first living organisms were some form of prokaryotes. The oldest known fossilized prokaryotes, archaea incapble of cell division, date to approximately 3.5 billion years ago, only about 1 billion years after the formation of the earth's crust. They were relatively resistant to ultraviolet radiation, and thus were able to survive during Earth’s early history when the atmosphere lacked an ozone layer. Even today, prokaryotes are perhaps the most successful and abundant form of life. </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_04"><en_us>The prokaryotes were predominant until about 1.9-1.7 billion years ago, when they were overtaken by the eukaryotes (organisms possessing nucleated cells). The latter made use of oxygen in their metabolism, and thus developed profusely in the increasingly oxygen-rich atmosphere of the early Proterozoic era. The eukaryotes were capable of cell division, which allowed DNA to be passed on to subsequent generations.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_05"><en_us>Kingdom Fungi, one of the oldest and largest groups of living organisms, is a monophyletic group, meaning that all modern fungi can be traced back to a single ancestral organism. This ancestral organism diverged from a common ancestor with the animal kingdom about 900-800 million years ago. Today, many organisms, particularly among the phycomycetes and slime molds, are no longer considered to be true fungi, even though mycologists might study them.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_06"><en_us>Until about 2.5 billion years ago, the Earth's atmosphere was largely composed of carbon dioxide. Primitive bacteria and cyanobacteria captured atmospheric carbon and deposited it for the first time on the sea floor, thus removing it from the atmosphere. During the Proterozoic era (2.5 billion to 542 million years ago), this process allowed some free oxygen to exist in the atmosphere for the first time.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_07"><en_us>Red algae are considered to be the first photosynthetic eukaryotes as red algal fossils are the oldest known algal fossils. The oldest microscopic spherical algae fossils known come from the Gunflint Iron Formation of North America, which was formed about 1.9 billion years ago.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_08"><en_us>Sponges were the first animal life form to emerge. They reproduce asexually, and the cell groups from which new individuals develop are formed internally. The earliest evidence of these animals in the fossil record consists of traces of a chemical formed by the breakdown of lipids in sponges that date back to the Cryogenian Period of the Proterozoic Era (about 635 million years ago).</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_09"><en_us>When its fossilized remains were discovered, Archaeopteryx, meaning ancient feather, appeared to be the link between dinosaurs and modern birds. It lived 150 million years ago and had fully aerodynamic feathers, showing a later stage in evolutionary development than was previously assumed. In earlier fossils, flightless feathers could now be recognized, showing the transition from scale to feather in late dinosaur evolution.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loc_Fact_evolution_10"><en_us>Before the evolution of land plants, the earth was a barren place, only capable of sustaining microscopic life forms. However, 700 million years ago, plants emerged to change the face of the planet forever. Plants were responsible for raising oxygen levels in the atmosphere by converting carbon dioxide into life-giving oxygen as they still do today. With more oxygen, more and larger life forms could be sustained on the surface of the planet, and so plants began to form an integral part of the circle of life.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_1"><en_us>Transportation</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_2"><en_us>Disasters</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_3"><en_us>Historical Figures</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_4"><en_us>Architecture</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_5"><en_us>Inventions</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_6"><en_us>Exploration</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_7"><en_us>Wars</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_8"><en_us>Art</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_9"><en_us>Extinct Animals</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_10"><en_us>Food and Drinks</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_11"><en_us>Nerds and Science</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_12"><en_us>Fashion</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="CategoryName_13"><en_us>Evolution and Nature</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Category_indication"><en_us>Category</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_1"><en_us>Know-it-All on the Move!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_2"><en_us>Consultant in Disaster Management!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_3"><en_us>VI to VIPs!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_4"><en_us>Big-Brained Builder!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_5"><en_us>Mastermind of Innovation!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_6"><en_us>Columbus’s Sidekick!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_7"><en_us>Witty Warmongerer!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_8"><en_us>Captain of Creativity!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_9"><en_us>Tip Top Taxidermist!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_10"><en_us>Gastronomical Genius!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_11"><en_us>Geek Extraordinaire!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_12"><en_us>Talented Trendster!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_Name_Category_13"><en_us>The Missing Link!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_10"><en_us>On the evolutionary ladder, you are a Brainless Amoeba!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_9"><en_us>On the evolutionary ladder, you are a Moronic Mold!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_8"><en_us>On the evolutionary ladder, you are a Feeble-Minded Jellyfish!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_7"><en_us>On the evolutionary ladder, you are a Foolish Flea!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_6"><en_us>On the evolutionary ladder, you are a Dopey Dunkleosteus!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_5"><en_us>On the evolutionary ladder, you are an Imbecilic Dinosaur</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_4"><en_us>On the evolutionary ladder, you are a Dozy Dodo</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_3"><en_us>On the evolutionary ladder, you are a Know-it-All Neanderthal </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_2"><en_us>On the evolutionary ladder, you are a Brainy Homo Sapien</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_Result_1"><en_us>On the evolutionary ladder, you are an Erudite Dolphin</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_screen_title"><en_us>Game Complete</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Test_Complete_Screen_title"><en_us>Test Complete</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Test_Complete_Score"><en_us>Score:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Test_Complete_Bonus"><en_us>Time Bonus:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Test_Complete_Total"><en_us>Total Score:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Test_overview"><en_us>Trophy Unlocked:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Test_Complete_Facts"><en_us>Facts Unlocked: </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Test_Complete_trophy_description"><en_us>Check out your trophies and read fun facts: </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Submit_Highscore_Btn"><en_us>Submit high score</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Try_Again_Btn"><en_us>Try again</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_to_Friend_Btn"><en_us>Send to friend</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Test_Btn"><en_us>Start new game</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_to_friend_Send_Name"><en_us>Enter your name here:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_to_friend_Send_Link"><en_us>Link:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_to_friend_Send_Title"><en_us>Send to a Friend</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_to_friend_Send_Info"><en_us>Copy this code by clicking the “copy” button above (or use ctrl + c) and paste the code (ctrl + v) in an email or chat window to show your friends how you did!</en_us><en_uk>Copy this code by clicking the “copy” button above (or use Ctrl+C) and paste the code (Ctrl+V) into an email or chat window to show your friends how well you performed!</en_uk><nl>Kopieer deze code door op 'Kopiëren' te klikken (of ctrl + c) en plak de code (ctrl + v) in een e-mail of chatbericht om je vrienden het eindresultaat te laten zien!</nl><fr>Copie ce code en cliquant sur le bouton “Copier” ci-dessus (ou bien utilise ctrl + c) et colle-le (ctrl + v) dans un e-mail ou dans une fenêtre de 'chat' pour montrer tes exploits à tes amis !</fr><de>Kopiere diesen Code über den entsprechenden Button (oder die Tastenkombination ctrl + c) und füge ihn (ctrl + v) in eine E-Mail oder ein Chatfenster ein, um deinen Freunden deine Ergebnisse zu zeigen!</de><es>Copia este código haciendo clic en el botón "Copiar" de arriba (o pulsa ctrl + c) y pega el código (ctrl + v) en un email o en una ventana de chat para compartir los resultados con tus amigos.</es><br>Copie este código clicando no botão "Copiar" acima (ou use ctrl + c) e cole o código (ctrl + v) em um email ou janela de bate-papo para mostrar às suas amigas o que você fez!</br><pt>Copie este código, clicando no botão “Copiar” (ou prima Ctrl+C) e copie-o (Ctrl+V) para uma mensagem de e-mail para mostrar o resultado aos seus amigos!</pt><it>Copia questo codice cliccando sul tasto “Copia” in alto (o usa ctrl + c) ed incolla il codice (ctrl + v) in un'email o finestra di chat per far vedere ai tuo amici come sei andato!</it><se>Kopiera koden genom att klicka på knappen ''Kopiera'' ovan (eller Ctrl+C). Klistra sedan in den (Ctrl+V) i ett mejl eller chattfönster och visa vänner ditt resultat!</se><pl>Skopiuj ten kod klikając na przycisk "Kopiuj" powyżej (albo użyj ctrl + c) i wklej kod (ctrl + v) do maila lub na czacie, aby pokazać przyjaciołom, co udało ci się stworzyć!</pl><ru>Скопируй этот код, щелкнув мышью по кнопке "Копировать" (или используй комбинацию клавиш Ctrl + C) и вставь (Ctrl + V) этот код в электронное сообщение или окно чата, чтобы поделиться своими успехами с друзьями!</ru><tr>Şaheserinizi arkadaşlarınıza göstermek için yukarıdaki “Kopyala” butonuna (ya da ctrl + c tuşlarına) basarak bu kodu kopyalayın ve e-posta veya sohbet penceresine yapıştırın (ctrl + v)!</tr><id>Salinlah kode ini dengan cara klik tombol "Salin" di atas ( atau menggunakan ctrl + c) dan pindahkan kode (ctrl + v) ke sebuah email atau jendela obrolan untuk menunjukkan kepada teman anda mengenai cara anda melakukannya!</id><my>Salin kod ini dengan mengklik butang “Salin” di atas (atau gunakan ctrl + c) dan tampal kod (ctrl + v) dalam e-mel atau tetingkap bual untuk tunjukkan kepada rakan anda bagaimana anda melakukannya!</my><jp>「コピーする」をクリックして(またはctrl + c)このURLをコピーし、Eメールやチャットウィンドウに貼り付ければ(ctrl + v)、あなたの成績をお友達に送信できます。</jp><cn></cn></textItem><textItem identifier="Send_to_friend_Send_CopyUrl"><en_us>Copy</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_10"><en_us>Is your friend also a Brainless Amoeba?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_9"><en_us>Is your friend also a Moronic Mold?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_8"><en_us>Is your friend also a Feeble-Minded Jellyfish?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_7"><en_us>Is your friend also a Foolish Flea?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_6"><en_us>Is your friend also a Dopey Dunkleosteus?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_5"><en_us>Is your friend also an Imbecilic Dinosaur?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_4"><en_us>Is your friend also a Dozy Dodo?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_3"><en_us>Is your friend also a Know-it-All Neanderthal?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_2"><en_us>Is your friend also a Brainy Homo Sapien?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Send_Rank_1"><en_us>Is your friend also an Erudite Dolphin?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Title"><en_us>Friend Invite</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_10"><en_us>is a Brainless Amoeba! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_9"><en_us>is a Moronic Mold! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_8"><en_us>is a Feeble-Minded Jellyfish! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_7"><en_us>is a Foolish Flea! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_6"><en_us>is a Dopey Dunkleosteus! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_5"><en_us>is an Imbecilic Dinosaur! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_4"><en_us>is a Dozy Dodo! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_3"><en_us>is a Know-it-All Neanderthal! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_2"><en_us>is a Brainy Homo Sapien! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Rank_1"><en_us>is an Erudite Dolphin! What are you?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Info"><en_us>What's your rung on the evolutionary ladder? Play now to find out!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Play_Friend"><en_us>Take your friend's test</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Send_To_Friend_Landing_Start_new"><en_us>Start a new game</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Start_Game_Btn"><en_us></en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPlay_Btn"><en_us>How to Play</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Highscore_Btn"><en_us>High Scores</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="TrophyRoom_Btn"><en_us>Trophy Room</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPlay_Skip_Btn"><en_us>Start Game</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPlay_Previous_Btn"><en_us>Previous</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPlay_Next_Btn"><en_us>Next</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="TrophyRoom_Description_Title"><en_us>Select a trophy</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="GameMode_Title"><en_us>Select Game Mode</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="GameMode_Trophy_mode"><en_us>Play for a Trophy:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="GameMode_Endless_mode"><en_us>Play Endless Mode:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_time_up"><en_us>Time's up!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_all_cards_played"><en_us>All icons placed.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Pause_Yes_btn"><en_us>Yes</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Pause_No_btn"><en_us>No</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Pause_Quit_text"><en_us>Are you sure you want to quit your current game?</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Pause_title"><en_us>Game Paused</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Pause_TrophyRoom_btn"><en_us>Trophy Room</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Pause_HowToPlay_btn"><en_us>How to Play</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Pause_Resume_btn"><en_us>Resume Game</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Pause_MainMenu_btn"><en_us>Main Menu</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Player_name_txt"><en_us>Your name: </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Your_score_txt"><en_us>Your score:</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Submit_Highscore_info"><en_us>Submit your name and score to the high scores list!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Submit_Highscore_title"><en_us>Submit High Score</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Submit_Button"><en_us>Submit</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Loading"><en_us>Loading…</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_1"><en_us>Car</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_2"><en_us>Bicycle </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_3"><en_us>Steamboat</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_4"><en_us>Oldest Boat Found</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_5"><en_us>Airplane Flight</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_6"><en_us>Steam Locomotive</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_7"><en_us>Wheelchair</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_8"><en_us>Zeppelin Flight</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_9"><en_us>Rollerskates</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_1_Fact_10"><en_us>Shopping Cart</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_1"><en_us>Twin Towers</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_2"><en_us>Chernobyl</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_3"><en_us>Tsunami</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_4"><en_us>Katrina</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_5"><en_us>Titanic</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_6"><en_us>Spanish Armada</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_7"><en_us>Black Death (the plague)</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_8"><en_us>Big Bang</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_9"><en_us>Chicxulub Crater</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_2_Fact_10"><en_us>Vesuvius Eruption</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_1"><en_us>Barack Obama</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_2"><en_us>Santa Claus</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_3"><en_us>John F. Kennedy</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_4"><en_us>Marilyn Monroe</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_5"><en_us>Adolf Hitler</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_6"><en_us>Louis XIV </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_7"><en_us>Thomas Jefferson</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_8"><en_us>Marco Polo</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_9"><en_us>Montezuma II</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_3_Fact_10"><en_us>Mother Teresa</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_1"><en_us>Taj Mahal</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_2"><en_us>Gotthard Road Tunnel</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_3"><en_us>Great Pyramid of Giza</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_4"><en_us>Colosseum</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_5"><en_us>Machu Picchu</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_6"><en_us>Stonehenge</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_7"><en_us>Great Wall of China</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_8"><en_us>Wainwright Building</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_9"><en_us>Parthenon</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_4_Fact_10"><en_us>Hong Kong International Airport (Chek Lap Kok Airport)</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_1"><en_us>Radio</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_2"><en_us>Vacuum Cleaner</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_3"><en_us>Paperclip</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_4"><en_us>The Wheel</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_5"><en_us>Personal Computer</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_6"><en_us>Fire</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_7"><en_us>Internet</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_8"><en_us>Light Bulb</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_9"><en_us>Flush Toilet</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_5_Fact_10"><en_us>Barometer</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_1"><en_us>Mariana Trench</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_2"><en_us>American Continents</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_3"><en_us>Australia</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_4"><en_us>First Mars Flyby</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_5"><en_us>Telescope</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_6"><en_us>Diamonds</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_7"><en_us>Pytheas of Massilia </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_8"><en_us>Hawaii</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_9"><en_us>Magnetic Compass</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_6_Fact_10"><en_us>Mount Everest</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_1"><en_us>WWI</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_2"><en_us>WWII</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_3"><en_us>100 Years War</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_4"><en_us>Cold War</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_5"><en_us>American Civil War</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_6"><en_us>Spanish Civil War</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_7"><en_us>First Opium War</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_8"><en_us>French Revolutionary War</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_9"><en_us>Algerian War of Independence</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_7_Fact_10"><en_us>Vietnam War</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_1"><en_us>The Starry Night</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_2"><en_us>The Birth of Venus</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_3"><en_us>Chinese Terracotta Army</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_4"><en_us>The Kiss</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_5"><en_us>Chauvet Cave Painting </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_6"><en_us>The Mona Lisa</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_7"><en_us>Bayeux Tapestry</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_8"><en_us>The Venus de Milo</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_9"><en_us>The Night Watch</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_8_Fact_10"><en_us>Jaguar Attacking a Horse</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_1"><en_us>T-Rex</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_2"><en_us>Dodo</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_3"><en_us>Woolly Mammoth </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_4"><en_us>Edmontosaurus </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_5"><en_us>Brontosaurus</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_6"><en_us>Bali Tiger</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_7"><en_us>Stegosaurus</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_8"><en_us>Triceratops</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_9"><en_us>Pachycephalosaurus</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_9_Fact_10"><en_us>Saber-Toothed Tiger</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_1"><en_us>First Coffee House</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_2"><en_us>Beer</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_3"><en_us>Chocolate</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_4"><en_us>Ravioli</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_5"><en_us>Popcorn</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_6"><en_us>Lollipop</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_7"><en_us>Freeze-Dried Food</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_8"><en_us>Bread</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_9"><en_us>Marmelade</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_10_Fact_10"><en_us>Eggplant</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_1"><en_us>Albert Einstein</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_2"><en_us>Man on the Moon</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_3"><en_us>USB Stick</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_4"><en_us>Compact Disc</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_5"><en_us>Star Trek</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_6"><en_us>Castle Clock</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_7"><en_us>Pong</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_8"><en_us>Estimate of π</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_9"><en_us>Pythagoras of Samos</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_11_Fact_10"><en_us>Electronic Calculator</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_1"><en_us>Jeans</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_2"><en_us>Wool Fabric</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_3"><en_us>Renaissance</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_4"><en_us>Medieval Era</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_5"><en_us>Miniskirt</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_6"><en_us>Shoes</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_7"><en_us>Bikini</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_8"><en_us>Fashion Photography</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_9"><en_us>Marie Antoinette</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_12_Fact_10"><en_us>Coco Chanel</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_1"><en_us>Cro-Magnon Man</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_2"><en_us>Neanderthal Man</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_3"><en_us>First Life</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_4"><en_us>Eukaryote</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_5"><en_us>Fungi </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_6"><en_us>Oxygen</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_7"><en_us>Photosynthesis</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_8"><en_us>First Animal</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_9"><en_us>Birds</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Cat_13_Fact_10"><en_us>Plants</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPLay_description1"><en_us>Find a year on the big timeline…</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPLay_description2"><en_us>…or use the timeline overview to jump to an era.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPLay_description3"><en_us>Drag an icon along the timeline until it shows the year you'd like.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPLay_description4"><en_us>You will score points based on how close you are to the correct year.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Score_Ingame_txt"><en_us>Your Score</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Millenium_ind_1"><en_us>1st Millenium A.D.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Millenium_ind_2"><en_us>2nd Millenium B.C.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Millenium_ind_3"><en_us>1st Millenium B.C.</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Millenium_ind_4"><en_us>20th Century</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Millenium_ind_5"><en_us>21st Century</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Billion"><en_us>Billion</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Million"><en_us>Million</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Thousand"><en_us>Thousand</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_complete_feedback"><en_us>Congratulations, you completed the game! A true history nerd!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Trophy_unlocked_feedback"><en_us>Yay! You unlocked a trophy!</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete_questions"><en_us>Questions: </en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="points"><en_us>points</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="questions"><en_us>questions</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Game_Complete__correct"><en_us>correct</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="HowToPLay_Title"><en_us>How to Play</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="TrophyRoom_Title"><en_us>Trophy Room</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem><textItem identifier="Highscore_title"><en_us>High Scores</en_us><en_uk></en_uk><nl></nl><fr></fr><de></de><es></es><br></br><pt></pt><it></it><se></se><pl></pl><ru></ru><tr></tr><id></id><my></my><jp></jp><cn></cn></textItem></LocalisedText>
;
SpilGame.importXMLv2(_local2);
trace("Language Data Succesfully included");
if (_O100ll1lO()){
addEventListener(Event.ENTER_FRAME, _O010llOl0);
_OO1Olll1O = new PreloaderMenu(loaderInfo);
addChild(_OO1Olll1O);
};
Analytics.initialize(this, false);
}
private function _OO1O01Oll():void{
stop();
var _local1:Class = (getDefinitionByName("Main") as Class);
addChild((new (_local1) as DisplayObject));
}
private function _O100ll1lO():Boolean{
return (true);
}
private function _O010llOl0(_arg1:Event):void{
if (currentFrame == totalFrames){
removeChild(_OO1Olll1O);
removeEventListener(Event.ENTER_FRAME, _O010llOl0);
_OO1O01Oll();
};
}
private function _OOOll11O0(_arg1:String):void{
var _local2:Array = Languages.getLanguagesArray();
var _local3:int;
while (_local3 < _local2.length) {
Languages.getLanguage(_local2[_local3].name).textLanguage = _arg1;
_local3++;
};
}
}
}//package
Section 397
//TestMyHistory_Arial (TestMyHistory_Arial)
package {
import mx.core.*;
public class TestMyHistory_Arial extends FontAsset {
}
}//package
Section 398
//TestMyHistory_ArialBold (TestMyHistory_ArialBold)
package {
import mx.core.*;
public class TestMyHistory_ArialBold extends FontAsset {
}
}//package
Section 399
//Timeline_Gamecomplete (Timeline_Gamecomplete)
package {
import flash.display.*;
public dynamic class Timeline_Gamecomplete extends MovieClip {
public var TimelineCompleteArrow:MovieClip;
public var timeline_completebar:MovieClip;
public var timeline_amazedDino:MovieClip;
}
}//package
Section 400
//timelineControl (timelineControl)
package {
import flash.display.*;
public dynamic class timelineControl extends MovieClip {
}
}//package
Section 401
//timelineController1 (timelineController1)
package {
import flash.display.*;
public dynamic class timelineController1 extends MovieClip {
}
}//package
Section 402
//timelineController2 (timelineController2)
package {
import flash.display.*;
public dynamic class timelineController2 extends MovieClip {
}
}//package
Section 403
//TimelineLarge (TimelineLarge)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class TimelineLarge extends MovieClip {
public var __id9_:LocalizedTextField;
public var __id24_:LocalizedTextField;
public var __id12_:LocalizedTextField;
public var __id5_:LocalizedTextField;
public var __id1_:LocalizedTextField;
public var __id20_:LocalizedTextField;
public var __id17_:LocalizedTextField;
public var __id13_:LocalizedTextField;
public var __id6_:LocalizedTextField;
public var __id21_:LocalizedTextField;
public var __id2_:LocalizedTextField;
public var __id18_:LocalizedTextField;
public var __id14_:LocalizedTextField;
public var __id7_:LocalizedTextField;
public var __id22_:LocalizedTextField;
public var __id10_:LocalizedTextField;
public var __id3_:LocalizedTextField;
public var __id19_:LocalizedTextField;
public var __id15_:LocalizedTextField;
public var __id8_:LocalizedTextField;
public var __id23_:LocalizedTextField;
public var __id11_:LocalizedTextField;
public var __id4_:LocalizedTextField;
public var __id0_:LocalizedTextField;
public var __id16_:LocalizedTextField;
public function TimelineLarge(){
__setProp___id0__TimeLineLarge_Layer2_0();
__setProp___id1__TimeLineLarge_Layer2_0();
__setProp___id2__TimeLineLarge_Layer2_0();
__setProp___id3__TimeLineLarge_Layer2_0();
__setProp___id4__TimeLineLarge_Layer2_0();
__setProp___id5__TimeLineLarge_Layer2_0();
__setProp___id6__TimeLineLarge_Layer2_0();
__setProp___id7__TimeLineLarge_Layer2_0();
__setProp___id8__TimeLineLarge_Layer2_0();
__setProp___id9__TimeLineLarge_Layer2_0();
__setProp___id10__TimeLineLarge_Layer2_0();
__setProp___id11__TimeLineLarge_Layer2_0();
__setProp___id12__TimeLineLarge_Layer2_0();
__setProp___id13__TimeLineLarge_Layer2_0();
__setProp___id14__TimeLineLarge_Layer2_0();
__setProp___id15__TimeLineLarge_Layer2_0();
__setProp___id16__TimeLineLarge_Layer2_0();
__setProp___id17__TimeLineLarge_Layer2_0();
__setProp___id18__TimeLineLarge_Layer2_0();
__setProp___id19__TimeLineLarge_Layer2_0();
__setProp___id20__TimeLineLarge_Layer2_0();
__setProp___id21__TimeLineLarge_Layer2_0();
__setProp___id22__TimeLineLarge_Layer2_0();
__setProp___id23__TimeLineLarge_Layer2_0();
__setProp___id24__TimeLineLarge_Layer2_0();
}
function __setProp___id10__TimeLineLarge_Layer2_0(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.text = "{Billion}";
__id10_.textColor = 0xFFFFFF;
__id10_.textSize = 10;
__id10_.bold = true;
__id10_.disableWordwrap = false;
__id10_.embedFonts = true;
__id10_.font = "Arial";
__id10_.hAlign = "left";
__id10_.multiline = false;
__id10_.vAlign = "top";
__id10_.antiAliasType = "advanced";
__id10_.glowBlur = 3;
__id10_.glowColor = 0;
__id10_.useGlowFilter = false;
__id10_.glowQuality = 1;
__id10_.glowStrength = 5;
__id10_.gridFitType = "pixel";
__id10_.italic = false;
__id10_.selectable = false;
__id10_.underline = false;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id11__TimeLineLarge_Layer2_0(){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.text = "{Billion}";
__id11_.textColor = 0xFFFFFF;
__id11_.textSize = 10;
__id11_.bold = true;
__id11_.disableWordwrap = false;
__id11_.embedFonts = true;
__id11_.font = "Arial";
__id11_.hAlign = "left";
__id11_.multiline = false;
__id11_.vAlign = "top";
__id11_.antiAliasType = "advanced";
__id11_.glowBlur = 3;
__id11_.glowColor = 0;
__id11_.useGlowFilter = false;
__id11_.glowQuality = 1;
__id11_.glowStrength = 5;
__id11_.gridFitType = "pixel";
__id11_.italic = false;
__id11_.selectable = false;
__id11_.underline = false;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id12__TimeLineLarge_Layer2_0(){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{Million}";
__id12_.textColor = 0xFFFFFF;
__id12_.textSize = 10;
__id12_.bold = true;
__id12_.disableWordwrap = false;
__id12_.embedFonts = true;
__id12_.font = "Arial";
__id12_.hAlign = "left";
__id12_.multiline = false;
__id12_.vAlign = "top";
__id12_.antiAliasType = "advanced";
__id12_.glowBlur = 3;
__id12_.glowColor = 0;
__id12_.useGlowFilter = false;
__id12_.glowQuality = 1;
__id12_.glowStrength = 5;
__id12_.gridFitType = "pixel";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id13__TimeLineLarge_Layer2_0(){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.text = "{Million}";
__id13_.textColor = 0xFFFFFF;
__id13_.textSize = 10;
__id13_.bold = true;
__id13_.disableWordwrap = false;
__id13_.embedFonts = true;
__id13_.font = "Arial";
__id13_.hAlign = "left";
__id13_.multiline = false;
__id13_.vAlign = "top";
__id13_.antiAliasType = "advanced";
__id13_.glowBlur = 3;
__id13_.glowColor = 0;
__id13_.useGlowFilter = false;
__id13_.glowQuality = 1;
__id13_.glowStrength = 5;
__id13_.gridFitType = "pixel";
__id13_.italic = false;
__id13_.selectable = false;
__id13_.underline = false;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id14__TimeLineLarge_Layer2_0(){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.text = "{Million}";
__id14_.textColor = 0xFFFFFF;
__id14_.textSize = 10;
__id14_.bold = true;
__id14_.disableWordwrap = false;
__id14_.embedFonts = true;
__id14_.font = "Arial";
__id14_.hAlign = "left";
__id14_.multiline = false;
__id14_.vAlign = "top";
__id14_.antiAliasType = "advanced";
__id14_.glowBlur = 3;
__id14_.glowColor = 0;
__id14_.useGlowFilter = false;
__id14_.glowQuality = 1;
__id14_.glowStrength = 5;
__id14_.gridFitType = "pixel";
__id14_.italic = false;
__id14_.selectable = false;
__id14_.underline = false;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id15__TimeLineLarge_Layer2_0(){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.text = "{Million}";
__id15_.textColor = 0xFFFFFF;
__id15_.textSize = 10;
__id15_.bold = true;
__id15_.disableWordwrap = false;
__id15_.embedFonts = true;
__id15_.font = "Arial";
__id15_.hAlign = "left";
__id15_.multiline = false;
__id15_.vAlign = "top";
__id15_.antiAliasType = "advanced";
__id15_.glowBlur = 3;
__id15_.glowColor = 0;
__id15_.useGlowFilter = false;
__id15_.glowQuality = 1;
__id15_.glowStrength = 5;
__id15_.gridFitType = "pixel";
__id15_.italic = false;
__id15_.selectable = false;
__id15_.underline = false;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id16__TimeLineLarge_Layer2_0(){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.text = "{Million}";
__id16_.textColor = 0xFFFFFF;
__id16_.textSize = 10;
__id16_.bold = true;
__id16_.disableWordwrap = false;
__id16_.embedFonts = true;
__id16_.font = "Arial";
__id16_.hAlign = "left";
__id16_.multiline = false;
__id16_.vAlign = "top";
__id16_.antiAliasType = "advanced";
__id16_.glowBlur = 3;
__id16_.glowColor = 0;
__id16_.useGlowFilter = false;
__id16_.glowQuality = 1;
__id16_.glowStrength = 5;
__id16_.gridFitType = "pixel";
__id16_.italic = false;
__id16_.selectable = false;
__id16_.underline = false;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id0__TimeLineLarge_Layer2_0(){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.text = "{Billion}";
__id0_.textColor = 0xFFFFFF;
__id0_.textSize = 10;
__id0_.bold = true;
__id0_.disableWordwrap = false;
__id0_.embedFonts = true;
__id0_.font = "Arial";
__id0_.hAlign = "left";
__id0_.multiline = false;
__id0_.vAlign = "top";
__id0_.antiAliasType = "advanced";
__id0_.glowBlur = 3;
__id0_.glowColor = 0;
__id0_.useGlowFilter = false;
__id0_.glowQuality = 1;
__id0_.glowStrength = 5;
__id0_.gridFitType = "pixel";
__id0_.italic = false;
__id0_.selectable = false;
__id0_.underline = false;
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__TimeLineLarge_Layer2_0(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{Billion}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 10;
__id1_.bold = true;
__id1_.disableWordwrap = false;
__id1_.embedFonts = true;
__id1_.font = "Arial";
__id1_.hAlign = "left";
__id1_.multiline = false;
__id1_.vAlign = "top";
__id1_.antiAliasType = "advanced";
__id1_.glowBlur = 3;
__id1_.glowColor = 0;
__id1_.useGlowFilter = false;
__id1_.glowQuality = 1;
__id1_.glowStrength = 5;
__id1_.gridFitType = "pixel";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id2__TimeLineLarge_Layer2_0(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.text = "{Billion}";
__id2_.textColor = 0xFFFFFF;
__id2_.textSize = 10;
__id2_.bold = true;
__id2_.disableWordwrap = false;
__id2_.embedFonts = true;
__id2_.font = "Arial";
__id2_.hAlign = "left";
__id2_.multiline = false;
__id2_.vAlign = "top";
__id2_.antiAliasType = "advanced";
__id2_.glowBlur = 3;
__id2_.glowColor = 0;
__id2_.useGlowFilter = false;
__id2_.glowQuality = 1;
__id2_.glowStrength = 5;
__id2_.gridFitType = "pixel";
__id2_.italic = false;
__id2_.selectable = false;
__id2_.underline = false;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id3__TimeLineLarge_Layer2_0(){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.text = "{Billion}";
__id3_.textColor = 0xFFFFFF;
__id3_.textSize = 10;
__id3_.bold = true;
__id3_.disableWordwrap = false;
__id3_.embedFonts = true;
__id3_.font = "Arial";
__id3_.hAlign = "left";
__id3_.multiline = false;
__id3_.vAlign = "top";
__id3_.antiAliasType = "advanced";
__id3_.glowBlur = 3;
__id3_.glowColor = 0;
__id3_.useGlowFilter = false;
__id3_.glowQuality = 1;
__id3_.glowStrength = 5;
__id3_.gridFitType = "pixel";
__id3_.italic = false;
__id3_.selectable = false;
__id3_.underline = false;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id4__TimeLineLarge_Layer2_0(){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.text = "{Billion}";
__id4_.textColor = 0xFFFFFF;
__id4_.textSize = 10;
__id4_.bold = true;
__id4_.disableWordwrap = false;
__id4_.embedFonts = true;
__id4_.font = "Arial";
__id4_.hAlign = "left";
__id4_.multiline = false;
__id4_.vAlign = "top";
__id4_.antiAliasType = "advanced";
__id4_.glowBlur = 3;
__id4_.glowColor = 0;
__id4_.useGlowFilter = false;
__id4_.glowQuality = 1;
__id4_.glowStrength = 5;
__id4_.gridFitType = "pixel";
__id4_.italic = false;
__id4_.selectable = false;
__id4_.underline = false;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id5__TimeLineLarge_Layer2_0(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.text = "{Billion}";
__id5_.textColor = 0xFFFFFF;
__id5_.textSize = 10;
__id5_.bold = true;
__id5_.disableWordwrap = false;
__id5_.embedFonts = true;
__id5_.font = "Arial";
__id5_.hAlign = "left";
__id5_.multiline = false;
__id5_.vAlign = "top";
__id5_.antiAliasType = "advanced";
__id5_.glowBlur = 3;
__id5_.glowColor = 0;
__id5_.useGlowFilter = false;
__id5_.glowQuality = 1;
__id5_.glowStrength = 5;
__id5_.gridFitType = "pixel";
__id5_.italic = false;
__id5_.selectable = false;
__id5_.underline = false;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id7__TimeLineLarge_Layer2_0(){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.text = "{Billion}";
__id7_.textColor = 0xFFFFFF;
__id7_.textSize = 10;
__id7_.bold = true;
__id7_.disableWordwrap = false;
__id7_.embedFonts = true;
__id7_.font = "Arial";
__id7_.hAlign = "left";
__id7_.multiline = false;
__id7_.vAlign = "top";
__id7_.antiAliasType = "advanced";
__id7_.glowBlur = 3;
__id7_.glowColor = 0;
__id7_.useGlowFilter = false;
__id7_.glowQuality = 1;
__id7_.glowStrength = 5;
__id7_.gridFitType = "pixel";
__id7_.italic = false;
__id7_.selectable = false;
__id7_.underline = false;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id8__TimeLineLarge_Layer2_0(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.text = "{Billion}";
__id8_.textColor = 0xFFFFFF;
__id8_.textSize = 10;
__id8_.bold = true;
__id8_.disableWordwrap = false;
__id8_.embedFonts = true;
__id8_.font = "Arial";
__id8_.hAlign = "left";
__id8_.multiline = false;
__id8_.vAlign = "top";
__id8_.antiAliasType = "advanced";
__id8_.glowBlur = 3;
__id8_.glowColor = 0;
__id8_.useGlowFilter = false;
__id8_.glowQuality = 1;
__id8_.glowStrength = 5;
__id8_.gridFitType = "pixel";
__id8_.italic = false;
__id8_.selectable = false;
__id8_.underline = false;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id9__TimeLineLarge_Layer2_0(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.text = "{Billion}";
__id9_.textColor = 0xFFFFFF;
__id9_.textSize = 10;
__id9_.bold = true;
__id9_.disableWordwrap = false;
__id9_.embedFonts = true;
__id9_.font = "Arial";
__id9_.hAlign = "left";
__id9_.multiline = false;
__id9_.vAlign = "top";
__id9_.antiAliasType = "advanced";
__id9_.glowBlur = 3;
__id9_.glowColor = 0;
__id9_.useGlowFilter = false;
__id9_.glowQuality = 1;
__id9_.glowStrength = 5;
__id9_.gridFitType = "pixel";
__id9_.italic = false;
__id9_.selectable = false;
__id9_.underline = false;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id6__TimeLineLarge_Layer2_0(){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.text = "{Billion}";
__id6_.textColor = 0xFFFFFF;
__id6_.textSize = 10;
__id6_.bold = true;
__id6_.disableWordwrap = false;
__id6_.embedFonts = true;
__id6_.font = "Arial";
__id6_.hAlign = "left";
__id6_.multiline = false;
__id6_.vAlign = "top";
__id6_.antiAliasType = "advanced";
__id6_.glowBlur = 3;
__id6_.glowColor = 0;
__id6_.useGlowFilter = false;
__id6_.glowQuality = 1;
__id6_.glowStrength = 5;
__id6_.gridFitType = "pixel";
__id6_.italic = false;
__id6_.selectable = false;
__id6_.underline = false;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id18__TimeLineLarge_Layer2_0(){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.text = "{Million}";
__id18_.textColor = 0xFFFFFF;
__id18_.textSize = 10;
__id18_.bold = true;
__id18_.disableWordwrap = false;
__id18_.embedFonts = true;
__id18_.font = "Arial";
__id18_.hAlign = "left";
__id18_.multiline = false;
__id18_.vAlign = "top";
__id18_.antiAliasType = "advanced";
__id18_.glowBlur = 3;
__id18_.glowColor = 0;
__id18_.useGlowFilter = false;
__id18_.glowQuality = 1;
__id18_.glowStrength = 5;
__id18_.gridFitType = "pixel";
__id18_.italic = false;
__id18_.selectable = false;
__id18_.underline = false;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id23__TimeLineLarge_Layer2_0(){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.text = "{Billion}";
__id23_.textColor = 0xFFFFFF;
__id23_.textSize = 10;
__id23_.bold = true;
__id23_.disableWordwrap = false;
__id23_.embedFonts = true;
__id23_.font = "Arial";
__id23_.hAlign = "left";
__id23_.multiline = false;
__id23_.vAlign = "top";
__id23_.antiAliasType = "advanced";
__id23_.glowBlur = 3;
__id23_.glowColor = 0;
__id23_.useGlowFilter = false;
__id23_.glowQuality = 1;
__id23_.glowStrength = 5;
__id23_.gridFitType = "pixel";
__id23_.italic = false;
__id23_.selectable = false;
__id23_.underline = false;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id24__TimeLineLarge_Layer2_0(){
try {
__id24_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id24_.text = "{Billion}";
__id24_.textColor = 0xFFFFFF;
__id24_.textSize = 10;
__id24_.bold = true;
__id24_.disableWordwrap = false;
__id24_.embedFonts = true;
__id24_.font = "Arial";
__id24_.hAlign = "left";
__id24_.multiline = false;
__id24_.vAlign = "top";
__id24_.antiAliasType = "advanced";
__id24_.glowBlur = 3;
__id24_.glowColor = 0;
__id24_.useGlowFilter = false;
__id24_.glowQuality = 1;
__id24_.glowStrength = 5;
__id24_.gridFitType = "pixel";
__id24_.italic = false;
__id24_.selectable = false;
__id24_.underline = false;
try {
__id24_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id20__TimeLineLarge_Layer2_0(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.text = "{Million}";
__id20_.textColor = 0xFFFFFF;
__id20_.textSize = 10;
__id20_.bold = true;
__id20_.disableWordwrap = false;
__id20_.embedFonts = true;
__id20_.font = "Arial";
__id20_.hAlign = "left";
__id20_.multiline = false;
__id20_.vAlign = "top";
__id20_.antiAliasType = "advanced";
__id20_.glowBlur = 3;
__id20_.glowColor = 0;
__id20_.useGlowFilter = false;
__id20_.glowQuality = 1;
__id20_.glowStrength = 5;
__id20_.gridFitType = "pixel";
__id20_.italic = false;
__id20_.selectable = false;
__id20_.underline = false;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id21__TimeLineLarge_Layer2_0(){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.text = "{Million}";
__id21_.textColor = 0xFFFFFF;
__id21_.textSize = 10;
__id21_.bold = true;
__id21_.disableWordwrap = false;
__id21_.embedFonts = true;
__id21_.font = "Arial";
__id21_.hAlign = "left";
__id21_.multiline = false;
__id21_.vAlign = "top";
__id21_.antiAliasType = "advanced";
__id21_.glowBlur = 3;
__id21_.glowColor = 0;
__id21_.useGlowFilter = false;
__id21_.glowQuality = 1;
__id21_.glowStrength = 5;
__id21_.gridFitType = "pixel";
__id21_.italic = false;
__id21_.selectable = false;
__id21_.underline = false;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id19__TimeLineLarge_Layer2_0(){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.text = "{Million}";
__id19_.textColor = 0xFFFFFF;
__id19_.textSize = 10;
__id19_.bold = true;
__id19_.disableWordwrap = false;
__id19_.embedFonts = true;
__id19_.font = "Arial";
__id19_.hAlign = "left";
__id19_.multiline = false;
__id19_.vAlign = "top";
__id19_.antiAliasType = "advanced";
__id19_.glowBlur = 3;
__id19_.glowColor = 0;
__id19_.useGlowFilter = false;
__id19_.glowQuality = 1;
__id19_.glowStrength = 5;
__id19_.gridFitType = "pixel";
__id19_.italic = false;
__id19_.selectable = false;
__id19_.underline = false;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id22__TimeLineLarge_Layer2_0(){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.text = "{Million}";
__id22_.textColor = 0xFFFFFF;
__id22_.textSize = 10;
__id22_.bold = true;
__id22_.disableWordwrap = false;
__id22_.embedFonts = true;
__id22_.font = "Arial";
__id22_.hAlign = "left";
__id22_.multiline = false;
__id22_.vAlign = "top";
__id22_.antiAliasType = "advanced";
__id22_.glowBlur = 3;
__id22_.glowColor = 0;
__id22_.useGlowFilter = false;
__id22_.glowQuality = 1;
__id22_.glowStrength = 5;
__id22_.gridFitType = "pixel";
__id22_.italic = false;
__id22_.selectable = false;
__id22_.underline = false;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id17__TimeLineLarge_Layer2_0(){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.text = "{Million}";
__id17_.textColor = 0xFFFFFF;
__id17_.textSize = 10;
__id17_.bold = true;
__id17_.disableWordwrap = false;
__id17_.embedFonts = true;
__id17_.font = "Arial";
__id17_.hAlign = "left";
__id17_.multiline = false;
__id17_.vAlign = "top";
__id17_.antiAliasType = "advanced";
__id17_.glowBlur = 3;
__id17_.glowColor = 0;
__id17_.useGlowFilter = false;
__id17_.glowQuality = 1;
__id17_.glowStrength = 5;
__id17_.gridFitType = "pixel";
__id17_.italic = false;
__id17_.selectable = false;
__id17_.underline = false;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 404
//timesUp_mc (timesUp_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class timesUp_mc extends MovieClip {
public var __id25_:LocalizedTextField;
public function timesUp_mc(){
__setProp___id25__timesUp_Layer3_0();
}
function __setProp___id25__timesUp_Layer3_0(){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.text = "{Game_time_up}";
__id25_.textColor = 0xFFFFFF;
__id25_.textSize = 12;
__id25_.bold = true;
__id25_.disableWordwrap = false;
__id25_.embedFonts = true;
__id25_.font = "Arial";
__id25_.hAlign = "center";
__id25_.multiline = true;
__id25_.vAlign = "middle";
__id25_.antiAliasType = "advanced";
__id25_.glowBlur = 3;
__id25_.glowColor = 0;
__id25_.useGlowFilter = false;
__id25_.glowQuality = 1;
__id25_.glowStrength = 5;
__id25_.gridFitType = "pixel";
__id25_.italic = false;
__id25_.selectable = false;
__id25_.underline = false;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 405
//TropheeRoom_mc (TropheeRoom_mc)
package {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import spill.localisation.*;
import flash.net.*;
import flash.ui.*;
import flash.external.*;
import flash.filters.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.xml.*;
public dynamic class TropheeRoom_mc extends MovieClip {
public var btn_main:MovieClip;
public var __id63_:LocalizedTextField;
public var btn_MoreGames:MovieClip;
public var btn_scroll_up:MovieClip;
public var placeholderTextbox:MovieClip;
public var btn_highscore:MovieClip;
public var btn_scroll_down:MovieClip;
public var placeholder_tropheeCardImg:MovieClip;
public var txt_description_trophee:LocalizedTextField;
public var placeholder_tropheeslider:MovieClip;
public function TropheeRoom_mc(){
__setProp___id63__TropheeRoom_text_layer_0();
__setProp_txt_description_trophee_TropheeRoom_text_layer_0();
}
function __setProp___id63__TropheeRoom_text_layer_0(){
try {
__id63_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id63_.text = "{TrophyRoom_Title}";
__id63_.textColor = 3547404;
__id63_.textSize = 16;
__id63_.bold = true;
__id63_.disableWordwrap = false;
__id63_.embedFonts = true;
__id63_.font = "Arial";
__id63_.hAlign = "left";
__id63_.multiline = false;
__id63_.vAlign = "top";
__id63_.antiAliasType = "advanced";
__id63_.glowBlur = 3;
__id63_.glowColor = 0;
__id63_.useGlowFilter = false;
__id63_.glowQuality = 1;
__id63_.glowStrength = 5;
__id63_.gridFitType = "pixel";
__id63_.italic = false;
__id63_.selectable = false;
__id63_.underline = false;
try {
__id63_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt_description_trophee_TropheeRoom_text_layer_0(){
try {
txt_description_trophee["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_description_trophee.text = "{TrophyRoom_Description_Title}";
txt_description_trophee.textColor = 3547404;
txt_description_trophee.textSize = 10;
txt_description_trophee.bold = true;
txt_description_trophee.disableWordwrap = false;
txt_description_trophee.embedFonts = true;
txt_description_trophee.font = "Arial";
txt_description_trophee.hAlign = "left";
txt_description_trophee.multiline = true;
txt_description_trophee.vAlign = "top";
txt_description_trophee.antiAliasType = "advanced";
txt_description_trophee.glowBlur = 3;
txt_description_trophee.glowColor = 0;
txt_description_trophee.useGlowFilter = false;
txt_description_trophee.glowQuality = 1;
txt_description_trophee.glowStrength = 5;
txt_description_trophee.gridFitType = "pixel";
txt_description_trophee.italic = false;
txt_description_trophee.selectable = false;
txt_description_trophee.underline = false;
try {
txt_description_trophee["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 406
//TropheeScreen (TropheeScreen)
package {
import flash.display.*;
public dynamic class TropheeScreen extends MovieClip {
public var placeholder_tropheechamber:MovieClip;
}
}//package
Section 407
//trophy_1 (trophy_1)
package {
import flash.display.*;
public dynamic class trophy_1 extends BitmapData {
public function trophy_1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 408
//trophy_10 (trophy_10)
package {
import flash.display.*;
public dynamic class trophy_10 extends BitmapData {
public function trophy_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 409
//trophy_11 (trophy_11)
package {
import flash.display.*;
public dynamic class trophy_11 extends BitmapData {
public function trophy_11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 410
//trophy_12 (trophy_12)
package {
import flash.display.*;
public dynamic class trophy_12 extends BitmapData {
public function trophy_12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 411
//trophy_13 (trophy_13)
package {
import flash.display.*;
public dynamic class trophy_13 extends BitmapData {
public function trophy_13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 412
//trophy_2 (trophy_2)
package {
import flash.display.*;
public dynamic class trophy_2 extends BitmapData {
public function trophy_2(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 413
//trophy_3 (trophy_3)
package {
import flash.display.*;
public dynamic class trophy_3 extends BitmapData {
public function trophy_3(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 414
//trophy_4 (trophy_4)
package {
import flash.display.*;
public dynamic class trophy_4 extends BitmapData {
public function trophy_4(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 415
//trophy_5 (trophy_5)
package {
import flash.display.*;
public dynamic class trophy_5 extends BitmapData {
public function trophy_5(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 416
//trophy_6 (trophy_6)
package {
import flash.display.*;
public dynamic class trophy_6 extends BitmapData {
public function trophy_6(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 417
//trophy_7 (trophy_7)
package {
import flash.display.*;
public dynamic class trophy_7 extends BitmapData {
public function trophy_7(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 418
//trophy_8 (trophy_8)
package {
import flash.display.*;
public dynamic class trophy_8 extends BitmapData {
public function trophy_8(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 419
//trophy_9 (trophy_9)
package {
import flash.display.*;
public dynamic class trophy_9 extends BitmapData {
public function trophy_9(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 420
//Utils (Utils)
package {
import flash.events.*;
import flash.display.*;
import spill.TMH.sound.*;
import spill.localisation.*;
import flash.net.*;
public class Utils {
public static function m_getCategoryExcelName(_arg1:int):String{
if (_arg1 == 1){
return ("mobility");
};
if (_arg1 == 2){
return ("disasters");
};
if (_arg1 == 3){
return ("important_people");
};
if (_arg1 == 4){
return ("architecture");
};
if (_arg1 == 5){
return ("inventions");
};
if (_arg1 == 6){
return ("world_and_universe_exploration");
};
if (_arg1 == 7){
return ("wars");
};
if (_arg1 == 8){
return ("art");
};
if (_arg1 == 9){
return ("extinct");
};
if (_arg1 == 10){
return ("food");
};
if (_arg1 == 11){
return ("science");
};
if (_arg1 == 12){
return ("fashion");
};
if (_arg1 == 13){
return ("evolution");
};
return ("");
}
public static function initButton(_arg1:MovieClip, _arg2:Function=null, _arg3:String="menu"):void{
_arg1.buttonMode = true;
_arg1.mouseChildren = false;
_arg1.stop();
_O001l0lOO(_arg1, _arg3);
if ((_arg2 is Function)){
_arg1.addEventListener(MouseEvent.CLICK, _arg2, false, 0, true);
};
}
public static function deInitButton(_arg1:MovieClip, _arg2:Function=null, _arg3:String="menu"):void{
_arg1.buttonMode = false;
_arg1.mouseChildren = false;
_arg1.stop();
_O000l1lOO(_arg1, _arg3);
if ((_arg2 is Function)){
_arg1.removeEventListener(MouseEvent.CLICK, _arg2);
};
}
public static function rolloverSoundMenu(_arg1:MouseEvent):void{
SoundManager.playSound("menu", 4, 2);
}
public static function clickSoundMenu(_arg1:MouseEvent):void{
SoundManager.playSound("menu", 5);
}
private static function _O001l0lOO(_arg1:MovieClip, _arg2:String):void{
if (_arg2 == "menu"){
_arg1.addEventListener(MouseEvent.ROLL_OVER, rolloverSoundMenu, false, 0, true);
_arg1.addEventListener(MouseEvent.CLICK, clickSoundMenu, false, 0, true);
} else {
if (_arg2 == "pause"){
_arg1.addEventListener(MouseEvent.ROLL_OVER, rolloverSoundMenu, false, 0, true);
_arg1.addEventListener(MouseEvent.CLICK, _O0OOOOllO, false, 0, true);
} else {
if (_arg2 == "Arrow"){
_arg1.addEventListener(MouseEvent.ROLL_OVER, _O1O10l0O0, false, 0, true);
} else {
if (_arg2 == "gameMode"){
_arg1.addEventListener(MouseEvent.ROLL_OVER, _O0O00OOO0, false, 0, true);
_arg1.addEventListener(MouseEvent.CLICK, _OOOOOO0lO, false, 0, true);
} else {
if (_arg2 == "quest"){
_arg1.addEventListener(MouseEvent.ROLL_OVER, _O10O0l0l0, false, 0, true);
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, _O10OO0OlO, false, 0, true);
};
};
};
};
};
}
private static function _O0O00OOO0(_arg1:MouseEvent):void{
SoundManager.playSound("menu", 3);
}
public static function m_getQuestion(_arg1:String, _arg2:int):String{
var _local3:String = ("" + _arg2);
if (_arg2 < 10){
_local3 = ("0" + _arg2);
};
return (("" + SpilGame.getString(((("Loc_Question_" + _arg1) + "_") + _local3))));
}
private static function _OOOOOO0lO(_arg1:MouseEvent):void{
SoundManager.playSound("menu", 2);
}
public static function initBrandinButton(_arg1:MovieClip, _arg2:String):void{
initButton(_arg1, _OO0l0lOll);
_arg1.term = _arg2;
}
public static function m_getTrophyCategoryNameByID(_arg1:int):String{
return (("" + SpilGame.getString(("Trophy_Name_Category_" + _arg1))));
}
public static function m_getFact(_arg1:String, _arg2:int):String{
var _local3:String = ("" + _arg2);
if (_arg2 < 10){
_local3 = ("0" + _arg2);
};
return (("" + SpilGame.getString(((("Loc_Fact_" + _arg1) + "_") + _local3))));
}
private static function _O10OO0OlO(_arg1:MouseEvent):void{
SoundManager.playSound("ingame", 2);
}
private static function _O1O10l0O0(_arg1:MouseEvent):void{
SoundManager.playSound("menu", 1);
}
public static function m_getYearLabel(_arg1:Number):String{
if (_arg1 >= 1000000000){
return (("" + SpilGame.getString("Billion")));
};
if (_arg1 >= 1000000){
return (("" + SpilGame.getString("Million")));
};
return ("");
}
public static function m_getCategoryByID(_arg1:int):String{
return (("" + SpilGame.getString(("CategoryName_" + _arg1))));
}
public static function m_getSendToFriendOutText(_arg1:int):String{
var _local2 = "";
switch (_arg1){
case 1:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_1");
break;
case 2:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_2");
break;
case 3:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_3");
break;
case 4:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_4");
break;
case 5:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_5");
break;
case 6:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_6");
break;
case 7:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_7");
break;
case 8:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_8");
break;
case 9:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_9");
break;
case 10:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_10");
break;
default:
_local2 = SpilGame.getString("Send_To_Friend_Send_Rank_10");
break;
};
return (("" + _local2));
}
public static function m_getSendToFriendInText(_arg1:int):String{
var _local2 = "";
switch (_arg1){
case 1:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_1");
break;
case 2:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_2");
break;
case 3:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_3");
break;
case 4:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_4");
break;
case 5:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_5");
break;
case 6:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_6");
break;
case 7:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_7");
break;
case 8:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_8");
break;
case 9:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_9");
break;
case 10:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_10");
break;
default:
_local2 = SpilGame.getString("Send_To_Friend_Landing_Rank_10");
break;
};
return (("" + _local2));
}
private static function _OO0l0lOll(_arg1:Event):void{
var _local2:String = SpilGame.getMoreGamesLink(MovieClip(_arg1.currentTarget).term);
navigateToURL(new URLRequest(_local2), "_blank");
}
private static function _O10O0l0l0(_arg1:MouseEvent):void{
SoundManager.playSound("ingame", 3, 2);
}
public static function m_getFactName(_arg1:int, _arg2:int):String{
return (("" + SpilGame.getString(((("Cat_" + _arg1) + "_Fact_") + _arg2))));
}
public static function m_getRankText(_arg1:int):String{
var _local2 = "";
switch (_arg1){
case 1:
_local2 = SpilGame.getString("Game_Complete_Result_1");
break;
case 2:
_local2 = SpilGame.getString("Game_Complete_Result_2");
break;
case 3:
_local2 = SpilGame.getString("Game_Complete_Result_3");
break;
case 4:
_local2 = SpilGame.getString("Game_Complete_Result_4");
break;
case 5:
_local2 = SpilGame.getString("Game_Complete_Result_5");
break;
case 6:
_local2 = SpilGame.getString("Game_Complete_Result_6");
break;
case 7:
_local2 = SpilGame.getString("Game_Complete_Result_7");
break;
case 8:
_local2 = SpilGame.getString("Game_Complete_Result_8");
break;
case 9:
_local2 = SpilGame.getString("Game_Complete_Result_9");
break;
case 10:
_local2 = SpilGame.getString("Game_Complete_Result_10");
break;
default:
_local2 = SpilGame.getString("Game_Complete_Result_10");
break;
};
return (("" + _local2));
}
private static function _O0OOOOllO(_arg1:MouseEvent):void{
SoundManager.playSound("menu", 0);
}
private static function _O000l1lOO(_arg1:MovieClip, _arg2:String):void{
if (_arg2 == "menu"){
_arg1.removeEventListener(MouseEvent.ROLL_OVER, rolloverSoundMenu);
_arg1.removeEventListener(MouseEvent.CLICK, clickSoundMenu);
} else {
if (_arg2 == "pause"){
_arg1.removeEventListener(MouseEvent.ROLL_OVER, rolloverSoundMenu);
_arg1.removeEventListener(MouseEvent.CLICK, _O0OOOOllO);
} else {
if (_arg2 == "Arrow"){
_arg1.removeEventListener(MouseEvent.ROLL_OVER, rolloverSoundMenu);
_arg1.removeEventListener(MouseEvent.CLICK, _O1O10l0O0);
} else {
if (_arg2 == "gameMode"){
_arg1.removeEventListener(MouseEvent.ROLL_OVER, _O0O00OOO0);
_arg1.removeEventListener(MouseEvent.CLICK, _OOOOOO0lO);
} else {
if (_arg2 == "quest"){
_arg1.addEventListener(MouseEvent.ROLL_OVER, _O10O0l0l0);
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, _O10OO0OlO);
};
};
};
};
};
}
}
}//package