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
//MatrixTransformer (fl.motion.MatrixTransformer)
package fl.motion {
import flash.geom.*;
public class MatrixTransformer {
public static function getSkewY(_arg1:Matrix):Number{
return ((Math.atan2(_arg1.b, _arg1.a) * (180 / Math.PI)));
}
public static function getScaleX(_arg1:Matrix):Number{
return (Math.sqrt(((_arg1.a * _arg1.a) + (_arg1.b * _arg1.b))));
}
public static function getScaleY(_arg1:Matrix):Number{
return (Math.sqrt(((_arg1.c * _arg1.c) + (_arg1.d * _arg1.d))));
}
public static function setSkewXRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
_local3 = getScaleY(_arg1);
_arg1.c = (-(_local3) * Math.sin(_arg2));
_arg1.d = (_local3 * Math.cos(_arg2));
}
public static function setRotation(_arg1:Matrix, _arg2:Number):void{
setRotationRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function rotateAroundInternalPoint(_arg1:Matrix, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:Point;
_local5 = new Point(_arg2, _arg3);
_local5 = _arg1.transformPoint(_local5);
_arg1.tx = (_arg1.tx - _local5.x);
_arg1.ty = (_arg1.ty - _local5.y);
_arg1.rotate((_arg4 * (Math.PI / 180)));
_arg1.tx = (_arg1.tx + _local5.x);
_arg1.ty = (_arg1.ty + _local5.y);
}
public static function setSkewX(_arg1:Matrix, _arg2:Number):void{
setSkewXRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function setSkewY(_arg1:Matrix, _arg2:Number):void{
setSkewYRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function setScaleX(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local3 = getScaleX(_arg1);
if (_local3){
_local4 = (_arg2 / _local3);
_arg1.a = (_arg1.a * _local4);
_arg1.b = (_arg1.b * _local4);
} else {
_local5 = getSkewYRadians(_arg1);
_arg1.a = (Math.cos(_local5) * _arg2);
_arg1.b = (Math.sin(_local5) * _arg2);
};
}
public static function setScaleY(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local3 = getScaleY(_arg1);
if (_local3){
_local4 = (_arg2 / _local3);
_arg1.c = (_arg1.c * _local4);
_arg1.d = (_arg1.d * _local4);
} else {
_local5 = getSkewXRadians(_arg1);
_arg1.c = (-(Math.sin(_local5)) * _arg2);
_arg1.d = (Math.cos(_local5) * _arg2);
};
}
public static function setRotationRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
_local3 = getRotationRadians(_arg1);
_local4 = getSkewXRadians(_arg1);
setSkewXRadians(_arg1, ((_local4 + _arg2) - _local3));
setSkewYRadians(_arg1, _arg2);
}
public static function setSkewYRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
_local3 = getScaleX(_arg1);
_arg1.a = (_local3 * Math.cos(_arg2));
_arg1.b = (_local3 * Math.sin(_arg2));
}
public static function getSkewX(_arg1:Matrix):Number{
return ((Math.atan2(-(_arg1.c), _arg1.d) * (180 / Math.PI)));
}
public static function getSkewYRadians(_arg1:Matrix):Number{
return (Math.atan2(_arg1.b, _arg1.a));
}
public static function getSkewXRadians(_arg1:Matrix):Number{
return (Math.atan2(-(_arg1.c), _arg1.d));
}
public static function getRotation(_arg1:Matrix):Number{
return ((getRotationRadians(_arg1) * (180 / Math.PI)));
}
public static function rotateAroundExternalPoint(_arg1:Matrix, _arg2:Number, _arg3:Number, _arg4:Number):void{
_arg1.tx = (_arg1.tx - _arg2);
_arg1.ty = (_arg1.ty - _arg3);
_arg1.rotate((_arg4 * (Math.PI / 180)));
_arg1.tx = (_arg1.tx + _arg2);
_arg1.ty = (_arg1.ty + _arg3);
}
public static function getRotationRadians(_arg1:Matrix):Number{
return (getSkewYRadians(_arg1));
}
public static function matchInternalPointWithExternal(_arg1:Matrix, _arg2:Point, _arg3:Point):void{
var _local4:Point;
var _local5:Number;
var _local6:Number;
_local4 = _arg1.transformPoint(_arg2);
_local5 = (_arg3.x - _local4.x);
_local6 = (_arg3.y - _local4.y);
_arg1.tx = (_arg1.tx + _local5);
_arg1.ty = (_arg1.ty + _local6);
}
}
}//package fl.motion
Section 72
//Strong (fl.transitions.easing.Strong)
package fl.transitions.easing {
public class Strong {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package fl.transitions.easing
Section 73
//Fade (fl.transitions.Fade)
package fl.transitions {
import flash.display.*;
public class Fade extends Transition {
protected var _alphaFinal:Number;
public function Fade(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
super(_arg1, _arg2, _arg3);
this._alphaFinal = this.manager.contentAppearance.alpha;
}
override protected function _render(_arg1:Number):void{
this._content.alpha = (this._alphaFinal * _arg1);
}
override public function get type():Class{
return (Fade);
}
}
}//package fl.transitions
Section 74
//Transition (fl.transitions.Transition)
package fl.transitions {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
public class Transition extends EventDispatcher {
protected var _direction:uint;// = 0
protected var _progress:Number;
public var ID:int;
protected var _twn:Tween;
protected var _content:MovieClip;
protected var _height:Number;// = NAN
protected var _width:Number;// = NAN
protected var _outerBounds:Rectangle;
protected var _easing:Function;
protected var _innerBounds:Rectangle;
protected var _manager:TransitionManager;
protected var _duration:Number;// = 2
public static const IN:uint = 0;
public static const OUT:uint = 1;
public function Transition(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){
_direction = 0;
_duration = 2;
_width = NaN;
_height = NaN;
super();
this.content = _arg1;
this.direction = _arg2.direction;
this.duration = _arg2.duration;
this.easing = _arg2.easing;
this.manager = _arg3;
this._innerBounds = this.manager._innerBounds;
this._outerBounds = this.manager._outerBounds;
this._width = this.manager._width;
this._height = this.manager._height;
this._resetTween();
}
public function stop():void{
this._twn.fforward();
this._twn.stop();
}
private function _resetTween():void{
if (this._twn){
this._twn.stop();
this._twn.removeEventListener(TweenEvent.MOTION_FINISH, this.onMotionFinished);
};
this._twn = new Tween(this, "", this.easing, 0, 1, this.duration, true);
this._twn.stop();
this._twn.prop = "progress";
this._twn.addEventListener(TweenEvent.MOTION_FINISH, this.onMotionFinished, false, 0, true);
}
public function onMotionFinished(_arg1:Object):void{
if (this.direction == Transition.OUT){
this.dispatchEvent(new Event("transitionOutDone"));
} else {
this.dispatchEvent(new Event("transitionInDone"));
};
}
public function get duration():Number{
return (this._duration);
}
public function set duration(_arg1:Number):void{
if (_arg1){
this._duration = _arg1;
if (this._twn){
this._twn.duration = _arg1;
};
};
}
public function get easing():Function{
return (this._easing);
}
public function get manager():TransitionManager{
return (this._manager);
}
public function get progress():Number{
return (this._progress);
}
protected function _render(_arg1:Number):void{
}
public function get type():Class{
return (Transition);
}
public function drawCircle(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number):void{
_arg1.graphics.moveTo((_arg2 + _arg4), _arg3);
_arg1.graphics.curveTo((_arg4 + _arg2), ((Math.tan((Math.PI / 8)) * _arg4) + _arg3), ((Math.sin((Math.PI / 4)) * _arg4) + _arg2), ((Math.sin((Math.PI / 4)) * _arg4) + _arg3));
_arg1.graphics.curveTo(((Math.tan((Math.PI / 8)) * _arg4) + _arg2), (_arg4 + _arg3), _arg2, (_arg4 + _arg3));
_arg1.graphics.curveTo(((-(Math.tan((Math.PI / 8))) * _arg4) + _arg2), (_arg4 + _arg3), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg2), ((Math.sin((Math.PI / 4)) * _arg4) + _arg3));
_arg1.graphics.curveTo((-(_arg4) + _arg2), ((Math.tan((Math.PI / 8)) * _arg4) + _arg3), (-(_arg4) + _arg2), _arg3);
_arg1.graphics.curveTo((-(_arg4) + _arg2), ((-(Math.tan((Math.PI / 8))) * _arg4) + _arg3), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg2), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg3));
_arg1.graphics.curveTo(((-(Math.tan((Math.PI / 8))) * _arg4) + _arg2), (-(_arg4) + _arg3), _arg2, (-(_arg4) + _arg3));
_arg1.graphics.curveTo(((Math.tan((Math.PI / 8)) * _arg4) + _arg2), (-(_arg4) + _arg3), ((Math.sin((Math.PI / 4)) * _arg4) + _arg2), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg3));
_arg1.graphics.curveTo((_arg4 + _arg2), ((-(Math.tan((Math.PI / 8))) * _arg4) + _arg3), (_arg4 + _arg2), _arg3);
}
public function cleanUp():void{
this.removeEventListener("transitionInDone", this._manager.transitionInDone);
this.removeEventListener("transitionOutDone", this._manager.transitionOutDone);
this.stop();
}
public function set easing(_arg1:Function):void{
this._easing = _arg1;
if (this._twn){
this._twn.func = _arg1;
};
}
public function set manager(_arg1:TransitionManager):void{
if (this._manager){
this.removeEventListener("transitionInDone", this._manager.transitionInDone);
this.removeEventListener("transitionOutDone", this._manager.transitionOutDone);
};
this._manager = _arg1;
this.addEventListener("transitionInDone", this._manager.transitionInDone);
this.addEventListener("transitionOutDone", this._manager.transitionOutDone);
}
public function set progress(_arg1:Number):void{
if (this._progress == _arg1){
return;
};
this._progress = _arg1;
if (this._direction){
this._render((1 - _arg1));
} else {
this._render(_arg1);
};
this.dispatchEvent(new Event("transitionProgress"));
}
public function start():void{
this.content.visible = true;
this._twn.start();
}
public function drawBox(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_arg1.graphics.moveTo(_arg2, _arg3);
_arg1.graphics.lineTo((_arg2 + _arg4), _arg3);
_arg1.graphics.lineTo((_arg2 + _arg4), (_arg3 + _arg5));
_arg1.graphics.lineTo(_arg2, (_arg3 + _arg5));
_arg1.graphics.lineTo(_arg2, _arg3);
}
public function set content(_arg1:MovieClip):void{
if (_arg1){
this._content = _arg1;
if (this._twn){
this._twn.obj = _arg1;
};
};
}
private function _noEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public function get content():MovieClip{
return (this._content);
}
public function set direction(_arg1:Number):void{
this._direction = (_arg1) ? 1 : 0;
}
public function get direction():Number{
return (this._direction);
}
}
}//package fl.transitions
Section 75
//TransitionManager (fl.transitions.TransitionManager)
package fl.transitions {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
public class TransitionManager extends EventDispatcher {
public var _innerBounds:Rectangle;
private var _visualPropList:Object;
private var _triggerEvent:String;
public var className:String;// = "TransitionManager"
public var type:Object;
private var _contentAppearance:Object;
private var _content:MovieClip;
public var _width:Number;// = NAN
public var _height:Number;// = NAN
public var _outerBounds:Rectangle;
private var _transitions:Object;
private static var IDCount:int = 0;
public function TransitionManager(_arg1:MovieClip){
type = TransitionManager;
className = "TransitionManager";
_width = NaN;
_height = NaN;
_visualPropList = {x:null, y:null, scaleX:null, scaleY:null, alpha:null, rotation:null};
super();
this.content = _arg1;
this._transitions = {};
}
public function get content():MovieClip{
return (this._content);
}
public function removeAllTransitions():void{
var _local1:Transition;
for each (_local1 in this._transitions) {
_local1.cleanUp();
this.removeTransition(_local1);
};
}
function transitionInDone(_arg1:Object):void{
var _local2:Boolean;
this.removeTransition(_arg1.target);
if (this.numInTransitions == 0){
_local2 = this._content.visible;
if ((((this._triggerEvent == "hide")) || ((this._triggerEvent == "hideChild")))){
this._content.visible = false;
};
if (_local2){
this.dispatchEvent(new Event("allTransitionsInDone"));
};
};
}
public function get numOutTransitions():Number{
var _local1:Number;
var _local2:Object;
var _local3:Transition;
_local1 = 0;
_local2 = this._transitions;
for each (_local3 in _local2) {
if (_local3.direction){
_local1++;
};
};
return (_local1);
}
public function get contentAppearance():Object{
return (this._contentAppearance);
}
public function saveContentAppearance():void{
var _local1:MovieClip;
var _local2:Object;
var _local3:String;
_local1 = this._content;
if (!this._contentAppearance){
_local2 = (this._contentAppearance = {});
for (_local3 in this._visualPropList) {
_local2[_local3] = _local1[_local3];
};
_local2.colorTransform = _local1.transform.colorTransform;
};
this._innerBounds = _local1.getBounds(_local1);
this._outerBounds = _local1.getBounds(_local1.parent);
this._width = _local1.width;
this._height = _local1.height;
}
public function addTransition(_arg1:Transition):Transition{
_arg1.ID = ++TransitionManager.IDCount;
this._transitions[_arg1.ID] = _arg1;
return (_arg1);
}
public function startTransition(_arg1:Object):Transition{
var _local2:Class;
var _local3:Transition;
this.removeTransition(this.findTransition(_arg1));
_local2 = _arg1.type;
_local3 = new _local2(this._content, _arg1, this);
this.addTransition(_local3);
_local3.start();
return (_local3);
}
function transitionOutDone(_arg1:Object):void{
var _local2:Boolean;
this.removeTransition(_arg1.target);
if (this.numOutTransitions == 0){
this.restoreContentAppearance();
_local2 = this._content.visible;
if (((_local2) && ((((_triggerEvent == "hide")) || ((_triggerEvent == "hideChild")))))){
this._content.visible = false;
};
if (_local2){
this.dispatchEvent(new Event("allTransitionsOutDone"));
};
};
}
public function restoreContentAppearance():void{
var _local1:MovieClip;
var _local2:Object;
var _local3:String;
_local1 = this._content;
_local2 = this._contentAppearance;
for (_local3 in this._visualPropList) {
_local1[_local3] = _local2[_local3];
};
_local1.transform.colorTransform = _local2.colorTransform;
}
public function get numTransitions():Number{
var _local1:Number;
var _local2:Transition;
_local1 = 0;
for each (_local2 in this._transitions) {
_local1++;
};
return (_local1);
}
public function findTransition(_arg1:Object):Transition{
var _local2:Transition;
for each (_local2 in this._transitions) {
if (_local2.type == _arg1.type){
return (_local2);
};
};
return (null);
}
public function set content(_arg1:MovieClip):void{
this._content = _arg1;
this.saveContentAppearance();
}
public function get numInTransitions():Number{
var _local1:Number;
var _local2:Object;
var _local3:Transition;
_local1 = 0;
_local2 = this._transitions;
for each (_local3 in _local2) {
if (!_local3.direction){
_local1++;
};
};
return (_local1);
}
public function removeTransition(_arg1:Transition):Boolean{
if (((((!(_arg1)) || (!(this._transitions)))) || (!(this._transitions[_arg1.ID])))){
return (false);
};
_arg1.cleanUp();
return (delete this._transitions[_arg1.ID]);
}
public function get transitionsList():Object{
return (this._transitions);
}
public static function start(_arg1:MovieClip, _arg2:Object):Transition{
if (!_arg1.__transitionManager){
_arg1.__transitionManager = new TransitionManager(_arg1);
};
if (_arg2.direction == 1){
_arg1.__transitionManager._triggerEvent = "hide";
} else {
_arg1.__transitionManager._triggerEvent = "reveal";
};
return (_arg1.__transitionManager.startTransition(_arg2));
}
}
}//package fl.transitions
Section 76
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Tween extends EventDispatcher {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
public var begin:Number;// = NAN
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var change:Number;// = NAN
private var _finish:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
isPlaying = false;
obj = null;
prop = "";
func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
begin = NaN;
change = NaN;
useSeconds = false;
prevTime = NaN;
prevPos = NaN;
looping = false;
_duration = NaN;
_time = NaN;
_fps = NaN;
_position = NaN;
_startTime = NaN;
_intervalID = 0;
_finish = NaN;
_timer = null;
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean;
_local2 = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//package fl.transitions
Section 77
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var time:Number;// = NAN
public var position:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
time = NaN;
position = NaN;
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 78
//ani_jd_170 (main_fla.ani_jd_170)
package main_fla {
import flash.display.*;
public dynamic class ani_jd_170 extends MovieClip {
public function ani_jd_170(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package main_fla
Section 79
//Ani_txtAppea3_236 (main_fla.Ani_txtAppea3_236)
package main_fla {
import flash.display.*;
public dynamic class Ani_txtAppea3_236 extends MovieClip {
public function Ani_txtAppea3_236(){
addFrameScript(13, frame14);
}
function frame14(){
stop();
}
}
}//package main_fla
Section 80
//Ani_txtAppear_245 (main_fla.Ani_txtAppear_245)
package main_fla {
import flash.display.*;
public dynamic class Ani_txtAppear_245 extends MovieClip {
public function Ani_txtAppear_245(){
addFrameScript(13, frame14);
}
function frame14(){
stop();
}
}
}//package main_fla
Section 81
//Ani_txtAppear2_239 (main_fla.Ani_txtAppear2_239)
package main_fla {
import flash.display.*;
public dynamic class Ani_txtAppear2_239 extends MovieClip {
public function Ani_txtAppear2_239(){
addFrameScript(13, frame14);
}
function frame14(){
stop();
}
}
}//package main_fla
Section 82
//Ani_txtAppear4_233 (main_fla.Ani_txtAppear4_233)
package main_fla {
import flash.display.*;
public dynamic class Ani_txtAppear4_233 extends MovieClip {
public function Ani_txtAppear4_233(){
addFrameScript(13, frame14);
}
function frame14(){
stop();
}
}
}//package main_fla
Section 83
//Ani_txtAppear5_242 (main_fla.Ani_txtAppear5_242)
package main_fla {
import flash.display.*;
public dynamic class Ani_txtAppear5_242 extends MovieClip {
public function Ani_txtAppear5_242(){
addFrameScript(13, frame14);
}
function frame14(){
stop();
}
}
}//package main_fla
Section 84
//emptyMc_208 (main_fla.emptyMc_208)
package main_fla {
import flash.display.*;
public dynamic class emptyMc_208 extends MovieClip {
public var menuLogo:branding_aligned_center;
public var moregame:trans_moreGames;
}
}//package main_fla
Section 85
//flag_icon_221 (main_fla.flag_icon_221)
package main_fla {
import flash.display.*;
public dynamic class flag_icon_221 extends MovieClip {
public function flag_icon_221(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package main_fla
Section 86
//LanguageSelectPopup_222 (main_fla.LanguageSelectPopup_222)
package main_fla {
import flash.display.*;
import OOll0l1Ol.*;
public dynamic class LanguageSelectPopup_222 extends MovieClip {
public var l_se:O11lOO0ll;
public var l_br:O11lOO0ll;
public var l_in:O11lOO0ll;
public var l_cn:O11lOO0ll;
public var l_tr:O11lOO0ll;
public var l_de:O11lOO0ll;
public var l_my:O11lOO0ll;
public var l_es:O11lOO0ll;
public var l_en_uk:O11lOO0ll;
public var l_fr:O11lOO0ll;
public var l_en_us:O11lOO0ll;
public var l_pl:O11lOO0ll;
public var l_pt:O11lOO0ll;
public var l_nl:O11lOO0ll;
public var l_id:O11lOO0ll;
public var l_it:O11lOO0ll;
public var l_jp:O11lOO0ll;
public var l_ru:O11lOO0ll;
}
}//package main_fla
Section 87
//mscSwitch_216 (main_fla.mscSwitch_216)
package main_fla {
import flash.display.*;
public dynamic class mscSwitch_216 extends MovieClip {
public var msc:MovieClip;
}
}//package main_fla
Section 88
//qtySwitch_212 (main_fla.qtySwitch_212)
package main_fla {
import flash.display.*;
public dynamic class qtySwitch_212 extends MovieClip {
public var quality:MovieClip;
}
}//package main_fla
Section 89
//sndSwitch_214 (main_fla.sndSwitch_214)
package main_fla {
import flash.display.*;
public dynamic class sndSwitch_214 extends MovieClip {
public var snd:MovieClip;
}
}//package main_fla
Section 90
//surewindows_8 (main_fla.surewindows_8)
package main_fla {
import flash.display.*;
public dynamic class surewindows_8 extends MovieClip {
public var yes_btn:leavegame;
public var try_again:tagain;
public var no_btn:SimpleButton;
public function surewindows_8(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package main_fla
Section 91
//Timeline_218 (main_fla.Timeline_218)
package main_fla {
import flash.display.*;
public dynamic class Timeline_218 extends MovieClip {
public function Timeline_218(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package main_fla
Section 92
//O1l11l10O (O11O1OOlO.O1l11l10O)
package O11O1OOlO {
import flash.net.*;
public class O1l11l10O {
public static var SpillGroupUrl:Array = new Array();
public static var localConnection:LocalConnection = new LocalConnection();
public static var _languageNum:uint = 0;
public static var _languageBox:Array = new Array();
public static var hostingdomain:String;
public static function get url2():String{
var _local1:int;
_local1 = 0;
while (_local1 < SpillGroupUrl.length) {
if (localConnection.domain == SpillGroupUrl[_local1]){
return (_languageBox[_languageNum].url2);
};
_local1++;
};
return (_languageBox[_languageNum].url2);
}
public static function get language_nr():int{
return (_languageBox[_languageNum].language_nr);
}
public static function set Language(_arg1:Object):void{
var returnDomain:Function;
var _OOlO10l11:languageItem;
var _O11l11OlO:languageItem;
var _OO10OOOlO:languageItem;
var _O001lO01O:languageItem;
var _O11O00101:languageItem;
var _O01lll00l:languageItem;
var _OO0l01O0l:languageItem;
var _O0lO11O0O:languageItem;
var _O0OO110ll:languageItem;
var _O1Ol1l0O1:languageItem;
var _O0O110O0O:languageItem;
var _O101l0lO1:languageItem;
var _O0O1l0O10:languageItem;
var _O0O00OO00:languageItem;
var _OO1OO1111:languageItem;
var _OO0Oll00l:languageItem;
var _O1Ol1001l:languageItem;
var _OO00lO00l:languageItem;
var _O100l0101:languageItem;
var _O0l110111:Array;
var _O11Ol10l0:int;
var _OO0llOl10:int;
var languageVersion = _arg1;
returnDomain = function (_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);
};
if (localConnection.domain != "localhost"){
_O0l110111 = localConnection.domain.split(".");
_O11Ol10l0 = (_O0l110111.length - 1);
_OO0llOl10 = (_O0l110111.length - 2);
hostingdomain = ((_O0l110111[_OO0llOl10] + ".") + _O0l110111[_O11Ol10l0]);
} else {
hostingdomain = "localhost";
};
_OOlO10l11 = new languageItem();
_OOlO10l11.url1 = ("http://www.gamesgames.com/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_OOlO10l11.url2 = "http://www.gamesgames.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_OOlO10l11.language_nr = 1;
_OOlO10l11.branding_nr = 17;
_languageBox.push(_OOlO10l11);
_O11l11OlO = new languageItem();
_O11l11OlO.url1 = "http://www.game.com.cn/moregames/";
_O11l11OlO.url2 = "http://www.game.com.cn/moregames/";
_O11l11OlO.language_nr = 2;
_O11l11OlO.branding_nr = 2;
_languageBox.push(_O11l11OlO);
_OO10OOOlO = new languageItem();
_OO10OOOlO.url1 = ("http://www.spelletjes.nl/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_OO10OOOlO.url2 = "http://www.spelletjes.nl/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_OO10OOOlO.language_nr = 3;
_OO10OOOlO.branding_nr = 18;
_languageBox.push(_OO10OOOlO);
_O001lO01O = new languageItem();
_O001lO01O.url1 = ("http://www.jeux.fr/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O001lO01O.url2 = "http://www.jeux.fr/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O001lO01O.language_nr = 4;
_O001lO01O.branding_nr = 19;
_languageBox.push(_O001lO01O);
_O11O00101 = new languageItem();
_O11O00101.url1 = ("http://www.jetztspielen.de/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O11O00101.url2 = "http://www.jetztspielen.de/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O11O00101.language_nr = 5;
_O11O00101.branding_nr = 20;
_languageBox.push(_O11O00101);
_O01lll00l = new languageItem();
_O01lll00l.url1 = ("http://www.gry.pl/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O01lll00l.url2 = "http://www.gry.pl/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O01lll00l.language_nr = 6;
_O01lll00l.branding_nr = 21;
_languageBox.push(_O01lll00l);
_OO0l01O0l = new languageItem();
_OO0l01O0l.url1 = ("http://www.spela.se/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_OO0l01O0l.url2 = "http://www.spela.se/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_OO0l01O0l.language_nr = 7;
_OO0l01O0l.branding_nr = 22;
_languageBox.push(_OO0l01O0l);
_O0lO11O0O = new languageItem();
_O0lO11O0O.url1 = ("http://www.gioco.it/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O0lO11O0O.url2 = "http://www.gioco.it/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O0lO11O0O.language_nr = 8;
_O0lO11O0O.branding_nr = 23;
_languageBox.push(_O0lO11O0O);
_O0OO110ll = new languageItem();
_O0OO110ll.url1 = ("http://www.juegos.com/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O0OO110ll.url2 = "http://www.juegos.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O0OO110ll.language_nr = 9;
_O0OO110ll.branding_nr = 24;
_languageBox.push(_O0OO110ll);
_O1Ol1l0O1 = new languageItem();
_O1Ol1l0O1.url1 = ("http://www.ojogos.com.br/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O1Ol1l0O1.url2 = "http://www.ojogos.com.br/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O1Ol1l0O1.language_nr = 11;
_O1Ol1l0O1.branding_nr = 25;
_languageBox.push(_O1Ol1l0O1);
_O0O110O0O = new languageItem();
_O0O110O0O.url1 = ("http://www.games.co.id/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O0O110O0O.url2 = "http://www.games.co.id/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O0O110O0O.language_nr = 13;
_O0O110O0O.branding_nr = 13;
_languageBox.push(_O0O110O0O);
_O101l0lO1 = new languageItem();
_O101l0lO1.url1 = ("http://www.ourgames.ru/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O101l0lO1.url2 = "http://www.ourgames.ru/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O101l0lO1.language_nr = 12;
_O101l0lO1.branding_nr = 26;
_languageBox.push(_O101l0lO1);
_O0O1l0O10 = new languageItem();
_O0O1l0O10.url1 = ("http://www.games.co.uk/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O0O1l0O10.url2 = "http://www.games.co.uk/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O0O1l0O10.language_nr = 16;
_O0O1l0O10.branding_nr = 27;
_languageBox.push(_O0O1l0O10);
_O0O00OO00 = new languageItem();
_O0O00OO00.url1 = ("http://www.game.co.in/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O0O00OO00.url2 = "http://www.game.co.in/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O0O00OO00.language_nr = 16;
_O0O00OO00.branding_nr = 12;
_languageBox.push(_O0O00OO00);
_OO1OO1111 = new languageItem();
_OO1OO1111.url1 = ("http://www.asoyun.com/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_OO1OO1111.url2 = "http://www.asoyun.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_OO1OO1111.language_nr = 14;
_OO1OO1111.branding_nr = 15;
_languageBox.push(_OO1OO1111);
_OO0Oll00l = new languageItem();
_OO0Oll00l.url1 = ("http://www.game.com.my/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_OO0Oll00l.url2 = "http://www.game.com.my/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_OO0Oll00l.language_nr = 15;
_OO0Oll00l.branding_nr = 16;
_languageBox.push(_OO0Oll00l);
_O1Ol1001l = new languageItem();
_O1Ol1001l.url1 = ("http://www.ojogos.pt/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O1Ol1001l.url2 = "http://www.ojogos.pt/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O1Ol1001l.language_nr = 10;
_O1Ol1001l.branding_nr = 42;
_languageBox.push(_O1Ol1001l);
_OO00lO00l = new languageItem();
_OO00lO00l.url1 = ("http://www.laro.com.ph/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_OO00lO00l.url2 = "http://www.laro.com.ph/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_OO00lO00l.language_nr = 16;
_OO00lO00l.branding_nr = 43;
_languageBox.push(_OO00lO00l);
_O100l0101 = new languageItem();
_O100l0101.url1 = ("http://www.egames.jp/moregames/?utm_medium=brandedgames_external&utm_campaign=horoscope_puzzle_2&utm_source=" + hostingdomain);
_O100l0101.url2 = "http://www.egames.jp/moregames/?utm_medium=brandedgames_internal&utm_campaign=horoscope_puzzle_2";
_O100l0101.language_nr = 17;
_O100l0101.branding_nr = 44;
_languageBox.push(_O100l0101);
SpillGroupUrl.push("localhost");
SpillGroupUrl.push("www8.agame.com");
if ((((((languageVersion is Number)) || ((languageVersion is uint)))) || ((languageVersion is int)))){
_languageNum = (Number(languageVersion) - 1);
};
}
public static function get url1():String{
var _local1:int;
_local1 = 0;
while (_local1 < SpillGroupUrl.length) {
if (localConnection.domain == SpillGroupUrl[_local1]){
return (_languageBox[_languageNum].url2);
};
_local1++;
};
return (_languageBox[_languageNum].url1);
}
public static function get branding_nr():int{
return (_languageBox[_languageNum].branding_nr);
}
public static function get Language():Object{
return (uint(_languageNum));
}
}
}//package O11O1OOlO
class languageItem {
public var url1:String;
public var url2:String;
public var branding_nr:int;
public var language_nr:int;
private function languageItem(){
}
}
Section 93
//O1OOlllOl (O11O1OOlO.O1OOlllOl)
package O11O1OOlO {
import flash.display.*;
import O11OOl1Ol.*;
public class O1OOlllOl extends MovieClip {
public function O1OOlllOl(){
jump();
stop();
}
public function jump():void{
switch (O0OOl101O.langArr[O1l11l10O.Language]){
case "br":
gotoAndStop(7);
break;
case "cn":
gotoAndStop(17);
break;
case "de":
gotoAndStop(5);
break;
case "es":
gotoAndStop(6);
break;
case "fr":
gotoAndStop(4);
break;
case "id":
gotoAndStop(14);
break;
case "in":
gotoAndStop(2);
break;
case "it":
gotoAndStop(9);
break;
case "jp":
gotoAndStop(16);
break;
case "my":
gotoAndStop(15);
break;
case "nl":
gotoAndStop(3);
break;
case "pl":
gotoAndStop(11);
break;
case "pt":
gotoAndStop(8);
break;
case "ru":
gotoAndStop(12);
break;
case "se":
gotoAndStop(10);
break;
case "tr":
gotoAndStop(13);
break;
case "en_uk":
gotoAndStop(2);
break;
case "en_us":
gotoAndStop(1);
break;
default:
gotoAndStop(1);
break;
};
}
}
}//package O11O1OOlO
Section 94
//Oll01lOO0 (O11O1OOlO.Oll01lOO0)
package O11O1OOlO {
import flash.net.*;
import flash.events.*;
public class Oll01lOO0 {
private static var _OO110100O:URLRequest;
public function Oll01lOO0():void{
}
public static function onClickContext():void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=Contex_Menu"));
};
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick10(_arg1:Event):void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=logo_gamereview"));
};
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick2(_arg1:Event):void{
var _local2:String;
_local2 = "http://www.gameportal.net";
_OO110100O = new URLRequest(_local2);
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick3(_arg1:Event):void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=logo_preloader"));
};
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick4(_arg1:Event):void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=button_mainscreen_moregames"));
};
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick5(_arg1:Event):void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=logo_level"));
};
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick6(_arg1:Event):void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=button_gameover_moregames"));
};
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick7(_arg1:Event):void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=button_highscore_3000games"));
};
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick8(_arg1:Event):void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=logo_congratulations"));
};
navigateToURL(_OO110100O, "_blank");
}
public static function onCLick9(_arg1:Event):void{
if (O1l11l10O.language_nr == 2){
_OO110100O = new URLRequest(O1l11l10O.url1);
} else {
_OO110100O = new URLRequest((O1l11l10O.url1 + "&utm_content=logo_levelselect"));
};
navigateToURL(_OO110100O, "_blank");
}
}
}//package O11O1OOlO
Section 95
//OOl11l1l1 (O11O1OOlO.OOl11l1l1)
package O11O1OOlO {
import flash.events.*;
import flash.display.*;
import O1O0OOlOO.*;
import O11OOl1Ol.*;
public class OOl11l1l1 extends Sprite {
private var _O011O0lll:Sprite;
private var _OO00110ll:MovieClip;
private var _O10O101Ol:uint;
public var countryName:countryMc;
public var flag:MovieClip;
public var popList:MovieClip;
private var _OO10OO0l0:O1OOlllOl;
private var _OO1OO0O1l:String;
public function OOl11l1l1(){
_OO1lllOOO();
_OOl101OO0();
_O0110lOOO();
}
private function _OO1lllOOO():void{
_OO10OO0l0 = (getChildByName("countryName") as O1OOlllOl);
_OO00110ll = (getChildByName("flag") as MovieClip);
_OO00110ll.gotoAndStop(O0OOl101O.langArr[O1l11l10O.Language]);
_OO10OO0l0.gotoAndStop(O0OOl101O.langArr[O1l11l10O.Language]);
}
private function _OOl101OO0():void{
var _local1:Sprite;
var _local2:String;
_O011O0lll = (getChildByName("popList") as Sprite);
_O011O0lll.visible = false;
_O10O101Ol = 0;
while (_O10O101Ol < _O011O0lll.numChildren) {
if (_O011O0lll.getChildAt(_O10O101Ol).name.indexOf("l") != -1){
_local1 = (_O011O0lll.getChildAt(_O10O101Ol) as Sprite);
_local2 = _local1.name.substr(2);
_local1["flag"].gotoAndStop(_local2);
_local1["short"].gotoAndStop(_local2);
};
_O10O101Ol++;
};
}
private function _O0110lOOO():void{
addEventListener(MouseEvent.ROLL_OVER, _O0l1OOOll, false, 0, true);
addEventListener(MouseEvent.ROLL_OUT, _O111l1O10, false, 0, true);
addEventListener(MouseEvent.CLICK, _O0OOlOlOl, false, 0, true);
}
private function _O111l1O10(_arg1:MouseEvent):void{
_O011O0lll.visible = false;
}
private function _O0l1OOOll(_arg1:MouseEvent):void{
_O011O0lll.visible = true;
}
private function _O0OOlOlOl(_arg1:MouseEvent):void{
var _local2:String;
var _local3:MovieClip;
_local2 = _arg1.target.name;
if (_local2.indexOf("l_") != -1){
_local3 = (_arg1.target.getChildByName("short") as MovieClip);
_OO00110ll.gotoAndStop(_local2.substr(2));
_OO10OO0l0.gotoAndStop(_local3.currentFrame);
setLanguage(_local2.substr(2));
_O011O0lll.visible = false;
if (parent.name == "mainmenu"){
O0O0OO000(parent).setLang();
};
if (parent.name == "loading"){
Oll1Oll10(parent).setLang();
};
};
}
public static function setLanguage(_arg1:String, _arg2:Boolean=false):void{
switch (_arg1){
case "br":
O1l11l10O.Language = 10;
OO0l1O1ll.link = "www.ojogos.com.br";
break;
case "cn":
O1l11l10O.Language = 2;
OO0l1O1ll.link = "www.game.com.cn";
break;
case "de":
O1l11l10O.Language = 5;
OO0l1O1ll.link = "www.jetztspielen.de";
break;
case "es":
O1l11l10O.Language = 9;
OO0l1O1ll.link = "www.jueogos.com";
break;
case "fr":
O1l11l10O.Language = 4;
OO0l1O1ll.link = "www.jeux.fr";
break;
case "id":
O1l11l10O.Language = 11;
OO0l1O1ll.link = "www.games.co.id";
break;
case "in":
O1l11l10O.Language = 14;
OO0l1O1ll.link = "www.games.co.in";
break;
case "it":
O1l11l10O.Language = 8;
OO0l1O1ll.link = "www.gioco.it";
break;
case "jp":
O1l11l10O.Language = 19;
OO0l1O1ll.link = "www.egames.jp";
break;
case "ph":
O1l11l10O.Language = 18;
OO0l1O1ll.link = "www.gamesgames.com";
break;
case "my":
O1l11l10O.Language = 16;
OO0l1O1ll.link = "www.game.com.my";
break;
case "nl":
O1l11l10O.Language = 3;
OO0l1O1ll.link = "www.spelletjes.nl";
break;
case "pl":
O1l11l10O.Language = 6;
OO0l1O1ll.link = "www.gry.pl";
break;
case "pt":
O1l11l10O.Language = 17;
OO0l1O1ll.link = "www.ojogos.pt";
break;
case "ru":
O1l11l10O.Language = 12;
OO0l1O1ll.link = "www.ourgames.ru";
break;
case "se":
O1l11l10O.Language = 7;
OO0l1O1ll.link = "www.spela.se";
break;
case "tr":
O1l11l10O.Language = 15;
OO0l1O1ll.link = "www.asoyun.com";
break;
case "en_uk":
O1l11l10O.Language = 13;
OO0l1O1ll.link = "www.games.co.uk";
break;
case "en_us":
O1l11l10O.Language = 1;
OO0l1O1ll.link = "www.gamesgames.com";
break;
default:
O1l11l10O.Language = 1;
OO0l1O1ll.link = "www.gamesgames.com";
break;
};
if (_arg2){
return;
};
O0OOl101O.cookie.writeLang("savedLang", _arg1);
O0OOl101O.cookie.writeLang("link", OO0l1O1ll.link);
}
}
}//package O11O1OOlO
Section 96
//O0OOl101O (O11OOl1Ol.O0OOl101O)
package O11OOl1Ol {
import flash.display.*;
import OOl00OO1O.*;
import O1O1OOl0O.*;
public class O0OOl101O {
public static var constellations:Array = new Array(30);
public static var actStar:String;
public static var menuSend:Boolean;
public static var sndManager:OlO0l0110 = new OlO0l0110();
public static var hideLvl:int = 13;
public static var hasPara:Boolean;
public static var langArr:Array = ["en_us", "cn", "nl", "fr", "de", "pl", "se", "it", "es", "br", "id", "ru", "en_uk", "in", "tr", "my", "pt", "ph", "jp"];
public static var tracker;
public static var grade1:Array = [["Canes", 1], ["Aries", 2], ["Lynx", 3], ["Pollux", 4], ["Cancer", 5], ["Gygnus", 6]];
public static var grade2:Array = [["Libra", 7], ["Grus", 8], ["Aquarius", 9], ["Lepus", 10], ["Alcyone", 11], ["Orion", 12]];
public static var grade3:Array = [["Columba", 13], ["Virgin", 14], ["Pegasus", 15], ["Delphlnus", 16], ["Capricornus", 17], ["Pisces", 18]];
public static var grade4:Array = [["Scorpio", 19], ["Aquila", 20], ["Leo", 21], ["Pavo", 22], ["Lyra", 23], ["Ophiuchus", 24]];
public static var grade5:Array = [["Phoenix", 25], ["Ursa", 26], ["Centaur", 27], ["Lupus", 28], ["Draco", 29], ["Carina", 30]];
public static var bestTimes:Array = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
public static var mainMask:Sprite;
public static var rotateLvl:int = 19;
public static var isAllPass:Boolean;
public static var langNr:int;
public static var console:Oll1O1l0O;
public static var timeGapArr:Array = [250, 270, 160, 270, 240, 230, 240, 180, 160, 180, 200, 180, 160, 220, 200, 140, 150, 180, 100, 170, 160, 170, 180, 180, 180, 180, 160, 180, 170, 180];
public static var onlyRoLvl:int = 7;
public static var _100Send:Boolean;
public static var _50Send:Boolean;
public static var cookie:Ol00l1Ol1 = new Ol00l1Ol1();
public static var secondsArr:Array = [120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150];
public static var gameBox:Sprite = new Sprite();
public static var passedLevel:uint = 1;
public static var show:Number = 3;
public static var runTime:int = 0;
public function O0OOl101O():void{
}
}
}//package O11OOl1Ol
Section 97
//OOl1010l0 (O11OOl1Ol.OOl1010l0)
package O11OOl1Ol {
import flash.net.*;
import O11O1OOlO.*;
import flash.external.*;
public class OOl1010l0 {
public static function refresh():void{
if (O1l11l10O.branding_nr != 2){
return;
};
try {
ExternalInterface.call("location.reload");
navigateToURL(new URLRequest(ExternalInterface.call("window.location.href.toString")), "_top");
} catch(myError:Error) {
};
}
}
}//package O11OOl1Ol
Section 98
//O0l011Oll (O1O0OOlOO.O0l011Oll)
package O1O0OOlOO {
import flash.events.*;
import flash.display.*;
import OOll0l1Ol.*;
import flash.geom.*;
import flash.utils.*;
import flash.ui.*;
import O11OOl1Ol.*;
public class O0l011Oll extends Sprite {
private var _OO110llO0:Sprite;
private var _O0lllOlO1:Sprite;
private var _OO0O11011:MovieClip;
private var _O00O01Ol0:Number;
private var _OOlOl1lOl:MovieClip;
private var _OOO00100O:int;
private var _OO111011O:Number;
private var _O00ll11O1:Number;
private var _OOOO0l000:int;
private var _O00000O00:MovieClip;
private var _OO0101O01:MovieClip;
private var _OO1OOllOO:Boolean;
private var _OOO001OOO:Boolean;
private var _O1l0Olll1:Sprite;
private var _OOO1l1O10:Sprite;
private var _O011lO0Ol:Sprite;
private var _O001111lO:int;// = 30
private var _OO1101ll1:O1O0O0llO;
private var _O1Oll0l11:MovieClip;
private var _O0100O010:int;
private var _O00lO011O:Sprite;
private var _OOlOlOll1:Number;
private var _OOlOOlO1O:MovieClip;
private var _O0llO0111:O10O1001O;
public var isHint:Boolean;
private var _O11l110O0:int;// = 0
private var _O1O0l0011:SimpleButton;
private var _O1l101001:MovieClip;
public function O0l011Oll(_arg1:O10O1001O, _arg2:int){
_O11l110O0 = 0;
_O001111lO = 30;
_OOlOl1lOl = new MovieClip();
_OO0101O01 = new MovieClip();
_O011lO0Ol = new Sprite();
_O1l0Olll1 = new Sprite();
super();
name = "pannel";
_O0llO0111 = _arg1;
_O0100O010 = _arg2;
_OO0011llO();
}
private function _O1OOO1lOl(_arg1:MouseEvent):void{
if (_arg1.currentTarget.name == "sandGlass"){
_O1l101001.gotoAndStop(1);
};
if (O0l000OO0.mode == "connect"){
return;
};
_OOlOOlO1O.visible = true;
_OO1OOllOO = false;
}
private function _O0l1OlO10():void{
_O011lO0Ol.graphics.beginFill(0xFFFFFF);
_O011lO0Ol.graphics.drawRect(0, 0, 18.1, 7.1);
_O011lO0Ol.graphics.endFill();
_O1l0Olll1.graphics.beginFill(0xFFFFFF);
_O1l0Olll1.graphics.drawRect(0, 0, 16.8, 16.1);
_O1l0Olll1.graphics.endFill();
_O1l101001.addChild(_O011lO0Ol);
_O1l101001.addChild(_O1l0Olll1);
_O011lO0Ol.x = (_OO110llO0.x - 9.05);
_O011lO0Ol.y = (_OO110llO0.y + 3.55);
_O1l0Olll1.x = (_O0lllOlO1.x - 8.4);
_O1l0Olll1.y = (_O0lllOlO1.y - 8.05);
_OO110llO0.mask = _O011lO0Ol;
_O0lllOlO1.mask = _O1l0Olll1;
_OO110llO0.alpha = 1;
_OO111011O = _O011lO0Ol.y;
_OOlOlOll1 = _O1l0Olll1.y;
_O00O01Ol0 = (_O011lO0Ol.height / _OOO00100O);
_O00ll11O1 = (_O1l0Olll1.height / _OOO00100O);
}
private function _O10Oll1OO():void{
var _local1:Sprite;
_local1 = (_O0llO0111.getChildByName("lineContainer") as Sprite);
if (_OOlOOlO1O.hitTestObject(_local1)){
};
}
private function _O11l0010O():void{
var _local1:int;
var _local2:int;
var _local3:Sprite;
_local1 = _O1l101001.numChildren;
_local2 = 0;
while (_local2 < _local1) {
if (((!((_O1l101001.getChildAt(_local2) == null))) && ((_O1l101001.getChildAt(_local2) is Sprite)))){
_local3 = (_O1l101001.getChildAt(_local2) as Sprite);
if (_local3.name == "sand"){
_local3.y = (_local3.y + 1);
if (_local3.y > 22){
_O1l101001.removeChild(_local3);
_local3 = null;
_local1--;
_local2--;
};
};
};
_local2++;
};
}
public function timerStart():void{
addEventListener("enterFrame", _O010lOO11);
}
private function _O0lOOOO1l(_arg1:MouseEvent):void{
if (_arg1.currentTarget.name == "sandGlass"){
_O1l101001.gotoAndStop(2);
};
if (O0l000OO0.mode == "connect"){
return;
};
_OO1OOllOO = true;
Mouse.show();
_OOlOOlO1O.visible = false;
}
private function _OOOl0l001(_arg1:Event):void{
_OOOO0l000++;
if (_OOOO0l000 == _OOO00100O){
O0OOl101O.sndManager.musicFade("GameMusic", 3, _O0llO0111);
_O1O1ll010();
};
if (((((_OOOO0l000 % 3) == 0)) && ((_OOOO0l000 < (_OOO00100O - _O001111lO))))){
_OOl010Oll();
};
_O11l0010O();
_OOlOlOll1 = (_OOlOlOll1 + _O00ll11O1);
_OO111011O = (_OO111011O - _O00O01Ol0);
_O011lO0Ol.y = _OO111011O;
_O1l0Olll1.y = _OOlOlOll1;
}
private function _OO0011llO():void{
var _local1:MovieClip;
_O11l110O0 = O0OOl101O.secondsArr[(_O0100O010 - 1)];
_O00000O00 = new (getDefinitionByName("pannel"));
_OO1101ll1 = (_O00000O00.getChildByName("gameportal") as O1O0O0llO);
_OO1101ll1.id = 5;
_OOlOOlO1O = (new (getDefinitionByName("Forfex")) as MovieClip);
_OOlOOlO1O.name = "forfex";
_OOlOOlO1O.mouseEnabled = false;
_OOlOOlO1O.mouseChildren = false;
_local1 = (_OOlOOlO1O.getChildByName("amt") as MovieClip);
_local1.stop();
_OO0101O01 = (_O00000O00.getChildByName("sure_mc") as MovieClip);
_OOlOl1lOl = (_O00000O00.getChildByName("pause") as MovieClip);
_OO0O11011 = (_O00000O00.getChildByName("hint") as MovieClip);
_O00lO011O = (_O0llO0111.getChildByName("lineContainer") as Sprite);
_O1l101001 = (_O00000O00.getChildByName("sandGlass") as MovieClip);
_O1l101001.mouseChildren = false;
_OO110llO0 = (_O1l101001.getChildByName("bSand") as Sprite);
_O0lllOlO1 = (_O1l101001.getChildByName("tSand") as Sprite);
_OO110llO0.alpha = 0;
_OOlOl1lOl.buttonMode = true;
_OO0101O01.visible = false;
_OO0O11011.buttonMode = true;
addChild(_O00000O00);
O0OOl101O.gameBox.addChild(this);
x = 282.4;
y = 550;
_OOO00100O = (_O11l110O0 * _O001111lO);
_OO0OO01Ol();
}
private function _OOl010Oll():void{
var _local1:Sprite;
_local1 = (new (getDefinitionByName("Sand")) as Sprite);
_O1l101001.addChildAt(_local1, 0);
_local1.name = "sand";
_local1.x = ((-1.1 + (Math.random() * 4)) - 2);
_local1.y = 2.8;
_local1.scaleX = (_local1.scaleY = ((Math.random() * 0.7) + 0.3));
}
private function _O00l1Ol01():void{
if (O0OOl101O.actStar != null){
return;
};
_O0llO0111.gTimer.timerSwitch();
if (_OOO001OOO){
_O00000O00.addEventListener("enterFrame", _OOOl0l001);
_O1O0l0011.removeEventListener("click", _OOlOllOl1);
O0OOl101O.gameBox.removeChild(_OOO1l1O10);
_OOO1l1O10 = null;
_O0llO0111.alpha = 1;
_OOO001OOO = false;
} else {
_OOO001OOO = true;
_OOO1l1O10 = new (getDefinitionByName("PauseMenu"));
_O1O0l0011 = (_OOO1l1O10.getChildByName("conBtn") as SimpleButton);
_O1O0l0011.addEventListener("click", _OOlOllOl1);
O0OOl101O.gameBox.addChild(_OOO1l1O10);
_O0llO0111.alpha = 0;
_O00000O00.removeEventListener("enterFrame", _OOOl0l001);
};
}
private function _OOl1OO0lO(_arg1:MouseEvent):void{
if (O0OOl101O.actStar != null){
return;
};
if (_arg1.target.name == "erase"){
if (O0l000OO0.mode == "connect"){
O0l000OO0.mode = "delete";
} else {
O0l000OO0.mode = "connect";
};
O0OOl101O.gameBox.addChild(_OOlOOlO1O);
addEventListener("enterFrame", _O001O110l);
};
if (_arg1.target.name == "pause"){
O0l000OO0.mode = "connect";
_O00l1Ol01();
};
if (_arg1.target.name == "exit_btn"){
O0l000OO0.mode = "connect";
_OO0101O01.visible = true;
if ((_arg1.target is MovieClip)){
_arg1.target.gotoAndStop(1);
};
};
if (_arg1.target.name == "yes_btn"){
_OO0101O01.visible = false;
_O0llO0111.preDraw(_O0100O010, "giveUp");
};
if (_arg1.target.name == "try_again"){
_OO0101O01.visible = false;
_O0llO0111.preDraw(_O0100O010, "giveUp");
_O0llO0111.tryAgain = true;
};
if (_arg1.target.name == "no_btn"){
_OO0101O01.visible = false;
};
}
private function _OO0OO01Ol():void{
_O00000O00.addEventListener("click", _OOl1OO0lO);
_O00000O00.addEventListener("rollOver", _O0lOOOO1l);
_O00000O00.addEventListener("rollOut", _O1OOO1lOl);
_O1l101001.addEventListener("rollOver", _O0lOOOO1l);
_O1l101001.addEventListener("rollOut", _O1OOO1lOl);
_OO0O11011.addEventListener("click", _O01001l11);
}
private function _OOlOllOl1(_arg1:MouseEvent):void{
_O00l1Ol01();
}
public function nonClickable(_arg1:Boolean=false):void{
var _local2:OlOOlO001;
var _local3:OlOOlO001;
if (_arg1){
_local2 = (_O00000O00.getChildByName("exit_btn") as OlOOlO001);
_local3 = (_O00000O00.getChildByName("erase") as OlOOlO001);
_local3.enable = false;
_local2.enable = false;
OlOOlO001(_OOlOl1lOl).enable = false;
OlOOlO001(_OO0O11011).enable = false;
_O1l101001.removeEventListener("rollOver", _O0lOOOO1l);
_O1l101001.removeEventListener("rollOut", _O1OOO1lOl);
};
_O00000O00.removeEventListener(MouseEvent.CLICK, _OOl1OO0lO);
_OOlOl1lOl.removeEventListener("click", _O00l1Ol01);
_OO0O11011.removeEventListener("click", _O01001l11);
_O00000O00.removeEventListener("enterFrame", _OOOl0l001);
}
private function _OO00O00Ol():void{
_O0llO0111.preDraw(_O0llO0111.curLevel, "giveUp");
_O1Oll0l11.stop();
O0OOl101O.gameBox.removeChild(_O1Oll0l11);
_O1Oll0l11 = null;
}
private function _O010lOO11(_arg1:Event):void{
y = (y - 3);
if (y <= 473){
removeEventListener("enterFrame", _O010lOO11);
y = 472.9;
_O0l1OlO10();
_O00000O00.addEventListener("enterFrame", _OOOl0l001);
};
}
private function _O01001l11(_arg1:MouseEvent):void{
if (((!((O0OOl101O.actStar == null))) || (isHint))){
return;
};
if (O0l000OO0.mode == "delete"){
O0l000OO0.mode = "connect";
};
_O0llO0111.playHint();
isHint = true;
}
private function _O001O110l(_arg1:Event):void{
var _local2:Point;
if (O0l000OO0.mode == "connect"){
Mouse.show();
if (_OOlOOlO1O != null){
O0OOl101O.gameBox.removeChild(_OOlOOlO1O);
};
removeEventListener("enterFrame", _O001O110l);
return;
};
if (!_OO1OOllOO){
Mouse.hide();
_local2 = new Point();
_local2 = _O0llO0111.localToGlobal(new Point(_O0llO0111.mouseX, _O0llO0111.mouseY));
_OOlOOlO1O.x = _local2.x;
_OOlOOlO1O.y = _local2.y;
};
}
private function _O1O1ll010():void{
nonClickable();
_O1Oll0l11 = (new (getDefinitionByName("TimeUp")) as MovieClip);
O0OOl101O.gameBox.addChild(_O1Oll0l11);
O0OOl101O.sndManager.playSound("tover");
_O1Oll0l11.x = 275;
_O1Oll0l11.y = 230;
_O1Oll0l11.addFrameScript((_O1Oll0l11.totalFrames - 1), _OO00O00Ol);
}
}
}//package O1O0OOlOO
Section 99
//O0O0OO000 (O1O0OOlOO.O0O0OO000)
package O1O0OOlOO {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import OOll0l1Ol.*;
import O11OOl1Ol.*;
import O11O1OOlO.*;
public class O0O0OO000 extends Sprite {
private var _O01O1l100:MovieClip;
private var _OO0llO1ll:OlOOlO001;
public var mscSwitch:MovieClip;
private var _O00O1O111:O1OOlllOl;
public var selectBox:OOl11l1l1;
public var tittleF:MovieClip;
private var _OOO0OOO11:O1OOlllOl;
private var _OOO0O1lll:int;// = 1
private var _O0OO11O0l:Boolean;
public var tittleblur:MovieClip;
public var qtySwitch:MovieClip;
private var _OO0O01010:O0OlO1101;
private var _O0OOl111O:Boolean;
private var _OO1OOOlOO:Number;
private var _O0O101Oll:MovieClip;
private var _O100l00O0:Number;
private var _O00O10lOO:SimpleButton;
public var tittleTxt:MovieClip;
public var menuLinkBtn:mLinkBtn;
private var _O10l0OOOl:MovieClip;
public var play_btn:PlayBtn;
private var _O1llOl100:MovieClip;
private var _O11llO111:int;
public var gameportal:SimpleButton;
private var _O1000001O:MovieClip;
private var _OOOOl0101:Sprite;
public var sndSwitch:MovieClip;
public static var msq:Object = new Object();
public function O0O0OO000(){
_OOO0O1lll = 1;
super();
if (O0OOl101O.menuSend == false){
if (O0OOl101O.tracker != null){
O0OOl101O.tracker.trackEvent("Horoscope Puzzle 2", "mainscreen viewed", "per session", 0);
O0OOl101O.menuSend = true;
};
};
_O111lO0O1();
_OOlO1O1O0();
setLang();
}
private function _O111lO0O1():void{
name = "mainmenu";
_OO0O01010 = new O0OlO1101(0);
O0OOl101O.gameBox.addChild(this);
x = 0;
y = 0;
alpha = 0;
_O0OO11O0l = true;
_OOOOl0101 = (getChildByName("selectBox") as Sprite);
if (O0OOl101O.runTime == 0){
if (O0OOl101O.cookie.readCookie("msq") != null){
msq = O0OOl101O.cookie.readCookie("msq");
} else {
msq["msc"] = true;
msq["snd"] = true;
msq["qty"] = StageQuality.BEST;
};
O0OOl101O.sndManager.musicOn = msq["msc"];
O0OOl101O.sndManager.soundOn = msq["snd"];
stage.quality = msq["qty"];
};
}
private function _O00101l11():void{
parent.removeChild(this);
O0OOl101O.sndManager.musicFade("MainMusic", 1.5, this, _OO1llO100);
O0OOl101O.console.showLevel();
}
public function setLang():void{
var _local1:Sprite;
var _local2:O1O0O0llO;
var _local3:MovieClip;
var _local4:MovieClip;
var _local5:MovieClip;
_local1 = (_O01O1l100.getChildByName("ec") as Sprite);
_local2 = (_local1.getChildByName("menuLogo") as O1O0O0llO);
_local3 = (getChildByName("tittleF") as MovieClip);
_local4 = (getChildByName("tittleblur") as MovieClip);
_local5 = (getChildByName("tittleTxt") as MovieClip);
_local3.stop();
_local4.stop();
_local5.stop();
if (O1l11l10O.branding_nr == 2){
_local3.gotoAndStop(2);
_local4.gotoAndStop(2);
_local5.gotoAndStop(2);
} else {
if (_local3.currentFrame == 2){
_local3.gotoAndStop(1);
_local4.gotoAndStop(1);
_local5.gotoAndStop(1);
};
};
_OO0llO1ll = (getChildByName("play_btn") as OlOOlO001);
_OOO0OOO11 = (_OO0llO1ll.getChildByName("startgame") as O1OOlllOl);
_O00O1O111 = (_local1.getChildByName("moregame") as O1OOlllOl);
_OOO0OOO11.jump();
_O00O1O111.jump();
_local2.gotoAndStop(O1l11l10O.branding_nr);
}
private function _O0lO0O0O1(_arg1:MouseEvent):void{
var _local2:int;
if (_arg1.currentTarget.name == "mscSwitch"){
if (_O10l0OOOl["msc"].currentFrame == 1){
_O10l0OOOl["msc"].gotoAndStop(2);
O0OOl101O.sndManager.stopBgMusic("MainMusic");
msq["msc"] = false;
O0OOl101O.sndManager.musicOn = msq["msc"];
} else {
_O10l0OOOl["msc"].gotoAndStop(1);
msq["msc"] = true;
O0OOl101O.sndManager.musicOn = msq["msc"];
O0OOl101O.sndManager.playBgMusic("MainMusic");
};
O0OOl101O.cookie.writeCookie("msq", msq);
return;
};
if (_arg1.currentTarget.name == "sndSwitch"){
if (_O1000001O["snd"].currentFrame == 1){
_O1000001O["snd"].gotoAndStop(2);
msq["snd"] = false;
O0OOl101O.sndManager.soundOn = msq["snd"];
} else {
_O1000001O["snd"].gotoAndStop(1);
msq["snd"] = true;
O0OOl101O.sndManager.soundOn = msq["snd"];
};
O0OOl101O.cookie.writeCookie("msq", msq);
return;
};
if (_arg1.currentTarget.name == "qtySwitch"){
_local2 = ((_O1llOl100["quality"].currentFrame % 3) + 1);
_O1llOl100["quality"].gotoAndStop(_local2);
switch (_O1llOl100["quality"].currentFrame){
case 1:
msq["qty"] = StageQuality.BEST;
stage.quality = msq["qty"];
break;
case 2:
msq["qty"] = StageQuality.MEDIUM;
stage.quality = msq["qty"];
break;
case 3:
msq["qty"] = StageQuality.LOW;
stage.quality = msq["qty"];
break;
default:
msq["qty"] = StageQuality.BEST;
stage.quality = msq["qty"];
};
O0OOl101O.cookie.writeCookie("msq", msq);
return;
};
if (_arg1.currentTarget.name == "gameportal"){
if (O1l11l10O.branding_nr == 2){
navigateToURL(new URLRequest("http://www.game.com.cn/downloads"), "_blank");
return;
};
navigateToURL(new URLRequest("http://www.gameportal.net/"), "_blank");
return;
};
if (_arg1.currentTarget.name == "play_btn"){
_O0OO11O0l = false;
_O0OOl111O = true;
O0OOl101O.sndManager.playSound("MenuPress");
if (alpha >= 1){
addEventListener("enterFrame", _OO010O101);
};
};
}
private function _O1O0llO11(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
if (isNaN(_OO1OOOlOO)){
_OO1OOOlOO = mouseX;
_O100l00O0 = mouseY;
return;
};
_local2 = Math.abs((mouseX - _OO1OOOlOO));
_local3 = Math.abs((mouseY - _O100l00O0));
if ((((_local2 > 80)) || ((_local3 > 80)))){
_O11llO111 = 230;
} else {
_O11llO111 = 50;
};
if ((((_local2 > _O11llO111)) || ((_local3 > _O11llO111)))){
_OO1OOOlOO = mouseX;
_O100l00O0 = mouseY;
_OOO0O1lll++;
O0OOl101O.sndManager.playSound(("m" + _OOO0O1lll.toString()));
if (_OOO0O1lll == 9){
_OOO0O1lll = 1;
};
};
}
private function _OO010O101(_arg1:Event):void{
if (_O0OO11O0l == true){
alpha = (alpha + 0.1);
if ((((alpha >= 0.7)) && (!(_O0OOl111O)))){
if (_OO0O01010 != null){
_OO0O01010.starsBlast(this);
swapChildrenAt(getChildIndex(_OOOOl0101), (numChildren - 1));
_O0OOl111O = true;
};
};
if (alpha >= 1){
removeEventListener("enterFrame", _OO010O101);
_O0OO11O0l = false;
O0OOl101O.sndManager.playBgMusic("MainMusic");
};
} else {
alpha = (alpha - 0.1);
if (alpha <= 0){
removeEventListener("enterFrame", _OO010O101);
_O0O101Oll.removeEventListener("click", _O0lO0O0O1);
_O10l0OOOl.removeEventListener("click", _O0lO0O0O1);
_O1000001O.removeEventListener("click", _O0lO0O0O1);
_O1llOl100.removeEventListener("click", _O0lO0O0O1);
_O01O1l100.removeEventListener("click", _O0lO0O0O1);
_O00O10lOO.removeEventListener("click", _O0lO0O0O1);
_O00101l11();
if (_OO0O01010 != null){
_OO0O01010.stopBlast = true;
_OO0O01010.removeBg();
};
};
};
}
private function _OOlO1O1O0():void{
addEventListener("enterFrame", _OO010O101);
_O0O101Oll = (getChildByName("play_btn") as MovieClip);
_O0O101Oll.stop();
_O0O101Oll.buttonMode = true;
_O0O101Oll.addEventListener("click", _O0lO0O0O1);
_O01O1l100 = (getChildByName("menuLinkBtn") as MovieClip);
_O01O1l100.buttonMode = true;
_O01O1l100.mouseChildren = true;
_O01O1l100.addEventListener("click", Oll01lOO0.onCLick4);
_O00O10lOO = (getChildByName("gameportal") as SimpleButton);
_O00O10lOO.addEventListener("click", _O0lO0O0O1);
_O10l0OOOl = this["mscSwitch"];
_O1000001O = this["sndSwitch"];
_O1llOl100 = this["qtySwitch"];
_O10l0OOOl.buttonMode = true;
_O1000001O.buttonMode = true;
_O1llOl100.buttonMode = true;
_O10l0OOOl["msc"].gotoAndStop(msq["msc"].toString());
_O1000001O["snd"].gotoAndStop(msq["snd"].toString());
_O1llOl100["quality"].gotoAndStop(msq["qty"]);
_O10l0OOOl.addEventListener("click", _O0lO0O0O1);
_O1000001O.addEventListener("click", _O0lO0O0O1);
_O1llOl100.addEventListener("click", _O0lO0O0O1);
}
private function _OO1llO100():void{
O0OOl101O.sndManager.stopBgMusic("MainMusic");
}
}
}//package O1O0OOlOO
Section 100
//O0OlO1101 (O1O0OOlOO.O0OlO1101)
package O1O0OOlOO {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
import O11OOl1Ol.*;
import fl.motion.*;
public class O0OlO1101 extends Sprite {
private var _O0lOOl0OO:uint;
private var _OO1000lO1:Array;
private var _O11l011O0:Sprite;
public var stopBlast:Boolean;
private var _O1OO1OOOl:Sprite;
private var _O00lO0ll0:Sprite;
private var _O11l11011:Array;
private var _OO0OllllO:Array;
private var _O00l1lOOO:Array;
private var _O00llOll1:Sprite;
private var _OOlO001l0:uint;
private var _OOlO100ll:Number;
public var isEnd:Boolean;
private var _OOlOO0O0O:Sprite;
private var _OO10l0011:Matrix;
private var _O1100l0lO:int;
private var _OO10O0111:Matrix;
public var sketch:Sprite;
private var _OO0OO0lO0:Sprite;
private var _OO010OOl0:Number;
private var _O1l1O0Ol0:int;
private var _OOO0O01O0:Number;
private var _O1lO0ll1O:Number;
private var _O01OOl101:uint;
private var _O011O0llO:Number;
public function O0OlO1101(_arg1:int, _arg2:String=""):void{
sketch = new Sprite();
_OOlOO0O0O = new Sprite();
_O00lO0ll0 = new Sprite();
_O1OO1OOOl = new Sprite();
_O00llOll1 = new Sprite();
_O11l11011 = [];
_OO0OllllO = [];
_OO1000lO1 = [];
_O00l1lOOO = [];
_OO10l0011 = new Matrix();
_OO10O0111 = new Matrix();
super();
_OO1O000l1(_arg1, _arg2);
}
public function starsBlast(_arg1:Sprite):void{
_O01OOl101 = 0;
while (_O01OOl101 < 20) {
_O11l011O0 = (new (getDefinitionByName("BackStar")) as Sprite);
_OOO0O01O0 = ((Math.random() * (200 + 200)) - 200);
_OO010OOl0 = ((Math.random() * (200 + 200)) - 200);
if ((((((((_OOO0O01O0 >= -50)) && ((_OOO0O01O0 <= 50)))) && ((_OO010OOl0 >= -50)))) && ((_OO010OOl0 <= 50)))){
_OOO0O01O0 = (_OOO0O01O0 + ((_OOO0O01O0 > 0)) ? 50 : -50);
_OO010OOl0 = (_OO010OOl0 + ((_OO010OOl0 > 0)) ? 50 : -50);
};
_OO1000lO1[_O01OOl101] = new Point(_OOO0O01O0, _OO010OOl0);
_OO1000lO1[_O01OOl101] = _OOOllllO0(_OO1000lO1[_O01OOl101]);
_O11l011O0.x = _OO1000lO1[_O01OOl101].x;
_O11l011O0.y = _OO1000lO1[_O01OOl101].y;
_O1lO0ll1O = _O11l011O0.x;
_O011O0llO = _O11l011O0.y;
_O11l11011[_O01OOl101] = (Math.sqrt(((_O1lO0ll1O * _O1lO0ll1O) + (_O011O0llO * _O011O0llO))) / 12);
_OO0OllllO[_O01OOl101] = Math.sqrt((_O11l11011[_O01OOl101] / 42));
_OOlO100ll = (Math.atan2(_O011O0llO, _O1lO0ll1O) + Math.PI);
_O00l1lOOO[_O01OOl101] = _OOlO100ll;
_O11l011O0.x = 0;
_O11l011O0.y = 0;
_O11l011O0.name = ("b" + _O01OOl101);
if (_O01OOl101 < 10){
_O1OO1OOOl.addChild(_O11l011O0);
} else {
_O00llOll1.addChild(_O11l011O0);
};
_O01OOl101++;
};
_O1OO1OOOl.mouseChildren = false;
_O1OO1OOOl.mouseEnabled = false;
_O00llOll1.mouseChildren = false;
_O00llOll1.mouseEnabled = false;
_O1OO1OOOl.x = 260;
_O1OO1OOOl.y = 250;
_O00llOll1.x = 260;
_O00llOll1.y = 250;
_arg1.addChild(_O1OO1OOOl);
_arg1.addChild(_O00llOll1);
addEventListener("enterFrame", _O11Ol00lO);
if (_O1100l0lO != -1){
O0OOl101O.sndManager.playSound("BlastFx");
};
addEventListener("enterFrame", _O10lO1O01);
}
public function showSketch():void{
sketch.alpha = 1;
}
private function _O0011O1O1(_arg1:String):void{
sketch = (_OOlOO0O0O.getChildByName((_arg1 + "_bg")) as Sprite);
sketch.cacheAsBitmap = true;
sketch.x = 275;
sketch.y = 213;
sketch.alpha = 0;
_O00lO0ll0.addChildAt(sketch, 1);
}
private function _O10lO1O01(_arg1:Event):void{
if ((((_OOlO001l0 >= 40)) && (!(isEnd)))){
MatrixTransformer.rotateAroundInternalPoint(_OO10l0011, 0, 0, 0.1);
MatrixTransformer.rotateAroundInternalPoint(_OO10O0111, 0, 0, -0.1);
_O1OO1OOOl.transform.matrix = _OO10l0011;
_O00llOll1.transform.matrix = _OO10O0111;
};
if (isEnd){
MatrixTransformer.rotateAroundInternalPoint(_OO10l0011, 0, 0, -1);
MatrixTransformer.rotateAroundInternalPoint(_OO10O0111, 0, 0, 1);
_O1OO1OOOl.transform.matrix = _OO10l0011;
_O00llOll1.transform.matrix = _OO10O0111;
};
}
private function _OO1O000l1(_arg1:int, _arg2:String=""):void{
_OO10l0011.createBox(1, 1, 0, 260, 250);
_OO10O0111.createBox(1, 1, 0, 260, 250);
if (_arg1 == 0){
_O1100l0lO = -1;
return;
};
_OOlOO0O0O = (new (getDefinitionByName("vectorBg")) as Sprite);
_O1l1O0Ol0 = (int(((_arg1 - 1) / 6)) + 1);
_O00lO0ll0 = (new (getDefinitionByName(("bg" + _O1l1O0Ol0))) as Sprite);
_O0011O1O1(_arg2);
this.addChild(_O00lO0ll0);
O0OOl101O.gameBox.addChildAt(this, 0);
}
private function _OOOllllO0(_arg1:Point):Point{
_O0lOOl0OO++;
if (_O0lOOl0OO >= 100){
return (_arg1);
};
_O01OOl101 = 0;
while (_O01OOl101 < (_OO1000lO1.length - 1)) {
if (Point.distance(_arg1, _OO1000lO1[_O01OOl101]) <= 50){
_OOO0O01O0 = ((Math.random() * (200 + 200)) - 200);
_OO010OOl0 = ((Math.random() * (200 + 200)) - 200);
if ((((((((_OOO0O01O0 >= -50)) && ((_OOO0O01O0 <= 50)))) && ((_OO010OOl0 >= -50)))) && ((_OO010OOl0 <= 50)))){
_OOO0O01O0 = (_OOO0O01O0 + ((_OOO0O01O0 > 0)) ? 50 : -50);
_OO010OOl0 = (_OO010OOl0 + ((_OO010OOl0 > 0)) ? 50 : -50);
};
_arg1 = new Point(_OOO0O01O0, _OO010OOl0);
_arg1 = _OOOllllO0(_arg1);
break;
};
_O01OOl101++;
};
return (_arg1);
}
private function _O11Ol00lO(_arg1:Event):void{
if (stopBlast){
removeEventListener("enterFrame", _O11Ol00lO);
return;
};
_OOlO001l0++;
if (_OOlO001l0 >= 50){
removeEventListener("enterFrame", _O11Ol00lO);
};
_O01OOl101 = 0;
while (_O01OOl101 < 10) {
_OO0OO0lO0 = (_O1OO1OOOl.getChildAt(_O01OOl101) as Sprite);
_O11l11011[_O01OOl101] = (_O11l11011[_O01OOl101] - _OO0OllllO[_O01OOl101]);
if (_O11l11011[_O01OOl101] <= 0){
_O11l11011[_O01OOl101] = 0;
};
_OO0OO0lO0.x = (_OO0OO0lO0.x - (_O11l11011[_O01OOl101] * Math.cos(_O00l1lOOO[_O01OOl101])));
_OO0OO0lO0.y = (_OO0OO0lO0.y - (_O11l11011[_O01OOl101] * Math.sin(_O00l1lOOO[_O01OOl101])));
_O01OOl101++;
};
_O01OOl101 = 10;
while (_O01OOl101 < 20) {
_OO0OO0lO0 = (_O00llOll1.getChildAt((_O01OOl101 - 10)) as Sprite);
_O11l11011[_O01OOl101] = (_O11l11011[_O01OOl101] - _OO0OllllO[_O01OOl101]);
if (_O11l11011[_O01OOl101] <= 0){
_O11l11011[_O01OOl101] = 0;
};
_OO0OO0lO0.x = (_OO0OO0lO0.x - (_O11l11011[_O01OOl101] * Math.cos(_O00l1lOOO[_O01OOl101])));
_OO0OO0lO0.y = (_OO0OO0lO0.y - (_O11l11011[_O01OOl101] * Math.sin(_O00l1lOOO[_O01OOl101])));
_O01OOl101++;
};
}
private function _OO001O001():void{
if (_O1100l0lO == -1){
removeEventListener("enterFrame", _O10lO1O01);
} else {
removeEventListener("enterFrame", _O10lO1O01);
};
}
public function removeBg():void{
if (_O1100l0lO == -1){
_OO001O001();
if (_O1OO1OOOl.parent != null){
_O1OO1OOOl.parent.removeChild(_O1OO1OOOl);
_O1OO1OOOl = null;
};
if (_O00llOll1.parent != null){
_O00llOll1.parent.removeChild(_O00llOll1);
_O00llOll1 = null;
};
} else {
this.parent.removeChild(this);
};
}
}
}//package O1O0OOlOO
Section 101
//Ol0001Oll (O1O0OOlOO.Ol0001Oll)
package O1O0OOlOO {
import flash.display.*;
import OOll0l1Ol.*;
import fl.transitions.*;
import flash.utils.*;
import O11OOl1Ol.*;
import fl.transitions.easing.*;
import flash.filters.*;
public class Ol0001Oll {
private var _OOl0Ol11l:O0OlO1101;
private var _O1OO00OOO:MovieClip;
private var _O0Ol00011:Sprite;
private var _O0l1lO00l:Sprite;
private var _O1O1O0l0O:O10O1001O;
private var _O1lO11l11:MovieClip;
private var _O000lOOll:String;
private var _OOl00OllO:MovieClip;
private var _OOO01O100:int;
public function Ol0001Oll(_arg1:int):void{
_OOO01O100 = _arg1;
_O0l1lO00l = O0OOl101O.gameBox;
_O0Ol0OllO();
}
private function _OOlOlll00(_arg1:int):void{
var _local2:Array;
var _local3:String;
var _local4:int;
_O000lOOll = "preShow";
_local2 = O0OOl101O.constellations;
if (_local2[(_arg1 - 1)] != null){
_local3 = _local2[(_arg1 - 1)][0];
_OOl0Ol11l = new O0OlO1101(_arg1, _local3);
_O1O1O0l0O = new O10O1001O(_local3);
} else {
if (_arg1 <= 6){
O0OOl101O.constellations[(_arg1 - 1)] = O0OOl101O.grade1[(_arg1 - 1)];
};
if ((((_arg1 > 6)) && ((_arg1 <= 12)))){
O0OOl101O.constellations[(_arg1 - 1)] = O0OOl101O.grade2[(_arg1 - 7)];
};
if ((((_arg1 > 12)) && ((_arg1 <= 18)))){
O0OOl101O.constellations[(_arg1 - 1)] = O0OOl101O.grade3[(_arg1 - 13)];
};
if ((((_arg1 > 18)) && ((_arg1 <= 24)))){
O0OOl101O.constellations[(_arg1 - 1)] = O0OOl101O.grade4[(_arg1 - 19)];
};
if ((((_arg1 > 24)) && ((_arg1 <= 30)))){
O0OOl101O.constellations[(_arg1 - 1)] = O0OOl101O.grade5[(_arg1 - 25)];
};
_local3 = O0OOl101O.constellations[(_arg1 - 1)][0];
_OOl0Ol11l = new O0OlO1101(_arg1, _local3);
_O1O1O0l0O = new O10O1001O(_local3);
};
_O11O0l111();
}
private function _O1l00010O(_arg1:MovieClip, _arg2:uint, _arg3:int=2):void{
TransitionManager.start(_arg1, {type:Fade, direction:_arg2, duration:_arg3, easing:Strong.easeOut});
}
private function _O0OO01lO1():void{
_OOl00OllO.stop();
_O0l1lO00l.removeChild(_OOl00OllO);
_O0O101l0O();
}
private function _O0Ol0OllO():void{
var _local1:Array;
var _local2:O100lOl0l;
_O000lOOll = "transit";
_local1 = [];
_local2 = new O100lOl0l();
if (_OOO01O100 <= 6){
_local1 = [new GlowFilter(8959, 1, 7, 8, 3, 1, true)];
};
if ((((_OOO01O100 > 6)) && ((_OOO01O100 <= 12)))){
_local1 = [new GlowFilter(0x6FE400, 1, 7, 7, 3, 1, true)];
};
if ((((_OOO01O100 > 12)) && ((_OOO01O100 <= 18)))){
_local1 = [new GlowFilter(6750207, 1, 7, 7, 3, 1, true)];
};
if ((((_OOO01O100 > 18)) && ((_OOO01O100 <= 24)))){
_local1 = [new GlowFilter(3577034, 1, 7, 7, 3, 1, true)];
};
if (_OOO01O100 > 24){
_local1 = [new GlowFilter(14504751, 1, 27, 27, 3, 1, true)];
};
_local2.starFilter = _local1;
_local2.x = 275;
_local2.y = 260;
O0OOl101O.gameBox.addChild(_local2);
_OOlOlll00(_OOO01O100);
}
private function _O11O0l111():void{
_OOl00OllO = (new (getDefinitionByName("NameMc")) as MovieClip);
_O1OO00OOO = (_OOl00OllO.getChildByName("nameTxt") as MovieClip);
_O1OO00OOO.gotoAndStop(O0OOl101O.constellations[(_OOO01O100 - 1)][1]);
_O0l1lO00l.addChild(_OOl00OllO);
_OOl00OllO.x = 275;
_OOl00OllO.y = 180;
_OOl00OllO.addFrameScript((_OOl00OllO.totalFrames - 1), _O0OO01lO1);
}
private function _O0O101l0O():void{
_O0l1lO00l.addChildAt(_O1O1O0l0O, 1);
_O0Ol00011 = (_O1O1O0l0O.getChildByName("hitSp") as Sprite);
_O1O1O0l0O.preDraw(_OOO01O100);
}
private function _OO0OOll0l():void{
_O1lO11l11.stop();
_O0l1lO00l.removeChild(_O1lO11l11);
_OOlOlll00(_OOO01O100);
}
private function _O011OO1OO():void{
_O1lO11l11 = (new (getDefinitionByName("TransitMc")) as MovieClip);
_O1lO11l11.y = 250;
_O1lO11l11.addFrameScript((_O1lO11l11.totalFrames - 1), _OO0OOll0l);
_O0l1lO00l.addChild(_O1lO11l11);
}
}
}//package O1O0OOlOO
Section 102
//Oll1Oll10 (O1O0OOlOO.Oll1Oll10)
package O1O0OOlOO {
import flash.events.*;
import flash.display.*;
import OOll0l1Ol.*;
import flash.text.*;
import O11OOl1Ol.*;
import O11O1OOlO.*;
public class Oll1Oll10 extends Sprite {
public var gamePortal:branding_aligned_center;
public var pct_txt:TextField;
private var _OO1l1OOl1:OO0l110O1;
private var _OO1OO0llO:TextField;
private var _O00O1011l:Number;
private var _O0l1llll0:Sprite;
private var _O0l1OllOl:O1O0O0llO;
public var txtMore:tran_morePuzzlegame;
public function Oll1Oll10(_arg1:Sprite=null):void{
_OO01lO0lO(_arg1);
}
private function _O10OO1OO0():void{
removeEventListener("enterFrame", _OO0l1lO00);
parent.removeChild(this);
O0OOl101O.console.loadComplete();
}
private function _OO0l1lO00(_arg1:Event):void{
_O00O1011l = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal);
_OO1OO0llO.text = (Math.floor((_O00O1011l * 100)).toString() + "%");
if (_OO1OO0llO.text == "100%"){
_OOlO01lO1();
_O10OO1OO0();
};
_OO1l1OOl1.setPos(_O00O1011l);
}
public function setLang():void{
var _local1:O1OOlllOl;
_local1 = (getChildByName("txtMore") as O1OOlllOl);
_local1.jump();
_O0l1OllOl.gotoAndStop(O1l11l10O.branding_nr);
}
private function _OO01lO0lO(_arg1:Sprite):void{
name = "loading";
_O0l1OllOl = (getChildByName("gamePortal") as O1O0O0llO);
_O0l1OllOl.id = 7;
_OO1l1OOl1 = new OO0l110O1();
addChild(_OO1l1OOl1);
_OO1l1OOl1.x = 327.6;
_OO1l1OOl1.y = 246.8;
_OO1OO0llO = (getChildByName("pct_txt") as TextField);
_arg1.addChild(this);
_O0l1llll0 = _arg1;
_OOO1O1lOl();
}
private function _OOO1O1lOl():void{
addEventListener(Event.ENTER_FRAME, _OO0l1lO00);
}
private function _OOlO01lO1():void{
if (O0OOl101O.cookie.readCookie("passedLevel") != null){
O0OOl101O.passedLevel = int(O0OOl101O.cookie.readCookie("passedLevel"));
};
if (O0OOl101O.cookie.readCookie("bestTimes") != null){
O0OOl101O.bestTimes = (O0OOl101O.cookie.readCookie("bestTimes") as Array);
};
if (O0OOl101O.cookie.readCookie("isAllPass") != null){
O0OOl101O.isAllPass = (O0OOl101O.cookie.readCookie("isAllPass") as Boolean);
};
}
}
}//package O1O0OOlOO
Section 103
//Oll1OlOOO (O1O0OOlOO.Oll1OlOOO)
package O1O0OOlOO {
import OOll0l1Ol.*;
import O11OOl1Ol.*;
import OO01000Ol.*;
public class Oll1OlOOO {
public function Oll1OlOOO():void{
}
public static function gotoWin(_arg1:O10O1001O):void{
var _local2:OO11l10ll;
if (((!((_arg1 == null))) && (!((_arg1.parent == null))))){
O0OOl101O.gameBox.removeChild(_arg1);
_arg1 = null;
O1OOOOl11.clear();
_local2 = new OO11l10ll();
O0OOl101O.gameBox.addChild(_local2);
};
}
public static function gotoLevel(_arg1:O10O1001O):void{
var _local2:OO10011ll;
if (_arg1 != null){
if (_arg1.parent != null){
O0OOl101O.gameBox.removeChild(_arg1);
};
_arg1 = null;
O1OOOOl11.clear();
_local2 = new OO10011ll();
};
}
public static function gotoReview(_arg1:String, _arg2:int):void{
var _local3:OO001O10l;
_local3 = new OO001O10l(_arg1, _arg2);
}
public static function gotoMain():void{
var _local1:O0O0OO000;
_local1 = new O0O0OO000();
}
}
}//package O1O0OOlOO
Section 104
//OO001O10l (O1O0OOlOO.OO001O10l)
package O1O0OOlOO {
import flash.events.*;
import flash.display.*;
import OOll0l1Ol.*;
import OOl00OO1O.*;
import flash.text.*;
import flash.utils.*;
import O11OOl1Ol.*;
import flash.filters.*;
public class OO001O10l extends O10O1001O {
private var _OOOlOO0OO:int;
private var _O0llOlOlO:int;
private var _O01O00Ol0:int;// = 5
private var _O101OOO0O:Ol101ll01;
private var _O0O111Oll:Ol101ll01;
private var _O1O01l1Ol:Boolean;
private var _O1Ol0llO0:Array;
private var _O0ll010l1:GlowFilter;
private var _O011OO0lO:int;
private var _OOl0l1O11:int;
private var _OOl0Ol00l:Array;
private var _OOl0O0l1l:Ol101ll01;
private var _OOOl00001:O1ll1OOlO;
private var _O11llOO00:int;
private var _O0111l10l:MovieClip;
private var _O00O00ll0:Array;
private var _O00lO0ll0:O0OlO1101;
private var _O0Ol0lO01:Ol0001Ol0;
private var _O10l101lO:Timer;
private var _OO00l0l1O:Timer;
private var _O1l1lll1O:Boolean;
private var _O0O0l00O0:OlOOlO001;
private var _OO00l00ll:Sprite;
private var _O11111011:O1O0O0llO;
private var _OO1000O1O:Sprite;
private var _OO1l0lOOO:Ol101ll01;
public function OO001O10l(_arg1:String, _arg2:int){
_O01O00Ol0 = 5;
_OO1000O1O = new Sprite();
_O0111l10l = new MovieClip();
_O1Ol0llO0 = new Array();
_OOl0Ol00l = new Array();
_O00O00ll0 = new Array();
_O0ll010l1 = new GlowFilter(0xFFFFFF, 1, 7, 7, 3, 3);
super();
name = _arg1;
curLevel = _arg2;
_O11llOO00 = O0OOl101O.timeGapArr[(_arg2 - 1)];
_O1O1110O1();
}
private function _O1l110lO1():void{
_OO00l0l1O = new Timer(1000);
_OO00l0l1O.start();
_OO00l0l1O.addEventListener(TimerEvent.TIMER, _O01OOO0l0);
}
private function _O1l10O1l0(_arg1:MouseEvent):void{
var _O001OOOO1:MovieClip;
var returnLvl:Function;
var e = _arg1;
returnLvl = function ():void{
removeChild(_O001OOOO1);
_O001OOOO1 = null;
while (O0OOl101O.gameBox.numChildren != 0) {
O0OOl101O.gameBox.removeChildAt(0);
_O00O00ll0 = null;
_OOl0Ol00l = null;
_O0Ol0lO01 = null;
_OO1000O1O = null;
starTray = null;
_OO00l00ll = null;
};
_OOO0111l1();
O0OOl101O.sndManager.stopBgMusic("GameMusic");
};
_OOOl00001.removeEvent();
_O001OOOO1 = (new (getDefinitionByName("PlayTransit")) as MovieClip);
_O001OOOO1.gotoAndPlay(57);
addChild(_O001OOOO1);
_O001OOOO1.addFrameScript((_O001OOOO1.totalFrames - 1), returnLvl);
_OO00l0l1O.removeEventListener("timer", _O01OOO0l0);
_OO00l0l1O = null;
if (_O10l101lO != null){
_O10l101lO.removeEventListener("timer", _OOO01OOlO);
_O10l101lO = null;
};
_O0O0l00O0.removeEventListener("click", _O1l10O1l0);
}
private function _O11l00110():void{
_O1l1lll1O = true;
_OO00l0l1O.stop();
_OOl0l1O11 = 0;
_O10l101lO = new Timer(_O11llOO00);
_O10l101lO.start();
_O10l101lO.addEventListener(TimerEvent.TIMER, _OOO01OOlO);
}
private function _OO1lOllO1():void{
var _local1:int;
_OOl0Ol00l = new Array();
_O1Ol0llO0 = new Array();
_local1 = 0;
while (_local1 < starTray.numChildren) {
if (starTray.getChildByName(("fake" + _local1)) != null){
_O101OOO0O = (starTray.getChildByName(("fake" + _local1)) as Ol101ll01);
_O101OOO0O.alpha = 0;
_O101OOO0O.buttonMode = false;
_O101OOO0O.mouseEnabled = false;
_O1Ol0llO0.push(_O101OOO0O);
};
if (starTray.getChildByName(("star" + _local1)) != null){
_O0O111Oll = (starTray.getChildByName(("star" + _local1)) as Ol101ll01);
_OOl0Ol00l.push(_O0O111Oll);
};
_local1++;
};
_local1 = 0;
while (_local1 < _O0llOlOlO) {
_OOl0Ol00l[_local1].buttonMode = false;
_OOl0Ol00l[_local1].removeEvents("overEvent");
_local1++;
};
_local1 = 0;
while (_local1 < (totalStar - _O0llOlOlO)) {
_O1Ol0llO0[_local1].buttonMode = false;
_O1Ol0llO0[_local1].removeEvents("overEvent");
_O1Ol0llO0[_local1].destroy();
_local1++;
};
}
private function _O00l01O0l():void{
if (_O1l1lll1O){
_O10l101lO.stop();
_O10l101lO.removeEventListener(TimerEvent.TIMER, _OOO01OOlO);
_O10l101lO = null;
_OOl0l1O11 = 0;
_O011OO0lO = 0;
if (_O1O01l1Ol == false){
_O1O01l1Ol = true;
_OOO01l0l1();
};
_OO00l0l1O.start();
};
}
private function _O0O11ll11(_arg1:Event):void{
if (_O00lO0ll0.sketch.alpha < 1){
_O00lO0ll0.sketch.alpha = (_O00lO0ll0.sketch.alpha + 0.02);
} else {
removeEventListener("enterFrame", _O0O11ll11);
};
}
private function _OOO01OOlO(_arg1:TimerEvent):void{
if (_O0Ol0lO01.notesArray[_O011OO0lO] != 0){
_OOl0Ol00l[_OOl0l1O11].playSound();
_OOl0Ol00l[_OOl0l1O11].lipping();
_OOl0l1O11++;
};
_O011OO0lO++;
if (_O011OO0lO == _O0Ol0lO01.notesArray.length){
_O00l01O0l();
_O1l1lll1O = false;
};
}
private function _O1O01llOl():void{
starTray = new MovieClip();
_O0Ol0lO01 = new Ol0001Ol0((this as O10O1001O));
_O0llOlOlO = Ol0001Ol0.starInt;
_OO1lOllO1();
}
private function _OOO0111l1():void{
Oll1OlOOO.gotoLevel(this);
}
private function _OOO01l0l1():void{
addEventListener("enterFrame", _O0O11ll11);
}
private function _OO11l0O1O():void{
var _O1100OO1O:TextFormat;
var _O1llO00l0:TextField;
var _O0001llll:TextField;
var _O00l01001:SimpleButton;
var btnListener:Function;
btnListener = function (_arg1:MouseEvent):void{
_O00l01O0l();
_O11llOO00 = int(_O0001llll.text);
};
_O1100OO1O = new TextFormat();
_O1100OO1O.align = "center";
_O1100OO1O.size = 15;
_O1100OO1O.bold = true;
_O1100OO1O.color = 3394815;
_O1llO00l0 = new TextField();
_O0001llll = new TextField();
_O00l01001 = (new (getDefinitionByName("OkBtn")) as SimpleButton);
_O0001llll.type = "input";
_O0001llll.text = O0OOl101O.timeGapArr[(curLevel - 1)].toString();
_O1llO00l0.text = (("第" + curLevel.toString()) + "关:");
_O0001llll.setTextFormat(_O1100OO1O);
_O1llO00l0.setTextFormat(_O1100OO1O);
addChild(_O1llO00l0);
addChild(_O0001llll);
addChild(_O00l01001);
_O1llO00l0.width = 60;
_O1llO00l0.height = 20;
_O0001llll.width = 40;
_O0001llll.height = 20;
_O1llO00l0.x = 120;
_O1llO00l0.y = -260;
_O0001llll.x = 180;
_O0001llll.y = -260;
_O00l01001.x = 240;
_O00l01001.y = -250;
_O0001llll.border = true;
_O0001llll.borderColor = 16763955;
_O0001llll.textColor = 0;
_O0001llll.background = true;
_O00l01001.addEventListener("click", btnListener);
}
private function _O01OOO0l0(_arg1:TimerEvent):void{
if (_OO00l0l1O.currentCount == 2){
_OOl0lO0Ol();
};
if (_OO00l0l1O.currentCount == 4){
_OOOl00001.blast();
};
if (_OO00l0l1O.currentCount == 3){
_O11l00110();
};
if (((((_OO00l0l1O.currentCount - 3) > 0)) && ((((_OO00l0l1O.currentCount - 3) % _O01O00Ol0) == 0)))){
_O11l00110();
};
}
private function _OOl0lO0Ol():void{
var _local1:int;
_OO1000O1O.alpha = 0;
_O00O00ll0 = _O0Ol0lO01.connectArray;
_OOOlOO0OO = (_O00O00ll0.length / 2);
_local1 = 0;
while (_local1 < _OOOlOO0OO) {
_OOlllO0O1(_O00O00ll0[(_local1 * 2)], _O00O00ll0[((_local1 * 2) + 1)]);
_O0Ol0lO01.correctArray[_O00O00ll0[(_local1 * 2)]][_O00O00ll0[((_local1 * 2) + 1)]] = 1;
_local1++;
};
addEventListener("enterFrame", _OO0Oll1Ol);
}
private function _O1O1110O1():void{
var _local1:int;
var _local2:int;
O0OOl101O.sndManager.playBgMusic("GameMusic");
_O00lO0ll0 = new O0OlO1101(curLevel, name);
O0OOl101O.gameBox.addChild(this);
_O11111011 = (new (getDefinitionByName("branding_aligned_center")) as O1O0O0llO);
_O1O01llOl();
_OOOl00001 = new O1ll1OOlO();
addChildAt(_OOOl00001, 0);
_OOOl00001.y = -100;
addChild(_OO1000O1O);
addChild(starTray);
starTray.alpha = 0.8;
starTray.y = -40;
_OO1000O1O.y = -40;
_OO1000O1O.alpha = 1;
if (curLevel < 6){
_local1 = 1;
_local2 = (curLevel - 1);
} else {
_local1 = (int(((curLevel - 1) / 6)) + 1);
_local2 = ((curLevel - ((_local1 - 1) * 6)) - 1);
};
_OO00l00ll = (new (getDefinitionByName("ReviewBlink")) as Sprite);
addChild(_OO00l00ll);
_O0O0l00O0 = (new (getDefinitionByName("Return")) as OlOOlO001);
_O0O0l00O0.x = -233.5;
_O0O0l00O0.y = 228.4;
_O0O0l00O0.width = (_O0O0l00O0.height = 41.5);
_O0O0l00O0.addEventListener("click", _O1l10O1l0);
addChild(_O0O0l00O0);
addChild(_O11111011);
_O11111011.x = 160;
_O11111011.y = 200;
_O11111011.id = 8;
x = 275;
y = 260;
_O1l110lO1();
}
private function _OOlllO0O1(_arg1:Number, _arg2:Number):void{
_OOl0O0l1l = (starTray.getChildByName(("star" + _arg1)) as Ol101ll01);
_OO1l0lOOO = (starTray.getChildByName(("star" + _arg2)) as Ol101ll01);
_O0111l10l.graphics.lineStyle(1, 8454137, 0.8, false, "none", "none");
_O0111l10l.graphics.moveTo(_OOl0O0l1l.x, _OOl0O0l1l.y);
_O0111l10l.graphics.lineTo(_OO1l0lOOO.x, _OO1l0lOOO.y);
_O0111l10l.filters = [_O0ll010l1];
_O0111l10l.alpha = 1;
_OO1000O1O.addChild(_O0111l10l);
}
private function _OO0Oll1Ol(_arg1:Event):void{
if (_OO1000O1O == null){
removeEventListener("enterFrame", _OO0Oll1Ol);
return;
};
if (_OO1000O1O.alpha < 1){
_OO1000O1O.alpha = (_OO1000O1O.alpha + 0.02);
} else {
removeEventListener("enterFrame", _OO0Oll1Ol);
};
}
}
}//package O1O0OOlOO
Section 105
//OO0l1O1ll (O1O0OOlOO.OO0l1O1ll)
package O1O0OOlOO {
import flash.events.*;
import flash.ui.*;
import O11O1OOlO.*;
public class OO0l1O1ll {
private var _OO000l1l1:O0O0OOO1l;
private var _OO00lOO11:ContextMenu;
private static var _OO1OO1OOO:ContextMenuItem = new ContextMenuItem((_OOl0lO11l + _O1001O0O0));
private static var _O1001O0O0:String = "www.gamesgames.com";
private static var _OOl0lO11l:String = "More Games:";
public function OO0l1O1ll(_arg1:O0O0OOO1l){
_OO00lOO11 = new ContextMenu();
super();
_OO000l1l1 = _arg1;
_OOllO1l00();
_O0ll0OO01();
}
private function _O1l00lll1(_arg1:ContextMenuEvent):void{
}
private function _OOllO1l00():void{
var _local1:ContextMenuBuiltInItems;
_OO00lOO11.hideBuiltInItems();
_local1 = _OO00lOO11.builtInItems;
_local1.print = true;
_local1.zoom = true;
_local1.quality = true;
}
private function _O0ll0OO01():void{
_OO00lOO11.customItems.push(_OO1OO1OOO);
_OO1OO1OOO.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, _O1l0l1lOO);
_OO000l1l1.contextMenu = _OO00lOO11;
}
private function _O1l0l1lOO(_arg1:ContextMenuEvent):void{
Oll01lOO0.onClickContext();
}
public static function get link():String{
return (_O1001O0O0);
}
public static function set link(_arg1:String):void{
_O1001O0O0 = _arg1;
_OO1OO1OOO.caption = (_OOl0lO11l + _O1001O0O0);
}
}
}//package O1O0OOlOO
Section 106
//OO10011ll (O1O0OOlOO.OO10011ll)
package O1O0OOlOO {
import flash.events.*;
import flash.display.*;
import OOll0l1Ol.*;
import flash.geom.*;
import flash.utils.*;
import O11OOl1Ol.*;
import O11O1OOlO.*;
import fl.motion.*;
import flash.filters.*;
public class OO10011ll {
private var _OO00O0Ol1:Array;
private var _OO001lO10:O1ll1OOlO;
private var _O0100Ol1l:Number;// = 0.5
private var _O1O01101O:String;// = ""
private var _O0lOOOlOl:O1O0O0llO;
private var _O00O0O11l:Sprite;
private var _O100O0111:MovieClip;
private var _OO0ll1ll1:uint;
private var _OOOO11l10:Matrix;
private var _O1111OOl0:uint;
private var _OOOOll0l0:int;
private var _OO01O101O:Array;
private var _O0O111l0l:int;
private var _O00001l1l:Sprite;
private var _O0OOlOlOO:int;
private var _OO11O1lOO:Matrix;
private var _O0110OlOO:Boolean;
private var _O11OOOlO1:MovieClip;
private var _OO0Ol0lO0:MovieClip;
private var _O100110l0:Sprite;
private var _OO1100lOO:Sprite;
private var _O00OOOOl1:Number;// = 25
private var _O0Ol1001l:int;
private var _OO011ll1l:int;
private var _O000001O1:int;
private var _O1OOO1OO0:Array;
private var _O1O0l10l1:MovieClip;
private var _O11O0ll1O:MovieClip;
private var _OOOO10O10:Boolean;
private var _O1OlOl00l:Sprite;
private var _O10l0ll00:int;// = 30
private var _O11O0O0O1:MovieClip;
public static var axies:Array = [];
public static var curGrp:int;
public static var xData:Array = [];
public static var isBlasted:Boolean;
private static var _O0l01llll:Boolean;
public static var lockArr:Array = new Array(30);
public static var runTime:int;
public function OO10011ll():void{
_OOOO11l10 = new Matrix(1, 0, 0, 1, 275, 260);
_OO11O1lOO = new Matrix(1, 0, 0, 1, 0, 0);
_O1OOO1OO0 = [];
_OO01O101O = [];
_O1O01101O = "";
_OO00O0Ol1 = [];
_O100110l0 = new Sprite();
_O10l0ll00 = 30;
_O0100Ol1l = 0.5;
_O00OOOOl1 = 25;
super();
_O111Ol1l1();
_O01l010OO();
_O001lO011();
_O1l110111();
_O01l011ll();
_O0l0001Ol();
}
public function unLock(_arg1:int):void{
lockArr[(_arg1 - 1)] = true;
}
private function _O0OOOO10l():void{
O0OOl101O.sndManager.stopBgMusic("LevelMsc");
_O1OlOl00l.removeEventListener("enterFrame", _O01ll01l0);
_O1OlOl00l.parent.removeChild(_O1OlOl00l);
_O1OlOl00l = null;
}
private function _O111O11l1(_arg1:Event):void{
var _local2:Sprite;
_O1111OOl0 = 0;
while (_O1111OOl0 < 6) {
_local2 = (_O00001l1l.getChildAt(_O1111OOl0) as Sprite);
if (_local2 != null){
_local2.x = (xData[_O000001O1] * Math.cos(_O1OOO1OO0[_O1111OOl0]));
_local2.y = (xData[_O000001O1] * Math.sin(_O1OOO1OO0[_O1111OOl0]));
};
_O1111OOl0++;
};
if (_O000001O1 == (_O0Ol1001l - 1)){
_O00001l1l.addEventListener("click", _O11Ol0l00);
_O00001l1l.removeEventListener("enterFrame", _O111O11l1);
_O0110OlOO = false;
if (((!((_O11O0ll1O == null))) && ((_OOOOll0l0 == 1)))){
_O11O0ll1O.visible = true;
_O11O0ll1O.x = 360;
_O11O0ll1O.y = 30;
};
_O1111OOl0 = 0;
while (_O1111OOl0 < 6) {
if (lockArr[(((_OOOOll0l0 - 1) * 6) + _O1111OOl0)] == true){
_local2 = (_O00001l1l.getChildAt(_O1111OOl0) as Sprite);
_local2.addEventListener("rollOver", _O01l0OOOl, false, 0, true);
_local2.addEventListener("rollOut", _OOl10OlOO, false, 0, true);
};
_O1111OOl0++;
};
return;
};
_O000001O1++;
}
private function _O1OOOOOl0(_arg1:MouseEvent):void{
if (_arg1.target.name.indexOf("group") != -1){
O0OOl101O.sndManager.playSound("select_touch");
};
}
private function _OO1llO1l0(_arg1:String):void{
var trPlayEnd:Function;
var action = _arg1;
trPlayEnd = function ():void{
var _local1:Ol0001Oll;
_O0OOOO10l();
if (action == "review"){
curGrp = _OOOOll0l0;
Oll1OlOOO.gotoReview(O0OOl101O[("grade" + _OOOOll0l0)][(_O0OOlOlOO - 1)][0], (((_OOOOll0l0 - 1) * 6) + _O0OOlOlOO));
};
if (action == "menu"){
OOl1010l0.refresh();
Oll1OlOOO.gotoMain();
};
if (action == "play"){
curGrp = _OOOOll0l0;
removeChildren();
_local1 = new Ol0001Oll(_O0O111l0l);
};
};
_O1OlOl00l.removeEventListener("click", _O001l11Ol);
trPlayEnd();
}
private function _O01l010OO():void{
var _local1:int;
var _local2:Sprite;
var _local3:Number;
var _local4:Number;
_local1 = 0;
while (_local1 < 30) {
_local2 = (new (getDefinitionByName("BackStar")) as Sprite);
_local2.name = ("bgStar" + _local1);
if (_local1 <= 15){
_local2.x = ((Math.random() * 180) + 280);
_local2.y = ((Math.random() * 180) + 280);
};
if (_local1 > 15){
_local2.x = (Math.random() * 550);
_local2.y = (Math.random() * 520);
};
_local4 = Point.distance(new Point(_local2.x, _local2.y), new Point(275, 260));
_local3 = ((_local4 / 300) + 0.2);
if (_local3 > 1){
_local3 = 1;
};
_local2.scaleX = (_local2.scaleY = _local3);
_OO00O0Ol1.push(((_local4 * Math.sqrt(_local4)) / 40000));
_O1OlOl00l.addChild(_local2);
_local1++;
};
_O1OlOl00l.addEventListener("enterFrame", _O01ll01l0);
}
private function _O001lOlOl(_arg1:int):void{
_O0O111l0l = _arg1;
_OO1llO1l0("play");
}
private function _O11Ol0l00(_arg1:MouseEvent):void{
var _local2:String;
var _local3:Sprite;
var _local4:Point;
if (_O0110OlOO){
return;
};
_local2 = _arg1.target.name;
if (_local2.indexOf("l") == 0){
_O0OOlOlOO = int(_local2.charAt(1));
if (lockArr[(((_OOOOll0l0 - 1) * 6) + (_O0OOlOlOO - 1))]){
if (_OO011ll1l == 0){
_OO011ll1l = _O0OOlOlOO;
_OOOO10O10 = false;
};
if (_O00O0O11l != null){
_O00O0O11l.addEventListener("rollOut", _OOl10OlOO, false, 0, true);
};
_O00O0O11l = (_O00001l1l.getChildByName(_arg1.target.parent.name) as Sprite);
_O00O0O11l.removeEventListener("rollOut", _OOl10OlOO);
_local3 = (_OO01O101O[((((_OOOOll0l0 - 1) * 6) + _O0OOlOlOO) - 1)] as Sprite);
_O1OlOl00l.addChild(_O100O0111);
_O100O0111["bstTimeTxt"].text = O0OOl101O.bestTimes[(((_OOOOll0l0 - 1) * 6) + (_O0OOlOlOO - 1))].toString();
_O1O01101O = _local3.name;
_OO0Ol0lO0.visible = false;
if (((((((_OOOOll0l0 - 1) * 6) + (_O0OOlOlOO - 1)) == (O0OOl101O.passedLevel - 1))) && ((O0OOl101O.isAllPass == false)))){
_O100O0111.alpha = 1;
_O100O0111["bestTimeBtn"].alpha = 0.4;
_O100O0111["reviewBtn"].enable = false;
_O100O0111["reviewBtn"].alpha = 0.5;
_O100O0111["bstTimeTxt"].alpha = 0.5;
_O100O0111["playLevelBtn"].enable = true;
_O100O0111["playLevelBtn"].alpha = 1;
_O100O0111["bstTimeTxt"].text = "999.99";
} else {
_O100O0111.alpha = 1;
_O100O0111["reviewBtn"].enable = true;
_O100O0111["playLevelBtn"].enable = true;
_O100O0111["bestTimeBtn"].alpha = 1;
_O100O0111["reviewBtn"].alpha = 1;
_O100O0111["bstTimeTxt"].alpha = 1;
_O100O0111["playLevelBtn"].alpha = 1;
};
_local4 = _local3.localToGlobal(new Point(0, 0));
_O100O0111.x = _local4.x;
_O100O0111.y = _local4.y;
};
};
}
private function _O01l0OOOl(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
_local2 = _arg1.target.x;
_local3 = _arg1.target.y;
if (_arg1.target.name == _O1O01101O){
_OO0Ol0lO0.visible = false;
return;
};
if (_arg1.target.name == "playLevelBtn"){
return;
};
O0OOl101O.sndManager.playSound("select_touch");
_OO0Ol0lO0.visible = true;
_arg1.target.addChildAt(_OO0Ol0lO0, 0);
_arg1.target.x = _local2;
_arg1.target.y = _local3;
}
private function _OOl1Ol1l0():void{
if (_O11O0ll1O != null){
_O11O0ll1O.visible = false;
};
}
private function _O01ll01l0(_arg1:Event):void{
var _local2:int;
var _local3:Matrix;
var _local4:Sprite;
while (_local2 < 30) {
_local3 = new Matrix();
_local4 = (_O1OlOl00l.getChildByName(("bgStar" + _local2)) as Sprite);
_local3.createBox(_local4.scaleX, _local4.scaleY, 0, _local4.x, _local4.y);
MatrixTransformer.rotateAroundExternalPoint(_local3, 275, 260, -(_OO00O0Ol1[_local2]));
_local4.transform.matrix = _local3;
_local2++;
};
}
private function _O11l100ll():void{
var _local1:int;
_local1 = 0;
while (_local1 < 30) {
if (_local1 < O0OOl101O.passedLevel){
lockArr[_local1] = true;
} else {
lockArr[_local1] = false;
};
_local1++;
};
}
private function _O1llllO11():void{
if (_O1OlOl00l.getChildByName("guideTxt") == null){
_O1OlOl00l.addChild(_O11O0ll1O);
};
_O11O0ll1O.visible = true;
_O11O0ll1O.x = 149;
_O11O0ll1O.y = 150;
}
private function _OO0lO111O():void{
var enHandler:Function;
enHandler = function (_arg1:Event):void{
_O1OlOl00l.alpha = (_O1OlOl00l.alpha - 0.1);
if (_O1OlOl00l.alpha <= 0){
_O1OlOl00l.removeEventListener("enterFrame", enHandler);
_OO1llO1l0("menu");
};
};
_O1OlOl00l.addEventListener("enterFrame", enHandler);
}
private function _O10l1110O(_arg1:Event):void{
var _local2:Sprite;
if (_O000001O1 == 0){
_O00001l1l.removeEventListener("enterFrame", _O10l1110O);
_O1OlOl00l.removeChild(_O00001l1l);
_O00001l1l = null;
_O11OOOlO1.play();
_O11O0O0O1.visible = true;
return;
};
_O1111OOl0 = 0;
while (_O1111OOl0 < 6) {
_local2 = (_O00001l1l.getChildAt(_O1111OOl0) as Sprite);
if (_local2 != null){
_local2.x = (xData[_O000001O1] * Math.cos(_O1OOO1OO0[_O1111OOl0]));
_local2.y = (xData[_O000001O1] * Math.sin(_O1OOO1OO0[_O1111OOl0]));
};
_O1111OOl0++;
};
_O000001O1--;
}
function removeChildren():void{
_O11OOOlO1.play();
_O11O0O0O1.visible = true;
if (_O00001l1l.parent != null){
_O00001l1l.parent.removeChild(_O00001l1l);
_O00001l1l = null;
};
}
private function _OOO01O10l(_arg1:MouseEvent):void{
if (_arg1.currentTarget.enable == false){
_arg1.currentTarget.gotoAndStop(1);
return;
};
if (_arg1.currentTarget.alpha < 1){
_arg1.currentTarget.gotoAndStop(1);
return;
};
if (_O0OOlOlOO == 2){
switch (O0OOl101O.langArr[O1l11l10O.Language]){
case "es":
_arg1.currentTarget.gotoAndStop(3);
break;
case "id":
_arg1.currentTarget.gotoAndStop(3);
break;
case "jp":
_arg1.currentTarget.gotoAndStop(3);
break;
case "pt":
_arg1.currentTarget.gotoAndStop(3);
break;
case "ru":
_arg1.currentTarget.gotoAndStop(3);
break;
case "se":
_arg1.currentTarget.gotoAndStop(3);
break;
default:
_arg1.currentTarget.gotoAndStop(2);
break;
};
};
}
private function _O0l0001Ol():void{
switch (curGrp){
case 0:
break;
case 1:
_O11OOOlO1.gotoAndStop(15);
if (((!((_O11O0ll1O == null))) && ((O0OOl101O.passedLevel == 1)))){
_O1OlOl00l.addChild(_O11O0ll1O);
_O11O0ll1O.visible = true;
_O11O0ll1O.x = 370;
_O11O0ll1O.y = 20;
};
break;
case 2:
_O11OOOlO1.gotoAndStop(65);
break;
case 3:
_O11OOOlO1.gotoAndStop(90);
break;
case 4:
_O11OOOlO1.gotoAndStop(115);
break;
case 5:
_O11OOOlO1.gotoAndStop(40);
break;
default:
break;
};
if (curGrp != 0){
_O0OO1l1ll(curGrp, -1);
_OO0011lOO(false);
_OOOOll0l0 = curGrp;
_O11O0O0O1.visible = false;
};
}
private function _OOl10OlOO(_arg1:MouseEvent):void{
if (_OO0Ol0lO0.parent != null){
_OO0Ol0lO0.parent.removeChild(_OO0Ol0lO0);
};
if (_arg1.target.getChildByName("halo") != null){
_arg1.target.removeChild(_OO0Ol0lO0);
};
if (((!((_O00O0O11l == null))) && (!((_arg1.target.getChildByName("halo") == null))))){
_arg1.target.removeChild(_OO0Ol0lO0);
};
}
private function _O001l11Ol(_arg1:MouseEvent):void{
var _O0010O001:String;
var _O000l1101:String;
var playAnimation:Function;
var _OOlO1lOOO:Point;
var _O010Ol100:int;
var e = _arg1;
playAnimation = function (_arg1:Event):void{
if (_O11OOOlO1.currentLabel == _O000l1101){
_O0OO1l1ll(_OOOOll0l0, 1);
_O11OOOlO1.stop();
_O1OlOl00l.removeEventListener("enterFrame", playAnimation);
};
};
_O000l1101 = "0";
_O0010O001 = e.target.name;
if (e.target.name == "nebula"){
if (_O100O0111.parent != null){
_O100O0111.parent.removeChild(_O100O0111);
_OO011ll1l = 0;
};
};
if (_O0010O001 == "thelock"){
if (_O0110OlOO){
return;
};
_OOOO10O10 = true;
_OO011ll1l = 0;
_OOlO1lOOO = e.target.localToGlobal(new Point(0, 0));
_O1OlOl00l.addChild(_O100O0111);
_O100O0111.x = _OOlO1lOOO.x;
_O100O0111.y = _OOlO1lOOO.y;
_O100O0111.alpha = 0.5;
_O100O0111["bestTimeBtn"].alpha = 1;
_O100O0111["reviewBtn"].alpha = 1;
_O100O0111["bstTimeTxt"].alpha = 1;
_O100O0111["bstTimeTxt"].text = "999.99";
_O100O0111["playLevelBtn"].enable = false;
_O100O0111["reviewBtn"].enable = false;
};
if (_O0010O001.indexOf("group") != -1){
_O11O0O0O1.visible = false;
if (_O11O0ll1O != null){
_OOl1Ol1l0();
};
if (_O0010O001 == "group1"){
_O11OOOlO1.gotoAndPlay(2);
_O000l1101 = "1";
_OOOOll0l0 = 1;
};
if (_O0010O001 == "group2"){
_O11OOOlO1.gotoAndPlay(53);
_O000l1101 = "2";
_OOOOll0l0 = 2;
};
if (_O0010O001 == "group3"){
_O11OOOlO1.gotoAndPlay(78);
_O000l1101 = "3";
_OOOOll0l0 = 3;
};
if (_O0010O001 == "group4"){
_O11OOOlO1.gotoAndPlay(103);
_O000l1101 = "4";
_OOOOll0l0 = 4;
};
if (_O0010O001 == "group5"){
_O11OOOlO1.gotoAndPlay(28);
_O000l1101 = "5";
_OOOOll0l0 = 5;
};
_O1OlOl00l.addEventListener("enterFrame", playAnimation);
};
if (e.target.name == "playLevelBtn"){
if (((_OOOO10O10) || ((_OO011ll1l == 0)))){
return;
};
if (_O11O0ll1O != null){
_O11O0ll1O.stop();
_O1OlOl00l.removeChild(_O11O0ll1O);
_O11O0ll1O = null;
};
_O1O1O1lOl("play");
};
if (e.target.name == "reviewBtn"){
if (((_OOOO10O10) || ((_OO011ll1l == 0)))){
return;
};
if ((((O0OOl101O.passedLevel == 30)) && ((O0OOl101O.isAllPass == true)))){
_O1O1O1lOl("review");
return;
};
if ((((_OOOOll0l0 - 1) * 6) + (_O0OOlOlOO - 1)) != (O0OOl101O.passedLevel - 1)){
_O1O1O1lOl("review");
};
};
if ((((e.target.name == "backBtn")) && ((e.target.alpha == 1)))){
if (_O0110OlOO){
return;
};
if (_O11O0ll1O != null){
_OOl1Ol1l0();
};
if (_O1OlOl00l.getChildByName("playLevelBtn") != null){
_O1OlOl00l.removeChild(_O100O0111);
};
if (_OO0Ol0lO0.visible == false){
_OO0Ol0lO0.visible = true;
};
if (_OO0Ol0lO0.parent != null){
_OO0Ol0lO0.parent.removeChild(_OO0Ol0lO0);
};
if (_O00O0O11l != null){
_O00O0O11l = null;
};
curGrp = 0;
_OO011ll1l = 0;
_O0OO1l1ll(_OOOOll0l0, 0);
_O1O01101O = "";
e.target.visible = false;
};
if (e.target.name == "goMenuBtn"){
_O010Ol100 = _O11OOOlO1.currentFrame;
if ((((((((((((_O010Ol100 == 1)) || ((_O010Ol100 == 27)))) || ((_O010Ol100 == 52)))) || ((_O010Ol100 == 77)))) || ((_O010Ol100 == 102)))) || ((_O010Ol100 == 127)))){
_OO0lO111O();
curGrp = 0;
};
};
if (e.target.name == "goReviewBtn"){
_O00001l1l = null;
_O11OOOlO1.gotoAndStop(1);
_OO1llO1l0("review");
};
if (e.target.name.indexOf("nebula") != -1){
_O1O01101O = "";
if (_OO0Ol0lO0 != null){
_OO0Ol0lO0.visible = false;
};
if (_O00O0O11l != null){
_O00O0O11l.addEventListener("rollOut", _OOl10OlOO, false, 0, true);
};
};
}
private function _O1l110111():void{
_O1OlOl00l.addEventListener("click", _O001l11Ol, false, 0, true);
_O1OlOl00l.addEventListener("mouseOver", _O1OOOOOl0, false, 0, true);
}
private function _O01l011ll():void{
var _local1:Sprite;
var _local2:Sprite;
var _local3:MovieClip;
_O100110l0 = (new (getDefinitionByName("vectorBg")) as Sprite);
_O1111OOl0 = 0;
while (_O1111OOl0 < 5) {
_OO0ll1ll1 = 0;
while (_OO0ll1ll1 < 6) {
if (lockArr[((_O1111OOl0 * 6) + _OO0ll1ll1)] == true){
_local1 = new Sprite();
_local1.graphics.beginFill(0xFFFFFF, 0);
_local1.graphics.drawCircle(0, 0, 170);
_local1.graphics.endFill();
_local1.cacheAsBitmap = true;
_local1.name = ("l" + (_OO0ll1ll1 + 1).toString());
if ((((((_O1111OOl0 * 6) + _OO0ll1ll1) == (O0OOl101O.passedLevel - 1))) && ((O0OOl101O.isAllPass == false)))){
_local3 = (new (getDefinitionByName("LvlMask")) as MovieClip);
_local3.x = (_local3.y = 0);
_local3.gotoAndStop((_O1111OOl0 + 1));
_local3.buttonMode = true;
_local3.blendMode = BlendMode.ADD;
_local3.alpha = 0.85;
_local3.scaleX = (_local3.scaleY = 0.48);
_local3.filters = [new GlowFilter(0xFFFFFF, 0.8, 2, 2)];
_local1.scaleX = (_local1.scaleY = 0.6);
_local3.addChild(_local1);
_OO01O101O.push(_local3);
} else {
_local2 = (_O100110l0.getChildByName((O0OOl101O[("grade" + (_O1111OOl0 + 1))][_OO0ll1ll1][0] + "_bg")) as Sprite);
_local2.x = (_local2.y = 0);
_local2.buttonMode = true;
_local2.addChild(_local1);
_local2.scaleX = (_local2.scaleY = 0.45);
if ((((_O1111OOl0 == 4)) && ((((_OO0ll1ll1 == 4)) || ((_OO0ll1ll1 == 5)))))){
_local2.scaleX = (_local2.scaleY = 0.4);
};
_OO01O101O.push(_local2);
};
};
if (lockArr[((_O1111OOl0 * 6) + _OO0ll1ll1)] == false){
_local3 = (new (getDefinitionByName("HideSign")) as MovieClip);
_local3.name = "thelock";
_local3.x = (_local3.y = 0);
_local3.gotoAndStop((_O1111OOl0 + 1));
_local3.buttonMode = true;
_local3.blendMode = BlendMode.ADD;
_local3.mouseChildren = false;
_OO01O101O.push(_local3);
};
_OO0ll1ll1++;
};
_O1111OOl0++;
};
_O1O0lOlOO();
}
private function _O1O0lOlOO():void{
_O1111OOl0 = 0;
while (_O1111OOl0 < 6) {
_O1OOO1OO0.push((((Math.PI * 2) / 3) + ((Math.PI * _O1111OOl0) / 3)));
_O1111OOl0++;
};
xData = [];
xData[0] = 0;
_O0Ol1001l = Math.floor((_O0100Ol1l * _O10l0ll00));
_O1111OOl0 = 1;
while (_O1111OOl0 < _O0Ol1001l) {
xData[_O1111OOl0] = (xData[(_O1111OOl0 - 1)] + (_O00OOOOl1 * Math.cos(_O1OOO1OO0[0])));
_O1111OOl0++;
};
}
private function _O111Ol1l1():void{
_OO1100lOO = O0OOl101O.gameBox;
_O1OlOl00l = (new (getDefinitionByName("levelMenu")) as Sprite);
_O0lOOOlOl = (_O1OlOl00l.getChildByName("gameportal") as O1O0O0llO);
_O0lOOOlOl.id = 9;
_O11OOOlO1 = (_O1OlOl00l.getChildByName("chooseGroup") as MovieClip);
_O11OOOlO1.stop();
_O11O0O0O1 = (_O1OlOl00l.getChildByName("goMenuBtn") as MovieClip);
_O100O0111 = (new (getDefinitionByName("playLevelMc")) as MovieClip);
_O100O0111.name = "playLevelBtn";
_O100O0111["playLevelBtn"].addEventListener("rollOver", _OOO01O10l, false, 0, true);
_O100O0111["reviewBtn"].addEventListener("rollOver", _OOO01O10l, false, 0, true);
_OO0Ol0lO0 = (new (getDefinitionByName("GoldPlate")) as MovieClip);
_OO0Ol0lO0.mouseChildren = false;
_OO0Ol0lO0.mouseEnabled = false;
_OO1100lOO.addChild(_O1OlOl00l);
_O1OlOl00l.x = 0;
_O1OlOl00l.y = 0;
_O11l100ll();
if (O0OOl101O.passedLevel == 1){
_O11O0ll1O = (new (getDefinitionByName("ClickGuide")) as MovieClip);
if (curGrp == 0){
_O1llllO11();
};
};
}
private function _O001lO011(_arg1:int=1):void{
var trPlayEnd:Function;
var trPlayMiddle:Function;
var dr = _arg1;
trPlayEnd = function ():void{
_O1O0l10l1.stop();
if (_O1O0l10l1.parent != null){
_O1O0l10l1.parent.removeChild(_O1O0l10l1);
_O1O0l10l1 = null;
};
};
trPlayMiddle = function ():void{
O0OOl101O.sndManager.playBgMusic("LevelMsc");
_O1O0l10l1.stop();
if (_O1O0l10l1.parent != null){
_O1O0l10l1.parent.removeChild(_O1O0l10l1);
_O1O0l10l1 = null;
};
};
_O1O0l10l1 = (new (getDefinitionByName("TransRect")) as MovieClip);
_O1O0l10l1.x = 275;
_O1O0l10l1.y = 260;
O0OOl101O.gameBox.addChild(_O1O0l10l1);
if (dr == 1){
_O1O0l10l1.addFrameScript(27, trPlayMiddle);
} else {
_O1O0l10l1.gotoAndPlay(29);
_O1O0l10l1.addFrameScript((_O1O0l10l1.totalFrames - 1), trPlayEnd);
};
}
private function _OO0011lOO(_arg1:Boolean):void{
_O1111OOl0 = 0;
while (_O1111OOl0 < _O11OOOlO1.numChildren) {
if ((_O11OOOlO1.getChildAt(_O1111OOl0) is SimpleButton)){
if (_O11OOOlO1.getChildAt(_O1111OOl0).name != "backBtn"){
_O11OOOlO1.getChildAt(_O1111OOl0).visible = _arg1;
};
};
_O1111OOl0++;
};
}
private function _O1O1O1lOl(_arg1:String):void{
var _O01Oll010:MovieClip;
var _O1OlOO1OO:MovieClip;
var childPlayEnd:Function;
var whiteEnd:Function;
var _st = _arg1;
childPlayEnd = function ():void{
_O1OlOO1OO.stop();
_O01Oll010.gotoAndPlay(2);
};
whiteEnd = function ():void{
_O01Oll010.stop();
if (_O01Oll010.parent != null){
_O01Oll010.parent.removeChild(_O01Oll010);
_O01Oll010 = null;
};
if (_st == "play"){
if (lockArr[(((_OOOOll0l0 - 1) * 6) + (_O0OOlOlOO - 1))]){
_O001lOlOl((((_OOOOll0l0 - 1) * 6) + _O0OOlOlOO));
};
};
if (_st == "review"){
if (lockArr[(((_OOOOll0l0 - 1) * 6) + (_O0OOlOlOO - 1))]){
_OO1llO1l0("review");
};
};
};
_O01Oll010 = (new (getDefinitionByName("White")) as MovieClip);
_O1OlOO1OO = (_O01Oll010.getChildByName("blink") as MovieClip);
_O01Oll010.stop();
_O1OlOO1OO.addFrameScript((_O1OlOO1OO.totalFrames - 1), childPlayEnd);
_O01Oll010.x = 275;
_O01Oll010.y = 260;
O0OOl101O.gameBox.addChild(_O01Oll010);
_O01Oll010.addFrameScript((_O01Oll010.totalFrames - 1), whiteEnd);
}
private function _O0OO1l1ll(_arg1:int, _arg2:int):void{
if (_arg2 != 0){
_O00001l1l = new Sprite();
_O1OlOl00l.addChild(_O00001l1l);
_O00001l1l.x = 275;
_O00001l1l.y = 260;
};
if (_arg2 == 0){
if (_O000001O1 == 0){
_O000001O1 = (_O0Ol1001l - 1);
};
_O00001l1l.removeEventListener("click", _O11Ol0l00);
_O0110OlOO = true;
_O00001l1l.addEventListener("enterFrame", _O10l1110O);
};
if (_arg2 == 1){
_O1111OOl0 = 0;
while (_O1111OOl0 < 6) {
_O00001l1l.addChild(_OO01O101O[(((_arg1 - 1) * 6) + _O1111OOl0)]);
_O1111OOl0++;
};
_O0110OlOO = true;
_O00001l1l.addEventListener("enterFrame", _O111O11l1);
};
if (_arg2 == -1){
if (((!((_O11O0ll1O == null))) && ((_arg1 == 1)))){
_O11O0ll1O.visible = true;
_O11O0ll1O.x = 375;
_O11O0ll1O.y = 20;
};
_O1111OOl0 = 0;
while (_O1111OOl0 < 6) {
_O00001l1l.addChild(_OO01O101O[(((_arg1 - 1) * 6) + _O1111OOl0)]);
if (curGrp != 0){
_OO01O101O[(((_arg1 - 1) * 6) + _O1111OOl0)].x = (xData[(xData.length - 1)] * Math.cos(_O1OOO1OO0[_O1111OOl0]));
_OO01O101O[(((_arg1 - 1) * 6) + _O1111OOl0)].y = (xData[(xData.length - 1)] * Math.sin(_O1OOO1OO0[_O1111OOl0]));
};
if (lockArr[(((_arg1 - 1) * 6) + _O1111OOl0)] == true){
_O00001l1l.getChildAt(_O1111OOl0).addEventListener("rollOver", _O01l0OOOl, false, 0, true);
_O00001l1l.getChildAt(_O1111OOl0).addEventListener("rollOut", _OOl10OlOO, false, 0, true);
};
_O1111OOl0++;
};
_O00001l1l.addEventListener("click", _O11Ol0l00);
};
}
private function _OOl0l1OOO(_arg1:Event):void{
var _local2:Sprite;
MatrixTransformer.rotateAroundInternalPoint(_OOOO11l10, 0, 0, 0.05);
_O00001l1l.transform.matrix = _OOOO11l10;
_O1111OOl0 = 0;
while (_O1111OOl0 < 6) {
_local2 = (_O00001l1l.getChildAt(_O1111OOl0) as Sprite);
_OO11O1lOO = new Matrix(_local2.scaleX, 0, 0, _local2.scaleY, _local2.x, _local2.y);
MatrixTransformer.rotateAroundInternalPoint(_OO11O1lOO, 0, 0, 0.05);
_local2.transform.matrix = _OO11O1lOO;
if (_local2.getChildByName("pannel") != null){
_local2.getChildByName("pannel").transform.matrix = _OO11O1lOO;
};
_O1111OOl0++;
};
}
}
}//package O1O0OOlOO
Section 107
//OO11l10ll (O1O0OOlOO.OO11l10ll)
package O1O0OOlOO {
import flash.events.*;
import flash.display.*;
import OOll0l1Ol.*;
import flash.utils.*;
import O11OOl1Ol.*;
import O11O1OOlO.*;
import OO01000Ol.*;
public class OO11l10ll extends Sprite {
public var gamePortal:branding_aligned_center;
private var _O010l00l0:O1O0O0llO;
private var _O0l1lO00l:Sprite;
public var toMenu:toMenubtn;
private var _OO00l0OlO:MovieClip;
public function OO11l10ll(){
_O1O0011Ol();
_OOO101010();
}
private function _O0l01100l():void{
_O0l1lO00l.removeEventListener("click", _O0OOOO0O1);
}
private function _O1OOOO0l0():void{
removeChild(_OO00l0OlO);
}
private function _O1O0011Ol():void{
_O010l00l0 = (getChildByName("gamePortal") as O1O0O0llO);
_O010l00l0.id = 10;
O0OOl101O.sndManager.playBgMusic("WinMusic");
_OO00l0OlO = (new (getDefinitionByName("TransRect")) as MovieClip);
addChild(_OO00l0OlO);
_OO00l0OlO.x = 275;
_OO00l0OlO.y = 260;
Ol00OOOll.play(_OO00l0OlO, 1, 28, _O1OOOO0l0);
_O0l1lO00l = (getChildByName("toMenu") as Sprite);
}
private function _OOO101010():void{
_O0l1lO00l.addEventListener("click", _O0OOOO0O1, false, 0, true);
}
private function _O0OOOO0O1(_arg1:MouseEvent):void{
addChild(_OO00l0OlO);
_OO00l0OlO.x = 275;
_OO00l0OlO.y = 260;
Ol00OOOll.play(_OO00l0OlO, _OO00l0OlO.currentFrame, _OO00l0OlO.totalFrames, _OOO110011);
}
private function _OOO110011():void{
if (O1l11l10O.branding_nr == 2){
OOl1010l0.refresh();
};
O0OOl101O.sndManager.stopBgMusic("WinMusic");
OO10011ll.curGrp = 0;
_O1OOOO0l0();
_OO00l0OlO = null;
O0OOl101O.gameBox.removeChild(this);
_O0l01100l();
Oll1OlOOO.gotoMain();
}
}
}//package O1O0OOlOO
Section 108
//OlO0l0110 (O1O1OOl0O.OlO0l0110)
package O1O1OOl0O {
import flash.events.*;
import OOll0l1Ol.*;
import flash.utils.*;
import flash.media.*;
public class OlO0l0110 {
private var _O110ll01l:Array;
private var _O1OO01Oll:SoundChannel;
public var soundOn:Boolean;// = true
private var _O1lO00Ol1:Array;
private var _OOOO1ll0O:int;
private var _OOl1OOOOO:Sound;
private var _O11O0O111:Array;
private var _O0OlOlO10:Sound;
private var _OOOl010O1:Sound;
private var _O1l11Olll:int;// = 30
private var _O0111O1lO:uint;// = 213
private var _OO10lllO0:SoundTransform;
public var musicOn:Boolean;// = true
private var _O1O1101O0:uint;// = 275
private var _O0OOO1lO1:Object;
private var _O1Ol001lO:SoundChannel;
private var _OOl11l1lO:SoundTransform;
public function OlO0l0110():void{
soundOn = true;
musicOn = true;
_O1O1101O0 = 275;
_O0111O1lO = 213;
_O110ll01l = [];
_O11O0O111 = [];
_O1lO00Ol1 = [];
_OO10lllO0 = new SoundTransform();
_OOl11l1lO = new SoundTransform();
_O1l11Olll = 30;
super();
}
public function playSound(_arg1:String, _arg2:Number=0.5, _arg3:uint=0):void{
var _name = _arg1;
var _vol = _arg2;
var _time = _arg3;
try {
if (soundOn){
if (_O11O0O111[_name] != null){
_O11O0O111[_name]["sndChannel"] = _O11O0O111[_name]["snd"].play(0, _time, new SoundTransform(_vol));
} else {
_O0OOO1lO1 = new Object();
_OOl1OOOOO = new (getDefinitionByName(_name));
_O1Ol001lO = _OOl1OOOOO.play(0, _time);
_OO10lllO0.volume = _vol;
_O1Ol001lO.soundTransform = _OOl11l1lO;
_O0OOO1lO1["snd"] = _OOl1OOOOO;
_O0OOO1lO1["sndChannel"] = _O1Ol001lO;
_O0OOO1lO1["sndTrans"] = _OO10lllO0;
_O11O0O111[_name] = _O0OOO1lO1;
};
};
} catch(e:Error) {
};
}
public function playStarSound(_arg1:Ol101ll01, _arg2:String):void{
var _local3:Number;
var _local4:Number;
if (soundOn){
_local3 = 0.65;
if (_arg1.x > 0){
_local4 = (_arg1.x / _O1O1101O0);
} else {
_local4 = (_arg1.x / _O1O1101O0);
};
if (_O1lO00Ol1[_arg2] != null){
_O1lO00Ol1[_arg2]["sndChannel"] = _O1lO00Ol1[_arg2]["snd"].play(0, 0);
_O1lO00Ol1[_arg2]["sndTrans"].volume = _local3;
_O1lO00Ol1[_arg2]["sndTrans"].pan = _local4;
_O1lO00Ol1[_arg2]["sndChannel"].soundTransform = _O1lO00Ol1[_arg2]["sndTrans"];
} else {
_O0OOO1lO1 = new Object();
_O0OOO1lO1["snd"] = new (getDefinitionByName(_arg2));
_O0OOO1lO1["sndChannel"] = new SoundChannel();
_O0OOO1lO1["sndTrans"] = new SoundTransform();
_O0OOO1lO1["sndTrans"].volume = _local3;
_O0OOO1lO1["sndTrans"].pan = _local4;
_O0OOO1lO1["sndChannel"] = _O0OOO1lO1["snd"].play(0, 0, _O0OOO1lO1["sndTrans"]);
_O1lO00Ol1[_arg2] = _O0OOO1lO1;
};
};
}
public function playBgMusic(_arg1:String, _arg2:Number=0.5, _arg3:uint=2147483647):void{
var _local4:SoundTransform;
if (musicOn){
if (_O110ll01l[_arg1] != null){
_O110ll01l[_arg1]["mscChannel"] = _O110ll01l[_arg1]["msc"].play(0, _arg3);
_O110ll01l[_arg1]["mscChannel"].soundTransform = new SoundTransform(_arg2);
} else {
_local4 = new SoundTransform(_arg2);
_O0OOO1lO1 = new Object();
_O0OlOlO10 = new (getDefinitionByName(_arg1));
_O1OO01Oll = _O0OlOlO10.play(0, _arg3);
_O1OO01Oll.soundTransform = _local4;
_O0OOO1lO1["msc"] = _O0OlOlO10;
_O0OOO1lO1["mscChannel"] = _O1OO01Oll;
_O0OOO1lO1["mscChannel"].soundTransform = _local4;
_O110ll01l[_arg1] = _O0OOO1lO1;
};
};
}
public function musicFade(_arg1:String, _arg2:Number, _arg3:Object, _arg4:Function=null):void{
var _OOOl1O00O:Number;
var _OOl1001O0:Number;
var enFadeMusic:Function;
var _name = _arg1;
var _dur = _arg2;
var _obj = _arg3;
var _func = _arg4;
if (_O110ll01l[_name] != null){
enFadeMusic = function (_arg1:Event):void{
var _local2:SoundTransform;
_OOl1001O0 = (_OOl1001O0 - _OOOl1O00O);
if (musicOn){
_local2 = _O110ll01l[_name]["mscChannel"].soundTransform;
_local2.volume = _OOl1001O0;
_O110ll01l[_name]["mscChannel"].soundTransform = _local2;
};
if (_OOl1001O0 <= 0){
_obj.removeEventListener("enterFrame", enFadeMusic);
if (_func != null){
_func();
};
};
};
_OOOl1O00O = 0;
_OOl1001O0 = 0.5;
_OOl1001O0 = _O110ll01l[_name]["mscChannel"].soundTransform.volume;
if (((isNaN(_OOl1001O0)) || ((musicOn == false)))){
_OOl1001O0 = 0.5;
};
_OOOl1O00O = (_OOl1001O0 / (_dur * _O1l11Olll));
_obj.addEventListener(Event.ENTER_FRAME, enFadeMusic);
};
}
public function stopBgMusic(_arg1:String):void{
if (((!((_O110ll01l[_arg1] == null))) && (!((_O110ll01l[_arg1]["mscChannel"] == null))))){
_O110ll01l[_arg1]["mscChannel"].stop();
};
}
}
}//package O1O1OOl0O
Section 109
//O1OOOOl11 (OO01000Ol.O1OOOOl11)
package OO01000Ol {
import flash.net.*;
public class O1OOOOl11 {
public static function clear():void{
try {
new LocalConnection().connect("haha");
new LocalConnection().connect("haha");
} catch(error:Error) {
};
}
}
}//package OO01000Ol
Section 110
//Ol00OOOll (OO01000Ol.Ol00OOOll)
package OO01000Ol {
import flash.events.*;
import flash.display.*;
public class Ol00OOOll {
private static var _O0O0O1O00:MovieClip;
private static var _OO01O1OOO:String;
private static var _O1O0Ol0OO:String;
private static var _OOO101O00:int;
private static var _O0ll1O1O1:int;
private static var _O01O1O1O1:Function;
public function Ol00OOOll():void{
}
public static function playLabel(_arg1:MovieClip, _arg2:String=null, _arg3:String=null, _arg4:Function=null):void{
_O0O0O1O00 = _arg1;
_OO01O1OOO = _arg2;
_O1O0Ol0OO = _arg3;
_O01O1O1O1 = _arg4;
_arg1.gotoAndPlay(_arg2);
_arg1.addEventListener("enterFrame", _O0OlOllO0);
}
private static function _O0OlOllO0(_arg1:Event):void{
if (_O0O0O1O00.currentLabel == _O1O0Ol0OO){
_O0O0O1O00.stop();
_O0O0O1O00.removeEventListener("enterFrame", _O0lO11ll0);
if (_O01O1O1O1 != null){
_O01O1O1O1();
};
};
}
public static function play(_arg1:MovieClip, _arg2:int=1, _arg3:int=0, _arg4:Function=null):void{
_O0O0O1O00 = _arg1;
_OOO101O00 = _arg2;
_O01O1O1O1 = _arg4;
if (_arg3 == 0){
_O0ll1O1O1 = _arg1.totalFrames;
} else {
_O0ll1O1O1 = _arg3;
};
_O0O0O1O00.gotoAndPlay(_arg2);
_O0O0O1O00.addEventListener("enterFrame", _O0lO11ll0);
}
private static function _O0lO11ll0(_arg1:Event):void{
if (_O0O0O1O00.currentFrame == _O0ll1O1O1){
_O0O0O1O00.stop();
_O0O0O1O00.removeEventListener("enterFrame", _O0lO11ll0);
if (_O01O1O1O1 != null){
_O01O1O1O1();
};
};
}
}
}//package OO01000Ol
Section 111
//O0O1OOl00 (OOl00OO1O.O0O1OOl00)
package OOl00OO1O {
import flash.events.*;
import flash.utils.*;
public class O0O1OOl00 {
public var finishTime:String;
private var _OOl1000l1:int;
private var _O1Ol11OO1:int;
private var _O10l1llO0:Boolean;
private var _O110Oll00:int;
public function O0O1OOl00():void{
}
private function _O0O1O1l1l(_arg1:TimerEvent):void{
}
public function timerStop():void{
finishTime = Number((((getTimer() - _OOl1000l1) - _O1Ol11OO1) / 1000)).toFixed(2);
}
public function timerSwitch():void{
if (_O10l1llO0){
_O110Oll00 = getTimer();
_O10l1llO0 = false;
} else {
_O1Ol11OO1 = (_O1Ol11OO1 + (getTimer() - _O110Oll00));
_O10l1llO0 = true;
_O110Oll00 = 0;
};
}
public function timerStart():void{
_OOl1000l1 = getTimer();
_O10l1llO0 = true;
}
public function get finTime():Number{
return (Number(finishTime));
}
}
}//package OOl00OO1O
Section 112
//Ol0001Ol0 (OOl00OO1O.Ol0001Ol0)
package OOl00OO1O {
import OOll0l1Ol.*;
import flash.geom.*;
public class Ol0001Ol0 {
private const _O01O0111l:uint = 180;
private var _OO010lO11:Point;
private var _O000l10ll:Array;
private var _O0l0l0O10:String;
private var _OOO1000lO:Array;
private var _OO1OO1l1O:Array;
public var correctArray:Array;
private var _O00000ll1:Ol101ll01;
private var _O0OllO11l:Array;
public var connectArray:Array;
public var notesArray:Array;
private var _O011OOl1l:Array;
private var _O0l11010l:Point;
private var j:uint;
private var _O1l110OO1:uint;
private var _O01lO1O00:uint;
private var _OO1Oll0OO:Array;
private var _O0Ol1ll01:Number;
private var _OO001Ol10:O10O1001O;
public static var starInt:uint;
public function Ol0001Ol0(_arg1:O10O1001O):void{
connectArray = [];
notesArray = [];
_O011OOl1l = [];
_OO1Oll0OO = [];
_OOO1000lO = [];
_O0OllO11l = [];
_OO1OO1l1O = [];
_OO010lO11 = new Point();
_O0l11010l = new Point();
super();
_OO001Ol10 = _arg1;
_O0l0l0O10 = _arg1.name;
_OO1ll011O();
}
private function _O00l1lO01(_arg1:Array):void{
var _local2:Array;
var _local3:int;
_OO001Ol10.totalStar = _O1l110OO1;
correctArray = new Array();
_O000l10ll = new Array();
_local2 = new Array();
_O01lO1O00 = 0;
while (_O01lO1O00 < notesArray.length) {
if (notesArray[_O01lO1O00] != 0){
_local2.push(notesArray[_O01lO1O00]);
};
_O01lO1O00++;
};
_O01lO1O00 = 0;
while (_O01lO1O00 < starInt) {
_O000l10ll = new Array();
j = 0;
while (j < starInt) {
_O000l10ll.push(0);
j++;
};
correctArray.push(_O000l10ll);
_O01lO1O00++;
};
_O01lO1O00 = 0;
while (_O01lO1O00 < _O1l110OO1) {
_O00000ll1 = new Ol101ll01();
if (_O01lO1O00 < starInt){
_O00000ll1.name = ("star" + _O01lO1O00);
_O00000ll1.note = _local2[_O01lO1O00];
} else {
_local3 = Math.floor((Math.random() * 21));
_O00000ll1.name = ("fake" + _O01lO1O00);
_O00000ll1.note = _OO1OO1l1O[_local3];
};
_O011OOl1l.push(_O00000ll1);
_O01lO1O00++;
};
_O01lO1O00 = 0;
while (_O01lO1O00 < starInt) {
_O1OO0lO0O(_O011OOl1l[_O01lO1O00], _arg1[(_O01lO1O00 * 2)], _arg1[((_O01lO1O00 * 2) + 1)]);
_O01lO1O00++;
};
_O01lO1O00 = starInt;
while (_O01lO1O00 < _O1l110OO1) {
_O01lO0111(_O011OOl1l[_O01lO1O00]);
_O01lO1O00++;
};
if (starInt < _O1l110OO1){
_O1O1Oll0l(starInt);
};
_O01lO1O00 = 0;
while (_O01lO1O00 < _O1l110OO1) {
_OO001Ol10.starTray.addChild(_O011OOl1l[_O01lO1O00]);
_O01lO1O00++;
};
}
private function _O1O1Oll0l(_arg1:uint):void{
var _local2:Boolean;
_O01lO1O00 = 0;
while (_O01lO1O00 < _O1l110OO1) {
if (_O01lO1O00 != _arg1){
_OO010lO11.x = _O011OOl1l[_O01lO1O00].x;
_OO010lO11.y = _O011OOl1l[_O01lO1O00].y;
_O0l11010l.x = _O011OOl1l[_arg1].x;
_O0l11010l.y = _O011OOl1l[_arg1].y;
_O0Ol1ll01 = (((_OO010lO11.x - _O0l11010l.x) * (_OO010lO11.x - _O0l11010l.x)) + ((_OO010lO11.y - _O0l11010l.y) * (_OO010lO11.y - _O0l11010l.y)));
if (_O0Ol1ll01 <= 1200){
_local2 = true;
_O01lO0111(_O011OOl1l[_arg1]);
_O1O1Oll0l(_arg1);
break;
};
};
_O01lO1O00++;
};
if ((((_arg1 < (_O1l110OO1 - 1))) && (!(_local2)))){
_O1O1Oll0l((_arg1 + 1));
};
}
public function clearData():void{
connectArray = null;
notesArray = null;
_O011OOl1l = null;
_OO1Oll0OO = null;
_OOO1000lO = null;
_O0OllO11l = null;
_OO1OO1l1O = null;
}
private function _OO1ll011O():void{
_OO1OO1l1O = ["a1", "b1", "c1", "d1", "e1", "f1", "g1", "a2", "b2", "c2", "d2", "e2", "f2", "g2", "a3", "b3", "c3", "d3", "e3", "f3", "g3"];
if (_O0l0l0O10 == "Canes"){
_O1l110OO1 = 7;
starInt = 6;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3];
notesArray = ["e1", 0, "e2", "b1", 0, 0, "g1", 0, "g2", "d2", 0, 0];
_O0OllO11l = [-188.55, -154.6, -159.1, 118.1, -67.45, -50.4, 70.9, -80.4, 196.4, -172.8, 115.9, 123.4];
connectArray = [0, 2, 1, 2, 2, 3, 3, 4, 4, 5];
};
if (_O0l0l0O10 == "Aries"){
_O1l110OO1 = 7;
starInt = 5;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2];
notesArray = ["g1", "g3", 0, "e3", 0, "c3", "d3", 0];
_O0OllO11l = [-126.1, 114.7, -101.6, 7.7, -32.25, -107.35, 90.95, -84.35, 127.6, 0.45];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4];
};
if (_O0l0l0O10 == "Lynx"){
_O1l110OO1 = 8;
starInt = 6;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2];
notesArray = ["c3", 0, "b2", "c3", 0, 0, "f2", 0, "e2", "f2", 0, 0];
_O0OllO11l = [-171.45, 124.7, -198.4, 19.5, -96.45, -39.2, 12.5, -16.5, 78.85, -106.2, 202, -121.75];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 4, 5];
};
if (_O0l0l0O10 == "Pollux"){
_O1l110OO1 = 9;
starInt = 6;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2];
notesArray = ["_a1", "_g2", "_d2", 0, "_a2", "f2", "c3", 0];
_O0OllO11l = [-76.2, -150.15, -93.4, -44.65, -127.6, 28.2, 20.3, -132.15, 28.4, -30.55, 104.95, 64.9];
connectArray = [0, 1, 1, 2, 0, 3, 3, 4, 4, 5];
};
if (_O0l0l0O10 == "Cancer"){
_O1l110OO1 = 9;
starInt = 6;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2];
notesArray = ["_f1", "_f2", "_f3", 0, "_g1", "_g2", "_g3", 0];
_O0OllO11l = [-141.45, -72.85, 175.85, -51.65, 12.45, -37.55, -88.05, 39.9, 121.95, 54, 9.25, 25.8];
connectArray = [0, 2, 1, 2, 3, 5, 4, 5, 2, 5];
};
if (_O0l0l0O10 == "Gygnus"){
_O1l110OO1 = 10;
starInt = 7;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white"];
notesArray = ["c2", "e2", 0, "g2", "e2", 0, "a2", 0, "b2", "c3", 0, 0];
_O0OllO11l = [146.1, -83.2, -170.35, -161.3, 82.55, -71.75, -81, -88.3, -95.1, 36, 29.2, 66.75, 75.5, 155.65];
connectArray = [1, 3, 3, 4, 4, 5, 5, 6, 0, 2, 2, 4];
};
if (_O0l0l0O10 == "Libra"){
_O1l110OO1 = 9;
starInt = 6;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2];
notesArray = ["f1", "f3", "c3", 0, "a2", "f2", "f3", 0];
_O0OllO11l = [-104.2, -103.5, -168.85, 73.8, -29.95, 82.45, 133.9, -101.45, 41, 76, 186.15, 82.45];
connectArray = [0, 1, 0, 2, 0, 3, 3, 4, 3, 5];
};
if (_O0l0l0O10 == "Grus"){
_O1l110OO1 = 10;
starInt = 7;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2];
notesArray = ["_d1", "_a1", "c2", "g2", "_a2", "g2", "_d3", 0];
_O0OllO11l = [-101.35, 143.35, -55.35, 82.35, -120.4, -121.25, 6.1, 54.8, 136.6, 102.35, 116.6, -24.65, 163.6, -101.65];
connectArray = [0, 1, 1, 3, 2, 3, 3, 4, 3, 5, 5, 6];
};
if (_O0l0l0O10 == "Aquarius"){
_O1l110OO1 = 11;
starInt = 8;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2];
notesArray = ["_f3", "_d3", "_c3", "_a2", "_g2", "_f2", "_d2", "_c2"];
_O0OllO11l = [6.2, -166.05, 36.4, -85.4, -10.3, 3.4, -108.1, 45.4, -13.6, 79.8, 84.25, 51.5, 167, 81, 6.2, 191.55];
connectArray = [0, 1, 1, 2, 1, 3, 1, 5, 2, 4, 4, 7, 5, 6];
};
if (_O0l0l0O10 == "Lepus"){
_O1l110OO1 = 9;
starInt = 7;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5];
notesArray = ["e2", "c3", 0, 0, "f2", "d3", 0, 0, "e3", 0, "d3", 0, "c3", 0];
_O0OllO11l = [-102.45, -154.1, -174.45, -44.25, -21.4, -32.7, 87.5, -80.2, -77.9, 123.8, 35.05, 87.35, 174.5, 110.35];
connectArray = [0, 1, 1, 2, 2, 3, 2, 5, 4, 5, 5, 6];
};
if (_O0l0l0O10 == "Alcyone"){
_O1l110OO1 = 10;
starInt = 8;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2];
notesArray = ["e1", "e2", "g2", "f2", "c2", 0, 0, 0, "d2", 0, "f2", 0, "e2", 0, 0, 0];
_O0OllO11l = [-180.45, -65.9, -82.75, 9.55, 155.3, 16.6, 204.7, -45.1, -79.2, -163.25, -33.8, -73.95, 37.15, 36, 137.7, 170];
connectArray = [0, 1, 1, 6, 2, 6, 2, 3, 4, 5, 5, 6, 6, 7];
};
if (_O0l0l0O10 == "Orion"){
_O1l110OO1 = 13;
starInt = 11;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3];
notesArray = ["_f1", "_g1", "_a1", 0, "_c2", 0, "_g1", 0, "_a1", 0, "_d2", 0, 0, 0, 0, 0, "_c1", "_d1", "_g1", "_f1", 0, 0, 0, 0];
_O0OllO11l = [-182.15, -126.05, -153.25, -62.95, -50.1, -48.85, 19.85, -146.3, 71.8, -48.85, 175.25, -116.75, 169.25, -37.75, -21.25, 55.8, 58.85, 34.55, -74.9, 172.75, 107.8, 148.75];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 2, 7, 7, 9, 8, 10, 9, 10, 4, 8];
};
if (_O0l0l0O10 == "Columba"){
_O1l110OO1 = 9;
starInt = 6;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["c1", 0, 0, 0, 0, 0, "e2", "g2", "b2", "d3", "e3", 0, 0, 0, 0, 0];
_O0OllO11l = [-188.55, -82.7, -74.25, -62.9, 146.4, -98.6, 67.15, -98.6, 3.75, -34.3, 32.55, 86.8];
connectArray = [0, 1, 1, 4, 2, 3, 3, 4, 4, 5];
};
if (_O0l0l0O10 == "Virgin"){
_O1l110OO1 = 12;
starInt = 10;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["a1", "e2", "c3", "a2", "d3", 0, 0, 0, "a1", "e3", "b2", "c3", "a2", 0, 0, 0];
_O0OllO11l = [-100.05, -178.5, 80.1, -155.95, 41.7, -88.55, -58.5, -89.55, -47.55, -13.65, 51.95, -20.85, -92.05, 65.65, 12.75, 63.65, -58.9, 140.1, 79.2, 151.3];
connectArray = [0, 3, 1, 2, 2, 3, 3, 4, 4, 6, 6, 8, 2, 5, 5, 7, 7, 9, 8, 9];
};
if (_O0l0l0O10 == "Pegasus"){
_O1l110OO1 = 11;
starInt = 8;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["_a1", "g1", 0, 0, "c2", "g1", 0, 0, "f2", "d2", "_a2", 0, "g2", 0, 0];
_O0OllO11l = [-107, 138.45, -95.2, 64.3, 24.65, -168.3, -107.8, -152.8, 112.3, 57.25, 63.85, 112.7, -32.85, 37.05, 107.8, -51.1];
connectArray = [0, 1, 1, 6, 3, 6, 2, 3, 4, 5, 5, 6, 6, 7];
};
if (_O0l0l0O10 == "Delphlnus"){
_O1l110OO1 = 10;
starInt = 6;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["g1", 0, "d2", "g2", 0, "a2", 0, "d2", "b2", 0, 0, 0];
_O0OllO11l = [-133.8, -87.35, -32.3, -171.95, -14.2, -80.45, 36.4, -121.85, 107.55, -27.4, 96.05, 100];
connectArray = [0, 1, 0, 2, 1, 3, 2, 3, 3, 4, 4, 5];
};
if (_O0l0l0O10 == "Capricornus"){
_O1l110OO1 = 12;
starInt = 9;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["d3", 0, "a2", 0, "d2", 0, "c3", 0, 0, 0, 0, 0, "b2", "c3", "b2", 0, "g2", 0, "a2", 0, 0, 0, 0, 0];
_O0OllO11l = [-167.95, 48.35, -110.1, 98.85, -12.95, 107.95, -21.35, 5.75, -42.3, -122.7, 79.45, -120.75, 78.45, 20.35, 158.65, 85.3, 204.05, -5.65];
connectArray = [0, 3, 1, 3, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8];
};
if (_O0l0l0O10 == "Pisces"){
_O1l110OO1 = 14;
starInt = 10;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["c4", 0, "_g3", 0, "f3", 0, "c3", 0, "_a3", 0, "g3", 0, "e3", "c3", "g2", 0, "f2", 0, 0, 0, 0, 0, 0, 0];
_O0OllO11l = [105.05, -97.85, 15.95, -25.55, -84.35, 3.9, -159.25, 62.4, -238.3, 136.9, -66.8, 151.05, 49.2, 151.25, 65.05, 82.4, 161.95, 142.7, 161.95, 59.05];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 9, 6, 8, 8, 9];
};
if (_O0l0l0O10 == "Lyra"){
_O1l110OO1 = 11;
starInt = 9;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["c2", "d2", "e2", "g2", "a2", "c3", "d3", "e3", "c3", 0, 0, 0];
_O0OllO11l = [55.05, -164.4, -40.9, -123.5, -29.7, -75.5, 70.75, -68.5, 69.15, -16.15, 33.6, 26, -62.85, 51.4, 40.7, 91.35, -25.6, 144.15];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 5, 7, 6, 8, 7, 8];
};
if (_O0l0l0O10 == "Aquila"){
_O1l110OO1 = 10;
starInt = 8;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["_f1", "_a1", "_c2", "f2", "_a1", "_c2", "f2", "_a2"];
_O0OllO11l = [124.9, -137.05, 21.85, -101, -27.45, -44.55, -121.55, 73.7, -43, 43.35, 55.5, 29.35, 7.5, 93.9, 88.7, 101.5];
connectArray = [0, 1, 1, 2, 2, 4, 3, 4, 4, 5, 4, 6, 6, 7];
};
if (_O0l0l0O10 == "Ophiuchus"){
_O1l110OO1 = 13;
starInt = 10;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["b1", "e2", "g2", "c3", "b2", 0, 0, 0, "e1", "e3", "b2", "g2", "e2", 0, 0, 0];
_O0OllO11l = [-200.8, 49.95, -65.15, 10.65, 44.3, -64.5, 158.1, -73.45, 167.55, -10.4, 100.5, 34.55, 20.15, 25.05, -76.4, 76.7, 25.05, 96.5, 194.05, 97.8];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 5, 8, 5, 9];
};
if (_O0l0l0O10 == "Leo"){
_O1l110OO1 = 11;
starInt = 9;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["_g3", "f3", "d3", "b2", "_g2", "f2", "d2", 0, "g1", 0, "c2", 0, 0, 0, 0, 0];
_O0OllO11l = [142.15, -101.6, 69.85, -144.95, 11.2, -81.25, 45.3, -10.7, 118.1, 54.4, 128.05, 143.55, 54.3, 143.55, -46.6, 41.35, -136.25, 143.55];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 3, 7, 7, 8];
};
if (_O0l0l0O10 == "Scorpio"){
_O1l110OO1 = 9;
starInt = 6;
_OO1Oll0OO = ["red", "white", "blue", "red", "blue", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3, 3];
notesArray = ["_d3", 0, "c3", 0, "a2", 0, "_f2", 0, "_d2", 0, "c2", 0];
_O0OllO11l = [60.85, -144.95, 100, -87.55, 34.8, -34.9, 6, 44, -111.8, 71.7, 61.65, 120.75];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 3, 5];
};
if (_O0l0l0O10 == "Pavo"){
_O1l110OO1 = 12;
starInt = 10;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["d1", "d2", "a1", "e2", "f1", "f2", "g1", "g2", "d2", "d3", 0, 0];
_O0OllO11l = [-164.1, 34.7, -116.2, -84.7, -109.5, 14.4, -13.65, -55.4, 60.55, -139.3, 97, -38.1, 154.9, -15.7, 99.05, 22.75, 34.55, 74.45, -64, 98.6];
connectArray = [0, 2, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 2, 9];
};
if (_O0l0l0O10 == "Ursa"){
_O1l110OO1 = 15;
starInt = 13;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3, 3, 3, 3];
notesArray = ["e1", "g1", 0, 0, "e1", "a1", 0, "e1", "_a1", 0, "a1", "g1", 0, 0, 0, 0, "d2", "b1", 0, 0, "d1", 0, "_d1", "e1", 0, 0, 0, 0];
_O0OllO11l = [178.45, -85, 111, -131.9, 29.55, -122.2, 110.6, 15.1, 54.35, -41.15, -22.5, -45.3, 51.9, 71.05, -0.2, 66.4, -31.6, 131.7, -82.05, 21.7, -82.9, -42.8, -136.65, -47.75, -176.35, -10.55];
connectArray = [0, 1, 1, 2, 2, 5, 5, 10, 3, 4, 4, 5, 6, 7, 7, 9, 8, 9, 9, 10, 10, 11, 11, 12];
};
if (_O0l0l0O10 == "Draco"){
_O1l110OO1 = 13;
starInt = 11;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["_d1", "_f1", "_g1", "_a1", "_c2", "_g1", "_a1", "_c2", "_d2", 0, 0, "_a2", "_d3", 0, 0, 0];
_O0OllO11l = [-189.15, 148.8, -132.7, 133.3, -138.9, 81.85, -178.9, 68.5, -189.15, -103.8, -62.9, -55.7, -29.35, 28.05, 3.15, 138.65, 111.5, 123.6, 158.4, 45.95, 188.65, -66.55];
connectArray = [0, 1, 1, 2, 2, 3, 0, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10];
};
if (_O0l0l0O10 == "Phoenix"){
_O1l110OO1 = 11;
starInt = 8;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["_c3", "e3", "_f3", "_g3", "e3", "_f3", "b2", 0, "_c3", 0, 0, 0];
_O0OllO11l = [-137.85, -59.4, -84.05, -115.75, -68.1, -22.35, -19.3, -77.05, 47.95, -19, 85, -104.8, 140.5, -13.95, -0.8, 112.25];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 2, 7, 4, 7];
};
if (_O0l0l0O10 == "Centaur"){
_O1l110OO1 = 13;
starInt = 11;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["_a1", "a1", "_a1", 0, "d2", 0, "c2", 0, 0, 0, 0, 0, "_d3", "d3", "c3", 0, "d3", 0, "_a2", 0, "_a1", 0, 0, 0];
_O0OllO11l = [120.75, -155.85, 63.7, -118.7, 7.8, -96.35, -61.25, -126.65, 98.9, -61.8, -55.4, -26.35, 9.2, 2, 82.05, 31.5, -39.8, 59.45, 60.85, 109.1, -54.3, 150.25];
connectArray = [0, 1, 1, 2, 2, 3, 2, 6, 0, 4, 5, 6, 6, 7, 7, 9, 6, 8, 8, 10];
};
if (_O0l0l0O10 == "Lupus"){
_O1l110OO1 = 11;
starInt = 9;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3];
notesArray = ["_c2", "b1", "_g1", "g1", "_f1", 0, 0, 0, "_d1", "_f1", "g1", "_g1", 0, 0];
_O0OllO11l = [-78.35, -133.15, -7.15, -101.45, -99.5, -55.65, -50.25, -21.6, 14.3, -42.75, -16.95, 40.9, 84.75, 0.25, 98.4, 77.7, -7.15, 133.2];
connectArray = [0, 1, 1, 4, 2, 3, 3, 4, 3, 5, 5, 8, 4, 6, 6, 7, 7, 8];
};
if (_O0l0l0O10 == "Carina"){
_O1l110OO1 = 20;
starInt = 18;
_OO1Oll0OO = ["red", "white", "blue", "red", "red", "blue", "white", "blue", "white", "white", "white", "blue", "blue", "red", "red", "blue", "white", "blue", "blue"];
_OOO1000lO = [1, 3, 4, 2, 1, 0, 5, 3, 1, 2, 3, 3, 4, 2, 1, 0, 5, 3, 3];
notesArray = ["_d3", "_c3", "_a2", "_g2", "_a2", 0, 0, 0, "_c3", "_a2", "_g2", "_f2", "_g2", 0, 0, 0, "_c2", "_d2", "_f2", "_g2", "_a2", 0, "_c3", 0, "_f3", 0, 0, 0, "_f1", 0];
_O0OllO11l = [-51.05, -168.55, -108.45, -90.7, -55.55, -24, 65.4, -16, 167.65, -84.8, -145.35, -41.9, -199.6, -31.45, -179.55, 97.9, -190.7, 168.65, -126.65, 154.75, 199.65, -20.55, 170.75, 42.75, 89.35, 54.75, -13.75, 38.7, -55.55, 82.2, -13.75, 136.7, 65.4, 136.7, 128.4, 108.7];
connectArray = [0, 1, 1, 2, 2, 3, 3, 4, 0, 4, 5, 6, 6, 7, 7, 8, 8, 9, 5, 9, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17];
};
_O00l1lO01(_O0OllO11l);
}
private function _O01lO0111(_arg1:Ol101ll01):void{
var _local2:Number;
var _local3:Number;
_local2 = (((2 * _O01O0111l) * Math.random()) - _O01O0111l);
_local3 = Math.sqrt(((_O01O0111l * _O01O0111l) - (_local2 * _local2)));
_local3 = (((2 * _local3) * Math.random()) - _local3);
_arg1.x = _local2;
_arg1.y = _local3;
}
private function _O1OO0lO0O(_arg1:Ol101ll01, _arg2:Number, _arg3:Number):void{
_arg1.x = _arg2;
_arg1.y = _arg3;
}
}
}//package OOl00OO1O
Section 113
//Ol00l1Ol1 (OOl00OO1O.Ol00l1Ol1)
package OOl00OO1O {
import flash.net.*;
import flash.events.*;
public class Ol00l1Ol1 {
private var _OOO11OlOl:SharedObject;
private var _O000O0O00:SharedObject;
public function Ol00l1Ol1():void{
_OOO11OlOl = SharedObject.getLocal("HoroScope_Puzzle_2_ZLongGames_ZLC_031108_v3", "/");
_O000O0O00 = SharedObject.getLocal("spilgames_language_v100", "/");
_OOO11OlOl.addEventListener(NetStatusEvent.NET_STATUS, throwError, false, 0, true);
_O000O0O00.addEventListener(NetStatusEvent.NET_STATUS, throwError, false, 0, true);
}
public function throwError(_arg1:NetStatusEvent):void{
}
public function writeCookie(_arg1:String, _arg2:Object):void{
_OOO11OlOl.data[_arg1] = _arg2;
_OOO11OlOl.flush();
}
public function readLang(_arg1:String):Object{
return (_O000O0O00.data[_arg1]);
}
public function writeLang(_arg1:String, _arg2:Object):void{
_O000O0O00.data[_arg1] = _arg2;
_O000O0O00.flush();
}
public function readCookie(_arg1:String):Object{
return (_OOO11OlOl.data[_arg1]);
}
}
}//package OOl00OO1O
Section 114
//OOl1010l0 (OOl00OO1O.OOl1010l0)
package OOl00OO1O {
import O11OOl1Ol.*;
public class OOl1010l0 {
private static var _OOlO11O01:Array = [];
private static var _O1101OOl1:OOl1010l0;
public function OOl1010l0():void{
_OOlO11O01["play_btn"] = "menu_touch";
_OOlO11O01["toMenu"] = "select_touch";
_OOlO11O01["hint"] = "IngameTouch";
_OOlO11O01["pause"] = "IngameTouch";
_OOlO11O01["erase"] = "IngameTouch";
_OOlO11O01["exit_btn"] = "IngameTouch";
_OOlO11O01["goMenuBtn"] = "select_touch";
_OOlO11O01["backBtn"] = "select_touch";
_OOlO11O01["playLevelBtn"] = "IngameTouch";
_OOlO11O01["reviewBtn"] = "IngameTouch";
_OOlO11O01["menuLinkBtn"] = "menu_touch";
}
public function playBtnSnd(_arg1:String):void{
if (_OOlO11O01[_arg1] != null){
O0OOl101O.sndManager.playSound(_OOlO11O01[_arg1], 0.8);
};
}
public static function instance():OOl1010l0{
if (_O1101OOl1 == null){
_O1101OOl1 = new (OOl1010l0);
};
return (_O1101OOl1);
}
}
}//package OOl00OO1O
Section 115
//O0l000OO0 (OOll0l1Ol.O0l000OO0)
package OOll0l1Ol {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import O11OOl1Ol.*;
import flash.filters.*;
public class O0l000OO0 extends Sprite {
private var _O10Ol1O11:Number;
public var starFrom:String;
public var clicked:Boolean;
private var _O0OOll0O1:GlowFilter;
private var _O11l00000:GlowFilter;
private var _O00010Oll:int;
private var _O11OOl1lO:Point;
private var _OOllllO11:Point;
public var starTo:String;
private var _O101O0O1O:Sprite;
private var _OO0lO1O1O:Number;
private var _O0111ll01:Boolean;
private var _OOO10OlO0:O10O1001O;
public static var mode:String = "connect";
public function O0l000OO0(_arg1:O10O1001O){
_O101O0O1O = new Sprite();
_O11l00000 = new GlowFilter(0xFFFFFF, 1, 5, 5, 3, 1);
_O0OOll0O1 = new GlowFilter(16450639, 1, 4, 4, 5, 3);
super();
_OOO10OlO0 = _arg1;
_O0Ol010Ol();
}
private function _O0OOOO11l(_arg1:MouseEvent):void{
if (((!(clicked)) && ((mode == "delete")))){
filters = [_O11l00000];
transform.colorTransform = new ColorTransform();
_O101O0O1O.alpha = 0;
};
}
private function _O1010lOlO(_arg1:MouseEvent):void{
var _local2:ColorTransform;
if ((((O0OOl101O.actStar == null)) && ((mode == "delete")))){
_local2 = new ColorTransform(1, 0.5, 0.5, 0.8, 0, 0, 0, 0);
transform.colorTransform = _local2;
_O101O0O1O.alpha = 0.1;
filters = [_O11l00000];
};
}
public function drawLine(_arg1:Point, _arg2:Point, _arg3:String, _arg4:String):void{
starFrom = _arg3;
starTo = _arg4;
_arg2 = globalToLocal(_arg2);
graphics.lineStyle(0.7, 0xFFFFFF, 0.8, false, "none", "none");
graphics.moveTo(_arg1.x, _arg1.y);
graphics.lineTo(_arg2.x, _arg2.y);
filters = [_O11l00000];
_O10Ol1O11 = (_arg2.y / _arg2.x);
_OO0lO1O1O = Math.abs(Math.sqrt((((5 / _O10Ol1O11) * _O10Ol1O11) + 1)));
if (_arg2.x < 0){
_O00010Oll = -1;
} else {
_O00010Oll = 1;
};
_O101O0O1O.name = "lineHit";
_O101O0O1O.graphics.lineStyle(12, 16772846, 0.6, false, "none");
_O101O0O1O.graphics.moveTo(_arg1.x, _arg1.y);
_O101O0O1O.graphics.lineTo(_arg2.x, _arg2.y);
_O101O0O1O.alpha = 0;
addChild(_O101O0O1O);
}
private function _OOlll0O0l(_arg1:MouseEvent):void{
var _O1lOOOOO1:Sprite;
var _OOOlOlOO0:MovieClip;
var _O110llO0l:O0l000OO0;
var delLine:Function;
var e = _arg1;
if (mode == "delete"){
delLine = function ():void{
_OOO10OlO0.removeLines(_O110llO0l);
};
_O1lOOOOO1 = (O0OOl101O.gameBox.getChildByName("forfex") as Sprite);
_OOOlOlOO0 = (_O1lOOOOO1.getChildByName("amt") as MovieClip);
_O110llO0l = this;
_OOOlOlOO0.play();
_OOOlOlOO0.addFrameScript(3, delLine);
};
}
private function _O0Ol010Ol():void{
name = "line";
_O0O11lO1O();
}
private function _O010OOOOO(_arg1:MouseEvent):void{
if (_O0111ll01){
};
stopDrag();
x = _O11OOl1lO.x;
y = _O11OOl1lO.y;
_O0111ll01 = false;
}
private function _O0100O110(_arg1:MouseEvent):void{
_O0111ll01 = true;
_O11OOl1lO = new Point(x, y);
startDrag();
}
private function _O011101O0():void{
removeEventListener("click", _OOlll0O0l);
removeEventListener("rollOver", _O1010lOlO);
removeEventListener("rollOut", _O0OOOO11l);
}
private function _O0O11lO1O():void{
mouseChildren = false;
addEventListener("click", _OOlll0O0l, false, 0, true);
addEventListener("mouseOver", _O1010lOlO);
addEventListener("mouseOut", _O0OOOO11l);
}
public function destroy():void{
filters = [];
_O011101O0();
parent.removeChild(this);
}
}
}//package OOll0l1Ol
Section 116
//O100lOl0l (OOll0l1Ol.O100lOl0l)
package OOll0l1Ol {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import O11OOl1Ol.*;
public class O100lOl0l extends Sprite {
private var _O0l11lO1O:Array;
private var _O1O1OOOll:Number;// = 15
private var _O0O10010O:MovieClip;
private var _O10ll01l1:Array;
private var _O10Ol1O1l:Array;
private var _OOOOlOO0l:int;
private var _O1lOOO000:Array;
private var _O0O011lll:Boolean;
private var _OO011l010:Number;// = 280
private var _OOO1O0l0l:Array;
private var _O0l0lOOl1:Array;
private var _OO11l0l1l:Array;
private var _O011OOO1l:Function;
private var _O0O0O00lO:Array;
private var _O0l011lO1:Array;
public function O100lOl0l(_arg1:Function=null, ... _args){
_O1O1OOOll = 15;
_O1lOOO000 = [];
_OO11l0l1l = [];
_O0O0O00lO = [];
_O0l0lOOl1 = [];
_O10Ol1O1l = [];
_O0l011lO1 = [];
_OOO1O0l0l = [];
_O10ll01l1 = [];
_O0l11lO1O = [];
_OO011l010 = 280;
super();
_O011OOO1l = _arg1;
_O1lOOO000 = _args;
_O1ll1l0O0();
_O0Ol100Ol();
O0OOl101O.sndManager.playSound("startgame_fx");
O0OOl101O.sndManager.playSound("Sfx", 0.4);
addEventListener("enterFrame", _O00O0l11O);
}
private function _O0Ol100Ol():void{
var _local1:int;
var _local2:Sprite;
while (_local1 < 25) {
_local2 = (new (getDefinitionByName("SpStar")) as Sprite);
_local2.x = ((Math.random() * 10) - 5);
_local2.y = ((Math.random() * 10) - 5);
_local2.cacheAsBitmap = true;
_local2.blendMode = BlendMode.ADD;
_OOO1O0l0l.push(_local2);
_O10ll01l1.push(((Math.random() * 5) + 7));
_local1++;
};
}
private function _O00O0l11O(_arg1:Event):void{
var _local2:Sprite;
var _local3:Sprite;
var _local4:int;
if (_OO011l010 >= 0){
_OO011l010 = (_OO011l010 - 14);
if (!_O0O011lll){
_local2 = (new (getDefinitionByName("SpStar")) as Sprite);
_local3 = (new (getDefinitionByName("SpStar")) as Sprite);
_local2.x = (-(_OO011l010) + ((Math.random() * 10) - 5));
_local3.x = (_OO011l010 + ((Math.random() * 10) - 5));
_local2.rotation = (Math.random() * 180);
_local3.rotation = (Math.random() * 180);
_local2.cacheAsBitmap = true;
_local3.cacheAsBitmap = true;
_local2.filters = _O0l11lO1O;
_local3.filters = _O0l11lO1O;
addChild(_local2);
addChild(_local3);
_local2.scaleX = (_local2.scaleY = ((Math.random() * 0.5) + 0.3));
_local3.scaleX = (_local3.scaleY = ((Math.random() * 0.5) + 0.3));
_O0O0O00lO.push(_local2);
_O0l0lOOl1.push(_local3);
_OO11l0l1l.push(((Math.random() * 2) * Math.PI));
};
} else {
if (!_O0O011lll){
while (_local4 < 25) {
_OOO1O0l0l[_local4].filters = _O0l11lO1O;
_OOO1O0l0l[_local4].blendMode = BlendMode.ADD;
addChild(_OOO1O0l0l[_local4]);
_local4++;
};
_O0O011lll = true;
};
};
_OOOOlOO0l = 0;
while (_OOOOlOO0l < _O0O0O00lO.length) {
if (_O0O0O00lO[_OOOOlOO0l].alpha > 0){
_O0O0O00lO[_OOOOlOO0l].y = (_O0O0O00lO[_OOOOlOO0l].y - ((Math.random() * 10) + 5));
_O0l0lOOl1[_OOOOlOO0l].y = (_O0l0lOOl1[_OOOOlOO0l].y - ((Math.random() * 10) + 5));
_O0O0O00lO[_OOOOlOO0l].rotation = (_O0O0O00lO[_OOOOlOO0l].rotation - 15);
_O0l0lOOl1[_OOOOlOO0l].rotation = (_O0l0lOOl1[_OOOOlOO0l].rotation + 15);
_O0O0O00lO[_OOOOlOO0l].alpha = (_O0O0O00lO[_OOOOlOO0l].alpha - 0.1);
_O0l0lOOl1[_OOOOlOO0l].alpha = (_O0l0lOOl1[_OOOOlOO0l].alpha - 0.1);
};
_OOOOlOO0l++;
};
if (_O0O011lll){
_O1O1OOOll = (_O1O1OOOll - 0.6);
if (_O1O1OOOll < 0){
_O1O1OOOll = 0;
_O0O10010O.play();
};
_OOOOlOO0l = 0;
while (_OOOOlOO0l < _OOO1O0l0l.length) {
if (_O10ll01l1[_OOOOlOO0l] > 0){
_OOO1O0l0l[_OOOOlOO0l].x = (_OOO1O0l0l[_OOOOlOO0l].x + (_O10ll01l1[_OOOOlOO0l] * Math.cos(_OO11l0l1l[_OOOOlOO0l])));
_OOO1O0l0l[_OOOOlOO0l].y = (_OOO1O0l0l[_OOOOlOO0l].y + (_O10ll01l1[_OOOOlOO0l] * Math.sin(_OO11l0l1l[_OOOOlOO0l])));
_O10ll01l1[_OOOOlOO0l] = (_O10ll01l1[_OOOOlOO0l] - 0.02);
};
_OOO1O0l0l[_OOOOlOO0l].rotation = (_OOO1O0l0l[_OOOOlOO0l].rotation + 15);
_OOO1O0l0l[_OOOOlOO0l].alpha = (_OOO1O0l0l[_OOOOlOO0l].alpha - 0.03);
_OOO1O0l0l[_OOOOlOO0l].scaleX = (_OOO1O0l0l[_OOOOlOO0l].scaleY = (_OOO1O0l0l[_OOOOlOO0l].scaleY - 0.03));
if (_OOO1O0l0l[_OOOOlOO0l].alpha <= 0){
_OOO1O0l0l[_OOOOlOO0l].filters = [];
};
_OOOOlOO0l++;
};
};
}
public function effectEnd(_arg1:Function=null):void{
removeEventListener("enterFrame", _O00O0l11O);
_OOOOlOO0l = 0;
while (_OOOOlOO0l < _OOO1O0l0l[_OOOOlOO0l].length) {
removeChild(_OOO1O0l0l[_OOOOlOO0l]);
_OOO1O0l0l[_OOOOlOO0l] = null;
_OOOOlOO0l++;
};
_OOOOlOO0l = 0;
while (_OOOOlOO0l < _O0O0O00lO[_OOOOlOO0l].length) {
removeChild(_O0O0O00lO[_OOOOlOO0l]);
removeChild(_O0l0lOOl1[_OOOOlOO0l]);
_O0O0O00lO[_OOOOlOO0l] = null;
_O0l0lOOl1[_OOOOlOO0l] = null;
_OOOOlOO0l++;
};
if (parent != null){
parent.removeChild(this);
};
if (_arg1 != null){
_arg1(_O1lOOO000[0]);
};
}
private function _O1ll1l0O0():void{
var playEnd:Function;
playEnd = function ():void{
_O0O10010O.stop();
if (_O0O10010O.parent != null){
removeChild(_O0O10010O);
_O0O10010O.stop();
_O0O10010O = null;
};
effectEnd();
};
_O0O10010O = (new (getDefinitionByName("PlayTransit")) as MovieClip);
_O0O10010O.stop();
addChild(_O0O10010O);
_O0O10010O.addFrameScript(55, playEnd);
}
public function set starFilter(_arg1:Array):void{
_O0l11lO1O = _arg1;
}
}
}//package OOll0l1Ol
Section 117
//O10O1001O (OOll0l1Ol.O10O1001O)
package OOll0l1Ol {
import flash.events.*;
import flash.display.*;
import OOl00OO1O.*;
import flash.geom.*;
import fl.transitions.*;
import flash.utils.*;
import O1O0OOlOO.*;
import O11OOl1Ol.*;
import fl.motion.*;
import fl.transitions.easing.*;
import flash.filters.*;
public class O10O1001O extends Sprite {
private var _O111000ll:String;
private var _O1001OO0O:Array;
public var tryAgain:Boolean;
private var _O0O11O11O:int;
private var _O1Oll1lO0:int;
private var _O01011l1O:int;
private var id1:int;
private var _OO111OO1l:Number;// = 0
private var _O01OO0l1O:Timer;
private var _O11l0O100:Sprite;
public var starTray:MovieClip;
private var _O0lOl10O1:O0l000OO0;
private var _O0l00OOO0:Sprite;
private var _OOllO1O00:Array;
private var _O01OO0101:Sprite;
public var curStar:Ol101ll01;
private var _OO0100l11:GlowFilter;
private var _O0ll00O10:Ol101ll01;
public var rythm:Array;
private var _OO1l111OO:Ol101ll01;
private var _O1O1l1010:Array;
private var _OOlOlOOll:uint;
private var _O0l0l0Ol1:Boolean;
private var _O10ll1O00:Boolean;
private var _O00l1111O:int;
private var _O101OOl1l:O0OlO1101;
private var _O01001Ol0:Boolean;
private var _O00l0lOlO:uint;
public var gTimer:O0O1OOl00;
private var _OOlOll0l1:O0l011Oll;
public var curLevel:int;
private var _O1O0Ollll:int;
public var sndOrder:Array;
private var _O1lllOO0O:int;
private var _O1O0l11ll:Array;
private var _O0O0100l1:Array;
private var _OOOOO0110:Number;
private var _OOOlOlOl1:int;
private var _OOOO0lOOO:MovieClip;
private var _O11110l11:Sprite;
private var _O10OlO0Ol:MovieClip;
private var _OOlOll10O:Array;
private var _OOl00O11O:GlowFilter;
private var _O0ll10110:MovieClip;
private var _O101l10O1:Ol101ll01;
public var totalStar:int;
private var _O11lOlOl0:Boolean;
private var _OO0O1l111:int;
private var _O0OOl11ll:Ol101ll01;
private var _OOOOllO00:MovieClip;
private var _O101OOll0:int;
private var _O0l0100lO:Ol0001Ol0;
private var _OOOl00lO0:Boolean;
private var _O110O11l1:int;
private var _O01l0O011:MovieClip;
private var _O111Olll1:Matrix;
public function O10O1001O(_arg1:String=null){
sndOrder = [];
rythm = [];
gTimer = new O0O1OOl00();
_O1O1l1010 = [];
_OOllO1O00 = [];
_O1001OO0O = [];
_OOlOll10O = [];
_O1O0l11ll = [];
_O11110l11 = new Sprite();
_O0l00OOO0 = new Sprite();
_O11l0O100 = new Sprite();
_O01OO0101 = new Sprite();
_O111Olll1 = new Matrix();
_OOl00O11O = new GlowFilter(0xFFFFFF, 1, 7, 7, 3, 3);
_OO0100l11 = new GlowFilter(0xFFFFFF, 1, 7, 7, 3, 3);
_OO111OO1l = 0;
super();
if (_arg1 != null){
_O01l0OO00(_arg1);
};
}
private function _OOO10O11l():void{
if ((((curLevel < O0OOl101O.onlyRoLvl)) || ((((curLevel > O0OOl101O.hideLvl)) && ((curLevel < O0OOl101O.rotateLvl)))))){
addEventListener("enterFrame", _O0O1O0O10);
};
}
private function _O01l0OO00(_arg1:String):void{
O0OOl101O.sndManager.playBgMusic("GameMusic");
name = _arg1;
_OOOOO0110 = (O0OOl101O.show * 30);
_O101OOl1l = (O0OOl101O.gameBox.getChildAt(0) as O0OlO1101);
_O0ll10110 = (new (getDefinitionByName("PlayTransit")) as MovieClip);
_O0ll10110.stop();
_O11l0O100.name = "lineContainer";
_O01OO0101.name = "preLine";
_OO10l0000();
_O01110100();
addChildAt(_O11110l11, 0);
addChildAt(_O0l00OOO0, 1);
addChildAt(_O11l0O100, 2);
addChildAt(starTray, 3);
x = 275;
y = 213;
_O111Olll1.createBox(1, 1, 0, x, y);
}
private function _O0O1lOlOl():void{
var _local1:Ol0001Oll;
O0l000OO0.mode = "connect";
O0OOl101O.sndManager.stopBgMusic("GameMusic");
if (_O111000ll == "win"){
removeChild(_O10OlO0Ol);
_O10OlO0Ol = null;
};
_O01OO0l1O = null;
removeChild(_O0l00OOO0);
_O0l00OOO0 = null;
removeChild(starTray);
starTray = null;
_O0l0100lO.clearData();
_O0l0100lO = null;
O0OOl101O.gameBox.removeChild(_OOlOll0l1);
_OOlOll0l1 = null;
_O101OOl1l.removeBg();
_O101OOl1l = null;
if (_O111000ll == "win"){
if ((((O0OOl101O.bestTimes[(curLevel - 1)] == 0)) || ((gTimer.finTime < O0OOl101O.bestTimes[(curLevel - 1)])))){
O0OOl101O.bestTimes[(curLevel - 1)] = gTimer.finTime;
O0OOl101O.cookie.writeCookie("bestTimes", O0OOl101O.bestTimes);
};
if ((((O0OOl101O._50Send == false)) && ((curLevel == 15)))){
if (O0OOl101O.tracker != null){
O0OOl101O.tracker.trackEvent("Horoscope Puzzle 2", "50% completed", "per session", 0);
O0OOl101O._50Send = true;
};
};
if (!OO10011ll.lockArr[curLevel]){
if ((((curLevel == 30)) && (!((O0OOl101O.passedLevel == 31))))){
O0OOl101O.passedLevel = 31;
if (O0OOl101O.isAllPass == false){
_O10ll1O00 = true;
Oll1OlOOO.gotoWin(this);
O0OOl101O.isAllPass = true;
O0OOl101O.cookie.writeCookie("isAllPass", true);
if (O0OOl101O._100Send == false){
if (O0OOl101O.tracker != null){
O0OOl101O.tracker.trackEvent("Horoscope Puzzle 2", "game completed", "per session", 0);
O0OOl101O._100Send = true;
};
};
};
} else {
if (O0OOl101O.passedLevel != 31){
O0OOl101O.passedLevel++;
};
};
O0OOl101O.cookie.writeCookie("passedLevel", O0OOl101O.passedLevel);
};
} else {
if ((((O0OOl101O.passedLevel == curLevel)) && ((curLevel < 30)))){
O0OOl101O[("grade" + int(((curLevel / 6) + 1)))].push(O0OOl101O.constellations[(curLevel - 1)]);
O0OOl101O.constellations[(curLevel - 1)] = null;
};
};
gTimer = null;
if (tryAgain){
_local1 = new Ol0001Oll(curLevel);
} else {
if (!_O10ll1O00){
Oll1OlOOO.gotoLevel(this);
};
};
}
private function _OOOll01l0(_arg1:KeyboardEvent):void{
if ((((_arg1.keyCode == 34)) || ((_arg1.keyCode == 35)))){
_O0l0l0Ol1 = true;
checkWin("a", "a");
};
}
private function _OO10l0000():void{
starTray = new MovieClip();
_O0l0100lO = new Ol0001Ol0(this);
}
private function _O0lO1OlO1():void{
addEventListener(MouseEvent.MOUSE_DOWN, _OOOO1lO1O);
addEventListener(MouseEvent.MOUSE_UP, _O1llO10l1);
}
private function _O11OOOlOO():void{
var _local1:int;
var _local2:int;
_local1 = 0;
while (_local1 < _O1Oll1lO0) {
_O0O0100l1 = new Array();
_local2 = 0;
while (_local2 < _O1Oll1lO0) {
_O0O0100l1.push(0);
_local2++;
};
_O1001OO0O.push(_O0O0100l1);
_local1++;
};
_O0lO1OlO1();
_local1 = 0;
while (_local1 < _O1O1l1010.length) {
_O1O1l1010[_local1].mouseEnabled = true;
_O1O1l1010[_local1].addEvents();
_local1++;
};
_local1 = 0;
while (_local1 < _O1Oll1lO0) {
_OOllO1O00[_local1].addEvents();
_local1++;
};
_OOlOll0l1 = new O0l011Oll(this, curLevel);
if ((((curLevel >= O0OOl101O.rotateLvl)) || ((((curLevel >= O0OOl101O.onlyRoLvl)) && ((curLevel < O0OOl101O.hideLvl)))))){
addEventListener("enterFrame", _O1OOO1OlO);
};
_OOlOll0l1.timerStart();
gTimer.timerStart();
}
public function preDraw(_arg1:int, _arg2:String="start"):void{
var _local3:Ol101ll01;
var _local4:MovieClip;
var _local5:int;
if (O0OOl101O.actStar != null){
_local3 = (starTray.getChildByName(O0OOl101O.actStar) as Ol101ll01);
_local3.removeEvents("enterFrame");
_local3.removeEvents("outEvent");
O0OOl101O.actStar = null;
};
_O111000ll = _arg2;
curLevel = _arg1;
_O00l0lOlO = O0OOl101O.timeGapArr[(_arg1 - 1)];
if ((((O0OOl101O.runTime == 0)) && (!((curLevel == 1))))){
O0OOl101O.runTime = 100;
};
if ((((O0OOl101O.runTime == 0)) && ((curLevel == 1)))){
_OOOOllO00 = (new (getDefinitionByName("RemTxt")) as MovieClip);
_OOOO0lOOO = (new (getDefinitionByName("HowToPlay")) as MovieClip);
_OOOO0lOOO.stop();
_local4 = (_OOOO0lOOO.getChildAt(0) as MovieClip);
_local4.gotoAndStop(1);
_OOOO0lOOO.addFrameScript(19, txtStop);
_O01l0O011 = (new (getDefinitionByName("Bracket")) as MovieClip);
_O01l0O011.addFrameScript((_O01l0O011.totalFrames - 1), _O0l10Oll1);
};
if ((((((((_O111000ll == "giveUp")) || ((_O111000ll == "win")))) || ((_O111000ll == "timeUp")))) || (tryAgain))){
if ((((((_O111000ll == "giveUp")) || ((_O111000ll == "timeUp")))) || (tryAgain))){
if (_OOOOllO00 != null){
_OOOOllO00.stop();
if (_OOOOllO00.parent != null){
_OOOOllO00.parent.removeChild(_OOOOllO00);
};
_OOOOllO00 = null;
};
if (_O01001Ol0 == true){
_O01OO0l1O.stop();
_O01OO0l1O.removeEventListener("enterFrame", _O01l1O100);
};
if (_O01OO0l1O != null){
_O01OO0l1O.stop();
_O01OO0l1O = null;
};
O0OOl101O.sndManager.stopBgMusic("GameMusic");
_O101OOl1l.isEnd = true;
};
if (_O01l0O011 != null){
_O01l0O011.stop();
_O01l0O011 = null;
};
if (_OOlOll0l1 != null){
_OOlOll0l1.nonClickable(true);
};
_O1lllOOOl();
};
_O1O0l11ll = _O0l0100lO.connectArray;
_O1Oll1lO0 = Ol0001Ol0.starInt;
_O01O100O1();
_O1O0Ollll = (_O1O0l11ll.length / 2);
_O01OO0101.visible = true;
_O01OO0101.filters = [_OOl00O11O];
_local5 = 0;
while (_local5 < _O1O0Ollll) {
_O100Oll01(_O1O0l11ll[(_local5 * 2)], _O1O0l11ll[((_local5 * 2) + 1)]);
_O0l0100lO.correctArray[_O1O0l11ll[(_local5 * 2)]][_O1O0l11ll[((_local5 * 2) + 1)]] = 1;
_local5++;
};
if (_O111000ll != "start"){
if (_O111000ll == "win"){
_OOOOl1000();
_O01OO0101.visible = true;
_O01OO0101.alpha = 1;
};
_local5 = 0;
while (_local5 < _O1Oll1lO0) {
_OOllO1O00[_local5].removeEvents("overEvent");
_local5++;
};
_local5 = 0;
while (_local5 < (totalStar - _O1Oll1lO0)) {
if (_O1O1l1010[_local5] != null){
_O1O1l1010[_local5].removeEvents("overEvent");
_O1O1l1010[_local5].destroy();
};
_local5++;
};
if ((((curLevel < O0OOl101O.onlyRoLvl)) || ((((curLevel >= O0OOl101O.hideLvl)) && ((curLevel < O0OOl101O.rotateLvl)))))){
addEventListener("enterFrame", _O0O1O0O10);
};
if ((((((curLevel >= O0OOl101O.rotateLvl)) || ((((curLevel >= O0OOl101O.onlyRoLvl)) && ((curLevel < O0OOl101O.hideLvl)))))) && ((((_O111000ll == "giveUp")) || ((_O111000ll == "timeUp")))))){
_O01OO0101.alpha = 0;
};
} else {
_O01OO0101.alpha = 0;
addEventListener("enterFrame", _O10001Oll);
};
}
function txtStop():void{
_OOOO0lOOO.stop();
}
private function _O0O1O0O10(_arg1:Event):void{
if ((((((_O101OOl1l.sketch.alpha < 1)) && ((_OOOlOlOl1 == 0)))) && ((_O111000ll == "win")))){
_O101OOl1l.sketch.alpha = (_O101OOl1l.sketch.alpha + 0.02);
};
if ((((alpha >= 0)) && ((((_O111000ll == "giveUp")) || ((_O111000ll == "timeUp")))))){
if (_O01OO0101.visible == false){
_O01OO0101.visible = true;
_O01OO0101.filters = [_OOl00O11O];
};
_O01OO0101.alpha = (_O01OO0101.alpha + 0.05);
if (_O11l0O100 != null){
_O11l0O100.alpha = (_O11l0O100.alpha - 0.05);
if (_O11l0O100.alpha <= 0){
_OOOOl1000();
_O11l0O100 = null;
};
};
if (_O01OO0101.alpha >= 1){
alpha = (alpha - 0.05);
_O101OOl1l.alpha = (_O101OOl1l.alpha - 0.05);
_OOlOll0l1.alpha = (_OOlOll0l1.alpha - 0.1);
};
};
if ((((_O111000ll == "win")) && ((_O101OOl1l.sketch.alpha >= 1)))){
if ((((_O01001Ol0 == false)) && ((_O11lOlOl0 == false)))){
playHint();
};
if (_O10OlO0Ol != null){
if (_O10OlO0Ol.currentFrame == _O10OlO0Ol.totalFrames){
_O10OlO0Ol.stop();
alpha = (alpha - 0.1);
_O101OOl1l.alpha = (_O101OOl1l.alpha - 0.1);
_OOlOll0l1.alpha = (_OOlOll0l1.alpha - 0.15);
};
};
};
if (alpha <= 0){
_O01OO0101.filters = [];
_O01OO0101 = null;
removeEventListener("enterFrame", _O0O1O0O10);
_O0O1lOlOl();
};
}
public function playTutorial(_arg1:int):void{
O0OOl101O.runTime = _arg1;
if (_arg1 == -1){
_O00l1111O = 0;
_O01l0O011.stop();
removeChild(_O01l0O011);
_O01l0O011 = null;
return;
};
if (_arg1 == 0){
_O00l1111O = 1;
addChildAt(_O01l0O011, 1);
_O11OOOlOO();
_O01l0O011.gotoAndPlay(1);
addChild(_OOOO0lOOO);
_OOOO0lOOO.x = -130;
_OOOO0lOOO.y = 184;
};
if (_arg1 == 1){
_O00l1111O = 2;
_O01l0O011.gotoAndPlay(1);
};
_O01l0O011.x = _OOllO1O00[_O1O0l11ll[_arg1]].x;
_O01l0O011.y = _OOllO1O00[_O1O0l11ll[_arg1]].y;
}
private function _O100Oll01(_arg1:Number, _arg2:Number):void{
_O0OOl11ll = (starTray.getChildByName(("star" + _arg1)) as Ol101ll01);
_O0ll00O10 = (starTray.getChildByName(("star" + _arg2)) as Ol101ll01);
_O01OO0101.graphics.lineStyle(1, 8644604, 0.8, false, "none", "none");
_O01OO0101.graphics.moveTo(_O0OOl11ll.x, _O0OOl11ll.y);
_O01OO0101.graphics.lineTo(_O0ll00O10.x, _O0ll00O10.y);
if ((((_O111000ll == "giveUp")) || ((_O111000ll == "timeUp")))){
_O01OO0101.alpha = 0;
};
_O0l00OOO0.addChildAt(_O01OO0101, 0);
}
private function _OO1O1OO0O(_arg1:O0l000OO0):void{
_OOlOll10O.push(_arg1);
}
private function _O01110100():void{
_O0l00OOO0.graphics.beginFill(0, 0);
_O0l00OOO0.graphics.drawRect(-275, -260, 550, 520);
_O0l00OOO0.graphics.endFill();
_O0l00OOO0.name = "hitSp";
}
public function removeLines(_arg1:O0l000OO0):void{
_O11l0O100.removeChild(_arg1);
_OO10001OO(_arg1);
checkWin("del", "del");
}
private function _O10001Oll(_arg1:Event):void{
var _local2:uint;
_OOOlOlOl1++;
if ((((((((O0OOl101O.passedLevel == 1)) && ((O0OOl101O.runTime == 0)))) && ((_OOOlOlOl1 == 1)))) && ((curLevel == 1)))){
addChild(_OOOOllO00);
_OOOOllO00.y = -150;
_OOOOllO00.gotoAndPlay(1);
_OOOOllO00.addFrameScript((_OOOOllO00.totalFrames - 1), _OO00OlOO1);
_OOOO0lOOO.play();
};
if ((((_OOOlOlOl1 < _OOOOO0110)) && ((_O01OO0101.alpha < 1)))){
_O01OO0101.alpha = (_O01OO0101.alpha + 0.02);
if (((((!((_OOOOllO00 == null))) && ((_O01OO0101.alpha >= 1)))) && ((O0OOl101O.passedLevel == 1)))){
removeEventListener("enterFrame", _O10001Oll);
};
};
if (_OOOlOlOl1 >= _OOOOO0110){
_O01OO0101.alpha = (_O01OO0101.alpha - 0.02);
if (curLevel >= O0OOl101O.hideLvl){
starTray.alpha = (starTray.alpha - 0.02);
if (starTray.alpha <= 0){
_local2 = 0;
while (_local2 < _O1O1l1010.length) {
_O1O1l1010[_local2].alpha = 1;
_O1O1l1010[_local2].buttonMode = true;
_local2++;
};
};
};
if (_O01OO0101.alpha <= 0){
if (curLevel >= O0OOl101O.hideLvl){
starTray.alpha = (starTray.alpha + 0.05);
} else {
_local2 = 0;
while (_local2 < _O1O1l1010.length) {
_O1O1l1010[_local2].alpha = (_O1O1l1010[_local2].alpha + 0.05);
if (_O1O1l1010[_local2].alpha >= 1){
_O1O1l1010[_local2].alpha = 1;
_O1O1l1010[_local2].buttonMode = true;
};
_local2++;
};
};
if ((((starTray.alpha >= 1)) && ((_O1O1l1010[0].alpha >= 1)))){
starTray.alpha = 1;
_O01OO0101.filters = [];
_O01OO0101.visible = false;
_O01OO0101.alpha = 0;
removeEventListener("enterFrame", _O10001Oll);
_OOOlOlOl1 = 0;
_O101OOl1l.starsBlast(_O101OOl1l);
if ((((O0OOl101O.passedLevel == 1)) && ((O0OOl101O.runTime == 0)))){
playTutorial(0);
} else {
_O11OOOlOO();
};
};
};
};
}
private function _O01l1O100(_arg1:TimerEvent):void{
if (_O0l0100lO.notesArray[_O01011l1O] != 0){
_OOllO1O00[_OOlOlOOll].playSound();
if (_O111000ll == "win"){
_OOllO1O00[_OOlOlOOll].lipping();
};
_OOlOlOOll++;
};
_O01011l1O++;
if (_O01011l1O == _O0l0100lO.notesArray.length){
_O01OO0l1O.removeEventListener(TimerEvent.TIMER, _O01l1O100);
if (_OOlOlOOll == _O1Oll1lO0){
_OOlOlOOll = 0;
_O01011l1O = 0;
_OOlOll0l1.isHint = false;
_O01001Ol0 = false;
if (_OOlOll0l1 == null){
return;
};
if (_O111000ll == "win"){
_O11lOlOl0 = true;
_O10OlO0Ol = (new (getDefinitionByName("winTxt")) as MovieClip);
_O10OlO0Ol.y = -80;
addChild(_O10OlO0Ol);
_O10OlO0Ol.play();
};
};
};
}
private function _O0llO1100(_arg1:MovieClip, _arg2:uint, _arg3:int=2):void{
TransitionManager.start(_arg1, {type:Fade, direction:_arg2, duration:_arg3, easing:Strong.easeOut});
}
private function _O1lllOOOl():void{
removeEventListener(MouseEvent.MOUSE_UP, _O1llO10l1);
removeEventListener(MouseEvent.MOUSE_DOWN, _OOOO1lO1O);
}
private function _OOOO1lO1O(_arg1:MouseEvent):void{
if ((((curLevel == 1)) && (!((_O00l1111O == 0))))){
if (_O00l1111O == 1){
if (_arg1.target.name == "star0"){
playTutorial(1);
};
};
if (_O00l1111O == 2){
if (_arg1.target.name == "star2"){
playTutorial(-1);
};
};
};
if (curStar != null){
curStar.downEvent();
return;
};
if ((_arg1.target is Ol101ll01)){
_arg1.target.downEvent();
};
}
private function _O1llO10l1(_arg1:MouseEvent):void{
var _local2:Ol101ll01;
if (curStar != null){
curStar.upEvent();
};
if (_arg1.target.name == "hitSp"){
if (O0l000OO0.mode == "delete"){
O0l000OO0.mode = "connect";
};
};
if ((((((_arg1.target.name == "hitSp")) || ((_arg1.target.name == "dynamicLine")))) && (!((O0OOl101O.actStar == null))))){
_local2 = (starTray.getChildByName(O0OOl101O.actStar) as Ol101ll01);
_local2.removeEvents("enterFrame");
O0OOl101O.actStar = null;
};
}
private function _O1OOO1OlO(_arg1:Event):void{
if (_O111000ll == "start"){
MatrixTransformer.rotateAroundInternalPoint(_O111Olll1, 0, 0, 0.05);
transform.matrix = _O111Olll1;
} else {
if (_O01OO0101.alpha < 1){
_O01OO0101.alpha = (_O01OO0101.alpha + 0.05);
_O11l0O100.alpha = (_O11l0O100.alpha - 0.05);
};
if (_O01OO0101.alpha >= 1){
if (rotation < 0){
MatrixTransformer.rotateAroundInternalPoint(_O111Olll1, 0, 0, 2);
} else {
MatrixTransformer.rotateAroundInternalPoint(_O111Olll1, 0, 0, -2);
};
transform.matrix = _O111Olll1;
};
if (Math.abs(rotation) <= 2){
rotation = 0;
removeEventListener("enterFrame", _O1OOO1OlO);
addEventListener("enterFrame", _O0O1O0O10);
return;
};
};
}
private function _O01O100O1():void{
var _local1:int;
_OOllO1O00 = new Array();
_O1O1l1010 = new Array();
_local1 = 0;
while (_local1 < starTray.numChildren) {
if (starTray.getChildByName(("fake" + _local1)) != null){
_O101l10O1 = (starTray.getChildByName(("fake" + _local1)) as Ol101ll01);
_O101l10O1.alpha = 0;
_O101l10O1.buttonMode = false;
_O101l10O1.mouseEnabled = false;
_O1O1l1010.push(_O101l10O1);
};
if (starTray.getChildByName(("star" + _local1)) != null){
_OO1l111OO = (starTray.getChildByName(("star" + _local1)) as Ol101ll01);
_OOllO1O00.push(_OO1l111OO);
};
_local1++;
};
}
private function _OOOOl1000():void{
var _local1:int;
if (_O11l0O100 == null){
return;
};
_local1 = 0;
while (_local1 < _O11l0O100.numChildren) {
if (_O11l0O100.getChildAt(_local1) != null){
(_O11l0O100.getChildAt(_local1) as O0l000OO0).destroy();
};
_local1++;
};
removeChild(_O11l0O100);
_O11l0O100 = null;
}
private function _O0l10Oll1():void{
if (_O01l0O011 != null){
_O01l0O011.gotoAndPlay("blink");
};
}
private function _OO10001OO(_arg1:O0l000OO0):void{
_O0lOl10O1 = _arg1;
if (((!((_O0lOl10O1.starFrom.indexOf("fake") == -1))) || (!((_O0lOl10O1.starTo.indexOf("fake") == -1))))){
_OO0O1l111--;
return;
};
_O1lllOO0O = int(_O0lOl10O1.starFrom.substr(4));
_O0O11O11O = int(_O0lOl10O1.starTo.substr(4));
if (_O1lllOO0O > _O0O11O11O){
_O1lllOO0O = (_O0O11O11O + ((_O0O11O11O = _O1lllOO0O) * 0));
};
_O1001OO0O[_O1lllOO0O][_O0O11O11O] = 0;
}
public function checkWin(_arg1:String, _arg2:String):void{
var _local3:int;
var _local4:int;
var _local5:Ol101ll01;
_OOOl00lO0 = true;
if (((!((_arg1.indexOf("fake") == -1))) || (!((_arg2.indexOf("fake") == -1))))){
_OO0O1l111++;
return;
};
if (((!((_arg1 == "del"))) && (!((_arg2 == "del"))))){
_O110O11l1 = int(_arg1.substr(4, 2));
id1 = int(_arg2.substr(4, 2));
if (_O110O11l1 > id1){
_O110O11l1 = (id1 + ((id1 = _O110O11l1) * 0));
};
_O1001OO0O[_O110O11l1][id1] = 1;
};
if (_OO0O1l111 != 0){
_OOOl00lO0 = false;
return;
};
_local3 = 0;
while (_local3 < _O1Oll1lO0) {
_local4 = 0;
while (_local4 < _O1Oll1lO0) {
if (_O1001OO0O[_local3][_local4] != _O0l0100lO.correctArray[_local3][_local4]){
_OOOl00lO0 = false;
break;
};
_local4++;
};
_local3++;
};
if (_OOOl00lO0){
if (O0l000OO0.mode == "delete"){
O0l000OO0.mode = "connect";
};
if (gTimer != null){
gTimer.timerStop();
};
if (((!((_OOlOll0l1 == null))) && (_OOlOll0l1.isHint))){
_OOlOll0l1.isHint = false;
_OOlOlOOll = 0;
_O01011l1O = 0;
};
_O111000ll = "win";
if (O0OOl101O.actStar != null){
_local5 = (starTray.getChildByName(O0OOl101O.actStar) as Ol101ll01);
_local5.removeEvents("enterFrame");
};
preDraw(curLevel, "win");
if (_OOOO0lOOO != null){
_OOOO0lOOO.play();
};
O0OOl101O.sndManager.musicFade("GameMusic", 2.5, this, _OOO10O11l);
};
}
private function _OO00OlOO1():void{
_OOOOllO00.stop();
removeChild(_OOOOllO00);
_OOOOllO00 = null;
_OOOlOlOl1++;
addEventListener("enterFrame", _O10001Oll);
}
public function playHint():void{
_OOlOlOOll = 0;
_O01OO0l1O = new Timer(_O00l0lOlO);
_O01OO0l1O.start();
_O01OO0l1O.addEventListener(TimerEvent.TIMER, _O01l1O100);
_O101OOll0 = getTimer();
_O01001Ol0 = true;
}
}
}//package OOll0l1Ol
Section 118
//O11lOO0ll (OOll0l1Ol.O11lOO0ll)
package OOll0l1Ol {
import flash.display.*;
public class O11lOO0ll extends OlOOlO001 {
public var flag:MovieClip;
public var short:MovieClip;
}
}//package OOll0l1Ol
Section 119
//O1ll1OOlO (OOll0l1Ol.O1ll1OOlO)
package OOll0l1Ol {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class O1ll1OOlO extends MovieClip {
private const _OO1OO1l0O:Number = 20;
private var _OOl0OO110:int;// = 20
private var _O00lO11lO:int;// = 80
private var _O1O1lOll0:int;
private var _OO00O0lO0:Sprite;
private var _O1Ol10OOO:Number;
private var _OO1O1ll1l:int;
private var _OO0O01ll1:int;
public function O1ll1OOlO(){
_OOl0OO110 = 20;
_O00lO11lO = 80;
super();
_OOO1l1101();
}
private function _OO000O010():void{
var _local1:Sprite;
_local1 = new Sprite();
_OO00O0lO0 = new Sprite();
_local1 = new (getDefinitionByName("meteor"));
_OO00O0lO0 = new (getDefinitionByName("meteorMask"));
_local1.name = ("meteor" + _OO1O1ll1l);
_local1.cacheAsBitmap = true;
_OO00O0lO0.cacheAsBitmap = true;
_local1.mask = _OO00O0lO0;
_local1.rotation = (360 * Math.random());
_O1Ol10OOO = (((_local1.rotation * Math.PI) / 180) + (Math.PI / 2));
_OO00O0lO0.rotation = _local1.rotation;
_local1.x = 0;
_local1.y = 0;
_local1.scaleX = 0.1;
_local1.scaleY = 0.1;
_OO00O0lO0.x = (_local1.x + (((Math.random() * 20) + 140) * Math.cos(_O1Ol10OOO)));
_OO00O0lO0.y = (_local1.y + (((Math.random() * 20) + 140) * Math.sin(_O1Ol10OOO)));
addChild(_local1);
addChild(_OO00O0lO0);
_OO1O1ll1l++;
}
private function _OOOl0O0OO(_arg1:Event):void{
var _local2:int;
var _local3:Sprite;
var _local4:Sprite;
var _local5:Number;
if (_O00lO11lO > 0){
_O00lO11lO--;
};
if ((((_O1O1lOll0 == _OO0O01ll1)) && ((_O00lO11lO == 0)))){
_OO0O01ll1 = Math.floor(((Math.random() * _OOl0OO110) + 5));
_O1O1lOll0 = 0;
_OO000O010();
};
_O1O1lOll0++;
while (_local2 < _OO1O1ll1l) {
_local3 = (getChildByName(("meteor" + _local2)) as Sprite);
if (_local3 != null){
_local4 = (_local3.mask as Sprite);
if (_local3.scaleY <= 0.7){
_local3.scaleX = (_local3.scaleX + 0.1);
_local3.scaleY = (_local3.scaleY + 0.1);
};
_local5 = (((_local3.rotation * Math.PI) / 180) + Math.PI);
_local3.x = (_local3.x + (_OO1OO1l0O * Math.sin(_local5)));
_local3.y = (_local3.y - (_OO1OO1l0O * Math.cos(_local5)));
if ((((((((_local3.x <= -500)) || ((_local3.x > 1000)))) || ((_local3.y < -500)))) || ((_local3.y > 1000)))){
removeChild(_local3);
removeChild(_local4);
};
};
_local2++;
};
}
public function removeEvent():void{
removeEventListener("enterFrame", _OOOl0O0OO);
while (numChildren != 0) {
removeChildAt(0);
};
}
public function set gap(_arg1:int):void{
_O00lO11lO = _arg1;
}
private function _OOO1l1101():void{
_OO0O01ll1 = _O00lO11lO;
}
public function set spars(_arg1:int):void{
_OOl0OO110 = _arg1;
}
public function pause():void{
removeEventListener("enterFrame", _OOOl0O0OO);
}
public function blast():void{
addEventListener("enterFrame", _OOOl0O0OO, false, 0, true);
}
}
}//package OOll0l1Ol
Section 120
//O1O0O0llO (OOll0l1Ol.O1O0O0llO)
package OOll0l1Ol {
import O11O1OOlO.*;
public class O1O0O0llO extends OlOOlO001 {
override protected function init():void{
isEnabled = false;
stop();
buttonMode = true;
gotoAndStop(O1l11l10O.branding_nr);
}
public function set id(_arg1:int):void{
switch (_arg1){
case 2:
addEventListener("click", Oll01lOO0.onCLick2);
break;
case 3:
addEventListener("click", Oll01lOO0.onCLick3);
break;
case 4:
addEventListener("click", Oll01lOO0.onCLick4);
break;
case 5:
addEventListener("click", Oll01lOO0.onCLick5);
break;
case 6:
addEventListener("click", Oll01lOO0.onCLick6);
break;
case 7:
addEventListener("click", Oll01lOO0.onCLick7);
break;
case 8:
addEventListener("click", Oll01lOO0.onCLick10);
break;
case 9:
addEventListener("click", Oll01lOO0.onCLick9);
break;
case 10:
addEventListener("click", Oll01lOO0.onCLick8);
break;
default:
return;
};
}
}
}//package OOll0l1Ol
Section 121
//Ol101ll01 (OOll0l1Ol.Ol101ll01)
package OOll0l1Ol {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
import O11OOl1Ol.*;
import flash.filters.*;
public class Ol101ll01 extends MovieClip {
private var _O0OOl10ll:Point;
private var _OO0l10l1l:O10O1001O;
private var _OOl0OO00O:Sprite;
private var _OOll0000O:Boolean;
private var _OO10lOllO:O0l000OO0;
public var lineArea:Sprite;
private var _O100lll11:GlowFilter;
private var _O101O0O01:Sprite;
private var _O01O0110l:Point;
private var _OOlOOll0O:Sprite;
private var _O0lO0100l:Sprite;
private var _O0l10O101:Ol101ll01;// = null
private var _O1ll1llO0:Boolean;
public var note:String;
public function Ol101ll01(){
_O0l10O101 = null;
_OOlOOll0O = new Sprite();
super();
addFrameScript(0, frame1);
_O1lO10O10();
}
public function destroy():void{
removeEvents("all");
parent.removeChild(this);
}
public function set enable(_arg1:Boolean):void{
_O1ll1llO0 = _arg1;
}
private function _O11100l0l(_arg1:Event):void{
var _local2:Point;
_local2 = new Point();
_local2 = localToGlobal(new Point(mouseX, mouseY));
_local2 = _OOlOOll0O.parent.globalToLocal(_local2);
_OOlOOll0O.graphics.clear();
_OOlOOll0O.graphics.moveTo(x, y);
_OOlOOll0O.graphics.lineStyle(1, 0xFFFFFF);
_OOlOOll0O.graphics.lineTo(_local2.x, _local2.y);
_O100lll11 = new GlowFilter(0xFFFFFF, 1, 7, 7, 3, 3);
_OOlOOll0O.filters = [_O100lll11];
}
public function addEvents():void{
addEventListener(MouseEvent.ROLL_OVER, _OO1lO10OO, false, 0, true);
addEventListener(MouseEvent.ROLL_OUT, _O0OOOlOl0, false, 0, true);
}
private function _O1lO10O10():void{
buttonMode = true;
mouseChildren = false;
_O101O0O01 = new Sprite();
_O101O0O01.graphics.beginFill(0, 0);
_O101O0O01.graphics.drawCircle(0, 0, (width * 1.5));
_O101O0O01.graphics.endFill();
gotoAndStop(1);
addChild(_O101O0O01);
}
private function _OO1lO10OO(_arg1:MouseEvent):void{
var _local2:Point;
if (O0l000OO0.mode == "delete"){
return;
};
_OO0l10l1l = (parent.parent as O10O1001O);
_OO0l10l1l.curStar = this;
if (((!((O0OOl101O.actStar == null))) && (!((O0OOl101O.actStar == name))))){
lineArea = (_OO0l10l1l.getChildByName("hitSp") as Sprite);
_O0l10O101 = (_OO0l10l1l.starTray.getChildByName(O0OOl101O.actStar) as Ol101ll01);
_O0l10O101.removeEvents("enterFrame", -1);
_local2 = new Point(0, 0);
_local2 = localToGlobal(_local2);
_local2 = _O0l10O101.globalToLocal(_local2);
_O0lO0100l = (lineArea.getChildByName("dynamicLine") as Sprite);
_O0lO0100l.graphics.clear();
_O0lO0100l.graphics.moveTo(_O0l10O101.x, _O0l10O101.y);
_O0lO0100l.graphics.lineStyle(1, 0xFFFFFF);
_O0lO0100l.graphics.lineTo(x, y);
};
lipping();
}
public function downEvent():void{
if (O0l000OO0.mode == "delete"){
return;
};
if (O0OOl101O.actStar == null){
O0OOl101O.actStar = name;
gotoAndStop(2);
_OO0l10l1l = (parent.parent as O10O1001O);
lineArea = (_OO0l10l1l.getChildByName("hitSp") as Sprite);
lineArea.addChildAt(_OOlOOll0O, 0);
_OOlOOll0O.name = "dynamicLine";
_OOlOOll0O.mouseChildren = false;
addEventListener("enterFrame", _O11100l0l);
};
}
public function playSound():void{
O0OOl101O.sndManager.playStarSound(this, note);
}
function frame1(){
stop();
}
private function _O0OOOlOl0(_arg1:MouseEvent):void{
if (((!((parent == null))) && (!((parent.parent == null))))){
_OO0l10l1l = (parent.parent as O10O1001O);
_OO0l10l1l.curStar = null;
if (((!((O0OOl101O.actStar == null))) && (!((O0OOl101O.actStar == name))))){
_O0l10O101 = (_OO0l10l1l.starTray.getChildByName(O0OOl101O.actStar) as Ol101ll01);
_O0l10O101.restoreEvent();
};
};
}
private function _OOOl0OlO1(_arg1:Sprite, _arg2:Ol101ll01):void{
var _local3:int;
var _local4:O0l000OO0;
_OOll0000O = false;
_local3 = 0;
while (_local3 < _arg1.numChildren) {
_local4 = (_arg1.getChildAt(_local3) as O0l000OO0);
if ((((_local4.starTo == name)) && ((_local4.starFrom == _arg2.name)))){
_OOll0000O = true;
break;
};
if ((((_local4.starFrom == name)) && ((_local4.starTo == _arg2.name)))){
_OOll0000O = true;
break;
};
_local3++;
};
}
public function lipping():void{
var _local1:MovieClip;
if (getChildByName("lipper") != null){
return;
};
playSound();
_local1 = (new (getDefinitionByName("Lipper")) as MovieClip);
_local1.name = "lipper";
addChildAt(_local1, 0);
}
public function restoreEvent():void{
addEventListener("enterFrame", _O11100l0l);
}
public function removeEvents(_arg1:String, _arg2:int=1):void{
switch (_arg1){
case "click":
break;
case "enterFrame":
removeEventListener(Event.ENTER_FRAME, _O11100l0l);
_OOlOOll0O.graphics.clear();
if (_arg2 == 1){
gotoAndStop(1);
};
break;
case "overEvent":
removeEventListener(MouseEvent.ROLL_OVER, _OO1lO10OO);
break;
case "outEvent":
removeEventListener(MouseEvent.ROLL_OUT, _O0OOOlOl0);
default:
removeEventListener(Event.ENTER_FRAME, _O11100l0l);
removeEventListener(MouseEvent.ROLL_OVER, _OO1lO10OO);
removeEventListener(MouseEvent.ROLL_OUT, _O0OOOlOl0);
return;
};
}
public function upEvent():void{
if (O0l000OO0.mode == "delete"){
return;
};
if (((!((O0OOl101O.actStar == name))) && (!((O0OOl101O.actStar == null))))){
_OO0l10l1l = (parent.parent as O10O1001O);
_OOl0OO00O = (_OO0l10l1l.getChildByName("lineContainer") as Sprite);
_O0l10O101 = (_OO0l10l1l.starTray.getChildByName(O0OOl101O.actStar) as Ol101ll01);
_O0l10O101.removeEvents("enterFrame");
_O0l10O101.lineArea.removeChildAt(0);
_OOOl0OlO1(_OOl0OO00O, _O0l10O101);
if (!_OOll0000O){
_O0OOl10ll = new Point(x, y);
_O01O0110l = _OO0l10l1l.localToGlobal(new Point(_O0l10O101.x, _O0l10O101.y));
_OO10lOllO = new O0l000OO0(_OO0l10l1l);
_OOl0OO00O.addChild(_OO10lOllO);
_OO10lOllO.drawLine(_O0OOl10ll, _O01O0110l, _O0l10O101.name, name);
O0OOl101O.actStar = null;
_OO0l10l1l.checkWin(_O0l10O101.name, name);
_OOll0000O = false;
} else {
O0OOl101O.actStar = null;
};
};
}
}
}//package OOll0l1Ol
Section 122
//OlOOlO001 (OOll0l1Ol.OlOOlO001)
package OOll0l1Ol {
import flash.events.*;
import flash.display.*;
import OOl00OO1O.*;
public class OlOOlO001 extends MovieClip {
public var startgame:trans_startGame;
public var ec:MovieClip;
public var isEnabled:Boolean;
public function OlOOlO001(){
init();
}
public function set enable(_arg1:Boolean):void{
isEnabled = _arg1;
buttonMode = (isEnabled) ? true : false;
}
protected function init():void{
stop();
isEnabled = true;
buttonMode = true;
mouseChildren = false;
addEventListener("rollOver", _OO0O1l111, false, 0, true);
addEventListener("rollOut", _O0lOl0lOO, false, 0, true);
}
public function get enable():Boolean{
return (isEnabled);
}
private function _O0lOl0lOO(_arg1:MouseEvent):void{
if (!isEnabled){
return;
};
gotoAndStop(1);
}
private function _OO0O1l111(_arg1:MouseEvent):void{
if (!isEnabled){
return;
};
gotoAndStop(2);
OOl1010l0.instance().playBtnSnd(_arg1.currentTarget.name);
}
}
}//package OOll0l1Ol
Section 123
//OO0l110O1 (OOll0l1Ol.OO0l110O1)
package OOll0l1Ol {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class OO0l110O1 extends Sprite {
private var _O0l0lll1O:Number;
private var _OO0l1l0l0:Sprite;
private var _O1101O1ll:Sprite;
private var _OOl10OOlO:Number;
private var _O1l1l100O:int;
private var _O111O0OOl:Number;
private var _O10l0OOO1:int;
private var _OO10111OO:Sprite;
private var _O0llO0llO:Number;
private var _O10l0ll1O:Number;
private var _OOllO1l11:Number;// = 30
private var _O1100Ol10:Sprite;
private var _OOOl111l1:Sprite;
private var _O10O1100O:Number;
public function OO0l110O1(_arg1:int=0):void{
_OOllO1l11 = 30;
_OO10111OO = new Sprite();
_O1101O1ll = new Sprite();
super();
_O10l0OOO1 = _arg1;
_O101O0110();
_OO1OOl01O();
}
private function _O000l010l():void{
removeEventListener("enterFrame", _O001lO0ll);
}
private function _OO1OO000l():void{
var _local1:Sprite;
_local1 = (new (getDefinitionByName("Sand")) as Sprite);
_O1100Ol10.addChildAt(_local1, 0);
_local1.name = "sand";
_local1.x = ((-1.1 + (Math.random() * 4)) - 2);
_local1.y = 2.8;
_local1.scaleX = (_local1.scaleY = ((Math.random() * 0.7) + 0.3));
}
private function _OO1OOl01O():void{
_OO10111OO.graphics.beginFill(0xFFFFFF);
_OO10111OO.graphics.drawRect(0, 0, 18.1, 7.1);
_OO10111OO.graphics.endFill();
_O1101O1ll.graphics.beginFill(0xFFFFFF);
_O1101O1ll.graphics.drawRect(0, 0, 16.8, 16.1);
_O1101O1ll.graphics.endFill();
_O1100Ol10.addChild(_OO10111OO);
_O1100Ol10.addChild(_O1101O1ll);
_OO10111OO.x = (_OOOl111l1.x - 9.05);
_OO10111OO.y = (_OOOl111l1.y + 3.55);
_O1101O1ll.x = (_OO0l1l0l0.x - 8.4);
_O1101O1ll.y = (_OO0l1l0l0.y - 8.05);
_OOOl111l1.mask = _OO10111OO;
_OO0l1l0l0.mask = _O1101O1ll;
_OOOl111l1.alpha = 1;
_O10l0ll1O = _OO10111OO.y;
_OOl10OOlO = _O1101O1ll.y;
_O0l0lll1O = (_OO10111OO.height / _O10l0OOO1);
_O111O0OOl = (_O1101O1ll.height / _O10l0OOO1);
_O0llO0llO = _O1101O1ll.y;
_O10O1100O = _OO10111OO.y;
}
public function timing():void{
addEventListener("enterFrame", _O001lO0ll);
}
public function setPos(_arg1:Number):void{
_OO10111OO.y = (_O10O1100O - (_OO10111OO.height * _arg1));
_O1101O1ll.y = (_O0llO0llO + (_O1101O1ll.height * _arg1));
if (_arg1 <= 1){
if (_arg1 <= 0.98){
_OO1OO000l();
};
_O1lO1l1OO();
};
}
private function _O1lO1l1OO():void{
var _local1:int;
var _local2:int;
var _local3:Sprite;
_local1 = _O1100Ol10.numChildren;
_local2 = 0;
while (_local2 < _local1) {
if (((!((_O1100Ol10.getChildAt(_local2) == null))) && ((_O1100Ol10.getChildAt(_local2) is Sprite)))){
_local3 = (_O1100Ol10.getChildAt(_local2) as Sprite);
if (_local3.name == "sand"){
_local3.y = (_local3.y + 1);
if (_local3.y > 22){
_O1100Ol10.removeChild(_local3);
_local1--;
_local2--;
};
};
};
_local2++;
};
}
private function _O001lO0ll(_arg1:Event):void{
_O1l1l100O++;
if (_O1l1l100O == _O10l0OOO1){
_O000l010l();
};
if (((((_O1l1l100O % 3) == 0)) && ((_O1l1l100O < (_O10l0OOO1 - _OOllO1l11))))){
_OO1OO000l();
};
_O1lO1l1OO();
_OOl10OOlO = (_OOl10OOlO + _O111O0OOl);
_O10l0ll1O = (_O10l0ll1O - _O0l0lll1O);
_OO10111OO.y = _O10l0ll1O;
_O1101O1ll.y = _OOl10OOlO;
}
private function _O101O0110():void{
_O1100Ol10 = (new (getDefinitionByName("SandGlass")) as Sprite);
addChild(_O1100Ol10);
_OOOl111l1 = (_O1100Ol10.getChildByName("bSand") as Sprite);
_OO0l1l0l0 = (_O1100Ol10.getChildByName("tSand") as Sprite);
_OOOl111l1.alpha = 0;
}
}
}//package OOll0l1Ol
Section 124
//OOl11ll11 (OOll0l1Ol.OOl11ll11)
package OOll0l1Ol {
import flash.net.*;
import flash.events.*;
import flash.display.*;
public class OOl11ll11 extends MovieClip {
private var _O1ll1O0lO:Oll1O1l0O;
public function OOl11ll11(_arg1:Oll1O1l0O){
addFrameScript(7, frame8, 152, frame153, 239, frame240);
_O1ll1O0lO = _arg1;
_OO0O011lO();
addFrameScript((totalFrames - 1), _O1l0lll1O);
}
function frame153(){
}
function frame8(){
}
private function _O1lOl1OlO(_arg1:Event):void{
removeEventListener("click", _O1O101lOl);
removeEventListener(Event.REMOVED_FROM_STAGE, _O1lOl1OlO);
}
private function _OO0O011lO():void{
addEventListener("click", _O1O101lOl);
buttonMode = true;
addEventListener(Event.REMOVED_FROM_STAGE, _O1lOl1OlO);
}
function frame240(){
stop();
}
private function _O1O101lOl(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.game.com.cn"), "_blank");
}
private function _O1l0lll1O():void{
stop();
parent.removeChild(this);
_O1ll1O0lO.showMenu();
}
}
}//package OOll0l1Ol
Section 125
//_a1 (_a1)
package {
import flash.media.*;
public dynamic class _a1 extends Sound {
}
}//package
Section 126
//_a2 (_a2)
package {
import flash.media.*;
public dynamic class _a2 extends Sound {
}
}//package
Section 127
//_a3 (_a3)
package {
import flash.media.*;
public dynamic class _a3 extends Sound {
}
}//package
Section 128
//_c1 (_c1)
package {
import flash.media.*;
public dynamic class _c1 extends Sound {
}
}//package
Section 129
//_c2 (_c2)
package {
import flash.media.*;
public dynamic class _c2 extends Sound {
}
}//package
Section 130
//_c3 (_c3)
package {
import flash.media.*;
public dynamic class _c3 extends Sound {
}
}//package
Section 131
//_d1 (_d1)
package {
import flash.media.*;
public dynamic class _d1 extends Sound {
}
}//package
Section 132
//_d2 (_d2)
package {
import flash.media.*;
public dynamic class _d2 extends Sound {
}
}//package
Section 133
//_d3 (_d3)
package {
import flash.media.*;
public dynamic class _d3 extends Sound {
}
}//package
Section 134
//_f1 (_f1)
package {
import flash.media.*;
public dynamic class _f1 extends Sound {
}
}//package
Section 135
//_f2 (_f2)
package {
import flash.media.*;
public dynamic class _f2 extends Sound {
}
}//package
Section 136
//_f3 (_f3)
package {
import flash.media.*;
public dynamic class _f3 extends Sound {
}
}//package
Section 137
//_g1 (_g1)
package {
import flash.media.*;
public dynamic class _g1 extends Sound {
}
}//package
Section 138
//_g2 (_g2)
package {
import flash.media.*;
public dynamic class _g2 extends Sound {
}
}//package
Section 139
//_g3 (_g3)
package {
import flash.media.*;
public dynamic class _g3 extends Sound {
}
}//package
Section 140
//a1 (a1)
package {
import flash.media.*;
public dynamic class a1 extends Sound {
}
}//package
Section 141
//a2 (a2)
package {
import flash.media.*;
public dynamic class a2 extends Sound {
}
}//package
Section 142
//a3 (a3)
package {
import flash.media.*;
public dynamic class a3 extends Sound {
}
}//package
Section 143
//b1 (b1)
package {
import flash.media.*;
public dynamic class b1 extends Sound {
}
}//package
Section 144
//b2 (b2)
package {
import flash.media.*;
public dynamic class b2 extends Sound {
}
}//package
Section 145
//b3 (b3)
package {
import flash.media.*;
public dynamic class b3 extends Sound {
}
}//package
Section 146
//BackStar (BackStar)
package {
import flash.display.*;
public dynamic class BackStar extends MovieClip {
public var light:MovieClip;
}
}//package
Section 147
//bg1 (bg1)
package {
import flash.display.*;
public dynamic class bg1 extends MovieClip {
}
}//package
Section 148
//bg2 (bg2)
package {
import flash.display.*;
public dynamic class bg2 extends MovieClip {
}
}//package
Section 149
//bg3 (bg3)
package {
import flash.display.*;
public dynamic class bg3 extends MovieClip {
}
}//package
Section 150
//bg4 (bg4)
package {
import flash.display.*;
public dynamic class bg4 extends MovieClip {
}
}//package
Section 151
//bg5 (bg5)
package {
import flash.display.*;
public dynamic class bg5 extends MovieClip {
}
}//package
Section 152
//BlastFx (BlastFx)
package {
import flash.media.*;
public dynamic class BlastFx extends Sound {
}
}//package
Section 153
//BlastMc (BlastMc)
package {
import flash.display.*;
public dynamic class BlastMc extends MovieClip {
public var l1:MovieClip;
public var l4:MovieClip;
public var l5:MovieClip;
public var l3:MovieClip;
public var l6:MovieClip;
public var l2:MovieClip;
public function BlastMc(){
addFrameScript(9, frame10, 19, frame20);
}
function frame10(){
stop();
}
function frame20(){
stop();
}
}
}//package
Section 154
//blueStar (blueStar)
package {
import flash.display.*;
public dynamic class blueStar extends MovieClip {
}
}//package
Section 155
//Bracket (Bracket)
package {
import flash.display.*;
public dynamic class Bracket extends MovieClip {
}
}//package
Section 156
//branding_aligned_center (branding_aligned_center)
package {
import OOll0l1Ol.*;
public dynamic class branding_aligned_center extends O1O0O0llO {
}
}//package
Section 157
//c1 (c1)
package {
import flash.media.*;
public dynamic class c1 extends Sound {
}
}//package
Section 158
//c2 (c2)
package {
import flash.media.*;
public dynamic class c2 extends Sound {
}
}//package
Section 159
//c3 (c3)
package {
import flash.media.*;
public dynamic class c3 extends Sound {
}
}//package
Section 160
//c4 (c4)
package {
import flash.media.*;
public dynamic class c4 extends Sound {
}
}//package
Section 161
//ChooseGroup (ChooseGroup)
package {
import flash.display.*;
public dynamic class ChooseGroup extends MovieClip {
public var backBtn:rtnMenu;
public var halo:MovieClip;
public var nebula:MovieClip;
public var backpic:MovieClip;
public var group4:SimpleButton;
public var group1:SimpleButton;
public var group2:SimpleButton;
public var group5:SimpleButton;
public var group3:SimpleButton;
public function ChooseGroup(){
addFrameScript(0, frame1, 14, frame15, 26, frame27, 39, frame40, 51, frame52, 64, frame65, 76, frame77, 89, frame90, 101, frame102, 114, frame115, 126, frame127);
}
function frame77(){
stop();
}
function frame65(){
stop();
}
function frame90(){
stop();
}
function frame102(){
stop();
}
function frame15(){
stop();
}
function frame1(){
stop();
}
function frame27(){
stop();
}
function frame115(){
stop();
}
function frame40(){
stop();
}
function frame127(){
stop();
}
function frame52(){
stop();
}
}
}//package
Section 162
//ClickGuide (ClickGuide)
package {
import flash.display.*;
public dynamic class ClickGuide extends MovieClip {
}
}//package
Section 163
//Close (Close)
package {
import flash.display.*;
public dynamic class Close extends MovieClip {
}
}//package
Section 164
//countryMc (countryMc)
package {
import O11O1OOlO.*;
public dynamic class countryMc extends O1OOlllOl {
public function countryMc(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 165
//d1 (d1)
package {
import flash.media.*;
public dynamic class d1 extends Sound {
}
}//package
Section 166
//d2 (d2)
package {
import flash.media.*;
public dynamic class d2 extends Sound {
}
}//package
Section 167
//d3 (d3)
package {
import flash.media.*;
public dynamic class d3 extends Sound {
}
}//package
Section 168
//e1 (e1)
package {
import flash.media.*;
public dynamic class e1 extends Sound {
}
}//package
Section 169
//e2 (e2)
package {
import flash.media.*;
public dynamic class e2 extends Sound {
}
}//package
Section 170
//e3 (e3)
package {
import flash.media.*;
public dynamic class e3 extends Sound {
}
}//package
Section 171
//EraseBtn (EraseBtn)
package {
import OOll0l1Ol.*;
public dynamic class EraseBtn extends OlOOlO001 {
}
}//package
Section 172
//f1 (f1)
package {
import flash.media.*;
public dynamic class f1 extends Sound {
}
}//package
Section 173
//f2 (f2)
package {
import flash.media.*;
public dynamic class f2 extends Sound {
}
}//package
Section 174
//f3 (f3)
package {
import flash.media.*;
public dynamic class f3 extends Sound {
}
}//package
Section 175
//Fail (Fail)
package {
import flash.media.*;
public dynamic class Fail extends Sound {
}
}//package
Section 176
//Forfex (Forfex)
package {
import flash.display.*;
public dynamic class Forfex extends MovieClip {
public var amt:MovieClip;
}
}//package
Section 177
//g1 (g1)
package {
import flash.media.*;
public dynamic class g1 extends Sound {
}
}//package
Section 178
//g2 (g2)
package {
import flash.media.*;
public dynamic class g2 extends Sound {
}
}//package
Section 179
//g3 (g3)
package {
import flash.media.*;
public dynamic class g3 extends Sound {
}
}//package
Section 180
//game_com_cn_logo_music (game_com_cn_logo_music)
package {
import flash.media.*;
public dynamic class game_com_cn_logo_music extends Sound {
}
}//package
Section 181
//game_com_cn_logo_music_end (game_com_cn_logo_music_end)
package {
import flash.media.*;
public dynamic class game_com_cn_logo_music_end extends Sound {
}
}//package
Section 182
//GameMusic (GameMusic)
package {
import flash.media.*;
public dynamic class GameMusic extends Sound {
}
}//package
Section 183
//GoldPlate (GoldPlate)
package {
import flash.display.*;
public dynamic class GoldPlate extends MovieClip {
}
}//package
Section 184
//HideSign (HideSign)
package {
import flash.display.*;
public dynamic class HideSign extends MovieClip {
}
}//package
Section 185
//hints (hints)
package {
import OOll0l1Ol.*;
public dynamic class hints extends OlOOlO001 {
}
}//package
Section 186
//HowToPlay (HowToPlay)
package {
import flash.display.*;
public dynamic class HowToPlay extends MovieClip {
public function HowToPlay(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
}
}
}//package
Section 187
//HowToPlayTxt (HowToPlayTxt)
package {
import flash.display.*;
public dynamic class HowToPlayTxt extends MovieClip {
}
}//package
Section 188
//IngameTouch (IngameTouch)
package {
import flash.media.*;
public dynamic class IngameTouch extends Sound {
}
}//package
Section 189
//leavegame (leavegame)
package {
import OOll0l1Ol.*;
public dynamic class leavegame extends OlOOlO001 {
}
}//package
Section 190
//level (level)
package {
import O11O1OOlO.*;
public dynamic class level extends O1OOlllOl {
}
}//package
Section 191
//levelcopy (levelcopy)
package {
import O11O1OOlO.*;
public dynamic class levelcopy extends O1OOlllOl {
}
}//package
Section 192
//levelcopy2 (levelcopy2)
package {
import O11O1OOlO.*;
public dynamic class levelcopy2 extends O1OOlllOl {
}
}//package
Section 193
//levelcopy3 (levelcopy3)
package {
import O11O1OOlO.*;
public dynamic class levelcopy3 extends O1OOlllOl {
}
}//package
Section 194
//levelcopy4 (levelcopy4)
package {
import O11O1OOlO.*;
public dynamic class levelcopy4 extends O1OOlllOl {
}
}//package
Section 195
//levelMenu (levelMenu)
package {
import flash.display.*;
public dynamic class levelMenu extends MovieClip {
public var goMenuBtn:rtnMenu;
public var chooseGroup:ChooseGroup;
public var gameportal:branding_aligned_center;
}
}//package
Section 196
//LevelMsc (LevelMsc)
package {
import flash.media.*;
public dynamic class LevelMsc extends Sound {
}
}//package
Section 197
//LevelTextMc (LevelTextMc)
package {
import flash.display.*;
public dynamic class LevelTextMc extends MovieClip {
public var levelTexts:MovieClip;
}
}//package
Section 198
//Lipper (Lipper)
package {
import flash.display.*;
public dynamic class Lipper extends MovieClip {
public function Lipper(){
addFrameScript(18, frame19);
}
function frame19(){
if (parent != null){
parent.removeChild(this);
};
}
}
}//package
Section 199
//loading (loading)
package {
import flash.display.*;
import flash.text.*;
public dynamic class loading extends MovieClip {
public var pct_txt:TextField;
}
}//package
Section 200
//LvlMask (LvlMask)
package {
import flash.display.*;
public dynamic class LvlMask extends MovieClip {
}
}//package
Section 201
//m2 (m2)
package {
import flash.media.*;
public dynamic class m2 extends Sound {
}
}//package
Section 202
//m3 (m3)
package {
import flash.media.*;
public dynamic class m3 extends Sound {
}
}//package
Section 203
//m4 (m4)
package {
import flash.media.*;
public dynamic class m4 extends Sound {
}
}//package
Section 204
//m5 (m5)
package {
import flash.media.*;
public dynamic class m5 extends Sound {
}
}//package
Section 205
//m6 (m6)
package {
import flash.media.*;
public dynamic class m6 extends Sound {
}
}//package
Section 206
//m7 (m7)
package {
import flash.media.*;
public dynamic class m7 extends Sound {
}
}//package
Section 207
//m8 (m8)
package {
import flash.media.*;
public dynamic class m8 extends Sound {
}
}//package
Section 208
//m9 (m9)
package {
import flash.media.*;
public dynamic class m9 extends Sound {
}
}//package
Section 209
//MainMask (MainMask)
package {
import flash.display.*;
public dynamic class MainMask extends MovieClip {
}
}//package
Section 210
//MainMusic (MainMusic)
package {
import flash.media.*;
public dynamic class MainMusic extends Sound {
}
}//package
Section 211
//mcPlay (mcPlay)
package {
import OOll0l1Ol.*;
public dynamic class mcPlay extends OlOOlO001 {
}
}//package
Section 212
//menu_touch (menu_touch)
package {
import flash.media.*;
public dynamic class menu_touch extends Sound {
}
}//package
Section 213
//MenuPress (MenuPress)
package {
import flash.media.*;
public dynamic class MenuPress extends Sound {
}
}//package
Section 214
//MenuTouch (MenuTouch)
package {
import flash.media.*;
public dynamic class MenuTouch extends Sound {
}
}//package
Section 215
//meteor (meteor)
package {
import flash.display.*;
public dynamic class meteor extends MovieClip {
}
}//package
Section 216
//meteorMask (meteorMask)
package {
import flash.display.*;
public dynamic class meteorMask extends MovieClip {
}
}//package
Section 217
//mLinkBtn (mLinkBtn)
package {
import OOll0l1Ol.*;
public dynamic class mLinkBtn extends OlOOlO001 {
public function mLinkBtn(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 218
//NameMc (NameMc)
package {
import flash.display.*;
public dynamic class NameMc extends MovieClip {
public var nameTxt:MovieClip;
}
}//package
Section 219
//O0O0OOO1l (O0O0OOO1l)
package {
import flash.display.*;
import flash.utils.*;
import O1O0OOlOO.*;
import O11OOl1Ol.*;
import O11O1OOlO.*;
import flash.system.*;
public class O0O0OOO1l extends MovieClip {
public var menuMC:O0O0OO000;
public var halo:GoldPlate;
public var countryName:countryMc;
public var whiteMc:White;
private var _O1Ol11lO0:Sprite;
public function O0O0OOO1l():void{
var _local1:Number;
var _local2:String;
var _local3:Class;
_O1Ol11lO0 = new Sprite();
super();
O1l11l10O.Language = 1;
if (this.loaderInfo.parameters["l"] != undefined){
_local1 = Number(this.loaderInfo.parameters["l"]);
O0OOl101O.hasPara = true;
if (_local1 < 19){
O1l11l10O.Language = _local1;
};
} else {
if ((((O0OOl101O.cookie.readLang("savedLang") == null)) || ((O0OOl101O.cookie.readLang("link") == null)))){
_local2 = Capabilities.language;
switch (_local2){
case "en":
O1l11l10O.Language = 1;
OO0l1O1ll.link = "www.gamesgames.com";
break;
case "zh-CN":
O1l11l10O.Language = 2;
OO0l1O1ll.link = "www.game.com.cn";
break;
case "br":
O1l11l10O.Language = 10;
OO0l1O1ll.link = "www.ojogos.com.br";
break;
case "de":
O1l11l10O.Language = 5;
OO0l1O1ll.link = "www.jetztspielen.de";
break;
case "es":
O1l11l10O.Language = 9;
OO0l1O1ll.link = "www.jueogos.com";
break;
case "fr":
O1l11l10O.Language = 4;
OO0l1O1ll.link = "www.jeux.fr";
break;
case "id":
O1l11l10O.Language = 11;
OO0l1O1ll.link = "www.games.co.id";
break;
case "in":
O1l11l10O.Language = 14;
OO0l1O1ll.link = "www.games.co.in";
break;
case "it":
O1l11l10O.Language = 8;
OO0l1O1ll.link = "www.gioco.it";
break;
case "ja":
O1l11l10O.Language = 19;
OO0l1O1ll.link = "www.egames.jp";
break;
case "ph":
O1l11l10O.Language = 18;
OO0l1O1ll.link = "www.gamesgames.com";
break;
case "my":
O1l11l10O.Language = 16;
OO0l1O1ll.link = "www.game.com.my";
break;
case "nl":
O1l11l10O.Language = 3;
OO0l1O1ll.link = "www.spelletjes.nl";
break;
case "pl":
O1l11l10O.Language = 6;
OO0l1O1ll.link = "www.gry.pl";
break;
case "pt":
O1l11l10O.Language = 17;
OO0l1O1ll.link = "www.ojogos.pt";
break;
case "ru":
O1l11l10O.Language = 12;
OO0l1O1ll.link = "www.ourgames.ru";
break;
case "sv":
O1l11l10O.Language = 7;
OO0l1O1ll.link = "www.spela.se";
break;
case "tr":
O1l11l10O.Language = 15;
OO0l1O1ll.link = "www.asoyun.com";
break;
default:
O1l11l10O.Language = 1;
OO0l1O1ll.link = "www.gamesgames.com";
return;
};
} else {
OOl11l1l1.setLanguage(String(O0OOl101O.cookie.readLang("savedLang")), true);
OO0l1O1ll.link = String(O0OOl101O.cookie.readLang("link"));
};
};
if (O1l11l10O.branding_nr != 2){
_local3 = (getDefinitionByName("com.google.analytics.GATracker") as Class);
O0OOl101O.tracker = new _local3(this, "UA-6695967-1", "AS3", false);
};
_OO1O01OlO();
}
private function _OO1O01OlO():void{
var _local1:OO0l1O1ll;
stop();
_local1 = new OO0l1O1ll(this);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.stageFocusRect = false;
stage.tabChildren = false;
addChildAt(_O1Ol11lO0, 0);
_O1Ol11lO0 = new Oll1O1l0O(_O1Ol11lO0);
}
}
}//package
Section 220
//OkBtn (OkBtn)
package {
import flash.display.*;
public dynamic class OkBtn extends SimpleButton {
}
}//package
Section 221
//Oll1O1l0O (Oll1O1l0O)
package {
import flash.display.*;
import OOll0l1Ol.*;
import flash.utils.*;
import O1O0OOlOO.*;
import O11OOl1Ol.*;
import O11O1OOlO.*;
public class Oll1O1l0O extends Sprite {
private var _O11111O0l:Oll1Oll10;
private var _O1l11Ol1l:Ol0001Oll;
private var _O0l0llOl1:O1ll1OOlO;
private var _OOl0l01l0:Sprite;
private var _O1lO1OOO0:OO10011ll;
private var _O1lO00ll0:O0O0OO000;
public function Oll1O1l0O(_arg1:Sprite){
_OOl0l01l0 = _arg1;
O0OOl101O.console = this;
O0OOl101O.gameBox = _arg1;
init();
}
public function showMeteor():void{
_O0l0llOl1 = new O1ll1OOlO();
_OOl0l01l0.addChild(_O0l0llOl1);
_O0l0llOl1.x = 300;
_O0l0llOl1.y = 200;
}
public function showMenu():void{
_O1lO00ll0 = new O0O0OO000();
}
public function init():void{
showLoading();
}
public function loadComplete():void{
var _local1:OOl11ll11;
O0O0OOO1l(_OOl0l01l0.parent).gotoAndStop(2);
O0O0OOO1l(_OOl0l01l0.parent).gotoAndStop(1);
O0OOl101O.mainMask = (new (getDefinitionByName("MainMask")) as Sprite);
O0O0OOO1l(_OOl0l01l0.parent).addChild(O0OOl101O.mainMask);
_OOl0l01l0.mask = O0OOl101O.mainMask;
_O11111O0l = null;
if (O1l11l10O.language_nr == 2){
_local1 = new OOl11ll11(this);
_OOl0l01l0.addChild(_local1);
_local1.x = 275;
_local1.y = 260;
} else {
showMenu();
};
}
public function startLevel(_arg1:int):void{
_O1l11Ol1l = new Ol0001Oll(_arg1);
}
public function showLevel():void{
_O1lO1OOO0 = new OO10011ll();
}
public function showLoading():void{
_O11111O0l = new Oll1Oll10(_OOl0l01l0);
}
public function showEnd():void{
}
}
}//package
Section 222
//OverSound (OverSound)
package {
import flash.media.*;
public dynamic class OverSound extends Sound {
}
}//package
Section 223
//pannel (pannel)
package {
import flash.display.*;
public dynamic class pannel extends MovieClip {
public var sure_mc:MovieClip;
public var sandGlass:SandGlass;
public var hint:hints;
public var erase:EraseBtn;
public var exit_btn:toMenu;
public var gameportal:branding_aligned_center;
public var pause:PauseBtn;
}
}//package
Section 224
//PauseBtn (PauseBtn)
package {
import OOll0l1Ol.*;
public dynamic class PauseBtn extends OlOOlO001 {
}
}//package
Section 225
//PauseMenu (PauseMenu)
package {
import flash.display.*;
public dynamic class PauseMenu extends MovieClip {
public var conBtn:SimpleButton;
}
}//package
Section 226
//PlayBtn (PlayBtn)
package {
import OOll0l1Ol.*;
public dynamic class PlayBtn extends OlOOlO001 {
public function PlayBtn(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 227
//playLevelMc (playLevelMc)
package {
import flash.display.*;
import flash.text.*;
public dynamic class playLevelMc extends MovieClip {
public var reviewBtn:rvwBtn;
public var bstTimeTxt:TextField;
public var playLevelBtn:mcPlay;
public var bestTimeBtn:MovieClip;
}
}//package
Section 228
//PlayPannel (PlayPannel)
package {
import flash.display.*;
import flash.text.*;
public dynamic class PlayPannel extends MovieClip {
public var reviewBtn:SimpleButton;
public var bstTimeTxt:TextField;
public var bestTimeBtn:SimpleButton;
}
}//package
Section 229
//PlayTransit (PlayTransit)
package {
import flash.display.*;
public dynamic class PlayTransit extends MovieClip {
public function PlayTransit(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
if (parent != null){
parent.removeChild(this);
};
}
}
}//package
Section 230
//redStar (redStar)
package {
import flash.display.*;
public dynamic class redStar extends MovieClip {
}
}//package
Section 231
//RemTxt (RemTxt)
package {
import flash.display.*;
public dynamic class RemTxt extends MovieClip {
}
}//package
Section 232
//Return (Return)
package {
import OOll0l1Ol.*;
public dynamic class Return extends OlOOlO001 {
}
}//package
Section 233
//ReviewBlink (ReviewBlink)
package {
import flash.display.*;
public dynamic class ReviewBlink extends MovieClip {
public function ReviewBlink(){
addFrameScript(92, frame93);
}
function frame93(){
stop();
}
}
}//package
Section 234
//rtnMenu (rtnMenu)
package {
import OOll0l1Ol.*;
public dynamic class rtnMenu extends OlOOlO001 {
}
}//package
Section 235
//rvwBtn (rvwBtn)
package {
import OOll0l1Ol.*;
public dynamic class rvwBtn extends OlOOlO001 {
}
}//package
Section 236
//Sand (Sand)
package {
import flash.display.*;
public dynamic class Sand extends Sprite {
}
}//package
Section 237
//SandGlass (SandGlass)
package {
import flash.display.*;
public dynamic class SandGlass extends MovieClip {
public var bSand:MovieClip;
public var tSand:MovieClip;
public function SandGlass(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 238
//select_touch (select_touch)
package {
import flash.media.*;
public dynamic class select_touch extends Sound {
}
}//package
Section 239
//Sfx (Sfx)
package {
import flash.media.*;
public dynamic class Sfx extends Sound {
}
}//package
Section 240
//Speaker (Speaker)
package {
import flash.display.*;
public dynamic class Speaker extends MovieClip {
}
}//package
Section 241
//SpStar (SpStar)
package {
import flash.display.*;
public dynamic class SpStar extends MovieClip {
}
}//package
Section 242
//startgame_fx (startgame_fx)
package {
import flash.media.*;
public dynamic class startgame_fx extends Sound {
}
}//package
Section 243
//tagain (tagain)
package {
import OOll0l1Ol.*;
public dynamic class tagain extends OlOOlO001 {
}
}//package
Section 244
//TheLock (TheLock)
package {
import flash.display.*;
public dynamic class TheLock extends MovieClip {
}
}//package
Section 245
//TimeUp (TimeUp)
package {
import flash.display.*;
public dynamic class TimeUp extends MovieClip {
}
}//package
Section 246
//toMenu (toMenu)
package {
import OOll0l1Ol.*;
public dynamic class toMenu extends OlOOlO001 {
}
}//package
Section 247
//toMenubtn (toMenubtn)
package {
import OOll0l1Ol.*;
public dynamic class toMenubtn extends OlOOlO001 {
}
}//package
Section 248
//tover (tover)
package {
import flash.media.*;
public dynamic class tover extends Sound {
}
}//package
Section 249
//tran_Aquarius (tran_Aquarius)
package {
import O11O1OOlO.*;
public dynamic class tran_Aquarius extends O1OOlllOl {
}
}//package
Section 250
//tran_Aquila (tran_Aquila)
package {
import O11O1OOlO.*;
public dynamic class tran_Aquila extends O1OOlllOl {
}
}//package
Section 251
//tran_Aries (tran_Aries)
package {
import O11O1OOlO.*;
public dynamic class tran_Aries extends O1OOlllOl {
}
}//package
Section 252
//tran_Back (tran_Back)
package {
import O11O1OOlO.*;
public dynamic class tran_Back extends O1OOlllOl {
}
}//package
Section 253
//tran_BestTime (tran_BestTime)
package {
import O11O1OOlO.*;
public dynamic class tran_BestTime extends O1OOlllOl {
}
}//package
Section 254
//tran_Cancer (tran_Cancer)
package {
import O11O1OOlO.*;
public dynamic class tran_Cancer extends O1OOlllOl {
}
}//package
Section 255
//tran_Canes (tran_Canes)
package {
import O11O1OOlO.*;
public dynamic class tran_Canes extends O1OOlllOl {
}
}//package
Section 256
//tran_Capricorn (tran_Capricorn)
package {
import O11O1OOlO.*;
public dynamic class tran_Capricorn extends O1OOlllOl {
}
}//package
Section 257
//tran_Carina (tran_Carina)
package {
import O11O1OOlO.*;
public dynamic class tran_Carina extends O1OOlllOl {
}
}//package
Section 258
//tran_Centaur (tran_Centaur)
package {
import O11O1OOlO.*;
public dynamic class tran_Centaur extends O1OOlllOl {
}
}//package
Section 259
//tran_clicktxt (tran_clicktxt)
package {
import O11O1OOlO.*;
public dynamic class tran_clicktxt extends O1OOlllOl {
}
}//package
Section 260
//tran_Columba (tran_Columba)
package {
import O11O1OOlO.*;
public dynamic class tran_Columba extends O1OOlllOl {
}
}//package
Section 261
//tran_congra (tran_congra)
package {
import O11O1OOlO.*;
public dynamic class tran_congra extends O1OOlllOl {
}
}//package
Section 262
//tran_Cygnus (tran_Cygnus)
package {
import O11O1OOlO.*;
public dynamic class tran_Cygnus extends O1OOlllOl {
}
}//package
Section 263
//tran_DeleteLine (tran_DeleteLine)
package {
import O11O1OOlO.*;
public dynamic class tran_DeleteLine extends O1OOlllOl {
}
}//package
Section 264
//tran_Delphinus (tran_Delphinus)
package {
import O11O1OOlO.*;
public dynamic class tran_Delphinus extends O1OOlllOl {
}
}//package
Section 265
//tran_Draco (tran_Draco)
package {
import O11O1OOlO.*;
public dynamic class tran_Draco extends O1OOlllOl {
}
}//package
Section 266
//tran_excellent (tran_excellent)
package {
import O11O1OOlO.*;
public dynamic class tran_excellent extends O1OOlllOl {
}
}//package
Section 267
//tran_Grus (tran_Grus)
package {
import O11O1OOlO.*;
public dynamic class tran_Grus extends O1OOlllOl {
}
}//package
Section 268
//tran_Hint (tran_Hint)
package {
import O11O1OOlO.*;
public dynamic class tran_Hint extends O1OOlllOl {
}
}//package
Section 269
//tran_howtplay (tran_howtplay)
package {
import O11O1OOlO.*;
public dynamic class tran_howtplay extends O1OOlllOl {
}
}//package
Section 270
//tran_Leo (tran_Leo)
package {
import O11O1OOlO.*;
public dynamic class tran_Leo extends O1OOlllOl {
}
}//package
Section 271
//tran_Lepus (tran_Lepus)
package {
import O11O1OOlO.*;
public dynamic class tran_Lepus extends O1OOlllOl {
}
}//package
Section 272
//tran_LevelMenu (tran_LevelMenu)
package {
import O11O1OOlO.*;
public dynamic class tran_LevelMenu extends O1OOlllOl {
}
}//package
Section 273
//tran_Libra (tran_Libra)
package {
import O11O1OOlO.*;
public dynamic class tran_Libra extends O1OOlllOl {
}
}//package
Section 274
//tran_Lupus (tran_Lupus)
package {
import O11O1OOlO.*;
public dynamic class tran_Lupus extends O1OOlllOl {
}
}//package
Section 275
//tran_Lynx (tran_Lynx)
package {
import O11O1OOlO.*;
public dynamic class tran_Lynx extends O1OOlllOl {
}
}//package
Section 276
//tran_Lyra (tran_Lyra)
package {
import O11O1OOlO.*;
public dynamic class tran_Lyra extends O1OOlllOl {
}
}//package
Section 277
//tran_morePuzzlegame (tran_morePuzzlegame)
package {
import O11O1OOlO.*;
public dynamic class tran_morePuzzlegame extends O1OOlllOl {
}
}//package
Section 278
//tran_Ophiuchus (tran_Ophiuchus)
package {
import O11O1OOlO.*;
public dynamic class tran_Ophiuchus extends O1OOlllOl {
}
}//package
Section 279
//tran_Orion (tran_Orion)
package {
import O11O1OOlO.*;
public dynamic class tran_Orion extends O1OOlllOl {
}
}//package
Section 280
//tran_Pause (tran_Pause)
package {
import O11O1OOlO.*;
public dynamic class tran_Pause extends O1OOlllOl {
}
}//package
Section 281
//tran_PauseMenu (tran_PauseMenu)
package {
import O11O1OOlO.*;
public dynamic class tran_PauseMenu extends O1OOlllOl {
}
}//package
Section 282
//tran_Pavo (tran_Pavo)
package {
import O11O1OOlO.*;
public dynamic class tran_Pavo extends O1OOlllOl {
}
}//package
Section 283
//tran_Pegasus (tran_Pegasus)
package {
import O11O1OOlO.*;
public dynamic class tran_Pegasus extends O1OOlllOl {
}
}//package
Section 284
//tran_Phoenix (tran_Phoenix)
package {
import O11O1OOlO.*;
public dynamic class tran_Phoenix extends O1OOlllOl {
}
}//package
Section 285
//tran_Pisces (tran_Pisces)
package {
import O11O1OOlO.*;
public dynamic class tran_Pisces extends O1OOlllOl {
}
}//package
Section 286
//tran_Play (tran_Play)
package {
import O11O1OOlO.*;
public dynamic class tran_Play extends O1OOlllOl {
}
}//package
Section 287
//tran_playbtns2 (tran_playbtns2)
package {
import O11O1OOlO.*;
public dynamic class tran_playbtns2 extends O1OOlllOl {
}
}//package
Section 288
//tran_Pollux (tran_Pollux)
package {
import O11O1OOlO.*;
public dynamic class tran_Pollux extends O1OOlllOl {
}
}//package
Section 289
//tran_preview2 (tran_preview2)
package {
import O11O1OOlO.*;
public dynamic class tran_preview2 extends O1OOlllOl {
}
}//package
Section 290
//tran_Review (tran_Review)
package {
import O11O1OOlO.*;
public dynamic class tran_Review extends O1OOlllOl {
}
}//package
Section 291
//tran_s (tran_s)
package {
import O11O1OOlO.*;
public dynamic class tran_s extends O1OOlllOl {
}
}//package
Section 292
//tran_Scorpio (tran_Scorpio)
package {
import O11O1OOlO.*;
public dynamic class tran_Scorpio extends O1OOlllOl {
}
}//package
Section 293
//tran_Taurus (tran_Taurus)
package {
import O11O1OOlO.*;
public dynamic class tran_Taurus extends O1OOlllOl {
}
}//package
Section 294
//tran_Time (tran_Time)
package {
import O11O1OOlO.*;
public dynamic class tran_Time extends O1OOlllOl {
}
}//package
Section 295
//tran_timeup (tran_timeup)
package {
import O11O1OOlO.*;
public dynamic class tran_timeup extends O1OOlllOl {
}
}//package
Section 296
//tran_TryAgain (tran_TryAgain)
package {
import O11O1OOlO.*;
public dynamic class tran_TryAgain extends O1OOlllOl {
}
}//package
Section 297
//tran_tutoTexts (tran_tutoTexts)
package {
import O11O1OOlO.*;
public dynamic class tran_tutoTexts extends O1OOlllOl {
}
}//package
Section 298
//tran_Ursa (tran_Ursa)
package {
import O11O1OOlO.*;
public dynamic class tran_Ursa extends O1OOlllOl {
}
}//package
Section 299
//tran_Virgo (tran_Virgo)
package {
import O11O1OOlO.*;
public dynamic class tran_Virgo extends O1OOlllOl {
}
}//package
Section 300
//tran_yowin (tran_yowin)
package {
import O11O1OOlO.*;
public dynamic class tran_yowin extends O1OOlllOl {
}
}//package
Section 301
//trans_moreGames (trans_moreGames)
package {
import O11O1OOlO.*;
public dynamic class trans_moreGames extends O1OOlllOl {
}
}//package
Section 302
//trans_startGame (trans_startGame)
package {
import O11O1OOlO.*;
public dynamic class trans_startGame extends O1OOlllOl {
}
}//package
Section 303
//TransitMc (TransitMc)
package {
import flash.display.*;
public dynamic class TransitMc extends MovieClip {
}
}//package
Section 304
//TransRect (TransRect)
package {
import flash.display.*;
public dynamic class TransRect extends MovieClip {
}
}//package
Section 305
//TxtRem (TxtRem)
package {
import O11O1OOlO.*;
public dynamic class TxtRem extends O1OOlllOl {
}
}//package
Section 306
//vectorBg (vectorBg)
package {
import flash.display.*;
public dynamic class vectorBg extends MovieClip {
public var Alcyone_bg:MovieClip;
public var Libra_bg:MovieClip;
public var Pavo_bg:MovieClip;
public var Phoenix_bg:MovieClip;
public var Centaur_bg:MovieClip;
public var Leo_bg:MovieClip;
public var Carina_bg:MovieClip;
public var Aquila_bg:MovieClip;
public var Cancer_bg:MovieClip;
public var Aries_bg:MovieClip;
public var Ursa_bg:MovieClip;
public var Virgin_bg:MovieClip;
public var Grus_bg:MovieClip;
public var Aquarius_bg:MovieClip;
public var Pegasus_bg:MovieClip;
public var Draco_bg:MovieClip;
public var Capricornus_bg:MovieClip;
public var Orion_bg:MovieClip;
public var Lynx_bg:MovieClip;
public var Scorpio_bg:MovieClip;
public var Gygnus_bg:MovieClip;
public var Columba_bg:MovieClip;
public var Delphlnus_bg:MovieClip;
public var Canes_bg:MovieClip;
public var Lyra_bg:MovieClip;
public var Pollux_bg:MovieClip;
public var Pisces_bg:MovieClip;
public var Ophiuchus_bg:MovieClip;
public var Lepus_bg:MovieClip;
public var Lupus_bg:MovieClip;
}
}//package
Section 307
//White (White)
package {
import flash.display.*;
public dynamic class White extends MovieClip {
public var blink:MovieClip;
}
}//package
Section 308
//whiteStar (whiteStar)
package {
import flash.display.*;
public dynamic class whiteStar extends MovieClip {
public function whiteStar(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 309
//WinMusic (WinMusic)
package {
import flash.media.*;
public dynamic class WinMusic extends Sound {
}
}//package
Section 310
//winTxt (winTxt)
package {
import flash.display.*;
public dynamic class winTxt extends MovieClip {
}
}//package