Section 1
//a10_com_logo_79 (basketball_v3_fla.a10_com_logo_79)
package basketball_v3_fla {
import flash.display.*;
public dynamic class a10_com_logo_79 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 2
//blast_199 (basketball_v3_fla.blast_199)
package basketball_v3_fla {
import flash.display.*;
public dynamic class blast_199 extends MovieClip {
public function blast_199(){
addFrameScript(0, frame1, 11, frame12);
}
function frame12(){
stop();
}
function frame1(){
stop();
}
}
}//package basketball_v3_fla
Section 3
//dailygame_com_80 (basketball_v3_fla.dailygame_com_80)
package basketball_v3_fla {
import flash.display.*;
public dynamic class dailygame_com_80 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 4
//egames_jp_78 (basketball_v3_fla.egames_jp_78)
package basketball_v3_fla {
import flash.display.*;
public dynamic class egames_jp_78 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 5
//GAMECOMPLETEUI_175 (basketball_v3_fla.GAMECOMPLETEUI_175)
package basketball_v3_fla {
import flash.display.*;
public dynamic class GAMECOMPLETEUI_175 extends MovieClip {
public function GAMECOMPLETEUI_175(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package basketball_v3_fla
Section 6
//GAMEOVER_144 (basketball_v3_fla.GAMEOVER_144)
package basketball_v3_fla {
import flash.display.*;
public dynamic class GAMEOVER_144 extends MovieClip {
public function GAMEOVER_144(){
addFrameScript(12, frame13);
}
function frame13(){
stop();
}
}
}//package basketball_v3_fla
Section 7
//girlsgogames_64 (basketball_v3_fla.girlsgogames_64)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_64 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 8
//girlsgogames_65 (basketball_v3_fla.girlsgogames_65)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_65 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 9
//girlsgogames_66 (basketball_v3_fla.girlsgogames_66)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_66 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 10
//girlsgogames_67 (basketball_v3_fla.girlsgogames_67)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_67 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 11
//girlsgogames_68 (basketball_v3_fla.girlsgogames_68)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_68 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 12
//girlsgogames_69 (basketball_v3_fla.girlsgogames_69)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_69 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 13
//girlsgogames_70 (basketball_v3_fla.girlsgogames_70)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_70 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 14
//girlsgogames_72 (basketball_v3_fla.girlsgogames_72)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_72 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 15
//girlsgogames_73 (basketball_v3_fla.girlsgogames_73)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_73 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 16
//girlsgogames_74 (basketball_v3_fla.girlsgogames_74)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_74 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 17
//girlsgogames_75 (basketball_v3_fla.girlsgogames_75)
package basketball_v3_fla {
import flash.display.*;
public dynamic class girlsgogames_75 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 18
//juegosdechicas_71 (basketball_v3_fla.juegosdechicas_71)
package basketball_v3_fla {
import flash.display.*;
public dynamic class juegosdechicas_71 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 19
//label_18 (basketball_v3_fla.label_18)
package basketball_v3_fla {
import flash.display.*;
public dynamic class label_18 extends MovieClip {
public var flag:MovieClip;
}
}//package basketball_v3_fla
Section 20
//LanguageSelectPopup_17 (basketball_v3_fla.LanguageSelectPopup_17)
package basketball_v3_fla {
import flash.display.*;
public dynamic class LanguageSelectPopup_17 extends MovieClip {
public var l_se:MovieClip;
public var l_ar:MovieClip;
public var l_br:MovieClip;
public var l_in:MovieClip;
public var l_cn:MovieClip;
public var l_tr:MovieClip;
public var l_de:MovieClip;
public var l_my:MovieClip;
public var _blank:MovieClip;
public var l_es:MovieClip;
public var l_en_uk:MovieClip;
public var l_fr:MovieClip;
public var l_en_us:MovieClip;
public var l_pl:MovieClip;
public var l_pt:MovieClip;
public var l_ph:MovieClip;
public var l_nl:MovieClip;
public var l_id:MovieClip;
public var l_it:MovieClip;
public var l_jp:MovieClip;
public var l_ru:MovieClip;
}
}//package basketball_v3_fla
Section 21
//loadingmc_252 (basketball_v3_fla.loadingmc_252)
package basketball_v3_fla {
import flash.display.*;
public dynamic class loadingmc_252 extends MovieClip {
public function loadingmc_252(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package basketball_v3_fla
Section 22
//logo_asoyun_com_50 (basketball_v3_fla.logo_asoyun_com_50)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_asoyun_com_50 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 23
//logo_game_27 (basketball_v3_fla.logo_game_27)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_game_27 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 24
//logo_game_com_my_51 (basketball_v3_fla.logo_game_com_my_51)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_game_com_my_51 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 25
//logo_games_co_uk_62 (basketball_v3_fla.logo_games_co_uk_62)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_games_co_uk_62 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 26
//logo_giocaregratis_it_39 (basketball_v3_fla.logo_giocaregratis_it_39)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_giocaregratis_it_39 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 27
//logo_laro_com_ph_77 (basketball_v3_fla.logo_laro_com_ph_77)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_laro_com_ph_77 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 28
//logo_minigry_pl_49 (basketball_v3_fla.logo_minigry_pl_49)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_minigry_pl_49 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 29
//logo_my_games_co_uk_42 (basketball_v3_fla.logo_my_games_co_uk_42)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_my_games_co_uk_42 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 30
//logo_oyunlar123_com_63 (basketball_v3_fla.logo_oyunlar123_com_63)
package basketball_v3_fla {
import flash.display.*;
public dynamic class logo_oyunlar123_com_63 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 31
//music_207 (basketball_v3_fla.music_207)
package basketball_v3_fla {
import flash.display.*;
public dynamic class music_207 extends MovieClip {
public function music_207(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package basketball_v3_fla
Section 32
//MUSIC_4 (basketball_v3_fla.MUSIC_4)
package basketball_v3_fla {
import flash.display.*;
public dynamic class MUSIC_4 extends MovieClip {
public function MUSIC_4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package basketball_v3_fla
Section 33
//new_agame_com_24 (basketball_v3_fla.new_agame_com_24)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_agame_com_24 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 34
//new_clickjogos_com_37 (basketball_v3_fla.new_clickjogos_com_37)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_clickjogos_com_37 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 35
//new_flashgames_ru_43 (basketball_v3_fla.new_flashgames_ru_43)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_flashgames_ru_43 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 36
//new_game_co_in_45 (basketball_v3_fla.new_game_co_in_45)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_game_co_in_45 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 37
//new_games_co_id_47 (basketball_v3_fla.new_games_co_id_47)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_games_co_id_47 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 38
//new_jeu_fr_33 (basketball_v3_fla.new_jeu_fr_33)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_jeu_fr_33 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 39
//new_spel_se_40 (basketball_v3_fla.new_spel_se_40)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_spel_se_40 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 40
//new_spielen_com_35 (basketball_v3_fla.new_spielen_com_35)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_spielen_com_35 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 41
//new_zapjuegos_com_29 (basketball_v3_fla.new_zapjuegos_com_29)
package basketball_v3_fla {
import flash.display.*;
public dynamic class new_zapjuegos_com_29 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 42
//newagame_co_uk_81 (basketball_v3_fla.newagame_co_uk_81)
package basketball_v3_fla {
import flash.display.*;
public dynamic class newagame_co_uk_81 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 43
//newspel_nl_31 (basketball_v3_fla.newspel_nl_31)
package basketball_v3_fla {
import flash.display.*;
public dynamic class newspel_nl_31 extends MovieClip {
public var displayArea_mc:MovieClip;
}
}//package basketball_v3_fla
Section 44
//QUALITY_5 (basketball_v3_fla.QUALITY_5)
package basketball_v3_fla {
import flash.display.*;
public dynamic class QUALITY_5 extends MovieClip {
public function QUALITY_5(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package basketball_v3_fla
Section 45
//rank_201 (basketball_v3_fla.rank_201)
package basketball_v3_fla {
import flash.display.*;
public dynamic class rank_201 extends MovieClip {
public function rank_201(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package basketball_v3_fla
Section 46
//score123_193 (basketball_v3_fla.score123_193)
package basketball_v3_fla {
import flash.display.*;
import flash.text.*;
public dynamic class score123_193 extends MovieClip {
public var score:TextField;
}
}//package basketball_v3_fla
Section 47
//spacebtn_111 (basketball_v3_fla.spacebtn_111)
package basketball_v3_fla {
import flash.display.*;
public dynamic class spacebtn_111 extends MovieClip {
public function spacebtn_111(){
addFrameScript(6, frame7, 9, frame10);
}
function frame10(){
stop();
}
function frame7(){
gotoAndPlay(1);
}
}
}//package basketball_v3_fla
Section 48
//Timeline_107 (basketball_v3_fla.Timeline_107)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_107 extends MovieClip {
public function Timeline_107(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package basketball_v3_fla
Section 49
//Timeline_114 (basketball_v3_fla.Timeline_114)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_114 extends MovieClip {
public function Timeline_114(){
addFrameScript(17, frame18);
}
function frame18(){
stop();
}
}
}//package basketball_v3_fla
Section 50
//Timeline_118 (basketball_v3_fla.Timeline_118)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_118 extends MovieClip {
public function Timeline_118(){
addFrameScript(33, frame34);
}
function frame34(){
stop();
}
}
}//package basketball_v3_fla
Section 51
//Timeline_119 (basketball_v3_fla.Timeline_119)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_119 extends MovieClip {
public function Timeline_119(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package basketball_v3_fla
Section 52
//Timeline_120 (basketball_v3_fla.Timeline_120)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_120 extends MovieClip {
public function Timeline_120(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package basketball_v3_fla
Section 53
//Timeline_121 (basketball_v3_fla.Timeline_121)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_121 extends MovieClip {
public function Timeline_121(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package basketball_v3_fla
Section 54
//Timeline_124 (basketball_v3_fla.Timeline_124)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_124 extends MovieClip {
public function Timeline_124(){
addFrameScript(33, frame34);
}
function frame34(){
stop();
}
}
}//package basketball_v3_fla
Section 55
//Timeline_125 (basketball_v3_fla.Timeline_125)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_125 extends MovieClip {
public function Timeline_125(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package basketball_v3_fla
Section 56
//Timeline_126 (basketball_v3_fla.Timeline_126)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_126 extends MovieClip {
public function Timeline_126(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package basketball_v3_fla
Section 57
//Timeline_127 (basketball_v3_fla.Timeline_127)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_127 extends MovieClip {
public function Timeline_127(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package basketball_v3_fla
Section 58
//Timeline_128 (basketball_v3_fla.Timeline_128)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_128 extends MovieClip {
public function Timeline_128(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package basketball_v3_fla
Section 59
//Timeline_129 (basketball_v3_fla.Timeline_129)
package basketball_v3_fla {
import flash.display.*;
public dynamic class Timeline_129 extends MovieClip {
public function Timeline_129(){
addFrameScript(21, frame22);
}
function frame22(){
stop();
}
}
}//package basketball_v3_fla
Section 60
//tooearily_154 (basketball_v3_fla.tooearily_154)
package basketball_v3_fla {
import flash.display.*;
public dynamic class tooearily_154 extends MovieClip {
public function tooearily_154(){
addFrameScript(4, frame5);
}
function frame5(){
stop();
}
}
}//package basketball_v3_fla
Section 61
//totalscore123_195 (basketball_v3_fla.totalscore123_195)
package basketball_v3_fla {
import flash.display.*;
import flash.text.*;
public dynamic class totalscore123_195 extends MovieClip {
public var score:TextField;
}
}//package basketball_v3_fla
Section 62
//zz_141 (basketball_v3_fla.zz_141)
package basketball_v3_fla {
import flash.display.*;
public dynamic class zz_141 extends MovieClip {
public function zz_141(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package basketball_v3_fla
Section 63
//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 64
//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 65
//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 66
//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 67
//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 68
//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 69
//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 70
//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 71
//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 72
//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 73
//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 74
//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 75
//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 76
//ga_internal (com.google.analytics.core.ga_internal)
package com.google.analytics.core {
public namespace ga_internal;
}//package com.google.analytics.core
Section 77
//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 78
//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 79
//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 80
//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 81
//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 82
//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 83
//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 84
//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 85
//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 86
//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 87
//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 88
//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 89
//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 90
//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 91
//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 92
//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 93
//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 94
//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 95
//_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 96
//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 97
//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 98
//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 99
//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 100
//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 101
//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 102
//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 103
//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 104
//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 105
//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 106
//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 107
//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 108
//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 109
//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 110
//Style (com.google.analytics.debug.Style)
package com.google.analytics.debug {
public const Style:_Style = new _Style();
}//package com.google.analytics.debug
Section 111
//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 112
//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 113
//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 114
//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 115
//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 116
//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 117
//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 118
//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 119
//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 120
//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 121
//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 122
//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 123
//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 124
//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 125
//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 126
//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 127
//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 128
//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 129
//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 130
//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 131
//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 132
//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 133
//O1111111l (O11111110.O1111111l)
package O11111110 {
import flash.net.*;
public class O1111111l {
private var O1111100O1:int;
private var O11111l1l:String;
private var oldlanguageOrder:Array;
private var cFame:String;// = "en_us"
private var languageOrder:Array;
private var O11111l1O:Array;
public var O11111OOO:int;// = 1
private var O111111O0:String;
private var O111111Ol:String;
private static var O11111l11:O1111111l;
public function O1111111l():void{
languageOrder = ["en_us", "cn", "nl", "fr", "de", "pl", "se", "it", "es", "br", "id", "ru", "en_uk", "in", "pt", "ph", "jp"];
oldlanguageOrder = ["en_us", "cn", "nl", "fr", "de", "pl", "se", "it", "es", "br", "id", "ru", "en_uk", "in", "removed", "removed", "pt", "ph", "jp", "removed"];
cFame = "en_us";
O11111OOO = 1;
super();
O11111l1O = new Array();
}
private function O11111l10():void{
O11111l1O.push(new O11111O00(1, 1, "www.agame.com", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(17, 1, "www.gamesgames.com", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(29, 1, "www.girlsgogames.com", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(45, 2, "www.a10.com", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(2, 19, "www.game.com.cn", "/downloads"));
O11111l1O.push(new O11111O00(2, 19, "www.game.com.cn", "/downloads"));
O11111l1O.push(new O11111O00(2, 19, "www.game.com.cn", "/downloads"));
O11111l1O.push(new O11111O00(2, 19, "www.game.com.cn", "/downloads"));
O11111l1O.push(new O11111O00(4, 5, "www.spel.nl", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(18, 5, "www.spelletjes.nl", (((((("/spel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(30, 5, "www.girlsgogames.nl", (((((("/spel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(3, 5, "www.spel.nl", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(5, 6, "www.jeu.fr", (((((("/jeu/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(19, 6, "www.jeux.fr", (((((("/jeu/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(31, 6, "www.girlsgogames.fr", (((((("/jeu/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(4, 6, "www.jeu.fr", (((((("/jeu/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(6, 7, "www.spielen.com", (((((("/spiel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(20, 7, "www.jetztspielen.de", (((((("/spiel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(32, 7, "www.girlsgogames.de", (((((("/spiel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(5, 7, "www.spielen.com", (((((("/spiel/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(14, 13, "www.minigry.pl", (((((("/gra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(21, 13, "www.gry.pl", (((((("/gra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(33, 13, "www.girlsgogames.pl", (((((("/gra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(6, 13, "www.minigry.pl", (((((("/gra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(9, 12, "www.spel.se", (((((("/spel_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(22, 12, "www.spela.se", (((((("/spel_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(34, 12, "www.girlsgogames.se", (((((("/spel_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(7, 12, "www.spel.eu", (((((("/spel_/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(8, 11, "www.giocaregratis.it", (((((("/gioco/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(23, 11, "www.gioco.it", (((((("/gioco/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(35, 11, "www.girlsgogames.it", (((((("/gioco/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(8, 11, "www.giocaregratis.it", (((((("/gioco/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(5, 8, "www.zapjuegos.com", (((((("/juego/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(24, 8, "www.juegos.com", (((((("/juego/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(36, 8, "www.juegosdechicas.com", (((((("/juego/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(9, 8, "www.zapjuegos.com", (((((("/juego/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(7, 9, "www.clickjogos.com", (((((("/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(25, 9, "www.ojogos.com.br", (((((("/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(38, 9, "www.girlsgogames.com.br", (((((("/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(10, 9, "www.clickjogos.com", (((((("/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 16, "www.games.co.id", (((((("/permainanme/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 16, "www.games.co.id", (((((("/permainanme/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 16, "www.games.co.id", (((((("/permainanme/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 16, "www.games.co.id", (((((("/permainanme/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(11, 14, "www.flashgames.ru", (((((("/igra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(26, 14, "www.ourgames.ru", (((((("/igra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(39, 14, "www.girlsgogames.ru", (((((("/igra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(12, 14, "www.flashgames.ru", (((((("/igra/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(10, 2, "www.mygames.co.uk", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(27, 2, "www.games.co.uk", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(37, 2, "www.girlsgogames.co.uk", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(13, 2, "www.mygames.co.uk", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(12, 3, "www.game.co.in", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(12, 3, "www.game.co.in", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(40, 3, "www.girlsgogames.in", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(14, 3, "www.game.co.in", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(42, 10, "www.ojogos.pt", (((((("/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(42, 10, "www.ojogos.pt", (((((("/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(42, 10, "www.ojogos.pt", (((((("/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(42, 10, "www.ojogos.pt", (((((("/jogo/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(43, 4, "www.laro.com.ph", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(43, 4, "www.laro.com.ph", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(43, 4, "www.laro.com.ph", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(43, 4, "www.laro.com.ph", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(44, 18, "www.egames.jp", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(44, 18, "www.egames.jp", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(44, 18, "www.egames.jp", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
O11111l1O.push(new O11111O00(44, 18, "www.egames.jp", (((((("/game/" + O111111O0) + ".html?utm_medium=brandedgames_external&utm_campaign=") + O111111Ol) + "&utm_source=") + O11111l1l) + "&utm_content=play_with_highscore")));
}
public function O11111Oll(_arg1:String, _arg2:String, _arg3:String, _arg4:int):void{
O1111100O1 = _arg4;
O11111l1l = _arg1;
O111111Ol = _arg2;
O111111O0 = _arg3;
O11111l10();
}
public function O11111O01():String{
return (O11111l1O[((((O11111OOO - 1) * 4) + O1111100O1) - 1)].O11111OOl);
}
public function O11111Ol0(_arg1:String="en_us"):void{
cFame = _arg1;
O11111OOO = (languageOrder.indexOf(_arg1) + 1);
if (O11111OOO == 0){
O11111OOO = 1;
cFame = "en_us";
};
}
public function O11111O0O():int{
return (O11111l1O[((((O11111OOO - 1) * 4) + O1111100O1) - 1)].O11111OO0);
}
public function O11111O0l():void{
navigateToURL(new URLRequest((("http://" + O11111l1O[((((O11111OOO - 1) * 4) + O1111100O1) - 1)].O11111OOl) + O11111l1O[((((O11111OOO - 1) * 4) + O1111100O1) - 1)].part2)), "_blank");
}
public function getOldOrder():int{
if (oldlanguageOrder.indexOf(cFame) < 0){
return (0);
};
return (oldlanguageOrder.indexOf(cFame));
}
public static function O11111OlO():O1111111l{
if (O11111l11 == null){
O11111l11 = new (O1111111l);
};
return (O11111l11);
}
}
}//package O11111110
class O11111O00 {
public var part2:String;
public var O11111OOl:String;
public var O11111OO0:int;
private function O11111O00(_arg1:int, _arg2:int, _arg3:String, _arg4):void{
O11111OOl = _arg3;
part2 = _arg4;
O11111OO0 = _arg2;
}
}
Section 134
//O1111111O (O11111110.O1111111O)
package O11111110 {
import flash.net.*;
import flash.external.*;
public class O1111111O {
private static const O11111OOO:Array = ["www.zlonggamestest.com", "gamedev.dev.spilgames.com", "gamedev.dev.spillgroup.com", "www.agame.com", "www.girlsgogames.com", "www.games.co.uk", "www.mygames.co.uk", "www.girlsgogames.co.uk", "www.spel.nl", "www.spelletjes.nl", "www.girlsgogames.nl", "www.jetztspielen.de", "www.spielen.com", "www.girlsgogames.de", "www.jeux.fr", "www.jeu.fr", "www.girlsgogames.fr", "www.juegos.com", "www.zapjuegos.com", "www.juegosdechicas.com", "www.gioco.it", "www.giocaregratis.it", "www.girlsgogames.it", "www.gry.pl", "www.minigry.pl", "www.girlsgogames.pl", "www.spela.se", "www.spel.eu", "www.girlsgogames.se", "www.ojogos.pt", "www.ourgames.ru", "www.flashgames.ru", "www.girlsgogames.ru", "www.oyunlar123.com", "www.asoyun.com", "www.girlsgogamestr.com", "www.gamesgames.com", "www.agame.com", "www.girlsgogames.com", "www.juegos.com", "www.zapjuegos.com", "www.juegosdechicas.com", "www.ojogos.com.br", "www.clickjogos.com", "www.girlsgogames.com.br", "www.game.com.cn", "www.xiaoyouxi.com", "www.egames.jp", "www.game.co.in", "www.game.co.in", "www.girlsgogames.in", "www.games.co.id", "www.laro.com.ph", "www.game.com.my", "www.onrpg.com", "www.zlonggames.com", "www.a10.com"];
private static var O11111OOl:URLRequest;
private static var O11111OO0;
public function O1111111O():void{
super();
try {
O11111OO0 = ExternalInterface.call("window.location.href.toString");
} catch(e) {
O11111OO0 = "error";
};
if ((((O11111OO0 == null)) || ((O11111OO0 == "")))){
O11111OO0 = "error";
};
if (String(O11111OO0).indexOf(".swf") != -1){
O11111OO0 = "error";
};
}
public function O11111OO1():Boolean{
if (((!((O11111Ol0(O11111O01(O11111OO0)) == -1))) && (!((O11111OO0 == "error"))))){
return (true);
};
return (false);
}
private static function O11111O01(_arg1:String):String{
var _local2:String;
var _local3:uint;
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
return (_local2);
}
private static function O11111Ol0(_arg1:String):Number{
var _local2:uint;
if (((O11111OOO) && (_arg1))){
_local2 = 0;
while (_local2 < O11111OOO.length) {
if (_arg1 == O11111OOO[_local2]){
return (_local2);
};
_local2++;
};
return (-1);
} else {
trace("cannot find site name");
};
return (-1);
}
}
}//package O11111110
Section 135
//Alert (olduncle.Alert)
package olduncle {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import zlong.country.*;
public class Alert extends MovieClip {
public var _txt:MovieClip;
public var goon:Btn_NO;
public var agame:Btn_YES;
private var _afterFunction:Function;
public function Alert(_arg1:DisplayObjectContainer, _arg2:Function){
m15();
_arg1.addChild(this);
_afterFunction = _arg2;
addEventListener(MouseEvent.CLICK, uiMouseClick);
}
private function m15():void{
var _local1:int;
_local1 = CountryInfo.instance.language;
(getChildByName("_txt") as MovieClip).gotoAndStop(_local1);
((getChildByName("goon") as MovieClip).getChildByName("_txt") as MovieClip).gotoAndStop(_local1);
((getChildByName("agame") as MovieClip).getChildByName("_txt") as MovieClip).gotoAndStop(_local1);
}
private function uiMouseClick(_arg1:MouseEvent):void{
var _local2:String;
_local2 = _arg1.target.name;
switch (_local2){
case "goon":
removeSelf();
_afterFunction();
break;
case "agame":
navigateToURL(new URLRequest(("http://" + CountryInfo.instance.domain)), "_blank");
break;
default:
break;
};
}
private function removeSelf():void{
var _local1:int;
removeEventListener(MouseEvent.CLICK, uiMouseClick);
_local1 = 0;
while (_local1 < numChildren) {
if ((getChildAt(_local1) is BtnBase)){
(getChildAt(_local1) as BtnBase).removeAll();
};
_local1++;
};
parent.removeChild(this);
}
}
}//package olduncle
Section 136
//BtnBase (olduncle.BtnBase)
package olduncle {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
public class BtnBase extends MovieClip {
private var _isDown:Boolean;
public var _txt:MovieClip;
private var _btnName:String;
private var _isAddUp:Boolean;
public function BtnBase(){
_isDown = false;
_isAddUp = false;
init();
}
public function get btnName():String{
return (_btnName);
}
public function init():void{
stop();
_btnName = name;
mouseChildren = false;
addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
}
protected function mouseUpHandler(_arg1:MouseEvent):void{
gotoAndStop(1);
_isDown = false;
transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
}
protected function mouseDownHandler(_arg1:MouseEvent):void{
gotoAndStop(2);
_isDown = true;
transform.colorTransform = new ColorTransform(1, 1, 1, 1, 100, 100, 100, 0);
if (!_isAddUp){
stage.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
_isAddUp = true;
};
}
public function removeAll():void{
removeEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
removeEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
stage.removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
}
protected function mouseOutHandler(_arg1:MouseEvent):void{
gotoAndStop(1);
transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
}
protected function mouseOverHandler(_arg1:MouseEvent):void{
gotoAndStop(2);
if (_isDown){
transform.colorTransform = new ColorTransform(1, 1, 1, 1, 100, 100, 100, 0);
};
}
}
}//package olduncle
Section 137
//Submitter (Spill.Components.Submitter)
package Spill.Components {
import flash.display.*;
public dynamic class Submitter extends MovieClip {
public var OO00OO1l1l:OOO000lll;
}
}//package Spill.Components
Section 138
//Gamestart (ui.Gamestart)
package ui {
import flash.display.*;
import zlong.country.*;
public class Gamestart extends MovieClip {
public var pic_btn:SimpleButton;
public var spilurl:SimpleButton;
public var highscores:MovieClip;
public var startgame:MovieClip;
public var pic_mc:MovieClip;
public var spil:SimpleButton;
public var turnmusic_mc:MovieClip;
public var howtoplay:MovieClip;
public var turnmusicmc:MovieClip;
public var highscores_btn:HIGHSCORE;
public var moregame_butt:MoreGamesLogo;
public var picbtn:SimpleButton;
public var picmc:MovieClip;
public var turnmusicbtn:SimpleButton;
public var turnmusic_btn:SimpleButton;
public var howtoplay_btn:CHALLENGEMODE;
public var moregameButt:MovieClip;
public var startgame_btn:MISSIONMODE;
public function Gamestart(){
initDis();
__setProp_moregame_butt_Gamestart_Layer3_1();
}
function __setProp_moregame_butt_Gamestart_Layer3_1(){
try {
moregame_butt["componentInspectorSetting"] = true;
} catch(e:Error) {
};
moregame_butt.position = "button_mainscreen_moregames";
moregame_butt.type = "moregames";
try {
moregame_butt["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
private function initDis():void{
startgame = (this.getChildByName("startgame_btn") as MovieClip);
highscores = (this.getChildByName("highscores_btn") as MovieClip);
moregameButt = (this.getChildByName("moregame_butt") as MovieClip);
if (CountryInfo.instance.country == "cn"){
highscores.alpha = 1;
highscores.x = 48.3;
highscores.y = 277.1;
highscores.mouseEnabled = true;
moregameButt.y = 327.3;
} else {
highscores.alpha = 0;
highscores.mouseEnabled = false;
moregameButt.y = 281.4;
};
howtoplay = (this.getChildByName("howtoplay_btn") as MovieClip);
spilurl = (this.getChildByName("spil") as SimpleButton);
turnmusicmc = (this.getChildByName("turnmusic_mc") as MovieClip);
turnmusicbtn = (this.getChildByName("turnmusic_btn") as SimpleButton);
picmc = (this.getChildByName("pic_mc") as MovieClip);
picbtn = (this.getChildByName("pic_btn") as SimpleButton);
}
}
}//package ui
Section 139
//Good (ui.Good)
package ui {
import flash.events.*;
import flash.display.*;
public class Good extends MovieClip {
private var par;
public function Good(_arg1, _arg2, _arg3){
addFrameScript(15, frame16);
_arg3.container5.addChild(this);
par = _arg3;
x = _arg1;
y = _arg2;
this.addEventListener(Event.ENTER_FRAME, process, false, 0, true);
}
public function del(){
this.removeEventListener(Event.ENTER_FRAME, process);
par.container5.removeChild(this);
}
function frame16(){
stop();
}
private function process(_arg1:Event):void{
if (this.currentFrame == 16){
del();
};
}
}
}//package ui
Section 140
//Great (ui.Great)
package ui {
import flash.events.*;
import flash.display.*;
public class Great extends MovieClip {
private var par;
public function Great(_arg1, _arg2, _arg3){
addFrameScript(15, frame16);
_arg3.container5.addChild(this);
par = _arg3;
x = _arg1;
y = _arg2;
this.addEventListener(Event.ENTER_FRAME, process, false, 0, true);
}
public function del(){
this.removeEventListener(Event.ENTER_FRAME, process);
par.container5.removeChild(this);
}
function frame16(){
stop();
}
private function process(_arg1:Event):void{
if (this.currentFrame == 16){
del();
};
}
}
}//package ui
Section 141
//Perfect (ui.Perfect)
package ui {
import flash.events.*;
import flash.display.*;
public class Perfect extends MovieClip {
private var par;
public function Perfect(_arg1, _arg2, _arg3){
addFrameScript(15, frame16);
_arg3.container5.addChild(this);
par = _arg3;
x = _arg1;
y = _arg2;
this.addEventListener(Event.ENTER_FRAME, process, false, 0, true);
}
public function del(){
this.removeEventListener(Event.ENTER_FRAME, process);
par.container5.removeChild(this);
}
function frame16(){
stop();
}
private function process(_arg1:Event):void{
if (this.currentFrame == 16){
del();
};
}
}
}//package ui
Section 142
//O1OOO0O00 (Util.O1OOO0O00)
package Util {
import flash.net.*;
import flash.external.*;
public class O1OOO0O00 {
private static const _O1lO0Oll1:Array = ["www.a10.com.gp.dev.spilgames.eu", "stg.pl.a10.com", "gamedev.dev.spilgames.com", "www.agame.com", "www.girlsgogames.com", "www.games.co.uk", "www.mygames.co.uk", "www.girlsgogames.co.uk", "www.spel.nl", "www.spelletjes.nl", "www.girlsgogames.nl", "www.jetztspielen.de", "www.spielen.com", "www.girlsgogames.de", "www.jeux.fr", "www.jeu.fr", "www.girlsgogames.fr", "www.juegos.com", "www.zapjuegos.com", "www.juegosdechicas.com", "www.gioco.it", "www.giocaregratis.it", "www.girlsgogames.it", "www.gry.pl", "www.minigry.pl", "www.girlsgogames.pl", "www.spela.se", "www.spel.eu", "www.girlsgogames.se", "www.ojogos.pt", "www.ourgames.ru", "www.flashgames.ru", "www.girlsgogames.ru", "www.oyunlar123.com", "www.asoyun.com", "www.girlsgogamestr.com", "www.gamesgames.com", "www.agame.com", "www.girlsgogames.com", "www.juegos.com", "www.zapjuegos.com", "www.juegosdechicas.com", "www.ojogos.com.br", "www.clickjogos.com", "www.girlsgogames.com.br", "www.game.com.cn", "www.xiaoyouxi.com", "www.egames.jp", "www.game.co.in", "www.game.co.in", "www.girlsgogames.in", "www.games.co.id", "www.laro.com.ph", "www.game.com.my", "www.onrpg.com", "www.zlonggames.com", "www.a10.com", "localhost"];
private static var _OOl10ll1l:URLRequest;
private static var _O0Oll0l00;
public function O1OOO0O00():void{
super();
try {
_O0Oll0l00 = ExternalInterface.call("window.location.href.toString");
} catch(e) {
_O0Oll0l00 = "error";
};
if ((((_O0Oll0l00 == null)) || ((_O0Oll0l00 == "")))){
_O0Oll0l00 = "error";
};
if (String(_O0Oll0l00).indexOf(".swf") != -1){
_O0Oll0l00 = "error";
};
}
public function O0111l110():Boolean{
if (((!((_O001llOll(_O11ll1l00(_O0Oll0l00)) == -1))) && (!((_O0Oll0l00 == "error"))))){
return (true);
};
return (false);
}
private static function _O11ll1l00(_arg1:String):String{
var _local2:String = new String();
var _local3:uint = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
return (_local2);
}
private static function _O001llOll(_arg1:String):Number{
var _local2:uint;
if (((_O1lO0Oll1) && (_arg1))){
_local2 = 0;
while (_local2 < _O1lO0Oll1.length) {
if (_arg1 == _O1lO0Oll1[_local2]){
return (_local2);
};
_local2++;
};
return (-1);
} else {
trace("cannot find site name");
};
return (-1);
}
}
}//package Util
Section 143
//Countries (zlong.country.Countries)
package zlong.country {
import zlong.country.*;
class Countries {
private var _countryGroup:Array;
private var _portal:String;
private var _portalGroup:Array;
private var _countries:Object;
private var _country:String;
function Countries(){
initPortalGroup();
}
private function initPortalGroup():void{
var _local1:int;
_portalGroup = new Array();
_local1 = 0;
while (_local1 < CountriesData.DATA.children().length()) {
_portalGroup.push(CountriesData.DATA.children()[_local1].name());
_local1++;
};
}
private function initCountries():void{
var _local1:CountryItem;
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:int;
_countries = new Object();
_countryGroup = new Array();
_local6 = 0;
while (_local6 < CountriesData.DATA[_portal]["country"].length()) {
_local2 = CountriesData.DATA[_portal]["country"][_local6].@name;
_local3 = CountriesData.DATA[_portal]["country"][_local6].@domain;
_local4 = CountriesData.DATA[_portal]["country"][_local6].@game;
_local5 = int(CountriesData.DATA[_portal]["country"][_local6].@language);
_local1 = new CountryItem();
_local1.name = _local2;
_local1.domain = _local3;
_local1.game = _local4;
_local1.language = _local5;
_countries[_local1.name] = _local1;
_countryGroup.push(_local2);
_local6++;
};
}
function get countryGroup():Array{
if (_countryGroup == null){
throw (new ArgumentError("Please set portal"));
};
return (_countryGroup);
}
function set country(_arg1:String):void{
if (((!((_countryGroup == null))) && (!(inArray(_arg1, _countryGroup))))){
_country = _countryGroup[0];
} else {
_country = _arg1;
};
}
function set portal(_arg1:String):void{
if (!inArray(_arg1, _portalGroup)){
throw (new ArgumentError(("Please set portal with value : " + _portalGroup.toString())));
};
_portal = _arg1;
initCountries();
if (((!((_country == null))) && (!(inArray(_country, _countryGroup))))){
throw (new ArgumentError(("Please reset country with value : " + _countryGroup.toString())));
};
}
function get current():CountryItem{
if (_portal == null){
throw (new ArgumentError("Please set portal"));
};
if (_country == null){
throw (new ArgumentError("Please set country"));
};
return (_countries[_country]);
}
private function inArray(_arg1:String, _arg2:Array):Boolean{
var _local3:int;
_local3 = 0;
while (_local3 < _arg2.length) {
if (_arg1 == _arg2[_local3]){
return (true);
};
_local3++;
};
return (false);
}
}
}//package zlong.country
Section 144
//CountriesData (zlong.country.CountriesData)
package zlong.country {
class CountriesData {
static const DATA:XML = <data>
<family>
<!-- new -->
<country name="ar" domain="www.dailygame.com" game="game" language="1"/><!-- Arabic(English US) 2009.07.14-->
<country name="br" domain="www.ojogos.com.br" game="jogo" language="7"/><!-- Brazillian -->
<country name="cn" domain="www.game.com.cn" game="moregames" language="17"/><!-- Chinese -->
<country name="de" domain="www.jetztspielen.de" game="spiel" language="5"/><!-- German -->
<country name="es" domain="www.juegos.com" game="juego" language="6"/><!-- Spanish -->
<country name="fr" domain="www.jeux.fr" game="jeu" language="4"/><!-- French -->
<country name="id" domain="www.games.co.id" game="permainanme" language="14"/><!-- Indonesian -->
<country name="in" domain="www.game.co.in" game="game" language="2"/><!-- English UK -->
<country name="it" domain="www.gioco.it" game="gioco" language="9"/><!-- Italian -->
<country name="jp" domain="www.egames.jp" game="game" language="16"/><!-- Japanese -->
<country name="nl" domain="www.spelletjes.nl" game="spel" language="3"/><!-- Dutch -->
<country name="pl" domain="www.gry.pl" game="gra" language="11"/><!-- Polish -->
<country name="pt" domain="www.ojogos.pt" game="jogo" language="8"/><!-- Portuguese -->
<country name="ru" domain="www.ourgames.ru" game="igra" language="12"/><!-- Russian -->
<country name="se" domain="www.spela.se" game="spel_" language="10"/><!-- Swedish -->
<country name="en_uk" domain="www.games.co.uk" game="game" language="2"/><!-- English UK -->
<country name="en_us" domain="www.gamesgames.com" game="game" language="1"/><!-- English US -->
<!-- removed -->
<!-- country name="ph" domain="www.laro.com.ph" game="game" language="2"/ --><!-- English UK -->
<!-- country name="tr" domain="www.asoyun.com" game="oyun" language="13"/ --><!-- Turkish -->
<!-- country name="my" domain="www.game.com.my" game="permainan_" language="15"/ --><!-- Malaysian -->
</family>
<tween>
<!-- new -->
<country name="ar" domain="www.dailygame.com" game="game" language="1"/><!-- Arabic(English US) 2009.07.14 -->
<country name="br" domain="www.clickjogos.com" game="jogo" language="7"/><!-- Brazillian -->
<country name="cn" domain="www.game.com.cn" game="moregames" language="17"/><!-- Chinese -->
<country name="de" domain="www.spielen.com" game="spiel" language="5"/><!-- German -->
<country name="es" domain="www.zapjuegos.com" game="juego" language="6"/><!-- Spanish -->
<country name="fr" domain="www.jeu.fr" game="jeu" language="4"/><!-- French -->
<country name="id" domain="www.games.co.id" game="permainanme" language="14"/><!-- Indonesian -->
<country name="in" domain="www.game.co.in" game="game" language="2"/><!-- English UK -->
//<!--country name="it" domain="www.giocaregratis.it" game="gioco" language="9"/--><!-- Italian 2009.08.10 -->
<country name="it" domain="www.gioco.it" game="gioco" language="9"/><!-- Italian 2009.08.10 -->
<country name="jp" domain="www.egames.jp" game="game" language="16"/><!-- Japanese -->
<country name="nl" domain="www.spel.nl" game="spel" language="3"/><!-- Dutch -->
//<!--country name="pl" domain="www.minigry.pl" game="gra" language="11"/--><!-- Polish 2009.08.10 -->
<country name="pl" domain="www.gry.pl" game="gra" language="11"/><!-- Polish 2009.08.10-->
<country name="pt" domain="www.ojogos.pt" game="jogo" language="8"/><!-- Portuguese -->
<country name="ru" domain="www.flashgames.ru" game="igra" language="12"/><!-- Russian -->
<country name="se" domain="www.spel.se" game="spel_" language="10"/><!-- Swedish -->
//<!--country name="en_uk" domain="www.mygames.co.uk" game="game" language="2"/--><!-- English UK 2009.08.28-->
<country name="en_uk" domain="www.agame.co.uk" game="game" language="2"/><!-- English UK 2009.08.28-->
<country name="en_us" domain="www.agame.com" game="game" language="1"/><!-- English US -->
<!-- removed -->
<!-- country name="ph" domain="www.laro.com.ph" game="game" language="2"/ --><!-- English UK -->
<!-- country name="tr" domain="www.asoyun.com" game="oyun" language="13"/ --><!-- Turkish -->
<!-- country name="my" domain="www.game.com.my" game="permainan_" language="15"/ --><!-- Malaysian -->
</tween>
<girl>
<!-- new -->
<country name="ar" domain="www.dailygame.com" game="game" language="1"/><!-- Arabic(English US) 2009.07.14-->
<country name="br" domain="www.girlsgogames.com.br" game="jogo" language="7"/><!-- Brazillian -->
<country name="cn" domain="www.game.com.cn" game="moregames" language="17"/><!-- Chinese -->
<country name="de" domain="www.girlsgogames.de" game="spiel" language="5"/><!-- German -->
<country name="es" domain="www.girlsgogames.es" game="juego" language="6"/><!-- Spanish -->
<country name="fr" domain="www.girlsgogames.fr" game="jeu" language="4"/><!-- French -->
<country name="id" domain="www.games.co.id" game="permainanme" language="14"/><!-- Indonesian -->
<country name="it" domain="www.girlsgogames.it" game="gioco" language="9"/><!-- Italian -->
<country name="jp" domain="www.egames.jp" game="game" language="16"/><!-- Japanese -->
<country name="nl" domain="www.girlsgogames.nl" game="spel" language="3"/><!-- Dutch -->
<country name="pl" domain="www.girlsgogames.pl" game="gra" language="11"/><!-- Polish -->
<country name="pt" domain="www.ojogos.pt" game="jogo" language="8"/><!-- Portuguese -->
<country name="ru" domain="www.girlsgogames.ru" game="igra" language="12"/><!-- Russian -->
<country name="se" domain="www.girlsgogames.se" game="spel_" language="10"/><!-- Swedish -->
<country name="en_uk" domain="www.girlsgogames.co.uk" game="game" language="2"/><!-- English UK -->
<country name="en_us" domain="www.girlsgogames.com" game="game" language="1"/><!-- English US -->
<!-- removed -->
<!-- country name="ph" domain="www.laro.com.ph" game="game" language="2"/ --><!-- English UK -->
<!-- country name="in" domain="www.girlsgogames.in" game="game" language="2"/ --><!-- English UK -->
<!-- country name="tr" domain="www.girlsgogamestr.com" game="oyun" language="13"/ --><!-- Turkish -->
<!-- country name="my" domain="www.game.com.my" game="permainan_" language="15"/ --><!-- Malaysian -->
</girl>
<teen>
<!-- new -->
<country name="ar" domain="www.dailygame.com" game="game" language="1"/><!-- Arabic(English US) 2009.07.14-->
<country name="br" domain="www.a10.com" game="jogo" language="7"/><!-- Brazillian -->
<country name="cn" domain="www.game.com.cn" game="moregames" language="17"/><!-- Chinese -->
<country name="de" domain="www.a10.com" game="spiel" language="5"/><!-- German -->
<country name="es" domain="www.a10.com" game="juego" language="6"/><!-- Spanish -->
<country name="fr" domain="www.a10.com" game="jeu" language="4"/><!-- French -->
<country name="id" domain="www.a10.com" game="permainanme" language="14"/><!-- Indonesian -->
<country name="in" domain="www.a10.com" game="game" language="2"/><!-- English UK -->
<country name="it" domain="www.a10.com" game="gioco" language="9"/><!-- Italian -->
<country name="jp" domain="www.a10.com" game="game" language="16"/><!-- Japanese -->
<country name="nl" domain="www.a10.com" game="spel" language="3"/><!-- Dutch -->
<country name="pl" domain="www.a10.com" game="gra" language="11"/><!-- Polish -->
<country name="pt" domain="www.a10.com" game="jogo" language="8"/><!-- Portuguese -->
<country name="ru" domain="www.a10.com" game="igra" language="12"/><!-- Russian -->
<country name="se" domain="www.a10.com" game="spel_" language="10"/><!-- Swedish -->
<country name="en_uk" domain="www.a10.com" game="game" language="2"/><!-- English UK -->
<country name="en_us" domain="www.a10.com" game="game" language="1"/><!-- English US -->
<!-- removed -->
<!-- country name="ph" domain="www.a10.com" game="game" language="2"/ --><!-- English UK -->
<!-- country name="tr" domain="www.a10.com" game="oyun" language="13"/ --><!-- Turkish -->
<!-- country name="my" domain="www.a10.com" game="permainan_" language="15"/ --><!-- Malaysian -->
</teen>
</data>
;
}
}//package zlong.country
Section 145
//CountryInfo (zlong.country.CountryInfo)
package zlong.country {
import zlong.domain.*;
import zlong.data.*;
public class CountryInfo {
private var countries:Countries;
private static var _instance:CountryInfo;
public function CountryInfo(){
countries = new Countries();
}
public function get domain():String{
return (countries.current.domain);
}
public function get countryGroup():Array{
return (countries.countryGroup);
}
public function get thisGameLink():String{
var _local1:String;
if (countries.current.name != "cn"){
_local1 = ("http://" + domain);
_local1 = (_local1 + ((("/" + countries.current.game) + "/") + GameInfo.html));
_local1 = (_local1 + ("?utm_medium=brandedgames_" + (DomainInfo.instance.allowed) ? "internal" : "external"));
_local1 = (_local1 + ("&utm_campaign=" + GameInfo.name));
_local1 = (_local1 + ("&utm_source=" + DomainInfo.instance.domainAb));
};
return (_local1);
}
public function set country(_arg1:String):void{
countries.country = _arg1;
}
public function get moreGameLink():String{
var _local1:String;
_local1 = ("http://" + domain);
if (countries.current.name != "cn"){
_local1 = (_local1 + "/");
_local1 = (_local1 + ("?utm_medium=brandedgames_" + (DomainInfo.instance.allowed) ? "internal" : "external"));
_local1 = (_local1 + ("&utm_campaign=" + GameInfo.name));
_local1 = (_local1 + ("&utm_source=" + DomainInfo.instance.domainAb));
} else {
_local1 = (_local1 + "/");
_local1 = (_local1 + "moregames");
_local1 = (_local1 + "/");
};
return (_local1);
}
public function get country():String{
return (countries.current.name);
}
public function set portal(_arg1:String):void{
countries.portal = _arg1;
}
public function get sendToFriendLink():String{
var _local1:String;
_local1 = thisGameLink;
if (countries.current.name != "cn"){
_local1 = (_local1 + "&utm_content=send_to_friend");
};
return (_local1);
}
public function get language():int{
return (countries.current.language);
}
public static function get instance():CountryInfo{
if (_instance == null){
_instance = new (CountryInfo);
};
return (_instance);
}
}
}//package zlong.country
Section 146
//CountryItem (zlong.country.CountryItem)
package zlong.country {
final class CountryItem {
var domain:String;
var game:String;
var language:int;
var name:String;
}
}//package zlong.country
Section 147
//CountryCookie (zlong.data.CountryCookie)
package zlong.data {
import flash.net.*;
public class CountryCookie {
private static const countryName:String = "savedLang";
private static const name:String = "spilgames_language_v100";
private static var so:SharedObject;
public function CountryCookie():void{
so = SharedObject.getLocal(name, "/");
}
public static function set country(_arg1:String):void{
so.data[countryName] = _arg1;
}
public static function get country():String{
return (so.data[countryName]);
}
}
}//package zlong.data
Section 148
//GameInfo (zlong.data.GameInfo)
package zlong.data {
public class GameInfo {
public static var width:int = 550;
public static var height:int = 400;
public static var html:String = "Game-Name.html";
public static var cnversion:Boolean = false;
public static var name:String = "game_name";
public static var portal:String = "family";
}
}//package zlong.data
Section 149
//CountriesBox (zlong.display.CountriesBox)
package zlong.display {
import flash.events.*;
import flash.display.*;
import zlong.country.*;
import zlong.data.*;
import flash.geom.*;
public class CountriesBox extends Sprite {
private var flagMc:MovieClip;
private var selectBox:MovieClip;
public var countryName:MovieClip;
public var selectbox:MovieClip;
private var i:uint;
public var flag:MovieClip;
private var pop:Sprite;
public var popList:MovieClip;
private var baseX:Number;// = 0
private var baseY:Number;// = 0
private var country_name:MovieClip;
private var nameGroup:Array;
private var mul:int;// = 1
private var obj:Object;
public function CountriesBox(){
mul = 1;
baseX = 0;
baseY = 0;
nameGroup = [];
super();
obj = new Object();
addEventListener(Event.ADDED_TO_STAGE, addToStageHandler);
addEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
}
private function init():void{
initPos();
setFlag();
setPop();
initEvent();
initPoPEvent();
if (GameInfo.cnversion){
this.visible = false;
setLanguage("cn");
};
}
private function initPoPEvent():void{
pop.addEventListener(MouseEvent.MOUSE_OVER, overPoPHandler);
pop.addEventListener(MouseEvent.MOUSE_OUT, outPoPHandler);
}
private function delPoPEvent():void{
pop.removeEventListener(MouseEvent.MOUSE_OVER, overPoPHandler);
pop.removeEventListener(MouseEvent.MOUSE_OUT, outPoPHandler);
}
private function outHandler(_arg1:MouseEvent):void{
pop.visible = false;
}
private function initPos():void{
var _local1:Point;
_local1 = new Point();
_local1 = this.localToGlobal(new Point(x, y));
if (_local1.y > (GameInfo.height / 2)){
mul = 1;
} else {
mul = -1;
};
}
private function initEvent():void{
addEventListener(MouseEvent.ROLL_OVER, overHandler, false, 0, true);
addEventListener(MouseEvent.ROLL_OUT, outHandler, false, 0, true);
addEventListener(MouseEvent.CLICK, clickHandler, false, 0, true);
}
private function setPop():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:MovieClip;
var _local6:String;
var _local7:int;
_local3 = 0;
_local4 = 0;
pop = (getChildByName("popList") as Sprite);
selectBox = (getChildByName("selectbox") as MovieClip);
_local1 = pop["_blank"].width;
_local2 = (pop["_blank"].height - 1);
baseX = selectBox.x;
nameGroup = CountryInfo.instance.countryGroup;
_local7 = nameGroup.length;
if (mul == 1){
baseY = ((selectBox.y - (Math.round((_local7 / 2)) * _local2)) + _local2);
} else {
baseY = ((selectBox.y + selectBox.height) + _local2);
};
pop.y = baseY;
pop.visible = false;
pop["_blank"].visible = false;
i = 0;
while (i < _local7) {
_local6 = nameGroup[i];
if (pop.getChildByName(("l_" + _local6)) != null){
_local5 = (pop.getChildByName(("l_" + _local6)) as MovieClip);
_local5.mouseChildren = false;
_local5.buttonMode = true;
_local5.stop();
_local5["flag"].mouseEnable = false;
_local5["flag"].mouseChildren = false;
_local5["flag"].gotoAndStop(_local6);
obj[("l_" + _local6)] = true;
_local3 = (((i % 2) == 0)) ? 0 : 1;
_local5.x = ((_local1 * (i % 2)) - _local3);
_local5.y = ((_local2 * Math.floor((i / 2))) - _local2);
};
i++;
};
i = 0;
while (i < pop.numChildren) {
if (pop.getChildAt(i).name.indexOf("l_") != -1){
if (obj[pop.getChildAt(i).name] == undefined){
pop.getChildAt(i).visible = false;
};
};
i++;
};
if ((nameGroup.length % 2) == 0){
pop["_blank"].visible = false;
} else {
pop["_blank"].visible = true;
pop["_blank"].x = (_local1 - 1);
pop["_blank"].y = (((_local2 * Math.floor((nameGroup.length / 2))) - _local2) - _local4);
};
}
private function addToStageHandler(_arg1:Event):void{
init();
}
private function clickHandler(_arg1:MouseEvent):void{
var _local2:String;
var _local3:MovieClip;
_local2 = _arg1.target["name"];
if (_local2 == "_blank"){
return;
};
if (_local2.indexOf("l_") != -1){
_local3 = (_arg1.target["getChildByName"]("flag") as MovieClip);
flagMc.gotoAndStop(_local2.substr(2));
country_name.gotoAndStop(_local3.currentFrame);
setLanguage(_local2.substr(2));
pop.visible = false;
};
}
private function outPoPHandler(_arg1:MouseEvent):void{
var _local2 = _arg1.target;
_local2["gotoAndStop"](1);
}
private function overPoPHandler(_arg1:MouseEvent):void{
var _local2 = _arg1.target;
_local2["gotoAndStop"](2);
}
private function overHandler(_arg1:MouseEvent):void{
pop.visible = true;
}
private function setLanguage(_arg1:String):void{
CountryInfo.instance.country = _arg1;
CountryCookie.country = _arg1;
Dispatcher.langChanged();
}
private function removeFromStageHandler(_arg1:Event):void{
removeEventListener(MouseEvent.ROLL_OVER, overHandler);
removeEventListener(MouseEvent.ROLL_OUT, outHandler);
removeEventListener(MouseEvent.CLICK, clickHandler);
removeEventListener(Event.ADDED_TO_STAGE, addToStageHandler);
removeEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
delPoPEvent();
}
private function setFlag():void{
country_name = (getChildByName("countryName") as MovieClip);
flagMc = (getChildByName("flag") as MovieClip);
flagMc.gotoAndStop(CountryInfo.instance.country);
country_name.gotoAndStop(CountryInfo.instance.country);
}
}
}//package zlong.display
Section 150
//Dispatcher (zlong.display.Dispatcher)
package zlong.display {
import flash.events.*;
class Dispatcher {
static const LANGUAGE_CHANGED:String = "languageChanged";
static var dispatcher:EventDispatcher = new EventDispatcher();
static function langChanged():void{
dispatcher.dispatchEvent(new Event(LANGUAGE_CHANGED));
}
}
}//package zlong.display
Section 151
//ExtButton (zlong.display.ExtButton)
package zlong.display {
import flash.events.*;
import flash.display.*;
import zlong.navigate.*;
public class ExtButton extends MovieClip {
private var _type:String;// = "moregames"
private var _position:String;// = "button_preloader"
public function ExtButton(){
_type = "moregames";
_position = "button_preloader";
super();
this.stop();
this.buttonMode = true;
this.mouseChildren = false;
initEvent();
}
private function mouseUpHandler(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
private function rollOverHandler(_arg1:MouseEvent):void{
this.gotoAndStop(2);
}
private function mouseDownHandler(_arg1:MouseEvent):void{
this.gotoAndStop(3);
}
public function set position(_arg1:String):void{
_position = _arg1;
}
private function initEvent():void{
this.addEventListener(MouseEvent.CLICK, clickHandler);
this.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
this.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
this.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
this.addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
this.addEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
}
public function set type(_arg1:String):void{
_type = _arg1;
}
private function delEvent():void{
this.removeEventListener(MouseEvent.CLICK, clickHandler);
this.removeEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
this.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
this.removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
this.removeEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
this.removeEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
}
private function rollOutHandler(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
private function clickHandler(_arg1:MouseEvent):void{
if (_type == "moregames"){
Handler.click_moregames(_position);
} else {
Handler.click_thisgame(_position);
};
}
private function removeFromStageHandler(_arg1:Event):void{
delEvent();
}
}
}//package zlong.display
Section 152
//Logo (zlong.display.Logo)
package zlong.display {
import flash.events.*;
import flash.display.*;
import zlong.country.*;
import zlong.navigate.*;
public class Logo extends MovieClip {
private const MAX_WIDTH:int = 200;
private const Max_HEIGHT:int = 50;
private var _maxHeight:Number;// = 40
private var _maxWidth:Number;// = 150
public var displayArea_mc:MovieClip;
private var _hitArea:Sprite;
private var _position:String;// = "logo_preloader"
private var _alignVertical:String;// = "Center"
private var _alignHorizontal:String;// = "Center"
public function Logo(){
_position = "logo_preloader";
_alignHorizontal = "Center";
_alignVertical = "Center";
_maxWidth = 150;
_maxHeight = 40;
super();
initDis();
addEventListener(Event.ADDED_TO_STAGE, initEvent, false, 0, true);
}
private function destroy():void{
delDis();
delEvent();
}
private function updateView():void{
var _local1:Sprite;
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local1 = (this.getChildAt(0) as Sprite);
_local1.scaleX = 1;
_local1.scaleY = 1;
_local2 = (_maxHeight / _local1.height);
_local3 = (_maxWidth / _local1.width);
_local4 = ((_local2 > _local3)) ? _local3 : _local2;
_local1.scaleX = _local4;
_local1.scaleY = _local4;
switch (_alignHorizontal){
case "Left":
_local1.x = 0;
break;
case "Right":
_local1.x = (MAX_WIDTH - _local1.width);
break;
case "Center":
_local1.x = ((MAX_WIDTH - _local1.width) / 2);
break;
};
switch (_alignVertical){
case "Up":
_local1.y = 0;
break;
case "Down":
_local1.y = (Max_HEIGHT - _local1.height);
break;
case "Center":
_local1.y = ((Max_HEIGHT - _local1.height) / 2);
break;
};
_hitArea.width = _local1.width;
_hitArea.height = _local1.height;
_hitArea.x = _local1.x;
_hitArea.y = _local1.y;
}
public function set alignHorizontal(_arg1:String):void{
_alignHorizontal = _arg1;
}
public function set alignVertical(_arg1:String):void{
_alignVertical = _arg1;
}
private function langChangeHandler(_arg1:Event):void{
gotoAndStop(CountryInfo.instance.domain);
}
public function set maxHeight(_arg1:Number):void{
if (_arg1 < 0){
_arg1 = 0;
} else {
if (_arg1 > Max_HEIGHT){
_arg1 = Max_HEIGHT;
};
};
_maxHeight = _arg1;
}
public function set position(_arg1:String):void{
_position = _arg1;
}
private function initDis():void{
var _local1:int;
buttonMode = true;
_hitArea = new Sprite();
this.addChild(_hitArea);
_hitArea.graphics.beginFill(3368601, 0);
_hitArea.graphics.drawRect(0, 0, 10, 10);
_hitArea.graphics.endFill();
this["displayArea_mc"].visible = false;
_local1 = 0;
while (_local1 < this.totalFrames) {
this.addFrameScript(_local1, updateView);
_local1++;
};
gotoAndStop(CountryInfo.instance.domain);
}
private function initEvent(_arg1:Event=null):void{
this.addEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
this.addEventListener(MouseEvent.CLICK, clickHandler);
Dispatcher.dispatcher.addEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
}
private function delEvent():void{
this.removeEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
this.removeEventListener(MouseEvent.CLICK, clickHandler);
Dispatcher.dispatcher.removeEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
}
private function delDis():void{
stop();
}
public function set maxWidth(_arg1:Number):void{
if (_arg1 < 0){
_arg1 = 0;
} else {
if (_arg1 > MAX_WIDTH){
_arg1 = MAX_WIDTH;
};
};
_maxWidth = _arg1;
}
private function clickHandler(_arg1:MouseEvent):void{
Handler.click_moregames(_position);
}
private function removeFromStageHandler(_arg1:Event):void{
destroy();
}
}
}//package zlong.display
Section 153
//Menu (zlong.display.Menu)
package zlong.display {
import flash.events.*;
import flash.display.*;
import zlong.country.*;
import zlong.navigate.*;
import flash.ui.*;
public class Menu {
private var displayObject:InteractiveObject;
private var item:ContextMenuItem;
private var menu:ContextMenu;
public function Menu(_arg1:InteractiveObject){
displayObject = _arg1;
init();
initEvent();
}
private function changeLang(_arg1:Event):void{
item.caption = CountryInfo.instance.domain;
}
private function initEvent():void{
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, clickItemHandler);
Dispatcher.dispatcher.addEventListener(Dispatcher.LANGUAGE_CHANGED, changeLang);
}
private function init():void{
var _local1:ContextMenuBuiltInItems;
menu = new ContextMenu();
menu.hideBuiltInItems();
_local1 = menu.builtInItems;
_local1.print = true;
_local1.zoom = true;
_local1.quality = true;
item = new ContextMenuItem(("MoreGame: " + CountryInfo.instance.domain));
menu.customItems.push(item);
displayObject.contextMenu = menu;
}
private function clickItemHandler(_arg1:ContextMenuEvent):void{
Handler.click_moregames("Contex_Menu");
}
}
}//package zlong.display
Section 154
//myDispatcher (zlong.display.myDispatcher)
package zlong.display {
import flash.events.*;
import zlong.country.*;
public class myDispatcher {
public var mydispatcher:EventDispatcher;
private static var _instance:myDispatcher;
public function myDispatcher(){
mydispatcher = new EventDispatcher();
super();
Dispatcher.dispatcher.addEventListener(Dispatcher.LANGUAGE_CHANGED, onChange);
}
private function onChange(_arg1:Event):void{
if (CountryInfo.instance.country == "cn"){
mydispatcher.dispatchEvent(new Event("changeCn"));
} else {
mydispatcher.dispatchEvent(new Event("changeOther"));
};
}
public static function get instance():myDispatcher{
if (_instance == null){
_instance = new (myDispatcher);
};
return (_instance);
}
}
}//package zlong.display
Section 155
//TranText (zlong.display.TranText)
package zlong.display {
import flash.events.*;
import flash.display.*;
import zlong.country.*;
public class TranText extends MovieClip {
private var isChange:Boolean;// = true
public function TranText(){
isChange = true;
super();
changeLang();
addEventListener(Event.ADDED_TO_STAGE, initEvent, false, 0, true);
}
private function langChangeHandler(_arg1:Event):void{
if (isChange){
changeLang();
};
}
private function removeHandler(_arg1:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, removeHandler);
Dispatcher.dispatcher.removeEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
}
private function initEvent(_arg1:Event=null):void{
addEventListener(Event.REMOVED_FROM_STAGE, removeHandler);
Dispatcher.dispatcher.addEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
}
public function set change(_arg1:Boolean):void{
isChange = _arg1;
}
private function changeLang():void{
gotoAndStop(CountryInfo.instance.language);
}
}
}//package zlong.display
Section 156
//DomainData (zlong.domain.DomainData)
package zlong.domain {
final class DomainData {
static const allowedDomain:Array = ["www8.agame.com", "www.zlonggamestest.com", "gamedev.dev.spilgames.com", "localhost"];
}
}//package zlong.domain
Section 157
//DomainInfo (zlong.domain.DomainInfo)
package zlong.domain {
import flash.net.*;
public final class DomainInfo {
private var _domain:String;
private var _domainAb:String;
private var _allowed:Boolean;
private static var _instance:DomainInfo;
public function DomainInfo(){
_domain = new LocalConnection().domain;
initAllowed();
initAb();
}
public function get domainAb():String{
return (_domainAb);
}
public function get allowed():Boolean{
return (_allowed);
}
public function get domain():String{
return (_domain);
}
private function initAb():void{
var _local1:Array;
var _local2:int;
var _local3:int;
if (_domain != "localhost"){
_local1 = _domain.split(".");
_local2 = (_local1.length - 1);
_local3 = (_local1.length - 2);
_domainAb = ((_local1[_local3] + ".") + _local1[_local2]);
} else {
_domainAb = "offline_play";
};
}
private function initAllowed():void{
var _local1:int;
_local1 = 0;
while (_local1 < DomainData.allowedDomain.length) {
if (_domain == DomainData.allowedDomain[_local1]){
_allowed = true;
break;
};
_local1++;
};
}
public static function get instance():DomainInfo{
if (_instance == null){
_instance = new (DomainInfo);
};
return (_instance);
}
}
}//package zlong.domain
Section 158
//Handler (zlong.navigate.Handler)
package zlong.navigate {
import flash.net.*;
import flash.events.*;
import zlong.country.*;
import flash.external.*;
public class Handler {
public static function click_copyright(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest("http://www.game.com.cn");
} else {
_local2 = new URLRequest("http://www.gameportal.net");
};
navigateToURL(_local2, "_blank");
}
public static function refurbish(_arg1:Event=null):void{
var e = _arg1;
try {
ExternalInterface.call("location.reload");
navigateToURL(new URLRequest(ExternalInterface.call("window.location.href.toString")), "_top");
} catch(myError:Error) {
};
}
public static function click_gamecn(_arg1:Event=null):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.game.com.cn");
navigateToURL(_local2, "_blank");
}
public static function click_moregames(_arg1:String):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest(((CountryInfo.instance.moreGameLink + "&utm_content=") + _arg1));
};
navigateToURL(_local2, "_blank");
}
public static function click_thisgame(_arg1:String):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest(((CountryInfo.instance.thisGameLink + "&utm_content=") + _arg1));
};
navigateToURL(_local2, "_blank");
}
}
}//package zlong.navigate
Section 159
//GameSetting (zlong.GameSetting)
package zlong {
import flash.display.*;
import zlong.country.*;
import zlong.display.*;
import zlong.data.*;
public class GameSetting {
public function GameSetting(_arg1:InteractiveObject, _arg2:Boolean, _arg3:String, _arg4:String, _arg5:String, _arg6:int, _arg7:int){
GameInfo.cnversion = _arg2;
GameInfo.portal = _arg3;
GameInfo.name = _arg4;
GameInfo.html = _arg5;
GameInfo.width = _arg6;
GameInfo.height = _arg7;
init();
initMenu(_arg1);
}
private function init():void{
new CountryCookie();
CountryInfo.instance.portal = GameInfo.portal;
if (CountryCookie.country == null){
CountryInfo.instance.country = "en_us";
} else {
CountryInfo.instance.country = String(CountryCookie.country);
};
}
private function initMenu(_arg1:InteractiveObject):void{
new Menu(_arg1);
}
}
}//package zlong
Section 160
//aload (aload)
package {
import flash.display.*;
public dynamic class aload extends MovieClip {
public var loadings:MovieClip;
}
}//package
Section 161
//Arrow (Arrow)
package {
import flash.display.*;
public class Arrow extends MovieClip {
public var number;
public var direct;
public function Arrow(){
addFrameScript(0, frame1, 4, frame5, 5, frame6);
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame5(){
stop();
}
}
}//package
Section 162
//axiaowugai1 (axiaowugai1)
package {
import zlong.display.*;
public dynamic class axiaowugai1 extends TranText {
}
}//package
Section 163
//axiaowugai2 (axiaowugai2)
package {
import zlong.display.*;
public dynamic class axiaowugai2 extends TranText {
}
}//package
Section 164
//BACK (BACK)
package {
public dynamic class BACK extends Moviebotton {
public function BACK(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 165
//backpic (backpic)
package {
import flash.display.*;
public dynamic class backpic extends MovieClip {
public var l1:MovieClip;
public var l4:MovieClip;
public var l5:MovieClip;
public var l3:MovieClip;
public var l7:MovieClip;
public var l6:MovieClip;
public var l2:MovieClip;
}
}//package
Section 166
//backtxt1 (backtxt1)
package {
import zlong.display.*;
public dynamic class backtxt1 extends TranText {
}
}//package
Section 167
//blackline (blackline)
package {
import flash.display.*;
public dynamic class blackline extends MovieClip {
}
}//package
Section 168
//Btn_NO (Btn_NO)
package {
import olduncle.*;
public dynamic class Btn_NO extends BtnBase {
}
}//package
Section 169
//Btn_YES (Btn_YES)
package {
import olduncle.*;
public dynamic class Btn_YES extends BtnBase {
}
}//package
Section 170
//CHALLENGEMODE (CHALLENGEMODE)
package {
public dynamic class CHALLENGEMODE extends Moviebotton {
public function CHALLENGEMODE(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 171
//COM_LoadingBar (COM_LoadingBar)
package {
import flash.display.*;
public dynamic class COM_LoadingBar extends MovieClip {
}
}//package
Section 172
//COM_LoadingProgress (COM_LoadingProgress)
package {
import flash.display.*;
public dynamic class COM_LoadingProgress extends MovieClip {
}
}//package
Section 173
//congratulationstxt (congratulationstxt)
package {
import zlong.display.*;
public dynamic class congratulationstxt extends TranText {
}
}//package
Section 174
//controlpanel (controlpanel)
package {
import flash.display.*;
public dynamic class controlpanel extends MovieClip {
public var space:MovieClip;
public var zy:MovieClip;
public var energes:MovieClip;
}
}//package
Section 175
//CountriesBox (CountriesBox)
package {
import zlong.display.*;
public dynamic class CountriesBox extends CountriesBox {
}
}//package
Section 176
//Data (Data)
package {
public class Data {
public static var stageHeight:Number = 480;
public static var ranks:Array = [];
public static var perfectnm:Number = 0;
public static var scoresave:Number = 0;
public static var siteLock:Boolean = false;
public static var debug:Boolean = false;
public static var canmusic:Boolean = true;
public static var scores:Array = [];
public static var stageWidth:Number = 640;
public static var zf:Number = 1;
public static var scorerecent:Number = 0;
public static var levels:Number = 0;
public static var firsttime:Boolean = true;
}
}//package
Section 177
//diaoqiu (diaoqiu)
package {
import flash.media.*;
public dynamic class diaoqiu extends Sound {
}
}//package
Section 178
//dongzuozhenque (dongzuozhenque)
package {
import flash.media.*;
public dynamic class dongzuozhenque extends Sound {
}
}//package
Section 179
//dunker_game (dunker_game)
package {
import flash.media.*;
public dynamic class dunker_game extends Sound {
}
}//package
Section 180
//dunker_lose (dunker_lose)
package {
import flash.media.*;
public dynamic class dunker_lose extends Sound {
}
}//package
Section 181
//dunker_menu (dunker_menu)
package {
import flash.media.*;
public dynamic class dunker_menu extends Sound {
}
}//package
Section 182
//dunker_win (dunker_win)
package {
import flash.media.*;
public dynamic class dunker_win extends Sound {
}
}//package
Section 183
//dunktxt (dunktxt)
package {
import zlong.display.*;
public dynamic class dunktxt extends TranText {
}
}//package
Section 184
//failed (failed)
package {
import zlong.display.*;
public dynamic class failed extends TranText {
}
}//package
Section 185
//failedmc (failedmc)
package {
import flash.display.*;
public dynamic class failedmc extends MovieClip {
public function failedmc(){
addFrameScript(59, frame60);
}
function frame60(){
stop();
}
}
}//package
Section 186
//fanmiankoulan (fanmiankoulan)
package {
import flash.display.*;
public dynamic class fanmiankoulan extends MovieClip {
public var __id8_:MoreGames;
public function fanmiankoulan(){
addFrameScript(93, frame94, 136, frame137);
__setProp___id8___1();
}
function __setProp___id8___1(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.position = "button_level_moregames";
__id8_.type = "moregames";
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame94(){
stop();
}
function frame137(){
stop();
}
}
}//package
Section 187
//Game (Game)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import com.google.analytics.*;
import flash.utils.*;
import zlong.data.*;
import zlong.navigate.*;
import zlong.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
public class Game extends MovieClip {
private var spilDomain:SpilDomain;
private var stages:Array;
private var loading;
public var sheds;
public var stagenm;// = 1
private var percent;
private var menu:ContextMenu;
public var gamespirit:Sprite;
private var gameCnMc:MovieClip;
static var _tracker:AnalyticsTracker;
static var perfect5:Boolean = false;
static var gamecomplete:Boolean = false;
public static var highscorecomponet;
static var level5start:Boolean = false;
static var get8500:Boolean = false;
static var get12000:Boolean = false;
public function Game(){
stages = new Array();
menu = new ContextMenu();
gamespirit = new Sprite();
stagenm = 1;
super();
gotoAndStop(1);
stage.showDefaultContextMenu = false;
stage.tabChildren = false;
SpilSystem.instance.init(this);
menu.hideBuiltInItems();
contextMenu = menu;
if (loaderInfo.parameters["OUDebug"] != undefined){
Data.debug = true;
};
initDomain();
new GameSetting(this, false, "tween", "Hyper_dunker", "Hyper-dunker.html", 640, 480);
loading = getMovieClip("aload");
addChild(loading);
loading.x = 320;
switch (Capabilities.playerType){
case "External":
break;
case "StandAlone":
break;
case "ActiveX":
stage.frameRate = 32;
break;
case "PlugIn":
break;
default:
break;
};
this.addEventListener(Event.ENTER_FRAME, thisaction);
}
private function enterFrameMc(_arg1:Event):void{
if (gameCnMc.totalFrames == gameCnMc.currentFrame){
gameCnMc.removeEventListener(MouseEvent.CLICK, Handler.click_gamecn);
gameCnMc.removeEventListener(Event.ENTER_FRAME, enterFrameMc);
gameCnMc.stop();
removeChild(gameCnMc);
gameCnMc = null;
initNormalGame();
};
}
private function initGameCn():void{
var _local1:Class;
_local1 = (getDefinitionByName("GameCnMC") as Class);
gameCnMc = new (_local1);
addChild(gameCnMc);
gameCnMc.x = (Data.stageWidth / 2);
gameCnMc.y = (Data.stageHeight / 2);
gameCnMc.addEventListener(MouseEvent.CLICK, Handler.click_gamecn);
gameCnMc.addEventListener(Event.ENTER_FRAME, enterFrameMc);
}
public function changeStage(_arg1){
var _local2:*;
gamespirit.removeChild(stages[0]);
_local2 = new _arg1(this);
delete stages[0];
stages = [];
GC.clear();
stages.push(_local2);
}
private function initDomain():void{
var checkUrl:String;
try {
checkUrl = (ExternalInterface.call("window.location.href.toString") as String);
} catch(e:Error) {
return;
};
spilDomain = new SpilDomain();
spilDomain.urlCheck = checkUrl;
spilDomain.loadXML();
}
private function thisaction(_arg1:Event):void{
percent = int(((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100));
if (percent < 100){
loading.loadings.gotoAndStop(percent);
};
if (percent == 100){
if ((((spilDomain == null)) || ((spilDomain.status == 0)))){
Data.siteLock = true;
completeFun();
} else {
if (spilDomain.status == -1){
return;
};
if (spilDomain.status == 1){
completeFun();
};
};
};
}
private function onClickBackofWarning(_arg1:Event):void{
var e = _arg1;
try {
highscorecomponet.parent.removeChild(highscorecomponet);
} catch(error:Error) {
};
}
private function completeFun():void{
this.removeEventListener(Event.ENTER_FRAME, thisaction);
spilDomain = null;
removeChild(loading);
loading = null;
gotoAndStop(3);
if (GameInfo.cnversion){
initGameCn();
} else {
initNormalGame();
};
}
private function initNormalGame():void{
var _local1:*;
SoundsManager.init();
highscorecomponet = new O11111OO11();
highscorecomponet.O111111O(this, "Dunker", "Dunker", 0, "normal", 4);
highscorecomponet.addEventListener("000111000100", onClickBackofWarning);
highscorecomponet.addEventListener("00111111000", onClickBackofWarning);
highscorecomponet.addEventListener("00000100110", onClickBackofWarning);
if (stagenm == 1){
addChild(gamespirit);
sheds = new Shed(320, 0);
addChild(sheds);
gamespirit.mask = sheds;
_local1 = new Stage1(this);
stages.push(_local1);
_tracker = new GATracker(this, "UA-6695967-1", "AS3", false);
_tracker.trackEvent("Hyper_Dunker", "mainscreen viewed", "per session", 0);
};
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 188
//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 189
//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 190
//GameCnMC (GameCnMC)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
public dynamic class GameCnMC extends MovieClip {
public function GameCnMC(){
addFrameScript(0, frame1, 7, frame8, 152, frame153, 239, frame240);
}
function frame153(){
}
public function onRemove(_arg1:Event){
this.removeEventListener("click", onPressLogo);
this.removeEventListener(Event.REMOVED_FROM_STAGE, onRemove);
}
function frame1(){
this.addEventListener("click", onPressLogo);
this.buttonMode = true;
this.addEventListener(Event.REMOVED_FROM_STAGE, onRemove);
}
public function onPressLogo(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.game.com.cn/moregames/"), "_blank");
}
function frame8(){
}
function frame240(){
stop();
}
}
}//package
Section 191
//gamecompletemc (gamecompletemc)
package {
import flash.display.*;
import flash.text.*;
public dynamic class gamecompletemc extends MovieClip {
public var submit:SUBMIT;
public var __id10_:MoreGames;
public var playagain:PLAYAGAIN;
public var scoretext:TextField;
public function gamecompletemc(){
__setProp___id10__gamecompletemc_Layer1_1();
}
function __setProp___id10__gamecompletemc_Layer1_1(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.position = "button_congratulations_moregames";
__id10_.type = "moregames";
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 192
//gamecomplettxt (gamecomplettxt)
package {
import zlong.display.*;
public dynamic class gamecomplettxt extends TranText {
}
}//package
Section 193
//gameover (gameover)
package {
import flash.display.*;
import flash.text.*;
public dynamic class gameover extends MovieClip {
public var submit:SUBMIT;
public var __id7_:MoreGames;
public var tryagain:TRYAGAIN;
public var playagain:PLAYAGAIN;
public var scoretext:TextField;
public function gameover(){
__setProp___id7__gameovermc__1();
}
function __setProp___id7__gameovermc__1(){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.position = "button_gameover_moregames";
__id7_.type = "moregames";
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 194
//gameovertxt (gameovertxt)
package {
import zlong.display.*;
public dynamic class gameovertxt extends TranText {
}
}//package
Section 195
//GC (GC)
package {
import flash.net.*;
public class GC {
public static function clear():void{
try {
new LocalConnection().connect("haha");
new LocalConnection().connect("haha");
} catch(error:Error) {
};
}
}
}//package
Section 196
//goodtxt1 (goodtxt1)
package {
import zlong.display.*;
public dynamic class goodtxt1 extends TranText {
}
}//package
Section 197
//goodtxt2 (goodtxt2)
package {
import zlong.display.*;
public dynamic class goodtxt2 extends TranText {
}
}//package
Section 198
//greattxt1 (greattxt1)
package {
import zlong.display.*;
public dynamic class greattxt1 extends TranText {
}
}//package
Section 199
//greattxt2 (greattxt2)
package {
import zlong.display.*;
public dynamic class greattxt2 extends TranText {
}
}//package
Section 200
//greenline (greenline)
package {
import flash.display.*;
public dynamic class greenline extends MovieClip {
}
}//package
Section 201
//HIGHSCORE (HIGHSCORE)
package {
public dynamic class HIGHSCORE extends Moviebotton {
public function HIGHSCORE(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 202
//highscoretxt1 (highscoretxt1)
package {
import zlong.display.*;
public dynamic class highscoretxt1 extends TranText {
}
}//package
Section 203
//howtoplaymc (howtoplaymc)
package {
import flash.display.*;
public dynamic class howtoplaymc extends MovieClip {
public var __id9_:MoreGames;
public var startbtn:START;
public var back:BACK;
public function howtoplaymc(){
__setProp___id9__howtoplaymc__1();
}
function __setProp___id9__howtoplaymc__1(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.position = "button_help_moregames";
__id9_.type = "moregames";
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 204
//howtoplaytxt1 (howtoplaytxt1)
package {
import zlong.display.*;
public dynamic class howtoplaytxt1 extends TranText {
}
}//package
Section 205
//howtoplaytxt3 (howtoplaytxt3)
package {
import zlong.display.*;
public dynamic class howtoplaytxt3 extends TranText {
}
}//package
Section 206
//jianyin (jianyin)
package {
import flash.display.*;
public dynamic class jianyin extends MovieClip {
public var __id3_:MoreGames;
public function jianyin(){
__setProp___id3__jianyin__1();
}
function __setProp___id3__jianyin__1(){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.position = "button_level_moregames";
__id3_.type = "moregames";
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 207
//jiaobu1 (jiaobu1)
package {
import flash.media.*;
public dynamic class jiaobu1 extends Sound {
}
}//package
Section 208
//jiaobu2 (jiaobu2)
package {
import flash.media.*;
public dynamic class jiaobu2 extends Sound {
}
}//package
Section 209
//jinkuanghecaiyici (jinkuanghecaiyici)
package {
import flash.media.*;
public dynamic class jinkuanghecaiyici extends Sound {
}
}//package
Section 210
//jumpdh (jumpdh)
package {
import flash.display.*;
public dynamic class jumpdh extends MovieClip {
}
}//package
Section 211
//kaichangxuannaoyici (kaichangxuannaoyici)
package {
import flash.media.*;
public dynamic class kaichangxuannaoyici extends Sound {
}
}//package
Section 212
//kongzhongchuansuoxunhuan (kongzhongchuansuoxunhuan)
package {
import flash.media.*;
public dynamic class kongzhongchuansuoxunhuan extends Sound {
}
}//package
Section 213
//koujinlankuang (koujinlankuang)
package {
import flash.media.*;
public dynamic class koujinlankuang extends Sound {
}
}//package
Section 214
//lanbankuang (lanbankuang)
package {
import flash.display.*;
public dynamic class lanbankuang extends MovieClip {
}
}//package
Section 215
//Lethe_Alert_Page (Lethe_Alert_Page)
package {
import flash.display.*;
public dynamic class Lethe_Alert_Page extends MovieClip {
}
}//package
Section 216
//Lethe_All_Logo (Lethe_All_Logo)
package {
import flash.display.*;
public dynamic class Lethe_All_Logo extends MovieClip {
}
}//package
Section 217
//Lethe_BackGround (Lethe_BackGround)
package {
import flash.display.*;
public dynamic class Lethe_BackGround extends MovieClip {
}
}//package
Section 218
//Lethe_Button_Back (Lethe_Button_Back)
package {
import flash.display.*;
public dynamic class Lethe_Button_Back extends MovieClip {
}
}//package
Section 219
//Lethe_Button_Down (Lethe_Button_Down)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 220
//Lethe_Button_Down2 (Lethe_Button_Down2)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down2 extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 221
//Lethe_Button_Down3 (Lethe_Button_Down3)
package {
import flash.display.*;
public dynamic class Lethe_Button_Down3 extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 222
//Lethe_Button_Up (Lethe_Button_Up)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 223
//Lethe_Button_Up2 (Lethe_Button_Up2)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up2 extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 224
//Lethe_Button_Up3 (Lethe_Button_Up3)
package {
import flash.display.*;
public dynamic class Lethe_Button_Up3 extends MovieClip {
public var _txt:MovieClip;
}
}//package
Section 225
//Lethe_Continue_Button (Lethe_Continue_Button)
package {
import flash.display.*;
public dynamic class Lethe_Continue_Button extends MovieClip {
public function Lethe_Continue_Button(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package
Section 226
//Lethe_Drag_Block (Lethe_Drag_Block)
package {
import flash.display.*;
public dynamic class Lethe_Drag_Block extends MovieClip {
}
}//package
Section 227
//Lethe_DragArea (Lethe_DragArea)
package {
import flash.display.*;
public dynamic class Lethe_DragArea extends MovieClip {
}
}//package
Section 228
//Lethe_FocusLine (Lethe_FocusLine)
package {
import flash.display.*;
public dynamic class Lethe_FocusLine extends MovieClip {
}
}//package
Section 229
//Lethe_LineBack (Lethe_LineBack)
package {
import flash.display.*;
public dynamic class Lethe_LineBack extends MovieClip {
}
}//package
Section 230
//Lethe_LineBack2 (Lethe_LineBack2)
package {
import flash.display.*;
public dynamic class Lethe_LineBack2 extends MovieClip {
}
}//package
Section 231
//Lethe_Link_Button (Lethe_Link_Button)
package {
import flash.display.*;
public dynamic class Lethe_Link_Button extends MovieClip {
public function Lethe_Link_Button(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package
Section 232
//Lethe_Loading_Text (Lethe_Loading_Text)
package {
import flash.display.*;
public dynamic class Lethe_Loading_Text extends MovieClip {
}
}//package
Section 233
//Lethe_PreviewMc (Lethe_PreviewMc)
package {
import flash.display.*;
public dynamic class Lethe_PreviewMc extends MovieClip {
}
}//package
Section 234
//Lethe_Scroll_Bar (Lethe_Scroll_Bar)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Bar extends MovieClip {
}
}//package
Section 235
//Lethe_Scroll_Down (Lethe_Scroll_Down)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Down extends MovieClip {
}
}//package
Section 236
//Lethe_Scroll_Up (Lethe_Scroll_Up)
package {
import flash.display.*;
public dynamic class Lethe_Scroll_Up extends MovieClip {
}
}//package
Section 237
//Lethe_Text1 (Lethe_Text1)
package {
import flash.display.*;
public dynamic class Lethe_Text1 extends MovieClip {
}
}//package
Section 238
//Lethe_Text2 (Lethe_Text2)
package {
import flash.display.*;
public dynamic class Lethe_Text2 extends MovieClip {
}
}//package
Section 239
//Lethe_Text3 (Lethe_Text3)
package {
import flash.display.*;
public dynamic class Lethe_Text3 extends MovieClip {
}
}//package
Section 240
//LetheAlertPage (LetheAlertPage)
package {
import flash.display.*;
public dynamic class LetheAlertPage extends MovieClip {
public var b2:MovieClip;
public var b1:MovieClip;
}
}//package
Section 241
//leveltxt (leveltxt)
package {
import zlong.display.*;
public dynamic class leveltxt extends TranText {
}
}//package
Section 242
//levelup (levelup)
package {
import flash.display.*;
import flash.text.*;
public dynamic class levelup extends MovieClip {
public var __id6_:MoreGames;
public var leveltxt:TextField;
public function levelup(){
__setProp___id6__levelmc__1();
}
function __setProp___id6__levelmc__1(){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.position = "button_level_moregames";
__id6_.type = "moregames";
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 243
//menu_press (menu_press)
package {
import flash.media.*;
public dynamic class menu_press extends Sound {
}
}//package
Section 244
//menu_touch (menu_touch)
package {
import flash.media.*;
public dynamic class menu_touch extends Sound {
}
}//package
Section 245
//menutxt1 (menutxt1)
package {
import zlong.display.*;
public dynamic class menutxt1 extends TranText {
}
}//package
Section 246
//MISSIONMODE (MISSIONMODE)
package {
public dynamic class MISSIONMODE extends Moviebotton {
public function MISSIONMODE(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 247
//missiontxt1 (missiontxt1)
package {
import zlong.display.*;
public dynamic class missiontxt1 extends TranText {
}
}//package
Section 248
//MoreGames (MoreGames)
package {
import zlong.display.*;
public dynamic class MoreGames extends ExtButton {
public var __id0_:Logo;
public function MoreGames(){
__setProp___id0__MoreGames__1();
}
function __setProp___id0__MoreGames__1(){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.alignHorizontal = "Center";
__id0_.alignVertical = "Center";
__id0_.maxHeight = 40;
__id0_.maxWidth = 150;
__id0_.position = "logo_levelcomplete";
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 249
//MoreGamesLogo (MoreGamesLogo)
package {
import zlong.display.*;
public dynamic class MoreGamesLogo extends ExtButton {
public var __id2_:Logo;
public function MoreGamesLogo(){
addFrameScript(0, frame1);
__setProp___id2__MoreGamesLogo__1();
}
function __setProp___id2__MoreGamesLogo__1(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.alignHorizontal = "Left";
__id2_.alignVertical = "Center";
__id2_.maxHeight = 40;
__id2_.maxWidth = 150;
__id2_.position = "logo_mainscreen";
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
stop();
}
}
}//package
Section 250
//moregametxt1 (moregametxt1)
package {
import zlong.display.*;
public dynamic class moregametxt1 extends TranText {
}
}//package
Section 251
//Moviebotton (Moviebotton)
package {
import flash.events.*;
import flash.display.*;
public class Moviebotton extends MovieClip {
public function Moviebotton(){
this.stop();
this.buttonMode = true;
this.mouseChildren = false;
initEvent();
}
private function mouseUpHandler(_arg1:MouseEvent):void{
SoundsManager.playSound("menu_press");
this.gotoAndStop(2);
}
private function rollOverHandler(_arg1:MouseEvent):void{
SoundsManager.playSound("menu_touch");
this.gotoAndStop(2);
}
private function mouseDownHandler(_arg1:MouseEvent):void{
this.gotoAndStop(3);
}
private function initEvent():void{
this.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
this.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
this.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
this.addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
this.addEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
}
private function delEvent():void{
this.removeEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
this.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
this.removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
this.removeEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
this.removeEventListener(Event.REMOVED_FROM_STAGE, removeFromStageHandler);
}
private function rollOutHandler(_arg1:MouseEvent):void{
this.gotoAndStop(1);
}
private function removeFromStageHandler(_arg1:Event):void{
delEvent();
}
}
}//package
Section 252
//NEXTLEVEL (NEXTLEVEL)
package {
public dynamic class NEXTLEVEL extends Moviebotton {
public function NEXTLEVEL(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 253
//nextleveltxt1 (nextleveltxt1)
package {
import zlong.display.*;
public dynamic class nextleveltxt1 extends TranText {
}
}//package
Section 254
//O11111111 (O11111111)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import O11111110.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
public class O11111111 extends MovieClip {
private const O11111OO1:Array;
private var O11111OO0:Number;
private var O11111OOO:MovieClip;
private var O11111OOl;
private var O11111O01:Boolean;// = false
private var O11111O00;
private var O11111O0O:Loader;
private var O11111O0l;
private var O111111l1:String;
private var O111111lO:int;
private var O111111ll:Number;
private var O11111l11;
private var oddLineColor:Number;
private var O111111O0:String;
private var O111111O1:String;
private var O11111l1O;
private var O11111Ol0:MovieClip;
private var O11111Ol1:Array;
private var O111111OO:String;
private var O111111Ol:String;
private var O11111OlO:String;
private var O1111100O1:int;
private var O11111Oll:Boolean;
private var evenLineColor:Number;
private var noticeLineColor:Number;
private var selfLineColor:Number;
public function O11111111():void{
var O11111l1l:int;
var O11111l10:*;
O11111O01 = false;
O11111OO1 = ["Failed to get highscores.", "Failed to get highscores.", "Failed to get highscores.", "Failed to get highscores.", "Ophalen van de highscores mislukt", "Classement échoué.", "Highscores konnten nicht geladen werden.", "Error al cargar las puntuaciones máximas.", "Os recordes não foram recebidos.", "Não conseguiu obter uma das melhores pontuações", "Impossibile recuperare dati sui record.", "Kunde ej hämta toppoäng.", "Pobieranie rankingu nie powiodło się.", "Ошибка! Получить данные о рекордах не удалось!", "Yüksek skorlar alınamadı.", "Gagal untuk mendapatkan skor tertinggi", "Gagal mendapatkan skor tertinggi.", "ハイスコア情報の取得に失敗しました", "获取排行榜失败"];
super();
Security.allowDomain("*");
O11111OOl = this.parent;
O11111OOl.stop();
O11111l1l = 0;
while (true) {
try {
O11111l10 = O11111OOl.getChildAt(O11111l1l);
if ((O11111l10 is MovieClip)){
O11111l10.visible = false;
} else {
O11111OOl.removeChild(O11111l10);
};
O11111l1l = (O11111l1l + 1);
} catch(O11111llO:Error) {
break;
};
};
try {
O11111OOl["O111111O"] = O111110lO;
} catch(O11111llO:Error) {
};
}
private function O1111100O(_arg1:MouseEvent):void{
_arg1.currentTarget.gotoAndStop(1);
}
private function O1111O1l1(_arg1):void{
removeEventListener(Event.ENTER_FRAME, O111110ll);
O11111l11.visible = true;
O11111O00.text = O11111OO1[(O1111111l.O11111OlO().O11111O0O() - 1)];
}
private function O1111100l(_arg1:MouseEvent):void{
_arg1.currentTarget.gotoAndStop(3);
}
private function O1111O1lO(_arg1:Event):void{
O11111OOl.dispatchEvent(_arg1);
}
public function O11111O11():void{
if (O11111l1O != null){
O11111l1O.O11111l0O();
};
}
public function get O11111O10():Boolean{
return (O11111O01);
}
private function O1111O1O0(_arg1:String){
return (getDefinitionByName(_arg1));
}
public function O11111O1O():void{
if (O11111l1O != null){
O11111l1O.O11111l1l();
};
}
public function O11111O1l(_arg1:int, _arg2:String):void{
if (O11111l1O != null){
O11111l1O.O11111l10(_arg1, _arg2);
};
}
private function O1111O1OO(_arg1:MouseEvent):void{
this.O1111O1lO(new Event("00000100110"));
}
private function O1111O1O1():void{
var O111110O1:*;
var O111110OO:*;
var O111110Ol:*;
var O111110O0:*;
var O11111l1l:int;
var O11111l01:int;
var O1111101l:*;
var O11111l10:*;
var O111110l1:*;
O111110O1 = getDefinitionByName("Lethe_Button_Back");
O111110OO = getDefinitionByName("Lethe_Loading_Text");
O111110Ol = getDefinitionByName("COM_LoadingProgress");
O111110O0 = getDefinitionByName("Lethe_Text3");
O11111l1l = 0;
O11111l01 = 0;
while (true) {
try {
O11111l10 = O11111OOO.getChildAt(O11111l1l);
if ((O11111l10 is O111110O1)){
O11111l11 = O11111l10;
O11111001(O11111l11);
O11111l01 = 0;
while (true) {
try {
O1111101l = O11111l11.getChildAt(O11111l01);
if ((O1111101l is O111110O0)){
O1111101l.gotoAndStop(O1111111l.O11111OlO().O11111O0O());
break;
};
O11111l01 = (O11111l01 + 1);
} catch(O11111llO:Error) {
break;
};
};
O11111l11.visible = false;
try {
O11111l10.removeEventListener(MouseEvent.CLICK, O1111O1OO);
} catch(e:Error) {
};
O11111l10.addEventListener(MouseEvent.CLICK, O1111O1OO, false, 0, true);
} else {
if ((O11111l10 is O111110OO)){
O11111l01 = 0;
while (true) {
try {
O111110l1 = O11111l10.getChildAt(O11111l01);
if ((O111110l1 is TextField)){
O11111O00 = O111110l1;
break;
};
O11111l01 = (O11111l01 + 1);
} catch(O11111llO:Error) {
break;
};
};
} else {
if ((O11111l10 is O111110Ol)){
O11111O0l = O11111l10;
O11111O0l.stop();
};
};
};
O11111l1l = (O11111l1l + 1);
} catch(O11111llO:Error) {
break;
};
};
}
private function O1111O1Ol(_arg1:Event):void{
this.dispatchEvent(new Event(Event.COMPLETE));
O11111l1O = _arg1.currentTarget.content;
O11111l1O.addEventListener("000111000100", O1111O1lO);
O11111l1O.addEventListener("00111111000", O1111O1lO);
O11111l1O.addEventListener("000000000000", O1111O1lO);
O11111l1O.addEventListener("010101010100", O1111O1lO);
O11111l1O.addEventListener("000001111111", O1111O1lO);
O11111l1O.O11111l1O(O11111OO0, O111111lO, O111111ll, O111111Ol, O11111O10, O1111111l.O11111OlO().O11111OOO, O111111O1, evenLineColor, oddLineColor, noticeLineColor, selfLineColor);
O11111l1O.O11111l11(O1111O1O0("Lethe_BackGround"), O1111O1O0("Lethe_Button_Down"), O1111O1O0("Lethe_Button_Down2"), O1111O1O0("Lethe_Button_Down3"), O1111O1O0("Lethe_Button_Up"), O1111O1O0("Lethe_Button_Up2"), O1111O1O0("Lethe_Button_Up3"), O1111O1O0("Lethe_FocusLine"), O1111O1O0("Lethe_LineBack"), O1111O1O0("Lethe_LineBack2"), O1111O1O0("Lethe_Scroll_Bar"), O1111O1O0("Lethe_Drag_Block"), O1111O1O0("Lethe_Scroll_Up"), O1111O1O0("Lethe_Scroll_Down"), O1111O1O0("Lethe_DragArea"));
O11111O1O();
}
public function set O11111O10(_arg1:Boolean):void{
var _local2:LocalConnection;
var _local3:String;
var _local4:Array;
var _local5:int;
var _local6:int;
var _local7:O1111111O;
O11111O01 = _arg1;
O11111Ol1 = ["www8.agame.com", "www.zlonggames.com", "gamedev.dev.spillgroup.com", "gamedev.dev.spilgames.com", "www.zlonggamestest.com"];
_local2 = new LocalConnection();
if (_local2.domain != "localhost"){
_local4 = _local2.domain.split(".");
_local5 = (_local4.length - 1);
_local6 = (_local4.length - 2);
O11111OlO = ((_local4[_local6] + ".") + _local4[_local5]);
} else {
O11111OlO = "localhost";
};
O1111111l.O11111OlO().O11111Oll(O11111OlO, O111111Ol, O111111O0, O1111100O1);
if (((isNaN(O11111OO0)) || (isNaN(O111111lO)))){
O111110l0();
return;
};
for each (_local3 in O11111Ol1) {
if (_local2.domain == _local3){
_local7 = new O1111111O();
if (_local7.O11111OO1()){
O11111Oll = true;
O1111O110();
return;
};
O111110l0();
return;
};
};
O111110l0();
}
private function O1111O110():void{
var _local1:*;
stop();
O11111O0O = new Loader();
O11111O0O.load(new URLRequest(O111111l1));
O11111OOl.addChildAt(O11111O0O, 0);
this.addEventListener(Event.ENTER_FRAME, O111110ll);
O11111O0O.contentLoaderInfo.addEventListener(Event.COMPLETE, O1111O1Ol);
O11111O0O.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, O1111O1l1);
O11111O0O.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, O1111O1l1);
_local1 = getDefinitionByName("COM_LoadingBar");
if (_local1 != null){
O11111OOO = new (_local1);
O11111OOl.addChild(O11111OOO);
O1111O1O1();
};
}
private function O1111O111():void{
var O11111l1l:int;
var O11111l01:int;
var O11111l0O:*;
var O11111l0l:*;
var O11111l00:*;
var O11111011:*;
var O1111101O:*;
var O1111101l:*;
var O11111l10:*;
O11111l1l = 0;
O11111l01 = 0;
O11111l0O = getDefinitionByName("Lethe_Continue_Button");
O11111l0l = getDefinitionByName("Lethe_Link_Button");
O11111l00 = getDefinitionByName("Lethe_Text1");
O11111011 = getDefinitionByName("Lethe_Text2");
O1111101O = getDefinitionByName("Lethe_All_Logo");
while (true) {
try {
O11111l10 = O11111Ol0.getChildAt(O11111l1l);
if ((O11111l10 is O11111l0O)){
O11111001(O11111l10);
try {
O11111l10.removeEventListener(MouseEvent.CLICK, O1111O11l);
} catch(e:Error) {
};
O11111l10.addEventListener(MouseEvent.CLICK, O1111O11l, false, 0, true);
O11111l01 = 0;
while (true) {
try {
O1111101l = O11111l10.getChildAt(O11111l01);
if ((((O1111101l is O11111l00)) || ((O1111101l is O11111011)))){
O1111101l.gotoAndStop(O1111111l.O11111OlO().O11111O0O());
};
O11111l01 = (O11111l01 + 1);
} catch(O11111llO:Error) {
break;
};
};
} else {
if ((O11111l10 is O11111l0l)){
try {
O11111l10.removeEventListener(MouseEvent.CLICK, O1111O11O);
} catch(e:Error) {
};
O11111l10.addEventListener(MouseEvent.CLICK, O1111O11O, false, 0, true);
O11111001(O11111l10);
O11111l01 = 0;
while (true) {
try {
O1111101l = O11111l10.getChildAt(O11111l01);
if ((((O1111101l is O11111l00)) || ((O1111101l is O11111011)))){
O1111101l.gotoAndStop(O1111111l.O11111OlO().O11111O0O());
} else {
if ((O1111101l is O1111101O)){
O1111101l.gotoAndStop(O1111111l.O11111OlO().O11111O01());
};
};
O11111l01 = (O11111l01 + 1);
} catch(O11111llO:Error) {
break;
};
};
};
};
O11111l1l = (O11111l1l + 1);
} catch(O11111llO:Error) {
break;
};
};
}
public function O111111l0():Boolean{
return (O11111Oll);
}
private function O1111O11l(_arg1:MouseEvent):void{
this.O1111O1lO(new Event("000111000100"));
}
private function O1111O11O(_arg1:MouseEvent):void{
O1111111l.O11111OlO().O11111O0l();
this.O1111O1lO(new Event("00111111000"));
}
private function O111110l0():void{
var O11111ll0:*;
if (O11111OOO != null){
O11111OOl.removeChild(O11111OOO);
O11111OOO = null;
};
if (O11111Ol0 == null){
try {
O11111ll0 = getDefinitionByName("Lethe_Alert_Page");
O11111Ol0 = new (O11111ll0);
O11111OOl.addChild(O11111Ol0);
O1111O111();
} catch(O11111llO:Error) {
};
};
}
private function O111110lO(_arg1=null, _arg2:String="default", _arg3="", _arg4:int=0, _arg5:String="normal", _arg6:int=1, _arg7:Number=0x515151, _arg8:Number=0x515151, _arg9:Number=0x515151, _arg10:Number=0x515151, _arg11:int=0):void{
O11111OOl["O11111O10"] = O11111O1l;
O11111OOl["O11111O11"] = O11111O1O;
O11111OOl["O11111100"] = O111111l0;
O11111OOl["O11111101"] = O11111101;
O11111OOl["O1100000l"] = O10000101;
O11111OOl["O1111110l"] = O1111110l;
O11111OOl["O111111001"] = O11111100;
O11111OOl["O111111010"] = O11111O11;
O1111111l.O11111OlO().O11111Ol0("en_us");
evenLineColor = _arg7;
oddLineColor = _arg8;
selfLineColor = _arg10;
noticeLineColor = _arg9;
O1111100O1 = _arg6;
O111111O1 = _arg5;
O111111Ol = _arg2;
if (_arg3 == ""){
O111111O0 = O111111Ol;
} else {
O111111O0 = _arg3;
};
O111111ll = _arg4;
if (((!((_arg1 == null))) && (!((_arg1.loaderInfo == null))))){
if (_arg11 == 0){
O11111OO0 = Number(_arg1.loaderInfo.parameters["id"]);
O111111lO = Number(_arg1.loaderInfo.parameters["s"]);
} else {
O11111OO0 = Number(_arg1.loaderInfo.parameters[("id" + _arg11)]);
O111111lO = Number(_arg1.loaderInfo.parameters[("s" + _arg11)]);
};
O111111l1 = "http://www8.agame.com/games/flash/highscore/Submiter.swf?v=115";
O11111O10 = true;
};
}
private function O111110ll(_arg1:Event):void{
var _local2:int;
_local2 = (((O11111O0O.contentLoaderInfo.bytesLoaded / O11111O0O.contentLoaderInfo.bytesTotal) * 100) >> 0);
if (_local2 == 0){
O11111O0l.gotoAndStop(1);
} else {
O11111O0l.gotoAndStop(_local2);
};
O11111O00.text = (String(_local2) + "%");
if (_local2 >= 100){
O11111l11 = null;
O11111O0l = null;
O11111O00 = null;
removeEventListener(Event.ENTER_FRAME, O111110ll);
O11111OOl.removeChild(O11111OOO);
O11111OOO = null;
};
}
public function O11111100():void{
if (O11111l1O != null){
O11111l1O.O11111l0l();
};
}
public function O11111101():Boolean{
return (!((O11111l1O == null)));
}
public function O1111110O(_arg1:Number, _arg2:Number):void{
if (O11111O0O){
O11111O0O.scaleX = (_arg1 / 460);
O11111O0O.scaleY = (_arg2 / 300);
};
}
public function O1111110l():void{
if (O11111l1O != null){
O11111l1O.O11111l00();
};
}
private function O11111000(_arg1:MouseEvent):void{
_arg1.currentTarget.gotoAndStop(2);
}
private function O11111001(_arg1):void{
var _btn = _arg1;
_btn.stop();
_btn.mouseChildren = false;
_btn.buttonMode = true;
try {
_btn.removeEventListener(MouseEvent.MOUSE_OVER, O11111000);
_btn.removeEventListener(MouseEvent.MOUSE_DOWN, O1111100l);
_btn.removeEventListener(MouseEvent.MOUSE_OUT, O1111100O);
_btn.removeEventListener(MouseEvent.MOUSE_UP, O1111100O);
} catch(e:Error) {
};
_btn.addEventListener(MouseEvent.MOUSE_OVER, O11111000, false, 0, true);
_btn.addEventListener(MouseEvent.MOUSE_DOWN, O1111100l, false, 0, true);
_btn.addEventListener(MouseEvent.MOUSE_OUT, O1111100O, false, 0, true);
_btn.addEventListener(MouseEvent.MOUSE_UP, O1111100O, false, 0, true);
}
public function O10000101(_arg1:String):void{
var _langType = _arg1;
O1111111l.O11111OlO().O11111Ol0(_langType);
try {
O1111O111();
} catch(e:Error) {
};
try {
O1111O1O1();
} catch(e:Error) {
};
try {
O11111O00.text = O11111OO1[(O1111111l.O11111OlO().O11111O0O() - 1)];
} catch(e:Error) {
};
try {
O11111l1O.O0100010((O1111111l.O11111OlO().getOldOrder() + 1));
} catch(e:Error) {
};
}
}
}//package
Section 255
//O11111OO11 (O11111OO11)
package {
import flash.display.*;
public dynamic class O11111OO11 extends MovieClip {
}
}//package
Section 256
//ObjText (ObjText)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class ObjText extends MovieClip {
public var myTextBox:TextField;
public var man:Boolean;// = false
public var a;// = 1
private var par;
public var textcontent:String;
public var myText:TextField;
public function ObjText(_arg1:Number, _arg2:Number, _arg3:String, _arg4){
man = false;
a = 1;
super();
_arg4.container2.addChild(this);
par = _arg4;
x = _arg1;
y = _arg2;
textcontent = _arg3;
myTextBox = (this.getChildByName("myText") as TextField);
initdialog();
}
private function thisaction(_arg1:Event):void{
y = (y - 2);
a = (a - 0.05);
if (a <= 0){
par.container2.removeChild(this);
this.removeEventListener(Event.ENTER_FRAME, thisaction);
};
}
private function initdialog():void{
myTextBox.width = 210;
myTextBox.height = 50;
myTextBox.x = -105;
myTextBox.y = 0;
myTextBox.text = textcontent;
this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true);
}
}
}//package
Section 257
//OOO000lll (OOO000lll)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import Util.*;
import flash.system.*;
public class OOO000lll extends MovieClip {
public var O1OlOO00O:XML;
private var _O10OOO1O0:Loader;
private var _O1l10l101:Object;
private var _OO0l101l1:Object;
public var OOO10O100:String;
public var O0l00l0O0:XML;
private var _OOl10010l:String;
private var _O001OO010:Object;
private var _O01OO1O00;
private var _O01O0lOl0:int;
private var _O1Ol011l1:String;
private var _O11OO0110:String;
private var _OOO00l00l:int;
private var _O0lO0100O:String;
private var _OOOOll01l:Array;
private var _O111O01OO:Object;
private var _OO10001Ol:Boolean;
private var _OO1l1OO10:String;
public var O1lll0ll0:XML;
private var _O1OO1OllO:Object;
private var _O0l0OO01O;
private var _OO0l1lOO1:int;
public var OOOll0OO0:int;
public function OOO000lll():void{
var _O1OlO10O0:*;
super();
Security.allowDomain("*");
_OO10001Ol = false;
_O01OO1O00 = this.parent;
_O01OO1O00.stop();
var _OOll00l11:int;
while (true) {
try {
_O1OlO10O0 = _O01OO1O00.getChildAt(_OOll00l11);
if ((_O1OlO10O0 is MovieClip)){
_O1OlO10O0.visible = false;
} else {
_O01OO1O00.removeChild(_O1OlO10O0);
};
_OOll00l11 = (_OOll00l11 + 1);
} catch(e:Error) {
break;
};
};
try {
_O01OO1O00["_O0000Ol01"] = _O0000Ol01;
_O01OO1O00["_O0Olll0lO"] = _O0Olll0lO;
} catch(e:Error) {
};
}
private function _O11lll1OO0(_arg1:String):void{
if (_O0l0OO01O){
_O0l0OO01O.OO0011ll1O(_arg1);
};
}
private function _OO0OO1OO0(_arg1:Event):void{
if ((((((_arg1.type == "ScoreLoadSubmitComplete")) || ((_arg1.type == "ScoreLoadListComplete")))) || ((_arg1.type == "ScoreLoadUserListComplete")))){
O0l00l0O0 = _O0l0OO01O.O011Oll0O();
} else {
if (_arg1.type == "ScoreLoadTimeComplete"){
O1lll0ll0 = _O0l0OO01O.OO011OOl1();
} else {
O0l00l0O0 = _O0l0OO01O.O0001O0Ol();
};
};
_O01OO1O00.dispatchEvent(_arg1);
}
private function _O10Ol0l10(_arg1:IOErrorEvent):void{
removeEventListener(Event.ENTER_FRAME, _O0OlOOO1O);
_O01OO1O00.dispatchEvent(new IOErrorEvent(IOErrorEvent.IO_ERROR));
}
private function _O01Ol1O1O():void{
if (_O0l0OO01O){
_O0l0OO01O.OO011OOl1();
};
}
private function _O110l10ll():void{
if (_O0l0OO01O){
_O0l0OO01O.O01l01OlO();
};
}
private function _O01O1101l():void{
stop();
_O10OOO1O0 = new Loader();
_O10OOO1O0.load(new URLRequest(_O1Ol011l1));
_O01OO1O00.addChildAt(_O10OOO1O0, 0);
this.addEventListener(Event.ENTER_FRAME, _O0OlOOO1O);
_O10OOO1O0.contentLoaderInfo.addEventListener(Event.COMPLETE, _O100O0Oll);
_O10OOO1O0.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _O10Ol0l10);
}
private function _O0000Ol01(_arg1=null, _arg2:String="default", _arg3="", _arg4:int=0, _arg5:String="normal", _arg6:String="", _arg7:int=0, _arg8:int=0, _arg9:int=1, _arg10:Boolean=false):void{
OOO10O100 = _arg5;
OOOll0OO0 = _arg4;
_O11OO0110 = _arg2;
if (_arg3 == ""){
_OO1l1OO10 = _O11OO0110;
} else {
_OO1l1OO10 = _arg3;
};
if (((!((_arg1 == null))) && (!((_arg1.loaderInfo == null))))){
_O1l10l101 = _arg1.loaderInfo.parameters["username"];
_O001OO010 = _arg1.loaderInfo.parameters["hash"];
_OO0l101l1 = _arg1.loaderInfo.parameters["id"];
_O1OO1OllO = _arg1.loaderInfo.parameters["s"];
_O111O01OO = _arg1.loaderInfo.parameters["c"];
_O1Ol011l1 = "http://www8.agame.com/games/flash/highscore/SubmitterV2.swf";
if (_O00O00010(_arg10)){
_O01O1101l();
} else {
_O01OO1O00.dispatchEvent(new Event("LoadingFailed"));
};
};
_OOl10010l = _arg6;
_OO0l1lOO1 = _arg7;
_O01O0lOl0 = _arg8;
_OOO00l00l = _arg9;
}
private function _O0O1l0OO0():Boolean{
return (!((_O0l0OO01O == null)));
}
private function _O100O0Oll(_arg1:Event):void{
_O0l0OO01O = _arg1.currentTarget.content;
_O0l0OO01O.O0011ll110O0(_O1OO1OllO, 1, _OO0l101l1, _O111O01OO, OOOll0OO0, _OOl10010l, _OO0l1lOO1, _O01O0lOl0, _OOO00l00l, _O1l10l101, _O001OO010);
_O0l0OO01O.addEventListener("HyScorSubmitterLoaded", _OOl11lOOl);
_O0l0OO01O.addEventListener("ScoreLoadError", _OO0OO1OO0);
_O0l0OO01O.addEventListener("ScoreLoadTimeComplete", _OO0OO1OO0);
_O0l0OO01O.addEventListener("ScoreLoadSubmitComplete", _OO0OO1OO0);
_O0l0OO01O.addEventListener("ScoreLoadListComplete", _OO0OO1OO0);
_O0l0OO01O.addEventListener("ScoreLoadUserListComplete", _OO0OO1OO0);
_O0l0OO01O.addEventListener("AchievLoadError", _O0l0O1Oll);
_O0l0OO01O.addEventListener("AchievLoadTimeComplete", _O0l0O1Oll);
_O0l0OO01O.addEventListener("AchievLoadListComplete", _O0l0O1Oll);
_O0l0OO01O.addEventListener("AchievLoadInfoComplete", _O0l0O1Oll);
_O0l0OO01O.addEventListener("AchievLoadGrantComplete", _O0l0O1Oll);
_O01OO1O00["_O0Olll0lO"] = _O0Olll0lO;
_O01OO1O00["_O0O1l0OO0"] = _O0O1l0OO0;
_O01OO1O00["_O01Ol1O1O"] = _O01Ol1O1O;
_O01OO1O00["_O01lOO10O"] = _O01lOO10O;
_O01OO1O00["_O110l10ll"] = _O110l10ll;
_O01OO1O00["_O11lll1OO0"] = _O11lll1OO0;
_O01OO1O00["_O00OOl1Ol"] = _O00OOl1Ol;
_O01OO1O00["_O1OlO10OO"] = _O1OlO10OO;
_O01OO1O00["_OOlOOOll1"] = _OOlOOOll1;
_O01OO1O00["_O010ll111"] = _O010ll111;
}
private function _O00O00010(_arg1:Boolean=false):Boolean{
var _local4:String;
var _local5:O1OOO0O00;
var _local2:Boolean = _arg1;
if (!_local2){
_OOOOll01l = ["www8.agame.com"];
} else {
_OOOOll01l = ["localhost", "www8.agame.com", "www.zlonggames.com", "gamedev.dev.spilgames.com", "stg.pl.a10.com", "www.a10.com.gp.dev.spilgames.eu"];
};
var _local3:LocalConnection = new LocalConnection();
if (((isNaN((_OO0l101l1 as int))) || (isNaN((_O1OO1OllO as int))))){
return (false);
};
for each (_local4 in _OOOOll01l) {
if (_local3.domain == _local4){
_local5 = new O1OOO0O00();
if (_local5.O0111l110()){
_OO10001Ol = true;
return (true);
};
};
};
return (false);
}
private function _O00OOl1Ol(_arg1:String):void{
if (_O0l0OO01O){
_O0l0OO01O.OO00lO1l0(_arg1, _O1l10l101, _O001OO010);
};
}
private function _O0OlOOO1O(_arg1:Event):void{
var _local2 = (((_O10OOO1O0.contentLoaderInfo.bytesLoaded / _O10OOO1O0.contentLoaderInfo.bytesTotal) * 100) >> 0);
if (_local2 >= 100){
removeEventListener(Event.ENTER_FRAME, _O0OlOOO1O);
};
}
private function _OOl11lOOl(_arg1:Event):void{
if (_O0l0OO01O){
_O0l0OO01O.removeEventListener("HyScorSubmitterLoaded", _OOl11lOOl);
};
_O01OO1O00.dispatchEvent(new Event(Event.COMPLETE));
}
private function _O01lOO10O(_arg1:int):void{
if (_O0l0OO01O){
_O0l0OO01O.O0l01llOl(_arg1, _O1l10l101, _O001OO010);
};
}
private function _O0Olll0lO():Boolean{
return (_O00O00010(false));
}
private function _O1OlO10OO():void{
if (_O0l0OO01O){
_O0l0OO01O.O1l0OOl1l(_O1l10l101, _O001OO010);
};
}
private function _O10O00lO0():String{
if (_O0l0OO01O){
return (_O0l0OO01O.OOOO00ll0());
};
return (("FAILED " + _O0l0OO01O));
}
private function _O0l0O1Oll(_arg1:Event):void{
if ((((((_arg1.type == "AchievLoadListComplete")) || ((_arg1.type == "AchievLoadInfoComplete")))) || ((_arg1.type == "AchievLoadGrantComplete")))){
O1OlOO00O = _O0l0OO01O.O11OO0l0l();
} else {
O1OlOO00O = _O0l0OO01O.O0O100l0l();
};
_O01OO1O00.dispatchEvent(_arg1);
}
private function _O010ll111():void{
_O0l0OO01O.removeEventListener("ScoreLoadError", _OO0OO1OO0);
_O0l0OO01O.removeEventListener("ScoreLoadTimeComplete", _OO0OO1OO0);
_O0l0OO01O.removeEventListener("ScoreLoadSubmitComplete", _OO0OO1OO0);
_O0l0OO01O.removeEventListener("ScoreLoadListComplete", _OO0OO1OO0);
_O0l0OO01O.removeEventListener("ScoreLoadUserListComplete", _OO0OO1OO0);
_O0l0OO01O.removeEventListener("AchievLoadError", _O0l0O1Oll);
_O0l0OO01O.removeEventListener("AchievLoadTimeComplete", _O0l0O1Oll);
_O0l0OO01O.removeEventListener("AchievLoadListComplete", _O0l0O1Oll);
_O0l0OO01O.removeEventListener("AchievLoadInfoComplete", _O0l0O1Oll);
_O0l0OO01O.removeEventListener("AchievLoadGrantComplete", _O0l0O1Oll);
_O01OO1O00 = null;
_OOOOll01l = null;
_O0l0OO01O = null;
_O1l10l101 = null;
_O001OO010 = null;
_O10OOO1O0 = null;
O1lll0ll0 = null;
O0l00l0O0 = null;
O1OlOO00O = null;
}
private function _OOlOOOll1(_arg1:int):void{
if (_O0l0OO01O){
_O0l0OO01O.O1OlOO111(_arg1);
};
}
}
}//package
Section 258
//orengeline (orengeline)
package {
import flash.display.*;
public dynamic class orengeline extends MovieClip {
}
}//package
Section 259
//perfecttxt1 (perfecttxt1)
package {
import zlong.display.*;
public dynamic class perfecttxt1 extends TranText {
}
}//package
Section 260
//perfecttxt2 (perfecttxt2)
package {
import zlong.display.*;
public dynamic class perfecttxt2 extends TranText {
}
}//package
Section 261
//PLAYAGAIN (PLAYAGAIN)
package {
public dynamic class PLAYAGAIN extends Moviebotton {
public function PLAYAGAIN(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 262
//qiuluodi1 (qiuluodi1)
package {
import flash.media.*;
public dynamic class qiuluodi1 extends Sound {
}
}//package
Section 263
//qiuluodi2 (qiuluodi2)
package {
import flash.media.*;
public dynamic class qiuluodi2 extends Sound {
}
}//package
Section 264
//Random (Random)
package {
import flash.net.*;
import flash.display.*;
public class Random {
var randomStr;
private static var hexcase = 0;
public static var gameID = 111;
public static var strqq:String;
private static var chrsz = 8;
private static var b64pad = "";
public function Random(){
randomStr = Randoms(10);
super();
}
public static function average_gg(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function SortT(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
_local2 = "";
_local3 = 0;
while (_local3 < 10) {
_local2 = (_local2 + _local1.substr(Math.floor((Math.random() * _local1.length)), 1));
_local3++;
};
return (_local2);
}
public static function b64_hmac_average(_arg1, _arg2){
return (binl2b64(core_hmac_average(_arg1, _arg2)));
}
public static function md5(_arg1:String){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
var _local14:*;
var _local15:*;
var _local16:*;
var _local17:*;
var _local18:*;
var _local19:*;
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
_local5 = 1732584193;
_local6 = -271733879;
_local7 = -1732584194;
_local8 = 271733878;
_local9 = str2binl(_local4);
if (_local9.length > 16){
_local9 = core_average(_local9, (_local4.length * chrsz));
};
_local10 = new Array(16);
_local11 = new Array(16);
_local12 = 0;
while (_local12 < 16) {
_local10[_local12] = (_local9[_local12] ^ 909522486);
_local11[_local12] = (_local9[_local12] ^ 1549556828);
_local12++;
};
_local14 = core_average(_local10.concat(str2binl(_local13)), (0x0200 + (_local13.length * chrsz)));
return (core_average(_local11.concat(_local14), (0x0200 + 128)));
return (new Array(_local5, _local6, _local7, _local8));
}
public static function average_ii(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function average_hh(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function binl2b64(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
_local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_local3 = "";
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local5 = (((((_arg1[(_local4 >> 2)] >> (8 * (_local4 % 4))) & 0xFF) << 16) | (((_arg1[((_local4 + 1) >> 2)] >> (8 * ((_local4 + 1) % 4))) & 0xFF) << 8)) | ((_arg1[((_local4 + 2) >> 2)] >> (8 * ((_local4 + 2) % 4))) & 0xFF));
_local6 = 0;
while (_local6 < 4) {
if (((_local4 * 8) + (_local6 * 6)) > (_arg1.length * 32)){
_local3 = (_local3 + b64pad);
} else {
_local3 = (_local3 + _local2.charAt(((_local5 >> (6 * (3 - _local6))) & 63)));
};
_local6++;
};
_local4 = (_local4 + 3);
};
return (_local3);
}
public static function senturl(_arg1, _arg2, _arg3, _arg4):void{
var _local5:String;
var _local6:URLRequest;
_local5 = ((((((((("http://user.game.com.cn/game/?action=highscore&id=" + gameID) + "&s=") + _arg1) + "&a=") + _arg2) + "&t=") + _arg4) + "&r=") + _arg3);
_local6 = new URLRequest(_local5);
navigateToURL(_local6, "_blank");
}
public static function geturl():void{
var _local1:String;
var _local2:URLRequest;
_local1 = ("http://user.game.com.cn/game/?action=highscore&id=" + gameID);
_local2 = new URLRequest(_local1);
navigateToURL(_local2, "_blank");
}
public static function submitScore(_arg1):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
_local2 = new Date().getTime();
_local3 = SortT();
_local4 = hex_average((((String(Random.gameID) + _arg1) + _local3) + _local2));
DrawLine(_local4, _local3, 10, 10, 15, 15);
_local5 = Random.strqq;
Random.senturl(_arg1, _local3, _local5, _local2);
}
public static function bit_rol(_arg1, _arg2){
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
public static function core_hmac_average(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local3 = str2binl(_arg1);
if (_local3.length > 16){
_local3 = core_average(_local3, (_arg1.length * chrsz));
};
_local4 = new Array(16);
_local5 = new Array(16);
_local6 = 0;
while (_local6 < 16) {
_local4[_local6] = (_local3[_local6] ^ 909522486);
_local5[_local6] = (_local3[_local6] ^ 1549556828);
_local6++;
};
_local7 = core_average(_local4.concat(str2binl(_arg2)), (0x0200 + (_arg2.length * chrsz)));
return (core_average(_local5.concat(_local7), (0x0200 + 128)));
}
public static function average_ff(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){
return (average_cmn(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function str2binl(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = new Array();
_local3 = ((1 << chrsz) - 1);
_local4 = 0;
while (_local4 < (_arg1.length * chrsz)) {
_local2[(_local4 >> 5)] = (_local2[(_local4 >> 5)] | ((_arg1.charCodeAt((_local4 / chrsz)) & _local3) << (_local4 % 32)));
_local4 = (_local4 + chrsz);
};
return (_local2);
}
public static function binl2hex(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = (hexcase) ? "0123456789ABCDEF" : "0123456789abcdef";
_local3 = "";
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local3 = (_local3 + (_local2.charAt(((_arg1[(_local4 >> 2)] >> (((_local4 % 4) * 8) + 4)) & 15)) + _local2.charAt(((_arg1[(_local4 >> 2)] >> ((_local4 % 4) * 8)) & 15))));
_local4++;
};
return (_local3);
}
public static function calcaverage(_arg1){
return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function hex_hmac_average(_arg1, _arg2){
return (binl2hex(core_hmac_average(_arg1, _arg2)));
}
public static function safe_add(_arg1, _arg2){
var _local3:*;
var _local4:*;
_local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF));
_local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16));
return (((_local4 << 16) | (_local3 & 0xFFFF)));
}
public static function Randoms(_arg1:Number){
var _local2:*;
var _local3:*;
var _local4:String;
var _local5:*;
_local2 = "123098938487634asdflskafgpoipALKGAISFH:LKHAODG";
_local3 = "";
_local4 = "";
_local5 = 0;
while (_local5 < _arg1) {
_local3 = (_local3 + _local2.substr(Math.floor((Math.random() * _local2.length)), 1));
_local5++;
};
return (_local3);
}
public static function average_vm_test(){
return ((hex_average("abc") == "900150983cd24fb0d6963f7d28e17f72"));
}
public static function hex_average(_arg1){
return (binl2hex(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function average_cmn(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){
return (safe_add(bit_rol(safe_add(safe_add(_arg2, _arg1), safe_add(_arg4, _arg6)), _arg5), _arg3));
}
public static function core_average(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
_arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
_local3 = 1732584193;
_local4 = -271733879;
_local5 = -1732584194;
_local6 = 271733878;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = _local3;
_local9 = _local4;
_local10 = _local5;
_local11 = _local6;
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162);
_local3 = average_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682);
_local6 = average_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101);
_local5 = average_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290);
_local4 = average_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501);
_local3 = average_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467);
_local6 = average_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784);
_local5 = average_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473);
_local4 = average_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189);
_local3 = average_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487);
_local6 = average_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835);
_local5 = average_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520);
_local4 = average_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649);
_local3 = average_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070);
_local6 = average_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379);
_local5 = average_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259);
_local4 = average_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551);
_local3 = safe_add(_local3, _local8);
_local4 = safe_add(_local4, _local9);
_local5 = safe_add(_local5, _local10);
_local6 = safe_add(_local6, _local11);
_local7 = (_local7 + 16);
};
return (new Array(_local3, _local4, _local5, _local6));
}
public static function b64_average(_arg1){
return (binl2b64(core_average(str2binl(_arg1), (_arg1.length * chrsz))));
}
public static function DrawLine(_arg1, _arg2, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number){
var point1:Vector;
var point:Vector;
var current:*;
var nextdot:*;
var minX:Number;
var minY:Number;
var maxX:Number;
var maxY:Number;
var verts:Array;
var center:Vector;
var normal:Vector;
var dmc:MovieClip;
var isVisible:Boolean;
var isActivated:Boolean;
var AbstractTile:Function;
var initializeContainer:Function;
var createBoundingRect:Function;
var testIntervals:Function;
var k:*;
var i:*;
var point2:Vector;
var point3:Vector;
var point4:Vector;
var point5:Vector;
var b:*;
var j:*;
var l:*;
var c:*;
var position = _arg1;
var line = _arg2;
var x1 = _arg3;
var x2 = _arg4;
var y1 = _arg5;
var y2 = _arg6;
AbstractTile = function (_arg1:Number, _arg2:Number){
center = new Vector(_arg1, _arg2);
verts = new Array();
normal = new Vector(0, 0);
isVisible = true;
isActivated = true;
initializeContainer();
};
initializeContainer = function (){
var _local1:String;
_local1 = "_oooo";
dmc = new MovieClip();
dmc.name = _local1;
};
createBoundingRect = function (_arg1:Number, _arg2:Number){
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local3 = (center.y - (_arg2 / 2));
_local4 = (center.y + (_arg2 / 2));
_local5 = (center.x - (_arg1 / 2));
_local6 = (center.x + (_arg1 / 2));
verts.push(new Vector(_local6, _local4));
verts.push(new Vector(_local6, _local3));
verts.push(new Vector(_local5, _local3));
verts.push(new Vector(_local5, _local4));
};
testIntervals = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){
var _local5:Number;
var _local6:Number;
if (_arg2 < _arg3){
return (0);
};
if (_arg4 < _arg1){
return (0);
};
_local5 = (_arg4 - _arg1);
_local6 = (_arg3 - _arg2);
if (Math.abs(_local5) < Math.abs(_local6)){
return (_local5);
};
return (_local6);
};
point1 = new Vector(x1, y1);
point = new Vector(x2, y2);
current = point1.dot(point);
nextdot = point1.cross(point);
current = (current + nextdot);
k = [];
strqq = "";
i = 0;
while (i < 8) {
b = 0;
j = 0;
while (j < 10) {
c = line.substr(j, 1).charCodeAt();
c = String(c).substr((String(c).length - 2), 1);
b = (b + Number(c));
j = (j + 1);
};
if (b > 10){
b = (b % 10);
};
k[i] = Math.round((((i + b) * (i + b)) - ((b * b) / 2)));
while (k[i] >= 32) {
k[i] = Math.round((k[i] / 2));
};
l = 0;
l = 0;
while (l < (k.length - 1)) {
if (k[i] == k[l]){
k[i] = (k[i] + 1);
};
l = (l + 1);
};
strqq = (strqq + position.substr(k[i], 1));
i = (i + 1);
};
point2 = new Vector(x1, y1);
current = point2.dot(point);
nextdot = point2.cross(point);
current = (current + nextdot);
point3 = new Vector(x1, y1);
current = point3.dot(point);
nextdot = point3.cross(point);
current = (current + nextdot);
point4 = new Vector(x1, y1);
current = point4.dot(point);
nextdot = point4.cross(point);
current = (current + nextdot);
point5 = new Vector(x1, y1);
current = point5.dot(point);
nextdot = point5.cross(point);
current = (current + nextdot);
current = Math.round(Math.sqrt((current * 2)));
if (current > 20){
current = Math.round(Math.sqrt(current));
};
return (current);
}
}
}//package
Section 265
//redline (redline)
package {
import flash.display.*;
public dynamic class redline extends MovieClip {
}
}//package
Section 266
//runtxt (runtxt)
package {
import zlong.display.*;
public dynamic class runtxt extends TranText {
}
}//package
Section 267
//Scorebar (Scorebar)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class Scorebar extends MovieClip {
public var rank:MovieClip;
private var tx;// = 17
public var score:TextField;
public var par;
public var nm:TextField;
public function Scorebar(_arg1=null){
tx = 17;
super();
_arg1.addChild(this);
par = _arg1;
this.addEventListener(Event.ENTER_FRAME, process, false, 0, true);
}
public function del(){
this.removeEventListener(Event.ENTER_FRAME, process);
par.removeChild(this);
}
private function process(_arg1:Event):void{
if (Math.abs((tx - x)) > 3){
x = (x + ((tx - x) / 8));
} else {
x = tx;
};
}
}
}//package
Section 268
//scoretxt (scoretxt)
package {
import zlong.display.*;
public dynamic class scoretxt extends TranText {
}
}//package
Section 269
//Shed (Shed)
package {
import flash.display.*;
public class Shed extends MovieClip {
public function Shed(_arg1:Number=0, _arg2:Number=0){
x = _arg1;
y = _arg2;
}
}
}//package
Section 270
//SoundsManager (SoundsManager)
package {
import flash.events.*;
import flash.media.*;
import flash.utils.*;
public class SoundsManager {
private static const VOLUME_SOUND:Number = 0.75;
private static const SOUNDSLINK:Array = ["dunker_game", "dunker_lose", "dunker_menu", "dunker_win", "menu_press", "menu_touch", "diaoqiu", "dongzuozhenque", "jiaobu1", "jiaobu2", "jinkuanghecaiyici", "kaichangxuannaoyici", "kongzhongchuansuoxunhuan", "koujinlankuang", "qiuluodi1", "qiuluodi2", "tiaoqijiaobushen", "tiaoyueyishen"];
private static const VOLUME_MUSIC:Number = 0.95;
private static var curMusicArr:Array;
private static var curSoundVolume:Number;
private static var fadeTimer:Timer;
private static var soundsArr:Array = [];
private static var curMusicVolume:Number;
private static function timerFun(_arg1:Event):void{
fadeMusic();
}
public static function stopMusic(_arg1:Boolean=false):void{
var _local2:*;
if (!_arg1){
for (_local2 in curMusicArr) {
if (soundsArr[curMusicArr[_local2].name].channel[0] != null){
soundsArr[curMusicArr[_local2].name].channel[0].stop();
};
};
};
}
public static function modifyMusicVolume(_arg1:Number=-1):void{
var _local2:*;
var _local3:SoundTransform;
if (_arg1 < 0){
curMusicVolume = VOLUME_MUSIC;
} else {
curMusicVolume = _arg1;
};
for (_local2 in curMusicArr) {
if (soundsArr[curMusicArr[_local2].name].channel[0] != null){
_local3 = soundsArr[curMusicArr[_local2].name].channel[0].soundTransform;
_local3.volume = curMusicVolume;
soundsArr[curMusicArr[_local2].name].channel[0].soundTransform = _local3;
};
};
}
public static function memoryRelease():void{
var _local1:*;
var _local2:Object;
var _local3:*;
for (_local1 in soundsArr) {
_local2 = soundsArr[_local1];
if (!_local2["music"]){
for (_local3 in _local2["channel"]) {
if (_local2["channel"][_local3] != null){
_local2["channel"][_local3].stop();
delete _local2["channel"][_local3];
};
};
_local2["channel"] = [];
};
};
}
private static function fadeMusic():void{
var _local1:int;
var _local2:SoundChannel;
var _local3:Number;
var _local4:SoundTransform;
_local1 = curMusicArr.length;
if (_local1 > 0){
_local2 = soundsArr[curMusicArr[0].name].channel[0];
if (_local1 == 1){
if (_local2.soundTransform.volume < curMusicVolume){
_local3 = (100 / curMusicArr[0].delayStart);
if (_local3 > 1){
_local3 = 1;
};
_local4 = _local2.soundTransform;
_local4.volume = (_local2.soundTransform.volume + _local3);
_local2.soundTransform = _local4;
} else {
fadeTimer.stop();
};
} else {
if (_local1 > 1){
if (_local2.soundTransform.volume > 0){
_local3 = (100 / curMusicArr[0].delayEnd);
if (_local3 > 1){
_local3 = 1;
};
_local4 = _local2.soundTransform;
_local4.volume = (_local2.soundTransform.volume - _local3);
_local2.soundTransform = _local4;
} else {
_local2.stop();
curMusicArr.splice(0, (_local1 - 1));
startMusic(curMusicArr[0].name, curMusicArr[0].times, curMusicArr[0].startVolume);
};
};
};
};
}
public static function init():void{
var _local1:int;
var _local2:String;
var _local3:Sound;
var _local4:Object;
curMusicVolume = VOLUME_MUSIC;
curSoundVolume = VOLUME_SOUND;
_local1 = 0;
while (_local1 < SOUNDSLINK.length) {
_local2 = SOUNDSLINK[_local1];
_local3 = getSound(_local2);
_local4 = {name:_local2, sound:_local3, channel:[], music:false, loop:false};
soundsArr[_local2] = _local4;
_local1++;
};
curMusicArr = new Array();
fadeTimer = new Timer(100);
fadeTimer.addEventListener("timer", timerFun, false, 0, true);
fadeTimer.stop();
}
public static function playMusic(_arg1:String, _arg2:int=500, _arg3:int=500, _arg4:int=2147483647):void{
var _local5:Number;
var _local6:Object;
if (_arg2 < 100){
_local5 = curMusicVolume;
};
_local6 = {name:_arg1, times:_arg4, delayStart:_arg2, delayEnd:_arg3, startVolume:_local5};
if (curMusicArr.length == 0){
startMusic(_arg1, _arg4, _local5);
};
if (!(((curMusicArr.length > 0)) && ((curMusicArr[(curMusicArr.length - 1)].name == _arg1)))){
curMusicArr.push(_local6);
fadeTimer.start();
};
}
public static function modifySoundsVolume(_arg1:Number=-1):void{
var _local2:*;
var _local3:*;
var _local4:SoundTransform;
if (_arg1 < 0){
curSoundVolume = VOLUME_SOUND;
} else {
curSoundVolume = _arg1;
};
for (_local2 in soundsArr) {
if (!soundsArr[_local2].music){
for (_local3 in soundsArr[_local2].channel) {
if (soundsArr[_local2].channel[_local3] != null){
_local4 = soundsArr[_local2].channel[_local3].soundTransform;
_local4.volume = curSoundVolume;
soundsArr[_local2].channel[_local3].soundTransform = _local4;
};
};
};
};
}
private static function startMusic(_arg1:String, _arg2:int=2147483647, _arg3:int=0):void{
var _local4:SoundChannel;
if (_arg1 != null){
if (soundsArr[_arg1] != null){
if (soundsArr[_arg1].channel[0] != null){
soundsArr[_arg1].channel[0].stop();
};
_local4 = soundsArr[_arg1].sound.play(0, _arg2, new SoundTransform(_arg3));
soundsArr[_arg1].channel[0] = _local4;
soundsArr[_arg1].music = true;
} else {
fadeTimer.stop();
curMusicArr = [];
};
};
}
private static function getSound(_arg1:String):Sound{
var _local2:Class;
var _local3:Sound;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
public static function stopSound(_arg1:String, _arg2:int=0):void{
var _local3:Object;
if (soundsArr[_arg1] != null){
_local3 = soundsArr[_arg1];
if (!_local3["music"]){
if (_local3["channel"][_arg2] != null){
_local3["channel"][_arg2].stop();
delete _local3["channel"][_arg2];
};
};
};
}
public static function pause(_arg1:Boolean):void{
if (_arg1){
modifySoundsVolume(0);
modifyMusicVolume(0);
} else {
modifySoundsVolume();
modifyMusicVolume();
};
}
public static function playSound(_arg1:String, _arg2:Boolean=true, _arg3:int=0, _arg4:Number=-1):int{
var _local5:SoundChannel;
if (soundsArr[_arg1] != null){
if (_arg3 > 0){
soundsArr[_arg1].loop = true;
};
if ((((_arg4 == -1)) || ((curSoundVolume == 0)))){
_arg4 = curSoundVolume;
};
_local5 = soundsArr[_arg1].sound.play(0, _arg3, new SoundTransform(_arg4));
if (!_arg2){
soundsArr[_arg1].channel.push(_local5);
return ((soundsArr[_arg1].channel.length - 1));
};
soundsArr[_arg1].channel[0] = _local5;
return (0);
//unresolved jump
};
return (-1);
}
}
}//package
Section 271
//spacebtn (spacebtn)
package {
import flash.display.*;
public dynamic class spacebtn extends MovieClip {
public function spacebtn(){
addFrameScript(6, frame7, 9, frame10, 11, frame12);
}
function frame10(){
stop();
}
function frame12(){
stop();
}
function frame7(){
gotoAndPlay(1);
}
}
}//package
Section 272
//spacetxt1 (spacetxt1)
package {
import zlong.display.*;
public dynamic class spacetxt1 extends TranText {
}
}//package
Section 273
//SpilDomain (SpilDomain)
package {
import flash.net.*;
import flash.events.*;
public class SpilDomain {
private const URL:String = "http://www8.agame.com/games/sitelock/sites.xml";
private var request:URLRequest;
private var _status:int;// = -1
private var loader:URLLoader;
private var xml:XML;
private var checkURL:String;
public function SpilDomain(){
_status = -1;
super();
initialize();
}
private function addEvt(_arg1:EventDispatcher, _arg2:String, _arg3:Function):void{
_arg1.addEventListener(_arg2, _arg3);
}
private function del():void{
delEvt(loader, Event.COMPLETE, onComplete);
delEvt(loader, IOErrorEvent.IO_ERROR, onError);
}
private function initialize():void{
loader = new URLLoader();
request = new URLRequest(URL);
}
public function loadXML():void{
loader.load(request);
addEvt(loader, IOErrorEvent.IO_ERROR, onError);
addEvt(loader, Event.COMPLETE, onComplete);
}
private function onError(_arg1:IOErrorEvent):void{
_status = 0;
loader.close();
del();
}
private function checkDomain():int{
var _local1:*;
if (checkURL == null){
return (0);
};
for each (_local1 in xml.item) {
if (checkURL.indexOf(_local1) != -1){
return (1);
};
};
return (0);
}
private function delEvt(_arg1:EventDispatcher, _arg2:String, _arg3:Function):void{
_arg1.removeEventListener(_arg2, _arg3);
}
public function set urlCheck(_arg1:String):void{
checkURL = _arg1;
}
private function onComplete(_arg1:Event):void{
xml = XML(loader.data);
_status = checkDomain();
del();
}
public function get status():int{
return (_status);
}
}
}//package
Section 274
//SpilSystem (SpilSystem)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import Spill.Components.*;
public class SpilSystem {
private var _sub:Submitter;
private static var _instance:SpilSystem;
public function SpilSystem(){
_sub = new Submitter();
_sub.addEventListener(Event.COMPLETE, SubmiterComponentInitialized);
_sub.addEventListener(IOErrorEvent.IO_ERROR, FailedToLoadSubmitter);
_sub.addEventListener("LoadingFailed", FailedToLoadSubmitter);
}
public function processMethods(_arg1):void{
if (_sub){
_sub._O01lOO10O(_arg1);
};
}
public function eventHandlerAchiev(_arg1:Event):void{
if (_arg1.currentTarget.OO00OO1l1l.O1OlOO00O != null){
//unresolved jump
};
}
public function eventHandlerScore(_arg1:Event):void{
if (_arg1.currentTarget.OO00OO1l1l.O0l00l0O0 != null){
//unresolved jump
};
}
private function getSub():Object{
var _local1:Class;
var _local2:MovieClip;
_local1 = (getDefinitionByName("OOO000lll") as Class);
_local2 = new (_local1);
return (_local2);
}
private function FailedToLoadSubmitter(_arg1:Event):void{
_sub.removeEventListener(Event.COMPLETE, SubmiterComponentInitialized);
_sub.removeEventListener("LoadingFailed", FailedToLoadSubmitter);
_sub = null;
}
public function init(_arg1:MovieClip):void{
_sub._O0000Ol01(_arg1, "Hyper_Dunker", "Hyper_Dunker.html", 0, "normal", "", 0, 0, 1, true);
}
public function destroy():void{
if (_sub){
if (_sub.hasEventListener("ScoreLoadError")){
_sub.removeEventListener("ScoreLoadError", eventHandlerScore);
};
if (_sub.hasEventListener("ScoreLoadTimeComplete")){
_sub.removeEventListener("ScoreLoadTimeComplete", eventHandlerScore);
};
if (_sub.hasEventListener("ScoreLoadSubmitComplete")){
_sub.removeEventListener("ScoreLoadSubmitComplete", eventHandlerScore);
};
if (_sub.hasEventListener("ScoreLoadListComplete")){
_sub.removeEventListener("ScoreLoadListComplete", eventHandlerScore);
};
if (_sub.hasEventListener("AchievLoadError")){
_sub.removeEventListener("AchievLoadError", eventHandlerAchiev);
};
if (_sub.hasEventListener("AchievLoadTimeComplete")){
_sub.removeEventListener("AchievLoadTimeComplete", eventHandlerAchiev);
};
if (_sub.hasEventListener("AchievLoadListComplete")){
_sub.removeEventListener("AchievLoadListComplete", eventHandlerAchiev);
};
if (_sub.hasEventListener("AchievLoadInfoComplete")){
_sub.removeEventListener("AchievLoadInfoComplete", eventHandlerAchiev);
};
if (_sub.hasEventListener("AchievLoadGrantComplete")){
_sub.removeEventListener("AchievLoadGrantComplete", eventHandlerAchiev);
};
_sub._O010ll111();
};
_sub = null;
}
public function submitAchievement(_arg1):void{
if (_sub){
_sub._O00OOl1Ol(_arg1);
};
}
public function submitScore(_arg1):void{
if (_sub){
_sub._O01lOO10O(_arg1);
};
}
private function SubmiterComponentInitialized(_arg1:Event):void{
_sub.removeEventListener(Event.COMPLETE, SubmiterComponentInitialized);
_sub.removeEventListener(IOErrorEvent.IO_ERROR, FailedToLoadSubmitter);
_sub.removeEventListener("LoadingFailed", FailedToLoadSubmitter);
_sub.addEventListener("ScoreLoadError", eventHandlerScore);
_sub.addEventListener("ScoreLoadTimeComplete", eventHandlerScore);
_sub.addEventListener("ScoreLoadSubmitComplete", eventHandlerScore);
_sub.addEventListener("ScoreLoadListComplete", eventHandlerScore);
_sub.addEventListener("AchievLoadError", eventHandlerAchiev);
_sub.addEventListener("AchievLoadTimeComplete", eventHandlerAchiev);
_sub.addEventListener("AchievLoadListComplete", eventHandlerAchiev);
_sub.addEventListener("AchievLoadInfoComplete", eventHandlerAchiev);
_sub.addEventListener("AchievLoadGrantComplete", eventHandlerAchiev);
}
public static function get instance():SpilSystem{
if (_instance == null){
_instance = new (SpilSystem);
};
return (_instance);
}
}
}//package
Section 275
//Stage1 (Stage1)
package {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import zlong.country.*;
import zlong.display.*;
import olduncle.*;
import ui.*;
public class Stage1 extends Sprite {
private var timer;// = 0
private var soundobj;
private var par;
private var gamestart:MovieClip;
private var _siteLockMc:MovieClip;
public function Stage1(_arg1){
timer = 0;
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
initStage();
if (Data.siteLock){
addAlert();
};
}
private function turnmusicaction(_arg1:Event):void{
var _local2:*;
_local2 = 1;
if ((((Data.canmusic == true)) && ((_local2 == 1)))){
Data.canmusic = false;
gamestart.turnmusicmc.gotoAndStop(2);
SoundsManager.pause(true);
_local2 = 0;
};
if ((((Data.canmusic == false)) && ((_local2 == 1)))){
Data.canmusic = true;
gamestart.turnmusicmc.gotoAndStop(1);
SoundsManager.pause(false);
_local2 = 0;
};
}
public function del(_arg1){
gamestart.startgame.removeEventListener(MouseEvent.MOUSE_UP, startgameaction);
gamestart.spilurl.removeEventListener(MouseEvent.MOUSE_UP, spilurlaction);
gamestart.turnmusicbtn.removeEventListener(MouseEvent.MOUSE_UP, turnmusicaction);
gamestart.picbtn.removeEventListener(MouseEvent.MOUSE_UP, picbtnation);
if (CountryInfo.instance.country == "cn"){
gamestart.highscores.removeEventListener(MouseEvent.MOUSE_UP, highscoresaction);
};
myDispatcher.instance.mydispatcher.removeEventListener("changeCn", onChangeCn);
myDispatcher.instance.mydispatcher.removeEventListener("changeOther", onChangeOther);
gamestart.howtoplay.removeEventListener(MouseEvent.MOUSE_UP, howtoplayaction);
stage.removeEventListener(KeyboardEvent.KEY_UP, KeyUp);
removeChild(gamestart);
gamestart = null;
par.changeStage(_arg1);
GC.clear();
}
private function onClickSiteLockMc(_arg1:MouseEvent):void{
var _local2:String;
var _local3:String;
_local2 = _arg1.target.name;
switch (_local2){
case "b1":
_local3 = "http://www.a10.com";
navigateToURL(new URLRequest(_local3), "_blank");
break;
case "b2":
delSiteLock();
break;
default:
break;
};
}
private function spilurlaction(_arg1:Event):void{
navigateToURL(new URLRequest("http://www.gameportal.net"), "_blank");
}
private function addAlert():void{
new Alert(par.gamespirit, menu);
}
private function onChangeCn(_arg1:Event):void{
gamestart.highscores.alpha = 1;
gamestart.highscores.x = 48.3;
gamestart.highscores.y = 287.1;
gamestart.highscores.mouseEnabled = true;
gamestart.moregameButt.y = 341.3;
}
private function delSiteLock():void{
_siteLockMc.stop();
_siteLockMc.parent.removeChild(_siteLockMc);
_siteLockMc.removeEventListener(MouseEvent.CLICK, onClickSiteLockMc);
_siteLockMc = null;
}
private function highscoresaction(_arg1:Event):void{
Random.geturl();
}
private function KeyUp(_arg1:KeyboardEvent):void{
if (Data.debug){
switch (_arg1.keyCode){
case 49:
SpilSystem.instance.submitAchievement("NEWBIE");
break;
case 50:
SpilSystem.instance.submitAchievement("LEGENDPLAYER");
break;
case 51:
SpilSystem.instance.submitAchievement("SHOWTIME");
break;
case 52:
SpilSystem.instance.submitAchievement("STAR");
break;
case 53:
SpilSystem.instance.submitAchievement("HYPERDUNKER");
break;
default:
break;
};
};
}
public function menu():void{
}
private function howtoplayaction(_arg1:Event):void{
Data.firsttime = false;
del(StageHowtoplay);
}
private function startgameaction(_arg1:Event):void{
SoundsManager.modifyMusicVolume(0);
SoundsManager.playMusic("dunker_game");
if (Data.firsttime == false){
del(Stagelevelup);
} else {
del(StageHowtoplay);
};
}
private function picbtnation(_arg1:Event):void{
var _local2:*;
_local2 = 1;
if ((((gamestart.picmc.currentFrame == 1)) && ((_local2 == 1)))){
stage.quality = "medium";
gamestart.picmc.gotoAndStop(2);
_local2 = 0;
};
if ((((gamestart.picmc.currentFrame == 2)) && ((_local2 == 1)))){
stage.quality = "low";
gamestart.picmc.gotoAndStop(3);
_local2 = 0;
};
if ((((gamestart.picmc.currentFrame == 3)) && ((_local2 == 1)))){
stage.quality = "high";
gamestart.picmc.gotoAndStop(1);
_local2 = 0;
};
}
private function initStage():void{
gamestart = new Gamestart();
addChild(gamestart);
gamestart.startgame.addEventListener(MouseEvent.MOUSE_UP, startgameaction, false, 0, true);
gamestart.spilurl.addEventListener(MouseEvent.MOUSE_UP, spilurlaction, false, 0, true);
gamestart.turnmusicbtn.addEventListener(MouseEvent.MOUSE_UP, turnmusicaction, false, 0, true);
gamestart.picbtn.addEventListener(MouseEvent.MOUSE_UP, picbtnation, false, 0, true);
if (CountryInfo.instance.country == "cn"){
gamestart.highscores.addEventListener(MouseEvent.MOUSE_UP, highscoresaction, false, 0, true);
};
gamestart.howtoplay.addEventListener(MouseEvent.MOUSE_UP, howtoplayaction, false, 0, true);
stage.addEventListener(KeyboardEvent.KEY_UP, KeyUp, false, 0, true);
Data.levels = 0;
Data.scoresave = 0;
SoundsManager.playMusic("dunker_menu");
if (Data.canmusic == true){
SoundsManager.modifyMusicVolume(1);
};
myDispatcher.instance.mydispatcher.addEventListener("changeCn", onChangeCn);
myDispatcher.instance.mydispatcher.addEventListener("changeOther", onChangeOther);
}
private function onChangeOther(_arg1:Event):void{
gamestart.highscores.alpha = 0;
gamestart.highscores.mouseEnabled = false;
gamestart.moregameButt.y = 287.3;
}
}
}//package
Section 276
//Stageair (Stageair)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.filters.*;
import ui.*;
public class Stageair extends Sprite {
private var r2;// = 0
private var r3;// = 0
private var colorMatrix:ColorMatrixFilter;
public var keydownl:Boolean;// = false
private var r1;// = 1
private var b2;// = 0
public var keydownd:Boolean;// = false
public var actionstate:int;// = 1
public var gameout:Boolean;// = false
private var b1;// = 0
public var keydownr:Boolean;// = false
public var keydownu:Boolean;// = false
private var b3;// = 1
public var failmc:MovieClip;
private var green:MovieClip;
public var keyup:Boolean;// = false
public var gamestar:Boolean;// = false
private var timer;// = 0
public var keynm:Number;
public var energe;// = 1
public var keydown:Boolean;// = false
public var arrows;
private var red:MovieClip;
private var par;
private var gamestart:MovieClip;
private var orenge:MovieClip;
public var arrowpanel:MovieClip;
private var g2;// = 1
private var g3;// = 0
private var matrix:Array;
public var wall:MovieClip;
private var g1;// = 0
public var gameover:Boolean;// = false
public var container1:Sprite;
public var container2:Sprite;
public var container3:Sprite;
public var container4:Sprite;
public var container5:Sprite;
public var player:MovieClip;
public var ydx;// = 0
private var black:MovieClip;
public function Stageair(_arg1){
var _local2:*;
timer = 0;
container1 = new Sprite();
container2 = new Sprite();
container3 = new Sprite();
container4 = new Sprite();
container5 = new Sprite();
actionstate = 1;
gamestar = false;
gameover = false;
gameout = false;
keydown = false;
keydownl = false;
keydownr = false;
keydownu = false;
keydownd = false;
keyup = false;
arrows = new Array();
ydx = 0;
energe = 1;
r1 = 1;
r2 = 0;
r3 = 0;
g1 = 0;
g2 = 1;
g3 = 0;
b1 = 0;
b2 = 0;
b3 = 1;
matrix = [r1, r2, r3, 0, 0, g1, g2, g3, 0, 0, b1, b2, b3, 0, 0, 0, 0, 0, 1, 0];
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
keynm = (int((Data.levels / 2)) + 3);
addChild(container1);
addChild(container2);
addChild(container3);
addChild(container4);
addChild(container5);
wall = getMovieClip("suduxian");
container2.addChild(wall);
wall.x = 320;
wall.y = 240;
_local2 = (Math.random() * 2);
if (_local2 < 1){
player = getMovieClip("yundongyuan3");
Data.zf = 2;
} else {
player = getMovieClip("yundongyuan2");
Data.zf = 1;
};
container2.addChild(player);
player.scaleX = (player.scaleY = 0.8);
player.x = 350;
player.y = 280;
timer = 20;
arrowpanel = new MovieClip();
container5.addChild(arrowpanel);
black = getMovieClip("blackline");
green = getMovieClip("greenline");
orenge = getMovieClip("orengeline");
red = getMovieClip("redline");
container5.addChild(black);
container5.addChild(green);
container5.addChild(orenge);
container5.addChild(red);
black.visible = (green.visible = (orenge.visible = (red.visible = false)));
this.addEventListener(Event.ENTER_FRAME, process, false, 0, true);
stage.addEventListener(KeyboardEvent.KEY_DOWN, action1, false, 0, true);
stage.addEventListener(KeyboardEvent.KEY_UP, action2, false, 0, true);
SoundsManager.playSound("tiaoyueyishen");
}
public function createp(_arg1){
var _local2:*;
_local2 = new _arg1(350, 80, this);
}
public function del(_arg1){
this.removeEventListener(Event.ENTER_FRAME, process);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, action1);
stage.removeEventListener(KeyboardEvent.KEY_UP, action2);
removeChild(container1);
removeChild(container2);
removeChild(container3);
removeChild(container4);
removeChild(container5);
par.changeStage(_arg1);
GC.clear();
}
public function getBitmapData(_arg1:String):BitmapData{
var _local2:Class;
var _local3:BitmapData;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new _local2(null, null);
return (_local3);
}
public function createarrow(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
_local1 = (Data.levels - 1);
_local2 = ((_local1 / 2) * -50);
_local3 = 0;
while (_local3 < (_local1 + 1)) {
_local4 = (Math.random() * 4);
if (_local4 < 1){
_local5 = new Arrow();
new Arrow().number = _local5;
_local5.direct = 1;
} else {
if ((((_local4 >= 1)) && ((_local4 < 2)))){
_local5 = new Arrow();
new Arrow().number = _local5;
_local5.direct = 2;
_local5.rotation = 90;
} else {
if ((((_local4 >= 2)) && ((_local4 < 3)))){
_local5 = new Arrow();
new Arrow().number = _local5;
_local5.direct = 3;
_local5.rotation = 180;
} else {
_local5 = new Arrow();
new Arrow().number = _local5;
_local5.direct = 4;
_local5.rotation = 270;
};
};
};
arrowpanel.addChild(_local5);
_local5.x = _local2;
_local5.y = 0;
_local2 = (_local2 + 50);
arrows.push(_local5);
_local3++;
};
}
private function process(_arg1:Event):void{
var _local2:*;
if (timer > 0){
timer--;
if ((((gameout == true)) && ((timer > 100)))){
r1 = (r1 - ((1 - 0.212671) / 100));
r2 = (r2 + (0.71516 / 100));
r3 = (r3 + (0.072169 / 100));
g1 = (g1 + (0.212671 / 100));
g2 = (g2 - ((1 - 0.71516) / 100));
g3 = (g3 + (0.072169 / 100));
b1 = (b1 + (0.212671 / 100));
b2 = (b2 + (0.71516 / 100));
b3 = (b3 - ((1 - 0.072169) / 100));
matrix = [r1, r2, r3, 0, 0, g1, g2, g3, 0, 0, b1, b2, b3, 0, 0, 0, 0, 0, 1, 0];
colorMatrix = new ColorMatrixFilter(matrix);
container2.filters = [colorMatrix];
};
};
if (timer > 20){
green.width = ((timer * 3) - 60);
};
if ((((timer > 10)) && ((timer <= 20)))){
green.width = 0;
orenge.width = ((timer * 3) - 30);
};
if (timer <= 10){
orenge.width = 0;
red.width = (timer * 3);
};
if (timer == 0){
if ((((((keynm == 0)) && ((arrows.length == 0)))) && ((gameover == false)))){
del(Stagehit);
};
if (arrows.length != 0){
gameover = true;
};
if ((((((arrows.length == 0)) && ((gameover == false)))) && ((keynm > 0)))){
arrowpanel = new MovieClip();
container5.addChild(arrowpanel);
arrowpanel.x = 350;
arrowpanel.y = 60;
createarrow();
gamestar = true;
keynm--;
timer = (25 + (10 * Data.levels));
_local2 = (timer * 3);
black.y = (green.y = (orenge.y = (red.y = 110)));
black.x = ((360 - ((timer * 3) / 2)) - 2);
black.width = ((timer * 3) + 4);
red.x = (black.x + 2);
red.width = 30;
orenge.x = (black.x + 32);
orenge.width = 30;
green.x = (black.x + 62);
green.width = ((timer * 3) - 60);
black.visible = (green.visible = (orenge.visible = (red.visible = true)));
};
if ((((Data.scoresave >= 12000)) && ((Game.get12000 == false)))){
Game.get12000 = true;
SpilSystem.instance.submitAchievement("HYPERDUNKER");
};
if ((((Data.scoresave >= 8500)) && ((Game.get8500 == false)))){
Game.get8500 = true;
SpilSystem.instance.submitAchievement("STAR");
};
if (gameout == true){
del(Stagegameover);
};
if ((((gameover == true)) && ((gameout == false)))){
if (arrows.length != 0){
black.visible = (green.visible = (orenge.visible = (red.visible = false)));
arrows = [];
failmc = getMovieClip("failedmc");
container5.addChild(failmc);
failmc.x = 320;
failmc.y = 180;
gameout = true;
timer = 200;
player.gotoAndStop(1);
player.gotoAndStop(7);
SoundsManager.playSound("dunker_lose");
SoundsManager.modifyMusicVolume(0);
};
};
};
}
private function action1(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
if ((((((((gameover == false)) && ((gamestar == true)))) && (!((_arg1.keyCode == 32))))) && (!((arrows.length == 0))))){
if ((((_arg1.keyCode == 37)) && ((keydownl == false)))){
keydownl = true;
if (arrows[0].direct == 1){
arrows[0].gotoAndPlay(2);
arrows.splice(0, 1);
if (arrows.length == 0){
container5.removeChild(arrowpanel);
if (timer > 20){
createp(Perfect);
Data.ranks.push("1");
Data.perfectnm = (Data.perfectnm + 1);
if ((((Data.perfectnm == 5)) && ((Game.perfect5 == false)))){
Game.perfect5 = true;
SpilSystem.instance.submitAchievement("SHOWTIME");
};
};
if ((((timer > 10)) && ((timer <= 20)))){
createp(Great);
Data.ranks.push("2");
Data.perfectnm = 0;
};
if (timer <= 10){
createp(Good);
Data.ranks.push("3");
Data.perfectnm = 0;
};
_local2 = (100 + (10 * timer));
Data.scoresave = (Data.scoresave + _local2);
Data.scorerecent = (Data.scorerecent + _local2);
Data.scores.push(_local2);
timer = 20;
_local3 = new ObjText(350, 40, (("+ " + _local2) + " Pt."), this);
black.visible = (green.visible = (orenge.visible = (red.visible = false)));
SoundsManager.playSound("dongzuozhenque");
};
} else {
arrows[0].gotoAndStop(6);
gameover = true;
timer = 20;
};
};
if ((((_arg1.keyCode == 39)) && ((keydownr == false)))){
keydownr = true;
if (arrows[0].direct == 3){
arrows[0].gotoAndPlay(2);
arrows.splice(0, 1);
if (arrows.length == 0){
container5.removeChild(arrowpanel);
if (timer > 20){
createp(Perfect);
Data.ranks.push("1");
Data.perfectnm = (Data.perfectnm + 1);
if ((((Data.perfectnm == 5)) && ((Game.perfect5 == false)))){
Game.perfect5 = true;
SpilSystem.instance.submitAchievement("SHOWTIME");
};
};
if ((((timer > 10)) && ((timer <= 20)))){
createp(Great);
Data.ranks.push("2");
Data.perfectnm = 0;
};
if (timer <= 10){
createp(Good);
Data.ranks.push("3");
Data.perfectnm = 0;
};
_local2 = (100 + (10 * timer));
Data.scoresave = (Data.scoresave + _local2);
Data.scorerecent = (Data.scorerecent + _local2);
Data.scores.push(_local2);
timer = 20;
_local3 = new ObjText(350, 40, (("+ " + _local2) + " Pt."), this);
black.visible = (green.visible = (orenge.visible = (red.visible = false)));
SoundsManager.playSound("dongzuozhenque");
};
} else {
arrows[0].gotoAndStop(6);
gameover = true;
timer = 20;
};
};
if ((((_arg1.keyCode == 38)) && ((keydownu == false)))){
keydownu = true;
if (arrows[0].direct == 2){
arrows[0].gotoAndPlay(2);
arrows.splice(0, 1);
if (arrows.length == 0){
container5.removeChild(arrowpanel);
if (timer > 20){
createp(Perfect);
Data.ranks.push("1");
Data.perfectnm = (Data.perfectnm + 1);
if ((((Data.perfectnm == 5)) && ((Game.perfect5 == false)))){
Game.perfect5 = true;
SpilSystem.instance.submitAchievement("SHOWTIME");
};
};
if ((((timer > 10)) && ((timer <= 20)))){
createp(Great);
Data.ranks.push("2");
Data.perfectnm = 0;
};
if (timer <= 10){
createp(Good);
Data.ranks.push("3");
Data.perfectnm = 0;
};
_local2 = (100 + (10 * timer));
Data.scoresave = (Data.scoresave + _local2);
Data.scorerecent = (Data.scorerecent + _local2);
Data.scores.push(_local2);
timer = 20;
_local3 = new ObjText(350, 40, (("+ " + _local2) + " Pt."), this);
black.visible = (green.visible = (orenge.visible = (red.visible = false)));
SoundsManager.playSound("dongzuozhenque");
};
} else {
arrows[0].gotoAndStop(6);
gameover = true;
timer = 20;
};
};
if ((((_arg1.keyCode == 40)) && ((keydownd == false)))){
keydownd = true;
if (arrows[0].direct == 4){
arrows[0].gotoAndPlay(2);
arrows.splice(0, 1);
if (arrows.length == 0){
container5.removeChild(arrowpanel);
if (timer > 20){
createp(Perfect);
Data.ranks.push("1");
Data.perfectnm = (Data.perfectnm + 1);
if ((((Data.perfectnm == 5)) && ((Game.perfect5 == false)))){
Game.perfect5 = true;
SpilSystem.instance.submitAchievement("SHOWTIME");
};
};
if ((((timer > 10)) && ((timer <= 20)))){
createp(Great);
Data.ranks.push("2");
Data.perfectnm = 0;
};
if (timer <= 10){
createp(Good);
Data.ranks.push("3");
Data.perfectnm = 0;
};
_local2 = (100 + (10 * timer));
Data.scoresave = (Data.scoresave + _local2);
Data.scorerecent = (Data.scorerecent + _local2);
Data.scores.push(_local2);
timer = 20;
_local3 = new ObjText(350, 40, (("+ " + _local2) + " Pt."), this);
black.visible = (green.visible = (orenge.visible = (red.visible = false)));
SoundsManager.playSound("dongzuozhenque");
};
} else {
arrows[0].gotoAndStop(6);
gameover = true;
timer = 20;
};
};
if (arrows.length == 0){
timer = 30;
_local4 = (Math.random() * 5);
if (_local4 < 1){
player.gotoAndStop(1);
player.gotoAndStop(2);
};
if ((((_local4 >= 1)) && ((_local4 < 2)))){
player.gotoAndStop(1);
player.gotoAndStop(3);
};
if ((((_local4 >= 2)) && ((_local4 < 3)))){
player.gotoAndStop(1);
player.gotoAndStop(4);
};
if ((((_local4 >= 3)) && ((_local4 < 4)))){
player.gotoAndStop(1);
player.gotoAndStop(5);
};
if (_local4 >= 4){
player.gotoAndStop(1);
player.gotoAndStop(6);
};
};
};
}
private function action2(_arg1){
if ((((gameover == false)) && (!((_arg1.keyCode == 32))))){
if (_arg1.keyCode == 37){
keydownl = false;
};
if (_arg1.keyCode == 39){
keydownr = false;
};
if (_arg1.keyCode == 38){
keydownu = false;
};
if (_arg1.keyCode == 40){
keydownd = false;
};
};
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 277
//Stagegamecomplete (Stagegamecomplete)
package {
import flash.events.*;
import flash.display.*;
import zlong.country.*;
import flash.utils.*;
import ui.*;
public class Stagegamecomplete extends Sprite {
private var timer;// = 0
private var playerscore:Number;
private var par;
private var gamestart:MovieClip;
public function Stagegamecomplete(_arg1){
timer = 0;
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
initStage();
}
public function del(_arg1):void{
this.removeEventListener(Event.ENTER_FRAME, thisaction);
gamestart.playagain.removeEventListener(MouseEvent.MOUSE_UP, action2);
gamestart.submit.removeEventListener(MouseEvent.MOUSE_UP, submitaction);
removeChild(gamestart);
gamestart = null;
par.changeStage(_arg1);
GC.clear();
}
private function thisaction(_arg1:Event):void{
}
private function submitaction(_arg1:Event):void{
if (CountryInfo.instance.country == "cn"){
Random.submitScore(int(playerscore));
};
del(Stage1);
}
private function action2(_arg1):void{
del(Stage1);
}
private function initStage():void{
Data.levels = 0;
playerscore = Data.scoresave;
gamestart = getMovieClip("gamecompletemc");
addChild(gamestart);
gamestart.scoretext.text = Data.scoresave;
this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true);
gamestart.playagain.addEventListener(MouseEvent.MOUSE_UP, action2, false, 0, true);
gamestart.submit.addEventListener(MouseEvent.MOUSE_UP, submitaction, false, 0, true);
stage.focus = gamestart.inputTextfield;
Data.scorerecent = 0;
Data.ranks = [];
Data.scores = [];
if (Game.gamecomplete == false){
Game.gamecomplete = true;
SpilSystem.instance.submitAchievement("LEGENDPLAYER");
Game._tracker.trackEvent("Hyper_Dunker", "Game complete", "per session", 0);
};
if (CountryInfo.instance.country == "cn"){
gamestart.submit.alpha = 1;
gamestart.submit.mouseEnabled = true;
} else {
gamestart.submit.alpha = 0;
gamestart.submit.mouseEnabled = false;
SpilSystem.instance.submitScore(playerscore);
};
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 278
//Stagegameover (Stagegameover)
package {
import flash.events.*;
import flash.display.*;
import zlong.country.*;
import flash.utils.*;
import ui.*;
public class Stagegameover extends Sprite {
private var timer;// = 0
private var playerscore:Number;
private var par;
private var gamestart:MovieClip;
public function Stagegameover(_arg1){
timer = 0;
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
initStage();
}
public function del(_arg1){
this.removeEventListener(Event.ENTER_FRAME, thisaction);
gamestart.playagain.removeEventListener(MouseEvent.MOUSE_UP, action2);
gamestart.submit.removeEventListener(MouseEvent.MOUSE_UP, submitaction);
gamestart.tryagain.removeEventListener(MouseEvent.MOUSE_UP, tryagainaction);
removeChild(gamestart);
gamestart = null;
par.changeStage(_arg1);
GC.clear();
}
private function tryagainaction(_arg1:Event):void{
Data.levels = 0;
Data.scoresave = 0;
del(Stagelevelup);
SoundsManager.playMusic("dunker_game");
}
private function thisaction(_arg1:Event):void{
}
private function submitaction(_arg1:Event):void{
if (CountryInfo.instance.country == "cn"){
Random.submitScore(int(playerscore));
};
del(Stage1);
}
private function action2(_arg1){
del(Stage1);
}
private function initStage():void{
Data.levels = 0;
playerscore = Data.scoresave;
gamestart = getMovieClip("gameover");
addChild(gamestart);
gamestart.scoretext.text = Data.scoresave;
this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true);
gamestart.playagain.addEventListener(MouseEvent.MOUSE_UP, action2, false, 0, true);
gamestart.submit.addEventListener(MouseEvent.MOUSE_UP, submitaction, false, 0, true);
gamestart.tryagain.addEventListener(MouseEvent.MOUSE_UP, tryagainaction, false, 0, true);
stage.focus = gamestart.inputTextfield;
Data.scorerecent = 0;
Data.ranks = [];
Data.scores = [];
SoundsManager.playMusic("dunker_menu");
if (CountryInfo.instance.country == "cn"){
gamestart.submit.alpha = 1;
gamestart.submit.mouseEnabled = true;
} else {
gamestart.submit.alpha = 0;
gamestart.submit.mouseEnabled = false;
SpilSystem.instance.submitScore(playerscore);
};
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 279
//Stagehit (Stagehit)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.filters.*;
import ui.*;
public class Stagehit extends Sprite {
private var r3;// = 0
private var colorMatrix:ColorMatrixFilter;
public var space;
private var b2;// = 0
private var b1;// = 0
private var r2;// = 0
private var b3;// = 1
private var timer;// = 0
public var tt;
private var par;
public var hitted:Boolean;// = true
private var gamestart:MovieClip;
private var g1;// = 0
private var g3;// = 0
private var g2;// = 1
private var matrix:Array;
public var wall:MovieClip;
public var gameover:Boolean;// = false
public var container2:Sprite;
public var wronghit:Boolean;// = false
private var r1;// = 1
public function Stagehit(_arg1){
timer = 0;
gameover = false;
wronghit = false;
hitted = true;
container2 = new Sprite();
tt = (29 - Data.levels);
r1 = 1;
r2 = 0;
r3 = 0;
g1 = 0;
g2 = 1;
g3 = 0;
b1 = 0;
b2 = 0;
b3 = 1;
matrix = [r1, r2, r3, 0, 0, g1, g2, g3, 0, 0, b1, b2, b3, 0, 0, 0, 0, 0, 1, 0];
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
if (Data.zf == 1){
wall = getMovieClip("zhenmiankoulan");
};
if (Data.zf == 2){
wall = getMovieClip("fanmiankoulan");
};
addChild(wall);
wall.x = 615;
wall.y = 470;
space = getMovieClip("spacebtn");
addChild(space);
space.x = 420;
space.y = 140;
space.scaleX = (space.scaleY = 2);
space.visible = false;
if (tt <= 21){
tt = 21;
};
addChild(container2);
this.addEventListener(Event.ENTER_FRAME, process, false, 0, true);
stage.addEventListener(KeyboardEvent.KEY_DOWN, action1, false, 0, true);
}
public function del(_arg1){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, action1);
this.removeEventListener(Event.ENTER_FRAME, process);
removeChild(wall);
par.changeStage(_arg1);
GC.clear();
}
private function process(_arg1:Event):void{
var _local2:*;
if (wall.currentFrame == 108){
SoundsManager.playSound("dunker_lose");
SoundsManager.modifyMusicVolume(0);
};
if (wall.currentFrame == 84){
SoundsManager.playSound("dunker_win");
SoundsManager.modifyMusicVolume(0);
};
if (wall.currentFrame == 50){
_local2 = new ObjText(240, 140, "+ 300 Pt.", this);
SoundsManager.playSound("koujinlankuang");
SoundsManager.playSound("jinkuanghecaiyici");
};
timer++;
if (timer == 10){
if (wronghit == false){
space.visible = true;
hitted = false;
};
};
if (timer == tt){
if ((((wronghit == false)) && ((hitted == true)))){
} else {
space.visible = true;
if (hitted == false){
space.gotoAndStop(10);
};
wall.gotoAndPlay(100);
wronghit = true;
hitted = true;
gameover = true;
};
};
if ((((((timer <= (tt + 100))) && ((timer > tt)))) && ((gameover == true)))){
r1 = (r1 - ((1 - 0.212671) / 100));
r2 = (r2 + (0.71516 / 100));
r3 = (r3 + (0.072169 / 100));
g1 = (g1 + (0.212671 / 100));
g2 = (g2 - ((1 - 0.71516) / 100));
g3 = (g3 + (0.072169 / 100));
b1 = (b1 + (0.212671 / 100));
b2 = (b2 + (0.71516 / 100));
b3 = (b3 - ((1 - 0.072169) / 100));
matrix = [r1, r2, r3, 0, 0, g1, g2, g3, 0, 0, b1, b2, b3, 0, 0, 0, 0, 0, 1, 0];
colorMatrix = new ColorMatrixFilter(matrix);
wall.filters = [colorMatrix];
};
if (timer == 140){
if (wronghit == false){
if (Data.levels < 10){
del(StageStatic);
} else {
del(Stagegamecomplete);
};
} else {
del(Stagegameover);
};
};
}
private function action1(_arg1){
if ((((gameover == false)) && ((hitted == false)))){
if (_arg1.keyCode == 32){
if (hitted == false){
space.visible = false;
wall.gotoAndPlay(30);
Data.scoresave = (Data.scoresave + 300);
Data.scorerecent = (Data.scorerecent + 300);
hitted = true;
if ((((Data.scoresave >= 12000)) && ((Game.get12000 == false)))){
Game.get12000 = true;
SpilSystem.instance.submitAchievement("HYPERDUNKER");
};
if ((((Data.scoresave >= 8500)) && ((Game.get8500 == false)))){
Game.get8500 = true;
SpilSystem.instance.submitAchievement("STAR");
};
} else {
space.visible = true;
if (timer > 10){
space.gotoAndStop(10);
} else {
space.gotoAndStop(12);
};
wronghit = true;
hitted = true;
gameover = true;
};
};
};
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 280
//StageHowtoplay (StageHowtoplay)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import ui.*;
public class StageHowtoplay extends Sprite {
private var timer;// = 0
private var par;
private var gamestart:MovieClip;
public function StageHowtoplay(_arg1){
timer = 0;
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
initStage();
}
public function del(_arg1){
gamestart.back.removeEventListener(MouseEvent.MOUSE_UP, mouseaction);
gamestart.startbtn.removeEventListener(MouseEvent.MOUSE_UP, mouseaction2);
removeChild(gamestart);
gamestart = null;
par.changeStage(_arg1);
GC.clear();
}
private function mouseaction(_arg1:Event):void{
del(Stage1);
}
private function mouseaction2(_arg1:Event):void{
del(Stagelevelup);
}
private function initStage():void{
gamestart = getMovieClip("howtoplaymc");
addChild(gamestart);
if (Data.firsttime == true){
gamestart.back.visible = false;
gamestart.startbtn.visible = true;
Data.firsttime = false;
} else {
gamestart.back.visible = true;
gamestart.startbtn.visible = false;
};
gamestart.back.addEventListener(MouseEvent.MOUSE_UP, mouseaction, false, 0, true);
gamestart.startbtn.addEventListener(MouseEvent.MOUSE_UP, mouseaction2, false, 0, true);
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 281
//Stagejump (Stagejump)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import ui.*;
public class Stagejump extends Sprite {
private var timer;// = 0
private var par;
private var gamestart:MovieClip;
public var wall:MovieClip;
public function Stagejump(_arg1){
timer = 0;
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
wall = getMovieClip("jumpdh");
addChild(wall);
this.addEventListener(Event.ENTER_FRAME, process, false, 0, true);
SoundsManager.playSound("tiaoqijiaobushen");
}
public function del(_arg1){
this.removeEventListener(Event.ENTER_FRAME, process);
removeChild(wall);
par.changeStage(_arg1);
GC.clear();
}
private function process(_arg1:Event):void{
timer++;
if (timer == 19){
del(Stageair);
};
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 282
//Stagelevelup (Stagelevelup)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import ui.*;
public class Stagelevelup extends Sprite {
private var timer;// = 0
private var par;
private var gamestart:MovieClip;
public function Stagelevelup(_arg1){
timer = 0;
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
Data.levels = (Data.levels + 1);
if (Data.levels == 5){
if (Game.level5start == false){
Game.level5start = true;
SpilSystem.instance.submitAchievement("NEWBIE");
Game._tracker.trackEvent("Hyper_Dunker", "level5 start", "per session", 0);
};
};
initStage();
}
public function del(_arg1){
this.removeEventListener(Event.ENTER_FRAME, thisaction);
removeChild(gamestart);
gamestart = null;
par.changeStage(_arg1);
GC.clear();
}
private function thisaction(_arg1:Event):void{
timer++;
if (timer >= 100){
del(Stagerun);
};
}
private function initStage():void{
gamestart = getMovieClip("levelup");
addChild(gamestart);
gamestart.leveltxt.text = (Data.levels + " /10");
this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true);
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 283
//Stagerun (Stagerun)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.filters.*;
import ui.*;
public class Stagerun extends Sprite {
private var r2;// = 0
private var r3;// = 0
private var colorMatrix:ColorMatrixFilter;
private var b2;// = 0
public var actionstate:int;// = 1
private var b1;// = 0
private var b3;// = 1
public var keyright:Boolean;// = false
public var failmc:MovieClip;
public var ballhit;// = 6
private var timer;// = 0
public var thekey;// = 0
public var energe;// = 1
public var conrtolpanel:MovieClip;
private var par;
public var wall2:MovieClip;
private var gamestart:MovieClip;
private var g1;// = 0
private var g2;// = 1
private var g3;// = 0
public var gamestopped:Boolean;// = false
private var matrix:Array;
public var wall:MovieClip;
public var gameover:Boolean;// = false
public var container1:Sprite;
public var container2:Sprite;
public var container3:MovieClip;
public var container4:Sprite;
public var container5:Sprite;
public var lanban:MovieClip;
public var player:MovieClip;
public var ydx;// = 0
public var keyleft:Boolean;// = false
public var startrun;// = false
private var r1;// = 1
public function Stagerun(_arg1){
timer = 0;
container1 = new Sprite();
container2 = new Sprite();
container3 = new MovieClip();
container4 = new Sprite();
container5 = new Sprite();
actionstate = 1;
gamestopped = false;
gameover = false;
keyright = false;
keyleft = false;
thekey = 0;
startrun = false;
ballhit = 6;
ydx = 0;
energe = 1;
r1 = 1;
r2 = 0;
r3 = 0;
g1 = 0;
g2 = 1;
g3 = 0;
b1 = 0;
b2 = 0;
b3 = 1;
matrix = [r1, r2, r3, 0, 0, g1, g2, g3, 0, 0, b1, b2, b3, 0, 0, 0, 0, 0, 1, 0];
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
addChild(container1);
addChild(container2);
addChild(container3);
addChild(container4);
addChild(container5);
wall = getMovieClip("backpic");
container3.addChild(wall);
wall.l1.gotoAndPlay(int((Math.random() * 14)));
wall.l2.gotoAndPlay(int((Math.random() * 14)));
wall.l3.gotoAndPlay(int((Math.random() * 14)));
wall.l4.gotoAndPlay(int((Math.random() * 14)));
wall.l5.gotoAndPlay(int((Math.random() * 14)));
wall.l6.gotoAndPlay(int((Math.random() * 14)));
wall.l7.gotoAndPlay(int((Math.random() * 14)));
player = getMovieClip("yundongyuan");
container3.addChild(player);
player.scaleX = (player.scaleY = 0.35);
player.x = 580;
player.y = 330;
wall2 = getMovieClip("jianyin");
container3.addChild(wall2);
wall2.x = 320;
wall2.y = 490;
lanban = getMovieClip("lanbankuang");
container3.addChild(lanban);
lanban.x = -20;
lanban.y = 30;
conrtolpanel = getMovieClip("controlpanel");
container3.addChild(conrtolpanel);
conrtolpanel.space.visible = false;
conrtolpanel.y = 400;
this.addEventListener(Event.ENTER_FRAME, process, false, 0, true);
stage.addEventListener(KeyboardEvent.KEY_DOWN, action1, false, 0, true);
stage.addEventListener(KeyboardEvent.KEY_UP, action2, false, 0, true);
stage.focus = stage;
if (Data.canmusic == true){
SoundsManager.modifyMusicVolume(1);
};
SoundsManager.playSound("kaichangxuannaoyici");
}
public function del(_arg1){
this.removeEventListener(Event.ENTER_FRAME, process);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, action1);
stage.removeEventListener(KeyboardEvent.KEY_UP, action2);
removeChild(container1);
removeChild(container2);
removeChild(container3);
removeChild(container4);
removeChild(container5);
par.changeStage(_arg1);
GC.clear();
}
private function process(_arg1:Event):void{
ballhit++;
if ((((startrun == false)) && (((ballhit % 13) == 0)))){
SoundsManager.playSound("qiuluodi1");
};
if (timer > 0){
timer--;
};
if ((((energe < 60)) && ((energe > 1)))){
energe--;
};
if (energe >= 60){
energe = 60;
ydx = -5;
conrtolpanel.zy.visible = false;
if (player.currentFrame == 1){
player.gotoAndStop(2);
startrun = true;
};
};
if (energe <= 1){
energe = 1;
};
conrtolpanel.energes.gotoAndStop(energe);
player.x = (player.x + ydx);
if ((((player.x < 550)) && ((player.x > 360)))){
conrtolpanel.space.visible = true;
} else {
if ((((gameover == false)) && ((player.x >= 550)))){
conrtolpanel.space.visible = false;
};
if ((((gameover == false)) && ((player.x <= 360)))){
conrtolpanel.space.gotoAndStop(10);
failmc = getMovieClip("failedmc");
container5.addChild(failmc);
failmc.x = 320;
failmc.y = 180;
timer = 200;
gameover = true;
SoundsManager.playSound("dunker_lose");
SoundsManager.modifyMusicVolume(0);
};
};
if ((((timer > 100)) && ((gameover == true)))){
r1 = (r1 - ((1 - 0.212671) / 100));
r2 = (r2 + (0.71516 / 100));
r3 = (r3 + (0.072169 / 100));
g1 = (g1 + (0.212671 / 100));
g2 = (g2 - ((1 - 0.71516) / 100));
g3 = (g3 + (0.072169 / 100));
b1 = (b1 + (0.212671 / 100));
b2 = (b2 + (0.71516 / 100));
b3 = (b3 - ((1 - 0.072169) / 100));
matrix = [r1, r2, r3, 0, 0, g1, g2, g3, 0, 0, b1, b2, b3, 0, 0, 0, 0, 0, 1, 0];
colorMatrix = new ColorMatrixFilter(matrix);
container3.filters = [colorMatrix];
};
if ((((timer == 0)) && ((gameover == true)))){
del(Stagegameover);
};
}
public function getBitmapData(_arg1:String):BitmapData{
var _local2:Class;
var _local3:BitmapData;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new _local2(null, null);
return (_local3);
}
private function action2(_arg1){
if (_arg1.keyCode == 37){
keyleft = false;
thekey = 2;
};
if (_arg1.keyCode == 39){
keyright = false;
thekey = 1;
};
}
private function action1(_arg1){
if (_arg1.keyCode == 37){
if (thekey == 0){
thekey = 1;
};
if ((((keyright == false)) && ((keyleft == false)))){
energe = (energe + 7);
keyleft = true;
};
};
if (_arg1.keyCode == 39){
if (thekey == 0){
thekey = 2;
};
if ((((keyright == false)) && ((keyleft == false)))){
energe = (energe + 7);
keyright = true;
};
};
if (_arg1.keyCode == 32){
if ((((conrtolpanel.space.visible == true)) && ((conrtolpanel.space.currentFrame < 10)))){
del(Stagejump);
};
};
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 284
//StageStatic (StageStatic)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import ui.*;
public class StageStatic extends Sprite {
private var recentscoresave:Number;
private var timer;// = 0
private var zz:MovieClip;
private var par;
private var gamestart:MovieClip;
public var container1:Sprite;
public var container2:Sprite;
public var container3:Sprite;
public var container4:Sprite;
public var container5:Sprite;
private var scorenm:Array;
public function StageStatic(_arg1){
container1 = new Sprite();
container2 = new Sprite();
container3 = new Sprite();
container4 = new Sprite();
container5 = new Sprite();
timer = 0;
scorenm = [];
super();
_arg1.gamespirit.addChild(this);
par = _arg1;
addChild(container1);
addChild(container2);
addChild(container3);
addChild(container4);
addChild(container5);
initStage();
}
public function del(_arg1){
var _local2:*;
var _local3:*;
gamestart.nextlevel.removeEventListener(MouseEvent.MOUSE_UP, mouseaction);
gamestart.menubtn.removeEventListener(MouseEvent.MOUSE_UP, mouseaction2);
this.removeEventListener(Event.ENTER_FRAME, thisaction);
container1.removeChild(gamestart);
gamestart = null;
_local2 = scorenm.length;
_local3 = 0;
while (_local3 < _local2) {
scorenm[_local3].del();
_local3++;
};
par.changeStage(_arg1);
GC.clear();
}
private function mouseaction(_arg1:MouseEvent):void{
del(Stagelevelup);
}
private function thisaction(_arg1:Event):void{
timer++;
if (timer == 50){
gamestart.score.score.text = recentscoresave;
gamestart.blast1.gotoAndPlay(2);
};
if (timer == 80){
gamestart.tscore.score.text = Data.scoresave;
gamestart.blast2.gotoAndPlay(2);
};
}
private function mouseaction2(_arg1:MouseEvent):void{
del(Stage1);
}
private function initStage():void{
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
gamestart = getMovieClip("statistic");
container1.addChild(gamestart);
gamestart.score.score.text = "";
gamestart.tscore.score.text = "";
zz = getMovieClip("zz2");
container5.addChild(zz);
_local1 = Data.ranks.length;
_local2 = 40;
_local3 = 640;
_local4 = 0;
while (_local4 < _local1) {
_local6 = new Scorebar(container3);
scorenm.push(_local6);
_local6.x = _local3;
_local6.y = _local2;
_local6.nm.text = (_local4 + 1);
_local6.rank.gotoAndStop(Data.ranks[_local4]);
_local6.score.text = ("+ " + Data.scores[_local4]);
_local3 = (_local3 + 200);
_local2 = (_local2 + 25);
_local4++;
};
Data.ranks = [];
Data.scores = [];
_local5 = new Scorebar(container3);
scorenm.push(_local5);
_local5.x = _local3;
_local5.y = _local2;
_local5.nm.text = (_local1 + 1);
_local5.rank.gotoAndStop(4);
_local5.score.text = "+ 300";
recentscoresave = Data.scorerecent;
Data.scorerecent = 0;
this.addEventListener(Event.ENTER_FRAME, thisaction, false, 0, true);
gamestart.nextlevel.addEventListener(MouseEvent.MOUSE_UP, mouseaction, false, 0, true);
gamestart.menubtn.addEventListener(MouseEvent.MOUSE_UP, mouseaction2, false, 0, true);
}
public function getMovieClip(_arg1:String):MovieClip{
var _local2:Class;
var _local3:MovieClip;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
return (_local3);
}
}
}//package
Section 285
//START (START)
package {
public dynamic class START extends Moviebotton {
public function START(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 286
//starttxt1 (starttxt1)
package {
import zlong.display.*;
public dynamic class starttxt1 extends TranText {
}
}//package
Section 287
//statistic (statistic)
package {
import flash.display.*;
public dynamic class statistic extends MovieClip {
public var blast1:MovieClip;
public var __id11_:MoreGames;
public var nextlevel:NEXTLEVEL;
public var score:MovieClip;
public var blast2:MovieClip;
public var menubtn:PLAYAGAIN;
public var tscore:MovieClip;
public function statistic(){
__setProp___id11__statistic_Layer4_1();
}
function __setProp___id11__statistic_Layer4_1(){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.position = "button_gamecomplete_moregames";
__id11_.type = "moregames";
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 288
//SUBMIT (SUBMIT)
package {
public dynamic class SUBMIT extends Moviebotton {
public function SUBMIT(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 289
//submittxt1 (submittxt1)
package {
import zlong.display.*;
public dynamic class submittxt1 extends TranText {
}
}//package
Section 290
//suduxian (suduxian)
package {
import flash.display.*;
public dynamic class suduxian extends MovieClip {
public var __id4_:MoreGames;
public function suduxian(){
__setProp___id4__suduxian_Layer3_1();
}
function __setProp___id4__suduxian_Layer3_1(){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.position = "button_level_moregames";
__id4_.type = "moregames";
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 291
//tagtxt1 (tagtxt1)
package {
import zlong.display.*;
public dynamic class tagtxt1 extends TranText {
}
}//package
Section 292
//tagtxt2 (tagtxt2)
package {
import zlong.display.*;
public dynamic class tagtxt2 extends TranText {
}
}//package
Section 293
//tagtxt3 (tagtxt3)
package {
import zlong.display.*;
public dynamic class tagtxt3 extends TranText {
}
}//package
Section 294
//tagtxt4 (tagtxt4)
package {
import zlong.display.*;
public dynamic class tagtxt4 extends TranText {
}
}//package
Section 295
//TF_Class (TF_Class)
package {
class TF_Class {
static function tanD(_arg1:Number):Number{
return (Math.tan((_arg1 * (Math.PI / 180))));
}
static function atanD(_arg1:Number):Number{
return ((Math.atan(_arg1) * (180 / Math.PI)));
}
static function acosD(_arg1:Number):Number{
return ((Math.acos(_arg1) * (180 / Math.PI)));
}
static function sinD(_arg1:Number):Number{
return (Math.sin((_arg1 * (Math.PI / 180))));
}
static function asinD(_arg1:Number):Number{
return ((Math.asin(_arg1) * (180 / Math.PI)));
}
static function polarToCartesian(_arg1:Object):Object{
var _local2:Number;
var _local3:Number;
_local2 = (_arg1.r * cosD(_arg1.t));
_local3 = (_arg1.r * sinD(_arg1.t));
return ({x:_local2, y:_local3});
}
static function degreesToRadians(_arg1:Number):Number{
return ((_arg1 * (Math.PI / 180)));
}
static function atan2D(_arg1:Number, _arg2:Number):Number{
return ((Math.atan2(_arg1, _arg2) * (180 / Math.PI)));
}
static function distance(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number;
var _local6:Number;
_local5 = (_arg3 - _arg1);
_local6 = (_arg4 - _arg2);
return (Math.sqrt(((_local5 * _local5) + (_local6 * _local6))));
}
static function fixAngle(_arg1:Number):Number{
_arg1 = (_arg1 % 360);
return (((_arg1)<0) ? (_arg1 + 360) : _arg1);
}
static function radiansToDegrees(_arg1:Number):Number{
return ((_arg1 * (180 / Math.PI)));
}
static function cartesianToPolar(_arg1:Vector):Object{
var _local2:Number;
var _local3:Number;
_local2 = Math.sqrt(((_arg1.x * _arg1.x) + (_arg1.y * _arg1.y)));
_local3 = atan2D(_arg1.y, _arg1.x);
return ({r:_local2, t:_local3});
}
static function cosD(_arg1:Number):Number{
return (Math.cos((_arg1 * (Math.PI / 180))));
}
static function angleOfLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (atan2D((_arg4 - _arg2), (_arg3 - _arg1)));
}
}
}//package
Section 296
//tiaoqijiaobushen (tiaoqijiaobushen)
package {
import flash.media.*;
public dynamic class tiaoqijiaobushen extends Sound {
}
}//package
Section 297
//tiaoyueyishen (tiaoyueyishen)
package {
import flash.media.*;
public dynamic class tiaoyueyishen extends Sound {
}
}//package
Section 298
//totalscoretxt1 (totalscoretxt1)
package {
import zlong.display.*;
public dynamic class totalscoretxt1 extends TranText {
}
}//package
Section 299
//totalscoretxt2 (totalscoretxt2)
package {
import zlong.display.*;
public dynamic class totalscoretxt2 extends TranText {
}
}//package
Section 300
//totalscoretxt3 (totalscoretxt3)
package {
import zlong.display.*;
public dynamic class totalscoretxt3 extends TranText {
}
}//package
Section 301
//TRYAGAIN (TRYAGAIN)
package {
public dynamic class TRYAGAIN extends Moviebotton {
public function TRYAGAIN(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 302
//tryagaintxt1 (tryagaintxt1)
package {
import zlong.display.*;
public dynamic class tryagaintxt1 extends TranText {
}
}//package
Section 303
//Vector (Vector)
package {
public class Vector {
private var angle:Number;
private var length:Number;
public var x:Number;
public var y:Number;
public function Vector(_arg1:Number, _arg2:Number){
this.x = _arg1;
this.y = _arg2;
}
public function cross(_arg1:Vector):Number{
return (((x * _arg1.y) - (y * _arg1.x)));
}
function negate():void{
var _local2 = this;
with (_local2) {
x = -(x);
y = -(y);
};
}
function rotateNew(_arg1:Number):Vector{
var v:*;
var ang = _arg1;
var _local3 = this;
with (_local3) {
v = new Vector(x, y);
};
v.rotate(ang);
return (v);
}
public function dot(_arg1:Vector):Number{
return (((x * _arg1.x) + (y * _arg1.y)));
}
function scale(_arg1:Number):void{
this.x = (this.x * _arg1);
this.y = (this.y * _arg1);
}
function getMe():Object{
return ({x:this.x, y:this.y});
}
function minusNew(_arg1:Vector):Vector{
var v = _arg1;
var _local3 = this;
with (_local3) {
return (new Vector((x - v.x), (y - v.y)));
};
}
function setAngle(_arg1:Number):void{
var r:*;
var ang = _arg1;
var _local3 = this;
with (_local3) {
r = getLength();
x = (r * TF_Class.cosD(ang));
y = (r * TF_Class.sinD(ang));
};
}
function reset(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
function plus(_arg1:Vector):void{
x = (x + _arg1.x);
y = (y + _arg1.y);
}
function rotate(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = TF_Class.cosD(_arg1);
_local3 = TF_Class.sinD(_arg1);
_local4 = ((this.x * _local2) - (this.y * _local3));
_local5 = ((this.x * _local3) + (this.y * _local2));
this.x = _local4;
this.y = _local5;
}
function getLength():Number{
return (Math.sqrt(((x * x) + (y * y))));
}
function getNormal():Vector{
var _local2 = this;
with (_local2) {
return (new Vector(-(y), x));
};
}
function isNormalTo(_arg1:Vector):Boolean{
return ((this.dot(_arg1) == 0));
}
function getClone():Vector{
return (new Vector(this.x, this.y));
}
function setLength(_arg1:Number):void{
var _local2:Number;
_local2 = this.getLength();
if (_local2){
this.scale((_arg1 / _local2));
} else {
this.x = _arg1;
};
}
public function getAngleBetween(_arg1:Vector):Number{
var _local2:Vector;
_local2 = new Vector((_arg1.x - this.x), (_arg1.y - this.y));
return (_local2.getAngle());
}
public function toString():String{
var _local1:Number;
var _local2:Number;
_local1 = (Math.round((this.x * 1000)) / 1000);
_local2 = (Math.round((this.y * 1000)) / 1000);
return ((((("[" + _local1) + ", ") + _local2) + "]"));
}
public function getLengthBetween(_arg1:Vector):Number{
var _local2:Vector;
_local2 = new Vector((this.x - _arg1.x), (this.y - _arg1.y));
return (_local2.getLength());
}
public function plusNew(_arg1:Vector):Vector{
var v = _arg1;
var _local3 = this;
with (_local3) {
return (new Vector((x + v.x), (y + v.y)));
};
}
function scaleNew(_arg1:Number):Vector{
var s = _arg1;
var _local3 = this;
with (_local3) {
return (new Vector((x * s), (y * s)));
};
}
function minus(_arg1:Vector):void{
x = (x - _arg1.x);
y = (y - _arg1.y);
}
function angleBetween(_arg1:Vector):Number{
var _local2:Number;
var _local3:Number;
_local2 = this.dot(_arg1);
_local3 = (_local2 / (this.getLength() * _arg1.getLength()));
return (TF_Class.acosD(_local3));
}
function negateNew():Vector{
var _local2 = this;
with (_local2) {
return (new Vector(-(x), -(y)));
};
}
function getAngle():Number{
return (TF_Class.atan2D(this.y, this.x));
}
static function FormatAngle90(_arg1:Number):Number{
if (_arg1 > 90){
_arg1 = (180 - _arg1);
};
if (_arg1 < -90){
_arg1 = (_arg1 + 180);
};
return (_arg1);
}
static function FormatAngle(_arg1:Number):Number{
if (_arg1 > 180){
_arg1 = (_arg1 - 360);
};
if (_arg1 < -180){
_arg1 = (_arg1 + 360);
};
return (_arg1);
}
}
}//package
Section 304
//yundongyuan (yundongyuan)
package {
import flash.display.*;
public dynamic class yundongyuan extends MovieClip {
public function yundongyuan(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 305
//yundongyuan2 (yundongyuan2)
package {
import flash.display.*;
public dynamic class yundongyuan2 extends MovieClip {
public function yundongyuan2(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 306
//yundongyuan3 (yundongyuan3)
package {
import flash.display.*;
public dynamic class yundongyuan3 extends MovieClip {
public function yundongyuan3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 307
//zhenmiankoulan (zhenmiankoulan)
package {
import flash.display.*;
public dynamic class zhenmiankoulan extends MovieClip {
public var __id5_:MoreGames;
public function zhenmiankoulan(){
addFrameScript(91, frame92, 136, frame137);
__setProp___id5___1();
}
function frame92(){
stop();
}
function __setProp___id5___1(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.position = "button_level_moregames";
__id5_.type = "moregames";
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame137(){
stop();
}
}
}//package
Section 308
//zz2 (zz2)
package {
import flash.display.*;
public dynamic class zz2 extends MovieClip {
public function zz2(){
addFrameScript(10, frame11, 39, frame40);
}
function frame11(){
stop();
}
function frame40(){
stop();
}
}
}//package