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 isEmpty():Boolean{
return (_empty);
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
if (((!(isEmpty())) && (isNew()))){
_local1.utmcn = utmcn;
};
if (((!(isEmpty())) && (!(isNew())))){
_local1.utmcr = utmcr;
};
return (_local1);
}
public function isNew():Boolean{
return (_new);
}
public function get utmcn():String{
return ("1");
}
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 hasNoOverride(_arg1:String):Boolean{
var _local2:CampaignKey;
var _local3:Variables;
var _local4:String;
_local2 = _config.campaignKey;
if (_arg1 == ""){
return (false);
};
_local3 = new Variables(_arg1);
_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 getCampaignInformation(_arg1:String, _arg2:Boolean):CampaignInfo{
var _local3:CampaignInfo;
var _local4:CampaignTracker;
var _local5:Boolean;
var _local6:Boolean;
var _local7:int;
var _local8:CampaignTracker;
var _local9:int;
_local3 = new CampaignInfo();
_local5 = false;
_local6 = false;
_local7 = 0;
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 isValid(_arg1:CampaignTracker):Boolean{
if (((_arg1) && (_arg1.isValid()))){
return (true);
};
return (false);
}
public function getTrackerFromSearchString(_arg1:String):CampaignTracker{
var _local2:CampaignTracker;
var _local3:CampaignTracker;
var _local4:CampaignKey;
var _local5:Variables;
_local2 = getOrganicCampaign();
_local3 = new CampaignTracker();
_local4 = _config.campaignKey;
if (_arg1 == ""){
return (_local3);
};
_local5 = 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 _local2:URL;
var _local3:String;
var _local4:Array;
var _local5:OrganicReferrer;
var _local6:String;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
_local2 = new URL(_referrer);
_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 isIgnoredReferral(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "referral")))){
return (_config.organic.isIgnoredReferral(_arg1.source));
};
return (false);
}
public function getDirectCampaign():CampaignTracker{
var _local1:CampaignTracker;
_local1 = 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 getReferrerCampaign():CampaignTracker{
var _local1:CampaignTracker;
var _local2:URL;
var _local3:String;
var _local4:String;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
_local2 = new URL(_referrer);
_local3 = _local2.hostName;
_local4 = _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;
_local3 = 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
//FlashTracker (com.google.analytics.components.FlashTracker)
package com.google.analytics.components {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
import com.google.analytics.*;
import flash.utils.*;
import com.google.analytics.events.*;
public class FlashTracker extends Sprite implements AnalyticsTracker {
private var _adSense:AdSenseGlobals;
private var _env:Environment;
protected var _height:Number;// = 18
private var _idleTimer:IdleTimer;
private var _config:Configuration;
private var _mode:String;// = "AS3"
private var _dom:HTMLDOM;
private var _ready:Boolean;// = false
protected var _width:Number;// = 18
private var _account:String;// = ""
protected var _componentInspectorSetting:Boolean;
private var _visualDebug:Boolean;// = false
public var boundingBox_mc:DisplayObject;
private var _debug:DebugConfiguration;
private var _buffer:Buffer;
private var _display:DisplayObject;
protected var livePreviewHeight:Number;
private var _jsproxy:JavascriptProxy;
protected var isLivePreview:Boolean;
protected var preview:MovieClip;
private var _gifRequest:GIFRequest;
protected var livePreviewWidth:Number;
private var _tracker:GoogleAnalyticsAPI;
public static var version:Version = API.version;
public function FlashTracker(){
_ready = false;
_account = "";
_mode = TrackerMode.AS3;
_visualDebug = false;
_width = 18;
_height = 18;
super();
_tracker = new TrackerCache();
isLivePreview = _checkLivePreview();
_componentInspectorSetting = false;
if (boundingBox_mc){
boundingBox_mc.visible = false;
removeChild(boundingBox_mc);
boundingBox_mc = null;
};
if (isLivePreview){
_createLivePreview();
};
addEventListener(Event.ENTER_FRAME, _factory);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
return (_tracker.trackEvent(_arg1, _arg2, _arg3, _arg4));
}
public function trackTrans():void{
_tracker.trackTrans();
}
private function _createLivePreview():void{
var _local1:Graphics;
var _local2:Class;
preview = new MovieClip();
_local1 = preview.graphics;
_local1.beginFill(0xFFFFFF);
_local1.moveTo(0, 0);
_local1.lineTo(0, _width);
_local1.lineTo(_width, _height);
_local1.lineTo(_height, 0);
_local1.lineTo(0, 0);
_local1.endFill();
_local2 = (getDefinitionByName("com.google.analytics.components::Icon") as Class);
preview.icon_mc = new (_local2);
preview.icon_mc.name = "icon_mc";
preview.addChild(preview.icon_mc);
addChild(preview);
}
public function trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_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 setCampNameKey(_arg1:String):void{
_tracker.setCampNameKey(_arg1);
}
public function resetSession():void{
_tracker.resetSession();
}
public function set account(_arg1:String):void{
_account = _arg1;
}
public function get debug():DebugConfiguration{
if (!_debug){
_createDebugAndConfig();
};
return (_debug);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_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 setLocalServerMode():void{
_tracker.setLocalServerMode();
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
public function isReady():Boolean{
return (_ready);
}
public function set debug(_arg1:DebugConfiguration):void{
_debug = _arg1;
}
public function getVersion():String{
return (_tracker.getVersion());
}
public function setLocalRemoteServerMode():void{
_tracker.setLocalRemoteServerMode();
}
public function setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_tracker.addIgnoredOrganic(_arg1);
}
public function setCookiePath(_arg1:String):void{
_tracker.setCookiePath(_arg1);
}
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 setCampaignTrack(_arg1:Boolean):void{
_tracker.setCampaignTrack(_arg1);
}
public function getServiceMode():ServerOperationMode{
return (_tracker.getServiceMode());
}
public function set componentInspectorSetting(_arg1:Boolean):void{
_componentInspectorSetting = _arg1;
}
public function setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_tracker.addOrganic(_arg1, _arg2);
}
public function setCookieTimeout(_arg1:int):void{
_tracker.setCookieTimeout(_arg1);
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
public function setAllowLinker(_arg1:Boolean):void{
_tracker.setAllowLinker(_arg1);
}
public function setClientInfo(_arg1:Boolean):void{
_tracker.setClientInfo(_arg1);
}
private function _bridgeFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (Bridge) v" + version) + "\naccount: ") + account));
return (new Bridge(account, _debug, _jsproxy));
}
public function get config():Configuration{
if (!_config){
_createDebugAndConfig();
};
return (_config);
}
public function set mode(_arg1:String):void{
_mode = _arg1;
}
public function setDetectFlash(_arg1:Boolean):void{
_tracker.setDetectFlash(_arg1);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_tracker.addItem(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function setVar(_arg1:String):void{
_tracker.setVar(_arg1);
}
public function clearIgnoredOrganic():void{
_tracker.clearIgnoredOrganic();
}
public function setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
private function _checkLivePreview():Boolean{
if (((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")))){
return (true);
};
return (false);
}
public function setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
public function setCampContentKey(_arg1:String):void{
_tracker.setCampContentKey(_arg1);
}
public function setSize(_arg1:Number, _arg2:Number):void{
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function setLocalGifPath(_arg1:String):void{
_tracker.setLocalGifPath(_arg1);
}
public function get mode():String{
return (_mode);
}
public function setSampleRate(_arg1:Number):void{
_tracker.setSampleRate(_arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_tracker.setAllowHash(_arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
_tracker.setDetectTitle(_arg1);
}
public function cookiePathCopy(_arg1:String):void{
_tracker.cookiePathCopy(_arg1);
}
private function _factory(_arg1:Event):void{
var _local2:GoogleAnalyticsAPI;
var _local3:TrackerCache;
removeEventListener(Event.ENTER_FRAME, _factory);
if (isLivePreview){
return;
};
_display = this;
_createDebugAndConfig();
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
_jsproxy = new JavascriptProxy(debug);
_local3 = (_tracker as TrackerCache);
switch (mode){
case TrackerMode.BRIDGE:
_local2 = _bridgeFactory();
break;
case TrackerMode.AS3:
default:
_local2 = _trackerFactory();
};
if (!_local3.isEmpty()){
_local3.tracker = _local2;
_local3.flush();
};
_tracker = _local2;
_ready = true;
dispatchEvent(new AnalyticsEvent(AnalyticsEvent.READY, this));
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function clearOrganic():void{
_tracker.clearOrganic();
}
private function _createDebugAndConfig():void{
if (!_debug){
this.debug = new DebugConfiguration();
};
if (!_config){
this.config = new Configuration(debug);
};
}
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 getAccount():String{
return (_tracker.getAccount());
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_tracker.link(_arg1, _arg2);
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics.components
Section 6
//Icon (com.google.analytics.components.Icon)
package com.google.analytics.components {
import flash.display.*;
public dynamic class Icon extends MovieClip {
}
}//package com.google.analytics.components
Section 7
//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;
_local1 = toVariables();
return (_local1.toString());
}
public function get utmsr():String{
return (((_info.screenWidth + "x") + _info.screenHeight));
}
public function get utmcs():String{
return (_info.languageEncoding);
}
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 toVariables():Variables{
var _local1:Variables;
_local1 = 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 8
//Buffer (com.google.analytics.core.Buffer)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import flash.events.*;
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 9
//DocumentInfo (com.google.analytics.core.DocumentInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
public class DocumentInfo {
private var _config:Configuration;
private var _utmr:String;
private var _adSense:AdSenseGlobals;
private var _info:Environment;
private var _pageURL:String;
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;
_local1 = toVariables();
return (_local1.toString());
}
private function _renderPageURL(_arg1:String=""):String{
var _local2:String;
var _local3:String;
_local2 = _info.locationPath;
_local3 = _info.locationSearch;
if (((!(_arg1)) || ((_arg1 == "")))){
_arg1 = (_local2 + unescape(_local3));
};
return (_arg1);
}
public function get utmp():String{
return (_renderPageURL(_pageURL));
}
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 get utmhid():String{
return (String(_generateHitId()));
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = 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 10
//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 11
//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 12
//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 _isEventHit:Boolean;
private var _ext10:X10;
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;
_local1 = 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;
_local1 = new Variables();
_local1.URIencode = true;
if (_isEventHit){
_local1.utmt = utmt;
};
_local1.utme = utme;
return (_local1);
}
}
}//package com.google.analytics.core
Section 13
//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 14
//ga_internal (com.google.analytics.core.ga_internal)
package com.google.analytics.core {
public namespace ga_internal;
}//package com.google.analytics.core
Section 15
//GIFRequest (com.google.analytics.core.GIFRequest)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import flash.events.*;
import flash.display.*;
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 16
//IdleTimer (com.google.analytics.core.IdleTimer)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class IdleTimer {
private var _loop:Timer;
private var _stage:Stage;
private var _lastMove:int;
private var _debug:DebugConfiguration;
private var _session:Timer;
private var _inactivity:Number;
private var _buffer:Buffer;
public function IdleTimer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:DisplayObject, _arg4:Buffer){
var _local5:Number;
var _local6:Number;
var _local7:Number;
super();
_local5 = _arg1.idleLoop;
_local6 = _arg1.idleTimeout;
_local7 = _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;
_local2 = getTimer();
if ((_local2 - _lastMove) >= _inactivity){
if (!_session.running){
_debug.info("session timer start", VisualDebugMode.geek);
_session.start();
};
};
}
}
}//package com.google.analytics.core
Section 17
//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 getKeywordValue(_arg1:OrganicReferrer, _arg2:String):String{
var _local3:String;
_local3 = _arg1.keyword;
return (getKeywordValueFromPath(_local3, _arg2));
}
public function isIgnoredKeyword(_arg1:String):Boolean{
if (_ignoredKeywordsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function isIgnoredReferral(_arg1:String):Boolean{
if (_ignoredReferralsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function clear():void{
clearEngines();
clearIgnoredReferrals();
clearIgnoredKeywords();
}
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 get count():int{
return (_sources.length);
}
public function addSource(_arg1:String, _arg2:String):void{
var _local3:OrganicReferrer;
_local3 = 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 clearIgnoredKeywords():void{
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
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 18
//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 set engine(_arg1:String):void{
_engine = _arg1.toLowerCase();
}
public function get keyword():String{
return (_keyword);
}
public function toString():String{
return (((engine + "?") + keyword));
}
public function get engine():String{
return (_engine);
}
public function set keyword(_arg1:String):void{
_keyword = _arg1.toLowerCase();
}
}
}//package com.google.analytics.core
Section 19
//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 request:URLRequest;
public var end:int;
public function RequestObject(_arg1:URLRequest){
start = getTimer();
this.request = _arg1;
}
public function toString():String{
var _local1:Array;
_local1 = [];
_local1.push((("duration: " + duration) + "ms"));
_local1.push(("url: " + request.url));
return ((("{ " + _local1.join(", ")) + " }"));
}
public function get duration():int{
if (!hasCompleted()){
return (0);
};
return ((end - start));
}
public function hasCompleted():Boolean{
return ((end > 0));
}
public function complete():void{
end = getTimer();
}
}
}//package com.google.analytics.core
Section 20
//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 21
//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 22
//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 23
//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 _local3:Array;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:int;
if (_arg1 == ""){
return ("");
};
_local3 = [" ", "\n", "\r", "\t"];
_local4 = _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 _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
_local2 = 1;
_local3 = 0;
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;
_local2 = /^UA-[0-9]*-[0-9]*$/;
return (_local2.test(_arg1));
}
}
}//package com.google.analytics.core
Section 24
//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 25
//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 26
//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 27
//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 set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
}
}//package com.google.analytics.data
Section 28
//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;
private var _timespan:Number;
protected var fields:Array;
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 _local1:int;
var _local2:String;
var _local3:int;
_local1 = 0;
_local3 = 0;
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);
}
protected function update():void{
resetTimestamp();
if (proxy){
proxy.update(name, toSharedObject());
};
}
public function fromSharedObject(_arg1:Object):void{
var _local2:String;
var _local3:int;
var _local4:int;
_local3 = fields.length;
_local4 = 0;
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;
var _local2:Number;
_local1 = new Date();
_local2 = (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 reset():void{
var _local1:String;
var _local2:int;
_local2 = 0;
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 valueOf():String{
var _local1:Array;
var _local2:String;
var _local3:*;
var _local4:int;
_local1 = [];
_local4 = 0;
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 resetTimestamp(_arg1:Number=NaN):void{
if (!isNaN(_arg1)){
_timespan = _arg1;
};
_creation = null;
_expiration = null;
_timestamp(_timespan);
}
public function get expiration():Date{
if (_expiration){
return (_expiration);
};
return (new Date((new Date().valueOf() + 1000)));
}
public function toURLString():String{
return (((inURL + "=") + valueOf()));
}
public function toSharedObject():Object{
var _local1:Object;
var _local2:String;
var _local3:*;
var _local4:int;
_local1 = {};
_local4 = 0;
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 _local2:Array;
var _local3:String;
var _local4:*;
var _local5:int;
var _local6:int;
var _local7:String;
_local2 = [];
_local5 = fields.length;
_local6 = 0;
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));
};
};
};
};
_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 29
//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 30
//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 31
//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 32
//X10 (com.google.analytics.data.X10)
package com.google.analytics.data {
public class X10 {
private var _delimEnd:String;// = ")"
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 _projectData:Object;
private var _hasData:int;
private var _escapeCharMap:Object;
private var _minimum:int;
private var _value:String;// = "v"
public function X10(){
_key = "k";
_value = "v";
_set = [_key, _value];
_delimBegin = "(";
_delimEnd = ")";
_delimSet = "*";
_delimNumValue = "!";
_escapeChar = "'";
super();
_projectData = {};
_escapeCharMap = {};
_escapeCharMap[_escapeChar] = "'0";
_escapeCharMap[_delimEnd] = "'1";
_escapeCharMap[_delimSet] = "'2";
_escapeCharMap[_delimNumValue] = "'3";
_minimum = 1;
}
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 hasData():Boolean{
return ((_hasData > 0));
}
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);
}
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 _local2:Array;
var _local3:String;
var _local4:int;
_local2 = [];
_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 clearValue(_arg1:Number):void{
_clearInternal(_arg1, _value);
}
public function renderMergedUrlString(_arg1:X10=null):String{
var _local2:Array;
var _local3:String;
if (!_arg1){
return (renderUrlString());
};
_local2 = [_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 _local1:Array;
var _local2:String;
_local1 = [];
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 getValue(_arg1:Number, _arg2:Number){
var _local3:*;
_local3 = _getInternal(_arg1, _value, _arg2);
if (_local3 == null){
return (null);
};
return (Number(_local3));
}
private function _renderProject(_arg1:Object):String{
var _local2:String;
var _local3:Boolean;
var _local4:int;
var _local5:Array;
var _local6:int;
_local2 = "";
_local3 = false;
_local6 = _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);
}
private function _escapeExtensibleValue(_arg1:String):String{
var _local2:String;
var _local3:int;
var _local4:String;
var _local5:String;
_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 33
//_Style (com.google.analytics.debug._Style)
package com.google.analytics.debug {
import flash.net.*;
import flash.text.*;
public class _Style {
public var borderColor:uint;
public var backgroundColor:uint;
private var _sheet:StyleSheet;
public var roundedCorner:uint;
public var alertColor:uint;
public var infoColor:uint;
public var successColor:uint;
private var _loader:URLLoader;
public var failureColor:uint;
private var _defaultSheet:String;
public var warningColor:uint;
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 34
//Alert (com.google.analytics.debug.Alert)
package com.google.analytics.debug {
import flash.events.*;
public class Alert extends Label {
public var actionOnNextLine:Boolean;// = true
public var autoClose: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){
var _local8:int;
autoClose = true;
actionOnNextLine = 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 = [];
_local8 = 0;
while (_local8 < _arg2.length) {
_arg2[_local8].container = this;
_actions.push(_arg2[_local8]);
_local8++;
};
}
protected function getAction(_arg1:String):AlertAction{
var _local2:int;
_local2 = 0;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (_actions[_local2]);
};
_local2++;
};
return (null);
}
override protected function layout():void{
super.layout();
_defineActions();
}
protected function spaces(_arg1:int):String{
var _local2:String;
var _local3:String;
var _local4:int;
_local2 = "";
_local3 = " ";
_local4 = 0;
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();
};
}
protected function isValidAction(_arg1:String):Boolean{
var _local2:int;
_local2 = 0;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (true);
};
_local2++;
};
return (false);
}
private function _defineActions():void{
var _local1:String;
var _local2:Array;
var _local3:AlertAction;
var _local4:int;
_local1 = "";
if (actionOnNextLine){
_local1 = (_local1 + "\n");
} else {
_local1 = (_local1 + " |");
};
_local1 = (_local1 + " ");
_local2 = [];
_local4 = 0;
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");
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 35
//AlertAction (com.google.analytics.debug.AlertAction)
package com.google.analytics.debug {
public class AlertAction {
public var container:Alert;
private var _callback;
public var name:String;
public var activator: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 36
//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 37
//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;
_local7 = 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 38
//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 39
//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 40
//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;
var _local5:Boolean;
var _local6:Boolean;
_local4 = Align.bottomLeft;
_local5 = true;
_local6 = false;
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 41
//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 42
//ILayout (com.google.analytics.debug.ILayout)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.display.*;
public interface ILayout {
function createWarning(_arg1:String):void;
function addToStage(_arg1:DisplayObject):void;
function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):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 createAlert(_arg1:String):void;
function destroy():void;
function bringToFront(_arg1:DisplayObject):void;
function isAvailable():Boolean;
}
}//package com.google.analytics.debug
Section 43
//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 onComplete(_arg1:TimerEvent):void{
close();
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 44
//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 45
//Layout (com.google.analytics.debug.Layout)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.events.*;
import flash.display.*;
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 46
//Margin (com.google.analytics.debug.Margin)
package com.google.analytics.debug {
public class Margin {
public var bottom:int;
public var top:int;
public var right:int;
public var left: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 47
//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 48
//Style (com.google.analytics.debug.Style)
package com.google.analytics.debug {
public const Style:_Style = new _Style();
}//package com.google.analytics.debug
Section 49
//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;
var _local5:Boolean;
var _local6:Boolean;
_local4 = Align.bottomLeft;
_local5 = true;
_local6 = false;
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 50
//UISprite (com.google.analytics.debug.UISprite)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class UISprite extends Sprite {
private var _forcedHeight:uint;
protected var listenResize:Boolean;
public var alignement:Align;
private var _forcedWidth:uint;
public var margin:Margin;
protected var alignTarget:DisplayObject;
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);
}
protected function dispose():void{
var _local1:DisplayObject;
var _local2:int;
_local2 = 0;
while (_local2 < numChildren) {
_local1 = getChildAt(_local2);
if (_local1){
removeChild(_local1);
};
_local2++;
};
}
protected function layout():void{
}
public function get forcedHeight():uint{
if (_forcedHeight){
return (_forcedHeight);
};
return (height);
}
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;
}
public function get forcedWidth():uint{
if (_forcedWidth){
return (_forcedWidth);
};
return (width);
}
protected function onResize(_arg1:Event):void{
resize();
}
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);
};
}
private function _onAddedToStage(_arg1:Event):void{
layout();
resize();
}
public function set forcedHeight(_arg1:uint):void{
_forcedHeight = _arg1;
}
public function set forcedWidth(_arg1:uint):void{
_forcedWidth = _arg1;
}
}
}//package com.google.analytics.debug
Section 51
//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 onComplete(_arg1:TimerEvent):void{
close();
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 52
//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 53
//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 54
//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){
_gaGlobalVerified = false;
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 get dh():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.dh"));
}
public function get gaGlobal():Object{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal"));
}
public function set hid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.hid", _arg1);
}
public function get sid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.sid"));
}
private function _verify():void{
if (!_gaGlobalVerified){
executeBlock(gaGlobal_js);
_gaGlobalVerified = true;
};
}
public function get vid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.vid"));
}
public function set sid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.sid", _arg1);
}
}
}//package com.google.analytics.external
Section 55
//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 _protocol:String;
private var _host:String;
private var _location:String;
private var _pathname:String;
private var _title:String;
private var _characterSet:String;
private var _search:String;
private var _language: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 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 cacheProperties():void{
var _local1:Object;
if (!isAvailable()){
return;
};
_local1 = 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 colorDepth():String{
if (_colorDepth){
return (_colorDepth);
};
if (!isAvailable()){
return (null);
};
_colorDepth = getProperty("window.screen.colorDepth");
return (_colorDepth);
}
public function get title():String{
if (_title){
return (_title);
};
if (!isAvailable()){
return (null);
};
_title = getProperty("document.title");
return (_title);
}
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{
var _local1:String;
if (_characterSet){
return (_characterSet);
};
if (!isAvailable()){
return (null);
};
_local1 = getProperty("document.characterSet");
if (_local1 == null){
_local1 = getProperty("document.charset");
};
_characterSet = _local1;
return (_characterSet);
}
public function get language():String{
var _local1:String;
if (_language){
return (_language);
};
if (!isAvailable()){
return (null);
};
_local1 = getProperty("navigator.language");
if (_local1 == null){
_local1 = getProperty("navigator.browserLanguage");
};
_language = _local1;
return (_language);
}
}
}//package com.google.analytics.external
Section 56
//JavascriptProxy (com.google.analytics.external.JavascriptProxy)
package com.google.analytics.external {
import com.google.analytics.debug.*;
import flash.external.*;
import flash.system.*;
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){
_notAvailableWarning = true;
super();
_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;
_local1 = 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 57
//Environment (com.google.analytics.utils.Environment)
package com.google.analytics.utils {
import com.google.analytics.core.*;
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 playerType():String{
return (Capabilities.playerType);
}
public function get locationSearch():String{
var _local1:String;
_local1 = _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;
_local1 = Version.fromString(Capabilities.version.split(" ")[1], ",");
return (_local1);
}
public function get screenWidth():Number{
return (Capabilities.screenResolutionX);
}
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;
var _local2:String;
switch (Capabilities.screenColor){
case "bw":
_local1 = "1";
break;
case "gray":
_local1 = "2";
break;
case "color":
default:
_local1 = "24";
};
_local2 = _dom.colorDepth;
if (_local2){
_local1 = _local2;
};
return (_local1);
}
private function _findProtocol():void{
var _local1:Protocols;
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:String;
_local1 = 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;
};
};
_local2 = _dom.protocol;
_local3 = (_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;
_local1 = 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;
}
public function get userAgent():UserAgent{
if (!_userAgent){
_userAgent = new UserAgent(this, appName, appVersion.toString(4));
};
return (_userAgent);
}
ga_internal function set url(_arg1:String):void{
_url = _arg1;
}
public function get referrer():String{
var _local1:String;
_local1 = _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;
var _local2:String;
_local1 = _dom.language;
_local2 = 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;
_local1 = _dom.pathname;
if (_local1){
return (_local1);
};
return ("");
}
public function get documentTitle():String{
var _local1:String;
_local1 = _dom.title;
if (_local1){
return (_local1);
};
return ("");
}
public function get appVersion():Version{
return (_appVersion);
}
}
}//package com.google.analytics.utils
Section 58
//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 59
//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 60
//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 61
//UserAgent (com.google.analytics.utils.UserAgent)
package com.google.analytics.utils {
import com.google.analytics.core.*;
import flash.system.*;
public class UserAgent {
private var _version:Version;
private var _localInfo:Environment;
private var _applicationProduct:String;
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 set applicationProduct(_arg1:String):void{
_applicationProduct = _arg1;
}
public function get applicationVersion():String{
return (_version.toString(2));
}
public function get applicationProductToken():String{
var _local1:String;
_local1 = applicationProduct;
if (applicationVersion != ""){
_local1 = (_local1 + ("/" + applicationVersion));
};
return (_local1);
}
public function get vendorProductToken():String{
var _local1:String;
_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:String;
_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 = [];
_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 applicationProduct():String{
return (_applicationProduct);
}
}
}//package com.google.analytics.utils
Section 62
//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 63
//Version (com.google.analytics.utils.Version)
package com.google.analytics.utils {
public class Version {
private var _maxBuild:uint;// = 0xFF
private var _maxMinor:uint;// = 15
private var _maxMajor:uint;// = 15
private var _revision:uint;
private var _separator:String;// = "."
private var _maxRevision:uint;// = 0xFFFF
private var _build:uint;
private var _minor:uint;
private var _major:uint;
public function Version(_arg1:uint=0, _arg2:uint=0, _arg3:uint=0, _arg4:uint=0){
var _local5:Version;
_maxMajor = 15;
_maxMinor = 15;
_maxBuild = 0xFF;
_maxRevision = 0xFFFF;
_separator = ".";
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 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);
}
public function valueOf():uint{
return (((((major << 28) | (minor << 24)) | (build << 16)) | revision));
}
public function get major():uint{
return (_major);
}
public function set revision(_arg1:uint):void{
_revision = Math.min(_arg1, _maxRevision);
}
private function getFields():int{
var _local1:int;
_local1 = 4;
if (revision == 0){
_local1--;
};
if ((((_local1 == 3)) && ((build == 0)))){
_local1--;
};
if ((((_local1 == 2)) && ((minor == 0)))){
_local1--;
};
return (_local1);
}
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 _local3:Version;
var _local4:Array;
_local3 = 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;
_local2 = 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 64
//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 65
//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 allowLocalTracking:Boolean;// = true
public var secureRemoteGIFpath:String;// = "https://ssl.google-analytics.com/__utm.gif"
public var hasSiteOverlay:Boolean;// = false
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;
private var _trackingLimitPerSession:int;// = 500
private var _domain:Domain;
public var allowAnchor:Boolean;// = false
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){
_version = "4.3as";
_sampleRate = 1;
_trackingLimitPerSession = 500;
_organic = new Organic();
googleCsePath = "cse";
googleSearchParam = "q";
google = "google";
_cookieName = "analytics";
allowDomainHash = true;
allowAnchor = false;
allowLinker = false;
hasSiteOverlay = false;
tokenRate = 0.2;
conversionTimeout = Timespan.sixmonths;
sessionTimeout = Timespan.thirtyminutes;
idleLoop = 30;
idleTimeout = 60;
maxOutboundLinkExamined = 1000;
tokenCliff = 10;
bucketCapacity = 10;
detectClientInfo = true;
detectFlash = true;
detectTitle = true;
campaignKey = new CampaignKey();
campaignTracking = true;
isTrackOutboundSubdomains = false;
serverMode = ServerOperationMode.remote;
localGIFpath = "/__utm.gif";
remoteGIFpath = "http://www.google-analytics.com/__utm.gif";
secureRemoteGIFpath = "https://ssl.google-analytics.com/__utm.gif";
cookiePath = "/";
transactionFieldDelim = "|";
domainName = "";
allowLocalTracking = true;
super();
_debug = _arg1;
_domain = new Domain(DomainNameMode.auto, "", _debug);
serverMode = ServerOperationMode.remote;
_initOrganicSources();
}
public function get organic():Organic{
return (_organic);
}
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 get cookieName():String{
return (_cookieName);
}
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 66
//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 67
//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.utils.*;
import com.google.analytics.external.*;
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 68
//AnalyticsTracker (com.google.analytics.AnalyticsTracker)
package com.google.analytics {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
public interface AnalyticsTracker extends GoogleAnalyticsAPI, IEventDispatcher {
function set config(_arg1:Configuration):void;
function isReady():Boolean;
function get mode():String;
function set debug(_arg1:DebugConfiguration):void;
function get account():String;
function set mode(_arg1:String):void;
function get config():Configuration;
function get debug():DebugConfiguration;
function set account(_arg1:String):void;
function get visualDebug():Boolean;
function set visualDebug(_arg1:Boolean):void;
}
}//package com.google.analytics
Section 69
//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 70
//GATracker (com.google.analytics.GATracker)
package com.google.analytics {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
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){
_ready = false;
super();
_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 trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_arg1);
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
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 addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
_eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
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 setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_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 setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
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 isReady():Boolean{
return (_ready);
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
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 setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_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;
var _local2:TrackerCache;
_jsproxy = new JavascriptProxy(debug);
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
_local2 = (_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 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 setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function getAccount():String{
return (_tracker.getAccount());
}
public function hasEventListener(_arg1:String):Boolean{
return (_eventDispatcher.hasEventListener(_arg1));
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics
Section 71
//StringTool (crazydream.StringTool)
package crazydream {
public class StringTool {
public static function stringToCode(_arg1:String):String{
return (encodeURI(Encrypt(_arg1)));
}
public static function codeToString(_arg1:String):String{
return (Encrypt(decodeURI(_arg1)));
}
private static function Encrypt(_arg1:String):String{
var _local2:String;
var _local3:int;
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local2 = (_local2 + String.fromCharCode((_arg1.charCodeAt(_local3) ^ 0xFF)));
_local3++;
};
return (_local2);
}
}
}//package crazydream
Section 72
//flag_icon_304 (DailyFortune1116_fla.flag_icon_304)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class flag_icon_304 extends MovieClip {
public function flag_icon_304(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package DailyFortune1116_fla
Section 73
//l_br_306 (DailyFortune1116_fla.l_br_306)
package DailyFortune1116_fla {
import flash.display.*;
import flash.text.*;
public dynamic class l_br_306 extends MovieClip {
public var text:TextField;
public var flag:MovieClip;
}
}//package DailyFortune1116_fla
Section 74
//lineInfo_213 (DailyFortune1116_fla.lineInfo_213)
package DailyFortune1116_fla {
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
public dynamic class lineInfo_213 extends MovieClip {
public var __id29_:LocalizedTextField;
public var __setPropDict:Dictionary;
public var __id30_:LocalizedTextField;
public var __id31_:LocalizedTextField;
public var __id32_:LocalizedTextField;
public var __id33_:LocalizedTextField;
public var __id34_:LocalizedTextField;
public var __id35_:LocalizedTextField;
public var __id36_:LocalizedTextField;
public var __id37_:LocalizedTextField;
public var __id38_:LocalizedTextField;
public function lineInfo_213(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 20, frame21, 21, frame22, 22, frame23, 30, frame31, 31, frame32, 32, frame33, 40, frame41, 41, frame42, 42, frame43, 50, frame51, 51, frame52, 52, frame53, 60, frame61, 61, frame62, 62, frame63, 70, frame71, 71, frame72, 72, frame73, 80, frame81, 81, frame82, 82, frame83, 90, frame91, 91, frame92, 92, frame93, 100, frame101, 101, frame102, 102, frame103, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function __setProp___id32__lineInfo__41(){
try {
__id32_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id32_.text = "{line_10}";
__id32_.textColor = 0xFFFFFF;
__id32_.textSize = 12;
__id32_.bold = true;
__id32_.embedFonts = true;
__id32_.font = "微软雅黑";
__id32_.hAlign = "left";
__id32_.multiline = true;
__id32_.vAlign = "middle";
__id32_.antiAliasType = "normal";
__id32_.glowBlur = 3;
__id32_.glowColor = 10430065;
__id32_.useGlowFilter = true;
__id32_.glowQuality = 2;
__id32_.glowStrength = 20;
__id32_.gridFitType = "none";
__id32_.italic = false;
__id32_.selectable = false;
__id32_.underline = false;
try {
__id32_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id32__lineInfo__42(){
try {
__id32_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id32_.text = "{line_11}";
__id32_.textColor = 0xFFFFFF;
__id32_.textSize = 12;
__id32_.bold = true;
__id32_.embedFonts = true;
__id32_.font = "微软雅黑";
__id32_.hAlign = "left";
__id32_.multiline = true;
__id32_.vAlign = "middle";
__id32_.antiAliasType = "normal";
__id32_.glowBlur = 3;
__id32_.glowColor = 10430065;
__id32_.useGlowFilter = true;
__id32_.glowQuality = 2;
__id32_.glowStrength = 20;
__id32_.gridFitType = "none";
__id32_.italic = false;
__id32_.selectable = false;
__id32_.underline = false;
try {
__id32_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id32__lineInfo__43(){
try {
__id32_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id32_.text = "{line_12}";
__id32_.textColor = 0xFFFFFF;
__id32_.textSize = 12;
__id32_.bold = true;
__id32_.embedFonts = true;
__id32_.font = "微软雅黑";
__id32_.hAlign = "left";
__id32_.multiline = true;
__id32_.vAlign = "middle";
__id32_.antiAliasType = "normal";
__id32_.glowBlur = 3;
__id32_.glowColor = 10430065;
__id32_.useGlowFilter = true;
__id32_.glowQuality = 2;
__id32_.glowStrength = 20;
__id32_.gridFitType = "none";
__id32_.italic = false;
__id32_.selectable = false;
__id32_.underline = false;
try {
__id32_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function __setProp___id38__lineInfo__102(){
try {
__id38_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id38_.text = "{line_29}";
__id38_.textColor = 0xFFFFFF;
__id38_.textSize = 12;
__id38_.bold = true;
__id38_.embedFonts = true;
__id38_.font = "微软雅黑";
__id38_.hAlign = "left";
__id38_.multiline = true;
__id38_.vAlign = "middle";
__id38_.antiAliasType = "normal";
__id38_.glowBlur = 3;
__id38_.glowColor = 10430065;
__id38_.useGlowFilter = true;
__id38_.glowQuality = 2;
__id38_.glowStrength = 20;
__id38_.gridFitType = "none";
__id38_.italic = false;
__id38_.selectable = false;
__id38_.underline = false;
try {
__id38_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id38__lineInfo__103(){
try {
__id38_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id38_.text = "{line_30}";
__id38_.textColor = 0xFFFFFF;
__id38_.textSize = 12;
__id38_.bold = true;
__id38_.embedFonts = true;
__id38_.font = "微软雅黑";
__id38_.hAlign = "left";
__id38_.multiline = true;
__id38_.vAlign = "middle";
__id38_.antiAliasType = "normal";
__id38_.glowBlur = 3;
__id38_.glowColor = 10430065;
__id38_.useGlowFilter = true;
__id38_.glowQuality = 2;
__id38_.glowStrength = 20;
__id38_.gridFitType = "none";
__id38_.italic = false;
__id38_.selectable = false;
__id38_.underline = false;
try {
__id38_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id38__lineInfo__101(){
try {
__id38_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id38_.text = "{line_28}";
__id38_.textColor = 0xFFFFFF;
__id38_.textSize = 12;
__id38_.bold = true;
__id38_.embedFonts = true;
__id38_.font = "微软雅黑";
__id38_.hAlign = "left";
__id38_.multiline = true;
__id38_.vAlign = "middle";
__id38_.antiAliasType = "normal";
__id38_.glowBlur = 3;
__id38_.glowColor = 10430065;
__id38_.useGlowFilter = true;
__id38_.glowQuality = 2;
__id38_.glowStrength = 20;
__id38_.gridFitType = "none";
__id38_.italic = false;
__id38_.selectable = false;
__id38_.underline = false;
try {
__id38_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame11(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
stop();
}
function frame12(){
if ((((__setPropDict[__id29_] == undefined)) || (!((int(__setPropDict[__id29_]) == 12))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__12();
};
stop();
}
function frame13(){
if ((((__setPropDict[__id29_] == undefined)) || (!((int(__setPropDict[__id29_]) == 13))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__13();
};
stop();
}
function frame5(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame6(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame7(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame1(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame22(){
if ((((__setPropDict[__id30_] == undefined)) || (!((int(__setPropDict[__id30_]) == 22))))){
__setPropDict[__id30_] = currentFrame;
__setProp___id30__lineInfo__22();
};
stop();
}
function frame23(){
if ((((__setPropDict[__id30_] == undefined)) || (!((int(__setPropDict[__id30_]) == 23))))){
__setPropDict[__id30_] = currentFrame;
__setProp___id30__lineInfo__23();
};
stop();
}
function frame21(){
if ((((__setPropDict[__id30_] == undefined)) || (!((int(__setPropDict[__id30_]) == 21))))){
__setPropDict[__id30_] = currentFrame;
__setProp___id30__lineInfo__21();
};
stop();
}
function __setProp___id33__lineInfo__52(){
try {
__id33_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id33_.text = "{line_14}";
__id33_.textColor = 0xFFFFFF;
__id33_.textSize = 12;
__id33_.bold = true;
__id33_.embedFonts = true;
__id33_.font = "微软雅黑";
__id33_.hAlign = "left";
__id33_.multiline = true;
__id33_.vAlign = "middle";
__id33_.antiAliasType = "normal";
__id33_.glowBlur = 3;
__id33_.glowColor = 10430065;
__id33_.useGlowFilter = true;
__id33_.glowQuality = 2;
__id33_.glowStrength = 20;
__id33_.gridFitType = "none";
__id33_.italic = false;
__id33_.selectable = false;
__id33_.underline = false;
try {
__id33_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id33__lineInfo__53(){
try {
__id33_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id33_.text = "{line_15}";
__id33_.textColor = 0xFFFFFF;
__id33_.textSize = 12;
__id33_.bold = true;
__id33_.embedFonts = true;
__id33_.font = "微软雅黑";
__id33_.hAlign = "left";
__id33_.multiline = true;
__id33_.vAlign = "middle";
__id33_.antiAliasType = "normal";
__id33_.glowBlur = 3;
__id33_.glowColor = 10430065;
__id33_.useGlowFilter = true;
__id33_.glowQuality = 2;
__id33_.glowStrength = 20;
__id33_.gridFitType = "none";
__id33_.italic = false;
__id33_.selectable = false;
__id33_.underline = false;
try {
__id33_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame4(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame9(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame3(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame8(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame2(){
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 1)) && ((int(__setPropDict[__id29_]) <= 11))))))){
__setPropDict[__id29_] = currentFrame;
__setProp___id29__lineInfo__1();
};
}
function frame32(){
if ((((__setPropDict[__id31_] == undefined)) || (!((int(__setPropDict[__id31_]) == 32))))){
__setPropDict[__id31_] = currentFrame;
__setProp___id31__lineInfo__32();
};
stop();
}
function frame33(){
if ((((__setPropDict[__id31_] == undefined)) || (!((int(__setPropDict[__id31_]) == 33))))){
__setPropDict[__id31_] = currentFrame;
__setProp___id31__lineInfo__33();
};
stop();
}
function __setProp___id33__lineInfo__51(){
try {
__id33_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id33_.text = "{line_13}";
__id33_.textColor = 0xFFFFFF;
__id33_.textSize = 12;
__id33_.bold = true;
__id33_.embedFonts = true;
__id33_.font = "微软雅黑";
__id33_.hAlign = "left";
__id33_.multiline = true;
__id33_.vAlign = "middle";
__id33_.antiAliasType = "normal";
__id33_.glowBlur = 3;
__id33_.glowColor = 10430065;
__id33_.useGlowFilter = true;
__id33_.glowQuality = 2;
__id33_.glowStrength = 20;
__id33_.gridFitType = "none";
__id33_.italic = false;
__id33_.selectable = false;
__id33_.underline = false;
try {
__id33_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame31(){
if ((((__setPropDict[__id31_] == undefined)) || (!((int(__setPropDict[__id31_]) == 31))))){
__setPropDict[__id31_] = currentFrame;
__setProp___id31__lineInfo__31();
};
stop();
}
function frame42(){
if ((((__setPropDict[__id32_] == undefined)) || (!((int(__setPropDict[__id32_]) == 42))))){
__setPropDict[__id32_] = currentFrame;
__setProp___id32__lineInfo__42();
};
stop();
}
function frame43(){
if ((((__setPropDict[__id32_] == undefined)) || (!((int(__setPropDict[__id32_]) == 43))))){
__setPropDict[__id32_] = currentFrame;
__setProp___id32__lineInfo__43();
};
stop();
}
function frame41(){
if ((((__setPropDict[__id32_] == undefined)) || (!((int(__setPropDict[__id32_]) == 41))))){
__setPropDict[__id32_] = currentFrame;
__setProp___id32__lineInfo__41();
};
stop();
}
function frame51(){
if ((((__setPropDict[__id33_] == undefined)) || (!((int(__setPropDict[__id33_]) == 51))))){
__setPropDict[__id33_] = currentFrame;
__setProp___id33__lineInfo__51();
};
stop();
}
function frame52(){
if ((((__setPropDict[__id33_] == undefined)) || (!((int(__setPropDict[__id33_]) == 52))))){
__setPropDict[__id33_] = currentFrame;
__setProp___id33__lineInfo__52();
};
stop();
}
function frame53(){
if ((((__setPropDict[__id33_] == undefined)) || (!((int(__setPropDict[__id33_]) == 53))))){
__setPropDict[__id33_] = currentFrame;
__setProp___id33__lineInfo__53();
};
stop();
}
function __setProp___id34__lineInfo__61(){
try {
__id34_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id34_.text = "{line_16}";
__id34_.textColor = 0xFFFFFF;
__id34_.textSize = 12;
__id34_.bold = true;
__id34_.embedFonts = true;
__id34_.font = "微软雅黑";
__id34_.hAlign = "left";
__id34_.multiline = true;
__id34_.vAlign = "middle";
__id34_.antiAliasType = "normal";
__id34_.glowBlur = 3;
__id34_.glowColor = 10430065;
__id34_.useGlowFilter = true;
__id34_.glowQuality = 2;
__id34_.glowStrength = 20;
__id34_.gridFitType = "none";
__id34_.italic = false;
__id34_.selectable = false;
__id34_.underline = false;
try {
__id34_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id34__lineInfo__62(){
try {
__id34_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id34_.text = "{line_17}";
__id34_.textColor = 0xFFFFFF;
__id34_.textSize = 12;
__id34_.bold = true;
__id34_.embedFonts = true;
__id34_.font = "微软雅黑";
__id34_.hAlign = "left";
__id34_.multiline = true;
__id34_.vAlign = "middle";
__id34_.antiAliasType = "normal";
__id34_.glowBlur = 3;
__id34_.glowColor = 10430065;
__id34_.useGlowFilter = true;
__id34_.glowQuality = 2;
__id34_.glowStrength = 20;
__id34_.gridFitType = "none";
__id34_.italic = false;
__id34_.selectable = false;
__id34_.underline = false;
try {
__id34_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id34__lineInfo__63(){
try {
__id34_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id34_.text = "{line_18}";
__id34_.textColor = 0xFFFFFF;
__id34_.textSize = 12;
__id34_.bold = true;
__id34_.embedFonts = true;
__id34_.font = "微软雅黑";
__id34_.hAlign = "left";
__id34_.multiline = true;
__id34_.vAlign = "middle";
__id34_.antiAliasType = "normal";
__id34_.glowBlur = 3;
__id34_.glowColor = 10430065;
__id34_.useGlowFilter = true;
__id34_.glowQuality = 2;
__id34_.glowStrength = 20;
__id34_.gridFitType = "none";
__id34_.italic = false;
__id34_.selectable = false;
__id34_.underline = false;
try {
__id34_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame61(){
if ((((__setPropDict[__id34_] == undefined)) || (!((int(__setPropDict[__id34_]) == 61))))){
__setPropDict[__id34_] = currentFrame;
__setProp___id34__lineInfo__61();
};
stop();
}
function frame62(){
if ((((__setPropDict[__id34_] == undefined)) || (!((int(__setPropDict[__id34_]) == 62))))){
__setPropDict[__id34_] = currentFrame;
__setProp___id34__lineInfo__62();
};
stop();
}
function frame63(){
if ((((__setPropDict[__id34_] == undefined)) || (!((int(__setPropDict[__id34_]) == 63))))){
__setPropDict[__id34_] = currentFrame;
__setProp___id34__lineInfo__63();
};
stop();
}
function __setProp___id29__lineInfo__1(){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.text = "{line_1}";
__id29_.textColor = 0xFFFFFF;
__id29_.textSize = 12;
__id29_.bold = true;
__id29_.embedFonts = true;
__id29_.font = "微软雅黑";
__id29_.hAlign = "left";
__id29_.multiline = true;
__id29_.vAlign = "middle";
__id29_.antiAliasType = "normal";
__id29_.glowBlur = 3;
__id29_.glowColor = 10430065;
__id29_.useGlowFilter = true;
__id29_.glowQuality = 2;
__id29_.glowStrength = 20;
__id29_.gridFitType = "none";
__id29_.italic = false;
__id29_.selectable = false;
__id29_.underline = false;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame72(){
if ((((__setPropDict[__id35_] == undefined)) || (!((int(__setPropDict[__id35_]) == 72))))){
__setPropDict[__id35_] = currentFrame;
__setProp___id35__lineInfo__72();
};
stop();
}
function frame73(){
if ((((__setPropDict[__id35_] == undefined)) || (!((int(__setPropDict[__id35_]) == 73))))){
__setPropDict[__id35_] = currentFrame;
__setProp___id35__lineInfo__73();
};
stop();
}
function frame71(){
if ((((__setPropDict[__id35_] == undefined)) || (!((int(__setPropDict[__id35_]) == 71))))){
__setPropDict[__id35_] = currentFrame;
__setProp___id35__lineInfo__71();
};
stop();
}
function frame81(){
if ((((__setPropDict[__id36_] == undefined)) || (!((int(__setPropDict[__id36_]) == 81))))){
__setPropDict[__id36_] = currentFrame;
__setProp___id36__lineInfo__81();
};
stop();
}
function frame82(){
if ((((__setPropDict[__id36_] == undefined)) || (!((int(__setPropDict[__id36_]) == 82))))){
__setPropDict[__id36_] = currentFrame;
__setProp___id36__lineInfo__82();
};
stop();
}
function frame83(){
if ((((__setPropDict[__id36_] == undefined)) || (!((int(__setPropDict[__id36_]) == 83))))){
__setPropDict[__id36_] = currentFrame;
__setProp___id36__lineInfo__83();
};
stop();
}
function __setProp___id35__lineInfo__71(){
try {
__id35_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id35_.text = "{line_19}";
__id35_.textColor = 0xFFFFFF;
__id35_.textSize = 12;
__id35_.bold = true;
__id35_.embedFonts = true;
__id35_.font = "微软雅黑";
__id35_.hAlign = "left";
__id35_.multiline = true;
__id35_.vAlign = "middle";
__id35_.antiAliasType = "normal";
__id35_.glowBlur = 3;
__id35_.glowColor = 10430065;
__id35_.useGlowFilter = true;
__id35_.glowQuality = 2;
__id35_.glowStrength = 20;
__id35_.gridFitType = "none";
__id35_.italic = false;
__id35_.selectable = false;
__id35_.underline = false;
try {
__id35_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id35__lineInfo__73(){
try {
__id35_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id35_.text = "{line_21}";
__id35_.textColor = 0xFFFFFF;
__id35_.textSize = 12;
__id35_.bold = true;
__id35_.embedFonts = true;
__id35_.font = "微软雅黑";
__id35_.hAlign = "left";
__id35_.multiline = true;
__id35_.vAlign = "middle";
__id35_.antiAliasType = "normal";
__id35_.glowBlur = 3;
__id35_.glowColor = 10430065;
__id35_.useGlowFilter = true;
__id35_.glowQuality = 2;
__id35_.glowStrength = 20;
__id35_.gridFitType = "none";
__id35_.italic = false;
__id35_.selectable = false;
__id35_.underline = false;
try {
__id35_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id35__lineInfo__72(){
try {
__id35_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id35_.text = "{line_20}";
__id35_.textColor = 0xFFFFFF;
__id35_.textSize = 12;
__id35_.bold = true;
__id35_.embedFonts = true;
__id35_.font = "微软雅黑";
__id35_.hAlign = "left";
__id35_.multiline = true;
__id35_.vAlign = "middle";
__id35_.antiAliasType = "normal";
__id35_.glowBlur = 3;
__id35_.glowColor = 10430065;
__id35_.useGlowFilter = true;
__id35_.glowQuality = 2;
__id35_.glowStrength = 20;
__id35_.gridFitType = "none";
__id35_.italic = false;
__id35_.selectable = false;
__id35_.underline = false;
try {
__id35_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame91(){
if ((((__setPropDict[__id37_] == undefined)) || (!((int(__setPropDict[__id37_]) == 91))))){
__setPropDict[__id37_] = currentFrame;
__setProp___id37__lineInfo__91();
};
stop();
}
function frame92(){
if ((((__setPropDict[__id37_] == undefined)) || (!((int(__setPropDict[__id37_]) == 92))))){
__setPropDict[__id37_] = currentFrame;
__setProp___id37__lineInfo__92();
};
stop();
}
function frame93(){
if ((((__setPropDict[__id37_] == undefined)) || (!((int(__setPropDict[__id37_]) == 93))))){
__setPropDict[__id37_] = currentFrame;
__setProp___id37__lineInfo__93();
};
stop();
}
function __setProp___id30__lineInfo__21(){
try {
__id30_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id30_.text = "{line_4}";
__id30_.textColor = 0xFFFFFF;
__id30_.textSize = 12;
__id30_.bold = true;
__id30_.embedFonts = true;
__id30_.font = "微软雅黑";
__id30_.hAlign = "left";
__id30_.multiline = true;
__id30_.vAlign = "middle";
__id30_.antiAliasType = "normal";
__id30_.glowBlur = 3;
__id30_.glowColor = 10430065;
__id30_.useGlowFilter = true;
__id30_.glowQuality = 2;
__id30_.glowStrength = 20;
__id30_.gridFitType = "none";
__id30_.italic = false;
__id30_.selectable = false;
__id30_.underline = false;
try {
__id30_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id30__lineInfo__22(){
try {
__id30_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id30_.text = "{line_5}";
__id30_.textColor = 0xFFFFFF;
__id30_.textSize = 12;
__id30_.bold = true;
__id30_.embedFonts = true;
__id30_.font = "微软雅黑";
__id30_.hAlign = "left";
__id30_.multiline = true;
__id30_.vAlign = "middle";
__id30_.antiAliasType = "normal";
__id30_.glowBlur = 3;
__id30_.glowColor = 10430065;
__id30_.useGlowFilter = true;
__id30_.glowQuality = 2;
__id30_.glowStrength = 20;
__id30_.gridFitType = "none";
__id30_.italic = false;
__id30_.selectable = false;
__id30_.underline = false;
try {
__id30_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id30__lineInfo__23(){
try {
__id30_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id30_.text = "{line_6}";
__id30_.textColor = 0xFFFFFF;
__id30_.textSize = 12;
__id30_.bold = true;
__id30_.embedFonts = true;
__id30_.font = "微软雅黑";
__id30_.hAlign = "left";
__id30_.multiline = true;
__id30_.vAlign = "middle";
__id30_.antiAliasType = "normal";
__id30_.glowBlur = 3;
__id30_.glowColor = 10430065;
__id30_.useGlowFilter = true;
__id30_.glowQuality = 2;
__id30_.glowStrength = 20;
__id30_.gridFitType = "none";
__id30_.italic = false;
__id30_.selectable = false;
__id30_.underline = false;
try {
__id30_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame101(){
if ((((__setPropDict[__id38_] == undefined)) || (!((int(__setPropDict[__id38_]) == 101))))){
__setPropDict[__id38_] = currentFrame;
__setProp___id38__lineInfo__101();
};
stop();
}
function frame102(){
if ((((__setPropDict[__id38_] == undefined)) || (!((int(__setPropDict[__id38_]) == 102))))){
__setPropDict[__id38_] = currentFrame;
__setProp___id38__lineInfo__102();
};
stop();
}
function frame103(){
if ((((__setPropDict[__id38_] == undefined)) || (!((int(__setPropDict[__id38_]) == 103))))){
__setPropDict[__id38_] = currentFrame;
__setProp___id38__lineInfo__103();
};
stop();
}
function __setProp___id36__lineInfo__81(){
try {
__id36_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id36_.text = "{line_22}";
__id36_.textColor = 0xFFFFFF;
__id36_.textSize = 12;
__id36_.bold = true;
__id36_.embedFonts = true;
__id36_.font = "微软雅黑";
__id36_.hAlign = "left";
__id36_.multiline = true;
__id36_.vAlign = "middle";
__id36_.antiAliasType = "normal";
__id36_.glowBlur = 3;
__id36_.glowColor = 10430065;
__id36_.useGlowFilter = true;
__id36_.glowQuality = 2;
__id36_.glowStrength = 20;
__id36_.gridFitType = "none";
__id36_.italic = false;
__id36_.selectable = false;
__id36_.underline = false;
try {
__id36_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id36__lineInfo__83(){
try {
__id36_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id36_.text = "{line_24}";
__id36_.textColor = 0xFFFFFF;
__id36_.textSize = 12;
__id36_.bold = true;
__id36_.embedFonts = true;
__id36_.font = "微软雅黑";
__id36_.hAlign = "left";
__id36_.multiline = true;
__id36_.vAlign = "middle";
__id36_.antiAliasType = "normal";
__id36_.glowBlur = 3;
__id36_.glowColor = 10430065;
__id36_.useGlowFilter = true;
__id36_.glowQuality = 2;
__id36_.glowStrength = 20;
__id36_.gridFitType = "none";
__id36_.italic = false;
__id36_.selectable = false;
__id36_.underline = false;
try {
__id36_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id29__lineInfo__12(){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.text = "{line_2}";
__id29_.textColor = 0xFFFFFF;
__id29_.textSize = 12;
__id29_.bold = true;
__id29_.embedFonts = true;
__id29_.font = "微软雅黑";
__id29_.hAlign = "left";
__id29_.multiline = true;
__id29_.vAlign = "middle";
__id29_.antiAliasType = "normal";
__id29_.glowBlur = 3;
__id29_.glowColor = 10430065;
__id29_.useGlowFilter = true;
__id29_.glowQuality = 2;
__id29_.glowStrength = 20;
__id29_.gridFitType = "none";
__id29_.italic = false;
__id29_.selectable = false;
__id29_.underline = false;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id29__lineInfo__13(){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.text = "{line_3}";
__id29_.textColor = 0xFFFFFF;
__id29_.textSize = 12;
__id29_.bold = true;
__id29_.embedFonts = true;
__id29_.font = "微软雅黑";
__id29_.hAlign = "left";
__id29_.multiline = true;
__id29_.vAlign = "middle";
__id29_.antiAliasType = "normal";
__id29_.glowBlur = 3;
__id29_.glowColor = 10430065;
__id29_.useGlowFilter = true;
__id29_.glowQuality = 2;
__id29_.glowStrength = 20;
__id29_.gridFitType = "none";
__id29_.italic = false;
__id29_.selectable = false;
__id29_.underline = false;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id36__lineInfo__82(){
try {
__id36_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id36_.text = "{line_23}";
__id36_.textColor = 0xFFFFFF;
__id36_.textSize = 12;
__id36_.bold = true;
__id36_.embedFonts = true;
__id36_.font = "微软雅黑";
__id36_.hAlign = "left";
__id36_.multiline = true;
__id36_.vAlign = "middle";
__id36_.antiAliasType = "normal";
__id36_.glowBlur = 3;
__id36_.glowColor = 10430065;
__id36_.useGlowFilter = true;
__id36_.glowQuality = 2;
__id36_.glowStrength = 20;
__id36_.gridFitType = "none";
__id36_.italic = false;
__id36_.selectable = false;
__id36_.underline = false;
try {
__id36_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id31__lineInfo__31(){
try {
__id31_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id31_.text = "{line_7}";
__id31_.textColor = 0xFFFFFF;
__id31_.textSize = 12;
__id31_.bold = true;
__id31_.embedFonts = true;
__id31_.font = "微软雅黑";
__id31_.hAlign = "left";
__id31_.multiline = true;
__id31_.vAlign = "middle";
__id31_.antiAliasType = "normal";
__id31_.glowBlur = 3;
__id31_.glowColor = 10430065;
__id31_.useGlowFilter = true;
__id31_.glowQuality = 2;
__id31_.glowStrength = 20;
__id31_.gridFitType = "none";
__id31_.italic = false;
__id31_.selectable = false;
__id31_.underline = false;
try {
__id31_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id31__lineInfo__32(){
try {
__id31_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id31_.text = "{line_8}";
__id31_.textColor = 0xFFFFFF;
__id31_.textSize = 12;
__id31_.bold = true;
__id31_.embedFonts = true;
__id31_.font = "微软雅黑";
__id31_.hAlign = "left";
__id31_.multiline = true;
__id31_.vAlign = "middle";
__id31_.antiAliasType = "normal";
__id31_.glowBlur = 3;
__id31_.glowColor = 10430065;
__id31_.useGlowFilter = true;
__id31_.glowQuality = 2;
__id31_.glowStrength = 20;
__id31_.gridFitType = "none";
__id31_.italic = false;
__id31_.selectable = false;
__id31_.underline = false;
try {
__id31_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id31__lineInfo__33(){
try {
__id31_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id31_.text = "{line_9}";
__id31_.textColor = 0xFFFFFF;
__id31_.textSize = 12;
__id31_.bold = true;
__id31_.embedFonts = true;
__id31_.font = "微软雅黑";
__id31_.hAlign = "left";
__id31_.multiline = true;
__id31_.vAlign = "middle";
__id31_.antiAliasType = "normal";
__id31_.glowBlur = 3;
__id31_.glowColor = 10430065;
__id31_.useGlowFilter = true;
__id31_.glowQuality = 2;
__id31_.glowStrength = 20;
__id31_.gridFitType = "none";
__id31_.italic = false;
__id31_.selectable = false;
__id31_.underline = false;
try {
__id31_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id37__lineInfo__91(){
try {
__id37_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id37_.text = "{line_25}";
__id37_.textColor = 0xFFFFFF;
__id37_.textSize = 12;
__id37_.bold = true;
__id37_.embedFonts = true;
__id37_.font = "微软雅黑";
__id37_.hAlign = "left";
__id37_.multiline = true;
__id37_.vAlign = "middle";
__id37_.antiAliasType = "normal";
__id37_.glowBlur = 3;
__id37_.glowColor = 10430065;
__id37_.useGlowFilter = true;
__id37_.glowQuality = 2;
__id37_.glowStrength = 20;
__id37_.gridFitType = "none";
__id37_.italic = false;
__id37_.selectable = false;
__id37_.underline = false;
try {
__id37_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id37__lineInfo__92(){
try {
__id37_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id37_.text = "{line_26}";
__id37_.textColor = 0xFFFFFF;
__id37_.textSize = 12;
__id37_.bold = true;
__id37_.embedFonts = true;
__id37_.font = "微软雅黑";
__id37_.hAlign = "left";
__id37_.multiline = true;
__id37_.vAlign = "middle";
__id37_.antiAliasType = "normal";
__id37_.glowBlur = 3;
__id37_.glowColor = 10430065;
__id37_.useGlowFilter = true;
__id37_.glowQuality = 2;
__id37_.glowStrength = 20;
__id37_.gridFitType = "none";
__id37_.italic = false;
__id37_.selectable = false;
__id37_.underline = false;
try {
__id37_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id37__lineInfo__93(){
try {
__id37_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id37_.text = "{line_27}";
__id37_.textColor = 0xFFFFFF;
__id37_.textSize = 12;
__id37_.bold = true;
__id37_.embedFonts = true;
__id37_.font = "微软雅黑";
__id37_.hAlign = "left";
__id37_.multiline = true;
__id37_.vAlign = "middle";
__id37_.antiAliasType = "normal";
__id37_.glowBlur = 3;
__id37_.glowColor = 10430065;
__id37_.useGlowFilter = true;
__id37_.glowQuality = 2;
__id37_.glowStrength = 20;
__id37_.gridFitType = "none";
__id37_.italic = false;
__id37_.selectable = false;
__id37_.underline = false;
try {
__id37_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package DailyFortune1116_fla
Section 75
//logoani1_223 (DailyFortune1116_fla.logoani1_223)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class logoani1_223 extends MovieClip {
public function logoani1_223(){
addFrameScript(239, frame240);
}
function frame240(){
stop();
}
}
}//package DailyFortune1116_fla
Section 76
//NW__177 (DailyFortune1116_fla.NW__177)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class NW__177 extends MovieClip {
public function NW__177(){
addFrameScript(151, frame152, 245, frame246);
}
function frame152(){
gotoAndPlay(1);
}
function frame246(){
stop();
}
}
}//package DailyFortune1116_fla
Section 77
//Symbol1_219 (DailyFortune1116_fla.Symbol1_219)
package DailyFortune1116_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Symbol1_219 extends MovieClip {
public var __id43_:LocalizedTextField;
public function Symbol1_219(){
__setProp___id43__Symbol1_Layer1_1();
}
function __setProp___id43__Symbol1_Layer1_1(){
try {
__id43_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id43_.text = "{SEND_TO_FRIEND}";
__id43_.textColor = 0xFFFFFF;
__id43_.textSize = 13;
__id43_.bold = true;
__id43_.embedFonts = true;
__id43_.font = "微软雅黑";
__id43_.hAlign = "center";
__id43_.multiline = true;
__id43_.vAlign = "middle";
__id43_.antiAliasType = "normal";
__id43_.glowBlur = 3;
__id43_.glowColor = 2819908;
__id43_.useGlowFilter = true;
__id43_.glowQuality = 2;
__id43_.glowStrength = 20;
__id43_.gridFitType = "none";
__id43_.italic = false;
__id43_.selectable = false;
__id43_.underline = false;
try {
__id43_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package DailyFortune1116_fla
Section 78
//Talisman_3 (DailyFortune1116_fla.Talisman_3)
package DailyFortune1116_fla {
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
public dynamic class Talisman_3 extends MovieClip {
public var __setPropDict:Dictionary;
public var __id1_:LocalizedTextField;
public var __id2_:LocalizedTextField;
public function Talisman_3(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(3, frame4, 8, frame9, 4, frame5, 7, frame8, 1, frame2, 2, frame3, 9, frame10, 10, frame11, 0, frame1, 11, frame12, 5, frame6, 6, frame7);
__setProp___id2__Talisman__1();
}
function __setProp___id1__Talisman__11(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_11}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__12(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_12}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__10(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_10}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id2__Talisman__1(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.text = "{Your_talisman:}";
__id2_.textColor = 0xFFFFFF;
__id2_.textSize = 18;
__id2_.bold = true;
__id2_.embedFonts = true;
__id2_.font = "微软雅黑";
__id2_.hAlign = "center";
__id2_.multiline = true;
__id2_.vAlign = "middle";
__id2_.antiAliasType = "normal";
__id2_.glowBlur = 3.5;
__id2_.glowColor = 6881626;
__id2_.useGlowFilter = true;
__id2_.glowQuality = 2;
__id2_.glowStrength = 20;
__id2_.gridFitType = "none";
__id2_.italic = false;
__id2_.selectable = false;
__id2_.underline = false;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 10))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__10();
};
}
function frame12(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 12))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__12();
};
}
function frame3(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 3))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__3();
};
}
function frame6(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 6))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__6();
};
}
function frame7(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 7))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__7();
};
}
function frame8(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 8))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__8();
};
}
function frame4(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 4))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__4();
};
}
function frame5(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 5))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__5();
};
}
function frame9(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 9))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__9();
};
}
function frame1(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 1))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__1();
};
}
function frame2(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 2))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__2();
};
}
function frame11(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 11))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__Talisman__11();
};
}
function __setProp___id1__Talisman__3(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_3}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__4(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_4}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__6(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_6}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__9(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_9}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__5(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_5}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__7(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_7}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__1(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_1}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__8(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_8}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__Talisman__2(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{name_2}";
__id1_.textColor = 0xFFFFFF;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.embedFonts = true;
__id1_.font = "微软雅黑";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "normal";
__id1_.glowBlur = 3.5;
__id1_.glowColor = 6881626;
__id1_.useGlowFilter = true;
__id1_.glowQuality = 2;
__id1_.glowStrength = 20;
__id1_.gridFitType = "none";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package DailyFortune1116_fla
Section 79
//Timeline_157 (DailyFortune1116_fla.Timeline_157)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_157 extends MovieClip {
public var life:MovieClip;
public var travel:MovieClip;
public var health:MovieClip;
public var heart:MovieClip;
public var fame:MovieClip;
public var marriage:MovieClip;
public var money:MovieClip;
}
}//package DailyFortune1116_fla
Section 80
//Timeline_171 (DailyFortune1116_fla.Timeline_171)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_171 extends MovieClip {
public function Timeline_171(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package DailyFortune1116_fla
Section 81
//Timeline_205 (DailyFortune1116_fla.Timeline_205)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_205 extends MovieClip {
public function Timeline_205(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package DailyFortune1116_fla
Section 82
//Timeline_216 (DailyFortune1116_fla.Timeline_216)
package DailyFortune1116_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_216 extends MovieClip {
public var __id39_:LocalizedTextField;
public function Timeline_216(){
__setProp___id39___1();
}
function __setProp___id39___1(){
try {
__id39_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id39_.text = "{COPY}";
__id39_.textColor = 0xFFFFFF;
__id39_.textSize = 15;
__id39_.bold = true;
__id39_.embedFonts = true;
__id39_.font = "微软雅黑";
__id39_.hAlign = "center";
__id39_.multiline = true;
__id39_.vAlign = "middle";
__id39_.antiAliasType = "normal";
__id39_.glowBlur = 3;
__id39_.glowColor = 2819908;
__id39_.useGlowFilter = true;
__id39_.glowQuality = 2;
__id39_.glowStrength = 20;
__id39_.gridFitType = "none";
__id39_.italic = false;
__id39_.selectable = false;
__id39_.underline = false;
try {
__id39_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package DailyFortune1116_fla
Section 83
//Timeline_237 (DailyFortune1116_fla.Timeline_237)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_237 extends MovieClip {
public function Timeline_237(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package DailyFortune1116_fla
Section 84
//Timeline_246 (DailyFortune1116_fla.Timeline_246)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_246 extends MovieClip {
public function Timeline_246(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 85
//Timeline_248 (DailyFortune1116_fla.Timeline_248)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_248 extends MovieClip {
public function Timeline_248(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 86
//Timeline_250 (DailyFortune1116_fla.Timeline_250)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_250 extends MovieClip {
public function Timeline_250(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 87
//Timeline_252 (DailyFortune1116_fla.Timeline_252)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_252 extends MovieClip {
public function Timeline_252(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 88
//Timeline_254 (DailyFortune1116_fla.Timeline_254)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_254 extends MovieClip {
public function Timeline_254(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 89
//Timeline_256 (DailyFortune1116_fla.Timeline_256)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_256 extends MovieClip {
public function Timeline_256(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 90
//Timeline_258 (DailyFortune1116_fla.Timeline_258)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_258 extends MovieClip {
public function Timeline_258(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 91
//Timeline_260 (DailyFortune1116_fla.Timeline_260)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_260 extends MovieClip {
public function Timeline_260(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 92
//Timeline_262 (DailyFortune1116_fla.Timeline_262)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_262 extends MovieClip {
public function Timeline_262(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 93
//Timeline_264 (DailyFortune1116_fla.Timeline_264)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_264 extends MovieClip {
public function Timeline_264(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 94
//Timeline_266 (DailyFortune1116_fla.Timeline_266)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_266 extends MovieClip {
public function Timeline_266(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 95
//Timeline_268 (DailyFortune1116_fla.Timeline_268)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_268 extends MovieClip {
public function Timeline_268(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
}
}//package DailyFortune1116_fla
Section 96
//Timeline_27 (DailyFortune1116_fla.Timeline_27)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_27 extends MovieClip {
public function Timeline_27(){
addFrameScript(196, frame197);
}
function frame197(){
gotoAndPlay("end");
}
}
}//package DailyFortune1116_fla
Section 97
//Timeline_288 (DailyFortune1116_fla.Timeline_288)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_288 extends MovieClip {
public function Timeline_288(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package DailyFortune1116_fla
Section 98
//Timeline_88 (DailyFortune1116_fla.Timeline_88)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_88 extends MovieClip {
public function Timeline_88(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package DailyFortune1116_fla
Section 99
//Timeline_9 (DailyFortune1116_fla.Timeline_9)
package DailyFortune1116_fla {
import flash.display.*;
public dynamic class Timeline_9 extends MovieClip {
public function Timeline_9(){
addFrameScript(76, frame77);
}
function frame77(){
stop();
}
}
}//package DailyFortune1116_fla
Section 100
//Wisdom_204 (DailyFortune1116_fla.Wisdom_204)
package DailyFortune1116_fla {
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
public dynamic class Wisdom_204 extends MovieClip {
public var __setPropDict:Dictionary;
public var __id27_:LocalizedTextField;
public function Wisdom_204(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(7, frame8, 0, frame1, 15, frame16, 13, frame14, 5, frame6, 14, frame15, 6, frame7, 11, frame12, 3, frame4, 12, frame13, 4, frame5, 9, frame10, 1, frame2, 10, frame11, 8, frame9, 2, frame3);
}
function __setProp___id27__Wisdom__11(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_11}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__12(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_12}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__14(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_14}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__15(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_15}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__13(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_13}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 10))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__10();
};
}
function frame14(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 14))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__14();
};
}
function frame12(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 12))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__12();
};
}
function frame3(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 3))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__3();
};
}
function frame6(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 6))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__6();
};
}
function frame16(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 16))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__16();
};
}
function frame8(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 8))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__8();
};
}
function __setProp___id27__Wisdom__16(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_16}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame7(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 7))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__7();
};
}
function frame4(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 4))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__4();
};
}
function frame5(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 5))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__5();
};
}
function frame9(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 9))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__9();
};
}
function frame1(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 1))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__1();
};
}
function frame2(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 2))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__2();
};
}
function frame15(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 15))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__15();
};
}
function frame13(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 13))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__13();
};
}
function __setProp___id27__Wisdom__10(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_10}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame11(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 11))))){
__setPropDict[__id27_] = currentFrame;
__setProp___id27__Wisdom__11();
};
}
function __setProp___id27__Wisdom__2(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_2}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__4(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_4}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__5(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_5}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__6(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_6}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__7(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_7}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__1(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_1}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__8(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_8}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__9(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_9}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id27__Wisdom__3(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{wisdom_3}";
__id27_.textColor = 0;
__id27_.textSize = 12;
__id27_.bold = true;
__id27_.embedFonts = true;
__id27_.font = "微软雅黑";
__id27_.hAlign = "left";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "normal";
__id27_.glowBlur = 3.5;
__id27_.glowColor = 6881626;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 2;
__id27_.glowStrength = 20;
__id27_.gridFitType = "none";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package DailyFortune1116_fla
Section 101
//BaseButton (fl.controls.BaseButton)
package fl.controls {
import flash.events.*;
import flash.display.*;
import fl.core.*;
import fl.events.*;
import flash.utils.*;
public class BaseButton extends UIComponent {
protected var _selected:Boolean;// = false
private var unlockedMouseState:String;
protected var pressTimer:Timer;
protected var mouseState:String;
protected var background:DisplayObject;
private var _mouseStateLocked:Boolean;// = false
protected var _autoRepeat:Boolean;// = false
private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35};
public function BaseButton(){
_selected = false;
_autoRepeat = false;
_mouseStateLocked = false;
super();
buttonMode = true;
mouseChildren = false;
useHandCursor = false;
setupMouseEvents();
setMouseState("up");
pressTimer = new Timer(1, 0);
pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true);
}
protected function endPress():void{
pressTimer.reset();
}
public function set mouseStateLocked(_arg1:Boolean):void{
_mouseStateLocked = _arg1;
if (_arg1 == false){
setMouseState(unlockedMouseState);
} else {
unlockedMouseState = mouseState;
};
}
public function get autoRepeat():Boolean{
return (_autoRepeat);
}
public function set autoRepeat(_arg1:Boolean):void{
_autoRepeat = _arg1;
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
mouseEnabled = _arg1;
}
public function get selected():Boolean{
return (_selected);
}
protected function mouseEventHandler(_arg1:MouseEvent):void{
if (_arg1.type == MouseEvent.MOUSE_DOWN){
setMouseState("down");
startPress();
} else {
if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){
setMouseState("over");
endPress();
} else {
if (_arg1.type == MouseEvent.ROLL_OUT){
setMouseState("up");
endPress();
};
};
};
}
public function setMouseState(_arg1:String):void{
if (_mouseStateLocked){
unlockedMouseState = _arg1;
return;
};
if (mouseState == _arg1){
return;
};
mouseState = _arg1;
invalidate(InvalidationType.STATE);
}
protected function startPress():void{
if (_autoRepeat){
pressTimer.delay = Number(getStyleValue("repeatDelay"));
pressTimer.start();
};
dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true));
}
protected function buttonDown(_arg1:TimerEvent):void{
if (!_autoRepeat){
endPress();
return;
};
if (pressTimer.currentCount == 1){
pressTimer.delay = Number(getStyleValue("repeatInterval"));
};
dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true));
}
public function set selected(_arg1:Boolean):void{
if (_selected == _arg1){
return;
};
_selected = _arg1;
invalidate(InvalidationType.STATE);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawBackground();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
super.draw();
}
protected function setupMouseEvents():void{
addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true);
}
protected function drawLayout():void{
background.width = width;
background.height = height;
}
protected function drawBackground():void{
var _local1:String;
var _local2:DisplayObject;
_local1 = (enabled) ? mouseState : "disabled";
if (selected){
_local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1));
};
_local1 = (_local1 + "Skin");
_local2 = background;
background = getDisplayObjectInstance(getStyleValue(_local1));
addChildAt(background, 0);
if (((!((_local2 == null))) && (!((_local2 == background))))){
removeChild(_local2);
};
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 102
//Button (fl.controls.Button)
package fl.controls {
import flash.display.*;
import fl.core.*;
import fl.managers.*;
public class Button extends LabelButton implements IFocusManagerComponent {
protected var emphasizedBorder:DisplayObject;
protected var _emphasized:Boolean;// = false
private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2};
public static var createAccessibilityImplementation:Function;
public function Button(){
_emphasized = false;
super();
}
override public function drawFocus(_arg1:Boolean):void{
var _local2:Number;
var _local3:*;
super.drawFocus(_arg1);
if (_arg1){
_local2 = Number(getStyleValue("emphasizedPadding"));
if ((((_local2 < 0)) || (!(_emphasized)))){
_local2 = 0;
};
_local3 = getStyleValue("focusRectPadding");
_local3 = ((_local3)==null) ? 2 : _local3;
_local3 = (_local3 + _local2);
uiFocusRect.x = -(_local3);
uiFocusRect.y = -(_local3);
uiFocusRect.width = (width + (_local3 * 2));
uiFocusRect.height = (height + (_local3 * 2));
};
}
public function set emphasized(_arg1:Boolean):void{
_emphasized = _arg1;
invalidate(InvalidationType.STYLES);
}
override protected function draw():void{
if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){
drawEmphasized();
};
super.draw();
if (emphasizedBorder != null){
setChildIndex(emphasizedBorder, (numChildren - 1));
};
}
public function get emphasized():Boolean{
return (_emphasized);
}
override protected function initializeAccessibility():void{
if (Button.createAccessibilityImplementation != null){
Button.createAccessibilityImplementation(this);
};
}
protected function drawEmphasized():void{
var _local1:Object;
var _local2:Number;
if (emphasizedBorder != null){
removeChild(emphasizedBorder);
};
emphasizedBorder = null;
if (!_emphasized){
return;
};
_local1 = getStyleValue("emphasizedSkin");
if (_local1 != null){
emphasizedBorder = getDisplayObjectInstance(_local1);
};
if (emphasizedBorder != null){
addChildAt(emphasizedBorder, 0);
_local2 = Number(getStyleValue("emphasizedPadding"));
emphasizedBorder.x = (emphasizedBorder.y = -(_local2));
emphasizedBorder.width = (width + (_local2 * 2));
emphasizedBorder.height = (height + (_local2 * 2));
};
}
public static function getStyleDefinition():Object{
return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles));
}
}
}//package fl.controls
Section 103
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement)
package fl.controls {
public class ButtonLabelPlacement {
public static const TOP:String = "top";
public static const LEFT:String = "left";
public static const BOTTOM:String = "bottom";
public static const RIGHT:String = "right";
}
}//package fl.controls
Section 104
//LabelButton (fl.controls.LabelButton)
package fl.controls {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import fl.core.*;
import fl.managers.*;
import fl.events.*;
import flash.ui.*;
public class LabelButton extends BaseButton implements IFocusManagerComponent {
protected var _labelPlacement:String;// = "right"
protected var _toggle:Boolean;// = false
protected var icon:DisplayObject;
protected var oldMouseState:String;
protected var mode:String;// = "center"
public var textField:TextField;
protected var _label:String;// = "Label"
private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false};
public static var createAccessibilityImplementation:Function;
public function LabelButton(){
_labelPlacement = ButtonLabelPlacement.RIGHT;
_toggle = false;
_label = "Label";
mode = "center";
super();
}
protected function toggleSelected(_arg1:MouseEvent):void{
selected = !(selected);
dispatchEvent(new Event(Event.CHANGE, true));
}
public function get labelPlacement():String{
return (_labelPlacement);
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
if (!enabled){
return;
};
if (_arg1.keyCode == Keyboard.SPACE){
if (oldMouseState == null){
oldMouseState = mouseState;
};
setMouseState("down");
startPress();
};
}
protected function setEmbedFont(){
var _local1:Object;
_local1 = getStyleValue("embedFonts");
if (_local1 != null){
textField.embedFonts = _local1;
};
}
override protected function keyUpHandler(_arg1:KeyboardEvent):void{
if (!enabled){
return;
};
if (_arg1.keyCode == Keyboard.SPACE){
setMouseState(oldMouseState);
oldMouseState = null;
endPress();
dispatchEvent(new MouseEvent(MouseEvent.CLICK));
};
}
override public function get selected():Boolean{
return ((_toggle) ? _selected : false);
}
public function set labelPlacement(_arg1:String):void{
_labelPlacement = _arg1;
invalidate(InvalidationType.SIZE);
}
public function set toggle(_arg1:Boolean):void{
if (((!(_arg1)) && (super.selected))){
selected = false;
};
_toggle = _arg1;
if (_toggle){
addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true);
} else {
removeEventListener(MouseEvent.CLICK, toggleSelected);
};
invalidate(InvalidationType.STATE);
}
public function get label():String{
return (_label);
}
override public function set selected(_arg1:Boolean):void{
_selected = _arg1;
if (_toggle){
invalidate(InvalidationType.STATE);
};
}
override protected function draw():void{
if (textField.text != _label){
label = _label;
};
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawBackground();
drawIcon();
drawTextFormat();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
if (((isFocused) && (focusManager.showFocusIndicator))){
drawFocus(true);
};
};
validate();
}
public function get toggle():Boolean{
return (_toggle);
}
override protected function configUI():void{
super.configUI();
textField = new TextField();
textField.type = TextFieldType.DYNAMIC;
textField.selectable = false;
addChild(textField);
}
override protected function drawLayout():void{
var _local1:Number;
var _local2:String;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local1 = Number(getStyleValue("textPadding"));
_local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement;
textField.height = (textField.textHeight + 4);
_local3 = (textField.textWidth + 4);
_local4 = (textField.textHeight + 4);
_local5 = ((icon)==null) ? 0 : (icon.width + _local1);
_local6 = ((icon)==null) ? 0 : (icon.height + _local1);
textField.visible = (label.length > 0);
if (icon != null){
icon.x = Math.round(((width - icon.width) / 2));
icon.y = Math.round(((height - icon.height) / 2));
};
if (textField.visible == false){
textField.width = 0;
textField.height = 0;
} else {
if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){
_local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1))));
if ((height - 2) > _local4){
_local8 = _local4;
} else {
_local8 = (height - 2);
};
_local3 = _local7;
textField.width = _local3;
_local4 = _local8;
textField.height = _local4;
textField.x = Math.round(((width - _local3) / 2));
textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0));
if (icon != null){
icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1));
};
} else {
_local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1))));
_local3 = _local7;
textField.width = _local3;
textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0));
textField.y = Math.round(((height - textField.height) / 2));
if (icon != null){
icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1));
};
};
};
super.drawLayout();
}
override protected function initializeAccessibility():void{
if (LabelButton.createAccessibilityImplementation != null){
LabelButton.createAccessibilityImplementation(this);
};
}
protected function drawIcon():void{
var _local1:DisplayObject;
var _local2:String;
var _local3:Object;
_local1 = icon;
_local2 = (enabled) ? mouseState : "disabled";
if (selected){
_local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1));
};
_local2 = (_local2 + "Icon");
_local3 = getStyleValue(_local2);
if (_local3 == null){
_local3 = getStyleValue("icon");
};
if (_local3 != null){
icon = getDisplayObjectInstance(_local3);
};
if (icon != null){
addChildAt(icon, 1);
};
if (((!((_local1 == null))) && (!((_local1 == icon))))){
removeChild(_local1);
};
}
public function set label(_arg1:String):void{
_label = _arg1;
if (textField.text != _label){
textField.text = _label;
dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE));
};
invalidate(InvalidationType.SIZE);
invalidate(InvalidationType.STYLES);
}
protected function drawTextFormat():void{
var _local1:Object;
var _local2:TextFormat;
var _local3:TextFormat;
_local1 = UIComponent.getStyleDefinition();
_local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat);
textField.setTextFormat(_local2);
_local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat);
if (_local3 != null){
textField.setTextFormat(_local3);
} else {
_local3 = _local2;
};
textField.defaultTextFormat = _local3;
setEmbedFont();
}
public static function getStyleDefinition():Object{
return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition()));
}
}
}//package fl.controls
Section 105
//ScrollBar (fl.controls.ScrollBar)
package fl.controls {
import flash.events.*;
import fl.core.*;
import fl.events.*;
public class ScrollBar extends UIComponent {
private var _direction:String;// = "vertical"
protected var inDrag:Boolean;// = false
protected var upArrow:BaseButton;
private var _pageScrollSize:Number;// = 0
protected var downArrow:BaseButton;
private var _pageSize:Number;// = 10
private var thumbScrollOffset:Number;
private var _maxScrollPosition:Number;// = 0
private var _scrollPosition:Number;// = 0
protected var track:BaseButton;
private var _minScrollPosition:Number;// = 0
private var _lineScrollSize:Number;// = 1
protected var thumb:LabelButton;
protected static const THUMB_STYLES:Object = {disabledSkin:"thumbDisabledSkin", downSkin:"thumbDownSkin", overSkin:"thumbOverSkin", upSkin:"thumbUpSkin", icon:"thumbIcon", textPadding:0};
public static const WIDTH:Number = 15;
protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
protected static const TRACK_STYLES:Object = {disabledSkin:"trackDisabledSkin", downSkin:"trackDownSkin", overSkin:"trackOverSkin", upSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"};
private static var defaultStyles:Object = {downArrowDisabledSkin:"ScrollArrowDown_disabledSkin", downArrowDownSkin:"ScrollArrowDown_downSkin", downArrowOverSkin:"ScrollArrowDown_overSkin", downArrowUpSkin:"ScrollArrowDown_upSkin", thumbDisabledSkin:"ScrollThumb_upSkin", thumbDownSkin:"ScrollThumb_downSkin", thumbOverSkin:"ScrollThumb_overSkin", thumbUpSkin:"ScrollThumb_upSkin", trackDisabledSkin:"ScrollTrack_skin", trackDownSkin:"ScrollTrack_skin", trackOverSkin:"ScrollTrack_skin", trackUpSkin:"ScrollTrack_skin", upArrowDisabledSkin:"ScrollArrowUp_disabledSkin", upArrowDownSkin:"ScrollArrowUp_downSkin", upArrowOverSkin:"ScrollArrowUp_overSkin", upArrowUpSkin:"ScrollArrowUp_upSkin", thumbIcon:"ScrollBar_thumbIcon", repeatDelay:500, repeatInterval:35};
public function ScrollBar(){
_pageSize = 10;
_pageScrollSize = 0;
_lineScrollSize = 1;
_minScrollPosition = 0;
_maxScrollPosition = 0;
_scrollPosition = 0;
_direction = ScrollBarDirection.VERTICAL;
inDrag = false;
super();
setStyles();
focusEnabled = false;
}
public function get minScrollPosition():Number{
return (_minScrollPosition);
}
public function set minScrollPosition(_arg1:Number):void{
setScrollProperties(_pageSize, _arg1, _maxScrollPosition);
}
public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{
var _local3:Number;
_local3 = scrollPosition;
_scrollPosition = Math.max(_minScrollPosition, Math.min(_maxScrollPosition, _arg1));
if (_local3 == _scrollPosition){
return;
};
if (_arg2){
dispatchEvent(new ScrollEvent(_direction, (scrollPosition - _local3), scrollPosition));
};
updateThumb();
}
public function set scrollPosition(_arg1:Number):void{
setScrollPosition(_arg1, true);
}
public function get pageScrollSize():Number{
return (((_pageScrollSize)==0) ? _pageSize : _pageScrollSize);
}
public function set pageSize(_arg1:Number):void{
if (_arg1 > 0){
_pageSize = _arg1;
};
}
public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{
this.pageSize = _arg1;
_minScrollPosition = _arg2;
_maxScrollPosition = _arg3;
if (_arg4 >= 0){
_pageScrollSize = _arg4;
};
enabled = (_maxScrollPosition > _minScrollPosition);
setScrollPosition(_scrollPosition, false);
updateThumb();
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
downArrow.enabled = (track.enabled = (thumb.enabled = (upArrow.enabled = ((enabled) && ((_maxScrollPosition > _minScrollPosition))))));
updateThumb();
}
protected function updateThumb():void{
var _local1:Number;
_local1 = ((_maxScrollPosition - _minScrollPosition) + _pageSize);
if ((((((track.height <= 12)) || ((_maxScrollPosition <= _minScrollPosition)))) || ((((_local1 == 0)) || (isNaN(_local1)))))){
thumb.height = 12;
thumb.visible = false;
} else {
thumb.height = Math.max(13, ((_pageSize / _local1) * track.height));
thumb.y = (track.y + ((track.height - thumb.height) * ((_scrollPosition - _minScrollPosition) / (_maxScrollPosition - _minScrollPosition))));
thumb.visible = enabled;
};
}
protected function thumbPressHandler(_arg1:MouseEvent):void{
inDrag = true;
thumbScrollOffset = (mouseY - thumb.y);
thumb.mouseStateLocked = true;
mouseChildren = false;
stage.addEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true);
}
protected function thumbReleaseHandler(_arg1:MouseEvent):void{
inDrag = false;
mouseChildren = true;
thumb.mouseStateLocked = false;
stage.removeEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag);
stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler);
}
public function set pageScrollSize(_arg1:Number):void{
if (_arg1 >= 0){
_pageScrollSize = _arg1;
};
}
protected function handleThumbDrag(_arg1:MouseEvent):void{
var _local2:Number;
_local2 = Math.max(0, Math.min((track.height - thumb.height), ((mouseY - track.y) - thumbScrollOffset)));
setScrollPosition((((_local2 / (track.height - thumb.height)) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition));
}
public function set direction(_arg1:String):void{
var _local2:Boolean;
if (_direction == _arg1){
return;
};
_direction = _arg1;
if (isLivePreview){
return;
};
setScaleY(1);
_local2 = (_direction == ScrollBarDirection.HORIZONTAL);
if (((_local2) && (componentInspectorSetting))){
if (rotation == 90){
return;
};
setScaleX(-1);
rotation = -90;
};
if (!componentInspectorSetting){
if (((_local2) && ((rotation == 0)))){
rotation = -90;
setScaleX(-1);
} else {
if (((!(_local2)) && ((rotation == -90)))){
rotation = 0;
setScaleX(1);
};
};
};
invalidate(InvalidationType.SIZE);
}
public function set lineScrollSize(_arg1:Number):void{
if (_arg1 > 0){
_lineScrollSize = _arg1;
};
}
override public function get height():Number{
return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.width : super.height);
}
protected function scrollPressHandler(_arg1:ComponentEvent):void{
var _local2:Number;
var _local3:Number;
_arg1.stopImmediatePropagation();
if (_arg1.currentTarget == upArrow){
setScrollPosition((_scrollPosition - _lineScrollSize));
} else {
if (_arg1.currentTarget == downArrow){
setScrollPosition((_scrollPosition + _lineScrollSize));
} else {
_local2 = (((track.mouseY / track.height) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition);
_local3 = ((pageScrollSize)==0) ? pageSize : pageScrollSize;
if (_scrollPosition < _local2){
setScrollPosition(Math.min(_local2, (_scrollPosition + _local3)));
} else {
if (_scrollPosition > _local2){
setScrollPosition(Math.max(_local2, (_scrollPosition - _local3)));
};
};
};
};
}
public function get pageSize():Number{
return (_pageSize);
}
public function set maxScrollPosition(_arg1:Number):void{
setScrollProperties(_pageSize, _minScrollPosition, _arg1);
}
public function get scrollPosition():Number{
return (_scrollPosition);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
var _local1:Number;
if (isInvalid(InvalidationType.SIZE)){
_local1 = super.height;
downArrow.move(0, Math.max(upArrow.height, (_local1 - downArrow.height)));
track.setSize(WIDTH, Math.max(0, (_local1 - (downArrow.height + upArrow.height))));
updateThumb();
};
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
setStyles();
};
downArrow.drawNow();
upArrow.drawNow();
track.drawNow();
thumb.drawNow();
validate();
}
override protected function configUI():void{
super.configUI();
track = new BaseButton();
track.move(0, 14);
track.useHandCursor = false;
track.autoRepeat = true;
track.focusEnabled = false;
addChild(track);
thumb = new LabelButton();
thumb.label = "";
thumb.setSize(WIDTH, 15);
thumb.move(0, 15);
thumb.focusEnabled = false;
addChild(thumb);
downArrow = new BaseButton();
downArrow.setSize(WIDTH, 14);
downArrow.autoRepeat = true;
downArrow.focusEnabled = false;
addChild(downArrow);
upArrow = new BaseButton();
upArrow.setSize(WIDTH, 14);
upArrow.move(0, 0);
upArrow.autoRepeat = true;
upArrow.focusEnabled = false;
addChild(upArrow);
upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
track.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true);
thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true);
enabled = false;
}
public function get direction():String{
return (_direction);
}
public function get lineScrollSize():Number{
return (_lineScrollSize);
}
override public function setSize(_arg1:Number, _arg2:Number):void{
if (_direction == ScrollBarDirection.HORIZONTAL){
super.setSize(_arg2, _arg1);
} else {
super.setSize(_arg1, _arg2);
};
}
public function get maxScrollPosition():Number{
return (_maxScrollPosition);
}
override public function get width():Number{
return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.height : super.width);
}
protected function setStyles():void{
copyStylesToChild(downArrow, DOWN_ARROW_STYLES);
copyStylesToChild(thumb, THUMB_STYLES);
copyStylesToChild(track, TRACK_STYLES);
copyStylesToChild(upArrow, UP_ARROW_STYLES);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 106
//ScrollBarDirection (fl.controls.ScrollBarDirection)
package fl.controls {
public class ScrollBarDirection {
public static const HORIZONTAL:String = "horizontal";
public static const VERTICAL:String = "vertical";
}
}//package fl.controls
Section 107
//UIScrollBar (fl.controls.UIScrollBar)
package fl.controls {
import flash.events.*;
import flash.text.*;
import fl.core.*;
import fl.events.*;
public class UIScrollBar extends ScrollBar {
protected var inScroll:Boolean;// = false
protected var _scrollTarget:TextField;
protected var inEdit:Boolean;// = false
private static var defaultStyles:Object = {};
public function UIScrollBar(){
inEdit = false;
inScroll = false;
super();
}
protected function handleTargetScroll(_arg1:Event):void{
if (inDrag){
return;
};
if (!enabled){
return;
};
inEdit = true;
updateScrollTargetProperties();
scrollPosition = ((direction)==ScrollBarDirection.HORIZONTAL) ? _scrollTarget.scrollH : _scrollTarget.scrollV;
inEdit = false;
}
override public function set minScrollPosition(_arg1:Number):void{
super.minScrollPosition = ((_arg1)<0) ? 0 : _arg1;
}
override public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{
super.setScrollPosition(_arg1, _arg2);
if (!_scrollTarget){
inScroll = false;
return;
};
updateTargetScroll();
}
override public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{
var _local5:Number;
var _local6:Number;
_local5 = _arg3;
_local6 = ((_arg2)<0) ? 0 : _arg2;
if (_scrollTarget != null){
if (direction == ScrollBarDirection.HORIZONTAL){
_local5 = ((_arg3)>_scrollTarget.maxScrollH) ? _scrollTarget.maxScrollH : _local5;
} else {
_local5 = ((_arg3)>_scrollTarget.maxScrollV) ? _scrollTarget.maxScrollV : _local5;
};
};
super.setScrollProperties(_arg1, _local6, _local5, _arg4);
}
public function get scrollTargetName():String{
return (_scrollTarget.name);
}
public function get scrollTarget():TextField{
return (_scrollTarget);
}
protected function updateScrollTargetProperties():void{
var _local1:Boolean;
var _local2:Number;
if (_scrollTarget == null){
setScrollProperties(pageSize, minScrollPosition, maxScrollPosition, pageScrollSize);
scrollPosition = 0;
} else {
_local1 = (direction == ScrollBarDirection.HORIZONTAL);
_local2 = (_local1) ? _scrollTarget.width : 10;
setScrollProperties(_local2, (_local1) ? 0 : 1, (_local1) ? _scrollTarget.maxScrollH : _scrollTarget.maxScrollV, pageScrollSize);
scrollPosition = (_local1) ? _scrollTarget.scrollH : _scrollTarget.scrollV;
};
}
public function update():void{
inEdit = true;
updateScrollTargetProperties();
inEdit = false;
}
public function set scrollTargetName(_arg1:String):void{
var target = _arg1;
try {
scrollTarget = (parent.getChildByName(target) as TextField);
} catch(error:Error) {
throw (new Error("ScrollTarget not found, or is not a TextField"));
};
}
override public function set direction(_arg1:String):void{
if (isLivePreview){
return;
};
super.direction = _arg1;
updateScrollTargetProperties();
}
protected function handleTargetChange(_arg1:Event):void{
inEdit = true;
setScrollPosition(((direction)==ScrollBarDirection.HORIZONTAL) ? _scrollTarget.scrollH : _scrollTarget.scrollV, true);
updateScrollTargetProperties();
inEdit = false;
}
override public function set maxScrollPosition(_arg1:Number):void{
var _local2:Number;
_local2 = _arg1;
if (_scrollTarget != null){
if (direction == ScrollBarDirection.HORIZONTAL){
_local2 = ((_local2)>_scrollTarget.maxScrollH) ? _scrollTarget.maxScrollH : _local2;
} else {
_local2 = ((_local2)>_scrollTarget.maxScrollV) ? _scrollTarget.maxScrollV : _local2;
};
};
super.maxScrollPosition = _local2;
}
protected function updateTargetScroll(_arg1:ScrollEvent=null):void{
if (inEdit){
return;
};
if (direction == ScrollBarDirection.HORIZONTAL){
_scrollTarget.scrollH = scrollPosition;
} else {
_scrollTarget.scrollV = scrollPosition;
};
}
override protected function draw():void{
if (isInvalid(InvalidationType.DATA)){
updateScrollTargetProperties();
};
super.draw();
}
public function set scrollTarget(_arg1:TextField):void{
if (_scrollTarget != null){
_scrollTarget.removeEventListener(Event.CHANGE, handleTargetChange, false);
_scrollTarget.removeEventListener(TextEvent.TEXT_INPUT, handleTargetChange, false);
_scrollTarget.removeEventListener(Event.SCROLL, handleTargetScroll, false);
removeEventListener(ScrollEvent.SCROLL, updateTargetScroll, false);
};
_scrollTarget = _arg1;
if (_scrollTarget != null){
_scrollTarget.addEventListener(Event.CHANGE, handleTargetChange, false, 0, true);
_scrollTarget.addEventListener(TextEvent.TEXT_INPUT, handleTargetChange, false, 0, true);
_scrollTarget.addEventListener(Event.SCROLL, handleTargetScroll, false, 0, true);
addEventListener(ScrollEvent.SCROLL, updateTargetScroll, false, 0, true);
};
invalidate(InvalidationType.DATA);
}
override public function get direction():String{
return (super.direction);
}
public static function getStyleDefinition():Object{
return (UIComponent.mergeStyles(defaultStyles, ScrollBar.getStyleDefinition()));
}
}
}//package fl.controls
Section 108
//ComponentShim (fl.core.ComponentShim)
package fl.core {
import flash.display.*;
public dynamic class ComponentShim extends MovieClip {
}
}//package fl.core
Section 109
//InvalidationType (fl.core.InvalidationType)
package fl.core {
public class InvalidationType {
public static const SIZE:String = "size";
public static const ALL:String = "all";
public static const DATA:String = "data";
public static const SCROLL:String = "scroll";
public static const STATE:String = "state";
public static const STYLES:String = "styles";
public static const SELECTED:String = "selected";
public static const RENDERER_STYLES:String = "rendererStyles";
}
}//package fl.core
Section 110
//UIComponent (fl.core.UIComponent)
package fl.core {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import fl.managers.*;
import fl.events.*;
import flash.utils.*;
import flash.system.*;
public class UIComponent extends Sprite {
protected var _enabled:Boolean;// = true
private var _mouseFocusEnabled:Boolean;// = true
protected var startHeight:Number;
protected var _height:Number;
protected var _oldIMEMode:String;// = null
protected var startWidth:Number;
public var focusTarget:IFocusManagerComponent;
protected var errorCaught:Boolean;// = false
protected var uiFocusRect:DisplayObject;
protected var _width:Number;
public var version:String;// = "3.0.0.15"
protected var isFocused:Boolean;// = false
protected var callLaterMethods:Dictionary;
private var _focusEnabled:Boolean;// = true
private var tempText:TextField;
protected var invalidateFlag:Boolean;// = false
protected var _inspector:Boolean;// = false
protected var sharedStyles:Object;
protected var invalidHash:Object;
protected var isLivePreview:Boolean;// = false
protected var _imeMode:String;// = null
protected var instanceStyles:Object;
protected var _x:Number;
protected var _y:Number;
public static var inCallLaterPhase:Boolean = false;
private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)};
public static var createAccessibilityImplementation:Function;
private static var focusManagers:Dictionary = new Dictionary(false);
public function UIComponent(){
version = "3.0.0.15";
isLivePreview = false;
invalidateFlag = false;
_enabled = true;
isFocused = false;
_focusEnabled = true;
_mouseFocusEnabled = true;
_imeMode = null;
_oldIMEMode = null;
errorCaught = false;
_inspector = false;
super();
instanceStyles = {};
sharedStyles = {};
invalidHash = {};
callLaterMethods = new Dictionary();
StyleManager.registerInstance(this);
configUI();
invalidate(InvalidationType.ALL);
tabEnabled = (this is IFocusManagerComponent);
focusRect = false;
if (tabEnabled){
addEventListener(FocusEvent.FOCUS_IN, focusInHandler);
addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler);
addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
};
initializeFocusManager();
addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true);
}
public function drawFocus(_arg1:Boolean):void{
var _local2:Number;
isFocused = _arg1;
if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){
removeChild(uiFocusRect);
uiFocusRect = null;
};
if (_arg1){
uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite);
if (uiFocusRect == null){
return;
};
_local2 = Number(getStyleValue("focusRectPadding"));
uiFocusRect.x = -(_local2);
uiFocusRect.y = -(_local2);
uiFocusRect.width = (width + (_local2 * 2));
uiFocusRect.height = (height + (_local2 * 2));
addChildAt(uiFocusRect, 0);
};
}
private function callLaterDispatcher(_arg1:Event):void{
var _local2:Dictionary;
var _local3:Object;
if (_arg1.type == Event.ADDED_TO_STAGE){
removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher);
stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true);
stage.invalidate();
return;
};
_arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher);
if (stage == null){
addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true);
return;
};
inCallLaterPhase = true;
_local2 = callLaterMethods;
for (_local3 in _local2) {
_local3();
delete _local2[_local3];
};
inCallLaterPhase = false;
}
private function addedHandler(_arg1:Event):void{
removeEventListener("addedToStage", addedHandler);
initializeFocusManager();
}
protected function getStyleValue(_arg1:String):Object{
return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]);
}
protected function isOurFocus(_arg1:DisplayObject):Boolean{
return ((_arg1 == this));
}
override public function get scaleX():Number{
return ((width / startWidth));
}
override public function get scaleY():Number{
return ((height / startHeight));
}
override public function set height(_arg1:Number):void{
if (_height == _arg1){
return;
};
setSize(width, _arg1);
}
protected function keyDownHandler(_arg1:KeyboardEvent):void{
}
protected function focusInHandler(_arg1:FocusEvent):void{
var _local2:IFocusManager;
if (isOurFocus((_arg1.target as DisplayObject))){
_local2 = focusManager;
if (((_local2) && (_local2.showFocusIndicator))){
drawFocus(true);
isFocused = true;
};
};
}
public function setStyle(_arg1:String, _arg2:Object):void{
if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
instanceStyles[_arg1] = _arg2;
invalidate(InvalidationType.STYLES);
}
override public function get visible():Boolean{
return (super.visible);
}
public function get componentInspectorSetting():Boolean{
return (_inspector);
}
override public function get x():Number{
return ((isNaN(_x)) ? super.x : _x);
}
override public function get y():Number{
return ((isNaN(_y)) ? super.y : _y);
}
protected function setIMEMode(_arg1:Boolean){
var enabled = _arg1;
if (_imeMode != null){
if (enabled){
IME.enabled = true;
_oldIMEMode = IME.conversionMode;
try {
if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){
IME.conversionMode = _imeMode;
};
errorCaught = false;
} catch(e:Error) {
errorCaught = true;
throw (new Error(("IME mode not supported: " + _imeMode)));
};
} else {
if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){
IME.conversionMode = _oldIMEMode;
};
IME.enabled = false;
};
};
}
public function set enabled(_arg1:Boolean):void{
if (_arg1 == _enabled){
return;
};
_enabled = _arg1;
invalidate(InvalidationType.STATE);
}
public function setSharedStyle(_arg1:String, _arg2:Object):void{
if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
sharedStyles[_arg1] = _arg2;
if (instanceStyles[_arg1] == null){
invalidate(InvalidationType.STYLES);
};
}
protected function keyUpHandler(_arg1:KeyboardEvent):void{
}
public function set focusEnabled(_arg1:Boolean):void{
_focusEnabled = _arg1;
}
override public function set scaleX(_arg1:Number):void{
setSize((startWidth * _arg1), height);
}
public function get mouseFocusEnabled():Boolean{
return (_mouseFocusEnabled);
}
override public function set scaleY(_arg1:Number):void{
setSize(width, (startHeight * _arg1));
}
protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{
var classDef:Object;
var skin = _arg1;
classDef = null;
if ((skin is Class)){
return ((new (skin) as DisplayObject));
};
if ((skin is DisplayObject)){
(skin as DisplayObject).x = 0;
(skin as DisplayObject).y = 0;
return ((skin as DisplayObject));
};
try {
classDef = getDefinitionByName(skin.toString());
} catch(e:Error) {
try {
classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object);
} catch(e:Error) {
};
};
if (classDef == null){
return (null);
};
return ((new (classDef) as DisplayObject));
}
protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{
var _local3:String;
for (_local3 in _arg2) {
_arg1.setStyle(_local3, getStyleValue(_arg2[_local3]));
};
}
protected function beforeComponentParameters():void{
}
protected function callLater(_arg1:Function):void{
if (inCallLaterPhase){
return;
};
callLaterMethods[_arg1] = true;
if (stage != null){
stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true);
stage.invalidate();
} else {
addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true);
};
}
protected function createFocusManager():void{
if (focusManagers[stage] == null){
focusManagers[stage] = new FocusManager(stage);
};
}
override public function set visible(_arg1:Boolean):void{
var _local2:String;
if (super.visible == _arg1){
return;
};
super.visible = _arg1;
_local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE;
dispatchEvent(new ComponentEvent(_local2, true));
}
protected function hookAccessibility(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, hookAccessibility);
initializeAccessibility();
}
public function set componentInspectorSetting(_arg1:Boolean):void{
_inspector = _arg1;
if (_inspector){
beforeComponentParameters();
} else {
afterComponentParameters();
};
}
override public function set x(_arg1:Number):void{
move(_arg1, _y);
}
public function drawNow():void{
draw();
}
override public function set y(_arg1:Number):void{
move(_x, _arg1);
}
protected function checkLivePreview():Boolean{
var className:String;
if (parent == null){
return (false);
};
try {
className = getQualifiedClassName(parent);
} catch(e:Error) {
};
return ((className == "fl.livepreview::LivePreviewParent"));
}
protected function focusOutHandler(_arg1:FocusEvent):void{
if (isOurFocus((_arg1.target as DisplayObject))){
drawFocus(false);
isFocused = false;
};
}
public function set mouseFocusEnabled(_arg1:Boolean):void{
_mouseFocusEnabled = _arg1;
}
public function getFocus():InteractiveObject{
if (stage){
return (stage.focus);
};
return (null);
}
protected function validate():void{
invalidHash = {};
}
override public function get height():Number{
return (_height);
}
public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{
invalidHash[_arg1] = true;
if (_arg2){
this.callLater(draw);
};
}
public function get enabled():Boolean{
return (_enabled);
}
protected function getScaleX():Number{
return (super.scaleX);
}
protected function getScaleY():Number{
return (super.scaleY);
}
public function get focusEnabled():Boolean{
return (_focusEnabled);
}
protected function afterComponentParameters():void{
}
protected function draw():void{
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
if (((isFocused) && (focusManager.showFocusIndicator))){
drawFocus(true);
};
};
validate();
}
protected function configUI():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
isLivePreview = checkLivePreview();
_local1 = rotation;
rotation = 0;
_local2 = super.width;
_local3 = super.height;
var _local4 = 1;
super.scaleY = _local4;
super.scaleX = _local4;
setSize(_local2, _local3);
move(super.x, super.y);
rotation = _local1;
startWidth = _local2;
startHeight = _local3;
if (numChildren > 0){
removeChildAt(0);
};
}
protected function setScaleX(_arg1:Number):void{
super.scaleX = _arg1;
}
protected function setScaleY(_arg1:Number):void{
super.scaleY = _arg1;
}
private function initializeFocusManager():void{
if (stage == null){
addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true);
} else {
createFocusManager();
};
}
public function set focusManager(_arg1:IFocusManager):void{
UIComponent.focusManagers[this] = _arg1;
}
public function clearStyle(_arg1:String):void{
setStyle(_arg1, null);
}
protected function isInvalid(_arg1:String, ... _args):Boolean{
if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){
return (true);
};
while (_args.length > 0) {
if (invalidHash[_args.pop()]){
return (true);
};
};
return (false);
}
public function setSize(_arg1:Number, _arg2:Number):void{
_width = _arg1;
_height = _arg2;
invalidate(InvalidationType.SIZE);
dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false));
}
override public function set width(_arg1:Number):void{
if (_width == _arg1){
return;
};
setSize(_arg1, height);
}
public function setFocus():void{
if (stage){
stage.focus = this;
};
}
protected function initializeAccessibility():void{
if (UIComponent.createAccessibilityImplementation != null){
UIComponent.createAccessibilityImplementation(this);
};
}
public function get focusManager():IFocusManager{
var _local1:DisplayObject;
_local1 = this;
while (_local1) {
if (UIComponent.focusManagers[_local1] != null){
return (IFocusManager(UIComponent.focusManagers[_local1]));
};
_local1 = _local1.parent;
};
return (null);
}
override public function get width():Number{
return (_width);
}
public function move(_arg1:Number, _arg2:Number):void{
_x = _arg1;
_y = _arg2;
super.x = Math.round(_arg1);
super.y = Math.round(_arg2);
dispatchEvent(new ComponentEvent(ComponentEvent.MOVE));
}
public function validateNow():void{
invalidate(InvalidationType.ALL, false);
draw();
}
public function getStyle(_arg1:String):Object{
return (instanceStyles[_arg1]);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
public static function mergeStyles(... _args):Object{
var _local2:Object;
var _local3:uint;
var _local4:uint;
var _local5:Object;
var _local6:String;
_local2 = {};
_local3 = _args.length;
_local4 = 0;
while (_local4 < _local3) {
_local5 = _args[_local4];
for (_local6 in _local5) {
if (_local2[_local6] != null){
} else {
_local2[_local6] = _args[_local4][_local6];
};
};
_local4++;
};
return (_local2);
}
}
}//package fl.core
Section 111
//ComponentEvent (fl.events.ComponentEvent)
package fl.events {
import flash.events.*;
public class ComponentEvent extends Event {
public static const HIDE:String = "hide";
public static const BUTTON_DOWN:String = "buttonDown";
public static const MOVE:String = "move";
public static const RESIZE:String = "resize";
public static const ENTER:String = "enter";
public static const LABEL_CHANGE:String = "labelChange";
public static const SHOW:String = "show";
public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
override public function toString():String{
return (formatToString("ComponentEvent", "type", "bubbles", "cancelable"));
}
override public function clone():Event{
return (new ComponentEvent(type, bubbles, cancelable));
}
}
}//package fl.events
Section 112
//ScrollEvent (fl.events.ScrollEvent)
package fl.events {
import flash.events.*;
public class ScrollEvent extends Event {
private var _position:Number;
private var _direction:String;
private var _delta:Number;
public static const SCROLL:String = "scroll";
public function ScrollEvent(_arg1:String, _arg2:Number, _arg3:Number){
super(ScrollEvent.SCROLL, false, false);
_direction = _arg1;
_delta = _arg2;
_position = _arg3;
}
override public function clone():Event{
return (new ScrollEvent(_direction, _delta, _position));
}
public function get position():Number{
return (_position);
}
override public function toString():String{
return (formatToString("ScrollEvent", "type", "bubbles", "cancelable", "direction", "delta", "position"));
}
public function get delta():Number{
return (_delta);
}
public function get direction():String{
return (_direction);
}
}
}//package fl.events
Section 113
//FocusManager (fl.managers.FocusManager)
package fl.managers {
import flash.events.*;
import flash.display.*;
import fl.controls.*;
import flash.text.*;
import fl.core.*;
import flash.utils.*;
import flash.ui.*;
public class FocusManager implements IFocusManager {
private var focusableObjects:Dictionary;
private var _showFocusIndicator:Boolean;// = true
private var defButton:Button;
private var focusableCandidates:Array;
private var _form:DisplayObjectContainer;
private var _defaultButtonEnabled:Boolean;// = true
private var activated:Boolean;// = false
private var _defaultButton:Button;
private var calculateCandidates:Boolean;// = true
private var lastFocus:InteractiveObject;
private var lastAction:String;
public function FocusManager(_arg1:DisplayObjectContainer){
activated = false;
calculateCandidates = true;
_showFocusIndicator = true;
_defaultButtonEnabled = true;
super();
focusableObjects = new Dictionary(true);
if (_arg1 != null){
_form = _arg1;
addFocusables(DisplayObject(_arg1));
_arg1.addEventListener(Event.ADDED, addedHandler);
_arg1.addEventListener(Event.REMOVED, removedHandler);
activate();
};
}
public function get showFocusIndicator():Boolean{
return (_showFocusIndicator);
}
private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{
var _local5:int;
var _local6:int;
var _local7:DisplayObject;
var _local8:IFocusManagerGroup;
var _local9:int;
var _local10:DisplayObject;
var _local11:IFocusManagerGroup;
_local5 = focusableCandidates.length;
_local6 = _arg1;
while (true) {
if (_arg2){
_arg1--;
} else {
_arg1++;
};
if (_arg3){
if (((_arg2) && ((_arg1 < 0)))){
break;
};
if (((!(_arg2)) && ((_arg1 == _local5)))){
break;
};
} else {
_arg1 = ((_arg1 + _local5) % _local5);
if (_local6 == _arg1){
break;
};
};
if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){
_local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1]));
if ((_local7 is IFocusManagerGroup)){
_local8 = IFocusManagerGroup(_local7);
_local9 = 0;
while (_local9 < focusableCandidates.length) {
_local10 = focusableCandidates[_local9];
if ((_local10 is IFocusManagerGroup)){
_local11 = IFocusManagerGroup(_local10);
if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){
_arg1 = _local9;
break;
};
};
_local9++;
};
};
return (_arg1);
};
};
return (_arg1);
}
public function set form(_arg1:DisplayObjectContainer):void{
_form = _arg1;
}
private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{
var focusable:IFocusManagerComponent;
var io:InteractiveObject;
var doc:DisplayObjectContainer;
var i:int;
var child:DisplayObject;
var o = _arg1;
var skipTopLevel = _arg2;
if (!skipTopLevel){
if ((o is IFocusManagerComponent)){
focusable = IFocusManagerComponent(o);
if (focusable.focusEnabled){
if (((focusable.tabEnabled) && (isTabVisible(o)))){
focusableObjects[o] = true;
calculateCandidates = true;
};
o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
};
} else {
if ((o is InteractiveObject)){
io = (o as InteractiveObject);
if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){
focusableObjects[io] = true;
calculateCandidates = true;
};
io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
};
};
};
if ((o is DisplayObjectContainer)){
doc = DisplayObjectContainer(o);
o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler);
if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){
i = 0;
while (i < doc.numChildren) {
try {
child = doc.getChildAt(i);
if (child != null){
addFocusables(doc.getChildAt(i));
};
} catch(error:SecurityError) {
};
i = (i + 1);
};
};
};
}
private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{
return (_arg1.getChildIndex(_arg2));
}
private function mouseFocusChangeHandler(_arg1:FocusEvent):void{
if ((_arg1.relatedObject is TextField)){
return;
};
_arg1.preventDefault();
}
private function focusOutHandler(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
_local2 = (_arg1.target as InteractiveObject);
}
private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{
var _local3:IFocusManagerGroup;
if (!isEnabledAndVisible(_arg1)){
return (false);
};
if ((_arg1 is IFocusManagerGroup)){
_local3 = IFocusManagerGroup(_arg1);
if (_arg2 == _local3.groupName){
return (false);
};
};
return (true);
}
public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{
var _local2:InteractiveObject;
_local2 = _arg1;
while (_arg1) {
if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){
return (_arg1);
};
_arg1 = _arg1.parent;
};
return (_local2);
}
private function sortFocusableObjectsTabIndex():void{
var _local1:Object;
var _local2:InteractiveObject;
focusableCandidates = [];
for (_local1 in focusableObjects) {
_local2 = InteractiveObject(_local1);
if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){
focusableCandidates.push(_local2);
};
};
focusableCandidates.sort(sortByTabIndex);
}
private function removeFocusables(_arg1:DisplayObject):void{
var _local2:Object;
var _local3:DisplayObject;
if ((_arg1 is DisplayObjectContainer)){
_arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler);
_arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
for (_local2 in focusableObjects) {
_local3 = DisplayObject(_local2);
if (DisplayObjectContainer(_arg1).contains(_local3)){
if (_local3 == lastFocus){
lastFocus = null;
};
_local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
delete focusableObjects[_local2];
calculateCandidates = true;
};
};
};
}
private function addedHandler(_arg1:Event):void{
var _local2:DisplayObject;
_local2 = DisplayObject(_arg1.target);
if (_local2.stage){
addFocusables(DisplayObject(_arg1.target));
};
}
private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{
while (_arg1 != InteractiveObject(form)) {
if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){
return (_arg1);
};
_arg1 = _arg1.parent;
if (_arg1 == null){
break;
};
};
return (null);
}
private function tabChildrenChangeHandler(_arg1:Event):void{
var _local2:DisplayObjectContainer;
if (_arg1.target != _arg1.currentTarget){
return;
};
calculateCandidates = true;
_local2 = DisplayObjectContainer(_arg1.target);
if (_local2.tabChildren){
addFocusables(_local2, true);
} else {
removeFocusables(_local2);
};
}
public function sendDefaultButtonEvent():void{
defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
}
public function getFocus():InteractiveObject{
var _local1:InteractiveObject;
_local1 = form.stage.focus;
return (findFocusManagerComponent(_local1));
}
private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{
var _local2:DisplayObjectContainer;
var _local3:TextField;
var _local4:SimpleButton;
_local2 = DisplayObject(form).parent;
while (_arg1 != _local2) {
if ((_arg1 is UIComponent)){
if (!UIComponent(_arg1).enabled){
return (false);
};
} else {
if ((_arg1 is TextField)){
_local3 = TextField(_arg1);
if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){
return (false);
};
} else {
if ((_arg1 is SimpleButton)){
_local4 = SimpleButton(_arg1);
if (!_local4.enabled){
return (false);
};
};
};
};
if (!_arg1.visible){
return (false);
};
_arg1 = _arg1.parent;
};
return (true);
}
public function set defaultButton(_arg1:Button):void{
var _local2:Button;
_local2 = (_arg1) ? Button(_arg1) : null;
if (_local2 != _defaultButton){
if (_defaultButton){
_defaultButton.emphasized = false;
};
if (defButton){
defButton.emphasized = false;
};
_defaultButton = _local2;
defButton = _local2;
if (_local2){
_local2.emphasized = true;
};
};
}
private function deactivateHandler(_arg1:Event):void{
var _local2:InteractiveObject;
_local2 = InteractiveObject(_arg1.target);
}
public function setFocus(_arg1:InteractiveObject):void{
if ((_arg1 is IFocusManagerComponent)){
IFocusManagerComponent(_arg1).setFocus();
} else {
form.stage.focus = _arg1;
};
}
private function setFocusToNextObject(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
if (!hasFocusableObjects()){
return;
};
_local2 = getNextFocusManagerComponent(_arg1.shiftKey);
if (_local2){
setFocus(_local2);
};
}
private function hasFocusableObjects():Boolean{
var _local1:Object;
for (_local1 in focusableObjects) {
return (true);
};
return (false);
}
private function tabIndexChangeHandler(_arg1:Event):void{
calculateCandidates = true;
}
private function sortFocusableObjects():void{
var _local1:Object;
var _local2:InteractiveObject;
focusableCandidates = [];
for (_local1 in focusableObjects) {
_local2 = InteractiveObject(_local1);
if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){
sortFocusableObjectsTabIndex();
return;
};
focusableCandidates.push(_local2);
};
focusableCandidates.sort(sortByDepth);
}
private function keyFocusChangeHandler(_arg1:FocusEvent):void{
showFocusIndicator = true;
if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){
setFocusToNextObject(_arg1);
_arg1.preventDefault();
};
}
private function getIndexOfFocusedObject(_arg1:DisplayObject):int{
var _local2:int;
var _local3:int;
_local2 = focusableCandidates.length;
_local3 = 0;
_local3 = 0;
while (_local3 < _local2) {
if (focusableCandidates[_local3] == _arg1){
return (_local3);
};
_local3++;
};
return (-1);
}
public function hideFocus():void{
}
private function removedHandler(_arg1:Event):void{
var _local2:int;
var _local3:DisplayObject;
var _local4:InteractiveObject;
_local3 = DisplayObject(_arg1.target);
if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){
if (_local3 == lastFocus){
IFocusManagerComponent(lastFocus).drawFocus(false);
lastFocus = null;
};
_local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
delete focusableObjects[_local3];
calculateCandidates = true;
} else {
if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){
_local4 = (_local3 as InteractiveObject);
if (_local4){
if (_local4 == lastFocus){
lastFocus = null;
};
delete focusableObjects[_local4];
calculateCandidates = true;
};
_local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
};
};
removeFocusables(_local3);
}
private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:String;
var _local7:String;
var _local8:String;
var _local9:DisplayObject;
var _local10:DisplayObject;
_local3 = "";
_local4 = "";
_local8 = "0000";
_local9 = DisplayObject(_arg1);
_local10 = DisplayObject(_arg2);
while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) {
_local5 = getChildIndex(_local9.parent, _local9);
_local6 = _local5.toString(16);
if (_local6.length < 4){
_local7 = (_local8.substring(0, (4 - _local6.length)) + _local6);
};
_local3 = (_local7 + _local3);
_local9 = _local9.parent;
};
while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) {
_local5 = getChildIndex(_local10.parent, _local10);
_local6 = _local5.toString(16);
if (_local6.length < 4){
_local7 = (_local8.substring(0, (4 - _local6.length)) + _local6);
};
_local4 = (_local7 + _local4);
_local10 = _local10.parent;
};
return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0);
}
public function get defaultButton():Button{
return (_defaultButton);
}
private function activateHandler(_arg1:Event):void{
var _local2:InteractiveObject;
_local2 = InteractiveObject(_arg1.target);
if (lastFocus){
if ((lastFocus is IFocusManagerComponent)){
IFocusManagerComponent(lastFocus).setFocus();
} else {
form.stage.focus = lastFocus;
};
};
lastAction = "ACTIVATE";
}
public function showFocus():void{
}
public function set defaultButtonEnabled(_arg1:Boolean):void{
_defaultButtonEnabled = _arg1;
}
public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{
var _local2:DisplayObject;
var _local3:String;
var _local4:int;
var _local5:Boolean;
var _local6:int;
var _local7:int;
var _local8:IFocusManagerGroup;
if (!hasFocusableObjects()){
return (null);
};
if (calculateCandidates){
sortFocusableObjects();
calculateCandidates = false;
};
_local2 = form.stage.focus;
_local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2)));
_local3 = "";
if ((_local2 is IFocusManagerGroup)){
_local8 = IFocusManagerGroup(_local2);
_local3 = _local8.groupName;
};
_local4 = getIndexOfFocusedObject(_local2);
_local5 = false;
_local6 = _local4;
if (_local4 == -1){
if (_arg1){
_local4 = focusableCandidates.length;
};
_local5 = true;
};
_local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3);
return (findFocusManagerComponent(focusableCandidates[_local7]));
}
private function mouseDownHandler(_arg1:MouseEvent):void{
var _local2:InteractiveObject;
if (_arg1.isDefaultPrevented()){
return;
};
_local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target));
if (!_local2){
return;
};
showFocusIndicator = false;
if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){
setFocus(_local2);
};
lastAction = "MOUSEDOWN";
}
private function isTabVisible(_arg1:DisplayObject):Boolean{
var _local2:DisplayObjectContainer;
_local2 = _arg1.parent;
while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) {
if (!_local2.tabChildren){
return (false);
};
_local2 = _local2.parent;
};
return (true);
}
public function get nextTabIndex():int{
return (0);
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.TAB){
lastAction = "KEY";
if (calculateCandidates){
sortFocusableObjects();
calculateCandidates = false;
};
};
if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){
sendDefaultButtonEvent();
};
}
private function focusInHandler(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
var _local3:Button;
_local2 = InteractiveObject(_arg1.target);
if (form.contains(_local2)){
lastFocus = findFocusManagerComponent(InteractiveObject(_local2));
if ((lastFocus is Button)){
_local3 = Button(lastFocus);
if (defButton){
defButton.emphasized = false;
defButton = _local3;
_local3.emphasized = true;
};
} else {
if (((defButton) && (!((defButton == _defaultButton))))){
defButton.emphasized = false;
defButton = _defaultButton;
_defaultButton.emphasized = true;
};
};
};
}
private function tabEnabledChangeHandler(_arg1:Event):void{
var _local2:InteractiveObject;
var _local3:Boolean;
calculateCandidates = true;
_local2 = InteractiveObject(_arg1.target);
_local3 = (focusableObjects[_local2] == true);
if (_local2.tabEnabled){
if (((!(_local3)) && (isTabVisible(_local2)))){
if (!(_local2 is IFocusManagerComponent)){
_local2.focusRect = false;
};
focusableObjects[_local2] = true;
};
} else {
if (_local3){
delete focusableObjects[_local2];
};
};
}
public function set showFocusIndicator(_arg1:Boolean):void{
_showFocusIndicator = _arg1;
}
public function get form():DisplayObjectContainer{
return (_form);
}
private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{
return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2));
}
public function activate():void{
if (activated){
return;
};
form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true);
form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true);
form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true);
form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true);
form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true);
form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true);
form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true);
activated = true;
if (lastFocus){
setFocus(lastFocus);
};
}
public function deactivate():void{
form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler);
form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler);
form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true);
form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true);
form.stage.removeEventListener(Event.ACTIVATE, activateHandler);
form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler);
form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true);
activated = false;
}
public function get defaultButtonEnabled():Boolean{
return (_defaultButtonEnabled);
}
}
}//package fl.managers
Section 114
//IFocusManager (fl.managers.IFocusManager)
package fl.managers {
import flash.display.*;
import fl.controls.*;
public interface IFocusManager {
function getFocus():InteractiveObject;
function deactivate():void;
function set defaultButton(_arg1:Button):void;
function set showFocusIndicator(_arg1:Boolean):void;
function get defaultButtonEnabled():Boolean;
function get nextTabIndex():int;
function get defaultButton():Button;
function get showFocusIndicator():Boolean;
function setFocus(_arg1:InteractiveObject):void;
function activate():void;
function showFocus():void;
function set defaultButtonEnabled(_arg1:Boolean):void;
function hideFocus():void;
function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject;
function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject;
}
}//package fl.managers
Section 115
//IFocusManagerComponent (fl.managers.IFocusManagerComponent)
package fl.managers {
public interface IFocusManagerComponent {
function set focusEnabled(_arg1:Boolean):void;
function drawFocus(_arg1:Boolean):void;
function setFocus():void;
function get focusEnabled():Boolean;
function get tabEnabled():Boolean;
function get tabIndex():int;
function get mouseFocusEnabled():Boolean;
}
}//package fl.managers
Section 116
//IFocusManagerGroup (fl.managers.IFocusManagerGroup)
package fl.managers {
public interface IFocusManagerGroup {
function set groupName(_arg1:String):void;
function set selected(_arg1:Boolean):void;
function get groupName():String;
function get selected():Boolean;
}
}//package fl.managers
Section 117
//StyleManager (fl.managers.StyleManager)
package fl.managers {
import flash.text.*;
import fl.core.*;
import flash.utils.*;
public class StyleManager {
private var globalStyles:Object;
private var classToDefaultStylesDict:Dictionary;
private var styleToClassesHash:Object;
private var classToStylesDict:Dictionary;
private var classToInstancesDict:Dictionary;
private static var _instance:StyleManager;
public function StyleManager(){
styleToClassesHash = {};
classToInstancesDict = new Dictionary(true);
classToStylesDict = new Dictionary(true);
classToDefaultStylesDict = new Dictionary(true);
globalStyles = UIComponent.getStyleDefinition();
}
public static function clearComponentStyle(_arg1:Object, _arg2:String):void{
var _local3:Class;
var _local4:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance().classToStylesDict[_local3];
if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){
delete _local4[_arg2];
invalidateComponentStyle(_local3, _arg2);
};
}
private static function getClassDef(_arg1:Object):Class{
var component = _arg1;
if ((component is Class)){
return ((component as Class));
};
try {
return ((getDefinitionByName(getQualifiedClassName(component)) as Class));
} catch(e:Error) {
if ((component is UIComponent)){
try {
return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class));
} catch(e:Error) {
};
};
};
return (null);
}
public static function clearStyle(_arg1:String):void{
setStyle(_arg1, null);
}
public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{
var _local4:Class;
var _local5:Object;
_local4 = getClassDef(_arg1);
_local5 = getInstance().classToStylesDict[_local4];
if (_local5 == null){
_local5 = (getInstance().classToStylesDict[_local4] = {});
};
if (_local5 == _arg3){
return;
};
_local5[_arg2] = _arg3;
invalidateComponentStyle(_local4, _arg2);
}
private static function setSharedStyles(_arg1:UIComponent):void{
var _local2:StyleManager;
var _local3:Class;
var _local4:Object;
var _local5:String;
_local2 = getInstance();
_local3 = getClassDef(_arg1);
_local4 = _local2.classToDefaultStylesDict[_local3];
for (_local5 in _local4) {
_arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5));
};
}
public static function getComponentStyle(_arg1:Object, _arg2:String):Object{
var _local3:Class;
var _local4:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance().classToStylesDict[_local3];
return (((_local4)==null) ? null : _local4[_arg2]);
}
private static function getInstance(){
if (_instance == null){
_instance = new (StyleManager);
};
return (_instance);
}
private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{
var _local3:Dictionary;
var _local4:Object;
var _local5:UIComponent;
_local3 = getInstance().classToInstancesDict[_arg1];
if (_local3 == null){
return;
};
for (_local4 in _local3) {
_local5 = (_local4 as UIComponent);
if (_local5 == null){
} else {
_local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2));
};
};
}
private static function invalidateStyle(_arg1:String):void{
var _local2:Dictionary;
var _local3:Object;
_local2 = getInstance().styleToClassesHash[_arg1];
if (_local2 == null){
return;
};
for (_local3 in _local2) {
invalidateComponentStyle(Class(_local3), _arg1);
};
}
public static function registerInstance(_arg1:UIComponent):void{
var inst:StyleManager;
var classDef:Class;
var target:Class;
var defaultStyles:Object;
var styleToClasses:Object;
var n:String;
var instance = _arg1;
inst = getInstance();
classDef = getClassDef(instance);
if (classDef == null){
return;
};
if (inst.classToInstancesDict[classDef] == null){
inst.classToInstancesDict[classDef] = new Dictionary(true);
target = classDef;
while (defaultStyles == null) {
if (target["getStyleDefinition"] != null){
defaultStyles = target["getStyleDefinition"]();
break;
};
try {
target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class);
} catch(err:Error) {
try {
target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class);
} catch(e:Error) {
defaultStyles = UIComponent.getStyleDefinition();
break;
};
};
};
styleToClasses = inst.styleToClassesHash;
for (n in defaultStyles) {
if (styleToClasses[n] == null){
styleToClasses[n] = new Dictionary(true);
};
styleToClasses[n][classDef] = true;
};
inst.classToDefaultStylesDict[classDef] = defaultStyles;
inst.classToStylesDict[classDef] = {};
};
inst.classToInstancesDict[classDef][instance] = true;
setSharedStyles(instance);
}
public static function getStyle(_arg1:String):Object{
return (getInstance().globalStyles[_arg1]);
}
private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{
var _local3:Class;
var _local4:StyleManager;
var _local5:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance();
_local5 = _local4.classToStylesDict[_local3][_arg2];
if (_local5 != null){
return (_local5);
};
_local5 = _local4.globalStyles[_arg2];
if (_local5 != null){
return (_local5);
};
return (_local4.classToDefaultStylesDict[_local3][_arg2]);
}
public static function setStyle(_arg1:String, _arg2:Object):void{
var _local3:Object;
_local3 = getInstance().globalStyles;
if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
_local3[_arg1] = _arg2;
invalidateStyle(_arg1);
}
}
}//package fl.managers
Section 118
//Back (gs.easing.Back)
package gs.easing {
public class Back {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2));
};
_arg1 = (_arg1 - 2);
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2));
}
}
}//package gs.easing
Section 119
//TweenEvent (gs.events.TweenEvent)
package gs.events {
import flash.events.*;
public class TweenEvent extends Event {
public var info:Object;
public static const UPDATE:String = "update";
public static const START:String = "start";
public static const version:Number = 0.9;
public static const COMPLETE:String = "complete";
public function TweenEvent(_arg1:String, _arg2:Object=null, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.info = _arg2;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.info, this.bubbles, this.cancelable));
}
}
}//package gs.events
Section 120
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _tweenVisible:Boolean;
protected var _tween:TweenLite;
protected var _visible:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
this.onComplete = onCompleteTween;
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
if (((!((_target.visible == true))) && (_tweenVisible))){
_target.visible = true;
};
}
public function onCompleteTween():void{
if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(!((_arg2 == 0)));
_tweenVisible = true;
addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha");
return (true);
}
override public function killProps(_arg1:Object):void{
super.killProps(_arg1);
_tweenVisible = !(Boolean(("visible" in _arg1)));
}
}
}//package gs.plugins
Section 121
//BevelFilterPlugin (gs.plugins.BevelFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class BevelFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BevelFilterPlugin(){
this.propName = "bevelFilter";
this.overwriteProps = ["bevelFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BevelFilter;
initFilter(_arg2, new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_arg2.quality) || (2))));
return (true);
}
}
}//package gs.plugins
Section 122
//BezierPlugin (gs.plugins.BezierPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class BezierPlugin extends TweenPlugin {
protected var _future:Object;
protected var _orient:Boolean;
protected var _orientData:Array;
protected var _beziers:Object;
protected var _target:Object;
protected static const _RAD2DEG:Number = 57.2957795130823;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function BezierPlugin(){
_future = {};
super();
this.propName = "bezier";
this.overwriteProps = [];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:String;
var _local4:Object;
var _local5:Number;
var _local6:uint;
var _local7:Number;
var _local8:int;
var _local9:Object;
var _local10:Boolean;
var _local11:Number;
var _local12:Number;
var _local13:Array;
var _local14:Number;
if (_arg1 == 1){
for (_local3 in _beziers) {
_local2 = (_beziers[_local3].length - 1);
_target[_local3] = _beziers[_local3][_local2][2];
};
} else {
for (_local3 in _beziers) {
_local6 = _beziers[_local3].length;
if (_arg1 < 0){
_local2 = 0;
} else {
if (_arg1 >= 1){
_local2 = (_local6 - 1);
} else {
_local2 = int((_local6 * _arg1));
};
};
_local5 = ((_arg1 - (_local2 * (1 / _local6))) * _local6);
_local4 = _beziers[_local3][_local2];
if (this.round){
_local7 = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0])))));
_local8 = ((_local7)<0) ? -1 : 1;
_target[_local3] = ((((_local7 % 1) * _local8))>0.5) ? (int(_local7) + _local8) : int(_local7);
} else {
_target[_local3] = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0])))));
};
};
};
if (_orient){
_local9 = _target;
_local10 = this.round;
_target = _future;
this.round = false;
_orient = false;
this.changeFactor = (_arg1 + 0.01);
_target = _local9;
this.round = _local10;
_orient = true;
_local2 = 0;
while (_local2 < _orientData.length) {
_local13 = _orientData[_local2];
_local14 = ((_local13[3]) || (0));
_local11 = (_future[_local13[0]] - _target[_local13[0]]);
_local12 = (_future[_local13[1]] - _target[_local13[1]]);
_target[_local13[2]] = ((Math.atan2(_local12, _local11) * _RAD2DEG) + _local14);
_local2++;
};
};
}
protected function init(_arg1:TweenLite, _arg2:Array, _arg3:Boolean):void{
var _local4:Object;
var _local5:int;
var _local6:String;
_target = _arg1.target;
if (_arg1.exposedVars.orientToBezier == true){
_orientData = [["x", "y", "rotation", 0]];
_orient = true;
} else {
if ((_arg1.exposedVars.orientToBezier is Array)){
_orientData = _arg1.exposedVars.orientToBezier;
_orient = true;
};
};
_local4 = {};
_local5 = 0;
while (_local5 < _arg2.length) {
for (_local6 in _arg2[_local5]) {
if (_local4[_local6] == undefined){
_local4[_local6] = [_arg1.target[_local6]];
};
if (typeof(_arg2[_local5][_local6]) == "number"){
_local4[_local6].push(_arg2[_local5][_local6]);
} else {
_local4[_local6].push((_arg1.target[_local6] + Number(_arg2[_local5][_local6])));
};
};
_local5++;
};
for (_local6 in _local4) {
this.overwriteProps[this.overwriteProps.length] = _local6;
if (_arg1.exposedVars[_local6] != undefined){
if (typeof(_arg1.exposedVars[_local6]) == "number"){
_local4[_local6].push(_arg1.exposedVars[_local6]);
} else {
_local4[_local6].push((_arg1.target[_local6] + Number(_arg1.exposedVars[_local6])));
};
delete _arg1.exposedVars[_local6];
_local5 = (_arg1.tweens.length - 1);
while (_local5 > -1) {
if (_arg1.tweens[_local5].name == _local6){
_arg1.tweens.splice(_local5, 1);
};
_local5--;
};
};
};
_beziers = parseBeziers(_local4, _arg3);
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg2 is Array)){
return (false);
};
init(_arg3, (_arg2 as Array), false);
return (true);
}
override public function killProps(_arg1:Object):void{
var _local2:String;
for (_local2 in _beziers) {
if ((_local2 in _arg1)){
delete _beziers[_local2];
};
};
super.killProps(_arg1);
}
public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{
var _local3:int;
var _local4:Array;
var _local5:Object;
var _local6:String;
var _local7:Object;
_local7 = {};
if (_arg2){
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 2){
_local5[_local5.length] = [_local4[0], (_local4[1] - ((_local4[2] - _local4[0]) / 4)), _local4[1]];
_local3 = 1;
while (_local3 < (_local4.length - 1)) {
_local5[_local5.length] = [_local4[_local3], (_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)][1])), _local4[(_local3 + 1)]];
_local3++;
};
} else {
_local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]];
};
};
} else {
for (_local6 in _arg1) {
_local4 = _arg1[_local6];
_local5 = [];
_local7[_local6] = _local5;
if (_local4.length > 3){
_local5[_local5.length] = [_local4[0], _local4[1], ((_local4[1] + _local4[2]) / 2)];
_local3 = 2;
while (_local3 < (_local4.length - 2)) {
_local5[_local5.length] = [_local5[(_local3 - 2)][2], _local4[_local3], ((_local4[_local3] + _local4[(_local3 + 1)]) / 2)];
_local3++;
};
_local5[_local5.length] = [_local5[(_local5.length - 1)][2], _local4[(_local4.length - 2)], _local4[(_local4.length - 1)]];
} else {
if (_local4.length == 3){
_local5[_local5.length] = [_local4[0], _local4[1], _local4[2]];
} else {
if (_local4.length == 2){
_local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]];
};
};
};
};
};
return (_local7);
}
}
}//package gs.plugins
Section 123
//BezierThroughPlugin (gs.plugins.BezierThroughPlugin)
package gs.plugins {
import gs.*;
public class BezierThroughPlugin extends BezierPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BezierThroughPlugin(){
this.propName = "bezierThrough";
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (!(_arg2 is Array)){
return (false);
};
init(_arg3, (_arg2 as Array), true);
return (true);
}
}
}//package gs.plugins
Section 124
//BlurFilterPlugin (gs.plugins.BlurFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class BlurFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function BlurFilterPlugin(){
this.propName = "blurFilter";
this.overwriteProps = ["blurFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = BlurFilter;
initFilter(_arg2, new BlurFilter(0, 0, ((_arg2.quality) || (2))));
return (true);
}
}
}//package gs.plugins
Section 125
//ColorMatrixFilterPlugin (gs.plugins.ColorMatrixFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class ColorMatrixFilterPlugin extends FilterPlugin {
protected var _matrix:Array;
protected var _matrixTween:EndArrayPlugin;
public static const API:Number = 1;
public static const VERSION:Number = 1.01;
protected static var _lumG:Number = 0.71516;
protected static var _lumR:Number = 0.212671;
protected static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
protected static var _lumB:Number = 0.072169;
public function ColorMatrixFilterPlugin(){
this.propName = "colorMatrixFilter";
this.overwriteProps = ["colorMatrixFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:Object;
var _local5:Array;
_target = _arg1;
_type = ColorMatrixFilter;
_local4 = _arg2;
initFilter({}, new ColorMatrixFilter(_idMatrix.slice()));
_matrix = ColorMatrixFilter(_filter).matrix;
_local5 = [];
if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){
_local5 = _local4.matrix;
} else {
if (_local4.relative == true){
_local5 = _matrix.slice();
} else {
_local5 = _idMatrix.slice();
};
_local5 = setBrightness(_local5, _local4.brightness);
_local5 = setContrast(_local5, _local4.contrast);
_local5 = setHue(_local5, _local4.hue);
_local5 = setSaturation(_local5, _local4.saturation);
_local5 = setThreshold(_local5, _local4.threshold);
if (!isNaN(_local4.colorize)){
_local5 = colorize(_local5, _local4.colorize, _local4.amount);
};
};
_matrixTween = new EndArrayPlugin();
_matrixTween.init(_matrix, _local5);
return (true);
}
override public function set changeFactor(_arg1:Number):void{
_matrixTween.changeFactor = _arg1;
ColorMatrixFilter(_filter).matrix = _matrix;
super.changeFactor = _arg1;
}
public static function setSaturation(_arg1:Array, _arg2:Number):Array{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Array;
if (isNaN(_arg2)){
return (_arg1);
};
_local3 = (1 - _arg2);
_local4 = (_local3 * _lumR);
_local5 = (_local3 * _lumG);
_local6 = (_local3 * _lumB);
_local7 = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local7, _arg1));
}
public static function setHue(_arg1:Array, _arg2:Number):Array{
var _local3:Number;
var _local4:Number;
var _local5:Array;
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 * (Math.PI / 180));
_local3 = Math.cos(_arg2);
_local4 = Math.sin(_arg2);
_local5 = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
return (applyMatrix(_local5, _arg1));
}
public static function setThreshold(_arg1:Array, _arg2:Number):Array{
var _local3:Array;
if (isNaN(_arg2)){
return (_arg1);
};
_local3 = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function applyMatrix(_arg1:Array, _arg2:Array):Array{
var _local3:Array;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (_arg2);
};
_local3 = [];
_local4 = 0;
_local5 = 0;
_local6 = 0;
while (_local6 < 4) {
_local7 = 0;
while (_local7 < 5) {
if (_local7 == 4){
_local5 = _arg1[(_local4 + 4)];
} else {
_local5 = 0;
};
_local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5);
_local7++;
};
_local4 = (_local4 + 5);
_local6++;
};
return (_local3);
}
public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Array;
if (isNaN(_arg2)){
return (_arg1);
};
if (isNaN(_arg3)){
_arg3 = 1;
};
_local4 = (((_arg2 >> 16) & 0xFF) / 0xFF);
_local5 = (((_arg2 >> 8) & 0xFF) / 0xFF);
_local6 = ((_arg2 & 0xFF) / 0xFF);
_local7 = (1 - _arg3);
_local8 = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local8, _arg1));
}
public static function setBrightness(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = ((_arg2 * 100) - 100);
return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1));
}
public static function setContrast(_arg1:Array, _arg2:Number):Array{
var _local3:Array;
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 + 0.01);
_local3 = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
}
}//package gs.plugins
Section 126
//DropShadowFilterPlugin (gs.plugins.DropShadowFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class DropShadowFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function DropShadowFilterPlugin(){
this.propName = "dropShadowFilter";
this.overwriteProps = ["dropShadowFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = DropShadowFilter;
initFilter(_arg2, new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout, _arg2.hideObject));
return (true);
}
}
}//package gs.plugins
Section 127
//EndArrayPlugin (gs.plugins.EndArrayPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _info:Array;
protected var _a:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:ArrayTweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_a[_local3.index] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function init(_arg1:Array, _arg2:Array):void{
var _local3:int;
_a = _arg1;
_local3 = (_arg2.length - 1);
while (_local3 > -1) {
if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){
_info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3]));
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (false);
};
init((_arg1 as Array), _arg2);
return (true);
}
}
}//package gs.plugins
Section 128
//FilterPlugin (gs.plugins.FilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
import gs.utils.tween.*;
public class FilterPlugin extends TweenPlugin {
protected var _index:int;
protected var _filter:BitmapFilter;
protected var _type:Class;
protected var _remove:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Array;
_local4 = _target.filters;
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
if (!(_local4[_index] is _type)){
_index = (_local4.length - 1);
_local2 = (_local4.length - 1);
while (_local2 > -1) {
if ((_local4[_local2] is _type)){
_index = _local2;
break;
};
_local2--;
};
};
_local4[_index] = _filter;
_target.filters = _local4;
}
public function onCompleteTween():void{
var _local1:int;
var _local2:Array;
if (_remove){
_local2 = _target.filters;
if (!(_local2[_index] is _type)){
_local1 = (_local2.length - 1);
while (_local1 > -1) {
if ((_local2[_local1] is _type)){
_local2.splice(_local1, 1);
break;
};
_local1--;
};
} else {
_local2.splice(_index, 1);
};
_target.filters = _local2;
};
}
protected function initFilter(_arg1:Object, _arg2:BitmapFilter):void{
var _local3:Array;
var _local4:String;
var _local5:int;
var _local6:HexColorsPlugin;
var _local7:Object;
_local3 = _target.filters;
_index = -1;
if (_arg1.index != null){
_index = _arg1.index;
} else {
_local5 = (_local3.length - 1);
while (_local5 > -1) {
if ((_local3[_local5] is _type)){
_index = _local5;
break;
};
_local5--;
};
};
if ((((((_index == -1)) || ((_local3[_index] == null)))) || ((_arg1.addFilter == true)))){
_index = ((_arg1.index)!=null) ? _arg1.index : _local3.length;
_local3[_index] = _arg2;
_target.filters = _local3;
};
_filter = _local3[_index];
_remove = Boolean((_arg1.remove == true));
if (_remove){
this.onComplete = onCompleteTween;
};
_local7 = ((_arg1.isTV)==true) ? _arg1.exposedVars : _arg1;
for (_local4 in _local7) {
if (((((((((!((_local4 in _filter))) || ((_filter[_local4] == _local7[_local4])))) || ((_local4 == "remove")))) || ((_local4 == "index")))) || ((_local4 == "addFilter")))){
} else {
if ((((((_local4 == "color")) || ((_local4 == "highlightColor")))) || ((_local4 == "shadowColor")))){
_local6 = new HexColorsPlugin();
_local6.initColor(_filter, _local4, _filter[_local4], _local7[_local4]);
_tweens[_tweens.length] = new TweenInfo(_local6, "changeFactor", 0, 1, _local4, false);
} else {
if ((((((((_local4 == "quality")) || ((_local4 == "inner")))) || ((_local4 == "knockout")))) || ((_local4 == "hideObject")))){
_filter[_local4] = _local7[_local4];
} else {
addTween(_filter, _local4, _filter[_local4], _local7[_local4], _local4);
};
};
};
};
}
}
}//package gs.plugins
Section 129
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class FramePlugin extends TweenPlugin {
public var frame:int;
protected var _target:MovieClip;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function FramePlugin(){
this.propName = "frame";
this.overwriteProps = ["frame"];
this.round = true;
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.gotoAndStop(this.frame);
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){
return (false);
};
_target = (_arg1 as MovieClip);
addTween(this, "frame", _target.currentFrame, _arg2, "frame");
return (true);
}
}
}//package gs.plugins
Section 130
//GlowFilterPlugin (gs.plugins.GlowFilterPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.filters.*;
public class GlowFilterPlugin extends FilterPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function GlowFilterPlugin(){
this.propName = "glowFilter";
this.overwriteProps = ["glowFilter"];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_type = GlowFilter;
initFilter(_arg2, new GlowFilter(0xFFFFFF, 0, 0, 0, ((_arg2.strength) || (1)), ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout));
return (true);
}
}
}//package gs.plugins
Section 131
//HexColorsPlugin (gs.plugins.HexColorsPlugin)
package gs.plugins {
import gs.*;
public class HexColorsPlugin extends TweenPlugin {
protected var _colors:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function HexColorsPlugin(){
this.propName = "hexColors";
this.overwriteProps = [];
_colors = [];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:Array;
_local2 = (_colors.length - 1);
while (_local2 > -1) {
_local3 = _colors[_local2];
_local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7])));
_local2--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
for (_local4 in _arg2) {
initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4]));
};
return (true);
}
override public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (_colors.length - 1);
while (_local2 > -1) {
if (_arg1[_colors[_local2][1]] != undefined){
_colors.splice(_local2, 1);
};
_local2--;
};
super.killProps(_arg1);
}
public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
if (_arg3 != _arg4){
_local5 = (_arg3 >> 16);
_local6 = ((_arg3 >> 8) & 0xFF);
_local7 = (_arg3 & 0xFF);
_colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)];
this.overwriteProps[this.overwriteProps.length] = _arg2;
};
}
}
}//package gs.plugins
Section 132
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin)
package gs.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function RemoveTintPlugin(){
this.propName = "removeTint";
}
}
}//package gs.plugins
Section 133
//RoundPropsPlugin (gs.plugins.RoundPropsPlugin)
package gs.plugins {
public class RoundPropsPlugin extends TweenPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function RoundPropsPlugin(){
this.propName = "roundProps";
this.overwriteProps = [];
this.round = true;
}
public function add(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{
addTween(_arg1, _arg2, _arg3, (_arg3 + _arg4), _arg2);
this.overwriteProps[this.overwriteProps.length] = _arg2;
}
}
}//package gs.plugins
Section 134
//ShortRotationPlugin (gs.plugins.ShortRotationPlugin)
package gs.plugins {
import gs.*;
public class ShortRotationPlugin extends TweenPlugin {
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function ShortRotationPlugin(){
this.propName = "shortRotation";
this.overwriteProps = [];
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:String;
if (typeof(_arg2) == "number"){
trace("WARNING: You appear to be using the old shortRotation syntax. Instead of passing a number, please pass an object with properties that correspond to the rotations values For example, TweenMax.to(mc, 2, {shortRotation:{rotationX:-170, rotationY:25}})");
return (false);
};
for (_local4 in _arg2) {
initRotation(_arg1, _local4, _arg1[_local4], _arg2[_local4]);
};
return (true);
}
public function initRotation(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{
var _local5:Number;
_local5 = ((_arg4 - _arg3) % 360);
if (((_arg4 - _arg3) % 360) != (_local5 % 180)){
_local5 = ((_local5)<0) ? (_local5 + 360) : (_local5 - 360);
};
addTween(_arg1, _arg2, _arg3, (_arg3 + _local5), _arg2);
this.overwriteProps[this.overwriteProps.length] = _arg2;
}
}
}//package gs.plugins
Section 135
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.geom.*;
import gs.utils.tween.*;
public class TintPlugin extends TweenPlugin {
protected var _ct:ColorTransform;
protected var _target:DisplayObject;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
this.propName = "tint";
this.overwriteProps = ["tint"];
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.transform.colorTransform = _ct;
}
public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{
var _local3:int;
var _local4:String;
_target = _arg1;
_ct = _target.transform.colorTransform;
_local3 = (_props.length - 1);
while (_local3 > -1) {
_local4 = _props[_local3];
if (_ct[_local4] != _arg2[_local4]){
_tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false);
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:ColorTransform;
if (!(_arg1 is DisplayObject)){
return (false);
};
_local4 = new ColorTransform();
if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){
_local4.color = uint(_arg2);
};
if (((!((_arg3.exposedVars.alpha == undefined))) || (!((_arg3.exposedVars.autoAlpha == undefined))))){
_local4.alphaMultiplier = ((_arg3.exposedVars.alpha)!=undefined) ? _arg3.exposedVars.alpha : _arg3.exposedVars.autoAlpha;
_arg3.killVars({alpha:1, autoAlpha:1});
} else {
_local4.alphaMultiplier = _arg1.alpha;
};
init((_arg1 as DisplayObject), _local4);
return (true);
}
}
}//package gs.plugins
Section 136
//TweenPlugin (gs.plugins.TweenPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class TweenPlugin {
public var overwriteProps:Array;
protected var _tweens:Array;
public var round:Boolean;
public var onComplete:Function;
public var propName:String;
protected var _changeFactor:Number;// = 0
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
_changeFactor = 0;
super();
}
protected function updateTweens(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_changeFactor = _arg1;
}
protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{
var _local6:Number;
if (_arg4 != null){
_local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4);
if (_local6 != 0){
_tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false);
};
};
}
public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (this.overwriteProps.length - 1);
while (_local2 > -1) {
if ((this.overwriteProps[_local2] in _arg1)){
this.overwriteProps.splice(_local2, 1);
};
_local2--;
};
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if ((_tweens[_local2].name in _arg1)){
_tweens.splice(_local2, 1);
};
_local2--;
};
}
public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName);
return (true);
}
public function get changeFactor():Number{
return (_changeFactor);
}
public static function activate(_arg1:Array):Boolean{
var _local2:int;
var _local3:Object;
_local2 = (_arg1.length - 1);
while (_local2 > -1) {
_local3 = new (_arg1[_local2]);
TweenLite.plugins[_local3.propName] = _arg1[_local2];
_local2--;
};
return (true);
}
}
}//package gs.plugins
Section 137
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class VisiblePlugin extends TweenPlugin {
protected var _tween:TweenLite;
protected var _visible:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VisiblePlugin(){
this.propName = "visible";
this.overwriteProps = ["visible"];
this.onComplete = onCompleteTween;
}
override public function set changeFactor(_arg1:Number):void{
if (_target.visible != true){
_target.visible = true;
};
}
public function onCompleteTween():void{
if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(_arg2);
return (true);
}
}
}//package gs.plugins
Section 138
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.media.*;
public class VolumePlugin extends TweenPlugin {
protected var _st:SoundTransform;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VolumePlugin(){
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.soundTransform = _st;
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = _arg1;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, _arg2, "volume");
return (Boolean(!((_tweens.length == 0))));
}
}
}//package gs.plugins
Section 139
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo)
package gs.utils.tween {
public class ArrayTweenInfo {
public var change:Number;
public var index:uint;
public var start:Number;
public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){
this.index = _arg1;
this.start = _arg2;
this.change = _arg3;
}
}
}//package gs.utils.tween
Section 140
//TweenInfo (gs.utils.tween.TweenInfo)
package gs.utils.tween {
public class TweenInfo {
public var start:Number;
public var name:String;
public var change:Number;
public var target:Object;
public var property:String;
public var isPlugin:Boolean;
public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
}
}
}//package gs.utils.tween
Section 141
//OverwriteManager (gs.OverwriteManager)
package gs {
import flash.utils.*;
import gs.utils.tween.*;
import flash.errors.*;
public class OverwriteManager {
public static const ALL:int = 1;
public static const NONE:int = 0;
public static const AUTO:int = 2;
public static const CONCURRENT:int = 3;
public static const version:Number = 3.11;
public static var mode:int;
public static var enabled:Boolean;
public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array):void{
var _local4:int;
var _local5:String;
var _local6:TweenInfo;
_local4 = (_arg3.length - 1);
while (_local4 > -1) {
_local6 = _arg3[_local4];
if ((_local6.name in _arg1)){
_arg3.splice(_local4, 1);
} else {
if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){
_local6.target.killProps(_arg1);
if (_local6.target.overwriteProps.length == 0){
_arg3.splice(_local4, 1);
};
};
};
_local4--;
};
for (_local5 in _arg1) {
delete _arg2[_local5];
};
}
public static function manageOverwrites(_arg1:TweenLite, _arg2:Array):void{
var _local3:Object;
var _local4:int;
var _local5:Number;
var _local6:Array;
var _local7:int;
var _local8:TweenLite;
var _local9:Array;
var _local10:Object;
var _local11:int;
var _local12:TweenInfo;
var _local13:Array;
_local3 = _arg1.vars;
_local4 = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite);
if ((((_local4 < 2)) || ((_arg2 == null)))){
return;
};
_local5 = _arg1.startTime;
_local6 = [];
_local7 = (_arg2.length - 1);
while (_local7 > -1) {
_local8 = _arg2[_local7];
if (((((!((_local8 == _arg1))) && ((_local8.startTime <= _local5)))) && (((_local8.startTime + ((_local8.duration * 1000) / _local8.combinedTimeScale)) > _local5)))){
_local6[_local6.length] = _local8;
};
_local7--;
};
if ((((_local6.length == 0)) || ((_arg1.tweens.length == 0)))){
return;
};
if (_local4 == AUTO){
_local9 = _arg1.tweens;
_local10 = {};
_local7 = (_local9.length - 1);
while (_local7 > -1) {
_local12 = _local9[_local7];
if (((_local12.isPlugin) && ((_local12.name == "_MULTIPLE_")))){
_local13 = _local12.target.overwriteProps;
_local11 = (_local13.length - 1);
while (_local11 > -1) {
_local10[_local13[_local11]] = true;
_local11--;
};
_local10[_local12.target.propName] = true;
} else {
_local10[_local12.name] = true;
};
_local7--;
};
_local7 = (_local6.length - 1);
while (_local7 > -1) {
killVars(_local10, _local6[_local7].exposedVars, _local6[_local7].tweens);
_local7--;
};
} else {
_local7 = (_local6.length - 1);
while (_local7 > -1) {
_local6[_local7].enabled = false;
_local7--;
};
};
}
public static function init(_arg1:int=2):int{
if (TweenLite.version < 10.04){
trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com.");
};
TweenLite.overwriteManager = OverwriteManager;
mode = _arg1;
enabled = true;
return (mode);
}
}
}//package gs
Section 142
//TweenLite (gs.TweenLite)
package gs {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import gs.utils.tween.*;
import gs.plugins.*;
public class TweenLite {
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _hasPlugins:Boolean;
public var started:Boolean;
public var initted:Boolean;
public var active:Boolean;
public var startTime:Number;
public var target:Object;
public var duration:Number;
public var gc:Boolean;
public var vars:Object;
public var ease:Function;
public var tweens:Array;
public var exposedVars:Object;
public var combinedTimeScale:Number;
public var initTime:Number;
public static const version:Number = 10.06;
private static var _timer:Timer = new Timer(2000);
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var currentTime:uint;
public static var masterList:Dictionary = new Dictionary(false);
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1};
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var timingSprite:Sprite = new Sprite();
public static var overwriteManager:Object;
private static var _tlInitted:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local4:int;
super();
if (_arg1 == null){
return;
};
if (!_tlInitted){
TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]);
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_tlInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
this.combinedTimeScale = ((_arg3.timeScale) || (1));
this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0))));
this.target = _arg1;
if (typeof(this.vars.ease) != "function"){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars;
this.tweens = [];
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
_local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if (((!((_arg1 in masterList))) || ((_local4 == 1)))){
masterList[_arg1] = [this];
} else {
masterList[_arg1].push(this);
};
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){
this.target.visible = this.exposedVars.visible;
};
};
}
public function set enabled(_arg1:Boolean):void{
var _local2:Array;
var _local3:Boolean;
var _local4:int;
if (_arg1){
if (!(this.target in masterList)){
masterList[this.target] = [this];
} else {
_local2 = masterList[this.target];
_local4 = (_local2.length - 1);
while (_local4 > -1) {
if (_local2[_local4] == this){
_local3 = true;
break;
};
_local4--;
};
if (!_local3){
_local2[_local2.length] = this;
};
};
};
this.gc = (_arg1) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public function clear():void{
this.tweens = [];
this.vars = (this.exposedVars = {ease:this.vars.ease});
_hasUpdate = false;
}
public function render(_arg1:uint):void{
var _local2:Number;
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
_local2 = ((_arg1 - this.startTime) * 0.001);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function initTweenVals():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:TweenInfo;
for (_local1 in this.exposedVars) {
if ((_local1 in _reservedProps)){
} else {
if ((_local1 in plugins)){
_local3 = new (plugins[_local1]);
if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
} else {
this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true);
_hasPlugins = true;
};
} else {
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
};
};
};
if (this.vars.runBackwards == true){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local4 = this.tweens[_local2];
this.tweens[_local2].start = (_local4.start + _local4.change);
_local4.change = -(_local4.change);
_local2--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.exposedVars, this.tweens);
};
}
public function complete(_arg1:Boolean=false):void{
var _local2:int;
if (!_arg1){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (_hasPlugins){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){
this.tweens[_local2].target.onComplete();
};
_local2--;
};
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function updateAll(_arg1:Event=null):void{
var _local2:uint;
var _local3:Dictionary;
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
_local2 = (currentTime = getTimer());
_local3 = masterList;
for each (_local4 in _local3) {
_local5 = (_local4.length - 1);
while (_local5 > -1) {
_local6 = _local4[_local5];
if (_local6.active){
_local6.render(_local2);
} else {
if (_local6.gc){
_local4.splice(_local5, 1);
} else {
if (_local2 >= _local6.startTime){
_local6.activate();
_local6.render(_local2);
};
};
};
_local5--;
};
};
}
public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{
if (_arg1 != null){
if (_arg2){
_arg1.clear();
};
_arg1.enabled = false;
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
if (((!((_arg1 == null))) && ((_arg1 in masterList)))){
_local3 = masterList[_arg1];
_local4 = (_local3.length - 1);
while (_local4 > -1) {
_local5 = _local3[_local4];
if (((_arg2) && (!(_local5.gc)))){
_local5.complete(false);
};
_local5.clear();
_local4--;
};
delete masterList[_arg1];
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
protected static function killGarbage(_arg1:TimerEvent):void{
var _local2:Dictionary;
var _local3:Object;
_local2 = masterList;
for (_local3 in _local2) {
if (_local2[_local3].length == 0){
delete _local2[_local3];
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 143
//TweenMax (gs.TweenMax)
package gs {
import flash.events.*;
import flash.utils.*;
import gs.utils.tween.*;
import gs.plugins.*;
import gs.events.*;
public class TweenMax extends TweenLite implements IEventDispatcher {
protected var _dispatcher:EventDispatcher;
protected var _callbacks:Object;
public var pauseTime:Number;
protected var _repeatCount:Number;
protected var _timeScale:Number;
public static const version:Number = 10.08;
public static var removeTween:Function = TweenLite.removeTween;
private static var _overwriteMode:int = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init();
;
protected static var _pausedTweens:Dictionary = new Dictionary(false);
protected static var _globalTimeScale:Number = 1;
public static var killTweensOf:Function = TweenLite.killTweensOf;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _activatedPlugins:Boolean = TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin, HexColorsPlugin, BlurFilterPlugin, ColorMatrixFilterPlugin, BevelFilterPlugin, DropShadowFilterPlugin, GlowFilterPlugin, RoundPropsPlugin, BezierPlugin, BezierThroughPlugin, ShortRotationPlugin]);
private static var _versionCheck:Boolean = ((TweenLite.version)<10.06) ? trace("TweenMax error! Please update your TweenLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com.") : true;
;
public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){
super(_arg1, _arg2, _arg3);
if (((!((this.combinedTimeScale == 1))) && ((this.target is TweenMax)))){
_timeScale = 1;
this.combinedTimeScale = _globalTimeScale;
} else {
_timeScale = this.combinedTimeScale;
this.combinedTimeScale = (this.combinedTimeScale * _globalTimeScale);
};
if (((!((this.combinedTimeScale == 1))) && (!((this.delay == 0))))){
this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale)));
};
if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){
initDispatcher();
if ((((_arg2 == 0)) && ((this.delay == 0)))){
onUpdateDispatcher();
onCompleteDispatcher();
};
};
_repeatCount = 0;
if (((!(isNaN(this.vars.yoyo))) || (!(isNaN(this.vars.loop))))){
this.vars.persist = true;
};
}
override public function set enabled(_arg1:Boolean):void{
if (!_arg1){
_pausedTweens[this] = null;
delete _pausedTweens[this];
};
super.enabled = _arg1;
if (_arg1){
this.combinedTimeScale = (_timeScale * _globalTimeScale);
};
}
public function set reversed(_arg1:Boolean):void{
if (this.reversed != _arg1){
reverse();
};
}
override public function render(_arg1:uint):void{
var _local2:Number;
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
_local2 = (((_arg1 - this.startTime) * 0.001) * this.combinedTimeScale);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
protected function adjustStartValues():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:TweenInfo;
var _local6:int;
_local1 = this.progress;
if (_local1 != 0){
_local2 = this.ease(_local1, 0, 1, 1);
_local3 = (1 / (1 - _local2));
_local6 = (this.tweens.length - 1);
while (_local6 > -1) {
_local5 = this.tweens[_local6];
_local4 = (_local5.start + _local5.change);
if (_local5.isPlugin){
_local5.change = ((_local4 - _local2) * _local3);
} else {
_local5.change = ((_local4 - _local5.target[_local5.property]) * _local3);
};
_local5.start = (_local4 - _local5.change);
_local6--;
};
};
}
public function get timeScale():Number{
return (_timeScale);
}
public function restart(_arg1:Boolean=false):void{
if (_arg1){
this.initTime = currentTime;
this.startTime = (currentTime + (this.delay * (1000 / this.combinedTimeScale)));
} else {
this.startTime = currentTime;
this.initTime = (currentTime - (this.delay * (1000 / this.combinedTimeScale)));
};
_repeatCount = 0;
if (this.target != this.vars.onComplete){
render(this.startTime);
};
this.pauseTime = NaN;
_pausedTweens[this] = null;
delete _pausedTweens[this];
this.enabled = true;
}
public function get paused():Boolean{
return (!(isNaN(this.pauseTime)));
}
public function killProperties(_arg1:Array):void{
var _local2:Object;
var _local3:int;
_local2 = {};
_local3 = (_arg1.length - 1);
while (_local3 > -1) {
_local2[_arg1[_local3]] = true;
_local3--;
};
killVars(_local2);
}
public function resume():void{
this.enabled = true;
if (!isNaN(this.pauseTime)){
this.initTime = (this.initTime + (currentTime - this.pauseTime));
this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale)));
this.pauseTime = NaN;
if (((!(this.started)) && ((currentTime >= this.startTime)))){
activate();
} else {
this.active = this.started;
};
_pausedTweens[this] = null;
delete _pausedTweens[this];
};
}
override public function complete(_arg1:Boolean=false):void{
if (((((!(isNaN(this.vars.yoyo))) && ((((_repeatCount < this.vars.yoyo)) || ((this.vars.yoyo == 0)))))) || (((!(isNaN(this.vars.loop))) && ((((_repeatCount < this.vars.loop)) || ((this.vars.loop == 0)))))))){
_repeatCount++;
if (!isNaN(this.vars.yoyo)){
this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease;
};
this.startTime = (_arg1) ? (this.startTime + (this.duration * (1000 / this.combinedTimeScale))) : currentTime;
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
} else {
if (this.vars.persist == true){
pause();
};
};
super.complete(_arg1);
}
public function invalidate(_arg1:Boolean=true):void{
var _local2:Number;
if (this.initted){
_local2 = this.progress;
if (((!(_arg1)) && (!((_local2 == 0))))){
this.progress = 0;
};
this.tweens = [];
_hasPlugins = false;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars;
initTweenVals();
_timeScale = ((this.vars.timeScale) || (1));
this.combinedTimeScale = (_timeScale * _globalTimeScale);
this.delay = ((this.vars.delay) || (0));
if (isNaN(this.pauseTime)){
this.startTime = (this.initTime + ((this.delay * 1000) / this.combinedTimeScale));
};
if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){
if (_dispatcher != null){
this.vars.onStart = _callbacks.onStart;
this.vars.onUpdate = _callbacks.onUpdate;
this.vars.onComplete = _callbacks.onComplete;
_dispatcher = null;
};
initDispatcher();
};
if (_local2 != 0){
if (_arg1){
adjustStartValues();
} else {
this.progress = _local2;
};
};
};
}
public function get progress():Number{
var _local1:Number;
var _local2:Number;
_local1 = (isNaN(this.pauseTime)) ? currentTime : this.pauseTime;
_local2 = (((((_local1 - this.initTime) * 0.001) - (this.delay / this.combinedTimeScale)) / this.duration) * this.combinedTimeScale);
if (_local2 > 1){
return (1);
};
if (_local2 < 0){
return (0);
};
return (_local2);
}
public function willTrigger(_arg1:String):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.willTrigger(_arg1));
}
public function dispatchEvent(_arg1:Event):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.dispatchEvent(_arg1));
}
public function get reversed():Boolean{
return ((this.ease == reverseEase));
}
protected function onStartDispatcher(... _args):void{
if (_callbacks.onStart != null){
_callbacks.onStart.apply(null, this.vars.onStartParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.START));
}
public function setDestination(_arg1:String, _arg2, _arg3:Boolean=true):void{
var _local4:Number;
var _local5:int;
var _local6:Object;
var _local7:Array;
var _local8:Boolean;
var _local9:Array;
var _local10:Object;
var _local11:int;
var _local12:Array;
_local4 = this.progress;
if (this.initted){
if (((!(_arg3)) && (!((_local4 == 0))))){
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
if (this.tweens[_local5].name == _arg1){
this.tweens[_local5].target[this.tweens[_local5].property] = this.tweens[_local5].start;
};
_local5--;
};
};
_local6 = this.vars;
_local7 = this.tweens;
_local8 = _hasPlugins;
this.tweens = [];
this.vars = (this.exposedVars = {});
this.vars[_arg1] = _arg2;
initTweenVals();
if (((!((this.ease == reverseEase))) && ((_local6.ease is Function)))){
this.ease = _local6.ease;
};
if (((_arg3) && (!((_local4 == 0))))){
adjustStartValues();
};
_local9 = this.tweens;
this.vars = _local6;
this.tweens = _local7;
_local10 = {};
_local5 = (_local9.length - 1);
while (_local5 > -1) {
if (_local9[_local5].name == "_MULTIPLE_"){
_local12 = _local9[_local5].target.overwriteProps;
_local11 = (_local12.length - 1);
while (_local11 > -1) {
_local10[_local12[_local11]] = true;
_local11--;
};
} else {
_local10[_local9[_local5].name] = true;
};
_local5--;
};
killVars(_local10);
this.tweens = this.tweens.concat(_local9);
_hasPlugins = Boolean(((_local8) || (_hasPlugins)));
};
this.vars[_arg1] = _arg2;
}
public function set timeScale(_arg1:Number):void{
if (_arg1 < 1E-5){
_arg1 = (_timeScale = 1E-5);
} else {
_timeScale = _arg1;
_arg1 = (_arg1 * _globalTimeScale);
};
this.initTime = ((currentTime - ((((currentTime - this.initTime) - (this.delay * (1000 / this.combinedTimeScale))) * this.combinedTimeScale) * (1 / _arg1))) - (this.delay * (1000 / _arg1)));
if (this.startTime != 999999999999999){
this.startTime = (this.initTime + (this.delay * (1000 / _arg1)));
};
this.combinedTimeScale = _arg1;
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (_dispatcher != null){
_dispatcher.removeEventListener(_arg1, _arg2, _arg3);
};
}
override public function initTweenVals():void{
var _local1:int;
var _local2:int;
var _local3:String;
var _local4:String;
var _local5:Array;
var _local6:Object;
var _local7:TweenInfo;
if (this.exposedVars.startAt != null){
this.exposedVars.startAt.overwrite = 0;
new TweenMax(this.target, 0, this.exposedVars.startAt);
};
super.initTweenVals();
if ((((this.exposedVars.roundProps is Array)) && (!((TweenLite.plugins.roundProps == null))))){
_local5 = this.exposedVars.roundProps;
_local1 = (_local5.length - 1);
while (_local1 > -1) {
_local3 = _local5[_local1];
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local7 = this.tweens[_local2];
if (_local7.name == _local3){
if (_local7.isPlugin){
_local7.target.round = true;
} else {
if (_local6 == null){
_local6 = new TweenLite.plugins.roundProps();
_local6.add(_local7.target, _local3, _local7.start, _local7.change);
_hasPlugins = true;
this.tweens[_local2] = new TweenInfo(_local6, "changeFactor", 0, 1, _local3, true);
} else {
_local6.add(_local7.target, _local3, _local7.start, _local7.change);
this.tweens.splice(_local2, 1);
};
};
} else {
if (((((_local7.isPlugin) && ((_local7.name == "_MULTIPLE_")))) && (!(_local7.target.round)))){
_local4 = ((" " + _local7.target.overwriteProps.join(" ")) + " ");
if (_local4.indexOf(((" " + _local3) + " ")) != -1){
_local7.target.round = true;
};
};
};
_local2--;
};
_local1--;
};
};
}
protected function initDispatcher():void{
var _local1:Object;
var _local2:String;
if (_dispatcher == null){
_dispatcher = new EventDispatcher(this);
_callbacks = {onStart:this.vars.onStart, onUpdate:this.vars.onUpdate, onComplete:this.vars.onComplete};
if (this.vars.isTV == true){
this.vars = this.vars.clone();
} else {
_local1 = {};
for (_local2 in this.vars) {
_local1[_local2] = this.vars[_local2];
};
this.vars = _local1;
};
this.vars.onStart = onStartDispatcher;
this.vars.onComplete = onCompleteDispatcher;
if ((this.vars.onStartListener is Function)){
_dispatcher.addEventListener(TweenEvent.START, this.vars.onStartListener, false, 0, true);
};
if ((this.vars.onUpdateListener is Function)){
_dispatcher.addEventListener(TweenEvent.UPDATE, this.vars.onUpdateListener, false, 0, true);
this.vars.onUpdate = onUpdateDispatcher;
_hasUpdate = true;
};
if ((this.vars.onCompleteListener is Function)){
_dispatcher.addEventListener(TweenEvent.COMPLETE, this.vars.onCompleteListener, false, 0, true);
};
};
}
protected function onUpdateDispatcher(... _args):void{
if (_callbacks.onUpdate != null){
_callbacks.onUpdate.apply(null, this.vars.onUpdateParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE));
}
public function set progress(_arg1:Number):void{
this.startTime = (currentTime - ((this.duration * _arg1) * 1000));
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
if (!this.started){
activate();
};
render(currentTime);
if (!isNaN(this.pauseTime)){
this.pauseTime = currentTime;
this.startTime = 999999999999999;
this.active = false;
};
}
public function reverse(_arg1:Boolean=true, _arg2:Boolean=true):void{
var _local3:Number;
this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease;
_local3 = this.progress;
if (((_arg1) && ((_local3 > 0)))){
this.startTime = (currentTime - ((((1 - _local3) * this.duration) * 1000) / this.combinedTimeScale));
this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale)));
};
if (_arg2 != false){
if (_local3 < 1){
resume();
} else {
restart();
};
};
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (_dispatcher == null){
initDispatcher();
};
if ((((_arg1 == TweenEvent.UPDATE)) && (!((this.vars.onUpdate == onUpdateDispatcher))))){
this.vars.onUpdate = onUpdateDispatcher;
_hasUpdate = true;
};
_dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public function set paused(_arg1:Boolean):void{
if (_arg1){
pause();
} else {
resume();
};
}
public function hasEventListener(_arg1:String):Boolean{
if (_dispatcher == null){
return (false);
};
return (_dispatcher.hasEventListener(_arg1));
}
public function pause():void{
if (isNaN(this.pauseTime)){
this.pauseTime = currentTime;
this.startTime = 999999999999999;
this.enabled = false;
_pausedTweens[this] = this;
};
}
public function reverseEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.ease((_arg4 - _arg1), _arg2, _arg3, _arg4));
}
protected function onCompleteDispatcher(... _args):void{
if (_callbacks.onComplete != null){
_callbacks.onComplete.apply(null, this.vars.onCompleteParams);
};
_dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE));
}
public static function set globalTimeScale(_arg1:Number):void{
setGlobalTimeScale(_arg1);
}
public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=false):void{
changePause(true, _arg1, _arg2);
}
public static function killAllDelayedCalls(_arg1:Boolean=false):void{
killAll(_arg1, false, true);
}
public static function setGlobalTimeScale(_arg1:Number):void{
var _local2:Dictionary;
var _local3:int;
var _local4:Array;
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
_local2 = masterList;
_globalTimeScale = _arg1;
for each (_local4 in _local2) {
_local3 = (_local4.length - 1);
while (_local3 > -1) {
if ((_local4[_local3] is TweenMax)){
_local4[_local3].timeScale = (_local4[_local3].timeScale * 1);
};
_local3--;
};
};
}
public static function get globalTimeScale():Number{
return (_globalTimeScale);
}
public static function getTweensOf(_arg1:Object):Array{
var _local2:Array;
var _local3:Array;
var _local4:TweenLite;
var _local5:int;
_local2 = masterList[_arg1];
_local3 = [];
if (_local2 != null){
_local5 = (_local2.length - 1);
while (_local5 > -1) {
if (!_local2[_local5].gc){
_local3[_local3.length] = _local2[_local5];
};
_local5--;
};
};
for each (_local4 in _pausedTweens) {
if (_local4.target == _arg1){
_local3[_local3.length] = _local4;
};
};
return (_local3);
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenMax{
return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, persist:_arg4, overwrite:0}));
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:Array;
var _local3:int;
_local2 = getTweensOf(_arg1);
_local3 = (_local2.length - 1);
while (_local3 > -1) {
if (((_local2[_local3].active) && (!(_local2[_local3].gc)))){
return (true);
};
_local3--;
};
return (false);
}
public static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{
var _local4:Array;
var _local5:Boolean;
var _local6:int;
_local4 = getAllTweens();
_local6 = (_local4.length - 1);
while (_local6 > -1) {
_local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete);
if ((((_local4[_local6] is TweenMax)) && ((((_local5 == _arg3)) || (!((_local5 == _arg2))))))){
_local4[_local6].paused = _arg1;
};
_local6--;
};
}
public static function killAllTweens(_arg1:Boolean=false):void{
killAll(_arg1, true, false);
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
_arg3.runBackwards = true;
return (new TweenMax(_arg1, _arg2, _arg3));
}
public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{
var _local4:Array;
var _local5:Boolean;
var _local6:int;
_local4 = getAllTweens();
_local6 = (_local4.length - 1);
while (_local6 > -1) {
_local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete);
if ((((_local5 == _arg3)) || (!((_local5 == _arg2))))){
if (_arg1){
_local4[_local6].complete(false);
_local4[_local6].clear();
} else {
TweenLite.removeTween(_local4[_local6], true);
};
};
_local6--;
};
}
public static function getAllTweens():Array{
var _local1:Dictionary;
var _local2:Array;
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
_local1 = masterList;
_local2 = [];
for each (_local3 in _local1) {
_local4 = (_local3.length - 1);
while (_local4 > -1) {
if (!_local3[_local4].gc){
_local2[_local2.length] = _local3[_local4];
};
_local4--;
};
};
for each (_local5 in _pausedTweens) {
_local2[_local2.length] = _local5;
};
return (_local2);
}
public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=false):void{
changePause(false, _arg1, _arg2);
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{
return (new TweenMax(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 144
//analyses (lib.analyses)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import spill.localisation.*;
import gs.*;
import flash.utils.*;
public class analyses extends MovieClip {
public var bar:BarCtrl;
public var bt0:SimpleButton;
public var bt1:SimpleButton;
public var bt2:SimpleButton;
private var wisdom_end:int;
public var sendtofriend:按钮邮件;
private var showLine_id:int;
public var tab:MovieClip;
public var InstanceName_0:MovieClip;
public var Moregames_Button:按钮_更多游戏;
public var __id25_:LocalizedTextField;
var resultLine1;
var resultLine2;
var resultLine3;
var resultImg3;
private var talisman_end;
public var talisman:MovieClip;
public var wisdom:MovieClip;
public var lineInfo:MovieClip;
var resultImg2;
public var Continue_Button:按钮tryagain;
var num;// = 1
public var img0:MovieClip;
public var img1:MovieClip;
public var img2:MovieClip;
var resultImg1;
private var lineList:Array;
public var lineInfo_img:MovieClip;
private var showLine:int;// = 0
public var talisman_txt:TextField;
public var __id26_:LocalizedTextField;
public function analyses(){
num = 1;
showLine = 0;
super();
addEventListener(Event.ADDED_TO_STAGE, _onload);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
__setProp___id25___1();
__setProp___id26___1();
}
function __setProp___id26___1(){
try {
__id26_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id26_.text = "{Analyses}";
__id26_.textColor = 0xFFFFFF;
__id26_.textSize = 15;
__id26_.bold = true;
__id26_.embedFonts = true;
__id26_.font = "微软雅黑";
__id26_.hAlign = "center";
__id26_.multiline = true;
__id26_.vAlign = "middle";
__id26_.antiAliasType = "normal";
__id26_.glowBlur = 3.5;
__id26_.glowColor = 6881626;
__id26_.useGlowFilter = true;
__id26_.glowQuality = 2;
__id26_.glowStrength = 20;
__id26_.gridFitType = "none";
__id26_.italic = false;
__id26_.selectable = false;
__id26_.underline = false;
try {
__id26_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onUnload(_arg1:Event){
clearInterval(showLine_id);
removeEventListener(Event.ADDED_TO_STAGE, _onload);
removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function drawline(_arg1:int, _arg2:int):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:int;
var _local9:Array;
var _local10:*;
var _local11:int;
var _local12:*;
_local3 = 0;
_local4 = 0;
_local5 = 334;
_local6 = 12;
_local7 = 199;
if (_arg1 == 0){
_local8 = 6724044;
} else {
if (_arg1 == 1){
_local8 = 0x66CC00;
} else {
if (_arg1 == 2){
_local8 = 0xFF6600;
};
};
};
_local9 = [[67, 67], [38, (67 + 38)], [17, ((67 + 38) + 17)]];
_local10 = new MovieClip();
addChild(_local10);
lineList[_arg1] = _local10;
if (_arg1 == 0){
TweenMax.to(_local10, 0.3, {glowFilter:{color:_local8, alpha:0.7, blurX:8, blurY:8, strength:3}});
};
_local11 = 0;
while (_local11 < 20) {
_local10.graphics.lineStyle(2, _local8);
_local3 = (_local3 + (((_local5 / 28) + int(((Math.random() * 10) + 1))) + _local6));
_local4 = ((_local9[_arg2][1] - (Math.random() * _local9[_arg2][0])) + _local7);
if (_local3 > _local5){
_local3 = (_local5 + _local6);
_local11 = 20;
};
if (_local11 == 0){
_local3 = _local6;
_local10.graphics.moveTo(_local3, _local4);
} else {
_local10.graphics.lineTo(_local3, _local4);
};
_local12 = new pointbase();
addChild(_local12);
_local12.gotoAndStop((_arg1 + 1));
_local12.x = _local3;
_local12.y = _local4;
_local11++;
};
}
function _onload(_arg1:Event):void{
var _local2:StyleSheet;
var _local3:*;
documenClass.hasPlayed = true;
lineList = [0, 0, 0];
if (documenClass._tracker_Outcome_screen){
documenClass._tracker_Outcome_screen = false;
documenClass._tracker.trackEvent(documenClass.gameName, "Outcome_screen", "per session", 0);
};
bar.txt_target = talisman_txt;
Continue_Button.addEventListener(MouseEvent.MOUSE_DOWN, _click);
sendtofriend.addEventListener(MouseEvent.MOUSE_DOWN, _click);
Moregames_Button.addEventListener(MouseEvent.MOUSE_DOWN, _click);
_local3 = 0;
while (_local3 < 3) {
this[("img" + _local3)].mouseChildren = false;
this[("img" + _local3)].mouseEnabled = false;
this[("bt" + _local3)].addEventListener(MouseEvent.ROLL_OVER, _over);
_local3++;
};
paintbrush.lineLength.sort(ord);
trace(paintbrush.lineLength[0]);
trace(paintbrush.lineLength[1]);
trace(paintbrush.lineLength[2]);
talisman_end = (int((Math.random() * 12)) + 1);
wisdom_end = (int((Math.random() * 16)) + 1);
talisman.gotoAndStop(talisman_end);
wisdom.gotoAndStop(wisdom_end);
_local2 = new StyleSheet();
_local2.setStyle("txt_yellow", {color:"#FFFF00"});
_local2.setStyle("txt_white", {color:"#FFFFFF"});
talisman_txt.styleSheet = _local2;
trace("读取0:", SpilGame.getString("Name:"));
trace("读取1:", SpilGame.getString(("name_" + talisman_end)));
trace("读取2:", SpilGame.getString("Special Power:"));
trace("读取3:", SpilGame.getString(("power_" + talisman_end)));
trace("读取4:", SpilGame.getString("Favorite food:"));
trace("读取5:", SpilGame.getString(("food_" + talisman_end)));
trace("读取6:", SpilGame.getString("Quote:"));
trace("读取7:", SpilGame.getString(("quote_" + talisman_end)));
talisman_txt.text = (((((((((((((((((("<txt_yellow>" + SpilGame.getString("Name:")) + "</txt_yellow>") + SpilGame.getString(("name_" + talisman_end))) + "\n") + "<txt_yellow>") + SpilGame.getString("Special Power:")) + "</txt_yellow>") + SpilGame.getString(("power_" + talisman_end))) + "\n") + "<txt_yellow>") + SpilGame.getString("Favorite food:")) + "</txt_yellow>") + SpilGame.getString(("food_" + talisman_end))) + "\n") + "<txt_yellow>") + SpilGame.getString("Quote:")) + "</txt_yellow>") + SpilGame.getString(("quote_" + talisman_end)));
_local3 = 0;
while (_local3 < paintbrush.lineLength.length) {
if (paintbrush.lineLength[_local3][0] == 0){
lineInfo_img.gotoAndStop(paintbrush.lineLength[_local3][1]);
lineInfo.gotoAndStop(((Number(paintbrush.lineLength[_local3][1]) * 10) + (Number(paintbrush.lineLength[_local3][0]) + 1)));
};
this[("img" + paintbrush.lineLength[_local3][0])].gotoAndStop(paintbrush.lineLength[_local3][1]);
drawline(paintbrush.lineLength[_local3][0], _local3);
_local3++;
};
userData.newTalisman(talisman_end);
showLine_id = setInterval(nextLine, 2000);
}
function __setProp___id25___1(){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.text = "{Todays_words_of_wisdom:}";
__id25_.textColor = 0xFFFFFF;
__id25_.textSize = 15;
__id25_.bold = true;
__id25_.embedFonts = true;
__id25_.font = "微软雅黑";
__id25_.hAlign = "left";
__id25_.multiline = true;
__id25_.vAlign = "middle";
__id25_.antiAliasType = "normal";
__id25_.glowBlur = 3.5;
__id25_.glowColor = 6881626;
__id25_.useGlowFilter = true;
__id25_.glowQuality = 2;
__id25_.glowStrength = 20;
__id25_.gridFitType = "none";
__id25_.italic = false;
__id25_.selectable = false;
__id25_.underline = false;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function nextLine(_arg1=-1){
var _local2:*;
var _local3:*;
var _local4:int;
_local2 = showLine;
if (_arg1 != -1){
_local2 = _arg1;
showLine = _arg1;
};
tab.gotoAndStop((_local2 + 1));
_local3 = 0;
while (_local3 < paintbrush.lineLength.length) {
if (paintbrush.lineLength[_local3][0] == _local2){
lineInfo_img.gotoAndStop(paintbrush.lineLength[_local3][1]);
lineInfo.gotoAndStop(((Number(paintbrush.lineLength[_local3][1]) * 10) + (Number(paintbrush.lineLength[_local3][0]) + 1)));
};
_local3++;
};
_local4 = 6724044;
if (_local2 == 0){
_local4 = 6724044;
} else {
if (_local2 == 1){
_local4 = 0x66CC00;
} else {
if (_local2 == 2){
_local4 = 0xFF6600;
};
};
};
_local3 = 0;
while (_local3 < 3) {
if (_local3 != _local2){
TweenMax.to(lineList[_local3], 0.3, {glowFilter:{color:_local4, alpha:0, blurX:0, blurY:0, remove:true}});
} else {
TweenMax.to(lineList[_local3], 0.3, {glowFilter:{color:_local4, alpha:0.7, blurX:8, blurY:8, strength:3}});
};
_local3++;
};
showLine++;
if (showLine > 2){
showLine = 0;
};
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_game_more);
break;
case "sendtofriend":
documenClass(MovieClip(parent).Root).ShowScreen("sendToFriend");
break;
case "Continue_Button":
documenClass(MovieClip(parent).Root).ShowScreen("intro2");
break;
case "next2":
if (wisdom.currentFrame < wisdom.totalFrames){
wisdom.nextFrame();
} else {
wisdom.gotoAndStop(1);
};
break;
case "next3":
lineInfo.play();
break;
case "next":
if (talisman.currentFrame < talisman.totalFrames){
talisman.nextFrame();
} else {
talisman.gotoAndStop(1);
};
talisman_end = talisman.currentFrame;
talisman_txt.text = (((((((((((((((((("<txt_yellow>" + SpilGame.getString("Name:")) + "</txt_yellow>") + SpilGame.getString(("name_" + talisman_end))) + "\n") + "<txt_yellow>") + SpilGame.getString("Special Power:")) + "</txt_yellow>") + SpilGame.getString(("power_" + talisman_end))) + "\n") + "<txt_yellow>") + SpilGame.getString("Favorite food:")) + "</txt_yellow>") + SpilGame.getString(("food_" + talisman_end))) + "\n") + "<txt_yellow>") + SpilGame.getString("Quote:")) + "</txt_yellow>") + SpilGame.getString(("quote_" + talisman_end)));
break;
default:
break;
};
}
private function ord(_arg1, _arg2){
if (_arg1[2] > _arg2[2]){
return (-1);
};
if (_arg1[2] < _arg2[2]){
return (1);
};
return (0);
}
private function _over(_arg1:MouseEvent){
var _local2:*;
clearInterval(showLine_id);
showLine_id = setInterval(nextLine, 2500);
_local2 = int(String(_arg1.target.name).replace(/bt/, ""));
nextLine(_local2);
}
}
}//package lib
Section 145
//BarCtrl (lib.BarCtrl)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.geom.*;
public class BarCtrl extends Sprite {
private var BAR_DRAG:String;// = "Bar_Drag"
public var bar:MovieClip;
private var txt:TextField;
public var bar_back:MovieClip;
private var maxHeight:Number;
private var mouseDown:Boolean;
public function BarCtrl(){
BAR_DRAG = "Bar_Drag";
super();
bar.addEventListener(MouseEvent.MOUSE_DOWN, _mouseDown);
bar.buttonMode = true;
stage.addEventListener(MouseEvent.MOUSE_UP, _mouseUp);
stage.addEventListener(MouseEvent.MOUSE_MOVE, _mouseMove);
maxHeight = (bar_back.height - bar.height);
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
}
private function _mouseDown(_arg1:MouseEvent){
mouseDown = true;
bar.startDrag(false, new Rectangle(bar_back.x, (bar_back.y - (bar_back.height / 2)), 0, (bar_back.height - bar.height)));
}
private function _onLoad(_arg1){
bar.buttonModen = true;
}
public function set txt_target(_arg1){
txt = _arg1;
txt.addEventListener(TextEvent.TEXT_INPUT, _text_Input);
txt.addEventListener(Event.SCROLL, _text_mouse);
}
private function _mouseMove(_arg1:MouseEvent){
var _local2:*;
var _local3:*;
if (mouseDown){
_local2 = (int(((bar.y / (bar_back.height - bar.height)) * 100)) + 1);
_local3 = int(((txt.maxScrollV / 100) * _local2));
txt.scrollV = _local3;
};
}
private function _text_Input(_arg1){
if (txt.maxScrollV > 1){
this.visible = true;
} else {
this.visible = false;
};
}
private function _text_mouse(_arg1:Event){
if ((((txt.maxScrollV > 1)) && (!(mouseDown)))){
bar.visible = true;
trace(txt.scrollV, txt.maxScrollV);
if (txt.scrollV == txt.maxScrollV){
bar.y = (((bar_back.height - bar.height) / 100) * int(((txt.scrollV / txt.maxScrollV) * 100)));
} else {
bar.y = (((bar_back.height - bar.height) / 100) * int((((txt.scrollV - 1) / txt.maxScrollV) * 100)));
};
};
if (txt.maxScrollV > 1){
this.visible = true;
} else {
this.visible = false;
};
}
private function _mouseUp(_arg1:MouseEvent){
mouseDown = false;
stopDrag();
}
}
}//package lib
Section 146
//calender (lib.calender)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import spill.localisation.*;
public class calender extends MovieClip {
public var __id17_:LocalizedTextField;
var eyear;
public var __id18_:LocalizedTextField;
private var date_10;
private var date_12;
private var date_17;
private var date_11;
private var date_19;
private var date_14;
public var __id19_:LocalizedTextField;
private var date_16;
private var date_18;
var arr:Array;
private var date_13;
private var date_15;
private var date_20;
private var date_21;
private var date_22;
private var date_24;
private var date_25;
private var date_26;
private var date_28;
private var date_29;
private var date_23;
private var date_32;
private var date_33;
private var date_36;
private var date_30;
private var date_31;
private var date_27;
private var date_34;
private var date_35;
public var txt_year:TextField;
private var date_37:TextField;
var arr_bg:Array;
public var __id20_:LocalizedTextField;
private var _currentDay:currentDay;
public var __id21_:LocalizedTextField;
var emonth;
public var __id22_:LocalizedTextField;
public var __id23_:LocalizedTextField;
var num:int;
var date:Date;
public var bt_left:bt_left1;
private var date_1;
private var date_2;
private var date_3;
private var date_4;
private var date_5;
private var date_6;
private var date_7;
private var date_9;
private var date_8;
public var bt_right:bt_right1;
var arr1:Array;
public var txt_month:TextField;
public function calender():void{
arr1 = [];
arr_bg = [];
super();
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
__setProp___id19__calender_Layer2_1();
__setProp___id20__calender_Layer2_1();
__setProp___id21__calender_Layer2_1();
__setProp___id18__calender_Layer2_1();
__setProp___id17__calender_Layer2_1();
__setProp___id23__calender_Layer2_1();
__setProp___id22__calender_Layer2_1();
}
function __setProp___id21__calender_Layer2_1(){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.text = "{Thu}";
__id21_.textColor = 0xFFFFFF;
__id21_.textSize = 13;
__id21_.bold = true;
__id21_.embedFonts = true;
__id21_.font = "微软雅黑";
__id21_.hAlign = "center";
__id21_.multiline = true;
__id21_.vAlign = "middle";
__id21_.antiAliasType = "normal";
__id21_.glowBlur = 1.5;
__id21_.glowColor = 0;
__id21_.useGlowFilter = false;
__id21_.glowQuality = 2;
__id21_.glowStrength = 20;
__id21_.gridFitType = "none";
__id21_.italic = false;
__id21_.selectable = false;
__id21_.underline = false;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id22__calender_Layer2_1(){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.text = "{Fri}";
__id22_.textColor = 0xFFFFFF;
__id22_.textSize = 13;
__id22_.bold = true;
__id22_.embedFonts = true;
__id22_.font = "微软雅黑";
__id22_.hAlign = "center";
__id22_.multiline = true;
__id22_.vAlign = "middle";
__id22_.antiAliasType = "normal";
__id22_.glowBlur = 1.5;
__id22_.glowColor = 0;
__id22_.useGlowFilter = false;
__id22_.glowQuality = 2;
__id22_.glowStrength = 20;
__id22_.gridFitType = "none";
__id22_.italic = false;
__id22_.selectable = false;
__id22_.underline = false;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onLoad(_arg1:Event){
var _local2:int;
var _local3:int;
var _local4:TextFormat;
var _local5:int;
var _local6:*;
date = new Date();
eyear = date.getFullYear();
emonth = date.getMonth();
arr = [];
arr_bg = [];
_local2 = 0;
_local3 = 1;
_local4 = new TextFormat();
_local4.font = "_sans";
_local4.color = 3368601;
_local4.bold = true;
_local4.align = "center";
_local4.size = 14;
_local5 = 1;
while (_local5 < 38) {
_local6 = new currentDay_bg();
addChild(_local6);
_local6.x = (_local2 * 39.9);
_local6.y = ((_local3 * 26.7) - 0.5);
_local6.gotoAndStop(1);
arr_bg.push(_local6);
this[("date_" + _local5)] = new TextField();
TextField(this[("date_" + _local5)]).defaultTextFormat = _local4;
TextField(this[("date_" + _local5)]).width = 41;
TextField(this[("date_" + _local5)]).height = 26.4;
addChild(this[("date_" + _local5)]);
arr.push(this[("date_" + _local5)]);
this[("date_" + _local5)].x = (_local2 * 39.9);
this[("date_" + _local5)].y = ((_local3 * 26.7) + 3);
_local2++;
if (_local2 > 6){
_local2 = 0;
_local3++;
};
_local5++;
};
view_1();
view_2(eyear, emonth);
bt_left.buttonmode = true;
bt_right.buttonmode = true;
bt_left.moden = 1;
bt_right.moden = 1;
bt_left.addEventListener(MouseEvent.CLICK, set_left);
bt_right.addEventListener(MouseEvent.CLICK, set_right);
setChildIndex(bt_left, (numChildren - 1));
setChildIndex(bt_right, (numChildren - 1));
}
private function _out(_arg1:MouseEvent){
MovieClip(_arg1.target).mc.gotoAndStop(1);
MovieClip(_arg1.target).bt.visible = false;
setChildIndex(_currentDay, (numChildren - 1));
}
function __setProp___id17__calender_Layer2_1(){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.text = "{Sun}";
__id17_.textColor = 0xFFFFFF;
__id17_.textSize = 13;
__id17_.bold = true;
__id17_.embedFonts = true;
__id17_.font = "微软雅黑";
__id17_.hAlign = "center";
__id17_.multiline = true;
__id17_.vAlign = "middle";
__id17_.antiAliasType = "normal";
__id17_.glowBlur = 1.5;
__id17_.glowColor = 0;
__id17_.useGlowFilter = false;
__id17_.glowQuality = 2;
__id17_.glowStrength = 20;
__id17_.gridFitType = "none";
__id17_.italic = false;
__id17_.selectable = false;
__id17_.underline = false;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id23__calender_Layer2_1(){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.text = "{Sat}";
__id23_.textColor = 0xFFFFFF;
__id23_.textSize = 13;
__id23_.bold = true;
__id23_.embedFonts = true;
__id23_.font = "微软雅黑";
__id23_.hAlign = "center";
__id23_.multiline = true;
__id23_.vAlign = "middle";
__id23_.antiAliasType = "normal";
__id23_.glowBlur = 1.5;
__id23_.glowColor = 0;
__id23_.useGlowFilter = false;
__id23_.glowQuality = 2;
__id23_.glowStrength = 20;
__id23_.gridFitType = "none";
__id23_.italic = false;
__id23_.selectable = false;
__id23_.underline = false;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function view_1():void{
}
public function view_2(_arg1, _arg2):void{
var dates:*;
var date:Date;
var dateNum:*;
var i:*;
var k:*;
var dayDelay:int;
var j:*;
var m:int;
var a:int;
var date_today:Date;
var img:*;
var year = _arg1;
var month = _arg2;
txt_year.text = year.toString();
txt_year.selectable = false;
txt_month.text = (month + 1);
txt_month.selectable = false;
dates = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
if (((((year % 400) == 0)) || (((!(((year % 100) == 0))) && (((year % 4) == 0)))))){
dates[1] = 29;
} else {
dates[1] = 28;
};
date = new Date(year, month);
dateNum = date.getDay();
i = 0;
while (i < dateNum) {
arr[i].text = "";
arr[i].selectable = false;
i = (i + 1);
};
k = 0;
while (k < 37) {
TextField(arr[k]).textColor = 3368601;
arr_bg[k].gotoAndStop(1);
k = (k + 1);
};
dayDelay = i;
if (arr1.length > 0){
a = 0;
while (a < arr1.length) {
removeChild(arr1[a]);
a = (a + 1);
};
arr1 = [];
};
j = i;
while (j < (dates[month] + i)) {
arr[j].text = ++num;
arr[j].selectable = false;
dateNum = (dateNum + 1);
date_today = new Date();
if ((((((year == date_today.getFullYear())) && ((month == date_today.month)))) && ((arr[j].text == String(date_today.date))))){
TextField(arr[j]).textColor = 0xFFFFFF;
_currentDay = new currentDay();
addChild(_currentDay);
arr1.push(_currentDay);
_currentDay.x = arr[j].x;
_currentDay.y = (arr[j].y - 3);
arr_bg[j].gotoAndStop(2);
};
j = (j + 1);
};
m = 0;
while (m < userData.gamedata.length) {
if ((((userData.gamedata[m][1] == year)) && ((userData.gamedata[m][2] == month)))){
img = new previous_img();
addChild(img);
img.gotoAndStop(userData.gamedata[m][0]);
arr1.push(img);
img.x = arr[((userData.gamedata[m][3] + dayDelay) - 1)].x;
img.y = (arr[((userData.gamedata[m][3] + dayDelay) - 1)].y - 3);
img.mouseChildren = false;
img.buttonMode = true;
img.bt.visible = false;
img.addEventListener(MouseEvent.MOUSE_OVER, _over);
img.addEventListener(MouseEvent.MOUSE_OUT, _out);
};
m = (m + 1);
};
try {
setChildIndex(_currentDay, (numChildren - 1));
} catch(err) {
};
i = dateNum;
while (i < 37) {
arr[i].selectable = false;
arr[i].text = "";
i = (i + 1);
};
}
function __setProp___id18__calender_Layer2_1(){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.text = "{Mon}";
__id18_.textColor = 0xFFFFFF;
__id18_.textSize = 13;
__id18_.bold = true;
__id18_.embedFonts = true;
__id18_.font = "微软雅黑";
__id18_.hAlign = "center";
__id18_.multiline = true;
__id18_.vAlign = "middle";
__id18_.antiAliasType = "normal";
__id18_.glowBlur = 1.5;
__id18_.glowColor = 0;
__id18_.useGlowFilter = false;
__id18_.glowQuality = 2;
__id18_.glowStrength = 20;
__id18_.gridFitType = "none";
__id18_.italic = false;
__id18_.selectable = false;
__id18_.underline = false;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id19__calender_Layer2_1(){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.text = "{Tue}";
__id19_.textColor = 0xFFFFFF;
__id19_.textSize = 13;
__id19_.bold = true;
__id19_.embedFonts = true;
__id19_.font = "微软雅黑";
__id19_.hAlign = "center";
__id19_.multiline = true;
__id19_.vAlign = "middle";
__id19_.antiAliasType = "normal";
__id19_.glowBlur = 1.5;
__id19_.glowColor = 0;
__id19_.useGlowFilter = false;
__id19_.glowQuality = 2;
__id19_.glowStrength = 20;
__id19_.gridFitType = "none";
__id19_.italic = false;
__id19_.selectable = false;
__id19_.underline = false;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _over(_arg1:MouseEvent){
setChildIndex(MovieClip(_arg1.target), (numChildren - 1));
MovieClip(_arg1.target).mc.gotoAndPlay(2);
MovieClip(_arg1.target).bt.visible = true;
}
function __setProp___id20__calender_Layer2_1(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.text = "{Wed}";
__id20_.textColor = 0xFFFFFF;
__id20_.textSize = 13;
__id20_.bold = true;
__id20_.embedFonts = true;
__id20_.font = "微软雅黑";
__id20_.hAlign = "center";
__id20_.multiline = true;
__id20_.vAlign = "middle";
__id20_.antiAliasType = "normal";
__id20_.glowBlur = 1.5;
__id20_.glowColor = 0;
__id20_.useGlowFilter = false;
__id20_.glowQuality = 2;
__id20_.glowStrength = 20;
__id20_.gridFitType = "none";
__id20_.italic = false;
__id20_.selectable = false;
__id20_.underline = false;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function set_left(_arg1:Event):void{
trace("左");
num = 0;
emonth--;
if (emonth < 0){
emonth = 11;
eyear--;
if (eyear != 0){
view_2(eyear, emonth);
};
} else {
view_2(eyear, emonth);
};
}
public function set_right(_arg1:Event):void{
trace("右");
num = 0;
emonth++;
if (emonth > 11){
emonth = 0;
eyear++;
view_2(eyear, emonth);
} else {
view_2(eyear, emonth);
};
}
}
}//package lib
Section 147
//chinalogo (lib.chinalogo)
package lib {
import flash.net.*;
import flash.events.*;
import flash.display.*;
public class chinalogo extends MovieClip {
private var Root:documenClass;
public var bt:SimpleButton;
public function chinalogo(_arg1:documenClass){
addFrameScript(0, frame1, 238, frame239, 239, frame240);
Root = _arg1;
bt.addEventListener(MouseEvent.MOUSE_DOWN, _down);
}
private function logoend(){
var _local1:Date;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:Boolean;
var _local6:int;
_local1 = new Date();
_local2 = _local1.getFullYear();
_local3 = _local1.getMonth();
_local4 = _local1.getDate();
_local5 = true;
_local6 = 0;
while (_local6 < userData.gamedata.length) {
if ((((((userData.gamedata[_local6][1] == _local2)) && ((userData.gamedata[_local6][2] == _local3)))) && ((userData.gamedata[_local6][3] == _local4)))){
_local5 = false;
documenClass.hasPlayed = true;
Root.ShowScreen_immediately("intro2");
};
_local6++;
};
if (_local5){
Root.ShowScreen_immediately("intro");
};
}
function frame1(){
}
private function _down(_arg1){
navigateToURL(new URLRequest("http://www.game.com.cn"), "_blank");
}
function frame239(){
logoend();
}
function frame240(){
stop();
trace("chinalogo停止");
}
}
}//package lib
Section 148
//documenClass (lib.documenClass)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
import com.google.analytics.*;
import flash.utils.*;
import crazydream.*;
import flash.external.*;
public class documenClass extends MovieClip {
private var soundctrl:soundCtrl;
private var loader:MovieClip;
private var screenchange:screenChange;
private var playerList:Array;
public var highscore:highScore;
public var loading:Loading;
private var changeModen:int;// = 1
private var dd_inited:Boolean;// = false
private var sendtofriend:sendToFriend;
private var mc:MovieClip;
private var firstGame:Boolean;// = true
public static var dd:O11111OO11;
public static var hasPlayed:Boolean = false;
public static var game_Name1:String = "Daily_Fortune_Teller";
public static var game_Name2:String = "Daily-Fortune-Teller";
public static var game_Page:String = "Daily_Fortune_Teller.html";
public static var gameName:String = "Daily Fortune Teller";
public static var _tracker_Outcome_screen:Boolean = true;
public static var _tracker_Send_to_friend_landing_page:Boolean = true;
public static var where:Object;
public static var _tracker_mainscreen:Boolean = true;
public static var gameGroup:int = 1;
public static var hightscore_Showedmoden:int = 0;
public static var _tracker:AnalyticsTracker;
public function documenClass(){
var _local1:Date;
var _local2:MASK;
var _local3:XML;
var _local4:*;
firstGame = true;
changeModen = 1;
dd_inited = false;
playerList = ["PLAYER", "玩家", "SPELER", "JOUEUR", "SPIELER", "GRACZ", "SPELARE", "GIOCATORE", "JUGADOR", "JOGADOR", "JOGADOR", "ИГРОК", "PEMAIN\t", "PLAYER", "プレイヤー"];
super();
addFrameScript(0, frame1);
_local1 = new Date();
_local2 = new MASK();
addChild(_local2);
this.mask = _local2;
_local3 = <LocalisedText><textItem identifier="MORE_GAME_AT"><en_us>MORE FUNNY GAMES AT</en_us><en_uk>MORE FUNNY GAMES AT</en_uk><nl>MEER GRAPPIGE SPELLEN OP</nl><fr>PLUS DE JEUX DIVERTISSANTS SUR</fr><de>MEHR WITZIGE SPIELE AUF</de><es>MÁS JUEGOS DIVERTIDOS EN</es><br>MAIS JOGOS DIVERTIDOS EM</br><pt>MAIS JOGOS DIVERTIDOS EM</pt><it>PIÙ GIOCHI DIVERTENTI SU</it><se>FLER KUL SPEL PÅ</se><pl>WIĘCEJ ZABAWNYCH GIER NA</pl><ru>ДРУГИЕ ЗАБАВНЫЕ ИГРЫ НА</ru><tr>ooo</tr><id>PERMAINAN LUCU LAINNYA DI</id><my>ooo</my><jp>他のゲームで遊ぶ</jp><cn>更多有趣的游戏在</cn></textItem><textItem identifier="START_GAME"><en_us>START</en_us><en_uk>START</en_uk><nl>STARTEN</nl><fr>JOUER</fr><de>START</de><es>INICIAR</es><br>COMEÇAR</br><pt>COMEÇAR</pt><it>AVVIA</it><se>STARTA</se><pl>START</pl><ru>СТАРТ</ru><tr>ooo</tr><id>MULAI</id><my>ooo</my><jp>スタート</jp><cn>开始</cn></textItem><textItem identifier="Sun"><en_us>Sun</en_us><en_uk>Sun</en_uk><nl>Zo</nl><fr>Di.</fr><de>So.</de><es>Dom.</es><br>Dom</br><pt>Dom</pt><it>Dom</it><se>Sön</se><pl>Nd</pl><ru>Вс</ru><tr>ooo</tr><id>Ming</id><my>ooo</my><jp>日</jp><cn>周日</cn></textItem><textItem identifier="Mon"><en_us>Mon</en_us><en_uk>Mon</en_uk><nl>Ma</nl><fr>Lu.</fr><de>Mo.</de><es>Lun.</es><br>Seg</br><pt>2ª</pt><it>Lun</it><se>Mån</se><pl>Pon</pl><ru>Пн</ru><tr>ooo</tr><id>Sen</id><my>ooo</my><jp>月</jp><cn>周一</cn></textItem><textItem identifier="Tue"><en_us>Tue</en_us><en_uk>Tue</en_uk><nl>Di</nl><fr>Ma.</fr><de>Di.</de><es>Mar.</es><br>Ter</br><pt>3ª</pt><it>Mar</it><se>Tis</se><pl>Wt</pl><ru>Вт</ru><tr>ooo</tr><id>Sel</id><my>ooo</my><jp>火</jp><cn>周二</cn></textItem><textItem identifier="Wed"><en_us>Wed</en_us><en_uk>Wed</en_uk><nl>Wo</nl><fr>Me.</fr><de>Mi.</de><es>Mié.</es><br>Qua</br><pt>4ª</pt><it>Mer</it><se>Ons</se><pl>Śr</pl><ru>Ср</ru><tr>ooo</tr><id>Rab</id><my>ooo</my><jp>水</jp><cn>周三</cn></textItem><textItem identifier="Thu"><en_us>Thu</en_us><en_uk>Thu</en_uk><nl>Do</nl><fr>Je.</fr><de>Do.</de><es>Jue.</es><br>Qui</br><pt>5ª</pt><it>Gio</it><se>Tor</se><pl>Cz</pl><ru>Чт</ru><tr>ooo</tr><id>Kam</id><my>ooo</my><jp>木</jp><cn>周四</cn></textItem><textItem identifier="Fri"><en_us>Fri</en_us><en_uk>Fri</en_uk><nl>Vr</nl><fr>Ve.</fr><de>Fr.</de><es>Vie.</es><br>Sex</br><pt>6ª</pt><it>Ven</it><se>Fre</se><pl>Pt</pl><ru>Пт</ru><tr>ooo</tr><id>Jumat</id><my>ooo</my><jp>金</jp><cn>周五</cn></textItem><textItem identifier="Sat"><en_us>Sat</en_us><en_uk>Sat</en_uk><nl>Za</nl><fr>Sa.</fr><de>Sa.</de><es>Sáb.</es><br>Sáb</br><pt>Sáb</pt><it>Sab</it><se>Lör</se><pl>So</pl><ru>Сб</ru><tr>ooo</tr><id>Sab</id><my>ooo</my><jp>土</jp><cn>周六</cn></textItem><textItem identifier="Your_Mood_Today"><en_us>Your Mood Today</en_us><en_uk>Your Mood Today</en_uk><nl>Je stemming vandaag</nl><fr>Ton humeur d'aujourd'hui</fr><de>Deine heutige Stimmung</de><es>Tu estado de ánimo de hoy</es><br>Seu humor hoje</br><pt>O teu Estado de Espírito de hoje</pt><it>Il tuo umore di oggi</it><se>Ditt humör idag</se><pl>Twój dzisiejszy nastrój</pl><ru>Твое настроение сегодня</ru><tr>ooo</tr><id>Suasana hati anda hari ini</id><my>ooo</my><jp>本日のあなたの気分</jp><cn>您今天的心情</cn></textItem><textItem identifier="Pick_the_item_that_suit_your_mood_best:"><en_us>From each row, select one image that illustrates your mood today.</en_us><en_uk>From each row, select one image that illustrates your mood today.</en_uk><nl>Selecteer in elke rij één afbeelding die je stemming van vandaag weergeeft. </nl><fr>Choisis dans chaque rangée l'image qui illustre ton humeur d'aujourd'hui.</fr><de>Wähle aus jeder Reihe ein Bild, das deiner Stimmung heute entspricht.</de><es>Escoge una imagen de cada fila que ilustre tu estado de ánimo de hoy.</es><br>Selecione uma imagem que represente o seu humor hoje nas fileiras abaixo.</br><pt>Escolhe uma imagem de cada linha que ilustre o teu estado de espírito de hoje.</pt><it>Scegli da ogni fila un'immagine che descrive il tuo umore di oggi.</it><se>Välj den bild i varje rad som bäst beskriver ditt humör idag.</se><pl>W każdym rzędzie wybierz jeden obrazek, który najlepiej oddaje twój dzisiejszy nastrój.</pl><ru>Из каждого ряда выбери одну картинку, соответствующую твоему сегодняшнему настроению.</ru><tr>ooo</tr><id>Mulai dari tiap barisan, pilihlah satu gambar yang mengilustrasikan suasana hati anda hari ini.</id><my>ooo</my><jp>本日のあなたの気分に一番あうアイテムを選んでね</jp><cn>从每行选择一张代表您今天心情的图片。</cn></textItem><textItem identifier="Your_choices:"><en_us>Your Choices</en_us><en_uk>Your Choices</en_uk><nl>Jouw keuzes</nl><fr>Tes choix</fr><de>Deine Auswahl</de><es>Tus elecciones</es><br>Suas escolhas</br><pt>As tuas escolhas</pt><it>Le tue scelte</it><se>Dina val</se><pl>Twoje wybory</pl><ru>Твой выбор</ru><tr>ooo</tr><id>Pilihan Anda</id><my>ooo</my><jp>選んだもの:</jp><cn>您的选择</cn></textItem><textItem identifier="Your_choice:"><en_us>Your Choice</en_us><en_uk>Your Choice</en_uk><nl>Jouw keuze</nl><fr>Ton choix</fr><de>Deine Auswahl</de><es>Tu elección</es><br>Sua escolha</br><pt>A tua escolha</pt><it>La tua scelta</it><se>Ditt val</se><pl>Twój wybór</pl><ru>Твой выбор</ru><tr>ooo</tr><id>Pilihan Anda</id><my>ooo</my><jp>選んだもの:</jp><cn>您的选择</cn></textItem><textItem identifier="BACK"><en_us>BACK</en_us><en_uk>BACK</en_uk><nl>TERUG</nl><fr>RETOUR</fr><de>ZURÜCK</de><es>ATRÁS</es><br>ANTERIOR</br><pt>VOLTAR</pt><it>INDIETRO</it><se>BAKÅT</se><pl>POWRÓT</pl><ru>ОБРАТНО</ru><tr>ooo</tr><id>KEMBALI</id><my>ooo</my><jp>戻る</jp><cn>返回</cn></textItem><textItem identifier="OK"><en_us>OK</en_us><en_uk>OK</en_uk><nl>OK</nl><fr>OK</fr><de>OK</de><es>OK</es><br>OK</br><pt>OK</pt><it>OK</it><se>OK</se><pl>OK</pl><ru>ОК</ru><tr>ooo</tr><id>OK</id><my>ooo</my><jp>OK</jp><cn>确定</cn></textItem><textItem identifier="What_item_do_you_want_to_show_the_fortune_teller?"><en_us>Select which item you'd like to show to the fortune teller today.</en_us><en_uk>Select which item you would like to show to the fortune teller today.</en_uk><nl>Kies wat je vandaag aan de waarzegger wilt laten zien. </nl><fr>Choisis quel objet tu voudrais montrer à la diseuse de bonne aventure aujourd'hui.</fr><de>Wähle einen Gegenstand, um ihn dem Orakel zu zeigen.</de><es>Escoge qué objeto quieres mostrarle hoy a la pitonisa.</es><br>Selecione o item que você gostaria de mostrar à quiromante hoje.</br><pt>Escolhe o objecto que hoje gostarias de mostrar à vidente.</pt><it>Scegli l'oggetto che vorresti mostrare oggi alla chiromante.</it><se>Välj vilket föremål du vill visa spåkvinnan idag.</se><pl>Wybierz przedmiot, który chciałbyś dziś pokazać wróżce.</pl><ru>Выбери предмет, который тебе сегодня хочется показать гадалке.</ru><tr>ooo</tr><id>Pilihlah benda yang ingin anda tunjukkan kepada ahli nujum hari ini.</id><my>ooo</my><jp>さぁて、占い師に見せたいアイテムはなにかしら?</jp><cn>选择一个今天您想给先知看的物品。</cn></textItem><textItem identifier="Choose_the_3_hand_lines_that_need_reading"><en_us>Choose three hand lines you would like to be read today.</en_us><en_uk>Choose three hand lines you would like to be read today.</en_uk><nl>Kies drie handlijnen die je vandaag wilt laten lezen. </nl><fr>Choisis trois lignes de la main que tu voudrais qu'on te lise aujourd'hui.</fr><de>Wähle drei Handlinien, aus denen heute gelesen werden soll.</de><es>Escoge tres líneas de la mano que quieras que te lea hoy.</es><br>Escolhe as três linhas da mão que você quer que sejam lidas.</br><pt>Escolhe três linhas da mão que hoje gostarias de ler.</pt><it>Scegli tre linee della mano che vorresti far leggere oggi.</it><se>Välj tre handlinjer som du vill spå idag.</se><pl>Wybierz trzy linie dłoni, które chciałbyś dziś odczytać.</pl><ru>Выбери три линии на руке, по которым тебе хотелось бы погадать сегодня.</ru><tr>ooo</tr><id>Pilihlah tangan bergaris tiga yang ingin anda ketahui pada hari ini.</id><my>ooo</my><jp>手相の中で見てもらいたい3つのを選んでね!</jp><cn>选择今天您想预测的三条掌纹。</cn></textItem><textItem identifier="Life"><en_us>Life</en_us><en_uk>Life</en_uk><nl>Leven</nl><fr>Vie</fr><de>Leben</de><es>Vida</es><br>Vida</br><pt>Vida</pt><it>Vita</it><se>Liv</se><pl>Życie</pl><ru>Жизнь</ru><tr>ooo</tr><id>Kehidupan</id><my>ooo</my><jp>生命</jp><cn>生活</cn></textItem><textItem identifier="Head"><en_us>Head</en_us><en_uk>Head</en_uk><nl>Hoofd</nl><fr>Tête</fr><de>Verstand</de><es>Cabeza</es><br>Mente</br><pt>Cabeça</pt><it>Testa</it><se>Huvud</se><pl>Głowa</pl><ru>Голова</ru><tr>ooo</tr><id>Kepala</id><my>ooo</my><jp>頭脳</jp><cn>个性</cn></textItem><textItem identifier="Heart"><en_us>Heart</en_us><en_uk>Heart</en_uk><nl>Hart</nl><fr>Cœur </fr><de>Herz</de><es>Corazón</es><br>Coração</br><pt>Coração</pt><it>Cuore</it><se>Hjärta</se><pl>Serce</pl><ru>Сердце</ru><tr>ooo</tr><id>Hati</id><my>ooo</my><jp>心</jp><cn>爱情</cn></textItem><textItem identifier="Health"><en_us>Health</en_us><en_uk>Health</en_uk><nl>Gezondheid</nl><fr>Santé</fr><de>Gesundheit</de><es>Salud</es><br>Saúde</br><pt>Saúde</pt><it>Salute</it><se>Hälsa</se><pl>Zdrowie</pl><ru>Здоровье</ru><tr>ooo</tr><id>Kesehatan</id><my>ooo</my><jp>健康</jp><cn>健康</cn></textItem><textItem identifier="Fame"><en_us>Fame</en_us><en_uk>Fame</en_uk><nl>Roem</nl><fr>Renommée</fr><de>Ruhm</de><es>Fama</es><br>Fama</br><pt>Fama</pt><it>Gloria</it><se>Framgång</se><pl>Sława</pl><ru>Слава</ru><tr>ooo</tr><id>Kemasyuran</id><my>ooo</my><jp>名声</jp><cn>名望</cn></textItem><textItem identifier="Marriage"><en_us>Marriage</en_us><en_uk>Marriage</en_uk><nl>Huwelijk</nl><fr>Mariage</fr><de>Ehe</de><es>Matrimonio</es><br>Casamento</br><pt>Casamento</pt><it>Matrimonio</it><se>Giftermål</se><pl>Małżeństwo</pl><ru>Брак</ru><tr>ooo</tr><id>Pernikahan</id><my>ooo</my><jp>結婚</jp><cn>婚姻</cn></textItem><textItem identifier="Money"><en_us>Money</en_us><en_uk>Money</en_uk><nl>Geld</nl><fr>Argent</fr><de>Geld</de><es>Dinero</es><br>Dinheiro</br><pt>Dinheiro</pt><it>Soldi</it><se>Pengar</se><pl>Pieniądze</pl><ru>Деньги</ru><tr>ooo</tr><id>Keuangan</id><my>ooo</my><jp>金銭</jp><cn>财运</cn></textItem><textItem identifier="Intimacy"><en_us>Intimacy</en_us><en_uk>Intimacy</en_uk><nl>Relatie</nl><fr>Intimité</fr><de>Zärtlichkeit</de><es>Intimidad</es><br>Intimidade</br><pt>Intimidade</pt><it>Intimità</it><se>Närhet</se><pl>Życie intymne</pl><ru>Близкие отношения</ru><tr>ooo</tr><id>Keintiman</id><my>ooo</my><jp>恋愛</jp><cn>关系</cn></textItem><textItem identifier="Travel"><en_us>Travel</en_us><en_uk>Travel</en_uk><nl>Reizen</nl><fr>Voyage</fr><de>Reise</de><es>Viajes</es><br>Viagem</br><pt>Viagens</pt><it>Viaggi</it><se>Resor</se><pl>Podróże</pl><ru>Путешествия</ru><tr>ooo</tr><id>Perjalanan</id><my>ooo</my><jp>旅行</jp><cn>旅行</cn></textItem><textItem identifier="Luck"><en_us>Luck</en_us><en_uk>Luck</en_uk><nl>Geluk</nl><fr>Chance</fr><de>Glück</de><es>Suerte</es><br>Sorte</br><pt>Sorte</pt><it>Fortuna</it><se>Tur</se><pl>Szczęście</pl><ru>Удача</ru><tr>ooo</tr><id>Keberuntungan</id><my>ooo</my><jp>運</jp><cn>幸运</cn></textItem><textItem identifier="Draw_the_lines"><en_us>Click on each crayon and draw the hand line as indicated.</en_us><en_uk>Click on each crayon and draw the hand line as indicated.</en_uk><nl>Klik op elk krijtje en teken de handlijn zoals wordt aangegeven. </nl><fr>Clique sur chaque feutre pour tracer les lignes de la main comme indiqué.</fr><de>Klicke nacheinander auf jeden der Stifte und zeichne die angezeigte Handlinie nach.</de><es>Haz clic en cada lápiz de cera y dibuja la línea de la mano como se indica.</es><br>Clique em cada giz de cera e desenhe a linha da mão conforme indicado.</br><pt>Clica em cada lápis e desenha a linha da mão, tal como é indicado.</pt><it>Clicca su ogni pennarello e traccia la linea della mano come è indicato.</it><se>Klicka på varje krita och rita handlinjen så som den visas.</se><pl>Kliknij na każdą z kredek i narysuj linię dłoni tak, jak zostało to pokazane.</pl><ru>Щелкая по карандашам по очереди, нарисуй линии на руке, как показано.</ru><tr>ooo</tr><id>Klik pada tiap pensil gambar dan gambarkan garis tangan seperti yang ditunjukkan.</id><my>ooo</my><jp>手相の線を描いてください</jp><cn>点击蜡笔按照提示画出你的掌纹。</cn></textItem><textItem identifier="Todays_words_of_wisdom:"><en_us>Today's Words of Wisdom</en_us><en_uk>Today's Words of Wisdom</en_uk><nl>Wijze woorden van vandaag</nl><fr>Le bon conseil d'aujourd'hui</fr><de>Die Weisheit des Tages</de><es>Palabras sabias de hoy</es><br>Palavra de Sabedoria de Hoje</br><pt>As Palavras de Sabedoria de hoje</pt><it>Le parole di saggezza di oggi</it><se>Dagens visdomsord</se><pl>Słowa Mądrości na dziś</pl><ru>Мудрые слова на сегодня</ru><tr>ooo</tr><id>Kata-kata kebijaksanaan pada hari ini</id><my>ooo</my><jp>本日のお言葉:</jp><cn>每日运势</cn></textItem><textItem identifier="Analyses"><en_us>Today's Chart</en_us><en_uk>Today's Chart</en_uk><nl>Grafiek van vandaag</nl><fr>Le graphique d'aujourd'hui</fr><de>Heutige Analyse</de><es>Tabla de hoy</es><br>Gráfico de Hoje</br><pt>A Tabela de hoje</pt><it>Il tuo grafico di oggi</it><se>Dagens diagram</se><pl>Wykres na dziś</pl><ru>Диаграмма на сегодня</ru><tr>ooo</tr><id>Grafik hari ini</id><my>ooo</my><jp>分析結果</jp><cn>今天的曲线图</cn></textItem><textItem identifier="Your_talisman:"><en_us>Today's Lucky Charm</en_us><en_uk>Today's Lucky Charm</en_uk><nl>Talisman van vandaag</nl><fr>Le porte-bonheur d'aujourd'hui</fr><de>Dein heutiger Talisman</de><es>Amuleto mágico de hoy</es><br>Amuleto de Hoje</br><pt>O Talismã da Sorte de hoje</pt><it>Il portafortuna di oggi</it><se>Dagens lyckobringare</se><pl>Talizman na dziś</pl><ru>Талисман на сегодня</ru><tr>ooo</tr><id>Keberuntungan hari ini</id><my>ooo</my><jp>あなたの守護神:</jp><cn>今天的幸运护身符</cn></textItem><textItem identifier="TRY_AGAIN"><en_us>TRY AGAIN</en_us><en_uk>TRY AGAIN</en_uk><nl>OPNIEUW PROBEREN</nl><fr>ESSAYER DE NOUVEAU </fr><de>NOCHMAL PROBIEREN</de><es>¿VOLVER A INTENTAR?</es><br>TENTAR DE NOVO</br><pt>TENTAR NOVAMENTE</pt><it>RIPROVA</it><se>FÖRSÖK IGEN</se><pl>SPRÓBUJ PONOWNIE</pl><ru>ЕЩЕ РАЗ</ru><tr>ooo</tr><id>COBA LAGI</id><my>ooo</my><jp>もう一度トライする</jp><cn>再来一次</cn></textItem><textItem identifier="Name:"><en_us>Name:</en_us><en_uk>Name:</en_uk><nl>Naam:</nl><fr>Nom :</fr><de>Name:</de><es>Nombre:</es><br>Nome:</br><pt>Nome:</pt><it>Nome:</it><se>Namn:</se><pl>Imię:</pl><ru>Имя:</ru><tr>ooo</tr><id>Nama:</id><my>ooo</my><jp>名前:</jp><cn>您的姓名:</cn></textItem><textItem identifier="Special Power:"><en_us>Special Power:</en_us><en_uk>Special Power:</en_uk><nl>Speciale kracht: </nl><fr>Pouvoir spécial :</fr><de>Besondere Fähigkeit:</de><es>Poder especial:</es><br>Poder especial:</br><pt>Poder Especial:</pt><it>Potere speciale:</it><se>Superkrafter:</se><pl>Specjalna siła:</pl><ru>Особая сила:</ru><tr>ooo</tr><id>Kekuatan Khusus:</id><my>ooo</my><jp>スペシャルパワー:</jp><cn>特殊能力:</cn></textItem><textItem identifier="Favorite food:"><en_us>Favorite Food:</en_us><en_uk>Favourite Food:</en_uk><nl>Favoriete eten: </nl><fr>Nourriture préférée :</fr><de>Lieblingsessen:</de><es>Comida favorita:</es><br>Comida favorita:</br><pt>Comida Favorita:</pt><it>Cibo preferito:</it><se>Favoritmat:</se><pl>Ulubione jedzenie:</pl><ru>Любимая еда:</ru><tr>ooo</tr><id>Makanan Kesukaan:</id><my>ooo</my><jp>お気に入りの食べ物:</jp><cn>最爱的食物:</cn></textItem><textItem identifier="Quote:"><en_us>Your Lucky Charm Says:</en_us><en_uk>Your Lucky Charm Says:</en_uk><nl>Je talisman zegt: </nl><fr>Ton porte-bonheur dit :</fr><de>Dein Talisman sagt:</de><es>Tu amuleto mágico dice:</es><br>Seu amuleto diz:</br><pt>O teu Talismã da Sorte diz:</pt><it>Il tuo portafortuna dice:</it><se>Din lyckobringare säger:</se><pl>Twój talizman mówi:</pl><ru>Твой талисман говорит:</ru><tr>ooo</tr><id>Keberuntungan Anda berkata:</id><my>ooo</my><jp>格言:</jp><cn>您的幸运护身符说:</cn></textItem><textItem identifier="wisdom_1"><en_us>Bored people are boring. Interested people are interesting.</en_us><en_uk>Bored people are boring. Interested people are interesting.</en_uk><nl>Verveelde mensen zijn vervelend. Geïnteresseerde mensen zijn interessant. </nl><fr>Ceux qui s'ennuient sont ennuyeux. Ceux qui s'intéressent sont intéressants.</fr><de>Gelangweilte Leute sind langweilig. Interessierte Leute sind interessant.</de><es>La gente que se aburre es aburrida. La gente que se interesa es interesante.</es><br>Pessoas chatas são chatas. Pessoas interessadas são interessantes.</br><pt>As pessoas aborrecidas são aborrecidas. As pessoas interessadas são interessantes.</pt><it>La gente annoiata è noiosa. La gente interessata è interessante.</it><se>Uttråkade människor är tråkiga. Intresserade människor är intressanta.</se><pl>Ludzie znudzeni nudzą. Ludzie interesujący budzą zainteresowanie.</pl><ru>Скучающие люди скучны. Заинтересованные люди интересны.</ru><tr>ooo</tr><id>Orang-orang yang membosankan sangatlah bosan. Orang-orang yang menarik sangatlah mempesona.</id><my>ooo</my><jp>空虚とは新しいことが始まるための前ぶれである。</jp><cn>宁可与有趣的人吵架,不要和无聊的人说话!</cn></textItem><textItem identifier="wisdom_2"><en_us>Hamsters do not lie.</en_us><en_uk>Hamsters do not lie.</en_uk><nl>Hamsters liegen niet. </nl><fr>Les hamsters ne mentent pas.</fr><de>Hamster lügen nicht.</de><es>Los hámsters no mienten.</es><br>Os hamsters nunca mentem.</br><pt>Os hamsters não mentem.</pt><it>I criceti non mentono.</it><se>Hamstrar ljuger aldrig.</se><pl>Chomiki nie kłamią.</pl><ru>Хомяки не лгут.</ru><tr>ooo</tr><id>Hamster tidak berbohong.</id><my>ooo</my><jp>ハムスターはいつも正直なことを言うものだ。</jp><cn>骗人有风险,说谎要谨慎!</cn></textItem><textItem identifier="wisdom_3"><en_us>At the intersection of love, there are often collisions.</en_us><en_uk>At the intersection of love, there are often collisions.</en_uk><nl>Op het kruispunt van de liefde vinden vaak botsingen plaats. </nl><fr>Il y a souvent des collisions aux croisements de l'amour.</fr><de>An der Kreuzung der Liebe gibt es häufig Unfälle.</de><es>A menudo hay choques en el cruce del amor.</es><br>No cruzamento do amor, sempre acontece um acidente.</br><pt>No cruzamento do amor, é frequente haver choques.</pt><it>Nell'incrocio dell'amore avvengono sempre un sacco di scontri.</it><se>I kärlekens vägkorsningar uppstår ofta krockar.</se><pl>W meandrach miłości często zdarzają się kolizje.</pl><ru>На перекрестках любви часто бывают столкновения.</ru><tr>ooo</tr><id>Di titik pertemuan percintaan, selalu ada bentrokan.</id><my>ooo</my><jp>愛の交わりとはあなたが予期せぬ時に起こるものだ。</jp><cn>在爱情的十字路口,总是充满意外。</cn></textItem><textItem identifier="wisdom_4"><en_us>If you look before you leap, you might never leap.</en_us><en_uk>If you look before you leap, you might never leap.</en_uk><nl>Als je kijkt voordat je springt, spring je misschien nooit. </nl><fr>Si tu regardes avant de sauter, tu risques de ne jamais sauter.</fr><de>Wenn du lange zögerst, bevor du deinem Herzen folgst, folgst du ihm vielleicht nie.</de><es>Si miras antes de saltar, puede que nunca saltes.</es><br>Se você olhar antes de pular, talvez nunca pule.</br><pt>Se olhares antes de saltares, talvez nunca saltes.</pt><it>Se guardi prima di saltare potresti finire per non saltare mai.</it><se>Om du tittar innan du hoppar kanske du aldrig vågar.</se><pl>Jeśli będziesz myślał nad krokiem w przód, możesz nigdy go nie wykonać.</pl><ru>Если долго колебаться, можно всех заколебать.</ru><tr>ooo</tr><id>Jika anda melihat sebelum anda melangkah, maka anda mungkin tidak akan pernah melompat.</id><my>ooo</my><jp>地球外生物があなたを助けてくれるかもしれない、などど勘違いするべからず。</jp><cn>不敢冒险就是最大的冒险。</cn></textItem><textItem identifier="wisdom_5"><en_us>Creativity: the joy of life!</en_us><en_uk>Creativity: the joy of life!</en_uk><nl>Creativiteit: de vreugde van het leven! </nl><fr>La créativité, c'est la joie d'une vie !</fr><de>Kreativität: die pure Lust am Leben!</de><es>Creatividad: ¡la alegría de vivir!</es><br>A criatividade é a alegria da vida!</br><pt>Criatividade: a alegria da vida!</pt><it>Creatività: la gioia della vita!</it><se>Kreativitet är livets krydda!</se><pl>Kreatywność to radość życia!</pl><ru>Творчество – радость жизни!</ru><tr>ooo</tr><id>Kreativitas: kesenangan hidup!</id><my>ooo</my><jp>さくらの花は愛のために咲く。</jp><cn>人生没有彩排,每天都是直播!</cn></textItem><textItem identifier="wisdom_6"><en_us>The best thing you can do is understand yourself.</en_us><en_uk>The best thing you can do is understand yourself.</en_uk><nl>Het beste wat je kunt doen, is jezelf begrijpen. </nl><fr>Le meilleur service que tu puisses te rendre, c'est de te comprendre toi-même.</fr><de>Das Beste, was du für dich tun kannst, ist dich selbst zu verstehen.</de><es>Lo mejor que puedes hacer es entenderte a ti mismo.</es><br>O melhor que se pode fazer é entender a si mesmo.</br><pt>O melhor que podes fazer é compreenderes-te.</pt><it>La miglior cosa che tu possa fare è capire te stessa.</it><se>Det bästa du kan göra är att förstå dig själv.</se><pl>Najlepsza rzecz, jaką możesz zrobić, to zrozumieć siebie.</pl><ru>Лучшее, что ты можешь сделать, – это понять себя.</ru><tr>ooo</tr><id>Hal terbaik yang bisa anda lakukan yaitu mengerti diri anda sendiri.</id><my>ooo</my><jp>今日は自分自身のために何か新しいことを学ぶとよい。</jp><cn>不想当厨子的裁缝不是好司机。</cn></textItem><textItem identifier="wisdom_7"><en_us>Wherever you go, there you are.</en_us><en_uk>Wherever you go, there you are.</en_uk><nl>Waar je ook gaat of staat, daar ben je. </nl><fr>Où que tu ailles, c'est là que tu es.</fr><de>Wo auch immer du hingehst, irgendwann wirst du dort ankommen.</de><es>Dondequiera que vayas, allí estarás.</es><br>Para onde quer que vá, você sempre existirá.</br><pt>Onde quer que vás, lá estás tu.</pt><it>Ovunque tu vada, là sarai.</it><se>Vart hän du än går, så finns du där.</se><pl>Dokądkolwiek pójdziesz, tam jesteś.</pl><ru>К чему идешь, к тому и придешь.</ru><tr>ooo</tr><id>Kemanapun anda pergi, disitulah diri anda.</id><my>ooo</my><jp>時はやがて過ぎゆく。時間が全てを解決してくれるだろう。</jp><cn>既来之则安之。</cn></textItem><textItem identifier="wisdom_8"><en_us>Watch your life as if it's a good movie.</en_us><en_uk>Watch your life as if it's a good movie.</en_uk><nl>Bekijk je leven alsof het een goede film is. </nl><fr>Regarde ta vie comme si c'était un bon film.</fr><de>Betrachte dein Leben wie einen guten Film.</de><es>Mira tu vida como si fuera una buena película.</es><br>Observe a sua vida como se fosse um bom filme.</br><pt>Vê a tua vida como se fosse um bom filme.</pt><it>Guarda la tua vita come se fosse un bel film.</it><se>Se ditt liv som en jättebra film.</se><pl>Patrz na swoje życie jak na dobry film.</pl><ru>Посмотри на свою жизнь так, будто это хороший фильм.</ru><tr>ooo</tr><id>Perhatikan hidup anda seperti sebuah film yang bagus.</id><my>ooo</my><jp>いつも人生には奇跡が隠れているって想像してごらん。</jp><cn>人生如戏,戏如人生。</cn></textItem><textItem identifier="wisdom_9"><en_us>The right choice is always happiness.</en_us><en_uk>The right choice is always happiness.</en_uk><nl>De juiste keuze is altijd geluk. </nl><fr>Le bon choix, c'est toujours le bonheur.</fr><de>Die richtige Wahl bedeutet immer auch Glück.</de><es>La elección adecuada siempre es la felicidad.</es><br>A escolha certa é sempre a felicidade.</br><pt>A escolha acertada é sempre a felicidade.</pt><it>La scelta giusta è sempre la felicità.</it><se>Lycka är alltid det rätta valet.</se><pl>Właściwy wybór zawsze przynosi radość.</pl><ru>Правильный выбор всегда приносит удовлетворение.</ru><tr>ooo</tr><id>Pilihan yang benar selalu membawa kebahagiaan.</id><my>ooo</my><jp>自ら出向くときにだけ、幸せの扉は開かれる。</jp><cn>快乐不是拥有的多,而是计较的少。</cn></textItem><textItem identifier="wisdom_10"><en_us>Laughter brightens the world like the sun.</en_us><en_uk>Laughter brightens the world like the sun.</en_uk><nl>Een lach verlicht de wereld als de zon. </nl><fr>Les rires illuminent le monde comme des rayons de soleil.</fr><de>Lachen erhellt die Erde wie die Sonne.</de><es>La risa ilumina el mundo como un sol.</es><br>O riso ilumina o mundo como a luz do sol.</br><pt>O riso ilumina o mundo como o Sol.</pt><it>Ridere illumina il mondo come i raggi del sole.</it><se>Skratt lyser upp världen likt solsken.</se><pl>Śmiech opromienia świat niczym słońce.</pl><ru>Смех, как и солнце, делает мир ярче.</ru><tr>ooo</tr><id>Senyuman menerangi dunia bagaikan matahari.</id><my>ooo</my><jp>笑顔は太陽のように世界中を照らす。</jp><cn>像情人一样享受时光,像夫妻一样经营生活</cn></textItem><textItem identifier="wisdom_11"><en_us>Courage couldn't exist without fear.</en_us><en_uk>Courage couldn't exist without fear.</en_uk><nl>Zonder angst zou moed niet bestaan.</nl><fr>Le courage ne saurait exister sans la peur.</fr><de>Ohne Furcht gäbe es auch keinen Mut.</de><es>La valentía no podría existir sin el miedo.</es><br>A coragem não existe sem o medo.</br><pt>Sem medo, não existiria coragem.</pt><it>Il coraggio non esisterebbe senza la paura.</it><se>Mod kan inte existerar utan rädsla.</se><pl>Odwaga nie mogłaby istnieć bez strachu.</pl><ru>Если б не было страха, не было бы и смелости.</ru><tr>ooo</tr><id>Keberanian tidak bisa terwujud tanpa rasa takut.</id><my>ooo</my><jp>それは難題の解決の道しるべになるだろう。</jp><cn>不经历风雨怎能见彩虹。</cn></textItem><textItem identifier="wisdom_12"><en_us>All clouds need to rain.</en_us><en_uk>All clouds need to rain.</en_uk><nl>Alle wolken moeten regenen. </nl><fr>Tôt ou tard, tous les nuages doivent finir par pleuvoir.</fr><de>Nach dem Regen scheint auch wieder die Sonne.</de><es>Todas las nubes necesitan llover.</es><br>Todas as nuvens precisam virar chuva.</br><pt>Todas as nuvens precisam de chover.</pt><it>Tutte le nuvole portano la pioggia.</it><se>Alla moln har behov av att regna.</se><pl>Każda chmura musi zamienić się w deszcz.</pl><ru>Из каждого облака когда-нибудь идет дождь.</ru><tr>ooo</tr><id>Semua awan harus hujan.</id><my>ooo</my><jp>雨降りだって雲にとっては必要なこと。</jp><cn>是金子早晚要发光。</cn></textItem><textItem identifier="wisdom_13"><en_us>Do what you love and happiness follows.</en_us><en_uk>Do what you love and happiness follows.</en_uk><nl>Als je doet wat je leuk vindt, volgt het geluk vanzelf. </nl><fr>Fais ce que tu aimes et tu connaîtras le bonheur.</fr><de>Folge deinem Herzen, und das Glück wird folgen.</de><es>Haz lo que quieras y la felicidad llegará.</es><br>Faça o que você ama e a felicidade virá.</br><pt>Faz o que amas e a felicidade virá a seguir.</pt><it>Fai quello che ti piace e la felicità ti seguirà.</it><se>Gör det du älskar så kommer lyckan.</se><pl>Rób to, co kochasz, a szczęście przyjdzie samo.</pl><ru>Занимайся любимым делом – и счастье придет к тебе.</ru><tr>ooo</tr><id>Lakukan apa yang diikuti oleh cinta dan kebahagiaan anda.</id><my>ooo</my><jp>毎日はいつだって確かに同じだけの時間が与えられている。</jp><cn>走自己的路 让别人说去吧。</cn></textItem><textItem identifier="wisdom_14"><en_us>Rabbits contain no cheese.</en_us><en_uk>Rabbits contain no cheese.</en_uk><nl>Konijnen bevatten geen kaas. </nl><fr>Dans les lapins il n'y a pas de fromage.</fr><de>Nicht jedes Kaninchen mag auch Salat.</de><es>Los conejos no contienen queso.</es><br>Os coelhos não comem queijo.</br><pt>Os coelhos não contêm queijo.</pt><it>I conigli non contengono formaggio.</it><se>Kaniner innehåller inte ost.</se><pl>Króliki nie zawierają żółtego sera.</pl><ru>Кролик не дает молока.</ru><tr>ooo</tr><id>Kelinci-kelinci tidak mengandung keju.</id><my>ooo</my><jp>うさぎさんにはチーズは含まれておりません。</jp><cn>也许似乎大概是,然而未必不见得。 </cn></textItem><textItem identifier="wisdom_15"><en_us>Colors are nature's numbers.</en_us><en_uk>Colours are nature's numbers.</en_uk><nl>Kleuren zijn de getallen van de natuur. </nl><fr>Les couleurs sont les chiffres de la nature.</fr><de>Farben sind die Zahlen der Natur.</de><es>Los colores son los números de la naturaleza.</es><br>As cores são os números da natureza.</br><pt>As cores são os números da natureza.</pt><it>I colori sono i numeri della natura.</it><se>Färger är naturens siffror.</se><pl>Kolory to liczby natury.</pl><ru>Цвета – это цифры природы.</ru><tr>ooo</tr><id>Warna-warna ialah angka-angka alamiah.</id><my>ooo</my><jp>色とは自然の中の数字である。</jp><cn>色彩是大自然的魔法。</cn></textItem><textItem identifier="wisdom_16"><en_us>Life is a comedy to those who think, and a tragedy to those who feel.</en_us><en_uk>Life is a comedy to those who think, and a tragedy to those who feel.</en_uk><nl>Het leven is een blijspel voor mensen die denken, en een treurspel voor mensen die voelen. </nl><fr>La vie est une comédie pour ceux qui pensent et une tragédie pour ceux qui sentent.</fr><de>Das Leben ist eine Komödie für die Menschen, die denken, und eine Tragödie für diejenigen, die fühlen.</de><es>La vida es una comedia para los que piensan y una tragedia para los que sienten.</es><br>A vida é uma comédia para aqueles que pensam e uma tragédia para aqueles que sentem.</br><pt>A vida é uma comédia para quem pensa, e uma tragédia para quem sente.</pt><it>La vita è una commedia per coloro che pensano, ed una tragedia per coloro che sono sensibili.</it><se>Livet är en komedi för de som tänker och en tragedi för de som känner.</se><pl>Życie jest komedią dla tych, którzy myślą, i tragedią dla tych, którzy czują.</pl><ru>Жизнь – это комедия для тех, кто думает, и трагедия для тех, кто чувствует.</ru><tr>ooo</tr><id>Hidup ialah sebuah komedi bagi orang-orang yang berpikir, dan sebuah tragedi bagi orang-orang yang merasa.</id><my>ooo</my><jp>人体のほとんどは水分である。あなたが食べなくとも、何を食べようとも。</jp><cn>生活就像一面镜子,你哭它也哭,你笑它也笑。</cn></textItem><textItem identifier="line_1"><en_us>Couch Potato</en_us><en_uk>Couch Potato</en_uk><nl>Buismuis</nl><fr>Paresseuse</fr><de>Sofahocker</de><es>Vaga integral</es><br>Sedentária</br><pt>Lontra de Sofá</pt><it>Pantofolaia</it><se>Soffpotatis</se><pl>Kanapowy leń</pl><ru>Домосед</ru><tr>ooo</tr><id>Kentang dipan</id><my>ooo</my><jp>カウチポテト</jp><cn>懒惰</cn></textItem><textItem identifier="line_2"><en_us>Go-Getter</en_us><en_uk>Go-Getter</en_uk><nl>Doorzetter</nl><fr>Battante</fr><de>Draufgänger</de><es>Ambiciosa</es><br>Determinada</br><pt>Ambicioso</pt><it>Intraprendente</it><se>Gåpåare</se><pl>Osoba przebojowa</pl><ru>Энергичный человек</ru><tr>ooo</tr><id>Maju Pengambil</id><my>ooo</my><jp>野望のかたまり</jp><cn>干练</cn></textItem><textItem identifier="line_3"><en_us>Zen Princess</en_us><en_uk>Zen Princess</en_uk><nl>Zenprinses</nl><fr>Princesse zen</fr><de>Buddha-Prinzessin</de><es>Princesa zen</es><br>Zen</br><pt>Princesa Zen</pt><it>Principessa zen</it><se>Zenprinsessa</se><pl>Księżniczka zen</pl><ru>Японская принцесса</ru><tr>ooo</tr><id>Putri Zen</id><my>ooo</my><jp>バランス良好</jp><cn>乐活一族</cn></textItem><textItem identifier="line_4"><en_us>Sporty Thoughts</en_us><en_uk>Sporty Thoughts</en_uk><nl>Sportieve denker</nl><fr>Esprit sportif</fr><de>Sportlicher Ehrgeiz</de><es>Pensamientos deportivos</es><br>Esportiva</br><pt>Pensamentos Desportivos</pt><it>Pensieri sportivi</it><se>Sportiga tankar</se><pl>Sportowe myśli</pl><ru>Мысли о спорте</ru><tr>ooo</tr><id>Pikiran menyolok</id><my>ooo</my><jp>スポーティ</jp><cn>积极思考</cn></textItem><textItem identifier="line_5"><en_us>Dreamy Daze</en_us><en_uk>Dreamy Daze</en_uk><nl>Dromerig en verstrooid</nl><fr>Dans les nuages</fr><de>Verträumte Vernebelung</de><es>Siempre en las nubes</es><br>Sonhadora</br><pt>Sonhar Acordado</pt><it>Con la testa fra le nuvole</it><se>Drömlik yra</se><pl>Senne oszołomienie</pl><ru>Мечтательный транс</ru><tr>ooo</tr><id>Lika-liku Lamunan</id><my>ooo</my><jp>夢見がち</jp><cn>理想主义</cn></textItem><textItem identifier="line_6"><en_us>Practical Person</en_us><en_uk>Practical Person</en_uk><nl>Praktisch persoon</nl><fr>Esprit pratique</fr><de>Praktischer Geist</de><es>Persona práctica</es><br>Prática</br><pt>Pessoa Prática</pt><it>Persona pratica</it><se>Praktisk person</se><pl>Osoba praktyczna</pl><ru>Практичный человек</ru><tr>ooo</tr><id>Orang yang berguna</id><my>ooo</my><jp>現実的</jp><cn>现实主义</cn></textItem><textItem identifier="line_7"><en_us>Passion Rules</en_us><en_uk>Passion Rules</en_uk><nl>Vol passie</nl><fr>Puissante passion</fr><de>Leidenschaft siegt</de><es>Domina la pasión</es><br>Apaixonada</br><pt>Manda a Paixão</pt><it>La passione domina</it><se>Passionen styr</se><pl>Rządy namiętności</pl><ru>Страсть рулит</ru><tr>ooo</tr><id>Kekuasaan Nafsu</id><my>ooo</my><jp>燃える情熱家</jp><cn>多情女人痴情男</cn></textItem><textItem identifier="line_8"><en_us>Lonely in Love</en_us><en_uk>Lonely in Love</en_uk><nl>Alleen in de liefde</nl><fr>Solitaire dans l'amour</fr><de>Einsame Liebe</de><es>Solitaria y enamorada</es><br>Solitária no Amor</br><pt>Só no Amor</pt><it>Solitaria in amore</it><se>Ensam i kärlek</se><pl>Samotność w miłości</pl><ru>Одинокое сердце</ru><tr>ooo</tr><id>Kesepian dalam cinta</id><my>ooo</my><jp>愛情不足</jp><cn>单相思</cn></textItem><textItem identifier="line_9"><en_us>Romance Rules</en_us><en_uk>Romance Rules</en_uk><nl>Romantisch ingesteld</nl><fr>Histoire d'amour</fr><de>Romantik siegt</de><es>Domina el romance</es><br>Romântica</br><pt>Manda o Romance</pt><it>L'amore domina</it><se>Romantiken styr</se><pl>We władzy romansu</pl><ru>Любовь рулит</ru><tr>ooo</tr><id>Kekuasaan Percintaan.</id><my>ooo</my><jp>超ロマンティック</jp><cn>罗曼蒂克</cn></textItem><textItem identifier="line_10"><en_us>Eat More Fruits and Vegetables</en_us><en_uk>Eat More Fruit and Vegetables</en_uk><nl>Eet meer groenten en fruit</nl><fr>Mange plus de fruits et de légumes</fr><de>Iss mehr Obst und Gemüse</de><es>Come más frutas y verduras</es><br>Coma mais frutas e verduras</br><pt>Come mais fruta e verduras</pt><it>Mangia più frutta e verdura</it><se>Ät mer frukt och grönsaker</se><pl>Jedz więcej owoców i warzyw</pl><ru>Нужно есть больше овощей и фруктов</ru><tr>ooo</tr><id>Makanlah lebih banyak buah-buahan dan sayur-sayuran</id><my>ooo</my><jp>ビタミン不足</jp><cn>多吃水果和蔬菜</cn></textItem><textItem identifier="line_11"><en_us>Health Improves with Rest</en_us><en_uk>Health Improves with Rest</en_uk><nl>Verbeter je conditie met rust</nl><fr>Le repos c'est la santé</fr><de>Die Gesundheit bessert sich durch Ruhe</de><es>La salud mejora con el descanso</es><br>A saúde melhora com o descanso</br><pt>A saúde melhora com o descanso</pt><it>La salute migliora con il riposo</it><se>Vila förbättrar hälsan</se><pl>Będziesz zdrowszy odpoczywając</pl><ru>Для улучшения здоровья необходим отдых</ru><tr>ooo</tr><id>Kesehatan bertambah baik dengan Istirahat</id><my>ooo</my><jp>クッキー好き</jp><cn>休息改善健康状态</cn></textItem><textItem identifier="line_12"><en_us>Nutrition and Exercise Pay Off</en_us><en_uk>Nutrition and Exercise Pay Off</en_uk><nl>Gezonde voeding en beweging werpen hun vruchten af</nl><fr>L'astuce : une bonne alimentation et du sport </fr><de>Ernährung und Bewegung zahlen sich aus</de><es>La nutrición y el ejercicio valen la pena</es><br>Boa alimentação e exercícios valem a pena</br><pt>Nutrição e exercício compensam</pt><it>L'alimentazione e l'esercizio hanno effetti benefici</it><se>Nyttig mat och träning betalar sig</se><pl>Odżywanie i wysiłek fizyczny</pl><ru>Пожинай плоды здорового образа жизни</ru><tr>ooo</tr><id>Hasil dari Nutrisi dan Latihan</id><my>ooo</my><jp>健康マニア</jp><cn>补充营养多多锻炼</cn></textItem><textItem identifier="line_13"><en_us>15 Minutes of Fame</en_us><en_uk>15 Minutes of Fame</en_uk><nl>15 minuten roem</nl><fr>15 minutes de célébrité</fr><de>15 Minuten des Ruhms</de><es>15 minutos de fama</es><br>15 minutos de fama</br><pt>15 minutos de fama</pt><it>15 minuti di gloria</it><se>Kändis i en kvart</se><pl>15 minut sławy</pl><ru>15 минут славы</ru><tr>ooo</tr><id>Kemasyuran 15 menit</id><my>ooo</my><jp>5秒間の名声</jp><cn>昙花一现</cn></textItem><textItem identifier="line_14"><en_us>"B" Celebrity</en_us><en_uk>"B" Celebrity</en_uk><nl>B-ster</nl><fr>Vedette de second rang</fr><de>"B"-Promi</de><es>Famosilla</es><br>Fama Duvidosa</br><pt>Celebridade série "B"</pt><it>Diva di serie B</it><se>B-kändis</se><pl>Celebrity klasy "B"</pl><ru>Второразрядная знаменитость</ru><tr>ooo</tr><id>Selebriti "B"</id><my>ooo</my><jp>一日の名声</jp><cn>颇有威望</cn></textItem><textItem identifier="line_15"><en_us>A Legend</en_us><en_uk>A Legend</en_uk><nl>Een legende</nl><fr>Une légende</fr><de>Eine Legende</de><es>Leyenda</es><br>Superfamosa</br><pt>Uma lenda</pt><it>Una leggenda</it><se>En legend</se><pl>Legenda</pl><ru>Легенда</ru><tr>ooo</tr><id>Kisah A</id><my>ooo</my><jp>超有名</jp><cn>家喻户晓 尽人皆知</cn></textItem><textItem identifier="line_16"><en_us>Happily Ever After</en_us><en_uk>Happily Ever After</en_uk><nl>Lang en gelukkig</nl><fr>Ils vécurent heureux et eurent beaucoup d'enfants</fr><de>Für immer glücklich</de><es>Felices para siempre</es><br>Felizes para Sempre</br><pt>Felizes para sempre</pt><it>E vissero per sempre felici e contenti</it><se>Lyckliga i alla sina dagar</se><pl>I żyli długo i szczęśliwie</pl><ru>Счастье до конца жизни</ru><tr>ooo</tr><id>Berbahagia selamanya</id><my>ooo</my><jp>ずぅーっと幸せ</jp><cn>白头偕老 幸福美满永相随</cn></textItem><textItem identifier="line_17"><en_us>Ups and Downs</en_us><en_uk>Ups and Downs</en_uk><nl>Ups en downs</nl><fr>Des hauts et des bas</fr><de>Hochs und Tiefs</de><es>Con altibajos</es><br>Altos e Baixos</br><pt>Altos e baixos</pt><it>Alti e bassi</it><se>Medgång och motgång</se><pl>Wzloty i upadki</pl><ru>Подъемы и падения</ru><tr>ooo</tr><id>Naik Turun</id><my>ooo</my><jp>浮き沈みが激しい</jp><cn>起起落落,坎坎坷坷</cn></textItem><textItem identifier="line_18"><en_us>Marriage Is a Team Effort and Takes Work</en_us><en_uk>Marriage Is a Team Effort and Takes Work</en_uk><nl>Het huwelijk is teamwerk en je moet erin investeren</nl><fr>Le mariage est un travail d'équipe où il faut s'investir</fr><de>Ehe bedeutet Zusammenhalt und auch Arbeit </de><es>El matrimonio es un trabajo en equipo y requiere esfuerzo</es><br>Casamento exige esforço e companheirismo</br><pt>O casamento é um trabalho de equipa e exige esforço</pt><it>Il matrimonio è uno sforzo di squadra che richiede lavoro</it><se>Äktenskap är ett lagspel och kräver jobb</se><pl>Małżeństwo to praca zbiorowa, która wymaga wysiłku</pl><ru>Брак – это совместная работа, требующая усилий</ru><tr>ooo</tr><id>Pernikahan ialah upaya sebuah tim dan membutuhkan usaha</id><my>ooo</my><jp>多くの幸せな瞬間に包まれる</jp><cn>婚姻需要两个人的共同经营</cn></textItem><textItem identifier="line_19"><en_us>Stick to Your Budget</en_us><en_uk>Stick to Your Budget</en_uk><nl>Blijf bij je budget</nl><fr>Ne dépasse pas ton budget</fr><de>Achte auf dein Budget</de><es>Cíñete al presupuesto</es><br>Não gaste demais</br><pt>Não ultrapasses o teu orçamento</pt><it>Attieniti al tuo bilancio</it><se>Håll din budget</se><pl>Ściśle według budżetu</pl><ru>Придерживайся бюджета</ru><tr>ooo</tr><id>Berpeganglah pada Anggaran anda</id><my>ooo</my><jp>出費を減らそう</jp><cn>你不理财财不理你</cn></textItem><textItem identifier="line_20"><en_us>Money Seems to Grow on Trees</en_us><en_uk>Money Seems to Grow on Trees</en_uk><nl>Het geld lijkt aan de bomen te groeien</nl><fr>L'argent semble pousser sur les arbres</fr><de>Das Geld scheint auf Bäumen zu wachsen</de><es>El dinero parece crecer en los árboles</es><br>O dinheiro está nascendo em árvores</br><pt>O dinheiro parece crescer nas árvores</pt><it>Sembra che i soldi crescano sugli alberi</it><se>Pengar verkar växa på träd</se><pl>Pieniądze chyba rosną na drzewach</pl><ru>Кажется, деньги растут на деревьях</ru><tr>ooo</tr><id>Uang kelihatannya sedang tumbuh di pohon</id><my>ooo</my><jp>お金は君の友達</jp><cn>财源滚滚不停息</cn></textItem><textItem identifier="line_21"><en_us>Gain Wealth As You Age</en_us><en_uk>Gain Wealth As You Age</en_uk><nl>Rijkdom komt met de jaren</nl><fr>Avec le temps vient l'argent</fr><de>Das Vermögen kommt mit dem Alter</de><es>Obtén riqueza con la edad</es><br>Fique rico com a idade</br><pt>Ganha fortuna enquanto envelheces</pt><it>Diventa ricca man mano che invecchi</it><se>Ökad rikedom med åldern</se><pl>Bogactwo przyjdzie z wiekiem</pl><ru>Богатство приходит с возрастом</ru><tr>ooo</tr><id>Dapatkan kekayaan di saat masa tua anda</id><my>ooo</my><jp>太った豚の貯金箱!</jp><cn>你的财富随着你的年龄增长</cn></textItem><textItem identifier="line_22"><en_us>Needs More Cuddles</en_us><en_uk>Needs More Cuddles</en_uk><nl>Heeft meer knuffels nodig</nl><fr>Besoin de plus de câlins</fr><de>Braucht mehr Umarmungen</de><es>Hacen falta más mimos</es><br>Você precisa de mais carinho</br><pt>Precisa de mais mimos</pt><it>Ha bisogno di più coccole</it><se>Behöver mer kramar</se><pl>Potrzeba więcej przytulania</pl><ru>Нужно больше обниматься</ru><tr>ooo</tr><id>Membutuhkan Pelukan yang lebih banyak</id><my>ooo</my><jp>頻繁にハグをするべき</jp><cn>爱上对爱的体会</cn></textItem><textItem identifier="line_23"><en_us>Give More Love to Get It</en_us><en_uk>Give More Love to Get It</en_uk><nl>Wie liefde geeft, liefde ontvangt</nl><fr>Donne plus d'amour pour en recevoir plus</fr><de>Schenke mehr Liebe, um Zärtlichkeit zu bekommen</de><es>Da más amor para recibirlo</es><br>Dê amor para receber amor</br><pt>Dá mais amor para receberes mais amor</pt><it>Dai più amore per riceverne</it><se>Ge mer kärlek för att få mer</se><pl>Ofiaruj więcej miłości, aby samemu ją otrzymać</pl><ru>Отдавай больше любви, чтобы получать ее</ru><tr>ooo</tr><id>Berikan lebih banyak cinta untuk mendapatkannya</id><my>ooo</my><jp>ハグフレンド</jp><cn>付出爱才能获得爱</cn></textItem><textItem identifier="line_24"><en_us>Cuddle Queen</en_us><en_uk>Cuddle Queen</en_uk><nl>Knuffelkoningin</nl><fr>La reine des câlins</fr><de>Kuschelkönigin</de><es>La reina de los mimos</es><br>Carinhosa</br><pt>Rainha dos Mimos</pt><it>Regina delle coccole</it><se>Kramdrottning</se><pl>Królowa uścisków</pl><ru>Королева объятий</ru><tr>ooo</tr><id>Ratu Pelukan</id><my>ooo</my><jp>ハグ大好き!</jp><cn>亲密的拥抱</cn></textItem><textItem identifier="line_25"><en_us>Happy at Home</en_us><en_uk>Happy at Home</en_uk><nl>Gelukkig thuis</nl><fr>Grillon du foyer</fr><de>Glücklich zu Hause</de><es>Estás feliz en casa</es><br>Fique em casa e seja feliz</br><pt>Feliz em casa</pt><it>Felice a casa</it><se>Trivs hemma</se><pl>Domowe szczęście</pl><ru>Дома хорошо</ru><tr>ooo</tr><id>Kesenangan di Rumah</id><my>ooo</my><jp>家庭が一番の安らぎの場所</jp><cn>无心以出岫,鸟倦飞而知还</cn></textItem><textItem identifier="line_26"><en_us>The World Is a Book...Read More Than a Page</en_us><en_uk>The World Is a Book... Read More Than a Page</en_uk><nl>Het wereld is een boek... lees meer dan de eerste bladzijde</nl><fr>Le monde est un livre… lis-en plus d'une page</fr><de>Die Welt ist ein Buch… Lies mehr als eine Seite</de><es>El mundo es como un libro... no leas una sola página</es><br>O mundo é um livro... leia mais de uma página</br><pt>O mundo é um livro... Lê mais de uma página</pt><it>Il mondo è un libro…Leggine più di una pagina</it><se>Världen är en bok ... läs mer än en sida</se><pl>Świat jest książką... Przeczytaj więcej, niż jedną stronę</pl><ru>Мир – это книга... Прочти больше одной страницы</ru><tr>ooo</tr><id>Dunia ialah sebuah Buku…Bacalah lebih dari satu Halaman</id><my>ooo</my><jp>もっと旅行を!</jp><cn>读万卷书行万里路</cn></textItem><textItem identifier="line_27"><en_us>You Will See the World…and Maybe the Moon</en_us><en_uk>You Will See the World… and Maybe the Moon</en_uk><nl>Je zult de wereld zien... en misschien de maan</nl><fr>Tu verras le monde entier… et peut-être même la lune</fr><de>Du wirst die Welt sehen… und vielleicht auch den Mond</de><es>Verás el mundo... y quizá la luna</es><br>Você viajará o mundo todo... e a lua!</br><pt>Verás o mundo... e talvez a Lua</pt><it>Vedrai il mondo…E forse anche la luna</it><se>Du kommer få se världen ... och kanske månen</se><pl>Zobaczysz świat... A może i Księżyc</pl><ru>Ты увидишь мир... а может и Луну</ru><tr>ooo</tr><id>Anda akan melihat Dunia…dan Mungkin Bulannya</id><my>ooo</my><jp>旅こそ人生!</jp><cn>拂云游四海,弄影到三山。</cn></textItem><textItem identifier="line_28"><en_us>Not Very Lucky, Brings Good Luck to Others</en_us><en_uk>Not Very Lucky, Brings Good Luck to Others</en_uk><nl>Niet erg gelukkig, maar brengt anderen wel geluk</nl><fr>Pas très chanceuse, mais porte la chance aux autres</fr><de>Nicht sehr glücklich, bringt aber anderen Glück</de><es>No tienes mucha suerte, pero se la das a otros</es><br>Você não tem muita sorte, mas traz sorte para os outros</br><pt>Sem muita sorte, traz boa sorte para os outros</pt><it>Non è molto fortunata ma porta fortuna agli altri</it><se>Har otur, men ger andra tur</se><pl>Nie ma szczęścia, ale przynosi szczęście innym</pl><ru>Особой везучестью не отличается, приносит удачу другим</ru><tr>ooo</tr><id>Tidaklah Begitu Beruntung, Membawakan Keberuntungan pada Orang lain</id><my>ooo</my><jp>たまには運の悪い時もある</jp><cn>阳光总在风雨后</cn></textItem><textItem identifier="line_29"><en_us>More Lucky Than Not</en_us><en_uk>More Lucky Than Not</en_uk><nl>Meer wel dan niet gelukkig</nl><fr>Plus de chance que de poisse</fr><de>Eher glücklich als nicht glücklich</de><es>Tienes más suerte que mala suerte</es><br>Mais sortuda do que azarada</br><pt>Costuma ter sorte</pt><it>Più fortunata che sfortunata</it><se>Har mer tur än otur</se><pl>Więcej szczęścia niż pecha</pl><ru>Скорее везучий, чем нет</ru><tr>ooo</tr><id>Lebih Beruntung daripada Tidak</id><my>ooo</my><jp>三つ葉のクローバー級の十分な幸せ</jp><cn>知足者常乐</cn></textItem><textItem identifier="line_30"><en_us>Truly a Lucky Duck</en_us><en_uk>Truly a Lucky Duck</en_uk><nl>Met recht een geluksvogel</nl><fr>Sacrée veinarde !</fr><de>Ein richtiger Glückspilz</de><es>Menuda suerte que tienes</es><br>Sortuda demais</br><pt>Muita sorte</pt><it>Una persona davvero molto fortunata</it><se>I sanning en lyckans ost</se><pl>Prawdziwy szczęściarz</pl><ru>Настоящий счастливчик</ru><tr>ooo</tr><id>Bebek Keberuntungan yang Sesungguhnya</id><my>ooo</my><jp>完璧な運の持ち主</jp><cn>鸿运当头</cn></textItem><textItem identifier="name_1"><en_us>Menara, the giant</en_us><en_uk>Menara, the giant</en_uk><nl>Menara, de reus</nl><fr>Ménara, le géant</fr><de>Elektra, die Riesin</de><es>Menara el gigante</es><br>Menara Gigante</br><pt>Menara, a gigante</pt><it>Menara, il gigante</it><se>Jätten Menara</se><pl>Wielkolud Menara</pl><ru>Кирпич с отпечатком</ru><tr>ooo</tr><id>Menara, si raksasa</id><my>ooo</my><jp>ジャイアントメナラ</jp><cn>巨人梅纳拉</cn></textItem><textItem identifier="name_2"><en_us>Tangerine Dream</en_us><en_uk>Tangerine Dream</en_uk><nl>Mandarijndroom</nl><fr>Rêve mandarine</fr><de>Mandarinentraum</de><es>Sueño de mandarina</es><br>Sonho Laranja</br><pt>Sonho Tangerina</pt><it>Sogno al mandarino</it><se>Mandarindröm</se><pl>Mandarynkowy sen</pl><ru>Мандариновая мечта</ru><tr>ooo</tr><id>Mimpi Jeruk Kepruk</id><my>ooo</my><jp>キューティーオレンジガール</jp><cn>梦幻柑橘</cn></textItem><textItem identifier="name_3"><en_us>Digimini, the pink pixel dog</en_us><en_uk>Digimini, the pink pixel dog</en_uk><nl>Digimini, de roze pixelhond</nl><fr>Digimini, le chien pixel rose</fr><de>Piximini, der pinke Pixelhund</de><es>Digimini el perro rosa pixelado</es><br>Digimini, o cão cor-de-rosa</br><pt>Digimini, o cão pixel cor-de-rosa</pt><it>Digimini, il cane pixel rosa</it><se>Digimini, den rosa pixelhunden</se><pl>Digimini, różowy pikselowy pies</pl><ru>Розовый пиксельный песик Миницифрик</ru><tr>ooo</tr><id>Dini, anjing pixel merah muda</id><my>ooo</my><jp>ミニミニピンクピクセル犬</jp><cn>迷你数码像素狗</cn></textItem><textItem identifier="name_4"><en_us>Xiaotho, the gaga gamer</en_us><en_uk>Xiaotho, the gaga gamer</en_uk><nl>Xiaotho, de ga-ga-gamer</nl><fr>Xiaotho, le joueur gaga</fr><de>Zockerino, der verrückte Spieler</de><es>Xiaotho el jugador gagá</es><br>Xiaoto, o jogador gagá</br><pt>Xiaotho, o jogador gagá</pt><it>Xiaotho, il giocatore rimbambito</it><se>Xiaotho, gagaspelaren</se><pl>Xiaoto, półprzytomny gracz</pl><ru>Сумасшедший игроман Адинадин11</ru><tr>ooo</tr><id>Xiaotho, pertandingan gaga</id><my>ooo</my><jp>おたくゲーマー</jp><cn>游戏玩家 小托马斯</cn></textItem><textItem identifier="name_5"><en_us>The Dappercat</en_us><en_uk>The Dappercat</en_uk><nl>De keurige kat</nl><fr>Le chat coquet</fr><de>Das schmucke Kätzchen</de><es>El gato molón</es><br>Gato de Madame</br><pt>O Gato Elegante</pt><it>Il gatto azzimato</it><se>Finkatten</se><pl>Kociątko</pl><ru>Кот-щеголь</ru><tr>ooo</tr><id>Kucing Necis</id><my>ooo</my><jp>のんびりや</jp><cn>迪皮尔先生</cn></textItem><textItem identifier="name_6"><en_us>Her Royal Highness, Princess Strawberry</en_us><en_uk>Her Royal Highness, Princess Strawberry</en_uk><nl>Hare Koninklijke Hoogheid prinses Aardbei</nl><fr>Son altesse royale, Princesse Charlotte aux Fraises</fr><de>Ihre Königliche Hoheit, Prinzessin Erdbeere</de><es>Su Alteza Real la princesa Fresa</es><br>Princesa Moranguinho</br><pt>Sua Alteza Real, a Princesa Morangos</pt><it>Sua Altezza Reale la Principessa Fragolina</it><se>Prinsessan Jordgubbe</se><pl>Jej Książęca Wysokość Księżniczka Truskawka</pl><ru>Ее королевское высочество, принцесса Клубника</ru><tr>ooo</tr><id>Yang Terhormat Tuan Putri, Putri Stroberi</id><my>ooo</my><jp>ロイヤルストロベリープリンセス</jp><cn>草莓公主殿下</cn></textItem><textItem identifier="name_7"><en_us>Noodle, the cranky caterpillar</en_us><en_uk>Noodle, the cranky caterpillar</en_uk><nl>Noedel, de norse rups</nl><fr>Nouille, la chenille excentrique</fr><de>Schrulli, die schrullige Raupe</de><es>Fideo el ciempiés gruñón</es><br>Lagarta Miojo</br><pt>Noodle, a lagarta resmungona</pt><it>Spaghetto, il bruco strampalato</it><se>Nudel, den griniga kålmasken</se><pl>Makaronica, dziwaczna gąsienica</pl><ru>Вертлявая гусеница Лапша</ru><tr>ooo</tr><id>Mie, ulat bulu yang mudah tersinggung</id><my>ooo</my><jp>ラーメンキャタピラ</jp><cn>古怪的毛虫 奴迪</cn></textItem><textItem identifier="name_8"><en_us>Chili Pepper, the spicy dragon</en_us><en_uk>Chili Pepper, the spicy dragon</en_uk><nl>Chilipeper, de pikante draak</nl><fr>Piment, le dragon épicé</fr><de>Chili Pepper, der heiße Drache</de><es>Chile Picante el dragón</es><br>Dragão Pimenta</br><pt>Chili, o dragão picante</pt><it>Peperoncino, il drago piccante</it><se>Chili, den kryddiga draken</se><pl>Paprykopieprz, pikantny smok</pl><ru>Огнедышащий дракон Перчик</ru><tr>ooo</tr><id>Merica, naga pedas</id><my>ooo</my><jp>チリドラゴンのチョコレート狂</jp><cn>小红龙 璀丽帕帕</cn></textItem><textItem identifier="name_9"><en_us>Sazzle</en_us><en_uk>Sazzle</en_uk><nl>Sazzle</nl><fr>Sazzle</fr><de>Chaosmaus</de><es>Chispeante</es><br>Selírio</br><pt>Sazzle</pt><it>Sazzle</it><se>Snyggis</se><pl>Lalunia</pl><ru>Швырк</ru><tr>ooo</tr><id>Sali</id><my>ooo</my><jp>サズル</jp><cn>奶茶 莎莎</cn></textItem><textItem identifier="name_10"><en_us>Jawzzz</en_us><en_uk>Jawzzz</en_uk><nl>Jawzzz</nl><fr>Jawzzz</fr><de>Jazzy</de><es>Dientecitos</es><br>Bocão</br><pt>Jawzzz</pt><it>Jawzzz</it><se>Käfty</se><pl>Szczękościsk</pl><ru>Челюзззти</ru><tr>ooo</tr><id>Jimi</id><my>ooo</my><jp>ジャウズゥー</jp><cn>大鲨鱼杰森</cn></textItem><textItem identifier="name_11"><en_us>Oingo Boingo</en_us><en_uk>Oingo Boingo</en_uk><nl>Oingo Boingo</nl><fr>Oingo Boingo</fr><de>Oingo Boingo</de><es>Ongo Bongo</es><br>Póing Póing</br><pt>Oingo Boingo</pt><it>Bongo Bongino</it><se>Ongo Bongo</se><pl>Sprężyngo</pl><ru>Влюбчивая мумия</ru><tr>ooo</tr><id>Ooon Bengong</id><my>ooo</my><jp>オイゴビンゴ</jp><cn>奥尼古</cn></textItem><textItem identifier="name_12"><en_us>The Golden Monkeyboy</en_us><en_uk>The Golden Monkeyboy</en_uk><nl>De gouden aapjongen</nl><fr>Le petit singe doré</fr><de>Das goldene Äffchen</de><es>El chico mono dorado</es><br>Menino-macaco</br><pt>O Macaco Dourado</pt><it>Lo scimmiotto dorato</it><se>Den gyllene appojken</se><pl>Złoty Małpiszon</pl><ru>Золотая обезьянка</ru><tr>ooo</tr><id>Monyet Emas</id><my>ooo</my><jp>モンキーボーイ</jp><cn>黄金猴</cn></textItem><textItem identifier="power_1"><en_us>Can breathe life into any electronic gadget.</en_us><en_uk>Can breathe life into any electronic gadget.</en_uk><nl>Kan elektronische apparatuur tot leven wekken.</nl><fr>Peut insuffler la vie aux gadgets électroniques.</fr><de>Kann jedem elektronischen Gerät Leben einhauchen.</de><es>Puede insuflar vida a cualquier aparato electrónico.</es><br>Consegue dar vida a qualquer aparelho eletrônico.</br><pt>Pode dar vida a qualquer aparelho electrónico.</pt><it>Può riportare in vita un dispositivo elettronico.</it><se>Kan få liv i alla elektroniska prylar.</se><pl>Potrafi tchnąć życie w dowolny gadżet elektroniczny.</pl><ru>Может оживить любой электрический прибор.</ru><tr>ooo</tr><id>Bisa bernafas dalam peralatan elektronik.</id><my>ooo</my><jp>どんなハイテク電化新製品でも使えるようにしちゃう</jp><cn>可以向任何电子设备注入生命</cn></textItem><textItem identifier="power_2"><en_us>Spreads citrus joy, curing colds and quenching thirsts.</en_us><en_uk>Spreads citrus joy, curing colds and quenching thirsts.</en_uk><nl>Verspreidt citrusvreugde, geneest verkoudheid en lest de dorst. </nl><fr>Un cocktail de vitamines qui réconforte quand on est malade et qui est bon en limonade.</fr><de>Verbreitet Zitruskraft, heilt Erkältungen und löscht den Durst.</de><es>Reparte alegría cítrica, cura resfriados y sacia la sed.</es><br>Traz uma alegria vibrante, cura resfriados e sacia a sede.</br><pt>Espalha alegria citrina, curando constipações e saciando a sede.</pt><it>Diffonde gioia al profumo di agrumi, curando i raffreddori e togliendo la sete.</it><se>Sprider citrusglädje, botar förkylningar och släcker törst.</se><pl>Rozsiewa cytrusową radość, lecząc przeziębienia i gasząc pragnienie.</pl><ru>Распыляет цитрусовую радость, которая лечит простуду и утоляет жажду.</ru><tr>ooo</tr><id>Berbagi kebahagiaan pohon jeruk, mengobati kedinginan dan memuaskan dahaga.</id><my>ooo</my><jp>ビタCパワー炸裂!オレンジハートを振りまいて健康に美しくしてくれる</jp><cn>收到柑橘的喜悦,驱走寒冷和口渴。</cn></textItem><textItem identifier="power_3"><en_us>Barfs up pink pixels that make people feel happy inside.</en_us><en_uk>Barfs up pink pixels that make people feel happy inside.</en_uk><nl>Spuugt roze pixels uit die mensen van binnen blij maken. </nl><fr>Engendre des pixels roses qui rendent les gens tout heureux.</fr><de>Bellt pinke Pixel, durch die die Menschen sich glücklich fühlen.</de><es>Ladra píxeles rosas que hacen que la gente se sienta bien por dentro.</es><br>Solta pixels cor-de-rosa que deixam as pessoas felizes.</br><pt>Vomita pixels que fazem as pessoas felizes.</pt><it>Vomita dei pixel rosa che fanno sentire la gente felice dentro.</it><se>Hostar upp rosa pixlar som får folk att bli glada.</se><pl>Uwalnia różowe piksele, które uszczęśliwiają ludzi.</pl><ru>Отрыгивает розовые пиксели, от который люди чувствуют себя счастливыми.</ru><tr>ooo</tr><id>Muntahkan pixel merah muda yang membuat orang-orang merasa bahagia di dalamnya.</id><my>ooo</my><jp>ピンクピクセルがエラーを吐き出して、すべてに愛と幸せを与える</jp><cn>吐出粉色的像素使人们从心中感觉快乐。</cn></textItem><textItem identifier="power_4"><en_us>Can eat any amount of spicy food without suffering from intestinal distress.</en_us><en_uk>Can eat any amount of spicy food without suffering from intestinal distress.</en_uk><nl>Kan enorme hoeveelheden heet eten naar binnen werken zonder problemen te krijgen met de spijsvertering. </nl><fr>Peut manger autant de plats relevés qu'il veut sans souffrir de désordres intestinaux.</fr><de>Kann große Mengen scharfer Gerichte essen, ohne an Bauchschmerzen zu leiden.</de><es>Es capaz de comer cualquier cantidad de comida especiada sin que se le remuevan los intestinos.</es><br>Consegue comer alimentos apimentados sem ficar com problemas no intestino.</br><pt>Pode comer qualquer quantidade de comida picante sem sofrer problemas intestinais.</pt><it>Può mangiare qualsiasi quantità di cibo piccante senza soffrire di disturbi intestinali.</it><se>Kan äta obegränsat med kryddstark mat utan att må illa.</se><pl>Może pochłonąć dowolne ilości pikantnego jedzenia bez dolegliwości żołądkowych.</pl><ru>Может съесть сколько угодно острой еды, не страдая кишечными коликами.</ru><tr>ooo</tr><id>Bisa makan makanan pedas tanpa menderita masalah usus.</id><my>ooo</my><jp>おなかを壊すことなく、好きなだけ辛い料理を食べられる</jp><cn>吃很多辛辣的食物也不会胃痛。</cn></textItem><textItem identifier="power_5"><en_us>Can communicate with all animals.</en_us><en_uk>Can communicate with all animals.</en_uk><nl>Kan met alle dieren communiceren. </nl><fr>Peut communiquer avec tous les animaux.</fr><de>Kann mit allen Tieren kommunizieren.</de><es>Puede comunicarse con cualquier animal.</es><br>Consegue se comunicar com todos os animais.</br><pt>Pode comunicar com todos os animais.</pt><it>Può comunicare con tutti gli animali.</it><se>Kan tala med alla djur.</se><pl>Potrafi komunikować się ze wszystkimi zwierzętami.</pl><ru>Может разговаривать со всеми животными.</ru><tr>ooo</tr><id>Bisa berkomunikasi dengan semua hewan.</id><my>ooo</my><jp>全ての動物や人々と話すことができる</jp><cn>可以和所有的动物沟通对话。</cn></textItem><textItem identifier="power_6"><en_us>Makes beautiful drawings that make everyone feel better.</en_us><en_uk>Makes beautiful drawings that make everyone feel better.</en_uk><nl>Kan mooie tekeningen maken waarvan iedereen zich beter voelt. </nl><fr>Peint de magnifiques images qui rendent tout le monde heureux.</fr><de>Fertigt wunderschöne Bilder an, durch die sich jeder besser fühlt.</de><es>Hace preciosos dibujos que hacen sentirse mejor a cualquiera.</es><br>Faz lindos desenhos que ajudam as pessoas a se sentirem melhor.</br><pt>Faz desenhos lindos que fazem toda a gente sentir-se melhor.</pt><it>Fa dei bellissimi disegni che fanno sentire tutti meglio.</it><se>Gör underbara teckningar som får alla att må bättre.</se><pl>Wykonuje piękne rysunki, które sprawiają, że każdy czuje się lepiej.</pl><ru>Создает чудесные рисунки, от которых у всех улучшается самочувствие.</ru><tr>ooo</tr><id>Membuat gambar yang cantik yang membuat setiap orang merasa lebih baik.</id><my>ooo</my><jp>美しい絵を描いて世界中を励ますことができる</jp><cn>绘制漂亮的图画,使每个人感到快乐幸福。</cn></textItem><textItem identifier="power_7"><en_us>Makes shyness disappear.</en_us><en_uk>Makes shyness disappear.</en_uk><nl>Laat verlegenheid verdwijnen. </nl><fr>Efface toute timidité.</fr><de>Beseitigt die Schüchternheit.</de><es>Hace desaparecer la timidez.</es><br>Faz a timidez desaparecer.</br><pt>Faz a timidez desaparecer.</pt><it>Fa sparire la timidezza.</it><se>Får blyghet att försvinna.</se><pl>Sprawia, że nieśmiałość znika.</pl><ru>Прогоняет робость.</ru><tr>ooo</tr><id>Membuat perasaan malu menghilang.</id><my>ooo</my><jp>子どもたちの恐怖を取り除くことができる</jp><cn>让人没有胆怯。</cn></textItem><textItem identifier="power_8"><en_us>Spreads bizarre bezerk hyper happiness.</en_us><en_uk>Spreads bizarre berzerk hyper happiness.</en_uk><nl>Verspreidt bizarre en buitengewone überblijdschap. </nl><fr>Communique de façon étrange un énorme sentiment de bonheur.</fr><de>Verbreitet bizarres wahnsinniges Megaglück.</de><es>Reparte una extraña hiper felicidad de locura.</es><br>Dissemina uma alegria estranha, maluca e exagerada.</br><pt>Espalha uma hiper-felicidade bizarra.</pt><it>Diffonde un'iper- felicità bizzarra e forsennata.</it><se>Sprider bisarra utbrott av hyperglädje.</se><pl>Rozsiewa dziwną zwariowaną mega radość.</pl><ru>Распространяет чрезвычайно аномально бешеную радость.</ru><tr>ooo</tr><id>Membagikan kebahagiaan hiper aneh.</id><my>ooo</my><jp>超凶暴なまでの幸せで破壊的なハッピーを連れてくる</jp><cn>传播快乐。</cn></textItem><textItem identifier="power_9"><en_us>Puts people into a meditative state.</en_us><en_uk>Puts people into a meditative state.</en_uk><nl>Brengt mensen in een meditatieve toestand. </nl><fr>Fait entrer les gens dans un état méditatif.</fr><de>Versetzt Menschen in eine meditative Trance.</de><es>Induce un estado meditativo en la gente.</es><br>Faz as pessoas entrarem em estado meditativo.</br><pt>Põe as pessoas numa estado de meditação.</pt><it>Manda la gente in uno stato medidativo.</it><se>Försätter folk i ett harmoniskt tillstånd.</se><pl>Wprowadza ludzi w stan refleksyjny.</pl><ru>Наводит на людей задумчивость.</ru><tr>ooo</tr><id>Membawakan orang-orang ke tingkat meditasi.</id><my>ooo</my><jp>全てのことを禅の境地へともっていくことができる</jp><cn>让人进入沉思的状态。</cn></textItem><textItem identifier="power_10"><en_us>Can eat without ever getting full.</en_us><en_uk>Can eat without ever getting full.</en_uk><nl>Kan eten zonder ooit vol te zitten. </nl><fr>Peut manger sans jamais en avoir trop.</fr><de>Kann essen, ohne jemals satt zu werden.</de><es>Puede comer y comer sin llenarse nunca.</es><br>Consegue comer sem nunca ficar satisfeito.</br><pt>Pode comer sem nunca ficar demasiado cheio.</pt><it>Può mangiare senza mai saziarsi.</it><se>Kan äta utan att någonsin bli mätt.</se><pl>Je, ale nigdy się nie najada.</pl><ru>Может есть, никогда не наедаясь.</ru><tr>ooo</tr><id>Bisa makan tanpa pernah merasa kenyang.</id><my>ooo</my><jp>眠っている間に、食べたいもの全てを食べることができる</jp><cn>可以不停的吃,怎么吃也吃不饱。</cn></textItem><textItem identifier="power_11"><en_us>Catches, collects, and displays people's dreams as art.</en_us><en_uk>Catches, collects and displays people's dreams as art.</en_uk><nl>Vangt en verzamelt dromen van mensen om ze als kunst tentoon te stellen. </nl><fr>Capte, collectionne et montre les rêve des gens sous forme d'œuvre d'art.</fr><de>Fängt, sammelt und zeigt die Träume von Menschen als Kunst.</de><es>Atrapa, colecciona y expone los sueños de la gente como si fuera arte.</es><br>Recolhe os sonhos das pessoas e os transforma em arte.</br><pt>Apanha, colecciona e mostra os sonhos das pessoas como se fossem arte.</pt><it>Acchiappa, raccoglie e mostra i sogni della gente come arte.</it><se>Fångar, samlar och visar upp folks drömmar som konst.</se><pl>Wychwytuje, kolekcjonuje i wyświetla sny ludzi w postaci dzieł sztuki.</pl><ru>Ловит человеческие сны, собирает их и проводит выставки.</ru><tr>ooo</tr><id>Menangkap, mengumpulkan, dan menampilkan impian orang bagaikan seni.</id><my>ooo</my><jp>キャッチして、集めて…夢を占って夢を与えることができる</jp><cn>像艺术品一样收集和展示人们的梦。</cn></textItem><textItem identifier="power_12"><en_us>Can control weak minds.</en_us><en_uk>Can control weak minds.</en_uk><nl>Kan zwakke geesten aansturen. </nl><fr>Peut contrôler les esprits faibles.</fr><de>Kann schwache Gedanken kontrollieren.</de><es>Puede controlar mentes débiles.</es><br>Consegue controlar mentes fracas.</br><pt>Consegue controlar as mentes fracas.</pt><it>Può controllare le menti deboli.</it><se>Kan kontrollera svaga viljor.</se><pl>Potrafi kontrolować słabe umysły.</pl><ru>Может контролировать слабый разум.</ru><tr>ooo</tr><id>Bisa mengontrol ingatan yang lemah.</id><my>ooo</my><jp>マインドコントロールができる</jp><cn>可以操纵潜意识。</cn></textItem><textItem identifier="food_1"><en_us>Rubber duckies</en_us><en_uk>Rubber duckies</en_uk><nl>Rubberen eendjes</nl><fr>Canards en plastique</fr><de>Gummi-Entchen</de><es>Patitos de goma</es><br>Patinhos de borracha</br><pt>Patinhos de borracha</pt><it>Papere di gomma</it><se>Gummiankor</se><pl>Gumowe kaczuszki</pl><ru>Резиновые уточки</ru><tr>ooo</tr><id>Bebek karet</id><my>ooo</my><jp>赤ちゃんカモ</jp><cn>上好的橡胶。</cn></textItem><textItem identifier="food_2"><en_us>Bubble gum</en_us><en_uk>Bubble gum</en_uk><nl>Kauwgom</nl><fr>Chewing-gum</fr><de>Kaugummi</de><es>Chicle</es><br>Chiclete</br><pt>Pastilha elástica</pt><it>Gomma da masticare</it><se>Tuggummi</se><pl>Guma balonowa</pl><ru>Жвачка</ru><tr>ooo</tr><id>Permen karet</id><my>ooo</my><jp>フルーツ味のガム</jp><cn>泡泡糖</cn></textItem><textItem identifier="food_3"><en_us>Shrimp cocktail</en_us><en_uk>Shrimp cocktail</en_uk><nl>Garnalencocktail</nl><fr>Salade de crevettes</fr><de>Krabbencocktail</de><es>Cóctel de gambas</es><br>Coquetel de camarão</br><pt>Cocktail de camarão</pt><it>Cocktail di gamberetti</it><se>Räkcocktail</se><pl>Koktajl z krewetek</pl><ru>Креветочный коктейль</ru><tr>ooo</tr><id>Minuman keras udang</id><my>ooo</my><jp>エビ</jp><cn>河虾鸡尾酒</cn></textItem><textItem identifier="food_4"><en_us>Bowling trophies</en_us><en_uk>Bowling trophies</en_uk><nl>Bowlingtrofeeën</nl><fr>Trophées de bowling</fr><de>Bowlingpokale</de><es>Trofeos de bolos</es><br>Troféus de boliche</br><pt>Troféus de bowling</pt><it>Trofei di bowling </it><se>Bowlingpokaler</se><pl>Trofea z kręgielni</pl><ru>Призы за игру в боулинг</ru><tr>ooo</tr><id>Piala bowling</id><my>ooo</my><jp>トロフィーとご褒美が朝食</jp><cn>保龄球奖杯</cn></textItem><textItem identifier="food_5"><en_us>Steak</en_us><en_uk>Steak</en_uk><nl>Steak</nl><fr>Steak</fr><de>Steak</de><es>Filetes</es><br>Carne</br><pt>Bife</pt><it>Bistecca</it><se>Biff</se><pl>Stek</pl><ru>Бифштекс</ru><tr>ooo</tr><id>Stik</id><my>ooo</my><jp>ステーキ</jp><cn>牛排</cn></textItem><textItem identifier="food_6"><en_us>Strawberries (duh!)</en_us><en_uk>Strawberries (duh!)</en_uk><nl>Aardbeien (duh!)</nl><fr>Fraises (évidemment !)</fr><de>Erdbeeren (Dummerchen!)</de><es>Fresas (por supuesto)</es><br>Morangos (dãããã!)</br><pt>Morangos (claro!)</pt><it>Fragole (ovvio!)</it><se>Jordgubbar (så klart!)</se><pl>Truskawki</pl><ru>Клубника (еще бы!)</ru><tr>ooo</tr><id>Stroberi (duh)!</id><my>ooo</my><jp>まぁ、いちごってことで!!</jp><cn>草莓</cn></textItem><textItem identifier="food_7"><en_us>Cooties with cootie sauce and a cherry on top</en_us><en_uk>Cooties with cootie sauce and a cherry on top</en_uk><nl>Luizen met luizensaus en een kers erop</nl><fr>Des poux à la sauce aux poux avec une cerise sur le dessus</fr><de>Läuse mit Läusesauce und einer Kirsche oben drauf</de><es>Pipis con salsa de pipi y una cereza encima</es><br>Piolhos com cobertura de piolho e uma cereja por cima</br><pt>Piolhos com molho de piolho e uma cereja em cima.</pt><it>Schifezze con una salsa ed una ciliegina sopra</it><se>Löss med lussås och körsbär.</se><pl>Zarazki w sosie zarazkowym, z wisienką na górze</pl><ru>Вши под блошиным соусом и с ягодкой сверху</ru><tr>ooo</tr><id>Makanan dengan saus dan ceri di atasnya</id><my>ooo</my><jp>シラミ</jp><cn>上面有一颗樱桃的虱子酱</cn></textItem><textItem identifier="food_8"><en_us>Anything with Tabasco sauce!</en_us><en_uk>Anything with Tabasco sauce!</en_uk><nl>Alles met Tabascosaus! </nl><fr>N'importe quoi, pourvu qu'il y ait du Tabasco dedans !</fr><de>Alles mit Tabasco-Sauce!</de><es>¡Cualquier cosa que lleve tabasco!</es><br>Qualquer coisa com pimenta Tabasco!</br><pt>Tudo com molho de Tabasco!</pt><it>Quasiasi cosa con salsa di tabasco!</it><se>Allt som innehåller tabasco!</se><pl>Wszystko, co zawiera sos tabasco!</pl><ru>Что угодно, лишь бы с соусом табаско!</ru><tr>ooo</tr><id>Apapun dengan saus Tabasco!</id><my>ooo</my><jp>チョコレート!!!!!!</jp><cn>任何涂了辣椒酱的东西</cn></textItem><textItem identifier="food_9"><en_us>Green tea chai soy latte</en_us><en_uk>Green tea chai soy latte</en_uk><nl>Groene thee chai soja latte</nl><fr>Thé vert avec un nuage de lait de soja</fr><de>Grüntee-Chai mit Sojamilch</de><es>Té verde con leche de soja</es><br>Chá verde com leite de soja</br><pt>Chá verde com leite</pt><it>Latte con tè verde di soia Chai</it><se>Grönt sojachai-te latte</se><pl>Latte sojowo-herbaciane</pl><ru>Капуччино из зеленого чая с соевым молоком</ru><tr>ooo</tr><id>Teh hijau latte</id><my>ooo</my><jp>緑茶チャイラテ&チョコレートのセット</jp><cn>绿茶大豆拿铁</cn></textItem><textItem identifier="food_10"><en_us>Seaweed salad</en_us><en_uk>Seaweed salad</en_uk><nl>Zeewiersalade</nl><fr>Salade d'algues</fr><de>Seegras-Salat</de><es>Ensalada de algas</es><br>Salada de algas</br><pt>Salada de algas</pt><it>Insalata di alghe</it><se>Sjögrässallad</se><pl>Sałatka z alg</pl><ru>Салат из водорослей</ru><tr>ooo</tr><id>Salad rumput laut</id><my>ooo</my><jp>のり</jp><cn>海藻沙拉</cn></textItem><textItem identifier="food_11"><en_us>Animal crackers</en_us><en_uk>Animal crackers</en_uk><nl>Dierenkoekjes</nl><fr>Croquettes pour animaux</fr><de>Tiercracker</de><es>Galletas de animales</es><br>Bolachas com formato de animais</br><pt>Biscoitos em forma de animal</pt><it>Biscotti a forma di animali</it><se>Djurkex</se><pl>Ciasteczka w kształcie zwierząt</pl><ru>Зоологическое печенье</ru><tr>ooo</tr><id>Biskuti Hewan</id><my>ooo</my><jp>アニマルパスタ</jp><cn>动物饼干</cn></textItem><textItem identifier="food_12"><en_us>Rainclouds</en_us><en_uk>Rain clouds</en_uk><nl>Regenwolken</nl><fr>Nuages de pluie</fr><de>Regenwolken</de><es>Nubes de lluvia</es><br>Nuvens</br><pt>Nuvens de chuva</pt><it>Nubi dense di pioggia</it><se>Regnmoln</se><pl>Deszczowe chmury</pl><ru>Дождевые тучи</ru><tr>ooo</tr><id>Awan hujan</id><my>ooo</my><jp>雲</jp><cn>雨云</cn></textItem><textItem identifier="quote_1"><en_us>Second place is first loser.</en_us><en_uk>Second place is first loser.</en_uk><nl>De tweede plaats is voor de eerste verliezer. </nl><fr>Le second est le premier des perdants.</fr><de>Der zweite Platz ist der erste Verlierer</de><es>El segundo clasificado es el primero en perder.</es><br>O primeiro perdedor ocupa o segundo lugar.</br><pt>Segundo lugar é primeiro falhado.</pt><it>Il secondo posto è il primo perdente.</it><se>Andra plats är förste förlorarens plats.</se><pl>Drugie miejsce to największa przegrana.</pl><ru>Занять второе место – значит быть первым проигравшим.</ru><tr>ooo</tr><id>Tempat kedua ialah orang yang kalah pertama.</id><my>ooo</my><jp>もし君が一番でないなら、そりゃ最後ってことだ</jp><cn>胜者王侯败者寇</cn></textItem><textItem identifier="quote_2"><en_us>A tangerine a day keeps the yucky away.</en_us><en_uk>A tangerine a day keeps the yucky away.</en_uk><nl>Elke dag een mandarijn maakt eten pas fijn. </nl><fr>Une mandarine donne du tonus pour toute la journée.</fr><de>Eine Mandarine am Tag, und man bekommt nie Ausschlag.</de><es>Cada día una mandarina es cosa fina.</es><br>Uma laranja por dia mantém a sujeira longe.</br><pt>Uma tangerina por dia mantém a iaca longe.</pt><it>Un mandarino al giorno toglie lo schifo di torno.</it><se>En orangeröd dag är bra för magen.</se><pl>Jedna mandarynka dziennie i paskudztwa trzymają się z daleka.</pl><ru>Мандарин – супер-еда! Грустить не будешь никогда!</ru><tr>ooo</tr><id>Sebuah jeruk kepruk tiap hari akan menghilangkan rasa jijik.</id><my>ooo</my><jp>オレンジを一日に一個食べてね、悪いものがぜーんぶどこかへ行っちゃうわ</jp><cn>每天一个桔子烦恼远离我。</cn></textItem><textItem identifier="quote_3"><en_us>Pixel love is also love, only smaller and square shaped.</en_us><en_uk>Pixel love is also love, only smaller and square shaped.</en_uk><nl>Pixelliefde is ook liefde, maar dan kleiner en vierkant. </nl><fr>L'amour pixel c'est aussi de l'amour : c'est simplement plus petit et carré.</fr><de>Auch Pixelliebe ist Liebe, nur kleiner und viereckig.</de><es>El amor pixelado también es amor, solo que más pequeño y con forma cuadrada.</es><br>Os pixels também amam, mas de um jeito menor e meio quadrado.</br><pt>O amor do pixel também é amor, só que mais pequeno e quadrado.</pt><it>L'amore per i pixel è anch'esso una forma di amore, solo che è una più piccola e quadrata.</it><se>Pixelkärlek är också kärlek, bara mindre och fyrkantigare.</se><pl>Pikselowa miłość to też miłość, tylko mniejsza i o kwadratowym kształcie.</pl><ru>Пиксельная любовь – это тоже любовь, только меньше по размеру и квадратная.</ru><tr>ooo</tr><id>Pixel cinta juga sebuah cinta, hanya bentuknya lebih kecil dan berbentuk persegi.</id><my>ooo</my><jp>ピクセルの愛も一応愛なんだ、ちょっと小さくて四角いけど・・・</jp><cn>像素的爱也是爱,虽然只是小方块。</cn></textItem><textItem identifier="quote_4"><en_us>All your base are belong to us.</en_us><en_uk>All your base are belong to us.</en_uk><nl>All your base are belong to us. </nl><fr>All your base are belong to us. </fr><de>All your base are belong to us. </de><es>All your base are belong to us.</es><br>Pode me chamar de Napoleão Bonaparte.</br><pt>All your base are belong to us.</pt><it>All your base are belong to us. </it><se>All your base are belong to us. </se><pl>All your base are belong to us. </pl><ru>Галактеко опасносте.</ru><tr>ooo</tr><id>All your base are belong to us. </id><my>ooo</my><jp>きみをつくる全ての要素は、我々に属している</jp><cn>你的一切都属于我们。</cn></textItem><textItem identifier="quote_5"><en_us>I will not fetch.</en_us><en_uk>I will not fetch.</en_uk><nl>Ik doe niet aan apporteren.</nl><fr>Non, je ne rapporte pas la baballe. </fr><de>Apportieren…? Mach ich nicht.</de><es>No te lo voy a traer.</es><br>Eu não corro atrás de varetinhas...</br><pt>Não vou buscar.</pt><it>Non andrò a prendere niente.</it><se>Jag tänker inte apportera.</se><pl>Nie przyniosę.</pl><ru>Я не стану подавать палку.</ru><tr>ooo</tr><id>Saya tidak akan mengambil.</id><my>ooo</my><jp>僕は呼んでこないよ</jp><cn>我不会自己去拿的。</cn></textItem><textItem identifier="quote_6"><en_us>The color of happiness is red with yellow dots and a little green crown on top.</en_us><en_uk>The colour of happiness is red with yellow dots and a little green crown on top.</en_uk><nl>De kleur van geluk is rood met gele stippen en een groen kroontje erop. </nl><fr>La couleur du bonheur est rouge avec des pois jaunes et une petite couronne verte dessus.</fr><de>Die Farbe des Glücks ist rot mit gelben Pünktchen und einer kleinen grünen Krone oben drauf.</de><es>El color de la felicidad es rojo con puntos amarillos y una pequeña corona verde encima.</es><br>A cor da felicidade é vermelha, com pontinhos pretos e uma coroa verde.</br><pt>A cor da felicidade é vermelho com pontos amarelos e uma coroa verde em cima.</pt><it>Il colore della felicità è rosso con puntini gialli ed una coroncina verde sul capo.</it><se>Glädjens färg är röd med gula prickar och en liten grön krona överst.</se><pl>Szczęście jest czerwone w żółte kropki i nosi małą, zieloną koronę.</pl><ru>Счастье, оно красного цвета в желтую крапинку и с тоненькой зеленой каемочкой сверху.</ru><tr>ooo</tr><id>Warna kebahagiaan ialah merah dengan titik-titik kuning dan mahkota kecil berwarna hijau di atasnya.</id><my>ooo</my><jp>幸せの色ってのは、赤に黄色の水玉模様、そして小さな緑の王冠が一番上にのってるんだ!</jp><cn>快乐的颜色就是红色上面有小黄点,以及一个顶部有一个绿色的小王冠。</cn></textItem><textItem identifier="quote_7"><en_us>Life's a game…just play it!</en_us><en_uk>Life's a game… just play it!</en_uk><nl>Het leven is een spel... speel het! </nl><fr>La vie est un jeu… alors joues-y !</fr><de>Das Leben ist ein Spiel… lass dich drauf ein!</de><es>La vida es un juego... ¡juégalo sin más!</es><br>A vida é um jogo... então jogue!</br><pt>A vida é um jogo... joga-a!</pt><it>La vita è un gioco…Gioca e basta!</it><se>Livet är ett spel ... så spela det!</se><pl>Życie to gra...po prostu zagraj!</pl><ru>Жизнь – это игра... просто играй в нее!</ru><tr>ooo</tr><id>Kehidupan ialah sebuah permainan…mainkan saja!</id><my>ooo</my><jp>人生はゲームだ!!!!とにかく楽しんだもの勝ちだよ!</jp><cn>生活就像一场游戏,好好地享受吧!</cn></textItem><textItem identifier="quote_8"><en_us>All good things in life start with the letter "C": Chocolate Chip Cookie, Creamy Cinnamon Cake…shall I go on?</en_us><en_uk>All good things in life start with the letter "C": Chocolate Chip Cookie, Creamy Cinnamon Cake… shall I go on?</en_uk><nl>Alle goede dingen in het leven beginnen met de letter 'C': chocoladekoekje, cake, chips... moet ik doorgaan?</nl><fr>Toutes les bonnes choses dans la vie commencent par la lettre "C" : chocolat, cookies, caramel, chips… je continue ?</fr><de>Alle guten Sachen im Leben beginnen mit dem Buchstaben "S": Schokolade, Sahne, Süßigkeiten… soll ich fortfahren?</de><es>Hay muchas cosas buenas de la vida que empiezan por "C": Chips de chocolate, canela en rama, croissants... ¿quieres que siga?</es><br>A pimenta é o tempero da vida.</br><pt>As melhores coisas da vida começam por "C": Chocolate nos biscoitos, Canela nos bolos…é preciso continuar?</pt><it>Tutte le cose belle della vita iniziano con la lettera "C": cioccolata, crema, caramelle, caramello, cacao, cocco…Devo continuare ad elencarle?</it><se>Alla goda saker i livet börjar på bokstaven "K": karameller, kanelbullar, kex ... ska jag fortsätta?</se><pl>Najlepsze rzeczy na świecie zaczynają się na literę "C": Ciasteczko Czekoladowe, Ciasto Cynamonowe...mam wymieniać dalej?</pl><ru>Все приятное в жизни начинается с буквы "М": Малиновое Мороженое, Молочно-Медовый Мармелад, Манговый Мусс... продолжать?</ru><tr>ooo</tr><id>Semua hal baik dalam kehidupan mulai dengan huruf "C": Cookies Cokelat, Cake Kayu Manis…bolehkah Saya melanjutkannya?</id><my>ooo</my><jp>いいことってのは全てCから始まるの!例えば、チョコレートチップクッキー(ChocolateChipCookies)のクリームシナモンケーキ(CreamCinnamonCake)にクランキーカフェイン(CrunchyCaffeine)入りのお菓子とかねっ</jp><cn>美好的生活需要:巧克力曲奇,奶油肉桂蛋…还有…</cn></textItem><textItem identifier="quote_9"><en_us>I can't get me enough of this green tea chai soy latte! Another please!</en_us><en_uk>I can't get enough of this green tea chai soy latte! Another please!</en_uk><nl>Ik kan niet genoeg krijgen van deze groene thee chai soja latte! Nog één graag! </nl><fr>J'adore le thé vert au lait de soja ! Encore une tasse s'il te plait !</fr><de>Ich kann nicht genug von diesem Grüntee-Chai mit Sojamilch bekommen! Noch einen, bitte.</de><es>¡Nunca tengo bastante de este te verde con leche de soja! ¡Otro, por favor!</es><br>Eu amo chá verde com leite de soja!</br><pt>Adoro este chá verde com leite! Mais um, por favor!</pt><it>Non riesco ad averne abbastanza di questo latte con tè verde di soia Chai! Un altro per favore!</it><se>Jag kan inte få nog av grönt sojachai-te latte! En till tack!</se><pl>Nigdy nie mam dość tego sojowego latte! Poproszę jeszcze jedno!</pl><ru>Капуччино из зеленого чая с соевым молоком просто невозможно напиться! Еще одну порцию, пожалуйста!</ru><tr>ooo</tr><id>Saya tidak bisa merasa cukup dengan minuman teh hijau latte ini! Tolong tambahkan lagi!</id><my>ooo</my><jp>チャイの癒しが必要だ…うん、美味しい・・・!</jp><cn>就这样一杯绿茶大豆拿铁不够!再给我一杯!</cn></textItem><textItem identifier="quote_10"><en_us>The water is getting warmer.</en_us><en_uk>The water is getting warmer.</en_uk><nl>Het water wordt warmer. </nl><fr>L'eau se réchauffe.</fr><de>Das Wasser wird wärmer.</de><es>El agua se está calentando.</es><br>A água está ficando mais quente.</br><pt>A água está a aquecer.</pt><it>L'acqua si sta riscaldando.</it><se>Vattnet blir allt varmare.</se><pl>Woda jest coraz cieplejsza.</pl><ru>Вода нагревается.</ru><tr>ooo</tr><id>Airnya makin lama makin hangat.</id><my>ooo</my><jp>樹木を救え、ビーバーを食べろ</jp><cn>水变暖了。</cn></textItem><textItem identifier="quote_11"><en_us>I cannot read your mind. But I can read your dream.</en_us><en_uk>I cannot read your mind, but I can read your dream.</en_uk><nl>Ik kan je gedachten niet lezen. Maar je dromen wel. </nl><fr>Je ne peux pas lire tes pensées, mais je peux lire tes rêves.</fr><de>Deine Gedanken kann ich nicht lesen. Aber deine Träume.</de><es>No puedo leerte la mente, pero sí tus sueños.</es><br>Não consigo ler sua mente, mas consigo ler seus sonhos.</br><pt>Não consigo ler a tua mente. Mas consigo ler o teu sonho.</pt><it>Non posso leggere la tua mente. Ma posso interpretare il tuo sogno.</it><se>Jag kan inte läsa dina tankar, men jag kan tolka din dröm.</se><pl>Nie potrafię odczytać twojego umysłu. Ale potrafię odczytać twój sen.</pl><ru>Я не могу читать мысли, но могу читать сны.</ru><tr>ooo</tr><id>Saya tidak bisa membaca pikiran anda. Tapi saya bisa membaca impian anda.</id><my>ooo</my><jp>君の心が“まだ”読めてないみたいだ・・・でも君の夢ならわかっているよ</jp><cn>我不能读到你的想法,但是我能读到你的梦。</cn></textItem><textItem identifier="quote_12"><en_us>I want to kiss a ninja on the nose. I want to talk to fruit and scare monsters.</en_us><en_uk>I want to kiss a ninja on the nose. I want to talk to fruit and scare monsters.</en_uk><nl>Ik wil een ninja op z'n neus kussen. Ik wil praten met fruit en monsters bang maken. </nl><fr>Je veux donner à un ninja un bisou sur le bout du nez. Je veux parler aux fruits et faire peur aux monstres.</fr><de>Ich möchte einen Ninja auf die Nase küssen. Ich möchte mit Früchten reden und Monster erschrecken.</de><es>Quiero besar a un ninja en la nariz. Quiero hablarle a la fruta y asustar monstruos.</es><br>Quero beijar o nariz de um ninja, falar com as frutas e assustar os monstros!</br><pt>Quero dar um beijo no nariz de um ninja. Quero falar com a fruta e assustar os monstros.</pt><it>Voglio dare un bacio sul naso ad un ninja. Voglio parlare con la frutta e fare paura ai mostri.</it><se>Jag vill pussa en ninja på näsan. Jag vill tala med frukt och skrämma monster.</se><pl>Chcę pocałować wojownika ninja w nos. Chcę rozmawiać z owocami i odstraszać potwory.</pl><ru>Я хочу поцеловать ниндзя в нос. Я хочу говорить с фруктами и пугать чудовищ.</ru><tr>ooo</tr><id>Saya ingin mencium hidung seorang ninja. Saya ingin berbicara kepada buah dan menakuti monster.</id><my>ooo</my><jp>そうだなぁ、忍者にキスしたい。フルーツとおしゃべりして怪物をこわがらせちゃったりね</jp><cn>我想亲吻忍者的鼻子,我想与水果和恐怖的怪兽交谈。</cn></textItem><textItem identifier="SEND_TO_FRIEND"><en_us>SEND TO A FRIEND</en_us><en_uk>SEND TO A FRIEND</en_uk><nl>NAAR EEN VRIEND STUREN</nl><fr>ENVOYER À UN(E) AMI(E)</fr><de>AN EINEN FREUND SCHICKEN</de><es>ENVIAR A UN AMIGO</es><br>ENVIAR A UM AMIGO</br><pt>ENVIAR PARA UM AMIGO</pt><it>MANDA AD UN'AMICA</it><se>SKICKA TILL EN VÄN</se><pl>WYŚLIJ DO PRZYJACIELA</pl><ru>ОТПРАВИТЬ ДРУГУ</ru><tr>ooo</tr><id>KIRIM KE SEORANG TEMAN</id><my>ooo</my><jp>お友達に紹介する</jp><cn>发给好友</cn></textItem><textItem identifier="MAIN_MENU"><en_us>MAIN MENU</en_us><en_uk>MAIN MENU</en_uk><nl>HOOFDMENU</nl><fr>MENU PRINCIPAL</fr><de>HAUPTMENÜ</de><es>MENÚ PRINCIPAL</es><br>MENU PRINCIPAL</br><pt>MENU PRINCIPAL</pt><it>MENU PRINCIPALE</it><se>HUVUDMENY</se><pl>MENU GŁÓWNE</pl><ru>ГЛАВНОЕ МЕНЮ</ru><tr>ooo</tr><id>MENU UTAMA</id><my>ooo</my><jp>メインメニュー</jp><cn>主界面</cn></textItem><textItem identifier="You_already_had_a_reading_today"><en_us>Sorry, you can only have one reading a day. Come back tomorrow for a totally new reading! Meanwhile, send your Lucky Charm to a friend.</en_us><en_uk>Sorry, you can only have one reading a day. Come back tomorrow for a new reading! Meanwhile, send your Lucky Charm to a friend.</en_uk><nl>Helaas, je kunt maar één lezing per dag krijgen. Kom morgen terug voor een gloednieuwe lezing! Stuur je talisman ondertussen naar een vriend. </nl><fr>Désolés, c'est une seule lecture par jour. Reviens donc demain pour une lecture toute nouvelle ! Entre temps, envoie ton porte-bonheur à un(e) ami(e).</fr><de>Sorry, nur eine Sitzung pro Tag. Komm morgen wieder, damit das Orakel dir die Zukunft vorhersagt. Sende doch einfach in der Zwischenzeit deinen Talisman an einen Freund!</de><es>Lo siento, solo puedes recibir una lectura cada día. ¡Vuelve mañana para obtener una lectura completamente nueva! Mientras tanto, envíale tu amuleto mágico a un amigo.</es><br>Você pode fazer apenas uma leitura por dia. Volte amanhã para fazer outra! Enquanto isso, envie seu amuleto para um amigo.</br><pt>Lamentamos, mas só podes fazer uma leitura por dia. Volta amanhã para teres uma leitura completamente nova! Entretanto, envia o teu Talismã da Sorte para um amigo.</pt><it>Spiacenti ma puoi farti leggere il futuro una sola volta al giorno. Ritorna domani per una nuova lettura! Nel frattempo puoi mandare il tuo portafortuna ad un'amica.</it><se>Tyvärr, du kan bara bli spådd en gång per dag. Kom tillbaka imorgon för en ny spådom! Under tiden kan du skicka din lyckobringare till en vän.</se><pl>Przepraszamy, możesz otrzymać tylko jedną przepowiednię dziennie. Wróc tu jutro po zupełnie nową przepowiednię! A w międzyczasie wyślij swój szczęśliwy talizman do przyjaciela.</pl><ru>К сожалению, погадать можно только один раз в день. Возвращайся завтра, чтобы снова погадать с чистого листа! А пока отправь свой талисман другу.</ru><tr>ooo</tr><id>Maaf, anda hanya bisa memiliki satu bacaan dalam satu hari. Kembalilah besok untuk bacaan baru! Sementara, kirimkan Ramalan Keberuntungan anda kepada seorang teman.</id><my>ooo</my><jp>今日はもう占い済みです。明日の占いをお楽しみに!お友達に自分の守護神を紹介してみてね、もしかしたらツキがまわってくるかも。</jp><cn>抱歉,一天只能测试一次。请返回明天再来预测。同时你可以把你的幸运护身符发给你的好友。</cn></textItem><textItem identifier="Send_some_luck_to_a_friend!"><en_us>Send your Lucky Charm to a friend.</en_us><en_uk>Send your Lucky Charm to a friend.</en_uk><nl>Stuur je talisman naar een vriend. </nl><fr>Envoie ton porte-bonheur à un(e) ami(e).</fr><de>Sende deinen Talisman an einen Freund.</de><es>Envía tu amuleto mágico a un amigo.</es><br>Envie seu amuleto para um amigo</br><pt>Enviar o Talismã da Sorte para um amigo.</pt><it>Manda il tuo portafortuna ad un'amica.</it><se>Skicka din lyckobringare till en vän.</se><pl>Wyślij swój szczęśliwy talizman do przyjaciela.</pl><ru>Отправить свой талисман другу.</ru><tr>ooo</tr><id>Kirimkan Ramalan Keberuntungan anda kepada seorang teman.</id><my>ooo</my><jp>お友達に幸運をおすそ分けしよう!</jp><cn>把你的幸运护身符发给好友:</cn></textItem><textItem identifier="ENTER_YOUR_NAME"><en_us>YOUR NAME</en_us><en_uk>YOUR NAME</en_uk><nl>JE NAAM</nl><fr>TON NOM</fr><de>DEIN NAME</de><es>TU NOMBRE</es><br>SEU NOME</br><pt>O TEU NOME</pt><it>IL TUO NOME</it><se>DITT NAMN</se><pl>TWOJE IMIĘ</pl><ru>ТВОЕ ИМЯ</ru><tr>ooo</tr><id>NAMA ANDA</id><my>ooo</my><jp>名前を入力</jp><cn>您的姓名:</cn></textItem><textItem identifier="Enter_your_name_here:"><en_us>Type your name here:</en_us><en_uk>Type your name here:</en_uk><nl>Typ hier je naam: </nl><fr>Entre ton nom ici :</fr><de>Gib deinen Namen hier ein:</de><es>Escribe tu nombre aquí:</es><br>Digite seu nome aqui:</br><pt>Escreve aqui o teu nome:</pt><it>Digita qui il tuo nome:</it><se>Ange ditt namn här:</se><pl>Wpisz tu swoje imię:</pl><ru>Введи свое имя здесь:</ru><tr>ooo</tr><id>Ketik nama anda disini:</id><my>ooo</my><jp>名前をここに入力して下さい:</jp><cn>在这里输入您的姓名:</cn></textItem><textItem identifier="COPY"><en_us>COPY</en_us><en_uk>COPY</en_uk><nl>KOPIËREN</nl><fr>COPIER</fr><de>KOPIEREN</de><es>COPIAR</es><br>COPIAR</br><pt>COPIAR</pt><it>COPIA</it><se>KOPIERA</se><pl>KOPIUJ</pl><ru>КОПИРОВАТЬ</ru><tr>ooo</tr><id>SALIN</id><my>ooo</my><jp>コピー</jp><cn>复制</cn></textItem><textItem identifier="Link"><en_us>Link:</en_us><en_uk>Link:</en_uk><nl>Link:</nl><fr>Lien :</fr><de>Link:</de><es>Enlace:</es><br>Link:</br><pt>Ligação:</pt><it>Link:</it><se>Länk:</se><pl>Link:</pl><ru>Ссылка:</ru><tr>ooo</tr><id>Sambungan:</id><my>ooo</my><jp>リンク</jp><cn>连接:</cn></textItem><textItem identifier="COPY_THIS_CODE_BY_CLICK_THE"><en_us>COPY THIS CODE BY CLICKING THE "COPY" BUTTON ABOVE (OR USE CTRL+C). THEN PASTE THE CODE (CTRL+V) INTO AN EMAIL OR CHAT WINDOW TO SHOW YOUR FRIENDS YOUR LUCKY CHARM!</en_us><en_uk>COPY THIS CODE BY CLICKING THE "COPY" BUTTON ABOVE (OR USE CTRL+C). THEN PASTE THE CODE (CTRL+V) INTO AN EMAIL OR CHAT WINDOW TO SHOW YOUR FRIENDS YOUR LUCKY CHARM!</en_uk><nl>KOPIEER DEZE CODE DOOR OP DE KNOP 'KOPIËREN' HIERBOVEN TE KLIKKEN (OF GEBRUIK CTRL+C). PLAK DE CODE DAARNA (CTRL+V) IN EEN E-MAIL OF CHATVENSTER OM DE TALISMAN AAN JE VRIENDEN TE LATEN ZIEN! </nl><fr>COPIE CE CODE EN CLIQUANT SUR LE BOUTON "COPIER" CI-DESSUS (OU BIEN UTILISE CTRL + C). COLLE ALORS LE CODE (CTRL + V) DANS UN E-MAIL OU UNE FENÊTRE DE TCHAT POUR MONTRER TON PORTE-BONHEUR À TES AMI(E)S !</fr><de>KOPIERE DIESEN CODE, INDEM DU OBEN AUF "KOPIEREN" (ODER CTRL+C) KLICKST. FÜGE DEN CODE DANACH (MIT CTRL+V) IN EINE E-MAIL ODER EIN CHAT-FENSTER EIN, UM DEINEN FREUNDEN DEINEN TALISMAN ZU ZEIGEN!</de><es>¡COPIA ESTE CÓDIGO HACIENDO CLIC EN EL BOTÓN "COPIAR" DE ENCIMA (O USA CTRL+C). LUEGO PEGA EL CÓDIGO (CTRL+V) EN UN CORREO ELECTRÓNICO O VENTANA DE CHAT PARA MOSTRARLES TU AMULETO MÁGICO A TUS AMIGOS!</es><br>PARA COPIAR ESTE CÓDIGO, CLIQUE 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 O SEU AMULETO PARA OS SEUS AMIGOS!</br><pt>COPIA ESTE CÓDIGO CLICANDO NO BOTÃO "COPIAR" ACIMA (OU USA CTRL+C). DEPOIS COLA O CÓDIGO (CTRL+V) NUM EMAIL OU JANELA DE CHAT PARA MOSTRARES O TEU TALISMÃ DA SORTE AOS TEUS AMIGOS!</pt><it>COPIA QUESTO CODICE CLICCANDO SUL TASTO "COPIA" QUI SOPRA (O USA CTRL + C). POI INCOLLALO (CTRL + V) IN UN'E-MAIL O IN UNA FINESTRA DI CHAT PER MOSTRARE IL TUO PORTAFORTUNA ALLE TUE AMICHE!</it><se>KOPIERA DEN HÄR KODEN GENOM ATT KLICKA PÅ KOPIERA-KNAPPEN OVAN (CTRL+C). KLISTRA SEDAN IN KODEN I ETT MEJL ELLER CHATTFÖNSTER FÖR ATT VISA DIN LYCKOBRINGARE FÖR DINA VÄNNER!</se><pl>SKOPIUJ TEN KOD KLIKAJĄC POWYŻSZY PRZYCISK "KOPIUJ" (LUB UŻYJ CTRL + C). NASTĘPNIE WKLEJ KOD (CTRL + V) W MAILU LUB OKIENKU KOMUNIKATORA, ABY POKAZAĆ PRZYJACIOŁOM TWÓJ SZCZĘŚLIWY TALIZMAN!</pl><ru>СКОПИРУЙ ЭТОТ КОД, НАЖАВ КНОПКУ "КОПИРОВАТЬ" ВВЕРХУ (ИЛИ ПРИ ПОМОЩИ CTRL+C). ЗАТЕМ ВСТАВЬ КОД (CTRL+V) В ОКНО ЭЛЕКТРОННОЙ ПОЧТЫ ИЛИ АСЬКИ, ЧТОБЫ ПОКАЗАТЬ СВОЙ ТАЛИСМАН ДРУЗЬЯМ!</ru><tr>ooo</tr><id>SALINLAH KODE INI DENGAN MENGKLIK TOMBOL "SALIN" DIATAS (ATAU MENGGUNAKAN CTRL+C). KEMUDIAN CANTUMKAN KODENYA (CTRL+V) KE SEBUAH EMAIL ATAU JENDELA OBROLAN UNTUK MENUNJUKKAN KEBERUNTUNGAN ANDA KEPADA TEMAN-TEMAN ANDA!</id><my>ooo</my><jp>このコードをコピーボタンを押す、またはCTRL+Cキーを使ってコピーして、チャットウィンドウやEメールに貼り付け(CTRL+V)、お友達にこのゲームを紹介しましょう!</jp><cn>点击复制按钮(或者CTRL+C)可以复制这个代码,粘贴(CTRL+V)这个代码到聊天窗口向你的好友展示你的幸运护身符。</cn></textItem><textItem identifier="You_received_a_talisman_from:"><en_us>You received a Lucky Charm from</en_us><en_uk>You received a Lucky Charm from</en_uk><nl>Je hebt een talisman gekregen van</nl><fr>Tu as reçu un porte-bonheur de la part de</fr><de>Du hast einen Talisman erhalten von</de><es>Recibiste un amuleto mágico de</es><br>Você recebeu um amuleto de:</br><pt>Recebeste um Talismã da Sorte de</pt><it>Hai ricevuto un portafortuna da</it><se>Du har fått en lyckobringare från</se><pl>Otrzymałeś/-aś szczęśliwy talizman od</pl><ru>Получен талисман от</ru><tr>ooo</tr><id>Anda menerima ramalan Keberuntungan dari</id><my>ooo</my><jp>[NAME] から守護神が届いています:</jp><cn>你收到一个幸运护身符从:</cn></textItem><textItem identifier="Want_to_know_your_talisman_for_today"><en_us>Want to know what your own Lucky Charm is today?</en_us><en_uk>Want to know what your own Lucky Charm is today?</en_uk><nl>Wil je weten wat jouw talisman voor vandaag is? </nl><fr>Veux-tu savoir à quoi ressemble ton propre porte-bonheur d'aujourd'hui ?</fr><de>Möchtest du wissen, wie dein eigener Talisman heute aussieht?</de><es>¿Quieres saber cuál es tu amuleto mágico de hoy?</es><br>Quer saber qual é o seu amuleto hoje?</br><pt>Queres saber qual é o teu Talismã da Sorte para hoje?</pt><it>Vuoi sapere qual'è il tuo portafortuna di oggi?</it><se>Vill du veta vilken din egen lyckobringare är idag?</se><pl>Chcesz wiedzieć, jaki jest twój szczęśliwy talizman na dziś?</pl><ru>Хочешь узнать собственный талисман на сегодня?</ru><tr>ooo</tr><id>Ingin mengetahui Keberuntungan anda hari ini?</id><my>ooo</my><jp>今日のあなたの守護神を占ってみて!</jp><cn>想知道你自己今天的幸运护身符是什么吗?</cn></textItem></LocalisedText>
;
SpilGame.importXMLv2(_local3);
trace("Language Data Succesfully included");
SpilGame.initialize(game_Name1, PortalGroup.GIRL, game_Page, this);
SpilGame.importXML(_local3);
_local4 = new Loading(this);
addChild(_local4);
userData.init();
userData.saveData();
}
private function init_dd(){
if (dd_inited){
return;
};
dd_inited = true;
dd = new O11111OO11();
dd.O111111O(this, game_Name1, 1, game_Name2, "0", "normal", 3);
dd.O1100000l(SpilGame.currentLanguage.bwcId);
dd.addEventListener("000111000100", con);
dd.addEventListener("00000100110", con);
}
public function showSendToFriend(_arg1:MovieClip){
where = _arg1;
sendtofriend = new sendToFriend(this);
addChild(sendtofriend);
}
public function submitScore(_arg1:String, _arg2:String, _arg3:MovieClip):Boolean{
var _local4:String;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
_local4 = _arg1.replace(/ /g, "");
for each (_local5 in playerList) {
if (_local5 == _local4){
return (false);
};
};
if (_local4.length == 0){
return (false);
};
where = _arg3;
if (SpilGame.currentLanguage.bwcId != 2){
if (gameGroup == 1){
dd.O1100000l(SpilGame.currentLanguage.bwcId);
};
if (dd.O11111100()){
dd.O11111O10(_arg2, _arg1);
if (hightscore_Showedmoden == 1){
ShowScreen("highscore");
} else {
highscore = new highScore(this);
_arg3.addChild(highscore);
};
} else {
_arg3.addChild(dd);
};
} else {
_local6 = new Date();
_local7 = _local6.getTime();
_local8 = Random.SortT();
_local9 = Random.hex_average((((String(Random.gameID) + _arg2) + _local8) + _local7));
Random.DrawLine(_local9, _local8, 10, 10, 15, 15);
_local10 = Random.strqq;
Random.senturl(_arg2, _local8, _local10, _local7);
setTimeout(resetPage, 1000);
};
return (true);
}
function frame1(){
stop();
}
private function getUrlData(_arg1, _arg2){
var _local3:RegExp;
var _local4:Array;
_local3 = new RegExp((("[?|&]" + _arg2) + "=([^&]*)"));
_local4 = _arg1.match(_local3);
if (_local4 != null){
return (_local4[1]);
};
return ("");
}
private function con(_arg1:Event):void{
var evt = _arg1;
try {
where.removeChild(dd);
} catch(err) {
};
}
public function ShowScreen_immediately(_arg1:String){
var param = _arg1;
try {
removeChild(mc);
} catch(err) {
};
switch (param){
case "chinalogo":
mc = new chinalogo(this);
addChild(mc);
break;
case "sendToFriend":
soundCtrl.playMusic("s_level");
mc = new sendToFriend(this);
addChild(mc);
break;
case "showEnd":
soundCtrl.playMusic("s_magicball");
mc = new showEnd(this);
addChild(mc);
break;
case "game":
soundCtrl.playMusic("s_level");
mc = new Game(this);
addChild(mc);
break;
case "intro2":
soundCtrl.playMusic("s_level");
mc = new Intro2(this);
addChild(mc);
break;
case "intro":
soundCtrl.playMusic("s_level");
mc = new Intro(this);
addChild(mc);
break;
case "help":
soundCtrl.playMusic("s_level");
mc = new Help(this);
addChild(mc);
break;
case "highscore":
mc = new highScore(this);
addChild(mc);
break;
case "levelMap2":
mc = new levelMap2(this);
addChild(mc);
break;
case "levelMap1":
mc = new levelMap1(this);
addChild(mc);
break;
case "levelMap":
trace("是否已经玩儿过", hasPlayed);
if (!hasPlayed){
mc = new levelMap(this);
addChild(mc);
} else {
ShowScreen_immediately("intro2");
};
break;
case "receiveFromFriend":
soundCtrl.playMusic("s_level");
mc = new receiveFromFriend(this);
addChild(mc);
break;
case "paintbrush":
mc = new paintbrush(this);
addChild(mc);
break;
default:
break;
};
if (changeModen == 1){
try {
setChildIndex(screenchange, (numChildren - 1));
} catch(err) {
};
};
}
public function showHighscore(_arg1:MovieClip){
if (SpilGame.currentLanguage.bwcId != 2){
if (gameGroup == 1){
dd.O1100000l(SpilGame.currentLanguage.bwcId);
};
where = _arg1;
if (dd.O11111100()){
if (hightscore_Showedmoden == 1){
ShowScreen("highscore");
} else {
highscore = new highScore(this);
_arg1.addChild(highscore);
};
} else {
_arg1.addChild(dd);
};
} else {
GameEvent.openURL(GameEvent.url_highscore_china);
};
}
private function resetPage(){
ExternalInterface.call("function(){window.location.reload(true);}");
}
private function checkSendToFriend():Boolean{
var url:String;
var _msg:String;
var _name:String;
url = "";
try {
url = ExternalInterface.call("function(){return location.href;}");
} catch(error) {
};
if ((((url == null)) || ((url == "")))){
return (false);
};
url = url;
_msg = getUrlData(url, "msg");
_name = getUrlData(url, "name");
if (((!((_msg == ""))) && (!((_name == ""))))){
receiveFromFriend.sendToFriend_msg = StringTool.codeToString(_msg);
receiveFromFriend.sendToFriend_name = StringTool.codeToString(_name);
ShowScreen_immediately("receiveFromFriend");
return (true);
};
return (false);
}
public function ShowScreen(_arg1:String){
var _local2:Date;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:Boolean;
var _local7:int;
if ((((changeModen == 0)) || (firstGame))){
_tracker = new GATracker(this, "UA-6695967-1", "AS3", false);
firstGame = false;
soundctrl = new soundCtrl();
addChild(soundctrl);
if (!checkSendToFriend()){
if (String(SpilGame.currentLanguage.name) == "cn"){
ShowScreen_immediately("chinalogo");
} else {
_local2 = new Date();
_local3 = _local2.getFullYear();
_local4 = _local2.getMonth();
_local5 = _local2.getDate();
_local6 = true;
_local7 = 0;
while (_local7 < userData.gamedata.length) {
if ((((((userData.gamedata[_local7][1] == _local3)) && ((userData.gamedata[_local7][2] == _local4)))) && ((userData.gamedata[_local7][3] == _local5)))){
_local6 = false;
hasPlayed = true;
ShowScreen_immediately("intro2");
};
_local7++;
};
if (_local6){
ShowScreen_immediately(_arg1);
};
};
};
init_dd();
if (_tracker_mainscreen){
_tracker_mainscreen = false;
_tracker.trackEvent(gameName, "mainscreen_viewed", "per session", 0);
};
} else {
screenchange = new screenChange(this, _arg1);
addChild(screenchange);
};
}
}
}//package lib
Section 149
//Game (lib.Game)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
public class Game extends MovieClip {
private var Root:documenClass;
private var gamefail:gameFail;
private var showList:Array;
public var branding_link_btn:SimpleButton;
public var __id46_:LocalizedTextField;
public var pause_button:按钮_暂停;
private var gamemain:gameMain;
private var ready:Ready;
private var levelcomplete:levelComplete;
private var pause:Pause;
public function Game(_arg1:documenClass){
Root = _arg1;
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
pause_button.addEventListener(MouseEvent.CLICK, _click);
branding_link_btn.addEventListener(MouseEvent.CLICK, _click);
__setProp___id46__mc_game_Layer3_1();
}
private function addShowList(_arg1:Event=null){
if (showList.length > 0){
addChild(showList.shift());
};
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "branding_link_btn":
GameEvent.openURL(GameEvent.url_game_more);
break;
case "pause_button":
pause = new Pause(Root);
addChild(pause);
break;
default:
break;
};
}
function __setProp___id46__mc_game_Layer3_1(){
try {
__id46_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id46_.text = "{Branding_More_Games_Sentence_Short}";
__id46_.textColor = 0;
__id46_.textSize = 13;
__id46_.bold = true;
__id46_.embedFonts = true;
__id46_.font = "微软雅黑";
__id46_.hAlign = "center";
__id46_.multiline = true;
__id46_.vAlign = "middle";
__id46_.antiAliasType = "normal";
__id46_.glowBlur = 1.5;
__id46_.glowColor = 0;
__id46_.useGlowFilter = false;
__id46_.glowQuality = 2;
__id46_.glowStrength = 20;
__id46_.gridFitType = "none";
__id46_.italic = false;
__id46_.selectable = false;
__id46_.underline = false;
try {
__id46_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onLoad(_arg1:Event){
showList = [];
ready = new Ready();
ready.addEventListener("Remove", addShowList);
showList.push(ready);
gamefail = new gameFail(Root);
showList.push(gamefail);
gamemain = new gameMain();
addChild(gamemain);
setChildIndex(gamemain, 0);
addShowList();
}
}
}//package lib
Section 150
//gameComplete (lib.gameComplete)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import spill.localisation.*;
public class gameComplete extends MovieClip {
private var Root:documenClass;
public var loader:MovieClip;
public var userScore:TextField;
public var Moregames_Button:按钮_更多游戏;
public var __id53_:LocalizedTextField;
public var playAgain_Button:按钮_再玩一次;
public var __id54_:LocalizedTextField;
public var submitScore_Button:按钮_提交分数;
public var mainMenu_Button:按钮_主菜单;
public var PLAYER:LocalizedTextField;
public var err:MovieClip;
public var userName:TextField;
public function gameComplete(){
__setProp___id54___1();
__setProp_PLAYER__1();
__setProp___id53___1();
}
function __setProp_PLAYER__1(){
try {
PLAYER["componentInspectorSetting"] = true;
} catch(e:Error) {
};
PLAYER.text = "{PLAYER}";
PLAYER.textColor = 0xFFFFFF;
PLAYER.textSize = 13;
PLAYER.bold = true;
PLAYER.embedFonts = true;
PLAYER.font = "微软雅黑";
PLAYER.hAlign = "left";
PLAYER.multiline = true;
PLAYER.vAlign = "middle";
PLAYER.antiAliasType = "normal";
PLAYER.glowBlur = 1.5;
PLAYER.glowColor = 0;
PLAYER.useGlowFilter = false;
PLAYER.glowQuality = 2;
PLAYER.glowStrength = 20;
PLAYER.gridFitType = "none";
PLAYER.italic = false;
PLAYER.selectable = false;
PLAYER.underline = false;
try {
PLAYER["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function gameFail(_arg1:documenClass){
Root = _arg1;
loader = new MovieClip();
addChild(loader);
submitScore_Button.addEventListener(MouseEvent.CLICK, _click);
playAgain_Button.addEventListener(MouseEvent.CLICK, _click);
mainMenu_Button.addEventListener(MouseEvent.CLICK, _click);
Moregames_Button.addEventListener(MouseEvent.CLICK, _click);
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnLoad);
}
private function _onUnLoad(_arg1:Event){
removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
}
function __setProp___id53___1(){
try {
__id53_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id53_.text = "{Your Name}";
__id53_.textColor = 0xFFFFFF;
__id53_.textSize = 13;
__id53_.bold = true;
__id53_.embedFonts = true;
__id53_.font = "微软雅黑";
__id53_.hAlign = "right";
__id53_.multiline = true;
__id53_.vAlign = "middle";
__id53_.antiAliasType = "normal";
__id53_.glowBlur = 1.5;
__id53_.glowColor = 0;
__id53_.useGlowFilter = false;
__id53_.glowQuality = 2;
__id53_.glowStrength = 20;
__id53_.gridFitType = "none";
__id53_.italic = false;
__id53_.selectable = false;
__id53_.underline = false;
try {
__id53_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onLoad(_arg1:Event){
addEventListener(Event.ENTER_FRAME, _onEnterFrame);
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "submitScore_Button":
if (!Root.submitScore(userName.text, userScore.text, loader)){
err.play();
};
break;
case "playAgain_Button":
Root.ShowScreen("game");
break;
case "mainMenu_Button":
Root.ShowScreen("intro");
break;
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_gameover_more);
break;
default:
break;
};
}
private function _onEnterFrame(_arg1:Event){
if (userName.text.length > 0){
PLAYER.visible = false;
} else {
PLAYER.visible = true;
};
}
function __setProp___id54___1(){
try {
__id54_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id54_.text = "{Your Score}";
__id54_.textColor = 0xFFFFFF;
__id54_.textSize = 13;
__id54_.bold = true;
__id54_.embedFonts = true;
__id54_.font = "微软雅黑";
__id54_.hAlign = "right";
__id54_.multiline = true;
__id54_.vAlign = "middle";
__id54_.antiAliasType = "normal";
__id54_.glowBlur = 1.5;
__id54_.glowColor = 0;
__id54_.useGlowFilter = false;
__id54_.glowQuality = 2;
__id54_.glowStrength = 20;
__id54_.gridFitType = "none";
__id54_.italic = false;
__id54_.selectable = false;
__id54_.underline = false;
try {
__id54_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package lib
Section 151
//GameEvent (lib.GameEvent)
package lib {
import flash.net.*;
import flash.events.*;
import spill.localisation.*;
public class GameEvent extends Event {
public var shoseID:Number;// = 0
public var shipID:Number;// = 0
public var Button_name:String;// = ""
public static var url_spilgame:String = "url_spilgame";
public static var Click_SoundEffect:String = "Click_SoundEffect";
public static var Shoping:String = "Shoping";
public static var Click_Buy:String = "Click_Buy";
public static var SaucerManCome:String = "SaucerManCome";
public static var url_gamecomplete_more:String = "url_gamecomplete_more";
public static var PetAction:String = "PetAction";
public static var TransMoney:String = "TransMoney";
public static var TvsChange:String = "TvsChange";
public static var Click_Upgrade:String = "Click_Upgrade";
public static var Click_SoundAll:String = "Click_SoundAll";
public static var helpOpen:String = "helpOpen";
public static var Click_MoreGames:String = "Click_MoreGames";
public static var helpClose:String = "helpClose";
public static var SaucerManGo:String = "SaucerManGo";
public static var Button_Click:String = "Button_Click";
public static var RoleActionChange:String = "RoleActionChange";
public static var Click_StartGame:String = "Click_StartGame";
public static var url_loading_more:String = "url_loading_more";
public static var Gaming:String = "Gaming";
public static var Shoping_Back:String = "Shoping_Back";
public static var Click_BackSign:String = "Click_BackSign";
public static var Click_PlayGame:String = "Click_PlayGame";
public static var url_gameover_more:String = "url_gameover_more";
public static var pauseOpen:String = "pauseOpen";
public static var ShelvesDataChange:String = "ShelvesDataChange";
public static var url_main_more:String = "url_main_more";
public static var url_levelcomplete_more:String = "url_levelcomplete_more";
public static var MoneyChange:String = "MoneyChange";
public static var GameWin:String = "GameWin";
public static var Click_Back:String = "Click_Back";
public static var Click_HowToPlay:String = "Click_HowToPlay";
public static var Click_StartLevel:String = "Click_StartLevel";
public static var LevelFail:String = "LevelFail";
public static var url_sendtofriend_more:String = "url_sendtofriend_more";
public static var pauseClose:String = "pauseClose";
public static var url_game_more:String = "url_game_more";
public static var Shoping_Buy:String = "Shoping_Buy";
public static var Click_DisplayQuality:String = "Click_DisplayQuality";
public static var url_highscore_china:String = "url_highscore_china";
public static var Click_SoundBg:String = "Click_SoundBg";
public static var Click_HighScores:String = "Click_HighScores";
public static var url_protection:String = "url_protection";
public static var TransToClient:String = "TransToClient";
public static var Click_MainMenu:String = "Click_MainMenu";
public static var Click_PauseGame:String = "Click_PauseGame";
public static var url_pause_more:String = "url_pause_more";
public static var LevelWin:String = "LevelWin";
public static var url_highscore_more:String = "url_highscore_more";
public static var LevelFailA:String = "LevelFailA";
public static var SaucerManSpeak:String = "SaucerManSpeak";
public static var Click_SubmitScore:String = "Click_SubmitScore";
public static var HandDataChange:String = "HandDataChange";
public static var UpgradeEquipment:String = "UpgradeEquipment";
public static var LabelInfoChange:String = "LabelInfoChange";
public static var TimeChange:String = "TimeChange";
public function GameEvent(_arg1:String){
shipID = 0;
shoseID = 0;
Button_name = "";
super(_arg1);
}
public static function openURL(_arg1:String){
var _local2:String;
var _local3:URLRequest;
if (_arg1 == url_spilgame){
_local2 = "http://www.gameportal.net/";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
};
if (_arg1 == url_game_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_ingamescreen_moregames")), "_blank");
};
if (_arg1 == url_loading_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_loading_moregames")), "_blank");
};
if (_arg1 == url_main_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_mainscreen_moregames")), "_blank");
};
if (_arg1 == url_highscore_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_highscore_moregames")), "_blank");
};
if (_arg1 == url_pause_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_pause_moregames")), "_blank");
};
if (_arg1 == url_sendtofriend_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_sendtofriend_moregames")), "_blank");
};
if (_arg1 == url_gameover_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_gameover_moregames")), "_blank");
};
if (_arg1 == url_levelcomplete_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_levelcomplete_moregames")), "_blank");
};
if (_arg1 == url_gamecomplete_more){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("button_gamecomplete_moregames")), "_blank");
};
if (_arg1 == url_highscore_china){
_local3 = new URLRequest(("http://user.game.com.cn/game/?action=highscore&ID=" + Random.gameID));
navigateToURL(_local3, "_blank");
};
if (_arg1 == url_protection){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("site_locked_game")), "_blank");
};
}
}
}//package lib
Section 152
//gameFail (lib.gameFail)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import spill.localisation.*;
public class gameFail extends MovieClip {
private var Root:documenClass;
public var loader:MovieClip;
public var __id51_:LocalizedTextField;
public var userScore:TextField;
public var Moregames_Button:按钮_更多游戏;
public var __id52_:LocalizedTextField;
public var playAgain_Button:按钮_再玩一次;
public var submitScore_Button:按钮_提交分数;
public var mainMenu_Button:按钮_主菜单;
public var PLAYER:LocalizedTextField;
public var err:MovieClip;
public var userName:TextField;
public function gameFail(_arg1:documenClass){
Root = _arg1;
loader = new MovieClip();
addChild(loader);
submitScore_Button.addEventListener(MouseEvent.CLICK, _click);
playAgain_Button.addEventListener(MouseEvent.CLICK, _click);
mainMenu_Button.addEventListener(MouseEvent.CLICK, _click);
Moregames_Button.addEventListener(MouseEvent.CLICK, _click);
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnLoad);
__setProp_PLAYER__1();
__setProp___id51___1();
__setProp___id52___1();
}
function __setProp___id52___1(){
try {
__id52_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id52_.text = "{Your Score}";
__id52_.textColor = 0xFFFFFF;
__id52_.textSize = 13;
__id52_.bold = true;
__id52_.embedFonts = true;
__id52_.font = "微软雅黑";
__id52_.hAlign = "right";
__id52_.multiline = true;
__id52_.vAlign = "middle";
__id52_.antiAliasType = "normal";
__id52_.glowBlur = 1.5;
__id52_.glowColor = 0;
__id52_.useGlowFilter = false;
__id52_.glowQuality = 2;
__id52_.glowStrength = 20;
__id52_.gridFitType = "none";
__id52_.italic = false;
__id52_.selectable = false;
__id52_.underline = false;
try {
__id52_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_PLAYER__1(){
try {
PLAYER["componentInspectorSetting"] = true;
} catch(e:Error) {
};
PLAYER.text = "{PLAYER}";
PLAYER.textColor = 0xFFFFFF;
PLAYER.textSize = 13;
PLAYER.bold = true;
PLAYER.embedFonts = true;
PLAYER.font = "微软雅黑";
PLAYER.hAlign = "left";
PLAYER.multiline = true;
PLAYER.vAlign = "middle";
PLAYER.antiAliasType = "normal";
PLAYER.glowBlur = 1.5;
PLAYER.glowColor = 0;
PLAYER.useGlowFilter = false;
PLAYER.glowQuality = 2;
PLAYER.glowStrength = 20;
PLAYER.gridFitType = "none";
PLAYER.italic = false;
PLAYER.selectable = false;
PLAYER.underline = false;
try {
PLAYER["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onUnLoad(_arg1:Event){
removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
}
function __setProp___id51___1(){
try {
__id51_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id51_.text = "{Your Name}";
__id51_.textColor = 0xFFFFFF;
__id51_.textSize = 13;
__id51_.bold = true;
__id51_.embedFonts = true;
__id51_.font = "微软雅黑";
__id51_.hAlign = "right";
__id51_.multiline = true;
__id51_.vAlign = "middle";
__id51_.antiAliasType = "normal";
__id51_.glowBlur = 1.5;
__id51_.glowColor = 0;
__id51_.useGlowFilter = false;
__id51_.glowQuality = 2;
__id51_.glowStrength = 20;
__id51_.gridFitType = "none";
__id51_.italic = false;
__id51_.selectable = false;
__id51_.underline = false;
try {
__id51_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onLoad(_arg1:Event){
soundCtrl.playMusic("sound_failed", 1);
addEventListener(Event.ENTER_FRAME, _onEnterFrame);
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "submitScore_Button":
if (!Root.submitScore(userName.text, userScore.text, loader)){
err.play();
};
break;
case "playAgain_Button":
Root.ShowScreen("game");
break;
case "mainMenu_Button":
Root.ShowScreen("intro");
break;
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_gameover_more);
break;
default:
break;
};
}
private function _onEnterFrame(_arg1:Event){
if (userName.text.length > 0){
PLAYER.visible = false;
} else {
PLAYER.visible = true;
};
}
}
}//package lib
Section 153
//gameMain (lib.gameMain)
package lib {
import flash.display.*;
public class gameMain extends MovieClip {
}
}//package lib
Section 154
//Help (lib.Help)
package lib {
import flash.events.*;
import flash.display.*;
public class Help extends MovieClip {
private var Root:documenClass;
private var moden:int;
public var Bcak_Button:按钮_返回;
public function Help(_arg1:documenClass, _arg2:int=0){
Root = _arg1;
moden = _arg2;
Bcak_Button.addEventListener(MouseEvent.CLICK, _click);
}
private function _click(_arg1:MouseEvent){
if (moden == 0){
Root.ShowScreen("intro");
} else {
MovieClip(parent).removeChild(this);
};
}
}
}//package lib
Section 155
//highScore (lib.highScore)
package lib {
import flash.display.*;
public class highScore extends MovieClip {
private var Root:documenClass;
public var Bcak_Button:按钮_返回;
public function highScore(_arg1:documenClass){
Root = _arg1;
}
}
}//package lib
Section 156
//Img (lib.Img)
package lib {
import flash.events.*;
import flash.display.*;
import gs.*;
import gs.easing.*;
public class Img extends MovieClip {
private var y1;
private var x1;
public function Img(){
mouseChildren = false;
buttonMode = true;
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnLoad);
}
private function _onUnLoad(_arg1){
}
public function goto(_arg1:MovieClip){
soundCtrl.playSound("sound_click5");
MovieClip(parent).setChildIndex(this, (MovieClip(parent).numChildren - 1));
TweenMax.to(this, 0.4, {x:_arg1.x, y:_arg1.y, ease:Back.easeOut});
}
private function _onLoad(_arg1){
x1 = x;
y1 = y;
this.addEventListener(MouseEvent.MOUSE_OVER, _over);
this.addEventListener(MouseEvent.MOUSE_OUT, _out);
}
private function _out(_arg1:MouseEvent){
TweenMax.to(this, 0.1, {glowFilter:{color:0xFFFFFF, blurX:0, blurY:0, strength:0, remove:true}});
}
private function _over(_arg1:MouseEvent){
TweenMax.to(this, 0.1, {glowFilter:{color:0xFFFFFF, alpha:1, blurX:5, blurY:5, strength:6}});
}
public function back(){
TweenMax.to(this, 0.4, {x:x1, y:y1, ease:Back.easeOut});
}
}
}//package lib
Section 157
//Img_hand (lib.Img_hand)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
import gs.*;
import gs.easing.*;
public class Img_hand extends MovieClip {
private var y1;
public var life:MovieClip;
public var travel:MovieClip;
public var health:MovieClip;
public var heart:MovieClip;
public var fame:MovieClip;
public var txt1:LocalizedTextField;
public var marriage:MovieClip;
public var money:MovieClip;
private var x1;
public var box:deleteline;
public var txt0:LocalizedTextField;
public function Img_hand(){
mouseChildren = false;
buttonMode = true;
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnLoad);
}
private function _onUnLoad(_arg1){
}
public function goto(_arg1:MovieClip){
txt0.visible = false;
soundCtrl.playSound("sound_click5");
MovieClip(parent).setChildIndex(this, (MovieClip(parent).numChildren - 1));
TweenMax.to(this, 0.4, {x:_arg1.x, y:_arg1.y, ease:Back.easeOut, onComplete:end});
}
private function _onLoad(_arg1){
x1 = x;
y1 = y;
txt0.visible = true;
txt1.visible = false;
box.visible = false;
this.addEventListener(MouseEvent.MOUSE_OVER, _over);
this.addEventListener(MouseEvent.MOUSE_OUT, _out);
}
private function _out(_arg1:MouseEvent){
TweenMax.to(this, 0.1, {glowFilter:{color:0xFFFFFF, blurX:0, blurY:0, strength:0, remove:true}});
}
private function _over(_arg1:MouseEvent){
TweenMax.to(this, 0.1, {glowFilter:{color:0xFFFFFF, alpha:1, blurX:5, blurY:5, strength:6}});
}
private function end(){
txt1.visible = true;
box.visible = true;
}
public function back(){
txt0.visible = true;
txt1.visible = false;
box.visible = false;
TweenMax.to(this, 0.4, {x:x1, y:y1, ease:Back.easeOut});
}
}
}//package lib
Section 158
//Intro (lib.Intro)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
public class Intro extends MovieClip {
private var Root:documenClass;
public var loader:MovieClip;
public var __id24_:LanguageSelectBox;
public var btspil:SpilGamesLink;
public var Moregames_Button:按钮_更多游戏;
public var setQualitys:setQuality;
public var Start_Button:按钮_开始;
public function Intro(_arg1:documenClass=null){
Root = _arg1;
loader = new MovieClip();
addChild(loader);
Start_Button.addEventListener(MouseEvent.CLICK, _click);
Moregames_Button.addEventListener(MouseEvent.CLICK, _click);
__setProp___id24__mc_intro_Layer5_1();
}
private function _click(_arg1:MouseEvent){
var _local2:String;
_local2 = _arg1.target.name;
switch (_local2){
case "Start_Button":
Root.ShowScreen("levelMap");
break;
case "HowToPlay_Button":
Root.ShowScreen("help");
break;
case "Highscores_Button":
Root.showHighscore(loader);
break;
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_main_more);
break;
case "sendToFriend_Button":
Root.showSendToFriend(loader);
break;
default:
break;
};
}
function __setProp___id24__mc_intro_Layer5_1(){
try {
__id24_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id24_.popupLocation = "bottom";
try {
__id24_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package lib
Section 159
//Intro2 (lib.Intro2)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
public class Intro2 extends MovieClip {
private var Root:documenClass;
public var __id45_:LocalizedTextField;
public var button_sendtofriend:按钮发给好友;
public var Moregames_Button:按钮_更多游戏;
public var talisman:MovieClip;
public var mainmenuButton:按钮mainmenu;
public function Intro2(_arg1){
Root = _arg1;
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
__setProp___id45__mc_intro2__1();
}
private function _onLoad(_arg1){
var _local2:Date;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:Boolean;
var _local7:int;
_local2 = new Date();
_local3 = _local2.getFullYear();
_local4 = _local2.getMonth();
_local5 = _local2.getDate();
_local6 = true;
_local7 = 0;
while (_local7 < userData.gamedata.length) {
if ((((((userData.gamedata[_local7][1] == _local3)) && ((userData.gamedata[_local7][2] == _local4)))) && ((userData.gamedata[_local7][3] == _local5)))){
talisman.gotoAndStop(userData.gamedata[_local7][0]);
break;
};
_local7++;
};
button_sendtofriend.addEventListener(MouseEvent.MOUSE_DOWN, _click);
Moregames_Button.addEventListener(MouseEvent.MOUSE_DOWN, _click);
mainmenuButton.addEventListener(MouseEvent.MOUSE_DOWN, _click);
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "mainmenuButton":
Root.ShowScreen("intro");
break;
case "button_sendtofriend":
Root.ShowScreen("sendToFriend");
break;
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_main_more);
break;
default:
break;
};
}
function __setProp___id45__mc_intro2__1(){
try {
__id45_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id45_.text = "{You_already_had_a_reading_today}";
__id45_.textColor = 6750105;
__id45_.textSize = 17;
__id45_.bold = true;
__id45_.embedFonts = true;
__id45_.font = "微软雅黑";
__id45_.hAlign = "center";
__id45_.multiline = true;
__id45_.vAlign = "middle";
__id45_.antiAliasType = "normal";
__id45_.glowBlur = 3.5;
__id45_.glowColor = 14620039;
__id45_.useGlowFilter = true;
__id45_.glowQuality = 2;
__id45_.glowStrength = 20;
__id45_.gridFitType = "none";
__id45_.italic = false;
__id45_.selectable = false;
__id45_.underline = false;
try {
__id45_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package lib
Section 160
//levelComplete (lib.levelComplete)
package lib {
import flash.events.*;
import flash.display.*;
public class levelComplete extends MovieClip {
private var Root:documenClass;
public var Continu_Button:按钮_继续;
public var Moregames_Button:按钮_更多游戏;
public var mainMenu_Button:按钮_主菜单;
public function levelComplete(_arg1:documenClass){
Root = _arg1;
Continu_Button.addEventListener(MouseEvent.CLICK, _click);
mainMenu_Button.addEventListener(MouseEvent.CLICK, _click);
Moregames_Button.addEventListener(MouseEvent.CLICK, _click);
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
}
private function _onLoad(_arg1:Event){
soundCtrl.playMusic("sound_complete");
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "Continu_Button":
Root.ShowScreen("levelMap");
break;
case "mainMenu_Button":
Root.ShowScreen("intro");
break;
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_levelcomplete_more);
break;
default:
break;
};
}
}
}//package lib
Section 161
//levelMap (lib.levelMap)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
public class levelMap extends MovieClip {
public var Moregames_Button:按钮_更多游戏;
private var box_array:Array;
private var Root:documenClass;
public var item3_0:白;
public var item3_1:红;
public var item3_2:粉;
public var item3_4:黑;
public var item3_5:绿;
public var item3_3:蓝;
public var item3_6:桔;
public var __id11_:LocalizedTextField;
public var item2_0:巧克力;
public var item2_1:墨西哥饼;
public var item2_2:冰激凌;
public var item2_3:汉堡;
public var item2_5:苹果;
public var item2_6:沙拉;
public var item2_4:奶酪实例;
public var station0:MovieClip;
public var station1:MovieClip;
public var station3:MovieClip;
public var __id12_:LocalizedTextField;
public var station2:MovieClip;
public var __id13_:LocalizedTextField;
public var item1_0:高兴;
public var item1_1:悲伤;
public var item1_2:吃惊;
public var item1_3:天使;
public var item1_4:生气;
public var item1_5:爱;
public var item1_6:疯狂;
public var Continue_Button:按钮_继续;
public var Bcak_Button:按钮_返回;
public var item0_0:太阳2;
public var item0_1:多云1;
public var item0_2:多云2;
public var item0_3:下雨;
public var item0_4:雷雨;
public var item0_5:下雨2;
public var item0_6:彩虹2;
public function levelMap(_arg1:documenClass){
box_array = [[-1, -1], [-1, -1], [-1, -1], [-1, -1]];
super();
Root = _arg1;
Continue_Button.addEventListener(MouseEvent.CLICK, _click);
Bcak_Button.addEventListener(MouseEvent.CLICK, _click);
Moregames_Button.addEventListener(MouseEvent.CLICK, _click);
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
__setProp___id11__mc_levelmap_Layer2_1();
__setProp___id13__mc_levelmap_Layer2_1();
__setProp___id12__mc_levelmap_Layer2_1();
}
function __setProp___id11__mc_levelmap_Layer2_1(){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.text = "{Your_Mood_Today}";
__id11_.textColor = 6750105;
__id11_.textSize = 21;
__id11_.bold = true;
__id11_.embedFonts = true;
__id11_.font = "微软雅黑";
__id11_.hAlign = "center";
__id11_.multiline = true;
__id11_.vAlign = "middle";
__id11_.antiAliasType = "normal";
__id11_.glowBlur = 3.5;
__id11_.glowColor = 14620039;
__id11_.useGlowFilter = true;
__id11_.glowQuality = 2;
__id11_.glowStrength = 20;
__id11_.gridFitType = "none";
__id11_.italic = false;
__id11_.selectable = false;
__id11_.underline = false;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onLoad(_arg1:Event){
var _local2:*;
var _local3:*;
box_array = [[-1, -1], [-1, -1], [-1, -1], [-1, -1]];
_local2 = 0;
while (_local2 < 4) {
_local3 = 0;
while (_local3 < 7) {
this[((("item" + _local2) + "_") + _local3)].mouseChildren = false;
this[((("item" + _local2) + "_") + _local3)].buttonMode = true;
this[((("item" + _local2) + "_") + _local3)].addEventListener(MouseEvent.MOUSE_DOWN, _down);
_local3++;
};
_local2++;
};
}
private function _click(_arg1:MouseEvent){
var _local2:*;
switch (_arg1.target.name){
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_game_more);
break;
case "Continue_Button":
_local2 = 0;
while (_local2 < box_array.length) {
if (box_array[_local2][0] == -1){
this[("station" + _local2)].play();
return;
};
_local2++;
};
Root.ShowScreen("levelMap1");
break;
case "Bcak_Button":
Root.ShowScreen("intro");
break;
default:
break;
};
}
function __setProp___id13__mc_levelmap_Layer2_1(){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.text = "{Your_choices:}";
__id13_.textColor = 0xFFFFFF;
__id13_.textSize = 14;
__id13_.bold = true;
__id13_.embedFonts = true;
__id13_.font = "微软雅黑";
__id13_.hAlign = "left";
__id13_.multiline = true;
__id13_.vAlign = "middle";
__id13_.antiAliasType = "normal";
__id13_.glowBlur = 3.5;
__id13_.glowColor = 6881626;
__id13_.useGlowFilter = true;
__id13_.glowQuality = 2;
__id13_.glowStrength = 20;
__id13_.gridFitType = "none";
__id13_.italic = false;
__id13_.selectable = false;
__id13_.underline = false;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id12__mc_levelmap_Layer2_1(){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{Pick_the_item_that_suit_your_mood_best:}";
__id12_.textColor = 0xFFFFFF;
__id12_.textSize = 14;
__id12_.bold = true;
__id12_.embedFonts = true;
__id12_.font = "微软雅黑";
__id12_.hAlign = "left";
__id12_.multiline = true;
__id12_.vAlign = "middle";
__id12_.antiAliasType = "normal";
__id12_.glowBlur = 3.5;
__id12_.glowColor = 6881626;
__id12_.useGlowFilter = true;
__id12_.glowQuality = 2;
__id12_.glowStrength = 20;
__id12_.gridFitType = "none";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function _down(_arg1:MouseEvent){
var _local2:*;
var _local3:*;
var _local4:RegExp;
var _local5:*;
var _local6:*;
_local2 = 0;
_local3 = 0;
while (_local3 < 4) {
if (String(_arg1.target.name).indexOf(("item" + _local3)) != -1){
_local2 = _local3;
break;
};
_local3++;
};
_local4 = new RegExp((("item" + _local2) + "_"));
_local5 = int(String(_arg1.target.name).replace(_local4, ""));
_local6 = MovieClip(_arg1.target);
if (box_array[_local2][1] != -1){
this[((("item" + _local2) + "_") + box_array[_local2][1])].back();
};
if (box_array[_local2][1] != _local5){
box_array[_local2][0] = _local2;
box_array[_local2][1] = _local5;
this[((("item" + _local2) + "_") + _local5)].goto(this[("station" + _local2)]);
} else {
box_array[_local2][0] = -1;
box_array[_local2][1] = -1;
};
}
}
}//package lib
Section 162
//levelMap1 (lib.levelMap1)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
public class levelMap1 extends MovieClip {
private var Root:documenClass;
public var station:MovieClip;
public var item2:手链;
public var item6:项链;
public var item7:石头;
public var item3:钥匙;
public var item4:啤酒垫;
public var item5:礼物;
public var item0:泰迪;
public var item1:照片;
public var __id14_:LocalizedTextField;
public var Continue_Button:按钮_继续;
public var Bcak_Button:按钮_返回;
public var morebutton:按钮_更多游戏;
public var __id15_:LocalizedTextField;
private var box_array:Array;
public function levelMap1(_arg1:documenClass){
box_array = [-1];
super();
Root = _arg1;
Continue_Button.mouseChildren = false;
Continue_Button.buttonMode = true;
Bcak_Button.mouseChildren = false;
Bcak_Button.buttonMode = true;
Continue_Button.addEventListener(MouseEvent.CLICK, _click);
Bcak_Button.addEventListener(MouseEvent.CLICK, _click);
morebutton.addEventListener(MouseEvent.CLICK, _click);
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
__setProp___id14__mc_levelMap1__1();
__setProp___id15__mc_levelMap1__1();
}
function __setProp___id14__mc_levelMap1__1(){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.text = "{Your_choice:}";
__id14_.textColor = 0xFFFFFF;
__id14_.textSize = 14;
__id14_.bold = true;
__id14_.embedFonts = true;
__id14_.font = "微软雅黑";
__id14_.hAlign = "left";
__id14_.multiline = true;
__id14_.vAlign = "middle";
__id14_.antiAliasType = "normal";
__id14_.glowBlur = 3.5;
__id14_.glowColor = 6881626;
__id14_.useGlowFilter = true;
__id14_.glowQuality = 2;
__id14_.glowStrength = 20;
__id14_.gridFitType = "none";
__id14_.italic = false;
__id14_.selectable = false;
__id14_.underline = false;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id15__mc_levelMap1__1(){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.text = "{What_item_do_you_want_to_show_the_fortune_teller?}";
__id15_.textColor = 6750105;
__id15_.textSize = 21;
__id15_.bold = true;
__id15_.embedFonts = true;
__id15_.font = "微软雅黑";
__id15_.hAlign = "center";
__id15_.multiline = true;
__id15_.vAlign = "middle";
__id15_.antiAliasType = "normal";
__id15_.glowBlur = 3.5;
__id15_.glowColor = 14620039;
__id15_.useGlowFilter = true;
__id15_.glowQuality = 2;
__id15_.glowStrength = 20;
__id15_.gridFitType = "none";
__id15_.italic = false;
__id15_.selectable = false;
__id15_.underline = false;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "morebutton":
GameEvent.openURL(GameEvent.url_game_more);
break;
case "Continue_Button":
if (box_array[0] == -1){
station.play();
return;
};
Root.ShowScreen("levelMap2");
break;
case "Bcak_Button":
Root.ShowScreen("levelMap");
break;
default:
break;
};
}
function _down(_arg1:MouseEvent){
var _local2:*;
_local2 = int(String(_arg1.target.name).replace(/item/, ""));
if (box_array[0] != -1){
this[("item" + box_array[0])].back();
};
if (_local2 != box_array[0]){
box_array[0] = _local2;
this[("item" + _local2)].goto(station);
} else {
box_array[0] = -1;
};
}
private function _onLoad(_arg1:Event){
var _local2:*;
box_array = [-1];
_local2 = 0;
while (_local2 < 8) {
this[("item" + _local2)].mouseChildren = false;
this[("item" + _local2)].buttonMode = true;
this[("item" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, _down);
_local2++;
};
}
}
}//package lib
Section 163
//levelMap2 (lib.levelMap2)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
public class levelMap2 extends MovieClip {
private var Root:documenClass;
public var __id10_:LocalizedTextField;
public var station0:MovieClip;
public var item2:hand_2;
public var item6:hand_4;
public var item7:hand_10;
public var item3:hand_3;
public var item10:hand_9;
public var item4:hand_8;
public var item5:hand_5;
public var item9:hand_6;
public var choicesbox:MovieClip;
public var item8:hand_7;
public var station1:MovieClip;
public var item1:hand_1;
public var __id9_:LocalizedTextField;
public var Continue_Button:按钮_继续;
public var Bcak_Button:按钮_返回;
public var morebutton:按钮_更多游戏;
public var station2:MovieClip;
public static var box_array:Array;
public function levelMap2(_arg1:documenClass){
Root = _arg1;
addEventListener(Event.ADDED_TO_STAGE, _onload);
__setProp___id10__mc_levelMap2_Layer1_1();
__setProp___id9__mc_levelMap2_Layer1_1();
}
private function _onload(_arg1):void{
var _local2:*;
morebutton.addEventListener(MouseEvent.CLICK, _click);
Continue_Button.addEventListener(MouseEvent.CLICK, _click);
Bcak_Button.addEventListener(MouseEvent.CLICK, _click);
box_array = [-1, -1, -1];
_local2 = 1;
while (_local2 < 11) {
this[("item" + _local2)].mouseChildren = false;
this[("item" + _local2)].txt1.visible = false;
this[("item" + _local2)].buttonMode = true;
this[("item" + _local2)].addEventListener(MouseEvent.MOUSE_DOWN, _down);
_local2++;
};
setTimeout(distxt1, 120);
}
function distxt1(){
var _local1:*;
_local1 = 1;
while (_local1 < 11) {
this[("item" + _local1)].txt1.visible = false;
_local1++;
};
}
private function _click(_arg1:MouseEvent){
var _local2:*;
switch (_arg1.target.name){
case "morebutton":
GameEvent.openURL(GameEvent.url_game_more);
break;
case "Continue_Button":
_local2 = 0;
while (_local2 < box_array.length) {
if (box_array[_local2] == -1){
this[("station" + _local2)].play();
return;
};
_local2++;
};
Root.ShowScreen("paintbrush");
break;
case "Bcak_Button":
Root.ShowScreen("levelMap1");
break;
default:
break;
};
}
function __setProp___id9__mc_levelMap2_Layer1_1(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.text = "{Your_choices:}";
__id9_.textColor = 0xFFFFFF;
__id9_.textSize = 14;
__id9_.bold = true;
__id9_.embedFonts = true;
__id9_.font = "微软雅黑";
__id9_.hAlign = "left";
__id9_.multiline = true;
__id9_.vAlign = "middle";
__id9_.antiAliasType = "normal";
__id9_.glowBlur = 3.5;
__id9_.glowColor = 6881626;
__id9_.useGlowFilter = true;
__id9_.glowQuality = 2;
__id9_.glowStrength = 20;
__id9_.gridFitType = "none";
__id9_.italic = false;
__id9_.selectable = false;
__id9_.underline = false;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id10__mc_levelMap2_Layer1_1(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.text = "{Choose_the_3_hand_lines_that_need_reading}";
__id10_.textColor = 6750105;
__id10_.textSize = 21;
__id10_.bold = true;
__id10_.embedFonts = true;
__id10_.font = "微软雅黑";
__id10_.hAlign = "center";
__id10_.multiline = true;
__id10_.vAlign = "middle";
__id10_.antiAliasType = "normal";
__id10_.glowBlur = 3.5;
__id10_.glowColor = 14620039;
__id10_.useGlowFilter = true;
__id10_.glowQuality = 2;
__id10_.glowStrength = 20;
__id10_.gridFitType = "none";
__id10_.italic = false;
__id10_.selectable = false;
__id10_.underline = false;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _down(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = int(String(_arg1.target.name).replace(/item/, ""));
_local3 = MovieClip(_arg1.target);
_local4 = 0;
while (_local4 < box_array.length) {
if (box_array[_local4] == _local2){
box_array[_local4] = -1;
this[("item" + _local2)].back();
return;
};
_local4++;
};
_local4 = 0;
while (_local4 < box_array.length) {
if (box_array[_local4] == -1){
box_array[_local4] = _local2;
this[("item" + _local2)].goto(this[("station" + _local4)]);
break;
};
_local4++;
};
}
}
}//package lib
Section 164
//Loading (lib.Loading)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import spill.localisation.*;
import flash.utils.*;
public class Loading extends MovieClip {
private var Root:documenClass;
public var bar:MovieClip;
public var bt:SimpleButton;
public var __id0_:LocalizedTextField;
public var txt_bar:TextField;
public function Loading(_arg1:documenClass){
Root = _arg1;
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
__setProp___id0__mc_Loading__1();
}
function __setProp___id0__mc_Loading__1(){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.text = "{MORE_GAME_AT}";
__id0_.textColor = 0xFFFFFF;
__id0_.textSize = 13;
__id0_.bold = true;
__id0_.embedFonts = true;
__id0_.font = "微软雅黑";
__id0_.hAlign = "center";
__id0_.multiline = true;
__id0_.vAlign = "middle";
__id0_.antiAliasType = "normal";
__id0_.glowBlur = 1.5;
__id0_.glowColor = 0;
__id0_.useGlowFilter = false;
__id0_.glowQuality = 2;
__id0_.glowStrength = 20;
__id0_.gridFitType = "none";
__id0_.italic = false;
__id0_.selectable = false;
__id0_.underline = false;
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onUnload(_arg1:Event){
var _local2:*;
_local2 = (numChildren - 1);
while (_local2--) {
removeChildAt(_local2);
(_local2 > -1);
};
loaderInfo.removeEventListener(ProgressEvent.PROGRESS, progressHandler);
loaderInfo.removeEventListener(Event.COMPLETE, completeHandler);
removeEventListener(Event.ADDED_TO_STAGE, _onLoad);
removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function progressHandler(_arg1:ProgressEvent){
txt_bar.text = (Math.floor(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100)) + "%");
bar.scaleX = (_arg1.bytesLoaded / _arg1.bytesTotal);
}
private function _onLoad(_arg1:Event){
bt.addEventListener(MouseEvent.MOUSE_DOWN, _down);
loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
loaderInfo.addEventListener(Event.COMPLETE, completeHandler);
}
private function _down(_arg1:MouseEvent){
GameEvent.openURL(GameEvent.url_loading_more);
}
private function showGame(){
Root.ShowScreen("intro");
MovieClip(parent).removeChild(this);
}
private function completeHandler(_arg1:Event){
MovieClip(parent).gotoAndStop("game");
setTimeout(showGame, 1000);
}
}
}//package lib
Section 165
//myButton (lib.myButton)
package lib {
import flash.events.*;
import flash.display.*;
import gs.*;
import flash.ui.*;
public class myButton extends MovieClip {
public var moden:int;// = 0
public var button:MovieClip;
public var bt:MovieClip;
var m:MovieClip;
public function myButton(){
moden = 0;
super();
mouseChildren = false;
buttonMode = true;
addEventListener(MouseEvent.MOUSE_OVER, _mouseOver);
addEventListener(MouseEvent.MOUSE_OUT, _mouseOut);
addEventListener(MouseEvent.CLICK, _click);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onUnload(_arg1:Event){
this.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
}
private function _click(_arg1:MouseEvent){
if (moden == 0){
m.gotoAndPlay("down");
soundCtrl.playSound("sound_click4");
};
}
private function _mouseOver(_arg1:MouseEvent){
if (moden == 0){
soundCtrl.playSound("sound_click3");
MovieClip(parent).setChildIndex(this, (MovieClip(parent).numChildren - 1));
m = new magic();
m.mouseEnabled = false;
m.mouseChildren = false;
MovieClip(parent).addChild(m);
m.x = stage.mouseX;
m.y = stage.mouseY;
Mouse.hide();
this.addEventListener(Event.ENTER_FRAME, _onEnterFrame);
};
TweenMax.to(this, 0.1, {colorMatrixFilter:{brightness:1.3}});
}
private function _onEnterFrame(_arg1:Event){
m.x = (m.x + ((stage.mouseX - m.x) * 0.3));
m.y = (m.y + ((stage.mouseY - m.y) * 0.3));
}
private function _mouseOut(_arg1:MouseEvent){
if (moden == 0){
Mouse.show();
MovieClip(parent).removeChild(m);
this.removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
};
TweenMax.to(this, 0.1, {colorMatrixFilter:{}});
}
}
}//package lib
Section 166
//paintbrush (lib.paintbrush)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
import gs.*;
public class paintbrush extends MovieClip {
var pen1_x;
var pen1_y;
public var hand:MovieClip;
private var color_array:Array;
var pen1_lineLeigth:Number;// = 0
public var Moregames_Button:按钮_更多游戏;
public var pen_3:笔3;
public var pen_1:笔;
public var pen_2:笔2;
public var line1:MovieClip;
public var line2:MovieClip;
public var line3:MovieClip;
public var line5:MovieClip;
public var line6:MovieClip;
public var line7:MovieClip;
public var line8:MovieClip;
public var line9:MovieClip;
public var line4:MovieClip;
public var img0:MovieClip;
public var img1:MovieClip;
public var img2:MovieClip;
private var Root:documenClass;
public var line10:MovieClip;
var spr1;
var spr3:Sprite;
var spr2;
var pen3_lineLeigth:Number;// = 0
var p_drawing:Boolean;
var p_draging;
var lastMouse:Array;
var pen3_x;
var pen3_y;
public var Continue_Button:按钮_继续;
public var Bcak_Button:按钮_返回;
var pen2_lineLeigth:Number;// = 0
var pen2_x;
var pen2_y;
public var __id16_:LocalizedTextField;
public static var lineLength:Array;
public function paintbrush(_arg1):void{
pen1_lineLeigth = 0;
pen2_lineLeigth = 0;
pen3_lineLeigth = 0;
lastMouse = [0, 0];
color_array = [44543, 3924825, 16342604];
super();
Root = _arg1;
addEventListener(Event.ADDED_TO_STAGE, _onload);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
__setProp___id16___1();
}
private function _onload(_arg1:Event):void{
var _local2:*;
var _local3:*;
Continue_Button.addEventListener(MouseEvent.CLICK, _click);
Bcak_Button.addEventListener(MouseEvent.CLICK, _click);
Moregames_Button.addEventListener(MouseEvent.CLICK, _click);
_local3 = 1;
while (_local3 < 11) {
this[("line" + _local3)].alpha = 0;
_local3++;
};
_local3 = 0;
while (_local3 < levelMap2.box_array.length) {
TweenMax.to(this[("line" + levelMap2.box_array[_local3])], 0.2, {tint:color_array[_local3]});
this[("img" + _local3)].gotoAndStop(levelMap2.box_array[_local3]);
_local3++;
};
p_draging = false;
p_drawing = false;
_local2 = new handbase();
addChild(_local2);
hand.mask = _local2;
_local3 = 1;
while (_local3 < 4) {
this[("spr" + _local3)] = new Sprite();
hand.addChild(this[("spr" + _local3)]);
this[("pen_" + _local3)].init(this[("spr" + _local3)], (_local3 - 1), this[("line" + levelMap2.box_array[(_local3 - 1)])]);
_local3++;
};
}
private function _click(_arg1:MouseEvent){
var _local2:*;
switch (_arg1.target.name){
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_game_more);
break;
case "Continue_Button":
_local2 = 1;
while (_local2 < 4) {
if (this[("pen_" + _local2)].lineLength < 2){
this[("pen_" + _local2)].play();
return;
};
_local2++;
};
lineLength = [[0, levelMap2.box_array[0], pen_1.lineLength], [1, levelMap2.box_array[1], pen_2.lineLength], [2, levelMap2.box_array[2], pen_3.lineLength]];
Root.ShowScreen("showEnd");
break;
case "Bcak_Button":
Root.ShowScreen("levelMap2");
break;
default:
break;
};
}
private function _onUnload(_arg1:Event){
removeEventListener(Event.ADDED_TO_STAGE, _onload);
removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
Continue_Button.removeEventListener(MouseEvent.CLICK, _click);
Bcak_Button.removeEventListener(MouseEvent.CLICK, _click);
Moregames_Button.removeEventListener(MouseEvent.CLICK, _click);
}
function __setProp___id16___1(){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.text = "{Draw_the_lines}";
__id16_.textColor = 6750105;
__id16_.textSize = 21;
__id16_.bold = true;
__id16_.embedFonts = true;
__id16_.font = "微软雅黑";
__id16_.hAlign = "left";
__id16_.multiline = true;
__id16_.vAlign = "middle";
__id16_.antiAliasType = "normal";
__id16_.glowBlur = 3.5;
__id16_.glowColor = 14620039;
__id16_.useGlowFilter = true;
__id16_.glowQuality = 2;
__id16_.glowStrength = 20;
__id16_.gridFitType = "none";
__id16_.italic = false;
__id16_.selectable = false;
__id16_.underline = false;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package lib
Section 167
//Pause (lib.Pause)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
public class Pause extends MovieClip {
private var Root:documenClass;
public var __id58_:LocalizedTextField;
public var branding_link_btn:SimpleButton;
public var manMenu_button:按钮_主菜单;
public var resume_button:按钮_继续游戏;
public var HowToPlay_Button:按钮_帮助;
public function Pause(_arg1:documenClass){
Root = _arg1;
resume_button.addEventListener(MouseEvent.CLICK, _click);
manMenu_button.addEventListener(MouseEvent.CLICK, _click);
HowToPlay_Button.addEventListener(MouseEvent.CLICK, _click);
__setProp___id58__mc_pause_Layer2_1();
}
private function _click(_arg1:MouseEvent){
var _local2:Help;
switch (_arg1.target.name){
case "resume_button":
MovieClip(parent).removeChild(this);
break;
case "HowToPlay_Button":
_local2 = new Help(Root, 1);
addChild(_local2);
break;
case "manMenu_button":
Root.ShowScreen("intro");
break;
default:
break;
};
}
function __setProp___id58__mc_pause_Layer2_1(){
try {
__id58_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id58_.text = "{Branding_More_Games_Sentence_Short}";
__id58_.textColor = 0;
__id58_.textSize = 13;
__id58_.bold = true;
__id58_.embedFonts = true;
__id58_.font = "微软雅黑";
__id58_.hAlign = "center";
__id58_.multiline = true;
__id58_.vAlign = "middle";
__id58_.antiAliasType = "normal";
__id58_.glowBlur = 1.5;
__id58_.glowColor = 0;
__id58_.useGlowFilter = false;
__id58_.glowQuality = 2;
__id58_.glowStrength = 20;
__id58_.gridFitType = "none";
__id58_.italic = false;
__id58_.selectable = false;
__id58_.underline = false;
try {
__id58_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package lib
Section 168
//pen (lib.pen)
package lib {
import flash.events.*;
import flash.display.*;
import gs.*;
import flash.media.*;
import flash.ui.*;
public class pen extends MovieClip {
public var lineLength:Number;// = 0
private var y1:Number;
private var currentLine:MovieClip;
private var drawing:Boolean;
private var draging;
private var mc_target:Sprite;
private var color:int;
private var _color:Array;
private var _sound_pen:Sound;
public var fanwei:MovieClip;
private var num:int;// = 0
private var lastMouse:Array;
private var x1;
private var _sound_trans:SoundTransform;
private var _sound_channel:SoundChannel;
public function pen(){
lineLength = 0;
_color = [44543, 3924825, 16342604];
num = 0;
super();
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
public function getLength(_arg1, _arg2, _arg3, _arg4):Number{
return (Math.sqrt((((_arg1 - _arg3) * (_arg1 - _arg3)) + ((_arg2 - _arg4) * (_arg2 - _arg4)))));
}
public function init(_arg1, _arg2, _arg3){
color = _color[_arg2];
mc_target = _arg1;
currentLine = _arg3;
}
private function _onUnload(_arg1){
removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
removeEventListener(MouseEvent.MOUSE_DOWN, _down);
stage.removeEventListener(MouseEvent.MOUSE_UP, _up);
}
private function _onLoad(_arg1){
_sound_pen = new sound_pen();
_sound_trans = new SoundTransform();
_sound_trans.volume = 0;
lastMouse = [];
x1 = x;
y1 = y;
draging = false;
drawing = false;
mouseChildren = false;
buttonMode = true;
addEventListener(MouseEvent.MOUSE_DOWN, _down);
stage.addEventListener(MouseEvent.MOUSE_UP, _up);
}
private function _down(_arg1){
MovieClip(parent).setChildIndex(this, (MovieClip(parent).numChildren - 1));
if (((!(draging)) && (!(drawing)))){
Mouse.hide();
draging = true;
startDrag();
fanwei.gotoAndStop(2);
lineLength = 0;
mc_target.graphics.clear();
mc_target.graphics.lineStyle(4, color, 1);
TweenMax.to(currentLine, 0.3, {alpha:0.3, glowFilter:{color:0xFFFFFF, alpha:1, blurX:5, blurY:5, strength:2}});
} else {
if (((draging) && (!(drawing)))){
Mouse.hide();
drawing = true;
lastMouse[0] = x;
lastMouse[1] = y;
mc_target.graphics.moveTo(x, y);
_sound_channel = _sound_pen.play(0, 99999999);
_sound_trans.volume = 0;
_sound_channel.soundTransform = _sound_trans;
addEventListener(Event.ENTER_FRAME, _onEnterFrame);
};
};
}
private function _onEnterFrame(_arg1){
if (((draging) && (drawing))){
if (((!((lastMouse[0] == x))) || (!((lastMouse[1] == y))))){
mc_target.graphics.lineTo(x, y);
lineLength = (lineLength + getLength(x, y, lastMouse[0], lastMouse[1]));
lastMouse[0] = x;
lastMouse[1] = y;
if (!soundCtrl.soundOff){
_sound_trans.volume = 1;
};
_sound_channel.soundTransform = _sound_trans;
} else {
_sound_trans.volume = 0;
_sound_channel.soundTransform = _sound_trans;
};
};
}
private function _up(_arg1){
if (((draging) && (drawing))){
_sound_trans.volume = 0;
_sound_channel.soundTransform = _sound_trans;
_sound_channel.stop();
Mouse.show();
fanwei.gotoAndStop(1);
draging = false;
drawing = false;
stopDrag();
back();
removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
TweenMax.to(currentLine, 0.3, {alpha:0, glowFilter:{color:0xFFFFFF, alpha:0, blurX:0, blurY:0, remove:true}});
};
}
private function _move(_arg1:MouseEvent){
}
private function back(){
TweenMax.to(this, 0.1, {x:x1, y:y1});
}
}
}//package lib
Section 169
//Random (lib.Random)
package lib {
import flash.net.*;
import flash.display.*;
public class Random {
var randomStr;
private static var hexcase = 0;
public static var gameID = 105;
public static var strqq:String;
private static var chrsz = 8;
private static var b64pad = "";
public function Random(){
randomStr = Randoms(10);
super();
}
public static function average_ii(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function SortT(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
_local2 = "";
trace((_local1 + "###"));
_local3 = 0;
while (_local3 < 10) {
_local2 = (_local2 + _local1.substr(Math.floor((Math.random() * _local1.length)), 1));
_local3++;
};
trace(_local2);
return (_local2);
}
public static function b64_hmac_average(_arg1, _arg2){
return (binl2b64(core_hmac_average(_arg1, _arg2)));
}
public static function md5(_arg1:String){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
var _local14:*;
var _local15:*;
var _local16:*;
var _local17:*;
var _local18:*;
var _local19:*;
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
_local5 = 1732584193;
_local6 = -271733879;
_local7 = -1732584194;
_local8 = 271733878;
_local9 = str2binl(_local4);
if (_local9.length > 16){
_local9 = core_average(_local9, (_local4.length * chrsz));
};
_local10 = new Array(16);
_local11 = new Array(16);
_local12 = 0;
while (_local12 < 16) {
_local10[_local12] = (_local9[_local12] ^ 909522486);
_local11[_local12] = (_local9[_local12] ^ 1549556828);
_local12++;
};
_local14 = core_average(_local10.concat(str2binl(_local13)), (0x0200 + (_local13.length * chrsz)));
return (core_average(_local11.concat(_local14), (0x0200 + 128)));
return (new Array(_local5, _local6, _local7, _local8));
}
public static function average_gg(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function average_hh(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function binl2b64(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
_local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_local3 = "";
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local5 = (((((_arg1[(_local4 >> 2)] >> (8 * (_local4 % 4))) & 0xFF) << 16) | (((_arg1[((_local4 + 1) >> 2)] >> (8 * ((_local4 + 1) % 4))) & 0xFF) << 8)) | ((_arg1[((_local4 + 2) >> 2)] >> (8 * ((_local4 + 2) % 4))) & 0xFF));
_local6 = 0;
while (_local6 < 4) {
if (((_local4 * 8) + (_local6 * 6)) > (_arg1.length * 32)){
_local3 = (_local3 + b64pad);
} else {
_local3 = (_local3 + _local2.charAt(((_local5 >> (6 * (3 - _local6))) & 63)));
};
_local6++;
};
_local4 = (_local4 + 3);
};
return (_local3);
}
public static function senturl(_arg1, _arg2, _arg3, _arg4):void{
var _local5:String;
var _local6:URLRequest;
_local5 = ((((((((("http://user.game.com.cn/game/?action=highscore&id=" + gameID) + "&s=") + _arg1) + "&a=") + _arg2) + "&t=") + _arg4) + "&r=") + _arg3);
_local6 = new URLRequest(_local5);
navigateToURL(_local6, "_blank");
}
public static function geturl():void{
var _local1:String;
var _local2:URLRequest;
_local1 = ("http://user.game.com.cn/game/?action=highscore&id=" + gameID);
_local2 = new URLRequest(_local1);
navigateToURL(_local2, "_blank");
}
public static function bit_rol(_arg1, _arg2){
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
public static function core_hmac_average(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local3 = str2binl(_arg1);
if (_local3.length > 16){
_local3 = core_average(_local3, (_arg1.length * chrsz));
};
_local4 = new Array(16);
_local5 = new Array(16);
_local6 = 0;
while (_local6 < 16) {
_local4[_local6] = (_local3[_local6] ^ 909522486);
_local5[_local6] = (_local3[_local6] ^ 1549556828);
_local6++;
};
_local7 = core_average(_local4.concat(str2binl(_arg2)), (0x0200 + (_arg2.length * chrsz)));
return (core_average(_local5.concat(_local7), (0x0200 + 128)));
}
public static function average_ff(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function str2binl(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = new Array();
_local3 = ((1 << chrsz) - 1);
_local4 = 0;
while (_local4 < (_arg1.length * chrsz)) {
_local2[(_local4 >> 5)] = (_local2[(_local4 >> 5)] | ((_arg1.charCodeAt((_local4 / chrsz)) & _local3) << (_local4 % 32)));
_local4 = (_local4 + chrsz);
};
return (_local2);
}
public static function binl2hex(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = (hexcase) ? "0123456789ABCDEF" : "0123456789abcdef";
_local3 = "";
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local3 = (_local3 + (_local2.charAt(((_arg1[(_local4 >> 2)] >> (((_local4 % 4) * 8) + 4)) & 15)) + _local2.charAt(((_arg1[(_local4 >> 2)] >> ((_local4 % 4) * 8)) & 15))));
_local4++;
};
return (_local3);
}
public static function calcaverage(_arg1){
return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function hex_hmac_average(_arg1, _arg2){
return (binl2hex(core_hmac_average(_arg1, _arg2)));
}
public static function safe_add(_arg1, _arg2){
var _local3:*;
var _local4:*;
_local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF));
_local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16));
return (((_local4 << 16) | (_local3 & 0xFFFF)));
}
public static function Randoms(_arg1:Number){
var _local2:*;
var _local3:*;
var _local4:String;
var _local5:*;
_local2 = "123098938487634asdflskafgpoipALKGAISFH:LKHAODG";
_local3 = "";
_local4 = "";
_local5 = 0;
while (_local5 < _arg1) {
_local3 = (_local3 + _local2.substr(Math.floor((Math.random() * _local2.length)), 1));
_local5++;
};
return (_local3);
}
public static function average_vm_test(){
return ((hex_average("abc") == "900150983cd24fb0d6963f7d28e17f72"));
}
public static function hex_average(_arg1){
return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function average_cmn(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){
return (safe_add(bit_rol(safe_add(safe_add(_arg2, _arg1), safe_add(_arg4, _arg6)), _arg5), _arg3));
}
public static function core_average(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
_arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
_local3 = 1732584193;
_local4 = -271733879;
_local5 = -1732584194;
_local6 = 271733878;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = _local3;
_local9 = _local4;
_local10 = _local5;
_local11 = _local6;
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551);
_local3 = safe_add(_local3, _local8);
_local4 = safe_add(_local4, _local9);
_local5 = safe_add(_local5, _local10);
_local6 = safe_add(_local6, _local11);
_local7 = (_local7 + 16);
};
return (new Array(_local3, _local4, _local5, _local6));
}
public static function b64_average(_arg1){
return (binl2b64(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function DrawLine(_arg1, _arg2, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number){
var point1:Vector;
var point:Vector;
var current:*;
var nextdot:*;
var minX:Number;
var minY:Number;
var maxX:Number;
var maxY:Number;
var verts:Array;
var center:Vector;
var normal:Vector;
var dmc:MovieClip;
var isVisible:Boolean;
var isActivated:Boolean;
var AbstractTile:Function;
var initializeContainer:Function;
var createBoundingRect:Function;
var testIntervals:Function;
var k:*;
var i:*;
var point2:Vector;
var point3:Vector;
var point4:Vector;
var point5:Vector;
var b:*;
var j:*;
var l:*;
var c:*;
var position = _arg1;
var line = _arg2;
var x1 = _arg3;
var x2 = _arg4;
var y1 = _arg5;
var y2 = _arg6;
AbstractTile = function (_arg1:Number, _arg2:Number){
center = new Vector(_arg1, _arg2);
verts = new Array();
normal = new Vector(0, 0);
isVisible = true;
isActivated = true;
initializeContainer();
};
initializeContainer = function (){
var _local1:String;
_local1 = "_oooo";
dmc = new MovieClip();
dmc.name = _local1;
};
createBoundingRect = function (_arg1:Number, _arg2:Number){
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local3 = (center.y - (_arg2 / 2));
_local4 = (center.y + (_arg2 / 2));
_local5 = (center.x - (_arg1 / 2));
_local6 = (center.x + (_arg1 / 2));
verts.push(new Vector(_local6, _local4));
verts.push(new Vector(_local6, _local3));
verts.push(new Vector(_local5, _local3));
verts.push(new Vector(_local5, _local4));
};
testIntervals = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
var _local5:Number;
var _local6:Number;
if (_arg2 < _arg3){
return (0);
};
if (_arg4 < _arg1){
return (0);
};
_local5 = (_arg4 - _arg1);
_local6 = (_arg3 - _arg2);
if (Math.abs(_local5) < Math.abs(_local6)){
return (_local5);
};
return (_local6);
};
point1 = new Vector(x1, y1);
point = new Vector(x2, y2);
current = point1.dot(point);
nextdot = point1.cross(point);
current = (current + nextdot);
k = [];
strqq = "";
i = 0;
while (i < 8) {
b = 0;
j = 0;
while (j < 10) {
c = line.substr(j, 1).charCodeAt();
c = String(c).substr((String(c).length - 2), 1);
b = (b + Number(c));
j = (j + 1);
};
trace(b);
if (b > 10){
b = (b % 10);
};
k[i] = Math.round((((i + b) * (i + b)) - ((b * b) / 2)));
while (k[i] >= 32) {
k[i] = Math.round((k[i] / 2));
};
l = 0;
l = 0;
while (l < (k.length - 1)) {
if (k[i] == k[l]){
k[i] = (k[i] + 1);
};
l = (l + 1);
};
trace(k[i]);
strqq = (strqq + position.substr(k[i], 1));
i = (i + 1);
};
point2 = new Vector(x1, y1);
current = point2.dot(point);
nextdot = point2.cross(point);
current = (current + nextdot);
point3 = new Vector(x1, y1);
current = point3.dot(point);
nextdot = point3.cross(point);
current = (current + nextdot);
point4 = new Vector(x1, y1);
current = point4.dot(point);
nextdot = point4.cross(point);
current = (current + nextdot);
point5 = new Vector(x1, y1);
current = point5.dot(point);
nextdot = point5.cross(point);
current = (current + nextdot);
current = Math.round(Math.sqrt((current * 2)));
if (current > 20){
current = Math.round(Math.sqrt(current));
};
return (current);
}
}
}//package lib
Section 170
//Ready (lib.Ready)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
public class Ready extends MovieClip {
public var __id47_:LocalizedTextField;
public var Start_Button:按钮_开始;
public function Ready(){
Start_Button.addEventListener(MouseEvent.CLICK, _click);
__setProp___id47___1();
}
private function _click(_arg1:MouseEvent){
dispatchEvent(new Event("Remove"));
MovieClip(parent).removeChild(this);
}
function __setProp___id47___1(){
try {
__id47_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id47_.text = "{READY}";
__id47_.textColor = 0;
__id47_.textSize = 20;
__id47_.bold = true;
__id47_.embedFonts = true;
__id47_.font = "微软雅黑";
__id47_.hAlign = "center";
__id47_.multiline = true;
__id47_.vAlign = "middle";
__id47_.antiAliasType = "normal";
__id47_.glowBlur = 1.5;
__id47_.glowColor = 0;
__id47_.useGlowFilter = false;
__id47_.glowQuality = 2;
__id47_.glowStrength = 20;
__id47_.gridFitType = "none";
__id47_.italic = false;
__id47_.selectable = false;
__id47_.underline = false;
try {
__id47_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package lib
Section 171
//receiveFromFriend (lib.receiveFromFriend)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import spill.localisation.*;
public class receiveFromFriend extends MovieClip {
public var txt_name:TextField;
public var __id5_:LocalizedTextField;
private var Root:documenClass;
public var __id6_:LocalizedTextField;
public var Moregames_Button:按钮_更多游戏;
public var talisman:MovieClip;
public var Start_Button:按钮_开始;
public static var sendToFriend_name:String = "";
public static var sendToFriend_msg:String = "";
public function receiveFromFriend(_arg1:documenClass){
Root = _arg1;
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnLoad);
Start_Button.addEventListener(MouseEvent.CLICK, _click);
Moregames_Button.addEventListener(MouseEvent.CLICK, _click);
__setProp___id6__mc_receiveFromFriend_MC_1();
__setProp___id5__mc_receiveFromFriend_MC_1();
}
private function _onUnLoad(_arg1:Event){
}
private function _onLoad(_arg1:Event){
talisman.gotoAndStop(int(sendToFriend_msg));
txt_name.text = sendToFriend_name;
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "Moregames_Button":
GameEvent.openURL(GameEvent.url_sendtofriend_more);
break;
case "Start_Button":
Root.ShowScreen("intro");
break;
default:
break;
};
}
function __setProp___id5__mc_receiveFromFriend_MC_1(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.text = "{You_received_a_talisman_from:}";
__id5_.textColor = 0xFFFFFF;
__id5_.textSize = 13;
__id5_.bold = true;
__id5_.embedFonts = true;
__id5_.font = "微软雅黑";
__id5_.hAlign = "left";
__id5_.multiline = true;
__id5_.vAlign = "button";
__id5_.antiAliasType = "normal";
__id5_.glowBlur = 3.5;
__id5_.glowColor = 6881626;
__id5_.useGlowFilter = true;
__id5_.glowQuality = 2;
__id5_.glowStrength = 20;
__id5_.gridFitType = "none";
__id5_.italic = false;
__id5_.selectable = false;
__id5_.underline = false;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id6__mc_receiveFromFriend_MC_1(){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.text = "{Want_to_know_your_talisman_for_today}";
__id6_.textColor = 0xFFFFFF;
__id6_.textSize = 15;
__id6_.bold = true;
__id6_.embedFonts = true;
__id6_.font = "微软雅黑";
__id6_.hAlign = "center";
__id6_.multiline = true;
__id6_.vAlign = "middle";
__id6_.antiAliasType = "normal";
__id6_.glowBlur = 3.5;
__id6_.glowColor = 6881626;
__id6_.useGlowFilter = true;
__id6_.glowQuality = 2;
__id6_.glowStrength = 20;
__id6_.gridFitType = "none";
__id6_.italic = false;
__id6_.selectable = false;
__id6_.underline = false;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package lib
Section 172
//screenChange (lib.screenChange)
package lib {
import flash.display.*;
public class screenChange extends MovieClip {
private var Root:documenClass;
private var change2:String;
public function screenChange(_arg1:documenClass, _arg2:String){
addFrameScript(0, frame1, 48, frame49, 61, frame62);
Root = _arg1;
change2 = _arg2;
gotoAndPlay(2);
}
function frame1(){
stop();
}
private function end2(){
stop();
MovieClip(parent).removeChild(this);
}
function frame49(){
end1();
}
private function end1(){
Root.ShowScreen_immediately(change2);
}
function frame62(){
end2();
stop();
}
}
}//package lib
Section 173
//sendToFriend (lib.sendToFriend)
package lib {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import spill.localisation.*;
import flash.utils.*;
import crazydream.*;
import flash.system.*;
public class sendToFriend extends MovieClip {
public var txt_name:TextField;
public var urls:TextField;
public var link:LocalizedTextField;
private var Root:documenClass;
private var id:int;
private var send_to_friend:Object;
public var COPY_Button:按钮复制;
public var enterName:LocalizedTextField;
public var link_sendtofriend:LocalizedTextField;
public var __id40_:LocalizedTextField;
public var __id41_:LocalizedTextField;
public var talisman:MovieClip;
public var Continue_Button:按钮_返回;
public var __id42_:LocalizedTextField;
public var morebutton:按钮_更多游戏;
public function sendToFriend(_arg1){
send_to_friend = {};
super();
Root = _arg1;
send_to_friend["en_us"] = (((("http://www.girlsgogames.com/game/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["cn"] = "http://www.game.com.cn/moregames/";
send_to_friend["nl"] = (((("http://www.girlsgogames.nl/spel/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["fr"] = (((("http://www.girlsgogames.fr/jeu/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["de"] = (((("http://www.girlsgogames.de/spiel/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["pl"] = (((("http://www.girlsgogames.pl/gra/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["se"] = (((("http://www.girlsgogames.se/spel_/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["it"] = (((("http://www.girlsgogames.it/gioco/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["es"] = (((("http://www.girlsgogames.es/juego/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["pt"] = (((("http://www.ojogos.pt/jogo/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["br"] = (((("http://www.girlsgogames.com.br/jogo/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["ru"] = (((("http://www.girlsgogames.ru/igra/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["id"] = (((("http://www.games.co.id/permainanme/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["en_uk"] = (((("http://www.girlsgogames.co.uk/game/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["in"] = (((("http://www.girlsgogames.in/game/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
send_to_friend["jp"] = (((("http://www.egames.jp/game/" + documenClass.game_Page) + "?utm_medium=brandedgames_external&utm_campaign=") + documenClass.game_Name1) + "&utm_source=&utm_content=send_to_friend");
enterName.mouseEnabled = false;
link.mouseEnabled = false;
COPY_Button.addEventListener(MouseEvent.CLICK, _click);
Continue_Button.addEventListener(MouseEvent.CLICK, _click);
morebutton.addEventListener(MouseEvent.CLICK, _click);
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
__setProp___id41__mc_sendToFriend_MC_1();
__setProp___id40__mc_sendToFriend_MC_1();
__setProp_enterName_mc_sendToFriend_MC_1();
__setProp___id42__mc_sendToFriend_MC_1();
__setProp_link_sendtofriend_mc_sendToFriend_MC_1();
__setProp_link_mc_sendToFriend_MC_1();
}
function __setProp_enterName_mc_sendToFriend_MC_1(){
try {
enterName["componentInspectorSetting"] = true;
} catch(e:Error) {
};
enterName.text = "{Enter_your_name_here:}";
enterName.textColor = 0;
enterName.textSize = 13;
enterName.bold = true;
enterName.embedFonts = true;
enterName.font = "微软雅黑";
enterName.hAlign = "center";
enterName.multiline = true;
enterName.vAlign = "middle";
enterName.antiAliasType = "normal";
enterName.glowBlur = 1.5;
enterName.glowColor = 0;
enterName.useGlowFilter = false;
enterName.glowQuality = 2;
enterName.glowStrength = 20;
enterName.gridFitType = "none";
enterName.italic = false;
enterName.selectable = false;
enterName.underline = false;
try {
enterName["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id42__mc_sendToFriend_MC_1(){
try {
__id42_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id42_.text = "{COPY_THIS_CODE_BY_CLICK_THE}";
__id42_.textColor = 0xFFFFFF;
__id42_.textSize = 11;
__id42_.bold = true;
__id42_.embedFonts = true;
__id42_.font = "微软雅黑";
__id42_.hAlign = "left";
__id42_.multiline = true;
__id42_.vAlign = "middle";
__id42_.antiAliasType = "normal";
__id42_.glowBlur = 3.5;
__id42_.glowColor = 2624061;
__id42_.useGlowFilter = true;
__id42_.glowQuality = 2;
__id42_.glowStrength = 20;
__id42_.gridFitType = "none";
__id42_.italic = false;
__id42_.selectable = false;
__id42_.underline = false;
try {
__id42_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function _onUnload(_arg1){
clearInterval(id);
}
private function checkTxt(_arg1:String):Boolean{
var _local2:*;
_local2 = _arg1.replace(/ /g, "");
if (_local2.length > 0){
return (true);
};
return (false);
}
private function _onLoad(_arg1){
var _local2:Date;
var _local3:*;
if (documenClass._tracker_Send_to_friend_landing_page){
documenClass._tracker_Send_to_friend_landing_page = false;
documenClass._tracker.trackEvent(documenClass.gameName, "Send_to_friend_landing_page", "per session", 0);
};
id = setInterval(hint, 500);
_local2 = new Date();
_local3 = 0;
while (_local3 < userData.gamedata.length) {
if ((((((_local2.getFullYear() == userData.gamedata[_local3][1])) && ((_local2.getMonth() == userData.gamedata[_local3][2])))) && ((_local2.getDate() == userData.gamedata[_local3][3])))){
talisman.gotoAndStop(userData.gamedata[_local3][0]);
return;
};
_local3++;
};
}
private function _click(_arg1:MouseEvent){
switch (_arg1.target.name){
case "morebutton":
GameEvent.openURL(GameEvent.url_sendtofriend_more);
break;
case "Continue_Button":
Root.ShowScreen("intro");
break;
case "Back_Button":
MovieClip(parent).removeChild(this);
break;
case "COPY_Button":
System.setClipboard(urls.text);
break;
default:
break;
};
}
private function hint(){
var _local1:String;
if (!checkTxt(txt_name.text)){
enterName.visible = true;
} else {
enterName.visible = false;
};
if (!enterName.visible){
link_sendtofriend.visible = false;
_local1 = ((("msg=" + StringTool.stringToCode(String(talisman.currentFrame))) + "&name=") + StringTool.stringToCode(txt_name.text));
if (SpilGame.currentLanguage.name != "cn"){
urls.text = ((send_to_friend_url() + "&") + _local1);
} else {
urls.text = send_to_friend_url();
};
} else {
link_sendtofriend.visible = true;
urls.text = "";
};
}
function __setProp___id40__mc_sendToFriend_MC_1(){
try {
__id40_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id40_.text = "{Send_some_luck_to_a_friend!}";
__id40_.textColor = 6750105;
__id40_.textSize = 17;
__id40_.bold = true;
__id40_.embedFonts = true;
__id40_.font = "微软雅黑";
__id40_.hAlign = "center";
__id40_.multiline = true;
__id40_.vAlign = "middle";
__id40_.antiAliasType = "normal";
__id40_.glowBlur = 3.5;
__id40_.glowColor = 14620039;
__id40_.useGlowFilter = true;
__id40_.glowQuality = 2;
__id40_.glowStrength = 20;
__id40_.gridFitType = "none";
__id40_.italic = false;
__id40_.selectable = false;
__id40_.underline = false;
try {
__id40_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_link_mc_sendToFriend_MC_1(){
try {
link["componentInspectorSetting"] = true;
} catch(e:Error) {
};
link.text = "{copy_this_code}";
link.textColor = 0;
link.textSize = 12;
link.bold = true;
link.embedFonts = true;
link.font = "微软雅黑";
link.hAlign = "left";
link.multiline = true;
link.vAlign = "top";
link.antiAliasType = "normal";
link.glowBlur = 1.5;
link.glowColor = 0;
link.useGlowFilter = false;
link.glowQuality = 2;
link.glowStrength = 20;
link.gridFitType = "none";
link.italic = false;
link.selectable = false;
link.underline = false;
try {
link["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_link_sendtofriend_mc_sendToFriend_MC_1(){
try {
link_sendtofriend["componentInspectorSetting"] = true;
} catch(e:Error) {
};
link_sendtofriend.text = "{Link}";
link_sendtofriend.textColor = 0;
link_sendtofriend.textSize = 13;
link_sendtofriend.bold = true;
link_sendtofriend.embedFonts = true;
link_sendtofriend.font = "微软雅黑";
link_sendtofriend.hAlign = "center";
link_sendtofriend.multiline = true;
link_sendtofriend.vAlign = "middle";
link_sendtofriend.antiAliasType = "normal";
link_sendtofriend.glowBlur = 1.5;
link_sendtofriend.glowColor = 0;
link_sendtofriend.useGlowFilter = false;
link_sendtofriend.glowQuality = 2;
link_sendtofriend.glowStrength = 20;
link_sendtofriend.gridFitType = "none";
link_sendtofriend.italic = false;
link_sendtofriend.selectable = false;
link_sendtofriend.underline = false;
try {
link_sendtofriend["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id41__mc_sendToFriend_MC_1(){
try {
__id41_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id41_.text = "{ENTER_YOUR_NAME}";
__id41_.textColor = 0xFFFFFF;
__id41_.textSize = 18;
__id41_.bold = true;
__id41_.embedFonts = true;
__id41_.font = "微软雅黑";
__id41_.hAlign = "left";
__id41_.multiline = true;
__id41_.vAlign = "middle";
__id41_.antiAliasType = "normal";
__id41_.glowBlur = 3.5;
__id41_.glowColor = 6881626;
__id41_.useGlowFilter = true;
__id41_.glowQuality = 2;
__id41_.glowStrength = 20;
__id41_.gridFitType = "none";
__id41_.italic = false;
__id41_.selectable = false;
__id41_.underline = false;
try {
__id41_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function send_to_friend_url():String{
if (String(SpilGame.currentLanguage.name) == "cn"){
return ("http://www.game.com.cn/moregames/");
};
return (send_to_friend[SpilGame.currentLanguage.name]);
}
}
}//package lib
Section 174
//setQuality (lib.setQuality)
package lib {
import flash.events.*;
import flash.display.*;
public class setQuality extends MovieClip {
public var bt0:_素材_intro_画质;
public var bt1:_素材_intro_音乐;
public var bt2:_素材_intro_静音;
public static var quality:int = 1;
public function setQuality(){
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
}
private function _onUnload(_arg1:Event){
var _local2:*;
removeEventListener(Event.ADDED_TO_STAGE, _onLoad);
removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
_local2 = (numChildren - 1);
while (_local2 > -1) {
removeChildAt(_local2);
_local2--;
};
}
private function _onLoad(_arg1:Event){
trace("声音控制被添加");
bt0.moden = 1;
bt1.moden = 1;
bt2.moden = 1;
bt0.addEventListener(MouseEvent.CLICK, _onClick);
bt1.addEventListener(MouseEvent.CLICK, _onClick);
bt2.addEventListener(MouseEvent.CLICK, _onClick);
bt0.gotoAndStop(quality);
if (!soundCtrl.musicOff){
bt1.gotoAndStop(1);
} else {
bt1.gotoAndStop(2);
};
if (!soundCtrl.soundOff){
bt2.gotoAndStop(1);
} else {
bt2.gotoAndStop(2);
};
}
private function _onClick(_arg1:MouseEvent){
switch (_arg1.target.name){
case "bt0":
quality++;
if (quality > 3){
quality = 1;
};
switch (quality){
case 1:
stage.quality = StageQuality.HIGH;
break;
case 2:
stage.quality = StageQuality.MEDIUM;
break;
case 3:
stage.quality = StageQuality.LOW;
break;
default:
break;
};
bt0.gotoAndStop(quality);
break;
case "bt1":
if (soundCtrl.musicOff){
bt1.gotoAndStop(1);
soundCtrl.musicOff = false;
} else {
bt1.gotoAndStop(2);
soundCtrl.musicOff = true;
};
break;
case "bt2":
if (soundCtrl.soundOff){
bt2.gotoAndStop(1);
soundCtrl.soundOff = false;
} else {
bt2.gotoAndStop(2);
soundCtrl.soundOff = true;
};
break;
default:
break;
};
}
}
}//package lib
Section 175
//showEnd (lib.showEnd)
package lib {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class showEnd extends MovieClip {
public var Root:documenClass;
public var mc:MovieClip;
public function showEnd(_arg1){
addFrameScript(79, frame80);
Root = _arg1;
stop();
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
}
function frame80(){
stop();
}
private function _music(){
soundCtrl.playMusic("s_result");
}
private function _onLoad(_arg1:Event){
mc.gotoAndPlay(1);
addEventListener(Event.ENTER_FRAME, _onEnterFrame);
}
private function _onEnterFrame(_arg1:Event){
if (mc.currentFrame > 135){
soundCtrl.playSound("s_magic");
setTimeout(_music, 700);
mc.gotoAndPlay("end");
gotoAndPlay("end");
removeEventListener(Event.ENTER_FRAME, _onEnterFrame);
};
}
}
}//package lib
Section 176
//soundCtrl (lib.soundCtrl)
package lib {
import flash.display.*;
import gs.*;
import flash.media.*;
public class soundCtrl extends MovieClip {
private var musicChannel:SoundChannel;
private var _sound_pen;
private var musicNow:String;// = ""
private var _s_level;
private var _sound_click;
private var _s_magicball;
private var _s_magic;
private var _sound_click2;
private var _sound_click3;
private var _sound_click4;
private var _sound_shua1;
private var _sound_shua2:Sound;
private var _sound_click5;
private var musicTransform:SoundTransform;
private var _s_result:Sound;
private var _sound_sou;
public static var soundOff:Boolean = false;
public static var obj:soundCtrl;
private static var _musicOff:Boolean = false;
public function soundCtrl(){
musicNow = "";
super();
obj = this;
_s_level = new s_level();
_s_magicball = new s_magicball();
_s_result = new s_result();
_sound_click = new sound_click();
_sound_click2 = new sound_click2();
_sound_click3 = new sound_click3();
_sound_click4 = new sound_click4();
_sound_click5 = new sound_click5();
_sound_shua1 = new sound_shua1();
_sound_shua2 = new sound_shua2();
_sound_sou = new sound_sou();
_sound_pen = new sound_pen();
_s_magic = new s_magic();
musicTransform = new SoundTransform();
}
private function setVol(){
if (musicOff){
musicTransform.volume = 0;
try {
musicChannel.soundTransform = musicTransform;
} catch(err) {
};
} else {
musicTransform.volume = 1;
try {
musicChannel.soundTransform = musicTransform;
} catch(err) {
};
};
}
private function _playMusic_new(){
var _local1:*;
trace("要播放的音乐", ("_" + musicNow));
_local1 = 999999;
if (musicNow == "s_magicball"){
_local1 = 1;
};
musicChannel = this[("_" + musicNow)].play(0, _local1);
if (!musicOff){
musicTransform.volume = 0.3;
musicChannel.soundTransform = musicTransform;
TweenMax.to(musicChannel, 1, {volume:1});
} else {
musicTransform.volume = 0;
musicChannel.soundTransform = musicTransform;
};
}
private function _playMusic(_arg1:String, _arg2:int){
var i:*;
var s = _arg1;
var n = _arg2;
if (musicNow != s){
musicNow = s;
if (musicChannel != null){
trace("musicNow", musicNow);
trace("musicChannel.soundTransform.volume", musicChannel.soundTransform.volume);
i = 1;
try {
i = musicChannel.soundTransform.volume;
} catch(err) {
};
trace("i", i);
if (i == 1){
TweenMax.to(musicChannel, 1, {volume:0, onComplete:_playMusic_new});
} else {
_playMusic_new();
};
} else {
musicChannel = this[("_" + musicNow)].play(0, n);
};
setVol();
};
}
private function _playSound(_arg1:String){
if (!soundOff){
this[("_" + _arg1)].play();
};
}
public static function set musicOff(_arg1){
_musicOff = _arg1;
obj.setVol();
}
public static function playMusic(_arg1:String, _arg2:int=999999){
obj._playMusic(_arg1, _arg2);
}
public static function get musicOff():Boolean{
return (_musicOff);
}
public static function playSound(_arg1:String){
obj._playSound(_arg1);
}
}
}//package lib
Section 177
//textShow (lib.textShow)
package lib {
import flash.events.*;
import flash.display.*;
import spill.localisation.*;
public class textShow extends MovieClip {
public function textShow(){
addEventListener(Event.ADDED_TO_STAGE, _onLoad);
}
private function _onUnload(_arg1:Event){
removeEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function languageChanged(_arg1:Event=null){
gotoAndStop(SpilGame.currentLanguage.bwcId);
}
private function _onLoad(_arg1:Event){
languageChanged();
addEventListener(Event.REMOVED_FROM_STAGE, _onUnload);
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
}
}//package lib
Section 178
//userData (lib.userData)
package lib {
import flash.net.*;
public class userData {
public static var gamedata:Array;
public static var gameShowedNumber:int;
public static var so:SharedObject;
public static function getData_FromSO(){
so = SharedObject.getLocal("GameNameHere1022-2");
if (so.data.initialize == null){
so.data.initialize = true;
getNewData();
};
initializeData();
gameShowedNumber++;
trace("游戏第", gameShowedNumber, "次被打开");
}
public static function saveData(){
so.data.gameShowedNumber = gameShowedNumber;
so.data.gamedata = gamedata;
so.flush();
}
public static function init(){
getData_FromSO();
}
public static function newTalisman(_arg1:int){
var _local2:Date;
var _local3:Array;
var _local4:Boolean;
var _local5:*;
_local2 = new Date();
_local3 = [_arg1, _local2.getFullYear(), _local2.getMonth(), _local2.getDate()];
_local4 = true;
_local5 = 0;
while (_local5 < gamedata.length) {
if ((((((_local3[1] == gamedata[_local5][1])) && ((_local3[2] == gamedata[_local5][2])))) && ((_local3[3] == gamedata[_local5][3])))){
_local4 = false;
gamedata[_local5][0] = _arg1;
gamedata[_local5][1] = _local3[1];
gamedata[_local5][2] = _local3[2];
gamedata[_local5][3] = _local3[3];
trace("覆盖保存", gamedata[_local5]);
break;
};
_local5++;
};
if (_local4){
trace("新的保存", _local3);
gamedata.push(_local3);
};
saveData();
}
public static function getNewData(){
so.data.gameShowedNumber = 0;
so.data.gamedata = [];
}
public static function initializeData(){
gameShowedNumber = so.data.gameShowedNumber;
gamedata = so.data.gamedata;
}
}
}//package lib
Section 179
//Vector (lib.Vector)
package lib {
public class Vector {
public var x:Number;
public var y:Number;
public function Vector(_arg1:Number, _arg2:Number){
x = _arg1;
y = _arg2;
}
public function cross(_arg1:Vector):Number{
return (((x * _arg1.y) - (y * _arg1.x)));
}
public function magnitude():Number{
return (Math.sqrt(((x * x) + (y * y))));
}
public function plusNew(_arg1:Vector):Vector{
return (new Vector((x + _arg1.x), (y + _arg1.y)));
}
public function mult(_arg1:Number):Vector{
x = (x * _arg1);
y = (y * _arg1);
return (this);
}
public function dot(_arg1:Vector):Number{
return (((x * _arg1.x) + (y * _arg1.y)));
}
public function normalize():Vector{
var _local1:Number;
_local1 = Math.sqrt(((x * x) + (y * y)));
x = (x / _local1);
y = (y / _local1);
return (this);
}
public function project(_arg1:Vector):Vector{
var _local2:Number;
var _local3:Number;
var _local4:Vector;
_local2 = this.dot(_arg1);
_local3 = ((_arg1.x * _arg1.x) + (_arg1.y * _arg1.y));
_local4 = new Vector(0, 0);
_local4.x = ((_local2 / _local3) * _arg1.x);
_local4.y = ((_local2 / _local3) * _arg1.y);
return (_local4);
}
public function copy(_arg1:Vector):void{
x = _arg1.x;
y = _arg1.y;
}
public function multNew(_arg1:Number):Vector{
return (new Vector((x * _arg1), (y * _arg1)));
}
public function minus(_arg1:Vector):Vector{
x = (x - _arg1.x);
y = (y - _arg1.y);
return (this);
}
public function plus(_arg1:Vector):Vector{
x = (x + _arg1.x);
y = (y + _arg1.y);
return (this);
}
public function distance(_arg1:Vector):Number{
var _local2:Number;
var _local3:Number;
_local2 = (x - _arg1.x);
_local3 = (y - _arg1.y);
return (Math.sqrt(((_local2 * _local2) + (_local3 * _local3))));
}
public function setTo(_arg1:Number, _arg2:Number):void{
x = _arg1;
y = _arg2;
}
public function minusNew(_arg1:Vector):Vector{
return (new Vector((x - _arg1.x), (y - _arg1.y)));
}
}
}//package lib
Section 180
//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 181
//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 182
//Brand (spill.localisation.Brand)
package spill.localisation {
public class Brand {
public var domain:String;
public var useGoogleAnalitics:Boolean;// = true
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;// = "/moregames/"
public var hasSendToFriendLink:Boolean;// = true
public var portalGroup:uint;
public var emailLink:String;// = "/game/"
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,");
public function Brand(){
moreLink = "/moregames/";
emailLink = "/game/";
useGoogleAnalitics = true;
hasSendToFriendLink = true;
preferedLanguage = "";
isExternal = false;
hostingDomain = "";
super();
}
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;
_local5 = ("http://" + domain);
_local5 = (_local5 + moreLink);
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
if (_arg3 != ""){
_local5 = (_local5 + ("&utm_source=" + stripSubDomain(_arg3)));
};
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
private function get utm_term():String{
return ("utm_term=");
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
var _local5:String;
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
_local5 = ("http://" + domain);
_local5 = (_local5 + (emailLink + _arg2));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
if (((_arg3) && (!((_arg4 == ""))))){
_local5 = (_local5 + ("&utm_source=" + stripSubDomain(_arg4)));
};
_local5 = (_local5 + "&utm_content=send_to_friend");
};
return (_local5);
}
private static function stripSubDomain(_arg1:String):String{
var _local2:Array;
if (!_arg1){
return ("");
};
_local2 = _arg1.split(".");
if (_local2.length <= 2){
return ("offline_play");
};
_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 183
//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);
}
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 184
//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 _local1:Array;
var _local2:Brand;
_local1 = 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.moreLink = "/moregames/";
_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.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.eu";
_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 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 185
//Language (spill.localisation.Language)
package spill.localisation {
public class Language {
public var name:String;
public var forceFont:String;// = null
public var id:uint;
public var portal_groups:Array;
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){
embedFonts = true;
forceFont = null;
displayName = "";
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function get p_teen():String{
return (portal_groups[PortalGroup.TEEN]);
}
public function get p_family():String{
return (portal_groups[PortalGroup.FAMILY]);
}
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_girl():String{
return (portal_groups[PortalGroup.GIRL]);
}
public function set p_family(_arg1:String):void{
portal_groups[PortalGroup.FAMILY] = _arg1;
}
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_tween(_arg1:String):void{
portal_groups[PortalGroup.TWEEN] = _arg1;
}
}
}//package spill.localisation
Section 186
//Languages (spill.localisation.Languages)
package spill.localisation {
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.eu";
_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;
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.bwcId = 19;
addLanguage(_local1);
addReference(_local1, "ja");
}
public static function getLanguagesArray():Array{
var _local1:Array;
var _local2:Object;
var _local3:Language;
_local1 = new Array();
_local2 = 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;
}
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 187
//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 mc:MovieClip;
private var popup:MovieClip;
private var languageName_text:TextField;
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);
}
public function set popupLocation(_arg1:String):void{
if (_arg1 == "bottom"){
popup.y = (Math.floor(mc.height) - 1);
} else {
popup.y = (-(Math.floor(popup.height)) + 1);
};
}
private function init():void{
var _local1:int;
var _local2:MovieClip;
var _local3:Language;
_local1 = 0;
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;
};
_local1++;
};
}
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.embedFonts;
};
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
}
}//package spill.localisation
Section 188
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var flag:MovieClip;
public var languageName_text:TextField;
}
}//package spill.localisation
Section 189
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_in:MovieClip;
public var l_br:MovieClip;
public var l_cn:MovieClip;
public var l_se:MovieClip;
public var l_de:MovieClip;
public var l_es:MovieClip;
public var l_en_uk:MovieClip;
public var l_fr:MovieClip;
public var l_en_us:MovieClip;
public var l_pl:MovieClip;
public var l_pt:MovieClip;
public var l_nl:MovieClip;
public var l_id:MovieClip;
public var l_it:MovieClip;
public var l_jp:MovieClip;
public var l_ru:MovieClip;
}
}//package spill.localisation
Section 190
//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);
if (stage){
added();
};
}
private function languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
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 removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function replaceFn():String{
var _local2:String;
_local2 = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
}
}//package spill.localisation
Section 191
//PortalGroup (spill.localisation.PortalGroup)
package spill.localisation {
public class PortalGroup {
public static const FAMILY:uint = 0;
public static const NONE:uint = 4;
public static const TEEN:uint = 3;
public static const TWEEN:uint = 1;
public static const GIRL:uint = 2;
}
}//package spill.localisation
Section 192
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 193
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
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 debugEmbedDomain:String = "";
spil_internal static var debugHostDomain:String = "";
private static var localDomains:Object = new Object();
spil_internal static var emailPage: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;
_local2 = 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):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);
gameName = _arg1.replace(" ", "_");
portalGroup = _arg2;
emailPage = _arg3;
chooseLanguage();
setBrandingFromLanguage();
}
private 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;
_local2 = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private static function contexMenuClicked(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu")));
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
_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));
}
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;
_local2 = 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;
setBrandingFromLanguage();
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
public static function getSendToFriendLink():String{
return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain));
}
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 get systemLanguage():Language{
return (Languages.getLanguage(Capabilities.language));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject;
_local2 = SharedObject.getLocal(cookieName, cookiePath);
if (_arg1 == null){
_local2.data[cookieLanguageVar] = null;
} else {
_local2.data[cookieLanguageVar] = _arg1.name;
};
_local2.flush();
}
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 ("localhost");
};
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
return (_local2);
}
spil_internal static function setBrandingFromLanguage():void{
var _local1:*;
var _local2:Brand;
var _local3:uint;
_local1 = false;
if (_local1){
_local2 = Brandings.getBrandByDomain(embedDomain);
if (_local2){
if (currentLanguage.name == _local2.preferedLanguage){
currentBranding = _local2;
} else {
_local3 = 0;
if (_local2.portalGroup == PortalGroup.NONE){
_local3 = portalGroup;
} else {
_local3 = _local2.portalGroup;
};
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[_local3]);
};
} 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));
}
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 _local1:Array;
var _local2:String;
var _local3:Brand;
_local1 = Brandings.getBrandsArray();
_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;
_local2 = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject;
var _local2:String;
_local1 = SharedObject.getLocal(cookieName, cookiePath);
_local2 = 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 194
//SpilGamesLink (spill.localisation.SpilGamesLink)
package spill.localisation {
import flash.net.*;
import flash.events.*;
import flash.display.*;
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 195
//TextFieldFit (spill.localisation.TextFieldFit)
package spill.localisation {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.filters.*;
public class TextFieldFit extends MovieClip {
protected var _text:String;// = "default"
protected var _textSize:Number;// = 12
protected var _embedFonts:Boolean;// = true
protected var _glowColor:uint;// = 0
private var h:Number;
protected var _antiAliasType:String;// = "advanced"
private var w:Number;
protected var _useGlowFilter:Boolean;// = false
protected var _hAlign:String;// = "left"
protected var _textColor:uint;// = 0
private var fields;
protected var _glowStrength:Number;// = 5
protected var _glowBlur:Number;// = 3
private var field:TextField;
protected var _gridFitType:String;// = "pixel"
protected var _glowQuality:Number;// = 1
private var debugBounding:Sprite;
protected var _multiline:Boolean;// = false
protected var _font:String;// = ""
protected var _underline:Boolean;// = false
protected var _vAlign:String;// = "top"
protected var _italic:Boolean;// = false
protected var _bold:Boolean;// = false
private var sizeChanged:Boolean;// = true
private var embeddedFonts:Array;
protected var _selectable:Boolean;// = false
private var format:TextFormat;
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 function TextFieldFit(){
var _local1:Number;
var _local2:Number;
sizeChanged = true;
valid = true;
_text = "default";
_textColor = 0;
_textSize = 12;
_multiline = false;
_hAlign = "left";
_vAlign = "top";
_bold = false;
_underline = false;
_italic = false;
_selectable = false;
_font = "";
_embedFonts = true;
_antiAliasType = "advanced";
_gridFitType = "pixel";
_useGlowFilter = false;
_glowBlur = 3;
_glowColor = 0;
_glowStrength = 5;
_glowQuality = 1;
super();
_local1 = width;
_local2 = height;
if (numChildren > 0){
removeChildAt(0);
};
if (!field){
if (String(SpilGame.currentLanguage.name) == "jp"){
fields = new TextFields2();
} else {
fields = new TextFields();
};
addChild(fields);
field = fields.txt;
};
field.border = false;
field.background = false;
field.type = TextFieldType.DYNAMIC;
mouseEnabled = false;
mouseChildren = false;
format = new TextFormat();
embeddedFonts = Font.enumerateFonts(false);
setSize(_local1, _local2);
validate();
visible = false;
if (stage){
addEventListener(Event.RENDER, init);
stage.invalidate();
} else {
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 get italic():Boolean{
return (_italic);
}
public function get textColor():uint{
return (_textColor);
}
public function get vAlign():String{
return (_vAlign);
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function get selectable():Boolean{
return (_selectable);
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
public function get bold():Boolean{
return (_bold);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
invalidate();
}
public function set font(_arg1:String):void{
_font = _arg1;
invalidate();
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function set selectable(_arg1:Boolean):void{
_selectable = _arg1;
invalidate();
}
public function get multiline():Boolean{
return (_multiline);
}
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 set antiAliasType(_arg1:String):void{
_antiAliasType = _arg1;
invalidate();
}
protected function updateProperties():void{
var _local1:*;
var _local2:Boolean;
var _local3:Font;
field.text = _text;
field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline;
field.wordWrap = field.multiline;
field.selectable = _selectable;
field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType;
field.gridFitType = _gridFitType;
embeddedFonts = Font.enumerateFonts(false);
if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){
_local2 = false;
for each (_local3 in embeddedFonts) {
if (_font == _local3.fontName){
_local2 = true;
break;
};
};
field.embedFonts = _local2;
if (!_local2){
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 (String(SpilGame.currentLanguage.name) == "jp"){
_font = "MS PGothic";
} else {
_font = "微软雅黑";
};
if (_font != ""){
format.font = _font;
};
};
_local1 = _textSize;
trace("__textSize", _local1);
if (String(SpilGame.currentLanguage.name) == "jp"){
_local1 = (_local1 + 2);
};
if (sizeChanged){
format.size = _local1;
};
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)) && (!(multiline)))))){
return (false);
};
return (true);
}
public function get glowStrength():Number{
return (_glowStrength);
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
private function validate(_arg1:Event=null):void{
visible = true;
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function get text():String{
return (_text);
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
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 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 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 textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function get glowColor():uint{
return (_glowColor);
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
}
}//package spill.localisation
Section 196
//_素材_intro_画质 (_ç´ æ_intro_画质)
package {
import lib.*;
public dynamic class _素材_intro_画质 extends myButton {
}
}//package
Section 197
//_素材_intro_静音 (_ç´ æ_intro_é™éŸ³)
package {
import lib.*;
public dynamic class _素材_intro_静音 extends myButton {
public function _素材_intro_静音(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 198
//_素材_intro_音乐 (_ç´ æ_intro_音ä¹)
package {
import lib.*;
public dynamic class _素材_intro_音乐 extends myButton {
}
}//package
Section 199
//bt_left1 (bt_left1)
package {
import lib.*;
public dynamic class bt_left1 extends myButton {
}
}//package
Section 200
//bt_right1 (bt_right1)
package {
import lib.*;
public dynamic class bt_right1 extends myButton {
}
}//package
Section 201
//COM_LoadingBar (COM_LoadingBar)
package {
import flash.display.*;
public dynamic class COM_LoadingBar extends MovieClip {
}
}//package
Section 202
//COM_LoadingProgress (COM_LoadingProgress)
package {
import flash.display.*;
public dynamic class COM_LoadingProgress extends MovieClip {
}
}//package
Section 203
//currentDay (currentDay)
package {
import flash.display.*;
public dynamic class currentDay extends MovieClip {
}
}//package
Section 204
//currentDay_bg (currentDay_bg)
package {
import flash.display.*;
public dynamic class currentDay_bg extends MovieClip {
}
}//package
Section 205
//deleteline (deleteline)
package {
import flash.display.*;
public dynamic class deleteline extends MovieClip {
}
}//package
Section 206
//focusRectSkin (focusRectSkin)
package {
import flash.display.*;
public dynamic class focusRectSkin extends MovieClip {
}
}//package
Section 207
//hand_1 (hand_1)
package {
import lib.*;
public dynamic class hand_1 extends Img_hand {
public function hand_1(){
__setProp_txt0_hand_1__1();
__setProp_txt1_hand_1__1();
}
function __setProp_txt0_hand_1__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Life}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt1_hand_1__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Life}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 208
//hand_10 (hand_10)
package {
import lib.*;
public dynamic class hand_10 extends Img_hand {
public function hand_10(){
__setProp_txt1_hand_10__1();
__setProp_txt0_hand_10__1();
}
function __setProp_txt1_hand_10__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Luck}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt0_hand_10__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Luck}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 209
//hand_2 (hand_2)
package {
import lib.*;
public dynamic class hand_2 extends Img_hand {
public function hand_2(){
__setProp_txt0_hand_2__1();
__setProp_txt1_hand_2__1();
}
function __setProp_txt1_hand_2__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Head}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt0_hand_2__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Head}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 210
//hand_3 (hand_3)
package {
import lib.*;
public dynamic class hand_3 extends Img_hand {
public function hand_3(){
__setProp_txt0_hand_3__1();
__setProp_txt1_hand_3__1();
}
function __setProp_txt1_hand_3__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Heart}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt0_hand_3__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Heart}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 211
//hand_4 (hand_4)
package {
import lib.*;
public dynamic class hand_4 extends Img_hand {
public function hand_4(){
__setProp_txt0_hand_4__1();
__setProp_txt1_hand_4__1();
}
function __setProp_txt0_hand_4__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Health}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt1_hand_4__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Health}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 212
//hand_5 (hand_5)
package {
import lib.*;
public dynamic class hand_5 extends Img_hand {
public function hand_5(){
__setProp_txt0_hand_5__1();
__setProp_txt1_hand_5__1();
}
function __setProp_txt1_hand_5__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Fame}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt0_hand_5__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Fame}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 213
//hand_6 (hand_6)
package {
import lib.*;
public dynamic class hand_6 extends Img_hand {
public function hand_6(){
__setProp_txt0_hand_6__1();
__setProp_txt1_hand_6__1();
}
function __setProp_txt1_hand_6__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Marriage}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt0_hand_6__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Marriage}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 214
//hand_7 (hand_7)
package {
import lib.*;
public dynamic class hand_7 extends Img_hand {
public function hand_7(){
__setProp_txt0_hand_7__1();
__setProp_txt1_hand_7__1();
}
function __setProp_txt1_hand_7__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Money}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt0_hand_7__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Money}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 215
//hand_8 (hand_8)
package {
import lib.*;
public dynamic class hand_8 extends Img_hand {
public function hand_8(){
__setProp_txt0_hand_8__1();
__setProp_txt1_hand_8__1();
}
function __setProp_txt0_hand_8__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Intimacy}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt1_hand_8__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Intimacy}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 216
//hand_9 (hand_9)
package {
import lib.*;
public dynamic class hand_9 extends Img_hand {
public function hand_9(){
__setProp_txt1_hand_9__1();
__setProp_txt0_hand_9__1();
}
function __setProp_txt0_hand_9__1(){
try {
txt0["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt0.text = "{Travel}";
txt0.textColor = 0xFFFFFF;
txt0.textSize = 12;
txt0.bold = true;
txt0.embedFonts = true;
txt0.font = "微软雅黑";
txt0.hAlign = "center";
txt0.multiline = true;
txt0.vAlign = "middle";
txt0.antiAliasType = "normal";
txt0.glowBlur = 3.5;
txt0.glowColor = 6881626;
txt0.useGlowFilter = true;
txt0.glowQuality = 2;
txt0.glowStrength = 20;
txt0.gridFitType = "none";
txt0.italic = false;
txt0.selectable = false;
txt0.underline = false;
try {
txt0["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp_txt1_hand_9__1(){
try {
txt1["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt1.text = "{Travel}";
txt1.textColor = 0xFFFFFF;
txt1.textSize = 12;
txt1.bold = true;
txt1.embedFonts = true;
txt1.font = "微软雅黑";
txt1.hAlign = "center";
txt1.multiline = true;
txt1.vAlign = "middle";
txt1.antiAliasType = "normal";
txt1.glowBlur = 3.5;
txt1.glowColor = 6881626;
txt1.useGlowFilter = true;
txt1.glowQuality = 2;
txt1.glowStrength = 20;
txt1.gridFitType = "none";
txt1.italic = false;
txt1.selectable = false;
txt1.underline = false;
try {
txt1["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 217
//handbase (handbase)
package {
import flash.display.*;
public dynamic class handbase extends MovieClip {
}
}//package
Section 218
//Lethe_Alert_Page (Lethe_Alert_Page)
package {
import flash.display.*;
public dynamic class Lethe_Alert_Page extends MovieClip {
}
}//package
Section 219
//Lethe_All_Logo (Lethe_All_Logo)
package {
import flash.display.*;
public dynamic class Lethe_All_Logo extends MovieClip {
}
}//package
Section 220
//Lethe_BackGround (Lethe_BackGround)
package {
import flash.display.*;
public dynamic class Lethe_BackGround extends MovieClip {
}
}//package
Section 221
//Lethe_Button_Back (Lethe_Button_Back)
package {
import flash.display.*;
public dynamic class Lethe_Button_Back extends MovieClip {
}
}//package
Section 222
//Lethe_Button_Down (Lethe_Button_Down)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down extends MovieClip {
public var _txt:Lethe_Day_Text;
}
}//package
Section 223
//Lethe_Button_Down2 (Lethe_Button_Down2)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down2 extends MovieClip {
public var _txt:Lethe_Week_Text;
}
}//package
Section 224
//Lethe_Button_Down3 (Lethe_Button_Down3)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down3 extends MovieClip {
public var _txt:Lethe_Month_Text;
}
}//package
Section 225
//Lethe_Button_Up (Lethe_Button_Up)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up extends MovieClip {
public var _txt:Lethe_Day_Text;
}
}//package
Section 226
//Lethe_Button_Up2 (Lethe_Button_Up2)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up2 extends MovieClip {
public var _txt:Lethe_Week_Text;
}
}//package
Section 227
//Lethe_Button_Up3 (Lethe_Button_Up3)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up3 extends MovieClip {
public var _txt:Lethe_Month_Text;
}
}//package
Section 228
//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 229
//Lethe_Day_Text (Lethe_Day_Text)
package {
import lib.*;
public dynamic class Lethe_Day_Text extends textShow {
}
}//package
Section 230
//Lethe_Drag_Block (Lethe_Drag_Block)
package {
import flash.display.*;
public dynamic class Lethe_Drag_Block extends MovieClip {
}
}//package
Section 231
//Lethe_DragArea (Lethe_DragArea)
package {
import flash.display.*;
public dynamic class Lethe_DragArea extends MovieClip {
}
}//package
Section 232
//Lethe_FocusLine (Lethe_FocusLine)
package {
import flash.display.*;
public dynamic class Lethe_FocusLine extends MovieClip {
}
}//package
Section 233
//Lethe_LineBack (Lethe_LineBack)
package {
import flash.display.*;
public dynamic class Lethe_LineBack extends MovieClip {
}
}//package
Section 234
//Lethe_LineBack2 (Lethe_LineBack2)
package {
import flash.display.*;
public dynamic class Lethe_LineBack2 extends MovieClip {
}
}//package
Section 235
//Lethe_Link_Button (Lethe_Link_Button)
package {
import flash.display.*;
public dynamic class Lethe_Link_Button extends MovieClip {
public var xxx:Lethe_All_Logo;
public function Lethe_Link_Button(){
addFrameScript(0, frame1);
}
function frame1(){
xxx.visible = false;
}
}
}//package
Section 236
//Lethe_Loading_Text (Lethe_Loading_Text)
package {
import flash.display.*;
public dynamic class Lethe_Loading_Text extends MovieClip {
}
}//package
Section 237
//Lethe_Month_Text (Lethe_Month_Text)
package {
import lib.*;
public dynamic class Lethe_Month_Text extends textShow {
}
}//package
Section 238
//Lethe_PreviewMc (Lethe_PreviewMc)
package {
import flash.display.*;
public dynamic class Lethe_PreviewMc extends MovieClip {
}
}//package
Section 239
//Lethe_Scroll_Bar (Lethe_Scroll_Bar)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Bar extends MovieClip {
}
}//package
Section 240
//Lethe_Scroll_Down (Lethe_Scroll_Down)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Down extends MovieClip {
}
}//package
Section 241
//Lethe_Scroll_Up (Lethe_Scroll_Up)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Up extends MovieClip {
}
}//package
Section 242
//Lethe_Text1 (Lethe_Text1)
package {
import lib.*;
public dynamic class Lethe_Text1 extends textShow {
}
}//package
Section 243
//Lethe_Text2 (Lethe_Text2)
package {
import lib.*;
public dynamic class Lethe_Text2 extends textShow {
}
}//package
Section 244
//Lethe_Text3 (Lethe_Text3)
package {
import flash.display.*;
public dynamic class Lethe_Text3 extends MovieClip {
}
}//package
Section 245
//Lethe_Week_Text (Lethe_Week_Text)
package {
import lib.*;
public dynamic class Lethe_Week_Text extends textShow {
}
}//package
Section 246
//logo (logo)
package {
import lib.*;
public dynamic class logo extends textShow {
}
}//package
Section 247
//logotext (logotext)
package {
import lib.*;
public dynamic class logotext extends textShow {
}
}//package
Section 248
//magic (magic)
package {
import flash.display.*;
public dynamic class magic extends MovieClip {
public function magic(){
addFrameScript(10, frame11, 30, frame31);
}
function frame31(){
stop();
}
function frame11(){
stop();
}
}
}//package
Section 249
//MASK (MASK)
package {
import flash.display.*;
public dynamic class MASK extends MovieClip {
}
}//package
Section 250
//O11111111 (O11111111)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import O11111110.*;
import flash.utils.*;
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 251
//O11111OO11 (O11111OO11)
package {
import flash.display.*;
public dynamic class O11111OO11 extends MovieClip {
}
}//package
Section 252
//pointbase (pointbase)
package {
import flash.display.*;
public dynamic class pointbase extends MovieClip {
}
}//package
Section 253
//previous_img (previous_img)
package {
import flash.display.*;
public dynamic class previous_img extends MovieClip {
public var bt:MovieClip;
public var mc:MovieClip;
}
}//package
Section 254
//s_level (s_level)
package {
import flash.media.*;
public dynamic class s_level extends Sound {
}
}//package
Section 255
//s_magic (s_magic)
package {
import flash.media.*;
public dynamic class s_magic extends Sound {
}
}//package
Section 256
//s_magicball (s_magicball)
package {
import flash.media.*;
public dynamic class s_magicball extends Sound {
}
}//package
Section 257
//s_result (s_result)
package {
import flash.media.*;
public dynamic class s_result extends Sound {
}
}//package
Section 258
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_disabledSkin extends MovieClip {
}
}//package
Section 259
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_downSkin extends MovieClip {
}
}//package
Section 260
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_overSkin extends MovieClip {
}
}//package
Section 261
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowDown_upSkin extends MovieClip {
}
}//package
Section 262
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_disabledSkin extends MovieClip {
}
}//package
Section 263
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_downSkin extends MovieClip {
}
}//package
Section 264
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_overSkin extends MovieClip {
}
}//package
Section 265
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin)
package {
import flash.display.*;
public dynamic class ScrollArrowUp_upSkin extends MovieClip {
}
}//package
Section 266
//ScrollBar_thumbIcon (ScrollBar_thumbIcon)
package {
import flash.display.*;
public dynamic class ScrollBar_thumbIcon extends MovieClip {
}
}//package
Section 267
//ScrollThumb_downSkin (ScrollThumb_downSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_downSkin extends MovieClip {
}
}//package
Section 268
//ScrollThumb_overSkin (ScrollThumb_overSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_overSkin extends MovieClip {
}
}//package
Section 269
//ScrollThumb_upSkin (ScrollThumb_upSkin)
package {
import flash.display.*;
public dynamic class ScrollThumb_upSkin extends MovieClip {
}
}//package
Section 270
//ScrollTrack_skin (ScrollTrack_skin)
package {
import flash.display.*;
public dynamic class ScrollTrack_skin extends MovieClip {
}
}//package
Section 271
//sound_click (sound_click)
package {
import flash.media.*;
public dynamic class sound_click extends Sound {
}
}//package
Section 272
//sound_click2 (sound_click2)
package {
import flash.media.*;
public dynamic class sound_click2 extends Sound {
}
}//package
Section 273
//sound_click3 (sound_click3)
package {
import flash.media.*;
public dynamic class sound_click3 extends Sound {
}
}//package
Section 274
//sound_click4 (sound_click4)
package {
import flash.media.*;
public dynamic class sound_click4 extends Sound {
}
}//package
Section 275
//sound_click5 (sound_click5)
package {
import flash.media.*;
public dynamic class sound_click5 extends Sound {
}
}//package
Section 276
//sound_complete (sound_complete)
package {
import flash.media.*;
public dynamic class sound_complete extends Sound {
}
}//package
Section 277
//sound_failed (sound_failed)
package {
import flash.media.*;
public dynamic class sound_failed extends Sound {
}
}//package
Section 278
//sound_mainscreen (sound_mainscreen)
package {
import flash.media.*;
public dynamic class sound_mainscreen extends Sound {
}
}//package
Section 279
//sound_music_1 (sound_music_1)
package {
import flash.media.*;
public dynamic class sound_music_1 extends Sound {
}
}//package
Section 280
//sound_pen (sound_pen)
package {
import flash.media.*;
public dynamic class sound_pen extends Sound {
}
}//package
Section 281
//sound_shua1 (sound_shua1)
package {
import flash.media.*;
public dynamic class sound_shua1 extends Sound {
}
}//package
Section 282
//sound_shua2 (sound_shua2)
package {
import flash.media.*;
public dynamic class sound_shua2 extends Sound {
}
}//package
Section 283
//sound_sou (sound_sou)
package {
import flash.media.*;
public dynamic class sound_sou extends Sound {
}
}//package
Section 284
//sound_story (sound_story)
package {
import flash.media.*;
public dynamic class sound_story extends Sound {
}
}//package
Section 285
//TextFields (TextFields)
package {
import flash.display.*;
import flash.text.*;
public dynamic class TextFields extends MovieClip {
public var txt:TextField;
public function TextFields(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package
Section 286
//TextFields2 (TextFields2)
package {
import flash.display.*;
import flash.text.*;
public dynamic class TextFields2 extends MovieClip {
public var txt:TextField;
public function TextFields2(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package
Section 287
//下雨 (下雨)
package {
import lib.*;
public dynamic class 下雨 extends Img {
}
}//package
Section 288
//下雨2 (下雨2)
package {
import lib.*;
public dynamic class 下雨2 extends Img {
}
}//package
Section 289
//冰激凌 (冰激凌)
package {
import lib.*;
public dynamic class 冰激凌 extends Img {
}
}//package
Section 290
//吃惊 (åƒæƒŠ)
package {
import lib.*;
public dynamic class 吃惊 extends Img {
}
}//package
Section 291
//啤酒垫 (啤酒垫)
package {
import lib.*;
public dynamic class 啤酒垫 extends Img {
}
}//package
Section 292
//墨西哥饼 (墨西哥饼)
package {
import lib.*;
public dynamic class 墨西哥饼 extends Img {
}
}//package
Section 293
//多云1 (多云1)
package {
import lib.*;
public dynamic class 多云1 extends Img {
}
}//package
Section 294
//多云2 (多云2)
package {
import lib.*;
public dynamic class 多云2 extends Img {
}
}//package
Section 295
//天使 (天使)
package {
import lib.*;
public dynamic class 天使 extends Img {
}
}//package
Section 296
//太阳2 (太阳2)
package {
import lib.*;
public dynamic class 太阳2 extends Img {
}
}//package
Section 297
//奶酪实例 (奶酪实例)
package {
import lib.*;
public dynamic class 奶酪实例 extends Img {
}
}//package
Section 298
//巧克力 (巧克力)
package {
import lib.*;
public dynamic class 巧克力 extends Img {
}
}//package
Section 299
//彩虹2 (彩虹2)
package {
import lib.*;
public dynamic class 彩虹2 extends Img {
}
}//package
Section 300
//悲伤 (悲伤)
package {
import lib.*;
public dynamic class 悲伤 extends Img {
}
}//package
Section 301
//手链 (手链)
package {
import lib.*;
public dynamic class 手链 extends Img {
}
}//package
Section 302
//按钮_主菜单 (按钮_主èœå•)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_主菜单 extends myButton {
public var __id48_:LocalizedTextField;
public function 按钮_主菜单(){
__setProp___id48___1();
}
function __setProp___id48___1(){
try {
__id48_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id48_.text = "{mainMenu_Button}";
__id48_.textColor = 0;
__id48_.textSize = 13;
__id48_.bold = true;
__id48_.embedFonts = true;
__id48_.font = "微软雅黑";
__id48_.hAlign = "center";
__id48_.multiline = true;
__id48_.vAlign = "middle";
__id48_.antiAliasType = "normal";
__id48_.glowBlur = 1.5;
__id48_.glowColor = 0;
__id48_.useGlowFilter = false;
__id48_.glowQuality = 2;
__id48_.glowStrength = 20;
__id48_.gridFitType = "none";
__id48_.italic = false;
__id48_.selectable = false;
__id48_.underline = false;
try {
__id48_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 303
//按钮_再玩一次 (按钮_å†çŽ©ä¸€æ¬¡)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_再玩一次 extends myButton {
public var __id49_:LocalizedTextField;
public function 按钮_再玩一次(){
__setProp___id49___1();
}
function __setProp___id49___1(){
try {
__id49_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id49_.text = "{playAgain_Button}";
__id49_.textColor = 0;
__id49_.textSize = 13;
__id49_.bold = true;
__id49_.embedFonts = true;
__id49_.font = "微软雅黑";
__id49_.hAlign = "center";
__id49_.multiline = true;
__id49_.vAlign = "middle";
__id49_.antiAliasType = "normal";
__id49_.glowBlur = 1.5;
__id49_.glowColor = 0;
__id49_.useGlowFilter = false;
__id49_.glowQuality = 2;
__id49_.glowStrength = 20;
__id49_.gridFitType = "none";
__id49_.italic = false;
__id49_.selectable = false;
__id49_.underline = false;
try {
__id49_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 304
//按钮_帮助 (按钮_帮助)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_帮助 extends myButton {
public var __id55_:LocalizedTextField;
public function 按钮_帮助(){
__setProp___id55___1();
}
function __setProp___id55___1(){
try {
__id55_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id55_.text = "{HowToPlay_Button}";
__id55_.textColor = 0;
__id55_.textSize = 13;
__id55_.bold = true;
__id55_.embedFonts = true;
__id55_.font = "微软雅黑";
__id55_.hAlign = "center";
__id55_.multiline = true;
__id55_.vAlign = "middle";
__id55_.antiAliasType = "normal";
__id55_.glowBlur = 1.5;
__id55_.glowColor = 0;
__id55_.useGlowFilter = false;
__id55_.glowQuality = 2;
__id55_.glowStrength = 20;
__id55_.gridFitType = "none";
__id55_.italic = false;
__id55_.selectable = false;
__id55_.underline = false;
try {
__id55_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 305
//按钮_开始 (按钮_开始)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_开始 extends myButton {
public var __id4_:LocalizedTextField;
public function 按钮_开始(){
__setProp___id4___1();
}
function __setProp___id4___1(){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.text = "{START_GAME}";
__id4_.textColor = 0xFFFFFF;
__id4_.textSize = 13;
__id4_.bold = true;
__id4_.embedFonts = true;
__id4_.font = "微软雅黑";
__id4_.hAlign = "center";
__id4_.multiline = true;
__id4_.vAlign = "middle";
__id4_.antiAliasType = "normal";
__id4_.glowBlur = 1.5;
__id4_.glowColor = 0;
__id4_.useGlowFilter = false;
__id4_.glowQuality = 2;
__id4_.glowStrength = 20;
__id4_.gridFitType = "none";
__id4_.italic = false;
__id4_.selectable = false;
__id4_.underline = false;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 306
//按钮_排行榜 (按钮_排行榜)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_排行榜 extends myButton {
public var __id56_:LocalizedTextField;
public function 按钮_排行榜(){
__setProp___id56___1();
}
function __setProp___id56___1(){
try {
__id56_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id56_.text = "{Highscores_Button}";
__id56_.textColor = 0;
__id56_.textSize = 13;
__id56_.bold = true;
__id56_.embedFonts = true;
__id56_.font = "微软雅黑";
__id56_.hAlign = "center";
__id56_.multiline = true;
__id56_.vAlign = "middle";
__id56_.antiAliasType = "normal";
__id56_.glowBlur = 1.5;
__id56_.glowColor = 0;
__id56_.useGlowFilter = false;
__id56_.glowQuality = 2;
__id56_.glowStrength = 20;
__id56_.gridFitType = "none";
__id56_.italic = false;
__id56_.selectable = false;
__id56_.underline = false;
try {
__id56_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 307
//按钮_提交分数 (按钮_æ交分数)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_提交分数 extends myButton {
public var __id50_:LocalizedTextField;
public function 按钮_提交分数(){
__setProp___id50___1();
}
function __setProp___id50___1(){
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{submitScore_Button}";
__id50_.textColor = 0;
__id50_.textSize = 13;
__id50_.bold = true;
__id50_.embedFonts = true;
__id50_.font = "微软雅黑";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "middle";
__id50_.antiAliasType = "normal";
__id50_.glowBlur = 1.5;
__id50_.glowColor = 0;
__id50_.useGlowFilter = false;
__id50_.glowQuality = 2;
__id50_.glowStrength = 20;
__id50_.gridFitType = "none";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 308
//按钮_暂停 (按钮_æš‚åœ)
package {
import lib.*;
public dynamic class 按钮_暂停 extends myButton {
}
}//package
Section 309
//按钮_更多游戏 (按钮_更多游æˆ)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_更多游戏 extends myButton {
public var __id3_:LocalizedTextField;
public function 按钮_更多游戏(){
__setProp___id3___1();
}
function __setProp___id3___1(){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.text = "{MORE_GAME_AT}";
__id3_.textColor = 0xFFFFFF;
__id3_.textSize = 13;
__id3_.bold = true;
__id3_.embedFonts = true;
__id3_.font = "微软雅黑";
__id3_.hAlign = "center";
__id3_.multiline = true;
__id3_.vAlign = "middle";
__id3_.antiAliasType = "normal";
__id3_.glowBlur = 1.5;
__id3_.glowColor = 0;
__id3_.useGlowFilter = false;
__id3_.glowQuality = 2;
__id3_.glowStrength = 20;
__id3_.gridFitType = "none";
__id3_.italic = false;
__id3_.selectable = false;
__id3_.underline = false;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 310
//按钮_继续 (按钮_继ç»)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_继续 extends myButton {
public var __id8_:LocalizedTextField;
public function 按钮_继续(){
__setProp___id8___1();
}
function __setProp___id8___1(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.text = "{OK}";
__id8_.textColor = 0xFFFFFF;
__id8_.textSize = 13;
__id8_.bold = true;
__id8_.embedFonts = true;
__id8_.font = "微软雅黑";
__id8_.hAlign = "center";
__id8_.multiline = true;
__id8_.vAlign = "middle";
__id8_.antiAliasType = "normal";
__id8_.glowBlur = 1.5;
__id8_.glowColor = 0;
__id8_.useGlowFilter = false;
__id8_.glowQuality = 2;
__id8_.glowStrength = 20;
__id8_.gridFitType = "none";
__id8_.italic = false;
__id8_.selectable = false;
__id8_.underline = false;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 311
//按钮_继续游戏 (按钮_继ç»æ¸¸æˆ)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_继续游戏 extends myButton {
public var __id57_:LocalizedTextField;
public function 按钮_继续游戏(){
__setProp___id57___1();
}
function __setProp___id57___1(){
try {
__id57_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id57_.text = "{resume_Button}";
__id57_.textColor = 0;
__id57_.textSize = 13;
__id57_.bold = true;
__id57_.embedFonts = true;
__id57_.font = "微软雅黑";
__id57_.hAlign = "center";
__id57_.multiline = true;
__id57_.vAlign = "middle";
__id57_.antiAliasType = "normal";
__id57_.glowBlur = 1.5;
__id57_.glowColor = 0;
__id57_.useGlowFilter = false;
__id57_.glowQuality = 2;
__id57_.glowStrength = 20;
__id57_.gridFitType = "none";
__id57_.italic = false;
__id57_.selectable = false;
__id57_.underline = false;
try {
__id57_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 312
//按钮_返回 (按钮_返回)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮_返回 extends myButton {
public var __id7_:LocalizedTextField;
public function 按钮_返回(){
__setProp___id7___1();
}
function __setProp___id7___1(){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.text = "{BACK}";
__id7_.textColor = 0xFFFFFF;
__id7_.textSize = 13;
__id7_.bold = true;
__id7_.embedFonts = true;
__id7_.font = "微软雅黑";
__id7_.hAlign = "center";
__id7_.multiline = true;
__id7_.vAlign = "middle";
__id7_.antiAliasType = "normal";
__id7_.glowBlur = 1.5;
__id7_.glowColor = 0;
__id7_.useGlowFilter = false;
__id7_.glowQuality = 2;
__id7_.glowStrength = 20;
__id7_.gridFitType = "none";
__id7_.italic = false;
__id7_.selectable = false;
__id7_.underline = false;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 313
//按钮mainmenu (按钮mainmenu)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮mainmenu extends myButton {
public var __id44_:LocalizedTextField;
public function 按钮mainmenu(){
__setProp___id44___1();
}
function __setProp___id44___1(){
try {
__id44_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id44_.text = "{MAIN_MENU}";
__id44_.textColor = 0xFFFFFF;
__id44_.textSize = 13;
__id44_.bold = true;
__id44_.embedFonts = true;
__id44_.font = "微软雅黑";
__id44_.hAlign = "center";
__id44_.multiline = true;
__id44_.vAlign = "middle";
__id44_.antiAliasType = "normal";
__id44_.glowBlur = 3;
__id44_.glowColor = 2819908;
__id44_.useGlowFilter = true;
__id44_.glowQuality = 2;
__id44_.glowStrength = 20;
__id44_.gridFitType = "none";
__id44_.italic = false;
__id44_.selectable = false;
__id44_.underline = false;
try {
__id44_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 314
//按钮tryagain (按钮tryagain)
package {
import spill.localisation.*;
import lib.*;
public dynamic class 按钮tryagain extends myButton {
public var __id28_:LocalizedTextField;
public function 按钮tryagain(){
__setProp___id28___1();
}
function __setProp___id28___1(){
try {
__id28_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id28_.text = "{TRY_AGAIN}";
__id28_.textColor = 0xFFFFFF;
__id28_.textSize = 13;
__id28_.bold = true;
__id28_.embedFonts = true;
__id28_.font = "微软雅黑";
__id28_.hAlign = "center";
__id28_.multiline = true;
__id28_.vAlign = "middle";
__id28_.antiAliasType = "normal";
__id28_.glowBlur = 1.5;
__id28_.glowColor = 0;
__id28_.useGlowFilter = false;
__id28_.glowQuality = 2;
__id28_.glowStrength = 20;
__id28_.gridFitType = "none";
__id28_.italic = false;
__id28_.selectable = false;
__id28_.underline = false;
try {
__id28_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 315
//按钮发给好友 (按钮å‘给好å‹)
package {
import lib.*;
public dynamic class 按钮发给好友 extends myButton {
}
}//package
Section 316
//按钮复制 (按钮å¤åˆ¶)
package {
import lib.*;
public dynamic class 按钮复制 extends myButton {
}
}//package
Section 317
//按钮邮件 (按钮邮件)
package {
import lib.*;
public dynamic class 按钮邮件 extends myButton {
}
}//package
Section 318
//桔 (æ¡”)
package {
import lib.*;
public dynamic class 桔 extends Img {
}
}//package
Section 319
//汉堡 (æ±‰å ¡)
package {
import lib.*;
public dynamic class 汉堡 extends Img {
}
}//package
Section 320
//沙拉 (沙拉)
package {
import lib.*;
public dynamic class 沙拉 extends Img {
}
}//package
Section 321
//泰迪 (泰迪)
package {
import lib.*;
public dynamic class 泰迪 extends Img {
}
}//package
Section 322
//照片 (照片)
package {
import lib.*;
public dynamic class 照片 extends Img {
}
}//package
Section 323
//爱 (爱)
package {
import lib.*;
public dynamic class 爱 extends Img {
}
}//package
Section 324
//生气 (生气)
package {
import lib.*;
public dynamic class 生气 extends Img {
}
}//package
Section 325
//疯狂 (疯狂)
package {
import lib.*;
public dynamic class 疯狂 extends Img {
}
}//package
Section 326
//白 (白)
package {
import lib.*;
public dynamic class 白 extends Img {
}
}//package
Section 327
//石头 (石头)
package {
import lib.*;
public dynamic class 石头 extends Img {
}
}//package
Section 328
//礼物 (礼物)
package {
import lib.*;
public dynamic class 礼物 extends Img {
}
}//package
Section 329
//笔 (笔)
package {
import lib.*;
public dynamic class 笔 extends pen {
public function 笔(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 330
//笔2 (笔2)
package {
import lib.*;
public dynamic class 笔2 extends pen {
public function 笔2(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 331
//笔3 (笔3)
package {
import lib.*;
public dynamic class 笔3 extends pen {
public function 笔3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 332
//粉 (粉)
package {
import lib.*;
public dynamic class 粉 extends Img {
}
}//package
Section 333
//红 (红)
package {
import lib.*;
public dynamic class 红 extends Img {
}
}//package
Section 334
//绿 (绿)
package {
import lib.*;
public dynamic class 绿 extends Img {
}
}//package
Section 335
//苹果 (苹果)
package {
import lib.*;
public dynamic class 苹果 extends Img {
}
}//package
Section 336
//蓝 (è“)
package {
import lib.*;
public dynamic class 蓝 extends Img {
}
}//package
Section 337
//钥匙 (钥匙)
package {
import lib.*;
public dynamic class 钥匙 extends Img {
}
}//package
Section 338
//雷雨 (雷雨)
package {
import lib.*;
public dynamic class 雷雨 extends Img {
}
}//package
Section 339
//项链 (项链)
package {
import lib.*;
public dynamic class 项链 extends Img {
}
}//package
Section 340
//高兴 (高兴)
package {
import lib.*;
public dynamic class 高兴 extends Img {
}
}//package
Section 341
//黑 (黑)
package {
import lib.*;
public dynamic class 黑 extends Img {
}
}//package