Section 1
//CampaignInfo (com.google.analytics.campaign.CampaignInfo)
package com.google.analytics.campaign {
import com.google.analytics.utils.*;
public class CampaignInfo {
private var _new:Boolean;
private var _empty:Boolean;
public function CampaignInfo(_arg1:Boolean=true, _arg2:Boolean=false){
_empty = _arg1;
_new = _arg2;
}
public function isEmpty():Boolean{
return (_empty);
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
if (((!(isEmpty())) && (isNew()))){
_local1.utmcn = utmcn;
};
if (((!(isEmpty())) && (!(isNew())))){
_local1.utmcr = utmcr;
};
return (_local1);
}
public function isNew():Boolean{
return (_new);
}
public function get utmcn():String{
return ("1");
}
public function get utmcr():String{
return ("1");
}
}
}//package com.google.analytics.campaign
Section 2
//CampaignKey (com.google.analytics.campaign.CampaignKey)
package com.google.analytics.campaign {
public class CampaignKey {
public var UCMD:String;// = "utm_medium"
public var UCID:String;// = "utm_id"
public var UCTR:String;// = "utm_term"
public var UCSR:String;// = "utm_source"
public var UCNO:String;// = "utm_nooverride"
public var UCCN:String;// = "utm_campaign"
public var UGCLID:String;// = "gclid"
public var UCCT:String;// = "utm_content"
}
}//package com.google.analytics.campaign
Section 3
//CampaignManager (com.google.analytics.campaign.CampaignManager)
package com.google.analytics.campaign {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import com.google.analytics.utils.*;
public class CampaignManager {
private var _config:Configuration;
private var _domainHash:Number;
private var _debug:DebugConfiguration;
private var _timeStamp:Number;
private var _referrer:String;
private var _buffer:Buffer;
public static const trackingDelimiter:String = "|";
public function CampaignManager(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Number, _arg5:String, _arg6:Number){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_domainHash = _arg4;
_referrer = _arg5;
_timeStamp = _arg6;
}
public function hasNoOverride(_arg1:String):Boolean{
var _local2:CampaignKey;
var _local3:Variables;
var _local4:String;
_local2 = _config.campaignKey;
if (_arg1 == ""){
return (false);
};
_local3 = new Variables(_arg1);
_local4 = "";
if (_local3.hasOwnProperty(_local2.UCNO)){
_local4 = _local3[_local2.UCNO];
switch (_local4){
case "1":
return (true);
case "":
case "0":
default:
return (false);
};
};
return (false);
}
public function getCampaignInformation(_arg1:String, _arg2:Boolean):CampaignInfo{
var _local3:CampaignInfo;
var _local4:CampaignTracker;
var _local5:Boolean;
var _local6:Boolean;
var _local7:int;
var _local8:CampaignTracker;
var _local9:int;
_local3 = new CampaignInfo();
_local5 = false;
_local6 = false;
_local7 = 0;
if (((_config.allowLinker) && (_buffer.isGenuine()))){
if (!_buffer.hasUTMZ()){
return (_local3);
};
};
_local4 = getTrackerFromSearchString(_arg1);
if (isValid(_local4)){
_local6 = hasNoOverride(_arg1);
if (((_local6) && (!(_buffer.hasUTMZ())))){
return (_local3);
};
};
if (!isValid(_local4)){
_local4 = getOrganicCampaign();
if (((!(_buffer.hasUTMZ())) && (isIgnoredKeyword(_local4)))){
return (_local3);
};
};
if (((!(isValid(_local4))) && (_arg2))){
_local4 = getReferrerCampaign();
if (((!(_buffer.hasUTMZ())) && (isIgnoredReferral(_local4)))){
return (_local3);
};
};
if (!isValid(_local4)){
if (((!(_buffer.hasUTMZ())) && (_arg2))){
_local4 = getDirectCampaign();
};
};
if (!isValid(_local4)){
return (_local3);
};
if (((_buffer.hasUTMZ()) && (!(_buffer.utmz.isEmpty())))){
_local8 = new CampaignTracker();
_local8.fromTrackerString(_buffer.utmz.campaignTracking);
_local5 = (_local8.toTrackerString() == _local4.toTrackerString());
_local7 = _buffer.utmz.responseCount;
};
if (((!(_local5)) || (_arg2))){
_local9 = _buffer.utma.sessionCount;
_local7++;
if (_local9 == 0){
_local9 = 1;
};
_buffer.utmz.domainHash = _domainHash;
_buffer.utmz.campaignCreation = _timeStamp;
_buffer.utmz.campaignSessions = _local9;
_buffer.utmz.responseCount = _local7;
_buffer.utmz.campaignTracking = _local4.toTrackerString();
_debug.info(_buffer.utmz.toString(), VisualDebugMode.geek);
_local3 = new CampaignInfo(false, true);
} else {
_local3 = new CampaignInfo(false, false);
};
return (_local3);
}
public function isValid(_arg1:CampaignTracker):Boolean{
if (((_arg1) && (_arg1.isValid()))){
return (true);
};
return (false);
}
public function getTrackerFromSearchString(_arg1:String):CampaignTracker{
var _local2:CampaignTracker;
var _local3:CampaignTracker;
var _local4:CampaignKey;
var _local5:Variables;
_local2 = getOrganicCampaign();
_local3 = new CampaignTracker();
_local4 = _config.campaignKey;
if (_arg1 == ""){
return (_local3);
};
_local5 = new Variables(_arg1);
if (_local5.hasOwnProperty(_local4.UCID)){
_local3.id = _local5[_local4.UCID];
};
if (_local5.hasOwnProperty(_local4.UCSR)){
_local3.source = _local5[_local4.UCSR];
};
if (_local5.hasOwnProperty(_local4.UGCLID)){
_local3.clickId = _local5[_local4.UGCLID];
};
if (_local5.hasOwnProperty(_local4.UCCN)){
_local3.name = _local5[_local4.UCCN];
} else {
_local3.name = "(not set)";
};
if (_local5.hasOwnProperty(_local4.UCMD)){
_local3.medium = _local5[_local4.UCMD];
} else {
_local3.medium = "(not set)";
};
if (_local5.hasOwnProperty(_local4.UCTR)){
_local3.term = _local5[_local4.UCTR];
} else {
if (((_local2) && (!((_local2.term == ""))))){
_local3.term = _local2.term;
};
};
if (_local5.hasOwnProperty(_local4.UCCT)){
_local3.content = _local5[_local4.UCCT];
};
return (_local3);
}
public function getOrganicCampaign():CampaignTracker{
var _local1:CampaignTracker;
var _local2:URL;
var _local3:String;
var _local4:Array;
var _local5:OrganicReferrer;
var _local6:String;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
_local2 = new URL(_referrer);
_local3 = "";
if (_local2.hostName != ""){
if (_local2.hostName.indexOf(".") > -1){
_local4 = _local2.hostName.split(".");
switch (_local4.length){
case 2:
_local3 = _local4[0];
break;
case 3:
_local3 = _local4[1];
break;
};
};
};
if (_config.organic.match(_local3)){
_local5 = _config.organic.getReferrerByName(_local3);
_local6 = _config.organic.getKeywordValue(_local5, _local2.search);
_local1 = new CampaignTracker();
_local1.source = _local5.engine;
_local1.name = "(organic)";
_local1.medium = "organic";
_local1.term = _local6;
};
return (_local1);
}
public function isIgnoredReferral(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "referral")))){
return (_config.organic.isIgnoredReferral(_arg1.source));
};
return (false);
}
public function getDirectCampaign():CampaignTracker{
var _local1:CampaignTracker;
_local1 = new CampaignTracker();
_local1.source = "(direct)";
_local1.name = "(direct)";
_local1.medium = "(none)";
return (_local1);
}
public function isIgnoredKeyword(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "organic")))){
return (_config.organic.isIgnoredKeyword(_arg1.term));
};
return (false);
}
public function getReferrerCampaign():CampaignTracker{
var _local1:CampaignTracker;
var _local2:URL;
var _local3:String;
var _local4:String;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
_local2 = new URL(_referrer);
_local3 = _local2.hostName;
_local4 = _local2.path;
if (_local3.indexOf("www.") == 0){
_local3 = _local3.substr(4);
};
_local1 = new CampaignTracker();
_local1.source = _local3;
_local1.name = "(referral)";
_local1.medium = "referral";
_local1.content = _local4;
return (_local1);
}
public static function isInvalidReferrer(_arg1:String):Boolean{
var _local2:URL;
if ((((((_arg1 == "")) || ((_arg1 == "-")))) || ((_arg1 == "0")))){
return (true);
};
if (_arg1.indexOf("://") > -1){
_local2 = new URL(_arg1);
if ((((_local2.protocol == Protocols.file)) || ((_local2.protocol == Protocols.none)))){
return (true);
};
};
return (false);
}
public static function isFromGoogleCSE(_arg1:String, _arg2:Configuration):Boolean{
var _local3:URL;
_local3 = new URL(_arg1);
if (_local3.hostName.indexOf(_arg2.google) > -1){
if (_local3.search.indexOf((_arg2.googleSearchParam + "=")) > -1){
if (_local3.path == ("/" + _arg2.googleCsePath)){
return (true);
};
};
};
return (false);
}
}
}//package com.google.analytics.campaign
Section 4
//CampaignTracker (com.google.analytics.campaign.CampaignTracker)
package com.google.analytics.campaign {
import com.google.analytics.utils.*;
public class CampaignTracker {
public var content:String;
public var source:String;
public var clickId:String;
public var name:String;
public var term:String;
public var medium:String;
public var id:String;
public function CampaignTracker(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:String="", _arg5:String="", _arg6:String="", _arg7:String=""){
this.id = _arg1;
this.source = _arg2;
this.clickId = _arg3;
this.name = _arg4;
this.medium = _arg5;
this.term = _arg6;
this.content = _arg7;
}
public function isValid():Boolean{
if (((((!((id == ""))) || (!((source == ""))))) || (!((clickId == ""))))){
return (true);
};
return (false);
}
public function toTrackerString():String{
var _local1:Array = [];
_addIfNotEmpty(_local1, "utmcsr=", source);
_addIfNotEmpty(_local1, "utmccn=", name);
_addIfNotEmpty(_local1, "utmcmd=", medium);
_addIfNotEmpty(_local1, "utmctr=", term);
_addIfNotEmpty(_local1, "utmcct=", content);
_addIfNotEmpty(_local1, "utmcid=", id);
_addIfNotEmpty(_local1, "utmgclid=", clickId);
return (_local1.join(CampaignManager.trackingDelimiter));
}
private function _addIfNotEmpty(_arg1:Array, _arg2:String, _arg3:String):void{
if (_arg3 != ""){
_arg3 = _arg3.split("+").join("%20");
_arg3 = _arg3.split(" ").join("%20");
_arg1.push((_arg2 + _arg3));
};
}
public function fromTrackerString(_arg1:String):void{
var _local2:String = _arg1.split(CampaignManager.trackingDelimiter).join("&");
var _local3:Variables = new Variables(_local2);
if (_local3.hasOwnProperty("utmcid")){
this.id = _local3["utmcid"];
};
if (_local3.hasOwnProperty("utmcsr")){
this.source = _local3["utmcsr"];
};
if (_local3.hasOwnProperty("utmccn")){
this.name = _local3["utmccn"];
};
if (_local3.hasOwnProperty("utmcmd")){
this.medium = _local3["utmcmd"];
};
if (_local3.hasOwnProperty("utmctr")){
this.term = _local3["utmctr"];
};
if (_local3.hasOwnProperty("utmcct")){
this.content = _local3["utmcct"];
};
if (_local3.hasOwnProperty("utmgclid")){
this.clickId = _local3["utmgclid"];
};
}
}
}//package com.google.analytics.campaign
Section 5
//FlashTracker (com.google.analytics.components.FlashTracker)
package com.google.analytics.components {
import flash.utils.*;
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 com.google.analytics.events.*;
public class FlashTracker extends Sprite implements AnalyticsTracker {
private var _adSense:AdSenseGlobals;
private var _env:Environment;
protected var _height:Number;// = 18
private var _idleTimer:IdleTimer;
private var _config:Configuration;
private var _mode:String;// = "AS3"
private var _dom:HTMLDOM;
private var _ready:Boolean;// = false
protected var _width:Number;// = 18
private var _account:String;// = ""
protected var _componentInspectorSetting:Boolean;
private var _visualDebug:Boolean;// = false
public var boundingBox_mc:DisplayObject;
private var _debug:DebugConfiguration;
private var _buffer:Buffer;
private var _display:DisplayObject;
protected var livePreviewHeight:Number;
private var _jsproxy:JavascriptProxy;
protected var isLivePreview:Boolean;
protected var preview:MovieClip;
private var _gifRequest:GIFRequest;
protected var livePreviewWidth:Number;
private var _tracker:GoogleAnalyticsAPI;
public static var version:Version = API.version;
public function FlashTracker(){
_ready = false;
_account = "";
_mode = TrackerMode.AS3;
_visualDebug = false;
_width = 18;
_height = 18;
super();
_tracker = new TrackerCache();
isLivePreview = _checkLivePreview();
_componentInspectorSetting = false;
if (boundingBox_mc){
boundingBox_mc.visible = false;
removeChild(boundingBox_mc);
boundingBox_mc = null;
};
if (isLivePreview){
_createLivePreview();
};
addEventListener(Event.ENTER_FRAME, _factory);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
return (_tracker.trackEvent(_arg1, _arg2, _arg3, _arg4));
}
public function trackTrans():void{
_tracker.trackTrans();
}
private function _createLivePreview():void{
var _local1:Graphics;
var _local2:Class;
preview = new MovieClip();
_local1 = preview.graphics;
_local1.beginFill(0xFFFFFF);
_local1.moveTo(0, 0);
_local1.lineTo(0, _width);
_local1.lineTo(_width, _height);
_local1.lineTo(_height, 0);
_local1.lineTo(0, 0);
_local1.endFill();
_local2 = (getDefinitionByName("com.google.analytics.components::Icon") as Class);
preview.icon_mc = new (_local2);
preview.icon_mc.name = "icon_mc";
preview.addChild(preview.icon_mc);
addChild(preview);
}
public function trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_arg1);
}
public function get account():String{
return (_account);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_tracker.linkByPost(_arg1, _arg2);
}
public function getDetectTitle():Boolean{
return (_tracker.getDetectTitle());
}
public function setCampNameKey(_arg1:String):void{
_tracker.setCampNameKey(_arg1);
}
public function resetSession():void{
_tracker.resetSession();
}
public function set account(_arg1:String):void{
_account = _arg1;
}
public function get debug():DebugConfiguration{
if (!_debug){
_createDebugAndConfig();
};
return (_debug);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_arg1));
}
public function set config(_arg1:Configuration):void{
_config = _arg1;
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
return (_tracker.addTrans(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
}
public function setLocalServerMode():void{
_tracker.setLocalServerMode();
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
public function isReady():Boolean{
return (_ready);
}
public function set debug(_arg1:DebugConfiguration):void{
_debug = _arg1;
}
public function getVersion():String{
return (_tracker.getVersion());
}
public function setLocalRemoteServerMode():void{
_tracker.setLocalRemoteServerMode();
}
public function setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_tracker.addIgnoredOrganic(_arg1);
}
public function setCookiePath(_arg1:String):void{
_tracker.setCookiePath(_arg1);
}
public function setCampTermKey(_arg1:String):void{
_tracker.setCampTermKey(_arg1);
}
private function _trackerFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (AS3) v" + version) + "\naccount: ") + account));
_adSense = new AdSenseGlobals(debug);
_dom = new HTMLDOM(debug);
_dom.cacheProperties();
_env = new Environment("", "", "", debug, _dom);
_buffer = new Buffer(config, debug, false);
_gifRequest = new GIFRequest(config, debug, _buffer, _env);
_idleTimer = new IdleTimer(config, debug, _display, _buffer);
_env.url = _display.stage.loaderInfo.url;
return (new Tracker(account, config, debug, _env, _buffer, _gifRequest, _adSense));
}
public function setCampaignTrack(_arg1:Boolean):void{
_tracker.setCampaignTrack(_arg1);
}
public function getServiceMode():ServerOperationMode{
return (_tracker.getServiceMode());
}
public function set componentInspectorSetting(_arg1:Boolean):void{
_componentInspectorSetting = _arg1;
}
public function setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_tracker.addOrganic(_arg1, _arg2);
}
public function setCookieTimeout(_arg1:int):void{
_tracker.setCookieTimeout(_arg1);
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
public function setAllowLinker(_arg1:Boolean):void{
_tracker.setAllowLinker(_arg1);
}
public function setClientInfo(_arg1:Boolean):void{
_tracker.setClientInfo(_arg1);
}
private function _bridgeFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (Bridge) v" + version) + "\naccount: ") + account));
return (new Bridge(account, _debug, _jsproxy));
}
public function get config():Configuration{
if (!_config){
_createDebugAndConfig();
};
return (_config);
}
public function set mode(_arg1:String):void{
_mode = _arg1;
}
public function setDetectFlash(_arg1:Boolean):void{
_tracker.setDetectFlash(_arg1);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_tracker.addItem(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function setVar(_arg1:String):void{
_tracker.setVar(_arg1);
}
public function clearIgnoredOrganic():void{
_tracker.clearIgnoredOrganic();
}
public function setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
private function _checkLivePreview():Boolean{
if (((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")))){
return (true);
};
return (false);
}
public function setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
public function setCampContentKey(_arg1:String):void{
_tracker.setCampContentKey(_arg1);
}
public function setSize(_arg1:Number, _arg2:Number):void{
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function setLocalGifPath(_arg1:String):void{
_tracker.setLocalGifPath(_arg1);
}
public function get mode():String{
return (_mode);
}
public function setSampleRate(_arg1:Number):void{
_tracker.setSampleRate(_arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_tracker.setAllowHash(_arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
_tracker.setDetectTitle(_arg1);
}
public function cookiePathCopy(_arg1:String):void{
_tracker.cookiePathCopy(_arg1);
}
private function _factory(_arg1:Event):void{
var _local2:GoogleAnalyticsAPI;
var _local3:TrackerCache;
removeEventListener(Event.ENTER_FRAME, _factory);
if (isLivePreview){
return;
};
_display = this;
_createDebugAndConfig();
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
_jsproxy = new JavascriptProxy(debug);
_local3 = (_tracker as TrackerCache);
switch (mode){
case TrackerMode.BRIDGE:
_local2 = _bridgeFactory();
break;
case TrackerMode.AS3:
default:
_local2 = _trackerFactory();
};
if (!_local3.isEmpty()){
_local3.tracker = _local2;
_local3.flush();
};
_tracker = _local2;
_ready = true;
dispatchEvent(new AnalyticsEvent(AnalyticsEvent.READY, this));
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function clearOrganic():void{
_tracker.clearOrganic();
}
private function _createDebugAndConfig():void{
if (!_debug){
this.debug = new DebugConfiguration();
};
if (!_config){
this.config = new Configuration(debug);
};
}
public function addIgnoredRef(_arg1:String):void{
_tracker.addIgnoredRef(_arg1);
}
public function set visualDebug(_arg1:Boolean):void{
_visualDebug = _arg1;
}
public function setCampMediumKey(_arg1:String):void{
_tracker.setCampMediumKey(_arg1);
}
public function getAccount():String{
return (_tracker.getAccount());
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_tracker.link(_arg1, _arg2);
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics.components
Section 6
//Icon (com.google.analytics.components.Icon)
package com.google.analytics.components {
import flash.display.*;
public dynamic class Icon extends MovieClip {
}
}//package com.google.analytics.components
Section 7
//BrowserInfo (com.google.analytics.core.BrowserInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.utils.*;
public class BrowserInfo {
private var _config:Configuration;
private var _info:Environment;
public function BrowserInfo(_arg1:Configuration, _arg2:Environment){
_config = _arg1;
_info = _arg2;
}
public function get utmul():String{
return (_info.language.toLowerCase());
}
public function get utmje():String{
return ("0");
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function get utmsr():String{
return (((_info.screenWidth + "x") + _info.screenHeight));
}
public function get utmcs():String{
return (_info.languageEncoding);
}
public function get utmfl():String{
var _local1:Version;
if (_config.detectFlash){
_local1 = _info.flashVersion;
return (((((_local1.major + ".") + _local1.minor) + " r") + _local1.build));
};
return ("-");
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
_local1.utmcs = utmcs;
_local1.utmsr = utmsr;
_local1.utmsc = utmsc;
_local1.utmul = utmul;
_local1.utmje = utmje;
_local1.utmfl = utmfl;
return (_local1);
}
public function get utmsc():String{
return ((_info.screenColorDepth + "-bit"));
}
}
}//package com.google.analytics.core
Section 8
//Buffer (com.google.analytics.core.Buffer)
package com.google.analytics.core {
import flash.net.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import com.google.analytics.data.*;
public dynamic class Buffer {
private var _SO:SharedObject;
private var _OBJ:Object;
private var _utma:UTMA;
private var _utmb:UTMB;
private var _utmc:UTMC;
private var _debug:DebugConfiguration;
private var _utmk:UTMK;
private var _config:Configuration;
private var _utmv:UTMV;
private var _utmz:UTMZ;
private var _volatile:Boolean;
public function Buffer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Boolean=false, _arg4:Object=null){
var _local5:Boolean;
var _local6:String;
super();
_config = _arg1;
_debug = _arg2;
UTMB.defaultTimespan = _config.sessionTimeout;
UTMZ.defaultTimespan = _config.conversionTimeout;
if (!_arg3){
_SO = SharedObject.getLocal(_config.cookieName, _config.cookiePath);
_local5 = false;
if (_SO.data.utma){
if (!hasUTMA()){
_createUMTA();
};
_utma.fromSharedObject(_SO.data.utma);
if (_debug.verbose){
_debug.info(("found: " + _utma.toString(true)), VisualDebugMode.geek);
};
if (_utma.isExpired()){
if (_debug.verbose){
_debug.warning("UTMA has expired", VisualDebugMode.advanced);
};
_clearUTMA();
_local5 = true;
};
};
if (_SO.data.utmb){
if (!hasUTMB()){
_createUMTB();
};
_utmb.fromSharedObject(_SO.data.utmb);
if (_debug.verbose){
_debug.info(("found: " + _utmb.toString(true)), VisualDebugMode.geek);
};
if (_utmb.isExpired()){
if (_debug.verbose){
_debug.warning("UTMB has expired", VisualDebugMode.advanced);
};
_clearUTMB();
_local5 = true;
};
};
if (_SO.data.utmc){
delete _SO.data.utmc;
_local5 = true;
};
if (_SO.data.utmk){
if (!hasUTMK()){
_createUMTK();
};
_utmk.fromSharedObject(_SO.data.utmk);
if (_debug.verbose){
_debug.info(("found: " + _utmk.toString()), VisualDebugMode.geek);
};
};
if (_SO.data.utmv){
if (!hasUTMV()){
_createUMTV();
};
_utmv.fromSharedObject(_SO.data.utmv);
if (_debug.verbose){
_debug.info(("found: " + _utmv.toString(true)), VisualDebugMode.geek);
};
if (_utmv.isExpired()){
if (_debug.verbose){
_debug.warning("UTMV has expired", VisualDebugMode.advanced);
};
_clearUTMV();
_local5 = true;
};
};
if (_SO.data.utmz){
if (!hasUTMZ()){
_createUMTZ();
};
_utmz.fromSharedObject(_SO.data.utmz);
if (_debug.verbose){
_debug.info(("found: " + _utmz.toString(true)), VisualDebugMode.geek);
};
if (_utmz.isExpired()){
if (_debug.verbose){
_debug.warning("UTMZ has expired", VisualDebugMode.advanced);
};
_clearUTMZ();
_local5 = true;
};
};
if (_local5){
save();
};
} else {
_OBJ = new Object();
if (_arg4){
for (_local6 in _arg4) {
_OBJ[_local6] = _arg4[_local6];
};
};
};
_volatile = _arg3;
}
public function clearCookies():void{
utma.reset();
utmb.reset();
utmc.reset();
utmz.reset();
utmv.reset();
utmk.reset();
}
public function save():void{
var flushStatus:String;
if (!isVolatile()){
flushStatus = null;
try {
flushStatus = _SO.flush();
} catch(e:Error) {
_debug.warning("Error...Could not write SharedObject to disk");
};
switch (flushStatus){
case SharedObjectFlushStatus.PENDING:
_debug.info("Requesting permission to save object...");
_SO.addEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus);
break;
case SharedObjectFlushStatus.FLUSHED:
_debug.info("Value flushed to disk.");
break;
};
};
}
public function get utmv():UTMV{
if (!hasUTMV()){
_createUMTV();
};
return (_utmv);
}
public function get utmz():UTMZ{
if (!hasUTMZ()){
_createUMTZ();
};
return (_utmz);
}
public function hasUTMA():Boolean{
if (_utma){
return (true);
};
return (false);
}
public function hasUTMB():Boolean{
if (_utmb){
return (true);
};
return (false);
}
public function hasUTMC():Boolean{
if (_utmc){
return (true);
};
return (false);
}
public function isGenuine():Boolean{
if (!hasUTMK()){
return (true);
};
return ((utmk.hash == generateCookiesHash()));
}
public function resetCurrentSession():void{
_clearUTMB();
_clearUTMC();
save();
}
public function hasUTMK():Boolean{
if (_utmk){
return (true);
};
return (false);
}
public function generateCookiesHash():Number{
var _local1 = "";
_local1 = (_local1 + utma.valueOf());
_local1 = (_local1 + utmb.valueOf());
_local1 = (_local1 + utmc.valueOf());
_local1 = (_local1 + utmz.valueOf());
_local1 = (_local1 + utmv.valueOf());
return (Utils.generateHash(_local1));
}
private function _createUMTB():void{
_utmb = new UTMB();
_utmb.proxy = this;
}
private function _createUMTC():void{
_utmc = new UTMC();
}
private function _createUMTA():void{
_utma = new UTMA();
_utma.proxy = this;
}
public function hasUTMV():Boolean{
if (_utmv){
return (true);
};
return (false);
}
private function _createUMTK():void{
_utmk = new UTMK();
_utmk.proxy = this;
}
public function hasUTMZ():Boolean{
if (_utmz){
return (true);
};
return (false);
}
private function _createUMTV():void{
_utmv = new UTMV();
_utmv.proxy = this;
}
private function _onFlushStatus(_arg1:NetStatusEvent):void{
_debug.info("User closed permission dialog...");
switch (_arg1.info.code){
case "SharedObject.Flush.Success":
_debug.info("User granted permission -- value saved.");
break;
case "SharedObject.Flush.Failed":
_debug.info("User denied permission -- value not saved.");
break;
};
_SO.removeEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus);
}
private function _createUMTZ():void{
_utmz = new UTMZ();
_utmz.proxy = this;
}
public function updateUTMA(_arg1:Number):void{
if (_debug.verbose){
_debug.info((("updateUTMA( " + _arg1) + " )"), VisualDebugMode.advanced);
};
if (!utma.isEmpty()){
if (isNaN(utma.sessionCount)){
utma.sessionCount = 1;
} else {
utma.sessionCount = (utma.sessionCount + 1);
};
utma.lastTime = utma.currentTime;
utma.currentTime = _arg1;
};
}
private function _clearUTMA():void{
_utma = null;
if (!isVolatile()){
_SO.data.utma = null;
delete _SO.data.utma;
};
}
private function _clearUTMC():void{
_utmc = null;
}
private function _clearUTMB():void{
_utmb = null;
if (!isVolatile()){
_SO.data.utmb = null;
delete _SO.data.utmb;
};
}
public function update(_arg1:String, _arg2):void{
if (isVolatile()){
_OBJ[_arg1] = _arg2;
} else {
_SO.data[_arg1] = _arg2;
};
}
private function _clearUTMZ():void{
_utmz = null;
if (!isVolatile()){
_SO.data.utmz = null;
delete _SO.data.utmz;
};
}
private function _clearUTMV():void{
_utmv = null;
if (!isVolatile()){
_SO.data.utmv = null;
delete _SO.data.utmv;
};
}
public function isVolatile():Boolean{
return (_volatile);
}
public function get utma():UTMA{
if (!hasUTMA()){
_createUMTA();
};
return (_utma);
}
public function get utmb():UTMB{
if (!hasUTMB()){
_createUMTB();
};
return (_utmb);
}
public function get utmc():UTMC{
if (!hasUTMC()){
_createUMTC();
};
return (_utmc);
}
public function get utmk():UTMK{
if (!hasUTMK()){
_createUMTK();
};
return (_utmk);
}
}
}//package com.google.analytics.core
Section 9
//DocumentInfo (com.google.analytics.core.DocumentInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
public class DocumentInfo {
private var _config:Configuration;
private var _utmr:String;
private var _adSense:AdSenseGlobals;
private var _info:Environment;
private var _pageURL:String;
public function DocumentInfo(_arg1:Configuration, _arg2:Environment, _arg3:String, _arg4:String=null, _arg5:AdSenseGlobals=null){
_config = _arg1;
_info = _arg2;
_utmr = _arg3;
_pageURL = _arg4;
_adSense = _arg5;
}
public function get utmr():String{
if (!_utmr){
return ("-");
};
return (_utmr);
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
private function _renderPageURL(_arg1:String=""):String{
var _local2:String;
var _local3:String;
_local2 = _info.locationPath;
_local3 = _info.locationSearch;
if (((!(_arg1)) || ((_arg1 == "")))){
_arg1 = (_local2 + unescape(_local3));
};
return (_arg1);
}
public function get utmp():String{
return (_renderPageURL(_pageURL));
}
private function _generateHitId():Number{
var _local1:Number;
if (((_adSense.hid) && (!((_adSense.hid == ""))))){
_local1 = Number(_adSense.hid);
} else {
_local1 = Math.round((Math.random() * 2147483647));
_adSense.hid = String(_local1);
};
return (_local1);
}
public function get utmhid():String{
return (String(_generateHitId()));
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
if (((_config.detectTitle) && (!((utmdt == ""))))){
_local1.utmdt = utmdt;
};
_local1.utmhid = utmhid;
_local1.utmr = utmr;
_local1.utmp = utmp;
return (_local1);
}
public function get utmdt():String{
return (_info.documentTitle);
}
}
}//package com.google.analytics.core
Section 10
//Domain (com.google.analytics.core.Domain)
package com.google.analytics.core {
import com.google.analytics.debug.*;
public class Domain {
private var _mode:DomainNameMode;
private var _debug:DebugConfiguration;
private var _name:String;
public function Domain(_arg1:DomainNameMode=null, _arg2:String="", _arg3:DebugConfiguration=null){
_debug = _arg3;
if (_arg1 == null){
_arg1 = DomainNameMode.auto;
};
_mode = _arg1;
if (_arg1 == DomainNameMode.custom){
this.name = _arg2;
} else {
_name = _arg2;
};
}
public function get mode():DomainNameMode{
return (_mode);
}
public function set mode(_arg1:DomainNameMode):void{
_mode = _arg1;
if (_mode == DomainNameMode.none){
_name = "";
};
}
public function get name():String{
return (_name);
}
public function set name(_arg1:String):void{
if (((!((_arg1.charAt(0) == "."))) && (_debug))){
_debug.warning(("missing leading period \".\", cookie will only be accessible on " + _arg1), VisualDebugMode.geek);
};
_name = _arg1;
}
}
}//package com.google.analytics.core
Section 11
//DomainNameMode (com.google.analytics.core.DomainNameMode)
package com.google.analytics.core {
public class DomainNameMode {
private var _value:int;
private var _name:String;
public static const custom:DomainNameMode = new DomainNameMode(2, "custom");
;
public static const none:DomainNameMode = new DomainNameMode(0, "none");
;
public static const auto:DomainNameMode = new DomainNameMode(1, "auto");
;
public function DomainNameMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 12
//EventInfo (com.google.analytics.core.EventInfo)
package com.google.analytics.core {
import com.google.analytics.data.*;
import com.google.analytics.utils.*;
public class EventInfo {
private var _isEventHit:Boolean;
private var _ext10:X10;
private var _x10:X10;
public function EventInfo(_arg1:Boolean, _arg2:X10, _arg3:X10=null){
_isEventHit = _arg1;
_x10 = _arg2;
_ext10 = _arg3;
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function get utmt():String{
return ("event");
}
public function get utme():String{
return (_x10.renderMergedUrlString(_ext10));
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
if (_isEventHit){
_local1.utmt = utmt;
};
_local1.utme = utme;
return (_local1);
}
}
}//package com.google.analytics.core
Section 13
//EventTracker (com.google.analytics.core.EventTracker)
package com.google.analytics.core {
import com.google.analytics.v4.*;
public class EventTracker {
private var _parent:GoogleAnalyticsAPI;
public var name:String;
public function EventTracker(_arg1:String, _arg2:GoogleAnalyticsAPI){
this.name = _arg1;
_parent = _arg2;
}
public function trackEvent(_arg1:String, _arg2:String=null, _arg3:Number=NaN):Boolean{
return (_parent.trackEvent(name, _arg1, _arg2, _arg3));
}
}
}//package com.google.analytics.core
Section 14
//ga_internal (com.google.analytics.core.ga_internal)
package com.google.analytics.core {
public namespace ga_internal;
}//package com.google.analytics.core
Section 15
//GIFRequest (com.google.analytics.core.GIFRequest)
package com.google.analytics.core {
import flash.net.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import flash.system.*;
public class GIFRequest {
private var _info:Environment;
private var _count:int;
private var _utmac:String;
private var _alertcount:int;
private var _debug:DebugConfiguration;
private var _lastRequest:URLRequest;
private var _buffer:Buffer;
private var _config:Configuration;
private var _requests:Array;
public function GIFRequest(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Environment){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_info = _arg4;
_count = 0;
_alertcount = 0;
_requests = [];
}
public function get utmn():String{
return ((Utils.generate32bitRandom() as String));
}
public function onIOError(_arg1:IOErrorEvent):void{
var _local2:String = _lastRequest.url;
var _local3:String = String((_requests.length - 1));
var _local4 = (("Gif Request #" + _local3) + " failed");
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local2.indexOf("?") > -1){
_local2 = _local2.split("?")[0];
};
_local2 = _shortenURL(_local2);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local4 = (_local4 + ((" \"" + _local2) + "\" does not exists or is unreachable"));
};
_debug.failure(_local4);
} else {
_debug.warning(_local4);
};
_removeListeners(_arg1.target);
}
public function send(_arg1:String, _arg2:Variables=null, _arg3:Boolean=false, _arg4:Boolean=false):void{
var _local5:String;
var _local6:URLRequest;
var _local7:URLRequest;
_utmac = _arg1;
if (!_arg2){
_arg2 = new Variables();
};
_arg2.URIencode = false;
_arg2.pre = ["utmwv", "utmn", "utmhn", "utmt", "utme", "utmcs", "utmsr", "utmsc", "utmul", "utmje", "utmfl", "utmdt", "utmhid", "utmr", "utmp"];
_arg2.post = ["utmcc"];
if (_debug.verbose){
_debug.info(((("tracking: " + _buffer.utmb.trackCount) + "/") + _config.trackingLimitPerSession), VisualDebugMode.geek);
};
if ((((_buffer.utmb.trackCount < _config.trackingLimitPerSession)) || (_arg3))){
if (_arg4){
updateToken();
};
if (((((_arg3) || (!(_arg4)))) || ((_buffer.utmb.token >= 1)))){
if (((!(_arg3)) && (_arg4))){
_buffer.utmb.token = (_buffer.utmb.token - 1);
};
_buffer.utmb.trackCount = (_buffer.utmb.trackCount + 1);
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
};
_arg2.utmwv = utmwv;
_arg2.utmn = Utils.generate32bitRandom();
if (_info.domainName != ""){
_arg2.utmhn = _info.domainName;
};
if (_config.sampleRate < 1){
_arg2.utmsp = (_config.sampleRate * 100);
};
if ((((_config.serverMode == ServerOperationMode.local)) || ((_config.serverMode == ServerOperationMode.both)))){
_local5 = _info.locationSWFPath;
if (_local5.lastIndexOf("/") > 0){
_local5 = _local5.substring(0, _local5.lastIndexOf("/"));
};
_local6 = new URLRequest();
if (_config.localGIFpath.indexOf("http") == 0){
_local6.url = _config.localGIFpath;
} else {
_local6.url = (_local5 + _config.localGIFpath);
};
_local6.url = (_local6.url + ("?" + _arg2.toString()));
if (((_debug.active) && (_debug.GIFRequests))){
_debugSend(_local6);
} else {
sendRequest(_local6);
};
};
if ((((_config.serverMode == ServerOperationMode.remote)) || ((_config.serverMode == ServerOperationMode.both)))){
_local7 = new URLRequest();
if (_info.protocol == Protocols.HTTPS){
_local7.url = _config.secureRemoteGIFpath;
} else {
if (_info.protocol == Protocols.HTTP){
_local7.url = _config.remoteGIFpath;
} else {
_local7.url = _config.remoteGIFpath;
};
};
_arg2.utmac = utmac;
_arg2.utmcc = encodeURIComponent(utmcc);
_local7.url = (_local7.url + ("?" + _arg2.toString()));
if (((_debug.active) && (_debug.GIFRequests))){
_debugSend(_local7);
} else {
sendRequest(_local7);
};
};
};
};
}
public function onSecurityError(_arg1:SecurityErrorEvent):void{
if (_debug.GIFRequests){
_debug.failure(_arg1.text);
};
}
public function get utmsp():String{
return (((_config.sampleRate * 100) as String));
}
public function get utmcc():String{
var _local1:Array = [];
if (_buffer.hasUTMA()){
_local1.push((_buffer.utma.toURLString() + ";"));
};
if (_buffer.hasUTMZ()){
_local1.push((_buffer.utmz.toURLString() + ";"));
};
if (_buffer.hasUTMV()){
_local1.push((_buffer.utmv.toURLString() + ";"));
};
return (_local1.join("+"));
}
public function get utmac():String{
return (_utmac);
}
public function get utmwv():String{
return (_config.version);
}
public function sendRequest(_arg1:URLRequest):void{
var request = _arg1;
var loader:Loader = new Loader();
loader.name = String(_count++);
var context:LoaderContext = new LoaderContext(false);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
_lastRequest = request;
_requests[loader.name] = new RequestObject(request);
try {
loader.load(request, context);
} catch(e:Error) {
_debug.failure("\"Loader.load()\" could not instanciate Gif Request");
};
}
private function _removeListeners(_arg1:Object):void{
_arg1.removeEventListener(IOErrorEvent.IO_ERROR, onIOError);
_arg1.removeEventListener(Event.COMPLETE, onComplete);
}
public function updateToken():void{
var _local2:Number;
var _local1:Number = new Date().getTime();
_local2 = ((_local1 - _buffer.utmb.lastTime) * (_config.tokenRate / 1000));
if (_debug.verbose){
_debug.info(("tokenDelta: " + _local2), VisualDebugMode.geek);
};
if (_local2 >= 1){
_buffer.utmb.token = Math.min(Math.floor((_buffer.utmb.token + _local2)), _config.bucketCapacity);
_buffer.utmb.lastTime = _local1;
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
};
};
}
public function get utmhn():String{
return (_info.domainName);
}
private function _shortenURL(_arg1:String):String{
var _local2:Array;
if (_arg1.length > 60){
_local2 = _arg1.split("/");
while (_arg1.length > 60) {
_local2.shift();
_arg1 = ("../" + _local2.join("/"));
};
};
return (_arg1);
}
private function _debugSend(_arg1:URLRequest):void{
var _local3:String;
var _local2 = "";
switch (_debug.mode){
case VisualDebugMode.geek:
_local2 = ((("Gif Request #" + _alertcount) + ":\n") + _arg1.url);
break;
case VisualDebugMode.advanced:
_local3 = _arg1.url;
if (_local3.indexOf("?") > -1){
_local3 = _local3.split("?")[0];
};
_local3 = _shortenURL(_local3);
_local2 = (((("Send Gif Request #" + _alertcount) + ":\n") + _local3) + " ?");
break;
case VisualDebugMode.basic:
default:
_local2 = (((("Send " + _config.serverMode.toString()) + " Gif Request #") + _alertcount) + " ?");
};
_debug.alertGifRequest(_local2, _arg1, this);
_alertcount++;
}
public function onComplete(_arg1:Event):void{
var _local2:String = _arg1.target.loader.name;
_requests[_local2].complete();
var _local3 = (("Gif Request #" + _local2) + " sent");
var _local4:String = _requests[_local2].request.url;
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local4.indexOf("?") > -1){
_local4 = _local4.split("?")[0];
};
_local4 = _shortenURL(_local4);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local3 = (_local3 + ((" to \"" + _local4) + "\""));
};
_debug.success(_local3);
} else {
_debug.info(_local3);
};
_removeListeners(_arg1.target);
}
}
}//package com.google.analytics.core
Section 16
//IdleTimer (com.google.analytics.core.IdleTimer)
package com.google.analytics.core {
import flash.utils.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
public class IdleTimer {
private var _loop:Timer;
private var _stage:Stage;
private var _lastMove:int;
private var _debug:DebugConfiguration;
private var _session:Timer;
private var _inactivity:Number;
private var _buffer:Buffer;
public function IdleTimer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:DisplayObject, _arg4:Buffer){
var _local5:Number;
var _local6:Number;
var _local7:Number;
super();
_local5 = _arg1.idleLoop;
_local6 = _arg1.idleTimeout;
_local7 = _arg1.sessionTimeout;
_loop = new Timer((_local5 * 1000));
_session = new Timer((_local7 * 1000), 1);
_debug = _arg2;
_stage = _arg3.stage;
_buffer = _arg4;
_lastMove = getTimer();
_inactivity = (_local6 * 1000);
_loop.addEventListener(TimerEvent.TIMER, checkForIdle);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
_debug.info(((((("delay: " + _local5) + "sec , inactivity: ") + _local6) + "sec, sessionTimeout: ") + _local7), VisualDebugMode.geek);
_loop.start();
}
private function onMouseMove(_arg1:MouseEvent):void{
_lastMove = getTimer();
if (_session.running){
_debug.info("session timer reset", VisualDebugMode.geek);
_session.reset();
};
}
public function endSession(_arg1:TimerEvent):void{
_session.removeEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_debug.info("session timer end session", VisualDebugMode.geek);
_session.reset();
_buffer.resetCurrentSession();
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.geek);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
}
public function checkForIdle(_arg1:TimerEvent):void{
var _local2:int;
_local2 = getTimer();
if ((_local2 - _lastMove) >= _inactivity){
if (!_session.running){
_debug.info("session timer start", VisualDebugMode.geek);
_session.start();
};
};
}
}
}//package com.google.analytics.core
Section 17
//Organic (com.google.analytics.core.Organic)
package com.google.analytics.core {
import com.google.analytics.utils.*;
public class Organic {
private var _sourcesCache:Array;
private var _sourcesEngine:Array;
private var _ignoredKeywords:Array;
private var _ignoredReferralsCache:Object;
private var _ignoredReferrals:Array;
private var _ignoredKeywordsCache:Object;
private var _sources:Array;
public static var throwErrors:Boolean = false;
public function Organic(){
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
_ignoredReferrals = [];
_ignoredReferralsCache = {};
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function getKeywordValue(_arg1:OrganicReferrer, _arg2:String):String{
var _local3:String;
_local3 = _arg1.keyword;
return (getKeywordValueFromPath(_local3, _arg2));
}
public function isIgnoredKeyword(_arg1:String):Boolean{
if (_ignoredKeywordsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function isIgnoredReferral(_arg1:String):Boolean{
if (_ignoredReferralsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function clear():void{
clearEngines();
clearIgnoredReferrals();
clearIgnoredKeywords();
}
public function get ignoredKeywordsCount():int{
return (_ignoredKeywords.length);
}
public function match(_arg1:String):Boolean{
if (_arg1 == ""){
return (false);
};
_arg1 = _arg1.toLowerCase();
if (_sourcesEngine[_arg1] != undefined){
return (true);
};
return (false);
}
public function get count():int{
return (_sources.length);
}
public function addSource(_arg1:String, _arg2:String):void{
var _local3:OrganicReferrer;
_local3 = new OrganicReferrer(_arg1, _arg2);
if (_sourcesCache[_local3.toString()] == undefined){
_sources.push(_local3);
_sourcesCache[_local3.toString()] = (_sources.length - 1);
if (_sourcesEngine[_local3.engine] == undefined){
_sourcesEngine[_local3.engine] = [(_sources.length - 1)];
} else {
_sourcesEngine[_local3.engine].push((_sources.length - 1));
};
} else {
if (throwErrors){
throw (new Error((_local3.toString() + " already exists, we don't add it.")));
};
};
}
public function clearIgnoredKeywords():void{
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function clearEngines():void{
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
}
public function get ignoredReferralsCount():int{
return (_ignoredReferrals.length);
}
public function addIgnoredReferral(_arg1:String):void{
if (_ignoredReferralsCache[_arg1] == undefined){
_ignoredReferrals.push(_arg1);
_ignoredReferralsCache[_arg1] = (_ignoredReferrals.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function clearIgnoredReferrals():void{
_ignoredReferrals = [];
_ignoredReferralsCache = {};
}
public function getReferrerByName(_arg1:String):OrganicReferrer{
var _local2:int;
if (match(_arg1)){
_local2 = _sourcesEngine[_arg1][0];
return (_sources[_local2]);
};
return (null);
}
public function addIgnoredKeyword(_arg1:String):void{
if (_ignoredKeywordsCache[_arg1] == undefined){
_ignoredKeywords.push(_arg1);
_ignoredKeywordsCache[_arg1] = (_ignoredKeywords.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function get sources():Array{
return (_sources);
}
public static function getKeywordValueFromPath(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Variables;
if (_arg2.indexOf((_arg1 + "=")) > -1){
if (_arg2.charAt(0) == "?"){
_arg2 = _arg2.substr(1);
};
_arg2 = _arg2.split("+").join("%20");
_local4 = new Variables(_arg2);
_local3 = _local4[_arg1];
};
return (_local3);
}
}
}//package com.google.analytics.core
Section 18
//OrganicReferrer (com.google.analytics.core.OrganicReferrer)
package com.google.analytics.core {
public class OrganicReferrer {
private var _engine:String;
private var _keyword:String;
public function OrganicReferrer(_arg1:String, _arg2:String){
this.engine = _arg1;
this.keyword = _arg2;
}
public function set engine(_arg1:String):void{
_engine = _arg1.toLowerCase();
}
public function get keyword():String{
return (_keyword);
}
public function toString():String{
return (((engine + "?") + keyword));
}
public function get engine():String{
return (_engine);
}
public function set keyword(_arg1:String):void{
_keyword = _arg1.toLowerCase();
}
}
}//package com.google.analytics.core
Section 19
//RequestObject (com.google.analytics.core.RequestObject)
package com.google.analytics.core {
import flash.net.*;
import flash.utils.*;
public class RequestObject {
public var start:int;
public var request:URLRequest;
public var end:int;
public function RequestObject(_arg1:URLRequest){
start = getTimer();
this.request = _arg1;
}
public function toString():String{
var _local1:Array;
_local1 = [];
_local1.push((("duration: " + duration) + "ms"));
_local1.push(("url: " + request.url));
return ((("{ " + _local1.join(", ")) + " }"));
}
public function get duration():int{
if (!hasCompleted()){
return (0);
};
return ((end - start));
}
public function hasCompleted():Boolean{
return ((end > 0));
}
public function complete():void{
end = getTimer();
}
}
}//package com.google.analytics.core
Section 20
//ServerOperationMode (com.google.analytics.core.ServerOperationMode)
package com.google.analytics.core {
public class ServerOperationMode {
private var _value:int;
private var _name:String;
public static const both:ServerOperationMode = new ServerOperationMode(2, "both");
;
public static const remote:ServerOperationMode = new ServerOperationMode(1, "remote");
;
public static const local:ServerOperationMode = new ServerOperationMode(0, "local");
;
public function ServerOperationMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 21
//TrackerCache (com.google.analytics.core.TrackerCache)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import flash.errors.*;
public class TrackerCache implements GoogleAnalyticsAPI {
public var tracker:GoogleAnalyticsAPI;
private var _ar:Array;
public static var CACHE_THROW_ERROR:Boolean;
public function TrackerCache(_arg1:GoogleAnalyticsAPI=null){
this.tracker = _arg1;
_ar = [];
}
public function size():uint{
return (_ar.length);
}
public function flush():void{
var _local1:Object;
var _local2:String;
var _local3:Array;
var _local4:int;
var _local5:int;
if (tracker == null){
return;
};
if (size() > 0){
_local4 = _ar.length;
while (_local5 < _local4) {
_local1 = _ar.shift();
_local2 = (_local1.name as String);
_local3 = (_local1.args as Array);
if (((!((_local2 == null))) && ((_local2 in tracker)))){
(tracker[_local2] as Function).apply(tracker, _local3);
};
_local5++;
};
};
}
public function enqueue(_arg1:String, ... _args):Boolean{
if (_arg1 == null){
return (false);
};
_ar.push({name:_arg1, args:_args});
return (true);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
enqueue("link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
enqueue("addOrganic", _arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
enqueue("setAllowLinker", _arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
enqueue("trackEvent", _arg1, _arg2, _arg3, _arg4);
return (true);
}
public function getClientInfo():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getClientInfo' method for the moment."));
};
return (false);
}
public function trackTrans():void{
enqueue("trackTrans");
}
public function trackPageview(_arg1:String=""):void{
enqueue("trackPageview", _arg1);
}
public function setClientInfo(_arg1:Boolean):void{
enqueue("setClientInfo", _arg1);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
enqueue("linkByPost", _arg1, _arg2);
}
public function setCookieTimeout(_arg1:int):void{
enqueue("setCookieTimeout", _arg1);
}
public function isEmpty():Boolean{
return ((_ar.length == 0));
}
public function getDetectTitle():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectTitle' method for the moment."));
};
return (false);
}
public function resetSession():void{
enqueue("resetSession");
}
public function setDetectFlash(_arg1:Boolean):void{
enqueue("setDetectFlash", _arg1);
}
public function clear():void{
_ar = [];
}
public function setCampNameKey(_arg1:String):void{
enqueue("setCampNameKey", _arg1);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
enqueue("addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function createEventTracker(_arg1:String):EventTracker{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'createEventTracker' method for the moment."));
};
return (null);
}
public function setVar(_arg1:String):void{
enqueue("setVar", _arg1);
}
public function clearIgnoredOrganic():void{
enqueue("clearIgnoredOrganic");
}
public function setDomainName(_arg1:String):void{
enqueue("setDomainName", _arg1);
}
public function setCampSourceKey(_arg1:String):void{
enqueue("setCampSourceKey", _arg1);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'addTrans' method for the moment."));
};
return (null);
}
public function setCampContentKey(_arg1:String):void{
enqueue("setCampContentKey", _arg1);
}
public function setLocalServerMode():void{
enqueue("setLocalServerMode");
}
public function getLocalGifPath():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getLocalGifPath' method for the moment."));
};
return ("");
}
public function setAllowAnchor(_arg1:Boolean):void{
enqueue("setAllowAnchor", _arg1);
}
public function clearIgnoredRef():void{
enqueue("clearIgnoredRef");
}
public function setLocalGifPath(_arg1:String):void{
enqueue("setLocalGifPath", _arg1);
}
public function getVersion():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getVersion' method for the moment."));
};
return ("");
}
public function setCookiePath(_arg1:String):void{
enqueue("setCookiePath", _arg1);
}
public function setSampleRate(_arg1:Number):void{
enqueue("setSampleRate", _arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
enqueue("setDetectTitle", _arg1);
}
public function setAllowHash(_arg1:Boolean):void{
enqueue("setAllowHash", _arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
enqueue("addIgnoredOrganic", _arg1);
}
public function setCampNOKey(_arg1:String):void{
enqueue("setCampNOKey", _arg1);
}
public function getServiceMode():ServerOperationMode{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getServiceMode' method for the moment."));
};
return (null);
}
public function setLocalRemoteServerMode():void{
enqueue("setLocalRemoteServerMode");
}
public function cookiePathCopy(_arg1:String):void{
enqueue("cookiePathCopy", _arg1);
}
public function getDetectFlash():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectFlash' method for the moment."));
};
return (false);
}
public function setCampaignTrack(_arg1:Boolean):void{
enqueue("setCampaignTrack", _arg1);
}
public function clearOrganic():void{
enqueue("clearOrganic");
}
public function setCampTermKey(_arg1:String):void{
enqueue("setCampTermKey", _arg1);
}
public function addIgnoredRef(_arg1:String):void{
enqueue("addIgnoredRef", _arg1);
}
public function setCampMediumKey(_arg1:String):void{
enqueue("setCampMediumKey", _arg1);
}
public function setSessionTimeout(_arg1:int):void{
enqueue("setSessionTimeout", _arg1);
}
public function setRemoteServerMode():void{
enqueue("setRemoteServerMode");
}
public function element(){
return (_ar[0]);
}
public function getAccount():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getAccount' method for the moment."));
};
return ("");
}
}
}//package com.google.analytics.core
Section 22
//TrackerMode (com.google.analytics.core.TrackerMode)
package com.google.analytics.core {
public class TrackerMode {
public static const BRIDGE:String = "Bridge";
public static const AS3:String = "AS3";
}
}//package com.google.analytics.core
Section 23
//Utils (com.google.analytics.core.Utils)
package com.google.analytics.core {
public class Utils {
public static function trim(_arg1:String, _arg2:Boolean=false):String{
var _local3:Array;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:int;
if (_arg1 == ""){
return ("");
};
_local3 = [" ", "\n", "\r", "\t"];
_local4 = _arg1;
if (_arg2){
_local5 = 0;
while ((((_local5 < _local3.length)) && ((_local4.indexOf(_local3[_local5]) > -1)))) {
_local4 = _local4.split(_local3[_local5]).join("");
_local5++;
};
} else {
_local6 = 0;
while ((((_local6 < _local4.length)) && ((_local3.indexOf(_local4.charAt(_local6)) > -1)))) {
_local6++;
};
_local4 = _local4.substr(_local6);
_local7 = (_local4.length - 1);
while ((((_local7 >= 0)) && ((_local3.indexOf(_local4.charAt(_local7)) > -1)))) {
_local7--;
};
_local4 = _local4.substring(0, (_local7 + 1));
};
return (_local4);
}
public static function generateHash(_arg1:String):int{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
_local2 = 1;
_local3 = 0;
if (((!((_arg1 == null))) && (!((_arg1 == ""))))){
_local2 = 0;
_local4 = (_arg1.length - 1);
while (_local4 >= 0) {
_local5 = _arg1.charCodeAt(_local4);
_local2 = ((((_local2 << 6) & 268435455) + _local5) + (_local5 << 14));
_local3 = (_local2 & 266338304);
if (_local3 != 0){
_local2 = (_local2 ^ (_local3 >> 21));
};
_local4--;
};
};
return (_local2);
}
public static function generate32bitRandom():int{
return (Math.round((Math.random() * 2147483647)));
}
public static function validateAccount(_arg1:String):Boolean{
var _local2:RegExp;
_local2 = /^UA-[0-9]*-[0-9]*$/;
return (_local2.test(_arg1));
}
}
}//package com.google.analytics.core
Section 24
//Cookie (com.google.analytics.data.Cookie)
package com.google.analytics.data {
public interface Cookie {
function fromSharedObject(_arg1:Object):void;
function toURLString():String;
function get creation():Date;
function toSharedObject():Object;
function isExpired():Boolean;
function set creation(_arg1:Date):void;
function set expiration(_arg1:Date):void;
function get expiration():Date;
}
}//package com.google.analytics.data
Section 25
//UTMA (com.google.analytics.data.UTMA)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMA extends UTMCookie {
private var _sessionId:Number;
private var _domainHash:Number;
private var _firstTime:Number;
private var _currentTime:Number;
private var _lastTime:Number;
private var _sessionCount:Number;
public function UTMA(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:Number=NaN, _arg6:Number=NaN){
super("utma", "__utma", ["domainHash", "sessionId", "firstTime", "lastTime", "currentTime", "sessionCount"], (Timespan.twoyears * 1000));
this.domainHash = _arg1;
this.sessionId = _arg2;
this.firstTime = _arg3;
this.lastTime = _arg4;
this.currentTime = _arg5;
this.sessionCount = _arg6;
}
public function get lastTime():Number{
return (_lastTime);
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function set currentTime(_arg1:Number):void{
_currentTime = _arg1;
update();
}
public function get sessionId():Number{
return (_sessionId);
}
public function get sessionCount():Number{
return (_sessionCount);
}
public function get firstTime():Number{
return (_firstTime);
}
public function get currentTime():Number{
return (_currentTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set sessionId(_arg1:Number):void{
_sessionId = _arg1;
update();
}
public function set sessionCount(_arg1:Number):void{
_sessionCount = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function set firstTime(_arg1:Number):void{
_firstTime = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 26
//UTMB (com.google.analytics.data.UTMB)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMB extends UTMCookie {
private var _trackCount:Number;
private var _lastTime:Number;
private var _domainHash:Number;
private var _token:Number;
public static var defaultTimespan:Number = Timespan.thirtyminutes;
public function UTMB(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN){
super("utmb", "__utmb", ["domainHash", "trackCount", "token", "lastTime"], (defaultTimespan * 1000));
this.domainHash = _arg1;
this.trackCount = _arg2;
this.token = _arg3;
this.lastTime = _arg4;
}
public function set token(_arg1:Number):void{
_token = _arg1;
update();
}
public function set trackCount(_arg1:Number):void{
_trackCount = _arg1;
update();
}
public function get lastTime():Number{
return (_lastTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function get token():Number{
return (_token);
}
public function get trackCount():Number{
return (_trackCount);
}
}
}//package com.google.analytics.data
Section 27
//UTMC (com.google.analytics.data.UTMC)
package com.google.analytics.data {
public class UTMC extends UTMCookie {
private var _domainHash:Number;
public function UTMC(_arg1:Number=NaN){
super("utmc", "__utmc", ["domainHash"]);
this.domainHash = _arg1;
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
}
}//package com.google.analytics.data
Section 28
//UTMCookie (com.google.analytics.data.UTMCookie)
package com.google.analytics.data {
import com.google.analytics.core.*;
public class UTMCookie implements Cookie {
protected var inURL:String;
protected var name:String;
private var _creation:Date;
private var _expiration:Date;
public var proxy:Buffer;
private var _timespan:Number;
protected var fields:Array;
public function UTMCookie(_arg1:String, _arg2:String, _arg3:Array, _arg4:Number=0){
this.name = _arg1;
this.inURL = _arg2;
this.fields = _arg3;
_timestamp(_arg4);
}
public function isEmpty():Boolean{
var _local1:int;
var _local2:String;
var _local3:int;
_local1 = 0;
_local3 = 0;
while (_local3 < fields.length) {
_local2 = fields[_local3];
if ((((this[_local2] is Number)) && (isNaN(this[_local2])))){
_local1++;
} else {
if ((((this[_local2] is String)) && ((this[_local2] == "")))){
_local1++;
};
};
_local3++;
};
if (_local1 == fields.length){
return (true);
};
return (false);
}
protected function update():void{
resetTimestamp();
if (proxy){
proxy.update(name, toSharedObject());
};
}
public function fromSharedObject(_arg1:Object):void{
var _local2:String;
var _local3:int;
var _local4:int;
_local3 = fields.length;
_local4 = 0;
while (_local4 < _local3) {
_local2 = fields[_local4];
if (_arg1[_local2]){
this[_local2] = _arg1[_local2];
};
_local4++;
};
if (_arg1.creation){
this.creation = _arg1.creation;
};
if (_arg1.expiration){
this.expiration = _arg1.expiration;
};
}
private function _timestamp(_arg1:Number):void{
creation = new Date();
_timespan = _arg1;
if (_arg1 > 0){
expiration = new Date((creation.valueOf() + _arg1));
};
}
public function isExpired():Boolean{
var _local1:Date;
var _local2:Number;
_local1 = new Date();
_local2 = (expiration.valueOf() - _local1.valueOf());
if (_local2 <= 0){
return (true);
};
return (false);
}
public function set expiration(_arg1:Date):void{
_expiration = _arg1;
}
public function get creation():Date{
return (_creation);
}
public function reset():void{
var _local1:String;
var _local2:int;
_local2 = 0;
while (_local2 < fields.length) {
_local1 = fields[_local2];
if ((this[_local1] is Number)){
this[_local1] = NaN;
} else {
if ((this[_local1] is String)){
this[_local1] = "";
};
};
_local2++;
};
resetTimestamp();
update();
}
public function valueOf():String{
var _local1:Array;
var _local2:String;
var _local3:*;
var _local4:int;
_local1 = [];
_local4 = 0;
while (_local4 < fields.length) {
_local2 = fields[_local4];
_local3 = this[_local2];
if ((_local3 is String)){
if (_local3 == ""){
_local3 = "-";
_local1.push(_local3);
} else {
_local1.push(_local3);
};
} else {
if ((_local3 is Number)){
if (_local3 == 0){
_local1.push(_local3);
} else {
if (isNaN(_local3)){
_local3 = "-";
_local1.push(_local3);
} else {
_local1.push(_local3);
};
};
};
};
_local4++;
};
return (("" + _local1.join(".")));
}
public function resetTimestamp(_arg1:Number=NaN):void{
if (!isNaN(_arg1)){
_timespan = _arg1;
};
_creation = null;
_expiration = null;
_timestamp(_timespan);
}
public function get expiration():Date{
if (_expiration){
return (_expiration);
};
return (new Date((new Date().valueOf() + 1000)));
}
public function toURLString():String{
return (((inURL + "=") + valueOf()));
}
public function toSharedObject():Object{
var _local1:Object;
var _local2:String;
var _local3:*;
var _local4:int;
_local1 = {};
_local4 = 0;
for (;_local4 < fields.length;_local4++) {
_local2 = fields[_local4];
_local3 = this[_local2];
if ((_local3 is String)){
_local1[_local2] = _local3;
} else {
if (_local3 == 0){
_local1[_local2] = _local3;
} else {
if (isNaN(_local3)){
continue;
} else {
_local1[_local2] = _local3;
};
};
};
};
_local1.creation = creation;
_local1.expiration = expiration;
return (_local1);
}
public function toString(_arg1:Boolean=false):String{
var _local2:Array;
var _local3:String;
var _local4:*;
var _local5:int;
var _local6:int;
var _local7:String;
_local2 = [];
_local5 = fields.length;
_local6 = 0;
for (;_local6 < _local5;_local6++) {
_local3 = fields[_local6];
_local4 = this[_local3];
if ((_local4 is String)){
_local2.push((((_local3 + ": \"") + _local4) + "\""));
} else {
if (_local4 == 0){
_local2.push(((_local3 + ": ") + _local4));
} else {
if (isNaN(_local4)){
continue;
} else {
_local2.push(((_local3 + ": ") + _local4));
};
};
};
};
_local7 = (((name.toUpperCase() + " {") + _local2.join(", ")) + "}");
if (_arg1){
_local7 = (_local7 + (((" creation:" + creation) + ", expiration:") + expiration));
};
return (_local7);
}
public function set creation(_arg1:Date):void{
_creation = _arg1;
}
}
}//package com.google.analytics.data
Section 29
//UTMK (com.google.analytics.data.UTMK)
package com.google.analytics.data {
public class UTMK extends UTMCookie {
private var _hash:Number;
public function UTMK(_arg1:Number=NaN){
super("utmk", "__utmk", ["hash"]);
this.hash = _arg1;
}
public function set hash(_arg1:Number):void{
_hash = _arg1;
update();
}
public function get hash():Number{
return (_hash);
}
}
}//package com.google.analytics.data
Section 30
//UTMV (com.google.analytics.data.UTMV)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMV extends UTMCookie {
private var _domainHash:Number;
private var _value:String;
public function UTMV(_arg1:Number=NaN, _arg2:String=""){
super("utmv", "__utmv", ["domainHash", "value"], (Timespan.twoyears * 1000));
this.domainHash = _arg1;
this.value = _arg2;
}
override public function toURLString():String{
return (((inURL + "=") + encodeURI(valueOf())));
}
public function get value():String{
return (_value);
}
public function get domainHash():Number{
return (_domainHash);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set value(_arg1:String):void{
_value = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 31
//UTMZ (com.google.analytics.data.UTMZ)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMZ extends UTMCookie {
private var _campaignTracking:String;
private var _campaignCreation:Number;
private var _responseCount:Number;
private var _domainHash:Number;
private var _campaignSessions:Number;
public static var defaultTimespan:Number = Timespan.sixmonths;
public function UTMZ(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:String=""){
super("utmz", "__utmz", ["domainHash", "campaignCreation", "campaignSessions", "responseCount", "campaignTracking"], (defaultTimespan * 1000));
this.domainHash = _arg1;
this.campaignCreation = _arg2;
this.campaignSessions = _arg3;
this.responseCount = _arg4;
this.campaignTracking = _arg5;
}
public function set responseCount(_arg1:Number):void{
_responseCount = _arg1;
update();
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set campaignCreation(_arg1:Number):void{
_campaignCreation = _arg1;
update();
}
public function get campaignTracking():String{
return (_campaignTracking);
}
public function get campaignSessions():Number{
return (_campaignSessions);
}
public function get domainHash():Number{
return (_domainHash);
}
public function get responseCount():Number{
return (_responseCount);
}
public function get campaignCreation():Number{
return (_campaignCreation);
}
public function set campaignSessions(_arg1:Number):void{
_campaignSessions = _arg1;
update();
}
public function set campaignTracking(_arg1:String):void{
_campaignTracking = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 32
//X10 (com.google.analytics.data.X10)
package com.google.analytics.data {
public class X10 {
private var _delimEnd:String;// = ")"
private var _delimSet:String;// = "*"
private var _escapeChar:String;// = "'"
private var _delimBegin:String;// = "("
private var _delimNumValue:String;// = "!"
private var _key:String;// = "k"
private var _set:Array;
private var _projectData:Object;
private var _hasData:int;
private var _escapeCharMap:Object;
private var _minimum:int;
private var _value:String;// = "v"
public function X10(){
_key = "k";
_value = "v";
_set = [_key, _value];
_delimBegin = "(";
_delimEnd = ")";
_delimSet = "*";
_delimNumValue = "!";
_escapeChar = "'";
super();
_projectData = {};
_escapeCharMap = {};
_escapeCharMap[_escapeChar] = "'0";
_escapeCharMap[_delimEnd] = "'1";
_escapeCharMap[_delimSet] = "'2";
_escapeCharMap[_delimNumValue] = "'3";
_minimum = 1;
}
private function _clearInternal(_arg1:Number, _arg2:String):void{
var _local3:Boolean;
var _local4:int;
var _local5:int;
if (((hasProject(_arg1)) && (!((_projectData[_arg1][_arg2] == undefined))))){
_projectData[_arg1][_arg2] = undefined;
_local3 = true;
_local5 = _set.length;
_local4 = 0;
while (_local4 < _local5) {
if (_projectData[_arg1][_set[_local4]] != undefined){
_local3 = false;
break;
};
_local4++;
};
if (_local3){
_projectData[_arg1] = undefined;
_hasData = (_hasData - 1);
};
};
}
public function hasData():Boolean{
return ((_hasData > 0));
}
private function _setInternal(_arg1:Number, _arg2:String, _arg3:Number, _arg4:String):void{
if (!hasProject(_arg1)){
_projectData[_arg1] = {};
};
if (_projectData[_arg1][_arg2] == undefined){
_projectData[_arg1][_arg2] = [];
};
_projectData[_arg1][_arg2][_arg3] = _arg4;
_hasData = (_hasData + 1);
}
public function hasProject(_arg1:Number):Boolean{
return (_projectData[_arg1]);
}
public function clearKey(_arg1:Number):void{
_clearInternal(_arg1, _key);
}
private function _renderDataType(_arg1:Array):String{
var _local2:Array;
var _local3:String;
var _local4:int;
_local2 = [];
_local4 = 0;
while (_local4 < _arg1.length) {
if (_arg1[_local4] != undefined){
_local3 = "";
if (((!((_local4 == _minimum))) && ((_arg1[(_local4 - 1)] == undefined)))){
_local3 = (_local3 + _local4.toString());
_local3 = (_local3 + _delimNumValue);
};
_local3 = (_local3 + _escapeExtensibleValue(_arg1[_local4]));
_local2.push(_local3);
};
_local4++;
};
return (((_delimBegin + _local2.join(_delimSet)) + _delimEnd));
}
public function getKey(_arg1:Number, _arg2:Number):String{
return ((_getInternal(_arg1, _key, _arg2) as String));
}
public function clearValue(_arg1:Number):void{
_clearInternal(_arg1, _value);
}
public function renderMergedUrlString(_arg1:X10=null):String{
var _local2:Array;
var _local3:String;
if (!_arg1){
return (renderUrlString());
};
_local2 = [_arg1.renderUrlString()];
for (_local3 in _projectData) {
if (((hasProject(Number(_local3))) && (!(_arg1.hasProject(Number(_local3)))))){
_local2.push((_local3 + _renderProject(_projectData[_local3])));
};
};
return (_local2.join(""));
}
public function setValue(_arg1:Number, _arg2:Number, _arg3:Number):Boolean{
if (((((!((Math.round(_arg3) == _arg3))) || (isNaN(_arg3)))) || ((_arg3 == Infinity)))){
return (false);
};
_setInternal(_arg1, _value, _arg2, _arg3.toString());
return (true);
}
public function renderUrlString():String{
var _local1:Array;
var _local2:String;
_local1 = [];
for (_local2 in _projectData) {
if (hasProject(Number(_local2))){
_local1.push((_local2 + _renderProject(_projectData[_local2])));
};
};
return (_local1.join(""));
}
private function _getInternal(_arg1:Number, _arg2:String, _arg3:Number):Object{
if (((hasProject(_arg1)) && (!((_projectData[_arg1][_arg2] == undefined))))){
return (_projectData[_arg1][_arg2][_arg3]);
};
return (undefined);
}
public function setKey(_arg1:Number, _arg2:Number, _arg3:String):Boolean{
_setInternal(_arg1, _key, _arg2, _arg3);
return (true);
}
public function getValue(_arg1:Number, _arg2:Number){
var _local3:*;
_local3 = _getInternal(_arg1, _value, _arg2);
if (_local3 == null){
return (null);
};
return (Number(_local3));
}
private function _renderProject(_arg1:Object):String{
var _local2:String;
var _local3:Boolean;
var _local4:int;
var _local5:Array;
var _local6:int;
_local2 = "";
_local3 = false;
_local6 = _set.length;
_local4 = 0;
while (_local4 < _local6) {
_local5 = _arg1[_set[_local4]];
if (_local5){
if (_local3){
_local2 = (_local2 + _set[_local4]);
};
_local2 = (_local2 + _renderDataType(_local5));
_local3 = false;
} else {
_local3 = true;
};
_local4++;
};
return (_local2);
}
private function _escapeExtensibleValue(_arg1:String):String{
var _local2:String;
var _local3:int;
var _local4:String;
var _local5:String;
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local4 = _arg1.charAt(_local3);
_local5 = _escapeCharMap[_local4];
if (_local5){
_local2 = (_local2 + _local5);
} else {
_local2 = (_local2 + _local4);
};
_local3++;
};
return (_local2);
}
}
}//package com.google.analytics.data
Section 33
//_Style (com.google.analytics.debug._Style)
package com.google.analytics.debug {
import flash.net.*;
import flash.text.*;
public class _Style {
public var borderColor:uint;
public var backgroundColor:uint;
private var _sheet:StyleSheet;
public var roundedCorner:uint;
public var alertColor:uint;
public var infoColor:uint;
public var successColor:uint;
private var _loader:URLLoader;
public var failureColor:uint;
private var _defaultSheet:String;
public var warningColor:uint;
public function _Style(){
_sheet = new StyleSheet();
_loader = new URLLoader();
_init();
}
private function _parseSheet(_arg1:String):void{
_sheet.parseCSS(_arg1);
}
public function get sheet():StyleSheet{
return (_sheet);
}
private function _init():void{
_defaultSheet = "";
_defaultSheet = (_defaultSheet + "a{text-decoration: underline;}\n");
_defaultSheet = (_defaultSheet + ".uiLabel{color: #000000;font-family: Arial;font-size: 12;margin-left: 2;margin-right: 2;}\n");
_defaultSheet = (_defaultSheet + ".uiWarning{color: #ffffff;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlert{color: #ffffff;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiInfo{color: #000000;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiSuccess{color: #ffffff;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiFailure{color: #ffffff;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlertAction{color: #ffffff;text-align: center;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlertTitle{color: #ffffff;font-family: Arial;font-size: 16;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + "\n");
roundedCorner = 6;
backgroundColor = 0xCCCCCC;
borderColor = 0x555555;
infoColor = 16777113;
alertColor = 0xFFCC00;
warningColor = 0xCC0000;
successColor = 0xFF00;
failureColor = 0xFF0000;
_parseSheet(_defaultSheet);
}
}
}//package com.google.analytics.debug
Section 34
//Alert (com.google.analytics.debug.Alert)
package com.google.analytics.debug {
import flash.events.*;
public class Alert extends Label {
public var actionOnNextLine:Boolean;// = true
public var autoClose:Boolean;// = true
private var _actions:Array;
public function Alert(_arg1:String, _arg2:Array, _arg3:String="uiAlert", _arg4:uint=0, _arg5:Align=null, _arg6:Boolean=false, _arg7:Boolean=true){
var _local8:int;
autoClose = true;
actionOnNextLine = true;
if (_arg4 == 0){
_arg4 = Style.alertColor;
};
if (_arg5 == null){
_arg5 = Align.center;
};
super(_arg1, _arg3, _arg4, _arg5, _arg6);
this.selectable = true;
super.mouseChildren = true;
this.buttonMode = true;
this.mouseEnabled = true;
this.useHandCursor = true;
this.actionOnNextLine = _arg7;
_actions = [];
_local8 = 0;
while (_local8 < _arg2.length) {
_arg2[_local8].container = this;
_actions.push(_arg2[_local8]);
_local8++;
};
}
protected function getAction(_arg1:String):AlertAction{
var _local2:int;
_local2 = 0;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (_actions[_local2]);
};
_local2++;
};
return (null);
}
override protected function layout():void{
super.layout();
_defineActions();
}
protected function spaces(_arg1:int):String{
var _local2:String;
var _local3:String;
var _local4:int;
_local2 = "";
_local3 = " ";
_local4 = 0;
while (_local4 < (_arg1 + 1)) {
_local2 = (_local2 + _local3);
_local4++;
};
return (_local2);
}
override public function onLink(_arg1:TextEvent):void{
var _local2:AlertAction;
if (isValidAction(_arg1.text)){
_local2 = getAction(_arg1.text);
if (_local2){
_local2.execute();
};
};
if (autoClose){
close();
};
}
protected function isValidAction(_arg1:String):Boolean{
var _local2:int;
_local2 = 0;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (true);
};
_local2++;
};
return (false);
}
private function _defineActions():void{
var _local1:String;
var _local2:Array;
var _local3:AlertAction;
var _local4:int;
_local1 = "";
if (actionOnNextLine){
_local1 = (_local1 + "\n");
} else {
_local1 = (_local1 + " |");
};
_local1 = (_local1 + " ");
_local2 = [];
_local4 = 0;
while (_local4 < _actions.length) {
_local3 = _actions[_local4];
_local2.push((((("<a href=\"event:" + _local3.activator) + "\">") + _local3.name) + "</a>"));
_local4++;
};
_local1 = (_local1 + _local2.join(" | "));
appendText(_local1, "uiAlertAction");
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 35
//AlertAction (com.google.analytics.debug.AlertAction)
package com.google.analytics.debug {
public class AlertAction {
public var container:Alert;
private var _callback;
public var name:String;
public var activator:String;
public function AlertAction(_arg1:String, _arg2:String, _arg3){
this.name = _arg1;
this.activator = _arg2;
_callback = _arg3;
}
public function execute():void{
if (_callback){
if ((_callback is Function)){
(_callback as Function)();
} else {
if ((_callback is String)){
var _local1 = container;
_local1[_callback]();
};
};
};
}
}
}//package com.google.analytics.debug
Section 36
//Align (com.google.analytics.debug.Align)
package com.google.analytics.debug {
public class Align {
private var _value:int;
private var _name:String;
public static const bottomRight:Align = new Align(18, "bottomRight");
;
public static const right:Align = new Align(16, "right");
;
public static const left:Align = new Align(32, "left");
;
public static const topRight:Align = new Align(17, "topRight");
;
public static const bottom:Align = new Align(2, "bottom");
;
public static const bottomLeft:Align = new Align(34, "bottomLeft");
;
public static const topLeft:Align = new Align(33, "topLeft");
;
public static const center:Align = new Align(0x0100, "center");
;
public static const none:Align = new Align(0, "none");
;
public static const top:Align = new Align(1, "top");
;
public function Align(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 37
//Background (com.google.analytics.debug.Background)
package com.google.analytics.debug {
import flash.display.*;
public class Background {
public static function drawRounded(_arg1, _arg2:Graphics, _arg3:uint=0, _arg4:uint=0):void{
var _local5:uint;
var _local6:uint;
var _local7:uint;
_local7 = Style.roundedCorner;
if ((((_arg3 > 0)) && ((_arg4 > 0)))){
_local5 = _arg3;
_local6 = _arg4;
} else {
_local5 = _arg1.width;
_local6 = _arg1.height;
};
if (((_arg1.stickToEdge) && (!((_arg1.alignement == Align.none))))){
switch (_arg1.alignement){
case Align.top:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, _local7, _local7);
break;
case Align.topLeft:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, 0, _local7);
break;
case Align.topRight:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, _local7, 0);
break;
case Align.bottom:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, _local7, 0, 0);
break;
case Align.bottomLeft:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, _local7, 0, 0);
break;
case Align.bottomRight:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, 0, 0, 0);
break;
case Align.left:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, _local7, 0, _local7);
break;
case Align.right:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, 0, _local7, 0);
break;
case Align.center:
_arg2.drawRoundRect(0, 0, _local5, _local6, _local7, _local7);
break;
};
} else {
_arg2.drawRoundRect(0, 0, _local5, _local6, _local7, _local7);
};
}
}
}//package com.google.analytics.debug
Section 38
//Debug (com.google.analytics.debug.Debug)
package com.google.analytics.debug {
import flash.events.*;
import flash.ui.*;
public class Debug extends Label {
private var _lines:Array;
private var _preferredForcedWidth:uint;// = 540
private var _linediff:int;// = 0
public var maxLines:uint;// = 16
public static var count:uint = 0;
public function Debug(_arg1:uint=0, _arg2:Align=null, _arg3:Boolean=false){
if (_arg2 == null){
_arg2 = Align.bottom;
};
super("", "uiLabel", _arg1, _arg2, _arg3);
this.name = ("Debug" + count++);
_lines = [];
selectable = true;
addEventListener(KeyboardEvent.KEY_DOWN, onKey);
}
public function writeBold(_arg1:String):void{
write(_arg1, true);
}
private function _getLinesToDisplay(_arg1:int=0):Array{
var _local2:Array;
var _local3:uint;
var _local4:uint;
if ((_lines.length - 1) > maxLines){
if ((_linediff <= 0)){
_linediff = (_linediff + _arg1);
} else {
if ((((_linediff > 0)) && ((_arg1 < 0)))){
_linediff = (_linediff + _arg1);
};
};
_local3 = ((_lines.length - maxLines) + _linediff);
_local4 = (_local3 + maxLines);
_local2 = _lines.slice(_local3, _local4);
} else {
_local2 = _lines;
};
return (_local2);
}
private function onKey(_arg1:KeyboardEvent=null):void{
var _local2:Array;
switch (_arg1.keyCode){
case Keyboard.DOWN:
_local2 = _getLinesToDisplay(1);
break;
case Keyboard.UP:
_local2 = _getLinesToDisplay(-1);
break;
default:
_local2 = null;
};
if (_local2 == null){
return;
};
text = _local2.join("\n");
}
override public function get forcedWidth():uint{
if (this.parent){
if (UISprite(this.parent).forcedWidth > _preferredForcedWidth){
return (_preferredForcedWidth);
};
return (UISprite(this.parent).forcedWidth);
//unresolved jump
};
return (super.forcedWidth);
}
public function write(_arg1:String, _arg2:Boolean=false):void{
var _local3:Array;
if (_arg1.indexOf("") > -1){
_local3 = _arg1.split("\n");
} else {
_local3 = [_arg1];
};
var _local4 = "";
var _local5 = "";
if (_arg2){
_local4 = "<b>";
_local5 = "</b>";
};
var _local6:int;
while (_local6 < _local3.length) {
_lines.push(((_local4 + _local3[_local6]) + _local5));
_local6++;
};
var _local7:Array = _getLinesToDisplay();
text = _local7.join("\n");
}
public function close():void{
dispose();
}
override protected function dispose():void{
removeEventListener(KeyboardEvent.KEY_DOWN, onKey);
super.dispose();
}
}
}//package com.google.analytics.debug
Section 39
//DebugConfiguration (com.google.analytics.debug.DebugConfiguration)
package com.google.analytics.debug {
import flash.net.*;
import flash.utils.*;
import com.google.analytics.core.*;
import flash.ui.*;
public class DebugConfiguration {
public var showHideKey:Number;
private var _mode:VisualDebugMode;
private var _verbose:Boolean;// = false
public var destroyKey:Number;
public var GIFRequests:Boolean;// = false
public var showInfos:Boolean;// = true
public var infoTimeout:Number;// = 1000
public var minimizedOnStart:Boolean;// = false
private var _active:Boolean;// = false
public var traceOutput:Boolean;// = false
public var layout:ILayout;
public var warningTimeout:Number;// = 1500
public var javascript:Boolean;// = false
public var showWarnings:Boolean;// = true
private var _visualInitialized:Boolean;// = false
public function DebugConfiguration(){
_mode = VisualDebugMode.basic;
showHideKey = Keyboard.SPACE;
destroyKey = Keyboard.BACKSPACE;
super();
}
public function get verbose():Boolean{
return (_verbose);
}
public function set verbose(_arg1:Boolean):void{
_verbose = _arg1;
}
public function set mode(_arg1):void{
if ((_arg1 is String)){
switch (_arg1){
case "geek":
_arg1 = VisualDebugMode.geek;
break;
case "advanced":
_arg1 = VisualDebugMode.advanced;
break;
case "basic":
default:
_arg1 = VisualDebugMode.basic;
};
};
_mode = _arg1;
}
public function success(_arg1:String):void{
if (layout){
layout.createSuccessAlert(_arg1);
};
if (traceOutput){
trace((("[+] " + _arg1) + " !!"));
};
}
public function get active():Boolean{
return (_active);
}
private function _initializeVisual():void{
if (layout){
layout.init();
_visualInitialized = true;
};
}
private function _destroyVisual():void{
if (((layout) && (_visualInitialized))){
layout.destroy();
};
}
public function warning(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showWarnings))){
layout.createWarning(_arg1);
};
if (traceOutput){
trace((("## " + _arg1) + " ##"));
};
}
private function _filter(_arg1:VisualDebugMode=null):Boolean{
return (((_arg1) && ((int(_arg1) >= int(this.mode)))));
}
public function failure(_arg1:String):void{
if (layout){
layout.createFailureAlert(_arg1);
};
if (traceOutput){
trace((("[-] " + _arg1) + " !!"));
};
}
public function get mode(){
return (_mode);
}
public function set active(_arg1:Boolean):void{
_active = _arg1;
if (_active){
_initializeVisual();
} else {
_destroyVisual();
};
}
protected function trace(_arg1:String):void{
var _local7:Array;
var _local8:int;
var _local2:Array = [];
var _local3 = "";
var _local4 = "";
if (this.mode == VisualDebugMode.geek){
_local3 = (getTimer() + " - ");
_local4 = (new Array(_local3.length).join(" ") + " ");
};
if (_arg1.indexOf("\n") > -1){
_local7 = _arg1.split("\n");
_local8 = 0;
while (_local8 < _local7.length) {
if (_local7[_local8] == ""){
} else {
if (_local8 == 0){
_local2.push((_local3 + _local7[_local8]));
} else {
_local2.push((_local4 + _local7[_local8]));
};
};
_local8++;
};
} else {
_local2.push((_local3 + _arg1));
};
var _local5:int = _local2.length;
var _local6:int;
while (_local6 < _local5) {
trace(_local2[_local6]);
_local6++;
};
}
public function alert(_arg1:String):void{
if (layout){
layout.createAlert(_arg1);
};
if (traceOutput){
trace((("!! " + _arg1) + " !!"));
};
}
public function info(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showInfos))){
layout.createInfo(_arg1);
};
if (traceOutput){
trace(_arg1);
};
}
public function alertGifRequest(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
if (layout){
layout.createGIFRequestAlert(_arg1, _arg2, _arg3);
};
if (traceOutput){
trace(((">> " + _arg1) + " <<"));
};
}
}
}//package com.google.analytics.debug
Section 40
//FailureAlert (com.google.analytics.debug.FailureAlert)
package com.google.analytics.debug {
public class FailureAlert extends Alert {
public function FailureAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align;
var _local5:Boolean;
var _local6:Boolean;
_local4 = Align.bottomLeft;
_local5 = true;
_local6 = false;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Failure</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiFailure", Style.failureColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 41
//GIFRequestAlert (com.google.analytics.debug.GIFRequestAlert)
package com.google.analytics.debug {
public class GIFRequestAlert extends Alert {
public function GIFRequestAlert(_arg1:String, _arg2:Array){
super(_arg1, _arg2);
}
}
}//package com.google.analytics.debug
Section 42
//ILayout (com.google.analytics.debug.ILayout)
package com.google.analytics.debug {
import flash.net.*;
import com.google.analytics.core.*;
import flash.display.*;
public interface ILayout {
function createWarning(_arg1:String):void;
function addToStage(_arg1:DisplayObject):void;
function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void;
function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void;
function createInfo(_arg1:String):void;
function createFailureAlert(_arg1:String):void;
function addToPanel(_arg1:String, _arg2:DisplayObject):void;
function init():void;
function createSuccessAlert(_arg1:String):void;
function createVisualDebug():void;
function createAlert(_arg1:String):void;
function destroy():void;
function bringToFront(_arg1:DisplayObject):void;
function isAvailable():Boolean;
}
}//package com.google.analytics.debug
Section 43
//Info (com.google.analytics.debug.Info)
package com.google.analytics.debug {
import flash.utils.*;
import flash.events.*;
public class Info extends Label {
private var _timer:Timer;
public function Info(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiInfo", Style.infoColor, Align.top, true);
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 44
//Label (com.google.analytics.debug.Label)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class Label extends UISprite {
private var _color:uint;
private var _background:Shape;
private var _textField:TextField;
public var stickToEdge:Boolean;
private var _text:String;
protected var selectable:Boolean;
private var _tag:String;
public static var count:uint = 0;
public function Label(_arg1:String="", _arg2:String="uiLabel", _arg3:uint=0, _arg4:Align=null, _arg5:Boolean=false){
this.name = ("Label" + count++);
selectable = false;
_background = new Shape();
_textField = new TextField();
_text = _arg1;
_tag = _arg2;
if (_arg4 == null){
_arg4 = Align.none;
};
this.alignement = _arg4;
this.stickToEdge = _arg5;
if (_arg3 == 0){
_arg3 = Style.backgroundColor;
};
_color = _arg3;
_textField.addEventListener(TextEvent.LINK, onLink);
}
public function get tag():String{
return (_tag);
}
private function _draw():void{
var _local1:Graphics = _background.graphics;
_local1.clear();
_local1.beginFill(_color);
var _local2:uint = _textField.width;
var _local3:uint = _textField.height;
if (forcedWidth > 0){
_local2 = forcedWidth;
};
Background.drawRounded(this, _local1, _local2, _local3);
_local1.endFill();
}
public function get text():String{
return (_textField.text);
}
public function appendText(_arg1:String, _arg2:String=""):void{
if (_arg1 == ""){
return;
};
if (_arg2 == ""){
_arg2 = tag;
};
_textField.htmlText = (_textField.htmlText + (((("<span class=\"" + _arg2) + "\">") + _arg1) + "</span>"));
_text = (_text + _arg1);
_draw();
resize();
}
public function set text(_arg1:String):void{
if (_arg1 == ""){
_arg1 = _text;
};
_textField.htmlText = (((("<span class=\"" + tag) + "\">") + _arg1) + "</span>");
_text = _arg1;
_draw();
resize();
}
override protected function layout():void{
_textField.type = TextFieldType.DYNAMIC;
_textField.autoSize = TextFieldAutoSize.LEFT;
_textField.background = false;
_textField.selectable = selectable;
_textField.multiline = true;
_textField.styleSheet = Style.sheet;
this.text = _text;
addChild(_background);
addChild(_textField);
}
public function set tag(_arg1:String):void{
_tag = _arg1;
text = "";
}
public function onLink(_arg1:TextEvent):void{
}
override protected function dispose():void{
_textField.removeEventListener(TextEvent.LINK, onLink);
super.dispose();
}
}
}//package com.google.analytics.debug
Section 45
//Layout (com.google.analytics.debug.Layout)
package com.google.analytics.debug {
import flash.net.*;
import com.google.analytics.core.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.*;
public class Layout implements ILayout {
private var _display:DisplayObject;
private var _infoQueue:Array;
private var _maxCharPerLine:int;// = 85
private var _hasInfo:Boolean;
private var _warningQueue:Array;
private var _hasDebug:Boolean;
private var _hasWarning:Boolean;
private var _mainPanel:Panel;
private var _GRAlertQueue:Array;
private var _debug:DebugConfiguration;
public var visualDebug:Debug;
private var _hasGRAlert:Boolean;
public function Layout(_arg1:DebugConfiguration, _arg2:DisplayObject){
_display = _arg2;
_debug = _arg1;
_hasWarning = false;
_hasInfo = false;
_hasDebug = false;
_hasGRAlert = false;
_warningQueue = [];
_infoQueue = [];
_GRAlertQueue = [];
}
private function onKey(_arg1:KeyboardEvent=null):void{
switch (_arg1.keyCode){
case _debug.showHideKey:
_mainPanel.visible = !(_mainPanel.visible);
break;
case _debug.destroyKey:
destroy();
break;
};
}
public function createWarning(_arg1:String):void{
if (((_hasWarning) || (!(isAvailable())))){
_warningQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasWarning = true;
var _local2:Warning = new Warning(_arg1, _debug.warningTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearWarning, false, 0, true);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function bringToFront(_arg1:DisplayObject):void{
_display.stage.setChildIndex(_arg1, (_display.stage.numChildren - 1));
}
public function createFailureAlert(_arg1:String):void{
var _local2:AlertAction;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
var _local3:Alert = new FailureAlert(_debug, _arg1, [_local2]);
addToPanel("analytics", _local3);
if (_hasDebug){
if (_debug.verbose){
_arg1 = _arg1.split("\n").join("");
_arg1 = _filterMaxChars(_arg1, 66);
};
visualDebug.writeBold(_arg1);
};
}
public function init():void{
var _local1 = 10;
var _local2:uint = (_display.stage.stageWidth - (_local1 * 2));
var _local3:uint = (_display.stage.stageHeight - (_local1 * 2));
var _local4:Panel = new Panel("analytics", _local2, _local3);
_local4.alignement = Align.top;
_local4.stickToEdge = false;
_local4.title = ("Google Analytics v" + GATracker.version);
_mainPanel = _local4;
addToStage(_local4);
bringToFront(_local4);
if (_debug.minimizedOnStart){
_mainPanel.onToggle();
};
createVisualDebug();
_display.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKey, false, 0, true);
}
public function addToPanel(_arg1:String, _arg2:DisplayObject):void{
var _local4:Panel;
var _local3:DisplayObject = _display.stage.getChildByName(_arg1);
if (_local3){
_local4 = (_local3 as Panel);
_local4.addData(_arg2);
} else {
trace((("panel \"" + _arg1) + "\" not found"));
};
}
private function _clearInfo(_arg1:Event):void{
_hasInfo = false;
if (_infoQueue.length > 0){
createInfo(_infoQueue.shift());
};
}
private function _filterMaxChars(_arg1:String, _arg2:int=0):String{
var _local6:String;
var _local3 = "\n";
var _local4:Array = [];
var _local5:Array = _arg1.split(_local3);
if (_arg2 == 0){
_arg2 = _maxCharPerLine;
};
var _local7:int;
while (_local7 < _local5.length) {
_local6 = _local5[_local7];
while (_local6.length > _arg2) {
_local4.push(_local6.substr(0, _arg2));
_local6 = _local6.substring(_arg2);
};
_local4.push(_local6);
_local7++;
};
return (_local4.join(_local3));
}
private function _clearGRAlert(_arg1:Event):void{
_hasGRAlert = false;
if (_GRAlertQueue.length > 0){
createGIFRequestAlert.apply(this, _GRAlertQueue.shift());
};
}
public function createSuccessAlert(_arg1:String):void{
var _local2:AlertAction;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
var _local3:Alert = new SuccessAlert(_debug, _arg1, [_local2]);
addToPanel("analytics", _local3);
if (_hasDebug){
if (_debug.verbose){
_arg1 = _arg1.split("\n").join("");
_arg1 = _filterMaxChars(_arg1, 66);
};
visualDebug.writeBold(_arg1);
};
}
public function isAvailable():Boolean{
return (!((_display.stage == null)));
}
public function createAlert(_arg1:String):void{
_arg1 = _filterMaxChars(_arg1);
var _local2:Alert = new Alert(_arg1, [new AlertAction("Close", "close", "close")]);
addToPanel("analytics", _local2);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function createInfo(_arg1:String):void{
if (((_hasInfo) || (!(isAvailable())))){
_infoQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasInfo = true;
var _local2:Info = new Info(_arg1, _debug.infoTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearInfo, false, 0, true);
if (_hasDebug){
visualDebug.write(_arg1);
};
}
public function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
var message = _arg1;
var request = _arg2;
var ref = _arg3;
if (_hasGRAlert){
_GRAlertQueue.push([message, request, ref]);
return;
};
_hasGRAlert = true;
var f:Function = function ():void{
ref.sendRequest(request);
};
message = _filterMaxChars(message);
var gra:GIFRequestAlert = new GIFRequestAlert(message, [new AlertAction("OK", "ok", f), new AlertAction("Cancel", "cancel", "close")]);
addToPanel("analytics", gra);
gra.addEventListener(Event.REMOVED_FROM_STAGE, _clearGRAlert, false, 0, true);
if (_hasDebug){
if (_debug.verbose){
message = message.split("\n").join("");
message = _filterMaxChars(message, 66);
};
visualDebug.write(message);
};
}
public function createVisualDebug():void{
if (!visualDebug){
visualDebug = new Debug();
visualDebug.alignement = Align.bottom;
visualDebug.stickToEdge = true;
addToPanel("analytics", visualDebug);
_hasDebug = true;
};
}
public function addToStage(_arg1:DisplayObject):void{
_display.stage.addChild(_arg1);
}
private function _clearWarning(_arg1:Event):void{
_hasWarning = false;
if (_warningQueue.length > 0){
createWarning(_warningQueue.shift());
};
}
public function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void{
var _local4:Panel = new Panel(_arg1, _arg2, _arg3);
_local4.alignement = Align.center;
_local4.stickToEdge = false;
addToStage(_local4);
bringToFront(_local4);
}
public function destroy():void{
_mainPanel.close();
_debug.layout = null;
}
}
}//package com.google.analytics.debug
Section 46
//Margin (com.google.analytics.debug.Margin)
package com.google.analytics.debug {
public class Margin {
public var bottom:int;
public var top:int;
public var right:int;
public var left:int;
public function Margin(_arg1:int=0, _arg2:int=0, _arg3:int=0, _arg4:int=0){
this.top = _arg1;
this.bottom = _arg2;
this.left = _arg3;
this.right = _arg4;
}
}
}//package com.google.analytics.debug
Section 47
//Panel (com.google.analytics.debug.Panel)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class Panel extends UISprite {
private var _savedH:uint;
private var _data:UISprite;
private var _mask:Sprite;
private var _background:Shape;
private var _savedW:uint;
private var _stickToEdge:Boolean;
private var _border:Shape;
private var _borderColor:uint;
protected var baseAlpha:Number;
private var _backgroundColor:uint;
private var _title:Label;
private var _colapsed:Boolean;
private var _name:String;
public function Panel(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint=0, _arg5:uint=0, _arg6:Number=0.3, _arg7:Align=null, _arg8:Boolean=false){
_name = _arg1;
this.name = _arg1;
this.mouseEnabled = false;
_colapsed = false;
forcedWidth = _arg2;
forcedHeight = _arg3;
this.baseAlpha = _arg6;
_background = new Shape();
_data = new UISprite();
_data.forcedWidth = _arg2;
_data.forcedHeight = _arg3;
_data.mouseEnabled = false;
_title = new Label(_arg1, "uiLabel", 0xFFFFFF, Align.topLeft, _arg8);
_title.buttonMode = true;
_title.margin.top = 0.6;
_title.margin.left = 0.6;
_title.addEventListener(MouseEvent.CLICK, onToggle);
_title.mouseChildren = false;
_border = new Shape();
_mask = new Sprite();
_mask.useHandCursor = false;
_mask.mouseEnabled = false;
_mask.mouseChildren = false;
if (_arg7 == null){
_arg7 = Align.none;
};
this.alignement = _arg7;
this.stickToEdge = _arg8;
if (_arg4 == 0){
_arg4 = Style.backgroundColor;
};
_backgroundColor = _arg4;
if (_arg5 == 0){
_arg5 = Style.borderColor;
};
_borderColor = _arg5;
}
public function get stickToEdge():Boolean{
return (_stickToEdge);
}
public function onToggle(_arg1:MouseEvent=null):void{
if (_colapsed){
_data.visible = true;
} else {
_data.visible = false;
};
_colapsed = !(_colapsed);
_update();
resize();
}
public function set stickToEdge(_arg1:Boolean):void{
_stickToEdge = _arg1;
_title.stickToEdge = _arg1;
}
override protected function dispose():void{
_title.removeEventListener(MouseEvent.CLICK, onToggle);
super.dispose();
}
private function _draw():void{
var _local1:uint;
var _local2:uint;
if (((_savedW) && (_savedH))){
forcedWidth = _savedW;
forcedHeight = _savedH;
};
if (!_colapsed){
_local1 = forcedWidth;
_local2 = forcedHeight;
} else {
_local1 = _title.width;
_local2 = _title.height;
_savedW = forcedWidth;
_savedH = forcedHeight;
forcedWidth = _local1;
forcedHeight = _local2;
};
var _local3:Graphics = _background.graphics;
_local3.clear();
_local3.beginFill(_backgroundColor);
Background.drawRounded(this, _local3, _local1, _local2);
_local3.endFill();
var _local4:Graphics = _data.graphics;
_local4.clear();
_local4.beginFill(_backgroundColor, 0);
Background.drawRounded(this, _local4, _local1, _local2);
_local4.endFill();
var _local5:Graphics = _border.graphics;
_local5.clear();
_local5.lineStyle(0.1, _borderColor);
Background.drawRounded(this, _local5, _local1, _local2);
_local5.endFill();
var _local6:Graphics = _mask.graphics;
_local6.clear();
_local6.beginFill(_backgroundColor);
Background.drawRounded(this, _local6, (_local1 + 1), (_local2 + 1));
_local6.endFill();
}
public function get title():String{
return (_title.text);
}
private function _update():void{
_draw();
if (baseAlpha < 1){
_background.alpha = baseAlpha;
_border.alpha = baseAlpha;
};
}
public function addData(_arg1:DisplayObject):void{
_data.addChild(_arg1);
}
override protected function layout():void{
_update();
addChild(_background);
addChild(_data);
addChild(_title);
addChild(_border);
addChild(_mask);
mask = _mask;
}
public function set title(_arg1:String):void{
_title.text = _arg1;
}
public function close():void{
dispose();
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 48
//Style (com.google.analytics.debug.Style)
package com.google.analytics.debug {
public const Style:_Style = new _Style();
}//package com.google.analytics.debug
Section 49
//SuccessAlert (com.google.analytics.debug.SuccessAlert)
package com.google.analytics.debug {
public class SuccessAlert extends Alert {
public function SuccessAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align;
var _local5:Boolean;
var _local6:Boolean;
_local4 = Align.bottomLeft;
_local5 = true;
_local6 = false;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Success</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiSuccess", Style.successColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 50
//UISprite (com.google.analytics.debug.UISprite)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class UISprite extends Sprite {
private var _forcedHeight:uint;
protected var listenResize:Boolean;
public var alignement:Align;
private var _forcedWidth:uint;
public var margin:Margin;
protected var alignTarget:DisplayObject;
public function UISprite(_arg1:DisplayObject=null){
listenResize = false;
alignement = Align.none;
this.alignTarget = _arg1;
margin = new Margin();
addEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
addEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
}
protected function dispose():void{
var _local1:DisplayObject;
var _local2:int;
_local2 = 0;
while (_local2 < numChildren) {
_local1 = getChildAt(_local2);
if (_local1){
removeChild(_local1);
};
_local2++;
};
}
protected function layout():void{
}
public function get forcedHeight():uint{
if (_forcedHeight){
return (_forcedHeight);
};
return (height);
}
public function alignTo(_arg1:Align, _arg2:DisplayObject=null):void{
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:UISprite;
if (_arg2 == null){
if ((parent is Stage)){
_arg2 = this.stage;
} else {
_arg2 = parent;
};
};
if (_arg2 == this.stage){
if (this.stage == null){
return;
};
_local3 = this.stage.stageHeight;
_local4 = this.stage.stageWidth;
_local5 = 0;
_local6 = 0;
} else {
_local7 = (_arg2 as UISprite);
if (_local7.forcedHeight){
_local3 = _local7.forcedHeight;
} else {
_local3 = _local7.height;
};
if (_local7.forcedWidth){
_local4 = _local7.forcedWidth;
} else {
_local4 = _local7.width;
};
_local5 = 0;
_local6 = 0;
};
switch (_arg1){
case Align.top:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (_local6 + margin.top);
break;
case Align.bottom:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.left:
x = (_local5 + margin.left);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.right:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.center:
x = ((_local4 / 2) - (forcedWidth / 2));
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.topLeft:
x = (_local5 + margin.left);
y = (_local6 + margin.top);
break;
case Align.topRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (_local6 + margin.top);
break;
case Align.bottomLeft:
x = (_local5 + margin.left);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.bottomRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
};
if (((!(listenResize)) && (!((_arg1 == Align.none))))){
_arg2.addEventListener(Event.RESIZE, onResize, false, 0, true);
listenResize = true;
};
this.alignement = _arg1;
this.alignTarget = _arg2;
}
public function get forcedWidth():uint{
if (_forcedWidth){
return (_forcedWidth);
};
return (width);
}
protected function onResize(_arg1:Event):void{
resize();
}
private function _onRemovedFromStage(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
removeEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
dispose();
}
public function resize():void{
if (alignement != Align.none){
alignTo(alignement, alignTarget);
};
}
private function _onAddedToStage(_arg1:Event):void{
layout();
resize();
}
public function set forcedHeight(_arg1:uint):void{
_forcedHeight = _arg1;
}
public function set forcedWidth(_arg1:uint):void{
_forcedWidth = _arg1;
}
}
}//package com.google.analytics.debug
Section 51
//Warning (com.google.analytics.debug.Warning)
package com.google.analytics.debug {
import flash.utils.*;
import flash.events.*;
public class Warning extends Label {
private var _timer:Timer;
public function Warning(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiWarning", Style.warningColor, Align.top, false);
margin.top = 32;
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 52
//VisualDebugMode (com.google.analytics.debug.VisualDebugMode)
package com.google.analytics.debug {
public class VisualDebugMode {
private var _value:int;
private var _name:String;
public static const advanced:VisualDebugMode = new VisualDebugMode(1, "advanced");
;
public static const geek:VisualDebugMode = new VisualDebugMode(2, "geek");
;
public static const basic:VisualDebugMode = new VisualDebugMode(0, "basic");
;
public function VisualDebugMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 53
//AnalyticsEvent (com.google.analytics.events.AnalyticsEvent)
package com.google.analytics.events {
import flash.events.*;
import com.google.analytics.*;
public class AnalyticsEvent extends Event {
public var tracker:AnalyticsTracker;
public static const READY:String = "ready";
public function AnalyticsEvent(_arg1:String, _arg2:AnalyticsTracker, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.tracker = _arg2;
}
override public function clone():Event{
return (new AnalyticsEvent(type, tracker, bubbles, cancelable));
}
}
}//package com.google.analytics.events
Section 54
//AdSenseGlobals (com.google.analytics.external.AdSenseGlobals)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class AdSenseGlobals extends JavascriptProxy {
private var _gaGlobalVerified:Boolean;// = false
public static var gaGlobal_js:XML = <script>
<![CDATA[
function()
{
try
{
gaGlobal
}
catch(e)
{
gaGlobal = {} ;
}
}
]]>
</script>
;
public function AdSenseGlobals(_arg1:DebugConfiguration){
_gaGlobalVerified = false;
super(_arg1);
}
public function set vid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.vid", _arg1);
}
public function get hid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.hid"));
}
public function get dh():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.dh"));
}
public function get gaGlobal():Object{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal"));
}
public function set hid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.hid", _arg1);
}
public function get sid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.sid"));
}
private function _verify():void{
if (!_gaGlobalVerified){
executeBlock(gaGlobal_js);
_gaGlobalVerified = true;
};
}
public function get vid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.vid"));
}
public function set sid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.sid", _arg1);
}
}
}//package com.google.analytics.external
Section 55
//HTMLDOM (com.google.analytics.external.HTMLDOM)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class HTMLDOM extends JavascriptProxy {
private var _referrer:String;
private var _protocol:String;
private var _host:String;
private var _location:String;
private var _pathname:String;
private var _title:String;
private var _characterSet:String;
private var _search:String;
private var _language:String;
private var _colorDepth:String;
public static var cache_properties_js:XML = <script>
<![CDATA[
function()
{
var obj = {};
obj.host = document.location.host;
obj.language = navigator.language ? navigator.language : navigator.browserLanguage;
obj.characterSet = document.characterSet ? document.characterSet : document.charset;
obj.colorDepth = window.screen.colorDepth;
obj.location = document.location.toString();
obj.pathname = document.location.pathname;
obj.protocol = document.location.protocol;
obj.search = document.location.search;
obj.referrer = document.referrer;
obj.title = document.title;
return obj;
}
]]>
</script>
;
public function HTMLDOM(_arg1:DebugConfiguration){
super(_arg1);
}
public function get search():String{
if (_search){
return (_search);
};
if (!isAvailable()){
return (null);
};
_search = getProperty("document.location.search");
return (_search);
}
public function get location():String{
if (_location){
return (_location);
};
if (!isAvailable()){
return (null);
};
_location = getPropertyString("document.location");
return (_location);
}
public function get pathname():String{
if (_pathname){
return (_pathname);
};
if (!isAvailable()){
return (null);
};
_pathname = getProperty("document.location.pathname");
return (_pathname);
}
public function get referrer():String{
if (_referrer){
return (_referrer);
};
if (!isAvailable()){
return (null);
};
_referrer = getProperty("document.referrer");
return (_referrer);
}
public function get protocol():String{
if (_protocol){
return (_protocol);
};
if (!isAvailable()){
return (null);
};
_protocol = getProperty("document.location.protocol");
return (_protocol);
}
public function cacheProperties():void{
var _local1:Object;
if (!isAvailable()){
return;
};
_local1 = call(cache_properties_js);
if (_local1){
_host = _local1.host;
_language = _local1.language;
_characterSet = _local1.characterSet;
_colorDepth = _local1.colorDepth;
_location = _local1.location;
_pathname = _local1.pathname;
_protocol = _local1.protocol;
_search = _local1.search;
_referrer = _local1.referrer;
_title = _local1.title;
};
}
public function get colorDepth():String{
if (_colorDepth){
return (_colorDepth);
};
if (!isAvailable()){
return (null);
};
_colorDepth = getProperty("window.screen.colorDepth");
return (_colorDepth);
}
public function get title():String{
if (_title){
return (_title);
};
if (!isAvailable()){
return (null);
};
_title = getProperty("document.title");
return (_title);
}
public function get host():String{
if (_host){
return (_host);
};
if (!isAvailable()){
return (null);
};
_host = getProperty("document.location.host");
return (_host);
}
public function get characterSet():String{
var _local1:String;
if (_characterSet){
return (_characterSet);
};
if (!isAvailable()){
return (null);
};
_local1 = getProperty("document.characterSet");
if (_local1 == null){
_local1 = getProperty("document.charset");
};
_characterSet = _local1;
return (_characterSet);
}
public function get language():String{
var _local1:String;
if (_language){
return (_language);
};
if (!isAvailable()){
return (null);
};
_local1 = getProperty("navigator.language");
if (_local1 == null){
_local1 = getProperty("navigator.browserLanguage");
};
_language = _local1;
return (_language);
}
}
}//package com.google.analytics.external
Section 56
//JavascriptProxy (com.google.analytics.external.JavascriptProxy)
package com.google.analytics.external {
import com.google.analytics.debug.*;
import flash.external.*;
import flash.system.*;
public class JavascriptProxy {
private var _notAvailableWarning:Boolean;// = true
private var _debug:DebugConfiguration;
public static var setProperty_js:XML = <script>
<![CDATA[
function( path , value )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
target[ prop ] = value ;
}
]]>
</script>
;
public static var hasProperty_js:XML = <script>
<![CDATA[
function( path )
{
var paths;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
}
else
{
paths = [path];
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
if( target )
{
return true;
}
else
{
return false;
}
}
]]>
</script>
;
public static var setPropertyRef_js:XML = <script>
<![CDATA[
function( path , target )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
alert( "paths:"+paths.length+", prop:"+prop );
var targets;
var name;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
alert( "targets:"+targets.length+", name:"+name );
var root = window;
var len = paths.length;
for( var i = 0 ; i < len ; i++ )
{
root = root[ paths[i] ] ;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
root[ prop ] = ref[name] ;
}
]]>
</script>
;
public function JavascriptProxy(_arg1:DebugConfiguration){
_notAvailableWarning = true;
super();
_debug = _arg1;
}
public function getProperty(_arg1:String){
return (call((_arg1 + ".valueOf")));
}
public function hasProperty(_arg1:String):Boolean{
return (call(hasProperty_js, _arg1));
}
public function setProperty(_arg1:String, _arg2):void{
call(setProperty_js, _arg1, _arg2);
}
public function executeBlock(_arg1:String):void{
var data = _arg1;
if (isAvailable()){
try {
ExternalInterface.call(data);
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
}
public function getPropertyString(_arg1:String):String{
return (call((_arg1 + ".toString")));
}
public function setPropertyByReference(_arg1:String, _arg2:String):void{
call(setPropertyRef_js, _arg1, _arg2);
}
public function call(_arg1:String, ... _args){
var output:String;
var functionName = _arg1;
var args = _args;
if (isAvailable()){
try {
if (((_debug.javascript) && (_debug.verbose))){
output = "";
output = ("Flash->JS: " + functionName);
output = (output + "( ");
if (args.length > 0){
output = (output + args.join(","));
};
output = (output + " )");
_debug.info(output);
};
args.unshift(functionName);
return (ExternalInterface.call.apply(ExternalInterface, args));
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
return (null);
}
public function isAvailable():Boolean{
var _local1:Boolean;
_local1 = ExternalInterface.available;
if (((_local1) && ((Capabilities.playerType == "External")))){
_local1 = false;
};
if (((((!(_local1)) && (_debug.javascript))) && (_notAvailableWarning))){
_debug.warning("ExternalInterface is not available.");
_notAvailableWarning = false;
};
return (_local1);
}
}
}//package com.google.analytics.external
Section 57
//Environment (com.google.analytics.utils.Environment)
package com.google.analytics.utils {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
import flash.system.*;
public class Environment {
private var _dom:HTMLDOM;
private var _appName:String;
private var _debug:DebugConfiguration;
private var _appVersion:Version;
private var _url:String;
private var _protocol:Protocols;
private var _userAgent:UserAgent;
public function Environment(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:DebugConfiguration=null, _arg5:HTMLDOM=null){
var _local6:Version;
super();
if (_arg2 == ""){
if (isAIR()){
_arg2 = "AIR";
} else {
_arg2 = "Flash";
};
};
if (_arg3 == ""){
_local6 = flashVersion;
} else {
_local6 = Version.fromString(_arg3);
};
_url = _arg1;
_appName = _arg2;
_appVersion = _local6;
_debug = _arg4;
_dom = _arg5;
}
public function isAIR():Boolean{
return ((((playerType == "Desktop")) && ((Security.sandboxType.toString() == "application"))));
}
public function get playerType():String{
return (Capabilities.playerType);
}
public function get locationSearch():String{
var _local1:String;
_local1 = _dom.search;
if (_local1){
return (_local1);
};
return ("");
}
public function get protocol():Protocols{
if (!_protocol){
_findProtocol();
};
return (_protocol);
}
public function get flashVersion():Version{
var _local1:Version;
_local1 = Version.fromString(Capabilities.version.split(" ")[1], ",");
return (_local1);
}
public function get screenWidth():Number{
return (Capabilities.screenResolutionX);
}
public function get languageEncoding():String{
var _local1:String;
if (System.useCodePage){
_local1 = _dom.characterSet;
if (_local1){
return (_local1);
};
return ("-");
};
return ("UTF-8");
}
public function get appName():String{
return (_appName);
}
public function get screenColorDepth():String{
var _local1:String;
var _local2:String;
switch (Capabilities.screenColor){
case "bw":
_local1 = "1";
break;
case "gray":
_local1 = "2";
break;
case "color":
default:
_local1 = "24";
};
_local2 = _dom.colorDepth;
if (_local2){
_local1 = _local2;
};
return (_local1);
}
private function _findProtocol():void{
var _local1:Protocols;
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:String;
_local1 = Protocols.none;
if (_url != ""){
_local4 = _url.toLowerCase();
_local5 = _local4.substr(0, 5);
switch (_local5){
case "file:":
_local1 = Protocols.file;
break;
case "http:":
_local1 = Protocols.HTTP;
break;
case "https":
if (_local4.charAt(5) == ":"){
_local1 = Protocols.HTTPS;
};
break;
default:
_protocol = Protocols.none;
};
};
_local2 = _dom.protocol;
_local3 = (_local1.toString() + ":").toLowerCase();
if (((((_local2) && (!((_local2 == _local3))))) && (_debug))){
_debug.warning(((("Protocol mismatch: SWF=" + _local3) + ", DOM=") + _local2));
};
_protocol = _local1;
}
public function get locationSWFPath():String{
return (_url);
}
public function get platform():String{
var _local1:String;
_local1 = Capabilities.manufacturer;
return (_local1.split("Adobe ")[1]);
}
public function get operatingSystem():String{
return (Capabilities.os);
}
public function set appName(_arg1:String):void{
_appName = _arg1;
userAgent.applicationProduct = _arg1;
}
public function get userAgent():UserAgent{
if (!_userAgent){
_userAgent = new UserAgent(this, appName, appVersion.toString(4));
};
return (_userAgent);
}
ga_internal function set url(_arg1:String):void{
_url = _arg1;
}
public function get referrer():String{
var _local1:String;
_local1 = _dom.referrer;
if (_local1){
return (_local1);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function isInHTML():Boolean{
return ((Capabilities.playerType == "PlugIn"));
}
public function get language():String{
var _local1:String;
var _local2:String;
_local1 = _dom.language;
_local2 = Capabilities.language;
if (_local1){
if ((((_local1.length > _local2.length)) && ((_local1.substr(0, _local2.length) == _local2)))){
_local2 = _local1;
};
};
return (_local2);
}
public function get domainName():String{
var _local1:String;
var _local2:String;
var _local3:int;
if ((((protocol == Protocols.HTTP)) || ((protocol == Protocols.HTTPS)))){
_local1 = _url.toLowerCase();
if (protocol == Protocols.HTTP){
_local2 = _local1.split("http://").join("");
} else {
if (protocol == Protocols.HTTPS){
_local2 = _local1.split("https://").join("");
};
};
_local3 = _local2.indexOf("/");
if (_local3 > -1){
_local2 = _local2.substring(0, _local3);
};
return (_local2);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function set userAgent(_arg1:UserAgent):void{
_userAgent = _arg1;
}
public function set appVersion(_arg1:Version):void{
_appVersion = _arg1;
userAgent.applicationVersion = _arg1.toString(4);
}
public function get screenHeight():Number{
return (Capabilities.screenResolutionY);
}
public function get locationPath():String{
var _local1:String;
_local1 = _dom.pathname;
if (_local1){
return (_local1);
};
return ("");
}
public function get documentTitle():String{
var _local1:String;
_local1 = _dom.title;
if (_local1){
return (_local1);
};
return ("");
}
public function get appVersion():Version{
return (_appVersion);
}
}
}//package com.google.analytics.utils
Section 58
//Protocols (com.google.analytics.utils.Protocols)
package com.google.analytics.utils {
public class Protocols {
private var _value:int;
private var _name:String;
public static const none:Protocols = new Protocols(0, "none");
;
public static const HTTPS:Protocols = new Protocols(3, "HTTPS");
;
public static const file:Protocols = new Protocols(1, "file");
;
public static const HTTP:Protocols = new Protocols(2, "HTTP");
;
public function Protocols(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.utils
Section 59
//Timespan (com.google.analytics.utils.Timespan)
package com.google.analytics.utils {
public class Timespan {
public static var sixmonths:Number = 15768000;
public static var twoyears:Number = 63072000;
public static var thirtyminutes:Number = 1800;
}
}//package com.google.analytics.utils
Section 60
//URL (com.google.analytics.utils.URL)
package com.google.analytics.utils {
public class URL {
private var _url:String;
public function URL(_arg1:String=""){
_url = _arg1.toLowerCase();
}
public function get domain():String{
var _local1:Array;
if (((!((hostName == ""))) && ((hostName.indexOf(".") > -1)))){
_local1 = hostName.split(".");
switch (_local1.length){
case 2:
return (hostName);
case 3:
if (_local1[1] == "co"){
return (hostName);
};
_local1.shift();
return (_local1.join("."));
case 4:
_local1.shift();
return (_local1.join("."));
};
};
return ("");
}
public function get path():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf(hostName) == 0){
_local1 = _local1.substr(hostName.length);
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[0];
};
if (_local1.charAt(0) != "/"){
_local1 = ("/" + _local1);
};
return (_local1);
}
public function get protocol():Protocols{
var _local1:String = _url.split("://")[0];
switch (_local1){
case "file":
return (Protocols.file);
case "http":
return (Protocols.HTTP);
case "https":
return (Protocols.HTTPS);
default:
return (Protocols.none);
};
}
public function get hostName():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf("/") > -1){
_local1 = _local1.split("/")[0];
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[0];
};
if ((((protocol == Protocols.file)) || ((protocol == Protocols.none)))){
return ("");
};
return (_local1);
}
public function get subDomain():String{
if (((!((domain == ""))) && (!((domain == hostName))))){
return (hostName.split(("." + domain)).join(""));
};
return ("");
}
public function get search():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf(hostName) == 0){
_local1 = _local1.substr(hostName.length);
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[1];
} else {
_local1 = "";
};
return (_local1);
}
}
}//package com.google.analytics.utils
Section 61
//UserAgent (com.google.analytics.utils.UserAgent)
package com.google.analytics.utils {
import com.google.analytics.core.*;
import flash.system.*;
public class UserAgent {
private var _version:Version;
private var _localInfo:Environment;
private var _applicationProduct:String;
public static var minimal:Boolean = false;
public function UserAgent(_arg1:Environment, _arg2:String="", _arg3:String=""){
_localInfo = _arg1;
applicationProduct = _arg2;
_version = Version.fromString(_arg3);
}
public function get tamarinProductToken():String{
if (UserAgent.minimal){
return ("");
};
if (System.vmVersion){
return (("Tamarin/" + Utils.trim(System.vmVersion, true)));
};
return ("");
}
public function set applicationProduct(_arg1:String):void{
_applicationProduct = _arg1;
}
public function get applicationVersion():String{
return (_version.toString(2));
}
public function get applicationProductToken():String{
var _local1:String;
_local1 = applicationProduct;
if (applicationVersion != ""){
_local1 = (_local1 + ("/" + applicationVersion));
};
return (_local1);
}
public function get vendorProductToken():String{
var _local1:String;
_local1 = "";
if (_localInfo.isAIR()){
_local1 = (_local1 + "AIR");
} else {
_local1 = (_local1 + "FlashPlayer");
};
_local1 = (_local1 + "/");
_local1 = (_local1 + _version.toString(3));
return (_local1);
}
public function toString():String{
var _local1:String;
_local1 = "";
_local1 = (_local1 + applicationProductToken);
if (applicationComment != ""){
_local1 = (_local1 + (" " + applicationComment));
};
if (tamarinProductToken != ""){
_local1 = (_local1 + (" " + tamarinProductToken));
};
if (vendorProductToken != ""){
_local1 = (_local1 + (" " + vendorProductToken));
};
return (_local1);
}
public function get applicationComment():String{
var _local1:Array;
_local1 = [];
_local1.push(_localInfo.platform);
_local1.push(_localInfo.playerType);
if (!UserAgent.minimal){
_local1.push(_localInfo.operatingSystem);
_local1.push(_localInfo.language);
};
if (Capabilities.isDebugger){
_local1.push("DEBUG");
};
if (_local1.length > 0){
return ((("(" + _local1.join("; ")) + ")"));
};
return ("");
}
public function set applicationVersion(_arg1:String):void{
_version = Version.fromString(_arg1);
}
public function get applicationProduct():String{
return (_applicationProduct);
}
}
}//package com.google.analytics.utils
Section 62
//Variables (com.google.analytics.utils.Variables)
package com.google.analytics.utils {
import flash.net.*;
public dynamic class Variables {
public var post:Array;
public var URIencode:Boolean;
public var pre:Array;
public var sort:Boolean;// = true
public function Variables(_arg1:String=null, _arg2:Array=null, _arg3:Array=null){
pre = [];
post = [];
super();
if (_arg1){
decode(_arg1);
};
if (_arg2){
this.pre = _arg2;
};
if (_arg3){
this.post = _arg3;
};
}
private function _join(_arg1:Variables):void{
var _local2:String;
if (!_arg1){
return;
};
for (_local2 in _arg1) {
this[_local2] = _arg1[_local2];
};
}
public function join(... _args):void{
var _local2:int = _args.length;
var _local3:int;
while (_local3 < _local2) {
if (!(_args[_local3] is Variables)){
} else {
_join(_args[_local3]);
};
_local3++;
};
}
public function toString():String{
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:String;
var _local8:String;
var _local1:Array = [];
for (_local3 in this) {
_local2 = this[_local3];
if (URIencode){
_local2 = encodeURI(_local2);
};
_local1.push(((_local3 + "=") + _local2));
};
if (sort){
_local1.sort();
};
if (pre.length > 0){
pre.reverse();
_local5 = 0;
while (_local5 < pre.length) {
_local7 = pre[_local5];
_local6 = 0;
while (_local6 < _local1.length) {
_local4 = _local1[_local6];
if (_local4.indexOf(_local7) == 0){
_local1.unshift(_local1.splice(_local6, 1)[0]);
};
_local6++;
};
_local5++;
};
pre.reverse();
};
if (post.length > 0){
_local5 = 0;
while (_local5 < post.length) {
_local8 = post[_local5];
_local6 = 0;
while (_local6 < _local1.length) {
_local4 = _local1[_local6];
if (_local4.indexOf(_local8) == 0){
_local1.push(_local1.splice(_local6, 1)[0]);
};
_local6++;
};
_local5++;
};
};
return (_local1.join("&"));
}
public function decode(_arg1:String):void{
var _local2:Array;
var _local3:String;
var _local4:String;
var _local5:String;
var _local6:Array;
if (_arg1 == ""){
return;
};
if (_arg1.indexOf("&") > -1){
_local2 = _arg1.split("&");
} else {
_local2 = [_arg1];
};
var _local7:int;
while (_local7 < _local2.length) {
_local3 = _local2[_local7];
if (_local3.indexOf("=") > -1){
_local6 = _local3.split("=");
_local4 = _local6[0];
_local5 = decodeURI(_local6[1]);
this[_local4] = _local5;
};
_local7++;
};
}
public function toURLVariables():URLVariables{
var _local2:String;
var _local1:URLVariables = new URLVariables();
for (_local2 in this) {
_local1[_local2] = this[_local2];
};
return (_local1);
}
}
}//package com.google.analytics.utils
Section 63
//Version (com.google.analytics.utils.Version)
package com.google.analytics.utils {
public class Version {
private var _maxBuild:uint;// = 0xFF
private var _maxMinor:uint;// = 15
private var _maxMajor:uint;// = 15
private var _revision:uint;
private var _separator:String;// = "."
private var _maxRevision:uint;// = 0xFFFF
private var _build:uint;
private var _minor:uint;
private var _major:uint;
public function Version(_arg1:uint=0, _arg2:uint=0, _arg3:uint=0, _arg4:uint=0){
var _local5:Version;
_maxMajor = 15;
_maxMinor = 15;
_maxBuild = 0xFF;
_maxRevision = 0xFFFF;
_separator = ".";
super();
if ((((((((_arg1 > _maxMajor)) && ((_arg2 == 0)))) && ((_arg3 == 0)))) && ((_arg4 == 0)))){
_local5 = Version.fromNumber(_arg1);
_arg1 = _local5.major;
_arg2 = _local5.minor;
_arg3 = _local5.build;
_arg4 = _local5.revision;
};
this.major = _arg1;
this.minor = _arg2;
this.build = _arg3;
this.revision = _arg4;
}
public function toString(_arg1:int=0):String{
var _local2:Array;
if ((((_arg1 <= 0)) || ((_arg1 > 4)))){
_arg1 = getFields();
};
switch (_arg1){
case 1:
_local2 = [major];
break;
case 2:
_local2 = [major, minor];
break;
case 3:
_local2 = [major, minor, build];
break;
case 4:
default:
_local2 = [major, minor, build, revision];
};
return (_local2.join(_separator));
}
public function get revision():uint{
return (_revision);
}
public function set build(_arg1:uint):void{
_build = Math.min(_arg1, _maxBuild);
}
public function set minor(_arg1:uint):void{
_minor = Math.min(_arg1, _maxMinor);
}
public function get build():uint{
return (_build);
}
public function set major(_arg1:uint):void{
_major = Math.min(_arg1, _maxMajor);
}
public function get minor():uint{
return (_minor);
}
public function valueOf():uint{
return (((((major << 28) | (minor << 24)) | (build << 16)) | revision));
}
public function get major():uint{
return (_major);
}
public function set revision(_arg1:uint):void{
_revision = Math.min(_arg1, _maxRevision);
}
private function getFields():int{
var _local1:int;
_local1 = 4;
if (revision == 0){
_local1--;
};
if ((((_local1 == 3)) && ((build == 0)))){
_local1--;
};
if ((((_local1 == 2)) && ((minor == 0)))){
_local1--;
};
return (_local1);
}
public function equals(_arg1):Boolean{
if (!(_arg1 is Version)){
return (false);
};
if ((((((((_arg1.major == major)) && ((_arg1.minor == minor)))) && ((_arg1.build == build)))) && ((_arg1.revision == revision)))){
return (true);
};
return (false);
}
public static function fromString(_arg1:String="", _arg2:String="."):Version{
var _local3:Version;
var _local4:Array;
_local3 = new (Version);
if ((((_arg1 == "")) || ((_arg1 == null)))){
return (_local3);
};
if (_arg1.indexOf(_arg2) > -1){
_local4 = _arg1.split(_arg2);
_local3.major = parseInt(_local4[0]);
_local3.minor = parseInt(_local4[1]);
_local3.build = parseInt(_local4[2]);
_local3.revision = parseInt(_local4[3]);
} else {
_local3.major = parseInt(_arg1);
};
return (_local3);
}
public static function fromNumber(_arg1:Number=0):Version{
var _local2:Version;
_local2 = new (Version);
if (((((((((((isNaN(_arg1)) || ((_arg1 == 0)))) || ((_arg1 < 0)))) || ((_arg1 == Number.MAX_VALUE)))) || ((_arg1 == Number.POSITIVE_INFINITY)))) || ((_arg1 == Number.NEGATIVE_INFINITY)))){
return (_local2);
};
_local2.major = (_arg1 >>> 28);
_local2.minor = ((_arg1 & 251658240) >>> 24);
_local2.build = ((_arg1 & 0xFF0000) >>> 16);
_local2.revision = (_arg1 & 0xFFFF);
return (_local2);
}
}
}//package com.google.analytics.utils
Section 64
//Bridge (com.google.analytics.v4.Bridge)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
public class Bridge implements GoogleAnalyticsAPI {
private var _debug:DebugConfiguration;
private var _proxy:JavascriptProxy;
private var _jsContainer:String;// = "_GATracker"
private var _hasGATracker:Boolean;// = false
private var _account:String;
private static var _linkTrackingObject_js:XML = <script>
<![CDATA[
function( container , target )
{
var targets ;
var name ;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
window[container][target] = ref[name] ;
}
]]>
</script>
;
private static var _createTrackingObject_js:XML = <script>
<![CDATA[
function( acct )
{
_GATracker[acct] = _gat._getTracker(acct);
}
]]>
</script>
;
private static var _injectTrackingObject_js:XML = <script>
<![CDATA[
function()
{
try
{
_GATracker
}
catch(e)
{
_GATracker = {};
}
}
]]>
</script>
;
private static var _checkGAJS_js:XML = <script>
<![CDATA[
function()
{
if( _gat && _gat._getTracker )
{
return true;
}
return false;
}
]]>
</script>
;
private static var _checkValidTrackingObject_js:XML = <script>
<![CDATA[
function(acct)
{
if( _GATracker[acct] && (_GATracker[acct]._getAccount) )
{
return true ;
}
else
{
return false;
}
}
]]>
</script>
;
public function Bridge(_arg1:String, _arg2:DebugConfiguration, _arg3:JavascriptProxy){
var _local4:String;
var _local5:String;
var _local6:String;
super();
_account = _arg1;
_debug = _arg2;
_proxy = _arg3;
if (!_checkGAJS()){
_local4 = "";
_local4 = (_local4 + "ga.js not found, be sure to check if\n");
_local4 = (_local4 + "<script src=\"http://www.google-analytics.com/ga.js\"></script>\n");
_local4 = (_local4 + "is included in the HTML.");
_debug.warning(_local4);
throw (new Error(_local4));
};
if (!_hasGATracker){
if (((_debug.javascript) && (_debug.verbose))){
_local5 = "";
_local5 = (_local5 + "The Google Analytics tracking code was not found on the container page\n");
_local5 = (_local5 + "we create it");
_debug.info(_local5, VisualDebugMode.advanced);
};
_injectTrackingObject();
};
if (Utils.validateAccount(_arg1)){
_createTrackingObject(_arg1);
} else {
if (_checkTrackingObject(_arg1)){
_linkTrackingObject(_arg1);
} else {
_local6 = "";
_local6 = (_local6 + (("JS Object \"" + _arg1) + "\" doesn't exist in DOM\n"));
_local6 = (_local6 + "Bridge object not created.");
_debug.warning(_local6);
throw (new Error(_local6));
};
};
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_debug.info((((("link( " + _arg1) + ", ") + _arg2) + " )"));
_call("_link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )"));
_call("_addOrganic", _arg1);
}
public function setAllowLinker(_arg1:Boolean):void{
_debug.info((("setAllowLinker( " + _arg1) + " )"));
_call("_setAllowLinker", _arg1);
}
private function _linkTrackingObject(_arg1:String):void{
_proxy.call(_linkTrackingObject_js, _jsContainer, _arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5 = 2;
if (((_arg3) && (!((_arg3 == ""))))){
_local5 = 3;
};
if ((((_local5 == 3)) && (!(isNaN(_arg4))))){
_local5 = 4;
};
switch (_local5){
case 4:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2, _arg3, _arg4));
case 3:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2, _arg3));
case 2:
default:
_debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2));
};
}
public function setClientInfo(_arg1:Boolean):void{
_debug.info((("setClientInfo( " + _arg1) + " )"));
_call("_setClientInfo", _arg1);
}
public function trackTrans():void{
_debug.info("trackTrans()");
_call("_trackTrans");
}
public function setCookieTimeout(_arg1:int):void{
_debug.info((("setCookieTimeout( " + _arg1) + " )"));
_call("_setCookieTimeout", _arg1);
}
public function trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
_call("_trackPageview", _arg1);
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_call("_getClientInfo"));
}
private function _checkValidTrackingObject(_arg1:String):Boolean{
return (_proxy.call(_checkValidTrackingObject_js, _arg1));
}
private function _checkGAJS():Boolean{
return (_proxy.call(_checkGAJS_js));
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_debug.warning((((("linkByPost( " + _arg1) + ", ") + _arg2) + " ) not implemented"));
}
private function _call(_arg1:String, ... _args){
_args.unshift(((((("window." + _jsContainer) + "[\"") + _account) + "\"].") + _arg1));
return (_proxy.call.apply(_proxy, _args));
}
public function hasGAJS():Boolean{
return (_checkGAJS());
}
private function _checkTrackingObject(_arg1:String):Boolean{
var _local2:Boolean = _proxy.hasProperty(_arg1);
var _local3:Boolean = _proxy.hasProperty((_arg1 + "._getAccount"));
return (((_local2) && (_local3)));
}
public function resetSession():void{
_debug.warning("resetSession() not implemented");
}
public function getDetectTitle():Boolean{
_debug.info("getDetectTitle()");
return (_call("_getDetectTitle"));
}
public function setCampNameKey(_arg1:String):void{
_debug.info((("setCampNameKey( " + _arg1) + " )"));
_call("_setCampNameKey", _arg1);
}
public function setDetectFlash(_arg1:Boolean):void{
_debug.info((("setDetectFlash( " + _arg1) + " )"));
_call("_setDetectFlash", _arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
_debug.info((("createEventTracker( " + _arg1) + " )"));
return (new EventTracker(_arg1, this));
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_debug.info((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " )"));
_call("_addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function clearIgnoredOrganic():void{
_debug.info("clearIgnoredOrganic()");
_call("_clearIgnoreOrganic");
}
public function setVar(_arg1:String):void{
_debug.info((("setVar( " + _arg1) + " )"));
_call("_setVar", _arg1);
}
public function setDomainName(_arg1:String):void{
_debug.info((("setDomainName( " + _arg1) + " )"));
_call("_setDomainName", _arg1);
}
public function hasTrackingAccount(_arg1:String):Boolean{
if (Utils.validateAccount(_arg1)){
return (_checkValidTrackingObject(_arg1));
};
return (_checkTrackingObject(_arg1));
}
public function setCampSourceKey(_arg1:String):void{
_debug.info((("setCampSourceKey( " + _arg1) + " )"));
_call("_setCampSourceKey", _arg1);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
_debug.info((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " )"));
_call("_addTrans", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
return (null);
}
public function setCampContentKey(_arg1:String):void{
_debug.info((("setCampContentKey( " + _arg1) + " )"));
_call("_setCampContentKey", _arg1);
}
public function setLocalServerMode():void{
_debug.info("setLocalServerMode()");
_call("_setLocalServerMode");
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_call("_getLocalGifPath"));
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_call("_clearIgnoreRef");
}
public function setAllowAnchor(_arg1:Boolean):void{
_debug.info((("setAllowAnchor( " + _arg1) + " )"));
_call("_setAllowAnchor", _arg1);
}
public function setLocalGifPath(_arg1:String):void{
_debug.info((("setLocalGifPath( " + _arg1) + " )"));
_call("_setLocalGifPath", _arg1);
}
public function getVersion():String{
_debug.info("getVersion()");
return (_call("_getVersion"));
}
private function _injectTrackingObject():void{
_proxy.executeBlock(_injectTrackingObject_js);
_hasGATracker = true;
}
public function setCookiePath(_arg1:String):void{
_debug.info((("setCookiePath( " + _arg1) + " )"));
_call("_setCookiePath", _arg1);
}
public function setSampleRate(_arg1:Number):void{
_debug.info((("setSampleRate( " + _arg1) + " )"));
_call("_setSampleRate", _arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_debug.info((("setAllowHash( " + _arg1) + " )"));
_call("_setAllowHash", _arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_debug.info((("addIgnoredOrganic( " + _arg1) + " )"));
_call("_addIgnoredOrganic", _arg1);
}
public function setCampNOKey(_arg1:String):void{
_debug.info((("setCampNOKey( " + _arg1) + " )"));
_call("_setCampNOKey", _arg1);
}
public function cookiePathCopy(_arg1:String):void{
_debug.info((("cookiePathCopy( " + _arg1) + " )"));
_call("_cookiePathCopy", _arg1);
}
public function setLocalRemoteServerMode():void{
_debug.info("setLocalRemoteServerMode()");
_call("_setLocalRemoteServerMode");
}
public function getServiceMode():ServerOperationMode{
_debug.info("getServiceMode()");
return (_call("_getServiceMode"));
}
public function setDetectTitle(_arg1:Boolean):void{
_debug.info((("setDetectTitle( " + _arg1) + " )"));
_call("_setDetectTitle", _arg1);
}
private function _createTrackingObject(_arg1:String):void{
_proxy.call(_createTrackingObject_js, _arg1);
}
public function setCampaignTrack(_arg1:Boolean):void{
_debug.info((("setCampaignTrack( " + _arg1) + " )"));
_call("_setCampaignTrack", _arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_call("_clearOrganic");
}
public function setCampTermKey(_arg1:String):void{
_debug.info((("setCampTermKey( " + _arg1) + " )"));
_call("_setCampTermKey", _arg1);
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_call("_getDetectFlash"));
}
public function setCampMediumKey(_arg1:String):void{
_debug.info((("setCampMediumKey( " + _arg1) + " )"));
_call("_setCampMediumKey", _arg1);
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_call("_addIgnoredRef", _arg1);
}
public function setSessionTimeout(_arg1:int):void{
_debug.info((("setSessionTimeout( " + _arg1) + " )"));
_call("_setSessionTimeout", _arg1);
}
public function setRemoteServerMode():void{
_debug.info("setRemoteServerMode()");
_call("_setRemoteServerMode");
}
public function getAccount():String{
_debug.info("getAccount()");
return (_call("_getAccount"));
}
}
}//package com.google.analytics.v4
Section 65
//Configuration (com.google.analytics.v4.Configuration)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.utils.*;
import com.google.analytics.campaign.*;
public class Configuration {
public var serverMode:ServerOperationMode;
public var detectFlash:Boolean;// = true
public var allowLocalTracking:Boolean;// = true
public var secureRemoteGIFpath:String;// = "https://ssl.google-analytics.com/__utm.gif"
public var hasSiteOverlay:Boolean;// = false
private var _version:String;// = "4.3as"
public var allowDomainHash:Boolean;// = true
public var detectClientInfo:Boolean;// = true
public var idleLoop:Number;// = 30
public var isTrackOutboundSubdomains:Boolean;// = false
public var cookiePath:String;// = "/"
public var transactionFieldDelim:String;// = "|"
private var _organic:Organic;
private var _cookieName:String;// = "analytics"
public var campaignKey:CampaignKey;
public var google:String;// = "google"
public var googleCsePath:String;// = "cse"
public var bucketCapacity:Number;// = 10
private var _sampleRate:Number;// = 1
public var remoteGIFpath:String;// = "http://www.google-analytics.com/__utm.gif"
public var googleSearchParam:String;// = "q"
public var allowLinker:Boolean;// = false
public var maxOutboundLinkExamined:Number;// = 1000
private var _debug:DebugConfiguration;
private var _trackingLimitPerSession:int;// = 500
private var _domain:Domain;
public var allowAnchor:Boolean;// = false
public var tokenCliff:int;// = 10
public var sessionTimeout:Number;
public var idleTimeout:Number;// = 60
public var campaignTracking:Boolean;// = true
public var domainName:String;// = ""
public var detectTitle:Boolean;// = true
public var tokenRate:Number;// = 0.2
public var conversionTimeout:Number;
public var localGIFpath:String;// = "/__utm.gif"
public function Configuration(_arg1:DebugConfiguration=null){
_version = "4.3as";
_sampleRate = 1;
_trackingLimitPerSession = 500;
_organic = new Organic();
googleCsePath = "cse";
googleSearchParam = "q";
google = "google";
_cookieName = "analytics";
allowDomainHash = true;
allowAnchor = false;
allowLinker = false;
hasSiteOverlay = false;
tokenRate = 0.2;
conversionTimeout = Timespan.sixmonths;
sessionTimeout = Timespan.thirtyminutes;
idleLoop = 30;
idleTimeout = 60;
maxOutboundLinkExamined = 1000;
tokenCliff = 10;
bucketCapacity = 10;
detectClientInfo = true;
detectFlash = true;
detectTitle = true;
campaignKey = new CampaignKey();
campaignTracking = true;
isTrackOutboundSubdomains = false;
serverMode = ServerOperationMode.remote;
localGIFpath = "/__utm.gif";
remoteGIFpath = "http://www.google-analytics.com/__utm.gif";
secureRemoteGIFpath = "https://ssl.google-analytics.com/__utm.gif";
cookiePath = "/";
transactionFieldDelim = "|";
domainName = "";
allowLocalTracking = true;
super();
_debug = _arg1;
_domain = new Domain(DomainNameMode.auto, "", _debug);
serverMode = ServerOperationMode.remote;
_initOrganicSources();
}
public function get organic():Organic{
return (_organic);
}
public function get trackingLimitPerSession():int{
return (_trackingLimitPerSession);
}
private function _initOrganicSources():void{
addOrganicSource(google, googleSearchParam);
addOrganicSource("yahoo", "p");
addOrganicSource("msn", "q");
addOrganicSource("aol", "query");
addOrganicSource("aol", "encquery");
addOrganicSource("lycos", "query");
addOrganicSource("ask", "q");
addOrganicSource("altavista", "q");
addOrganicSource("netscape", "query");
addOrganicSource("cnn", "query");
addOrganicSource("looksmart", "qt");
addOrganicSource("about", "terms");
addOrganicSource("mamma", "query");
addOrganicSource("alltheweb", "q");
addOrganicSource("gigablast", "q");
addOrganicSource("voila", "rdata");
addOrganicSource("virgilio", "qs");
addOrganicSource("live", "q");
addOrganicSource("baidu", "wd");
addOrganicSource("alice", "qs");
addOrganicSource("yandex", "text");
addOrganicSource("najdi", "q");
addOrganicSource("aol", "q");
addOrganicSource("club-internet", "q");
addOrganicSource("mama", "query");
addOrganicSource("seznam", "q");
addOrganicSource("search", "q");
addOrganicSource("wp", "szukaj");
addOrganicSource("onet", "qt");
addOrganicSource("netsprint", "q");
addOrganicSource("google.interia", "q");
addOrganicSource("szukacz", "q");
addOrganicSource("yam", "k");
addOrganicSource("pchome", "q");
addOrganicSource("kvasir", "searchExpr");
addOrganicSource("sesam", "q");
addOrganicSource("ozu", "q");
addOrganicSource("terra", "query");
addOrganicSource("nostrum", "query");
addOrganicSource("mynet", "q");
addOrganicSource("ekolay", "q");
addOrganicSource("search.ilse", "search_for");
}
public function get sampleRate():Number{
return (_sampleRate);
}
public function get cookieName():String{
return (_cookieName);
}
public function addOrganicSource(_arg1:String, _arg2:String):void{
var engine = _arg1;
var keyword = _arg2;
try {
_organic.addSource(engine, keyword);
} catch(e:Error) {
if (((_debug) && (_debug.active))){
_debug.warning(e.message);
};
};
}
public function get domain():Domain{
return (_domain);
}
public function set sampleRate(_arg1:Number):void{
if (_arg1 <= 0){
_arg1 = 0.1;
};
if (_arg1 > 1){
_arg1 = 1;
};
_arg1 = Number(_arg1.toFixed(2));
_sampleRate = _arg1;
}
public function get version():String{
return (_version);
}
}
}//package com.google.analytics.v4
Section 66
//GoogleAnalyticsAPI (com.google.analytics.v4.GoogleAnalyticsAPI)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
public interface GoogleAnalyticsAPI {
function setCampSourceKey(_arg1:String):void;
function getServiceMode():ServerOperationMode;
function resetSession():void;
function setLocalServerMode():void;
function setCampContentKey(_arg1:String):void;
function addOrganic(_arg1:String, _arg2:String):void;
function setDetectFlash(_arg1:Boolean):void;
function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object;
function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean;
function setCampTermKey(_arg1:String):void;
function setCampNameKey(_arg1:String):void;
function addIgnoredOrganic(_arg1:String):void;
function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void;
function setAllowLinker(_arg1:Boolean):void;
function getClientInfo():Boolean;
function getDetectFlash():Boolean;
function setCampaignTrack(_arg1:Boolean):void;
function createEventTracker(_arg1:String):EventTracker;
function setCookieTimeout(_arg1:int):void;
function setAllowAnchor(_arg1:Boolean):void;
function trackTrans():void;
function clearOrganic():void;
function trackPageview(_arg1:String=""):void;
function setLocalGifPath(_arg1:String):void;
function getVersion():String;
function getLocalGifPath():String;
function setVar(_arg1:String):void;
function clearIgnoredOrganic():void;
function setCampMediumKey(_arg1:String):void;
function addIgnoredRef(_arg1:String):void;
function setClientInfo(_arg1:Boolean):void;
function setCookiePath(_arg1:String):void;
function setSampleRate(_arg1:Number):void;
function setSessionTimeout(_arg1:int):void;
function setRemoteServerMode():void;
function clearIgnoredRef():void;
function setDomainName(_arg1:String):void;
function setDetectTitle(_arg1:Boolean):void;
function setAllowHash(_arg1:Boolean):void;
function getAccount():String;
function linkByPost(_arg1:Object, _arg2:Boolean=false):void;
function link(_arg1:String, _arg2:Boolean=false):void;
function setCampNOKey(_arg1:String):void;
function setLocalRemoteServerMode():void;
function cookiePathCopy(_arg1:String):void;
function getDetectTitle():Boolean;
}
}//package com.google.analytics.v4
Section 67
//Tracker (com.google.analytics.v4.Tracker)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.data.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
import com.google.analytics.campaign.*;
public class Tracker implements GoogleAnalyticsAPI {
private const EVENT_TRACKER_LABEL_KEY_NUM:int = 3;
private const EVENT_TRACKER_VALUE_VALUE_NUM:int = 1;
private const EVENT_TRACKER_PROJECT_ID:int = 5;
private const EVENT_TRACKER_OBJECT_NAME_KEY_NUM:int = 1;
private const EVENT_TRACKER_TYPE_KEY_NUM:int = 2;
private var _adSense:AdSenseGlobals;
private var _eventTracker:X10;
private var _noSessionInformation:Boolean;// = false
private var _browserInfo:BrowserInfo;
private var _debug:DebugConfiguration;
private var _isNewVisitor:Boolean;// = false
private var _buffer:Buffer;
private var _config:Configuration;
private var _x10Module:X10;
private var _campaign:CampaignManager;
private var _formatedReferrer:String;
private var _timeStamp:Number;
private var _info:Environment;
private var _domainHash:Number;
private var _campaignInfo:CampaignInfo;
private var _gifRequest:GIFRequest;
private var _hasInitData:Boolean;// = false
private var _account:String;
public function Tracker(_arg1:String, _arg2:Configuration, _arg3:DebugConfiguration, _arg4:Environment, _arg5:Buffer, _arg6:GIFRequest, _arg7:AdSenseGlobals){
var _local8:String;
super();
_account = _arg1;
_config = _arg2;
_debug = _arg3;
_info = _arg4;
_buffer = _arg5;
_gifRequest = _arg6;
_adSense = _arg7;
if (!Utils.validateAccount(_arg1)){
_local8 = (("Account \"" + _arg1) + "\" is not valid.");
_debug.warning(_local8);
throw (new Error(_local8));
};
_initData();
}
private function _doTracking():Boolean{
if (((((!((_info.protocol == Protocols.file))) && (!((_info.protocol == Protocols.none))))) && (_isNotGoogleSearch()))){
return (true);
};
if (_config.allowLocalTracking){
return (true);
};
return (false);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )"));
_config.organic.addSource(_arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
_config.allowLinker = _arg1;
_debug.info((("setAllowLinker( " + _config.allowLinker) + " )"));
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5:Boolean;
var _local6 = 2;
if (((!((_arg1 == ""))) && (!((_arg2 == ""))))){
_eventTracker.clearKey(EVENT_TRACKER_PROJECT_ID);
_eventTracker.clearValue(EVENT_TRACKER_PROJECT_ID);
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_OBJECT_NAME_KEY_NUM, _arg1);
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_TYPE_KEY_NUM, _arg2);
if (((_arg3) && (!((_arg3 == ""))))){
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_LABEL_KEY_NUM, _arg3);
_local6 = 3;
if (!isNaN(_arg4)){
_local5 = _eventTracker.setValue(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_VALUE_VALUE_NUM, _arg4);
_local6 = 4;
};
};
if (_local5){
_debug.info(((("valid event tracking call\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek);
_sendXEvent(_eventTracker);
};
} else {
_debug.warning(((("event tracking call is not valid, failed!\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek);
_local5 = false;
};
switch (_local6){
case 4:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )"));
break;
case 3:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )"));
break;
case 2:
default:
_debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )"));
};
return (_local5);
}
public function trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
if (_doTracking()){
_initData();
_trackMetrics(_arg1);
_noSessionInformation = false;
} else {
_debug.warning((("trackPageview( " + _arg1) + " ) failed"));
};
}
public function setCookieTimeout(_arg1:int):void{
_config.conversionTimeout = _arg1;
_debug.info((("setCookieTimeout( " + _config.conversionTimeout) + " )"));
}
public function trackTrans():void{
_debug.warning("trackTrans() not implemented");
}
public function setClientInfo(_arg1:Boolean):void{
_config.detectClientInfo = _arg1;
_debug.info((("setClientInfo( " + _config.detectClientInfo) + " )"));
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_debug.warning((("linkByPost( " + [_arg1, _arg2].join(", ")) + " ) not implemented"));
}
private function _initData():void{
var _local1:String;
var _local2:String;
if (!_hasInitData){
_updateDomainName();
_domainHash = _getDomainHash();
_timeStamp = Math.round((new Date().getTime() / 1000));
if (_debug.verbose){
_local1 = "";
_local1 = (_local1 + "_initData 0");
_local1 = (_local1 + ("\ndomain name: " + _config.domainName));
_local1 = (_local1 + ("\ndomain hash: " + _domainHash));
_local1 = (_local1 + (((("\ntimestamp: " + _timeStamp) + " (") + new Date((_timeStamp * 1000))) + ")"));
_debug.info(_local1, VisualDebugMode.geek);
};
};
if (_doTracking()){
_handleCookie();
};
if (!_hasInitData){
if (_doTracking()){
_formatedReferrer = _formatReferrer();
_browserInfo = new BrowserInfo(_config, _info);
_debug.info(("browserInfo: " + _browserInfo.toURLString()), VisualDebugMode.advanced);
if (_config.campaignTracking){
_campaign = new CampaignManager(_config, _debug, _buffer, _domainHash, _formatedReferrer, _timeStamp);
_campaignInfo = _campaign.getCampaignInformation(_info.locationSearch, _noSessionInformation);
_debug.info(("campaignInfo: " + _campaignInfo.toURLString()), VisualDebugMode.advanced);
};
};
_x10Module = new X10();
_eventTracker = new X10();
_hasInitData = true;
};
if (_config.hasSiteOverlay){
_debug.warning("Site Overlay is not supported");
};
if (_debug.verbose){
_local2 = "";
_local2 = (_local2 + "_initData (misc)");
_local2 = (_local2 + ("\nflash version: " + _info.flashVersion.toString(4)));
_local2 = (_local2 + ("\nprotocol: " + _info.protocol));
_local2 = (_local2 + (("\ndefault domain name (auto): \"" + _info.domainName) + "\""));
_local2 = (_local2 + ("\nlanguage: " + _info.language));
_local2 = (_local2 + ("\ndomain hash: " + _getDomainHash()));
_local2 = (_local2 + ("\nuser-agent: " + _info.userAgent));
_debug.info(_local2, VisualDebugMode.geek);
};
}
public function getDetectTitle():Boolean{
_debug.info("getDetectTitle()");
return (_config.detectTitle);
}
public function resetSession():void{
_debug.info("resetSession()");
_buffer.resetCurrentSession();
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_config.detectClientInfo);
}
private function _sendXEvent(_arg1:X10=null):void{
var _local2:Variables;
var _local3:EventInfo;
var _local4:Variables;
var _local5:Variables;
_initData();
if (_takeSample()){
_local2 = new Variables();
_local2.URIencode = true;
_local3 = new EventInfo(true, _x10Module, _arg1);
_local4 = _local3.toVariables();
_local5 = _renderMetricsSearchVariables();
_local2.join(_local4, _local5);
_gifRequest.send(_account, _local2, false, true);
};
}
public function setDetectFlash(_arg1:Boolean):void{
_config.detectFlash = _arg1;
_debug.info((("setDetectFlash( " + _config.detectFlash) + " )"));
}
public function setCampNameKey(_arg1:String):void{
_config.campaignKey.UCCN = _arg1;
var _local2 = (("setCampNameKey( " + _config.campaignKey.UCCN) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCN]"));
} else {
_debug.info(_local2);
};
}
private function _formatReferrer():String{
var _local2:String;
var _local3:URL;
var _local4:URL;
var _local1:String = _info.referrer;
if ((((_local1 == "")) || ((_local1 == "localhost")))){
_local1 = "-";
} else {
_local2 = _info.domainName;
_local3 = new URL(_local1);
_local4 = new URL(("http://" + _local2));
if (_local3.hostName == _local2){
return ("-");
};
if (_local4.domain == _local3.domain){
if (_local4.subDomain != _local3.subDomain){
_local1 = "0";
};
};
if ((((_local1.charAt(0) == "[")) && (_local1.charAt((_local1.length - 1))))){
_local1 = "-";
};
};
_debug.info(("formated referrer: " + _local1), VisualDebugMode.advanced);
return (_local1);
}
private function _visitCode():Number{
if (_debug.verbose){
_debug.info(("visitCode: " + _buffer.utma.sessionId), VisualDebugMode.geek);
};
return (_buffer.utma.sessionId);
}
public function createEventTracker(_arg1:String):EventTracker{
_debug.info((("createEventTracker( " + _arg1) + " )"));
return (new EventTracker(_arg1, this));
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_debug.warning((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " ) not implemented"));
}
public function clearIgnoredOrganic():void{
_debug.info("clearIgnoredOrganic()");
_config.organic.clearIgnoredKeywords();
}
public function setVar(_arg1:String):void{
var _local2:Variables;
if (((!((_arg1 == ""))) && (_isNotGoogleSearch()))){
_initData();
_buffer.utmv.domainHash = _domainHash;
_buffer.utmv.value = _arg1;
if (_debug.verbose){
_debug.info(_buffer.utmv.toString(), VisualDebugMode.geek);
};
_debug.info((("setVar( " + _arg1) + " )"));
if (_takeSample()){
_local2 = new Variables();
_local2.utmt = "var";
_gifRequest.send(_account, _local2);
};
} else {
_debug.warning((("setVar \"" + _arg1) + "\" is ignored"));
};
}
public function setDomainName(_arg1:String):void{
if (_arg1 == "auto"){
_config.domain.mode = DomainNameMode.auto;
} else {
if (_arg1 == "none"){
_config.domain.mode = DomainNameMode.none;
} else {
_config.domain.mode = DomainNameMode.custom;
_config.domain.name = _arg1;
};
};
_updateDomainName();
_debug.info((("setDomainName( " + _config.domainName) + " )"));
}
private function _updateDomainName():void{
var _local1:String;
if (_config.domain.mode == DomainNameMode.auto){
_local1 = _info.domainName;
if (_local1.substring(0, 4) == "www."){
_local1 = _local1.substring(4);
};
_config.domain.name = _local1;
};
_config.domainName = _config.domain.name.toLowerCase();
_debug.info(("domain name: " + _config.domainName), VisualDebugMode.advanced);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
_debug.warning((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " ) not implemented"));
return (null);
}
private function _renderMetricsSearchVariables(_arg1:String=""):Variables{
var _local4:Variables;
var _local2:Variables = new Variables();
_local2.URIencode = true;
var _local3:DocumentInfo = new DocumentInfo(_config, _info, _formatedReferrer, _arg1, _adSense);
_debug.info(("docInfo: " + _local3.toURLString()), VisualDebugMode.geek);
if (_config.campaignTracking){
_local4 = _campaignInfo.toVariables();
};
var _local5:Variables = _browserInfo.toVariables();
_local2.join(_local3.toVariables(), _local5, _local4);
return (_local2);
}
public function setCampContentKey(_arg1:String):void{
_config.campaignKey.UCCT = _arg1;
var _local2 = (("setCampContentKey( " + _config.campaignKey.UCCT) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCT]"));
} else {
_debug.info(_local2);
};
}
private function _handleCookie():void{
var _local1:String;
var _local2:String;
var _local3:Array;
var _local4:String;
if (_config.allowLinker){
};
if (((_buffer.hasUTMA()) && (!(_buffer.utma.isEmpty())))){
if (((!(_buffer.hasUTMB())) || (!(_buffer.hasUTMC())))){
_buffer.updateUTMA(_timeStamp);
_noSessionInformation = true;
};
if (_debug.verbose){
_debug.info(("from cookie " + _buffer.utma.toString()), VisualDebugMode.geek);
};
} else {
_debug.info("create a new utma", VisualDebugMode.advanced);
_buffer.utma.domainHash = _domainHash;
_buffer.utma.sessionId = _getUniqueSessionId();
_buffer.utma.firstTime = _timeStamp;
_buffer.utma.lastTime = _timeStamp;
_buffer.utma.currentTime = _timeStamp;
_buffer.utma.sessionCount = 1;
if (_debug.verbose){
_debug.info(_buffer.utma.toString(), VisualDebugMode.geek);
};
_noSessionInformation = true;
_isNewVisitor = true;
};
if (((_adSense.gaGlobal) && ((_adSense.dh == String(_domainHash))))){
if (_adSense.sid){
_buffer.utma.currentTime = Number(_adSense.sid);
if (_debug.verbose){
_local1 = "";
_local1 = (_local1 + "AdSense sid found\n");
_local1 = (_local1 + (((("Override currentTime(" + _buffer.utma.currentTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")"));
_debug.info(_local1, VisualDebugMode.geek);
};
};
if (_isNewVisitor){
if (_adSense.sid){
_buffer.utma.lastTime = Number(_adSense.sid);
if (_debug.verbose){
_local2 = "";
_local2 = (_local2 + "AdSense sid found (new visitor)\n");
_local2 = (_local2 + (((("Override lastTime(" + _buffer.utma.lastTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")"));
_debug.info(_local2, VisualDebugMode.geek);
};
};
if (_adSense.vid){
_local3 = _adSense.vid.split(".");
_buffer.utma.sessionId = Number(_local3[0]);
_buffer.utma.firstTime = Number(_local3[1]);
if (_debug.verbose){
_local4 = "";
_local4 = (_local4 + "AdSense vid found (new visitor)\n");
_local4 = (_local4 + (((("Override sessionId(" + _buffer.utma.sessionId) + ") from AdSense vid(") + Number(_local3[0])) + ")\n"));
_local4 = (_local4 + (((("Override firstTime(" + _buffer.utma.firstTime) + ") from AdSense vid(") + Number(_local3[1])) + ")"));
_debug.info(_local4, VisualDebugMode.geek);
};
};
if (_debug.verbose){
_debug.info(("AdSense modified : " + _buffer.utma.toString()), VisualDebugMode.geek);
};
};
};
_buffer.utmb.domainHash = _domainHash;
if (isNaN(_buffer.utmb.trackCount)){
_buffer.utmb.trackCount = 0;
};
if (isNaN(_buffer.utmb.token)){
_buffer.utmb.token = _config.tokenCliff;
};
if (isNaN(_buffer.utmb.lastTime)){
_buffer.utmb.lastTime = _buffer.utma.currentTime;
};
_buffer.utmc.domainHash = _domainHash;
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.advanced);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.advanced);
};
}
public function setLocalServerMode():void{
_config.serverMode = ServerOperationMode.local;
_debug.info("setLocalServerMode()");
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_config.organic.clearIgnoredReferrals();
}
public function setCampSourceKey(_arg1:String):void{
_config.campaignKey.UCSR = _arg1;
var _local2 = (("setCampSourceKey( " + _config.campaignKey.UCSR) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCSR]"));
} else {
_debug.info(_local2);
};
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_config.localGIFpath);
}
public function setLocalGifPath(_arg1:String):void{
_config.localGIFpath = _arg1;
_debug.info((("setLocalGifPath( " + _config.localGIFpath) + " )"));
}
public function getVersion():String{
_debug.info("getVersion()");
return (_config.version);
}
public function setAllowAnchor(_arg1:Boolean):void{
_config.allowAnchor = _arg1;
_debug.info((("setAllowAnchor( " + _config.allowAnchor) + " )"));
}
private function _isNotGoogleSearch():Boolean{
var _local1:String = _config.domainName;
var _local2 = (_local1.indexOf("www.google.") < 0);
var _local3 = (_local1.indexOf(".google.") < 0);
var _local4 = (_local1.indexOf("google.") < 0);
var _local5 = (_local1.indexOf("google.org") > -1);
return (((((((((_local2) || (_local3))) || (_local4))) || (!((_config.cookiePath == "/"))))) || (_local5)));
}
public function setSampleRate(_arg1:Number):void{
if (_arg1 < 0){
_debug.warning("sample rate can not be negative, ignoring value.");
} else {
_config.sampleRate = _arg1;
};
_debug.info((("setSampleRate( " + _config.sampleRate) + " )"));
}
private function _takeSample():Boolean{
if (_debug.verbose){
_debug.info((((("takeSample: (" + (_visitCode() % 10000)) + ") < (") + (_config.sampleRate * 10000)) + ")"), VisualDebugMode.geek);
};
return (((_visitCode() % 10000) < (_config.sampleRate * 10000)));
}
public function setCookiePath(_arg1:String):void{
_config.cookiePath = _arg1;
_debug.info((("setCookiePath( " + _config.cookiePath) + " )"));
}
public function setAllowHash(_arg1:Boolean):void{
_config.allowDomainHash = _arg1;
_debug.info((("setAllowHash( " + _config.allowDomainHash) + " )"));
}
private function _generateUserDataHash():Number{
var _local1 = "";
_local1 = (_local1 + _info.appName);
_local1 = (_local1 + _info.appVersion);
_local1 = (_local1 + _info.language);
_local1 = (_local1 + _info.platform);
_local1 = (_local1 + _info.userAgent.toString());
_local1 = (_local1 + (((_info.screenWidth + "x") + _info.screenHeight) + _info.screenColorDepth));
_local1 = (_local1 + _info.referrer);
return (Utils.generateHash(_local1));
}
public function setCampNOKey(_arg1:String):void{
_config.campaignKey.UCNO = _arg1;
var _local2 = (("setCampNOKey( " + _config.campaignKey.UCNO) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCNO]"));
} else {
_debug.info(_local2);
};
}
public function addIgnoredOrganic(_arg1:String):void{
_debug.info((("addIgnoredOrganic( " + _arg1) + " )"));
_config.organic.addIgnoredKeyword(_arg1);
}
public function setLocalRemoteServerMode():void{
_config.serverMode = ServerOperationMode.both;
_debug.info("setLocalRemoteServerMode()");
}
public function cookiePathCopy(_arg1:String):void{
_debug.warning((("cookiePathCopy( " + _arg1) + " ) not implemented"));
}
public function setDetectTitle(_arg1:Boolean):void{
_config.detectTitle = _arg1;
_debug.info((("setDetectTitle( " + _config.detectTitle) + " )"));
}
public function setCampTermKey(_arg1:String):void{
_config.campaignKey.UCTR = _arg1;
var _local2 = (("setCampTermKey( " + _config.campaignKey.UCTR) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCTR]"));
} else {
_debug.info(_local2);
};
}
public function getServiceMode():ServerOperationMode{
_debug.info("getServiceMode()");
return (_config.serverMode);
}
private function _trackMetrics(_arg1:String=""):void{
var _local2:Variables;
var _local3:Variables;
var _local4:Variables;
var _local5:EventInfo;
if (_takeSample()){
_local2 = new Variables();
_local2.URIencode = true;
if (((_x10Module) && (_x10Module.hasData()))){
_local5 = new EventInfo(false, _x10Module);
_local3 = _local5.toVariables();
};
_local4 = _renderMetricsSearchVariables(_arg1);
_local2.join(_local3, _local4);
_gifRequest.send(_account, _local2);
};
}
public function setCampaignTrack(_arg1:Boolean):void{
_config.campaignTracking = _arg1;
_debug.info((("setCampaignTrack( " + _config.campaignTracking) + " )"));
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_config.organic.addIgnoredReferral(_arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_config.organic.clearEngines();
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_config.detectFlash);
}
public function setCampMediumKey(_arg1:String):void{
_config.campaignKey.UCMD = _arg1;
var _local2 = (("setCampMediumKey( " + _config.campaignKey.UCMD) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCMD]"));
} else {
_debug.info(_local2);
};
}
private function _getUniqueSessionId():Number{
var _local1:Number = ((Utils.generate32bitRandom() ^ _generateUserDataHash()) * 2147483647);
_debug.info(("Session ID: " + _local1), VisualDebugMode.geek);
return (_local1);
}
private function _getDomainHash():Number{
if (((((!(_config.domainName)) || ((_config.domainName == "")))) || ((_config.domain.mode == DomainNameMode.none)))){
_config.domainName = "";
return (1);
};
_updateDomainName();
if (_config.allowDomainHash){
return (Utils.generateHash(_config.domainName));
};
return (1);
}
public function setSessionTimeout(_arg1:int):void{
_config.sessionTimeout = _arg1;
_debug.info((("setSessionTimeout( " + _config.sessionTimeout) + " )"));
}
public function getAccount():String{
_debug.info("getAccount()");
return (_account);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_debug.warning((("link( " + [_arg1, _arg2].join(", ")) + " ) not implemented"));
}
public function setRemoteServerMode():void{
_config.serverMode = ServerOperationMode.remote;
_debug.info("setRemoteServerMode()");
}
}
}//package com.google.analytics.v4
Section 68
//AnalyticsTracker (com.google.analytics.AnalyticsTracker)
package com.google.analytics {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
public interface AnalyticsTracker extends GoogleAnalyticsAPI, IEventDispatcher {
function set config(_arg1:Configuration):void;
function isReady():Boolean;
function get mode():String;
function set debug(_arg1:DebugConfiguration):void;
function get account():String;
function set mode(_arg1:String):void;
function get config():Configuration;
function get debug():DebugConfiguration;
function set account(_arg1:String):void;
function get visualDebug():Boolean;
function set visualDebug(_arg1:Boolean):void;
}
}//package com.google.analytics
Section 69
//API (com.google.analytics.API)
package com.google.analytics {
import com.google.analytics.utils.*;
public class API {
public static var version:Version = new Version();
version.major = 1;
version.minor = 0;
version.build = 1;
version.revision = "$Rev: 319 $ ".split(" ")[1];
}
}//package com.google.analytics
Section 70
//GATracker (com.google.analytics.GATracker)
package com.google.analytics {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
import com.google.analytics.events.*;
public class GATracker implements AnalyticsTracker {
private var _adSense:AdSenseGlobals;
private var _env:Environment;
private var _visualDebug:Boolean;
private var _idleTimer:IdleTimer;
private var _debug:DebugConfiguration;
private var _buffer:Buffer;
private var _config:Configuration;
private var _mode:String;
private var _display:DisplayObject;
private var _jsproxy:JavascriptProxy;
private var _dom:HTMLDOM;
private var _eventDispatcher:EventDispatcher;
private var _ready:Boolean;// = false
private var _gifRequest:GIFRequest;
private var _account:String;
private var _tracker:GoogleAnalyticsAPI;
public static var version:Version = API.version;
public static var autobuild:Boolean = true;
public function GATracker(_arg1:DisplayObject, _arg2:String, _arg3:String="AS3", _arg4:Boolean=false, _arg5:Configuration=null, _arg6:DebugConfiguration=null){
_ready = false;
super();
_display = _arg1;
_eventDispatcher = new EventDispatcher(this);
_tracker = new TrackerCache();
this.account = _arg2;
this.mode = _arg3;
this.visualDebug = _arg4;
if (!_arg6){
this.debug = new DebugConfiguration();
};
if (!_arg5){
this.config = new Configuration(_arg6);
};
if (autobuild){
_factory();
};
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_tracker.link(_arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_tracker.addOrganic(_arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
_tracker.setAllowLinker(_arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
return (_tracker.trackEvent(_arg1, _arg2, _arg3, _arg4));
}
public function setCookieTimeout(_arg1:int):void{
_tracker.setCookieTimeout(_arg1);
}
public function trackTrans():void{
_tracker.trackTrans();
}
public function trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_arg1);
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
public function setClientInfo(_arg1:Boolean):void{
_tracker.setClientInfo(_arg1);
}
public function get account():String{
return (_account);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_tracker.linkByPost(_arg1, _arg2);
}
public function getDetectTitle():Boolean{
return (_tracker.getDetectTitle());
}
public function dispatchEvent(_arg1:Event):Boolean{
return (_eventDispatcher.dispatchEvent(_arg1));
}
public function get config():Configuration{
return (_config);
}
public function set mode(_arg1:String):void{
_mode = _arg1;
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
_eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public function setDetectFlash(_arg1:Boolean):void{
_tracker.setDetectFlash(_arg1);
}
public function resetSession():void{
_tracker.resetSession();
}
public function setCampNameKey(_arg1:String):void{
_tracker.setCampNameKey(_arg1);
}
public function get debug():DebugConfiguration{
return (_debug);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_tracker.addItem(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
private function _bridgeFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (Bridge) v" + version) + "\naccount: ") + account));
return (new Bridge(account, _debug, _jsproxy));
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
_eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public function clearIgnoredOrganic():void{
_tracker.clearIgnoredOrganic();
}
public function set account(_arg1:String):void{
_account = _arg1;
}
public function setVar(_arg1:String):void{
_tracker.setVar(_arg1);
}
public function build():void{
if (!isReady()){
_factory();
};
}
public function setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_arg1));
}
public function set config(_arg1:Configuration):void{
_config = _arg1;
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
return (_tracker.addTrans(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
}
public function setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
public function setCampContentKey(_arg1:String):void{
_tracker.setCampContentKey(_arg1);
}
public function willTrigger(_arg1:String):Boolean{
return (_eventDispatcher.willTrigger(_arg1));
}
public function setLocalServerMode():void{
_tracker.setLocalServerMode();
}
public function isReady():Boolean{
return (_ready);
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
public function get mode():String{
return (_mode);
}
public function set debug(_arg1:DebugConfiguration):void{
_debug = _arg1;
}
public function setLocalGifPath(_arg1:String):void{
_tracker.setLocalGifPath(_arg1);
}
public function getVersion():String{
return (_tracker.getVersion());
}
public function setSampleRate(_arg1:Number):void{
_tracker.setSampleRate(_arg1);
}
public function setCookiePath(_arg1:String):void{
_tracker.setCookiePath(_arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_tracker.setAllowHash(_arg1);
}
public function setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_tracker.addIgnoredOrganic(_arg1);
}
public function setLocalRemoteServerMode():void{
_tracker.setLocalRemoteServerMode();
}
public function cookiePathCopy(_arg1:String):void{
_tracker.cookiePathCopy(_arg1);
}
private function _factory():void{
var _local1:GoogleAnalyticsAPI;
var _local2:TrackerCache;
_jsproxy = new JavascriptProxy(debug);
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
_local2 = (_tracker as TrackerCache);
switch (mode){
case TrackerMode.BRIDGE:
_local1 = _bridgeFactory();
break;
case TrackerMode.AS3:
default:
_local1 = _trackerFactory();
};
if (!_local2.isEmpty()){
_local2.tracker = _local1;
_local2.flush();
};
_tracker = _local1;
_ready = true;
dispatchEvent(new AnalyticsEvent(AnalyticsEvent.READY, this));
}
public function setCampTermKey(_arg1:String):void{
_tracker.setCampTermKey(_arg1);
}
private function _trackerFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (AS3) v" + version) + "\naccount: ") + account));
_adSense = new AdSenseGlobals(debug);
_dom = new HTMLDOM(debug);
_dom.cacheProperties();
_env = new Environment("", "", "", debug, _dom);
_buffer = new Buffer(config, debug, false);
_gifRequest = new GIFRequest(config, debug, _buffer, _env);
_idleTimer = new IdleTimer(config, debug, _display, _buffer);
_env.url = _display.stage.loaderInfo.url;
return (new Tracker(account, config, debug, _env, _buffer, _gifRequest, _adSense));
}
public function setDetectTitle(_arg1:Boolean):void{
_tracker.setDetectTitle(_arg1);
}
public function getServiceMode():ServerOperationMode{
return (_tracker.getServiceMode());
}
public function clearOrganic():void{
_tracker.clearOrganic();
}
public function setCampaignTrack(_arg1:Boolean):void{
_tracker.setCampaignTrack(_arg1);
}
public function addIgnoredRef(_arg1:String):void{
_tracker.addIgnoredRef(_arg1);
}
public function set visualDebug(_arg1:Boolean):void{
_visualDebug = _arg1;
}
public function setCampMediumKey(_arg1:String):void{
_tracker.setCampMediumKey(_arg1);
}
public function setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function getAccount():String{
return (_tracker.getAccount());
}
public function hasEventListener(_arg1:String):Boolean{
return (_eventDispatcher.hasEventListener(_arg1));
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics
Section 71
//AttachTool (GameFile.AttachTool)
package GameFile {
import flash.utils.*;
import flash.display.*;
import flash.media.*;
public class AttachTool {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private static var bmp:Bitmap;
private static var theClass:Class;
private static var bmpData:BitmapData;
private static var bmpDataSize:int = 40;
private static var theMC:OBJ;
public function AttachTool(){
initAttachTool();
}
private function initProperty(){
}
private function initClass(){
}
private function initEvent(){
}
private function initElement(){
}
private function delClass(){
}
private function initAttachTool(){
initClass();
initElement();
initEvent();
initProperty();
}
public function delAttachTool(){
}
private function delEvent(){
}
public static function attachSoundFormLibrary(_arg1:String):Sound{
var _local2:Sound;
theClass = (getDefinitionByName(_arg1) as Class);
_local2 = new theClass();
return (_local2);
}
public static function attachBmpData(_arg1:String):BitmapData{
theClass = (getDefinitionByName(_arg1) as Class);
bmpData = new theClass(bmpDataSize, bmpDataSize);
return (bmpData);
}
public static function attachOBJ(_arg1:String, _arg2:Boolean):OBJ{
var _local3:int;
var _local4:Array;
var _local5:int;
var _local6:int;
theClass = (getDefinitionByName(_arg1) as Class);
theMC = new theClass();
theMC.id = _arg1;
if (_arg2 == true){
theMC.isButton = true;
};
if (_arg1.substr((_arg1.length - 2), 2) == "_w"){
theMC.typeNum = 2;
} else {
theMC.typeNum = 1;
};
_local3 = 1;
while (_local3 <= 6) {
_local4 = GameInformation.instance[("btnArr" + String(_local3))];
_local5 = 0;
while (_local5 < _local4.length) {
if (_local4[_local5][0] == _arg1){
_local6 = 1;
while (_local6 < _local4.length) {
theMC.getAuguryArr(_local4[_local5][_local6]);
_local6++;
};
break;
};
_local5++;
};
_local3++;
};
return (theMC);
}
public static function attachBmp(_arg1:String):Bitmap{
theClass = (getDefinitionByName(_arg1) as Class);
bmpData = new theClass(bmpDataSize, bmpDataSize);
bmp = new Bitmap(bmpData);
return (bmp);
}
}
}//package GameFile
Section 72
//Augury (GameFile.Augury)
package GameFile {
import flash.events.*;
import flash.display.*;
public class Augury {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var erathFrame:int;// = 73
private var waterEndFrame:int;// = 220
private var c_startFrame:int;
private var waterFrame:int;// = 183
private var endMovieStartFrame;// = 228
private var fireEndFrame:int;// = 182
private var c_endFrame:int;
private var erathEndFrame:int;// = 108
private var auguryMC:MovieClip;
private var auguryType:String;
private var closeBtn:MovieClip;
private var windFrame:int;// = 109
private var theAuguryMC:MovieClip;
private var fireFrame:int;// = 146
private var auguryMainMC:MovieClip;
private var startMovieEndFrame;// = 72
private var windEndFrame:int;// = 145
public function Augury(_arg1:MovieClip, _arg2:String){
startMovieEndFrame = 72;
endMovieStartFrame = 228;
windFrame = 109;
windEndFrame = 145;
fireFrame = 146;
fireEndFrame = 182;
waterFrame = 183;
waterEndFrame = 220;
erathFrame = 73;
erathEndFrame = 108;
super();
initAugury(_arg1, _arg2);
}
private function initProperty(){
}
private function closeAugury(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("closeAugury_Augury", true));
}
private function initAugury(_arg1:MovieClip, _arg2:String){
Root = _arg1;
auguryType = _arg2;
trace(auguryType);
initClass();
initElement();
initEvent();
initProperty();
startPlay();
}
private function delClass(){
}
private function startPlay(){
if (auguryType == "wind"){
c_startFrame = windFrame;
c_endFrame = windEndFrame;
} else {
if (auguryType == "fire"){
c_startFrame = fireFrame;
c_endFrame = fireEndFrame;
} else {
if (auguryType == "water"){
c_startFrame = waterFrame;
c_endFrame = waterEndFrame;
} else {
if (auguryType == "erath"){
c_startFrame = erathFrame;
c_endFrame = erathEndFrame;
};
};
};
};
auguryMC.play();
auguryMC.addEventListener(Event.ENTER_FRAME, auguryMCPlayEnd);
}
private function initClass(){
}
private function initElement(){
var maskMC:MovieClip;
auguryMainMC = new MovieClip();
Root.addChild(auguryMainMC);
maskMC = new MovieClip();
auguryMainMC.addChild(maskMC);
var _local2 = maskMC.graphics;
with (_local2) {
clear();
moveTo(0, 0);
beginFill(0xFFFFFF, 0.7);
lineTo(rootWidth, 0);
lineTo(rootWidth, rootHeight);
lineTo(0, rootHeight);
lineTo(0, 0);
endFill();
};
auguryMC = new _AuguryMain_();
auguryMainMC.addChild(auguryMC);
auguryMC.stop();
auguryMC.x = (rootWidth / 2);
auguryMC.y = (rootHeight / 2);
}
private function delEvent(){
if (closeBtn != null){
closeBtn.removeEventListener(MouseEvent.CLICK, closeAugury);
};
}
public function delAugury(){
delEvent();
delClass();
closeBtn = null;
theAuguryMC.parent.removeChild(theAuguryMC);
theAuguryMC = null;
auguryMainMC.parent.removeChild(auguryMainMC);
auguryMainMC = null;
}
private function initEvent(){
}
private function auguryMCPlayEnd(_arg1:Event){
if (auguryMC.currentFrame == startMovieEndFrame){
auguryMC.gotoAndPlay(c_startFrame);
};
if (auguryMC.currentFrame == (c_endFrame - 3)){
auguryMC.dispatchEvent(new Event("showObjLayer_Augury", true));
switch (auguryType){
case "wind":
theAuguryMC = new _AuguryWind_();
break;
case "fire":
theAuguryMC = new _AuguryFire_();
break;
case "water":
theAuguryMC = new _AuguryWater_();
break;
case "erath":
theAuguryMC = new _AuguryErath_();
break;
};
auguryMainMC.addChild(theAuguryMC);
closeBtn = theAuguryMC["mc"]["CloseBtn"];
closeBtn.addEventListener(MouseEvent.CLICK, closeAugury);
theAuguryMC.x = (rootWidth / 2);
theAuguryMC.y = (rootHeight / 2);
};
if (auguryMC.currentFrame == c_endFrame){
auguryMC.removeEventListener(Event.ENTER_FRAME, auguryMCPlayEnd);
auguryMC.stop();
auguryMC.parent.removeChild(auguryMC);
auguryMC = null;
};
}
}
}//package GameFile
Section 73
//Background (GameFile.Background)
package GameFile {
import flash.display.*;
public class Background {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var bgSum;
private var bgMC:MovieClip;
public var c_bgNum:int;
public function Background(){
initBackground();
}
public function resumePrint(){
bgMC.gotoAndStop(c_bgNum);
}
private function initProperty(){
bgSum = GameInformation.instance.bgSum;
}
public function createBG(_arg1:MovieClip){
bgMC = new _BackgroundMC_();
_arg1.addChild(bgMC);
bgMC.x = 0;
bgMC.y = 0;
bgMC.gotoAndStop(1);
}
private function initElement(){
}
private function delEvent(){
}
private function initClass(){
}
public function delBackground(){
bgMC.parent.removeChild(bgMC);
bgMC = null;
}
private function initBackground(){
initClass();
initElement();
initEvent();
initProperty();
}
public function wbPrint(){
bgMC.gotoAndStop((c_bgNum + bgSum));
}
private function initEvent(){
}
private function delClass(){
}
public function changeBG(_arg1:int){
c_bgNum = _arg1;
bgMC.gotoAndStop(_arg1);
}
}
}//package GameFile
Section 74
//BmpTool (GameFile.BmpTool)
package GameFile {
import flash.display.*;
import flash.geom.*;
public class BmpTool {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private static var bitmapData:BitmapData;
private static var bmp:Bitmap;
public function BmpTool(){
initBmpTool();
}
private function initProperty(){
}
private function initClass(){
}
private function initEvent(){
}
private function initElement(){
}
private function delClass(){
}
private function initBmpTool(){
initClass();
initElement();
initEvent();
initProperty();
}
public function delBmpTool(){
}
private function delEvent(){
}
public static function cutoutBmpWithWidthAndHeight(_arg1:MovieClip, _arg2:int, _arg3:int, _arg4:Rectangle):BitmapData{
bitmapData = new BitmapData(_arg2, _arg3, true, 0);
bitmapData.draw(_arg1, null, null, null, _arg4, true);
return (bitmapData);
}
public static function cutoutBmp(_arg1:MovieClip, _arg2:Rectangle):BitmapData{
bitmapData = new BitmapData(_arg1.width, _arg1.height, true, 0);
bitmapData.draw(_arg1, null, null, null, _arg2, true);
return (bitmapData);
}
}
}//package GameFile
Section 75
//ColorMaterialPage (GameFile.ColorMaterialPage)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class ColorMaterialPage extends MovieClip {
private const rootWidth:int = 660;
private const materialMCY:int = 198;
private const lightFilter:GlowFilter;
private const colorMaterialNoteMCY:int = 25;
private const countRow:int = 5;
private const okBtnX:int = 32;
private const materialMCX:int = 20;
private const colorTableY:int = 73;
private const colorMaterialNoteMCX:int = 13;
private const okBtnY:int = 289;
private const rootHeight:int = 480;
private const colorTableX:int = 25;
private const countCol:int = 8;
private var Root:MovieClip;
private var colorTable:MovieClip;
private var theChooseMaterial:String;
private var colorBitmapData:BitmapData;
private var theChooseColor:uint;
private var colorMaterialNoteMC:MovieClip;
private var bmp:Bitmap;
private var okBtn:MovieClip;
private var materialMC:MovieClip;
public function ColorMaterialPage(_arg1:MovieClip){
lightFilter = new GlowFilter(0xFFFFFF, 1, 5, 5, 5, 1, false, false);
super();
initColorMaterialPage(_arg1);
}
private function initColorMaterialPage(_arg1:MovieClip){
Root = _arg1;
initClass();
initElement();
initEvent();
initProperty();
}
private function delClass(){
}
private function initProperty(){
}
private function resumClickColor(_arg1:MouseEvent){
}
private function initClass(){
}
private function initEvent(){
colorTable.addEventListener(MouseEvent.MOUSE_MOVE, getMouseColor, false, 0, true);
colorTable.addEventListener(MouseEvent.MOUSE_OUT, resumClickColor, false, 0, true);
colorTable.addEventListener(MouseEvent.CLICK, getColor, false, 0, true);
okBtn.addEventListener(MouseEvent.CLICK, editIsOver, false, 0, true);
}
private function chooseMaterial(_arg1:MouseEvent){
theChooseMaterial = _arg1.target.name;
InGame.theChooseMaterial = theChooseMaterial;
_arg1.target.dispatchEvent(new Event("changeMaterial_ColorMaterialPage", true));
}
private function delEvent(){
colorTable.removeEventListener(MouseEvent.MOUSE_MOVE, getMouseColor);
colorTable.removeEventListener(MouseEvent.MOUSE_OUT, resumClickColor);
colorTable.removeEventListener(MouseEvent.CLICK, getColor);
okBtn.removeEventListener(MouseEvent.CLICK, editIsOver);
}
private function getColor(_arg1:MouseEvent){
clearMaterail();
theChooseColor = uint(colorBitmapData.getPixel(colorTable.mouseX, colorTable.mouseY));
InGame.theChooseColor = theChooseColor;
_arg1.target.dispatchEvent(new Event("changeColor_ColorMaterialPage", true));
}
private function clearMaterail(){
theChooseMaterial = "null";
}
public function delColorMaterialPage(){
delEvent();
delClass();
}
private function initElement(){
var _local1:*;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:MovieClip;
colorTable = new _ColorTable_();
Root.addChild(colorTable);
colorTable.x = colorTableX;
colorTable.y = colorTableY;
_local1 = new Rectangle(0, 0, colorTable.width, colorTable.height);
colorBitmapData = BmpTool.cutoutBmp(colorTable, _local1);
materialMC = new MovieClip();
Root.addChild(materialMC);
materialMC.filters = [lightFilter];
_local2 = int((137 / countCol));
_local3 = 0;
_local4 = 0;
_local5 = 0;
while (_local5 < (countRow * countCol)) {
_local6 = new MovieClip();
if (((((_local5 % countCol) == 0)) && (!((_local5 == 0))))){
_local3 = 0;
_local4 = (_local4 + _local2);
};
bmp = AttachTool.attachBmp(GameInformation.instance["materialArr"][_local5]);
materialMC.addChild(_local6);
materialMC.x = materialMCX;
materialMC.y = materialMCY;
_local6.x = _local3;
_local6.y = _local4;
_local3 = (_local3 + _local2);
_local6.name = GameInformation.instance["materialArr"][_local5];
_local6.addChild(bmp);
bmp.width = _local2;
bmp.height = _local2;
materialMC.addEventListener(MouseEvent.CLICK, chooseMaterial, false, 0, true);
_local5++;
};
okBtn = new _OKBtn_();
Root.addChild(okBtn);
okBtn.x = okBtnX;
okBtn.y = okBtnY;
colorMaterialNoteMC = new _ColorMaterialNoteMC_();
Root.addChild(colorMaterialNoteMC);
colorMaterialNoteMC.x = colorMaterialNoteMCX;
colorMaterialNoteMC.y = colorMaterialNoteMCY;
colorMaterialNoteMC.mouseEnabled = false;
}
private function getMouseColor(_arg1:MouseEvent){
}
private function editIsOver(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("endEditAndResetSet", true));
_arg1.target.dispatchEvent(new Event("delWindow", true));
}
}
}//package GameFile
Section 76
//Cookie (GameFile.Cookie)
package GameFile {
import flash.net.*;
import zlong.localization.country.*;
public class Cookie {
private const txtArr:Array;
private const id:String = "zlong_games_my_new_town";
private var so:SharedObject;
private var da:Object;
private static var ins:Cookie;
public function Cookie(){
txtArr = new Array("EMPTY", "EMPTY", "LEEG", "VIDE", "LEER", "VACÍO", "VAZIO", "VAZIO", "VUOTO", "TOM", "PUSTY", "ПУСТО", "KOSONG", "空", "空");
super();
initCookie();
}
private function initProperty(){
so = SharedObject.getLocal(id, "/");
}
public function flushCookie(){
so.flush();
}
public function outputTheGameData(_arg1:int){
return (so.data[("gameData" + String(_arg1))]);
}
public function saveTheGameData(_arg1:Array){
so.data.gameData = _arg1;
trace("the cookie =====================");
trace(so.data.gameData);
}
public function clearCookie(){
so.clear();
}
public function initCookie(){
initProperty();
initData();
}
public function initData(){
var _local1:int;
trace(("cookie initData ====================" + CountryInfo.instance.language));
_local1 = 1;
while (_local1 <= 3) {
if (so.data[("gameData" + String(_local1))] == null){
trace(" rename the cookie");
so.data[("dataName" + String(_local1))] = txtArr[(CountryInfo.instance.language - 1)];
} else {
trace((" rename the cookie ========= " + so.data[("gameData" + String(_local1))]));
};
_local1++;
};
if (so.data.today == null){
so.data.today = new Date().toDateString();
};
if (so.data.todayImage == null){
so.data.todayImage = 1;
};
}
public function checkGameData(){
var _local1:Boolean;
var _local2:int;
_local1 = false;
_local2 = 1;
while (_local2 <= 3) {
if (so.data[("dataName" + String(_local2))] != txtArr[(CountryInfo.instance.language - 1)]){
_local1 = true;
break;
};
_local2++;
};
return (_local1);
}
public function saveDataToCookie(_arg1:String, _arg2:int){
trace(_arg1);
trace(_arg2);
so.data[("dataName" + String(_arg2))] = _arg1;
so.data[("gameData" + String(_arg2))] = so.data.gameData;
trace(("name ==== " + so.data[("dataName" + String(_arg2))]));
trace(("data ==== " + so.data[("gameData" + String(_arg2))]));
}
public function addTodayImage(){
so.data.todayImage = (so.data.todayImage + 1);
}
public function outputTheGameDataName(_arg1:int){
return (so.data[("dataName" + String(_arg1))]);
}
public function outputTodayImage():int{
return (so.data.todayImage);
}
public function outputTheDate():String{
return (so.data.today);
}
public function setToday(){
so.data.today = new Date().toDateString();
so.data.todayImage = 1;
}
public static function get instance():Cookie{
if (ins == null){
ins = new (Cookie);
};
return (ins);
}
}
}//package GameFile
Section 77
//Data (GameFile.Data)
package GameFile {
public class Data {
public var bgNum:int;
public var allDrawObjDataArr:Array;
public var floorWall_materailArr:Array;
public var objCount:int;
public var allObjDataArr:Array;
public var allDrawObjArr:Array;
public var drawCount:int;
public var allObjArr:Array;
public var floorWall_colorNumArr:Array;
private var gameData:Array;
public function Data(){
gameData = new Array();
super();
initData();
}
private function initElement(){
}
private function clearArray(){
gameData = [];
floorWall_colorNumArr = [];
floorWall_materailArr = [];
allObjArr = [];
allDrawObjArr = [];
allObjDataArr = [];
allDrawObjDataArr = [];
}
private function initProperty(){
gameData = new Array();
floorWall_colorNumArr = new Array();
floorWall_materailArr = new Array();
allObjArr = new Array();
allDrawObjArr = new Array();
allObjDataArr = new Array();
allDrawObjDataArr = new Array();
}
private function delEvent(){
}
private function initClass(){
}
private function initData(){
initClass();
initElement();
initEvent();
initProperty();
}
public function delData(){
}
private function analyseTheData(){
var _local1:String;
var _local2:int;
var _local3:Boolean;
var _local4:int;
var _local5:int;
var _local6:Boolean;
var _local7:int;
var _local8:int;
var _local9:Boolean;
var _local10:int;
var _local11:int;
var _local12:Boolean;
var _local13:int;
var _local14:int;
var _local15:String;
var _local16:int;
var _local17:int;
var _local18:String;
_local1 = "null";
_local2 = 0;
_local3 = false;
_local4 = 0;
_local5 = 0;
_local6 = false;
_local7 = 0;
_local8 = 0;
_local9 = false;
_local10 = 0;
_local11 = 0;
_local12 = false;
_local13 = 0;
_local14 = 0;
_local15 = "null";
_local16 = 0;
for (;_local16 < gameData.length;_local16++) {
if ((((gameData[_local16] == "&1")) && ((_local1 == "null")))){
_local1 = "&1";
_local2++;
} else {
if ((((_local1 == "&1")) && ((_local2 == 1)))){
bgNum = int(gameData[_local16]);
_local2++;
} else {
if ((((_local1 == "&1")) && ((_local2 == 2)))){
objCount = int(gameData[_local16]);
_local2++;
} else {
if ((((_local1 == "&1")) && ((_local2 == 3)))){
drawCount = int(gameData[_local16]);
_local2++;
} else {
if ((((((_local1 == "&1")) && ((_local2 == 4)))) && ((gameData[_local16] == "[")))){
continue;
} else {
if ((((((_local1 == "&1")) && ((_local2 == 4)))) && ((gameData[_local16] == "]")))){
_local2++;
} else {
if ((((_local1 == "&1")) && ((_local2 == 4)))){
if (gameData[_local16] != "null"){
floorWall_colorNumArr.push(uint(gameData[_local16]));
} else {
floorWall_colorNumArr.push("null");
};
} else {
if ((((((_local1 == "&1")) && ((_local2 == 5)))) && ((gameData[_local16] == "[")))){
continue;
} else {
if ((((((_local1 == "&1")) && ((_local2 == 5)))) && ((gameData[_local16] == "]")))){
_local2++;
} else {
if ((((_local1 == "&1")) && ((_local2 == 5)))){
floorWall_materailArr.push(gameData[_local16]);
} else {
if ((((gameData[_local16] == "&1")) && ((_local1 == "&1")))){
_local2 = 0;
} else {
if ((((gameData[_local16] == "&2")) && ((_local1 == "&1")))){
_local1 = "&2";
} else {
if ((((_local1 == "&2")) && ((gameData[_local16] == "{")))){
_local3 = true;
allObjArr[_local4] = new Array();
} else {
if ((((_local1 == "&2")) && ((gameData[_local16] == "}")))){
_local3 = false;
_local4++;
_local5 = 0;
} else {
if ((((_local1 == "&2")) && ((_local3 == true)))){
allObjArr[_local4][_local5] = gameData[_local16];
_local5++;
} else {
if ((((gameData[_local16] == "&3")) && ((_local1 == "&2")))){
_local1 = "&3";
} else {
if ((((_local1 == "&3")) && ((gameData[_local16] == "{")))){
_local6 = true;
allDrawObjArr[_local7] = new Array();
} else {
if ((((_local1 == "&3")) && ((gameData[_local16] == "}")))){
_local6 = false;
_local7++;
_local8 = 0;
} else {
if ((((_local1 == "&3")) && ((_local6 == true)))){
allDrawObjArr[_local7][_local8] = gameData[_local16];
_local8++;
} else {
if ((((gameData[_local16] == "&4")) && ((_local1 == "&3")))){
_local1 = "&4";
} else {
if ((((_local1 == "&4")) && ((gameData[_local16] == "{")))){
_local9 = true;
allObjDataArr[_local10] = new Array();
} else {
if ((((_local1 == "&4")) && ((gameData[_local16] == "}")))){
_local9 = false;
_local10++;
_local11 = 0;
} else {
if ((((_local1 == "&4")) && ((_local9 == true)))){
allObjDataArr[_local10][_local11] = gameData[_local16];
_local11++;
} else {
if ((((gameData[_local16] == "&5")) && ((_local1 == "&4")))){
_local1 = "&5";
} else {
if ((((((_local1 == "&5")) && ((_local12 == false)))) && ((_local15 == "null")))){
_local18 = gameData[_local16];
if (_local18.substr(0, 2) == "d_"){
_local12 = true;
_local15 = gameData[_local16];
allDrawObjDataArr[_local13] = new Array();
allDrawObjDataArr[_local13][_local14] = gameData[_local16];
_local14++;
};
} else {
if ((((((_local1 == "&5")) && ((_local12 == true)))) && ((gameData[_local16] == _local15)))){
_local12 = false;
_local15 = "null";
_local13++;
_local14 = 0;
} else {
if ((((_local1 == "&5")) && ((_local12 == true)))){
allDrawObjDataArr[_local13][_local14] = gameData[_local16];
_local14++;
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
trace(("floorWall_colorNumArr === " + floorWall_colorNumArr));
trace(("floorWall_materailArr === " + floorWall_materailArr));
trace("---------------------------------------");
trace(("allObjArr === " + allObjArr));
trace("---------------------------------------");
trace(("allDrawObjArr === " + allDrawObjArr));
trace("---------------------------------------");
trace(("allObjDataArr === " + allObjDataArr));
trace("---------------------------------------");
_local17 = 0;
while (_local17 < allDrawObjDataArr.length) {
trace(("allDrawObjDataArr === " + allDrawObjDataArr[_local17]));
_local17++;
};
}
private function delClass(){
}
private function initEvent(){
}
public function resumeGameData(_arg1:String){
var _local2:String;
var _local3:int;
clearArray();
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
if (_arg1.substr(_local3, 1) != ","){
if (_local2 == ""){
_local2 = _arg1.substr(_local3, 1);
} else {
_local2 = (_local2 + _arg1.substr(_local3, 1));
};
} else {
if (_arg1.substr(_local3, 1) == ","){
gameData.push(_local2);
_local2 = "";
};
};
_local3++;
};
gameData.push(_local2);
trace(gameData);
analyseTheData();
}
}
}//package GameFile
Section 78
//Download (GameFile.Download)
package GameFile {
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
import net.*;
import net.download.*;
import flash.text.*;
public class Download implements ListDownLoadListener {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var downloadMCY:int;
private var maxPage:int;// = 1
public var imageNameArr:Array;
private var imageMC2:MovieClip;
private var imageMC4:MovieClip;
private var downloadMC:MovieClip;
private var imageMC1:MovieClip;
private var imageMC3:MovieClip;
private var imageMC5:MovieClip;
private var imageMC6:MovieClip;
public var imageLinkArr:Array;
public var smallImageArr:Array;
private var titleTxt1:MovieClip;
private var titleTxt2:MovieClip;
private var titleTxt3:MovieClip;
private var titleTxt4:MovieClip;
private var titleTxt5:MovieClip;
private var titleTxt6:MovieClip;
private var loadBigImage:LoadBigImage;
private var itemArr:Array;
private var imageBG1:MovieClip;
private var imageBG3:MovieClip;
private var imageBG4:MovieClip;
private var xmlList:XMLList;
private var imageBG6:MovieClip;
private var imageBG2:MovieClip;
private var r_num:int;// = 0
private var imageBG5:MovieClip;
public var bigImageArr:Array;
private var item_mArr:Array;
public var imageTitleArr:Array;
private var previousEnabledMC:MovieClip;
private var nextBtn:MovieClip;
private var pageNum:int;// = 0
private var textFormat:TextFormat;
private var dateTxt1:MovieClip;
private var dateTxt2:MovieClip;
private var dateTxt3:MovieClip;
private var dateTxt4:MovieClip;
private var dateTxt5:MovieClip;
private var dateTxt6:MovieClip;
private var listDownLoader:ListDownLoader;
private var uploadLoseMC_tryAgainBtn:MovieClip;
public var imageIDArr:Array;
private var uploadLoseMC:MovieClip;
private var nextEnabledMC:MovieClip;
private var previousBtn:MovieClip;
private var c_page:int;// = 1
private var nameTxt1:MovieClip;
private var nameTxt4:MovieClip;
private var nameTxt5:MovieClip;
private var nameTxt6:MovieClip;
private var nameTxt2:MovieClip;
private var nameTxt3:MovieClip;
public var imageDateArr:Array;
private var downloadMCX:int;
private var backBtn:MovieClip;
private var loadBigImage_m:LoadBigImage_m;
public function Download(_arg1:MovieClip, _arg2:XMLList=null, _arg3:Array=null, _arg4:Array=null, _arg5:Array=null, _arg6:Array=null, _arg7:Array=null, _arg8:Array=null, _arg9:Array=null, _arg10:int=0, _arg11:int=0){
itemArr = new Array();
item_mArr = new Array();
pageNum = 0;
maxPage = 1;
c_page = 1;
bigImageArr = new Array();
smallImageArr = new Array();
imageTitleArr = new Array();
imageNameArr = new Array();
imageDateArr = new Array();
imageIDArr = new Array();
imageLinkArr = new Array();
r_num = 0;
super();
Root = _arg1;
downloadMCX = _arg10;
downloadMCY = _arg11;
xmlList = _arg2;
bigImageArr = _arg3;
smallImageArr = _arg4;
imageTitleArr = _arg5;
imageNameArr = _arg6;
imageDateArr = _arg7;
imageIDArr = _arg8;
imageLinkArr = _arg9;
initDownload();
}
private function initListItem():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:ListItem;
var _local5:String;
var _local6:int;
var _local7:String;
var _local8:String;
var _local9:String;
var _local10:String;
var _local11:int;
var _local12:Item_m;
var _local13:Date;
var _local14:int;
trace(bigImageArr);
trace(smallImageArr);
trace(imageTitleArr);
trace(imageNameArr);
trace(imageDateArr);
trace(imageIDArr);
trace(imageLinkArr);
if (((!((bigImageArr == null))) && (!((xmlList == null))))){
if (((bigImageArr.length + xmlList.length()) % 6) == 0){
maxPage = ((bigImageArr.length + xmlList.length()) / 6);
} else {
maxPage = (((bigImageArr.length + xmlList.length()) / 6) + 1);
};
} else {
if (((!((bigImageArr == null))) && ((xmlList == null)))){
if ((bigImageArr.length % 6) == 0){
maxPage = (bigImageArr.length / 6);
} else {
maxPage = ((bigImageArr.length / 6) + 1);
};
} else {
if ((((bigImageArr == null)) && (!((xmlList == null))))){
if ((xmlList.length() % 6) == 0){
maxPage = (xmlList.length() / 6);
} else {
maxPage = (xmlList.length() + 1);
};
};
};
};
if (maxPage >= 6){
maxPage = 6;
};
if (maxPage == 1){
nextEnabledMC.visible = true;
previousEnabledMC.visible = true;
};
trace(("c_page ======= " + c_page));
trace(("MAX PAGE ==== " + maxPage));
_local11 = 0;
trace("initListItem ==================== 1");
_local1 = pageNum;
while (_local1 < (pageNum + 6)) {
if (((!((bigImageArr == null))) && ((_local1 <= (bigImageArr.length - 1))))){
trace("initListItem ==================== 1.1");
if (_local1 <= (bigImageArr.length - 1)){
_local12 = new Item_m(this[("imageMC" + String(((_local1 - pageNum) + 1)))], bigImageArr[_local1], smallImageArr[_local1], imageTitleArr[_local1], imageNameArr[_local1], imageDateArr[_local1], imageIDArr[_local1], imageLinkArr[_local1]);
trace("initListItem ==================== 1.2");
this[("imageMC" + String(((_local1 - pageNum) + 1)))].addChild(_local12);
this[("titleTxt" + String(((_local1 - pageNum) + 1)))]["Txt"].text = imageTitleArr[_local1];
this[("nameTxt" + String(((_local1 - pageNum) + 1)))]["Txt"].text = imageNameArr[_local1];
this[("dateTxt" + String(((_local1 - pageNum) + 1)))]["Txt"].text = imageDateArr[_local1];
item_mArr.push(_local12);
};
if (_local1 == (bigImageArr.length - 1)){
_local11 = (_local1 + 1);
trace(("next_start_num === " + _local11));
};
trace("initListItem ==================== 2");
} else {
if (xmlList != null){
if (xmlList.length() >= 1){
trace("initListItem ==================== 3");
if (imageDateArr != null){
_local2 = 0;
for (;_local2 < imageDateArr.length;_local2++) {
if (imageDateArr[_local2] == xmlList[((_local1 - _local11) + r_num)].id){
_local1--;
r_num++;
continue;
};
};
};
if (xmlList[((_local1 - _local11) + r_num)] == null){
break;
};
_local6 = xmlList[((_local1 - _local11) + r_num)].id;
_local7 = xmlList[((_local1 - _local11) + r_num)].title;
this[("titleTxt" + String(((_local1 - pageNum) + 1)))]["Txt"].text = _local7;
_local8 = xmlList[((_local1 - _local11) + r_num)].description;
_local9 = xmlList[((_local1 - _local11) + r_num)].username;
this[("nameTxt" + String(((_local1 - pageNum) + 1)))]["Txt"].text = _local9;
_local5 = Data.instance.preview(_local6);
_local13 = new Date((xmlList[((_local1 - _local11) + r_num)].created * 1000));
_local10 = ((((String(_local13.date) + "-") + String((_local13.month + 1))) + "-") + String(_local13.fullYear));
this[("dateTxt" + String(((_local1 - pageNum) + 1)))]["Txt"].text = _local10;
_local4 = new ListItem(this, this[("imageMC" + String(((_local1 - pageNum) + 1)))], _local5, _local6, _local7, _local8, _local9, _local10);
itemArr.push(_local4);
};
trace("initListItem ==================== 3");
} else {
_local1 = 1;
while (_local1 <= 6) {
this[("titleTxt" + String(_local1))].visible = false;
this[("nameTxt" + String(_local1))].visible = false;
this[("dateTxt" + String(_local1))].visible = false;
this[("imageMC" + String(_local1))].visible = false;
this[("imageBG" + String(_local1))].visible = false;
nextEnabledMC.visible = true;
previousEnabledMC.visible = true;
_local1++;
};
break;
};
};
_local1++;
};
if (c_page == maxPage){
trace("hide===================");
if (bigImageArr != null){
_local14 = (((pageNum + 6) - xmlList.length()) - bigImageArr.length);
trace(("bg_num ====== 1" + _local14));
} else {
if (xmlList != null){
_local14 = ((pageNum + 6) - xmlList.length());
trace(("bg_num ====== 2" + _local14));
} else {
_local14 = (pageNum + 6);
};
};
if (_local14 > 0){
_local1 = 0;
while (_local1 < _local14) {
trace(("i ==== " + _local1));
this[("titleTxt" + String((6 - _local1)))].visible = false;
this[("nameTxt" + String((6 - _local1)))].visible = false;
this[("dateTxt" + String((6 - _local1)))].visible = false;
this[("imageMC" + String((6 - _local1)))].visible = false;
this[("imageBG" + String((6 - _local1)))].visible = false;
_local1++;
};
};
};
}
private function delListItem(){
var _local1:int;
_local1 = 0;
while (_local1 < item_mArr.length) {
if (item_mArr[_local1] != null){
item_mArr[_local1].parent.removeChild(item_mArr[_local1]);
item_mArr[_local1] = null;
};
_local1++;
};
item_mArr = [];
_local1 = 0;
while (_local1 < itemArr.length) {
if (itemArr[_local1] != null){
itemArr[_local1].destroy();
itemArr[_local1] = null;
this[("imageMC" + String((_local1 + 1)))].removeChildAt((this[("imageMC" + String((_local1 + 1)))].numChildren - 1));
};
_local1++;
};
itemArr = [];
_local1 = 1;
while (_local1 <= 6) {
this[("titleTxt" + String(_local1))]["Txt"].text = "null";
_local1++;
};
_local1 = 1;
while (_local1 <= 6) {
this[("nameTxt" + String(_local1))]["Txt"].text = "null";
_local1++;
};
_local1 = 1;
while (_local1 <= 6) {
this[("dateTxt" + String(_local1))]["Txt"].text = "null";
_local1++;
};
}
private function initProperty(){
}
private function clickItem_m(_arg1:Event){
trace("clickItem_m");
trace(_arg1.target.parent.name);
loadBigImage_m = new LoadBigImage_m(Root, _arg1.target.bigImage, _arg1.target.smallImage, _arg1.target.imageTitle, _arg1.target.imageName, _arg1.target.imageDate, _arg1.target.imageID, _arg1.target.imageLink);
}
private function initFunction(){
}
private function nextPage(_arg1:MouseEvent){
var _local2:int;
var _local3:int;
if (c_page < maxPage){
trace("next page");
c_page++;
pageNum = (pageNum + 6);
delListItem();
initListItem();
previousEnabledMC.visible = false;
_local2 = 1;
while (_local2 <= 6) {
this[("titleTxt" + String(_local2))].visible = true;
this[("nameTxt" + String(_local2))].visible = true;
this[("dateTxt" + String(_local2))].visible = true;
this[("imageMC" + String(_local2))].visible = true;
this[("imageBG" + String(_local2))].visible = true;
_local2++;
};
};
trace(("c_page ============= " + c_page));
if (c_page == maxPage){
nextEnabledMC.visible = true;
trace("hide===================");
_local3 = ((pageNum + 6) - xmlList.length());
trace(("bg_num ====== " + _local3));
if (_local3 > 0){
_local2 = 0;
while (_local2 < _local3) {
trace(("i ==== " + _local2));
this[("titleTxt" + String((6 - _local2)))].visible = false;
this[("nameTxt" + String((6 - _local2)))].visible = false;
this[("dateTxt" + String((6 - _local2)))].visible = false;
this[("imageMC" + String((6 - _local2)))].visible = false;
this[("imageBG" + String((6 - _local2)))].visible = false;
_local2++;
};
};
};
}
private function delClass(){
}
public function failedHandler():void{
delListDownLoader();
if (bigImageArr != null){
initListItem();
} else {
createUploadLoseMC();
};
trace("create failed ui");
}
private function initClass(){
}
public function progressHandler(_arg1:Number):void{
}
private function delEvent(){
backBtn.removeEventListener(MouseEvent.CLICK, back);
nextBtn.removeEventListener(MouseEvent.CLICK, nextPage);
previousBtn.removeEventListener(MouseEvent.CLICK, previousPage);
downloadMC.removeEventListener("clickItem_m", clickItem_m);
Root.removeEventListener("delLoadBigImage_m", delLoadBigImage_m);
}
private function initEvent(){
backBtn.addEventListener(MouseEvent.CLICK, back);
nextBtn.addEventListener(MouseEvent.CLICK, nextPage);
previousBtn.addEventListener(MouseEvent.CLICK, previousPage);
downloadMC.addEventListener("clickItem_m", clickItem_m);
Root.addEventListener("delLoadBigImage_m", delLoadBigImage_m);
}
private function delListDownLoader():void{
}
private function delUploadLoseMC(){
uploadLoseMC_tryAgainBtn.removeEventListener(MouseEvent.CLICK, backToGame);
uploadLoseMC_tryAgainBtn = null;
uploadLoseMC.parent.removeChild(uploadLoseMC);
uploadLoseMC = null;
}
private function previousPage(_arg1:MouseEvent){
var _local2:int;
var _local3:int;
trace("previousPage page");
if (c_page > 1){
trace("previousPage page");
c_page--;
pageNum = (pageNum - 6);
delListItem();
initListItem();
nextEnabledMC.visible = false;
_local2 = 1;
while (_local2 <= 6) {
this[("titleTxt" + String(_local2))].visible = true;
this[("nameTxt" + String(_local2))].visible = true;
this[("dateTxt" + String(_local2))].visible = true;
this[("imageMC" + String(_local2))].visible = true;
this[("imageBG" + String(_local2))].visible = true;
_local2++;
};
};
trace(("c_page ============= " + c_page));
if (c_page == 1){
previousEnabledMC.visible = true;
trace("hide===================");
_local3 = ((pageNum + 6) - xmlList.length());
trace(("bg_num ====== " + _local3));
if (_local3 > 0){
_local2 = 0;
while (_local2 < _local3) {
trace(("i ==== " + _local2));
this[("titleTxt" + String((6 - _local2)))].visible = false;
this[("nameTxt" + String((6 - _local2)))].visible = false;
this[("dateTxt" + String((6 - _local2)))].visible = false;
this[("imageMC" + String((6 - _local2)))].visible = false;
this[("imageBG" + String((6 - _local2)))].visible = false;
_local2++;
};
};
};
}
public function delDownload(){
delEvent();
delClass();
if (listDownLoader != null){
delListDownLoader();
} else {
delListItem();
};
if (uploadLoseMC != null){
delUploadLoseMC();
};
if (loadBigImage != null){
Root.removeEventListener("delLoadBigImage", delLoadBigImage);
loadBigImage.delLoadBigImage();
loadBigImage = null;
downloadMC.visible = true;
};
downloadMC.parent.removeChild(downloadMC);
downloadMC = null;
}
private function initDownload(){
initClass();
initElement();
initEvent();
initProperty();
initFunction();
initListDownLoader();
}
public function clickItem(_arg1:int, _arg2:String, _arg3:String, _arg4:String, _arg5:String):void{
trace(_arg1, _arg2, _arg3, _arg4, _arg5);
downloadMC.visible = false;
loadBigImage = new LoadBigImage(Root, _arg1, _arg2, _arg3, _arg4, _arg5, downloadMC.x, downloadMC.y);
Root.addEventListener("delLoadBigImage", delLoadBigImage);
}
private function initListDownLoader():void{
if (xmlList == null){
listDownLoader = new ListDownLoader(Data.instance.list, this);
} else {
initListItem();
};
}
public function completeHandler(_arg1:XMLList):void{
delListDownLoader();
this.xmlList = _arg1;
trace(_arg1);
nextBtn.mouseChildren = true;
nextBtn.mouseEnabled = true;
previousBtn.mouseChildren = true;
previousBtn.mouseEnabled = true;
initListItem();
}
private function initElement(){
var _local1:int;
downloadMC = new _DownloadMC_();
Root.addChild(downloadMC);
downloadMC.x = downloadMCX;
downloadMC.y = downloadMCY;
if (CountryInfo.instance.language == 14){
trace("japanese language");
textFormat = new TextFormat("MS Gothic");
} else {
if (CountryInfo.instance.language == 15){
trace("chinese language");
textFormat = new TextFormat("Arial Black");
};
};
_local1 = 1;
while (_local1 <= 6) {
this[("titleTxt" + String(_local1))] = (downloadMC.getChildByName(("TitleTxt" + String(_local1))) as MovieClip);
_local1++;
};
_local1 = 1;
while (_local1 <= 6) {
this[("nameTxt" + String(_local1))] = (downloadMC.getChildByName(("NameTxt" + String(_local1))) as MovieClip);
_local1++;
};
_local1 = 1;
while (_local1 <= 6) {
this[("dateTxt" + String(_local1))] = (downloadMC.getChildByName(("DateTxt" + String(_local1))) as MovieClip);
_local1++;
};
_local1 = 1;
while (_local1 <= 6) {
this[("imageMC" + String(_local1))] = (downloadMC.getChildByName(("ImageMC" + String(_local1))) as MovieClip);
_local1++;
};
_local1 = 1;
while (_local1 <= 6) {
this[("imageBG" + String(_local1))] = (downloadMC.getChildByName(("ImageBG" + String(_local1))) as MovieClip);
trace(this[("imageBG" + String(_local1))]);
_local1++;
};
backBtn = (downloadMC.getChildByName("BackBtn") as MovieClip);
nextBtn = (downloadMC.getChildByName("NextBtn") as MovieClip);
previousBtn = (downloadMC.getChildByName("PreviousBtn") as MovieClip);
nextEnabledMC = (downloadMC.getChildByName("NextEnabledMC") as MovieClip);
nextEnabledMC.visible = false;
previousEnabledMC = (downloadMC.getChildByName("PreviousEnabledMC") as MovieClip);
previousEnabledMC.visible = true;
}
private function backToGame(_arg1:MouseEvent){
trace("backToGame");
_arg1.target.parent.dispatchEvent(new Event("delUploadMC_Upload", true));
}
private function delLoadBigImage_m(_arg1:Event){
loadBigImage_m.delLoadBigImage_m();
loadBigImage_m = null;
}
private function back(_arg1:MouseEvent){
downloadMC.dispatchEvent(new Event("delUploadMC_Upload", true));
}
private function createUploadLoseMC(){
uploadLoseMC = new _UploadLoseMC_();
downloadMC.addChild(uploadLoseMC);
uploadLoseMC_tryAgainBtn = (uploadLoseMC.getChildByName("TryAgainBtn") as MovieClip);
uploadLoseMC_tryAgainBtn.addEventListener(MouseEvent.CLICK, backToGame);
}
private function delLoadBigImage(_arg1:Event){
Root.removeEventListener("delLoadBigImage", delLoadBigImage);
loadBigImage.delLoadBigImage();
loadBigImage = null;
downloadMC.visible = true;
}
}
}//package GameFile
Section 79
//DrawOBJ (GameFile.DrawOBJ)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
public class DrawOBJ extends MovieClip {
private const wbFilter:GlowFilter;
private const objFilter:GlowFilter;
public var printMC:MovieClip;
public var trackArr:Array;
public var isObjDraw:Boolean;
public var arr_index:int;
public var drawOBJY:int;
public var drawOBJX:int;
public var drawType:int;
public var dragFlag:Boolean;
public var data_id:String;
public var parent_id:String;
private static var drag_startX:Number;
private static var drag_startY:Number;
public function DrawOBJ(){
objFilter = new GlowFilter(0xFFFF00, 1, 5, 5, 5, 1, false, false);
wbFilter = new GlowFilter(0x999999, 1, 2, 5, 5, 1, false, false);
super();
initDrawOBJ();
}
private function initDrawOBJ(){
initClass();
initElement();
initEvent();
initProperty();
}
public function choosTheDrawOBJ(){
this.filters = [objFilter];
if (((!((InGame.c_obj == null))) && ((isObjDraw == true)))){
InGame.currentlyOBJGetDrawOBJArrNum(arr_index);
} else {
InGame.getDrawOBJArrNum(arr_index);
};
if (isObjDraw == false){
InGame.clearOBJ();
};
}
private function delClass(){
}
private function initProperty(){
dragFlag = true;
drag_startX = 0;
drag_startY = 0;
}
private function initClass(){
}
public function initEvent(){
this.addEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose, false, 0, true);
}
public function startingDragAndChoose_Mian(){
drawOBJX = this.x;
drawOBJY = this.y;
this.removeEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose);
this.stage.addEventListener(MouseEvent.MOUSE_UP, endDrag);
this.stage.addEventListener(MouseEvent.MOUSE_MOVE, objDrag);
drag_startX = MouseClass.c_x;
drag_startY = MouseClass.c_y;
choosTheDrawOBJ();
}
public function delEvent(){
this.removeEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose);
}
public function drawOBJFilters(){
this.filters = [objFilter];
}
public function delDrawOBJ(){
delEvent();
printMC.parent.removeChild(printMC);
printMC = null;
}
private function startingDragAndChoose(_arg1:MouseEvent){
if (dragFlag == true){
trace("_Sound_TakeObj_");
startingDragAndChoose_Mian();
};
}
public function wbPrint(){
this.filters = [wbFilter];
}
public function lostTheDrawOBJ(){
this.filters = [];
}
private function endDrag(_arg1:MouseEvent){
this.stage.removeEventListener(MouseEvent.MOUSE_UP, endDrag);
this.stage.removeEventListener(MouseEvent.MOUSE_MOVE, objDrag);
this.addEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose);
drag_startX = 0;
drag_startY = 0;
drawOBJX = this.x;
drawOBJY = this.y;
this.dispatchEvent(new Event("createEditMenu_OBJ", true));
}
private function initElement(){
printMC = new MovieClip();
this.addChild(printMC);
printMC.x = 0;
printMC.y = 0;
printMC.visible = false;
}
private function objDrag(_arg1:MouseEvent){
InGame.defaultFlag = true;
this.x = (this.x + (MouseClass.c_x - drag_startX));
this.y = (this.y + (MouseClass.c_y - drag_startY));
drag_startX = MouseClass.c_x;
drag_startY = MouseClass.c_y;
_arg1.target.dispatchEvent(new Event("moveEditMenu_OBJ", true));
}
}
}//package GameFile
Section 80
//DrawPage (GameFile.DrawPage)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.filters.*;
public class DrawPage extends MovieClip {
private const rootWidth:int = 660;
private const lightFilter:GlowFilter;
private const chooseColorBtnMCX:int = 250;
private const chooseColorBtnMCY:int = 60;
private const drawPageButtonMCY:int = 193;
private const drawNoteMCX:int = 13;
private const drawNoteMCY:int = 20;
private const drawPageButtonMCX:int = 36;
private const drawTypeBtnSum:int = 7;
private const rootHeight:int = 480;
private const okBtnX:int = 32;
private const okBtnY:int = 289;
private const colorTableY:int = 68;
private const colorTableX:int = 25;
private const drawTypeBtnMCX:int = 250;
private const drawTypeBtnMCY:int = 180;
private const sizeBarMCX:int = 20;
private const sizeBarMCY:int = 273;
private var lineSize:int;
private var pencilColorBtn:MovieClip;
private var colorTable:MovieClip;
private var sizeBar:MovieClip;
private var theChooseColor:uint;
private var c_colorBtn:String;
private var pencilColor:uint;
private var sizeBtn:MovieClip;
private var drawTypeBtnArr:Array;
private var drawType:int;
private var fillColorBtn:MovieClip;
private var chooseColorBtnMC:MovieClip;
private var okBtn:MovieClip;
private var lineSizeText:TextField;
private var drawTypeBtnMC:MovieClip;
private var Root:MovieClip;
private var drawTypeBtn1:MovieClip;
private var drawTypeBtn2:MovieClip;
private var drawTypeBtn3:MovieClip;
private var drawTypeBtn5:MovieClip;
private var drawTypeBtn7:MovieClip;
private var drawTypeBtn4:MovieClip;
private var chooseColorBtn:MovieClip;
private var drawTypeBtn6:MovieClip;
private var colorBitmapData:BitmapData;
private var colorTransform:ColorTransform;
private var drawPageButtonMC:MovieClip;
private var sizeBtnStartDragX:int;
private var sizeBarMC:MovieClip;
private var drawNoteMC:MovieClip;
private var fillColor:uint;
private var mouseColorMC:MovieClip;
private var lineSizeTextMC:MovieClip;
public function DrawPage(_arg1:MovieClip){
lightFilter = new GlowFilter(0xFFFF00, 1, 5, 5, 5, 1, false, false);
super();
initDrawPage(_arg1);
}
private function resumClickColor(_arg1:MouseEvent){
colorTransform.color = theChooseColor;
mouseColorMC.transform.colorTransform = colorTransform;
}
private function delClass(){
}
private function initClass(){
}
private function closeTheAllTypeBtnFilter(){
var _local1:int;
_local1 = 0;
while (_local1 < drawTypeBtnArr.length) {
drawTypeBtnArr[_local1].filters = [];
_local1++;
};
}
private function getSize(){
lineSize = int(((sizeBtn.x - sizeBar.x) / (sizeBar.width / 100)));
if (lineSize == 0){
lineSize = 1;
} else {
if (lineSize == 100){
lineSize = 99;
};
};
InGame.lineSize = lineSize;
lineSizeText.text = String(lineSize);
}
private function changePencilSize(_arg1:MouseEvent){
sizeBtn.x = ((sizeBtn.x + Root.mouseX) - sizeBtnStartDragX);
if (sizeBtn.x <= sizeBar.x){
sizeBtn.x = sizeBar.x;
} else {
if (sizeBtn.x >= (sizeBar.x + sizeBar.width)){
sizeBtn.x = (sizeBar.x + sizeBar.width);
};
};
sizeBtnStartDragX = Root.mouseX;
getSize();
}
private function startChangePencilSize(_arg1:MouseEvent){
Root.stage.addEventListener(MouseEvent.MOUSE_UP, endChangePencilSize);
Root.addEventListener(MouseEvent.MOUSE_MOVE, changePencilSize);
sizeBtnStartDragX = Root.mouseX;
}
public function delDrawPage(){
delEvent();
delClass();
}
private function initDrawPage(_arg1:MovieClip){
Root = _arg1;
initClass();
initProperty();
initElement();
initEvent();
InGame.lineSize = lineSize;
InGame.pencilColor = pencilColor;
InGame.fillColor = fillColor;
InGame.drawType = drawType;
}
private function initProperty(){
colorTransform = new ColorTransform();
c_colorBtn = "PencilColorBtn";
drawTypeBtnArr = new Array();
pencilColor = 0;
fillColor = 0;
lineSize = 1;
drawType = 1;
}
private function delEvent(){
var _local1:int;
colorTable.removeEventListener(MouseEvent.MOUSE_MOVE, getMouseColor);
colorTable.removeEventListener(MouseEvent.MOUSE_OUT, resumClickColor);
colorTable.removeEventListener(MouseEvent.CLICK, getColor);
sizeBtn.removeEventListener(MouseEvent.MOUSE_DOWN, startChangePencilSize);
pencilColorBtn.removeEventListener(MouseEvent.CLICK, chooseColor);
fillColorBtn.removeEventListener(MouseEvent.CLICK, chooseColor);
okBtn.removeEventListener(MouseEvent.CLICK, drawIsOver);
_local1 = 1;
while (_local1 <= 7) {
this[("drawTypeBtn" + String(_local1))].removeEventListener(MouseEvent.CLICK, chooseDrawType);
_local1++;
};
}
private function initEvent(){
colorTable.addEventListener(MouseEvent.MOUSE_MOVE, getMouseColor, false, 0, true);
colorTable.addEventListener(MouseEvent.MOUSE_OUT, resumClickColor, false, 0, true);
colorTable.addEventListener(MouseEvent.CLICK, getColor, false, 0, true);
sizeBtn.addEventListener(MouseEvent.MOUSE_DOWN, startChangePencilSize, false, 0, true);
pencilColorBtn.addEventListener(MouseEvent.CLICK, chooseColor, false, 0, true);
fillColorBtn.addEventListener(MouseEvent.CLICK, chooseColor, false, 0, true);
okBtn.addEventListener(MouseEvent.CLICK, drawIsOver, false, 0, true);
}
private function drawIsOver(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("endEditAndResetSet", true));
_arg1.target.dispatchEvent(new Event("delWindow", true));
}
private function endChangePencilSize(_arg1:MouseEvent){
Root.stage.removeEventListener(MouseEvent.MOUSE_UP, endChangePencilSize);
Root.removeEventListener(MouseEvent.MOUSE_MOVE, changePencilSize);
}
private function chooseColor(_arg1:MouseEvent){
c_colorBtn = _arg1.target.name;
pencilColorBtn.filters = [];
fillColorBtn.filters = [];
}
private function getColor(_arg1:MouseEvent){
theChooseColor = uint(colorBitmapData.getPixel(colorTable.mouseX, colorTable.mouseY));
colorTransform.color = theChooseColor;
if (c_colorBtn == "PencilColorBtn"){
pencilColor = theChooseColor;
InGame.pencilColor = pencilColor;
pencilColorBtn["Color"].transform.colorTransform = colorTransform;
} else {
if (c_colorBtn == "FillColorBtn"){
fillColor = theChooseColor;
InGame.fillColor = fillColor;
fillColorBtn["Color"].transform.colorTransform = colorTransform;
};
};
}
private function getMouseColor(_arg1:MouseEvent){
colorTransform.color = uint(colorBitmapData.getPixel(colorTable.mouseX, colorTable.mouseY));
mouseColorMC.transform.colorTransform = colorTransform;
}
private function initElement(){
var _local1:*;
var _local2:int;
colorTable = new _ColorTable_();
Root.addChild(colorTable);
colorTable.x = colorTableX;
colorTable.y = colorTableY;
_local1 = new Rectangle(0, 0, colorTable.width, colorTable.height);
colorBitmapData = BmpTool.cutoutBmp(colorTable, _local1);
mouseColorMC = new _MouseColorMC_();
Root.addChild(mouseColorMC);
mouseColorMC.x = ((colorTable.x + colorTable.width) - mouseColorMC.width);
mouseColorMC.y = ((colorTable.y + colorTable.height) - mouseColorMC.height);
sizeBarMC = new _SizeBarMC_();
Root.addChild(sizeBarMC);
sizeBar = (sizeBarMC.getChildByName("SizeBar") as MovieClip);
sizeBtn = (sizeBarMC.getChildByName("SizeBtn") as MovieClip);
sizeBtn.x = sizeBar.x;
lineSizeTextMC = (sizeBarMC.getChildByName("LineSizeTextMC") as MovieClip);
lineSizeText = (lineSizeTextMC.getChildByName("LineSizeText") as TextField);
lineSizeText.text = "1";
sizeBarMC.x = (sizeBarMCX + lineSizeTextMC.width);
sizeBarMC.y = sizeBarMCY;
okBtn = new _OKBtn_();
Root.addChild(okBtn);
okBtn.x = okBtnX;
okBtn.y = okBtnY;
drawPageButtonMC = new _DrawPageBtnMC_();
Root.addChild(drawPageButtonMC);
drawPageButtonMC.x = drawPageButtonMCX;
drawPageButtonMC.y = drawPageButtonMCY;
drawPageButtonMC.mouseEnabled = false;
_local2 = 1;
while (_local2 <= 7) {
this[("drawTypeBtn" + String(_local2))] = (drawPageButtonMC.getChildByName(("DrawTypeBtn" + String(_local2))) as MovieClip);
drawTypeBtnArr.push(this[("drawTypeBtn" + String(_local2))]);
this[("drawTypeBtn" + String(_local2))].addEventListener(MouseEvent.CLICK, chooseDrawType, false, 0, true);
_local2++;
};
pencilColorBtn = (drawPageButtonMC.getChildByName("PencilColorBtn") as MovieClip);
fillColorBtn = (drawPageButtonMC.getChildByName("FillColorBtn") as MovieClip);
pencilColorBtn["Color"].mouseEnabled = false;
fillColorBtn["Color"].mouseEnabled = false;
drawNoteMC = new _DrawNoteMC_();
Root.addChild(drawNoteMC);
drawNoteMC.x = drawNoteMCX;
drawNoteMC.y = drawNoteMCY;
drawNoteMC.mouseEnabled = false;
}
private function chooseDrawType(_arg1:MouseEvent){
closeTheAllTypeBtnFilter();
_arg1.target.filters = [lightFilter];
drawType = int(_arg1.target.name.substr((_arg1.target.name.length - 1), 1));
InGame.drawType = drawType;
}
}
}//package GameFile
Section 81
//DrawTool (GameFile.DrawTool)
package GameFile {
import flash.display.*;
public class DrawTool {
public function DrawTool(){
initDrawTool();
}
public function initDrawTool(){
initProperty();
}
private function initProperty(){
}
public static function clearDraw(_arg1:MovieClip){
_arg1.graphics.clear();
}
public static function drawHeart(_arg1:MovieClip, _arg2:int, _arg3:uint, _arg4:uint, _arg5:int, _arg6:int, _arg7:int, _arg8:int){
var xscale:Number;
var yscale:Number;
var _r = _arg1;
var _size = _arg2;
var _lineColor = _arg3;
var _fillColor = _arg4;
var _startX = _arg5;
var _startY = _arg6;
var _endX = _arg7;
var _endY = _arg8;
xscale = (((_endX - _startX) * 2) / 400);
yscale = (((_endY - _startY) * 2) / 400);
_r.x = _startX;
_r.y = _startY;
var _local10 = _r.graphics;
with (_local10) {
clear();
lineStyle(_size, _lineColor, 1);
beginFill(_fillColor, 1);
moveTo((0 * xscale), (200 * yscale));
curveTo((-180 * xscale), (115 * yscale), (-230 * xscale), (-40 * yscale));
curveTo((-265 * xscale), (-155 * yscale), (-155 * xscale), (-190 * yscale));
curveTo((-30 * xscale), (-215 * yscale), (0 * xscale), (-90 * yscale));
curveTo((30 * xscale), (-215 * yscale), (155 * xscale), (-190 * yscale));
curveTo((265 * xscale), (-155 * yscale), (230 * xscale), (-40 * yscale));
curveTo((180 * xscale), (115 * yscale), (0 * xscale), (200 * yscale));
endFill();
};
}
public static function drawSprayer(_arg1:MovieClip, _arg2:int, _arg3:uint, _arg4:int, _arg5:int){
var maxRadius:Number;
var maxlineWidth:Number;
var P:Number;
var i:Number;
var radius:Number;
var angle:Number;
var x:Number;
var y:Number;
var _r = _arg1;
var _size = _arg2;
var _color = _arg3;
var _startX = _arg4;
var _startY = _arg5;
maxRadius = (10 + (_size * 0.2));
maxlineWidth = 4;
P = (Math.PI / 180);
i = 0;
while (i < (maxRadius * 2.5)) {
radius = MathTool.randomNumber(0, maxRadius);
angle = MathTool.randomNumber(0, 360);
x = (Math.cos((angle * P)) * radius);
y = (Math.sin((angle * P)) * radius);
var _local7 = _r.graphics;
with (_local7) {
lineStyle(MathTool.randomNumber(1, maxlineWidth), _color, 1);
moveTo((_startX + x), (_startY + y));
lineTo(((_startX + x) + 0.2), (_startY + y));
};
i = (i + 1);
};
}
public static function drawOval(_arg1:MovieClip, _arg2:int, _arg3:uint, _arg4:uint, _arg5:int, _arg6:int, _arg7:int, _arg8:int){
var width:Number;
var height:Number;
var i:*;
var _r = _arg1;
var _size = _arg2;
var _lineColor = _arg3;
var _fillColor = _arg4;
var _startX = _arg5;
var _startY = _arg6;
var _endX = _arg7;
var _endY = _arg8;
width = (_endX - _startX);
height = (_endY - _startY);
_r.x = _startX;
_r.y = _startY;
var _local10 = _r.graphics;
with (_local10) {
clear();
lineStyle(_size, _lineColor, 1);
_x = _startX;
_y = _startY;
moveTo(width, 0);
beginFill(_fillColor, 1);
i = 1;
while (i <= 8) {
bl = Math.cos((Math.PI / 8));
a1 = ((width * Math.cos((((i * Math.PI) / 4) - (Math.PI / 8)))) / bl);
a2 = ((height * Math.sin((((i * Math.PI) / 4) - (Math.PI / 8)))) / bl);
b1 = (width * Math.cos(((i * Math.PI) / 4)));
b2 = (height * Math.sin(((i * Math.PI) / 4)));
curveTo(a1, a2, b1, b2);
i++;
};
endFill();
};
}
public static function drawBox(_arg1:MovieClip, _arg2:int, _arg3:uint, _arg4:uint, _arg5:int, _arg6:int, _arg7:int, _arg8:int){
_arg1.graphics.clear();
_arg1.graphics.lineStyle(_arg2, _arg3, 1);
_arg1.graphics.moveTo(_arg5, _arg6);
_arg1.graphics.beginFill(_arg4, 1);
_arg1.graphics.lineTo(_arg7, _arg6);
_arg1.graphics.lineTo(_arg7, _arg8);
_arg1.graphics.lineTo(_arg5, _arg8);
_arg1.graphics.lineTo(_arg5, _arg6);
_arg1.graphics.endFill();
}
public static function drawLine(_arg1:MovieClip, _arg2:int, _arg3:int){
_arg1.graphics.lineTo(_arg2, _arg3);
}
public static function drawBeeline(_arg1:MovieClip, _arg2:int, _arg3:int, _arg4:uint, _arg5:int, _arg6:int, _arg7:int){
clearDraw(_arg1);
_arg1.graphics.lineStyle(_arg5, _arg4, 1);
_arg1.graphics.moveTo(_arg2, _arg3);
_arg1.graphics.lineTo(_arg6, _arg7);
}
public static function startDrawLine(_arg1:MovieClip, _arg2:int, _arg3:int, _arg4:uint, _arg5:int){
_arg1.graphics.lineStyle(_arg5, _arg4, 1);
_arg1.graphics.moveTo(_arg2, _arg3);
}
public static function drawStar(_arg1:MovieClip, _arg2:int, _arg3:uint, _arg4:uint, _arg5:int, _arg6:int, _arg7:int, _arg8:int){
var xscale:Number;
var yscale:Number;
var _r = _arg1;
var _size = _arg2;
var _lineColor = _arg3;
var _fillColor = _arg4;
var _startX = _arg5;
var _startY = _arg6;
var _endX = _arg7;
var _endY = _arg8;
xscale = (((_endX - _startX) * 2) / 1000);
yscale = (((_endY - _startY) * 2) / 950);
_r.x = _startX;
_r.y = _startY;
var _local10 = _r.graphics;
with (_local10) {
clear();
lineStyle(_size, _lineColor, 1);
beginFill(_fillColor, 1);
moveTo((0 * xscale), (-476 * yscale));
lineTo((125 * xscale), (-122 * yscale));
lineTo((500 * xscale), (-112.5 * yscale));
lineTo((202 * xscale), (116 * yscale));
lineTo((308 * xscale), (475.5 * yscale));
lineTo((0 * xscale), (262.5 * yscale));
lineTo((-308 * xscale), (475.5 * yscale));
lineTo((-202 * xscale), (116 * yscale));
lineTo((-500 * xscale), (-112.5 * yscale));
lineTo((-125 * xscale), (-122 * yscale));
lineTo((0 * xscale), (-476 * yscale));
endFill();
};
}
}
}//package GameFile
Section 82
//EditMenu (GameFile.EditMenu)
package GameFile {
import flash.events.*;
import flash.display.*;
public class EditMenu extends MovieClip {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var rotateBtn:MovieClip;
private var Root:MovieClip;
public var ColorBtn:刷子;
public var DrawBtn:按钮;
private var downBtn:MovieClip;
public var DelBtn:垃圾桶;
private var thisY:int;
private var drawBtn:MovieClip;
private var delBtn:MovieClip;
private var thisX:int;
public var EditUpBtn:右翻;
private var upBtn:MovieClip;
public var EditDownBtn:左翻;
public var RotateBtn:翻转;
private var colorBtn:MovieClip;
public function EditMenu(){
initEditMenu();
}
private function initProperty(){
}
private function upIndex(_arg1:MouseEvent){
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("upIndex_EditMenu", true));
};
}
private function editPencilStart(_arg1:MouseEvent){
if (_arg1.target.parent.questionFlag == false){
startEdit();
_arg1.target.dispatchEvent(new Event("editPencilStart", true));
};
}
private function delOBJ(_arg1:MouseEvent){
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("delOBJ_EditMenu", true));
};
}
private function delClass(){
}
private function initClass(){
}
private function downIndex(_arg1:MouseEvent){
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("downIndex_EditMenu", true));
};
}
private function delEvent(){
upBtn.removeEventListener(MouseEvent.CLICK, upIndex);
downBtn.removeEventListener(MouseEvent.CLICK, downIndex);
rotateBtn.removeEventListener(MouseEvent.CLICK, changeBearing);
colorBtn.removeEventListener(MouseEvent.CLICK, editOBJStart);
drawBtn.removeEventListener(MouseEvent.CLICK, editPencilStart);
delBtn.removeEventListener(MouseEvent.CLICK, delOBJ);
}
private function initEvent(){
upBtn.addEventListener(MouseEvent.CLICK, upIndex);
downBtn.addEventListener(MouseEvent.CLICK, downIndex);
rotateBtn.addEventListener(MouseEvent.CLICK, changeBearing);
colorBtn.addEventListener(MouseEvent.CLICK, editOBJStart);
drawBtn.addEventListener(MouseEvent.CLICK, editPencilStart);
delBtn.addEventListener(MouseEvent.CLICK, delOBJ);
}
public function endEdit(){
drawBtn.mouseEnabled = true;
drawBtn.mouseChildren = true;
colorBtn.mouseEnabled = true;
colorBtn.mouseChildren = true;
}
private function initEditMenu(){
initClass();
initElement();
initEvent();
initProperty();
}
public function delEditMenu(){
delEvent();
delClass();
}
private function startEdit(){
drawBtn.mouseEnabled = false;
drawBtn.mouseChildren = false;
colorBtn.mouseEnabled = false;
colorBtn.mouseChildren = false;
}
private function initElement(){
upBtn = (this.getChildByName("EditUpBtn") as MovieClip);
downBtn = (this.getChildByName("EditDownBtn") as MovieClip);
rotateBtn = (this.getChildByName("RotateBtn") as MovieClip);
colorBtn = (this.getChildByName("ColorBtn") as MovieClip);
drawBtn = (this.getChildByName("DrawBtn") as MovieClip);
delBtn = (this.getChildByName("DelBtn") as MovieClip);
}
private function editOBJStart(_arg1:MouseEvent){
if (_arg1.target.parent.questionFlag == false){
startEdit();
_arg1.target.dispatchEvent(new Event("editOBJStart_EditMenu", true));
};
}
private function changeBearing(_arg1:MouseEvent){
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("changeBearing_EditMenu", true));
};
}
}
}//package GameFile
Section 83
//FloorAndWall (GameFile.FloorAndWall)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class FloorAndWall {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private const mcFilter:GlowFilter;
private const mcWidth1:Number = 669.1;
private const mcWidth2:Number = 675.8;
private const mcWidth3:Number = 642;
private const mcHeight1:Number = 180.2;
private const mcHeight2:Number = 183.8;
private const mcHeight3:Number = 642;
public var c_floorWall:MovieClip;
private var childMCMaxIndex:int;
private var floorLayer:MovieClip;
private var colorLayer:MovieClip;
private var grayMC:MovieClip;
private var maxFloorWallNum:int;
public var colorNumArr:Array;
private var childMCArray:Array;
private var colorTransform:ColorTransform;
public var materailArr:Array;
private var mc1:MovieClip;
private var mc2:MovieClip;
private var mc3:MovieClip;
private var materailLayer:MovieClip;
public function FloorAndWall(){
mcFilter = new GlowFilter(0xFFFF00, 1, 5, 5, 5, 1, false, false);
super();
initFloorAndWall();
}
private function getChildMC(_arg1:MouseEvent){
lostTheMC();
chooseTheMC(_arg1.target.parent);
}
private function initProperty(){
var _local1:int;
var _local2:int;
colorLayer = null;
materailLayer = null;
childMCArray = new Array();
maxFloorWallNum = 3;
colorNumArr = new Array();
_local1 = 0;
while (_local1 < maxFloorWallNum) {
colorNumArr[_local1] = "null";
_local1++;
};
materailArr = new Array();
_local2 = 0;
while (_local2 < maxFloorWallNum) {
materailArr[_local2] = "null";
_local2++;
};
c_floorWall = null;
colorTransform = new ColorTransform();
}
private function lostTheMC(){
var _local1:int;
_local1 = 0;
while (_local1 < childMCArray.length) {
childMCArray[_local1].filters = [];
c_floorWall = null;
_local1++;
};
}
public function startEdit(){
grayMC.visible = true;
grayMC.alpha = 0.5;
c_floorWall = mc1;
c_floorWall.filters = [mcFilter];
floorLayer.addEventListener(MouseEvent.CLICK, getChildMC);
}
public function changeColor(_arg1:uint){
var _local2:int;
var _local3:int;
_local2 = 1;
while (_local2 <= maxFloorWallNum) {
if (c_floorWall.name == ("mc" + String(_local2))){
if (materailArr[(_local2 - 1)] != "null"){
materailLayer = (c_floorWall.getChildByName("MaterailLayer") as MovieClip);
materailLayer.mask = null;
materailLayer.parent.removeChild(materailLayer);
materailArr[(_local2 - 1)] = "null";
materailLayer = null;
break;
};
};
_local2++;
};
colorLayer = (c_floorWall.getChildByName("ColorLayer") as MovieClip);
colorTransform.color = _arg1;
colorLayer.transform.colorTransform = colorTransform;
_local3 = 1;
while (_local3 <= maxFloorWallNum) {
if (c_floorWall.name == ("mc" + String(_local3))){
colorNumArr[(_local3 - 1)] = _arg1;
break;
};
_local3++;
};
}
public function endEdit(){
grayMC.alpha = 1;
grayMC.visible = false;
floorLayer.removeEventListener(MouseEvent.CLICK, getChildMC);
lostTheMC();
colorLayer = null;
materailLayer = null;
}
private function delClass(){
}
private function initFloorAndWall(){
initClass();
initElement();
initEvent();
initProperty();
}
private function initClass(){
}
private function initElement(){
}
private function delEvent(){
}
public function delFloorAndWall(){
}
public function createFloorWall(_arg1:MovieClip){
}
public function changeMaterail(_arg1:String){
var _local2:int;
var _local3:BitmapData;
var _local4:int;
var _local5:int;
_local2 = 1;
while (_local2 <= maxFloorWallNum) {
if (c_floorWall.name == ("mc" + String(_local2))){
materailArr[(_local2 - 1)] = _arg1;
break;
};
_local2++;
};
materailLayer = (c_floorWall.getChildByName("MaterailLayer") as MovieClip);
if (materailLayer == null){
materailLayer = new MovieClip();
c_floorWall.addChild(materailLayer);
materailLayer.x = 0;
materailLayer.y = 0;
materailLayer.name = "MaterailLayer";
};
_local3 = AttachTool.attachBmpData(_arg1);
switch (c_floorWall.name){
case "mc1":
_local4 = mcWidth1;
_local5 = mcHeight1;
break;
case "mc2":
_local4 = mcWidth2;
_local5 = mcHeight2;
break;
case "mc3":
_local4 = mcWidth3;
_local5 = mcHeight3;
break;
};
materailLayer.graphics.clear();
materailLayer.graphics.beginBitmapFill(_local3);
materailLayer.graphics.moveTo(0, 0);
materailLayer.graphics.lineTo(_local4, 0);
materailLayer.graphics.lineTo(_local4, _local5);
materailLayer.graphics.lineTo(0, _local5);
materailLayer.graphics.lineTo(0, 0);
materailLayer.graphics.endFill();
colorLayer = (c_floorWall.getChildByName("ColorLayer") as MovieClip);
materailLayer.mask = colorLayer;
colorLayer = null;
}
public function resumeFloorAndWall(_arg1:Array, _arg2:Array){
var _local3:int;
var _local4:BitmapData;
var _local5:int;
var _local6:int;
colorNumArr = _arg1;
materailArr = _arg2;
_local3 = 0;
while (_local3 < materailArr.length) {
if (materailArr[_local3] != "null"){
materailLayer = (floorLayer[("mc" + String((_local3 + 1)))].getChildByName("MaterailLayer") as MovieClip);
if (materailLayer == null){
materailLayer = new MovieClip();
floorLayer[("mc" + String((_local3 + 1)))].addChild(materailLayer);
materailLayer.x = 0;
materailLayer.y = 0;
materailLayer.name = "MaterailLayer";
};
_local4 = AttachTool.attachBmpData(materailArr[_local3]);
_local5 = this[("mcWidth" + String((_local3 + 1)))];
_local6 = this[("mcHeight" + String((_local3 + 1)))];
materailLayer.graphics.clear();
materailLayer.graphics.beginBitmapFill(_local4);
materailLayer.graphics.moveTo(0, 0);
materailLayer.graphics.lineTo(_local5, 0);
materailLayer.graphics.lineTo(_local5, _local6);
materailLayer.graphics.lineTo(0, _local6);
materailLayer.graphics.lineTo(0, 0);
materailLayer.graphics.endFill();
colorLayer = (floorLayer[("mc" + String((_local3 + 1)))].getChildByName("ColorLayer") as MovieClip);
materailLayer.mask = colorLayer;
colorLayer = null;
} else {
if (colorNumArr[_local3] != "null"){
materailLayer = (floorLayer[("mc" + String((_local3 + 1)))].getChildByName("MaterailLayer") as MovieClip);
if (materailLayer != null){
materailLayer.mask = null;
materailLayer.parent.removeChild(materailLayer);
};
colorLayer = (floorLayer[("mc" + String((_local3 + 1)))].getChildByName("ColorLayer") as MovieClip);
colorTransform.color = colorNumArr[_local3];
colorLayer.transform.colorTransform = colorTransform;
};
};
_local3++;
};
}
private function chooseTheMC(_arg1:MovieClip){
var _local2:int;
_local2 = 0;
while (_local2 < childMCArray.length) {
if (_arg1.name == childMCArray[_local2].name){
_arg1.parent.setChildIndex(_arg1, childMCMaxIndex);
_arg1.filters = [mcFilter];
c_floorWall = _arg1;
materailLayer = null;
break;
};
_local2++;
};
}
private function initEvent(){
}
}
}//package GameFile
Section 84
//Game (GameFile.Game)
package GameFile {
import flash.utils.*;
import flash.events.*;
import flash.display.*;
import net.*;
import net.download.*;
import flash.external.*;
public class Game implements ListDownLoadListener {
private var Root:MovieClip;
private var imageArr:Array;
private var listDownLoader:ListDownLoader;
private var smallImageArr:Array;
private var bigImageArr:Array;
private var inGame:InGame;
private var mainMenu:MainMenu;
private var google:Class;
private var loading:Loading;
private var tracker:Object;
private var soundMode:int;
private var xmlList:XMLList;
private var sentToFriendPage:SentToFriendPage;
private var imageTitleArr:Array;
private var imageDateArr:Array;
private var link:String;
private var imageNameArr:Array;
public function Game(_arg1:MovieClip){
imageArr = new Array();
bigImageArr = new Array();
smallImageArr = new Array();
imageTitleArr = new Array();
imageNameArr = new Array();
imageDateArr = new Array();
super();
initGame(_arg1);
}
private function initProperty(){
}
private function advance(){
Root.gotoAndStop(2);
Root.gotoAndStop(3);
Root.gotoAndStop(1);
trace("goto1");
}
private function delSentToFriendPage(_arg1:Event){
Root.removeEventListener("showMainMenu_SentToFriendPage", delSentToFriendPage);
sentToFriendPage.delSentToFriendPage();
sentToFriendPage = null;
showMainMenu();
}
private function showLoading(){
Root.addEventListener("delLoading_Loading", delLoading);
loading = new Loading(Root);
}
private function showInGame(_arg1:Event){
var _local2:Boolean;
if (mainMenu != null){
_local2 = mainMenu.checkFlag;
delMainMenu();
};
inGame = new InGame(Root, _arg1.target.parent.name, soundMode, tracker, _local2, xmlList);
}
private function initGame(_arg1:MovieClip){
trace("2..初始Game....");
Root = _arg1;
initElement();
initEvent();
initProperty();
initListDownLoader();
}
private function getCurrentURL():String{
var loc:Object;
try {
loc = ExternalInterface.call("window.location.href.toString");
} catch(e:Error) {
return ("");
};
if (loc == null){
return ("");
};
return (String(loc));
}
private function delLoading(_arg1:Event){
trace("delLoading");
Root.removeEventListener("delLoading_Loading", delLoading);
loading.delLoading();
loading = null;
advance();
link = getCurrentURL();
Root.addEventListener("showMainMenu_SentToFriendPage", delSentToFriendPage);
sentToFriendPage = new SentToFriendPage(Root, "receive");
sentToFriendPage.resumeInformation(link);
google = (getDefinitionByName("com.google.analytics.GATracker") as Class);
tracker = new google(Root, "UA-6695967-1", "AS3", false);
if (link.indexOf("code=") == -1){
Root.removeEventListener("showMainMenu_SentToFriendPage", delSentToFriendPage);
sentToFriendPage.delSentToFriendPage();
sentToFriendPage = null;
showMainMenu();
};
}
private function initListDownLoader():void{
listDownLoader = new ListDownLoader(Data.instance.list, this);
}
public function failedHandler():void{
trace("create failed ui");
delListDownLoader();
showLoading();
}
private function delEvent(){
}
public function completeHandler(_arg1:XMLList):void{
delListDownLoader();
xmlList = _arg1;
trace("xml loading complete");
if (mainMenu != null){
mainMenu.getXml(xmlList);
};
if (inGame != null){
inGame.getXml(xmlList);
};
showLoading();
}
private function initElement(){
}
private function showMainMenu(){
Root.addEventListener("showInGame_MainMenu", showInGame);
mainMenu = new MainMenu(Root, xmlList);
tracker.trackEvent("My New Town", "mainscreen viewed", "per session", 0);
}
public function progressHandler(_arg1:Number):void{
}
private function delMainMenu(){
soundMode = mainMenu.soundMode;
Root.addEventListener("showInGame_MainMenu", showInGame);
mainMenu.delMainMenu();
mainMenu = null;
}
private function initEvent(){
}
private function delListDownLoader():void{
if (listDownLoader != null){
listDownLoader.destroy();
listDownLoader = null;
};
}
}
}//package GameFile
Section 85
//GameInformation (GameFile.GameInformation)
package GameFile {
public class GameInformation {
public var bgSum:int;
public var mainGamePageArr:Array;
public var defaultArr1:Array;
public var defaultArr2:Array;
public var defaultArr4:Array;
public var gameLink:String;
public var gameName:String;// = "My_New_Town"
public var c_bgNum:int;
public var musicSum:int;
public var defaultArr3:Array;
public var btnArr1:Array;
public var btnArr2:Array;
public var btnArr3:Array;
public var btnArr4:Array;
public var btnArr5:Array;
public var btnArr6:Array;
public var galleryLink:String;// = "http://192.168.100.137:8080/test/gallery_overview.php?pageid=1&&gamename="
public var weatherSum:int;
public var materialArr:Array;
public var imageSize:Number;
public var immutableArr:Array;
private static var ins:GameInformation;
public function GameInformation(){
galleryLink = "http://192.168.100.137:8080/test/gallery_overview.php?pageid=1&&gamename=";
gameName = "My_New_Town";
gameLink = (("www.zlonggamestest.com/ZhuBin/" + gameName) + ".html");
super();
initGameInformation();
}
private function initGameInformation(){
initProperty();
}
private function initProperty(){
var _local1:int;
var _local2:int;
var _local3:int;
materialArr = new Array("material_0", "material_1", "material_2", "material_3", "material_4", "material_5", "material_6", "material_7", "material_8", "material_9", "material_10", "material_11", "material_12", "material_13", "material_14", "material_15", "material_16", "material_17", "material_18", "material_19", "material_20", "material_21", "material_22", "material_23", "material_24", "material_25", "material_26", "material_27", "material_28", "material_29", "material_30", "material_31", "material_32", "material_33", "material_34", "material_35", "material_36", "material_37", "material_38", "material_39", "material_40", "material_41");
c_bgNum = 1;
bgSum = 7;
weatherSum = 7;
musicSum = 4;
btnArr1 = new Array(["_baickground_2_", 0, 0, 3, 4], ["_baickground_1_", 0, 0, 3, 4], ["_road_4_", 4, 3, 0, 1], ["_river_1_", 4, 0, 4, 0], ["_river_2_", 4, 0, 4, 0], ["_road_1_", 4, 3, 0, 1], ["_footpath_1_", 1, 2, 0, 4], ["_footpath_2_", 1, 2, 0, 4], ["_road_3_", 4, 3, 0, 1], ["_corner_1_", 4, 3, 0, 1]);
btnArr2 = new Array(["_supermarket_1_", 3, 3, 3, 3], ["_room_1_", 0, 0, 0, 4], ["_room_2_", 0, 0, 0, 4], ["_room_3_", 0, 0, 0, 4], ["_room_4_", 0, 0, 0, 4], ["_cinema_1_", 4, 3, 3, 4], ["_restaurant_2_", 4, 3, 3, 4], ["_factory_1_", 2, 3, 0, 4], ["_factory_2_", 2, 3, 0, 4], ["_flat_1_", 1, 1, 1, 4], ["_flat_2_", 1, 1, 1, 4], ["_falt_3_", 1, 1, 1, 4], ["_flat_4_", 0, 0, 3, 4], ["_farm_1_", 0, 0, 3, 4], ["_farm_2_", 0, 0, 3, 4], ["_farm_3_", 0, 0, 3, 4], ["_business_1_", 3, 3, 0, 4], ["_gymnasium_1_", 0, 4, 0, 3], ["_school_1_", 4, 1, 4, 1], ["_hospital_1_", 1, 4, 4, 4], ["_postoffice_1_", 4, 0, 0, 4], ["_etroom_1_", 4, 4, 4, 0]);
btnArr3 = new Array(["_texi_", 4, 3, 0, 1], ["_boat_1_", 1, 0, 4, 0], ["_boat_2_", 1, 0, 4, 0], ["_boat_3_", 1, 0, 4, 0], ["_bus_", 4, 3, 0, 1], ["_truck_", 4, 3, 0, 2], ["_car_1_", 4, 3, 0, 1], ["_car_2_", 4, 3, 0, 1], ["_bike_1_", 3, 2, 0, 1], ["_bike_2_", 3, 2, 0, 1], ["_ufo_", 4, 4, 0, 0]);
btnArr4 = new Array(["_sculpture_1_", 0, 0, 0, 4], ["_sculpture_2_", 1, 0, 0, 4], ["_windmill_", 4, 1, 0, 0], ["_bridge_1_", 0, 0, 3, 4], ["_bridge_2_", 0, 0, 3, 4], ["_cityhall_", 3, 3, 3, 4], ["_tower_", 3, 0, 0, 4], ["_library_", 4, 0, 2, 2]);
btnArr5 = new Array(["_girl_3_", 2, 3, 2, 2], ["_girl_4_", 2, 3, 2, 2], ["_girl_5_", 2, 3, 2, 2], ["_horse_1_", 2, 3, 2, 3], ["_boy_1_", 2, 3, 2, 2], ["_boy_4_", 2, 3, 2, 2], ["_cow_", 2, 3, 2, 4], ["_girl_1_", 2, 3, 2, 2], ["_girl_2_", 2, 3, 2, 2], ["_et_1_", 4, 4, 2, 0]);
btnArr6 = new Array(["_brushwood_1_", 0, 0, 3, 4], ["_brushwood_2_", 0, 0, 3, 4], ["_pond_", 0, 0, 4, 1], ["_parterre_1_", 0, 0, 3, 4], ["_parterre_2_", 0, 0, 3, 4], ["_billboard_", 4, 0, 0, 4], ["_trafficlight_", 4, 3, 0, 1], ["_flowercar_1_", 0, 0, 3, 4], ["_flower_1_", 0, 0, 3, 4], ["_flower_2_", 0, 0, 3, 4], ["_flower_3_", 0, 0, 3, 4], ["_trafficsign_1_", 4, 3, 0, 1], ["_trafficsign_2_", 4, 3, 0, 1], ["_barn_1_", 2, 0, 0, 4], ["_barn_2_", 2, 0, 3, 2], ["_fountain_1_", 0, 0, 4, 1], ["_tree_1_", 0, 0, 3, 4], ["_tree_2_", 0, 0, 3, 4], ["_tree_3_", 0, 0, 3, 4], ["_well_", 0, 0, 4, 1], ["_barrier_1_", 1, 0, 0, 4], ["_barrier_2_", 1, 0, 0, 4]);
immutableArr = new Array("_river_1_", "_river_2_", "_texi_", "_boat_1_", "_boat_2_", "_boat_3_", "_bus_", "_truck_", "_car_1_", "_car_2_", "_bike_1_", "_bike_2_", "_girl_3_", "_girl_4_", "_girl_5_", "_horse_1_", "_boy_1_", "_boy_4_", "_cow_", "_girl_1_", "_girl_2_", "_et_1_", "_billboard_", "_pond_", "_trafficsign_1_", "_trafficsign_2_");
defaultArr1 = new Array("&1,1,4,1,[,null,null,null,],[,null,null,null,],&1,&2,{,o_1,root,1,379,141,[,no_child_obj,],},{,o_2,root,1,208,136,[,no_child_obj,],},{,o_3,root,1,291,287,[,no_child_obj,],},&2,&3,&3,&4,{,o_1,_farm_2_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},{,o_2,_windmill_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},{,o_3,_horse_1_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},&4,&5,&5");
defaultArr2 = new Array("&1,2,4,1,[,null,null,null,],[,null,null,null,],&1,&2,{,o_1,root,1,135,142,[,no_child_obj,],},{,o_2,root,2,433,308,[,no_child_obj,],},{,o_3,root,1,257,242,[,no_child_obj,],},&2,&3,&3,&4,{,o_1,_room_2_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},{,o_2,_flat_1_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},{,o_3,_fountain_1_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},&4,&5,&5");
defaultArr3 = new Array("&1,3,4,1,[,null,null,null,],[,null,null,null,],&1,&2,{,o_1,root,1,298,176,[,no_child_obj,],},{,o_2,root,1,506,73,[,no_child_obj,],},{,o_3,root,1,132,344,[,no_child_obj,],},&2,&3,&3,&4,{,o_1,_tower_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},{,o_2,_library_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},{,o_3,_school_1_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},&4,&5,&5");
defaultArr4 = new Array("&1,4,4,1,[,null,null,null,],[,null,null,null,],&1,&2,{,o_1,root,1,386,96,[,no_child_obj,],},{,o_2,root,1,144,289,[,no_child_obj,],},{,o_3,root,1,386,241,[,no_child_obj,],},&2,&3,&3,&4,{,o_1,_etroom_1_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},{,o_2,_ufo_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},{,o_3,_et_1_,[,null,null,null,null,null,null,null,null,null,null,],[,null,null,null,null,null,null,null,null,null,null,],},&4,&5,&5");
imageSize = 0.2;
mainGamePageArr = new Array();
_local1 = 6;
_local2 = 2;
_local3 = 1;
while (_local3 <= _local1) {
if ((this[("btnArr" + String(_local3))].length % _local2) == 0){
mainGamePageArr.push((this[("btnArr" + String(_local3))].length / _local2));
} else {
mainGamePageArr.push((int((this[("btnArr" + String(_local3))].length / _local2)) + 1));
};
_local3++;
};
}
public static function get instance():GameInformation{
if (ins == null){
ins = new (GameInformation);
};
return (ins);
}
}
}//package GameFile
Section 86
//GameMenu (GameFile.GameMenu)
package GameFile {
import flash.events.*;
import flash.display.*;
public class GameMenu extends MovieClip {
private const rootWidth:int = 660;
private const btnSum:int = 12;
private const rootHeight:int = 480;
private const moveSpeed:int = 5;
private var weatherUpBtn:MovieClip;
private var moveEndX:int;
private var bgDownBtn:MovieClip;
private var bgUpBtn:MovieClip;
private var weatherMC:MovieClip;
public var questionFlag:Boolean;
private var questionBtn:MovieClip;
private var bgMC:MovieClip;
private var soundPlayFlag:String;
private var Root:MovieClip;
public var ArrowMC:MovieClip;
private var btn1:MovieClip;
private var btn2:MovieClip;
private var btn3:MovieClip;
private var btn4:MovieClip;
private var btn6:MovieClip;
public var Btn10:_Btn12_;
public var Btn12:_Btn14_;
private var arrowMC:MovieClip;
private var btn7:MovieClip;
public var Btn11:_Btn13_;
private var btn9:MovieClip;
private var weatherBtnMC:MovieClip;
private var btn8:MovieClip;
private var btn5:MovieClip;
public var Btn1:_Btn1_;
public var Btn2:_Btn2_;
public var Btn3:_Btn3_;
public var Btn4:_Btn4_;
public var Btn5:_Btn5_;
public var Btn6:_Btn6_;
public var Btn7:_Btn10_;
public var Btn8:_Btn8_;
public var Btn9:_Btn11_;
private var btn14:MovieClip;
private var btn10:MovieClip;
private var btn11:MovieClip;
private var btn12:MovieClip;
public var WeatherBtnMC:MovieClip;
public var BgBtnMC:MovieClip;
private var btn13:MovieClip;
private var bgBtnMC:MovieClip;
private var weatherDownBtn:MovieClip;
public function GameMenu(){
initGameMenu();
}
private function mouseIsOver(_arg1:MouseEvent){
questionFlag = true;
createQuestionBtn(_arg1.target.name);
}
private function mouseIsOut(_arg1:MouseEvent){
questionFlag = false;
delQuestionBtn();
}
public function changeWeatherBtnIcon(_arg1:int){
weatherMC.gotoAndStop(_arg1);
}
private function delClass(){
}
private function initClass(){
}
private function showHowToPlay(_arg1:MouseEvent){
trace("showHowToPlay_Question");
questionBtn.parent.dispatchEvent(new Event("showHowToPlay", true));
}
private function changeWeatherBtnClick(_arg1:MouseEvent){
_arg1.target.parent.dispatchEvent(new Event("changeWeather_GameMenu", true));
}
private function backMenu(_arg1:MouseEvent){
arrowMC.gotoAndStop(2);
this.removeEventListener(Event.ENTER_FRAME, popMenuMain);
this.addEventListener(Event.ENTER_FRAME, backMenuMain, false, 0, true);
if (soundPlayFlag == "in"){
soundPlayFlag = "out";
SoundsManager.getInstance().playSound("_Sound_WindowIn_", 1, 0);
};
trace("_Sound_WindowIn_");
}
private function popMenuMain(_arg1:Event){
this.x = (this.x - moveSpeed);
if (this.x <= moveEndX){
this.x = moveEndX;
this.removeEventListener(Event.ENTER_FRAME, popMenuMain);
};
if (soundPlayFlag == "out"){
soundPlayFlag = "in";
SoundsManager.getInstance().playSound("_Sound_WindowOut_", 1, 0);
};
trace("_Sound_WindowOut_");
}
private function outputMainGameMenu(_arg1:MouseEvent){
switch (_arg1.target.parent.name){
case "Btn1":
InGame.getCurrentlyItemNum(1);
if (_arg1.target.parent.questionFlag == false){
this.dispatchEvent(new Event("outputMainGameMenu_GameMenu", true));
};
break;
case "Btn2":
InGame.getCurrentlyItemNum(2);
if (_arg1.target.parent.questionFlag == false){
this.dispatchEvent(new Event("outputMainGameMenu_GameMenu", true));
};
break;
case "Btn3":
InGame.getCurrentlyItemNum(3);
if (_arg1.target.parent.questionFlag == false){
this.dispatchEvent(new Event("outputMainGameMenu_GameMenu", true));
};
break;
case "Btn4":
InGame.getCurrentlyItemNum(4);
if (_arg1.target.parent.questionFlag == false){
this.dispatchEvent(new Event("outputMainGameMenu_GameMenu", true));
};
break;
case "Btn5":
InGame.getCurrentlyItemNum(5);
if (_arg1.target.parent.questionFlag == false){
this.dispatchEvent(new Event("outputMainGameMenu_GameMenu", true));
};
break;
case "Btn6":
InGame.getCurrentlyItemNum(6);
if (_arg1.target.parent.questionFlag == false){
this.dispatchEvent(new Event("outputMainGameMenu_GameMenu", true));
};
break;
case "Btn7":
InGame.getCurrentlyItemNum(7);
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("sentToFriend_GameMenu", true));
};
break;
case "Btn8":
InGame.getCurrentlyItemNum(8);
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("editPencilStart", true));
};
break;
case "Btn9":
InGame.getCurrentlyItemNum(9);
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("augury_GameMenu", true));
};
break;
case "Btn10":
InGame.getCurrentlyItemNum(10);
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("printGame_GameMenu", true));
};
break;
case "Btn11":
InGame.getCurrentlyItemNum(11);
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("saveTheGameDataToCookie_GameMenu", true));
};
break;
case "Btn12":
InGame.getCurrentlyItemNum(12);
if (_arg1.target.parent.questionFlag == false){
_arg1.target.dispatchEvent(new Event("saveGameData_GameMenu", true));
};
break;
};
}
private function initProperty(){
moveEndX = (rootWidth - this.width);
questionFlag = false;
soundPlayFlag = "in";
}
public function changeBGBtnIcon(_arg1:int){
bgMC.gotoAndStop(_arg1);
}
private function popMenu(_arg1:MouseEvent){
arrowMC.gotoAndStop(1);
this.removeEventListener(Event.ENTER_FRAME, backMenuMain);
this.addEventListener(Event.ENTER_FRAME, popMenuMain, false, 0, true);
}
public function initEvent(){
this.addEventListener(MouseEvent.ROLL_OVER, popMenu);
this.addEventListener(MouseEvent.ROLL_OUT, backMenu);
bgBtnMC.addEventListener(MouseEvent.ROLL_OVER, mouseIsOver);
bgBtnMC.addEventListener(MouseEvent.ROLL_OUT, mouseIsOut);
bgUpBtn.addEventListener(MouseEvent.CLICK, changeBGBtnClick);
bgDownBtn.addEventListener(MouseEvent.CLICK, changeBGBtnClick);
weatherBtnMC.addEventListener(MouseEvent.ROLL_OVER, mouseIsOver);
weatherBtnMC.addEventListener(MouseEvent.ROLL_OUT, mouseIsOut);
weatherUpBtn.addEventListener(MouseEvent.CLICK, changeWeatherBtnClick);
weatherDownBtn.addEventListener(MouseEvent.CLICK, changeWeatherBtnClick);
}
private function delQuestionBtn(){
if (questionBtn != null){
questionBtn.removeEventListener(MouseEvent.CLICK, showHowToPlay);
questionBtn.parent.removeChild(questionBtn);
questionBtn = null;
};
}
public function delEvent(){
this.removeEventListener(MouseEvent.ROLL_OVER, popMenu);
this.removeEventListener(MouseEvent.ROLL_OUT, backMenu);
bgBtnMC.removeEventListener(MouseEvent.ROLL_OVER, mouseIsOver);
bgBtnMC.removeEventListener(MouseEvent.ROLL_OUT, mouseIsOut);
bgUpBtn.removeEventListener(MouseEvent.CLICK, changeBGBtnClick);
bgDownBtn.removeEventListener(MouseEvent.CLICK, changeBGBtnClick);
weatherBtnMC.removeEventListener(MouseEvent.ROLL_OVER, mouseIsOver);
weatherBtnMC.removeEventListener(MouseEvent.ROLL_OUT, mouseIsOut);
weatherUpBtn.removeEventListener(MouseEvent.CLICK, changeWeatherBtnClick);
weatherDownBtn.removeEventListener(MouseEvent.CLICK, changeWeatherBtnClick);
}
private function initGameMenu(){
initClass();
initElement();
initEvent();
initProperty();
}
private function changeBGBtnClick(_arg1:MouseEvent){
SoundsManager.getInstance().playSound("_Sound_WindowOut_", 1, 0);
trace("_Sound_WindowOut_");
_arg1.target.parent.dispatchEvent(new Event("changeBG_GameMenu", true));
}
public function delGameMenu(){
delEvent();
delClass();
}
private function initElement(){
var _local1:int;
_local1 = 1;
while (_local1 <= btnSum) {
this[("btn" + String(_local1))] = (this.getChildByName(("Btn" + String(_local1))) as MovieClip);
this[("btn" + String(_local1))].addEventListener(MouseEvent.CLICK, outputMainGameMenu);
_local1++;
};
arrowMC = (this.getChildByName("ArrowMC") as MovieClip);
arrowMC.gotoAndStop(1);
weatherBtnMC = (this.getChildByName("WeatherBtnMC") as MovieClip);
weatherUpBtn = (weatherBtnMC.getChildByName("WeatherUpBtn") as MovieClip);
weatherDownBtn = (weatherBtnMC.getChildByName("WeatherDownBtn") as MovieClip);
weatherMC = (weatherBtnMC.getChildByName("WeatherMC") as MovieClip);
weatherMC.gotoAndStop(1);
bgBtnMC = (this.getChildByName("BgBtnMC") as MovieClip);
bgUpBtn = (bgBtnMC.getChildByName("BgUpBtn") as MovieClip);
bgDownBtn = (bgBtnMC.getChildByName("BgDownBtn") as MovieClip);
bgMC = (bgBtnMC.getChildByName("BgMC") as MovieClip);
bgMC.gotoAndStop(1);
}
private function backMenuMain(_arg1:Event){
this.x = (this.x + moveSpeed);
if (this.x >= (rootWidth - (this.width / 4))){
this.x = (rootWidth - (this.width / 4));
this.removeEventListener(Event.ENTER_FRAME, backMenuMain);
};
}
private function createQuestionBtn(_arg1:String){
questionBtn = new _QuestionBtn_();
if (_arg1 == "WeatherBtnMC"){
weatherBtnMC.addChild(questionBtn);
} else {
if (_arg1 == "BgBtnMC"){
bgBtnMC.addChild(questionBtn);
};
};
questionBtn.gotoAndStop(1);
questionBtn["Txt"].text = "?";
questionBtn.x = 0;
questionBtn.y = 0;
questionBtn.scaleX = 0.7;
questionBtn.scaleY = 0.7;
questionBtn.addEventListener(MouseEvent.CLICK, showHowToPlay, false, 0, true);
}
}
}//package GameFile
Section 87
//HowToPlay (GameFile.HowToPlay)
package GameFile {
import flash.utils.*;
import flash.events.*;
import flash.display.*;
public class HowToPlay extends MovieClip {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var helpUpBtn:MovieClip;
private var btnName:String;
private var maxFrames:int;
private var closeBtn:MovieClip;
private var timer:Timer;
public var HowToPlayBottom:MovieClip;
public var HelpDownBtn:_arrrowMC1_;
private var howToPlayBottom:MovieClip;
private var helpDownBtn:MovieClip;
public var HelpUpBtn:_arrrowMC1_;
public function HowToPlay(){
initHowToPlay();
}
private function initProperty(){
maxFrames = this.totalFrames;
}
private function initFunction(){
}
private function helpPageUp(_arg1:MouseEvent){
if (this.currentFrame < maxFrames){
this.gotoAndStop((this.currentFrame + 1));
if (this.currentFrame == maxFrames){
this.gotoAndStop(1);
};
};
}
private function delClass(){
}
private function helpPageDown(_arg1:MouseEvent){
if (this.currentFrame > 1){
this.gotoAndStop((this.currentFrame - 1));
} else {
if (this.currentFrame == 1){
this.gotoAndStop((maxFrames - 1));
};
};
}
private function playingHowToPlay(_arg1:TimerEvent){
if (btnName == "HowToPlayBtn"){
if (this.currentFrame < maxFrames){
this.gotoAndStop((this.currentFrame + 1));
if (this.currentFrame == maxFrames){
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, playingHowToPlay);
timer = null;
this.dispatchEvent(new Event("delHowToPlay_HowToPlay", true));
};
};
} else {
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, playingHowToPlay);
timer = null;
this.dispatchEvent(new Event("delHowToPlay_HowToPlay", true));
};
}
private function initClass(){
}
public function delHowToPlay(){
trace("stopMusic");
delEvent();
delClass();
howToPlayBottom = null;
closeBtn = null;
helpUpBtn = null;
helpDownBtn = null;
}
private function initEvent(){
closeBtn.addEventListener(MouseEvent.CLICK, closeHowToPlay);
helpUpBtn.addEventListener(MouseEvent.CLICK, helpPageUp);
helpDownBtn.addEventListener(MouseEvent.CLICK, helpPageDown);
}
private function delEvent(){
if (timer != null){
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, playingHowToPlay);
timer = null;
};
closeBtn.removeEventListener(MouseEvent.CLICK, closeHowToPlay);
helpUpBtn.removeEventListener(MouseEvent.CLICK, helpPageUp);
helpDownBtn.removeEventListener(MouseEvent.CLICK, helpPageDown);
}
private function startHowToPlay(){
if (timer != null){
timer.start();
timer.addEventListener(TimerEvent.TIMER, playingHowToPlay, false, 0, true);
};
}
private function initHowToPlay(){
initClass();
initElement();
initEvent();
initProperty();
initFunction();
}
private function closeHowToPlay(_arg1:MouseEvent){
this.dispatchEvent(new Event("delHowToPlay_HowToPlay", true));
}
private function initElement(){
howToPlayBottom = (this.getChildByName("HowToPlayBottom") as MovieClip);
closeBtn = (howToPlayBottom.getChildByName("CloseBtn") as MovieClip);
helpUpBtn = (this.getChildByName("HelpUpBtn") as MovieClip);
helpDownBtn = (this.getChildByName("HelpDownBtn") as MovieClip);
helpUpBtn.visible = false;
helpDownBtn.visible = false;
this.gotoAndStop(1);
}
public function showHowToPlayPage(_arg1:String){
trace("_Sound_HowToPlay_");
btnName = _arg1;
if ((((btnName == "HowToPlayBtn")) || ((btnName == "HowToPlayBtn_InGame")))){
helpUpBtn.visible = true;
helpDownBtn.visible = true;
this.gotoAndStop(1);
} else {
if ((((((((((((btnName == "Btn1")) || ((btnName == "Btn2")))) || ((btnName == "Btn3")))) || ((btnName == "Btn4")))) || ((btnName == "Btn5")))) || ((btnName == "Btn6")))){
this.gotoAndStop(2);
} else {
if ((((((((((((btnName == "RotateBtn")) || ((btnName == "EditDownBtn")))) || ((btnName == "DrawBtn")))) || ((btnName == "ColorBtn")))) || ((btnName == "EditUpBtn")))) || ((btnName == "DelBtn")))){
this.gotoAndStop(3);
} else {
if ((((((((((((((((btnName == "Btn7")) || ((btnName == "Btn8")))) || ((btnName == "Btn9")))) || ((btnName == "Btn10")))) || ((btnName == "Btn11")))) || ((btnName == "Btn12")))) || ((btnName == "WeatherBtnMC")))) || ((btnName == "BgBtnMC")))){
this.gotoAndStop(4);
} else {
if ((((((((btnName == "ClearBtnMC")) || ((btnName == "MusicBtnMC")))) || ((btnName == "HowToPlayBtn_InGame_Question")))) || ((btnName == "SoundBtn")))){
this.gotoAndStop(5);
} else {
if (btnName == "ColorEditPage"){
this.gotoAndStop(6);
} else {
if (btnName == "DrawEditPage"){
this.gotoAndStop(7);
};
};
};
};
};
};
};
}
}
}//package GameFile
Section 88
//InGame (GameFile.InGame)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import zlong.site.*;
import zlong.navigate.*;
import flash.system.*;
public class InGame {
private const rootWidth:int = 660;
private const itemSum:int = 6;
private const rootHeight:int = 480;
private const auguryNum:int = 1;
private const pencilEditBtnNum:int = 8;
private const floorEditBtnNum:int = 9;
private const minIndex:int = 1;
private const colorEditBtnNum:int = 7;
private var upload:Upload;
private var wind:int;
private var lock_logoMC:MovieClip;
private var c_weather:int;
private var lockMC:MovieClip;
private var c_bgNum:int;
public var bigImageArr:Array;
public var imageLinkArr:Array;
private var fire:int;
private var google:Object;
private var bg:Background;
private var maxIndexOBJ:MovieClip;
private var inGameElement:InGameElement;
private var windowArr:Array;
private var resumePage:ResumePage;
private var tmpObj:MovieClip;
private var saveTheLocalData:SaveTheLocalData;
private var pageNumArr:Array;
private var deepPencilMC:MovieClip;
private var gameMenu:MovieClip;
private var objMaxWH:int;
private var editMenu:MovieClip;
private var checkFlag:Boolean;
private var floorAndWall:FloorAndWall;
private var objLayer:MovieClip;
private var moveX:int;
private var moveY:int;
private var gameData:Array;
private var howToPlay:MovieClip;
private var backgroundLayer:MovieClip;
private var erath:int;
public var imageIDArr:Array;
private var adsorbNum:int;
private var lock_startGameBtn:MovieClip;
private var sentToFriendPage:SentToFriendPage;
private var lock_backBtn:MovieClip;
private var augurySoundPlayTime:int;
private var editIndex:int;
private var Root:MovieClip;
private var water:int;
private var c_floorWall:MovieClip;
private var createDrawList:Array;
private var pencilShapeDataArr:Array;
private var roadBasicW:Number;
private var pencilShapeArr:Array;
private var startGameMode:String;
private var roadBasicH:Number;
public var smallImageArr:Array;
public var xmlList:XMLList;
private var soundMode:int;
public var imageTitleArr:Array;
private var c_musicName:String;
private var weatherSound:String;
private var c_musicNum:int;
private var isPencilEdit:Boolean;
private var isDraw:Boolean;
private var createObjList:Array;
private var mainBmpMC:MovieClip;
private var savePage:SavePage;
private var loadData:Data;
private var mouseLayer:MovieClip;
private var weatherSum:int;
private var main:MovieClip;
private var weatherLayer:MovieClip;
private var bgSum:int;
private var drawMC:MovieClip;
private var gameInformation:GameInformation;
private var printTool:PrintTool;
private var musicSum:int;
private var augury:Augury;
private var objArr:Array;
private var grayMask:MovieClip;
private var weather:Weather;
public var imageDateArr:Array;
public var imageNameArr:Array;
private static var c_obj_arrNum:int;
public static var lineSize:int;
public static var t_arr:Array;
public static var c_obj:OBJ;
public static var fillColor:uint;
public static var drawType:int;
public static var drawCount:int;
public static var theChooseMaterial:String;
private static var c_drawObj:DrawOBJ;
public static var auguryArr:Array;
public static var t_obj:OBJ;
public static var defaultFlag:Boolean;
public static var allDrawObjArr:Array;
public static var c_window:WindowObj;
public static var pencilColor:uint;
public static var objCount:int;
public static var theChooseColor:uint;
public static var allObjArr:Array;
public static var c_btnNum:int;
public static var drawDataArr:Array;
private static var c_drawObj_arrNum:int;
public static var c_windowName:String;
public static var c_id:String;
public function InGame(_arg1:MovieClip, _arg2:String, _arg3:int, _arg4:Object, _arg5:Boolean, _arg6:XMLList){
bigImageArr = new Array();
smallImageArr = new Array();
imageTitleArr = new Array();
imageNameArr = new Array();
imageDateArr = new Array();
imageIDArr = new Array();
imageLinkArr = new Array();
super();
initInGame(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
private function endSaveTheGameDataToCookieMain(){
var _local1:int;
if (weatherSound != "null"){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
trace(weatherSound);
};
_local1 = 0;
while (_local1 < objArr.length) {
objArr[_local1].movieLayerPlay();
objArr[_local1].goonMove();
_local1++;
};
weather.playWeather();
weatherLayer.visible = true;
saveTheLocalData.delSaveTheLocalData();
saveTheLocalData = null;
}
private function createMainBmpMC(_arg1:Event){
var _local2:int;
var _local3:*;
var _local4:*;
var _local5:*;
if (mainBmpMC == null){
if (c_obj != null){
c_obj.visible = false;
} else {
if (c_drawObj != null){
c_drawObj.visible = true;
};
};
_local3 = new Rectangle(0, 0, rootWidth, rootHeight);
_local4 = BmpTool.cutoutBmp(objLayer, _local3);
_local5 = new Bitmap(_local4);
mainBmpMC = new MovieClip();
mainBmpMC.addChild(_local5);
objLayer.addChild(mainBmpMC);
mainBmpMC.parent.setChildIndex(mainBmpMC, 0);
if (allDrawObjArr.length != 0){
_local2 = 0;
while (_local2 < allDrawObjArr.length) {
allDrawObjArr[_local2].visible = false;
_local2++;
};
};
if (allObjArr.length != 0){
_local2 = 0;
while (_local2 < allObjArr.length) {
allObjArr[_local2].visible = false;
_local2++;
};
};
if (c_obj != null){
c_obj.visible = true;
} else {
if (c_drawObj != null){
c_drawObj.visible = true;
};
};
};
}
private function clearAll(_arg1:Event){
clearAllMain();
}
private function choose(_arg1:MouseEvent){
if (_arg1.target.name == "objLayer"){
c_obj_arrNum = -1;
c_obj = null;
c_drawObj_arrNum = -1;
c_drawObj = null;
delEditMenuMain();
};
if (c_obj_arrNum != -1){
c_obj = objArr[c_obj_arrNum];
createEditMenuMain();
} else {
if (c_drawObj_arrNum != -1){
c_drawObj = pencilShapeArr[c_drawObj_arrNum];
createEditMenuMain();
};
};
delAllOBJChoose();
delAllDrawOBJChoose();
}
private function endSaveTheGameDataToCookie(_arg1:Event){
endSaveTheGameDataToCookieMain();
}
private function drawing(_arg1:MouseEvent){
InGame.defaultFlag = true;
if (isDraw == false){
isDraw = true;
};
if (drawType == 1){
DrawTool.drawLine(drawMC, main.mouseX, main.mouseY);
DrawTool.drawLine(drawMC.printMC, main.mouseX, main.mouseY);
drawDataArr.push(main.mouseX, main.mouseY);
} else {
if (drawType == 2){
DrawTool.drawBeeline(drawMC, moveX, moveY, pencilColor, lineSize, main.mouseX, main.mouseY);
DrawTool.drawBeeline(drawMC.printMC, moveX, moveY, pencilColor, lineSize, main.mouseX, main.mouseY);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.push(main.mouseX, main.mouseY);
} else {
if (drawType == 3){
} else {
if (drawType == 4){
DrawTool.drawBox(drawMC, lineSize, pencilColor, fillColor, moveX, moveY, main.mouseX, main.mouseY);
DrawTool.drawBox(drawMC.printMC, lineSize, pencilColor, fillColor, moveX, moveY, main.mouseX, main.mouseY);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.push(main.mouseX, main.mouseY);
} else {
if (drawType == 5){
DrawTool.drawOval(drawMC, lineSize, pencilColor, fillColor, moveX, moveY, main.mouseX, main.mouseY);
DrawTool.drawOval(drawMC.printMC, lineSize, pencilColor, fillColor, moveX, moveY, main.mouseX, main.mouseY);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.push(main.mouseX, main.mouseY);
} else {
if (drawType == 6){
DrawTool.drawStar(drawMC, lineSize, pencilColor, fillColor, moveX, moveY, main.mouseX, main.mouseY);
DrawTool.drawStar(drawMC.printMC, lineSize, pencilColor, fillColor, moveX, moveY, main.mouseX, main.mouseY);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.push(main.mouseX, main.mouseY);
} else {
if (drawType == 7){
DrawTool.drawHeart(drawMC, lineSize, pencilColor, fillColor, moveX, moveY, main.mouseX, main.mouseY);
DrawTool.drawHeart(drawMC.printMC, lineSize, pencilColor, fillColor, moveX, moveY, main.mouseX, main.mouseY);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.splice((drawDataArr.length - 1), 1);
drawDataArr.push(main.mouseX, main.mouseY);
};
};
};
};
};
};
};
}
private function getCurrentlyWindow(_arg1:Event){
var _local2:int;
var _local3:int;
trace(("getCurrentlyWindow " + c_windowName));
_local2 = (main.numChildren - 1);
_local3 = 0;
while (_local3 < windowArr.length) {
if (c_windowName == windowArr[_local3].thisName){
c_window = windowArr[_local3];
};
_local3++;
};
c_window.parent.setChildIndex(c_window, _local2);
trace(("getCurrentlyWindow ============ " + c_window.thisName));
}
private function closeAugury(_arg1:Event){
var _local2:int;
if (weatherSound != "null"){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
trace(weatherSound);
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerPlay();
objArr[_local2].goonMove();
_local2++;
};
weather.playWeather();
weatherLayer.visible = true;
augury.delAugury();
augury = null;
}
private function changeWeather(_arg1:Event){
if (_arg1.target.name == "WeatherDownBtn"){
if (c_weather < weatherSum){
c_weather++;
} else {
c_weather = 1;
};
} else {
if (_arg1.target.name == "WeatherUpBtn"){
if (c_weather > 1){
c_weather--;
} else {
c_weather = weatherSum;
};
};
};
gameMenu.changeWeatherBtnIcon(c_weather);
weather.delWeatherMC();
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
switch (c_weather){
case 1:
weatherSound = "null";
break;
case 2:
weather.createRainMC();
weather.raining();
weatherSound = "_Sound_Rain_";
break;
case 3:
weather.createSnowMC();
weather.snowing();
weatherSound = "_Sound_Snow_";
break;
case 4:
weather.createWindy();
weatherSound = "_Sound_Windy_";
break;
case 5:
weather.createLevin();
weatherSound = "_Sound_Levin_";
break;
case 6:
weather.createSunshine();
weatherSound = "null";
break;
case 7:
weather.createDark();
weatherSound = "null";
break;
};
if (weatherSound != "null"){
if (soundMode == 1){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
};
trace(("weatherSound ==== " + weatherSound));
};
}
private function delClass(){
gameInformation = null;
}
private function adsorb(){
var _local1:int;
var _local2:Array;
if (c_obj != null){
_local1 = 0;
while (_local1 < gameInformation.btnArr1.length) {
if (c_obj.id == gameInformation.btnArr1[_local1][0]){
adsorbMain(c_obj.id);
break;
};
_local1++;
};
_local2 = ["_texi_", "_bus_", "_truck_", "_car_1_", "_car_2_", "_ufo_", "_boat_1_", "_boat_2_", "_boat_3_"];
_local1 = 0;
while (_local1 < _local2.length) {
if (c_obj.id == _local2[_local1]){
vehicleMove();
break;
};
_local1++;
};
};
}
private function drawSprayer(_arg1:Event){
DrawTool.drawSprayer(drawMC, lineSize, pencilColor, main.mouseX, main.mouseY);
DrawTool.drawSprayer(drawMC.printMC, lineSize, pencilColor, main.mouseX, main.mouseY);
drawDataArr.push(main.mouseX, main.mouseY);
}
private function startEditFloorAndWall(_arg1:Event){
}
private function closeTheSavePage(_arg1:Event){
main.removeEventListener("closeTheSavePage_SavePage", closeTheSavePage);
savePage.delSavePage();
}
private function initClass(){
gameInformation = new GameInformation();
bg = new Background();
inGameElement = new InGameElement();
floorAndWall = new FloorAndWall();
weather = new Weather();
loadData = new Data();
}
private function changeMusic(_arg1:Event){
if (c_musicName != "null"){
SoundsManager.getInstance().stopMusic();
trace("stopMusic()");
c_musicName = "null";
};
if (_arg1.target.name == "UpBtn"){
if (c_musicNum < musicSum){
c_musicNum++;
} else {
c_musicNum = 1;
};
} else {
if (_arg1.target.name == "DownBtn"){
if (c_musicNum > 1){
c_musicNum--;
} else {
c_musicNum = musicSum;
};
};
};
inGameElement.changeMusicNum(c_musicNum);
c_musicName = (("_Sound_BG" + String(c_musicNum)) + "_");
if (soundMode == 1){
SoundsManager.getInstance().playMusic((("_Sound_BG" + String(c_musicNum)) + "_"), 1);
};
}
private function createOBJ(_arg1:Event){
var _local2:Array;
var _local3:int;
var _local4:int;
tmpObj = AttachTool.attachOBJ(c_id, false);
objLayer.addChild(tmpObj);
tmpObj.x = MouseClass.c_x;
tmpObj.y = MouseClass.c_y;
tmpObj.createMaskLayer(backgroundLayer, tmpObj.x, tmpObj.y);
tmpObj.thisW = tmpObj.width;
tmpObj.thisH = tmpObj.height;
_local2 = new Array("_boat_1_", "_boat_2_", "_boat_3_");
_local3 = 0;
while (_local3 < _local2.length) {
if (tmpObj.id == _local2[_local3]){
tmpObj.m_speed = 3;
};
_local3++;
};
tmpObj.data_id = ("o_" + String(objCount));
objCount++;
tmpObj.parent_id = "root";
if (deepPencilMC != null){
tmpObj.parent.setChildIndex(tmpObj, deepPencilMC.parent.getChildIndex(deepPencilMC));
};
objArr.push(tmpObj);
allObjArr.push(tmpObj);
tmpObj.arr_index = (objArr.length - 1);
c_obj = objArr[(objArr.length - 1)];
if (tmpObj.arr_index > 0){
_local4 = 0;
while (_local4 < objArr.length) {
if (objArr[_local4].parent.getChildIndex(objArr[_local4]) == (tmpObj.parent.getChildIndex(tmpObj) - 1)){
tmpObj.p_mc = objArr[_local4];
objArr[_local4].n_mc = tmpObj;
};
_local4++;
};
};
tmpObj.auguryArr = auguryArr;
auguryArr = [];
tmpObj.initMovieLayer();
tmpObj.startingDragAndChoose_Mian();
delAllOBJChoose();
}
private function delSentToFriend(_arg1:Event){
var _local2:int;
if (weatherSound != "null"){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
trace(weatherSound);
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerPlay();
objArr[_local2].goonMove();
_local2++;
};
weather.playWeather();
weatherLayer.visible = true;
main.removeEventListener("delSentToFriendPage_GameMenu", delSentToFriend);
sentToFriendPage.delSentToFriendPage();
sentToFriendPage = null;
}
private function showHowToPlay(_arg1:Event){
weather.stopWeather();
weatherLayer.visible = false;
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
if (c_musicName != "null"){
SoundsManager.getInstance().stopMusic();
trace("stopMusic()");
};
SoundsManager.getInstance().playMusic("_Sound_HowToPlay_", 1);
trace("_Sound_HowToPlay_");
howToPlay = new _HowToPlayMC_();
main.addChild(howToPlay);
howToPlay.x = (rootWidth / 2);
howToPlay.y = (rootHeight / 2);
main.addEventListener("delHowToPlay_HowToPlay", delHowToPlay);
howToPlay.showHowToPlayPage(_arg1.target.name);
}
private function clickTheObj(_arg1:Event){
trace(("c_window ====== " + c_window.thisName));
if ((c_window.x + (c_window.width / 2)) <= (rootWidth / 2)){
c_obj.x = (((c_window.x + c_window.width) + 5) + (c_obj.width / 2));
} else {
if ((c_window.x + (c_window.width / 2)) > (rootWidth / 2)){
c_obj.x = ((c_window.x - 5) - (c_obj.width / 2));
};
};
}
private function delUploadMC(_arg1:Event){
var _local2:int;
var _local3:int;
bigImageArr = upload.bigImageArr;
smallImageArr = upload.smallImageArr;
imageTitleArr = upload.imageTitleArr;
imageNameArr = upload.imageNameArr;
imageDateArr = upload.imageDateArr;
imageIDArr = upload.imageIDArr;
imageLinkArr = upload.imageLinkArr;
if (weatherSound != "null"){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
trace(weatherSound);
};
trace("delUploadMC======InGame");
main.removeEventListener("delUploadMC_Upload", delUploadMC);
upload.delUpload();
upload = null;
_local2 = 0;
while (_local2 < allObjArr.length) {
allObjArr[_local2].colorPrint();
_local2++;
};
gameMenu.visible = true;
_local2 = 0;
while (_local2 < windowArr.length) {
windowArr[_local2].visible = true;
_local2++;
};
if (c_obj != null){
editMenu.visible = true;
c_obj.OBJFilters();
};
_local3 = 0;
while (_local3 < objArr.length) {
objArr[_local3].movieLayerPlay();
objArr[_local3].goonMove();
_local3++;
};
if (c_drawObj != null){
editMenu.visible = true;
c_drawObj.drawOBJFilters();
};
weather.playWeather();
weatherLayer.visible = true;
inGameElement.createHowToPlayBtnMC(main);
inGameElement.createClearBtnMC(main);
inGameElement.createMusicBtnMC(main);
inGameElement.changeMusicNum(c_musicNum);
}
private function adsorbMain(_arg1:String){
var _local2:OBJ;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:Array;
_local2 = null;
_local3 = 0;
_local4 = 0;
if ((((((((_arg1 == "_road_1_")) || ((_arg1 == "_road_3_")))) || ((_arg1 == "_road_4_")))) || ((_arg1 == "_corner_1_")))){
_local5 = 0;
while (_local5 < allObjArr.length) {
if ((((((((((allObjArr[_local5].id == "_road_1_")) || ((allObjArr[_local5].id == "_road_3_")))) || ((allObjArr[_local5].id == "_road_4_")))) || ((allObjArr[_local5].id == "_corner_1_")))) && (!((allObjArr[_local5].data_id == c_obj.data_id))))){
_local4 = Math.sqrt((Math.pow(Math.abs((c_obj.x - allObjArr[_local5].x)), 2) + Math.pow(Math.abs((c_obj.y - allObjArr[_local5].y)), 2)));
if (_local3 == 0){
_local3 = _local4;
_local2 = allObjArr[_local5];
} else {
if (_local4 < _local3){
_local3 = _local4;
_local2 = allObjArr[_local5];
};
};
};
_local5++;
};
} else {
if ((((_arg1 == "_river_1_")) || ((_arg1 == "_river_2_")))){
_local5 = 0;
while (_local5 < allObjArr.length) {
if ((((((allObjArr[_local5].id == "_river_1_")) || ((allObjArr[_local5].id == "_river_2_")))) && (!((allObjArr[_local5].data_id == c_obj.data_id))))){
_local4 = Math.sqrt((Math.pow(Math.abs((c_obj.x - allObjArr[_local5].x)), 2) + Math.pow(Math.abs((c_obj.y - allObjArr[_local5].y)), 2)));
if (_local3 == 0){
_local3 = _local4;
_local2 = allObjArr[_local5];
} else {
if (_local4 < _local3){
_local3 = _local4;
_local2 = allObjArr[_local5];
};
};
};
_local5++;
};
};
};
if (_local2 != null){
adsorbNum = Math.sqrt((Math.pow(Math.abs(((c_obj.thisW / 3) + (_local2.thisW / 3))), 2) + Math.pow(Math.abs(((c_obj.thisH / 3) + (_local2.thisH / 3))), 2)));
if (_local3 <= adsorbNum){
_local6 = 0;
_local7 = 0;
if ((((((_local2.id == "_river_1_")) || ((_local2.id == "_river_2_")))) && ((((c_obj.id == "_river_1_")) || ((c_obj.id == "_river_2_")))))){
_local6 = (_local2.thisW / 2);
_local7 = (_local2.thisH / 2);
} else {
if ((((c_obj.id == "_corner_1_")) && ((_local2.id == "_corner_1_")))){
_local6 = (_local2.thisW / 2);
_local7 = (_local2.thisH / 2);
} else {
if (c_obj.id == "_corner_1_"){
_local6 = (_local2.thisW / 2);
_local7 = (_local2.thisH / 2);
} else {
if (_local2.id == "_corner_1_"){
_local6 = (c_obj.thisW / 2);
_local7 = (c_obj.thisH / 2);
} else {
_local6 = (((c_obj.thisW / 2) - (roadBasicW / 2)) + (_local2.thisW / 2));
_local7 = (((c_obj.thisH / 2) - (roadBasicH / 2)) + (_local2.thisH / 2));
};
};
};
};
if ((((c_obj.x < _local2.x)) && ((c_obj.y > _local2.y)))){
if ((((((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 1)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 2)))) || ((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 2)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 2)))))) || ((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 3)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 2)))))){
} else {
if ((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 4)))){
} else {
c_obj.x = (_local2.x - _local6);
c_obj.y = (_local2.y + _local7);
c_obj.objX = c_obj.x;
c_obj.objY = c_obj.y;
if (_local2.l_down == null){
c_obj.r_up = _local2;
_local2.l_down = c_obj;
};
};
};
} else {
if ((((c_obj.x < _local2.x)) && ((c_obj.y < _local2.y)))){
if ((((((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 1)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 1)))) || ((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 2)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 1)))))) || ((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 4)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 1)))))){
} else {
if ((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 3)))){
} else {
c_obj.x = (_local2.x - _local6);
c_obj.y = (_local2.y - _local7);
c_obj.objX = c_obj.x;
c_obj.objY = c_obj.y;
if (_local2.l_up == null){
c_obj.r_down = _local2;
_local2.l_up = c_obj;
};
};
};
} else {
if ((((c_obj.x > _local2.x)) && ((c_obj.y > _local2.y)))){
if ((((((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 2)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 3)))) || ((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 3)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 3)))))) || ((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 3)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 3)))))){
} else {
if ((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 1)))){
} else {
c_obj.x = (_local2.x + _local6);
c_obj.y = (_local2.y + _local7);
c_obj.objX = c_obj.x;
c_obj.objY = c_obj.y;
if (_local2.r_down == null){
c_obj.l_up = _local2;
_local2.r_down = c_obj;
};
};
};
} else {
if ((((c_obj.x > _local2.x)) && ((c_obj.y < _local2.y)))){
if ((((((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 1)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 4)))) || ((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 3)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 4)))))) || ((((((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 4)))) && ((c_obj.id == "_road_4_")))) && ((c_obj.rotateNum == 4)))))){
} else {
if ((((_local2.id == "_road_4_")) && ((_local2.rotateNum == 2)))){
} else {
c_obj.x = (_local2.x + _local6);
c_obj.y = (_local2.y - _local7);
c_obj.objX = c_obj.x;
c_obj.objY = c_obj.y;
if (_local2.r_up == null){
c_obj.l_down = _local2;
_local2.r_up = c_obj;
};
};
};
};
};
};
};
_local8 = 12;
_local10 = new Array();
if (c_obj.l_up == null){
trace("寻找左上");
_local9 = 0;
while (_local9 < allObjArr.length) {
if (((((((((((c_obj.x - (c_obj.width / 2)) - (allObjArr[_local9].width / 2)) + (roadBasicW / 2)) >= (allObjArr[_local9].x - _local8))) && (((((c_obj.x - (c_obj.width / 2)) - (allObjArr[_local9].width / 2)) + (roadBasicW / 2)) <= (allObjArr[_local9].x + _local8))))) && (((((c_obj.y - (c_obj.height / 2)) - (allObjArr[_local9].height / 2)) + (roadBasicH / 2)) >= (allObjArr[_local9].y - _local8))))) && (((((c_obj.y - (c_obj.height / 2)) - (allObjArr[_local9].height / 2)) + (roadBasicH / 2)) <= (allObjArr[_local9].y + _local8))))){
if ((((((((((((allObjArr[_local9].id == "_road_1_")) || ((allObjArr[_local9].id == "_road_3_")))) || ((allObjArr[_local9].id == "_road_4_")))) || ((allObjArr[_local9].id == "_corner_1_")))) && ((allObjArr[_local9].r_down == null)))) && ((((((((c_obj.id == "_road_1_")) || ((c_obj.id == "_road_3_")))) || ((c_obj.id == "_road_4_")))) || ((c_obj.id == "_corner_1_")))))){
trace((" 寻找左上 r " + allObjArr[_local9].id));
allObjArr[_local9].r_down = c_obj;
c_obj.l_up = allObjArr[_local9];
break;
};
} else {
if (((((((((((c_obj.x - (c_obj.width / 2)) - (allObjArr[_local9].width / 2)) + (roadBasicW / 2)) >= ((allObjArr[_local9].x - _local8) - 10))) && (((((c_obj.x - (c_obj.width / 2)) - (allObjArr[_local9].width / 2)) + (roadBasicW / 2)) <= ((allObjArr[_local9].x + _local8) + 10))))) && (((((c_obj.y - (c_obj.height / 2)) - (allObjArr[_local9].height / 2)) + (roadBasicH / 2)) >= ((allObjArr[_local9].y - _local8) - 10))))) && (((((c_obj.y - (c_obj.height / 2)) - (allObjArr[_local9].height / 2)) + (roadBasicH / 2)) <= ((allObjArr[_local9].y + _local8) + 10))))){
if ((((((((allObjArr[_local9].id == "_river_1_")) || ((allObjArr[_local9].id == "_river_2_")))) && ((allObjArr[_local9].r_down == null)))) && ((((c_obj.id == "_river_1_")) || ((c_obj.id == "_river_2_")))))){
trace((" 寻找左上 c " + allObjArr[_local9].id));
allObjArr[_local9].r_down = c_obj;
c_obj.l_up = allObjArr[_local9];
break;
};
};
};
_local9++;
};
};
if (c_obj.l_down == null){
trace("寻找左下");
_local9 = 0;
while (_local9 < allObjArr.length) {
if (((((((((((c_obj.x - (c_obj.width / 2)) - (allObjArr[_local9].width / 2)) + (roadBasicW / 2)) >= (allObjArr[_local9].x - _local8))) && (((((c_obj.x - (c_obj.width / 2)) - (allObjArr[_local9].width / 2)) + (roadBasicW / 2)) <= (allObjArr[_local9].x + _local8))))) && (((((c_obj.y + (c_obj.height / 2)) + (allObjArr[_local9].height / 2)) - (roadBasicH / 2)) >= (allObjArr[_local9].y - _local8))))) && (((((c_obj.y + (c_obj.height / 2)) + (allObjArr[_local9].height / 2)) - (roadBasicH / 2)) <= (allObjArr[_local9].y + _local8))))){
if ((((((((((((allObjArr[_local9].id == "_road_1_")) || ((allObjArr[_local9].id == "_road_3_")))) || ((allObjArr[_local9].id == "_road_4_")))) || ((allObjArr[_local9].id == "_corner_1_")))) && ((allObjArr[_local9].r_up == null)))) && ((((((((c_obj.id == "_road_1_")) || ((c_obj.id == "_road_3_")))) || ((c_obj.id == "_road_4_")))) || ((c_obj.id == "_corner_1_")))))){
trace((" 寻找左下 r " + allObjArr[_local9].id));
allObjArr[_local9].r_up = c_obj;
c_obj.l_down = allObjArr[_local9];
break;
};
} else {
if (((((((((((c_obj.x - (c_obj.width / 2)) - (allObjArr[_local9].width / 2)) + (roadBasicW / 2)) >= ((allObjArr[_local9].x - _local8) - 10))) && (((((c_obj.x - (c_obj.width / 2)) - (allObjArr[_local9].width / 2)) + (roadBasicW / 2)) <= ((allObjArr[_local9].x + _local8) + 10))))) && (((((c_obj.y + (c_obj.height / 2)) + (allObjArr[_local9].height / 2)) - (roadBasicH / 2)) >= ((allObjArr[_local9].y - _local8) - 10))))) && (((((c_obj.y + (c_obj.height / 2)) + (allObjArr[_local9].height / 2)) - (roadBasicH / 2)) <= ((allObjArr[_local9].y + _local8) + 10))))){
if ((((((((allObjArr[_local9].id == "_river_1_")) || ((allObjArr[_local9].id == "_river_2_")))) && ((allObjArr[_local9].r_up == null)))) && ((((c_obj.id == "_river_1_")) || ((c_obj.id == "_river_2_")))))){
trace((" 寻找左下 c " + allObjArr[_local9].id));
allObjArr[_local9].r_up = c_obj;
c_obj.l_down = allObjArr[_local9];
break;
};
};
};
_local9++;
};
};
if (c_obj.r_down == null){
trace("寻找右下");
_local9 = 0;
while (_local9 < allObjArr.length) {
if (((((((((((c_obj.x + (c_obj.width / 2)) + (allObjArr[_local9].width / 2)) - (roadBasicW / 2)) >= (allObjArr[_local9].x - _local8))) && (((((c_obj.x + (c_obj.width / 2)) + (allObjArr[_local9].width / 2)) - (roadBasicW / 2)) <= (allObjArr[_local9].x + _local8))))) && (((((c_obj.y + (c_obj.height / 2)) + (allObjArr[_local9].height / 2)) - (roadBasicH / 2)) >= (allObjArr[_local9].y - _local8))))) && (((((c_obj.y + (c_obj.height / 2)) + (allObjArr[_local9].height / 2)) - (roadBasicH / 2)) <= (allObjArr[_local9].y + _local8))))){
if ((((((((((((allObjArr[_local9].id == "_road_1_")) || ((allObjArr[_local9].id == "_road_3_")))) || ((allObjArr[_local9].id == "_road_4_")))) || ((allObjArr[_local9].id == "_corner_1_")))) && ((allObjArr[_local9].l_up == null)))) && ((((((((c_obj.id == "_road_1_")) || ((c_obj.id == "_road_3_")))) || ((c_obj.id == "_road_4_")))) || ((c_obj.id == "_corner_1_")))))){
trace((" 寻找右下 r " + allObjArr[_local9].id));
allObjArr[_local9].l_up = c_obj;
c_obj.r_down = allObjArr[_local9];
break;
};
} else {
if (((((((((((c_obj.x + (c_obj.width / 2)) + (allObjArr[_local9].width / 2)) - (roadBasicW / 2)) >= ((allObjArr[_local9].x - _local8) - 10))) && (((((c_obj.x + (c_obj.width / 2)) + (allObjArr[_local9].width / 2)) - (roadBasicW / 2)) <= ((allObjArr[_local9].x + _local8) + 10))))) && (((((c_obj.y + (c_obj.height / 2)) + (allObjArr[_local9].height / 2)) - (roadBasicH / 2)) >= ((allObjArr[_local9].y - _local8) - 10))))) && (((((c_obj.y + (c_obj.height / 2)) + (allObjArr[_local9].height / 2)) - (roadBasicH / 2)) <= ((allObjArr[_local9].y + _local8) + 10))))){
if ((((((((allObjArr[_local9].id == "_river_1_")) || ((allObjArr[_local9].id == "_river_2_")))) && ((allObjArr[_local9].l_up == null)))) && ((((c_obj.id == "_river_1_")) || ((c_obj.id == "_river_2_")))))){
trace((" 寻找右下 c " + allObjArr[_local9].id));
allObjArr[_local9].l_up = c_obj;
c_obj.r_down = allObjArr[_local9];
break;
};
};
};
_local9++;
};
};
if (c_obj.r_up == null){
trace("寻找右上");
_local9 = 0;
while (_local9 < allObjArr.length) {
if (((((((((((c_obj.x + (c_obj.width / 2)) + (allObjArr[_local9].width / 2)) - (roadBasicW / 2)) >= (allObjArr[_local9].x - _local8))) && (((((c_obj.x + (c_obj.width / 2)) + (allObjArr[_local9].width / 2)) - (roadBasicW / 2)) <= (allObjArr[_local9].x + _local8))))) && (((((c_obj.y - (c_obj.height / 2)) - (allObjArr[_local9].height / 2)) + (roadBasicH / 2)) >= (allObjArr[_local9].y - _local8))))) && (((((c_obj.y - (c_obj.height / 2)) - (allObjArr[_local9].height / 2)) + (roadBasicH / 2)) <= (allObjArr[_local9].y + _local8))))){
if ((((((((((((allObjArr[_local9].id == "_road_1_")) || ((allObjArr[_local9].id == "_road_3_")))) || ((allObjArr[_local9].id == "_road_4_")))) || ((allObjArr[_local9].id == "_corner_1_")))) && ((allObjArr[_local9].l_down == null)))) && ((((((((c_obj.id == "_road_1_")) || ((c_obj.id == "_road_3_")))) || ((c_obj.id == "_road_4_")))) || ((c_obj.id == "_corner_1_")))))){
trace((" 寻找右上 " + allObjArr[_local9].id));
allObjArr[_local9].l_down = c_obj;
c_obj.r_up = allObjArr[_local9];
break;
};
} else {
if (((((((((((c_obj.x + (c_obj.width / 2)) + (allObjArr[_local9].width / 2)) - (roadBasicW / 2)) >= ((allObjArr[_local9].x - _local8) - 20))) && (((((c_obj.x + (c_obj.width / 2)) + (allObjArr[_local9].width / 2)) - (roadBasicW / 2)) <= ((allObjArr[_local9].x + _local8) + 20))))) && (((((c_obj.y - (c_obj.height / 2)) - (allObjArr[_local9].height / 2)) + (roadBasicH / 2)) >= ((allObjArr[_local9].y - _local8) - 20))))) && (((((c_obj.y - (c_obj.height / 2)) - (allObjArr[_local9].height / 2)) + (roadBasicH / 2)) <= ((allObjArr[_local9].y + _local8) + 20))))){
if ((((((((allObjArr[_local9].id == "_river_1_")) || ((allObjArr[_local9].id == "_river_2_")))) && ((allObjArr[_local9].l_down == null)))) && ((((c_obj.id == "_river_1_")) || ((c_obj.id == "_river_2_")))))){
trace((" 寻找右上 c " + allObjArr[_local9].id));
allObjArr[_local9].l_down = c_obj;
c_obj.r_up = allObjArr[_local9];
break;
};
};
};
_local9++;
};
};
};
};
}
private function printTheGame(_arg1:Event){
var _local2:int;
gameMenu.visible = false;
_local2 = 0;
while (_local2 < windowArr.length) {
windowArr[_local2].visible = false;
_local2++;
};
if (c_obj != null){
editMenu.visible = false;
c_obj.lostTheOBJ();
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerStop();
objArr[_local2].endMove();
_local2++;
};
if (c_drawObj != null){
editMenu.visible = false;
c_drawObj.lostTheDrawOBJ();
};
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
weather.stopWeather();
weatherLayer.visible = false;
inGameElement.delMusicBtnMC();
inGameElement.delClearBtnMC();
inGameElement.delLogoMC();
inGameElement.delHowToPlayBtnMC();
printTool = new PrintTool(main);
}
private function closeTheResumePage(_arg1:Event){
resumePage.delResumePage();
resumePage = null;
gameMenu.initEvent();
}
private function saveDataToCookie(_arg1:Event){
Cookie.instance.saveDataToCookie(saveTheLocalData.gameName, saveTheLocalData.dataNum);
endSaveTheGameDataToCookieMain();
}
public function delInGame(){
delClass();
delEvent();
}
private function saveGameDataMain(){
var _local1:Array;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
if (gameData.length == 0){
gameData.push("&1");
} else {
if (gameData.length > 0){
gameData = [];
gameData.push("&1");
};
};
gameData.push(c_bgNum);
gameData.push(objCount);
gameData.push(drawCount);
gameData.push("[", floorAndWall.colorNumArr, "]");
gameData.push("[", floorAndWall.materailArr, "]");
gameData.push("&1");
gameData.push("&2");
if (allObjArr.length > 0){
_local1 = new Array();
_local2 = 0;
while (_local2 < allObjArr.length) {
if (_local1.length == 0){
_local1.push(allObjArr[_local2]);
} else {
_local4 = _local1.length;
_local5 = 0;
while (_local5 < _local4) {
if (allObjArr[_local2].parent.getChildIndex(allObjArr[_local2]) < _local1[_local5].parent.getChildIndex(_local1[_local5])){
_local1.splice(_local5, 0, allObjArr[_local2]);
break;
} else {
if (_local5 == (_local4 - 1)){
_local1.push(allObjArr[_local2]);
break;
};
};
_local5++;
};
};
_local2++;
};
allObjArr = _local1;
_local3 = 0;
while (_local3 < allObjArr.length) {
gameData.push("{", allObjArr[_local3].data_id, allObjArr[_local3].parent_id, allObjArr[_local3].rotateNum, allObjArr[_local3].objX, allObjArr[_local3].objY);
if (allObjArr[_local3].l_up != null){
gameData.push(allObjArr[_local3].l_up.data_id);
} else {
gameData.push("null");
};
if (allObjArr[_local3].l_down != null){
gameData.push(allObjArr[_local3].l_down.data_id);
} else {
gameData.push("null");
};
if (allObjArr[_local3].r_up != null){
gameData.push(allObjArr[_local3].r_up.data_id);
} else {
gameData.push("null");
};
if (allObjArr[_local3].r_down != null){
gameData.push(allObjArr[_local3].r_down.data_id);
} else {
gameData.push("null");
};
gameData.push("[");
if (allObjArr[_local3].objArr.length > 0){
_local6 = 0;
while (_local6 < allObjArr[_local3].objArr.length) {
gameData.push(allObjArr[_local3].data_id);
_local6++;
};
} else {
gameData.push("no_child_obj");
};
gameData.push("]", "}");
_local3++;
};
};
gameData.push("&2");
gameData.push("&3");
trace(("allDrawObjArr ==== " + allDrawObjArr));
if (allDrawObjArr.length > 0){
_local7 = 0;
while (_local7 < allDrawObjArr.length) {
gameData.push("{", allDrawObjArr[_local7].data_id, allDrawObjArr[_local7].parent_id, allDrawObjArr[_local7].isObjDraw, allDrawObjArr[_local7].drawOBJX, allDrawObjArr[_local7].drawOBJY, "}");
_local7++;
};
};
gameData.push("&3");
gameData.push("&4");
if (allObjArr.length > 0){
_local8 = 0;
while (_local8 < allObjArr.length) {
gameData.push("{", allObjArr[_local8].data_id, allObjArr[_local8].id, "[", allObjArr[_local8].colorNumArr, "]", "[", allObjArr[_local8].materailArr, "]", "}");
_local8++;
};
};
gameData.push("&4");
gameData.push("&5");
if (allDrawObjArr.length > 0){
gameData.push(drawDataArr);
};
gameData.push("&5");
trace(gameData);
}
private function showObjLayer(_arg1:Event){
objLayer.visible = true;
}
private function endEditFloorAndWall(){
}
private function wbPrint(_arg1:Event){
var _local2:int;
bg.wbPrint();
_local2 = 0;
while (_local2 < allObjArr.length) {
allObjArr[_local2].wbPrint();
_local2++;
};
saveGameDataMain();
Cookie.instance.saveTheGameData(gameData);
loadData.resumeGameData(String(gameData));
drawWBDrawOBJ(true);
}
private function endEditAndResetSet(_arg1:Event){
var _local2:int;
var _local3:int;
var _local4:int;
isPencilEdit = false;
if (c_obj != null){
if (c_btnNum == 7){
grayMask.parent.removeChild(grayMask);
grayMask = null;
objLayer.setChildIndex(c_obj, editIndex);
c_obj.endEditState();
} else {
if (c_btnNum == 8){
grayMask.parent.removeChild(grayMask);
grayMask = null;
objLayer.setChildIndex(c_obj, editIndex);
c_obj.endPencilState(true);
} else {
if (c_btnNum == 9){
};
};
};
} else {
if (c_btnNum == 8){
_local4 = 0;
while (_local4 < objArr.length) {
objArr[_local4].endPencilState(false);
_local4++;
};
main.removeEventListener(MouseEvent.MOUSE_DOWN, startDraw);
} else {
if (c_btnNum == 9){
};
};
};
if (weatherSound != "null"){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
trace(weatherSound);
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerPlay();
objArr[_local2].goonMove();
_local2++;
};
weather.playWeather();
weatherLayer.visible = true;
inGameElement.ResumeAllBtnEvent();
gameMenu.initEvent();
if (editMenu != null){
editMenu.endEdit();
};
_local3 = 0;
while (_local3 < windowArr.length) {
windowArr[_local3].visible = true;
_local3++;
};
}
private function startDraw(_arg1:MouseEvent){
if ((((((((((_arg1.target.name == "objLayer")) || ((_arg1.target.name == "color")))) || ((_arg1.target.name == "MaterailLayer")))) || ((_arg1.target.name == "bgLayer")))) && ((c_obj == null)))){
main.stage.addEventListener(MouseEvent.MOUSE_MOVE, drawing);
main.stage.addEventListener(MouseEvent.MOUSE_UP, endDraw);
drawMC = new DrawOBJ();
objLayer.addChild(drawMC);
drawMC.x = 0;
drawMC.y = 0;
drawMC.isObjDraw = false;
drawMC.data_id = ("d_" + String(drawCount));
if (drawType == 1){
DrawTool.startDrawLine(drawMC, main.mouseX, main.mouseY, pencilColor, lineSize);
DrawTool.startDrawLine(drawMC.printMC, main.mouseX, main.mouseY, pencilColor, lineSize);
drawDataArr.push(drawMC.data_id, drawType, pencilColor, lineSize, main.mouseX, main.mouseY);
} else {
if (drawType == 2){
moveX = main.mouseX;
moveY = main.mouseY;
drawDataArr.push(drawMC.data_id, drawType, pencilColor, lineSize, moveX, moveY, "null", "null");
} else {
if (drawType == 3){
drawDataArr.push(drawMC.data_id, drawType, pencilColor, lineSize);
drawMC.addEventListener(Event.ENTER_FRAME, drawSprayer);
} else {
if (drawType == 4){
moveX = main.mouseX;
moveY = main.mouseY;
drawDataArr.push(drawMC.data_id, drawType, pencilColor, lineSize, fillColor, moveX, moveY, "null", "null");
} else {
if (drawType == 5){
moveX = main.mouseX;
moveY = main.mouseY;
drawDataArr.push(drawMC.data_id, drawType, pencilColor, lineSize, fillColor, moveX, moveY, "null", "null");
} else {
if (drawType == 6){
moveX = main.mouseX;
moveY = main.mouseY;
drawDataArr.push(drawMC.data_id, drawType, pencilColor, lineSize, fillColor, moveX, moveY, "null", "null");
} else {
if (drawType == 7){
moveX = main.mouseX;
moveY = main.mouseY;
drawDataArr.push(drawMC.data_id, drawType, pencilColor, lineSize, fillColor, moveX, moveY, "null", "null");
};
};
};
};
};
};
};
};
}
private function sentToFriend(_arg1:Event){
var _local2:int;
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
main.addEventListener("delSentToFriendPage_GameMenu", delSentToFriend);
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerStop();
objArr[_local2].endMove();
_local2++;
};
weather.stopWeather();
weatherLayer.visible = false;
sentToFriendPage = new SentToFriendPage(main, "sent");
}
private function endDraw(_arg1:MouseEvent){
var _local2:int;
if (isDraw == true){
if (deepPencilMC == null){
deepPencilMC = drawMC;
};
pencilShapeArr.push(drawMC);
allDrawObjArr.push(drawMC);
drawMC.drawOBJX = drawMC.x;
drawMC.drawOBJY = drawMC.y;
drawMC.arr_index = (pencilShapeArr.length - 1);
drawCount++;
drawMC.parent_id = "root";
drawDataArr.push(drawMC.data_id);
c_drawObj_arrNum = -1;
c_drawObj = null;
delAllDrawOBJChoose();
c_drawObj = pencilShapeArr[(pencilShapeArr.length - 1)];
c_drawObj.choosTheDrawOBJ();
} else {
if (isDraw == false){
if (drawType != 3){
_local2 = (drawDataArr.length - 1);
while (_local2 >= 0) {
if (drawDataArr[_local2] != drawMC.data_id){
drawDataArr.splice(_local2, 1);
} else {
if (drawDataArr[_local2] == drawMC.data_id){
drawDataArr.splice(_local2, 1);
break;
};
};
_local2--;
};
} else {
if (deepPencilMC == null){
deepPencilMC = drawMC;
};
pencilShapeArr.push(drawMC);
allDrawObjArr.push(drawMC);
drawMC.drawOBJX = drawMC.x;
drawMC.drawOBJY = drawMC.y;
drawMC.arr_index = (pencilShapeArr.length - 1);
drawCount++;
drawMC.parent_id = "root";
drawDataArr.push(drawMC.data_id);
c_drawObj_arrNum = -1;
c_drawObj = null;
delAllDrawOBJChoose();
c_drawObj = pencilShapeArr[(pencilShapeArr.length - 1)];
c_drawObj.choosTheDrawOBJ();
};
if (drawType != 3){
drawMC.parent.removeChild(drawMC);
moveX = 0;
moveY = 0;
};
};
};
if (drawType == 3){
drawMC.removeEventListener(Event.ENTER_FRAME, drawSprayer);
};
main.stage.removeEventListener(MouseEvent.MOUSE_MOVE, drawing);
main.stage.removeEventListener(MouseEvent.MOUSE_UP, endDraw);
isDraw = false;
}
private function playAugurySound(_arg1:Event){
augurySoundPlayTime++;
if (augurySoundPlayTime == 15){
objLayer.removeEventListener(Event.ENTER_FRAME, playAugurySound);
augurySoundPlayTime = 0;
SoundsManager.getInstance().playSound("_Sound_Augury_", 1, 0);
};
}
private function outputMainGameMenu(_arg1:Event){
outputMainGameMenuMain(c_btnNum);
}
private function delOBJ(_arg1:Event){
var _local2:int;
var _local3:int;
var _local4:String;
var _local5:OBJ;
var _local6:OBJ;
var _local7:OBJ;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:int;
var _local14:int;
var _local15:int;
var _local16:int;
var _local17:int;
var _local18:int;
var _local19:int;
var _local20:int;
var _local21:int;
InGame.defaultFlag = true;
if (((!((c_obj == null))) && ((((isPencilEdit == true)) || ((c_obj.editStateFlag == true)))))){
if (c_obj.c_drawOBJ != null){
resetAllDrawObjDataIndex(c_obj.c_drawOBJ);
c_obj.delDrawOBJ();
};
} else {
if (((((!((c_obj == null))) && ((isPencilEdit == false)))) && ((c_obj.editStateFlag == false)))){
_local5 = c_obj;
_local6 = c_obj.p_mc;
_local7 = c_obj.n_mc;
_local4 = _local5.data_id;
_local8 = allDrawObjArr.length;
_local9 = 0;
while (_local9 < _local8) {
if (allDrawObjArr[_local9].parent_id == _local4){
_local17 = int(allDrawObjArr[_local9].parent_id.substr((allDrawObjArr[_local9].parent_id.indexOf("_", 0) + 1), (allDrawObjArr[_local9].parent_id.length - allDrawObjArr[_local9].parent_id.indexOf("_", 0))));
_local16 = int(allDrawObjArr[_local9].data_id.substr((allDrawObjArr[_local9].data_id.indexOf("_", 0) + 1), (allDrawObjArr[_local9].data_id.length - allDrawObjArr[_local9].data_id.indexOf("_", 0))));
deleteDrawData(allDrawObjArr[_local9]);
allDrawObjArr[_local9].delDrawOBJ();
allDrawObjArr[_local9].parent.removeChild(allDrawObjArr[_local9]);
allDrawObjArr[_local9] = null;
allDrawObjArr.splice(_local9, 1, "null");
allDrawObjArr.splice(_local9, 1, "null");
drawCount--;
_local18 = 0;
while (_local18 < allDrawObjArr.length) {
if (allDrawObjArr[_local18] != "null"){
if (int(allDrawObjArr[_local18].data_id.substr((allDrawObjArr[_local18].data_id.indexOf("_", 0) + 1), (allDrawObjArr[_local18].data_id.length - allDrawObjArr[_local18].data_id.indexOf("_", 0)))) > _local16){
allDrawObjArr[_local18].data_id = ("d_" + String((int(allDrawObjArr[_local18].data_id.substr((allDrawObjArr[_local18].data_id.indexOf("_", 0) + 1), (allDrawObjArr[_local18].data_id.length - allDrawObjArr[_local18].data_id.indexOf("_", 0)))) - 1)));
};
};
_local18++;
};
_local19 = 0;
while (_local19 < drawDataArr.length) {
if ((drawDataArr[_local19] is String)){
if (drawDataArr[_local19].substr(0, 2) == "d_"){
if (int(drawDataArr[_local19].substr((drawDataArr[_local19].indexOf("_", 0) + 1), (drawDataArr[_local19].length - drawDataArr[_local19].indexOf("_", 0)))) > _local16){
drawDataArr[_local19] = ("d_" + String((int(drawDataArr[_local19].substr((drawDataArr[_local19].indexOf("_", 0) + 1), (drawDataArr[_local19].length - drawDataArr[_local19].indexOf("_", 0)))) - 1)));
};
};
};
_local19++;
};
};
_local9++;
};
_local10 = 0;
while (_local10 < allDrawObjArr.length) {
if (allDrawObjArr[_local10] != "null"){
if (int(allDrawObjArr[_local10].parent_id.substr((allDrawObjArr[_local10].parent_id.indexOf("_", 0) + 1), (allDrawObjArr[_local10].parent_id.length - allDrawObjArr[_local10].parent_id.indexOf("_", 0)))) > _local17){
allDrawObjArr[_local10].parent_id = ("o_" + String((int(allDrawObjArr[_local10].parent_id.substr((allDrawObjArr[_local10].parent_id.indexOf("_", 0) + 1), (allDrawObjArr[_local10].parent_id.length - allDrawObjArr[_local10].parent_id.indexOf("_", 0)))) - 1)));
};
};
_local10++;
};
_local11 = (allDrawObjArr.length - 1);
while (_local11 >= 0) {
if (allDrawObjArr[_local11] == "null"){
allDrawObjArr.splice(_local11, 1);
};
_local11--;
};
_local2 = _local5.arr_index;
_local3 = int(_local5.data_id.substr((_local5.data_id.indexOf("_", 0) + 1), (_local5.data_id.length - _local5.data_id.indexOf("_", 0))));
_local5.delOBJ();
_local5.parent.removeChild(_local5);
_local12 = 0;
while (_local12 < objArr.length) {
if (objArr[_local12].data_id == _local4){
objArr.splice(_local12, 1);
break;
};
_local12++;
};
_local13 = 0;
while (_local13 < allObjArr.length) {
if (allObjArr[_local13].data_id == _local4){
allObjArr.splice(_local13, 1);
};
_local13++;
};
_local14 = 0;
while (_local14 < objArr.length) {
if (objArr[_local14].arr_index > _local2){
objArr[_local14].arr_index = (objArr[_local14].arr_index - 1);
};
_local14++;
};
_local15 = 0;
while (_local15 < allObjArr.length) {
if (int(allObjArr[_local15].data_id.substr((allObjArr[_local15].data_id.indexOf("_", 0) + 1), (allObjArr[_local15].data_id.length - allObjArr[_local15].data_id.indexOf("_", 0)))) > _local3){
allObjArr[_local15].data_id = ("o_" + String((int(allObjArr[_local15].data_id.substr((allObjArr[_local15].data_id.indexOf("_", 0) + 1), (allObjArr[_local15].data_id.length - allObjArr[_local15].data_id.indexOf("_", 0)))) - 1)));
};
_local15++;
};
if (_local6 != null){
_local6.n_mc = _local7;
};
if (_local7 != null){
_local7.p_mc = _local6;
};
c_obj = null;
objCount--;
delEditMenuMain();
} else {
if (c_drawObj != null){
_local20 = c_drawObj.arr_index;
resetAllDrawObjDataIndex(c_drawObj);
c_drawObj.parent.removeChild(c_drawObj);
pencilShapeArr[_local20] = null;
pencilShapeArr.splice(_local20, 1);
c_drawObj = null;
_local21 = 0;
while (_local21 < pencilShapeArr.length) {
if (pencilShapeArr[_local21].arr_index > _local20){
pencilShapeArr[_local21].arr_index = (pencilShapeArr[_local21].arr_index - 1);
};
_local21++;
};
if ((((_local20 == 0)) && ((pencilShapeArr.length > 0)))){
deepPencilMC = pencilShapeArr[0];
} else {
if (_local20 == 0){
deepPencilMC = null;
};
};
delEditMenuMain();
};
};
};
}
public function getXml(_arg1:XMLList){
xmlList = _arg1;
}
private function editPencilStart(_arg1:Event){
var _local2:int;
var _local3:int;
var _local4:int;
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerStop();
objArr[_local2].endMove();
_local2++;
};
weather.stopWeather();
weatherLayer.visible = false;
if (gameMenu.x != (rootWidth - (gameMenu.width / 4))){
gameMenu.x = (rootWidth - (gameMenu.width / 4));
};
gameMenu.delEvent();
isPencilEdit = true;
if (c_obj != null){
editIndex = objLayer.getChildIndex(c_obj);
createGrayLayer(objLayer);
objLayer.setChildIndex(c_obj, objLayer.getChildIndex(grayMask));
c_btnNum = pencilEditBtnNum;
outputMainGameMenuMain(pencilEditBtnNum);
c_obj.pencilState(true);
} else {
c_btnNum = pencilEditBtnNum;
outputMainGameMenuMain(pencilEditBtnNum);
_local4 = 0;
while (_local4 < objArr.length) {
objArr[_local4].pencilState(false);
_local4++;
};
main.addEventListener(MouseEvent.MOUSE_DOWN, startDraw);
};
_local3 = 0;
while (_local3 < windowArr.length) {
if (windowArr[_local3].thisName != "WindowDraw"){
windowArr[_local3].visible = false;
};
_local3++;
};
}
private function showAllOBJ(){
objLayer.visible = true;
}
private function delHowToPlay(_arg1:Event){
weather.playWeather();
weatherLayer.visible = true;
SoundsManager.getInstance().stopMusic();
trace("stopMusic()");
if (weatherSound != "null"){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
trace(weatherSound);
};
if (c_musicName != "null"){
SoundsManager.getInstance().playMusic(c_musicName, 1);
trace(c_musicName);
};
main.removeEventListener("delHowToPlay_HowToPlay", delHowToPlay);
howToPlay.parent.removeChild(howToPlay);
howToPlay = null;
}
private function changeMaterial(_arg1:Event){
if (c_btnNum == 7){
c_obj.changeMaterial(theChooseMaterial);
} else {
if (c_btnNum == 9){
};
};
}
private function delAllOBJChoose(){
var _local1:int;
_local1 = 0;
while (_local1 < objArr.length) {
if (_local1 != c_obj_arrNum){
objArr[_local1].lostTheOBJ();
};
_local1++;
};
}
private function createEditMenuMain(){
if (editMenu == null){
editMenu = new _EditMenu_();
main.addChild(editMenu);
};
if (c_obj != null){
editMenu.x = c_obj.x;
editMenu.y = ((c_obj.y + (getMaxWH(c_obj) / 2)) + (editMenu.height / 2));
} else {
if (c_drawObj != null){
editMenu.x = c_drawObj.x;
editMenu.y = ((c_drawObj.y + c_drawObj.height) + (editMenu.height / 2));
};
};
if (editMenu.x <= (0 + (editMenu.width / 2))){
editMenu.x = (0 + (editMenu.width / 2));
};
if (editMenu.x >= (rootWidth - (editMenu.width / 2))){
editMenu.x = (rootWidth - (editMenu.width / 2));
};
if (editMenu.y <= (0 + (editMenu.height / 2))){
editMenu.y = (0 + (editMenu.height / 2));
};
if (editMenu.y >= (rootHeight - (editMenu.height / 2))){
editMenu.y = (rootHeight - (editMenu.height / 2));
};
}
private function drawWBDrawOBJ(_arg1:Boolean){
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:DrawOBJ;
if (loadData.allDrawObjArr.length > 0){
_local4 = 0;
while (_local4 < loadData.allDrawObjArr.length) {
if (loadData.allDrawObjArr[_local4][0] == loadData.allDrawObjDataArr[_local4][0]){
_local2 = 0;
while (_local2 < allDrawObjArr.length) {
if (allDrawObjArr[_local2].data_id == loadData.allDrawObjDataArr[_local4][0]){
_local5 = allDrawObjArr[_local2];
_local5.graphics.clear();
};
_local2++;
};
if (_arg1 == true){
switch (loadData.allDrawObjDataArr[_local4][1]){
case "1":
DrawTool.startDrawLine(_local5, int(loadData.allDrawObjDataArr[_local4][4]), int(loadData.allDrawObjDataArr[_local4][5]), uint(0xFFFFFF), int(loadData.allDrawObjDataArr[_local4][3]));
_local2 = 6;
while (_local2 < loadData.allDrawObjDataArr[_local4].length) {
DrawTool.drawLine(_local5, loadData.allDrawObjDataArr[_local4][_local2], loadData.allDrawObjDataArr[_local4][(_local2 + 1)]);
_local2 = (_local2 + 2);
};
break;
case "2":
DrawTool.drawBeeline(_local5, int(loadData.allDrawObjDataArr[_local4][4]), int(loadData.allDrawObjDataArr[_local4][5]), uint(0xFFFFFF), int(loadData.allDrawObjDataArr[_local4][3]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]));
break;
case "3":
_local2 = 4;
while (_local2 < loadData.allDrawObjDataArr[_local4].length) {
DrawTool.drawSprayer(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(0xFFFFFF), int(loadData.allDrawObjDataArr[_local4][_local2]), int(loadData.allDrawObjDataArr[_local4][(_local2 + 1)]));
_local2 = (_local2 + 2);
};
break;
case "4":
DrawTool.drawBox(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(0xFFFFFF), uint(0xFFFFFF), int(loadData.allDrawObjDataArr[_local4][5]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]), int(loadData.allDrawObjDataArr[_local4][8]));
break;
case "5":
DrawTool.drawOval(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(0xFFFFFF), uint(0xFFFFFF), int(loadData.allDrawObjDataArr[_local4][5]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]), int(loadData.allDrawObjDataArr[_local4][8]));
break;
case "6":
DrawTool.drawStar(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(0xFFFFFF), uint(0xFFFFFF), int(loadData.allDrawObjDataArr[_local4][5]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]), int(loadData.allDrawObjDataArr[_local4][8]));
break;
case "7":
DrawTool.drawHeart(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(0xFFFFFF), uint(0xFFFFFF), int(loadData.allDrawObjDataArr[_local4][5]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]), int(loadData.allDrawObjDataArr[_local4][8]));
break;
};
_local5.wbPrint();
} else {
if (_arg1 == false){
switch (loadData.allDrawObjDataArr[_local4][1]){
case "1":
DrawTool.startDrawLine(_local5, int(loadData.allDrawObjDataArr[_local4][4]), int(loadData.allDrawObjDataArr[_local4][5]), uint(loadData.allDrawObjDataArr[_local4][2]), int(loadData.allDrawObjDataArr[_local4][3]));
_local2 = 6;
while (_local2 < loadData.allDrawObjDataArr[_local4].length) {
DrawTool.drawLine(_local5, loadData.allDrawObjDataArr[_local4][_local2], loadData.allDrawObjDataArr[_local4][(_local2 + 1)]);
_local2 = (_local2 + 2);
};
break;
case "2":
DrawTool.drawBeeline(_local5, int(loadData.allDrawObjDataArr[_local4][4]), int(loadData.allDrawObjDataArr[_local4][5]), uint(loadData.allDrawObjDataArr[_local4][2]), int(loadData.allDrawObjDataArr[_local4][3]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]));
break;
case "3":
_local2 = 4;
while (_local2 < loadData.allDrawObjDataArr[_local4].length) {
DrawTool.drawSprayer(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(loadData.allDrawObjDataArr[_local4][2]), int(loadData.allDrawObjDataArr[_local4][_local2]), int(loadData.allDrawObjDataArr[_local4][(_local2 + 1)]));
_local2 = (_local2 + 2);
};
break;
case "4":
DrawTool.drawBox(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(loadData.allDrawObjDataArr[_local4][2]), uint(loadData.allDrawObjDataArr[_local4][4]), int(loadData.allDrawObjDataArr[_local4][5]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]), int(loadData.allDrawObjDataArr[_local4][8]));
break;
case "5":
DrawTool.drawOval(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(loadData.allDrawObjDataArr[_local4][2]), uint(loadData.allDrawObjDataArr[_local4][4]), int(loadData.allDrawObjDataArr[_local4][5]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]), int(loadData.allDrawObjDataArr[_local4][8]));
break;
case "6":
DrawTool.drawStar(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(loadData.allDrawObjDataArr[_local4][2]), uint(loadData.allDrawObjDataArr[_local4][4]), int(loadData.allDrawObjDataArr[_local4][5]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]), int(loadData.allDrawObjDataArr[_local4][8]));
break;
case "7":
DrawTool.drawHeart(_local5, int(loadData.allDrawObjDataArr[_local4][3]), uint(loadData.allDrawObjDataArr[_local4][2]), uint(loadData.allDrawObjDataArr[_local4][4]), int(loadData.allDrawObjDataArr[_local4][5]), int(loadData.allDrawObjDataArr[_local4][6]), int(loadData.allDrawObjDataArr[_local4][7]), int(loadData.allDrawObjDataArr[_local4][8]));
break;
};
_local5.lostTheDrawOBJ();
};
};
};
_local4++;
};
};
}
private function initProperty(){
var _local1:int;
objArr = new Array();
c_obj = null;
c_id = "null";
c_obj_arrNum = -1;
c_btnNum = 0;
pageNumArr = new Array();
_local1 = 0;
while (_local1 < itemSum) {
pageNumArr[_local1] = 1;
_local1++;
};
bgSum = gameInformation.bgSum;
c_bgNum = gameInformation.c_bgNum;
defaultFlag = false;
isPencilEdit = false;
deepPencilMC = null;
pencilShapeDataArr = new Array();
pencilShapeArr = new Array();
isDraw = false;
c_drawObj = null;
c_drawObj_arrNum = -1;
moveX = 0;
moveY = 0;
c_floorWall = null;
drawDataArr = new Array();
allObjArr = new Array();
allDrawObjArr = new Array();
gameData = new Array();
createObjList = new Array();
createDrawList = new Array();
objCount = 1;
drawCount = 1;
t_arr = new Array();
windowArr = new Array();
auguryArr = new Array();
fire = 0;
water = 0;
wind = 0;
erath = 0;
augurySoundPlayTime = 0;
weatherSum = gameInformation.weatherSum;
c_weather = 1;
c_musicNum = 1;
musicSum = gameInformation.musicSum;
c_musicName = "null";
weatherSound = "null";
}
private function upIndex(_arg1:Event){
var _local2:OBJ;
var _local3:OBJ;
var _local4:OBJ;
var _local5:OBJ;
InGame.defaultFlag = true;
if (c_obj != null){
_local2 = c_obj;
_local3 = c_obj.n_mc;
if (_local3 != null){
_local5 = _local3.n_mc;
};
_local4 = c_obj.p_mc;
if (_local3 != null){
_local3.parent.setChildIndex(_local3, _local3.parent.getChildIndex(_local2));
if (_local2 != null){
_local2.n_mc = _local5;
};
if (_local2 != null){
_local2.p_mc = _local3;
};
if (_local3 != null){
_local3.n_mc = _local2;
};
if (_local3 != null){
_local3.p_mc = _local4;
};
if (_local4 != null){
_local4.n_mc = _local3;
};
if (_local5 != null){
_local5.p_mc = _local2;
};
};
};
}
private function initFunction(){
var _local1:OBJ;
MouseClass.getCoord(main);
bg.changeBG(c_bgNum);
if (startGameMode == "LoadGameBtn"){
Cookie.instance.initData();
gameMenu.delEvent();
resumePage = new ResumePage(main);
};
weather.getRoot(weatherLayer);
if (startGameMode == "NewGameBtn"){
loadData.resumeGameData(gameInformation[("defaultArr" + String(c_bgNum))].toString());
resumeInGame();
objCount = (allObjArr.length + 1);
};
_local1 = AttachTool.attachOBJ("_road_1_", false);
roadBasicW = _local1.width;
roadBasicH = _local1.height;
if (soundMode == 1){
SoundsManager.getInstance().playMusic("_Sound_BG1_", 1);
trace("_Sound_BG1_");
};
c_musicName = "_Sound_BG1_";
}
private function colorPrint(_arg1:Event){
var _local2:int;
bg.resumePrint();
_local2 = 0;
while (_local2 < allObjArr.length) {
allObjArr[_local2].colorPrint();
_local2++;
};
Cookie.instance.saveTheGameData(gameData);
loadData.resumeGameData(String(gameData));
drawWBDrawOBJ(false);
}
private function startBtnClick(_arg1:MouseEvent){
Handler.click_siteLocked_thisgame();
}
private function delAllDrawOBJChoose(){
var _local1:int;
_local1 = 0;
while (_local1 < pencilShapeArr.length) {
if (_local1 != c_drawObj_arrNum){
pencilShapeArr[_local1].lostTheDrawOBJ();
};
_local1++;
};
}
private function resumeTheGame(_arg1:Event){
trace("resumeTheGame");
if (resumePage != null){
trace("=========================================this data1?");
if (Cookie.instance.checkGameData()){
loadData.resumeGameData(Cookie.instance.outputTheGameData(resumePage.dataNum));
};
resumePage.delResumePage();
resumePage = null;
} else {
trace("=========================================this data2?");
loadData.resumeGameData(savePage.outputTheSaveCode());
};
gameMenu.initEvent();
c_bgNum = loadData.bgNum;
objCount = loadData.objCount;
drawCount = loadData.drawCount;
bg.changeBG(c_bgNum);
gameMenu.changeBGBtnIcon(c_bgNum);
resumeInGame();
}
private function createGrayLayer(_arg1:MovieClip){
grayMask = new _GrayMask_();
_arg1.addChild(grayMask);
grayMask.x = 0;
grayMask.y = 0;
grayMask.width = rootWidth;
grayMask.height = rootHeight;
grayMask.name = "mask";
}
private function vehicleMove(){
var _local1:int;
var _local2:Array;
var _local3:Array;
var _local4:int;
var _local5:OBJ;
var _local6:int;
var _local7:OBJ;
var _local8:OBJ;
var _local9:int;
_local2 = ["_texi_", "_bus_", "_truck_", "_car_1_", "_car_2_", "_ufo_"];
_local3 = ["_boat_1_", "_boat_2_", "_boat_3_", "_ufo_"];
_local4 = -1;
_local6 = -1;
_local1 = 0;
while (_local1 < allObjArr.length) {
if ((((((((allObjArr[_local1].id == "_road_1_")) || ((allObjArr[_local1].id == "_road_3_")))) || ((allObjArr[_local1].id == "_road_4_")))) || ((allObjArr[_local1].id == "_corner_1_")))){
_local9 = Math.sqrt((Math.pow(Math.abs((c_obj.x - allObjArr[_local1].x)), 2) + Math.pow(Math.abs((c_obj.y - allObjArr[_local1].y)), 2)));
if (_local4 == -1){
_local4 = _local9;
_local5 = allObjArr[_local1];
} else {
if (_local9 < _local4){
_local4 = _local9;
_local5 = allObjArr[_local1];
};
};
} else {
if ((((allObjArr[_local1].id == "_river_1_")) || ((allObjArr[_local1].id == "_river_2_")))){
_local9 = Math.sqrt((Math.pow(Math.abs((c_obj.x - allObjArr[_local1].x)), 2) + Math.pow(Math.abs((c_obj.y - allObjArr[_local1].y)), 2)));
if (_local6 == -1){
_local6 = _local9;
_local7 = allObjArr[_local1];
} else {
if (_local9 < _local6){
_local6 = _local9;
_local7 = allObjArr[_local1];
};
};
};
};
_local1++;
};
if (_local4 == -1){
_local4 = 1000000;
};
if (_local6 == -1){
_local6 = 1000000;
};
if ((((_local4 < _local6)) && ((_local4 >= 0)))){
_local1 = 0;
while (_local1 < _local2.length) {
if (c_obj.id == _local2[_local1]){
_local9 = Math.sqrt((Math.pow(Math.abs((c_obj.thisW - _local5.thisW)), 2) + Math.pow(Math.abs((c_obj.thisH - _local5.thisH)), 2)));
if (_local4 <= _local9){
c_obj.x = _local5.x;
c_obj.y = _local5.y;
_local8 = _local5;
};
break;
};
_local1++;
};
} else {
if ((((_local4 > _local6)) && ((_local6 >= 0)))){
_local1 = 0;
while (_local1 < _local3.length) {
if (c_obj.id == _local3[_local1]){
_local9 = Math.sqrt((Math.pow(Math.abs((c_obj.thisW - _local7.thisW)), 2) + Math.pow(Math.abs((c_obj.thisH - _local7.thisH)), 2)));
if (_local6 <= _local9){
c_obj.x = _local7.x;
c_obj.y = _local7.y;
_local8 = _local7;
};
break;
};
_local1++;
};
};
};
if (_local8 != null){
c_obj.startMove(_local8);
};
}
private function saveTheGameToMemory(_arg1:Event){
System.setClipboard(gameData.toString());
}
private function showAugury(_arg1:Event){
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
trace("_Sound_Augury_");
fire = 0;
water = 0;
wind = 0;
erath = 0;
if (allObjArr.length >= auguryNum){
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerStop();
objArr[_local2].endMove();
_local2++;
};
weather.stopWeather();
weatherLayer.visible = false;
objLayer.addEventListener(Event.ENTER_FRAME, playAugurySound);
_local3 = 0;
while (_local3 < 4) {
_local5 = 0;
while (_local5 < allObjArr.length) {
if (_local3 == 0){
wind = (wind + allObjArr[_local5].auguryArr[_local3]);
trace(("wind ==== " + wind));
} else {
if (_local3 == 1){
fire = (fire + allObjArr[_local5].auguryArr[_local3]);
trace(("fire ==== " + fire));
} else {
if (_local3 == 2){
water = (water + allObjArr[_local5].auguryArr[_local3]);
trace(("water ==== " + water));
} else {
if (_local3 == 3){
erath = (erath + allObjArr[_local5].auguryArr[_local3]);
trace(("erath ==== " + erath));
};
};
};
};
_local5++;
};
_local3++;
};
_local4 = Math.max(wind, fire, water, erath);
objLayer.visible = false;
if (wind == _local4){
augury = new Augury(main, "wind");
} else {
if (fire == _local4){
augury = new Augury(main, "fire");
} else {
if (water == _local4){
augury = new Augury(main, "water");
} else {
if (erath == _local4){
augury = new Augury(main, "erath");
};
};
};
};
google.trackEvent("My New Town", "town rating viewed", "per session", 0);
};
}
private function cutPrintBmpAndPrintGame(_arg1:Event){
var _local2:int;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:MovieClip;
printTool.delPrintTool();
_local3 = new Rectangle(0, 0, rootWidth, rootHeight);
_local4 = BmpTool.cutoutBmp(main, _local3);
_local5 = new Bitmap(_local4);
_local6 = new MovieClip();
_local6.addChild(_local5);
main.addChild(_local6);
printTool.printOpus(main, _local3);
_local6.parent.removeChild(_local6);
_local6 = null;
_local5 = null;
_local4 = null;
_local3 = null;
printTool = null;
endPrintGameMain();
google.trackEvent("My New Town", "print", "per session", 0);
}
private function outputMainGameMenuMain(_arg1:int){
var _local2:Boolean;
var _local3:int;
var _local4:int;
_local2 = false;
if ((windowArr.length > 0)){
_local3 = 0;
while (_local3 < windowArr.length) {
if (windowArr[_local3].thisName == ("Window" + String(c_btnNum))){
_local4 = (main.numChildren - 1);
windowArr[_local3].parent.setChildIndex(windowArr[_local3], _local4);
break;
} else {
if (windowArr[_local3].thisName == "WindowColor"){
break;
} else {
if (windowArr[_local3].thisName == "WindowDraw"){
break;
};
};
};
if ((((_local3 == (windowArr.length - 1))) && ((_local2 == false)))){
_local2 = true;
};
_local3++;
};
};
if ((((_local2 == true)) || ((windowArr.length == 0)))){
c_window = new WindowObj(_arg1);
main.addChild(c_window);
c_window.create();
windowArr.push(c_window);
};
}
private function delEvent(){
objLayer.removeEventListener(MouseEvent.MOUSE_DOWN, choose);
main.removeEventListener("createOBJ", createOBJ);
main.removeEventListener("clickTheObj_OBJ", clickTheObj);
main.removeEventListener("outputMainGameMenu_GameMenu", outputMainGameMenu);
main.removeEventListener("pageDown", pageDown);
main.removeEventListener("pageUp", pageUp);
main.removeEventListener("editOBJStart_EditMenu", editOBJStart);
main.removeEventListener("editPencilStart", editPencilStart);
main.removeEventListener("endEditAndResetSet", endEditAndResetSet);
main.removeEventListener("changeColor_ColorMaterialPage", changeColor);
main.removeEventListener("changeMaterial_ColorMaterialPage", changeMaterial);
main.removeEventListener("changeBG_GameMenu", changeBG);
main.removeEventListener("changeWeather_GameMenu", changeWeather);
main.removeEventListener("changeBearing_EditMenu", changeBearing);
main.removeEventListener("downIndex_EditMenu", downIndex);
main.removeEventListener("upIndex_EditMenu", upIndex);
main.removeEventListener("delOBJ_EditMenu", delOBJ);
main.removeEventListener("delTheEditMenu_EditMenu", delEditMenu);
main.removeEventListener("saveGameData_GameMenu", saveGameData);
main.removeEventListener("resumeTheGame_SavePage", resumeTheGame);
main.removeEventListener("saveTheGameDataToCookie_GameMenu", saveTheGameDataToCookie);
main.removeEventListener("resumeTheGame_ResumePage", resumeTheGame);
main.removeEventListener("closeTheResumePage_ResumePage", closeTheResumePage);
main.removeEventListener("delWindow", delWindow);
main.removeEventListener("getCurrentlyWindow_WindowObj", getCurrentlyWindow);
main.removeEventListener("getCurrentlyWindow_OBJ", getCurrentlyWindow);
main.removeEventListener("createEditMenu_OBJ", createEditMenu);
main.removeEventListener("moveEditMenu_OBJ", moveEditMenu);
main.removeEventListener("closeSaveChoosePage_SaveTheLocalData", endSaveTheGameDataToCookie);
main.removeEventListener("saveDataToCookie_SaveTheLocalData", saveDataToCookie);
main.removeEventListener("saveTheGameToMemory_SavePage", saveTheGameToMemory);
main.removeEventListener("printGame_GameMenu", printTheGame);
main.removeEventListener("colorPrint_PrintTool", colorPrint);
main.removeEventListener("wbPrint_PrintTool", wbPrint);
main.removeEventListener("cutPrintBmpAndPrintGame_PrintTool", cutPrintBmpAndPrintGame);
main.removeEventListener("endPrintGame_PrintTool", endPrintGame);
main.removeEventListener("augury_GameMenu", showAugury);
main.removeEventListener("closeAugury_Augury", closeAugury);
main.removeEventListener("showObjLayer_Augury", showObjLayer);
main.removeEventListener("sentToFriend_GameMenu", sentToFriend);
main.removeEventListener("changeMusic_InGameElement", changeMusic);
main.removeEventListener("clearAll_InGameElement", clearAll);
main.removeEventListener("createMainBmpMC", createMainBmpMC);
main.removeEventListener("delMainBmpMC", delMainBmpMC);
main.removeEventListener("showHowToPlay", showHowToPlay);
main.removeEventListener("openOrCloseMusic_InGameElement", openOrCloseMusic_InGameElement);
}
private function resumeInGame(){
var _local1:int;
var _local2:Array;
var _local3:int;
var _local4:Array;
var _local5:Array;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:OBJ;
var _local11:OBJ;
var _local12:int;
var _local13:int;
var _local14:DrawOBJ;
var _local15:int;
var _local16:int;
var _local17:int;
if (loadData.allObjArr.length > 0){
_local1 = 0;
while (_local1 < loadData.allObjArr.length) {
if (loadData.allObjArr[_local1][0] == loadData.allObjDataArr[_local1][0]){
tmpObj = AttachTool.attachOBJ(loadData.allObjDataArr[_local1][1], false);
if (loadData.allObjArr[_local1][1] == "root"){
objLayer.addChild(tmpObj);
};
tmpObj.rotateNum = loadData.allObjArr[_local1][2];
tmpObj.changeBearingMain(tmpObj.rotateNum);
tmpObj.x = loadData.allObjArr[_local1][3];
tmpObj.y = loadData.allObjArr[_local1][4];
tmpObj.objX = loadData.allObjArr[_local1][3];
tmpObj.objY = loadData.allObjArr[_local1][4];
tmpObj.createMaskLayer(backgroundLayer, tmpObj.x, tmpObj.y);
tmpObj.thisW = tmpObj.width;
tmpObj.thisH = tmpObj.height;
_local2 = new Array("_boat_1_", "_boat_2_", "_boat_3_");
_local3 = 0;
while (_local3 < _local2.length) {
if (tmpObj.id == _local2[_local3]){
tmpObj.m_speed = 3;
};
_local3++;
};
tmpObj.data_id = loadData.allObjArr[_local1][0];
tmpObj.parent_id = loadData.allObjArr[_local1][1];
tmpObj.arr_index = (objLayer.getChildIndex(tmpObj) - 1);
tmpObj.dragFlag = true;
objArr.push(tmpObj);
allObjArr.push(tmpObj);
if (tmpObj.arr_index > 0){
tmpObj.p_mc = objArr[(tmpObj.arr_index - 1)];
objArr[(tmpObj.arr_index - 1)].n_mc = tmpObj;
};
_local4 = new Array();
_local5 = new Array();
_local6 = 1;
_local7 = 0;
_local8 = 0;
while (_local8 < loadData.allObjDataArr[_local1].length) {
if ((((loadData.allObjDataArr[_local1][_local8] == "[")) && ((_local7 < _local6)))){
_local7++;
} else {
if ((((loadData.allObjDataArr[_local1][_local8] == "]")) && ((_local7 == _local6)))){
_local6 = 2;
} else {
if ((((_local7 == _local6)) && ((_local6 == 1)))){
if (loadData.allObjDataArr[_local1][_local8] != "null"){
_local4.push(uint(loadData.allObjDataArr[_local1][_local8]));
} else {
_local4.push(loadData.allObjDataArr[_local1][_local8]);
};
} else {
if ((((_local7 == _local6)) && ((_local6 == 2)))){
_local5.push(loadData.allObjDataArr[_local1][_local8]);
};
};
};
};
_local8++;
};
tmpObj.resumeObj(_local4, _local5);
};
_local1++;
};
};
if (loadData.allObjArr.length > 1){
_local12 = 0;
while (_local12 < loadData.allObjArr.length) {
if (loadData.allObjArr[_local12][5] != "null"){
_local9 = 0;
while (_local9 < allObjArr.length) {
if (allObjArr[_local9].data_id == loadData.allObjArr[_local12][0]){
_local10 = allObjArr[_local9];
};
if (allObjArr[_local9].data_id == loadData.allObjArr[_local12][5]){
_local11 = allObjArr[_local9];
};
_local9++;
};
_local10.l_up = _local11;
};
if (loadData.allObjArr[_local12][6] != "null"){
_local9 = 0;
while (_local9 < allObjArr.length) {
if (allObjArr[_local9].data_id == loadData.allObjArr[_local12][0]){
_local10 = allObjArr[_local9];
};
if (allObjArr[_local9].data_id == loadData.allObjArr[_local12][6]){
_local11 = allObjArr[_local9];
};
_local9++;
};
_local10.l_down = _local11;
};
if (loadData.allObjArr[_local12][7] != "null"){
_local9 = 0;
while (_local9 < allObjArr.length) {
if (allObjArr[_local9].data_id == loadData.allObjArr[_local12][0]){
_local10 = allObjArr[_local9];
};
if (allObjArr[_local9].data_id == loadData.allObjArr[_local12][7]){
_local11 = allObjArr[_local9];
};
_local9++;
};
_local10.r_up = _local11;
};
if (loadData.allObjArr[_local12][8] != "null"){
_local9 = 0;
while (_local9 < allObjArr.length) {
if (allObjArr[_local9].data_id == loadData.allObjArr[_local12][0]){
_local10 = allObjArr[_local9];
};
if (allObjArr[_local9].data_id == loadData.allObjArr[_local12][8]){
_local11 = allObjArr[_local9];
};
_local9++;
};
_local10.r_down = _local11;
};
_local12++;
};
};
if (loadData.allDrawObjArr.length > 0){
_local13 = 0;
while (_local13 < loadData.allDrawObjArr.length) {
if (loadData.allDrawObjArr[_local13][0] == loadData.allDrawObjDataArr[_local13][0]){
_local14 = new DrawOBJ();
if (loadData.allDrawObjArr[_local13][1] == "root"){
objLayer.addChild(_local14);
_local14.isObjDraw = false;
pencilShapeArr.push(_local14);
_local14.arr_index = (pencilShapeArr.length - 1);
} else {
_local17 = 0;
while (_local17 < allObjArr.length) {
if (allObjArr[_local17].data_id == loadData.allDrawObjArr[_local13][1]){
allObjArr[_local17].addChild(_local14);
_local14.isObjDraw = true;
_local14.dragFlag = false;
allObjArr[_local17].pencilShapeArr.push(_local14);
_local14.arr_index = (allObjArr[_local17].pencilShapeArr.length - 1);
break;
};
_local17++;
};
};
_local14.x = loadData.allDrawObjArr[_local13][3];
_local14.y = loadData.allDrawObjArr[_local13][4];
_local14.drawOBJX = loadData.allDrawObjArr[_local13][3];
_local14.drawOBJY = loadData.allDrawObjArr[_local13][4];
_local14.data_id = loadData.allDrawObjArr[_local13][0];
_local14.parent_id = loadData.allDrawObjArr[_local13][1];
allDrawObjArr.push(_local14);
switch (loadData.allDrawObjDataArr[_local13][1]){
case "1":
DrawTool.startDrawLine(_local14, int(loadData.allDrawObjDataArr[_local13][4]), int(loadData.allDrawObjDataArr[_local13][5]), uint(loadData.allDrawObjDataArr[_local13][2]), int(loadData.allDrawObjDataArr[_local13][3]));
_local15 = 6;
while (_local15 < loadData.allDrawObjDataArr[_local13].length) {
DrawTool.drawLine(_local14, loadData.allDrawObjDataArr[_local13][_local15], loadData.allDrawObjDataArr[_local13][(_local15 + 1)]);
_local15 = (_local15 + 2);
};
break;
case "2":
DrawTool.drawBeeline(_local14, int(loadData.allDrawObjDataArr[_local13][4]), int(loadData.allDrawObjDataArr[_local13][5]), uint(loadData.allDrawObjDataArr[_local13][2]), int(loadData.allDrawObjDataArr[_local13][3]), int(loadData.allDrawObjDataArr[_local13][6]), int(loadData.allDrawObjDataArr[_local13][7]));
break;
case "3":
_local15 = 4;
while (_local15 < loadData.allDrawObjDataArr[_local13].length) {
DrawTool.drawSprayer(_local14, int(loadData.allDrawObjDataArr[_local13][3]), uint(loadData.allDrawObjDataArr[_local13][2]), int(loadData.allDrawObjDataArr[_local13][_local15]), int(loadData.allDrawObjDataArr[_local13][(_local15 + 1)]));
_local15 = (_local15 + 2);
};
break;
case "4":
DrawTool.drawBox(_local14, int(loadData.allDrawObjDataArr[_local13][3]), uint(loadData.allDrawObjDataArr[_local13][2]), uint(loadData.allDrawObjDataArr[_local13][4]), int(loadData.allDrawObjDataArr[_local13][5]), int(loadData.allDrawObjDataArr[_local13][6]), int(loadData.allDrawObjDataArr[_local13][7]), int(loadData.allDrawObjDataArr[_local13][8]));
break;
case "5":
DrawTool.drawOval(_local14, int(loadData.allDrawObjDataArr[_local13][3]), uint(loadData.allDrawObjDataArr[_local13][2]), uint(loadData.allDrawObjDataArr[_local13][4]), int(loadData.allDrawObjDataArr[_local13][5]), int(loadData.allDrawObjDataArr[_local13][6]), int(loadData.allDrawObjDataArr[_local13][7]), int(loadData.allDrawObjDataArr[_local13][8]));
break;
case "6":
DrawTool.drawStar(_local14, int(loadData.allDrawObjDataArr[_local13][3]), uint(loadData.allDrawObjDataArr[_local13][2]), uint(loadData.allDrawObjDataArr[_local13][4]), int(loadData.allDrawObjDataArr[_local13][5]), int(loadData.allDrawObjDataArr[_local13][6]), int(loadData.allDrawObjDataArr[_local13][7]), int(loadData.allDrawObjDataArr[_local13][8]));
break;
case "7":
DrawTool.drawHeart(_local14, int(loadData.allDrawObjDataArr[_local13][3]), uint(loadData.allDrawObjDataArr[_local13][2]), uint(loadData.allDrawObjDataArr[_local13][4]), int(loadData.allDrawObjDataArr[_local13][5]), int(loadData.allDrawObjDataArr[_local13][6]), int(loadData.allDrawObjDataArr[_local13][7]), int(loadData.allDrawObjDataArr[_local13][8]));
break;
};
_local14.drawType = int(loadData.allDrawObjDataArr[_local13][1]);
_local16 = 0;
while (_local16 < loadData.allDrawObjDataArr[_local13].length) {
drawDataArr.push(loadData.allDrawObjDataArr[_local13][_local16]);
_local16++;
};
drawDataArr.push(loadData.allDrawObjDataArr[_local13][0]);
if ((((deepPencilMC == null)) && ((loadData.allDrawObjArr[_local13][1] == "root")))){
deepPencilMC = allDrawObjArr[_local13];
};
};
_local13++;
};
};
}
private function downIndex(_arg1:Event){
var _local2:OBJ;
var _local3:OBJ;
var _local4:OBJ;
var _local5:OBJ;
InGame.defaultFlag = true;
if (c_obj != null){
_local2 = c_obj;
_local3 = c_obj.p_mc;
_local4 = c_obj.n_mc;
if (_local3 != null){
_local5 = _local3.p_mc;
};
if (_local3 != null){
_local2.parent.setChildIndex(_local2, _local2.parent.getChildIndex(_local3));
if (_local2 != null){
_local2.n_mc = _local3;
};
if (_local2 != null){
_local2.p_mc = _local5;
};
if (_local3 != null){
_local3.n_mc = _local4;
};
if (_local3 != null){
_local3.p_mc = _local2;
};
if (_local5 != null){
_local5.n_mc = _local2;
};
if (_local4 != null){
_local4.p_mc = _local3;
};
};
};
}
private function lockBackBtnClick(_arg1:MouseEvent){
delLockMC();
}
private function saveGameData(_arg1:Event){
var _local2:int;
var _local3:*;
var _local4:*;
trace(("上传图片 === " + checkFlag));
if (SiteInfo.instance.allowed){
checkFlag = true;
} else {
checkFlag = false;
};
if (checkFlag == false){
lockMC = new _LockMC_();
main.addChild(lockMC);
lockMC.x = (rootWidth / 2);
lockMC.y = (rootHeight / 2);
lock_startGameBtn = (lockMC.getChildByName("StartGameBtn") as MovieClip);
lock_backBtn = (lockMC.getChildByName("BackBtn") as MovieClip);
lock_startGameBtn.addEventListener(MouseEvent.CLICK, startBtnClick);
lock_backBtn.addEventListener(MouseEvent.CLICK, lockBackBtnClick);
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerStop();
objArr[_local2].endMove();
_local2++;
};
weather.stopWeather();
} else {
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
gameMenu.visible = false;
_local2 = 0;
while (_local2 < windowArr.length) {
windowArr[_local2].visible = false;
_local2++;
};
if (c_obj != null){
editMenu.visible = false;
c_obj.lostTheOBJ();
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerStop();
objArr[_local2].endMove();
_local2++;
};
if (c_drawObj != null){
editMenu.visible = false;
c_drawObj.lostTheDrawOBJ();
};
weather.stopWeather();
weatherLayer.visible = false;
inGameElement.delMusicBtnMC();
inGameElement.delClearBtnMC();
inGameElement.delHowToPlayBtnMC();
if (upload == null){
_local3 = new Rectangle(0, 0, (rootWidth - 20), rootHeight);
_local4 = BmpTool.cutoutBmpWithWidthAndHeight(main, (rootWidth - 20), rootHeight, _local3);
main.addEventListener("delUploadMC_Upload", delUploadMC);
upload = new Upload(bigImageArr, smallImageArr, imageTitleArr, imageNameArr, imageDateArr, imageIDArr, imageLinkArr, xmlList);
upload.createUploadMC(main, _local4);
};
};
}
private function initEvent(){
objLayer.addEventListener(MouseEvent.MOUSE_DOWN, choose);
main.addEventListener("createOBJ", createOBJ);
main.addEventListener("clickTheObj_OBJ", clickTheObj);
main.addEventListener("outputMainGameMenu_GameMenu", outputMainGameMenu);
main.addEventListener("pageDown", pageDown);
main.addEventListener("pageUp", pageUp);
main.addEventListener("editOBJStart_EditMenu", editOBJStart);
main.addEventListener("editPencilStart", editPencilStart);
main.addEventListener("endEditAndResetSet", endEditAndResetSet);
main.addEventListener("changeColor_ColorMaterialPage", changeColor);
main.addEventListener("changeMaterial_ColorMaterialPage", changeMaterial);
main.addEventListener("changeBG_GameMenu", changeBG);
main.addEventListener("changeWeather_GameMenu", changeWeather);
main.addEventListener("changeBearing_EditMenu", changeBearing);
main.addEventListener("downIndex_EditMenu", downIndex);
main.addEventListener("upIndex_EditMenu", upIndex);
main.addEventListener("delOBJ_EditMenu", delOBJ);
main.addEventListener("delTheEditMenu_EditMenu", delEditMenu);
main.addEventListener("saveGameData_GameMenu", saveGameData);
main.addEventListener("resumeTheGame_SavePage", resumeTheGame);
main.addEventListener("saveTheGameDataToCookie_GameMenu", saveTheGameDataToCookie);
main.addEventListener("resumeTheGame_ResumePage", resumeTheGame);
main.addEventListener("closeTheResumePage_ResumePage", closeTheResumePage);
main.addEventListener("delWindow", delWindow);
main.addEventListener("getCurrentlyWindow_WindowObj", getCurrentlyWindow);
main.addEventListener("getCurrentlyWindow_OBJ", getCurrentlyWindow);
main.addEventListener("createEditMenu_OBJ", createEditMenu);
main.addEventListener("moveEditMenu_OBJ", moveEditMenu);
main.addEventListener("closeSaveChoosePage_SaveTheLocalData", endSaveTheGameDataToCookie);
main.addEventListener("saveDataToCookie_SaveTheLocalData", saveDataToCookie);
main.addEventListener("saveTheGameToMemory_SavePage", saveTheGameToMemory);
main.addEventListener("printGame_GameMenu", printTheGame);
main.addEventListener("colorPrint_PrintTool", colorPrint);
main.addEventListener("wbPrint_PrintTool", wbPrint);
main.addEventListener("cutPrintBmpAndPrintGame_PrintTool", cutPrintBmpAndPrintGame);
main.addEventListener("endPrintGame_PrintTool", endPrintGame);
main.addEventListener("augury_GameMenu", showAugury);
main.addEventListener("closeAugury_Augury", closeAugury);
main.addEventListener("showObjLayer_Augury", showObjLayer);
main.addEventListener("sentToFriend_GameMenu", sentToFriend);
main.addEventListener("changeMusic_InGameElement", changeMusic);
main.addEventListener("clearAll_InGameElement", clearAll);
main.addEventListener("createMainBmpMC", createMainBmpMC);
main.addEventListener("delMainBmpMC", delMainBmpMC);
main.addEventListener("showHowToPlay", showHowToPlay);
main.addEventListener("openOrCloseMusic_InGameElement", openOrCloseMusic_InGameElement);
}
private function saveTheGameDataToCookie(_arg1:Event){
var _local2:int;
trace("saveTheGameDataToCookie");
trace(gameData);
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerStop();
objArr[_local2].endMove();
_local2++;
};
weather.stopWeather();
weatherLayer.visible = false;
saveGameDataMain();
Cookie.instance.saveTheGameData(gameData);
saveTheLocalData = new SaveTheLocalData(main);
}
private function resetAllDrawObjDataIndex(_arg1:DrawOBJ){
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
_local2 = int(_arg1.data_id.substr((_arg1.data_id.indexOf("_", 0) + 1), (_arg1.data_id.length - _arg1.data_id.indexOf("_", 0))));
_local3 = 0;
while (_local3 < allDrawObjArr.length) {
if (allDrawObjArr[_local3].data_id == _arg1.data_id){
allDrawObjArr[_local3].delDrawOBJ();
allDrawObjArr[_local3] = null;
allDrawObjArr.splice(_local3, 1);
break;
};
_local3++;
};
_local4 = 0;
while (_local4 < allDrawObjArr.length) {
if (int(allDrawObjArr[_local4].data_id.substr((allDrawObjArr[_local4].data_id.indexOf("_", 0) + 1), (allDrawObjArr[_local4].data_id.length - allDrawObjArr[_local4].data_id.indexOf("_", 0)))) > _local2){
allDrawObjArr[_local4].data_id = ("d_" + String((int(allDrawObjArr[_local4].data_id.substr((allDrawObjArr[_local4].data_id.indexOf("_", 0) + 1), (allDrawObjArr[_local4].data_id.length - allDrawObjArr[_local4].data_id.indexOf("_", 0)))) - 1)));
};
_local4++;
};
deleteDrawData(_arg1);
_local5 = 0;
while (_local5 < drawDataArr.length) {
if ((drawDataArr[_local5] is String)){
if (drawDataArr[_local5].substr(0, 2) == "d_"){
if (int(drawDataArr[_local5].substr((drawDataArr[_local5].indexOf("_", 0) + 1), (drawDataArr[_local5].length - drawDataArr[_local5].indexOf("_", 0)))) > _local2){
drawDataArr[_local5] = ("d_" + String((int(drawDataArr[_local5].substr((drawDataArr[_local5].indexOf("_", 0) + 1), (drawDataArr[_local5].length - drawDataArr[_local5].indexOf("_", 0)))) - 1)));
};
};
};
_local5++;
};
drawCount--;
}
private function moveEditMenu(_arg1:Event){
if (editMenu != null){
delEditMenuMain();
};
}
private function getMaxWH(_arg1:MovieClip):int{
var _local2:int;
if (_arg1.thisW > _arg1.thisH){
_local2 = _arg1.thisW;
} else {
_local2 = _arg1.thisH;
};
return (_local2);
}
private function openOrCloseMusic_InGameElement(_arg1:Event){
soundMode = inGameElement.soundMode;
if (soundMode == 1){
trace("open music");
SoundsManager.getInstance().Enabled = true;
if (c_musicName != "null"){
SoundsManager.getInstance().playMusic(c_musicName, 1);
};
if (weatherSound != "null"){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
};
} else {
if (soundMode == 2){
trace("close music");
if (c_musicName != "null"){
SoundsManager.getInstance().stopMusic();
};
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
};
SoundsManager.getInstance().Enabled = false;
};
};
}
private function endPrintGameMain(){
var _local1:int;
var _local2:int;
bg.resumePrint();
_local1 = 0;
while (_local1 < allObjArr.length) {
allObjArr[_local1].colorPrint();
_local1++;
};
Cookie.instance.saveTheGameData(gameData);
loadData.resumeGameData(String(gameData));
drawWBDrawOBJ(false);
if (printTool != null){
printTool.delPrintTool();
printTool = null;
};
gameMenu.visible = true;
_local1 = 0;
while (_local1 < windowArr.length) {
windowArr[_local1].visible = true;
_local1++;
};
if (c_obj != null){
editMenu.visible = true;
c_obj.OBJFilters();
};
_local2 = 0;
while (_local2 < objArr.length) {
objArr[_local2].movieLayerPlay();
objArr[_local2].goonMove();
_local2++;
};
if (c_drawObj != null){
editMenu.visible = true;
c_drawObj.drawOBJFilters();
};
if (weatherSound != "null"){
SoundsManager.getInstance().playLoopMusic(weatherSound, 1);
trace(weatherSound);
};
weather.playWeather();
weatherLayer.visible = true;
inGameElement.createHowToPlayBtnMC(main);
inGameElement.createClearBtnMC(main);
inGameElement.createMusicBtnMC(main);
inGameElement.changeMusicNum(c_musicNum);
inGameElement.createLogoMC(main);
}
private function hideAllOBJ(){
objLayer.visible = false;
}
private function pageUp(_arg1:Event){
}
private function delEditMenuMain(){
if (editMenu != null){
editMenu.delEditMenu();
editMenu.parent.removeChild(editMenu);
editMenu = null;
};
}
private function changeColor(_arg1:Event){
if (c_btnNum == 7){
c_obj.changeColor(theChooseColor);
} else {
if (c_btnNum == 9){
};
};
}
private function logoMCClick(_arg1:MouseEvent){
Handler.click_siteLocked_moregame();
}
private function endPrintGame(_arg1:Event){
endPrintGameMain();
}
private function createEditMenu(_arg1:Event){
createEditMenuMain();
adsorb();
}
private function delEditMenu(_arg1:Event){
delEditMenuMain();
}
private function saveTheGame(){
main.addEventListener("closeTheSavePage_SavePage", closeTheSavePage);
savePage = new SavePage(main);
savePage.showSaveCode(gameData);
}
private function pageDown(_arg1:Event){
}
private function initElement(){
main = new _Main_();
Root.addChild(main);
main.x = 0;
main.y = 0;
backgroundLayer = new _Layer_();
main.addChild(backgroundLayer);
backgroundLayer.x = 0;
backgroundLayer.y = 0;
backgroundLayer.name = "bgLayer";
bg.createBG(backgroundLayer);
objLayer = new _Layer_();
main.addChild(objLayer);
objLayer.x = 0;
objLayer.y = 0;
objLayer.name = "objLayer";
maxIndexOBJ = null;
weatherLayer = new _Layer_();
main.addChild(weatherLayer);
weatherLayer.name = "weatherLayer";
weatherLayer.mouseEnabled = false;
weatherLayer.mouseChildren = false;
gameMenu = new _InGameButtonMC_();
main.addChild(gameMenu);
gameMenu.x = (rootWidth - gameMenu.width);
gameMenu.y = 0;
inGameElement.createHowToPlayBtnMC(main);
inGameElement.createClearBtnMC(main);
inGameElement.createMusicBtnMC(main);
inGameElement.changeSoundBtn(soundMode);
inGameElement.createLogoMC(main);
}
private function editOBJStart(_arg1:Event){
var _local2:int;
var _local3:int;
var _local4:int;
_local2 = 0;
while (_local2 < gameInformation.immutableArr.length) {
if (c_obj.id == gameInformation.immutableArr[_local2]){
break;
};
if (_local2 == (gameInformation.immutableArr.length - 1)){
if (weatherSound != "null"){
SoundsManager.getInstance().stopLoopMusic();
trace("stopLoopMusic()");
};
_local3 = 0;
while (_local3 < objArr.length) {
objArr[_local3].movieLayerStop();
objArr[_local3].endMove();
_local3++;
};
weather.stopWeather();
weatherLayer.visible = false;
inGameElement.clearAllBtnEvent();
gameMenu.delEvent();
c_obj.editState();
editIndex = objLayer.getChildIndex(c_obj);
createGrayLayer(objLayer);
objLayer.setChildIndex(c_obj, objLayer.getChildIndex(grayMask));
c_btnNum = colorEditBtnNum;
outputMainGameMenuMain(colorEditBtnNum);
_local4 = 0;
while (_local4 < windowArr.length) {
if (windowArr[_local4].thisName != "WindowColor"){
windowArr[_local4].visible = false;
};
_local4++;
};
};
_local2++;
};
}
private function delMainBmpMC(_arg1:Event){
var _local2:int;
if (allDrawObjArr.length != 0){
_local2 = 0;
while (_local2 < allDrawObjArr.length) {
allDrawObjArr[_local2].visible = true;
_local2++;
};
};
if (allObjArr.length != 0){
_local2 = 0;
while (_local2 < allObjArr.length) {
allObjArr[_local2].visible = true;
_local2++;
};
};
mainBmpMC.parent.removeChild(mainBmpMC);
mainBmpMC = null;
}
private function delWindow(_arg1:Event){
var _local2:int;
if (c_window != null){
_local2 = 0;
while (_local2 < windowArr.length) {
if (windowArr[_local2].thisName == c_window.thisName){
windowArr.splice(_local2, 1);
break;
};
_local2++;
};
c_window.delWindowObj();
c_window.parent.removeChild(c_window);
c_window = null;
};
if (editMenu != null){
};
}
private function initInGame(_arg1:MovieClip, _arg2:String, _arg3:int, _arg4:Object, _arg5:Boolean, _arg6:XMLList){
Root = _arg1;
startGameMode = _arg2;
soundMode = _arg3;
google = _arg4;
checkFlag = _arg5;
xmlList = _arg6;
initClass();
initElement();
initEvent();
initProperty();
initFunction();
}
private function delLockMC(){
var _local1:int;
lock_startGameBtn.removeEventListener(MouseEvent.CLICK, startBtnClick);
lock_backBtn.removeEventListener(MouseEvent.CLICK, lockBackBtnClick);
lock_startGameBtn = null;
lock_backBtn = null;
lockMC.parent.removeChild(lockMC);
lockMC = null;
_local1 = 0;
while (_local1 < objArr.length) {
objArr[_local1].movieLayerPlay();
objArr[_local1].goonMove();
_local1++;
};
weather.playWeather();
}
private function changeBearing(_arg1:Event){
if (c_obj != null){
c_obj.changeBearing();
if (c_obj.typeNum == 2){
c_obj.createMaskLayer(backgroundLayer, tmpObj.x, tmpObj.y);
};
t_obj = null;
t_arr = [];
SoundsManager.getInstance().playSound("_Sound_ChangeBearing_", 1, 0);
trace("_Sound_ChangeBearing_");
};
}
private function changeBG(_arg1:Event){
var _local2:int;
trace(_arg1.target.name);
if (_arg1.target.name == "BgDownBtn"){
if (c_bgNum < bgSum){
c_bgNum++;
} else {
c_bgNum = 1;
};
} else {
if (_arg1.target.name == "BgUpBtn"){
if (c_bgNum > 1){
c_bgNum--;
} else {
c_bgNum = bgSum;
};
};
};
if ((((((((allObjArr.length == 0)) && ((allDrawObjArr.length == 0)))) || ((defaultFlag == false)))) && ((((c_bgNum >= 1)) && ((c_bgNum <= 4)))))){
defaultFlag = false;
clearAllMain();
trace(("defaultArr BackGround ================ " + c_bgNum));
trace(gameInformation[("defaultArr" + String(c_bgNum))]);
loadData.resumeGameData(gameInformation[("defaultArr" + String(c_bgNum))].toString());
resumeInGame();
objCount = (allObjArr.length + 1);
};
gameInformation.c_bgNum = c_bgNum;
bg.changeBG(c_bgNum);
gameMenu.changeBGBtnIcon(c_bgNum);
if (objArr.length > 0){
_local2 = 0;
while (_local2 < objArr.length) {
if (objArr[_local2].typeNum == 2){
objArr[_local2].cutAndAttachBG(backgroundLayer);
};
_local2++;
};
};
}
private function clearAllMain(){
var _local1:int;
if (allDrawObjArr.length != 0){
_local1 = 0;
while (_local1 < allDrawObjArr.length) {
allDrawObjArr[_local1].parent.removeChild(allDrawObjArr[_local1]);
_local1++;
};
allDrawObjArr = [];
drawDataArr = [];
deepPencilMC = null;
drawCount = 1;
};
if (allObjArr.length != 0){
_local1 = 0;
while (_local1 < allObjArr.length) {
allObjArr[_local1].parent.removeChild(allObjArr[_local1]);
_local1++;
};
allObjArr = [];
objArr = [];
objCount = 1;
};
c_obj = null;
c_drawObj = null;
delEditMenuMain();
}
public static function getOBJArrNum(_arg1:int){
c_obj_arrNum = _arg1;
}
public static function clearDrawOBJ(){
c_drawObj_arrNum = -1;
c_drawObj = null;
}
public static function currentlyOBJGetDrawOBJArrNum(_arg1:int){
c_obj.getDrawOBJArrNum(_arg1);
c_obj.delAllDrawOBJChoose();
}
public static function getDrawOBJArrNum(_arg1:int){
c_drawObj_arrNum = _arg1;
}
public static function getCurrentlyItemNum(_arg1:int){
c_btnNum = _arg1;
}
private static function deleteDrawData(_arg1:DrawOBJ){
var _local2:int;
var _local3:int;
var _local4:int;
_local2 = drawDataArr.length;
_local3 = 0;
_local4 = 0;
while (_local4 < drawDataArr.length) {
if ((((drawDataArr[_local4] == _arg1.data_id)) && ((_local4 < _local2)))){
_local2 = _local4;
_local3++;
} else {
if ((((drawDataArr[_local4] == _arg1.data_id)) && ((_local4 > _local2)))){
_local3++;
break;
} else {
if (_local4 > _local2){
_local3++;
};
};
};
_local4++;
};
drawDataArr.splice(_local2, _local3);
}
public static function clearOBJ(){
c_obj_arrNum = -1;
c_obj = null;
}
public static function getID(_arg1:String, _arg2:Array){
c_id = _arg1;
auguryArr = _arg2;
}
}
}//package GameFile
Section 89
//InGameElement (GameFile.InGameElement)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import zlong.navigate.*;
public class InGameElement {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var musicNumTxt:TextField;
private var logoMC:MovieClip;
private var musicUpBtn:MovieClip;
private var questionBtn:MovieClip;
private var howToPlayBtnMC:MovieClip;
private var clearBtnMC:MovieClip;
private var musicBtnMC:MovieClip;
private var soundBtn:MovieClip;
public var soundMode:int;
private var clearAllPopMC_YesBtn:MovieClip;
private var clearAllPopMC_NoBtn:MovieClip;
public var questionFlag:Boolean;
private var clearAllPopMC:MovieClip;
private var musicDownBtn:MovieClip;
public function InGameElement(){
initInGameElement();
}
private function initProperty(){
soundMode = 1;
}
private function changeSoundMode(_arg1:MouseEvent){
SoundsManager.getInstance().playSound("_Sound_OtherPress_", 1, 0);
if (questionFlag == false){
if (soundMode == 1){
soundMode = 2;
} else {
if (soundMode == 2){
soundMode = 1;
};
};
_arg1.target.dispatchEvent(new Event("openOrCloseMusic_InGameElement", true));
changeSoundBtn(soundMode);
};
}
private function createQuestionBtn(_arg1:MovieClip){
questionBtn = new _QuestionBtn_();
_arg1.addChild(questionBtn);
questionBtn.gotoAndStop(1);
questionBtn["Txt"].text = "?";
questionBtn.gotoAndStop(2);
questionBtn.scaleX = 0.7;
questionBtn.scaleY = 0.7;
questionBtn.x = (questionBtn.parent.width * 0.7);
questionBtn.y = (questionBtn.parent.height * 0.7);
questionBtn.addEventListener(MouseEvent.CLICK, showHowToPlay, false, 0, true);
questionBtn.addEventListener(MouseEvent.MOUSE_OVER, overQuestionBtn, false, 0, true);
questionBtn.addEventListener(MouseEvent.MOUSE_OUT, outQuestionBtn, false, 0, true);
}
private function clearAll(_arg1:MouseEvent){
if (_arg1.target.parent.questionFlag == false){
showClearAllPopMC();
};
}
private function initInGameElement(){
initClass();
initElement();
initEvent();
initProperty();
}
public function delClearBtnMC(){
clearBtnMC.removeEventListener(MouseEvent.CLICK, clearAll);
clearBtnMC.parent.removeChild(clearBtnMC);
clearBtnMC = null;
}
private function changeMusicBtnClick(_arg1:MouseEvent){
_arg1.target.parent.dispatchEvent(new Event("changeMusic_InGameElement", true));
}
private function mouseIsOut(_arg1:MouseEvent){
delQuestionBtn();
}
private function overQuestionBtn(_arg1:MouseEvent){
questionFlag = true;
}
private function mouseIsOver(_arg1:MouseEvent){
trace(_arg1.target.name);
if (_arg1.target.name == "SoundBtn"){
SoundsManager.getInstance().playSound("_Sound_OtherTouch_", 1, 0);
};
createQuestionBtn(MovieClip(_arg1.target));
}
public function createLogoMC(_arg1:MovieClip){
logoMC = new _InGameLogo_();
_arg1.addChild(logoMC);
logoMC.x = (0 + (logoMC.width / 2));
logoMC.y = 451;
logoMC.addEventListener(MouseEvent.CLICK, changeLogoMC);
}
public function createHowToPlayBtnMC(_arg1:MovieClip){
howToPlayBtnMC = new _HowToPlayBtnMC_();
_arg1.addChild(howToPlayBtnMC);
howToPlayBtnMC.x = 160;
howToPlayBtnMC.y = 0;
howToPlayBtnMC.name = "HowToPlayBtn_InGame";
howToPlayBtnMC.addEventListener(MouseEvent.CLICK, showHowToPlay);
}
private function delClearAllPopMC(){
clearAllPopMC_YesBtn.removeEventListener(MouseEvent.CLICK, sureClearAll);
clearAllPopMC_NoBtn.removeEventListener(MouseEvent.CLICK, backToGame);
clearAllPopMC_YesBtn = null;
clearAllPopMC_NoBtn = null;
clearAllPopMC.parent.removeChild(clearAllPopMC);
clearAllPopMC = null;
}
private function delClass(){
}
public function changeSoundBtn(_arg1:int){
trace(("changeSoundBtn ==== " + _arg1));
soundMode = _arg1;
if (soundMode != 1){
soundBtn.gotoAndStop(((_arg1 * 2) - 1));
} else {
soundBtn.gotoAndStop(_arg1);
};
}
public function delMusicBtnMC(){
musicDownBtn.removeEventListener(MouseEvent.CLICK, changeMusicBtnClick);
musicUpBtn.removeEventListener(MouseEvent.CLICK, changeMusicBtnClick);
musicBtnMC.removeEventListener(MouseEvent.ROLL_OVER, mouseIsOver);
musicBtnMC.removeEventListener(MouseEvent.ROLL_OUT, mouseIsOut);
musicBtnMC.parent.removeChild(musicBtnMC);
musicBtnMC = null;
soundBtn.removeEventListener(MouseEvent.CLICK, changeSoundMode);
soundBtn.removeEventListener(MouseEvent.ROLL_OVER, mouseIsOver);
soundBtn.removeEventListener(MouseEvent.ROLL_OUT, mouseIsOut);
soundBtn.parent.removeChild(soundBtn);
soundBtn = null;
}
public function createClearBtnMC(_arg1:MovieClip){
clearBtnMC = new _ClearBtnMC_();
_arg1.addChild(clearBtnMC);
clearBtnMC.x = 120;
clearBtnMC.y = 0;
clearBtnMC.name = "ClearBtnMC";
clearBtnMC.addEventListener(MouseEvent.CLICK, clearAll);
}
private function delQuestionBtn(){
if (questionBtn != null){
questionBtn.removeEventListener(MouseEvent.CLICK, showHowToPlay);
questionBtn.removeEventListener(MouseEvent.MOUSE_OVER, overQuestionBtn);
questionBtn.removeEventListener(MouseEvent.MOUSE_OUT, outQuestionBtn);
questionBtn.parent.removeChild(questionBtn);
questionBtn = null;
};
}
private function initClass(){
}
private function sureClearAll(_arg1:MouseEvent){
delClearAllPopMC();
clearBtnMC.dispatchEvent(new Event("clearAll_InGameElement", true));
}
private function initElement(){
}
private function delEvent(){
}
private function showHowToPlay(_arg1:MouseEvent){
if (questionBtn != null){
questionBtn.parent.dispatchEvent(new Event("showHowToPlay", true));
} else {
if (((!((howToPlayBtnMC == null))) && ((howToPlayBtnMC.questionFlag == false)))){
howToPlayBtnMC.dispatchEvent(new Event("showHowToPlay", true));
};
};
}
private function changeLogoMC(_arg1:MouseEvent){
Handler.click_level_logo();
}
public function ResumeAllBtnEvent(){
if (musicBtnMC != null){
musicDownBtn.addEventListener(MouseEvent.CLICK, changeMusicBtnClick);
musicUpBtn.addEventListener(MouseEvent.CLICK, changeMusicBtnClick);
musicBtnMC.mouseChildren = true;
};
if (soundBtn != null){
soundBtn.addEventListener(MouseEvent.CLICK, changeSoundMode);
soundBtn.mouseChildren = true;
};
if (clearBtnMC != null){
clearBtnMC.addEventListener(MouseEvent.CLICK, clearAll);
clearBtnMC.mouseChildren = true;
};
if (logoMC != null){
logoMC.addEventListener(MouseEvent.CLICK, changeLogoMC);
logoMC.mouseChildren = true;
};
if (howToPlayBtnMC != null){
howToPlayBtnMC.addEventListener(MouseEvent.CLICK, showHowToPlay);
howToPlayBtnMC.mouseChildren = true;
};
}
private function backToGame(_arg1:MouseEvent){
delClearAllPopMC();
}
public function delHowToPlayBtnMC(){
howToPlayBtnMC.removeEventListener(MouseEvent.CLICK, showHowToPlay);
howToPlayBtnMC.parent.removeChild(howToPlayBtnMC);
howToPlayBtnMC = null;
}
public function createMusicBtnMC(_arg1:MovieClip){
musicBtnMC = new _MusicBtnMC_();
_arg1.addChild(musicBtnMC);
musicBtnMC.x = 5;
musicBtnMC.y = 5;
musicBtnMC.name = "MusicBtnMC";
musicNumTxt = (musicBtnMC.getChildByName("MusicNumTxt") as TextField);
musicNumTxt.text = String(1);
musicDownBtn = (musicBtnMC.getChildByName("DownBtn") as MovieClip);
musicUpBtn = (musicBtnMC.getChildByName("UpBtn") as MovieClip);
musicDownBtn.addEventListener(MouseEvent.CLICK, changeMusicBtnClick);
musicUpBtn.addEventListener(MouseEvent.CLICK, changeMusicBtnClick);
musicBtnMC.addEventListener(MouseEvent.ROLL_OVER, mouseIsOver);
musicBtnMC.addEventListener(MouseEvent.ROLL_OUT, mouseIsOut);
soundBtn = new _SoundBtn_();
_arg1.addChild(soundBtn);
soundBtn.x = 80;
soundBtn.y = 0;
soundBtn.name = "SoundBtn";
soundBtn.gotoAndStop(1);
soundBtn.addEventListener(MouseEvent.CLICK, changeSoundMode);
soundBtn.addEventListener(MouseEvent.ROLL_OVER, mouseIsOver);
soundBtn.addEventListener(MouseEvent.ROLL_OUT, mouseIsOut);
}
public function delLogoMC(){
logoMC.removeEventListener(MouseEvent.CLICK, changeLogoMC);
logoMC.parent.removeChild(logoMC);
logoMC = null;
}
private function initEvent(){
}
public function clearAllBtnEvent(){
if (musicBtnMC != null){
musicDownBtn.removeEventListener(MouseEvent.CLICK, changeMusicBtnClick);
musicUpBtn.removeEventListener(MouseEvent.CLICK, changeMusicBtnClick);
musicBtnMC.mouseChildren = false;
};
if (soundBtn != null){
soundBtn.removeEventListener(MouseEvent.CLICK, changeSoundMode);
soundBtn.mouseChildren = false;
};
if (clearBtnMC != null){
clearBtnMC.removeEventListener(MouseEvent.CLICK, clearAll);
clearBtnMC.mouseChildren = false;
};
if (logoMC != null){
logoMC.removeEventListener(MouseEvent.CLICK, changeLogoMC);
logoMC.mouseChildren = false;
};
if (howToPlayBtnMC != null){
howToPlayBtnMC.removeEventListener(MouseEvent.CLICK, showHowToPlay);
howToPlayBtnMC.mouseChildren = false;
};
}
private function showClearAllPopMC(){
clearAllPopMC = new _ClearAllPopMC_();
clearBtnMC.parent.addChild(clearAllPopMC);
clearAllPopMC.x = (rootWidth / 2);
clearAllPopMC.y = (rootHeight / 2);
clearAllPopMC_YesBtn = (clearAllPopMC.getChildByName("YesBtn") as MovieClip);
clearAllPopMC_NoBtn = (clearAllPopMC.getChildByName("NoBtn") as MovieClip);
clearAllPopMC_YesBtn.addEventListener(MouseEvent.CLICK, sureClearAll);
clearAllPopMC_NoBtn.addEventListener(MouseEvent.CLICK, backToGame);
}
private function outQuestionBtn(_arg1:MouseEvent){
questionFlag = false;
}
public function changeMusicNum(_arg1:int){
musicNumTxt.text = String(_arg1);
}
public function delInGameElement(){
delEvent();
delClass();
}
}
}//package GameFile
Section 90
//Item_m (GameFile.Item_m)
package GameFile {
import flash.events.*;
import flash.display.*;
public class Item_m extends MovieClip {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
public var imageLink:String;
public var bigImage:BitmapData;
public var imageName:String;
public var smallImage:BitmapData;
public var imageDate:String;
public var imageTitle:String;
public var imageID:String;
public function Item_m(_arg1:MovieClip, _arg2:BitmapData, _arg3:BitmapData, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8:String){
Root = _arg1;
bigImage = _arg2;
smallImage = _arg3;
imageTitle = _arg4;
imageName = _arg5;
imageDate = _arg6;
imageID = _arg7;
imageLink = _arg8;
trace(bigImage);
trace(smallImage);
trace(imageTitle);
trace(imageName);
trace(imageDate);
trace(imageID);
trace(imageLink);
initItem_m();
}
private function thisIsClick(_arg1:MouseEvent){
this.dispatchEvent(new Event("clickItem_m", true));
}
private function initProperty(){
}
private function initFunction(){
}
private function delClass(){
}
private function addBitmap(){
var _local1:Bitmap;
_local1 = new Bitmap(smallImage);
this.addChild(_local1);
}
private function initClass(){
}
private function initItem_m(){
initClass();
initElement();
initEvent();
initProperty();
initFunction();
addBitmap();
}
private function initEvent(){
this.addEventListener(MouseEvent.CLICK, thisIsClick, false, 0, true);
}
private function delEvent(){
this.removeEventListener(MouseEvent.CLICK, thisIsClick);
}
private function initElement(){
}
public function delLoadBigImage_m(){
}
}
}//package GameFile
Section 91
//ItemPage (GameFile.ItemPage)
package GameFile {
import flash.events.*;
import flash.display.*;
public class ItemPage {
private const rootWidth:int = 660;
private const scrollMCX:int = 158;
private const scrollMCY:int = 23;
private const btnCol:int = 2;
private const rootHeight:int = 480;
private const topSpace:int = 20;
private const btnHeightSpace:int = 10;
private const leftSpace:int = 20;
private const itemWindowMCY:int = 23;
private const itemWindowMCX:int = 12;
private const btnWidthSpace:int = 10;
private const btnRow:int = 3;
private var Root:MovieClip;
private var maskMC:MovieClip;
private var btnNum:int;
private var scrollMC:MovieClip;
private var scrollMinY:int;
private var itemWindowMC:MovieClip;
private var btnHeight:int;
private var scrollBtn:MovieClip;
private var btnWidth:int;
private var btnArr:Array;
private var showBtnNum:int;
private var itemMC:MovieClip;
private var pageLenght:int;
private var scrollMaxY:int;
private var pageNum:int;
private static var drag_startX:Number;
private static var drag_startY:Number;
public function ItemPage(_arg1:MovieClip, _arg2:int){
initItemPage(_arg1, _arg2);
}
private function initProperty(){
scrollMinY = scrollBtn.y;
scrollMaxY = (scrollBtn.parent.height - (scrollBtn.height / 2));
}
private function attachOBJBtn(){
var tmpObj:OBJ;
var btnScale:Number;
var btnCount:int;
var btnRowCount:int;
var i:int;
itemMC = new MovieClip();
itemWindowMC.addChild(itemMC);
itemMC.x = 0;
itemMC.y = 0;
itemMC.mask = maskMC;
btnWidth = ((itemWindowMC.width - ((btnCol - 1) * btnWidthSpace)) / btnCol);
btnHeight = ((itemWindowMC.height - (btnHeightSpace * (btnRow - 1))) / btnRow);
pageLenght = ((((itemWindowMC.height - (btnHeightSpace * (btnRow - 1))) / btnRow) * pageNum) + (btnHeightSpace * (pageNum - (btnRow - 1))));
var _local2 = itemMC.graphics;
with (_local2) {
clear();
moveTo(0, 0);
beginFill(0xFF00FF, 0);
lineTo(itemWindowMC.width, 0);
lineTo(itemWindowMC.width, pageLenght);
lineTo(0, pageLenght);
lineTo(0, 0);
endFill();
};
btnScale = 1;
btnCount = 0;
btnRowCount = 0;
i = 0;
while (i < showBtnNum) {
tmpObj = AttachTool.attachOBJ(btnArr[i][0], true);
itemMC.addChild(tmpObj);
if ((btnWidth / tmpObj.width) < (btnHeight / tmpObj.height)){
btnScale = (btnWidth / tmpObj.width);
} else {
btnScale = (btnHeight / tmpObj.height);
};
tmpObj.scaleX = btnScale;
tmpObj.scaleY = btnScale;
tmpObj.x = (int((btnWidth / 2)) + int(((btnWidthSpace + btnWidth) * btnCount)));
tmpObj.y = int((((btnHeight + btnHeightSpace) * btnRowCount) + (btnHeight / 2)));
btnCount = (btnCount + 1);
if (btnCount > (btnCol - 1)){
btnCount = 0;
btnRowCount = (btnRowCount + 1);
};
i = (i + 1);
};
}
private function startDragTheItemMC(_arg1:MouseEvent){
scrollBtn.removeEventListener(MouseEvent.MOUSE_DOWN, startDragTheItemMC);
Root.stage.addEventListener(MouseEvent.MOUSE_UP, endItemMCDrag);
Root.stage.addEventListener(MouseEvent.MOUSE_MOVE, itemMCDrag);
drag_startY = MouseClass.c_y;
}
private function delClass(){
}
private function itemMCDrag(_arg1:MouseEvent){
scrollBtn.y = (scrollBtn.y + (MouseClass.c_y - drag_startY));
itemMC.y = (0 - ((scrollBtn.y - scrollMinY) * (((pageLenght - (btnHeight * btnRow)) - (btnHeightSpace * (btnRow - 1))) / (scrollMaxY - scrollMinY))));
if (scrollBtn.y <= scrollMinY){
scrollBtn.y = scrollMinY;
itemMC.y = 0;
} else {
if (scrollBtn.y >= scrollMaxY){
scrollBtn.y = scrollMaxY;
itemMC.y = (0 - ((pageLenght - (btnHeight * btnRow)) - (btnHeightSpace * (btnRow - 1))));
};
};
drag_startY = MouseClass.c_y;
}
private function initClass(){
}
private function initElement(){
scrollMC = new _ScrollMC_();
Root.addChild(scrollMC);
scrollMC.x = scrollMCX;
scrollMC.y = scrollMCY;
scrollBtn = (scrollMC.getChildByName("ScrollBtn") as MovieClip);
scrollBtn.x = (0 + (scrollBtn.width / 2));
scrollBtn.y = (0 + (scrollBtn.height / 2));
itemWindowMC = new _ItemMC_();
Root.addChild(itemWindowMC);
itemWindowMC.x = itemWindowMCX;
itemWindowMC.y = itemWindowMCY;
maskMC = (itemWindowMC.getChildByName("MaskMC") as MovieClip);
attachOBJBtn();
}
private function delEvent(){
scrollBtn.removeEventListener(MouseEvent.MOUSE_DOWN, startDragTheItemMC);
}
private function initEvent(){
scrollBtn.addEventListener(MouseEvent.MOUSE_DOWN, startDragTheItemMC, false, 0, true);
}
public function delItemPage(){
delEvent();
delClass();
}
private function endItemMCDrag(_arg1:MouseEvent){
scrollBtn.addEventListener(MouseEvent.MOUSE_DOWN, startDragTheItemMC, false, 0, true);
Root.stage.removeEventListener(MouseEvent.MOUSE_UP, endItemMCDrag);
Root.stage.removeEventListener(MouseEvent.MOUSE_MOVE, itemMCDrag);
drag_startY = 0;
}
private function initItemPage(_arg1:MovieClip, _arg2:int){
Root = _arg1;
btnNum = _arg2;
btnArr = GameInformation.instance[("btnArr" + String(btnNum))];
pageNum = GameInformation.instance.mainGamePageArr[(btnNum - 1)];
showBtnNum = btnArr.length;
initClass();
initElement();
initEvent();
initProperty();
}
}
}//package GameFile
Section 92
//ListItem (GameFile.ListItem)
package GameFile {
import flash.events.*;
import flash.display.*;
import net.download.*;
public class ListItem implements ImgDownLoadListener {
private var description:String;
private var com:Boolean;
private var imgDownLoader:ImgDownLoader;
private var username:String;
private var title:String;
private var id:int;
private var list:Download;
private var parent:Sprite;
private var date:String;
private var url:String;
public var x:Number;
public function ListItem(_arg1:Download, _arg2:Sprite, _arg3:String, _arg4:int, _arg5:String, _arg6:String, _arg7:String, _arg8:String){
list = _arg1;
parent = _arg2;
url = _arg3;
id = _arg4;
title = _arg5;
description = _arg6;
username = _arg7;
date = _arg8;
com = false;
initImgDownLoader();
}
private function delPicture():void{
parent.removeEventListener(MouseEvent.CLICK, clickHandler);
}
public function failedHandler():void{
delImgDownLoader();
}
private function initPicture():void{
parent.addEventListener(MouseEvent.CLICK, clickHandler);
}
public function completeHandler():void{
com = true;
initPicture();
trace("");
delImgDownLoader();
}
private function initImgDownLoader():void{
imgDownLoader = new ImgDownLoader(url, this);
parent.addChild(imgDownLoader.displayObject);
}
public function progressHandler(_arg1:Number):void{
}
private function clickHandler(_arg1:MouseEvent):void{
list.clickItem(id, title, description, username, date);
}
private function delImgDownLoader():void{
imgDownLoader.destroy();
imgDownLoader = null;
}
public function destroy():void{
if (imgDownLoader != null){
delImgDownLoader();
};
if (com){
delPicture();
};
}
}
}//package GameFile
Section 93
//LoadBigImage (GameFile.LoadBigImage)
package GameFile {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
import net.*;
import net.download.*;
import flash.text.*;
import flash.system.*;
public class LoadBigImage implements ImgDownLoadListener {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var titleTxt:TextField;
private var bigImageMC;
private var textFormat:TextFormat;
private var linkTxt:TextField;
private var imgMC:MovieClip;
private var imgDownLoader:ImgDownLoader;
private var id:int;
private var copyBtn:MovieClip;
private var date:String;
private var imageMC:MovieClip;
private var uploadLoseMC_tryAgainBtn:MovieClip;
private var uploadLoseMC:MovieClip;
private var loadingMC:MovieClip;
private var username:String;
private var title:String;
private var dateTxt:TextField;
private var nameTxt:TextField;
private var bigImageMCX:int;
private var bigImageMCY:int;
private var url:String;
private var backBtn:MovieClip;
private var p:TextField;
private var description:String;
private var viewBtn:MovieClip;
public function LoadBigImage(_arg1:MovieClip, _arg2:int, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:int=0, _arg8:int=0){
bigImageMC = MovieClip;
super();
id = _arg2;
title = _arg3;
description = _arg4;
username = _arg5;
date = _arg6;
bigImageMCX = _arg7;
bigImageMCY = _arg8;
initLoadBigImage(_arg1);
initImgDownLoader();
}
private function createUploadLoseMC(){
uploadLoseMC = new _UploadLoseMC_();
Root.addChild(uploadLoseMC);
uploadLoseMC.x = (rootWidth / 2);
uploadLoseMC.y = (rootHeight / 2);
trace(("Root.name === " + Root));
uploadLoseMC_tryAgainBtn = (uploadLoseMC.getChildByName("TryAgainBtn") as MovieClip);
uploadLoseMC_tryAgainBtn.addEventListener(MouseEvent.CLICK, backToGame);
}
private function initProperty(){
}
private function delUploadLoseMC(){
trace("delUploadLoseMC");
uploadLoseMC_tryAgainBtn.removeEventListener(MouseEvent.CLICK, backToGame);
uploadLoseMC_tryAgainBtn = null;
uploadLoseMC.parent.removeChild(uploadLoseMC);
uploadLoseMC = null;
}
private function viewBtnClick(_arg1:MouseEvent){
trace(("(linkTxt.text) ====== " + linkTxt.text));
navigateToURL(new URLRequest(("http://" + linkTxt.text)), "_blank");
}
private function delEvent(){
copyBtn.removeEventListener(MouseEvent.CLICK, copyLink);
backBtn.removeEventListener(MouseEvent.CLICK, backBtnClick);
viewBtn.removeEventListener(MouseEvent.CLICK, viewBtnClick);
}
private function destroyImgDownLoader():void{
imgDownLoader.destroy();
imgDownLoader = null;
}
private function initFunction(){
}
private function backBtnClick(_arg1:MouseEvent){
if (imgDownLoader != null){
destroyImgDownLoader();
};
backBtn.dispatchEvent(new Event("delLoadBigImage", true));
}
private function delClass(){
}
private function copyLink(_arg1:MouseEvent){
System.setClipboard(linkTxt.text);
}
private function initImgDownLoader():void{
trace("initImgDownLoader");
imgDownLoader = new ImgDownLoader(Data.instance.rendering(id), this);
imgMC = new MovieClip();
imgMC.addChild(imgDownLoader.displayObject);
imageMC.addChild(imgMC);
}
public function failedHandler():void{
trace("failedHandler");
destroyImgDownLoader();
createUploadLoseMC();
}
private function initClass(){
}
public function completeHandler():void{
trace("completeHandler");
imgMC.width = 352;
imgMC.height = 264;
destroyImgDownLoader();
loadingMC.parent.removeChild(loadingMC);
loadingMC = null;
if (CountryInfo.instance.language == 14){
textFormat = new TextFormat("MS Gothic");
} else {
if (CountryInfo.instance.language == 15){
textFormat = new TextFormat("Arial Black");
};
};
linkTxt.text = String((CountryInfo.instance.domain + Data.instance.renderingAPI(id)));
nameTxt.text = ((((((String(title) + " ") + "(") + String(username)) + " ") + String(date)) + ")");
p.visible = false;
}
private function initElement(){
bigImageMC = new _LoadBigImage_();
Root.addChild(bigImageMC);
bigImageMC.x = bigImageMCX;
bigImageMC.y = bigImageMCY;
imageMC = (bigImageMC.getChildByName("BigImageMC") as MovieClip);
linkTxt = (bigImageMC.getChildByName("LinkTxt") as TextField);
p = (bigImageMC.getChildByName("P") as TextField);
titleTxt = (bigImageMC["TitleTxt"].getChildByName("Txt") as TextField);
nameTxt = (bigImageMC["NameTxt"].getChildByName("Txt") as TextField);
dateTxt = (bigImageMC["DateTxt"].getChildByName("Txt") as TextField);
titleTxt.text = "";
nameTxt.text = "";
dateTxt.text = "";
copyBtn = (bigImageMC.getChildByName("CopyBtn") as MovieClip);
backBtn = (bigImageMC.getChildByName("BackBtn") as MovieClip);
viewBtn = (bigImageMC.getChildByName("ViewBtn") as MovieClip);
loadingMC = new _UploadingMC_();
bigImageMC.addChild(loadingMC);
}
private function backToGame(_arg1:MouseEvent){
trace("backToGame");
_arg1.target.parent.dispatchEvent(new Event("delUploadMC_Upload", true));
}
public function progressHandler(_arg1:Number):void{
p.text = String((Math.round((_arg1 * 100)) + "%"));
}
public function delLoadBigImage(){
delEvent();
delClass();
imageMC = null;
linkTxt = null;
titleTxt = null;
nameTxt = null;
dateTxt = null;
copyBtn = null;
backBtn = null;
if (uploadLoseMC != null){
delUploadLoseMC();
};
bigImageMC.parent.removeChild(bigImageMC);
bigImageMC = null;
}
private function initLoadBigImage(_arg1:MovieClip){
Root = _arg1;
initClass();
initElement();
initEvent();
initProperty();
initFunction();
}
private function initEvent(){
copyBtn.addEventListener(MouseEvent.CLICK, copyLink);
backBtn.addEventListener(MouseEvent.CLICK, backBtnClick);
viewBtn.addEventListener(MouseEvent.CLICK, viewBtnClick);
}
}
}//package GameFile
Section 94
//LoadBigImage_m (GameFile.LoadBigImage_m)
package GameFile {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.system.*;
public class LoadBigImage_m {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var imageName:String;
private var bigImageMC;
private var textFormat:TextFormat;
private var smallImage:BitmapData;
private var linkTxt:TextField;
private var imgMC:MovieClip;
private var copyBtn:MovieClip;
private var imageDate:String;
private var imageMC:MovieClip;
private var imageID:String;
private var bigImage:BitmapData;
private var imageTitle:String;
private var loadingMC:MovieClip;
private var dateTxt:TextField;
private var nameTxt:TextField;
private var bigImageMCX:int;
private var bigImageMCY:int;
private var p:TextField;
private var backBtn:MovieClip;
private var titleTxt:TextField;
private var imageLink:String;
private var viewBtn:MovieClip;
public function LoadBigImage_m(_arg1:MovieClip, _arg2:BitmapData, _arg3:BitmapData, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8:String){
bigImageMC = MovieClip;
super();
trace("LoadBigImage_m");
Root = _arg1;
bigImage = _arg2;
smallImage = _arg3;
imageTitle = _arg4;
imageName = _arg5;
imageDate = _arg6;
imageID = _arg7;
imageLink = _arg8;
trace(bigImage);
trace(smallImage);
trace(imageTitle);
trace(imageName);
trace(imageDate);
trace(imageID);
trace(imageLink);
initLoadBigImage_m();
createBmp();
}
private function initProperty(){
}
private function backBtnClick(_arg1:MouseEvent){
backBtn.dispatchEvent(new Event("delLoadBigImage_m", true));
}
private function copyLink(_arg1:MouseEvent){
System.setClipboard(linkTxt.text);
}
private function initLoadBigImage_m(){
initClass();
initElement();
initEvent();
initProperty();
initFunction();
}
private function initFunction(){
}
private function delClass(){
}
private function createBmp(){
var _local1:Bitmap;
var _local2:*;
var _local3:Bitmap;
_local1 = new Bitmap(bigImage);
imgMC = new MovieClip();
imgMC.addChildAt(_local1, 0);
_local2 = new Rectangle(0, 0, imgMC.width, imgMC.height);
_local3 = new Bitmap(BmpTool.cutoutBmpWithWidthAndHeight(imgMC, imgMC.width, imgMC.height, _local2));
_local3.smoothing = true;
imgMC.removeChildAt(0);
imgMC.addChild(_local3);
imgMC.width = 352;
imgMC.height = 264;
imageMC.addChild(imgMC);
linkTxt.text = imageLink;
nameTxt.text = ((((((imageTitle + " ") + "(") + imageName) + " ") + imageDate) + ")");
}
private function initClass(){
}
private function initElement(){
bigImageMC = new _LoadBigImage_();
Root.addChild(bigImageMC);
bigImageMC.x = bigImageMCX;
bigImageMC.y = bigImageMCY;
trace(("bigImageMC ===== " + bigImageMC.parent));
imageMC = (bigImageMC.getChildByName("BigImageMC") as MovieClip);
linkTxt = (bigImageMC.getChildByName("LinkTxt") as TextField);
p = (bigImageMC.getChildByName("P") as TextField);
titleTxt = (bigImageMC["TitleTxt"].getChildByName("Txt") as TextField);
nameTxt = (bigImageMC["NameTxt"].getChildByName("Txt") as TextField);
dateTxt = (bigImageMC["DateTxt"].getChildByName("Txt") as TextField);
titleTxt.text = "";
nameTxt.text = "";
dateTxt.text = "";
copyBtn = (bigImageMC.getChildByName("CopyBtn") as MovieClip);
backBtn = (bigImageMC.getChildByName("BackBtn") as MovieClip);
viewBtn = (bigImageMC.getChildByName("ViewBtn") as MovieClip);
}
private function delEvent(){
copyBtn.removeEventListener(MouseEvent.CLICK, copyLink);
backBtn.removeEventListener(MouseEvent.CLICK, backBtnClick);
viewBtn.removeEventListener(MouseEvent.CLICK, viewBtnClick);
}
private function viewBtnClick(_arg1:MouseEvent){
trace(("(linkTxt.text) ====== " + linkTxt.text));
navigateToURL(new URLRequest(("http://" + linkTxt.text)), "_blank");
}
private function backToGame(_arg1:MouseEvent){
trace("backToGame");
_arg1.target.parent.dispatchEvent(new Event("delUploadMC_Upload", true));
}
public function delLoadBigImage_m(){
delEvent();
delClass();
imageMC = null;
linkTxt = null;
titleTxt = null;
nameTxt = null;
dateTxt = null;
copyBtn = null;
backBtn = null;
bigImageMC.parent.removeChild(bigImageMC);
bigImageMC = null;
}
private function initEvent(){
copyBtn.addEventListener(MouseEvent.CLICK, copyLink);
backBtn.addEventListener(MouseEvent.CLICK, backBtnClick);
viewBtn.addEventListener(MouseEvent.CLICK, viewBtnClick);
}
}
}//package GameFile
Section 95
//Loading (GameFile.Loading)
package GameFile {
import flash.events.*;
import flash.display.*;
import zlong.navigate.*;
public class Loading {
private var logoMC:MovieClip;
private var Root:MovieClip;
private var loadedByte:Number;
private var loadingMC:MovieClip;
private var loading:MovieClip;
public function Loading(_arg1:MovieClip){
initLoading(_arg1);
}
private function initProperty(){
loadingMC.gotoAndStop(1);
}
private function initEvent(){
logoMC.addEventListener(MouseEvent.CLICK, logoClick);
Root.stage.addEventListener(Event.ENTER_FRAME, loadingGame);
}
private function initLoading(_arg1:MovieClip){
Root = _arg1;
initElement();
initEvent();
initProperty();
}
private function loadingGame(_arg1:Event){
loadedByte = (Root.stage.loaderInfo.bytesLoaded / Root.stage.loaderInfo.bytesTotal);
loadedByte = int((loadedByte * 100));
trace(("loadingGame===== " + int((loadedByte / 2))));
loadingMC.gotoAndStop(int((loadedByte / 2)));
if (loadedByte == 100){
trace(" loading end");
loadedByte = int((loadedByte * 100));
Root.dispatchEvent(new Event("delLoading_Loading", true));
};
}
public function delLoading(){
logoMC.removeEventListener(MouseEvent.CLICK, logoClick);
Root.stage.removeEventListener(Event.ENTER_FRAME, loadingGame);
Root.removeChild(loading);
loading = null;
}
private function initElement(){
loading = new _Loading_();
Root.addChild(loading);
loadingMC = (loading.getChildByName("LoadingMC") as MovieClip);
logoMC = (loading.getChildByName("LogoMC") as MovieClip);
}
private function logoClick(_arg1:MouseEvent){
Handler.click_preloader_logo();
}
}
}//package GameFile
Section 96
//MainMenu (GameFile.MainMenu)
package GameFile {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
import net.download.*;
import zlong.site.*;
import zlong.localization.display.*;
import zlong.navigate.*;
public class MainMenu {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var download:Download;
private var listDownLoader:ListDownLoader;
private var lock_logoMC:MovieClip;
private var lockMC:MovieClip;
public var checkFlag:Boolean;// = true
private var howToPlayBtn:MovieClip;
private var creditBtn:SimpleButton;
private var lock_startBtn:MovieClip;
private var galleryBtn:MovieClip;
private var xmlFlag:Boolean;// = true
private var creditList:MovieClip;
private var mainMenu:MovieClip;
private var howToPlay:MovieClip;
private var qualityMode:int;
private var loadGameBtn:MovieClip;
private var newGameBtn:MovieClip;
private var soundBtn:MovieClip;
private var creditMC:MovieClip;
private var moreGamesBtn:MovieClip;
private var xmlList:XMLList;
public var soundMode:int;
private var qualityBtn:MovieClip;
private var sentToFriendPage:SentToFriendPage;
private var lock_backBtn:MovieClip;
private var sendToFriendBtn:MovieClip;
private var spilBtn:SimpleButton;
public function MainMenu(_arg1:MovieClip, _arg2:XMLList){
checkFlag = true;
xmlFlag = true;
super();
initMainMenu(_arg1, _arg2);
}
private function lockBackBtnClick(_arg1:MouseEvent){
delLockMC();
}
private function showCredit(_arg1:MouseEvent){
creditMC = new _Credit_();
Root.addChild(creditMC);
creditMC.x = (rootWidth / 2);
creditMC.y = (rootHeight / 2);
creditList = (creditMC.getChildByName("CreditList") as MovieClip);
creditList.gotoAndStop(1);
if (CountryInfo.instance.language == 15){
creditList.gotoAndStop(2);
};
creditMC.addEventListener(MouseEvent.CLICK, delCredit);
}
private function initProperty(){
qualityMode = 1;
soundMode = 1;
}
private function delUploadMC_Upload(_arg1:Event){
trace("main menu delUploadMC_Upload");
Root.removeEventListener("delUploadMC_Upload", delUploadMC_Upload);
download.delDownload();
download = null;
}
private function startBtnClick(_arg1:MouseEvent){
Handler.click_siteLocked_thisgame();
}
private function changeSoundMode(_arg1:MouseEvent){
if (soundMode == 1){
soundMode = 2;
SoundsManager.getInstance().Enabled = false;
} else {
if (soundMode == 2){
soundMode = 1;
SoundsManager.getInstance().Enabled = true;
};
};
changeSoundBtn(soundMode);
}
private function logoMCClick(_arg1:MouseEvent){
Handler.click_siteLocked_moregame();
}
private function sendToFriend(_arg1:MouseEvent){
mainMenu["MainMenuBottomMC"]["LightMC"].stop();
mainMenu.visible = false;
Root.addEventListener("delSentToFriendPage_GameMenu", delSentToFriend);
sentToFriendPage = new SentToFriendPage(Root, "sent");
}
private function showInGame(_arg1:MouseEvent){
SoundsManager.getInstance().stopMusic();
trace("stopMusic()");
_arg1.target.dispatchEvent(new Event("showInGame_MainMenu", true));
}
private function delClass(){
}
private function changeQuality(_arg1:MouseEvent){
if (qualityMode == 3){
qualityMode = 1;
} else {
qualityMode++;
};
changeQualityMain();
}
private function checkAllow(){
if (SiteInfo.instance.allowed){
trace("this site is right");
checkFlag = true;
download = new Download(mainMenu, xmlList, null, null, null, null, null, null, null, (rootWidth / 2), (rootHeight / 2));
Root.addEventListener("delUploadMC_Upload", delUploadMC_Upload);
} else {
checkFlag = false;
trace("this site is error");
showLockMC();
};
}
private function soundBtnOut(_arg1:MouseEvent){
if (soundMode != 1){
soundBtn.gotoAndStop(((soundMode * 2) - 1));
} else {
soundBtn.gotoAndStop(soundMode);
};
}
private function changeQualityMain(){
switch (qualityMode){
case 1:
Root.stage.quality = "high";
break;
case 2:
Root.stage.quality = "medium";
break;
case 3:
Root.stage.quality = "low";
break;
};
}
private function langChangeHandler(_arg1:Event){
trace("langChangeHandler");
if (CountryInfo.instance.language != 15){
checkAllow();
};
}
private function initClass(){
}
private function showGallery(_arg1:MouseEvent){
Root.addEventListener("delUploadMC_Upload", delUploadMC_Upload);
if (xmlFlag == true){
checkAllow();
};
}
private function showHowToPlay(_arg1:MouseEvent){
SoundsManager.getInstance().stopMusic();
SoundsManager.getInstance().playMusic("_Sound_HowToPlay_", 1);
Root.addEventListener("delHowToPlay_HowToPlay", delHowToPlay);
howToPlay = new _HowToPlayMC_();
Root.addChild(howToPlay);
howToPlay.x = (rootWidth / 2);
howToPlay.y = (rootHeight / 2);
howToPlay.showHowToPlayPage(_arg1.target.parent.name);
}
private function initElement(){
mainMenu = new _MainMenu_();
Root.addChild(mainMenu);
mainMenu.x = 0;
mainMenu.y = 0;
newGameBtn = (mainMenu.getChildByName("NewGameBtn") as MovieClip);
howToPlayBtn = (mainMenu.getChildByName("HowToPlayBtn") as MovieClip);
moreGamesBtn = (mainMenu.getChildByName("MoreGameBtn") as MovieClip);
loadGameBtn = (mainMenu.getChildByName("LoadGameBtn") as MovieClip);
galleryBtn = (mainMenu.getChildByName("GalleryBtn") as MovieClip);
sendToFriendBtn = (mainMenu.getChildByName("SendToFriendBtn") as MovieClip);
spilBtn = (mainMenu.getChildByName("SpilBtn") as SimpleButton);
qualityBtn = (mainMenu.getChildByName("QualityBtn") as MovieClip);
soundBtn = (mainMenu.getChildByName("SoundBtn") as MovieClip);
soundBtn.gotoAndStop(1);
creditBtn = (mainMenu.getChildByName("CreditBtn") as SimpleButton);
}
private function delEvent(){
spilBtn.removeEventListener(MouseEvent.CLICK, spilBtnClick);
newGameBtn.removeEventListener(MouseEvent.CLICK, showInGame);
loadGameBtn.removeEventListener(MouseEvent.CLICK, showInGame);
sendToFriendBtn.removeEventListener(MouseEvent.CLICK, sendToFriend);
howToPlayBtn.removeEventListener(MouseEvent.CLICK, showHowToPlay);
galleryBtn.removeEventListener(MouseEvent.CLICK, showGallery);
moreGamesBtn.removeEventListener(MouseEvent.CLICK, moreGame);
qualityBtn.removeEventListener(MouseEvent.CLICK, changeQuality);
soundBtn.removeEventListener(MouseEvent.CLICK, changeSoundMode);
soundBtn.removeEventListener(MouseEvent.MOUSE_OVER, soundBtnOver);
soundBtn.removeEventListener(MouseEvent.MOUSE_OUT, soundBtnOut);
creditBtn.removeEventListener(MouseEvent.CLICK, showCredit);
}
private function delLanguageEvent(){
Dispatcher.dispatcher.removeEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
}
public function delMainMenu(){
delClass();
delEvent();
delLanguageEvent();
newGameBtn = null;
howToPlayBtn = null;
moreGamesBtn = null;
loadGameBtn = null;
galleryBtn = null;
sendToFriendBtn = null;
spilBtn = null;
qualityBtn = null;
soundBtn = null;
mainMenu.parent.removeChild(mainMenu);
mainMenu = null;
}
private function delCredit(_arg1:MouseEvent){
creditMC.removeEventListener(MouseEvent.CLICK, delCredit);
creditMC.parent.removeChild(creditMC);
creditMC = null;
}
private function initFounction(){
changeSoundBtn(soundMode);
}
private function moreGame(_arg1:MouseEvent){
Handler.click_mainscreen_button();
}
private function initMainMenu(_arg1:MovieClip, _arg2:XMLList){
Root = _arg1;
xmlList = _arg2;
trace(("xmlList ======= " + xmlList));
initClass();
initElement();
initEvent();
initProperty();
initFounction();
SoundsManager.getInstance().playMusic("_Sound_MainMenu_", 1);
trace("_Sound_MainMenu_");
}
private function initEvent(){
spilBtn.addEventListener(MouseEvent.CLICK, spilBtnClick);
newGameBtn.addEventListener(MouseEvent.CLICK, showInGame);
loadGameBtn.addEventListener(MouseEvent.CLICK, showInGame);
sendToFriendBtn.addEventListener(MouseEvent.CLICK, sendToFriend);
howToPlayBtn.addEventListener(MouseEvent.CLICK, showHowToPlay);
galleryBtn.addEventListener(MouseEvent.CLICK, showGallery);
moreGamesBtn.addEventListener(MouseEvent.CLICK, moreGame);
qualityBtn.addEventListener(MouseEvent.CLICK, changeQuality);
soundBtn.addEventListener(MouseEvent.CLICK, changeSoundMode);
soundBtn.addEventListener(MouseEvent.MOUSE_OVER, soundBtnOver);
soundBtn.addEventListener(MouseEvent.MOUSE_OUT, soundBtnOut);
creditBtn.addEventListener(MouseEvent.CLICK, showCredit);
}
private function delSentToFriend(_arg1:Event){
mainMenu["MainMenuBottomMC"]["LightMC"].play();
mainMenu.visible = true;
Root.removeEventListener("delSentToFriendPage_GameMenu", delSentToFriend);
sentToFriendPage.delSentToFriendPage();
sentToFriendPage = null;
}
private function spilBtnClick(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.gameportal.net"), "_blank");
}
private function showLockMC(){
lockMC = new _LockMC_();
Root.addChild(lockMC);
lockMC.x = (rootWidth / 2);
lockMC.y = (rootHeight / 2);
lock_startBtn = (lockMC.getChildByName("StartGameBtn") as MovieClip);
lock_backBtn = (lockMC.getChildByName("BackBtn") as MovieClip);
lock_startBtn.addEventListener(MouseEvent.CLICK, startBtnClick);
lock_backBtn.addEventListener(MouseEvent.CLICK, lockBackBtnClick);
}
private function changeSoundBtn(_arg1:int){
if (soundMode != 1){
soundBtn.gotoAndStop(((_arg1 * 2) - 1));
} else {
soundBtn.gotoAndStop(_arg1);
};
}
private function initLanguageEvent(){
Dispatcher.dispatcher.addEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
if (CountryInfo.instance.language != 15){
checkAllow();
};
}
private function delLockMC(){
lock_startBtn.removeEventListener(MouseEvent.CLICK, startBtnClick);
lock_backBtn.removeEventListener(MouseEvent.CLICK, lockBackBtnClick);
lock_startBtn = null;
lock_backBtn = null;
lockMC.parent.removeChild(lockMC);
lockMC = null;
}
private function delHowToPlay(_arg1:Event){
trace("delHowToPlay");
SoundsManager.getInstance().stopMusic();
SoundsManager.getInstance().playMusic("_Sound_MainMenu_", 1);
Root.removeEventListener("delHowToPlay_HowToPlay", delHowToPlay);
howToPlay.delHowToPlay();
howToPlay.parent.removeChild(howToPlay);
howToPlay = null;
}
public function getXml(_arg1:XMLList){
xmlList = _arg1;
xmlFlag = true;
}
private function soundBtnOver(_arg1:MouseEvent){
if (soundMode != 1){
soundBtn.gotoAndStop((soundMode * 2));
} else {
soundBtn.gotoAndStop((soundMode + 1));
};
}
}
}//package GameFile
Section 97
//MathTool (GameFile.MathTool)
package GameFile {
public class MathTool {
public function MathTool(){
initMathTool();
}
private function initMathTool(){
}
public static function randomNumber(_arg1:Number, _arg2:Number):Number{
return (((Math.random() * ((_arg2 - _arg1) + 1)) + _arg1));
}
public static function randomInt(_arg1:int, _arg2:int):int{
return (((Math.random() * ((_arg2 - _arg1) + 1)) + _arg1));
}
}
}//package GameFile
Section 98
//MouseClass (GameFile.MouseClass)
package GameFile {
import flash.events.*;
import flash.display.*;
public class MouseClass {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private static var moveLayer:MovieClip;
public static var c_x:Number;
public static var c_y:Number;
public function MouseClass(){
initMouseClass();
}
public function delMouseClass(){
}
private function initMouseClass(){
initClass();
initElement();
initEvent();
initProperty();
}
private function initProperty(){
moveLayer = null;
c_x = 0;
c_y = 0;
}
private function initClass(){
}
private function initEvent(){
}
private function initElement(){
}
private function delClass(){
}
public function delMouseMoveEvent(){
}
public function initMouseMoveEvent(_arg1:MovieClip){
}
private function delGetCoord(){
moveLayer.removeEventListener(MouseEvent.MOUSE_MOVE, getCoordMain);
moveLayer = null;
}
private function delEvent(){
}
private static function getCoordMain(_arg1:MouseEvent){
c_x = moveLayer.mouseX;
c_y = moveLayer.mouseY;
}
public static function getCoord(_arg1:MovieClip){
moveLayer = _arg1;
moveLayer.addEventListener(MouseEvent.MOUSE_MOVE, getCoordMain);
}
}
}//package GameFile
Section 99
//MyButton (GameFile.MyButton)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class MyButton extends MovieClip {
public var HotArea:MovieClip;
private var showQuestionArr:Array;
private var _hotArea_:MovieClip;
private var questionBtn:MovieClip;
public var questionFlag:Boolean;
public var NameTxt:TextField;
public function MyButton(){
showQuestionArr = new Array("Btn1", "Btn2", "Btn3", "Btn4", "Btn5", "Btn6", "Btn7", "Btn8", "Btn9", "Btn10", "Btn11", "Btn12", "WeatherBtnMC", "BgBtnMC", "RotateBtn", "EditDownBtn", "DrawBtn", "ColorBtn", "EditUpBtn", "DelBtn", "ClearBtnMC", "MusicBtnMC", "HowToPlayBtn_InGame");
super();
initMyButton();
}
private function createQuestionBtn(){
questionBtn = new _QuestionBtn_();
this.addChild(questionBtn);
questionBtn["Txt"].text = "?";
questionBtn.gotoAndStop(1);
questionBtn.scaleX = 0.7;
questionBtn.scaleY = 0.7;
if ((((this.name == "ClearBtnMC")) || ((this.name == "HowToPlayBtn_InGame")))){
questionBtn.gotoAndStop(2);
questionBtn.x = (questionBtn.parent.width * 0.7);
questionBtn.y = (questionBtn.parent.height * 0.7);
} else {
questionBtn.x = 0;
questionBtn.y = 0;
};
questionBtn.addEventListener(MouseEvent.CLICK, showHowToPlay, false, 0, true);
questionBtn.addEventListener(MouseEvent.MOUSE_OVER, overQuestionBtn, false, 0, true);
questionBtn.addEventListener(MouseEvent.MOUSE_OUT, outQuestionBtn, false, 0, true);
}
private function initProperty(){
questionFlag = false;
this.gotoAndStop(1);
}
private function overQuestionBtn(_arg1:MouseEvent){
questionFlag = true;
}
private function mouseIsOver(_arg1:MouseEvent){
var _local2:int;
this.gotoAndStop(2);
_local2 = 0;
while (_local2 < showQuestionArr.length) {
if (this.name == showQuestionArr[_local2]){
createQuestionBtn();
break;
};
_local2++;
};
if ((((((((((((this.name == "NewGameBtn")) || ((this.name == "LoadGameBtn")))) || ((this.name == "HowToPlayBtn")))) || ((this.name == "SendToFriendBtn")))) || ((this.name == "GalleryBtn")))) || ((this.name == "MoreGameBtn")))){
SoundsManager.getInstance().playSound("_Sound_MainTouch_", 1, 0);
} else {
SoundsManager.getInstance().playSound("_Sound_OtherTouch_", 1, 0);
};
}
private function delMyButton(){
}
private function initMyButton(){
initElement();
initEvent();
initProperty();
}
private function mouseIsClick(_arg1:MouseEvent){
this.gotoAndStop(2);
if ((((((((((((this.name == "NewGameBtn")) || ((this.name == "LoadGameBtn")))) || ((this.name == "HowToPlayBtn")))) || ((this.name == "SendToFriendBtn")))) || ((this.name == "GalleryBtn")))) || ((this.name == "MoreGameBtn")))){
SoundsManager.getInstance().playSound("_Sound_MainPress_", 1, 0);
} else {
SoundsManager.getInstance().playSound("_Sound_OtherPress_", 1, 0);
};
}
private function mouseIsOut(_arg1:MouseEvent){
this.gotoAndStop(1);
questionFlag = false;
delQuestionBtn();
}
private function initEvent(){
this.addEventListener(MouseEvent.ROLL_OVER, mouseIsOver, false, 0, true);
this.addEventListener(MouseEvent.ROLL_OUT, mouseIsOut, false, 0, true);
_hotArea_.addEventListener(MouseEvent.MOUSE_UP, mouseIsUp, false, 0, true);
_hotArea_.addEventListener(MouseEvent.MOUSE_DOWN, mouseIsDown, false, 0, true);
_hotArea_.addEventListener(MouseEvent.CLICK, mouseIsClick, false, 0, true);
}
private function delEvent(){
}
private function outQuestionBtn(_arg1:MouseEvent){
questionFlag = false;
}
private function showHowToPlay(_arg1:MouseEvent){
trace("showHowToPlay_Question");
if (this.name == "HowToPlayBtn_InGame"){
this.name = "HowToPlayBtn_InGame_Question";
this.dispatchEvent(new Event("showHowToPlay", true));
this.name = "HowToPlayBtn_InGame";
} else {
this.dispatchEvent(new Event("showHowToPlay", true));
};
}
private function delQuestionBtn(){
if (questionBtn != null){
questionBtn.removeEventListener(MouseEvent.CLICK, showHowToPlay);
questionBtn.removeEventListener(MouseEvent.MOUSE_OVER, overQuestionBtn);
questionBtn.removeEventListener(MouseEvent.MOUSE_OUT, outQuestionBtn);
questionBtn.parent.removeChild(questionBtn);
questionBtn = null;
};
}
private function mouseIsUp(_arg1:MouseEvent){
this.gotoAndStop(1);
}
private function initElement(){
_hotArea_ = (this.getChildByName("HotArea") as MovieClip);
}
private function mouseIsDown(_arg1:MouseEvent){
this.gotoAndStop(3);
}
}
}//package GameFile
Section 100
//OBJ (GameFile.OBJ)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class OBJ extends MovieClip {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var movieLayer:MovieClip;
private var f_mc2:MovieClip;
private var f_mc4:MovieClip;
private var f_mc6:MovieClip;
private var rotateMax:int;// = 4
private var f_mc5:MovieClip;
private var f_mc3:MovieClip;
private var f_mc7:MovieClip;
private var f_mc8:MovieClip;
private var bgLayer:MovieClip;
private var shadowLayer:MovieClip;
private var f_mc1:MovieClip;
private var radian:Number;
public var rotateNum:int;
private var distance:Number;
public var isRootObj:Boolean;
public var colorNumArr:Array;
public var objX:Number;
private var noColorLayer:MovieClip;
private var maxFrame:int;// = 8
public var objY:Number;
public var r_down:OBJ;
public var drawDataArr:Array;
private var deepPencilMC:MovieClip;
public var f2:MovieClip;
public var f5:MovieClip;
public var f6:MovieClip;
public var f7:MovieClip;
public var f3:MovieClip;
public var f4:MovieClip;
public var f8:MovieClip;
public var f1:MovieClip;
private var editItemNum:int;
private var moveX:int;
private var moveY:int;
public var editStateFlag:Boolean;
public var l_down:OBJ;
private var whiteColor:Number;// = 0xFFFFFF
private var move_distance:Number;
private var xSpeed:Number;
public var dragFlag:Boolean;
public var materailArr:Array;
public var parent_id:String;
private var p_obj:OBJ;
private var movingFlag:Boolean;
private var bgMaskLayer:MovieClip;
public var isButton:Boolean;
public var n_mc:OBJ;
public var c_colorLayer:MovieClip;
public var id:String;
private var bitmap:Bitmap;
public var createDrawList:Array;
public var pencilShapeArr:Array;
public var c_drawOBJ:DrawOBJ;
private var colorTransform:ColorTransform;
private var objFilter:GlowFilter;
public var indexNum:int;
public var l_up:OBJ;
private var road_obj:OBJ;
private var ySpeed:Number;
public var thisH:Number;
private var c_drawObj_arrNum:int;
private var moveStartX:Number;
private var moveStartY:Number;
public var thisW:Number;
private var materailLayer:MovieClip;
public var arr_index:int;
private var isDraw:Boolean;
public var r_up:OBJ;
public var createObjList:Array;
private var bitmapData:BitmapData;
private var colorLayer:MovieClip;
public var p_mc:OBJ;
public var maskLayer:MovieClip;
public var data_id:String;
private var drawMC:MovieClip;
public var auguryArr:Array;
public var typeNum:int;
public var c_frameMC:MovieClip;
public var objArr:Array;
private var maxColorLayerNum:int;// = 20
public var m_speed:int;
private static var drag_startX:Number;
private static var drag_startY:Number;
public function OBJ(){
rotateMax = 4;
objFilter = new GlowFilter(0xFFFF00, 1, 5, 5, 5, 1, false, false);
whiteColor = 0xFFFFFF;
maxFrame = 8;
maxColorLayerNum = 20;
super();
initOBJ();
}
private function drawing(_arg1:MouseEvent){
InGame.defaultFlag = true;
if (isDraw == false){
isDraw = true;
};
if (InGame.drawType == 1){
DrawTool.drawLine(drawMC, this.stage.mouseX, this.stage.mouseY);
InGame.drawDataArr.push(this.stage.mouseX, this.stage.mouseY);
} else {
if (InGame.drawType == 2){
DrawTool.drawBeeline(drawMC, moveX, moveY, InGame.pencilColor, InGame.lineSize, this.stage.mouseX, this.stage.mouseY);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.push(this.stage.mouseX, this.stage.mouseY);
} else {
if (InGame.drawType == 3){
} else {
if (InGame.drawType == 4){
DrawTool.drawBox(drawMC, InGame.lineSize, InGame.pencilColor, InGame.fillColor, moveX, moveY, this.stage.mouseX, this.stage.mouseY);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.push(this.stage.mouseX, this.stage.mouseY);
} else {
if (InGame.drawType == 5){
DrawTool.drawOval(drawMC, InGame.lineSize, InGame.pencilColor, InGame.fillColor, (moveX - this.x), (moveY - this.y), (this.stage.mouseX - this.x), (this.stage.mouseY - this.y));
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.push((moveX - this.x), (moveY - this.y), (this.stage.mouseX - this.x), (this.stage.mouseY - this.y));
} else {
if (InGame.drawType == 6){
DrawTool.drawStar(drawMC, InGame.lineSize, InGame.pencilColor, InGame.fillColor, (moveX - this.x), (moveY - this.y), (this.stage.mouseX - this.x), (this.stage.mouseY - this.y));
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.push((moveX - this.x), (moveY - this.y), (this.stage.mouseX - this.x), (this.stage.mouseY - this.y));
} else {
if (InGame.drawType == 7){
DrawTool.drawHeart(drawMC, InGame.lineSize, InGame.pencilColor, InGame.fillColor, (moveX - this.x), (moveY - this.y), (this.stage.mouseX - this.x), (this.stage.mouseY - this.y));
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.splice((drawDataArr.length - 1), 1);
InGame.drawDataArr.push((moveX - this.x), (moveY - this.y), (this.stage.mouseX - this.x), (this.stage.mouseY - this.y));
};
};
};
};
};
};
};
}
public function createMaskLayer(_arg1:MovieClip, _arg2:int, _arg3:int){
if (typeNum == 2){
maskLayer = (this.getChildByName("MaskLayer") as MovieClip);
bgMaskLayer = (maskLayer.getChildByName("bgMaskLayer") as MovieClip);
bgLayer = new MovieClip();
maskLayer.addChild(bgLayer);
bgLayer.name = "bgLayer";
bgLayer.x = ((_arg2 * -1) - maskLayer.x);
bgLayer.y = ((_arg3 * -1) - maskLayer.y);
bgLayer.mask = bgMaskLayer;
cutAndAttachBG(_arg1);
};
}
private function delClass(){
}
public function endEditState(){
var _local1:int;
editStateFlag = false;
if (c_colorLayer != null){
c_colorLayer.filters = [];
c_colorLayer = null;
} else {
if (c_drawOBJ != null){
c_drawOBJ.lostTheDrawOBJ();
c_drawOBJ = null;
};
};
this.filters = [objFilter];
if (pencilShapeArr.length > 0){
_local1 = 0;
while (_local1 < pencilShapeArr.length) {
pencilShapeArr[_local1].dragFlag = false;
_local1++;
};
};
this.addEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose, false, 0, true);
this.removeEventListener(MouseEvent.CLICK, getChildMC);
}
private function initClass(){
}
private function drawSprayer(_arg1:Event){
DrawTool.drawSprayer(drawMC, InGame.lineSize, InGame.pencilColor, this.stage.mouseX, this.stage.mouseY);
InGame.drawDataArr.push(this.stage.mouseX, this.stage.mouseY);
}
private function getMoveSpeed(_arg1:Array){
var _local2:int;
var _local3:OBJ;
_local3 = _arg1[(MathTool.randomInt(1, _arg1.length) - 1)];
distance = Math.sqrt((Math.pow(Math.abs((road_obj.x - _local3.x)), 2) + Math.pow(Math.abs((road_obj.y - _local3.y)), 2)));
radian = Math.atan((Math.abs((_local3.y - road_obj.y)) / Math.abs((_local3.x - road_obj.x))));
xSpeed = (Math.cos(radian) * m_speed);
ySpeed = (Math.sin(radian) * m_speed);
if (road_obj.x > _local3.x){
xSpeed = (xSpeed * -1);
if (road_obj.y > _local3.y){
ySpeed = (ySpeed * -1);
_local2 = 1;
while (_local2 <= rotateMax) {
this[("f" + String(_local2))].visible = false;
_local2++;
};
this[("f" + String(3))].visible = true;
rotateNum = 3;
} else {
_local2 = 1;
while (_local2 <= rotateMax) {
this[("f" + String(_local2))].visible = false;
_local2++;
};
this[("f" + String(2))].visible = true;
rotateNum = 2;
};
} else {
if (road_obj.x < _local3.x){
if (road_obj.y > _local3.y){
ySpeed = (ySpeed * -1);
_local2 = 1;
while (_local2 <= rotateMax) {
this[("f" + String(_local2))].visible = false;
_local2++;
};
this[("f" + String(4))].visible = true;
rotateNum = 4;
} else {
_local2 = 1;
while (_local2 <= rotateMax) {
this[("f" + String(_local2))].visible = false;
_local2++;
};
this[("f" + String(1))].visible = true;
rotateNum = 1;
};
};
};
p_obj = road_obj;
road_obj = _local3;
moveStartX = p_obj.x;
moveStartY = p_obj.y;
}
private function moveNext(_arg1:Event){
var _local2:Array;
var _local3:Array;
_local2 = new Array();
_local3 = new Array();
if (movingFlag == false){
if (((!((road_obj.l_up == null))) && (!((road_obj.l_up == p_obj))))){
_local2.push(road_obj.l_up);
};
if (((!((road_obj.l_down == null))) && (!((road_obj.l_down == p_obj))))){
_local2.push(road_obj.l_down);
};
if (((!((road_obj.r_up == null))) && (!((road_obj.r_up == p_obj))))){
_local2.push(road_obj.r_up);
};
if (((!((road_obj.r_down == null))) && (!((road_obj.r_down == p_obj))))){
_local2.push(road_obj.r_down);
};
if (_local2.length > 0){
movingFlag = true;
getMoveSpeed(_local2);
} else {
p_obj = null;
if (((!((road_obj.l_up == null))) && (!((road_obj.l_up == p_obj))))){
_local2.push(road_obj.l_up);
};
if (((!((road_obj.l_down == null))) && (!((road_obj.l_down == p_obj))))){
_local2.push(road_obj.l_down);
};
if (((!((road_obj.r_up == null))) && (!((road_obj.r_up == p_obj))))){
_local2.push(road_obj.r_up);
};
if (((!((road_obj.r_down == null))) && (!((road_obj.r_down == p_obj))))){
_local2.push(road_obj.r_down);
};
if (_local2.length > 0){
movingFlag = true;
getMoveSpeed(_local2);
};
};
};
if (movingFlag == true){
if (move_distance < (distance - 8)){
this.x = (this.x + xSpeed);
this.y = (this.y + ySpeed);
move_distance = (move_distance + Math.sqrt((Math.pow(Math.abs((this.x - moveStartX)), 2) + Math.pow(Math.abs((this.y - moveStartY)), 2))));
moveStartX = this.x;
moveStartY = this.y;
} else {
this.x = road_obj.x;
this.y = road_obj.y;
movingFlag = false;
_local2 = [];
distance = 0;
move_distance = 0;
moveStartX = 0;
moveStartY = 0;
};
};
}
private function choosTheOBJ(){
this.filters = [objFilter];
InGame.getOBJArrNum(arr_index);
InGame.clearDrawOBJ();
}
public function startingDragAndChoose_Mian(){
if (isButton == true){
InGame.getID(id, auguryArr);
InGame.c_windowName = this.parent.parent.parent.parent.name;
this.dispatchEvent(new Event("getCurrentlyWindow_OBJ", true));
this.dispatchEvent(new Event("createOBJ", true));
} else {
this.removeEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose);
this.stage.addEventListener(MouseEvent.MOUSE_UP, endDrag);
this.stage.addEventListener(MouseEvent.MOUSE_MOVE, objDrag);
drag_startX = MouseClass.c_x;
drag_startY = MouseClass.c_y;
objX = this.x;
objY = this.y;
choosTheOBJ();
movieLayerStop();
};
}
public function delDrawOBJ(){
var _local1:int;
InGame.defaultFlag = true;
if (c_drawOBJ != null){
c_drawOBJ = pencilShapeArr[c_drawObj_arrNum];
c_drawOBJ.parent.removeChild(c_drawOBJ);
pencilShapeArr[c_drawObj_arrNum] = null;
pencilShapeArr.splice(c_drawObj_arrNum, 1);
c_drawOBJ = null;
_local1 = 0;
while (_local1 < pencilShapeArr.length) {
if (pencilShapeArr[_local1].arr_index > c_drawObj_arrNum){
pencilShapeArr[_local1].arr_index = (pencilShapeArr[_local1].arr_index - 1);
};
_local1++;
};
if ((((c_drawObj_arrNum == 0)) && ((pencilShapeArr.length > 0)))){
deepPencilMC = pencilShapeArr[0];
};
};
}
public function cutAndAttachBG(_arg1:MovieClip){
var _local2:*;
if (bitmap != null){
bitmap.parent.removeChild(bitmap);
bitmap = null;
};
_local2 = new Rectangle(0, 0, rootWidth, rootHeight);
bitmapData = BmpTool.cutoutBmp(_arg1, _local2);
bitmap = new Bitmap(bitmapData);
bgLayer.addChild(bitmap);
bitmap.x = 0;
bitmap.y = 0;
bitmapData = null;
}
public function editState(){
var _local1:int;
editStateFlag = true;
c_colorLayer = (c_frameMC.getChildByName("color1") as MovieClip);
c_colorLayer.filters = [objFilter];
lostTheOBJ();
if (pencilShapeArr.length > 0){
_local1 = 0;
while (_local1 < pencilShapeArr.length) {
pencilShapeArr[_local1].dragFlag = true;
_local1++;
};
};
this.removeEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose);
this.addEventListener(MouseEvent.CLICK, getChildMC);
}
public function wbPrint(){
var _local1:int;
_local1 = 1;
while (_local1 <= maxFrame) {
this[("f" + String(_local1))].visible = false;
_local1++;
};
this[("f" + String((rotateNum + 4)))].visible = true;
}
private function endDraw(_arg1:MouseEvent){
var _local2:int;
if (isDraw == true){
if (deepPencilMC == null){
deepPencilMC = drawMC;
};
pencilShapeArr.push(drawMC);
InGame.allDrawObjArr.push(drawMC);
drawMC.drawOBJX = drawMC.x;
drawMC.drawOBJY = drawMC.y;
drawMC.arr_index = (pencilShapeArr.length - 1);
InGame.drawCount++;
drawMC.parent_id = data_id;
InGame.drawDataArr.push(drawMC.data_id);
c_drawOBJ = pencilShapeArr[(pencilShapeArr.length - 1)];
c_drawOBJ.choosTheDrawOBJ();
} else {
if (isDraw == false){
if (InGame.drawType != 3){
_local2 = (InGame.drawDataArr.length - 1);
while (_local2 >= 0) {
if (InGame.drawDataArr[_local2] != drawMC.data_id){
InGame.drawDataArr.splice(_local2, 1);
} else {
if (InGame.drawDataArr[_local2] == drawMC.data_id){
InGame.drawDataArr.splice(_local2, 1);
break;
};
};
_local2--;
};
} else {
if (deepPencilMC == null){
deepPencilMC = drawMC;
};
pencilShapeArr.push(drawMC);
InGame.allDrawObjArr.push(drawMC);
drawMC.drawOBJX = drawMC.x;
drawMC.drawOBJY = drawMC.y;
drawMC.arr_index = (pencilShapeArr.length - 1);
InGame.drawCount++;
drawMC.parent_id = data_id;
InGame.drawDataArr.push(drawMC.data_id);
c_drawOBJ = pencilShapeArr[(pencilShapeArr.length - 1)];
c_drawOBJ.choosTheDrawOBJ();
};
if (InGame.drawType != 3){
drawMC.parent.removeChild(drawMC);
};
c_drawObj_arrNum = -1;
c_drawOBJ = null;
delAllDrawOBJChoose();
};
};
if (InGame.drawType == 3){
drawMC.removeEventListener(Event.ENTER_FRAME, drawSprayer);
};
moveX = 0;
moveY = 0;
this.stage.removeEventListener(MouseEvent.MOUSE_MOVE, drawing);
this.stage.removeEventListener(MouseEvent.MOUSE_UP, endDraw);
isDraw = false;
}
public function getDrawOBJArrNum(_arg1:int){
c_drawObj_arrNum = _arg1;
if (c_drawOBJ != null){
c_drawOBJ = null;
c_drawOBJ = pencilShapeArr[c_drawObj_arrNum];
} else {
if (c_drawOBJ == null){
c_drawOBJ = pencilShapeArr[c_drawObj_arrNum];
};
};
if (c_colorLayer != null){
c_colorLayer.filters = [];
c_colorLayer = null;
materailLayer = null;
};
}
public function changeBearingMain(_arg1:int){
var _local2:int;
var _local3:String;
_local2 = 1;
while (_local2 <= maxFrame) {
if (_local2 != _arg1){
this[("f" + String(_local2))].visible = false;
} else {
if (_local2 == _arg1){
this[("f" + String(_local2))].visible = true;
c_frameMC = this[("f" + String(_local2))];
if (c_colorLayer != null){
_local3 = c_colorLayer.name.substr(5, (c_colorLayer.name.length - 5));
c_colorLayer.filters = [];
c_colorLayer = (c_frameMC.getChildByName(("color" + _local3)) as MovieClip);
if (c_colorLayer == null){
c_colorLayer = (c_frameMC.getChildByName("color1") as MovieClip);
};
c_colorLayer.filters = [objFilter];
};
noColorLayer = (c_frameMC.getChildByName("nocolor") as MovieClip);
if (noColorLayer != null){
movieLayer = (noColorLayer.getChildByName("ani") as MovieClip);
};
if (movieLayer != null){
movieLayer.play();
};
};
};
_local2++;
};
}
private function startDraw(_arg1:MouseEvent){
if ((((((((_arg1.target.name == "mask")) || ((_arg1.target.name == "color")))) || ((_arg1.target.name == "MaterailLayer")))) || ((_arg1.target.name == "bgLayer")))){
this.stage.addEventListener(MouseEvent.MOUSE_MOVE, drawing);
this.stage.addEventListener(MouseEvent.MOUSE_UP, endDraw);
drawMC = new DrawOBJ();
this.addChild(drawMC);
drawMC.x = (0 - this.x);
drawMC.y = (0 - this.y);
drawMC.isObjDraw = true;
drawMC.data_id = ("d_" + String(InGame.drawCount));
if (InGame.drawType == 1){
DrawTool.startDrawLine(drawMC, this.stage.mouseX, this.stage.mouseY, InGame.pencilColor, InGame.lineSize);
InGame.drawDataArr.push(drawMC.data_id, InGame.drawType, InGame.pencilColor, InGame.lineSize, this.stage.mouseX, this.stage.mouseY);
} else {
if (InGame.drawType == 2){
moveX = this.stage.mouseX;
moveY = this.stage.mouseY;
InGame.drawDataArr.push(drawMC.data_id, InGame.drawType, InGame.pencilColor, InGame.lineSize, moveX, moveY, "null", "null");
} else {
if (InGame.drawType == 3){
drawMC.addEventListener(Event.ENTER_FRAME, drawSprayer);
InGame.drawDataArr.push(drawMC.data_id, InGame.drawType, InGame.pencilColor, InGame.lineSize);
} else {
if (InGame.drawType == 4){
moveX = this.stage.mouseX;
moveY = this.stage.mouseY;
InGame.drawDataArr.push(drawMC.data_id, InGame.drawType, InGame.pencilColor, InGame.lineSize, InGame.fillColor, moveX, moveY, "null", "null");
} else {
if (InGame.drawType == 5){
moveX = this.stage.mouseX;
moveY = this.stage.mouseY;
InGame.drawDataArr.push(drawMC.data_id, InGame.drawType, InGame.pencilColor, InGame.lineSize, InGame.fillColor, moveX, moveY, "null", "null");
} else {
if (InGame.drawType == 6){
moveX = this.stage.mouseX;
moveY = this.stage.mouseY;
InGame.drawDataArr.push(drawMC.data_id, InGame.drawType, InGame.pencilColor, InGame.lineSize, InGame.fillColor, moveX, moveY, "null", "null");
} else {
if (InGame.drawType == 7){
moveX = this.stage.mouseX;
moveY = this.stage.mouseY;
InGame.drawDataArr.push(drawMC.data_id, InGame.drawType, InGame.pencilColor, InGame.lineSize, InGame.fillColor, moveX, moveY, "null", "null");
};
};
};
};
};
};
};
};
}
private function endDrag(_arg1:MouseEvent){
this.stage.removeEventListener(MouseEvent.MOUSE_UP, endDrag);
this.stage.removeEventListener(MouseEvent.MOUSE_MOVE, objDrag);
this.addEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose, false, 0, true);
if (dragFlag == false){
this.dispatchEvent(new Event("clickTheObj_OBJ", true));
};
dragFlag = true;
drag_startX = 0;
drag_startY = 0;
objX = this.x;
objY = this.y;
movieLayerPlay();
this.dispatchEvent(new Event("createEditMenu_OBJ", true));
}
public function movieLayerPlay(){
if (movieLayer != null){
movieLayer.gotoAndPlay(2);
};
}
public function delOBJ(){
var _local1:OBJ;
delEvent();
if (l_up != null){
_local1 = l_up;
_local1.r_down = null;
l_up = null;
};
if (l_down != null){
_local1 = l_down;
_local1.r_up = null;
l_down = null;
};
if (r_up != null){
_local1 = r_up;
_local1.l_down = null;
r_up = null;
};
if (r_down != null){
_local1 = r_down;
_local1.l_up = null;
r_down = null;
};
}
public function changeMaterial(_arg1:String){
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:BitmapData;
var _local6:int;
InGame.defaultFlag = true;
if (c_colorLayer != null){
_local2 = 1;
while (_local2 <= maxColorLayerNum) {
if (c_colorLayer.name == ("color" + String(_local2))){
materailArr[(_local2 - 1)] = _arg1;
break;
};
_local2++;
};
_local3 = 300;
_local4 = 300;
_local5 = AttachTool.attachBmpData(_arg1);
_local6 = 1;
while (_local6 <= rotateMax) {
if (this[("f" + String(_local6))][c_colorLayer.name] != null){
materailLayer = (this[("f" + String(_local6))][c_colorLayer.name].getChildByName("MaterailLayer") as MovieClip);
if (materailLayer == null){
materailLayer = new MovieClip();
this[("f" + String(_local6))][c_colorLayer.name].addChild(materailLayer);
materailLayer.x = 0;
materailLayer.y = 0;
materailLayer.name = "MaterailLayer";
};
materailLayer.graphics.clear();
materailLayer.graphics.beginBitmapFill(_local5);
materailLayer.graphics.moveTo((_local3 * -1), (_local4 * -1));
materailLayer.graphics.lineTo(_local3, (_local4 * -1));
materailLayer.graphics.lineTo(_local3, _local4);
materailLayer.graphics.lineTo((_local3 * -1), _local4);
materailLayer.graphics.lineTo((_local3 * -1), (_local4 * -1));
materailLayer.graphics.endFill();
materailLayer.mask = this[("f" + String(_local6))][c_colorLayer.name]["color"];
};
_local6++;
};
};
}
private function objDrag(_arg1:MouseEvent){
var _local2:OBJ;
InGame.defaultFlag = true;
dragFlag = true;
if (l_up != null){
_local2 = l_up;
_local2.r_down = null;
l_up = null;
};
if (l_down != null){
_local2 = l_down;
_local2.r_up = null;
l_down = null;
};
if (r_up != null){
_local2 = r_up;
_local2.l_down = null;
r_up = null;
};
if (r_down != null){
_local2 = r_down;
_local2.l_up = null;
r_down = null;
};
this.x = (this.x + (MouseClass.c_x - drag_startX));
this.y = (this.y + (MouseClass.c_y - drag_startY));
if (typeNum == 2){
bgLayer.x = (bgLayer.x - (MouseClass.c_x - drag_startX));
bgLayer.y = (bgLayer.y - (MouseClass.c_y - drag_startY));
};
drag_startX = MouseClass.c_x;
drag_startY = MouseClass.c_y;
_arg1.target.dispatchEvent(new Event("moveEditMenu_OBJ", true));
}
private function initProperty(){
var _local1:int;
var _local2:int;
this.gotoAndStop(1);
rotateNum = 1;
c_frameMC = this[("f" + String(rotateNum))];
p_mc = null;
n_mc = null;
isRootObj = false;
movieLayer = (this.getChildByName("MovieLayer") as MovieClip);
movieLayerStop();
colorNumArr = new Array();
_local1 = 0;
while (_local1 < maxColorLayerNum) {
colorNumArr[_local1] = "null";
_local1++;
};
editStateFlag = false;
editItemNum = 1;
materailArr = new Array();
_local2 = 0;
while (_local2 < maxColorLayerNum) {
materailArr[_local2] = "null";
_local2++;
};
materailLayer = null;
drag_startX = 0;
drag_startY = 0;
dragFlag = false;
colorTransform = new ColorTransform();
bitmapData = null;
bitmap = null;
pencilShapeArr = new Array();
isDraw = false;
c_drawOBJ = null;
c_drawObj_arrNum = -1;
moveX = 0;
moveY = 0;
objArr = new Array();
drawDataArr = new Array();
createObjList = new Array();
createDrawList = new Array();
auguryArr = new Array();
m_speed = 5;
movingFlag = false;
move_distance = 0;
distance = 0;
moveStartX = 0;
moveStartY = 0;
}
private function initFunction(){
}
public function getAuguryArr(_arg1:int){
auguryArr.push(_arg1);
}
public function delAllDrawOBJChoose(){
var _local1:int;
_local1 = 0;
while (_local1 < pencilShapeArr.length) {
if (_local1 != c_drawObj_arrNum){
pencilShapeArr[_local1].lostTheDrawOBJ();
};
_local1++;
};
}
public function lostTheOBJ(){
this.filters = [];
}
public function initMovieLayer(){
if (isButton == false){
noColorLayer = (this["f1"].getChildByName("nocolor") as MovieClip);
if (noColorLayer != null){
movieLayer = (noColorLayer.getChildByName("ani") as MovieClip);
if (movieLayer != null){
movieLayer.play();
};
};
};
}
public function OBJFilters(){
this.filters = [objFilter];
}
public function goonMove(){
if (movingFlag == true){
this.addEventListener(Event.ENTER_FRAME, moveNext);
};
}
public function colorPrint(){
var _local1:int;
_local1 = 1;
while (_local1 <= maxFrame) {
this[("f" + String(_local1))].visible = false;
_local1++;
};
this[("f" + String(rotateNum))].visible = true;
}
public function endMove(){
this.removeEventListener(Event.ENTER_FRAME, moveNext);
}
public function startMove(_arg1:OBJ){
road_obj = _arg1;
p_obj = null;
this.addEventListener(Event.ENTER_FRAME, moveNext);
}
private function delEvent(){
this.removeEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose);
this.removeEventListener(Event.ENTER_FRAME, moveNext);
}
private function initEvent(){
this.addEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose, false, 0, true);
}
private function getChildMC(_arg1:MouseEvent){
var _local2:int;
if (_arg1.target.parent.name.substr(0, 5) == "color"){
_local2 = 1;
while (_local2 <= maxColorLayerNum) {
if (_arg1.target.parent.name == ("color" + String(_local2))){
if (c_colorLayer != null){
c_colorLayer.filters = [];
};
if (c_drawOBJ != null){
c_drawOBJ.lostTheDrawOBJ();
c_drawOBJ = null;
};
c_colorLayer = (c_frameMC.getChildByName(("color" + String(_local2))) as MovieClip);
c_colorLayer.filters = [objFilter];
materailLayer = null;
break;
};
_local2++;
};
};
}
public function pencilState(_arg1:Boolean){
var _local2:int;
trace(_arg1);
if (_arg1 == true){
lostTheOBJ();
this.stage.addEventListener(MouseEvent.MOUSE_DOWN, startDraw);
if (pencilShapeArr.length > 0){
_local2 = 0;
while (_local2 < pencilShapeArr.length) {
pencilShapeArr[_local2].dragFlag = true;
_local2++;
};
};
};
this.removeEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose);
}
private function startingDragAndChoose(_arg1:MouseEvent){
SoundsManager.getInstance().playSound("_Sound_TakeObj_", 1, 0);
trace("_Sound_TakeObj_");
this.removeEventListener(Event.ENTER_FRAME, moveNext);
startingDragAndChoose_Mian();
}
public function changeColor(_arg1:uint){
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
InGame.defaultFlag = true;
colorTransform.color = _arg1;
if (c_colorLayer != null){
_local2 = 1;
while (_local2 <= maxColorLayerNum) {
if (c_colorLayer.name == ("color" + String(_local2))){
if (materailArr[(_local2 - 1)] != "null"){
_local5 = 1;
while (_local5 <= rotateMax) {
if (this[("f" + String(_local5))][c_colorLayer.name] != null){
materailLayer = (this[("f" + String(_local5))][c_colorLayer.name].getChildByName("MaterailLayer") as MovieClip);
materailLayer.mask = null;
materailLayer.parent.removeChild(materailLayer);
materailLayer = null;
};
_local5++;
};
materailArr[(_local2 - 1)] = "null";
break;
};
};
_local2++;
};
_local3 = 1;
while (_local3 <= rotateMax) {
if (this[("f" + String(_local3))][c_colorLayer.name] != null){
this[("f" + String(_local3))][c_colorLayer.name]["color"].transform.colorTransform = colorTransform;
};
_local3++;
};
_local4 = 1;
while (_local4 <= maxColorLayerNum) {
if (c_colorLayer.name == ("color" + String(_local4))){
colorNumArr[(_local4 - 1)] = _arg1;
break;
};
_local4++;
};
};
}
public function endPencilState(_arg1:Boolean){
var _local2:int;
if (_arg1 == true){
this.filters = [objFilter];
this.stage.removeEventListener(MouseEvent.MOUSE_DOWN, startDraw);
if (pencilShapeArr.length > 0){
_local2 = 0;
while (_local2 < pencilShapeArr.length) {
pencilShapeArr[_local2].dragFlag = false;
_local2++;
};
};
c_drawObj_arrNum = -1;
delAllDrawOBJChoose();
if (movieLayer != null){
movieLayer.stop();
};
};
this.addEventListener(MouseEvent.MOUSE_DOWN, startingDragAndChoose, false, 0, true);
}
public function movieLayerStop(){
if (movieLayer != null){
movieLayer.gotoAndStop(1);
};
}
public function resumeObj(_arg1:Array, _arg2:Array){
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:BitmapData;
_local4 = 300;
_local5 = 300;
colorNumArr = _arg1;
materailArr = _arg2;
trace(colorNumArr);
trace(materailArr);
_local6 = 0;
while (_local6 < materailArr.length) {
if (materailArr[_local6] != "null"){
_local7 = AttachTool.attachBmpData(materailArr[_local6]);
trace("materailArr--------------------------");
_local3 = 1;
while (_local3 <= rotateMax) {
materailLayer = (this[("f" + String(_local3))][("color" + String((_local6 + 1)))].getChildByName("MaterailLayer") as MovieClip);
trace(materailLayer);
if (materailLayer != null){
materailLayer.mask = null;
materailLayer.parent.removeChild(materailLayer);
materailLayer = null;
};
_local3++;
};
_local3 = 1;
while (_local3 <= rotateMax) {
materailLayer = (this[("f" + String(_local3))][("color" + String((_local6 + 1)))].getChildByName("MaterailLayer") as MovieClip);
if (materailLayer == null){
materailLayer = new MovieClip();
this[("f" + String(_local3))][("color" + String((_local6 + 1)))].addChild(materailLayer);
materailLayer.x = 0;
materailLayer.y = 0;
materailLayer.name = "MaterailLayer";
materailLayer.graphics.clear();
materailLayer.graphics.beginBitmapFill(_local7);
materailLayer.graphics.moveTo(0, 0);
materailLayer.graphics.lineTo(_local4, 0);
materailLayer.graphics.lineTo(_local4, _local5);
materailLayer.graphics.lineTo(0, _local5);
materailLayer.graphics.lineTo(0, 0);
materailLayer.graphics.endFill();
materailLayer.mask = this[("f" + String(_local3))][("color" + String((_local6 + 1)))]["color"];
};
_local3++;
};
} else {
if (colorNumArr[_local6] != "null"){
colorTransform.color = colorNumArr[_local6];
_local3 = 1;
while (_local3 <= rotateMax) {
trace("this3");
materailLayer = (this[("f" + String(_local3))][("color" + String((_local6 + 1)))].getChildByName("MaterailLayer") as MovieClip);
if (materailLayer != null){
materailLayer.mask = null;
materailLayer.parent.removeChild(materailLayer);
materailLayer = null;
};
trace("this4");
this[("f" + String(_local3))][("color" + String((_local6 + 1)))]["color"].transform.colorTransform = colorTransform;
_local3++;
};
};
};
_local6++;
};
}
private function initElement(){
var _local1:int;
_local1 = 1;
while (_local1 <= maxFrame) {
this[("f_mc" + String(_local1))] = (this.getChildByName(("f" + String(_local1))) as MovieClip);
if (_local1 <= rotateMax){
shadowLayer = (this[("f_mc" + String(_local1))].getChildByName("shadow") as MovieClip);
noColorLayer = (this[("f_mc" + String(_local1))].getChildByName("nocolor") as MovieClip);
if (shadowLayer != null){
shadowLayer.mouseChildren = false;
shadowLayer.mouseEnabled = false;
};
if (noColorLayer != null){
noColorLayer.mouseChildren = false;
noColorLayer.mouseEnabled = false;
movieLayer = (noColorLayer.getChildByName("ani") as MovieClip);
if (movieLayer != null){
movieLayer.stop();
};
};
};
if (_local1 > 1){
this[("f_mc" + String(_local1))].visible = false;
};
_local1++;
};
}
private function initOBJ(){
initClass();
initElement();
initEvent();
initProperty();
initFunction();
}
public function changeBearing(){
InGame.defaultFlag = true;
if (movieLayer != null){
movieLayer.stop();
movieLayer = null;
};
rotateNum++;
if (rotateNum > rotateMax){
rotateNum = 1;
};
changeBearingMain(rotateNum);
}
public function delMaskLayer(){
}
}
}//package GameFile
Section 101
//PrintTool (GameFile.PrintTool)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.printing.*;
public class PrintTool {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
public var printMC:MovieClip;
private var printJob:PrintJob;
private var wbBtn:MovieClip;
private var closeBtn:MovieClip;
private var noBtn:MovieClip;
private var choosePrintMC:MovieClip;
public var colorOrWB:Boolean;
private var yesBtn:MovieClip;
private var colorBtn:MovieClip;
public function PrintTool(_arg1:MovieClip){
initPrintTool(_arg1);
}
private function initProperty(){
colorOrWB = true;
}
private function cutPrintBmpAndPrintGame(_arg1:Event){
delPrintMCMain();
choosePrintMC.dispatchEvent(new Event("cutPrintBmpAndPrintGame_PrintTool", true));
}
private function colorPrint(_arg1:MouseEvent){
showPrintMC();
if (colorOrWB == false){
colorOrWB = true;
_arg1.target.dispatchEvent(new Event("colorPrint_PrintTool", true));
};
}
private function initElement(){
choosePrintMC = new _ChoosePrintMC_();
Root.addChild(choosePrintMC);
choosePrintMC.x = (rootWidth / 2);
choosePrintMC.y = (rootHeight / 2);
colorBtn = choosePrintMC["ColorBtn"];
wbBtn = choosePrintMC["WBBtn"];
closeBtn = choosePrintMC["CloseBtn"];
}
private function showPrintMC(){
choosePrintMC.mouseEnabled = false;
printMC = new _PrintMC_();
choosePrintMC.addChild(printMC);
yesBtn = printMC["YesBtn"];
noBtn = printMC["NoBtn"];
yesBtn.addEventListener(MouseEvent.CLICK, cutPrintBmpAndPrintGame);
noBtn.addEventListener(MouseEvent.CLICK, delPrintMC);
}
private function initClass(){
}
private function closePrint(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("endPrintGame_PrintTool", true));
}
private function delEvent(){
colorBtn.removeEventListener(MouseEvent.CLICK, colorPrint);
wbBtn.removeEventListener(MouseEvent.CLICK, wbPrint);
closeBtn.removeEventListener(MouseEvent.CLICK, closePrint);
}
public function delPrintTool(){
delEvent();
delClass();
colorBtn = null;
wbBtn = null;
closeBtn = null;
choosePrintMC.parent.removeChild(choosePrintMC);
choosePrintMC = null;
}
private function initEvent(){
colorBtn.addEventListener(MouseEvent.CLICK, colorPrint);
wbBtn.addEventListener(MouseEvent.CLICK, wbPrint);
closeBtn.addEventListener(MouseEvent.CLICK, closePrint);
}
public function printOpus(_arg1:MovieClip, _arg2:Rectangle){
var _o = _arg1;
var _rect = _arg2;
printJob = new PrintJob();
printJob.start();
try {
printJob.addPage(_o, _rect);
} catch(e:Error) {
trace("print error");
};
printJob.send();
}
private function wbPrint(_arg1:MouseEvent){
showPrintMC();
if (colorOrWB == true){
colorOrWB = false;
_arg1.target.dispatchEvent(new Event("wbPrint_PrintTool", true));
};
}
private function delClass(){
}
private function delPrintMC(_arg1:MouseEvent){
delPrintMCMain();
}
private function initPrintTool(_arg1:MovieClip){
Root = _arg1;
initClass();
initElement();
initEvent();
initProperty();
}
private function delPrintMCMain(){
trace("delPrintMCMain");
yesBtn.removeEventListener(MouseEvent.CLICK, cutPrintBmpAndPrintGame);
noBtn.removeEventListener(MouseEvent.CLICK, delPrintMC);
yesBtn = null;
noBtn = null;
printMC.parent.removeChild(printMC);
printMC = null;
}
}
}//package GameFile
Section 102
//ResumePage (GameFile.ResumePage)
package GameFile {
import flash.events.*;
import flash.display.*;
public class ResumePage {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var loadTxtMC:MovieClip;
private var Root:MovieClip;
private var saveTxtMC:MovieClip;
private var closeBtn:MovieClip;
private var resumePage:MovieClip;
private var saveBtn1:MovieClip;
private var saveBtn2:MovieClip;
private var saveBtn3:MovieClip;
public var dataNum:int;
public function ResumePage(_arg1:MovieClip){
initResumePage(_arg1);
}
private function initProperty(){
}
private function initResumePage(_arg1:MovieClip){
Root = _arg1;
initClass();
initElement();
initEvent();
initProperty();
}
public function delResumePage(){
delEvent();
saveBtn1 = null;
saveBtn2 = null;
saveBtn3 = null;
closeBtn = null;
resumePage.parent.removeChild(resumePage);
resumePage = null;
}
private function closeTheResumePage(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("closeTheResumePage_ResumePage", true));
}
private function initElement(){
resumePage = new _SaveLocalPage_();
Root.addChild(resumePage);
resumePage.x = (rootWidth / 2);
resumePage.y = (rootHeight / 2);
saveTxtMC = (resumePage.getChildByName("SaveTxtMC") as MovieClip);
saveTxtMC.visible = false;
loadTxtMC = (resumePage.getChildByName("LoadTxtMC") as MovieClip);
loadTxtMC.visible = true;
closeBtn = (resumePage.getChildByName("CloseBtn") as MovieClip);
saveBtn1 = (resumePage.getChildByName("SaveBtn1") as MovieClip);
saveBtn1["NameTxt"].text = Cookie.instance.outputTheGameDataName(1);
saveBtn2 = (resumePage.getChildByName("SaveBtn2") as MovieClip);
saveBtn2["NameTxt"].text = Cookie.instance.outputTheGameDataName(2);
saveBtn3 = (resumePage.getChildByName("SaveBtn3") as MovieClip);
saveBtn3["NameTxt"].text = Cookie.instance.outputTheGameDataName(3);
}
private function resumeTheGame(_arg1:MouseEvent){
dataNum = int(_arg1.target.parent.name.substr(7, (_arg1.target.parent.name.length - 7)));
_arg1.target.dispatchEvent(new Event("resumeTheGame_ResumePage", true));
}
private function delEvent(){
closeBtn.removeEventListener(MouseEvent.CLICK, closeTheResumePage);
saveBtn1.removeEventListener(MouseEvent.CLICK, resumeTheGame);
saveBtn2.removeEventListener(MouseEvent.CLICK, resumeTheGame);
saveBtn3.removeEventListener(MouseEvent.CLICK, resumeTheGame);
}
private function initClass(){
}
private function initEvent(){
closeBtn.addEventListener(MouseEvent.CLICK, closeTheResumePage);
saveBtn1.addEventListener(MouseEvent.CLICK, resumeTheGame);
saveBtn2.addEventListener(MouseEvent.CLICK, resumeTheGame);
saveBtn3.addEventListener(MouseEvent.CLICK, resumeTheGame);
}
private function delClass(){
}
}
}//package GameFile
Section 103
//SavePage (GameFile.SavePage)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class SavePage {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var saveText:TextField;
private var saveBtn:MovieClip;
private var savePage:MovieClip;
private var resumeBtn:MovieClip;
private var loadText:TextField;
private var backBtn:MovieClip;
public function SavePage(_arg1:MovieClip){
initSavePage(_arg1);
}
private function initProperty(){
saveText.text = "";
}
private function saveTheGameToMemory(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("saveTheGameToMemory_SavePage", true));
}
private function initElement(){
savePage = new _SavePage_();
Root.addChild(savePage);
savePage.x = ((rootWidth / 2) - (savePage.width / 2));
savePage.y = ((rootHeight / 2) - (savePage.height / 2));
saveText = (savePage.getChildByName("SaveText") as TextField);
loadText = (savePage.getChildByName("LoadText") as TextField);
backBtn = (savePage.getChildByName("BackBtn") as MovieClip);
resumeBtn = (savePage.getChildByName("ResumeBtn") as MovieClip);
saveBtn = (savePage.getChildByName("SaveBtn") as MovieClip);
}
private function delEvent(){
backBtn.removeEventListener(MouseEvent.CLICK, closeTheSavePage);
resumeBtn.removeEventListener(MouseEvent.CLICK, resumeTheGame);
saveBtn.removeEventListener(MouseEvent.CLICK, saveTheGameToMemory);
}
private function initClass(){
}
public function outputTheSaveCode():String{
return (loadText.text);
}
private function initSavePage(_arg1:MovieClip){
Root = _arg1;
initClass();
initElement();
initEvent();
initProperty();
}
private function resumeTheGame(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("resumeTheGame_SavePage", true));
}
private function closeTheSavePage(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("closeTheSavePage_SavePage", true));
}
public function showSaveCode(_arg1:Array){
saveText.text = _arg1.toString();
}
private function delClass(){
}
private function initEvent(){
backBtn.addEventListener(MouseEvent.CLICK, closeTheSavePage);
resumeBtn.addEventListener(MouseEvent.CLICK, resumeTheGame);
saveBtn.addEventListener(MouseEvent.CLICK, saveTheGameToMemory);
}
public function delSavePage(){
delEvent();
saveText = null;
loadText = null;
resumeBtn = null;
backBtn = null;
savePage.parent.removeChild(savePage);
savePage = null;
}
}
}//package GameFile
Section 104
//SaveTheLocalData (GameFile.SaveTheLocalData)
package GameFile {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class SaveTheLocalData {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var loadTxtMC:MovieClip;
private var Root:MovieClip;
private var saveTxtMC:MovieClip;
private var inputTxt:TextField;
private var closeBtn:MovieClip;
private var noBtn:MovieClip;
public var gameName:String;
private var saveChoosePage:MovieClip;
private var enterNamePage:MovieClip;
private var saveBtn2:MovieClip;
private var saveBtn3:MovieClip;
private var yesBtn:MovieClip;
private var saveBtn1:MovieClip;
public var dataNum:int;
public function SaveTheLocalData(_arg1:MovieClip){
initSaveTheLocalData(_arg1);
}
private function initProperty(){
}
private function initSaveTheLocalData(_arg1:MovieClip){
Root = _arg1;
initClass();
initElement();
initEvent();
initProperty();
}
private function delEvent(){
closeBtn.removeEventListener(MouseEvent.CLICK, closeSaveChoosePage);
saveBtn1.removeEventListener(MouseEvent.CLICK, createEnterNamePage);
saveBtn2.removeEventListener(MouseEvent.CLICK, createEnterNamePage);
saveBtn3.removeEventListener(MouseEvent.CLICK, createEnterNamePage);
}
private function initClass(){
}
private function delEnterNamePageMain(){
yesBtn.removeEventListener(MouseEvent.CLICK, saveDataToCookie);
noBtn.removeEventListener(MouseEvent.CLICK, delEnterNamePage);
inputTxt = null;
yesBtn = null;
noBtn = null;
enterNamePage.parent.removeChild(enterNamePage);
enterNamePage = null;
}
private function createEnterNamePage(_arg1:MouseEvent){
trace("createEnterNamePage");
trace(_arg1.target.parent.name);
enterNamePage = new _EnterNamePage_();
Root.addChild(enterNamePage);
enterNamePage.x = (rootWidth / 2);
enterNamePage.y = (rootHeight / 2);
inputTxt = (enterNamePage.getChildByName("InputTxt") as TextField);
yesBtn = (enterNamePage.getChildByName("YesBtn") as MovieClip);
yesBtn.addEventListener(MouseEvent.CLICK, saveDataToCookie);
noBtn = (enterNamePage.getChildByName("NoBtn") as MovieClip);
noBtn.addEventListener(MouseEvent.CLICK, delEnterNamePage);
dataNum = int(_arg1.target.parent.name.substr(7, (_arg1.target.parent.name.length - 7)));
trace(dataNum);
}
private function delEnterNamePage(_arg1:MouseEvent){
delEnterNamePageMain();
}
private function delClass(){
}
private function initElement(){
saveChoosePage = new _SaveLocalPage_();
Root.addChild(saveChoosePage);
saveChoosePage.x = (rootWidth / 2);
saveChoosePage.y = (rootHeight / 2);
saveTxtMC = (saveChoosePage.getChildByName("SaveTxtMC") as MovieClip);
saveTxtMC.visible = true;
loadTxtMC = (saveChoosePage.getChildByName("LoadTxtMC") as MovieClip);
loadTxtMC.visible = false;
closeBtn = (saveChoosePage.getChildByName("CloseBtn") as MovieClip);
saveBtn1 = (saveChoosePage.getChildByName("SaveBtn1") as MovieClip);
saveBtn1["NameTxt"].text = Cookie.instance.outputTheGameDataName(1);
saveBtn2 = (saveChoosePage.getChildByName("SaveBtn2") as MovieClip);
saveBtn2["NameTxt"].text = Cookie.instance.outputTheGameDataName(2);
saveBtn3 = (saveChoosePage.getChildByName("SaveBtn3") as MovieClip);
saveBtn3["NameTxt"].text = Cookie.instance.outputTheGameDataName(3);
}
public function delSaveTheLocalData(){
delEvent();
delClass();
if (enterNamePage != null){
delEnterNamePageMain();
};
saveBtn1 = null;
saveBtn2 = null;
saveBtn3 = null;
closeBtn = null;
saveChoosePage.parent.removeChild(saveChoosePage);
saveChoosePage = null;
}
private function initEvent(){
closeBtn.addEventListener(MouseEvent.CLICK, closeSaveChoosePage);
saveBtn1.addEventListener(MouseEvent.CLICK, createEnterNamePage);
saveBtn2.addEventListener(MouseEvent.CLICK, createEnterNamePage);
saveBtn3.addEventListener(MouseEvent.CLICK, createEnterNamePage);
}
private function closeSaveChoosePage(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("closeSaveChoosePage_SaveTheLocalData", true));
}
private function saveDataToCookie(_arg1:MouseEvent){
if (inputTxt.text != ""){
gameName = inputTxt.text;
} else {
gameName = "player";
};
delEnterNamePageMain();
saveChoosePage.dispatchEvent(new Event("saveDataToCookie_SaveTheLocalData", true));
}
}
}//package GameFile
Section 105
//SentToFriendPage (GameFile.SentToFriendPage)
package GameFile {
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
import flash.text.*;
import zlong.navigate.*;
import flash.system.*;
public class SentToFriendPage {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private const cardMax = 4;
private var Root:MovieClip;
private var gameLink:String;
private var sentToFriendMC:MovieClip;
private var linkTxt:TextField;
private var cardMC:MovieClip;
private var copyBtn:MovieClip;
private var upBtn:MovieClip;
private var startGameBtn:MovieClip;
private var wishTxt:TextField;
private var pageMode:String;
private var cardNum:int;
private var receiveFromFriendPage:MovieClip;
private var downBtn:MovieClip;
private var nameTxt:TextField;
private var backBtn:MovieClip;
private var moreGameBtn:MovieClip;
public function SentToFriendPage(_arg1:MovieClip, _arg2:String){
initSentToFriendPage(_arg1, _arg2);
}
private function initProperty(){
cardNum = 1;
gameLink = CountryInfo.instance.thisGameLink;
}
public function delSentToFriendPage(){
delEvent();
delClass();
if (pageMode == "receive"){
moreGameBtn = null;
startGameBtn = null;
wishTxt = null;
nameTxt = null;
receiveFromFriendPage.parent.removeChild(receiveFromFriendPage);
receiveFromFriendPage = null;
} else {
if (pageMode == "sent"){
cardMC = null;
backBtn = null;
copyBtn = null;
downBtn = null;
upBtn = null;
wishTxt = null;
nameTxt = null;
linkTxt = null;
sentToFriendMC.parent.removeChild(sentToFriendMC);
sentToFriendMC = null;
};
};
}
private function backBtnClick(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("delSentToFriendPage_GameMenu", true));
}
private function initSentToFriendPage(_arg1:MovieClip, _arg2:String){
Root = _arg1;
pageMode = _arg2;
initClass();
initElement();
initEvent();
initProperty();
}
private function changeCardBtnClick(_arg1:MouseEvent){
var _local2:String;
_local2 = _arg1.target.parent.name;
if (_local2 == "UpBtn"){
cardNum++;
if (cardNum > cardMax){
cardNum = 1;
};
} else {
if (_local2 == "DownBtn"){
cardNum--;
if (cardNum < 1){
cardNum = cardMax;
};
};
};
changeCard(cardNum);
textIsChangingMain();
}
private function textIsChangingMain(){
var _local1:String;
if (((!((wishTxt.text == ""))) || (!((nameTxt.text == ""))))){
_local1 = ((((String(cardNum) + "_") + wishTxt.text) + "_") + nameTxt.text);
linkTxt.text = ((gameLink + "?code=") + StringTool.stringToCode(_local1));
} else {
if ((((wishTxt.text == "")) || ((nameTxt.text == "")))){
linkTxt.text = "";
};
};
}
private function startGameBtnClick(_arg1:MouseEvent){
_arg1.target.dispatchEvent(new Event("showMainMenu_SentToFriendPage", true));
}
private function copyBtnClick(_arg1:MouseEvent){
System.setClipboard(linkTxt.text);
}
private function delClass(){
}
public function resumeInformation(_arg1:String){
var _local2:int;
var _local3:int;
var _local4:String;
var _local5:int;
var _local6:String;
var _local7:String;
var _local8:String;
_local4 = _arg1;
_local4 = _arg1.substr((_local4.indexOf("code=") + 5), (_local4.length - 1));
_local4 = StringTool.codeToString(_local4);
trace(_local4);
if (_local4.length > 0){
_local6 = "";
_local2 = 0;
while (_local2 < _local4.length) {
if (_local4.substr(_local2, 1) != "_"){
_local6 = (_local6 + _local4.substr(_local2, 1));
} else {
_local3 = (_local2 + 1);
_local5 = int(_local6);
break;
};
_local2++;
};
_local7 = "";
_local2 = _local3;
while (_local2 < _local4.length) {
if (_local4.substr(_local2, 1) != "_"){
_local7 = (_local7 + _local4.substr(_local2, 1));
} else {
_local3 = (_local2 + 1);
break;
};
_local2++;
};
_local8 = "";
_local2 = _local3;
while (_local2 < _local4.length) {
if (_local4.substr(_local2, 1) != "_"){
_local8 = (_local8 + _local4.substr(_local2, 1));
} else {
_local3 = (_local2 + 1);
break;
};
_local2++;
};
cardMC.gotoAndStop(_local5);
wishTxt.text = String(_local7);
nameTxt.text = String(_local8);
};
}
private function textIsChanging(_arg1:Event){
textIsChangingMain();
}
private function delEvent(){
if (pageMode == "receive"){
startGameBtn.removeEventListener(MouseEvent.CLICK, startGameBtnClick);
moreGameBtn.removeEventListener(MouseEvent.CLICK, moreGame);
} else {
if (pageMode == "sent"){
backBtn.removeEventListener(MouseEvent.CLICK, backBtnClick);
copyBtn.removeEventListener(MouseEvent.CLICK, copyBtnClick);
downBtn.removeEventListener(MouseEvent.CLICK, changeCardBtnClick);
upBtn.removeEventListener(MouseEvent.CLICK, changeCardBtnClick);
moreGameBtn.removeEventListener(MouseEvent.CLICK, moreGame);
wishTxt.removeEventListener(Event.CHANGE, textIsChanging);
nameTxt.removeEventListener(Event.CHANGE, textIsChanging);
};
};
}
private function initElement(){
if (pageMode == "receive"){
receiveFromFriendPage = new _ReceiveFromFriendPage_();
Root.addChild(receiveFromFriendPage);
receiveFromFriendPage.x = 0;
receiveFromFriendPage.y = 0;
cardMC = (receiveFromFriendPage.getChildByName("CardMC") as MovieClip);
cardMC.gotoAndStop(1);
moreGameBtn = (receiveFromFriendPage.getChildByName("MoreGameBtn") as MovieClip);
wishTxt = (receiveFromFriendPage.getChildByName("WishTxt") as TextField);
wishTxt.text = "";
nameTxt = (receiveFromFriendPage.getChildByName("NameTxt") as TextField);
nameTxt.text = "";
startGameBtn = (receiveFromFriendPage.getChildByName("StartGameBtn") as MovieClip);
} else {
if (pageMode == "sent"){
sentToFriendMC = new _SentToFriendPage_();
Root.addChild(sentToFriendMC);
sentToFriendMC.x = 0;
sentToFriendMC.y = 0;
cardMC = (sentToFriendMC.getChildByName("CardMC") as MovieClip);
cardMC.gotoAndStop(1);
backBtn = (sentToFriendMC.getChildByName("BackBtn") as MovieClip);
copyBtn = (sentToFriendMC.getChildByName("CopyBtn") as MovieClip);
downBtn = (sentToFriendMC.getChildByName("DownBtn") as MovieClip);
upBtn = (sentToFriendMC.getChildByName("UpBtn") as MovieClip);
moreGameBtn = (sentToFriendMC.getChildByName("MoreGameBtn") as MovieClip);
wishTxt = (sentToFriendMC.getChildByName("WishTxt") as TextField);
wishTxt.text = "";
nameTxt = (sentToFriendMC.getChildByName("NameTxt") as TextField);
nameTxt.text = "";
linkTxt = (sentToFriendMC.getChildByName("LinkTxt") as TextField);
};
};
}
private function initClass(){
}
public function changeCard(_arg1:int){
cardMC.gotoAndStop(_arg1);
}
private function moreGame(_arg1:MouseEvent){
Handler.click_sendtofriend_moregame();
}
private function initEvent(){
if (pageMode == "receive"){
startGameBtn.addEventListener(MouseEvent.CLICK, startGameBtnClick);
moreGameBtn.addEventListener(MouseEvent.CLICK, moreGame);
} else {
if (pageMode == "sent"){
backBtn.addEventListener(MouseEvent.CLICK, backBtnClick);
copyBtn.addEventListener(MouseEvent.CLICK, copyBtnClick);
downBtn.addEventListener(MouseEvent.CLICK, changeCardBtnClick);
upBtn.addEventListener(MouseEvent.CLICK, changeCardBtnClick);
moreGameBtn.addEventListener(MouseEvent.CLICK, moreGame);
wishTxt.addEventListener(Event.CHANGE, textIsChanging);
nameTxt.addEventListener(Event.CHANGE, textIsChanging);
};
};
}
}
}//package GameFile
Section 106
//SoundsManager (GameFile.SoundsManager)
package GameFile {
import flash.utils.*;
import flash.events.*;
import flash.media.*;
public class SoundsManager {
private const VALUE_FADE:Number = 0.02;
private var fadeInTimer:Timer;
private var curMusic_sc:SoundChannel;
public var loopMusicName:String;
private var curMusic_so:Sound;
private var valueSound:Number;
private var valueGroupSound:Number;
private var curMusic_st:String;
private var fadeTimes:int;
private var fadeInLabel:String;
private var valueMusic:Number;
private var fadeOutTimer:Timer;
private var enabled:Boolean;
private var soundArr:Array;
private var currGroupSoundId:int;
private var loopMusicVolume:Number;
private var loopMusic_sc:SoundChannel;// = null
private var groupSoundArr:Array;
private var loopMusic_so:Sound;
private var pausePos:Number;
private static var instance:SoundsManager;
public function SoundsManager(){
loopMusic_sc = null;
super();
init();
}
private function initGroupSound():void{
var _local1:Object;
_local1 = groupSoundArr[currGroupSoundId];
_local1["soundChannel"] = _local1["sound"].play(0, 0, new SoundTransform(valueGroupSound));
initGroupSoundChannelEvent(_local1["soundChannel"]);
}
public function set ValueSound(_arg1:Number):void{
var _local2:int;
valueSound = _arg1;
if (soundArr != null){
_local2 = 0;
while (_local2 < soundArr.length) {
soundArr[_local2]["soundChannel"].soundTransform.volume = _arg1;
_local2++;
};
};
}
private function stopFadeIn():void{
curMusic_sc.soundTransform.volume = valueMusic;
delFadeInTimer();
}
public function set ValueGroupSound(_arg1:Number):void{
valueGroupSound = _arg1;
if (groupSoundArr != null){
groupSoundArr[currGroupSoundId]["soundChannel"].soundTransform.volume = _arg1;
};
}
public function playLoopMusic(_arg1:String, _arg2:Number){
if (enabled){
loopMusicName = _arg1;
loopMusicVolume = _arg2;
if (loopMusic_sc == null){
loopMusic_so = AttachTool.attachSoundFormLibrary(loopMusicName);
};
initLoopMusic();
};
}
public function get ValueGroupSound():Number{
return (valueGroupSound);
}
public function get FadeTimes():int{
return (fadeTimes);
}
public function fadeOutMusic():void{
if (curMusic_sc != null){
startFadeOut();
};
}
public function set FadeTimes(_arg1:int):void{
fadeTimes = _arg1;
}
public function stopAllSound():void{
var _local1:int;
_local1 = 0;
while (_local1 < soundArr.length) {
delSound(soundArr[_local1]["soundChannel"]);
_local1++;
};
}
private function addSoundArr(_arg1:Object):void{
soundArr.push(_arg1);
}
public function overOldSound(_arg1:String, _arg2:Number, _arg3:int=0):void{
var _local4:Boolean;
var _local5:Object;
var _local6:int;
if (enabled){
_local4 = false;
_local6 = 0;
while (_local6 < soundArr.length) {
_local5 = soundArr[_local6];
if (_local5["label"] == _arg1){
_local4 = true;
break;
};
_local6++;
};
if (_local4){
delSound(_local5["soundChannel"]);
};
playSound(_arg1, _arg2, _arg3);
};
}
private function init():void{
FadeTimes = (1000 * 4);
Enabled = true;
ValueMusic = 1;
ValueSound = 1;
valueGroupSound = 1;
soundArr = new Array();
groupSoundArr = new Array();
}
private function startFadeIn(_arg1:String):void{
initMusic(_arg1, 0);
initFadeInTimer();
}
public function set ValueMusic(_arg1:Number):void{
valueMusic = _arg1;
if (curMusic_sc != null){
curMusic_sc.soundTransform.volume = _arg1;
};
}
public function getLoopMusic(_arg1:String){
loopMusicName = _arg1;
}
public function stopSound(_arg1:String):void{
var _local2:Object;
var _local3:int;
_local3 = 0;
while (_local3 < soundArr.length) {
_local2 = soundArr[_local3];
if (_local2["label"] == _arg1){
delSound(_local2["soundChannel"]);
break;
};
_local3++;
};
}
private function delSoundChannelEvent(_arg1:SoundChannel):void{
_arg1.removeEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
}
public function get Enabled():Boolean{
return (enabled);
}
private function delGroupSoundChannelEvent(_arg1:SoundChannel):void{
_arg1.removeEventListener(Event.SOUND_COMPLETE, groupSoundCompleteHandler);
}
private function initLoopMusic(){
loopMusic_sc = loopMusic_so.play(0, 0, new SoundTransform(loopMusicVolume));
loopMusic_sc.addEventListener(Event.SOUND_COMPLETE, musicPlayOver);
}
private function remSoundArr(_arg1:SoundChannel):void{
var _local2:Object;
var _local3:int;
_local3 = 0;
while (_local3 < soundArr.length) {
_local2 = soundArr[_local3];
if (_local2["soundChannel"] == _arg1){
_local2["soundChannel"].stop();
_local2["label"] = null;
_local2["sound"] = null;
_local2["soundChannel"] = null;
soundArr.splice(_local3, 1);
};
_local3++;
};
}
public function playSound(_arg1:String, _arg2:Number, _arg3:int=0):void{
if (enabled){
initSound(_arg1, _arg2, _arg3);
};
}
public function get ValueSound():Number{
return (valueSound);
}
public function overNewSound(_arg1:String, _arg2:Number, _arg3:int=0):void{
var _local4:Boolean;
var _local5:Object;
var _local6:int;
if (enabled){
_local4 = false;
_local6 = 0;
while (_local6 < soundArr.length) {
_local5 = soundArr[_local6];
if (_local5["label"] == _arg1){
_local4 = true;
break;
};
_local6++;
};
if (!_local4){
playSound(_arg1, _arg2, _arg3);
};
};
}
private function delSound(_arg1:SoundChannel):void{
delSoundChannelEvent(_arg1);
remSoundArr(_arg1);
}
private function fadeIn(_arg1:TimerEvent):void{
curMusic_sc.soundTransform.volume = (curMusic_sc.soundTransform.volume + VALUE_FADE);
if (curMusic_sc.soundTransform.volume >= valueMusic){
stopFadeIn();
};
}
public function set Enabled(_arg1:Boolean):void{
enabled = _arg1;
if (curMusic_st != null){
if (_arg1){
restartMusic();
} else {
pauseMusic();
stopAllSound();
};
};
}
public function stopMusic():void{
if (curMusic_sc != null){
delMusic();
};
}
public function pauseMusic():void{
if (curMusic_sc != null){
pausePos = curMusic_sc.position;
curMusic_sc.stop();
curMusic_sc = null;
};
}
private function stopFadeOut():void{
delFadeOutTimer();
delMusic();
if (fadeInLabel != null){
fadeInLabel = null;
initMusic(fadeInLabel, 0);
initFadeInTimer();
};
}
public function playMusic(_arg1:String, _arg2:Number):void{
if (enabled){
if (curMusic_sc != null){
stopMusic();
};
initMusic(_arg1, _arg2);
};
}
private function delGroupSound():void{
var _local1:Object;
_local1 = groupSoundArr[currGroupSoundId];
_local1["soundChannel"].stop();
_local1["soundChannel"] = null;
}
public function restartMusic():void{
curMusic_sc = curMusic_so.play(pausePos, int.MAX_VALUE, new SoundTransform(valueMusic));
if (curMusic_sc == null){
curMusic_sc = curMusic_so.play(1, int.MAX_VALUE, new SoundTransform(valueMusic));
};
pausePos = NaN;
}
public function overNewMusic(_arg1:String, _arg2:Number):void{
if (((!((curMusic_st == _arg1))) && (enabled))){
playMusic(_arg1, _arg2);
};
}
private function delMusic():void{
curMusic_sc.stop();
curMusic_st = null;
curMusic_so = null;
curMusic_sc = null;
}
private function delFadeOutTimer():void{
fadeOutTimer.removeEventListener(TimerEvent.TIMER, fadeOut);
fadeOutTimer = null;
}
private function initSound(_arg1:String, _arg2:Number, _arg3:int):void{
var _local4:Object;
_local4 = new Object();
_local4["label"] = _arg1;
_local4["sound"] = AttachTool.attachSoundFormLibrary(_arg1);
_local4["soundChannel"] = _local4["sound"].play(0, _arg3, new SoundTransform(_arg2));
initSoundChannelEvent(_local4["soundChannel"]);
addSoundArr(_local4);
}
private function musicPlayOver(_arg1:Event){
loopMusic_sc.removeEventListener(Event.SOUND_COMPLETE, musicPlayOver);
loopMusic_sc.stop();
loopMusic_sc = null;
playLoopMusic(loopMusicName, loopMusicVolume);
}
private function groupSoundCompleteHandler(_arg1:Event):void{
delGroupSound();
currGroupSoundId++;
if (currGroupSoundId == groupSoundArr.length){
currGroupSoundId = 0;
};
initGroupSound();
}
public function get ValueMusic():Number{
return (valueMusic);
}
public function fadeInMusic(_arg1:String):void{
if (enabled){
if (curMusic_sc != null){
startFadeOut();
fadeInLabel = _arg1;
} else {
startFadeIn(_arg1);
};
};
}
private function initSoundChannelEvent(_arg1:SoundChannel):void{
_arg1.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler);
}
public function setOneValueSound(_arg1:String, _arg2:Number):void{
var _local3:int;
_local3 = 0;
while (_local3 < soundArr.length) {
if (_arg1 == soundArr[_local3]["label"]){
soundArr[_local3]["soundChannel"].soundTransform.volume = _arg2;
};
_local3++;
};
}
private function fadeOut(_arg1:TimerEvent):void{
curMusic_sc.soundTransform.volume = (curMusic_sc.soundTransform.volume - VALUE_FADE);
if (curMusic_sc.soundTransform.volume <= 0){
stopFadeOut();
};
}
private function initFadeInTimer():void{
fadeInTimer = new Timer((fadeTimes / (valueMusic / VALUE_FADE)));
fadeInTimer.addEventListener(TimerEvent.TIMER, fadeIn);
fadeInTimer.start();
}
private function soundCompleteHandler(_arg1:Event):void{
delSound((_arg1.target as SoundChannel));
}
private function startFadeOut():void{
initFadeOutTimer();
}
public function stopGroupSound():void{
var _local1:Object;
if (groupSoundArr != null){
_local1 = groupSoundArr[currGroupSoundId];
if (_local1 != null){
delGroupSoundChannelEvent(_local1["soundChannel"]);
delGroupSound();
};
groupSoundArr = new Array();
currGroupSoundId = NaN;
};
}
private function initMusic(_arg1:String, _arg2:Number):void{
curMusic_st = _arg1;
curMusic_so = AttachTool.attachSoundFormLibrary(_arg1);
curMusic_sc = curMusic_so.play(0, int.MAX_VALUE, new SoundTransform(_arg2));
}
private function initGroupSoundChannelEvent(_arg1:SoundChannel):void{
_arg1.addEventListener(Event.SOUND_COMPLETE, groupSoundCompleteHandler);
}
private function delFadeInTimer():void{
fadeInTimer.removeEventListener(TimerEvent.TIMER, fadeIn);
fadeInTimer = null;
}
private function initFadeOutTimer():void{
fadeOutTimer = new Timer((fadeTimes / (valueMusic / VALUE_FADE)));
fadeOutTimer.addEventListener(TimerEvent.TIMER, fadeOut);
fadeOutTimer.start();
}
public function stopLoopMusic(){
if (enabled){
loopMusic_sc.removeEventListener(Event.SOUND_COMPLETE, musicPlayOver);
loopMusic_sc.stop();
loopMusicName = null;
loopMusic_so = null;
loopMusic_sc = null;
};
}
public static function getInstance():SoundsManager{
if (instance == null){
instance = new (SoundsManager);
};
return (instance);
}
}
}//package GameFile
Section 107
//StageSetting (GameFile.StageSetting)
package GameFile {
import flash.display.*;
public class StageSetting {
public function StageSetting(_arg1:Sprite){
_arg1.stage.stageFocusRect = false;
_arg1.stage.tabChildren = false;
_arg1.stage.focus = _arg1;
}
}
}//package GameFile
Section 108
//StringTool (GameFile.StringTool)
package GameFile {
import flash.display.*;
public class StringTool {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
public function StringTool(_arg1:MovieClip){
initStringTool(_arg1);
}
private function initProperty(){
}
private function initClass(){
}
private function initEvent(){
}
private function initElement(){
}
private function delClass(){
}
public function delStringTool(){
delEvent();
delClass();
}
private function initStringTool(_arg1:MovieClip){
Root = _arg1;
initClass();
initElement();
initEvent();
initProperty();
}
private function delEvent(){
}
private static function stringEncryp(_arg1:String, _arg2:int):String{
var _local3:String;
var _local4:int;
var _local5:int;
_local3 = "";
_local5 = 0;
while (_local5 < _arg1.length) {
_local4 = _arg1.charCodeAt(_local5);
if (_local4 == 32){
_local3 = (_local3 + " ");
} else {
_local3 = (_local3 + String.fromCharCode((_local4 + _arg2)));
};
_local5++;
};
return (_local3);
}
public static function stringToCode(_arg1:String):String{
var _local2:String;
_local2 = "";
_local2 = stringEncryp(_arg1, 80);
return (escape(_local2));
}
public static function codeToString(_arg1:String):String{
var _local2:String;
_local2 = _arg1;
if (_local2.indexOf("%") != -1){
_local2 = unescape(_local2);
} else {
_local2 = "";
};
_local2 = stringEncryp(_local2, -80);
return (_local2);
}
}
}//package GameFile
Section 109
//Upload (GameFile.Upload)
package GameFile {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
import net.*;
import flash.geom.*;
import net.upload.*;
import flash.text.*;
import flash.system.*;
public class Upload implements UploadListener {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
public var imageNameArr:Array;
private var imageNameTxt:TextField;
private var uploadMC_backBtn:MovieClip;
private var linkTxt:TextField;
private var uploadMC_viewGalleryBtn:MovieClip;
private var uploadSucceedMC_backBtn:MovieClip;
public var bigImageArr:Array;
public var smallImageArr:Array;
private var yourNameTxt:TextField;
public var imageLinkArr:Array;
private var warringUpload:MovieClip;
public var xmlList:XMLList;
private var uploadMC:MovieClip;
private var uploadSucceedMC:MovieClip;
private var cookie:Cookie;
private var smallImageData:BitmapData;
private var uploader:Uploader;
public var imageTitleArr:Array;
private var viewBtn:MovieClip;
private var uploadLoseMC_backBtn:MovieClip;
private var bigImageData:BitmapData;
private var download:Download;
private var uploadingMC:MovieClip;
private var warringNameMC:MovieClip;
private var gameName:String;
private var copyBtn:MovieClip;
private var warringTitleMC:MovieClip;
private var uploadLoseMC_tryAgainBtn:MovieClip;
public var imageIDArr:Array;
private var uploadLoseMC:MovieClip;
private var txtArr;
private var loadBigImage_m:LoadBigImage_m;
private var warringUpload_backBtn:MovieClip;
private var uploadMC_okBtn:MovieClip;
public var imageDateArr:Array;
public function Upload(_arg1:Array, _arg2:Array, _arg3:Array, _arg4:Array, _arg5:Array, _arg6:Array, _arg7:Array, _arg8:XMLList){
txtArr = new Array("EDIT TEXT", "EDIT TEXT", "ANDERE TEKST", "ÉDITER LE TEXTE", "TEXT BEARBEITEN", "EDITAR TEXTO", "EDITAR TEXTO", "EDITAR TEXTO", "MODIFICA IL TESTO", "ÄNDRA TEXT", "EDYTUJ TEKST", "ИЗМЕНИТЬ ТЕКСТ", "MEMPERBAIKI TEKS", "テキストを編集する", "编辑内容");
bigImageArr = new Array();
smallImageArr = new Array();
imageTitleArr = new Array();
imageNameArr = new Array();
imageDateArr = new Array();
imageIDArr = new Array();
imageLinkArr = new Array();
super();
bigImageArr = _arg1;
smallImageArr = _arg2;
imageTitleArr = _arg3;
imageNameArr = _arg4;
imageDateArr = _arg5;
imageIDArr = _arg6;
imageLinkArr = _arg7;
xmlList = _arg8;
initUpload();
}
private function closeWarring(_arg1:Event){
if (_arg1.target.name == "ImageNameTxt"){
warringTitleMC.visible = false;
warringTitleMC.gotoAndStop(1);
} else {
if (_arg1.target.name == "YourNameTxt"){
warringNameMC.visible = false;
warringNameMC.gotoAndStop(1);
};
};
}
private function initProperty(){
gameName = GameInformation.instance.gameName;
}
private function showImageList(){
download = new Download(uploadMC, xmlList, bigImageArr, smallImageArr, imageTitleArr, imageNameArr, imageDateArr, imageIDArr, imageLinkArr);
}
private function initUpload(){
initClass();
initElement();
initEvent();
initProperty();
}
private function delClass(){
}
private function initClass(){
cookie = new Cookie();
}
private function delEvent(){
uploadMC.removeEventListener("delLoadBigImage_m", delLoadBigImage_m);
}
public function failedHandler():void{
destroyUpload();
delUploadingMC();
createUploadLoseMC();
bigImageArr.splice(0, 1);
smallImageArr.splice(0, 1);
imageTitleArr.splice(0, 1);
imageNameArr.splice(0, 1);
imageDateArr.splice(0, 1);
}
private function showTheLink(_arg1:MouseEvent){
navigateToURL(new URLRequest(linkTxt.text), "_blank");
}
private function initEvent(){
}
public function createUploadMC(_arg1:MovieClip, _arg2:BitmapData){
var _local3:*;
var _local4:MovieClip;
bigImageData = _arg2;
smallImageData = _arg2;
uploadMC = new _UploadMC_();
_arg1.addChild(uploadMC);
uploadMC.x = (rootWidth / 2);
uploadMC.y = (rootHeight / 2);
uploadMC_okBtn = (uploadMC.getChildByName("OkBtn") as MovieClip);
uploadMC_backBtn = (uploadMC.getChildByName("BackBtn") as MovieClip);
imageNameTxt = (uploadMC.getChildByName("ImageNameTxt") as TextField);
yourNameTxt = (uploadMC.getChildByName("YourNameTxt") as TextField);
warringNameMC = (uploadMC.getChildByName("WarringNameMC") as MovieClip);
warringNameMC.visible = false;
warringNameMC.gotoAndStop(1);
warringTitleMC = (uploadMC.getChildByName("WarringTitleMC") as MovieClip);
warringTitleMC.visible = false;
warringTitleMC.gotoAndStop(1);
imageNameTxt.addEventListener(Event.CHANGE, closeWarring);
yourNameTxt.addEventListener(Event.CHANGE, closeWarring);
uploadMC_okBtn.addEventListener(MouseEvent.CLICK, uploadImage);
uploadMC_backBtn.addEventListener(MouseEvent.CLICK, backToGame);
trace(txtArr[(CountryInfo.instance.language - 1)]);
imageNameTxt.text = txtArr[(CountryInfo.instance.language - 1)];
yourNameTxt.text = txtArr[(CountryInfo.instance.language - 1)];
_local3 = new Bitmap(smallImageData);
_local4 = new MovieClip();
_local4.addChild(_local3);
uploadMC.addChild(_local4);
_local4.width = 268;
_local4.height = 195;
_local4.x = -227;
_local4.y = -79;
}
private function delUploadLoseMC(){
uploadLoseMC_backBtn.removeEventListener(MouseEvent.CLICK, backToGame);
uploadLoseMC_backBtn = null;
uploadLoseMC.parent.removeChild(uploadLoseMC);
uploadLoseMC = null;
}
private function delUploadMC(){
imageNameTxt.removeEventListener(Event.CHANGE, closeWarring);
yourNameTxt.removeEventListener(Event.CHANGE, closeWarring);
uploadMC_okBtn.removeEventListener(MouseEvent.CLICK, uploadImage);
uploadMC_backBtn.removeEventListener(MouseEvent.CLICK, backToGame);
uploadMC_okBtn = null;
uploadMC_backBtn = null;
imageNameTxt = null;
yourNameTxt = null;
uploadMC.parent.removeChild(uploadMC);
uploadMC = null;
}
private function delUploadingMC(){
uploadingMC.parent.removeChild(uploadingMC);
uploadingMC = null;
}
private function destroyUpload():void{
uploader.destroy();
uploader = null;
}
private function uploadImageMain(){
var _local1:Boolean;
var _local2:String;
var _local3:Number;
var _local4:*;
var _local5:MovieClip;
var _local6:*;
var _local7:Date;
_local1 = true;
trace("uploadImage");
trace("cookie=========================");
trace(cookie.outputTheDate());
trace(cookie.outputTodayImage());
trace("cookie=========================");
_local2 = new Date().toDateString();
if (_local2 != cookie.outputTheDate()){
cookie.setToday();
};
if (cookie.outputTodayImage() < 10){
if ((((yourNameTxt.text == "")) || ((yourNameTxt.text == txtArr[(CountryInfo.instance.language - 1)])))){
_local1 = false;
warringNameMC.visible = true;
warringNameMC.play();
};
if ((((imageNameTxt.text == "")) || ((imageNameTxt.text == txtArr[(CountryInfo.instance.language - 1)])))){
_local1 = false;
warringTitleMC.visible = true;
warringTitleMC.play();
};
if (_local1 == true){
cookie.addTodayImage();
_local3 = GameInformation.instance.imageSize;
_local4 = new Bitmap(bigImageData);
_local5 = new MovieClip();
_local5.addChild(_local4);
_local5.scaleX = _local3;
_local5.scaleY = _local3;
uploadMC.addChild(_local5);
_local6 = new Rectangle(0, 0, _local5.width, _local5.height);
smallImageData = BmpTool.cutoutBmpWithWidthAndHeight(uploadMC, _local5.width, _local5.height, _local6);
_local5.parent.removeChild(_local5);
createUploadingMC();
uploader = new Uploader(imageNameTxt.text, yourNameTxt.text, "", "", smallImageData, bigImageData, this);
bigImageArr.splice(0, 0, bigImageData);
smallImageArr.splice(0, 0, smallImageData);
imageTitleArr.splice(0, 0, imageNameTxt.text);
imageNameArr.splice(0, 0, yourNameTxt.text);
_local7 = new Date();
_local2 = ((((String(_local7.date) + "-") + String((_local7.month + 1))) + "-") + String(_local7.fullYear));
imageDateArr.splice(0, 0, _local2);
};
} else {
warringUpload = new _WarringUpload_();
uploadMC.addChild(warringUpload);
warringUpload_backBtn = (warringUpload.getChildByName("BackBtn") as MovieClip);
warringUpload_backBtn.addEventListener(MouseEvent.CLICK, backToGame);
};
}
private function tryAgainBtn(_arg1:MouseEvent){
delUploadLoseMC();
uploadImageMain();
}
private function createUploadSucceedMC(){
loadBigImage_m = new LoadBigImage_m(uploadMC, bigImageArr[0], smallImageArr[0], imageTitleArr[0], imageNameArr[0], imageDateArr[0], imageIDArr[0], imageLinkArr[0]);
}
private function initElement(){
}
private function backToGame(_arg1:MouseEvent){
trace("backToGame");
if (warringUpload != null){
warringUpload_backBtn.removeEventListener(MouseEvent.CLICK, backToGame);
warringUpload_backBtn = null;
warringUpload.parent.removeChild(warringUpload);
warringUpload = null;
};
uploadMC.dispatchEvent(new Event("delUploadMC_Upload", true));
}
private function copyTheLink(_arg1:MouseEvent){
System.setClipboard(linkTxt.text);
}
private function uploadImage(_arg1:MouseEvent){
uploadImageMain();
}
private function delUploadSucceedMC(){
loadBigImage_m.delLoadBigImage_m();
loadBigImage_m = null;
}
public function completeHandler(_arg1:int):void{
trace("上传成功");
trace(Data.instance.preview(_arg1));
destroyUpload();
delUploadingMC();
imageIDArr.splice(0, 0, _arg1);
imageLinkArr.splice(0, 0, String((CountryInfo.instance.domain + Data.instance.renderingAPI(_arg1))));
uploadMC.addEventListener("delLoadBigImage_m", delLoadBigImage_m);
createUploadSucceedMC();
trace(bigImageArr);
trace(smallImageArr);
trace(imageTitleArr);
trace(imageNameArr);
trace(imageDateArr);
trace(imageIDArr);
trace(imageLinkArr);
}
private function delLoadBigImage_m(_arg1:Event){
uploadMC.removeEventListener("delLoadBigImage_m", delLoadBigImage_m);
delUploadSucceedMC();
showImageList();
}
private function createUploadLoseMC(){
uploadLoseMC = new _UploadLoseMC_();
uploadMC.addChild(uploadLoseMC);
uploadLoseMC_backBtn = (uploadLoseMC.getChildByName("TryAgainBtn") as MovieClip);
uploadLoseMC_backBtn.addEventListener(MouseEvent.CLICK, backToGame);
}
public function delUpload(){
delEvent();
delClass();
if (uploadLoseMC != null){
delUploadLoseMC();
};
if (uploadSucceedMC != null){
delUploadSucceedMC();
};
if (uploadMC != null){
delUploadMC();
};
}
private function viewGallery(_arg1:MouseEvent){
showImageList();
}
private function createUploadingMC(){
uploadingMC = new _UploadingMC_();
uploadMC.addChild(uploadingMC);
}
}
}//package GameFile
Section 110
//Weather (GameFile.Weather)
package GameFile {
import flash.utils.*;
import flash.events.*;
import flash.display.*;
public class Weather {
private const rootWidth:int = 660;
private const rootHeight:int = 480;
private var Root:MovieClip;
private var snow:MovieClip;
private var newTimer:int;
private var snowScale:Array;
private var darkMC:MovieClip;
private var snowAngle:Array;
private var rainSpeed:Array;
private var rain:MovieClip;
private var levinMC:MovieClip;
private var snowStartX:Array;
private var rainLength:Array;
private var rainAngle:Array;
private var snowStartY:Array;
private var rainArr:Array;
private var snowSpeed:Array;
private var timer:Timer;
private var windyMC:MovieClip;
private var weatherType:String;
private var snowArr:Array;
private var rainStartX:Array;
private var rainStartY:Array;
private var sunshineMC:MovieClip;
public function Weather(){
initWeather();
}
public function createDark(){
weatherType = "dark";
darkMC = new _Dark_();
Root.addChild(darkMC);
darkMC.x = 0;
darkMC.y = 0;
darkMC.mouseChildren = false;
}
private function stopSnowing(){
var _local1:int;
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, createSnow);
Root.removeEventListener(Event.ENTER_FRAME, snowingMain);
_local1 = 0;
while (_local1 < snowArr.length) {
snowArr[_local1].parent.removeChild(snowArr[_local1]);
_local1++;
};
snowArr = [];
snowSpeed = [];
snowAngle = [];
snowScale = [];
snowStartX = [];
snowStartY = [];
}
public function stopWeather(){
switch (weatherType){
case "rain":
timer.stop();
Root.removeEventListener(Event.ENTER_FRAME, rainingMain);
break;
case "snow":
timer.stop();
Root.removeEventListener(Event.ENTER_FRAME, snowingMain);
break;
case "windy":
windyMC.stop();
break;
case "levin":
levinMC.stop();
break;
case "sunshine":
sunshineMC.stop();
break;
case "dark":
break;
};
}
private function rainingMain(_arg1:Event){
var _local2:int;
_local2 = 0;
while (_local2 < rainArr.length) {
rainStartX[_local2] = (rainStartX[_local2] - (rainSpeed[_local2] * Math.sin((rainAngle[_local2] * (Math.PI / 180)))));
rainStartY[_local2] = (rainStartY[_local2] + (rainSpeed[_local2] * Math.cos((rainAngle[_local2] * (Math.PI / 180)))));
rainArr[_local2].x = rainStartX[_local2];
rainArr[_local2].y = rainStartY[_local2];
if ((((rainArr[_local2].x <= -20)) || ((rainArr[_local2].y >= 500)))){
rainArr[_local2].parent.removeChild(rainArr[_local2]);
rainArr.splice(_local2, 1);
rainLength.splice(_local2, 1);
rainSpeed.splice(_local2, 1);
rainStartX.splice(_local2, 1);
rainStartY.splice(_local2, 1);
rainAngle.splice(_local2, 1);
};
_local2++;
};
}
public function playWeather(){
switch (weatherType){
case "rain":
timer.start();
Root.addEventListener(Event.ENTER_FRAME, rainingMain);
break;
case "snow":
timer.start();
Root.addEventListener(Event.ENTER_FRAME, snowingMain);
break;
case "windy":
windyMC.play();
break;
case "levin":
levinMC.play();
break;
case "sunshine":
sunshineMC.play();
break;
case "dark":
break;
};
}
private function delWindy(){
windyMC.parent.removeChild(windyMC);
windyMC = null;
}
private function createRain(_arg1:TimerEvent){
rain = new _Rain_();
Root.addChild(rain);
rainLength.push(MathTool.randomInt(50, 100));
rainAngle.push(MathTool.randomInt(35, 40));
rainSpeed.push(MathTool.randomInt(30, 40));
rainStartX.push(MathTool.randomInt(0, (rootWidth + (rootWidth / 2))));
rainStartY.push((-20 - MathTool.randomInt(0, 30)));
rain.height = rainLength[(rainLength.length - 1)];
rain.rotation = rainAngle[(rainAngle.length - 1)];
rain.x = rainStartX[(rainStartX.length - 1)];
rain.y = rainStartY[(rainStartY.length - 1)];
rainArr.push(rain);
}
private function delDark(){
darkMC.parent.removeChild(darkMC);
darkMC = null;
}
public function delWeatherMC(){
switch (weatherType){
case "rain":
stopRaining();
break;
case "snow":
stopSnowing();
break;
case "windy":
delWindy();
break;
case "levin":
delLevin();
break;
case "sunshine":
delSunshine();
break;
case "dark":
delDark();
break;
};
weatherType = "null";
}
private function createSnow(_arg1:TimerEvent){
snow = new _Snow_();
Root.addChild(snow);
snowAngle.push(MathTool.randomInt(-40, 40));
snowScale.push(Number((MathTool.randomInt(2, 10) / 10)));
snowSpeed.push((7 * snowScale[(snowScale.length - 1)]));
snowStartX.push(MathTool.randomInt(0, rootWidth));
snowStartY.push(MathTool.randomInt(0, -10));
snow.x = snowStartX[(snowStartX.length - 1)];
snow.y = snowStartY[(snowStartY.length - 1)];
snow.scaleX = snowScale[(snowScale.length - 1)];
snow.scaleY = snowScale[(snowScale.length - 1)];
snowArr.push(snow);
}
public function createSunshine(){
weatherType = "sunshine";
sunshineMC = new _SunshineMC_();
Root.addChild(sunshineMC);
sunshineMC.x = 0;
sunshineMC.y = 0;
}
private function initWeather(){
initClass();
initElement();
initEvent();
initProperty();
}
public function createRainMC(){
weatherType = "rain";
newTimer = 5;
timer = new Timer(newTimer);
timer.addEventListener(TimerEvent.TIMER, createRain);
timer.start();
}
private function initClass(){
}
private function delSunshine(){
sunshineMC.parent.removeChild(sunshineMC);
sunshineMC = null;
}
private function initProperty(){
weatherType = "null";
rainArr = new Array();
rainLength = new Array();
rainAngle = new Array();
rainSpeed = new Array();
rainStartX = new Array();
rainStartY = new Array();
snowArr = new Array();
snowSpeed = new Array();
snowAngle = new Array();
snowScale = new Array();
snowStartX = new Array();
snowStartY = new Array();
}
private function initElement(){
}
private function delClass(){
}
public function raining(){
Root.addEventListener(Event.ENTER_FRAME, rainingMain);
}
public function getRoot(_arg1:MovieClip){
Root = _arg1;
}
private function delLevin(){
levinMC.parent.removeChild(levinMC);
levinMC = null;
}
public function createWindy(){
weatherType = "windy";
windyMC = new _WindyMC_();
Root.addChild(windyMC);
windyMC.x = 0;
windyMC.y = 0;
}
private function snowingMain(_arg1:Event){
var _local2:int;
_local2 = 0;
while (_local2 < snowArr.length) {
snowStartX[_local2] = (snowStartX[_local2] + (snowSpeed[_local2] * Math.sin((snowAngle[_local2] * (Math.PI / 180)))));
snowStartY[_local2] = (snowStartY[_local2] + (snowSpeed[_local2] * Math.cos((snowAngle[_local2] * (Math.PI / 180)))));
snowArr[_local2].x = snowStartX[_local2];
snowArr[_local2].y = snowStartY[_local2];
if ((((((snowArr[_local2].x > (rootWidth + snowArr[_local2].width))) || ((snowArr[_local2].x < (0 - snowArr[_local2].width))))) || ((snowArr[_local2].y > (rootHeight + snowArr[_local2].height))))){
snowArr[_local2].parent.removeChild(snowArr[_local2]);
snowArr.splice(_local2, 1);
snowAngle.splice(_local2, 1);
snowScale.splice(_local2, 1);
snowSpeed.splice(_local2, 1);
snowStartX.splice(_local2, 1);
snowStartY.splice(_local2, 1);
};
_local2++;
};
}
public function createLevin(){
weatherType = "levin";
levinMC = new _LevinMC_();
Root.addChild(levinMC);
}
private function delEvent(){
}
public function delWeather(){
delEvent();
delClass();
}
private function stopRaining(){
var _local1:int;
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, createRain);
Root.removeEventListener(Event.ENTER_FRAME, rainingMain);
_local1 = 0;
while (_local1 < rainArr.length) {
rainArr[_local1].parent.removeChild(rainArr[_local1]);
_local1++;
};
rainArr = [];
rainLength = [];
rainAngle = [];
rainSpeed = [];
rainStartX = [];
rainStartY = [];
}
private function initEvent(){
}
public function createSnowMC(){
weatherType = "snow";
newTimer = 5;
timer = new Timer(newTimer);
timer.addEventListener(TimerEvent.TIMER, createSnow);
timer.start();
}
public function snowing(){
Root.addEventListener(Event.ENTER_FRAME, snowingMain);
}
}
}//package GameFile
Section 111
//WindowObj (GameFile.WindowObj)
package GameFile {
import flash.events.*;
import flash.display.*;
public class WindowObj extends MovieClip {
private const rootWidth:int = 660;
private const itemBtnMaxNum:int = 6;
private const colorMaterialNum:int = 7;
private const itemBtnMinNum:int = 1;
private const rootHeight:int = 480;
private const drawNum:int = 8;
private var Root:MovieClip;
private var helpMode:String;
private var drawPage:DrawPage;
public var thisName:String;
private var helpBtn:MovieClip;
private var closeBtn:MovieClip;
private var colorMaterialPage:ColorMaterialPage;
private var itemPage:ItemPage;
private var windowMC:MovieClip;
private var dragMC:MovieClip;
private var c_btnNum:int;
private static var drag_startX:Number;
private static var drag_startY:Number;
public function WindowObj(_arg1:int){
initWindowObj(_arg1);
}
private function initProperty(){
}
private function attachItem(_arg1:MovieClip, _arg2:int){
itemPage = new ItemPage(_arg1, _arg2);
}
public function delWindowObj(){
delEvent();
delClass();
closeBtn = null;
}
public function create(){
if ((((c_btnNum >= itemBtnMinNum)) && ((c_btnNum <= itemBtnMaxNum)))){
attachItem(windowMC, c_btnNum);
thisName = ("Window" + String(c_btnNum));
this.name = ("Window" + String(c_btnNum));
} else {
if (c_btnNum == colorMaterialNum){
attachColorMaterial(windowMC);
thisName = "WindowColor";
this.name = "WindowColor";
} else {
if (c_btnNum == drawNum){
attachDraw(windowMC);
thisName = "WindowDraw";
this.name = "WindowDraw";
};
};
};
SoundsManager.getInstance().playSound("_Sound_PopMenu_", 1, 0);
trace("_Sound_PopMenu_");
}
private function attachDraw(_arg1:MovieClip){
drawPage = new DrawPage(_arg1);
}
private function delClass(){
}
private function getCurrentlyWindow(_arg1:MouseEvent){
InGame.c_windowName = thisName;
_arg1.target.dispatchEvent(new Event("getCurrentlyWindow_WindowObj", true));
}
private function initClass(){
}
private function attachColorMaterial(_arg1:MovieClip){
colorMaterialPage = new ColorMaterialPage(_arg1);
}
private function windowDrag(_arg1:MouseEvent){
this.x = (this.x + (MouseClass.c_x - drag_startX));
this.y = (this.y + (MouseClass.c_y - drag_startY));
drag_startX = MouseClass.c_x;
drag_startY = MouseClass.c_y;
}
private function endDrag(_arg1:MouseEvent){
this.stage.removeEventListener(MouseEvent.MOUSE_UP, endDrag);
this.stage.removeEventListener(MouseEvent.MOUSE_MOVE, windowDrag);
dragMC.addEventListener(MouseEvent.MOUSE_DOWN, startDragTheWindow, false, 0, true);
drag_startX = 0;
drag_startY = 0;
}
private function initEvent(){
dragMC.addEventListener(MouseEvent.MOUSE_DOWN, getCurrentlyWindow, false, 0, true);
dragMC.addEventListener(MouseEvent.MOUSE_DOWN, startDragTheWindow, false, 0, true);
closeBtn.addEventListener(MouseEvent.CLICK, closeTheWindow, false, 0, true);
helpBtn.addEventListener(MouseEvent.CLICK, showHowToPlayPage, false, 0, true);
}
private function initWindowObj(_arg1:int){
c_btnNum = _arg1;
initClass();
initElement();
initEvent();
initProperty();
}
private function startDragTheWindow(_arg1:MouseEvent){
dragMC.removeEventListener(MouseEvent.MOUSE_DOWN, startDragTheWindow);
this.stage.addEventListener(MouseEvent.MOUSE_UP, endDrag);
this.stage.addEventListener(MouseEvent.MOUSE_MOVE, windowDrag);
drag_startX = MouseClass.c_x;
drag_startY = MouseClass.c_y;
}
private function closeTheWindow(_arg1:MouseEvent){
if ((((c_btnNum == colorMaterialNum)) || ((c_btnNum == drawNum)))){
_arg1.target.dispatchEvent(new Event("endEditAndResetSet", true));
};
_arg1.target.dispatchEvent(new Event("delWindow", true));
}
private function delEvent(){
dragMC.removeEventListener(MouseEvent.MOUSE_DOWN, getCurrentlyWindow);
dragMC.removeEventListener(MouseEvent.MOUSE_DOWN, startDragTheWindow);
closeBtn.removeEventListener(MouseEvent.CLICK, closeTheWindow);
helpBtn.removeEventListener(MouseEvent.CLICK, showHowToPlayPage);
}
private function initElement(){
windowMC = new MovieClip();
this.addChild(windowMC);
if ((((c_btnNum >= itemBtnMinNum)) && ((c_btnNum <= itemBtnMaxNum)))){
dragMC = new _ItemPage_();
windowMC.addChild(dragMC);
} else {
if ((((c_btnNum == colorMaterialNum)) || ((c_btnNum == drawNum)))){
dragMC = new _EditPage_();
windowMC.addChild(dragMC);
if (c_btnNum == colorMaterialNum){
helpMode = "color";
dragMC.name = "ColorEditPage";
} else {
if (c_btnNum == drawNum){
helpMode = "draw";
dragMC.name = "DrawEditPage";
};
};
};
};
if (dragMC != null){
helpBtn = (dragMC.getChildByName("HelpBtn") as MovieClip);
closeBtn = (dragMC.getChildByName("CloseBtn") as MovieClip);
if ((((c_btnNum >= itemBtnMinNum)) && ((c_btnNum <= itemBtnMaxNum)))){
helpBtn.visible = false;
};
};
}
private function showHowToPlayPage(_arg1:MouseEvent){
if (helpMode == "color"){
dragMC.dispatchEvent(new Event("showHowToPlay", true));
} else {
if (helpMode == "draw"){
dragMC.dispatchEvent(new Event("showHowToPlay", true));
};
};
}
}
}//package GameFile
Section 112
//baickground_1_color1_1563 (My_New_Town_fla.baickground_1_color1_1563)
package My_New_Town_fla {
import flash.display.*;
public dynamic class baickground_1_color1_1563 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 113
//baickground_2_color1_1575 (My_New_Town_fla.baickground_2_color1_1575)
package My_New_Town_fla {
import flash.display.*;
public dynamic class baickground_2_color1_1575 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 114
//BgBtnMC_1760 (My_New_Town_fla.BgBtnMC_1760)
package My_New_Town_fla {
import flash.display.*;
public dynamic class BgBtnMC_1760 extends MovieClip {
public var BgDownBtn:_downPageBtn_;
public var BgUpBtn:_upPageBtn_;
public var BgMC:MovieClip;
}
}//package My_New_Town_fla
Section 115
//bike_1_nocolor_778 (My_New_Town_fla.bike_1_nocolor_778)
package My_New_Town_fla {
import flash.display.*;
public dynamic class bike_1_nocolor_778 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 116
//bike_1_nocolor_782 (My_New_Town_fla.bike_1_nocolor_782)
package My_New_Town_fla {
import flash.display.*;
public dynamic class bike_1_nocolor_782 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 117
//bike_791 (My_New_Town_fla.bike_791)
package My_New_Town_fla {
import flash.display.*;
public dynamic class bike_791 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 118
//bike_795 (My_New_Town_fla.bike_795)
package My_New_Town_fla {
import flash.display.*;
public dynamic class bike_795 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 119
//boat_3_nocolor_704 (My_New_Town_fla.boat_3_nocolor_704)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boat_3_nocolor_704 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 120
//boat_3_nocolor_709 (My_New_Town_fla.boat_3_nocolor_709)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boat_3_nocolor_709 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 121
//boat1_nocolor_674 (My_New_Town_fla.boat1_nocolor_674)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boat1_nocolor_674 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 122
//boat1_nocolor_679 (My_New_Town_fla.boat1_nocolor_679)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boat1_nocolor_679 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 123
//boat2_nocolor_689 (My_New_Town_fla.boat2_nocolor_689)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boat2_nocolor_689 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 124
//boat2_nocolor_694 (My_New_Town_fla.boat2_nocolor_694)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boat2_nocolor_694 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 125
//boy_1_nocolor_978 (My_New_Town_fla.boy_1_nocolor_978)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boy_1_nocolor_978 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 126
//boy_1_nocolor_982 (My_New_Town_fla.boy_1_nocolor_982)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boy_1_nocolor_982 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 127
//boy_4_nocolor_991 (My_New_Town_fla.boy_4_nocolor_991)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boy_4_nocolor_991 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 128
//boy_4_nocolor_995 (My_New_Town_fla.boy_4_nocolor_995)
package My_New_Town_fla {
import flash.display.*;
public dynamic class boy_4_nocolor_995 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 129
//bus_nocolor_719 (My_New_Town_fla.bus_nocolor_719)
package My_New_Town_fla {
import flash.display.*;
public dynamic class bus_nocolor_719 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 130
//bus_nocolor_724 (My_New_Town_fla.bus_nocolor_724)
package My_New_Town_fla {
import flash.display.*;
public dynamic class bus_nocolor_724 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 131
//car_2_nocolor_749 (My_New_Town_fla.car_2_nocolor_749)
package My_New_Town_fla {
import flash.display.*;
public dynamic class car_2_nocolor_749 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 132
//car_2_nocolor_754 (My_New_Town_fla.car_2_nocolor_754)
package My_New_Town_fla {
import flash.display.*;
public dynamic class car_2_nocolor_754 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 133
//car1_nocolor_764 (My_New_Town_fla.car1_nocolor_764)
package My_New_Town_fla {
import flash.display.*;
public dynamic class car1_nocolor_764 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 134
//car1_nocolor_769 (My_New_Town_fla.car1_nocolor_769)
package My_New_Town_fla {
import flash.display.*;
public dynamic class car1_nocolor_769 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 135
//CardMC_1846 (My_New_Town_fla.CardMC_1846)
package My_New_Town_fla {
import flash.display.*;
public dynamic class CardMC_1846 extends MovieClip {
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 136
//ChooseColorBtn_1728 (My_New_Town_fla.ChooseColorBtn_1728)
package My_New_Town_fla {
import flash.display.*;
public dynamic class ChooseColorBtn_1728 extends MovieClip {
public var Color:MovieClip;
}
}//package My_New_Town_fla
Section 137
//DownloadText_2045 (My_New_Town_fla.DownloadText_2045)
package My_New_Town_fla {
import flash.display.*;
import flash.text.*;
public dynamic class DownloadText_2045 extends MovieClip {
public var Txt:TextField;
}
}//package My_New_Town_fla
Section 138
//ET_nocolor_1410 (My_New_Town_fla.ET_nocolor_1410)
package My_New_Town_fla {
import flash.display.*;
public dynamic class ET_nocolor_1410 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 139
//ET_nocolor_1414 (My_New_Town_fla.ET_nocolor_1414)
package My_New_Town_fla {
import flash.display.*;
public dynamic class ET_nocolor_1414 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 140
//etroom_1_color1_1388 (My_New_Town_fla.etroom_1_color1_1388)
package My_New_Town_fla {
import flash.display.*;
public dynamic class etroom_1_color1_1388 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 141
//etroom_1_color2_1390 (My_New_Town_fla.etroom_1_color2_1390)
package My_New_Town_fla {
import flash.display.*;
public dynamic class etroom_1_color2_1390 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 142
//etroom_1_color3_1392 (My_New_Town_fla.etroom_1_color3_1392)
package My_New_Town_fla {
import flash.display.*;
public dynamic class etroom_1_color3_1392 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 143
//etroom_1_color4_1394 (My_New_Town_fla.etroom_1_color4_1394)
package My_New_Town_fla {
import flash.display.*;
public dynamic class etroom_1_color4_1394 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 144
//etroom_1_color5_1396 (My_New_Town_fla.etroom_1_color5_1396)
package My_New_Town_fla {
import flash.display.*;
public dynamic class etroom_1_color5_1396 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 145
//etroom_1_nocolor_1398 (My_New_Town_fla.etroom_1_nocolor_1398)
package My_New_Town_fla {
import flash.display.*;
public dynamic class etroom_1_nocolor_1398 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 146
//f1_1010 (My_New_Town_fla.f1_1010)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1010 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 147
//f1_1023 (My_New_Town_fla.f1_1023)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1023 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 148
//f1_1036 (My_New_Town_fla.f1_1036)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1036 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 149
//f1_1049 (My_New_Town_fla.f1_1049)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1049 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 150
//f1_1062 (My_New_Town_fla.f1_1062)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1062 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 151
//f1_107 (My_New_Town_fla.f1_107)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_107 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 152
//f1_1075 (My_New_Town_fla.f1_1075)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1075 extends MovieClip {
public var line:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 153
//f1_1081 (My_New_Town_fla.f1_1081)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1081 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 154
//f1_1108 (My_New_Town_fla.f1_1108)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1108 extends MovieClip {
public var line:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 155
//f1_1123 (My_New_Town_fla.f1_1123)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1123 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 156
//f1_1140 (My_New_Town_fla.f1_1140)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1140 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 157
//f1_1155 (My_New_Town_fla.f1_1155)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1155 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 158
//f1_1170 (My_New_Town_fla.f1_1170)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1170 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 159
//f1_1185 (My_New_Town_fla.f1_1185)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1185 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 160
//f1_1199 (My_New_Town_fla.f1_1199)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1199 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 161
//f1_1211 (My_New_Town_fla.f1_1211)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1211 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 162
//f1_1226 (My_New_Town_fla.f1_1226)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1226 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 163
//f1_1241 (My_New_Town_fla.f1_1241)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1241 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 164
//f1_1258 (My_New_Town_fla.f1_1258)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1258 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 165
//f1_1273 (My_New_Town_fla.f1_1273)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1273 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 166
//f1_1288 (My_New_Town_fla.f1_1288)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1288 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 167
//f1_1303 (My_New_Town_fla.f1_1303)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1303 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 168
//f1_1318 (My_New_Town_fla.f1_1318)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1318 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 169
//f1_1324 (My_New_Town_fla.f1_1324)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1324 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 170
//f1_1347 (My_New_Town_fla.f1_1347)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1347 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 171
//f1_1360 (My_New_Town_fla.f1_1360)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1360 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 172
//f1_1380 (My_New_Town_fla.f1_1380)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1380 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 173
//f1_1403 (My_New_Town_fla.f1_1403)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1403 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 174
//f1_1416 (My_New_Town_fla.f1_1416)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1416 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 175
//f1_1429 (My_New_Town_fla.f1_1429)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1429 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 176
//f1_1442 (My_New_Town_fla.f1_1442)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1442 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 177
//f1_1455 (My_New_Town_fla.f1_1455)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1455 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 178
//f1_1465 (My_New_Town_fla.f1_1465)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1465 extends MovieClip {
public var color1:MovieClip;
}
}//package My_New_Town_fla
Section 179
//f1_1468 (My_New_Town_fla.f1_1468)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1468 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 180
//f1_1478 (My_New_Town_fla.f1_1478)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1478 extends MovieClip {
public var color1:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 181
//f1_1499 (My_New_Town_fla.f1_1499)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1499 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 182
//f1_150 (My_New_Town_fla.f1_150)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_150 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 183
//f1_1514 (My_New_Town_fla.f1_1514)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1514 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 184
//f1_1531 (My_New_Town_fla.f1_1531)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1531 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 185
//f1_1554 (My_New_Town_fla.f1_1554)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1554 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 186
//f1_1568 (My_New_Town_fla.f1_1568)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1568 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 187
//f1_1580 (My_New_Town_fla.f1_1580)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1580 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 188
//f1_1593 (My_New_Town_fla.f1_1593)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_1593 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 189
//f1_189 (My_New_Town_fla.f1_189)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_189 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 190
//f1_234 (My_New_Town_fla.f1_234)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_234 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 191
//f1_263 (My_New_Town_fla.f1_263)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_263 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 192
//f1_278 (My_New_Town_fla.f1_278)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_278 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 193
//f1_315 (My_New_Town_fla.f1_315)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_315 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 194
//f1_33 (My_New_Town_fla.f1_33)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_33 extends MovieClip {
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 195
//f1_340 (My_New_Town_fla.f1_340)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_340 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 196
//f1_367 (My_New_Town_fla.f1_367)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_367 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 197
//f1_397 (My_New_Town_fla.f1_397)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_397 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color8:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var color9:MovieClip;
public var nocolor:MovieClip;
public var color10:MovieClip;
}
}//package My_New_Town_fla
Section 198
//f1_440 (My_New_Town_fla.f1_440)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_440 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 199
//f1_473 (My_New_Town_fla.f1_473)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_473 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 200
//f1_510 (My_New_Town_fla.f1_510)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_510 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 201
//f1_535 (My_New_Town_fla.f1_535)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_535 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 202
//f1_552 (My_New_Town_fla.f1_552)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_552 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 203
//f1_571 (My_New_Town_fla.f1_571)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_571 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 204
//f1_587 (My_New_Town_fla.f1_587)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_587 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 205
//f1_620 (My_New_Town_fla.f1_620)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_620 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 206
//f1_651 (My_New_Town_fla.f1_651)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_651 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color8:MovieClip;
public var color2:MovieClip;
public var color7:MovieClip;
public var color9:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 207
//f1_666 (My_New_Town_fla.f1_666)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_666 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 208
//f1_681 (My_New_Town_fla.f1_681)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_681 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 209
//f1_692 (My_New_Town_fla.f1_692)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_692 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 210
//f1_706 (My_New_Town_fla.f1_706)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_706 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 211
//f1_72 (My_New_Town_fla.f1_72)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_72 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 212
//f1_726 (My_New_Town_fla.f1_726)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_726 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 213
//f1_741 (My_New_Town_fla.f1_741)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_741 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 214
//f1_752 (My_New_Town_fla.f1_752)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_752 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 215
//f1_771 (My_New_Town_fla.f1_771)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_771 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 216
//f1_784 (My_New_Town_fla.f1_784)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_784 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 217
//f1_797 (My_New_Town_fla.f1_797)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_797 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 218
//f1_814 (My_New_Town_fla.f1_814)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_814 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 219
//f1_836 (My_New_Town_fla.f1_836)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_836 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 220
//f1_861 (My_New_Town_fla.f1_861)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_861 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 221
//f1_876 (My_New_Town_fla.f1_876)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_876 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 222
//f1_893 (My_New_Town_fla.f1_893)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_893 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 223
//f1_910 (My_New_Town_fla.f1_910)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_910 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 224
//f1_916 (My_New_Town_fla.f1_916)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_916 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 225
//f1_958 (My_New_Town_fla.f1_958)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_958 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 226
//f1_971 (My_New_Town_fla.f1_971)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_971 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 227
//f1_984 (My_New_Town_fla.f1_984)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_984 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 228
//f1_997 (My_New_Town_fla.f1_997)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f1_997 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 229
//f2_1007 (My_New_Town_fla.f2_1007)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1007 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 230
//f2_1020 (My_New_Town_fla.f2_1020)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1020 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 231
//f2_1033 (My_New_Town_fla.f2_1033)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1033 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 232
//f2_1048 (My_New_Town_fla.f2_1048)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1048 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 233
//f2_1061 (My_New_Town_fla.f2_1061)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1061 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 234
//f2_1074 (My_New_Town_fla.f2_1074)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1074 extends MovieClip {
public var line:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 235
//f2_1103 (My_New_Town_fla.f2_1103)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1103 extends MovieClip {
public var line:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 236
//f2_1122 (My_New_Town_fla.f2_1122)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1122 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 237
//f2_1139 (My_New_Town_fla.f2_1139)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1139 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 238
//f2_1154 (My_New_Town_fla.f2_1154)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1154 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 239
//f2_1169 (My_New_Town_fla.f2_1169)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1169 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 240
//f2_1184 (My_New_Town_fla.f2_1184)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1184 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 241
//f2_1196 (My_New_Town_fla.f2_1196)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1196 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 242
//f2_1210 (My_New_Town_fla.f2_1210)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1210 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 243
//f2_1225 (My_New_Town_fla.f2_1225)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1225 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 244
//f2_1240 (My_New_Town_fla.f2_1240)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1240 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 245
//f2_1257 (My_New_Town_fla.f2_1257)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1257 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 246
//f2_1272 (My_New_Town_fla.f2_1272)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1272 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 247
//f2_1287 (My_New_Town_fla.f2_1287)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1287 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 248
//f2_1302 (My_New_Town_fla.f2_1302)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1302 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 249
//f2_131 (My_New_Town_fla.f2_131)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_131 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 250
//f2_1317 (My_New_Town_fla.f2_1317)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1317 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 251
//f2_1346 (My_New_Town_fla.f2_1346)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1346 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 252
//f2_1359 (My_New_Town_fla.f2_1359)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1359 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 253
//f2_1379 (My_New_Town_fla.f2_1379)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1379 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 254
//f2_1402 (My_New_Town_fla.f2_1402)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1402 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 255
//f2_1413 (My_New_Town_fla.f2_1413)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1413 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 256
//f2_1426 (My_New_Town_fla.f2_1426)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1426 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 257
//f2_1439 (My_New_Town_fla.f2_1439)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1439 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 258
//f2_1452 (My_New_Town_fla.f2_1452)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1452 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 259
//f2_1459 (My_New_Town_fla.f2_1459)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1459 extends MovieClip {
public var color1:MovieClip;
}
}//package My_New_Town_fla
Section 260
//f2_1498 (My_New_Town_fla.f2_1498)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1498 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 261
//f2_1511 (My_New_Town_fla.f2_1511)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1511 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 262
//f2_1528 (My_New_Town_fla.f2_1528)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1528 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 263
//f2_1549 (My_New_Town_fla.f2_1549)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1549 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 264
//f2_1567 (My_New_Town_fla.f2_1567)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1567 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 265
//f2_1579 (My_New_Town_fla.f2_1579)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1579 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 266
//f2_1592 (My_New_Town_fla.f2_1592)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_1592 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 267
//f2_172 (My_New_Town_fla.f2_172)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_172 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 268
//f2_20 (My_New_Town_fla.f2_20)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_20 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 269
//f2_215 (My_New_Town_fla.f2_215)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_215 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 270
//f2_252 (My_New_Town_fla.f2_252)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_252 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 271
//f2_304 (My_New_Town_fla.f2_304)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_304 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 272
//f2_331 (My_New_Town_fla.f2_331)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_331 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 273
//f2_366 (My_New_Town_fla.f2_366)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_366 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 274
//f2_439 (My_New_Town_fla.f2_439)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_439 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 275
//f2_462 (My_New_Town_fla.f2_462)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_462 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 276
//f2_493 (My_New_Town_fla.f2_493)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_493 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 277
//f2_534 (My_New_Town_fla.f2_534)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_534 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 278
//f2_551 (My_New_Town_fla.f2_551)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_551 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 279
//f2_57 (My_New_Town_fla.f2_57)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_57 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 280
//f2_570 (My_New_Town_fla.f2_570)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_570 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 281
//f2_586 (My_New_Town_fla.f2_586)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_586 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 282
//f2_607 (My_New_Town_fla.f2_607)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_607 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 283
//f2_650 (My_New_Town_fla.f2_650)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_650 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color8:MovieClip;
public var color2:MovieClip;
public var color7:MovieClip;
public var color9:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 284
//f2_662 (My_New_Town_fla.f2_662)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_662 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 285
//f2_677 (My_New_Town_fla.f2_677)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_677 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 286
//f2_696 (My_New_Town_fla.f2_696)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_696 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 287
//f2_702 (My_New_Town_fla.f2_702)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_702 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 288
//f2_722 (My_New_Town_fla.f2_722)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_722 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 289
//f2_737 (My_New_Town_fla.f2_737)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_737 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 290
//f2_756 (My_New_Town_fla.f2_756)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_756 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 291
//f2_767 (My_New_Town_fla.f2_767)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_767 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 292
//f2_781 (My_New_Town_fla.f2_781)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_781 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 293
//f2_794 (My_New_Town_fla.f2_794)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_794 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 294
//f2_809 (My_New_Town_fla.f2_809)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_809 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 295
//f2_828 (My_New_Town_fla.f2_828)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_828 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 296
//f2_852 (My_New_Town_fla.f2_852)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_852 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 297
//f2_875 (My_New_Town_fla.f2_875)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_875 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 298
//f2_892 (My_New_Town_fla.f2_892)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_892 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 299
//f2_909 (My_New_Town_fla.f2_909)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_909 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 300
//f2_92 (My_New_Town_fla.f2_92)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_92 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 301
//f2_945 (My_New_Town_fla.f2_945)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_945 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 302
//f2_968 (My_New_Town_fla.f2_968)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_968 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 303
//f2_981 (My_New_Town_fla.f2_981)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_981 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 304
//f2_994 (My_New_Town_fla.f2_994)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f2_994 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 305
//f3_1006 (My_New_Town_fla.f3_1006)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1006 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 306
//f3_1019 (My_New_Town_fla.f3_1019)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1019 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 307
//f3_1032 (My_New_Town_fla.f3_1032)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1032 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 308
//f3_1047 (My_New_Town_fla.f3_1047)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1047 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 309
//f3_1060 (My_New_Town_fla.f3_1060)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1060 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 310
//f3_1073 (My_New_Town_fla.f3_1073)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1073 extends MovieClip {
public var line:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 311
//f3_1102 (My_New_Town_fla.f3_1102)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1102 extends MovieClip {
public var line:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 312
//f3_1121 (My_New_Town_fla.f3_1121)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1121 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 313
//f3_1138 (My_New_Town_fla.f3_1138)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1138 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 314
//f3_1153 (My_New_Town_fla.f3_1153)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1153 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 315
//f3_1168 (My_New_Town_fla.f3_1168)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1168 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 316
//f3_1183 (My_New_Town_fla.f3_1183)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1183 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 317
//f3_1195 (My_New_Town_fla.f3_1195)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1195 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 318
//f3_1209 (My_New_Town_fla.f3_1209)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1209 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 319
//f3_1224 (My_New_Town_fla.f3_1224)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1224 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 320
//f3_1239 (My_New_Town_fla.f3_1239)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1239 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 321
//f3_1256 (My_New_Town_fla.f3_1256)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1256 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 322
//f3_1271 (My_New_Town_fla.f3_1271)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1271 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 323
//f3_1286 (My_New_Town_fla.f3_1286)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1286 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 324
//f3_130 (My_New_Town_fla.f3_130)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_130 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 325
//f3_1301 (My_New_Town_fla.f3_1301)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1301 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 326
//f3_1316 (My_New_Town_fla.f3_1316)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1316 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 327
//f3_1345 (My_New_Town_fla.f3_1345)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1345 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 328
//f3_1358 (My_New_Town_fla.f3_1358)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1358 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 329
//f3_1378 (My_New_Town_fla.f3_1378)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1378 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 330
//f3_1401 (My_New_Town_fla.f3_1401)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1401 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 331
//f3_1412 (My_New_Town_fla.f3_1412)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1412 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 332
//f3_1425 (My_New_Town_fla.f3_1425)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1425 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 333
//f3_1438 (My_New_Town_fla.f3_1438)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1438 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 334
//f3_1451 (My_New_Town_fla.f3_1451)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1451 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 335
//f3_1497 (My_New_Town_fla.f3_1497)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1497 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 336
//f3_1508 (My_New_Town_fla.f3_1508)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1508 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 337
//f3_1525 (My_New_Town_fla.f3_1525)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1525 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 338
//f3_1544 (My_New_Town_fla.f3_1544)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1544 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 339
//f3_1566 (My_New_Town_fla.f3_1566)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1566 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 340
//f3_1578 (My_New_Town_fla.f3_1578)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1578 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 341
//f3_1591 (My_New_Town_fla.f3_1591)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_1591 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 342
//f3_171 (My_New_Town_fla.f3_171)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_171 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 343
//f3_19 (My_New_Town_fla.f3_19)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_19 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 344
//f3_214 (My_New_Town_fla.f3_214)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_214 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 345
//f3_251 (My_New_Town_fla.f3_251)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_251 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 346
//f3_269 (My_New_Town_fla.f3_269)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_269 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 347
//f3_303 (My_New_Town_fla.f3_303)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_303 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 348
//f3_330 (My_New_Town_fla.f3_330)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_330 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 349
//f3_365 (My_New_Town_fla.f3_365)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_365 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 350
//f3_396 (My_New_Town_fla.f3_396)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_396 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color8:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var color9:MovieClip;
public var nocolor:MovieClip;
public var color10:MovieClip;
}
}//package My_New_Town_fla
Section 351
//f3_438 (My_New_Town_fla.f3_438)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_438 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 352
//f3_461 (My_New_Town_fla.f3_461)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_461 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 353
//f3_492 (My_New_Town_fla.f3_492)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_492 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 354
//f3_533 (My_New_Town_fla.f3_533)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_533 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 355
//f3_550 (My_New_Town_fla.f3_550)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_550 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 356
//f3_56 (My_New_Town_fla.f3_56)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_56 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 357
//f3_569 (My_New_Town_fla.f3_569)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_569 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 358
//f3_585 (My_New_Town_fla.f3_585)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_585 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 359
//f3_606 (My_New_Town_fla.f3_606)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_606 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 360
//f3_649 (My_New_Town_fla.f3_649)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_649 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color8:MovieClip;
public var color2:MovieClip;
public var color7:MovieClip;
public var color9:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 361
//f3_661 (My_New_Town_fla.f3_661)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_661 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 362
//f3_676 (My_New_Town_fla.f3_676)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_676 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 363
//f3_687 (My_New_Town_fla.f3_687)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_687 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 364
//f3_711 (My_New_Town_fla.f3_711)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_711 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 365
//f3_721 (My_New_Town_fla.f3_721)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_721 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 366
//f3_736 (My_New_Town_fla.f3_736)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_736 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 367
//f3_747 (My_New_Town_fla.f3_747)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_747 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 368
//f3_766 (My_New_Town_fla.f3_766)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_766 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 369
//f3_780 (My_New_Town_fla.f3_780)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_780 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 370
//f3_793 (My_New_Town_fla.f3_793)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_793 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 371
//f3_808 (My_New_Town_fla.f3_808)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_808 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 372
//f3_827 (My_New_Town_fla.f3_827)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_827 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 373
//f3_851 (My_New_Town_fla.f3_851)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_851 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 374
//f3_874 (My_New_Town_fla.f3_874)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_874 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 375
//f3_891 (My_New_Town_fla.f3_891)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_891 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 376
//f3_908 (My_New_Town_fla.f3_908)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_908 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 377
//f3_91 (My_New_Town_fla.f3_91)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_91 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 378
//f3_944 (My_New_Town_fla.f3_944)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_944 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 379
//f3_967 (My_New_Town_fla.f3_967)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_967 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 380
//f3_980 (My_New_Town_fla.f3_980)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_980 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 381
//f3_993 (My_New_Town_fla.f3_993)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f3_993 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 382
//f4_1003 (My_New_Town_fla.f4_1003)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1003 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 383
//f4_1016 (My_New_Town_fla.f4_1016)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1016 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 384
//f4_1029 (My_New_Town_fla.f4_1029)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1029 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 385
//f4_1042 (My_New_Town_fla.f4_1042)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1042 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 386
//f4_1055 (My_New_Town_fla.f4_1055)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1055 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 387
//f4_1068 (My_New_Town_fla.f4_1068)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1068 extends MovieClip {
public var line:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 388
//f4_1097 (My_New_Town_fla.f4_1097)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1097 extends MovieClip {
public var line:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 389
//f4_1114 (My_New_Town_fla.f4_1114)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1114 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 390
//f4_1129 (My_New_Town_fla.f4_1129)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1129 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 391
//f4_113 (My_New_Town_fla.f4_113)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_113 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 392
//f4_1146 (My_New_Town_fla.f4_1146)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1146 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 393
//f4_1161 (My_New_Town_fla.f4_1161)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1161 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 394
//f4_1176 (My_New_Town_fla.f4_1176)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1176 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 395
//f4_1191 (My_New_Town_fla.f4_1191)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1191 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 396
//f4_1205 (My_New_Town_fla.f4_1205)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1205 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 397
//f4_1217 (My_New_Town_fla.f4_1217)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1217 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 398
//f4_1232 (My_New_Town_fla.f4_1232)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1232 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 399
//f4_1247 (My_New_Town_fla.f4_1247)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1247 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 400
//f4_1264 (My_New_Town_fla.f4_1264)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1264 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 401
//f4_1279 (My_New_Town_fla.f4_1279)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1279 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 402
//f4_1294 (My_New_Town_fla.f4_1294)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1294 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 403
//f4_1309 (My_New_Town_fla.f4_1309)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1309 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 404
//f4_1340 (My_New_Town_fla.f4_1340)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1340 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 405
//f4_1353 (My_New_Town_fla.f4_1353)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1353 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 406
//f4_1366 (My_New_Town_fla.f4_1366)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1366 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 407
//f4_1386 (My_New_Town_fla.f4_1386)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1386 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 408
//f4_1409 (My_New_Town_fla.f4_1409)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1409 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 409
//f4_1422 (My_New_Town_fla.f4_1422)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1422 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 410
//f4_1435 (My_New_Town_fla.f4_1435)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1435 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 411
//f4_1448 (My_New_Town_fla.f4_1448)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1448 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 412
//f4_1462 (My_New_Town_fla.f4_1462)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1462 extends MovieClip {
public var color1:MovieClip;
}
}//package My_New_Town_fla
Section 413
//f4_1493 (My_New_Town_fla.f4_1493)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1493 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 414
//f4_1505 (My_New_Town_fla.f4_1505)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1505 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 415
//f4_1522 (My_New_Town_fla.f4_1522)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1522 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 416
//f4_1539 (My_New_Town_fla.f4_1539)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1539 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 417
//f4_156 (My_New_Town_fla.f4_156)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_156 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 418
//f4_1562 (My_New_Town_fla.f4_1562)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1562 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 419
//f4_1574 (My_New_Town_fla.f4_1574)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1574 extends MovieClip {
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 420
//f4_1586 (My_New_Town_fla.f4_1586)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_1586 extends MovieClip {
public var color1:MovieClip;
public var color2:MovieClip;
}
}//package My_New_Town_fla
Section 421
//f4_195 (My_New_Town_fla.f4_195)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_195 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 422
//f4_240 (My_New_Town_fla.f4_240)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_240 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 423
//f4_292 (My_New_Town_fla.f4_292)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_292 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 424
//f4_321 (My_New_Town_fla.f4_321)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_321 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 425
//f4_346 (My_New_Town_fla.f4_346)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_346 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 426
//f4_373 (My_New_Town_fla.f4_373)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_373 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color8:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color7:MovieClip;
public var color9:MovieClip;
public var nocolor:MovieClip;
public var color10:MovieClip;
}
}//package My_New_Town_fla
Section 427
//f4_39 (My_New_Town_fla.f4_39)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_39 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 428
//f4_427 (My_New_Town_fla.f4_427)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_427 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 429
//f4_446 (My_New_Town_fla.f4_446)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_446 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 430
//f4_479 (My_New_Town_fla.f4_479)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_479 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 431
//f4_516 (My_New_Town_fla.f4_516)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_516 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 432
//f4_541 (My_New_Town_fla.f4_541)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_541 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 433
//f4_558 (My_New_Town_fla.f4_558)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_558 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 434
//f4_577 (My_New_Town_fla.f4_577)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_577 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 435
//f4_593 (My_New_Town_fla.f4_593)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_593 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 436
//f4_6 (My_New_Town_fla.f4_6)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_6 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 437
//f4_626 (My_New_Town_fla.f4_626)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_626 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color5:MovieClip;
public var color6:MovieClip;
public var color8:MovieClip;
public var color2:MovieClip;
public var color7:MovieClip;
public var color9:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 438
//f4_657 (My_New_Town_fla.f4_657)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_657 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 439
//f4_672 (My_New_Town_fla.f4_672)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_672 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 440
//f4_691 (My_New_Town_fla.f4_691)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_691 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 441
//f4_707 (My_New_Town_fla.f4_707)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_707 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 442
//f4_717 (My_New_Town_fla.f4_717)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_717 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 443
//f4_732 (My_New_Town_fla.f4_732)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_732 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 444
//f4_751 (My_New_Town_fla.f4_751)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_751 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 445
//f4_762 (My_New_Town_fla.f4_762)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_762 extends MovieClip {
public var line:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 446
//f4_777 (My_New_Town_fla.f4_777)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_777 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 447
//f4_78 (My_New_Town_fla.f4_78)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_78 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color5:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 448
//f4_790 (My_New_Town_fla.f4_790)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_790 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 449
//f4_803 (My_New_Town_fla.f4_803)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_803 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 450
//f4_820 (My_New_Town_fla.f4_820)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_820 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 451
//f4_842 (My_New_Town_fla.f4_842)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_842 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 452
//f4_867 (My_New_Town_fla.f4_867)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_867 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 453
//f4_882 (My_New_Town_fla.f4_882)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_882 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
}
}//package My_New_Town_fla
Section 454
//f4_899 (My_New_Town_fla.f4_899)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_899 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 455
//f4_931 (My_New_Town_fla.f4_931)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_931 extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var color3:MovieClip;
public var color4:MovieClip;
public var color2:MovieClip;
public var shadow:MovieClip;
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 456
//f4_964 (My_New_Town_fla.f4_964)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_964 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 457
//f4_977 (My_New_Town_fla.f4_977)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_977 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 458
//f4_990 (My_New_Town_fla.f4_990)
package My_New_Town_fla {
import flash.display.*;
public dynamic class f4_990 extends MovieClip {
public var nocolor:MovieClip;
}
}//package My_New_Town_fla
Section 459
//factory_1_color1_271 (My_New_Town_fla.factory_1_color1_271)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_1_color1_271 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 460
//factory_1_color1_280 (My_New_Town_fla.factory_1_color1_280)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_1_color1_280 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 461
//factory_1_color2_273 (My_New_Town_fla.factory_1_color2_273)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_1_color2_273 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 462
//factory_1_color2_282 (My_New_Town_fla.factory_1_color2_282)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_1_color2_282 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 463
//factory_1_color3_275 (My_New_Town_fla.factory_1_color3_275)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_1_color3_275 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 464
//factory_1_color3_284 (My_New_Town_fla.factory_1_color3_284)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_1_color3_284 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 465
//factory_2_color1_294 (My_New_Town_fla.factory_2_color1_294)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_2_color1_294 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 466
//factory_2_color1_306 (My_New_Town_fla.factory_2_color1_306)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_2_color1_306 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 467
//factory_2_color2_296 (My_New_Town_fla.factory_2_color2_296)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_2_color2_296 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 468
//factory_2_color2_308 (My_New_Town_fla.factory_2_color2_308)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_2_color2_308 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 469
//factory_2_color3_298 (My_New_Town_fla.factory_2_color3_298)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_2_color3_298 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 470
//factory_2_color3_310 (My_New_Town_fla.factory_2_color3_310)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_2_color3_310 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 471
//factory_2_nocolor_312 (My_New_Town_fla.factory_2_nocolor_312)
package My_New_Town_fla {
import flash.display.*;
public dynamic class factory_2_nocolor_312 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 472
//falt_3_color1_375 (My_New_Town_fla.falt_3_color1_375)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color1_375 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 473
//falt_3_color1_401 (My_New_Town_fla.falt_3_color1_401)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color1_401 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 474
//falt_3_color10_393 (My_New_Town_fla.falt_3_color10_393)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color10_393 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 475
//falt_3_color10_411 (My_New_Town_fla.falt_3_color10_411)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color10_411 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 476
//falt_3_color2_377 (My_New_Town_fla.falt_3_color2_377)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color2_377 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 477
//falt_3_color2_403 (My_New_Town_fla.falt_3_color2_403)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color2_403 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 478
//falt_3_color3_379 (My_New_Town_fla.falt_3_color3_379)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color3_379 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 479
//falt_3_color3_405 (My_New_Town_fla.falt_3_color3_405)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color3_405 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 480
//falt_3_color4_415 (My_New_Town_fla.falt_3_color4_415)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color4_415 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 481
//falt_3_color5_381 (My_New_Town_fla.falt_3_color5_381)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color5_381 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 482
//falt_3_color5_419 (My_New_Town_fla.falt_3_color5_419)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color5_419 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 483
//falt_3_color6_383 (My_New_Town_fla.falt_3_color6_383)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color6_383 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 484
//falt_3_color6_417 (My_New_Town_fla.falt_3_color6_417)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color6_417 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 485
//falt_3_color7_385 (My_New_Town_fla.falt_3_color7_385)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color7_385 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 486
//falt_3_color7_398 (My_New_Town_fla.falt_3_color7_398)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color7_398 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 487
//falt_3_color8_387 (My_New_Town_fla.falt_3_color8_387)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color8_387 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 488
//falt_3_color8_407 (My_New_Town_fla.falt_3_color8_407)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color8_407 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 489
//falt_3_color9_389 (My_New_Town_fla.falt_3_color9_389)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color9_389 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 490
//falt_3_color9_409 (My_New_Town_fla.falt_3_color9_409)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_color9_409 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 491
//falt_3_nocolor_391 (My_New_Town_fla.falt_3_nocolor_391)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_nocolor_391 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 492
//falt_3_nocolor_413 (My_New_Town_fla.falt_3_nocolor_413)
package My_New_Town_fla {
import flash.display.*;
public dynamic class falt_3_nocolor_413 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 493
//farm_1_color1_448 (My_New_Town_fla.farm_1_color1_448)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color1_448 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 494
//farm_1_color1_464 (My_New_Town_fla.farm_1_color1_464)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color1_464 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 495
//farm_1_color2_450 (My_New_Town_fla.farm_1_color2_450)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color2_450 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 496
//farm_1_color3_452 (My_New_Town_fla.farm_1_color3_452)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color3_452 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 497
//farm_1_color4_466 (My_New_Town_fla.farm_1_color4_466)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color4_466 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 498
//farm_1_color5_456 (My_New_Town_fla.farm_1_color5_456)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color5_456 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 499
//farm_1_color5_468 (My_New_Town_fla.farm_1_color5_468)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color5_468 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 500
//farm_1_color6_458 (My_New_Town_fla.farm_1_color6_458)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color6_458 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 501
//farm_1_color6_470 (My_New_Town_fla.farm_1_color6_470)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_1_color6_470 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 502
//farm_2_color1_481 (My_New_Town_fla.farm_2_color1_481)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color1_481 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 503
//farm_2_color1_495 (My_New_Town_fla.farm_2_color1_495)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color1_495 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 504
//farm_2_color2_497 (My_New_Town_fla.farm_2_color2_497)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color2_497 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 505
//farm_2_color3_483 (My_New_Town_fla.farm_2_color3_483)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color3_483 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 506
//farm_2_color3_499 (My_New_Town_fla.farm_2_color3_499)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color3_499 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 507
//farm_2_color4_485 (My_New_Town_fla.farm_2_color4_485)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color4_485 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 508
//farm_2_color4_501 (My_New_Town_fla.farm_2_color4_501)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color4_501 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 509
//farm_2_color5_487 (My_New_Town_fla.farm_2_color5_487)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color5_487 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 510
//farm_2_color5_503 (My_New_Town_fla.farm_2_color5_503)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color5_503 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 511
//farm_2_color6_489 (My_New_Town_fla.farm_2_color6_489)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color6_489 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 512
//farm_2_color6_505 (My_New_Town_fla.farm_2_color6_505)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_color6_505 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 513
//farm_2_nocolor_507 (My_New_Town_fla.farm_2_nocolor_507)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_2_nocolor_507 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 514
//farm_3_color1_518 (My_New_Town_fla.farm_3_color1_518)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_3_color1_518 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 515
//farm_3_color2_520 (My_New_Town_fla.farm_3_color2_520)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_3_color2_520 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 516
//farm_3_color3_522 (My_New_Town_fla.farm_3_color3_522)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_3_color3_522 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 517
//farm_3_color4_524 (My_New_Town_fla.farm_3_color4_524)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_3_color4_524 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 518
//farm_3_color5_526 (My_New_Town_fla.farm_3_color5_526)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_3_color5_526 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 519
//farm_3_color6_528 (My_New_Town_fla.farm_3_color6_528)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_3_color6_528 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 520
//farm_3_nocolor_530 (My_New_Town_fla.farm_3_nocolor_530)
package My_New_Town_fla {
import flash.display.*;
public dynamic class farm_3_nocolor_530 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 521
//flat_1_color1_323 (My_New_Town_fla.flat_1_color1_323)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_1_color1_323 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 522
//flat_1_color1_333 (My_New_Town_fla.flat_1_color1_333)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_1_color1_333 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 523
//flat_1_color2_325 (My_New_Town_fla.flat_1_color2_325)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_1_color2_325 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 524
//flat_1_color2_335 (My_New_Town_fla.flat_1_color2_335)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_1_color2_335 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 525
//flat_1_nocolor_327 (My_New_Town_fla.flat_1_nocolor_327)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_1_nocolor_327 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 526
//flat_1_nocolor_337 (My_New_Town_fla.flat_1_nocolor_337)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_1_nocolor_337 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 527
//flat_2_color1_348 (My_New_Town_fla.flat_2_color1_348)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_2_color1_348 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 528
//flat_2_color2_350 (My_New_Town_fla.flat_2_color2_350)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_2_color2_350 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 529
//flat_2_color3_352 (My_New_Town_fla.flat_2_color3_352)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_2_color3_352 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 530
//flat_2_color4_354 (My_New_Town_fla.flat_2_color4_354)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_2_color4_354 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 531
//flat_2_color5_356 (My_New_Town_fla.flat_2_color5_356)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_2_color5_356 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 532
//flat_2_color6_358 (My_New_Town_fla.flat_2_color6_358)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_2_color6_358 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 533
//flat_2_color7_360 (My_New_Town_fla.flat_2_color7_360)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_2_color7_360 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 534
//flat_2_nocolor_362 (My_New_Town_fla.flat_2_nocolor_362)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_2_nocolor_362 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 535
//flat_4_color1_429 (My_New_Town_fla.flat_4_color1_429)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_4_color1_429 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 536
//flat_4_color2_431 (My_New_Town_fla.flat_4_color2_431)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_4_color2_431 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 537
//flat_4_color3_433 (My_New_Town_fla.flat_4_color3_433)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_4_color3_433 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 538
//flat_4_nocolor_435 (My_New_Town_fla.flat_4_nocolor_435)
package My_New_Town_fla {
import flash.display.*;
public dynamic class flat_4_nocolor_435 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 539
//girl_1_nocolor_1017 (My_New_Town_fla.girl_1_nocolor_1017)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_1_nocolor_1017 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 540
//girl_1_nocolor_1021 (My_New_Town_fla.girl_1_nocolor_1021)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_1_nocolor_1021 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 541
//girl_2_1030 (My_New_Town_fla.girl_2_1030)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_2_1030 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 542
//girl_2_nocolor_1034 (My_New_Town_fla.girl_2_nocolor_1034)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_2_nocolor_1034 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 543
//girl_3_nocolor_1423 (My_New_Town_fla.girl_3_nocolor_1423)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_3_nocolor_1423 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 544
//girl_3_nocolor_1427 (My_New_Town_fla.girl_3_nocolor_1427)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_3_nocolor_1427 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 545
//girl_4_nocolor_1449 (My_New_Town_fla.girl_4_nocolor_1449)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_4_nocolor_1449 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 546
//girl_4_nocolor_1453 (My_New_Town_fla.girl_4_nocolor_1453)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_4_nocolor_1453 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 547
//girl_5_nocolor_1436 (My_New_Town_fla.girl_5_nocolor_1436)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_5_nocolor_1436 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 548
//girl_5_nocolor_1440 (My_New_Town_fla.girl_5_nocolor_1440)
package My_New_Town_fla {
import flash.display.*;
public dynamic class girl_5_nocolor_1440 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 549
//hospital_1_color1_597 (My_New_Town_fla.hospital_1_color1_597)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_color1_597 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 550
//hospital_1_color1_609 (My_New_Town_fla.hospital_1_color1_609)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_color1_609 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 551
//hospital_1_color2_599 (My_New_Town_fla.hospital_1_color2_599)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_color2_599 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 552
//hospital_1_color2_611 (My_New_Town_fla.hospital_1_color2_611)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_color2_611 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 553
//hospital_1_color3_601 (My_New_Town_fla.hospital_1_color3_601)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_color3_601 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 554
//hospital_1_color3_613 (My_New_Town_fla.hospital_1_color3_613)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_color3_613 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 555
//hospital_1_color4_603 (My_New_Town_fla.hospital_1_color4_603)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_color4_603 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 556
//hospital_1_color4_615 (My_New_Town_fla.hospital_1_color4_615)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_color4_615 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 557
//hospital_1_nocolor_595 (My_New_Town_fla.hospital_1_nocolor_595)
package My_New_Town_fla {
import flash.display.*;
public dynamic class hospital_1_nocolor_595 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 558
//HOWTOPLAY_1919 (My_New_Town_fla.HOWTOPLAY_1919)
package My_New_Town_fla {
import flash.display.*;
public dynamic class HOWTOPLAY_1919 extends MovieClip {
public var CloseBtn:_quitBtn_;
}
}//package My_New_Town_fla
Section 559
//label_1690 (My_New_Town_fla.label_1690)
package My_New_Town_fla {
import flash.display.*;
public dynamic class label_1690 extends MovieClip {
public var flag:MovieClip;
}
}//package My_New_Town_fla
Section 560
//LanguageSelectPopup_1689 (My_New_Town_fla.LanguageSelectPopup_1689)
package My_New_Town_fla {
import flash.display.*;
public dynamic class LanguageSelectPopup_1689 extends MovieClip {
public var l_se: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 My_New_Town_fla
Section 561
//LineSizeTextMC_1697 (My_New_Town_fla.LineSizeTextMC_1697)
package My_New_Town_fla {
import flash.display.*;
import flash.text.*;
public dynamic class LineSizeTextMC_1697 extends MovieClip {
public var LineSizeText:TextField;
}
}//package My_New_Town_fla
Section 562
//MainMenu_bottom_1661 (My_New_Town_fla.MainMenu_bottom_1661)
package My_New_Town_fla {
import flash.display.*;
public dynamic class MainMenu_bottom_1661 extends MovieClip {
public var LightMC:MovieClip;
}
}//package My_New_Town_fla
Section 563
//postoffice_1_color1_628 (My_New_Town_fla.postoffice_1_color1_628)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_color1_628 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 564
//postoffice_1_color2_630 (My_New_Town_fla.postoffice_1_color2_630)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_color2_630 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 565
//postoffice_1_color4_634 (My_New_Town_fla.postoffice_1_color4_634)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_color4_634 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 566
//postoffice_1_color5_636 (My_New_Town_fla.postoffice_1_color5_636)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_color5_636 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 567
//postoffice_1_color6_638 (My_New_Town_fla.postoffice_1_color6_638)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_color6_638 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 568
//postoffice_1_color7_640 (My_New_Town_fla.postoffice_1_color7_640)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_color7_640 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 569
//postoffice_1_color8_642 (My_New_Town_fla.postoffice_1_color8_642)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_color8_642 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 570
//postoffice_1_color9_644 (My_New_Town_fla.postoffice_1_color9_644)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_color9_644 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 571
//postoffice_1_nocolor_646 (My_New_Town_fla.postoffice_1_nocolor_646)
package My_New_Town_fla {
import flash.display.*;
public dynamic class postoffice_1_nocolor_646 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 572
//river_1_nocolor1_1532 (My_New_Town_fla.river_1_nocolor1_1532)
package My_New_Town_fla {
import flash.display.*;
public dynamic class river_1_nocolor1_1532 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 573
//river_1_nocolor2_1529 (My_New_Town_fla.river_1_nocolor2_1529)
package My_New_Town_fla {
import flash.display.*;
public dynamic class river_1_nocolor2_1529 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 574
//river_1_nocolor3_1526 (My_New_Town_fla.river_1_nocolor3_1526)
package My_New_Town_fla {
import flash.display.*;
public dynamic class river_1_nocolor3_1526 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 575
//river_1_nocolor4_1523 (My_New_Town_fla.river_1_nocolor4_1523)
package My_New_Town_fla {
import flash.display.*;
public dynamic class river_1_nocolor4_1523 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 576
//river_2_nocolor1_1515 (My_New_Town_fla.river_2_nocolor1_1515)
package My_New_Town_fla {
import flash.display.*;
public dynamic class river_2_nocolor1_1515 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 577
//river_2_nocolor2_1512 (My_New_Town_fla.river_2_nocolor2_1512)
package My_New_Town_fla {
import flash.display.*;
public dynamic class river_2_nocolor2_1512 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 578
//river_2_nocolor3_1509 (My_New_Town_fla.river_2_nocolor3_1509)
package My_New_Town_fla {
import flash.display.*;
public dynamic class river_2_nocolor3_1509 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 579
//river_2_nocolor4_1506 (My_New_Town_fla.river_2_nocolor4_1506)
package My_New_Town_fla {
import flash.display.*;
public dynamic class river_2_nocolor4_1506 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 580
//road_1_color1_1587 (My_New_Town_fla.road_1_color1_1587)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_1_color1_1587 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 581
//road_1_color2_1589 (My_New_Town_fla.road_1_color2_1589)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_1_color2_1589 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 582
//road_3_color1_1469 (My_New_Town_fla.road_3_color1_1469)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_3_color1_1469 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 583
//road_3_color2_1471 (My_New_Town_fla.road_3_color2_1471)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_3_color2_1471 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 584
//road_4_color1_1555 (My_New_Town_fla.road_4_color1_1555)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_4_color1_1555 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 585
//road_4_color1copy_1550 (My_New_Town_fla.road_4_color1copy_1550)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_4_color1copy_1550 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 586
//road_4_color1copy2_1540 (My_New_Town_fla.road_4_color1copy2_1540)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_4_color1copy2_1540 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 587
//road_4_color1copy3_1545 (My_New_Town_fla.road_4_color1copy3_1545)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_4_color1copy3_1545 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 588
//road_4_color2_1552 (My_New_Town_fla.road_4_color2_1552)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_4_color2_1552 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 589
//road_4_color2copy_1547 (My_New_Town_fla.road_4_color2copy_1547)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_4_color2copy_1547 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 590
//road_4_color2copy2_1542 (My_New_Town_fla.road_4_color2copy2_1542)
package My_New_Town_fla {
import flash.display.*;
public dynamic class road_4_color2copy2_1542 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 591
//room_1_color1_43 (My_New_Town_fla.room_1_color1_43)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color1_43 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 592
//room_1_color1_61 (My_New_Town_fla.room_1_color1_61)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color1_61 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 593
//room_1_color2_45 (My_New_Town_fla.room_1_color2_45)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color2_45 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 594
//room_1_color2_63 (My_New_Town_fla.room_1_color2_63)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color2_63 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 595
//room_1_color3_47 (My_New_Town_fla.room_1_color3_47)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color3_47 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 596
//room_1_color3_59 (My_New_Town_fla.room_1_color3_59)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color3_59 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 597
//room_1_color4_49 (My_New_Town_fla.room_1_color4_49)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color4_49 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 598
//room_1_color4_65 (My_New_Town_fla.room_1_color4_65)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color4_65 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 599
//room_1_color5_40 (My_New_Town_fla.room_1_color5_40)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color5_40 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 600
//room_1_color6_67 (My_New_Town_fla.room_1_color6_67)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_color6_67 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 601
//room_1_nocolor_53 (My_New_Town_fla.room_1_nocolor_53)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_nocolor_53 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 602
//room_1_nocolor_69 (My_New_Town_fla.room_1_nocolor_69)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_1_nocolor_69 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 603
//room_2_color1_80 (My_New_Town_fla.room_2_color1_80)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color1_80 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 604
//room_2_color1_94 (My_New_Town_fla.room_2_color1_94)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color1_94 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 605
//room_2_color2_82 (My_New_Town_fla.room_2_color2_82)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color2_82 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 606
//room_2_color2_96 (My_New_Town_fla.room_2_color2_96)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color2_96 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 607
//room_2_color3_84 (My_New_Town_fla.room_2_color3_84)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color3_84 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 608
//room_2_color3_98 (My_New_Town_fla.room_2_color3_98)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color3_98 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 609
//room_2_color4_100 (My_New_Town_fla.room_2_color4_100)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color4_100 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 610
//room_2_color5_102 (My_New_Town_fla.room_2_color5_102)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color5_102 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 611
//room_2_color5_86 (My_New_Town_fla.room_2_color5_86)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_color5_86 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 612
//room_2_nocolor_104 (My_New_Town_fla.room_2_nocolor_104)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_nocolor_104 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 613
//room_2_nocolor_88 (My_New_Town_fla.room_2_nocolor_88)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_2_nocolor_88 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 614
//room_3_color1_117 (My_New_Town_fla.room_3_color1_117)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color1_117 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 615
//room_3_color1_133 (My_New_Town_fla.room_3_color1_133)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color1_133 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 616
//room_3_color2_115 (My_New_Town_fla.room_3_color2_115)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color2_115 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 617
//room_3_color2_135 (My_New_Town_fla.room_3_color2_135)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color2_135 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 618
//room_3_color3_137 (My_New_Town_fla.room_3_color3_137)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color3_137 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 619
//room_3_color4_121 (My_New_Town_fla.room_3_color4_121)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color4_121 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 620
//room_3_color4_139 (My_New_Town_fla.room_3_color4_139)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color4_139 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 621
//room_3_color5_123 (My_New_Town_fla.room_3_color5_123)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color5_123 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 622
//room_3_color5_141 (My_New_Town_fla.room_3_color5_141)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color5_141 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 623
//room_3_color6_143 (My_New_Town_fla.room_3_color6_143)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color6_143 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 624
//room_3_color7_125 (My_New_Town_fla.room_3_color7_125)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color7_125 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 625
//room_3_color7_145 (My_New_Town_fla.room_3_color7_145)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_color7_145 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 626
//room_3_nocolor_127 (My_New_Town_fla.room_3_nocolor_127)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_nocolor_127 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 627
//room_3_nocolor_147 (My_New_Town_fla.room_3_nocolor_147)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_3_nocolor_147 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 628
//room_4_color1_158 (My_New_Town_fla.room_4_color1_158)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color1_158 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 629
//room_4_color1_174 (My_New_Town_fla.room_4_color1_174)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color1_174 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 630
//room_4_color2_160 (My_New_Town_fla.room_4_color2_160)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color2_160 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 631
//room_4_color2_176 (My_New_Town_fla.room_4_color2_176)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color2_176 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 632
//room_4_color3_178 (My_New_Town_fla.room_4_color3_178)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color3_178 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 633
//room_4_color4_162 (My_New_Town_fla.room_4_color4_162)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color4_162 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 634
//room_4_color4_180 (My_New_Town_fla.room_4_color4_180)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color4_180 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 635
//room_4_color5_164 (My_New_Town_fla.room_4_color5_164)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color5_164 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 636
//room_4_color5_182 (My_New_Town_fla.room_4_color5_182)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color5_182 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 637
//room_4_color6_166 (My_New_Town_fla.room_4_color6_166)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color6_166 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 638
//room_4_color6_184 (My_New_Town_fla.room_4_color6_184)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_color6_184 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 639
//room_4_nocolor_168 (My_New_Town_fla.room_4_nocolor_168)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_nocolor_168 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 640
//room_4_nocolor_186 (My_New_Town_fla.room_4_nocolor_186)
package My_New_Town_fla {
import flash.display.*;
public dynamic class room_4_nocolor_186 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 641
//school_1_color1_579 (My_New_Town_fla.school_1_color1_579)
package My_New_Town_fla {
import flash.display.*;
public dynamic class school_1_color1_579 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 642
//school_1_color2_581 (My_New_Town_fla.school_1_color2_581)
package My_New_Town_fla {
import flash.display.*;
public dynamic class school_1_color2_581 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 643
//texi_nocolor_659 (My_New_Town_fla.texi_nocolor_659)
package My_New_Town_fla {
import flash.display.*;
public dynamic class texi_nocolor_659 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 644
//texi_nocolor_664 (My_New_Town_fla.texi_nocolor_664)
package My_New_Town_fla {
import flash.display.*;
public dynamic class texi_nocolor_664 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 645
//Timeline_10 (My_New_Town_fla.Timeline_10)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_10 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 646
//Timeline_1004 (My_New_Town_fla.Timeline_1004)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1004 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 647
//Timeline_1008 (My_New_Town_fla.Timeline_1008)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1008 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 648
//Timeline_1044 (My_New_Town_fla.Timeline_1044)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1044 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 649
//Timeline_1057 (My_New_Town_fla.Timeline_1057)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1057 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 650
//Timeline_1070 (My_New_Town_fla.Timeline_1070)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1070 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 651
//Timeline_1083 (My_New_Town_fla.Timeline_1083)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1083 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 652
//Timeline_1085 (My_New_Town_fla.Timeline_1085)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1085 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 653
//Timeline_1087 (My_New_Town_fla.Timeline_1087)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1087 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 654
//Timeline_1089 (My_New_Town_fla.Timeline_1089)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1089 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 655
//Timeline_1099 (My_New_Town_fla.Timeline_1099)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1099 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 656
//Timeline_1105 (My_New_Town_fla.Timeline_1105)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1105 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 657
//Timeline_1116 (My_New_Town_fla.Timeline_1116)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1116 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 658
//Timeline_1118 (My_New_Town_fla.Timeline_1118)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1118 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 659
//Timeline_1131 (My_New_Town_fla.Timeline_1131)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1131 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 660
//Timeline_1133 (My_New_Town_fla.Timeline_1133)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1133 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 661
//Timeline_1135 (My_New_Town_fla.Timeline_1135)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1135 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 662
//Timeline_1148 (My_New_Town_fla.Timeline_1148)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1148 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 663
//Timeline_1150 (My_New_Town_fla.Timeline_1150)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1150 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 664
//Timeline_1163 (My_New_Town_fla.Timeline_1163)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1163 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 665
//Timeline_1165 (My_New_Town_fla.Timeline_1165)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1165 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 666
//Timeline_1178 (My_New_Town_fla.Timeline_1178)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1178 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 667
//Timeline_1180 (My_New_Town_fla.Timeline_1180)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1180 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 668
//Timeline_1193 (My_New_Town_fla.Timeline_1193)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1193 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 669
//Timeline_1197 (My_New_Town_fla.Timeline_1197)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1197 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 670
//Timeline_12 (My_New_Town_fla.Timeline_12)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_12 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 671
//Timeline_1207 (My_New_Town_fla.Timeline_1207)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1207 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 672
//Timeline_1219 (My_New_Town_fla.Timeline_1219)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1219 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 673
//Timeline_1221 (My_New_Town_fla.Timeline_1221)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1221 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 674
//Timeline_1234 (My_New_Town_fla.Timeline_1234)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1234 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 675
//Timeline_1236 (My_New_Town_fla.Timeline_1236)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1236 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 676
//Timeline_1249 (My_New_Town_fla.Timeline_1249)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1249 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 677
//Timeline_1251 (My_New_Town_fla.Timeline_1251)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1251 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 678
//Timeline_1253 (My_New_Town_fla.Timeline_1253)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1253 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 679
//Timeline_1311 (My_New_Town_fla.Timeline_1311)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1311 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 680
//Timeline_1313 (My_New_Town_fla.Timeline_1313)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1313 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 681
//Timeline_1326 (My_New_Town_fla.Timeline_1326)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1326 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 682
//Timeline_1328 (My_New_Town_fla.Timeline_1328)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1328 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 683
//Timeline_1330 (My_New_Town_fla.Timeline_1330)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1330 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 684
//Timeline_1332 (My_New_Town_fla.Timeline_1332)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1332 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 685
//Timeline_1342 (My_New_Town_fla.Timeline_1342)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1342 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 686
//Timeline_1355 (My_New_Town_fla.Timeline_1355)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1355 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 687
//Timeline_14 (My_New_Town_fla.Timeline_14)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_14 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 688
//Timeline_1460 (My_New_Town_fla.Timeline_1460)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1460 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 689
//Timeline_1463 (My_New_Town_fla.Timeline_1463)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1463 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 690
//Timeline_1479 (My_New_Town_fla.Timeline_1479)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1479 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 691
//Timeline_1481 (My_New_Town_fla.Timeline_1481)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1481 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 692
//Timeline_1483 (My_New_Town_fla.Timeline_1483)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1483 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 693
//Timeline_1485 (My_New_Town_fla.Timeline_1485)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1485 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 694
//Timeline_1494 (My_New_Town_fla.Timeline_1494)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1494 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 695
//Timeline_16 (My_New_Town_fla.Timeline_16)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_16 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 696
//Timeline_1857 (My_New_Town_fla.Timeline_1857)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1857 extends MovieClip {
public var CloseBtn:_quitBtn_;
}
}//package My_New_Town_fla
Section 697
//Timeline_1872 (My_New_Town_fla.Timeline_1872)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1872 extends MovieClip {
public var CloseBtn:MovieClip;
}
}//package My_New_Town_fla
Section 698
//Timeline_1877 (My_New_Town_fla.Timeline_1877)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1877 extends MovieClip {
public var CloseBtn:MovieClip;
}
}//package My_New_Town_fla
Section 699
//Timeline_1882 (My_New_Town_fla.Timeline_1882)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_1882 extends MovieClip {
public var CloseBtn:MovieClip;
}
}//package My_New_Town_fla
Section 700
//Timeline_197 (My_New_Town_fla.Timeline_197)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_197 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 701
//Timeline_199 (My_New_Town_fla.Timeline_199)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_199 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 702
//Timeline_201 (My_New_Town_fla.Timeline_201)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_201 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 703
//Timeline_203 (My_New_Town_fla.Timeline_203)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_203 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 704
//Timeline_205 (My_New_Town_fla.Timeline_205)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_205 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 705
//Timeline_207 (My_New_Town_fla.Timeline_207)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_207 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 706
//Timeline_209 (My_New_Town_fla.Timeline_209)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_209 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 707
//Timeline_211 (My_New_Town_fla.Timeline_211)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_211 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 708
//Timeline_217 (My_New_Town_fla.Timeline_217)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_217 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 709
//Timeline_219 (My_New_Town_fla.Timeline_219)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_219 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 710
//Timeline_22 (My_New_Town_fla.Timeline_22)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_22 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 711
//Timeline_221 (My_New_Town_fla.Timeline_221)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_221 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 712
//Timeline_223 (My_New_Town_fla.Timeline_223)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_223 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 713
//Timeline_225 (My_New_Town_fla.Timeline_225)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_225 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 714
//Timeline_227 (My_New_Town_fla.Timeline_227)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_227 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 715
//Timeline_229 (My_New_Town_fla.Timeline_229)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_229 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 716
//Timeline_231 (My_New_Town_fla.Timeline_231)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_231 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 717
//Timeline_24 (My_New_Town_fla.Timeline_24)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_24 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 718
//Timeline_242 (My_New_Town_fla.Timeline_242)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_242 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 719
//Timeline_244 (My_New_Town_fla.Timeline_244)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_244 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 720
//Timeline_246 (My_New_Town_fla.Timeline_246)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_246 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 721
//Timeline_248 (My_New_Town_fla.Timeline_248)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_248 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 722
//Timeline_254 (My_New_Town_fla.Timeline_254)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_254 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 723
//Timeline_256 (My_New_Town_fla.Timeline_256)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_256 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 724
//Timeline_258 (My_New_Town_fla.Timeline_258)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_258 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 725
//Timeline_26 (My_New_Town_fla.Timeline_26)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_26 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 726
//Timeline_260 (My_New_Town_fla.Timeline_260)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_260 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 727
//Timeline_28 (My_New_Town_fla.Timeline_28)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_28 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 728
//Timeline_30 (My_New_Town_fla.Timeline_30)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_30 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 729
//Timeline_543 (My_New_Town_fla.Timeline_543)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_543 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 730
//Timeline_545 (My_New_Town_fla.Timeline_545)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_545 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 731
//Timeline_547 (My_New_Town_fla.Timeline_547)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_547 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 732
//Timeline_560 (My_New_Town_fla.Timeline_560)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_560 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 733
//Timeline_562 (My_New_Town_fla.Timeline_562)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_562 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 734
//Timeline_564 (My_New_Town_fla.Timeline_564)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_564 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 735
//Timeline_566 (My_New_Town_fla.Timeline_566)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_566 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 736
//Timeline_734 (My_New_Town_fla.Timeline_734)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_734 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 737
//Timeline_739 (My_New_Town_fla.Timeline_739)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_739 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 738
//Timeline_8 (My_New_Town_fla.Timeline_8)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_8 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 739
//Timeline_805 (My_New_Town_fla.Timeline_805)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_805 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 740
//Timeline_811 (My_New_Town_fla.Timeline_811)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_811 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 741
//Timeline_822 (My_New_Town_fla.Timeline_822)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_822 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 742
//Timeline_824 (My_New_Town_fla.Timeline_824)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_824 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 743
//Timeline_830 (My_New_Town_fla.Timeline_830)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_830 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 744
//Timeline_832 (My_New_Town_fla.Timeline_832)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_832 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 745
//Timeline_844 (My_New_Town_fla.Timeline_844)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_844 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 746
//Timeline_846 (My_New_Town_fla.Timeline_846)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_846 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 747
//Timeline_848 (My_New_Town_fla.Timeline_848)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_848 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 748
//Timeline_854 (My_New_Town_fla.Timeline_854)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_854 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 749
//Timeline_856 (My_New_Town_fla.Timeline_856)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_856 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 750
//Timeline_858 (My_New_Town_fla.Timeline_858)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_858 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 751
//Timeline_869 (My_New_Town_fla.Timeline_869)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_869 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 752
//Timeline_871 (My_New_Town_fla.Timeline_871)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_871 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 753
//Timeline_884 (My_New_Town_fla.Timeline_884)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_884 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 754
//Timeline_886 (My_New_Town_fla.Timeline_886)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_886 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 755
//Timeline_888 (My_New_Town_fla.Timeline_888)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_888 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 756
//Timeline_901 (My_New_Town_fla.Timeline_901)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_901 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 757
//Timeline_903 (My_New_Town_fla.Timeline_903)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_903 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 758
//Timeline_905 (My_New_Town_fla.Timeline_905)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_905 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 759
//Timeline_918 (My_New_Town_fla.Timeline_918)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_918 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 760
//Timeline_920 (My_New_Town_fla.Timeline_920)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_920 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 761
//Timeline_922 (My_New_Town_fla.Timeline_922)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_922 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 762
//Timeline_924 (My_New_Town_fla.Timeline_924)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_924 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 763
//Timeline_933 (My_New_Town_fla.Timeline_933)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_933 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 764
//Timeline_935 (My_New_Town_fla.Timeline_935)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_935 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 765
//Timeline_937 (My_New_Town_fla.Timeline_937)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_937 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 766
//Timeline_939 (My_New_Town_fla.Timeline_939)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_939 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 767
//Timeline_941 (My_New_Town_fla.Timeline_941)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_941 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 768
//Timeline_947 (My_New_Town_fla.Timeline_947)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_947 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 769
//Timeline_949 (My_New_Town_fla.Timeline_949)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_949 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 770
//Timeline_951 (My_New_Town_fla.Timeline_951)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_951 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 771
//Timeline_953 (My_New_Town_fla.Timeline_953)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_953 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 772
//Timeline_955 (My_New_Town_fla.Timeline_955)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_955 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 773
//Timeline_965 (My_New_Town_fla.Timeline_965)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_965 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 774
//Timeline_969 (My_New_Town_fla.Timeline_969)
package My_New_Town_fla {
import flash.display.*;
public dynamic class Timeline_969 extends MovieClip {
public var ani:MovieClip;
}
}//package My_New_Town_fla
Section 775
//tree_1_color1_1266 (My_New_Town_fla.tree_1_color1_1266)
package My_New_Town_fla {
import flash.display.*;
public dynamic class tree_1_color1_1266 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 776
//tree_1_color2_1268 (My_New_Town_fla.tree_1_color2_1268)
package My_New_Town_fla {
import flash.display.*;
public dynamic class tree_1_color2_1268 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 777
//tree_2_color1_1281 (My_New_Town_fla.tree_2_color1_1281)
package My_New_Town_fla {
import flash.display.*;
public dynamic class tree_2_color1_1281 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 778
//tree_2_color2_1283 (My_New_Town_fla.tree_2_color2_1283)
package My_New_Town_fla {
import flash.display.*;
public dynamic class tree_2_color2_1283 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 779
//tree_3_color1_1296 (My_New_Town_fla.tree_3_color1_1296)
package My_New_Town_fla {
import flash.display.*;
public dynamic class tree_3_color1_1296 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 780
//tree_3_color2_1298 (My_New_Town_fla.tree_3_color2_1298)
package My_New_Town_fla {
import flash.display.*;
public dynamic class tree_3_color2_1298 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 781
//ufo_1_color1_1368 (My_New_Town_fla.ufo_1_color1_1368)
package My_New_Town_fla {
import flash.display.*;
public dynamic class ufo_1_color1_1368 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 782
//ufo_1_color2_1370 (My_New_Town_fla.ufo_1_color2_1370)
package My_New_Town_fla {
import flash.display.*;
public dynamic class ufo_1_color2_1370 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 783
//ufo_1_color3_1372 (My_New_Town_fla.ufo_1_color3_1372)
package My_New_Town_fla {
import flash.display.*;
public dynamic class ufo_1_color3_1372 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 784
//ufo_1_color4_1374 (My_New_Town_fla.ufo_1_color4_1374)
package My_New_Town_fla {
import flash.display.*;
public dynamic class ufo_1_color4_1374 extends MovieClip {
public var color:MovieClip;
}
}//package My_New_Town_fla
Section 785
//WeatherBtnMC_1751 (My_New_Town_fla.WeatherBtnMC_1751)
package My_New_Town_fla {
import flash.display.*;
public dynamic class WeatherBtnMC_1751 extends MovieClip {
public var WeatherMC:MovieClip;
public var WeatherUpBtn:_upPageBtn_;
public var WeatherDownBtn:_downPageBtn_;
}
}//package My_New_Town_fla
Section 786
//ImgDownLoader (net.download.ImgDownLoader)
package net.download {
import flash.net.*;
import flash.events.*;
import flash.display.*;
public class ImgDownLoader {
private var _loadCompleted:Boolean;
private var _loader:Loader;
private var _listener:ImgDownLoadListener;
private var _urlRequest:URLRequest;
public function ImgDownLoader(_arg1:String, _arg2:ImgDownLoadListener){
var s = _arg1;
var listener = _arg2;
super();
_urlRequest = new URLRequest(s);
_listener = listener;
_loadCompleted = false;
try {
initLoader();
} catch(e:Error) {
_listener.failedHandler();
};
}
private function initLoader():void{
_loader = new Loader();
_loader.load(_urlRequest);
_loader.addEventListener(Event.ENTER_FRAME, enterFrameHandler);
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, IOErrorHandler);
}
private function delLoader():void{
try {
if (!_loadCompleted){
_loader.close();
};
} catch(e:Error) {
trace(e);
};
_loader.removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, loaderCompleteHandler);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, IOErrorHandler);
_loader = null;
}
public function get displayObject():Loader{
return (_loader);
}
public function destroy():void{
delLoader();
}
private function enterFrameHandler(_arg1:Event):void{
var _local2:Number;
if (_loader.contentLoaderInfo.bytesTotal != 0){
_local2 = (_loader.contentLoaderInfo.bytesLoaded / _loader.contentLoaderInfo.bytesTotal);
_listener.progressHandler(_local2);
};
}
private function loaderCompleteHandler(_arg1:Event):void{
_loadCompleted = true;
_listener.completeHandler();
}
private function IOErrorHandler(_arg1:IOErrorEvent):void{
_listener.failedHandler();
}
}
}//package net.download
Section 787
//ImgDownLoadListener (net.download.ImgDownLoadListener)
package net.download {
public interface ImgDownLoadListener {
function completeHandler():void;
function failedHandler():void;
function progressHandler(_arg1:Number):void;
}
}//package net.download
Section 788
//ListDownLoader (net.download.ListDownLoader)
package net.download {
import flash.net.*;
import flash.events.*;
public class ListDownLoader {
private var _urlLoader:URLLoader;
private var _loadCompleted:Boolean;
private var _listener:ListDownLoadListener;
private var _urlRequest:URLRequest;
public function ListDownLoader(_arg1:String, _arg2:ListDownLoadListener){
var url = _arg1;
var listener = _arg2;
super();
_urlRequest = new URLRequest(url);
_listener = listener;
_loadCompleted = false;
try {
initLoader();
} catch(e:Error) {
_listener.failedHandler();
};
}
private function delLoader():void{
try {
if (!_loadCompleted){
_urlLoader.close();
};
} catch(e:Error) {
trace(e);
};
_urlLoader.removeEventListener(IOErrorEvent.IO_ERROR, IOErrorHandler);
_urlLoader.removeEventListener(Event.ENTER_FRAME, enterFrame);
_urlLoader.removeEventListener(Event.COMPLETE, complete);
_urlLoader = null;
}
private function IOErrorHandler(_arg1:IOErrorEvent):void{
_listener.failedHandler();
}
public function destroy():void{
delLoader();
}
private function initLoader():void{
_urlLoader = new URLLoader();
_urlLoader.load(_urlRequest);
_urlLoader.addEventListener(Event.ENTER_FRAME, enterFrame);
_urlLoader.addEventListener(Event.COMPLETE, complete);
_urlLoader.addEventListener(IOErrorEvent.IO_ERROR, IOErrorHandler);
}
private function complete(_arg1:Event):void{
var _local2:XML;
var _local3:XMLList;
_loadCompleted = true;
_local2 = new XML(String(_urlLoader.data));
_local3 = _local2["resultset"]["result"];
_listener.completeHandler(_local3);
}
private function enterFrame(_arg1:Event):void{
var _local2:Number;
if (_urlLoader.bytesTotal != 0){
_local2 = (_urlLoader.bytesLoaded / _urlLoader.bytesTotal);
_listener.progressHandler(_local2);
};
}
}
}//package net.download
Section 789
//ListDownLoadListener (net.download.ListDownLoadListener)
package net.download {
public interface ListDownLoadListener {
function completeHandler(_arg1:XMLList):void;
function failedHandler():void;
function progressHandler(_arg1:Number):void;
}
}//package net.download
Section 790
//BitString (net.images.BitString)
package net.images {
public class BitString {
var val:Number;// = 0
var len:Number;// = 0
public function BitString(){
len = 0;
val = 0;
super();
}
}
}//package net.images
Section 791
//JPGEncoder (net.images.JPGEncoder)
package net.images {
import flash.utils.*;
import flash.display.*;
public class JPGEncoder {
private var fdtbl_UV:Array;
private var std_ac_chrominance_values:Array;
private var std_dc_chrominance_nrcodes:Array;
private var std_dc_chrominance_values:Array;
private var ZigZag:Array;
private var YDC_HT:Array;
private var bytenew:int;// = 0
private var fdtbl_Y:Array;
private var YAC_HT:Array;
private var std_ac_chrominance_nrcodes:Array;
private var DU:Array;
private var std_ac_luminance_values:Array;
private var UVTable:Array;
private var UDU:Array;
private var YDU:Array;
private var byteout:ByteArray;
private var UVAC_HT:Array;
private var UVDC_HT:Array;
private var bytepos:int;// = 7
private var VDU:Array;
private var std_ac_luminance_nrcodes:Array;
private var std_dc_luminance_values:Array;
private var YTable:Array;
private var std_dc_luminance_nrcodes:Array;
private var bitcode:Array;
private var category:Array;
public function JPGEncoder(_arg1:Number=50){
var _local2:int;
ZigZag = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63];
YTable = new Array(64);
UVTable = new Array(64);
fdtbl_Y = new Array(64);
fdtbl_UV = new Array(64);
std_dc_luminance_nrcodes = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0];
std_dc_luminance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
std_ac_luminance_nrcodes = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125];
std_ac_luminance_values = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250];
std_dc_chrominance_nrcodes = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
std_dc_chrominance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
std_ac_chrominance_nrcodes = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119];
std_ac_chrominance_values = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
bitcode = new Array(0xFFFF);
category = new Array(0xFFFF);
bytenew = 0;
bytepos = 7;
DU = new Array(64);
YDU = new Array(64);
UDU = new Array(64);
VDU = new Array(64);
super();
if (_arg1 <= 0){
_arg1 = 1;
};
if (_arg1 > 100){
_arg1 = 100;
};
_local2 = 0;
if (_arg1 < 50){
_local2 = int((5000 / _arg1));
} else {
_local2 = int((200 - (_arg1 * 2)));
};
initHuffmanTbl();
initCategoryNumber();
initQuantTables(_local2);
}
private function RGB2YUV(_arg1:BitmapData, _arg2:int, _arg3:int):void{
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:uint;
var _local8:Number;
var _local9:Number;
var _local10:Number;
_local4 = 0;
_local5 = 0;
while (_local5 < 8) {
_local6 = 0;
while (_local6 < 8) {
_local7 = _arg1.getPixel32((_arg2 + _local6), (_arg3 + _local5));
_local8 = Number(((_local7 >> 16) & 0xFF));
_local9 = Number(((_local7 >> 8) & 0xFF));
_local10 = Number((_local7 & 0xFF));
YDU[_local4] = ((((0.299 * _local8) + (0.587 * _local9)) + (0.114 * _local10)) - 128);
UDU[_local4] = (((-0.16874 * _local8) + (-0.33126 * _local9)) + (0.5 * _local10));
VDU[_local4] = (((0.5 * _local8) + (-0.41869 * _local9)) + (-0.08131 * _local10));
_local4++;
_local6++;
};
_local5++;
};
}
private function writeWord(_arg1:int):void{
writeByte(((_arg1 >> 8) & 0xFF));
writeByte((_arg1 & 0xFF));
}
private function writeByte(_arg1:int):void{
byteout.writeByte(_arg1);
}
private function writeDHT():void{
var _local1:int;
writeWord(65476);
writeWord(418);
writeByte(0);
_local1 = 0;
while (_local1 < 16) {
writeByte(std_dc_luminance_nrcodes[(_local1 + 1)]);
_local1++;
};
_local1 = 0;
while (_local1 <= 11) {
writeByte(std_dc_luminance_values[_local1]);
_local1++;
};
writeByte(16);
_local1 = 0;
while (_local1 < 16) {
writeByte(std_ac_luminance_nrcodes[(_local1 + 1)]);
_local1++;
};
_local1 = 0;
while (_local1 <= 161) {
writeByte(std_ac_luminance_values[_local1]);
_local1++;
};
writeByte(1);
_local1 = 0;
while (_local1 < 16) {
writeByte(std_dc_chrominance_nrcodes[(_local1 + 1)]);
_local1++;
};
_local1 = 0;
while (_local1 <= 11) {
writeByte(std_dc_chrominance_values[_local1]);
_local1++;
};
writeByte(17);
_local1 = 0;
while (_local1 < 16) {
writeByte(std_ac_chrominance_nrcodes[(_local1 + 1)]);
_local1++;
};
_local1 = 0;
while (_local1 <= 161) {
writeByte(std_ac_chrominance_values[_local1]);
_local1++;
};
}
private function writeBits(_arg1:BitString):void{
var _local2:int;
var _local3:int;
_local2 = _arg1.val;
_local3 = (_arg1.len - 1);
while (_local3 >= 0) {
if ((_local2 & uint((1 << _local3)))){
bytenew = (bytenew | uint((1 << bytepos)));
};
_local3--;
bytepos--;
if (bytepos < 0){
if (bytenew == 0xFF){
writeByte(0xFF);
writeByte(0);
} else {
writeByte(bytenew);
};
bytepos = 7;
bytenew = 0;
};
};
}
private function initHuffmanTbl():void{
YDC_HT = computeHuffmanTbl(std_dc_luminance_nrcodes, std_dc_luminance_values);
UVDC_HT = computeHuffmanTbl(std_dc_chrominance_nrcodes, std_dc_chrominance_values);
YAC_HT = computeHuffmanTbl(std_ac_luminance_nrcodes, std_ac_luminance_values);
UVAC_HT = computeHuffmanTbl(std_ac_chrominance_nrcodes, std_ac_chrominance_values);
}
public function encode(_arg1:BitmapData):ByteArray{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:int;
var _local6:int;
var _local7:BitString;
byteout = new ByteArray();
bytenew = 0;
bytepos = 7;
writeWord(65496);
writeAPP0();
writeDQT();
writeSOF0(_arg1.width, _arg1.height);
writeDHT();
writeSOS();
_local2 = 0;
_local3 = 0;
_local4 = 0;
bytenew = 0;
bytepos = 7;
_local5 = 0;
while (_local5 < _arg1.height) {
_local6 = 0;
while (_local6 < _arg1.width) {
RGB2YUV(_arg1, _local6, _local5);
_local2 = processDU(YDU, fdtbl_Y, _local2, YDC_HT, YAC_HT);
_local3 = processDU(UDU, fdtbl_UV, _local3, UVDC_HT, UVAC_HT);
_local4 = processDU(VDU, fdtbl_UV, _local4, UVDC_HT, UVAC_HT);
_local6 = (_local6 + 8);
};
_local5 = (_local5 + 8);
};
if (bytepos >= 0){
_local7 = new BitString();
_local7.len = (bytepos + 1);
_local7.val = ((1 << (bytepos + 1)) - 1);
writeBits(_local7);
};
writeWord(65497);
return (byteout);
}
private function initCategoryNumber():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
_local1 = 1;
_local2 = 2;
_local4 = 1;
while (_local4 <= 15) {
_local3 = _local1;
while (_local3 < _local2) {
category[(32767 + _local3)] = _local4;
bitcode[(32767 + _local3)] = new BitString();
bitcode[(32767 + _local3)].len = _local4;
bitcode[(32767 + _local3)].val = _local3;
_local3++;
};
_local3 = -((_local2 - 1));
while (_local3 <= -(_local1)) {
category[(32767 + _local3)] = _local4;
bitcode[(32767 + _local3)] = new BitString();
bitcode[(32767 + _local3)].len = _local4;
bitcode[(32767 + _local3)].val = ((_local2 - 1) + _local3);
_local3++;
};
_local1 = (_local1 << 1);
_local2 = (_local2 << 1);
_local4++;
};
}
private function writeDQT():void{
var _local1:int;
writeWord(65499);
writeWord(132);
writeByte(0);
_local1 = 0;
while (_local1 < 64) {
writeByte(YTable[_local1]);
_local1++;
};
writeByte(1);
_local1 = 0;
while (_local1 < 64) {
writeByte(UVTable[_local1]);
_local1++;
};
}
private function writeAPP0():void{
writeWord(65504);
writeWord(16);
writeByte(74);
writeByte(70);
writeByte(73);
writeByte(70);
writeByte(0);
writeByte(1);
writeByte(1);
writeByte(0);
writeWord(1);
writeWord(1);
writeByte(0);
writeByte(0);
}
private function writeSOS():void{
writeWord(65498);
writeWord(12);
writeByte(3);
writeByte(1);
writeByte(0);
writeByte(2);
writeByte(17);
writeByte(3);
writeByte(17);
writeByte(0);
writeByte(63);
writeByte(0);
}
private function processDU(_arg1:Array, _arg2:Array, _arg3:Number, _arg4:Array, _arg5:Array):Number{
var _local6:BitString;
var _local7:BitString;
var _local8:int;
var _local9:Array;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:int;
var _local14:int;
_local6 = _arg5[0];
_local7 = _arg5[240];
_local9 = fDCTQuant(_arg1, _arg2);
_local8 = 0;
while (_local8 < 64) {
DU[ZigZag[_local8]] = _local9[_local8];
_local8++;
};
_local10 = (DU[0] - _arg3);
_arg3 = DU[0];
if (_local10 == 0){
writeBits(_arg4[0]);
} else {
writeBits(_arg4[category[(32767 + _local10)]]);
writeBits(bitcode[(32767 + _local10)]);
};
_local11 = 63;
while ((((_local11 > 0)) && ((DU[_local11] == 0)))) {
_local11--;
};
if (_local11 == 0){
writeBits(_local6);
return (_arg3);
};
_local8 = 1;
while (_local8 <= _local11) {
_local12 = _local8;
while ((((DU[_local8] == 0)) && ((_local8 <= _local11)))) {
_local8++;
};
_local13 = (_local8 - _local12);
if (_local13 >= 16){
_local14 = 1;
while (_local14 <= (_local13 / 16)) {
writeBits(_local7);
_local14++;
};
_local13 = int((_local13 & 15));
};
writeBits(_arg5[((_local13 * 16) + category[(32767 + DU[_local8])])]);
writeBits(bitcode[(32767 + DU[_local8])]);
_local8++;
};
if (_local11 != 63){
writeBits(_local6);
};
return (_arg3);
}
private function initQuantTables(_arg1:int):void{
var _local2:int;
var _local3:Number;
var _local4:Array;
var _local5:Array;
var _local6:Array;
var _local7:int;
var _local8:int;
_local4 = [16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55, 14, 13, 16, 24, 40, 57, 69, 56, 14, 17, 22, 29, 51, 87, 80, 62, 18, 22, 37, 56, 68, 109, 103, 77, 24, 35, 55, 64, 81, 104, 113, 92, 49, 64, 78, 87, 103, 121, 120, 101, 72, 92, 95, 98, 112, 100, 103, 99];
_local2 = 0;
while (_local2 < 64) {
_local3 = Math.floor((((_local4[_local2] * _arg1) + 50) / 100));
if (_local3 < 1){
_local3 = 1;
} else {
if (_local3 > 0xFF){
_local3 = 0xFF;
};
};
YTable[ZigZag[_local2]] = _local3;
_local2++;
};
_local5 = [17, 18, 24, 47, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99, 24, 26, 56, 99, 99, 99, 99, 99, 47, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99];
_local2 = 0;
while (_local2 < 64) {
_local3 = Math.floor((((_local5[_local2] * _arg1) + 50) / 100));
if (_local3 < 1){
_local3 = 1;
} else {
if (_local3 > 0xFF){
_local3 = 0xFF;
};
};
UVTable[ZigZag[_local2]] = _local3;
_local2++;
};
_local6 = [1, 1.387039845, 1.306562965, 1.175875602, 1, 0.785694958, 0.5411961, 0.275899379];
_local2 = 0;
_local7 = 0;
while (_local7 < 8) {
_local8 = 0;
while (_local8 < 8) {
fdtbl_Y[_local2] = (1 / (((YTable[ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8));
fdtbl_UV[_local2] = (1 / (((UVTable[ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8));
_local2++;
_local8++;
};
_local7++;
};
}
private function writeSOF0(_arg1:int, _arg2:int):void{
writeWord(65472);
writeWord(17);
writeByte(8);
writeWord(_arg2);
writeWord(_arg1);
writeByte(3);
writeByte(1);
writeByte(17);
writeByte(0);
writeByte(2);
writeByte(17);
writeByte(1);
writeByte(3);
writeByte(17);
writeByte(1);
}
private function computeHuffmanTbl(_arg1:Array, _arg2:Array):Array{
var _local3:int;
var _local4:int;
var _local5:Array;
var _local6:int;
var _local7:int;
_local3 = 0;
_local4 = 0;
_local5 = new Array();
_local6 = 1;
while (_local6 <= 16) {
_local7 = 1;
while (_local7 <= _arg1[_local6]) {
_local5[_arg2[_local4]] = new BitString();
_local5[_arg2[_local4]].val = _local3;
_local5[_arg2[_local4]].len = _local6;
_local4++;
_local3++;
_local7++;
};
_local3 = (_local3 * 2);
_local6++;
};
return (_local5);
}
private function fDCTQuant(_arg1:Array, _arg2:Array):Array{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:int;
var _local23:int;
_local23 = 0;
_local22 = 0;
while (_local22 < 8) {
_local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 7)]);
_local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 7)]);
_local4 = (_arg1[(_local23 + 1)] + _arg1[(_local23 + 6)]);
_local9 = (_arg1[(_local23 + 1)] - _arg1[(_local23 + 6)]);
_local5 = (_arg1[(_local23 + 2)] + _arg1[(_local23 + 5)]);
_local8 = (_arg1[(_local23 + 2)] - _arg1[(_local23 + 5)]);
_local6 = (_arg1[(_local23 + 3)] + _arg1[(_local23 + 4)]);
_local7 = (_arg1[(_local23 + 3)] - _arg1[(_local23 + 4)]);
_local11 = (_local3 + _local6);
_local14 = (_local3 - _local6);
_local12 = (_local4 + _local5);
_local13 = (_local4 - _local5);
_arg1[(_local23 + 0)] = (_local11 + _local12);
_arg1[(_local23 + 4)] = (_local11 - _local12);
_local15 = ((_local13 + _local14) * 0.707106781);
_arg1[(_local23 + 2)] = (_local14 + _local15);
_arg1[(_local23 + 6)] = (_local14 - _local15);
_local11 = (_local7 + _local8);
_local12 = (_local8 + _local9);
_local13 = (_local9 + _local10);
_local19 = ((_local11 - _local13) * 0.382683433);
_local16 = ((0.5411961 * _local11) + _local19);
_local18 = ((1.306562965 * _local13) + _local19);
_local17 = (_local12 * 0.707106781);
_local20 = (_local10 + _local17);
_local21 = (_local10 - _local17);
_arg1[(_local23 + 5)] = (_local21 + _local16);
_arg1[(_local23 + 3)] = (_local21 - _local16);
_arg1[(_local23 + 1)] = (_local20 + _local18);
_arg1[(_local23 + 7)] = (_local20 - _local18);
_local23 = (_local23 + 8);
_local22++;
};
_local23 = 0;
_local22 = 0;
while (_local22 < 8) {
_local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 56)]);
_local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 56)]);
_local4 = (_arg1[(_local23 + 8)] + _arg1[(_local23 + 48)]);
_local9 = (_arg1[(_local23 + 8)] - _arg1[(_local23 + 48)]);
_local5 = (_arg1[(_local23 + 16)] + _arg1[(_local23 + 40)]);
_local8 = (_arg1[(_local23 + 16)] - _arg1[(_local23 + 40)]);
_local6 = (_arg1[(_local23 + 24)] + _arg1[(_local23 + 32)]);
_local7 = (_arg1[(_local23 + 24)] - _arg1[(_local23 + 32)]);
_local11 = (_local3 + _local6);
_local14 = (_local3 - _local6);
_local12 = (_local4 + _local5);
_local13 = (_local4 - _local5);
_arg1[(_local23 + 0)] = (_local11 + _local12);
_arg1[(_local23 + 32)] = (_local11 - _local12);
_local15 = ((_local13 + _local14) * 0.707106781);
_arg1[(_local23 + 16)] = (_local14 + _local15);
_arg1[(_local23 + 48)] = (_local14 - _local15);
_local11 = (_local7 + _local8);
_local12 = (_local8 + _local9);
_local13 = (_local9 + _local10);
_local19 = ((_local11 - _local13) * 0.382683433);
_local16 = ((0.5411961 * _local11) + _local19);
_local18 = ((1.306562965 * _local13) + _local19);
_local17 = (_local12 * 0.707106781);
_local20 = (_local10 + _local17);
_local21 = (_local10 - _local17);
_arg1[(_local23 + 40)] = (_local21 + _local16);
_arg1[(_local23 + 24)] = (_local21 - _local16);
_arg1[(_local23 + 8)] = (_local20 + _local18);
_arg1[(_local23 + 56)] = (_local20 - _local18);
_local23++;
_local22++;
};
_local22 = 0;
while (_local22 < 64) {
_arg1[_local22] = Math.round((_arg1[_local22] * _arg2[_local22]));
_local22++;
};
return (_arg1);
}
}
}//package net.images
Section 792
//Uploader (net.upload.Uploader)
package net.upload {
import flash.net.*;
import flash.utils.*;
import flash.events.*;
import flash.display.*;
import net.*;
import net.images.*;
public class Uploader {
private var _data:String;
private var _completed:Boolean;
private var _rendering:ByteArray;
private var _preview:ByteArray;
private var _listener:UploadListener;
private var _title:String;
private var _urlLoader:URLLoader;
private var _username:String;
private var _id:int;
private var _description:String;
public function Uploader(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:BitmapData, _arg6:BitmapData, _arg7:UploadListener){
_title = ((_arg1 == "")) ? "null" : _arg1;
_username = ((_arg2 == "")) ? "null" : _arg2;
_description = ((_arg3 == "")) ? "null" : _arg3;
_data = ((_arg4 == "")) ? "<contentar></contentar>" : _arg4;
_preview = new JPGEncoder(100).encode(_arg5);
_rendering = new JPGEncoder(100).encode(_arg6);
trace(_title, _username, _description, _data, _preview, _rendering);
_listener = _arg7;
_completed = false;
initUrlLoader();
start();
}
private function stop():void{
try {
if (!_completed){
_urlLoader.close();
};
} catch(e:Error) {
trace(e);
};
}
private function completeHandler(_arg1:Event):void{
var _local2:XML;
_completed = true;
_local2 = new XML(String(_urlLoader.data));
if (_local2["result"]["id"] == null){
_listener.failedHandler();
} else {
_id = _local2["result"]["id"];
_listener.completeHandler(_id);
};
}
private function delUrlLoader():void{
_urlLoader.removeEventListener(IOErrorEvent.IO_ERROR, IOErrorHandler);
_urlLoader.removeEventListener(Event.COMPLETE, completeHandler);
_urlLoader = null;
}
private function start():void{
try {
uploadFile(_urlLoader, Data.instance.add, _title, _username, _description, _data, "", _preview, _rendering);
} catch(e:Error) {
_listener.failedHandler();
};
}
public function destroy():void{
stop();
delUrlLoader();
}
private function IOErrorHandler(_arg1:IOErrorEvent):void{
_listener.failedHandler();
}
private function initUrlLoader():void{
_urlLoader = new URLLoader();
_urlLoader.addEventListener(Event.COMPLETE, completeHandler);
_urlLoader.addEventListener(IOErrorEvent.IO_ERROR, IOErrorHandler);
}
}
}//package net.upload
Section 793
//uploadFile (net.upload.uploadFile)
package net.upload {
import flash.net.*;
import flash.utils.*;
public function uploadFile(_arg1:URLLoader, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8:ByteArray, _arg9:ByteArray):void{
var _local10:int;
var _local11:String;
var _local12:URLRequest;
var _local13:ByteArray;
var _local14:String;
_local11 = "--";
_local12 = new URLRequest();
_local13 = new ByteArray();
_local10 = 0;
while (_local10 < 16) {
_local11 = (_local11 + String.fromCharCode(int((97 + (Math.random() * 25)))));
_local10++;
};
_arg1.dataFormat = URLLoaderDataFormat.BINARY;
_local12.url = _arg2;
_local12.contentType = ("multipart/form-data; boundary=" + _local11);
_local12.method = URLRequestMethod.POST;
_local13.endian = Endian.BIG_ENDIAN;
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local14 = "Content-Disposition: form-data; name=\"title\"";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeInt(218762506);
_local13.writeUTFBytes(_arg3);
_local13.writeShort(3338);
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local14 = "Content-Disposition: form-data; name=\"description\"";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeInt(218762506);
_local13.writeUTFBytes(_arg5);
_local13.writeShort(3338);
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local14 = "Content-Disposition: form-data; name=\"username\"";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeInt(218762506);
_local13.writeUTFBytes(_arg4);
_local13.writeShort(3338);
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local14 = "Content-Disposition: form-data; name=\"hash\"";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeInt(218762506);
_local13.writeUTFBytes(_arg7);
_local13.writeShort(3338);
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local14 = "Content-Disposition: form-data; name=\"data\";filename=\"data_xml\"";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local14 = ("Content-Type: " + "XML");
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeInt(218762506);
_local13.writeUTFBytes(_arg6);
_local13.writeShort(3338);
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local14 = "Content-Disposition: form-data; name=\"preview\"; filename=\"preview_img";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local14 = ("Content-Type: " + "image/JPEG");
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeInt(218762506);
_local13.writeBytes(_arg8, 0, _arg8.length);
_local13.writeShort(3338);
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local14 = "Content-Disposition: form-data; name=\"rendering\"; filename=\"rendering_img";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local14 = ("Content-Type: " + "image/JPEG");
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeInt(218762506);
_local13.writeBytes(_arg9, 0, _arg9.length);
_local13.writeShort(3338);
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local14 = "Content-Disposition: form-data; name=\"Upload\"";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeInt(218762506);
_local14 = "Submit Query";
_local10 = 0;
while (_local10 < _local14.length) {
_local13.writeByte(_local14.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(3338);
_local13.writeShort(0x2D2D);
_local10 = 0;
while (_local10 < _local11.length) {
_local13.writeByte(_local11.charCodeAt(_local10));
_local10++;
};
_local13.writeShort(0x2D2D);
_local12.data = _local13;
_arg1.load(_local12);
}
}//package net.upload
Section 794
//UploadListener (net.upload.UploadListener)
package net.upload {
public interface UploadListener {
function completeHandler(_arg1:int):void;
function failedHandler():void;
}
}//package net.upload
Section 795
//Data (net.Data)
package net {
import flash.display.*;
import flash.system.*;
public class Data {
private var server:String;// = "http://api.gamatar.org"
private var _type:int;
private var _add:String;
private var preview_api:String;// = "gm/pb/1/preview"
private var rendering_api:String;// = "gm/pb/1/rendering"
private var _itemtype:int;
private var list_api:String;// = "gm/pb/1/list"
private var add_api:String;// = "gm/pb/1/add"
private var _list:String;
private static var _siteid:int;
private static var _instance:Data;
private static var _itemid:int;
public function Data(){
server = "http://api.gamatar.org";
add_api = "gm/pb/1/add";
preview_api = "gm/pb/1/preview";
rendering_api = "gm/pb/1/rendering";
list_api = "gm/pb/1/list";
super();
initPro();
}
public function preview(_arg1:int):String{
return (((((server + "/") + preview_api) + "/") + _arg1));
}
public function rendering(_arg1:int):String{
return (((((server + "/") + rendering_api) + "/") + _arg1));
}
private function initPro():void{
_type = 2;
_itemtype = 1;
_add = ((((((((((server + "/") + add_api) + "/") + _type) + "/") + _siteid) + "/") + _itemtype) + "/") + _itemid);
_list = ((((((((((server + "/") + list_api) + "/") + _type) + "/") + _siteid) + "/") + _itemtype) + "/") + _itemid);
trace((("_add" + " ") + _add));
}
public function get list():String{
return ((_list + "?pagesize=42&pagenr=1&sorting=date&order=2"));
}
public function get add():String{
return (_add);
}
public function renderingAPI(_arg1:int):String{
return (((("/" + rendering_api) + "/") + _arg1));
}
public static function init(_arg1:DisplayObject):void{
Security.allowDomain("http://api.gamatar.dev.spilgames.com");
_siteid = _arg1.root.loaderInfo.parameters["s"];
_itemid = _arg1.root.loaderInfo.parameters["id"];
}
public static function get instance():Data{
if (_instance == null){
_instance = new (Data);
};
return (_instance);
}
}
}//package net
Section 796
//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 797
//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 798
//Countries (zlong.localization.country.Countries)
package zlong.localization.country {
import zlong.localization.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];
trace(("Error in the country value,set country with default value : " + _countryGroup[0]));
trace(("Please set country with value : " + _countryGroup.toString()));
} 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.localization.country
Section 799
//CountriesData (zlong.localization.country.CountriesData)
package zlong.localization.country {
class CountriesData {
static const DATA:XML = <data>
<family>
<country name="br" domain="www.ojogos.com.br" game="jogo" language="7"/><!-- Brazillian -->
<country name="cn" domain="www.game.com.cn" game="moregames" language="15"/><!-- 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="13"/><!-- 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="14"/><!-- 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>
<country name="br" domain="www.clickjogos.com" game="jogo" language="7"/><!-- Brazillian -->
<country name="cn" domain="www.game.com.cn" game="moregames" language="15"/><!-- 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="13"/><!-- 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 -->
<country name="jp" domain="www.egames.jp" game="game" language="14"/><!-- 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 -->
<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.eu" game="spel_" language="10"/><!-- Swedish -->
<country name="en_uk" domain="www.mygames.co.uk" game="game" language="2"/><!-- English UK -->
<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>
<country name="br" domain="www.girlsgogames.com.br" game="jogo" language="7"/><!-- Brazillian -->
<country name="cn" domain="www.game.com.cn" game="moregames" language="15"/><!-- 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="13"/><!-- Indonesian -->
<country name="it" domain="www.girlsgogames.it" game="gioco" language="9"/><!-- Italian -->
<country name="jp" domain="www.egames.jp" game="game" language="14"/><!-- 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>
<country name="br" domain="www.a10.com" game="jogo" language="7"/><!-- Brazillian -->
<country name="cn" domain="www.game.com.cn" game="moregames" language="15"/><!-- 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="13"/><!-- 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="14"/><!-- 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.localization.country
Section 800
//CountryInfo (zlong.localization.country.CountryInfo)
package zlong.localization.country {
import zlong.domain.*;
import zlong.localization.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;
_local1 = "http://www.girlsgogames.com";
_local1 = (_local1 + ((("/" + countries.current.game) + "/") + GameInfo.html));
if (countries.current.name != "cn"){
_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 language():int{
return (countries.current.language);
}
public static function get instance():CountryInfo{
if (_instance == null){
_instance = new (CountryInfo);
};
return (_instance);
}
}
}//package zlong.localization.country
Section 801
//CountryItem (zlong.localization.country.CountryItem)
package zlong.localization.country {
final class CountryItem {
var domain:String;
var game:String;
var language:int;
var name:String;
}
}//package zlong.localization.country
Section 802
//CountryCookie (zlong.localization.data.CountryCookie)
package zlong.localization.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.localization.data
Section 803
//GameInfo (zlong.localization.data.GameInfo)
package zlong.localization.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 name:String = "Game_Name";
public static var portal:String = "family";
}
}//package zlong.localization.data
Section 804
//CountriesBox (zlong.localization.display.CountriesBox)
package zlong.localization.display {
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
import flash.geom.*;
import zlong.localization.data.*;
public class CountriesBox extends Sprite {
private var flagMc:MovieClip;
private var selectBox:MovieClip;
public var countryName:countryMc;
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:TranText;
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();
}
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)){
popTo = "up";
} else {
popTo = "down";
};
}
private function set popTo(_arg1:String):void{
if (_arg1 == "down"){
mul = -1;
} else {
mul = 1;
};
setPop();
}
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 TranText);
country_name.change = false;
flagMc = (getChildByName("flag") as MovieClip);
flagMc.gotoAndStop(CountryInfo.instance.country);
country_name.gotoAndStop(CountryInfo.instance.country);
}
}
}//package zlong.localization.display
Section 805
//Dispatcher (zlong.localization.display.Dispatcher)
package zlong.localization.display {
import flash.events.*;
public class Dispatcher {
public static const LANGUAGE_CHANGED:String = "languageChanged";
public static var dispatcher:EventDispatcher = new EventDispatcher();
public static function langChanged():void{
dispatcher.dispatchEvent(new Event(LANGUAGE_CHANGED));
}
}
}//package zlong.localization.display
Section 806
//Logo (zlong.localization.display.Logo)
package zlong.localization.display {
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
public class Logo extends MovieClip {
public function Logo(){
init();
}
private function init():void{
stop();
buttonMode = true;
gotoAndStop(CountryInfo.instance.domain);
addEvent();
}
private function langChangeHandler(_arg1:Event):void{
gotoAndStop(CountryInfo.instance.domain);
}
private function removeHandler(_arg1:Event):void{
Dispatcher.dispatcher.removeEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
}
private function addEvent():void{
addEventListener(Event.REMOVED_FROM_STAGE, removeHandler);
Dispatcher.dispatcher.addEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
}
}
}//package zlong.localization.display
Section 807
//Menu (zlong.localization.display.Menu)
package zlong.localization.display {
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
import flash.ui.*;
import zlong.navigate.*;
public class Menu {
private var item:ContextMenuItem;
private var document:Sprite;
private var menu:ContextMenu;
public function Menu(_arg1:Sprite){
document = _arg1;
init();
initEvent();
}
private function changeLang(_arg1:Event):void{
item.caption = CountryInfo.instance.domain;
}
private function initEvent():void{
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Handler.click_menu_item);
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(CountryInfo.instance.domain);
menu.customItems.push(item);
document.contextMenu = menu;
}
}
}//package zlong.localization.display
Section 808
//TranText (zlong.localization.display.TranText)
package zlong.localization.display {
import flash.events.*;
import flash.display.*;
import zlong.localization.country.*;
public class TranText extends MovieClip {
public var line:MovieClip;
public var color1:MovieClip;
public var LineSizeTextMC:MovieClip;
public var ColorBtn:刷子;
public var color2:MovieClip;
public var shadow:MovieClip;
public var color3:MovieClip;
public var SizeBar:MovieClip;
public var HotArea:MovieClip;
public var DrawBtn:按钮;
public var DelBtn:垃圾桶;
public var nocolor:MovieClip;
public var SizeBtn:MovieClip;
public var EditUpBtn:右翻;
private var isChange:Boolean;// = true
public var EditDownBtn:左翻;
public var RotateBtn:翻转;
public function TranText(){
isChange = true;
super();
stop();
init();
}
private function init():void{
changeLang();
addEvent();
}
private function langChangeHandler(_arg1:Event):void{
if (isChange){
changeLang();
};
}
private function removeHandler(_arg1:Event):void{
Dispatcher.dispatcher.removeEventListener(Dispatcher.LANGUAGE_CHANGED, langChangeHandler);
}
private function addEvent():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.localization.display
Section 809
//GameSetting (zlong.localization.GameSetting)
package zlong.localization {
import flash.display.*;
import zlong.localization.country.*;
import zlong.localization.data.*;
import zlong.localization.display.*;
public class GameSetting {
public function GameSetting(_arg1:Sprite, _arg2:String, _arg3:String, _arg4:String, _arg5:int, _arg6:int){
GameInfo.portal = _arg2;
GameInfo.name = _arg3;
GameInfo.html = _arg4;
GameInfo.width = _arg5;
GameInfo.height = _arg6;
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:Sprite):void{
new Menu(_arg1);
}
}
}//package zlong.localization
Section 810
//Handler (zlong.navigate.Handler)
package zlong.navigate {
import flash.net.*;
import flash.events.*;
import zlong.localization.country.*;
import zlong.site.*;
import flash.external.*;
public class Handler {
public static function click_sendtofriend_moregame(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=button_sendtofriend_moregames"));
};
navigateToURL(_local2, "_blank");
}
public static function click_siteLocked_thisgame(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.thisGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.thisGameLink + "&utm_content=sitelocked"));
};
navigateToURL(_local2, "_blank");
}
public static function click_preloader_logo(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=logo_preloader"));
};
if (!SiteInfo.instance.allowed){
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_gameover_logo(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=logo_gameover"));
};
navigateToURL(_local2, "_blank");
}
public static function click_mainscreen_logo(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=logo_mainscreen"));
};
navigateToURL(_local2, "_blank");
}
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/downloads/");
} else {
_local2 = new URLRequest("http://www.gameportal.net");
};
navigateToURL(_local2, "_blank");
}
public static function click_gameover_button(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=button_gameover_moregames"));
};
navigateToURL(_local2, "_blank");
}
public static function click_mainscreen_button(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=button_mainscreen_moregames"));
};
navigateToURL(_local2, "_blank");
}
public static function click_highscore_button(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=button_highscore_3000games"));
};
navigateToURL(_local2, "_blank");
}
public static function click_menu_item(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "utm_content=send_to_friend"));
};
navigateToURL(_local2, "_blank");
}
public static function click_level_logo(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=logo_level"));
};
navigateToURL(_local2, "_blank");
}
public static function click_siteLocked_moregame(_arg1:Event=null):void{
var _local2:URLRequest;
if (CountryInfo.instance.country == "cn"){
_local2 = new URLRequest(CountryInfo.instance.moreGameLink);
} else {
_local2 = new URLRequest((CountryInfo.instance.moreGameLink + "&utm_content=sitelocked"));
};
navigateToURL(_local2, "_blank");
}
}
}//package zlong.navigate
Section 811
//SiteData (zlong.site.SiteData)
package zlong.site {
final class SiteData {
static const allowedSite:Array = ["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.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", "files.game.com.cn", "www.xiaoyouxi.com", "www.egames.jp", "www.game.co.in", "www.game.co.in", "www.games.co.id", "www.onrpg.com", "www.zlonggames.com", "www.zlonggamestest.com", "www.girlsgogames.es", "www.a10.com", "gamedev.dev.spilgames.com", "www.spel.se"];
}
}//package zlong.site
Section 812
//SiteInfo (zlong.site.SiteInfo)
package zlong.site {
import flash.external.*;
public class SiteInfo {
private var _domain:String;
private var _allowed:Boolean;
private static var _instance:SiteInfo;
public function SiteInfo():void{
_domain = returnDomain(returnURL());
_allowed = searchForSite(_domain);
}
private function searchForSite(_arg1:String):Boolean{
var _local2:uint;
_local2 = 0;
while (_local2 < SiteData.allowedSite.length) {
if (_arg1 == SiteData.allowedSite[_local2]){
return (true);
};
_local2++;
};
return (false);
}
private function returnDomain(_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);
}
public function get allowed():Boolean{
return (_allowed);
}
private function returnURL():String{
var loc:String;
try {
loc = ExternalInterface.call("window.location.href.toString");
} catch(e) {
loc = "error";
};
if ((((loc == null)) || ((loc == "")))){
loc = "error";
};
if (String(loc).indexOf(".swf") != -1){
loc = "error";
};
return (loc);
}
public static function get instance():SiteInfo{
if (_instance == null){
_instance = new (SiteInfo);
};
return (_instance);
}
}
}//package zlong.site
Section 813
//_arrrowMC1_ (_arrrowMC1_)
package {
import GameFile.*;
public dynamic class _arrrowMC1_ extends MyButton {
}
}//package
Section 814
//_AuguryErath_ (_AuguryErath_)
package {
import flash.display.*;
public dynamic class _AuguryErath_ extends MovieClip {
public var mc:MovieClip;
public function _AuguryErath_(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
}
}
}//package
Section 815
//_AuguryFire_ (_AuguryFire_)
package {
import flash.display.*;
public dynamic class _AuguryFire_ extends MovieClip {
public var mc:MovieClip;
public function _AuguryFire_(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
}
}
}//package
Section 816
//_AuguryMain_ (_AuguryMain_)
package {
import flash.display.*;
public dynamic class _AuguryMain_ extends MovieClip {
}
}//package
Section 817
//_AuguryWater_ (_AuguryWater_)
package {
import flash.display.*;
public dynamic class _AuguryWater_ extends MovieClip {
public var mc:MovieClip;
public function _AuguryWater_(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
}
}
}//package
Section 818
//_AuguryWind_ (_AuguryWind_)
package {
import flash.display.*;
public dynamic class _AuguryWind_ extends MovieClip {
public var mc:MovieClip;
public function _AuguryWind_(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
}
}
}//package
Section 819
//_BackBtn_ (_BackBtn_)
package {
import GameFile.*;
public dynamic class _BackBtn_ extends MyButton {
}
}//package
Section 820
//_BackBtn2_ (_BackBtn2_)
package {
import GameFile.*;
public dynamic class _BackBtn2_ extends MyButton {
}
}//package
Section 821
//_BackgroundMC_ (_BackgroundMC_)
package {
import flash.display.*;
public dynamic class _BackgroundMC_ extends MovieClip {
}
}//package
Section 822
//_BackToGameBtn_ (_BackToGameBtn_)
package {
import GameFile.*;
public dynamic class _BackToGameBtn_ extends MyButton {
}
}//package
Section 823
//_baickground_1_ (_baickground_1_)
package {
import GameFile.*;
public dynamic class _baickground_1_ extends OBJ {
}
}//package
Section 824
//_baickground_2_ (_baickground_2_)
package {
import GameFile.*;
public dynamic class _baickground_2_ extends OBJ {
}
}//package
Section 825
//_barn_1_ (_barn_1_)
package {
import GameFile.*;
public dynamic class _barn_1_ extends OBJ {
}
}//package
Section 826
//_barn_2_ (_barn_2_)
package {
import GameFile.*;
public dynamic class _barn_2_ extends OBJ {
}
}//package
Section 827
//_barrier_1_ (_barrier_1_)
package {
import GameFile.*;
public dynamic class _barrier_1_ extends OBJ {
}
}//package
Section 828
//_barrier_2_ (_barrier_2_)
package {
import GameFile.*;
public dynamic class _barrier_2_ extends OBJ {
}
}//package
Section 829
//_bike_1_ (_bike_1_)
package {
import GameFile.*;
public dynamic class _bike_1_ extends OBJ {
}
}//package
Section 830
//_bike_2_ (_bike_2_)
package {
import GameFile.*;
public dynamic class _bike_2_ extends OBJ {
}
}//package
Section 831
//_billboard_ (_billboard_)
package {
import GameFile.*;
public dynamic class _billboard_ extends OBJ {
}
}//package
Section 832
//_boat_1_ (_boat_1_)
package {
import GameFile.*;
public dynamic class _boat_1_ extends OBJ {
}
}//package
Section 833
//_boat_2_ (_boat_2_)
package {
import GameFile.*;
public dynamic class _boat_2_ extends OBJ {
}
}//package
Section 834
//_boat_3_ (_boat_3_)
package {
import GameFile.*;
public dynamic class _boat_3_ extends OBJ {
}
}//package
Section 835
//_boy_1_ (_boy_1_)
package {
import GameFile.*;
public dynamic class _boy_1_ extends OBJ {
}
}//package
Section 836
//_boy_4_ (_boy_4_)
package {
import GameFile.*;
public dynamic class _boy_4_ extends OBJ {
}
}//package
Section 837
//_bridge_1_ (_bridge_1_)
package {
import GameFile.*;
public dynamic class _bridge_1_ extends OBJ {
}
}//package
Section 838
//_bridge_2_ (_bridge_2_)
package {
import GameFile.*;
public dynamic class _bridge_2_ extends OBJ {
}
}//package
Section 839
//_brushwood_1_ (_brushwood_1_)
package {
import GameFile.*;
public dynamic class _brushwood_1_ extends OBJ {
}
}//package
Section 840
//_brushwood_2_ (_brushwood_2_)
package {
import GameFile.*;
public dynamic class _brushwood_2_ extends OBJ {
}
}//package
Section 841
//_Btn1_ (_Btn1_)
package {
import GameFile.*;
public dynamic class _Btn1_ extends MyButton {
}
}//package
Section 842
//_Btn10_ (_Btn10_)
package {
import GameFile.*;
public dynamic class _Btn10_ extends MyButton {
}
}//package
Section 843
//_Btn11_ (_Btn11_)
package {
import GameFile.*;
public dynamic class _Btn11_ extends MyButton {
}
}//package
Section 844
//_Btn12_ (_Btn12_)
package {
import GameFile.*;
public dynamic class _Btn12_ extends MyButton {
}
}//package
Section 845
//_Btn13_ (_Btn13_)
package {
import GameFile.*;
public dynamic class _Btn13_ extends MyButton {
}
}//package
Section 846
//_Btn14_ (_Btn14_)
package {
import GameFile.*;
public dynamic class _Btn14_ extends MyButton {
}
}//package
Section 847
//_Btn2_ (_Btn2_)
package {
import GameFile.*;
public dynamic class _Btn2_ extends MyButton {
}
}//package
Section 848
//_Btn3_ (_Btn3_)
package {
import GameFile.*;
public dynamic class _Btn3_ extends MyButton {
}
}//package
Section 849
//_Btn4_ (_Btn4_)
package {
import GameFile.*;
public dynamic class _Btn4_ extends MyButton {
}
}//package
Section 850
//_Btn5_ (_Btn5_)
package {
import GameFile.*;
public dynamic class _Btn5_ extends MyButton {
}
}//package
Section 851
//_Btn6_ (_Btn6_)
package {
import GameFile.*;
public dynamic class _Btn6_ extends MyButton {
}
}//package
Section 852
//_Btn8_ (_Btn8_)
package {
import GameFile.*;
public dynamic class _Btn8_ extends MyButton {
}
}//package
Section 853
//_bus_ (_bus_)
package {
import GameFile.*;
public dynamic class _bus_ extends OBJ {
}
}//package
Section 854
//_business_1_ (_business_1_)
package {
import GameFile.*;
public dynamic class _business_1_ extends OBJ {
}
}//package
Section 855
//_car_1_ (_car_1_)
package {
import GameFile.*;
public dynamic class _car_1_ extends OBJ {
}
}//package
Section 856
//_car_2_ (_car_2_)
package {
import GameFile.*;
public dynamic class _car_2_ extends OBJ {
}
}//package
Section 857
//_ChoosePrintMC_ (_ChoosePrintMC_)
package {
import flash.display.*;
public dynamic class _ChoosePrintMC_ extends MovieClip {
public var ColorBtn:_Printincolor_;
public var CloseBtn:_quitBtn_;
public var WBBtn:_Printascoloringsheet_;
}
}//package
Section 858
//_cinema_1_ (_cinema_1_)
package {
import GameFile.*;
public dynamic class _cinema_1_ extends OBJ {
}
}//package
Section 859
//_cityhall_ (_cityhall_)
package {
import GameFile.*;
public dynamic class _cityhall_ extends OBJ {
}
}//package
Section 860
//_ClearAllPopMC_ (_ClearAllPopMC_)
package {
import flash.display.*;
public dynamic class _ClearAllPopMC_ extends MovieClip {
public var YesBtn:_YesBtn_;
public var NoBtn:_NoBtn_;
}
}//package
Section 861
//_ClearBtnMC_ (_ClearBtnMC_)
package {
import GameFile.*;
public dynamic class _ClearBtnMC_ extends MyButton {
}
}//package
Section 862
//_ColorMaterialNoteMC_ (_ColorMaterialNoteMC_)
package {
import flash.display.*;
public dynamic class _ColorMaterialNoteMC_ extends MovieClip {
}
}//package
Section 863
//_ColorTable_ (_ColorTable_)
package {
import flash.display.*;
public dynamic class _ColorTable_ extends MovieClip {
}
}//package
Section 864
//_CopyBtn_ (_CopyBtn_)
package {
import GameFile.*;
public dynamic class _CopyBtn_ extends MyButton {
}
}//package
Section 865
//_CopyBtn2_ (_CopyBtn2_)
package {
import GameFile.*;
public dynamic class _CopyBtn2_ extends MyButton {
}
}//package
Section 866
//_corner_1_ (_corner_1_)
package {
import GameFile.*;
public dynamic class _corner_1_ extends OBJ {
}
}//package
Section 867
//_cow_ (_cow_)
package {
import GameFile.*;
public dynamic class _cow_ extends OBJ {
}
}//package
Section 868
//_Credit_ (_Credit_)
package {
import flash.display.*;
public dynamic class _Credit_ extends MovieClip {
public var CreditList:MovieClip;
}
}//package
Section 869
//_Dark_ (_Dark_)
package {
import flash.display.*;
public dynamic class _Dark_ extends MovieClip {
}
}//package
Section 870
//_DownloadMC_ (_DownloadMC_)
package {
import flash.display.*;
public dynamic class _DownloadMC_ extends MovieClip {
public var NameTxt2:MovieClip;
public var NameTxt3:MovieClip;
public var NameTxt5:MovieClip;
public var TitleTxt2:MovieClip;
public var TitleTxt3:MovieClip;
public var TitleTxt6:MovieClip;
public var TitleTxt4:MovieClip;
public var NameTxt6:MovieClip;
public var TitleTxt5:MovieClip;
public var NameTxt1:MovieClip;
public var TitleTxt1:MovieClip;
public var ImageMC4:MovieClip;
public var ImageMC5:MovieClip;
public var ImageMC6:MovieClip;
public var ImageMC2:MovieClip;
public var NextBtn:_NextBtn_;
public var NameTxt4:MovieClip;
public var ImageMC1:MovieClip;
public var ImageBG1:MovieClip;
public var ImageBG5:MovieClip;
public var ImageBG6:MovieClip;
public var ImageMC3:MovieClip;
public var ImageBG4:MovieClip;
public var ImageBG2:MovieClip;
public var DateTxt1:MovieClip;
public var DateTxt2:MovieClip;
public var DateTxt5:MovieClip;
public var DateTxt4:MovieClip;
public var DateTxt6:MovieClip;
public var PreviousBtn:_PreviousBtn_;
public var DateTxt3:MovieClip;
public var NextEnabledMC:MovieClip;
public var BackBtn:_BackBtn_;
public var PreviousEnabledMC:MovieClip;
public var ImageBG3:MovieClip;
}
}//package
Section 871
//_downPageBtn_ (_downPageBtn_)
package {
import GameFile.*;
public dynamic class _downPageBtn_ extends MyButton {
}
}//package
Section 872
//_DrawNoteMC_ (_DrawNoteMC_)
package {
import flash.display.*;
public dynamic class _DrawNoteMC_ extends MovieClip {
}
}//package
Section 873
//_DrawPageBtnMC_ (_DrawPageBtnMC_)
package {
import flash.display.*;
public dynamic class _DrawPageBtnMC_ extends MovieClip {
public var DrawTypeBtn1:MovieClip;
public var DrawTypeBtn3:MovieClip;
public var DrawTypeBtn4:MovieClip;
public var DrawTypeBtn6:MovieClip;
public var DrawTypeBtn2:MovieClip;
public var DrawTypeBtn5:MovieClip;
public var DrawTypeBtn7:MovieClip;
public var PencilColorBtn:MovieClip;
public var FillColorBtn:MovieClip;
}
}//package
Section 874
//_EditMenu_ (_EditMenu_)
package {
import GameFile.*;
public dynamic class _EditMenu_ extends EditMenu {
}
}//package
Section 875
//_EditPage_ (_EditPage_)
package {
import flash.display.*;
public dynamic class _EditPage_ extends MovieClip {
public var HelpBtn:_helpBtn_;
public var CloseBtn:_quitBtn_;
}
}//package
Section 876
//_EnterNamePage_ (_EnterNamePage_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _EnterNamePage_ extends MovieClip {
public var YesBtn:_YesBtn_;
public var InputTxt:TextField;
public var NoBtn:_NoBtn_;
}
}//package
Section 877
//_et_1_ (_et_1_)
package {
import GameFile.*;
public dynamic class _et_1_ extends OBJ {
}
}//package
Section 878
//_etroom_1_ (_etroom_1_)
package {
import GameFile.*;
public dynamic class _etroom_1_ extends OBJ {
}
}//package
Section 879
//_factory_1_ (_factory_1_)
package {
import GameFile.*;
public dynamic class _factory_1_ extends OBJ {
}
}//package
Section 880
//_factory_2_ (_factory_2_)
package {
import GameFile.*;
public dynamic class _factory_2_ extends OBJ {
}
}//package
Section 881
//_falt_3_ (_falt_3_)
package {
import GameFile.*;
public dynamic class _falt_3_ extends OBJ {
}
}//package
Section 882
//_farm_1_ (_farm_1_)
package {
import GameFile.*;
public dynamic class _farm_1_ extends OBJ {
}
}//package
Section 883
//_farm_2_ (_farm_2_)
package {
import GameFile.*;
public dynamic class _farm_2_ extends OBJ {
}
}//package
Section 884
//_farm_3_ (_farm_3_)
package {
import GameFile.*;
public dynamic class _farm_3_ extends OBJ {
}
}//package
Section 885
//_flat_1_ (_flat_1_)
package {
import GameFile.*;
public dynamic class _flat_1_ extends OBJ {
}
}//package
Section 886
//_flat_2_ (_flat_2_)
package {
import GameFile.*;
public dynamic class _flat_2_ extends OBJ {
}
}//package
Section 887
//_flat_4_ (_flat_4_)
package {
import GameFile.*;
public dynamic class _flat_4_ extends OBJ {
}
}//package
Section 888
//_flower_1_ (_flower_1_)
package {
import GameFile.*;
public dynamic class _flower_1_ extends OBJ {
}
}//package
Section 889
//_flower_2_ (_flower_2_)
package {
import GameFile.*;
public dynamic class _flower_2_ extends OBJ {
}
}//package
Section 890
//_flower_3_ (_flower_3_)
package {
import GameFile.*;
public dynamic class _flower_3_ extends OBJ {
}
}//package
Section 891
//_flowercar_1_ (_flowercar_1_)
package {
import GameFile.*;
public dynamic class _flowercar_1_ extends OBJ {
}
}//package
Section 892
//_footpath_1_ (_footpath_1_)
package {
import GameFile.*;
public dynamic class _footpath_1_ extends OBJ {
}
}//package
Section 893
//_footpath_2_ (_footpath_2_)
package {
import GameFile.*;
public dynamic class _footpath_2_ extends OBJ {
}
}//package
Section 894
//_fountain_1_ (_fountain_1_)
package {
import GameFile.*;
public dynamic class _fountain_1_ extends OBJ {
}
}//package
Section 895
//_GalleryBtn_ (_GalleryBtn_)
package {
import GameFile.*;
public dynamic class _GalleryBtn_ extends MyButton {
}
}//package
Section 896
//_girl_1_ (_girl_1_)
package {
import GameFile.*;
public dynamic class _girl_1_ extends OBJ {
}
}//package
Section 897
//_girl_2_ (_girl_2_)
package {
import GameFile.*;
public dynamic class _girl_2_ extends OBJ {
}
}//package
Section 898
//_girl_3_ (_girl_3_)
package {
import GameFile.*;
public dynamic class _girl_3_ extends OBJ {
}
}//package
Section 899
//_girl_4_ (_girl_4_)
package {
import GameFile.*;
public dynamic class _girl_4_ extends OBJ {
}
}//package
Section 900
//_girl_5_ (_girl_5_)
package {
import GameFile.*;
public dynamic class _girl_5_ extends OBJ {
}
}//package
Section 901
//_GrayMask_ (_GrayMask_)
package {
import flash.display.*;
public dynamic class _GrayMask_ extends MovieClip {
}
}//package
Section 902
//_gymnasium_1_ (_gymnasium_1_)
package {
import GameFile.*;
public dynamic class _gymnasium_1_ extends OBJ {
}
}//package
Section 903
//_helpBtn_ (_helpBtn_)
package {
import GameFile.*;
public dynamic class _helpBtn_ extends MyButton {
}
}//package
Section 904
//_horse_1_ (_horse_1_)
package {
import GameFile.*;
public dynamic class _horse_1_ extends OBJ {
}
}//package
Section 905
//_hospital_1_ (_hospital_1_)
package {
import GameFile.*;
public dynamic class _hospital_1_ extends OBJ {
}
}//package
Section 906
//_HowToPlayBtn_ (_HowToPlayBtn_)
package {
import GameFile.*;
public dynamic class _HowToPlayBtn_ extends MyButton {
}
}//package
Section 907
//_HowToPlayBtnMC_ (_HowToPlayBtnMC_)
package {
import GameFile.*;
public dynamic class _HowToPlayBtnMC_ extends MyButton {
}
}//package
Section 908
//_HowToPlayMC_ (_HowToPlayMC_)
package {
import GameFile.*;
public dynamic class _HowToPlayMC_ extends HowToPlay {
}
}//package
Section 909
//_InGameButtonMC_ (_InGameButtonMC_)
package {
import GameFile.*;
public dynamic class _InGameButtonMC_ extends GameMenu {
}
}//package
Section 910
//_InGameLogo_ (_InGameLogo_)
package {
import flash.display.*;
public dynamic class _InGameLogo_ extends MovieClip {
}
}//package
Section 911
//_ItemMC_ (_ItemMC_)
package {
import flash.display.*;
public dynamic class _ItemMC_ extends MovieClip {
public var MaskMC:MovieClip;
}
}//package
Section 912
//_ItemPage_ (_ItemPage_)
package {
import flash.display.*;
public dynamic class _ItemPage_ extends MovieClip {
public var HelpBtn:_helpBtn_;
public var CloseBtn:_quitBtn_;
}
}//package
Section 913
//_Layer_ (_Layer_)
package {
import flash.display.*;
public dynamic class _Layer_ extends MovieClip {
}
}//package
Section 914
//_LevinMC_ (_LevinMC_)
package {
import flash.display.*;
public dynamic class _LevinMC_ extends MovieClip {
}
}//package
Section 915
//_library_ (_library_)
package {
import GameFile.*;
public dynamic class _library_ extends OBJ {
}
}//package
Section 916
//_LoadBigImage_ (_LoadBigImage_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _LoadBigImage_ extends MovieClip {
public var TitleTxt:MovieClip;
public var BigImageMC:MovieClip;
public var P:TextField;
public var ViewBtn:_ViewBtn1_;
public var CopyBtn:_CopyBtn_;
public var DateTxt:MovieClip;
public var NameTxt:MovieClip;
public var BackBtn:_BackBtn_;
public var LinkTxt:TextField;
}
}//package
Section 917
//_LoadBtn_ (_LoadBtn_)
package {
import GameFile.*;
public dynamic class _LoadBtn_ extends MyButton {
}
}//package
Section 918
//_LoadGameBtn_ (_LoadGameBtn_)
package {
import GameFile.*;
public dynamic class _LoadGameBtn_ extends MyButton {
}
}//package
Section 919
//_Loading_ (_Loading_)
package {
import flash.display.*;
public dynamic class _Loading_ extends MovieClip {
public var LightMC:MovieClip;
public var LogoMC:branding_aligned_center;
public var LoadingMC:MovieClip;
}
}//package
Section 920
//_Loadthetown_ (_Loadthetown_)
package {
import GameFile.*;
public dynamic class _Loadthetown_ extends MyButton {
}
}//package
Section 921
//_LockMC_ (_LockMC_)
package {
import flash.display.*;
public dynamic class _LockMC_ extends MovieClip {
public var StartGameBtn:_StartGameLogoBtn_;
public var BackBtn:_BackBtn2_;
}
}//package
Section 922
//_Main_ (_Main_)
package {
import flash.display.*;
public dynamic class _Main_ extends MovieClip {
}
}//package
Section 923
//_MainMenu_ (_MainMenu_)
package {
import flash.display.*;
public dynamic class _MainMenu_ extends MovieClip {
public var SpilBtn:SimpleButton;
public var LoadGameBtn:_LoadGameBtn_;
public var HowToPlayBtn:_HowToPlayBtn_;
public var NewGameBtn:_NewGameBtn_;
public var CreditBtn:SimpleButton;
public var GalleryBtn:_GalleryBtn_;
public var MoreGameBtn:_MoreGameBtn_;
public var SendToFriendBtn:_SendToFriendBtn_;
public var SoundBtn:_SoundBtn_;
public var MainMenuBottomMC:MovieClip;
public var QualityBtn:_QualityBtn_;
}
}//package
Section 924
//_MoreGameBtn_ (_MoreGameBtn_)
package {
import GameFile.*;
public dynamic class _MoreGameBtn_ extends MyButton {
}
}//package
Section 925
//_MouseColorMC_ (_MouseColorMC_)
package {
import flash.display.*;
public dynamic class _MouseColorMC_ extends MovieClip {
}
}//package
Section 926
//_MusicBtnMC_ (_MusicBtnMC_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _MusicBtnMC_ extends MovieClip {
public var MusicNumTxt:TextField;
public var DownBtn:_MusicChooseBtn_;
public var UpBtn:_MusicChooseBtn_;
}
}//package
Section 927
//_MusicChooseBtn_ (_MusicChooseBtn_)
package {
import GameFile.*;
public dynamic class _MusicChooseBtn_ extends MyButton {
}
}//package
Section 928
//_NewGameBtn_ (_NewGameBtn_)
package {
import GameFile.*;
public dynamic class _NewGameBtn_ extends MyButton {
}
}//package
Section 929
//_NextBtn_ (_NextBtn_)
package {
import GameFile.*;
public dynamic class _NextBtn_ extends MyButton {
}
}//package
Section 930
//_NoBtn_ (_NoBtn_)
package {
import GameFile.*;
public dynamic class _NoBtn_ extends MyButton {
}
}//package
Section 931
//_OKBtn_ (_OKBtn_)
package {
import GameFile.*;
public dynamic class _OKBtn_ extends MyButton {
}
}//package
Section 932
//_parterre_1_ (_parterre_1_)
package {
import GameFile.*;
public dynamic class _parterre_1_ extends OBJ {
}
}//package
Section 933
//_parterre_2_ (_parterre_2_)
package {
import GameFile.*;
public dynamic class _parterre_2_ extends OBJ {
}
}//package
Section 934
//_pond_ (_pond_)
package {
import GameFile.*;
public dynamic class _pond_ extends OBJ {
}
}//package
Section 935
//_postoffice_1_ (_postoffice_1_)
package {
import GameFile.*;
public dynamic class _postoffice_1_ extends OBJ {
}
}//package
Section 936
//_PreviousBtn_ (_PreviousBtn_)
package {
import GameFile.*;
public dynamic class _PreviousBtn_ extends MyButton {
}
}//package
Section 937
//_Printascoloringsheet_ (_Printascoloringsheet_)
package {
import GameFile.*;
public dynamic class _Printascoloringsheet_ extends MyButton {
}
}//package
Section 938
//_Printincolor_ (_Printincolor_)
package {
import GameFile.*;
public dynamic class _Printincolor_ extends MyButton {
}
}//package
Section 939
//_PrintMC_ (_PrintMC_)
package {
import flash.display.*;
public dynamic class _PrintMC_ extends MovieClip {
public var YesBtn:_YesBtn_;
public var NoBtn:_NoBtn_;
}
}//package
Section 940
//_QualityBtn_ (_QualityBtn_)
package {
import GameFile.*;
public dynamic class _QualityBtn_ extends MyButton {
}
}//package
Section 941
//_QuestionBtn_ (_QuestionBtn_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _QuestionBtn_ extends MovieClip {
public var Txt:TextField;
public var HotArea:MovieClip;
}
}//package
Section 942
//_quitBtn_ (_quitBtn_)
package {
import GameFile.*;
public dynamic class _quitBtn_ extends MyButton {
}
}//package
Section 943
//_Rain_ (_Rain_)
package {
import flash.display.*;
public dynamic class _Rain_ extends MovieClip {
}
}//package
Section 944
//_ReceiveFromFriendPage_ (_ReceiveFromFriendPage_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _ReceiveFromFriendPage_ extends MovieClip {
public var WishTxt:TextField;
public var StartGameBtn:_StartGameBtn_;
public var NameTxt:TextField;
public var CardMC:MovieClip;
public var MoreGameBtn:_MoreGameBtn_;
}
}//package
Section 945
//_restaurant_2_ (_restaurant_2_)
package {
import GameFile.*;
public dynamic class _restaurant_2_ extends OBJ {
}
}//package
Section 946
//_ResumePage_ (_ResumePage_)
package {
import flash.display.*;
public dynamic class _ResumePage_ extends MovieClip {
public var YesBtn:_Loadthetown_;
public var NoBtn:_Startanewtown_;
}
}//package
Section 947
//_river_1_ (_river_1_)
package {
import GameFile.*;
public dynamic class _river_1_ extends OBJ {
}
}//package
Section 948
//_river_2_ (_river_2_)
package {
import GameFile.*;
public dynamic class _river_2_ extends OBJ {
}
}//package
Section 949
//_road_1_ (_road_1_)
package {
import GameFile.*;
public dynamic class _road_1_ extends OBJ {
}
}//package
Section 950
//_road_3_ (_road_3_)
package {
import GameFile.*;
public dynamic class _road_3_ extends OBJ {
}
}//package
Section 951
//_road_4_ (_road_4_)
package {
import GameFile.*;
public dynamic class _road_4_ extends OBJ {
}
}//package
Section 952
//_room_1_ (_room_1_)
package {
import GameFile.*;
public dynamic class _room_1_ extends OBJ {
}
}//package
Section 953
//_room_2_ (_room_2_)
package {
import GameFile.*;
public dynamic class _room_2_ extends OBJ {
}
}//package
Section 954
//_room_3_ (_room_3_)
package {
import GameFile.*;
public dynamic class _room_3_ extends OBJ {
}
}//package
Section 955
//_room_4_ (_room_4_)
package {
import GameFile.*;
public dynamic class _room_4_ extends OBJ {
}
}//package
Section 956
//_SaveDataBtn_ (_SaveDataBtn_)
package {
import GameFile.*;
public dynamic class _SaveDataBtn_ extends MyButton {
}
}//package
Section 957
//_SaveLocalPage_ (_SaveLocalPage_)
package {
import flash.display.*;
public dynamic class _SaveLocalPage_ extends MovieClip {
public var SaveTxtMC:MovieClip;
public var CloseBtn:_quitBtn_;
public var SaveBtn1:_SaveDataBtn_;
public var SaveBtn2:_SaveDataBtn_;
public var LoadTxtMC:MovieClip;
public var SaveBtn3:_SaveDataBtn_;
}
}//package
Section 958
//_SavePage_ (_SavePage_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _SavePage_ extends MovieClip {
public var SaveText:TextField;
public var LoadText:TextField;
public var SaveBtn:_CopyBtn_;
public var ResumeBtn:_LoadBtn_;
public var BackBtn:_quitBtn_;
}
}//package
Section 959
//_SaveRoomBtn_ (_SaveRoomBtn_)
package {
import GameFile.*;
public dynamic class _SaveRoomBtn_ extends MyButton {
}
}//package
Section 960
//_school_1_ (_school_1_)
package {
import GameFile.*;
public dynamic class _school_1_ extends OBJ {
}
}//package
Section 961
//_ScrollBtn_ (_ScrollBtn_)
package {
import GameFile.*;
public dynamic class _ScrollBtn_ extends MyButton {
}
}//package
Section 962
//_ScrollMC_ (_ScrollMC_)
package {
import flash.display.*;
public dynamic class _ScrollMC_ extends MovieClip {
public var ScrollBtn:_ScrollBtn_;
}
}//package
Section 963
//_sculpture_1_ (_sculpture_1_)
package {
import GameFile.*;
public dynamic class _sculpture_1_ extends OBJ {
}
}//package
Section 964
//_sculpture_2_ (_sculpture_2_)
package {
import GameFile.*;
public dynamic class _sculpture_2_ extends OBJ {
}
}//package
Section 965
//_SendToFriendBtn_ (_SendToFriendBtn_)
package {
import GameFile.*;
public dynamic class _SendToFriendBtn_ extends MyButton {
}
}//package
Section 966
//_SentToFriendPage_ (_SentToFriendPage_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _SentToFriendPage_ extends MovieClip {
public var WishTxt:TextField;
public var CopyBtn:_CopyBtn_;
public var DownBtn:_SentToFriendPageBtn_;
public var UpBtn:_SentToFriendPageBtn_;
public var NameTxt:TextField;
public var CardMC:MovieClip;
public var BackBtn:_BackBtn_;
public var MoreGameBtn:_MoreGameBtn_;
public var LinkTxt:TextField;
}
}//package
Section 967
//_SentToFriendPageBtn_ (_SentToFriendPageBtn_)
package {
import GameFile.*;
public dynamic class _SentToFriendPageBtn_ extends MyButton {
}
}//package
Section 968
//_SizeBarMC_ (_SizeBarMC_)
package {
import flash.display.*;
public dynamic class _SizeBarMC_ extends MovieClip {
public var LineSizeTextMC:MovieClip;
public var SizeBar:MovieClip;
public var SizeBtn:MovieClip;
}
}//package
Section 969
//_Snow_ (_Snow_)
package {
import flash.display.*;
public dynamic class _Snow_ extends MovieClip {
}
}//package
Section 970
//_Sound_Augury_ (_Sound_Augury_)
package {
import flash.media.*;
public dynamic class _Sound_Augury_ extends Sound {
}
}//package
Section 971
//_Sound_BG1_ (_Sound_BG1_)
package {
import flash.media.*;
public dynamic class _Sound_BG1_ extends Sound {
}
}//package
Section 972
//_Sound_BG2_ (_Sound_BG2_)
package {
import flash.media.*;
public dynamic class _Sound_BG2_ extends Sound {
}
}//package
Section 973
//_Sound_BG3_ (_Sound_BG3_)
package {
import flash.media.*;
public dynamic class _Sound_BG3_ extends Sound {
}
}//package
Section 974
//_Sound_BG4_ (_Sound_BG4_)
package {
import flash.media.*;
public dynamic class _Sound_BG4_ extends Sound {
}
}//package
Section 975
//_Sound_ChangeBearing_ (_Sound_ChangeBearing_)
package {
import flash.media.*;
public dynamic class _Sound_ChangeBearing_ extends Sound {
}
}//package
Section 976
//_Sound_ChangeBG_ (_Sound_ChangeBG_)
package {
import flash.media.*;
public dynamic class _Sound_ChangeBG_ extends Sound {
}
}//package
Section 977
//_Sound_HowToPlay_ (_Sound_HowToPlay_)
package {
import flash.media.*;
public dynamic class _Sound_HowToPlay_ extends Sound {
}
}//package
Section 978
//_Sound_Levin_ (_Sound_Levin_)
package {
import flash.media.*;
public dynamic class _Sound_Levin_ extends Sound {
}
}//package
Section 979
//_Sound_MainMenu_ (_Sound_MainMenu_)
package {
import flash.media.*;
public dynamic class _Sound_MainMenu_ extends Sound {
}
}//package
Section 980
//_Sound_MainPress_ (_Sound_MainPress_)
package {
import flash.media.*;
public dynamic class _Sound_MainPress_ extends Sound {
}
}//package
Section 981
//_Sound_MainTouch_ (_Sound_MainTouch_)
package {
import flash.media.*;
public dynamic class _Sound_MainTouch_ extends Sound {
}
}//package
Section 982
//_Sound_OtherPress_ (_Sound_OtherPress_)
package {
import flash.media.*;
public dynamic class _Sound_OtherPress_ extends Sound {
}
}//package
Section 983
//_Sound_OtherTouch_ (_Sound_OtherTouch_)
package {
import flash.media.*;
public dynamic class _Sound_OtherTouch_ extends Sound {
}
}//package
Section 984
//_Sound_PopMenu_ (_Sound_PopMenu_)
package {
import flash.media.*;
public dynamic class _Sound_PopMenu_ extends Sound {
}
}//package
Section 985
//_Sound_Rain_ (_Sound_Rain_)
package {
import flash.media.*;
public dynamic class _Sound_Rain_ extends Sound {
}
}//package
Section 986
//_Sound_Snow_ (_Sound_Snow_)
package {
import flash.media.*;
public dynamic class _Sound_Snow_ extends Sound {
}
}//package
Section 987
//_Sound_TakeObj_ (_Sound_TakeObj_)
package {
import flash.media.*;
public dynamic class _Sound_TakeObj_ extends Sound {
}
}//package
Section 988
//_Sound_WindowIn_ (_Sound_WindowIn_)
package {
import flash.media.*;
public dynamic class _Sound_WindowIn_ extends Sound {
}
}//package
Section 989
//_Sound_WindowOut_ (_Sound_WindowOut_)
package {
import flash.media.*;
public dynamic class _Sound_WindowOut_ extends Sound {
}
}//package
Section 990
//_Sound_Windy_ (_Sound_Windy_)
package {
import flash.media.*;
public dynamic class _Sound_Windy_ extends Sound {
}
}//package
Section 991
//_SoundBtn_ (_SoundBtn_)
package {
import flash.display.*;
public dynamic class _SoundBtn_ extends MovieClip {
}
}//package
Section 992
//_Startanewtown_ (_Startanewtown_)
package {
import GameFile.*;
public dynamic class _Startanewtown_ extends MyButton {
}
}//package
Section 993
//_StartGameBtn_ (_StartGameBtn_)
package {
import GameFile.*;
public dynamic class _StartGameBtn_ extends MyButton {
}
}//package
Section 994
//_StartGameLogoBtn_ (_StartGameLogoBtn_)
package {
import GameFile.*;
public dynamic class _StartGameLogoBtn_ extends MyButton {
}
}//package
Section 995
//_SunshineMC_ (_SunshineMC_)
package {
import flash.display.*;
public dynamic class _SunshineMC_ extends MovieClip {
}
}//package
Section 996
//_supermarket_1_ (_supermarket_1_)
package {
import GameFile.*;
public dynamic class _supermarket_1_ extends OBJ {
}
}//package
Section 997
//_texi_ (_texi_)
package {
import GameFile.*;
public dynamic class _texi_ extends OBJ {
}
}//package
Section 998
//_tower_ (_tower_)
package {
import GameFile.*;
public dynamic class _tower_ extends OBJ {
}
}//package
Section 999
//_trafficlight_ (_trafficlight_)
package {
import GameFile.*;
public dynamic class _trafficlight_ extends OBJ {
}
}//package
Section 1000
//_trafficsign_1_ (_trafficsign_1_)
package {
import GameFile.*;
public dynamic class _trafficsign_1_ extends OBJ {
}
}//package
Section 1001
//_trafficsign_2_ (_trafficsign_2_)
package {
import GameFile.*;
public dynamic class _trafficsign_2_ extends OBJ {
}
}//package
Section 1002
//_tree_1_ (_tree_1_)
package {
import GameFile.*;
public dynamic class _tree_1_ extends OBJ {
}
}//package
Section 1003
//_tree_2_ (_tree_2_)
package {
import GameFile.*;
public dynamic class _tree_2_ extends OBJ {
}
}//package
Section 1004
//_tree_3_ (_tree_3_)
package {
import GameFile.*;
public dynamic class _tree_3_ extends OBJ {
}
}//package
Section 1005
//_truck_ (_truck_)
package {
import GameFile.*;
public dynamic class _truck_ extends OBJ {
}
}//package
Section 1006
//_ufo_ (_ufo_)
package {
import GameFile.*;
public dynamic class _ufo_ extends OBJ {
}
}//package
Section 1007
//_UploadingMC_ (_UploadingMC_)
package {
import flash.display.*;
public dynamic class _UploadingMC_ extends MovieClip {
}
}//package
Section 1008
//_UploadLoseMC_ (_UploadLoseMC_)
package {
import flash.display.*;
public dynamic class _UploadLoseMC_ extends MovieClip {
public var TryAgainBtn:_BackBtn_;
}
}//package
Section 1009
//_UploadMC_ (_UploadMC_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _UploadMC_ extends MovieClip {
public var YourNameTxt:TextField;
public var ImageNameTxt:TextField;
public var WarringNameMC:MovieClip;
public var OkBtn:_SaveRoomBtn_;
public var BackBtn:_BackBtn2_;
public var WarringTitleMC:MovieClip;
}
}//package
Section 1010
//_UploadSucceedMC_ (_UploadSucceedMC_)
package {
import flash.display.*;
import flash.text.*;
public dynamic class _UploadSucceedMC_ extends MovieClip {
public var ViewBtn:_ViewImageHereBtn_;
public var CopyBtn:_CopyBtn2_;
public var BackBtn:_BackToGameBtn_;
public var LinkTxt:TextField;
}
}//package
Section 1011
//_upPageBtn_ (_upPageBtn_)
package {
import GameFile.*;
public dynamic class _upPageBtn_ extends MyButton {
}
}//package
Section 1012
//_WarringUpload_ (_WarringUpload_)
package {
import flash.display.*;
public dynamic class _WarringUpload_ extends MovieClip {
public var BackBtn:_BackBtn_;
}
}//package
Section 1013
//_well_ (_well_)
package {
import GameFile.*;
public dynamic class _well_ extends OBJ {
}
}//package
Section 1014
//_ViewBtn1_ (_ViewBtn1_)
package {
import GameFile.*;
public dynamic class _ViewBtn1_ extends MyButton {
}
}//package
Section 1015
//_ViewImageHereBtn_ (_ViewImageHereBtn_)
package {
import GameFile.*;
public dynamic class _ViewImageHereBtn_ extends MyButton {
}
}//package
Section 1016
//_windmill_ (_windmill_)
package {
import GameFile.*;
public dynamic class _windmill_ extends OBJ {
}
}//package
Section 1017
//_WindyMC_ (_WindyMC_)
package {
import flash.display.*;
public dynamic class _WindyMC_ extends MovieClip {
}
}//package
Section 1018
//_YesBtn_ (_YesBtn_)
package {
import GameFile.*;
public dynamic class _YesBtn_ extends MyButton {
}
}//package
Section 1019
//AuguryErathNoteText (AuguryErathNoteText)
package {
import zlong.localization.display.*;
public dynamic class AuguryErathNoteText extends TranText {
}
}//package
Section 1020
//AuguryErathTitleText (AuguryErathTitleText)
package {
import zlong.localization.display.*;
public dynamic class AuguryErathTitleText extends TranText {
}
}//package
Section 1021
//AuguryFireNoteText (AuguryFireNoteText)
package {
import zlong.localization.display.*;
public dynamic class AuguryFireNoteText extends TranText {
}
}//package
Section 1022
//AuguryFireTitleText (AuguryFireTitleText)
package {
import zlong.localization.display.*;
public dynamic class AuguryFireTitleText extends TranText {
}
}//package
Section 1023
//AuguryWaterNoteText (AuguryWaterNoteText)
package {
import zlong.localization.display.*;
public dynamic class AuguryWaterNoteText extends TranText {
}
}//package
Section 1024
//AuguryWaterTitleText (AuguryWaterTitleText)
package {
import zlong.localization.display.*;
public dynamic class AuguryWaterTitleText extends TranText {
}
}//package
Section 1025
//AuguryWindNoteText (AuguryWindNoteText)
package {
import zlong.localization.display.*;
public dynamic class AuguryWindNoteText extends TranText {
}
}//package
Section 1026
//AuguryWindTitleText (AuguryWindTitleText)
package {
import zlong.localization.display.*;
public dynamic class AuguryWindTitleText extends TranText {
}
}//package
Section 1027
//back (back)
package {
import zlong.localization.display.*;
public dynamic class back extends TranText {
}
}//package
Section 1028
//branding_aligned_center (branding_aligned_center)
package {
import zlong.localization.display.*;
public dynamic class branding_aligned_center extends Logo {
}
}//package
Section 1029
//ClearAllClearAllNoteText (ClearAllClearAllNoteText)
package {
import zlong.localization.display.*;
public dynamic class ClearAllClearAllNoteText extends TranText {
}
}//package
Section 1030
//ClearAllClearAllTitleText (ClearAllClearAllTitleText)
package {
import zlong.localization.display.*;
public dynamic class ClearAllClearAllTitleText extends TranText {
}
}//package
Section 1031
//copy (copy)
package {
import zlong.localization.display.*;
public dynamic class copy extends TranText {
}
}//package
Section 1032
//CountriesBox (CountriesBox)
package {
import zlong.localization.display.*;
public dynamic class CountriesBox extends CountriesBox {
}
}//package
Section 1033
//countryMc (countryMc)
package {
import zlong.localization.display.*;
public dynamic class countryMc extends TranText {
}
}//package
Section 1034
//Document (Document)
package {
import flash.display.*;
import net.*;
import GameFile.*;
import zlong.localization.*;
public class Document extends MovieClip {
public function Document(){
trace("0...初始...");
new GameSetting(this, "girl", "My_New_Town", "My-New-Town.html", 660, 480);
initDocument();
}
private function initDocument(){
var _local1:MovieClip;
var _local2:Game;
Data.init(this);
trace("1...初始Document....");
this.stop();
_local1 = new MovieClip();
_local1.graphics.clear();
_local1.graphics.lineStyle(1, 0, 1);
_local1.graphics.moveTo(0, 0);
_local1.graphics.beginFill(0, 1);
_local1.graphics.lineTo(660, 0);
_local1.graphics.lineTo(660, 480);
_local1.graphics.lineTo(0, 480);
_local1.graphics.lineTo(0, 0);
_local1.graphics.endFill();
this.addChild(_local1);
this.mask = _local1;
new StageSetting(this);
_local2 = new Game(this);
}
}
}//package
Section 1035
//ErrorText (ErrorText)
package {
import zlong.localization.display.*;
public dynamic class ErrorText extends TranText {
}
}//package
Section 1036
//Gallery_Loading (Gallery_Loading)
package {
import zlong.localization.display.*;
public dynamic class Gallery_Loading extends TranText {
}
}//package
Section 1037
//HowToPlayHowToPlayTitleText (HowToPlayHowToPlayTitleText)
package {
import zlong.localization.display.*;
public dynamic class HowToPlayHowToPlayTitleText extends TranText {
}
}//package
Section 1038
//HowToPlayPage1NoteText (HowToPlayPage1NoteText)
package {
import zlong.localization.display.*;
public dynamic class HowToPlayPage1NoteText extends TranText {
}
}//package
Section 1039
//HowToPlayPage2NoteText (HowToPlayPage2NoteText)
package {
import zlong.localization.display.*;
public dynamic class HowToPlayPage2NoteText extends TranText {
}
}//package
Section 1040
//HowToPlayPage3NoteText (HowToPlayPage3NoteText)
package {
import zlong.localization.display.*;
public dynamic class HowToPlayPage3NoteText extends TranText {
}
}//package
Section 1041
//HowToPlayPage4NoteText (HowToPlayPage4NoteText)
package {
import zlong.localization.display.*;
public dynamic class HowToPlayPage4NoteText extends TranText {
}
}//package
Section 1042
//HowToPlayPage5NoteText (HowToPlayPage5NoteText)
package {
import zlong.localization.display.*;
public dynamic class HowToPlayPage5NoteText extends TranText {
}
}//package
Section 1043
//HowToPlayPage6NoteText (HowToPlayPage6NoteText)
package {
import zlong.localization.display.*;
public dynamic class HowToPlayPage6NoteText extends TranText {
}
}//package
Section 1044
//HowToPlayPage7NoteText (HowToPlayPage7NoteText)
package {
import zlong.localization.display.*;
public dynamic class HowToPlayPage7NoteText extends TranText {
}
}//package
Section 1045
//LoadingLoadingText (LoadingLoadingText)
package {
import zlong.localization.display.*;
public dynamic class LoadingLoadingText extends TranText {
}
}//package
Section 1046
//LoadingMoreFreeText (LoadingMoreFreeText)
package {
import zlong.localization.display.*;
public dynamic class LoadingMoreFreeText extends TranText {
}
}//package
Section 1047
//LOGO (LOGO)
package {
import zlong.localization.display.*;
public dynamic class LOGO extends TranText {
}
}//package
Section 1048
//MainMenuGalleryText (MainMenuGalleryText)
package {
import zlong.localization.display.*;
public dynamic class MainMenuGalleryText extends TranText {
}
}//package
Section 1049
//MainMenuHowToPlayText (MainMenuHowToPlayText)
package {
import zlong.localization.display.*;
public dynamic class MainMenuHowToPlayText extends TranText {
}
}//package
Section 1050
//MainMenuLoadGameText (MainMenuLoadGameText)
package {
import zlong.localization.display.*;
public dynamic class MainMenuLoadGameText extends TranText {
}
}//package
Section 1051
//MainMenuMoreGameText (MainMenuMoreGameText)
package {
import zlong.localization.display.*;
public dynamic class MainMenuMoreGameText extends TranText {
}
}//package
Section 1052
//MainMenuNewGameText (MainMenuNewGameText)
package {
import zlong.localization.display.*;
public dynamic class MainMenuNewGameText extends TranText {
}
}//package
Section 1053
//MainMenuSendToFriendText (MainMenuSendToFriendText)
package {
import zlong.localization.display.*;
public dynamic class MainMenuSendToFriendText extends TranText {
}
}//package
Section 1054
//material_0 (material_0)
package {
import flash.display.*;
public dynamic class material_0 extends BitmapData {
public function material_0(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1055
//material_1 (material_1)
package {
import flash.display.*;
public dynamic class material_1 extends BitmapData {
public function material_1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1056
//material_10 (material_10)
package {
import flash.display.*;
public dynamic class material_10 extends BitmapData {
public function material_10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1057
//material_11 (material_11)
package {
import flash.display.*;
public dynamic class material_11 extends BitmapData {
public function material_11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1058
//material_12 (material_12)
package {
import flash.display.*;
public dynamic class material_12 extends BitmapData {
public function material_12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1059
//material_13 (material_13)
package {
import flash.display.*;
public dynamic class material_13 extends BitmapData {
public function material_13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1060
//material_14 (material_14)
package {
import flash.display.*;
public dynamic class material_14 extends BitmapData {
public function material_14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1061
//material_15 (material_15)
package {
import flash.display.*;
public dynamic class material_15 extends BitmapData {
public function material_15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1062
//material_16 (material_16)
package {
import flash.display.*;
public dynamic class material_16 extends BitmapData {
public function material_16(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1063
//material_17 (material_17)
package {
import flash.display.*;
public dynamic class material_17 extends BitmapData {
public function material_17(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1064
//material_18 (material_18)
package {
import flash.display.*;
public dynamic class material_18 extends BitmapData {
public function material_18(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1065
//material_19 (material_19)
package {
import flash.display.*;
public dynamic class material_19 extends BitmapData {
public function material_19(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1066
//material_2 (material_2)
package {
import flash.display.*;
public dynamic class material_2 extends BitmapData {
public function material_2(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1067
//material_20 (material_20)
package {
import flash.display.*;
public dynamic class material_20 extends BitmapData {
public function material_20(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1068
//material_21 (material_21)
package {
import flash.display.*;
public dynamic class material_21 extends BitmapData {
public function material_21(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1069
//material_22 (material_22)
package {
import flash.display.*;
public dynamic class material_22 extends BitmapData {
public function material_22(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1070
//material_23 (material_23)
package {
import flash.display.*;
public dynamic class material_23 extends BitmapData {
public function material_23(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1071
//material_24 (material_24)
package {
import flash.display.*;
public dynamic class material_24 extends BitmapData {
public function material_24(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1072
//material_25 (material_25)
package {
import flash.display.*;
public dynamic class material_25 extends BitmapData {
public function material_25(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1073
//material_26 (material_26)
package {
import flash.display.*;
public dynamic class material_26 extends BitmapData {
public function material_26(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1074
//material_27 (material_27)
package {
import flash.display.*;
public dynamic class material_27 extends BitmapData {
public function material_27(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1075
//material_28 (material_28)
package {
import flash.display.*;
public dynamic class material_28 extends BitmapData {
public function material_28(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1076
//material_29 (material_29)
package {
import flash.display.*;
public dynamic class material_29 extends BitmapData {
public function material_29(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1077
//material_3 (material_3)
package {
import flash.display.*;
public dynamic class material_3 extends BitmapData {
public function material_3(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1078
//material_30 (material_30)
package {
import flash.display.*;
public dynamic class material_30 extends BitmapData {
public function material_30(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1079
//material_31 (material_31)
package {
import flash.display.*;
public dynamic class material_31 extends BitmapData {
public function material_31(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1080
//material_32 (material_32)
package {
import flash.display.*;
public dynamic class material_32 extends BitmapData {
public function material_32(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1081
//material_33 (material_33)
package {
import flash.display.*;
public dynamic class material_33 extends BitmapData {
public function material_33(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1082
//material_34 (material_34)
package {
import flash.display.*;
public dynamic class material_34 extends BitmapData {
public function material_34(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1083
//material_35 (material_35)
package {
import flash.display.*;
public dynamic class material_35 extends BitmapData {
public function material_35(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1084
//material_36 (material_36)
package {
import flash.display.*;
public dynamic class material_36 extends BitmapData {
public function material_36(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1085
//material_37 (material_37)
package {
import flash.display.*;
public dynamic class material_37 extends BitmapData {
public function material_37(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1086
//material_38 (material_38)
package {
import flash.display.*;
public dynamic class material_38 extends BitmapData {
public function material_38(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1087
//material_39 (material_39)
package {
import flash.display.*;
public dynamic class material_39 extends BitmapData {
public function material_39(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1088
//material_4 (material_4)
package {
import flash.display.*;
public dynamic class material_4 extends BitmapData {
public function material_4(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1089
//material_40 (material_40)
package {
import flash.display.*;
public dynamic class material_40 extends BitmapData {
public function material_40(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1090
//material_41 (material_41)
package {
import flash.display.*;
public dynamic class material_41 extends BitmapData {
public function material_41(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1091
//material_5 (material_5)
package {
import flash.display.*;
public dynamic class material_5 extends BitmapData {
public function material_5(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1092
//material_6 (material_6)
package {
import flash.display.*;
public dynamic class material_6 extends BitmapData {
public function material_6(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1093
//material_7 (material_7)
package {
import flash.display.*;
public dynamic class material_7 extends BitmapData {
public function material_7(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1094
//material_8 (material_8)
package {
import flash.display.*;
public dynamic class material_8 extends BitmapData {
public function material_8(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1095
//material_9 (material_9)
package {
import flash.display.*;
public dynamic class material_9 extends BitmapData {
public function material_9(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 1096
//MaxPictureText (MaxPictureText)
package {
import zlong.localization.display.*;
public dynamic class MaxPictureText extends TranText {
}
}//package
Section 1097
//Next (Next)
package {
import zlong.localization.display.*;
public dynamic class Next extends TranText {
}
}//package
Section 1098
//NO-字_ (NO-å—_)
package {
import zlong.localization.display.*;
public dynamic class NO-字_ extends TranText {
}
}//package
Section 1099
//OK-字 (OK-å—)
package {
import zlong.localization.display.*;
public dynamic class OK-字 extends TranText {
}
}//package
Section 1100
//previous (previous)
package {
import zlong.localization.display.*;
public dynamic class previous extends TranText {
}
}//package
Section 1101
//PrintPrint_as_coloring_sheet (PrintPrint_as_coloring_sheet)
package {
import zlong.localization.display.*;
public dynamic class PrintPrint_as_coloring_sheet extends TranText {
}
}//package
Section 1102
//PrintPrint_in_color (PrintPrint_in_color)
package {
import zlong.localization.display.*;
public dynamic class PrintPrint_in_color extends TranText {
}
}//package
Section 1103
//PrintPrintNoteText (PrintPrintNoteText)
package {
import zlong.localization.display.*;
public dynamic class PrintPrintNoteText extends TranText {
}
}//package
Section 1104
//PrintPrintTitleText (PrintPrintTitleText)
package {
import zlong.localization.display.*;
public dynamic class PrintPrintTitleText extends TranText {
}
}//package
Section 1105
//SaveLoadEnterTheNameTitleText (SaveLoadEnterTheNameTitleText)
package {
import zlong.localization.display.*;
public dynamic class SaveLoadEnterTheNameTitleText extends TranText {
}
}//package
Section 1106
//SaveLoadLoadTitleText (SaveLoadLoadTitleText)
package {
import zlong.localization.display.*;
public dynamic class SaveLoadLoadTitleText extends TranText {
}
}//package
Section 1107
//SaveLoadSaveTitleText (SaveLoadSaveTitleText)
package {
import zlong.localization.display.*;
public dynamic class SaveLoadSaveTitleText extends TranText {
}
}//package
Section 1108
//SendToFriendFromText (SendToFriendFromText)
package {
import zlong.localization.display.*;
public dynamic class SendToFriendFromText extends TranText {
}
}//package
Section 1109
//SendToFriendLinkText (SendToFriendLinkText)
package {
import zlong.localization.display.*;
public dynamic class SendToFriendLinkText extends TranText {
}
}//package
Section 1110
//SendToFriendNameText (SendToFriendNameText)
package {
import zlong.localization.display.*;
public dynamic class SendToFriendNameText extends TranText {
}
}//package
Section 1111
//SendToFriendReceiveNoteText (SendToFriendReceiveNoteText)
package {
import zlong.localization.display.*;
public dynamic class SendToFriendReceiveNoteText extends TranText {
}
}//package
Section 1112
//SendToFriendSendNoteText (SendToFriendSendNoteText)
package {
import zlong.localization.display.*;
public dynamic class SendToFriendSendNoteText extends TranText {
}
}//package
Section 1113
//SendToFriendSendToFriendTitleText (SendToFriendSendToFriendTitleText)
package {
import zlong.localization.display.*;
public dynamic class SendToFriendSendToFriendTitleText extends TranText {
}
}//package
Section 1114
//SendToFriendStartGameText (SendToFriendStartGameText)
package {
import zlong.localization.display.*;
public dynamic class SendToFriendStartGameText extends TranText {
}
}//package
Section 1115
//SendToFriendWishText (SendToFriendWishText)
package {
import zlong.localization.display.*;
public dynamic class SendToFriendWishText extends TranText {
}
}//package
Section 1116
//SoundMC (SoundMC)
package {
import flash.display.*;
public dynamic class SoundMC extends MovieClip {
}
}//package
Section 1117
//TXT_Play_This_Game_On (TXT_Play_This_Game_On)
package {
import zlong.localization.display.*;
public dynamic class TXT_Play_This_Game_On extends TranText {
}
}//package
Section 1118
//Upload_LinkText (Upload_LinkText)
package {
import zlong.localization.display.*;
public dynamic class Upload_LinkText extends TranText {
}
}//package
Section 1119
//UpLoadFinishNoteText (UpLoadFinishNoteText)
package {
import zlong.localization.display.*;
public dynamic class UpLoadFinishNoteText extends TranText {
}
}//package
Section 1120
//UpLoadFinishTitleText (UpLoadFinishTitleText)
package {
import zlong.localization.display.*;
public dynamic class UpLoadFinishTitleText extends TranText {
}
}//package
Section 1121
//UpLoadPleaseWaitText (UpLoadPleaseWaitText)
package {
import zlong.localization.display.*;
public dynamic class UpLoadPleaseWaitText extends TranText {
}
}//package
Section 1122
//UpLoadSAVE_ROOM (UpLoadSAVE_ROOM)
package {
import zlong.localization.display.*;
public dynamic class UpLoadSAVE_ROOM extends TranText {
}
}//package
Section 1123
//UpLoadTitleRoomText (UpLoadTitleRoomText)
package {
import zlong.localization.display.*;
public dynamic class UpLoadTitleRoomText extends TranText {
}
}//package
Section 1124
//UpLoadUpLoadImageText (UpLoadUpLoadImageText)
package {
import zlong.localization.display.*;
public dynamic class UpLoadUpLoadImageText extends TranText {
}
}//package
Section 1125
//UpLoadUploadLoadingText (UpLoadUploadLoadingText)
package {
import zlong.localization.display.*;
public dynamic class UpLoadUploadLoadingText extends TranText {
}
}//package
Section 1126
//UpLoadview_image_here (UpLoadview_image_here)
package {
import zlong.localization.display.*;
public dynamic class UpLoadview_image_here extends TranText {
}
}//package
Section 1127
//UpLoadViewImageNoteText (UpLoadViewImageNoteText)
package {
import zlong.localization.display.*;
public dynamic class UpLoadViewImageNoteText extends TranText {
}
}//package
Section 1128
//UpLoadYourNameText (UpLoadYourNameText)
package {
import zlong.localization.display.*;
public dynamic class UpLoadYourNameText extends TranText {
}
}//package
Section 1129
//ViewText (ViewText)
package {
import zlong.localization.display.*;
public dynamic class ViewText extends TranText {
}
}//package
Section 1130
//WindowEditPageColorEditText (WindowEditPageColorEditText)
package {
import zlong.localization.display.*;
public dynamic class WindowEditPageColorEditText extends TranText {
}
}//package
Section 1131
//WindowEditPageDrawEditText (WindowEditPageDrawEditText)
package {
import zlong.localization.display.*;
public dynamic class WindowEditPageDrawEditText extends TranText {
}
}//package
Section 1132
//yes-字 (yes-å—)
package {
import zlong.localization.display.*;
public dynamic class yes-字 extends TranText {
}
}//package
Section 1133
//刷子 (刷å)
package {
import GameFile.*;
public dynamic class 刷子 extends MyButton {
}
}//package
Section 1134
//右翻 (å³ç¿»)
package {
import GameFile.*;
public dynamic class 右翻 extends MyButton {
}
}//package
Section 1135
//垃圾桶 (垃圾桶)
package {
import GameFile.*;
public dynamic class 垃圾桶 extends MyButton {
}
}//package
Section 1136
//左翻 (左翻)
package {
import GameFile.*;
public dynamic class 左翻 extends MyButton {
}
}//package
Section 1137
//按钮 (按钮)
package {
import GameFile.*;
public dynamic class 按钮 extends MyButton {
}
}//package
Section 1138
//翻转 (翻转)
package {
import GameFile.*;
public dynamic class 翻转 extends MyButton {
}
}//package