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"
public function CampaignKey(){
UCCN = "utm_campaign";
UCCT = "utm_content";
UCID = "utm_id";
UCMD = "utm_medium";
UCNO = "utm_nooverride";
UCSR = "utm_source";
UCTR = "utm_term";
UGCLID = "gclid";
super();
}
}
}//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 id:String;
public var clickId:String;
public var name:String;
public var term:String;
public var medium:String;
public var source: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 toTrackerString():String{
var _local1:Array;
_local1 = [];
_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));
}
public function isValid():Boolean{
if (((((!((id == ""))) || (!((source == ""))))) || (!((clickId == ""))))){
return (true);
};
return (false);
}
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;
var _local3:Variables;
_local2 = _arg1.split(CampaignManager.trackingDelimiter).join("&");
_local3 = new Variables(_local2);
if (_local3.hasOwnProperty("utmcid")){
this.id = _local3["utmcid"];
};
if (_local3.hasOwnProperty("utmcsr")){
this.source = _local3["utmcsr"];
};
if (_local3.hasOwnProperty("utmccn")){
this.name = _local3["utmccn"];
};
if (_local3.hasOwnProperty("utmcmd")){
this.medium = _local3["utmcmd"];
};
if (_local3.hasOwnProperty("utmctr")){
this.term = _local3["utmctr"];
};
if (_local3.hasOwnProperty("utmcct")){
this.content = _local3["utmcct"];
};
if (_local3.hasOwnProperty("utmgclid")){
this.clickId = _local3["utmgclid"];
};
}
}
}//package com.google.analytics.campaign
Section 5
//FlashTracker (com.google.analytics.components.FlashTracker)
package com.google.analytics.components {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import com.google.analytics.external.*;
import com.google.analytics.*;
import flash.utils.*;
import com.google.analytics.events.*;
public class FlashTracker extends Sprite implements AnalyticsTracker {
private var _adSense:AdSenseGlobals;
private var _env:Environment;
protected var _height:Number;// = 18
private var _idleTimer:IdleTimer;
private var _config:Configuration;
private var _mode:String;// = "AS3"
private var _dom:HTMLDOM;
private var _ready:Boolean;// = false
protected var _width:Number;// = 18
private var _account:String;// = ""
protected var _componentInspectorSetting:Boolean;
private var _visualDebug:Boolean;// = false
public var boundingBox_mc:DisplayObject;
private var _debug:DebugConfiguration;
private var _buffer:Buffer;
private var _display:DisplayObject;
protected var livePreviewHeight:Number;
private var _jsproxy:JavascriptProxy;
protected var isLivePreview:Boolean;
protected var preview:MovieClip;
private var _gifRequest:GIFRequest;
protected var livePreviewWidth:Number;
private var _tracker:GoogleAnalyticsAPI;
public static var version:Version = API.version;
public function FlashTracker(){
_ready = false;
_account = "";
_mode = TrackerMode.AS3;
_visualDebug = false;
_width = 18;
_height = 18;
super();
_tracker = new TrackerCache();
isLivePreview = _checkLivePreview();
_componentInspectorSetting = false;
if (boundingBox_mc){
boundingBox_mc.visible = false;
removeChild(boundingBox_mc);
boundingBox_mc = null;
};
if (isLivePreview){
_createLivePreview();
};
addEventListener(Event.ENTER_FRAME, _factory);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
return (_tracker.trackEvent(_arg1, _arg2, _arg3, _arg4));
}
public function trackTrans():void{
_tracker.trackTrans();
}
private function _createLivePreview():void{
var _local1:Graphics;
var _local2:Class;
preview = new MovieClip();
_local1 = preview.graphics;
_local1.beginFill(0xFFFFFF);
_local1.moveTo(0, 0);
_local1.lineTo(0, _width);
_local1.lineTo(_width, _height);
_local1.lineTo(_height, 0);
_local1.lineTo(0, 0);
_local1.endFill();
_local2 = (getDefinitionByName("com.google.analytics.components::Icon") as Class);
preview.icon_mc = new (_local2);
preview.icon_mc.name = "icon_mc";
preview.addChild(preview.icon_mc);
addChild(preview);
}
public function trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_arg1);
}
public function get account():String{
return (_account);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_tracker.linkByPost(_arg1, _arg2);
}
public function getDetectTitle():Boolean{
return (_tracker.getDetectTitle());
}
public function setCampNameKey(_arg1:String):void{
_tracker.setCampNameKey(_arg1);
}
public function resetSession():void{
_tracker.resetSession();
}
public function set account(_arg1:String):void{
_account = _arg1;
}
public function get debug():DebugConfiguration{
if (!_debug){
_createDebugAndConfig();
};
return (_debug);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_arg1));
}
public function set config(_arg1:Configuration):void{
_config = _arg1;
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{
return (_tracker.addTrans(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8));
}
public function setLocalServerMode():void{
_tracker.setLocalServerMode();
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
public function isReady():Boolean{
return (_ready);
}
public function set debug(_arg1:DebugConfiguration):void{
_debug = _arg1;
}
public function getVersion():String{
return (_tracker.getVersion());
}
public function setLocalRemoteServerMode():void{
_tracker.setLocalRemoteServerMode();
}
public function setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_tracker.addIgnoredOrganic(_arg1);
}
public function setCookiePath(_arg1:String):void{
_tracker.setCookiePath(_arg1);
}
public function setCampTermKey(_arg1:String):void{
_tracker.setCampTermKey(_arg1);
}
private function _trackerFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (AS3) v" + version) + "\naccount: ") + account));
_adSense = new AdSenseGlobals(debug);
_dom = new HTMLDOM(debug);
_dom.cacheProperties();
_env = new Environment("", "", "", debug, _dom);
_buffer = new Buffer(config, debug, false);
_gifRequest = new GIFRequest(config, debug, _buffer, _env);
_idleTimer = new IdleTimer(config, debug, _display, _buffer);
_env.url = _display.stage.loaderInfo.url;
return (new Tracker(account, config, debug, _env, _buffer, _gifRequest, _adSense));
}
public function setCampaignTrack(_arg1:Boolean):void{
_tracker.setCampaignTrack(_arg1);
}
public function getServiceMode():ServerOperationMode{
return (_tracker.getServiceMode());
}
public function set componentInspectorSetting(_arg1:Boolean):void{
_componentInspectorSetting = _arg1;
}
public function setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_tracker.addOrganic(_arg1, _arg2);
}
public function setCookieTimeout(_arg1:int):void{
_tracker.setCookieTimeout(_arg1);
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
public function setAllowLinker(_arg1:Boolean):void{
_tracker.setAllowLinker(_arg1);
}
public function setClientInfo(_arg1:Boolean):void{
_tracker.setClientInfo(_arg1);
}
private function _bridgeFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (Bridge) v" + version) + "\naccount: ") + account));
return (new Bridge(account, _debug, _jsproxy));
}
public function get config():Configuration{
if (!_config){
_createDebugAndConfig();
};
return (_config);
}
public function set mode(_arg1:String):void{
_mode = _arg1;
}
public function setDetectFlash(_arg1:Boolean):void{
_tracker.setDetectFlash(_arg1);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_tracker.addItem(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function setVar(_arg1:String):void{
_tracker.setVar(_arg1);
}
public function clearIgnoredOrganic():void{
_tracker.clearIgnoredOrganic();
}
public function setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
private function _checkLivePreview():Boolean{
if (((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")))){
return (true);
};
return (false);
}
public function setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
public function setCampContentKey(_arg1:String):void{
_tracker.setCampContentKey(_arg1);
}
public function setSize(_arg1:Number, _arg2:Number):void{
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function setLocalGifPath(_arg1:String):void{
_tracker.setLocalGifPath(_arg1);
}
public function get mode():String{
return (_mode);
}
public function setSampleRate(_arg1:Number):void{
_tracker.setSampleRate(_arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_tracker.setAllowHash(_arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
_tracker.setDetectTitle(_arg1);
}
public function cookiePathCopy(_arg1:String):void{
_tracker.cookiePathCopy(_arg1);
}
private function _factory(_arg1:Event):void{
var _local2:GoogleAnalyticsAPI;
var _local3:TrackerCache;
removeEventListener(Event.ENTER_FRAME, _factory);
if (isLivePreview){
return;
};
_display = this;
_createDebugAndConfig();
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
_jsproxy = new JavascriptProxy(debug);
_local3 = (_tracker as TrackerCache);
switch (mode){
case TrackerMode.BRIDGE:
_local2 = _bridgeFactory();
break;
case TrackerMode.AS3:
default:
_local2 = _trackerFactory();
};
if (!_local3.isEmpty()){
_local3.tracker = _local2;
_local3.flush();
};
_tracker = _local2;
_ready = true;
dispatchEvent(new AnalyticsEvent(AnalyticsEvent.READY, this));
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function clearOrganic():void{
_tracker.clearOrganic();
}
private function _createDebugAndConfig():void{
if (!_debug){
this.debug = new DebugConfiguration();
};
if (!_config){
this.config = new Configuration(debug);
};
}
public function addIgnoredRef(_arg1:String):void{
_tracker.addIgnoredRef(_arg1);
}
public function set visualDebug(_arg1:Boolean):void{
_visualDebug = _arg1;
}
public function setCampMediumKey(_arg1:String):void{
_tracker.setCampMediumKey(_arg1);
}
public function getAccount():String{
return (_tracker.getAccount());
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_tracker.link(_arg1, _arg2);
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics.components
Section 6
//Icon (com.google.analytics.components.Icon)
package com.google.analytics.components {
import flash.display.*;
public dynamic class Icon extends MovieClip {
}
}//package com.google.analytics.components
Section 7
//BrowserInfo (com.google.analytics.core.BrowserInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.utils.*;
public class BrowserInfo {
private var _config:Configuration;
private var _info:Environment;
public function BrowserInfo(_arg1:Configuration, _arg2:Environment){
_config = _arg1;
_info = _arg2;
}
public function get utmul():String{
return (_info.language.toLowerCase());
}
public function get utmje():String{
return ("0");
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function get utmsr():String{
return (((_info.screenWidth + "x") + _info.screenHeight));
}
public function get utmcs():String{
return (_info.languageEncoding);
}
public function get utmfl():String{
var _local1:Version;
if (_config.detectFlash){
_local1 = _info.flashVersion;
return (((((_local1.major + ".") + _local1.minor) + " r") + _local1.build));
};
return ("-");
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
_local1.utmcs = utmcs;
_local1.utmsr = utmsr;
_local1.utmsc = utmsc;
_local1.utmul = utmul;
_local1.utmje = utmje;
_local1.utmfl = utmfl;
return (_local1);
}
public function get utmsc():String{
return ((_info.screenColorDepth + "-bit"));
}
}
}//package com.google.analytics.core
Section 8
//Buffer (com.google.analytics.core.Buffer)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import flash.events.*;
import com.google.analytics.data.*;
public dynamic class Buffer {
private var _SO:SharedObject;
private var _OBJ:Object;
private var _utma:UTMA;
private var _utmb:UTMB;
private var _utmc:UTMC;
private var _debug:DebugConfiguration;
private var _utmk:UTMK;
private var _config:Configuration;
private var _utmv:UTMV;
private var _utmz:UTMZ;
private var _volatile:Boolean;
public function Buffer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Boolean=false, _arg4:Object=null){
var _local5:Boolean;
var _local6:String;
super();
_config = _arg1;
_debug = _arg2;
UTMB.defaultTimespan = _config.sessionTimeout;
UTMZ.defaultTimespan = _config.conversionTimeout;
if (!_arg3){
_SO = SharedObject.getLocal(_config.cookieName, _config.cookiePath);
_local5 = false;
if (_SO.data.utma){
if (!hasUTMA()){
_createUMTA();
};
_utma.fromSharedObject(_SO.data.utma);
if (_debug.verbose){
_debug.info(("found: " + _utma.toString(true)), VisualDebugMode.geek);
};
if (_utma.isExpired()){
if (_debug.verbose){
_debug.warning("UTMA has expired", VisualDebugMode.advanced);
};
_clearUTMA();
_local5 = true;
};
};
if (_SO.data.utmb){
if (!hasUTMB()){
_createUMTB();
};
_utmb.fromSharedObject(_SO.data.utmb);
if (_debug.verbose){
_debug.info(("found: " + _utmb.toString(true)), VisualDebugMode.geek);
};
if (_utmb.isExpired()){
if (_debug.verbose){
_debug.warning("UTMB has expired", VisualDebugMode.advanced);
};
_clearUTMB();
_local5 = true;
};
};
if (_SO.data.utmc){
delete _SO.data.utmc;
_local5 = true;
};
if (_SO.data.utmk){
if (!hasUTMK()){
_createUMTK();
};
_utmk.fromSharedObject(_SO.data.utmk);
if (_debug.verbose){
_debug.info(("found: " + _utmk.toString()), VisualDebugMode.geek);
};
};
if (_SO.data.utmv){
if (!hasUTMV()){
_createUMTV();
};
_utmv.fromSharedObject(_SO.data.utmv);
if (_debug.verbose){
_debug.info(("found: " + _utmv.toString(true)), VisualDebugMode.geek);
};
if (_utmv.isExpired()){
if (_debug.verbose){
_debug.warning("UTMV has expired", VisualDebugMode.advanced);
};
_clearUTMV();
_local5 = true;
};
};
if (_SO.data.utmz){
if (!hasUTMZ()){
_createUMTZ();
};
_utmz.fromSharedObject(_SO.data.utmz);
if (_debug.verbose){
_debug.info(("found: " + _utmz.toString(true)), VisualDebugMode.geek);
};
if (_utmz.isExpired()){
if (_debug.verbose){
_debug.warning("UTMZ has expired", VisualDebugMode.advanced);
};
_clearUTMZ();
_local5 = true;
};
};
if (_local5){
save();
};
} else {
_OBJ = new Object();
if (_arg4){
for (_local6 in _arg4) {
_OBJ[_local6] = _arg4[_local6];
};
};
};
_volatile = _arg3;
}
public function 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 clearCookies():void{
utma.reset();
utmb.reset();
utmc.reset();
utmz.reset();
utmv.reset();
utmk.reset();
}
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 isGenuine():Boolean{
if (!hasUTMK()){
return (true);
};
return ((utmk.hash == generateCookiesHash()));
}
public function resetCurrentSession():void{
_clearUTMB();
_clearUTMC();
save();
}
public function hasUTMC():Boolean{
if (_utmc){
return (true);
};
return (false);
}
public function hasUTMK():Boolean{
if (_utmk){
return (true);
};
return (false);
}
public function generateCookiesHash():Number{
var _local1:String;
_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 _createUMTA():void{
_utma = new UTMA();
_utma.proxy = this;
}
private function _createUMTB():void{
_utmb = new UTMB();
_utmb.proxy = this;
}
private function _createUMTC():void{
_utmc = new UTMC();
}
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 _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 _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 _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 _name:String;
private var _debug:DebugConfiguration;
public function Domain(_arg1:DomainNameMode=null, _arg2:String="", _arg3:DebugConfiguration=null){
_debug = _arg3;
if (_arg1 == null){
_arg1 = DomainNameMode.auto;
};
_mode = _arg1;
if (_arg1 == DomainNameMode.custom){
this.name = _arg2;
} else {
_name = _arg2;
};
}
public function get mode():DomainNameMode{
return (_mode);
}
public function set mode(_arg1:DomainNameMode):void{
_mode = _arg1;
if (_mode == DomainNameMode.none){
_name = "";
};
}
public function get name():String{
return (_name);
}
public function set name(_arg1:String):void{
if (((!((_arg1.charAt(0) == "."))) && (_debug))){
_debug.warning(("missing leading period \".\", cookie will only be accessible on " + _arg1), VisualDebugMode.geek);
};
_name = _arg1;
}
}
}//package com.google.analytics.core
Section 11
//DomainNameMode (com.google.analytics.core.DomainNameMode)
package com.google.analytics.core {
public class DomainNameMode {
private var _value:int;
private var _name:String;
public static const custom:DomainNameMode = new DomainNameMode(2, "custom");
;
public static const none:DomainNameMode = new DomainNameMode(0, "none");
;
public static const auto:DomainNameMode = new DomainNameMode(1, "auto");
;
public function DomainNameMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 12
//EventInfo (com.google.analytics.core.EventInfo)
package com.google.analytics.core {
import com.google.analytics.data.*;
import com.google.analytics.utils.*;
public class EventInfo {
private var _isEventHit:Boolean;
private var _ext10:X10;
private var _x10:X10;
public function EventInfo(_arg1:Boolean, _arg2:X10, _arg3:X10=null){
_isEventHit = _arg1;
_x10 = _arg2;
_ext10 = _arg3;
}
public function toURLString():String{
var _local1:Variables;
_local1 = toVariables();
return (_local1.toString());
}
public function get utmt():String{
return ("event");
}
public function get utme():String{
return (_x10.renderMergedUrlString(_ext10));
}
public function toVariables():Variables{
var _local1:Variables;
_local1 = new Variables();
_local1.URIencode = true;
if (_isEventHit){
_local1.utmt = utmt;
};
_local1.utme = utme;
return (_local1);
}
}
}//package com.google.analytics.core
Section 13
//EventTracker (com.google.analytics.core.EventTracker)
package com.google.analytics.core {
import com.google.analytics.v4.*;
public class EventTracker {
private var _parent:GoogleAnalyticsAPI;
public var name:String;
public function EventTracker(_arg1:String, _arg2:GoogleAnalyticsAPI){
this.name = _arg1;
_parent = _arg2;
}
public function trackEvent(_arg1:String, _arg2:String=null, _arg3:Number=NaN):Boolean{
return (_parent.trackEvent(name, _arg1, _arg2, _arg3));
}
}
}//package com.google.analytics.core
Section 14
//ga_internal (com.google.analytics.core.ga_internal)
package com.google.analytics.core {
public namespace ga_internal;
}//package com.google.analytics.core
Section 15
//GIFRequest (com.google.analytics.core.GIFRequest)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.utils.*;
import flash.system.*;
public class GIFRequest {
private var _info:Environment;
private var _count:int;
private var _utmac:String;
private var _alertcount:int;
private var _debug:DebugConfiguration;
private var _lastRequest:URLRequest;
private var _buffer:Buffer;
private var _config:Configuration;
private var _requests:Array;
public function GIFRequest(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Environment){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_info = _arg4;
_count = 0;
_alertcount = 0;
_requests = [];
}
public function get utmn():String{
return ((Utils.generate32bitRandom() as String));
}
public function onIOError(_arg1:IOErrorEvent):void{
var _local2:String;
var _local3:String;
var _local4:String;
_local2 = _lastRequest.url;
_local3 = String((_requests.length - 1));
_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;
_local1 = [];
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 loader:Loader;
var context:LoaderContext;
var request = _arg1;
loader = new Loader();
loader.name = String(_count++);
context = 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 _local1:Number;
var _local2:Number;
_local1 = 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);
};
};
}
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);
}
public function get utmhn():String{
return (_info.domainName);
}
private function _debugSend(_arg1:URLRequest):void{
var _local2:String;
var _local3:String;
_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;
var _local3:String;
var _local4:String;
_local2 = _arg1.target.loader.name;
_requests[_local2].complete();
_local3 = (("Gif Request #" + _local2) + " sent");
_local4 = _requests[_local2].request.url;
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local4.indexOf("?") > -1){
_local4 = _local4.split("?")[0];
};
_local4 = _shortenURL(_local4);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local3 = (_local3 + ((" to \"" + _local4) + "\""));
};
_debug.success(_local3);
} else {
_debug.info(_local3);
};
_removeListeners(_arg1.target);
}
}
}//package com.google.analytics.core
Section 16
//IdleTimer (com.google.analytics.core.IdleTimer)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class IdleTimer {
private var _loop:Timer;
private var _stage:Stage;
private var _lastMove:int;
private var _debug:DebugConfiguration;
private var _session:Timer;
private var _inactivity:Number;
private var _buffer:Buffer;
public function IdleTimer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:DisplayObject, _arg4:Buffer){
var _local5:Number;
var _local6:Number;
var _local7:Number;
super();
_local5 = _arg1.idleLoop;
_local6 = _arg1.idleTimeout;
_local7 = _arg1.sessionTimeout;
_loop = new Timer((_local5 * 1000));
_session = new Timer((_local7 * 1000), 1);
_debug = _arg2;
_stage = _arg3.stage;
_buffer = _arg4;
_lastMove = getTimer();
_inactivity = (_local6 * 1000);
_loop.addEventListener(TimerEvent.TIMER, checkForIdle);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
_debug.info(((((("delay: " + _local5) + "sec , inactivity: ") + _local6) + "sec, sessionTimeout: ") + _local7), VisualDebugMode.geek);
_loop.start();
}
private function onMouseMove(_arg1:MouseEvent):void{
_lastMove = getTimer();
if (_session.running){
_debug.info("session timer reset", VisualDebugMode.geek);
_session.reset();
};
}
public function endSession(_arg1:TimerEvent):void{
_session.removeEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_debug.info("session timer end session", VisualDebugMode.geek);
_session.reset();
_buffer.resetCurrentSession();
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.geek);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
}
public function checkForIdle(_arg1:TimerEvent):void{
var _local2:int;
_local2 = getTimer();
if ((_local2 - _lastMove) >= _inactivity){
if (!_session.running){
_debug.info("session timer start", VisualDebugMode.geek);
_session.start();
};
};
}
}
}//package com.google.analytics.core
Section 17
//Organic (com.google.analytics.core.Organic)
package com.google.analytics.core {
import com.google.analytics.utils.*;
public class Organic {
private var _sourcesCache:Array;
private var _sourcesEngine:Array;
private var _ignoredKeywords:Array;
private var _ignoredReferralsCache:Object;
private var _ignoredReferrals:Array;
private var _ignoredKeywordsCache:Object;
private var _sources:Array;
public static var throwErrors:Boolean = false;
public function Organic(){
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
_ignoredReferrals = [];
_ignoredReferralsCache = {};
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function getKeywordValue(_arg1:OrganicReferrer, _arg2:String):String{
var _local3:String;
_local3 = _arg1.keyword;
return (getKeywordValueFromPath(_local3, _arg2));
}
public function isIgnoredKeyword(_arg1:String):Boolean{
if (_ignoredKeywordsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function isIgnoredReferral(_arg1:String):Boolean{
if (_ignoredReferralsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function clear():void{
clearEngines();
clearIgnoredReferrals();
clearIgnoredKeywords();
}
public function get ignoredKeywordsCount():int{
return (_ignoredKeywords.length);
}
public function match(_arg1:String):Boolean{
if (_arg1 == ""){
return (false);
};
_arg1 = _arg1.toLowerCase();
if (_sourcesEngine[_arg1] != undefined){
return (true);
};
return (false);
}
public function get count():int{
return (_sources.length);
}
public function addSource(_arg1:String, _arg2:String):void{
var _local3:OrganicReferrer;
_local3 = new OrganicReferrer(_arg1, _arg2);
if (_sourcesCache[_local3.toString()] == undefined){
_sources.push(_local3);
_sourcesCache[_local3.toString()] = (_sources.length - 1);
if (_sourcesEngine[_local3.engine] == undefined){
_sourcesEngine[_local3.engine] = [(_sources.length - 1)];
} else {
_sourcesEngine[_local3.engine].push((_sources.length - 1));
};
} else {
if (throwErrors){
throw (new Error((_local3.toString() + " already exists, we don't add it.")));
};
};
}
public function clearIgnoredKeywords():void{
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function clearEngines():void{
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
}
public function get ignoredReferralsCount():int{
return (_ignoredReferrals.length);
}
public function addIgnoredReferral(_arg1:String):void{
if (_ignoredReferralsCache[_arg1] == undefined){
_ignoredReferrals.push(_arg1);
_ignoredReferralsCache[_arg1] = (_ignoredReferrals.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function clearIgnoredReferrals():void{
_ignoredReferrals = [];
_ignoredReferralsCache = {};
}
public function getReferrerByName(_arg1:String):OrganicReferrer{
var _local2:int;
if (match(_arg1)){
_local2 = _sourcesEngine[_arg1][0];
return (_sources[_local2]);
};
return (null);
}
public function addIgnoredKeyword(_arg1:String):void{
if (_ignoredKeywordsCache[_arg1] == undefined){
_ignoredKeywords.push(_arg1);
_ignoredKeywordsCache[_arg1] = (_ignoredKeywords.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function get sources():Array{
return (_sources);
}
public static function getKeywordValueFromPath(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Variables;
if (_arg2.indexOf((_arg1 + "=")) > -1){
if (_arg2.charAt(0) == "?"){
_arg2 = _arg2.substr(1);
};
_arg2 = _arg2.split("+").join("%20");
_local4 = new Variables(_arg2);
_local3 = _local4[_arg1];
};
return (_local3);
}
}
}//package com.google.analytics.core
Section 18
//OrganicReferrer (com.google.analytics.core.OrganicReferrer)
package com.google.analytics.core {
public class OrganicReferrer {
private var _engine:String;
private var _keyword:String;
public function OrganicReferrer(_arg1:String, _arg2:String){
this.engine = _arg1;
this.keyword = _arg2;
}
public function set engine(_arg1:String):void{
_engine = _arg1.toLowerCase();
}
public function get keyword():String{
return (_keyword);
}
public function toString():String{
return (((engine + "?") + keyword));
}
public function get engine():String{
return (_engine);
}
public function set keyword(_arg1:String):void{
_keyword = _arg1.toLowerCase();
}
}
}//package com.google.analytics.core
Section 19
//RequestObject (com.google.analytics.core.RequestObject)
package com.google.analytics.core {
import flash.net.*;
import flash.utils.*;
public class RequestObject {
public var start:int;
public var request:URLRequest;
public var end:int;
public function RequestObject(_arg1:URLRequest){
start = getTimer();
this.request = _arg1;
}
public function toString():String{
var _local1:Array;
_local1 = [];
_local1.push((("duration: " + duration) + "ms"));
_local1.push(("url: " + request.url));
return ((("{ " + _local1.join(", ")) + " }"));
}
public function get duration():int{
if (!hasCompleted()){
return (0);
};
return ((end - start));
}
public function hasCompleted():Boolean{
return ((end > 0));
}
public function complete():void{
end = getTimer();
}
}
}//package com.google.analytics.core
Section 20
//ServerOperationMode (com.google.analytics.core.ServerOperationMode)
package com.google.analytics.core {
public class ServerOperationMode {
private var _value:int;
private var _name:String;
public static const both:ServerOperationMode = new ServerOperationMode(2, "both");
;
public static const remote:ServerOperationMode = new ServerOperationMode(1, "remote");
;
public static const local:ServerOperationMode = new ServerOperationMode(0, "local");
;
public function ServerOperationMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 21
//TrackerCache (com.google.analytics.core.TrackerCache)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import flash.errors.*;
public class TrackerCache implements GoogleAnalyticsAPI {
public var tracker:GoogleAnalyticsAPI;
private var _ar:Array;
public static var CACHE_THROW_ERROR:Boolean;
public function TrackerCache(_arg1:GoogleAnalyticsAPI=null){
this.tracker = _arg1;
_ar = [];
}
public function size():uint{
return (_ar.length);
}
public function flush():void{
var _local1:Object;
var _local2:String;
var _local3:Array;
var _local4:int;
var _local5:int;
if (tracker == null){
return;
};
if (size() > 0){
_local4 = _ar.length;
while (_local5 < _local4) {
_local1 = _ar.shift();
_local2 = (_local1.name as String);
_local3 = (_local1.args as Array);
if (((!((_local2 == null))) && ((_local2 in tracker)))){
(tracker[_local2] as Function).apply(tracker, _local3);
};
_local5++;
};
};
}
public function enqueue(_arg1:String, ... _args):Boolean{
if (_arg1 == null){
return (false);
};
_ar.push({name:_arg1, args:_args});
return (true);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
enqueue("link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
enqueue("addOrganic", _arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
enqueue("setAllowLinker", _arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
enqueue("trackEvent", _arg1, _arg2, _arg3, _arg4);
return (true);
}
public function trackTrans():void{
enqueue("trackTrans");
}
public function trackPageview(_arg1:String=""):void{
enqueue("trackPageview", _arg1);
}
public function setClientInfo(_arg1:Boolean):void{
enqueue("setClientInfo", _arg1);
}
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 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 resetSession():void{
enqueue("resetSession");
}
public function setDetectFlash(_arg1:Boolean):void{
enqueue("setDetectFlash", _arg1);
}
public function clear():void{
_ar = [];
}
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 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 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 setCampSourceKey(_arg1:String):void{
enqueue("setCampSourceKey", _arg1);
}
public function setCampContentKey(_arg1:String):void{
enqueue("setCampContentKey", _arg1);
}
public function clearIgnoredRef():void{
enqueue("clearIgnoredRef");
}
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 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 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 setDetectTitle(_arg1:Boolean):void{
enqueue("setDetectTitle", _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 toURLString():String;
function toSharedObject():Object;
function set creation(_arg1:Date):void;
function fromSharedObject(_arg1:Object):void;
function get expiration():Date;
function isExpired():Boolean;
function set expiration(_arg1:Date):void;
function get creation():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 _domainHash:Number;
private var _firstTime:Number;
private var _currentTime:Number;
private var _sessionId: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 get sessionCount():Number{
return (_sessionCount);
}
public function get firstTime():Number{
return (_firstTime);
}
public function set sessionId(_arg1:Number):void{
_sessionId = _arg1;
update();
}
public function set sessionCount(_arg1:Number):void{
_sessionCount = _arg1;
update();
}
public function set firstTime(_arg1:Number):void{
_firstTime = _arg1;
update();
}
public function set currentTime(_arg1:Number):void{
_currentTime = _arg1;
update();
}
public function get sessionId():Number{
return (_sessionId);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function get currentTime():Number{
return (_currentTime);
}
public function get domainHash():Number{
return (_domainHash);
}
}
}//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 _lastTime:Number;
private var _domainHash:Number;
private var _trackCount: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 get token():Number{
return (_token);
}
public function set trackCount(_arg1:Number):void{
_trackCount = _arg1;
update();
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function get lastTime():Number{
return (_lastTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function set token(_arg1:Number):void{
_token = _arg1;
update();
}
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 get hash():Number{
return (_hash);
}
public function set hash(_arg1:Number):void{
_hash = _arg1;
update();
}
}
}//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;
}
public function get value():String{
return (_value);
}
public function set value(_arg1:String):void{
_value = _arg1;
update();
}
override public function toURLString():String{
return (((inURL + "=") + encodeURI(valueOf())));
}
public function get domainHash():Number{
return (_domainHash);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _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 _domainHash:Number;
private var _campaignSessions:Number;
private var _campaignTracking:String;
private var _responseCount:Number;
private var _campaignCreation: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 get campaignCreation():Number{
return (_campaignCreation);
}
public function set campaignSessions(_arg1:Number):void{
_campaignSessions = _arg1;
update();
}
public function set responseCount(_arg1:Number):void{
_responseCount = _arg1;
update();
}
public function set campaignCreation(_arg1:Number):void{
_campaignCreation = _arg1;
update();
}
public function get campaignSessions():Number{
return (_campaignSessions);
}
public function get responseCount():Number{
return (_responseCount);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function get campaignTracking():String{
return (_campaignTracking);
}
public function set campaignTracking(_arg1:String):void{
_campaignTracking = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
}
}//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
public var maxLines:uint;// = 16
private var _linediff:int;// = 0
public static var count:uint = 0;
public function Debug(_arg1:uint=0, _arg2:Align=null, _arg3:Boolean=false){
_linediff = 0;
_preferredForcedWidth = 540;
maxLines = 16;
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 close():void{
dispose();
}
public function writeBold(_arg1:String):void{
write(_arg1, true);
}
override protected function dispose():void{
removeEventListener(KeyboardEvent.KEY_DOWN, onKey);
super.dispose();
}
override public function get forcedWidth():uint{
if (this.parent){
if (UISprite(this.parent).forcedWidth > _preferredForcedWidth){
return (_preferredForcedWidth);
};
return (UISprite(this.parent).forcedWidth);
} else {
};
return (!NULL!);
}
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");
}
public function write(_arg1:String, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:String;
var _local5:String;
var _local6:int;
var _local7:Array;
if (_arg1.indexOf("") > -1){
_local3 = _arg1.split("\n");
} else {
_local3 = [_arg1];
};
_local4 = "";
_local5 = "";
if (_arg2){
_local4 = "<b>";
_local5 = "</b>";
};
_local6 = 0;
while (_local6 < _local3.length) {
_lines.push(((_local4 + _local3[_local6]) + _local5));
_local6++;
};
_local7 = _getLinesToDisplay();
text = _local7.join("\n");
}
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);
}
}
}//package com.google.analytics.debug
Section 39
//DebugConfiguration (com.google.analytics.debug.DebugConfiguration)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
public class DebugConfiguration {
public var showHideKey:Number;
private var _mode:VisualDebugMode;
private var _verbose:Boolean;// = false
public var destroyKey:Number;
public var GIFRequests:Boolean;// = false
public var infoTimeout:Number;// = 1000
public var showInfos:Boolean;// = true
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(){
_active = false;
_verbose = false;
_visualInitialized = false;
_mode = VisualDebugMode.basic;
traceOutput = false;
javascript = false;
GIFRequests = false;
showInfos = true;
infoTimeout = 1000;
showWarnings = true;
warningTimeout = 1500;
minimizedOnStart = false;
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 _local2:Array;
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:Array;
var _local8:int;
_local2 = [];
_local3 = "";
_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));
};
_local5 = _local2.length;
_local6 = 0;
while (_local6 < _local5) {
trace(_local2[_local6]);
_local6++;
};
}
public function alert(_arg1:String):void{
if (layout){
layout.createAlert(_arg1);
};
if (traceOutput){
trace((("!! " + _arg1) + " !!"));
};
}
public function info(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showInfos))){
layout.createInfo(_arg1);
};
if (traceOutput){
trace(_arg1);
};
}
public function alertGifRequest(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
if (layout){
layout.createGIFRequestAlert(_arg1, _arg2, _arg3);
};
if (traceOutput){
trace(((">> " + _arg1) + " <<"));
};
}
}
}//package com.google.analytics.debug
Section 40
//FailureAlert (com.google.analytics.debug.FailureAlert)
package com.google.analytics.debug {
public class FailureAlert extends Alert {
public function FailureAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align;
var _local5:Boolean;
var _local6:Boolean;
_local4 = Align.bottomLeft;
_local5 = true;
_local6 = false;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Failure</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiFailure", Style.failureColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 41
//GIFRequestAlert (com.google.analytics.debug.GIFRequestAlert)
package com.google.analytics.debug {
public class GIFRequestAlert extends Alert {
public function GIFRequestAlert(_arg1:String, _arg2:Array){
super(_arg1, _arg2);
}
}
}//package com.google.analytics.debug
Section 42
//ILayout (com.google.analytics.debug.ILayout)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.display.*;
public interface ILayout {
function createWarning(_arg1:String):void;
function addToStage(_arg1:DisplayObject):void;
function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void;
function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void;
function createInfo(_arg1:String):void;
function createFailureAlert(_arg1:String):void;
function addToPanel(_arg1:String, _arg2:DisplayObject):void;
function init():void;
function createSuccessAlert(_arg1:String):void;
function createVisualDebug():void;
function createAlert(_arg1:String):void;
function destroy():void;
function bringToFront(_arg1:DisplayObject):void;
function isAvailable():Boolean;
}
}//package com.google.analytics.debug
Section 43
//Info (com.google.analytics.debug.Info)
package com.google.analytics.debug {
import flash.events.*;
import flash.utils.*;
public class Info extends Label {
private var _timer:Timer;
public function Info(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiInfo", Style.infoColor, Align.top, true);
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 44
//Label (com.google.analytics.debug.Label)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class Label extends UISprite {
private var _text:String;
private var _textField:TextField;
private var _color:uint;
protected var selectable:Boolean;
public var stickToEdge:Boolean;
private var _background:Shape;
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);
}
override protected function dispose():void{
_textField.removeEventListener(TextEvent.LINK, onLink);
super.dispose();
}
private function _draw():void{
var _local1:Graphics;
var _local2:uint;
var _local3:uint;
_local1 = _background.graphics;
_local1.clear();
_local1.beginFill(_color);
_local2 = _textField.width;
_local3 = _textField.height;
if (forcedWidth > 0){
_local2 = forcedWidth;
};
Background.drawRounded(this, _local1, _local2, _local3);
_local1.endFill();
}
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 get text():String{
return (_textField.text);
}
public function set tag(_arg1:String):void{
_tag = _arg1;
text = "";
}
public function set text(_arg1:String):void{
if (_arg1 == ""){
_arg1 = _text;
};
_textField.htmlText = (((("<span class=\"" + tag) + "\">") + _arg1) + "</span>");
_text = _arg1;
_draw();
resize();
}
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 onLink(_arg1:TextEvent):void{
}
public function get tag():String{
return (_tag);
}
}
}//package com.google.analytics.debug
Section 45
//Layout (com.google.analytics.debug.Layout)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.*;
public class Layout implements ILayout {
private var _display:DisplayObject;
private var _infoQueue:Array;
private var _maxCharPerLine:int;// = 85
private var _hasInfo:Boolean;
private var _warningQueue:Array;
private var _hasDebug:Boolean;
private var _hasWarning:Boolean;
private var _mainPanel:Panel;
private var _GRAlertQueue:Array;
private var _debug:DebugConfiguration;
public var visualDebug:Debug;
private var _hasGRAlert:Boolean;
public function Layout(_arg1:DebugConfiguration, _arg2:DisplayObject){
_maxCharPerLine = 85;
super();
_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 bringToFront(_arg1:DisplayObject):void{
_display.stage.setChildIndex(_arg1, (_display.stage.numChildren - 1));
}
public function createFailureAlert(_arg1:String):void{
var _local2:AlertAction;
var _local3:Alert;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
_local3 = 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:int;
var _local2:uint;
var _local3:uint;
var _local4:Panel;
_local1 = 10;
_local2 = (_display.stage.stageWidth - (_local1 * 2));
_local3 = (_display.stage.stageHeight - (_local1 * 2));
_local4 = 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 _local3:DisplayObject;
var _local4:Panel;
_local3 = _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 _local3:String;
var _local4:Array;
var _local5:Array;
var _local6:String;
var _local7:int;
_local3 = "\n";
_local4 = [];
_local5 = _arg1.split(_local3);
if (_arg2 == 0){
_arg2 = _maxCharPerLine;
};
_local7 = 0;
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));
}
public function createWarning(_arg1:String):void{
var _local2:Warning;
if (((_hasWarning) || (!(isAvailable())))){
_warningQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasWarning = true;
_local2 = new Warning(_arg1, _debug.warningTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearWarning, false, 0, true);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
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;
var _local3:Alert;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
_local3 = 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{
var _local2:Alert;
_arg1 = _filterMaxChars(_arg1);
_local2 = new Alert(_arg1, [new AlertAction("Close", "close", "close")]);
addToPanel("analytics", _local2);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function createInfo(_arg1:String):void{
var _local2:Info;
if (((_hasInfo) || (!(isAvailable())))){
_infoQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasInfo = true;
_local2 = 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 f:Function;
var gra:GIFRequestAlert;
var message = _arg1;
var request = _arg2;
var ref = _arg3;
if (_hasGRAlert){
_GRAlertQueue.push([message, request, ref]);
return;
};
_hasGRAlert = true;
f = function ():void{
ref.sendRequest(request);
};
message = _filterMaxChars(message);
gra = 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;
_local4 = 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 {
protected var baseAlpha:Number;
private var _border:Shape;
private var _name:String;
private var _title:Label;
private var _data:UISprite;
private var _backgroundColor:uint;
private var _colapsed:Boolean;
private var _stickToEdge:Boolean;
private var _background:Shape;
private var _savedW:uint;
private var _mask:Sprite;
private var _savedH:uint;
private var _borderColor:uint;
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 set stickToEdge(_arg1:Boolean):void{
_stickToEdge = _arg1;
_title.stickToEdge = _arg1;
}
public function onToggle(_arg1:MouseEvent=null):void{
if (_colapsed){
_data.visible = true;
} else {
_data.visible = false;
};
_colapsed = !(_colapsed);
_update();
resize();
}
override protected function dispose():void{
_title.removeEventListener(MouseEvent.CLICK, onToggle);
super.dispose();
}
private function _draw():void{
var _local1:uint;
var _local2:uint;
var _local3:Graphics;
var _local4:Graphics;
var _local5:Graphics;
var _local6:Graphics;
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;
};
_local3 = _background.graphics;
_local3.clear();
_local3.beginFill(_backgroundColor);
Background.drawRounded(this, _local3, _local1, _local2);
_local3.endFill();
_local4 = _data.graphics;
_local4.clear();
_local4.beginFill(_backgroundColor, 0);
Background.drawRounded(this, _local4, _local1, _local2);
_local4.endFill();
_local5 = _border.graphics;
_local5.clear();
_local5.lineStyle(0.1, _borderColor);
Background.drawRounded(this, _local5, _local1, _local2);
_local5.endFill();
_local6 = _mask.graphics;
_local6.clear();
_local6.beginFill(_backgroundColor);
Background.drawRounded(this, _local6, (_local1 + 1), (_local2 + 1));
_local6.endFill();
}
override protected function layout():void{
_update();
addChild(_background);
addChild(_data);
addChild(_title);
addChild(_border);
addChild(_mask);
mask = _mask;
}
public function get title():String{
return (_title.text);
}
public function get stickToEdge():Boolean{
return (_stickToEdge);
}
public function set title(_arg1:String):void{
_title.text = _arg1;
}
private function _update():void{
_draw();
if (baseAlpha < 1){
_background.alpha = baseAlpha;
_border.alpha = baseAlpha;
};
}
public function addData(_arg1:DisplayObject):void{
_data.addChild(_arg1);
}
public function close():void{
dispose();
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 48
//Style (com.google.analytics.debug.Style)
package com.google.analytics.debug {
public const Style:_Style = new _Style();
}//package com.google.analytics.debug
Section 49
//SuccessAlert (com.google.analytics.debug.SuccessAlert)
package com.google.analytics.debug {
public class SuccessAlert extends Alert {
public function SuccessAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align;
var _local5:Boolean;
var _local6:Boolean;
_local4 = Align.bottomLeft;
_local5 = true;
_local6 = false;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Success</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiSuccess", Style.successColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 50
//UISprite (com.google.analytics.debug.UISprite)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class UISprite extends Sprite {
private var _forcedHeight:uint;
protected var listenResize:Boolean;
public var alignement:Align;
private var _forcedWidth:uint;
public var margin:Margin;
protected var alignTarget:DisplayObject;
public function UISprite(_arg1:DisplayObject=null){
listenResize = false;
alignement = Align.none;
this.alignTarget = _arg1;
margin = new Margin();
addEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
addEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
}
protected function dispose():void{
var _local1:DisplayObject;
var _local2:int;
_local2 = 0;
while (_local2 < numChildren) {
_local1 = getChildAt(_local2);
if (_local1){
removeChild(_local1);
};
_local2++;
};
}
protected function layout():void{
}
public function get forcedHeight():uint{
if (_forcedHeight){
return (_forcedHeight);
};
return (height);
}
public function alignTo(_arg1:Align, _arg2:DisplayObject=null):void{
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:UISprite;
if (_arg2 == null){
if ((parent is Stage)){
_arg2 = this.stage;
} else {
_arg2 = parent;
};
};
if (_arg2 == this.stage){
if (this.stage == null){
return;
};
_local3 = this.stage.stageHeight;
_local4 = this.stage.stageWidth;
_local5 = 0;
_local6 = 0;
} else {
_local7 = (_arg2 as UISprite);
if (_local7.forcedHeight){
_local3 = _local7.forcedHeight;
} else {
_local3 = _local7.height;
};
if (_local7.forcedWidth){
_local4 = _local7.forcedWidth;
} else {
_local4 = _local7.width;
};
_local5 = 0;
_local6 = 0;
};
switch (_arg1){
case Align.top:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (_local6 + margin.top);
break;
case Align.bottom:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.left:
x = (_local5 + margin.left);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.right:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.center:
x = ((_local4 / 2) - (forcedWidth / 2));
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.topLeft:
x = (_local5 + margin.left);
y = (_local6 + margin.top);
break;
case Align.topRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (_local6 + margin.top);
break;
case Align.bottomLeft:
x = (_local5 + margin.left);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.bottomRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
};
if (((!(listenResize)) && (!((_arg1 == Align.none))))){
_arg2.addEventListener(Event.RESIZE, onResize, false, 0, true);
listenResize = true;
};
this.alignement = _arg1;
this.alignTarget = _arg2;
}
public function get forcedWidth():uint{
if (_forcedWidth){
return (_forcedWidth);
};
return (width);
}
protected function onResize(_arg1:Event):void{
resize();
}
private function _onRemovedFromStage(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
removeEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
dispose();
}
public function resize():void{
if (alignement != Align.none){
alignTo(alignement, alignTarget);
};
}
private function _onAddedToStage(_arg1:Event):void{
layout();
resize();
}
public function set forcedHeight(_arg1:uint):void{
_forcedHeight = _arg1;
}
public function set forcedWidth(_arg1:uint):void{
_forcedWidth = _arg1;
}
}
}//package com.google.analytics.debug
Section 51
//Warning (com.google.analytics.debug.Warning)
package com.google.analytics.debug {
import flash.events.*;
import flash.utils.*;
public class Warning extends Label {
private var _timer:Timer;
public function Warning(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiWarning", Style.warningColor, Align.top, false);
margin.top = 32;
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 52
//VisualDebugMode (com.google.analytics.debug.VisualDebugMode)
package com.google.analytics.debug {
public class VisualDebugMode {
private var _value:int;
private var _name:String;
public static const advanced:VisualDebugMode = new VisualDebugMode(1, "advanced");
;
public static const geek:VisualDebugMode = new VisualDebugMode(2, "geek");
;
public static const basic:VisualDebugMode = new VisualDebugMode(0, "basic");
;
public function VisualDebugMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 53
//AnalyticsEvent (com.google.analytics.events.AnalyticsEvent)
package com.google.analytics.events {
import flash.events.*;
import com.google.analytics.*;
public class AnalyticsEvent extends Event {
public var tracker:AnalyticsTracker;
public static const READY:String = "ready";
public function AnalyticsEvent(_arg1:String, _arg2:AnalyticsTracker, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.tracker = _arg2;
}
override public function clone():Event{
return (new AnalyticsEvent(type, tracker, bubbles, cancelable));
}
}
}//package com.google.analytics.events
Section 54
//AdSenseGlobals (com.google.analytics.external.AdSenseGlobals)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class AdSenseGlobals extends JavascriptProxy {
private var _gaGlobalVerified:Boolean;// = false
public static var gaGlobal_js:XML = <script>
<![CDATA[
function()
{
try
{
gaGlobal
}
catch(e)
{
gaGlobal = {} ;
}
}
]]>
</script>
;
public function AdSenseGlobals(_arg1:DebugConfiguration){
_gaGlobalVerified = false;
super(_arg1);
}
public function set vid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.vid", _arg1);
}
public function get hid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.hid"));
}
public function get dh():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.dh"));
}
public function get gaGlobal():Object{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal"));
}
public function set hid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.hid", _arg1);
}
public function get sid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.sid"));
}
private function _verify():void{
if (!_gaGlobalVerified){
executeBlock(gaGlobal_js);
_gaGlobalVerified = true;
};
}
public function get vid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.vid"));
}
public function set sid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.sid", _arg1);
}
}
}//package com.google.analytics.external
Section 55
//HTMLDOM (com.google.analytics.external.HTMLDOM)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class HTMLDOM extends JavascriptProxy {
private var _referrer:String;
private var _protocol:String;
private var _host:String;
private var _location:String;
private var _pathname:String;
private var _title:String;
private var _characterSet:String;
private var _search:String;
private var _language:String;
private var _colorDepth:String;
public static var cache_properties_js:XML = <script>
<![CDATA[
function()
{
var obj = {};
obj.host = document.location.host;
obj.language = navigator.language ? navigator.language : navigator.browserLanguage;
obj.characterSet = document.characterSet ? document.characterSet : document.charset;
obj.colorDepth = window.screen.colorDepth;
obj.location = document.location.toString();
obj.pathname = document.location.pathname;
obj.protocol = document.location.protocol;
obj.search = document.location.search;
obj.referrer = document.referrer;
obj.title = document.title;
return obj;
}
]]>
</script>
;
public function HTMLDOM(_arg1:DebugConfiguration){
super(_arg1);
}
public function get search():String{
if (_search){
return (_search);
};
if (!isAvailable()){
return (null);
};
_search = getProperty("document.location.search");
return (_search);
}
public function get location():String{
if (_location){
return (_location);
};
if (!isAvailable()){
return (null);
};
_location = getPropertyString("document.location");
return (_location);
}
public function get pathname():String{
if (_pathname){
return (_pathname);
};
if (!isAvailable()){
return (null);
};
_pathname = getProperty("document.location.pathname");
return (_pathname);
}
public function get referrer():String{
if (_referrer){
return (_referrer);
};
if (!isAvailable()){
return (null);
};
_referrer = getProperty("document.referrer");
return (_referrer);
}
public function get protocol():String{
if (_protocol){
return (_protocol);
};
if (!isAvailable()){
return (null);
};
_protocol = getProperty("document.location.protocol");
return (_protocol);
}
public function cacheProperties():void{
var _local1:Object;
if (!isAvailable()){
return;
};
_local1 = call(cache_properties_js);
if (_local1){
_host = _local1.host;
_language = _local1.language;
_characterSet = _local1.characterSet;
_colorDepth = _local1.colorDepth;
_location = _local1.location;
_pathname = _local1.pathname;
_protocol = _local1.protocol;
_search = _local1.search;
_referrer = _local1.referrer;
_title = _local1.title;
};
}
public function get colorDepth():String{
if (_colorDepth){
return (_colorDepth);
};
if (!isAvailable()){
return (null);
};
_colorDepth = getProperty("window.screen.colorDepth");
return (_colorDepth);
}
public function get title():String{
if (_title){
return (_title);
};
if (!isAvailable()){
return (null);
};
_title = getProperty("document.title");
return (_title);
}
public function get host():String{
if (_host){
return (_host);
};
if (!isAvailable()){
return (null);
};
_host = getProperty("document.location.host");
return (_host);
}
public function get characterSet():String{
var _local1:String;
if (_characterSet){
return (_characterSet);
};
if (!isAvailable()){
return (null);
};
_local1 = getProperty("document.characterSet");
if (_local1 == null){
_local1 = getProperty("document.charset");
};
_characterSet = _local1;
return (_characterSet);
}
public function get language():String{
var _local1:String;
if (_language){
return (_language);
};
if (!isAvailable()){
return (null);
};
_local1 = getProperty("navigator.language");
if (_local1 == null){
_local1 = getProperty("navigator.browserLanguage");
};
_language = _local1;
return (_language);
}
}
}//package com.google.analytics.external
Section 56
//JavascriptProxy (com.google.analytics.external.JavascriptProxy)
package com.google.analytics.external {
import com.google.analytics.debug.*;
import flash.external.*;
import flash.system.*;
public class JavascriptProxy {
private var _notAvailableWarning:Boolean;// = true
private var _debug:DebugConfiguration;
public static var setProperty_js:XML = <script>
<![CDATA[
function( path , value )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
target[ prop ] = value ;
}
]]>
</script>
;
public static var hasProperty_js:XML = <script>
<![CDATA[
function( path )
{
var paths;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
}
else
{
paths = [path];
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
if( target )
{
return true;
}
else
{
return false;
}
}
]]>
</script>
;
public static var setPropertyRef_js:XML = <script>
<![CDATA[
function( path , target )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
alert( "paths:"+paths.length+", prop:"+prop );
var targets;
var name;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
alert( "targets:"+targets.length+", name:"+name );
var root = window;
var len = paths.length;
for( var i = 0 ; i < len ; i++ )
{
root = root[ paths[i] ] ;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
root[ prop ] = ref[name] ;
}
]]>
</script>
;
public function JavascriptProxy(_arg1:DebugConfiguration){
_notAvailableWarning = true;
super();
_debug = _arg1;
}
public function getProperty(_arg1:String){
return (call((_arg1 + ".valueOf")));
}
public function hasProperty(_arg1:String):Boolean{
return (call(hasProperty_js, _arg1));
}
public function setProperty(_arg1:String, _arg2):void{
call(setProperty_js, _arg1, _arg2);
}
public function executeBlock(_arg1:String):void{
var data = _arg1;
if (isAvailable()){
try {
ExternalInterface.call(data);
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
}
public function getPropertyString(_arg1:String):String{
return (call((_arg1 + ".toString")));
}
public function setPropertyByReference(_arg1:String, _arg2:String):void{
call(setPropertyRef_js, _arg1, _arg2);
}
public function call(_arg1:String, ... _args){
var output:String;
var functionName = _arg1;
var args = _args;
if (isAvailable()){
try {
if (((_debug.javascript) && (_debug.verbose))){
output = "";
output = ("Flash->JS: " + functionName);
output = (output + "( ");
if (args.length > 0){
output = (output + args.join(","));
};
output = (output + " )");
_debug.info(output);
};
args.unshift(functionName);
return (ExternalInterface.call.apply(ExternalInterface, args));
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
return (null);
}
public function isAvailable():Boolean{
var _local1:Boolean;
_local1 = ExternalInterface.available;
if (((_local1) && ((Capabilities.playerType == "External")))){
_local1 = false;
};
if (((((!(_local1)) && (_debug.javascript))) && (_notAvailableWarning))){
_debug.warning("ExternalInterface is not available.");
_notAvailableWarning = false;
};
return (_local1);
}
}
}//package com.google.analytics.external
Section 57
//Environment (com.google.analytics.utils.Environment)
package com.google.analytics.utils {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
import flash.system.*;
public class Environment {
private var _dom:HTMLDOM;
private var _appName:String;
private var _debug:DebugConfiguration;
private var _appVersion:Version;
private var _url:String;
private var _protocol:Protocols;
private var _userAgent:UserAgent;
public function Environment(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:DebugConfiguration=null, _arg5:HTMLDOM=null){
var _local6:Version;
super();
if (_arg2 == ""){
if (isAIR()){
_arg2 = "AIR";
} else {
_arg2 = "Flash";
};
};
if (_arg3 == ""){
_local6 = flashVersion;
} else {
_local6 = Version.fromString(_arg3);
};
_url = _arg1;
_appName = _arg2;
_appVersion = _local6;
_debug = _arg4;
_dom = _arg5;
}
public function isAIR():Boolean{
return ((((playerType == "Desktop")) && ((Security.sandboxType.toString() == "application"))));
}
public function get playerType():String{
return (Capabilities.playerType);
}
public function get locationSearch():String{
var _local1:String;
_local1 = _dom.search;
if (_local1){
return (_local1);
};
return ("");
}
public function get protocol():Protocols{
if (!_protocol){
_findProtocol();
};
return (_protocol);
}
public function get flashVersion():Version{
var _local1:Version;
_local1 = Version.fromString(Capabilities.version.split(" ")[1], ",");
return (_local1);
}
public function get screenWidth():Number{
return (Capabilities.screenResolutionX);
}
public function get languageEncoding():String{
var _local1:String;
if (System.useCodePage){
_local1 = _dom.characterSet;
if (_local1){
return (_local1);
};
return ("-");
};
return ("UTF-8");
}
public function get appName():String{
return (_appName);
}
public function get screenColorDepth():String{
var _local1:String;
var _local2:String;
switch (Capabilities.screenColor){
case "bw":
_local1 = "1";
break;
case "gray":
_local1 = "2";
break;
case "color":
default:
_local1 = "24";
};
_local2 = _dom.colorDepth;
if (_local2){
_local1 = _local2;
};
return (_local1);
}
private function _findProtocol():void{
var _local1:Protocols;
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:String;
_local1 = Protocols.none;
if (_url != ""){
_local4 = _url.toLowerCase();
_local5 = _local4.substr(0, 5);
switch (_local5){
case "file:":
_local1 = Protocols.file;
break;
case "http:":
_local1 = Protocols.HTTP;
break;
case "https":
if (_local4.charAt(5) == ":"){
_local1 = Protocols.HTTPS;
};
break;
default:
_protocol = Protocols.none;
};
};
_local2 = _dom.protocol;
_local3 = (_local1.toString() + ":").toLowerCase();
if (((((_local2) && (!((_local2 == _local3))))) && (_debug))){
_debug.warning(((("Protocol mismatch: SWF=" + _local3) + ", DOM=") + _local2));
};
_protocol = _local1;
}
public function get locationSWFPath():String{
return (_url);
}
public function get platform():String{
var _local1:String;
_local1 = Capabilities.manufacturer;
return (_local1.split("Adobe ")[1]);
}
public function get operatingSystem():String{
return (Capabilities.os);
}
public function set appName(_arg1:String):void{
_appName = _arg1;
userAgent.applicationProduct = _arg1;
}
public function get userAgent():UserAgent{
if (!_userAgent){
_userAgent = new UserAgent(this, appName, appVersion.toString(4));
};
return (_userAgent);
}
ga_internal function set url(_arg1:String):void{
_url = _arg1;
}
public function get referrer():String{
var _local1:String;
_local1 = _dom.referrer;
if (_local1){
return (_local1);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function isInHTML():Boolean{
return ((Capabilities.playerType == "PlugIn"));
}
public function get language():String{
var _local1:String;
var _local2:String;
_local1 = _dom.language;
_local2 = Capabilities.language;
if (_local1){
if ((((_local1.length > _local2.length)) && ((_local1.substr(0, _local2.length) == _local2)))){
_local2 = _local1;
};
};
return (_local2);
}
public function get domainName():String{
var _local1:String;
var _local2:String;
var _local3:int;
if ((((protocol == Protocols.HTTP)) || ((protocol == Protocols.HTTPS)))){
_local1 = _url.toLowerCase();
if (protocol == Protocols.HTTP){
_local2 = _local1.split("http://").join("");
} else {
if (protocol == Protocols.HTTPS){
_local2 = _local1.split("https://").join("");
};
};
_local3 = _local2.indexOf("/");
if (_local3 > -1){
_local2 = _local2.substring(0, _local3);
};
return (_local2);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function set userAgent(_arg1:UserAgent):void{
_userAgent = _arg1;
}
public function set appVersion(_arg1:Version):void{
_appVersion = _arg1;
userAgent.applicationVersion = _arg1.toString(4);
}
public function get screenHeight():Number{
return (Capabilities.screenResolutionY);
}
public function get locationPath():String{
var _local1:String;
_local1 = _dom.pathname;
if (_local1){
return (_local1);
};
return ("");
}
public function get documentTitle():String{
var _local1:String;
_local1 = _dom.title;
if (_local1){
return (_local1);
};
return ("");
}
public function get appVersion():Version{
return (_appVersion);
}
}
}//package com.google.analytics.utils
Section 58
//Protocols (com.google.analytics.utils.Protocols)
package com.google.analytics.utils {
public class Protocols {
private var _value:int;
private var _name:String;
public static const none:Protocols = new Protocols(0, "none");
;
public static const HTTPS:Protocols = new Protocols(3, "HTTPS");
;
public static const file:Protocols = new Protocols(1, "file");
;
public static const HTTP:Protocols = new Protocols(2, "HTTP");
;
public function Protocols(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.utils
Section 59
//Timespan (com.google.analytics.utils.Timespan)
package com.google.analytics.utils {
public class Timespan {
public static var sixmonths:Number = 15768000;
public static var twoyears:Number = 63072000;
public static var thirtyminutes:Number = 1800;
}
}//package com.google.analytics.utils
Section 60
//URL (com.google.analytics.utils.URL)
package com.google.analytics.utils {
public class URL {
private var _url:String;
public function URL(_arg1:String=""){
_url = _arg1.toLowerCase();
}
public function get domain():String{
var _local1:Array;
if (((!((hostName == ""))) && ((hostName.indexOf(".") > -1)))){
_local1 = hostName.split(".");
switch (_local1.length){
case 2:
return (hostName);
case 3:
if (_local1[1] == "co"){
return (hostName);
};
_local1.shift();
return (_local1.join("."));
case 4:
_local1.shift();
return (_local1.join("."));
};
};
return ("");
}
public function get path():String{
var _local1:String;
_local1 = _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 search():String{
var _local1:String;
_local1 = _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);
}
public function get subDomain():String{
if (((!((domain == ""))) && (!((domain == hostName))))){
return (hostName.split(("." + domain)).join(""));
};
return ("");
}
public function get protocol():Protocols{
var _local1:String;
_local1 = _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;
_local1 = _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);
}
}
}//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 = [];
sort = true;
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;
var _local3:int;
_local2 = _args.length;
_local3 = 0;
while (_local3 < _local2) {
if (!(_args[_local3] is Variables)){
} else {
_join(_args[_local3]);
};
_local3++;
};
}
public function toString():String{
var _local1:Array;
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:String;
var _local8:String;
_local1 = [];
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;
var _local7:int;
if (_arg1 == ""){
return;
};
if (_arg1.indexOf("&") > -1){
_local2 = _arg1.split("&");
} else {
_local2 = [_arg1];
};
_local7 = 0;
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 _local1:URLVariables;
var _local2:String;
_local1 = 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;
_hasGATracker = false;
_jsContainer = "_GATracker";
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 setClientInfo(_arg1:Boolean):void{
_debug.info((("setClientInfo( " + _arg1) + " )"));
_call("_setClientInfo", _arg1);
}
public function trackTrans():void{
_debug.info("trackTrans()");
_call("_trackTrans");
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5:int;
_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 trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
_call("_trackPageview", _arg1);
}
public function setCookieTimeout(_arg1:int):void{
_debug.info((("setCookieTimeout( " + _arg1) + " )"));
_call("_setCookieTimeout", _arg1);
}
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"));
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_call("_getClientInfo"));
}
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;
var _local3:Boolean;
_local2 = _proxy.hasProperty(_arg1);
_local3 = _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 setDetectFlash(_arg1:Boolean):void{
_debug.info((("setDetectFlash( " + _arg1) + " )"));
_call("_setDetectFlash", _arg1);
}
public function setCampNameKey(_arg1:String):void{
_debug.info((("setCampNameKey( " + _arg1) + " )"));
_call("_setCampNameKey", _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 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 setCampSourceKey(_arg1:String):void{
_debug.info((("setCampSourceKey( " + _arg1) + " )"));
_call("_setCampSourceKey", _arg1);
}
public function setCampContentKey(_arg1:String):void{
_debug.info((("setCampContentKey( " + _arg1) + " )"));
_call("_setCampContentKey", _arg1);
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_call("_clearIgnoreRef");
}
public function setLocalServerMode():void{
_debug.info("setLocalServerMode()");
_call("_setLocalServerMode");
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_call("_getLocalGifPath"));
}
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);
}
public function setCampTermKey(_arg1:String):void{
_debug.info((("setCampTermKey( " + _arg1) + " )"));
_call("_setCampTermKey", _arg1);
}
private function _createTrackingObject(_arg1:String):void{
_proxy.call(_createTrackingObject_js, _arg1);
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_call("_getDetectFlash"));
}
public function setCampaignTrack(_arg1:Boolean):void{
_debug.info((("setCampaignTrack( " + _arg1) + " )"));
_call("_setCampaignTrack", _arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_call("_clearOrganic");
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_call("_addIgnoredRef", _arg1);
}
public function setCampMediumKey(_arg1:String):void{
_debug.info((("setCampMediumKey( " + _arg1) + " )"));
_call("_setCampMediumKey", _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 getServiceMode():ServerOperationMode;
function setLocalRemoteServerMode():void;
function setCampSourceKey(_arg1:String):void;
function setCampContentKey(_arg1:String):void;
function addOrganic(_arg1:String, _arg2:String):void;
function setDetectFlash(_arg1:Boolean):void;
function resetSession():void;
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 addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object;
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 trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean;
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 linkByPost(_arg1:Object, _arg2:Boolean=false):void;
function setLocalServerMode():void;
function setDetectTitle(_arg1:Boolean):void;
function setAllowHash(_arg1:Boolean):void;
function clearOrganic():void;
function getAccount():String;
function setDomainName(_arg1:String):void;
function link(_arg1:String, _arg2:Boolean=false):void;
function setCampNOKey(_arg1:String):void;
function getClientInfo():Boolean;
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;
_hasInitData = false;
_isNewVisitor = false;
_noSessionInformation = false;
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 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 trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5:Boolean;
var _local6:int;
_local5 = true;
_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 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();
}
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{
var _local2:String;
_config.campaignKey.UCCN = _arg1;
_local2 = (("setCampNameKey( " + _config.campaignKey.UCCN) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCN]"));
} else {
_debug.info(_local2);
};
}
private function _formatReferrer():String{
var _local1:String;
var _local2:String;
var _local3:URL;
var _local4:URL;
_local1 = _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) + " )"));
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_config.detectClientInfo);
}
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);
}
public function setCampContentKey(_arg1:String):void{
var _local2:String;
_config.campaignKey.UCCT = _arg1;
_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()");
}
private function _renderMetricsSearchVariables(_arg1:String=""):Variables{
var _local2:Variables;
var _local3:DocumentInfo;
var _local4:Variables;
var _local5:Variables;
_local2 = new Variables();
_local2.URIencode = true;
_local3 = new DocumentInfo(_config, _info, _formatedReferrer, _arg1, _adSense);
_debug.info(("docInfo: " + _local3.toURLString()), VisualDebugMode.geek);
if (_config.campaignTracking){
_local4 = _campaignInfo.toVariables();
};
_local5 = _browserInfo.toVariables();
_local2.join(_local3.toVariables(), _local5, _local4);
return (_local2);
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_config.organic.clearIgnoredReferrals();
}
public function setCampSourceKey(_arg1:String):void{
var _local2:String;
_config.campaignKey.UCSR = _arg1;
_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;
var _local2:Boolean;
var _local3:Boolean;
var _local4:Boolean;
var _local5:Boolean;
_local1 = _config.domainName;
_local2 = (_local1.indexOf("www.google.") < 0);
_local3 = (_local1.indexOf(".google.") < 0);
_local4 = (_local1.indexOf("google.") < 0);
_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:String;
_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 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{
var _local2:String;
_config.campaignKey.UCTR = _arg1;
_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);
}
public function setCampNOKey(_arg1:String):void{
var _local2:String;
_config.campaignKey.UCNO = _arg1;
_local2 = (("setCampNOKey( " + _config.campaignKey.UCNO) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCNO]"));
} else {
_debug.info(_local2);
};
}
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{
var _local2:String;
_config.campaignKey.UCMD = _arg1;
_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;
_local1 = ((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: 234 $ ".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
//__PASTELCUADRADOSFINAL_663 (LoveChef_fla.__PASTELCUADRADOSFINAL_663)
package LoveChef_fla {
import flash.display.*;
public dynamic class __PASTELCUADRADOSFINAL_663 extends MovieClip {
public var next__:MovieClip;
public var nota__:MovieClip;
public var puntuacion:MovieClip;
}
}//package LoveChef_fla
Section 72
//__PastelTODOSFINALEScopia_664 (LoveChef_fla.__PastelTODOSFINALEScopia_664)
package LoveChef_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import rutch.stage.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class __PastelTODOSFINALEScopia_664 extends MovieClip {
public var puntos__:MovieClip;
public function __PastelTODOSFINALEScopia_664(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_4_C[Languages.lang];
stop();
}
function frame1(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_4_A[Languages.lang];
stop();
}
function frame2(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_4_B[Languages.lang];
stop();
}
}
}//package LoveChef_fla
Section 73
//2platoFINALB_547 (LoveChef_fla.2platoFINALB_547)
package LoveChef_fla {
import flash.display.*;
public dynamic class 2platoFINALB_547 extends MovieClip {
public var carne_ani__:MovieClip;
public var stick_3__:MovieClip;
public var aceite__:MovieClip;
public var stick_2__:MovieClip;
public var freir__:MovieClip;
public var sarten__:MovieClip;
public var barra_aceite__:MovieClip;
public var ani_aceite__:MovieClip;
public var menu__:MovieClip;
public var barra_salpim__:MovieClip;
public var humillo__:MovieClip;
public var stick_1__:MovieClip;
public var carne__:MovieClip;
public var stick_4__:MovieClip;
public var barra_carne__:MovieClip;
}
}//package LoveChef_fla
Section 74
//aceitesarten_418 (LoveChef_fla.aceitesarten_418)
package LoveChef_fla {
import flash.display.*;
public dynamic class aceitesarten_418 extends MovieClip {
public function aceitesarten_418(){
addFrameScript(0, frame1, 99, frame100);
}
function frame1(){
stop();
}
function frame100(){
stop();
}
}
}//package LoveChef_fla
Section 75
//aceitesarten_551 (LoveChef_fla.aceitesarten_551)
package LoveChef_fla {
import flash.display.*;
public dynamic class aceitesarten_551 extends MovieClip {
public function aceitesarten_551(){
addFrameScript(0, frame1, 112, frame113);
}
function frame1(){
stop();
}
function frame113(){
stop();
}
}
}//package LoveChef_fla
Section 76
//Aentrecotfinal_586 (LoveChef_fla.Aentrecotfinal_586)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Aentrecotfinal_586 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 77
//ajoenlasarten_427 (LoveChef_fla.ajoenlasarten_427)
package LoveChef_fla {
import flash.display.*;
public dynamic class ajoenlasarten_427 extends MovieClip {
public function ajoenlasarten_427(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 78
//Alan_690 (LoveChef_fla.Alan_690)
package LoveChef_fla {
import flash.display.*;
public dynamic class Alan_690 extends MovieClip {
public function Alan_690(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 79
//Alysa_691 (LoveChef_fla.Alysa_691)
package LoveChef_fla {
import flash.display.*;
public dynamic class Alysa_691 extends MovieClip {
public function Alysa_691(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 80
//Amacedoniafinal_605 (LoveChef_fla.Amacedoniafinal_605)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Amacedoniafinal_605 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 81
//aniaceiteexando_423 (LoveChef_fla.aniaceiteexando_423)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class aniaceiteexando_423 extends MovieClip {
public function aniaceiteexando_423(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
stop();
}
function frame40(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 82
//aniaceiteexando_552 (LoveChef_fla.aniaceiteexando_552)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class aniaceiteexando_552 extends MovieClip {
public function aniaceiteexando_552(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
stop();
}
function frame40(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 83
//anibajarbatidot__632 (LoveChef_fla.anibajarbatidot__632)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anibajarbatidot__632 extends MovieClip {
public function anibajarbatidot__632(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 84
//aniBistec_560 (LoveChef_fla.aniBistec_560)
package LoveChef_fla {
import flash.display.*;
public dynamic class aniBistec_560 extends MovieClip {
public function aniBistec_560(){
addFrameScript(0, frame1, 147, frame148);
}
function frame1(){
stop();
}
function frame148(){
stop();
}
}
}//package LoveChef_fla
Section 85
//anibistecfinal_555 (LoveChef_fla.anibistecfinal_555)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anibistecfinal_555 extends MovieClip {
public function anibistecfinal_555(){
addFrameScript(0, frame1, 17, frame18, 66, frame67, 75, frame76);
}
function frame76(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame18(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame1(){
stop();
}
function frame67(){
gotoAndPlay("giro");
}
}
}//package LoveChef_fla
Section 86
//AniBolmetiendohorno__660 (LoveChef_fla.AniBolmetiendohorno__660)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class AniBolmetiendohorno__660 extends MovieClip {
public function AniBolmetiendohorno__660(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 87
//anicaerajo_425 (LoveChef_fla.anicaerajo_425)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anicaerajo_425 extends MovieClip {
public function anicaerajo_425(){
addFrameScript(0, frame1, 15, frame16);
}
function frame16(){
SG_Cocinar.specificStep = "fondo=sarten&item=cebollaDentro&action=sartenStep";
SG_Cocinar.unwaitForObject();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 88
//anicuchillohorizontal_405 (LoveChef_fla.anicuchillohorizontal_405)
package LoveChef_fla {
import flash.display.*;
public dynamic class anicuchillohorizontal_405 extends MovieClip {
public function anicuchillohorizontal_405(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 89
//anicuchillovertical_407 (LoveChef_fla.anicuchillovertical_407)
package LoveChef_fla {
import flash.display.*;
public dynamic class anicuchillovertical_407 extends MovieClip {
public function anicuchillovertical_407(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 90
//animacionalyssa222_710 (LoveChef_fla.animacionalyssa222_710)
package LoveChef_fla {
import flash.display.*;
public dynamic class animacionalyssa222_710 extends MovieClip {
public function animacionalyssa222_710(){
addFrameScript(22, frame23);
}
function frame23(){
stop();
}
}
}//package LoveChef_fla
Section 91
//Animacionbajarvaso_513 (LoveChef_fla.Animacionbajarvaso_513)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class Animacionbajarvaso_513 extends MovieClip {
public function Animacionbajarvaso_513(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
SG_Cocinar.specificStep = "fondo=olla&item=aguaMedio&action=ollaStep";
SG_Cocinar.unwaitForObject();
}
}
}//package LoveChef_fla
Section 92
//animacionbatiendo__634 (LoveChef_fla.animacionbatiendo__634)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class animacionbatiendo__634 extends MovieClip {
public function animacionbatiendo__634(){
addFrameScript(0, frame1, 29, frame30);
}
function frame1(){
stop();
}
function frame30(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 93
//animacioncazo_511 (LoveChef_fla.animacioncazo_511)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class animacioncazo_511 extends MovieClip {
public function animacioncazo_511(){
addFrameScript(0, frame1, 19, frame20);
}
function frame1(){
stop();
}
function frame20(){
SG_Cocinar.specificStep = "fondo=olla&item=aguaMedio&action=ollaStep";
SG_Cocinar.unwaitForObject();
}
}
}//package LoveChef_fla
Section 94
//ANIMACIONFINALSFERA_3 (LoveChef_fla.ANIMACIONFINALSFERA_3)
package LoveChef_fla {
import flash.display.*;
public dynamic class ANIMACIONFINALSFERA_3 extends MovieClip {
public var percent__:MovieClip;
public function ANIMACIONFINALSFERA_3(){
addFrameScript(26, frame27);
}
function frame27(){
gotoAndPlay(1);
}
}
}//package LoveChef_fla
Section 95
//animacionmejunge__631 (LoveChef_fla.animacionmejunge__631)
package LoveChef_fla {
import flash.display.*;
public dynamic class animacionmejunge__631 extends MovieClip {
public function animacionmejunge__631(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 96
//animacionsarten_417 (LoveChef_fla.animacionsarten_417)
package LoveChef_fla {
import flash.display.*;
public dynamic class animacionsarten_417 extends MovieClip {
public function animacionsarten_417(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 97
//animacionsarten_549 (LoveChef_fla.animacionsarten_549)
package LoveChef_fla {
import flash.display.*;
public dynamic class animacionsarten_549 extends MovieClip {
public function animacionsarten_549(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 98
//anipala_488 (LoveChef_fla.anipala_488)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anipala_488 extends MovieClip {
public function anipala_488(){
addFrameScript(0, frame1, 21, frame22);
}
function frame1(){
stop();
}
function frame22(){
SG_Cocinar.unwaitForObject();
}
}
}//package LoveChef_fla
Section 99
//anipesta_306 (LoveChef_fla.anipesta_306)
package LoveChef_fla {
import flash.events.*;
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anipesta_306 extends MovieClip {
public var btn_11__:SimpleButton;
public var btn_7__:SimpleButton;
public var btn_6__:SimpleButton;
public var btn_2__:SimpleButton;
public var btn_1__:SimpleButton;
public var btn_9__:SimpleButton;
public var btn_10__:SimpleButton;
public var btn_5__:SimpleButton;
public var btn_4__:SimpleButton;
public var btn_8__:SimpleButton;
public var btn_3__:SimpleButton;
public function anipesta_306(){
addFrameScript(4, frame5);
}
function frame5(){
btn_1__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_1);
btn_2__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_2);
btn_3__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_3);
btn_4__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_4);
btn_5__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_5);
btn_6__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_6);
btn_7__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_7);
btn_8__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_8);
btn_9__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_9);
btn_10__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_10);
btn_11__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_1_11);
stop();
}
}
}//package LoveChef_fla
Section 100
//anipesta_330 (LoveChef_fla.anipesta_330)
package LoveChef_fla {
import flash.events.*;
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anipesta_330 extends MovieClip {
public var btn_7__:SimpleButton;
public var btn_6__:SimpleButton;
public var btn_2__:SimpleButton;
public var btn_1__:SimpleButton;
public var btn_5__:SimpleButton;
public var btn_4__:SimpleButton;
public var btn_3__:SimpleButton;
public function anipesta_330(){
addFrameScript(4, frame5);
}
function frame5(){
btn_1__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_2_1);
btn_2__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_2_2);
btn_3__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_2_3);
btn_4__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_2_4);
btn_5__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_2_5);
btn_6__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_2_6);
btn_7__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_2_7);
stop();
}
}
}//package LoveChef_fla
Section 101
//anipesta_345 (LoveChef_fla.anipesta_345)
package LoveChef_fla {
import flash.events.*;
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anipesta_345 extends MovieClip {
public var btn_7__:SimpleButton;
public var btn_6__:SimpleButton;
public var btn_2__:SimpleButton;
public var btn_1__:SimpleButton;
public var btn_9__:SimpleButton;
public var btn_10__:SimpleButton;
public var btn_5__:SimpleButton;
public var btn_4__:SimpleButton;
public var btn_8__:SimpleButton;
public var btn_3__:SimpleButton;
public function anipesta_345(){
addFrameScript(4, frame5);
}
function frame5(){
btn_1__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_1);
btn_2__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_2);
btn_3__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_3);
btn_4__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_4);
btn_5__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_5);
btn_6__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_6);
btn_7__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_7);
btn_8__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_8);
btn_9__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_9);
btn_10__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_3_10);
stop();
}
}
}//package LoveChef_fla
Section 102
//anipesta_366 (LoveChef_fla.anipesta_366)
package LoveChef_fla {
import flash.events.*;
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anipesta_366 extends MovieClip {
public var btn_15__:SimpleButton;
public var btn_11__:SimpleButton;
public var btn_7__:SimpleButton;
public var btn_6__:SimpleButton;
public var btn_2__:SimpleButton;
public var btn_1__:SimpleButton;
public var btn_9__:SimpleButton;
public var btn_10__:SimpleButton;
public var btn_14__:SimpleButton;
public var btn_5__:SimpleButton;
public var btn_13__:SimpleButton;
public var btn_4__:SimpleButton;
public var btn_8__:SimpleButton;
public var btn_12__:SimpleButton;
public var btn_3__:SimpleButton;
public function anipesta_366(){
addFrameScript(4, frame5);
}
function frame5(){
btn_1__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_1);
btn_2__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_2);
btn_3__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_3);
btn_4__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_4);
btn_5__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_5);
btn_6__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_6);
btn_7__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_7);
btn_8__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_8);
btn_9__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_9);
btn_10__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_10);
btn_11__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_11);
btn_12__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_12);
btn_13__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_13);
btn_14__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_14);
btn_15__.addEventListener(MouseEvent.CLICK, SG_Decorar(parent.parent).sub_4_15);
stop();
}
}
}//package LoveChef_fla
Section 103
//anipiel1_29 (LoveChef_fla.anipiel1_29)
package LoveChef_fla {
import flash.display.*;
public dynamic class anipiel1_29 extends MovieClip {
public function anipiel1_29(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop(4);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 104
//anipiel2_31 (LoveChef_fla.anipiel2_31)
package LoveChef_fla {
import flash.display.*;
public dynamic class anipiel2_31 extends MovieClip {
public function anipiel2_31(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop(5);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 105
//anipiel3_33 (LoveChef_fla.anipiel3_33)
package LoveChef_fla {
import flash.display.*;
public dynamic class anipiel3_33 extends MovieClip {
public function anipiel3_33(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop(6);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 106
//anipiel4_35 (LoveChef_fla.anipiel4_35)
package LoveChef_fla {
import flash.display.*;
public dynamic class anipiel4_35 extends MovieClip {
public function anipiel4_35(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop(7);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 107
//anipiel5_37 (LoveChef_fla.anipiel5_37)
package LoveChef_fla {
import flash.display.*;
public dynamic class anipiel5_37 extends MovieClip {
public function anipiel5_37(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop(8);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 108
//anipiel6_39 (LoveChef_fla.anipiel6_39)
package LoveChef_fla {
import flash.display.*;
public dynamic class anipiel6_39 extends MovieClip {
public function anipiel6_39(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop(9);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 109
//anipiel7_41 (LoveChef_fla.anipiel7_41)
package LoveChef_fla {
import flash.display.*;
public dynamic class anipiel7_41 extends MovieClip {
public function anipiel7_41(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop(10);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 110
//anipimientoscayendo_431 (LoveChef_fla.anipimientoscayendo_431)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anipimientoscayendo_431 extends MovieClip {
public function anipimientoscayendo_431(){
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
SG_Cocinar.specificStep = "fondo=sarten&item=pimientosDentro&action=sartenStep";
SG_Cocinar.unwaitForObject();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 111
//AniPinzas2_559 (LoveChef_fla.AniPinzas2_559)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class AniPinzas2_559 extends MovieClip {
public var carne__:MovieClip;
public function AniPinzas2_559(){
addFrameScript(0, frame1, 40, frame41);
}
function frame1(){
stop();
}
function frame41(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 112
//anipuntuacion222_704 (LoveChef_fla.anipuntuacion222_704)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
import rutch.game.*;
public dynamic class anipuntuacion222_704 extends MovieClip {
public var nota_1__:TextField;
public var nota_4__:TextField;
public var nota_3__:TextField;
public var nota_2__:TextField;
public function anipuntuacion222_704(){
addFrameScript(15, frame16);
}
function frame16(){
nota_1__.text = (". . . . . . " + GameStats.cocinaNotas[0]);
nota_2__.text = (". . . . . . " + GameStats.cocinaNotas[1]);
nota_3__.text = (". . . . . . " + GameStats.cocinaNotas[2]);
nota_4__.text = (". . . . . . " + GameStats.cocinaNotas[3]);
stop();
}
}
}//package LoveChef_fla
Section 113
//aniresults222_700 (LoveChef_fla.aniresults222_700)
package LoveChef_fla {
import flash.display.*;
public dynamic class aniresults222_700 extends MovieClip {
public function aniresults222_700(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package LoveChef_fla
Section 114
//anisalero_493 (LoveChef_fla.anisalero_493)
package LoveChef_fla {
import flash.display.*;
public dynamic class anisalero_493 extends MovieClip {
public function anisalero_493(){
addFrameScript(0, frame1, 54, frame55);
}
function frame1(){
stop();
}
function frame55(){
gotoAndPlay(20);
}
}
}//package LoveChef_fla
Section 115
//anispaguettisnormales_486 (LoveChef_fla.anispaguettisnormales_486)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anispaguettisnormales_486 extends MovieClip {
public function anispaguettisnormales_486(){
addFrameScript(0, frame1, 85, frame86);
}
function frame86(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 116
//anitomatesartenmovimientio_437 (LoveChef_fla.anitomatesartenmovimientio_437)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anitomatesartenmovimientio_437 extends MovieClip {
public function anitomatesartenmovimientio_437(){
addFrameScript(0, frame1, 31, frame32);
}
function frame1(){
stop();
}
function frame32(){
SG_Cocinar.unwaitForObject();
}
}
}//package LoveChef_fla
Section 117
//anizanahoriacayendo_428 (LoveChef_fla.anizanahoriacayendo_428)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class anizanahoriacayendo_428 extends MovieClip {
public function anizanahoriacayendo_428(){
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
SG_Cocinar.specificStep = "fondo=sarten&item=zanahoriaDentro&action=sartenStep";
SG_Cocinar.unwaitForObject();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 118
//Apastelifinal__666 (LoveChef_fla.Apastelifinal__666)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Apastelifinal__666 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 119
//Aspgetifinal_525 (LoveChef_fla.Aspgetifinal_525)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Aspgetifinal_525 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 120
//Barraaagua_476 (LoveChef_fla.Barraaagua_476)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barraaagua_476 extends MovieClip {
public function Barraaagua_476(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 121
//Barraaceite_419 (LoveChef_fla.Barraaceite_419)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class Barraaceite_419 extends MovieClip {
public function Barraaceite_419(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
SG_Cocinar(parent.parent).stopAceiteVertido();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 122
//BarraaguaFInal_475 (LoveChef_fla.BarraaguaFInal_475)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarraaguaFInal_475 extends MovieClip {
public var barra_agua__:MovieClip;
}
}//package LoveChef_fla
Section 123
//Barraazucar_645 (LoveChef_fla.Barraazucar_645)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barraazucar_645 extends MovieClip {
public function Barraazucar_645(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 124
//BarraazucarFInal_644 (LoveChef_fla.BarraazucarFInal_644)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarraazucarFInal_644 extends MovieClip {
public var barra_azucar__:MovieClip;
}
}//package LoveChef_fla
Section 125
//Barracebolla_461 (LoveChef_fla.Barracebolla_461)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barracebolla_461 extends MovieClip {
public function Barracebolla_461(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 126
//BarracebollaFInal_460 (LoveChef_fla.BarracebollaFInal_460)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarracebollaFInal_460 extends MovieClip {
public var barra_zanahoria__:MovieClip;
public var barra_cebolla__:MovieClip;
public var barra_pimiento__:MovieClip;
}
}//package LoveChef_fla
Section 127
//Barraentrecot_564 (LoveChef_fla.Barraentrecot_564)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barraentrecot_564 extends MovieClip {
public function Barraentrecot_564(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 128
//BarraentrecotFInal_563 (LoveChef_fla.BarraentrecotFInal_563)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarraentrecotFInal_563 extends MovieClip {
public var barra_carne__:MovieClip;
}
}//package LoveChef_fla
Section 129
//Barraharina_641 (LoveChef_fla.Barraharina_641)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barraharina_641 extends MovieClip {
public function Barraharina_641(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 130
//BarraharinaFInal_640 (LoveChef_fla.BarraharinaFInal_640)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarraharinaFInal_640 extends MovieClip {
public var barra_harina__:MovieClip;
}
}//package LoveChef_fla
Section 131
//Barrahuevos_653 (LoveChef_fla.Barrahuevos_653)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barrahuevos_653 extends MovieClip {
public function Barrahuevos_653(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 132
//BarrahuevosFInal_652 (LoveChef_fla.BarrahuevosFInal_652)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarrahuevosFInal_652 extends MovieClip {
public var barra_huevos__:MovieClip;
}
}//package LoveChef_fla
Section 133
//Barraleche_657 (LoveChef_fla.Barraleche_657)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barraleche_657 extends MovieClip {
public function Barraleche_657(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 134
//BarralecheFInal_656 (LoveChef_fla.BarralecheFInal_656)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarralecheFInal_656 extends MovieClip {
public var barra_leche__:MovieClip;
}
}//package LoveChef_fla
Section 135
//Barrapimientos_469 (LoveChef_fla.Barrapimientos_469)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barrapimientos_469 extends MovieClip {
public function Barrapimientos_469(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 136
//BarrapimientosFInal_468 (LoveChef_fla.BarrapimientosFInal_468)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarrapimientosFInal_468 extends MovieClip {
public var barra_pimiento__:MovieClip;
}
}//package LoveChef_fla
Section 137
//Barrasal_482 (LoveChef_fla.Barrasal_482)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barrasal_482 extends MovieClip {
public function Barrasal_482(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 138
//BarrasalFInal_481 (LoveChef_fla.BarrasalFInal_481)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarrasalFInal_481 extends MovieClip {
public var barra_sal__:MovieClip;
}
}//package LoveChef_fla
Section 139
//Barrasalypimienta_579 (LoveChef_fla.Barrasalypimienta_579)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barrasalypimienta_579 extends MovieClip {
public function Barrasalypimienta_579(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 140
//BarrasalypimientaFInal_578 (LoveChef_fla.BarrasalypimientaFInal_578)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarrasalypimientaFInal_578 extends MovieClip {
public var barra_salpim__:MovieClip;
}
}//package LoveChef_fla
Section 141
//Barraxocolate_649 (LoveChef_fla.Barraxocolate_649)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barraxocolate_649 extends MovieClip {
public function Barraxocolate_649(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 142
//BarraxocolateFInal_648 (LoveChef_fla.BarraxocolateFInal_648)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarraxocolateFInal_648 extends MovieClip {
public var barra_chocolate__:MovieClip;
}
}//package LoveChef_fla
Section 143
//Barrazanahoria_465 (LoveChef_fla.Barrazanahoria_465)
package LoveChef_fla {
import flash.display.*;
public dynamic class Barrazanahoria_465 extends MovieClip {
public function Barrazanahoria_465(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 144
//BarrazanahoriaFInal_464 (LoveChef_fla.BarrazanahoriaFInal_464)
package LoveChef_fla {
import flash.display.*;
public dynamic class BarrazanahoriaFInal_464 extends MovieClip {
public var barra_zanahoria__:MovieClip;
}
}//package LoveChef_fla
Section 145
//basebotonani_249 (LoveChef_fla.basebotonani_249)
package LoveChef_fla {
import flash.display.*;
public dynamic class basebotonani_249 extends MovieClip {
public function basebotonani_249(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package LoveChef_fla
Section 146
//Bentrecotfinal_592 (LoveChef_fla.Bentrecotfinal_592)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Bentrecotfinal_592 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 147
//Bmacedoniafinal_608 (LoveChef_fla.Bmacedoniafinal_608)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Bmacedoniafinal_608 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 148
//Bolrecienbatido_copia_635 (LoveChef_fla.Bolrecienbatido_copia_635)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class Bolrecienbatido_copia_635 extends MovieClip {
public function Bolrecienbatido_copia_635(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
stop();
}
function frame40(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 149
//botones_246 (LoveChef_fla.botones_246)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class botones_246 extends MovieClip {
public var btn_mas__:SimpleButton;
public var btn_play__:SimpleButton;
public var btn_lang__:SimpleButton;
public var txt_play__:TextField;
public var txt_lang__:TextField;
public var txt_mas__:TextField;
}
}//package LoveChef_fla
Section 150
//Bpastelfinal__673 (LoveChef_fla.Bpastelfinal__673)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Bpastelfinal__673 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 151
//Bspgetifinal_531 (LoveChef_fla.Bspgetifinal_531)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Bspgetifinal_531 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 152
//Centrecotfinal_598 (LoveChef_fla.Centrecotfinal_598)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Centrecotfinal_598 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 153
//centrodemesa_295 (LoveChef_fla.centrodemesa_295)
package LoveChef_fla {
import flash.display.*;
public dynamic class centrodemesa_295 extends MovieClip {
public function centrodemesa_295(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 154
//Cmacedoniafinal_614 (LoveChef_fla.Cmacedoniafinal_614)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Cmacedoniafinal_614 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 155
//conjuntobotones_444 (LoveChef_fla.conjuntobotones_444)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntobotones_444 extends MovieClip {
public var btn_2__:SimpleButton;
public var btn_1__:SimpleButton;
public var btn_5__:SimpleButton;
public var btn_4__:SimpleButton;
public var btn_3__:SimpleButton;
}
}//package LoveChef_fla
Section 156
//conjuntobotones_569 (LoveChef_fla.conjuntobotones_569)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntobotones_569 extends MovieClip {
public var btn_2__:SimpleButton;
public var btn_1__:SimpleButton;
public var btn_4__:SimpleButton;
public var btn_3__:SimpleButton;
}
}//package LoveChef_fla
Section 157
//conjuntopuntuacionentrecot_585 (LoveChef_fla.conjuntopuntuacionentrecot_585)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionentrecot_585 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 158
//conjuntopuntuacionentrecot_590 (LoveChef_fla.conjuntopuntuacionentrecot_590)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionentrecot_590 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 159
//conjuntopuntuacionentrecot_596 (LoveChef_fla.conjuntopuntuacionentrecot_596)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionentrecot_596 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 160
//conjuntopuntuacionmacedonia_604 (LoveChef_fla.conjuntopuntuacionmacedonia_604)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionmacedonia_604 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 161
//conjuntopuntuacionmacedonia_606 (LoveChef_fla.conjuntopuntuacionmacedonia_606)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionmacedonia_606 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 162
//conjuntopuntuacionpastel__665 (LoveChef_fla.conjuntopuntuacionpastel__665)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionpastel__665 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 163
//conjuntopuntuacionpastel__671 (LoveChef_fla.conjuntopuntuacionpastel__671)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionpastel__671 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 164
//conjuntopuntuacionpastel__677 (LoveChef_fla.conjuntopuntuacionpastel__677)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionpastel__677 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 165
//conjuntopuntuacionspaguetis_523 (LoveChef_fla.conjuntopuntuacionspaguetis_523)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionspaguetis_523 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 166
//conjuntopuntuacionspaguetis_529 (LoveChef_fla.conjuntopuntuacionspaguetis_529)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionspaguetis_529 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 167
//conjuntopuntuacionspaguetis_535 (LoveChef_fla.conjuntopuntuacionspaguetis_535)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionspaguetis_535 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 168
//conjuntopuntuacionspaguetis_612 (LoveChef_fla.conjuntopuntuacionspaguetis_612)
package LoveChef_fla {
import flash.display.*;
public dynamic class conjuntopuntuacionspaguetis_612 extends MovieClip {
public var puntos__:MovieClip;
}
}//package LoveChef_fla
Section 169
//copas_293 (LoveChef_fla.copas_293)
package LoveChef_fla {
import flash.display.*;
public dynamic class copas_293 extends MovieClip {
public function copas_293(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 170
//Cpastelfinal__679 (LoveChef_fla.Cpastelfinal__679)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Cpastelfinal__679 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 171
//Cspgetifinal_537 (LoveChef_fla.Cspgetifinal_537)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Cspgetifinal_537 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 172
//CUADRADOSFINALcomida_516 (LoveChef_fla.CUADRADOSFINALcomida_516)
package LoveChef_fla {
import flash.display.*;
public dynamic class CUADRADOSFINALcomida_516 extends MovieClip {
public var next__:MovieClip;
public var nota__:MovieClip;
public var puntuacion:MovieClip;
}
}//package LoveChef_fla
Section 173
//CUADRADOSFINALcomidacopia_583 (LoveChef_fla.CUADRADOSFINALcomidacopia_583)
package LoveChef_fla {
import flash.display.*;
public dynamic class CUADRADOSFINALcomidacopia_583 extends MovieClip {
public var next__:MovieClip;
public var nota__:MovieClip;
public var puntuacion:MovieClip;
}
}//package LoveChef_fla
Section 174
//CUADRADOSFINALcomidacopia2_602 (LoveChef_fla.CUADRADOSFINALcomidacopia2_602)
package LoveChef_fla {
import flash.display.*;
public dynamic class CUADRADOSFINALcomidacopia2_602 extends MovieClip {
public var next__:MovieClip;
public var nota__:MovieClip;
public var puntuacion:MovieClip;
}
}//package LoveChef_fla
Section 175
//decoracionmesa_288 (LoveChef_fla.decoracionmesa_288)
package LoveChef_fla {
import flash.display.*;
public dynamic class decoracionmesa_288 extends MovieClip {
public function decoracionmesa_288(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 176
//desaparecerbol__638 (LoveChef_fla.desaparecerbol__638)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class desaparecerbol__638 extends MovieClip {
public function desaparecerbol__638(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 177
//echarazucar__626 (LoveChef_fla.echarazucar__626)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class echarazucar__626 extends MovieClip {
public function echarazucar__626(){
addFrameScript(0, frame1, 24, frame25, 36, frame37);
}
function frame1(){
stop();
}
function frame25(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame37(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 178
//echarharina__627 (LoveChef_fla.echarharina__627)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class echarharina__627 extends MovieClip {
public function echarharina__627(){
addFrameScript(0, frame1, 23, frame24, 33, frame34);
}
function frame1(){
stop();
}
function frame24(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame34(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 179
//echarhuevos__628 (LoveChef_fla.echarhuevos__628)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class echarhuevos__628 extends MovieClip {
public function echarhuevos__628(){
addFrameScript(0, frame1, 23, frame24, 33, frame34);
}
function frame1(){
stop();
}
function frame24(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame34(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 180
//echarleche__629 (LoveChef_fla.echarleche__629)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class echarleche__629 extends MovieClip {
public function echarleche__629(){
addFrameScript(0, frame1, 22, frame23, 32, frame33);
}
function frame1(){
stop();
}
function frame23(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame33(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 181
//Entrecot_685 (LoveChef_fla.Entrecot_685)
package LoveChef_fla {
import flash.display.*;
public dynamic class Entrecot_685 extends MovieClip {
public function Entrecot_685(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 182
//EntrecotesTODOSFINALEScopia_584 (LoveChef_fla.EntrecotesTODOSFINALEScopia_584)
package LoveChef_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import rutch.stage.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class EntrecotesTODOSFINALEScopia_584 extends MovieClip {
public var puntos__:MovieClip;
public function EntrecotesTODOSFINALEScopia_584(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_2_C[Languages.lang];
stop();
}
function frame1(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_2_A[Languages.lang];
stop();
}
function frame2(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_2_B[Languages.lang];
stop();
}
}
}//package LoveChef_fla
Section 183
//Esferabase_5 (LoveChef_fla.Esferabase_5)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Esferabase_5 extends MovieClip {
public var txt__:TextField;
public var esfera__:MovieClip;
}
}//package LoveChef_fla
Section 184
//EspaguetisTODOSFINALES_522 (LoveChef_fla.EspaguetisTODOSFINALES_522)
package LoveChef_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import rutch.stage.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class EspaguetisTODOSFINALES_522 extends MovieClip {
public var puntos__:MovieClip;
public function EspaguetisTODOSFINALES_522(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_1_C[Languages.lang];
stop();
}
function frame1(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_1_A[Languages.lang];
stop();
}
function frame2(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_1_B[Languages.lang];
stop();
}
}
}//package LoveChef_fla
Section 185
//exarxocolate__630 (LoveChef_fla.exarxocolate__630)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class exarxocolate__630 extends MovieClip {
public function exarxocolate__630(){
addFrameScript(0, frame1, 24, frame25, 36, frame37);
}
function frame1(){
stop();
}
function frame25(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame37(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 186
//FASEOLLA_471 (LoveChef_fla.FASEOLLA_471)
package LoveChef_fla {
import flash.display.*;
public dynamic class FASEOLLA_471 extends MovieClip {
public var espatula__:MovieClip;
public var stick_3__:MovieClip;
public var btn_2__:SimpleButton;
public var fuego__:MovieClip;
public var barra_sal__:MovieClip;
public var stick_2__:MovieClip;
public var btn_1__:SimpleButton;
public var vaso__:MovieClip;
public var click__:MovieClip;
public var espaguetis__:MovieClip;
public var olla__:MovieClip;
public var flechas__:MovieClip;
public var vapor__:MovieClip;
public var stick_1__:MovieClip;
public var espaguetis_dentro__:MovieClip;
public var btn_4__:SimpleButton;
public var salero__:MovieClip;
public var cucharon__:MovieClip;
public var potencia__:MovieClip;
public var stick_4__:MovieClip;
public var barra_agua__:MovieClip;
public var btn_3__:SimpleButton;
}
}//package LoveChef_fla
Section 187
//FASESARTEN_414 (LoveChef_fla.FASESARTEN_414)
package LoveChef_fla {
import flash.display.*;
public dynamic class FASESARTEN_414 extends MovieClip {
public var ani_tomate__:MovieClip;
public var click_pimientos__:MovieClip;
public var ani_cebolla__:MovieClip;
public var stick_3__:MovieClip;
public var barras_ingredientes__:MovieClip;
public var click_zanahoria__:MovieClip;
public var aceite__:MovieClip;
public var stick_2__:MovieClip;
public var ani_pimientos__:MovieClip;
public var zanahoria__:MovieClip;
public var sarten__:MovieClip;
public var menu__:MovieClip;
public var barra_aceite__:MovieClip;
public var freir__:MovieClip;
public var ani_aceite__:MovieClip;
public var ani_zanahoria__:MovieClip;
public var humillo__:MovieClip;
public var flechas__:MovieClip;
public var stick_5__:MovieClip;
public var stick_1__:MovieClip;
public var pimientos__:MovieClip;
public var click_tomate__:MovieClip;
public var cebolla__:MovieClip;
public var click_cebolla__:MovieClip;
public var tomate_sarten__:MovieClip;
public var tomate__:MovieClip;
public var stick_4__:MovieClip;
public function FASESARTEN_414(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package LoveChef_fla
Section 188
//FasesdelAguaOlla_474 (LoveChef_fla.FasesdelAguaOlla_474)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class FasesdelAguaOlla_474 extends MovieClip {
public function FasesdelAguaOlla_474(){
addFrameScript(0, frame1, 154, frame155, 174, frame175);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
function frame175(){
SG_Cocinar.specificStep = "none";
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 189
//FINALanipesta_297 (LoveChef_fla.FINALanipesta_297)
package LoveChef_fla {
import flash.events.*;
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class FINALanipesta_297 extends MovieClip {
public var sub_1_desp__:MovieClip;
public var sub_2__:MovieClip;
public var sub_1__:MovieClip;
public var sub_4__:MovieClip;
public var sub_4_desp__:MovieClip;
public var sub_3_desp__:MovieClip;
public var sub_2_desp__:MovieClip;
public var sub_3__:MovieClip;
public function FINALanipesta_297(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
sub_2_desp__.addEventListener(MouseEvent.ROLL_OUT, SG_Decorar(parent).plegaMenu);
stop();
}
function frame1(){
stop();
}
function frame4(){
sub_3_desp__.addEventListener(MouseEvent.ROLL_OUT, SG_Decorar(parent).plegaMenu);
stop();
}
function frame5(){
sub_4_desp__.addEventListener(MouseEvent.ROLL_OUT, SG_Decorar(parent).plegaMenu);
stop();
}
function frame2(){
sub_1_desp__.addEventListener(MouseEvent.ROLL_OUT, SG_Decorar(parent).plegaMenu);
stop();
}
}
}//package LoveChef_fla
Section 190
//FOndoanicerrarhorno__661 (LoveChef_fla.FOndoanicerrarhorno__661)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class FOndoanicerrarhorno__661 extends MovieClip {
public function FOndoanicerrarhorno__661(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 191
//Fondopastelanimado__618 (LoveChef_fla.Fondopastelanimado__618)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class Fondopastelanimado__618 extends MovieClip {
public var leche_ani__:MovieClip;
public var azucar__:MovieClip;
public var barra_azucar__:MovieClip;
public var barra_leche__:MovieClip;
public var bol_sepira__:MovieClip;
public var chocolate__:MovieClip;
public var horno_calienta__:MovieClip;
public var horno_bol__:MovieClip;
public var huevos_ani__:MovieClip;
public var batidora_ani__:MovieClip;
public var mezcla_ani__:MovieClip;
public var harina_ani__:MovieClip;
public var ingredientes__:MovieClip;
public var click__:MovieClip;
public var huevos__:MovieClip;
public var barra_aceite__:MovieClip;
public var batidora__:MovieClip;
public var barra_huevos__:MovieClip;
public var leche__:MovieClip;
public var azucar_ani__:MovieClip;
public var harina__:MovieClip;
public var horno_tapa__:MovieClip;
public var mezcla_fin__:MovieClip;
public var potencia__:MovieClip;
public var barra_harina__:MovieClip;
public var bol__:MovieClip;
public var barra_chocolate__:MovieClip;
public var chocolate_ani__:MovieClip;
public function Fondopastelanimado__618(){
addFrameScript(0, frame1, 24, frame25, 25, frame26, 26, frame27);
}
function frame1(){
stop();
}
function frame26(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame25(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame27(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 192
//girarcalor_497 (LoveChef_fla.girarcalor_497)
package LoveChef_fla {
import flash.display.*;
public dynamic class girarcalor_497 extends MovieClip {
public function girarcalor_497(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 193
//hornoencendido__662 (LoveChef_fla.hornoencendido__662)
package LoveChef_fla {
import flash.display.*;
public dynamic class hornoencendido__662 extends MovieClip {
public function hornoencendido__662(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 194
//humofinal_693 (LoveChef_fla.humofinal_693)
package LoveChef_fla {
import flash.display.*;
public dynamic class humofinal_693 extends MovieClip {
public function humofinal_693(){
addFrameScript(0, frame1, 1, frame2, 374, frame375);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame375(){
gotoAndPlay("humo");
}
}
}//package LoveChef_fla
Section 195
//imagenes_tuto_264 (LoveChef_fla.imagenes_tuto_264)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
import rutch.stage.*;
public dynamic class imagenes_tuto_264 extends MovieClip {
public var txt_7__:TextField;
public var txt_3__:TextField;
public var txt_2__:TextField;
public var txt_6__:TextField;
public var txt_9__:TextField;
public var txt_5__:TextField;
public var txt_1__:TextField;
public var txt_10__:TextField;
public var txt_4__:TextField;
public var txt_8__:TextField;
public function imagenes_tuto_264(){
addFrameScript(2, frame3, 149, frame150, 150, frame151, 287, frame288, 288, frame289, 430, frame431, 431, frame432, 574, frame575, 575, frame576, 678, frame679, 804, frame805, 919, frame920, 1047, frame1048, 1048, frame1049, 1165, frame1166, 1166, frame1167, 1290, frame1291, 1491, frame1492, 1492, frame1493, 1647, frame1648, 1746, frame1747, 1747, frame1748, 1953, frame1954, 1954, frame1955, 2110, frame2111);
}
function frame151(){
txt_2__.text = Languages.TUTO_2[Languages.lang];
}
function frame431(){
stop();
}
function frame432(){
txt_4__.text = Languages.TUTO_4[Languages.lang];
}
function frame679(){
stop();
}
function frame1748(){
txt_9__.text = Languages.TUTO_9[Languages.lang];
}
function frame288(){
stop();
}
function frame289(){
txt_3__.text = Languages.TUTO_3[Languages.lang];
}
function frame1747(){
stop();
}
function frame1648(){
stop();
}
function frame3(){
txt_1__.text = Languages.TUTO_1[Languages.lang];
}
function frame576(){
txt_5__.text = Languages.TUTO_5[Languages.lang];
}
function frame1493(){
txt_8__.text = Languages.TUTO_8[Languages.lang];
}
function frame1492(){
stop();
}
function frame575(){
stop();
}
function frame805(){
stop();
}
function frame920(){
stop();
}
function frame2111(){
stop();
}
function frame1954(){
stop();
}
function frame1166(){
stop();
}
function frame1167(){
txt_7__.text = Languages.TUTO_7[Languages.lang];
}
function frame1048(){
stop();
}
function frame1049(){
txt_6__.text = Languages.TUTO_6[Languages.lang];
}
function frame1955(){
txt_10__.text = Languages.TUTO_10[Languages.lang];
}
function frame1291(){
stop();
}
function frame150(){
stop();
}
}
}//package LoveChef_fla
Section 196
//Ingredientes_410 (LoveChef_fla.Ingredientes_410)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Ingredientes_410 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 197
//Ingredientes_411 (LoveChef_fla.Ingredientes_411)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Ingredientes_411 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 198
//Ingredientes_412 (LoveChef_fla.Ingredientes_412)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Ingredientes_412 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 199
//Ingredientes_413 (LoveChef_fla.Ingredientes_413)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Ingredientes_413 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 200
//ingredientesbol__620 (LoveChef_fla.ingredientesbol__620)
package LoveChef_fla {
import flash.display.*;
public dynamic class ingredientesbol__620 extends MovieClip {
public function ingredientesbol__620(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 201
//IngredientesTodos_409 (LoveChef_fla.IngredientesTodos_409)
package LoveChef_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import rutch.stage.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class IngredientesTodos_409 extends MovieClip {
public var libreta__:MovieClip;
public function IngredientesTodos_409(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
libreta__.txt__.text = Languages.INGREDIENTES_3[Languages.lang];
stop();
}
function frame1(){
libreta__.txt__.text = Languages.INGREDIENTES_1[Languages.lang];
stop();
}
function frame4(){
libreta__.txt__.text = Languages.INGREDIENTES_4[Languages.lang];
stop();
}
function frame2(){
libreta__.txt__.text = Languages.INGREDIENTES_2[Languages.lang];
stop();
}
}
}//package LoveChef_fla
Section 202
//logojuego_235 (LoveChef_fla.logojuego_235)
package LoveChef_fla {
import flash.display.*;
public dynamic class logojuego_235 extends MovieClip {
public var nena__:MovieClip;
}
}//package LoveChef_fla
Section 203
//logos_400 (LoveChef_fla.logos_400)
package LoveChef_fla {
import flash.display.*;
public dynamic class logos_400 extends MovieClip {
public function logos_400(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 204
//macedoniabuena_686 (LoveChef_fla.macedoniabuena_686)
package LoveChef_fla {
import flash.display.*;
public dynamic class macedoniabuena_686 extends MovieClip {
public function macedoniabuena_686(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
stop();
}
function frame1(){
stop();
stop();
}
function frame2(){
stop();
stop();
}
}
}//package LoveChef_fla
Section 205
//MacedoniasTODOSFINALES_603 (LoveChef_fla.MacedoniasTODOSFINALES_603)
package LoveChef_fla {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import rutch.stage.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import flash.errors.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class MacedoniasTODOSFINALES_603 extends MovieClip {
public var puntos__:MovieClip;
public function MacedoniasTODOSFINALES_603(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_3_C[Languages.lang];
stop();
}
function frame1(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_3_A[Languages.lang];
stop();
}
function frame2(){
puntos__.puntos__.txt__.text = Languages.FIN_PLATO_3_B[Languages.lang];
stop();
}
}
}//package LoveChef_fla
Section 206
//Mantelesgrandes_287 (LoveChef_fla.Mantelesgrandes_287)
package LoveChef_fla {
import flash.display.*;
public dynamic class Mantelesgrandes_287 extends MovieClip {
public function Mantelesgrandes_287(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 207
//nivelessonido_243 (LoveChef_fla.nivelessonido_243)
package LoveChef_fla {
import flash.display.*;
public dynamic class nivelessonido_243 extends MovieClip {
public var det_8__:MovieClip;
public var det_10__:MovieClip;
public var det_7__:MovieClip;
public var det_3__:MovieClip;
public var det_2__:MovieClip;
public var det_6__:MovieClip;
public var det_5__:MovieClip;
public var det_1__:MovieClip;
public var det_9__:MovieClip;
public var det_4__:MovieClip;
public function nivelessonido_243(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
function frame6(){
stop();
}
function frame3(){
stop();
}
function frame4(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame5(){
stop();
}
function frame7(){
stop();
}
function frame11(){
stop();
}
}
}//package LoveChef_fla
Section 208
//olla_473 (LoveChef_fla.olla_473)
package LoveChef_fla {
import flash.display.*;
public dynamic class olla_473 extends MovieClip {
public var agua__:MovieClip;
}
}//package LoveChef_fla
Section 209
//pasteldexokolate_692 (LoveChef_fla.pasteldexokolate_692)
package LoveChef_fla {
import flash.display.*;
public dynamic class pasteldexokolate_692 extends MovieClip {
public function pasteldexokolate_692(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 210
//piel1_15 (LoveChef_fla.piel1_15)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel1_15 extends MovieClip {
public function piel1_15(){
addFrameScript(0, frame1, 15, frame16);
}
function frame16(){
MovieClip(parent).gotoAndStop(3);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 211
//piel1_54 (LoveChef_fla.piel1_54)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel1_54 extends MovieClip {
public function piel1_54(){
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
MovieClip(parent).gotoAndStop(3);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 212
//piel1_70 (LoveChef_fla.piel1_70)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel1_70 extends MovieClip {
public function piel1_70(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 213
//Piel1_78 (LoveChef_fla.Piel1_78)
package LoveChef_fla {
import flash.display.*;
public dynamic class Piel1_78 extends MovieClip {
public function Piel1_78(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 214
//piel1_90 (LoveChef_fla.piel1_90)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel1_90 extends MovieClip {
public function piel1_90(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
stop();
}
function frame9(){
MovieClip(parent).gotoAndStop(3);
}
}
}//package LoveChef_fla
Section 215
//piel2_16 (LoveChef_fla.piel2_16)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel2_16 extends MovieClip {
public function piel2_16(){
addFrameScript(0, frame1, 17, frame18);
}
function frame18(){
MovieClip(parent).gotoAndStop(4);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 216
//piel2_55 (LoveChef_fla.piel2_55)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel2_55 extends MovieClip {
public function piel2_55(){
addFrameScript(0, frame1, 20, frame21);
}
function frame1(){
stop();
}
function frame21(){
MovieClip(parent).gotoAndStop(4);
}
}
}//package LoveChef_fla
Section 217
//piel2_71 (LoveChef_fla.piel2_71)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel2_71 extends MovieClip {
public function piel2_71(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(3);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 218
//piel2_79 (LoveChef_fla.piel2_79)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel2_79 extends MovieClip {
public function piel2_79(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(3);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 219
//piel2_91 (LoveChef_fla.piel2_91)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel2_91 extends MovieClip {
public function piel2_91(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
stop();
}
function frame9(){
MovieClip(parent).gotoAndStop(4);
}
}
}//package LoveChef_fla
Section 220
//piel3_17 (LoveChef_fla.piel3_17)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel3_17 extends MovieClip {
public function piel3_17(){
addFrameScript(0, frame1, 17, frame18);
}
function frame18(){
MovieClip(parent).gotoAndStop(5);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 221
//piel3_56 (LoveChef_fla.piel3_56)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel3_56 extends MovieClip {
public function piel3_56(){
addFrameScript(0, frame1, 11, frame12);
}
function frame12(){
MovieClip(parent).gotoAndStop(5);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 222
//piel3_72 (LoveChef_fla.piel3_72)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel3_72 extends MovieClip {
public function piel3_72(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(4);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 223
//piel3_80 (LoveChef_fla.piel3_80)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel3_80 extends MovieClip {
public function piel3_80(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(4);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 224
//piel3_92 (LoveChef_fla.piel3_92)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel3_92 extends MovieClip {
public function piel3_92(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
stop();
}
function frame9(){
MovieClip(parent).gotoAndStop(5);
}
}
}//package LoveChef_fla
Section 225
//piel4_18 (LoveChef_fla.piel4_18)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel4_18 extends MovieClip {
public function piel4_18(){
addFrameScript(0, frame1, 15, frame16);
}
function frame16(){
MovieClip(parent).gotoAndStop(6);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 226
//piel4_73 (LoveChef_fla.piel4_73)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel4_73 extends MovieClip {
public function piel4_73(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(5);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 227
//piel4_81 (LoveChef_fla.piel4_81)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel4_81 extends MovieClip {
public function piel4_81(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(5);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 228
//piel5_19 (LoveChef_fla.piel5_19)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel5_19 extends MovieClip {
public function piel5_19(){
addFrameScript(0, frame1, 15, frame16);
}
function frame16(){
MovieClip(parent).gotoAndStop(7);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 229
//piel5_74 (LoveChef_fla.piel5_74)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel5_74 extends MovieClip {
public function piel5_74(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
MovieClip(parent).gotoAndStop(6);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 230
//piel5_82 (LoveChef_fla.piel5_82)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel5_82 extends MovieClip {
public function piel5_82(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
MovieClip(parent).gotoAndStop(6);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 231
//piel6_20 (LoveChef_fla.piel6_20)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel6_20 extends MovieClip {
public function piel6_20(){
addFrameScript(0, frame1, 13, frame14);
}
function frame14(){
MovieClip(parent).gotoAndStop(8);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 232
//piel6_83 (LoveChef_fla.piel6_83)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel6_83 extends MovieClip {
public function piel6_83(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
stop();
}
function frame9(){
MovieClip(parent).gotoAndStop(7);
}
}
}//package LoveChef_fla
Section 233
//piel7_21 (LoveChef_fla.piel7_21)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel7_21 extends MovieClip {
public function piel7_21(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndStop(9);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 234
//piel7_84 (LoveChef_fla.piel7_84)
package LoveChef_fla {
import flash.display.*;
public dynamic class piel7_84 extends MovieClip {
public function piel7_84(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
MovieClip(parent).gotoAndStop(8);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 235
//pimientosrepartidos_433 (LoveChef_fla.pimientosrepartidos_433)
package LoveChef_fla {
import flash.display.*;
public dynamic class pimientosrepartidos_433 extends MovieClip {
public function pimientosrepartidos_433(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 236
//platos_290 (LoveChef_fla.platos_290)
package LoveChef_fla {
import flash.display.*;
public dynamic class platos_290 extends MovieClip {
public function platos_290(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 237
//PRELOAD_1 (LoveChef_fla.PRELOAD_1)
package LoveChef_fla {
import flash.display.*;
public dynamic class PRELOAD_1 extends MovieClip {
public var percent__:MovieClip;
}
}//package LoveChef_fla
Section 238
//PUNTUACIOOOOON_541 (LoveChef_fla.PUNTUACIOOOOON_541)
package LoveChef_fla {
import flash.display.*;
import flash.text.*;
public dynamic class PUNTUACIOOOOON_541 extends MovieClip {
public var txt__:TextField;
}
}//package LoveChef_fla
Section 239
//relleno_9 (LoveChef_fla.relleno_9)
package LoveChef_fla {
import flash.display.*;
public dynamic class relleno_9 extends MovieClip {
public function relleno_9(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 240
//sakahuesoLOLLLL_85 (LoveChef_fla.sakahuesoLOLLLL_85)
package LoveChef_fla {
import flash.display.*;
public dynamic class sakahuesoLOLLLL_85 extends MovieClip {
public function sakahuesoLOLLLL_85(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).gotoAndPlay(9);
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 241
//seleccionencenderfuego_496 (LoveChef_fla.seleccionencenderfuego_496)
package LoveChef_fla {
import flash.display.*;
public dynamic class seleccionencenderfuego_496 extends MovieClip {
public var potencia__:MovieClip;
}
}//package LoveChef_fla
Section 242
//selectlanguage_254 (LoveChef_fla.selectlanguage_254)
package LoveChef_fla {
import flash.display.*;
public dynamic class selectlanguage_254 extends MovieClip {
public var pt__:SimpleButton;
public var pl__:SimpleButton;
public var es__:SimpleButton;
public var de__:SimpleButton;
public var en__:SimpleButton;
public var it__:SimpleButton;
public var fr__:SimpleButton;
public function selectlanguage_254(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 243
//selloanimado_713 (LoveChef_fla.selloanimado_713)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class selloanimado_713 extends MovieClip {
public function selloanimado_713(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
SC_EndingPuntos(parent).selloPlayed();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 244
//servilleta_291 (LoveChef_fla.servilleta_291)
package LoveChef_fla {
import flash.display.*;
public dynamic class servilleta_291 extends MovieClip {
public function servilleta_291(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 245
//SONIDO_245 (LoveChef_fla.SONIDO_245)
package LoveChef_fla {
import flash.display.*;
public dynamic class SONIDO_245 extends MovieClip {
public function SONIDO_245(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 246
//SONIDOBTN_401 (LoveChef_fla.SONIDOBTN_401)
package LoveChef_fla {
import flash.display.*;
public dynamic class SONIDOBTN_401 extends MovieClip {
public function SONIDOBTN_401(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 247
//spaguetis_684 (LoveChef_fla.spaguetis_684)
package LoveChef_fla {
import flash.display.*;
public dynamic class spaguetis_684 extends MovieClip {
public function spaguetis_684(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 248
//tazas_294 (LoveChef_fla.tazas_294)
package LoveChef_fla {
import flash.display.*;
public dynamic class tazas_294 extends MovieClip {
public function tazas_294(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 249
//tenedores_289 (LoveChef_fla.tenedores_289)
package LoveChef_fla {
import flash.display.*;
public dynamic class tenedores_289 extends MovieClip {
public function tenedores_289(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 250
//tomatecayendo_434 (LoveChef_fla.tomatecayendo_434)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class tomatecayendo_434 extends MovieClip {
public function tomatecayendo_434(){
addFrameScript(0, frame1, 15, frame16);
}
function frame16(){
SG_Cocinar.unwaitForObject();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 251
//tomatesarten_436 (LoveChef_fla.tomatesarten_436)
package LoveChef_fla {
import flash.display.*;
import rutch.stage.screens.*;
public dynamic class tomatesarten_436 extends MovieClip {
public function tomatesarten_436(){
addFrameScript(0, frame1, 114, frame115);
}
function frame1(){
stop();
}
function frame115(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package LoveChef_fla
Section 252
//vasos_292 (LoveChef_fla.vasos_292)
package LoveChef_fla {
import flash.display.*;
public dynamic class vasos_292 extends MovieClip {
public function vasos_292(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package LoveChef_fla
Section 253
//zanahoriasueltasarten_430 (LoveChef_fla.zanahoriasueltasarten_430)
package LoveChef_fla {
import flash.display.*;
public dynamic class zanahoriasueltasarten_430 extends MovieClip {
public function zanahoriasueltasarten_430(){
addFrameScript(0, frame1, 154, frame155);
}
function frame155(){
stop();
}
function frame1(){
stop();
}
}
}//package LoveChef_fla
Section 254
//Corte (rutch.cuts.Corte)
package rutch.cuts {
import flash.events.*;
import flash.display.*;
import rutch.objects.*;
public class Corte extends MovieClip {
private const lineColor:Number = 8522706;
public var itemRef:CortarAndPelar;
private var lienzo:Sprite;
public var nota:String;
public function Corte(){
lienzo = new Sprite();
super();
this.addEventListener(MouseEvent.MOUSE_DOWN, this.beginCut);
this.addEventListener(MouseEvent.MOUSE_UP, this.finishCut);
this.addEventListener(MouseEvent.ROLL_OUT, this.finishCut);
}
private function paintCut(_arg1:MouseEvent=null):void{
this.lienzo.graphics.lineTo(mouseX, mouseY);
this.checkCut();
}
private function checkCut():void{
if (MovieClip(this).cutDetector_A.hitTestPoint(mouseX, mouseY, true)){
if (((((!((this.nota == "B"))) && (!((this.nota == "C"))))) && (!((this.nota == "D"))))){
this.nota = "A";
};
} else {
if (MovieClip(this).cutDetector_B.hitTestPoint(mouseX, mouseY, true)){
if (((!((this.nota == "C"))) && (!((this.nota == "D"))))){
this.nota = "B";
};
} else {
if (MovieClip(this).cutDetector_C.hitTestPoint(mouseX, mouseY, true)){
if (this.nota != "D"){
this.nota = "C";
};
} else {
if (MovieClip(this).cutDetector_D.hitTestPoint(mouseX, mouseY, true)){
this.nota = "D";
};
};
};
};
}
public function showNextFrameStep():void{
this.visible = true;
this.gotoAndStop((this.currentFrame + 1));
}
private function applyCut():void{
this.finishStep();
}
private function checkCutDiagonal():Boolean{
var _local1:Number;
var _local2:Number;
_local1 = Math.sqrt((Math.pow(MovieClip(this).cutDetector_A.height, 2) + Math.pow(MovieClip(this).cutDetector_A.width, 2)));
_local2 = Math.sqrt((Math.pow(this.lienzo.height, 2) + Math.pow(this.lienzo.width, 2)));
if (_local2 >= ((_local1 * 60) / 100)){
return (true);
};
return (false);
}
public function setItem(_arg1:CortarAndPelar):void{
this.itemRef = _arg1;
}
public function finishCut(_arg1:MouseEvent=null):void{
if (this.hasEventListener(MouseEvent.MOUSE_MOVE)){
this.removeEventListener(MouseEvent.MOUSE_MOVE, this.paintCut);
};
if (((((!((this.lienzo.width == 0))) && (!((this.lienzo.height == 0))))) && (this.checkCutDiagonal()))){
this.applyCut();
};
this.lienzo.graphics.clear();
}
public function beginCut(_arg1:MouseEvent=null):void{
this.lienzo.graphics.lineStyle(5, this.lineColor, 1);
this.lienzo.graphics.moveTo(mouseX, mouseY);
this.addChild(this.lienzo);
this.addEventListener(MouseEvent.MOUSE_MOVE, this.paintCut);
}
public function finishStep():void{
}
}
}//package rutch.cuts
Section 255
//Cu_1_cebolla_cortar (rutch.cuts.Cu_1_cebolla_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_1_cebolla_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_1_cebolla_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame11(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndPlay(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(9);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(4);
this.itemRef.gotoAndStop(10);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(5);
this.itemRef.gotoAndStop(11);
break;
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(6);
this.itemRef.gotoAndStop(12);
break;
case 6:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(7);
this.itemRef.gotoAndStop(13);
break;
case 7:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(8);
this.itemRef.gotoAndStop(14);
break;
case 8:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(9);
this.itemRef.gotoAndStop(15);
break;
case 9:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(10);
this.itemRef.gotoAndStop(16);
break;
case 10:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(11);
this.itemRef.gotoAndStop(17);
break;
case 11:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.itemRef.gotoAndStop(18);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 256
//Cu_1_cebolla_pelar (rutch.cuts.Cu_1_cebolla_pelar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_1_cebolla_pelar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_1_cebolla_pelar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 6:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 7:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 8:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 9:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 257
//Cu_1_pimiento_cortar (rutch.cuts.Cu_1_pimiento_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_1_pimiento_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_1_pimiento_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(4);
this.itemRef.gotoAndStop(4);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(5);
this.itemRef.gotoAndStop(5);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 258
//Cu_1_tomate_cortar (rutch.cuts.Cu_1_tomate_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_1_tomate_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_1_tomate_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame11(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(4);
this.itemRef.gotoAndStop(4);
break;
case 4:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(5);
this.itemRef.gotoAndStop(5);
break;
case 5:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(6);
this.itemRef.gotoAndStop(6);
break;
case 6:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(7);
this.itemRef.gotoAndStop(7);
break;
case 7:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(8);
this.itemRef.gotoAndStop(8);
break;
case 8:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(9);
this.itemRef.gotoAndStop(9);
break;
case 9:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(10);
this.itemRef.gotoAndStop(10);
break;
case 10:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(11);
this.itemRef.gotoAndStop(11);
break;
case 11:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.itemRef.gotoAndStop(12);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 259
//Cu_1_tomate_pelar (rutch.cuts.Cu_1_tomate_pelar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_1_tomate_pelar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_1_tomate_pelar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 6:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 7:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 8:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 260
//Cu_1_zanahoria_cortar (rutch.cuts.Cu_1_zanahoria_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_1_zanahoria_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_1_zanahoria_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(4);
this.itemRef.gotoAndStop(4);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(5);
this.itemRef.gotoAndStop(5);
break;
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(6);
this.itemRef.gotoAndStop(6);
break;
case 6:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(7);
this.itemRef.gotoAndStop(7);
break;
case 7:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(8);
this.itemRef.gotoAndStop(8);
break;
case 8:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(9);
this.itemRef.gotoAndStop(9);
break;
case 9:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(10);
this.itemRef.gotoAndStop(10);
break;
case 10:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(11);
this.itemRef.gotoAndStop(11);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 261
//Cu_1_zanahoria_pelar (rutch.cuts.Cu_1_zanahoria_pelar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_1_zanahoria_pelar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_1_zanahoria_pelar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 3:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 4:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 262
//Cu_2_lechuga_cortar (rutch.cuts.Cu_2_lechuga_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_2_lechuga_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_2_lechuga_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(4);
this.itemRef.gotoAndStop(4);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(5);
this.itemRef.gotoAndStop(5);
break;
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.itemRef.gotoAndStop(6);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 263
//Cu_2_tomate_cortar (rutch.cuts.Cu_2_tomate_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_2_tomate_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_2_tomate_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.itemRef.gotoAndStop(4);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 264
//Cu_3_fresa_cortar (rutch.cuts.Cu_3_fresa_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_3_fresa_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_3_fresa_cortar(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.itemRef.gotoAndStop(3);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 265
//Cu_3_kiwi_cortar (rutch.cuts.Cu_3_kiwi_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_3_kiwi_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_3_kiwi_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndPlay(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(4);
this.itemRef.gotoAndStop(4);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(5);
this.itemRef.gotoAndStop(5);
break;
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(6);
this.itemRef.gotoAndStop(6);
break;
case 6:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(7);
this.itemRef.gotoAndStop(7);
break;
case 7:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.itemRef.gotoAndStop(8);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 266
//Cu_3_kiwi_pelar (rutch.cuts.Cu_3_kiwi_pelar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_3_kiwi_pelar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_3_kiwi_pelar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
case 2:
case 3:
case 4:
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 267
//Cu_3_manzana_cortar (rutch.cuts.Cu_3_manzana_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_3_manzana_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_3_manzana_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndPlay(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(4);
this.itemRef.gotoAndStop(4);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(5);
this.itemRef.gotoAndStop(5);
break;
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(6);
this.itemRef.gotoAndStop(6);
break;
case 6:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(7);
this.itemRef.gotoAndStop(7);
break;
case 7:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.itemRef.gotoAndStop(8);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 268
//Cu_3_manzana_pelar (rutch.cuts.Cu_3_manzana_pelar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_3_manzana_pelar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_3_manzana_pelar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
case 8:
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 269
//Cu_3_platano_cortar (rutch.cuts.Cu_3_platano_cortar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_3_platano_cortar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_3_platano_cortar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndPlay(2);
break;
case 2:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(3);
this.itemRef.gotoAndStop(3);
break;
case 3:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(4);
this.itemRef.gotoAndStop(4);
break;
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(5);
this.itemRef.gotoAndStop(5);
break;
case 5:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(6);
this.itemRef.gotoAndStop(6);
break;
case 6:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.gotoAndStop(7);
this.itemRef.gotoAndStop(7);
break;
case 7:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.itemRef.gotoAndStop(8);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 270
//Cu_3_platano_pelar (rutch.cuts.Cu_3_platano_pelar)
package rutch.cuts {
import flash.display.*;
import rutch.stage.screens.*;
public class Cu_3_platano_pelar extends Corte {
public var cutDetector_C:MovieClip;
public var cutDetector_B:MovieClip;
public var cutLine:MovieClip;
public var cutDetector_D:MovieClip;
public var cutDetector_A:MovieClip;
public function Cu_3_platano_pelar(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
override public function finishStep():void{
if (this.nota != "D"){
this.itemRef.setNewNota(this.nota);
SG_Cocinar.notas[SG_Cocinar.notas.length] = this.nota;
SG_Cocinar.showNota(this.nota);
switch (this.itemRef.getCurrentStep()){
case 1:
SG_Cocinar.horizontalCut.y = MovieClip(this).cutDetector_A.y;
SG_Cocinar.horizontalCut.gotoAndPlay(2);
this.gotoAndStop(2);
this.itemRef.gotoAndStop(2);
break;
case 2:
case 3:
case 4:
SG_Cocinar.verticalCut.x = MovieClip(this).cutDetector_A.x;
SG_Cocinar.verticalCut.gotoAndPlay(2);
this.visible = false;
MovieClip(this.itemRef).piel.gotoAndPlay(2);
break;
};
this.itemRef.setCurrentStep((this.itemRef.getCurrentStep() + 1));
};
this.nota = "-";
}
}
}//package rutch.cuts
Section 271
//CocinarSteps (rutch.game.CocinarSteps)
package rutch.game {
public class CocinarSteps {
public static const steps:Array = new Array(new Array("fondo=corte&item=E_Tomate&action=entrar", "fondo=corte&item=P_Tomate&action=pelar", "fondo=corte&item=C_Tomate&action=cortar", "fondo=corte&item=S_Tomate&action=salir", "fondo=corte&item=E_Cebolla&action=entrar", "fondo=corte&item=P_Cebolla&action=pelar", "fondo=corte&item=C_Cebolla&action=cortar", "fondo=corte&item=S_Cebolla&action=salir", "fondo=corte&item=E_Zanahoria&action=entrar", "fondo=corte&item=P_Zanahoria&action=pelar", "fondo=corte&item=C_Zanahoria&action=cortar", "fondo=corte&item=S_Zanahoria&action=salir", "fondo=corte&item=E_Pimiento&action=entrar", "fondo=corte&item=C_Pimiento&action=cortar", "fondo=corte&item=S_Pimiento&action=salir", "fondo=sarten&item=SC_CuadradosGiran&action=cambioFondo", "fondo=sarten&item=none&action=initSarten", "fondo=sarten&item=aceite&action=sartenStep", "fondo=sarten&item=aceite&action=verterAceite", "fondo=sarten&item=showIngredientes&action=sartenStep", "fondo=sarten&item=tomateDentro&action=sartenStep", "fondo=sarten&item=remover&action=sartenStep", "fondo=sarten&item=remover&action=sartenStep", "fondo=sarten&item=remover&action=sartenStep", "fondo=olla&item=SC_CuadradosGiran&action=cambioFondo", "fondo=olla&item=none&action=initOlla", "fondo=olla&item=potencia&action=ollaStep", "fondo=olla&item=agua&action=ollaStep", "fondo=olla&item=igualaAgua&action=ollaStep", "fondo=olla&item=aguaHierve&action=ollaStep", "fondo=olla&item=sal&action=ollaStep", "fondo=olla&item=espaguetis&action=ollaStep", "fondo=olla&item=espatula&action=ollaStep", "fondo=olla&item=remover&action=ollaStep", "fondo=olla&item=remover&action=ollaStep", "fondo=olla&item=remover&action=ollaStep", "fondo=endLevel_1&item=endLevel&action=endLevel"), new Array("fondo=corte2&item=E_Tomate&action=entrar", "fondo=corte2&item=C_Tomate_2&action=cortar", "fondo=corte2&item=S_Tomate_2&action=salir", "fondo=corte2&item=E_Lechuga&action=entrar", "fondo=corte2&item=C_Lechuga&action=cortar", "fondo=corte2&item=S_Lechuga&action=salir", "fondo=sarten_2&item=SC_CuadradosGiran&action=cambioFondo", "fondo=sarten_2&item=none&action=initSarten2", "fondo=sarten_2&item=aceite&action=sarten2Step", "fondo=sarten_2&item=aceite&action=verterAceite", "fondo=sarten_2&item=carne&action=sarten2Step", "fondo=sarten_2&item=salpimentar&action=sarten2Step", "fondo=sarten_2&item=pinzas&action=sarten2Step", "fondo=sarten_2&item=llevatelo&action=sarten2Step", "fondo=endLevel_2&item=endLevel&action=endLevel"), new Array("fondo=corte3&item=E_Fresa&action=entrar", "fondo=corte3&item=C_Fresa&action=cortar", "fondo=corte3&item=S_Fresa&action=salir", "fondo=corte3&item=E_Kiwi&action=entrar", "fondo=corte3&item=P_Kiwi&action=pelar", "fondo=corte3&item=C_Kiwi&action=cortar", "fondo=corte3&item=S_Kiwi&action=salir", "fondo=corte3&item=E_Manzana&action=entrar", "fondo=corte3&item=P_Manzana&action=pelar", "fondo=corte3&item=C_Manzana&action=cortar", "fondo=corte3&item=S_Manzana&action=salir", "fondo=corte3&item=E_Platano&action=entrar", "fondo=corte3&item=P_Platano&action=pelar", "fondo=corte3&item=C_Platano&action=cortar", "fondo=corte3&item=S_Platano&action=salir", "fondo=endLevel_3&item=endLevel&action=endLevel"), new Array("fondo=pastel&item=none&action=initPastel", "fondo=holdCurrent&item=harina&action=pastelStep", "fondo=holdCurrent&item=harinaHechar&action=pastelStep", "fondo=holdCurrent&item=harinaHechada&action=pastelStep", "fondo=holdCurrent&item=huevos&action=pastelStep", "fondo=holdCurrent&item=huevosHechar&action=pastelStep", "fondo=holdCurrent&item=huevosHechados&action=pastelStep", "fondo=holdCurrent&item=leche&action=pastelStep", "fondo=holdCurrent&item=lecheHechar&action=pastelStep", "fondo=holdCurrent&item=lecheHechada&action=pastelStep", "fondo=holdCurrent&item=azucar&action=pastelStep", "fondo=holdCurrent&item=azucarHechar&action=pastelStep", "fondo=holdCurrent&item=azucarHechado&action=pastelStep", "fondo=holdCurrent&item=chocolate&action=pastelStep", "fondo=holdCurrent&item=chocolateHechar&action=pastelStep", "fondo=holdCurrent&item=chocolateHechado&action=pastelStep", "fondo=holdCurrent&item=batidora&action=pastelStep", "fondo=holdCurrent&item=remover&action=pastelStep", "fondo=holdCurrent&item=removerAgain&action=pastelStep", "fondo=holdCurrent&item=removerAgain&action=pastelStep", "fondo=holdCurrent&item=removerFin&action=pastelStep", "fondo=holdCurrent&item=bolSePira&action=pastelStep", "fondo=holdCurrent&item=superGiro3D&action=pastelStep", "fondo=holdCurrent&item=bolEnHorno&action=pastelStep", "fondo=holdCurrent&item=nextFrame&action=pastelStep", "fondo=holdCurrent&item=tapaHorno&action=pastelStep", "fondo=holdCurrent&item=nextFrame&action=pastelStep", "fondo=holdCurrent&item=potencia&action=pastelStep", "fondo=holdCurrent&item=horno&action=calentarHorno", "fondo=endLevel_4&item=endLevel&action=endLevel"));
}
}//package rutch.game
Section 272
//GameStats (rutch.game.GameStats)
package rutch.game {
public class GameStats {
public static var cocinaNotas:Array = new Array();
public static var decoSets:Array = new Array(new Array("centro", 1), new Array("tazas", 1), new Array("copas", 1), new Array("vasos", 1), new Array("servilletas", 1), new Array("platos", 1), new Array("cubiertos", 1), new Array("deco", 1), new Array("manteles", 1));
}
}//package rutch.game
Section 273
//C_Cebolla (rutch.objects.C_Cebolla)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Cebolla extends CortarAndPelar {
public var aki:MovieClip;
public function C_Cebolla(){
addFrameScript(0, frame1, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18);
super(11, "Cu_1_cebolla_cortar");
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame12(){
stop();
}
function frame15(){
stop();
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame11(){
stop();
}
}
}//package rutch.objects
Section 274
//C_Fresa (rutch.objects.C_Fresa)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Fresa extends CortarAndPelar {
public var aki:MovieClip;
public function C_Fresa(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
super(12, "Cu_3_fresa_cortar");
}
function frame3(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 275
//C_Kiwi (rutch.objects.C_Kiwi)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Kiwi extends CortarAndPelar {
public var aki:MovieClip;
public function C_Kiwi(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
super(10, "Cu_3_kiwi_cortar");
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 276
//C_Lechuga (rutch.objects.C_Lechuga)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Lechuga extends CortarAndPelar {
public var aki:MovieClip;
public function C_Lechuga(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
super(12, "Cu_2_lechuga_cortar");
}
function frame3(){
stop();
}
function frame6(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 277
//C_Manzana (rutch.objects.C_Manzana)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Manzana extends CortarAndPelar {
public var aki:MovieClip;
public function C_Manzana(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
super(10, "Cu_3_manzana_cortar");
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 278
//C_Pimiento (rutch.objects.C_Pimiento)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Pimiento extends CortarAndPelar {
public var aki:MovieClip;
public function C_Pimiento(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
super(4, "Cu_1_pimiento_cortar");
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 279
//C_Platano (rutch.objects.C_Platano)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Platano extends CortarAndPelar {
public var aki:MovieClip;
public function C_Platano(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
super(10, "Cu_3_platano_cortar");
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 280
//C_Tomate (rutch.objects.C_Tomate)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Tomate extends CortarAndPelar {
public var aki:MovieClip;
public function C_Tomate(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
super(12, "Cu_1_tomate_cortar");
}
function frame10(){
stop();
}
function frame12(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package rutch.objects
Section 281
//C_Tomate_2 (rutch.objects.C_Tomate_2)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Tomate_2 extends CortarAndPelar {
public var aki:MovieClip;
public function C_Tomate_2(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
super(12, "Cu_2_tomate_cortar");
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 282
//C_Zanahoria (rutch.objects.C_Zanahoria)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class C_Zanahoria extends CortarAndPelar {
public var aki:MovieClip;
public function C_Zanahoria(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11);
super(0, "Cu_1_zanahoria_cortar");
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
function frame11(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 283
//CortarAndPelar (rutch.objects.CortarAndPelar)
package rutch.objects {
import flash.display.*;
import rutch.cuts.*;
import flash.utils.*;
public class CortarAndPelar extends MovieClip {
private const cutPath:String = "rutch.cuts.";
private var totalSteps:Number;
private var notas:Array;
private var corte:String;
private var corteObject:Corte;
private var currentStep:Number;// = 1
public function CortarAndPelar(_arg1:Number, _arg2:String){
currentStep = 1;
notas = new Array();
super();
this.totalSteps = _arg1;
this.corte = _arg2;
this.prepareCuts();
}
public function setNewNota(_arg1:String):void{
this.notas[this.notas.length] = _arg1;
}
public function setCurrentStep(_arg1:Number):void{
this.currentStep = _arg1;
}
private function prepareCuts():void{
this.corteObject = new ((getDefinitionByName(String((this.cutPath + this.corte))) as Class));
this.corteObject.setItem(this);
MovieClip(this).aki.addChild(this.corteObject);
}
public function getCorteObject():Corte{
return (this.corteObject);
}
public function getCurrentStep():Number{
return (this.currentStep);
}
}
}//package rutch.objects
Section 284
//E_Cebolla (rutch.objects.E_Cebolla)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Cebolla extends MovieClip {
public function E_Cebolla(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 285
//E_Fresa (rutch.objects.E_Fresa)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Fresa extends MovieClip {
public function E_Fresa(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 286
//E_Kiwi (rutch.objects.E_Kiwi)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Kiwi extends MovieClip {
public function E_Kiwi(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 287
//E_Lechuga (rutch.objects.E_Lechuga)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Lechuga extends MovieClip {
public function E_Lechuga(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 288
//E_Manzana (rutch.objects.E_Manzana)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Manzana extends MovieClip {
public function E_Manzana(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 289
//E_Pimiento (rutch.objects.E_Pimiento)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Pimiento extends MovieClip {
public function E_Pimiento(){
addFrameScript(14, frame15);
}
function frame15(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 290
//E_Platano (rutch.objects.E_Platano)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Platano extends MovieClip {
public function E_Platano(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 291
//E_Tomate (rutch.objects.E_Tomate)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Tomate extends MovieClip {
public function E_Tomate(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 292
//E_Zanahoria (rutch.objects.E_Zanahoria)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class E_Zanahoria extends MovieClip {
public function E_Zanahoria(){
addFrameScript(14, frame15);
}
function frame15(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 293
//P_Cebolla (rutch.objects.P_Cebolla)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class P_Cebolla extends CortarAndPelar {
public var aki:MovieClip;
public var piel:MovieClip;
public function P_Cebolla(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
super(10, "Cu_1_cebolla_pelar");
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame3(){
stop();
}
function frame6(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame7(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame1(){
stop();
}
function frame4(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame5(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame9(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame8(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 294
//P_Kiwi (rutch.objects.P_Kiwi)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class P_Kiwi extends CortarAndPelar {
public var aki:MovieClip;
public var piel:MovieClip;
public function P_Kiwi(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
super(10, "Cu_3_kiwi_pelar");
}
function frame3(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame6(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame1(){
stop();
}
function frame4(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame5(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame2(){
this.getCorteObject().showNextFrameStep();
stop();
}
}
}//package rutch.objects
Section 295
//P_Manzana (rutch.objects.P_Manzana)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class P_Manzana extends CortarAndPelar {
public var aki:MovieClip;
public var piel:MovieClip;
public function P_Manzana(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 18, frame19);
super(10, "Cu_3_manzana_pelar");
}
function frame3(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame6(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame7(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame1(){
stop();
}
function frame19(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame4(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame5(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame8(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame2(){
this.getCorteObject().showNextFrameStep();
stop();
}
}
}//package rutch.objects
Section 296
//P_Platano (rutch.objects.P_Platano)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class P_Platano extends CortarAndPelar {
public var aki:MovieClip;
public var piel:MovieClip;
public function P_Platano(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
super(10, "Cu_3_platano_pelar");
}
function frame3(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame1(){
stop();
}
function frame4(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame5(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 297
//P_Tomate (rutch.objects.P_Tomate)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class P_Tomate extends CortarAndPelar {
public var aki:MovieClip;
public var piel:MovieClip;
public function P_Tomate(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
super(9, "Cu_1_tomate_pelar");
}
function frame3(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame6(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame7(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame1(){
stop();
}
function frame4(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame5(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame9(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame8(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 298
//P_Zanahoria (rutch.objects.P_Zanahoria)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class P_Zanahoria extends CortarAndPelar {
public var aki:MovieClip;
public var piel:MovieClip;
public function P_Zanahoria(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
super(1, "Cu_1_zanahoria_pelar");
}
function frame3(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame1(){
stop();
}
function frame4(){
this.getCorteObject().showNextFrameStep();
stop();
}
function frame5(){
SG_Cocinar.unwaitForObject();
stop();
}
function frame2(){
stop();
}
}
}//package rutch.objects
Section 299
//Puntuacion_A (rutch.objects.Puntuacion_A)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class Puntuacion_A extends MovieClip {
public function Puntuacion_A(){
addFrameScript(10, frame11);
}
function frame11(){
SG_Cocinar.removeNotaMc();
stop();
}
}
}//package rutch.objects
Section 300
//Puntuacion_B (rutch.objects.Puntuacion_B)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class Puntuacion_B extends MovieClip {
public function Puntuacion_B(){
addFrameScript(10, frame11);
}
function frame11(){
SG_Cocinar.removeNotaMc();
stop();
}
}
}//package rutch.objects
Section 301
//Puntuacion_C (rutch.objects.Puntuacion_C)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class Puntuacion_C extends MovieClip {
public function Puntuacion_C(){
addFrameScript(10, frame11);
}
function frame11(){
SG_Cocinar.removeNotaMc();
stop();
}
}
}//package rutch.objects
Section 302
//S_Cebolla (rutch.objects.S_Cebolla)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Cebolla extends MovieClip {
public function S_Cebolla(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 303
//S_Fresa (rutch.objects.S_Fresa)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Fresa extends MovieClip {
public function S_Fresa(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 304
//S_Kiwi (rutch.objects.S_Kiwi)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Kiwi extends MovieClip {
public function S_Kiwi(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 305
//S_Lechuga (rutch.objects.S_Lechuga)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Lechuga extends MovieClip {
public function S_Lechuga(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 306
//S_Manzana (rutch.objects.S_Manzana)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Manzana extends MovieClip {
public function S_Manzana(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 307
//S_Pimiento (rutch.objects.S_Pimiento)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Pimiento extends MovieClip {
public function S_Pimiento(){
addFrameScript(14, frame15);
}
function frame15(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 308
//S_Platano (rutch.objects.S_Platano)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Platano extends MovieClip {
public function S_Platano(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 309
//S_Tomate (rutch.objects.S_Tomate)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Tomate extends MovieClip {
public function S_Tomate(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 310
//S_Tomate_2 (rutch.objects.S_Tomate_2)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Tomate_2 extends MovieClip {
public function S_Tomate_2(){
addFrameScript(9, frame10);
}
function frame10(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 311
//S_Zanahoria (rutch.objects.S_Zanahoria)
package rutch.objects {
import flash.display.*;
import rutch.stage.screens.*;
public class S_Zanahoria extends MovieClip {
public function S_Zanahoria(){
addFrameScript(14, frame15);
}
function frame15(){
SG_Cocinar.unwaitForObject();
stop();
}
}
}//package rutch.objects
Section 312
//SC_CuadradosGiran (rutch.stage.screens.SC_CuadradosGiran)
package rutch.stage.screens {
import flash.display.*;
public class SC_CuadradosGiran extends MovieClip {
public function SC_CuadradosGiran(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package rutch.stage.screens
Section 313
//SC_Ending (rutch.stage.screens.SC_Ending)
package rutch.stage.screens {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import rutch.stage.*;
import rutch.game.*;
public class SC_Ending extends MovieClip {
private const TIMER_DELAY:Number = 8000;
public var vasos__:MovieClip;
public var manteles__:MovieClip;
public var copas__:MovieClip;
public var macedonia__:MovieClip;
public var servilletas__:MovieClip;
public var cubiertos__:MovieClip;
public var alan__:MovieClip;
public var platos__:MovieClip;
private var tim:Timer;
public var centro__:MovieClip;
public var deco__:MovieClip;
public var humo__:MovieClip;
public var espaguetis__:MovieClip;
public var alyssa__:MovieClip;
public var tazas__:MovieClip;
public var pastel__:MovieClip;
public var bistec__:MovieClip;
public static var puntuacion:String;
public function SC_Ending(){
this.init();
}
public function init():void{
var _local1:Number;
var _local2:Number;
MovieClip(this).centro__.gotoAndStop(GameStats.decoSets[0][1]);
MovieClip(this).tazas__.gotoAndStop(GameStats.decoSets[1][1]);
MovieClip(this).copas__.gotoAndStop(GameStats.decoSets[2][1]);
MovieClip(this).vasos__.gotoAndStop(GameStats.decoSets[3][1]);
MovieClip(this).servilletas__.gotoAndStop(GameStats.decoSets[4][1]);
MovieClip(this).platos__.gotoAndStop(GameStats.decoSets[5][1]);
MovieClip(this).cubiertos__.gotoAndStop(GameStats.decoSets[6][1]);
MovieClip(this).deco__.gotoAndStop(GameStats.decoSets[7][1]);
MovieClip(this).manteles__.gotoAndStop(GameStats.decoSets[8][1]);
_local1 = ((((Number(GameStats.cocinaNotas[0]) + Number(GameStats.cocinaNotas[1])) + Number(GameStats.cocinaNotas[2])) + Number(GameStats.cocinaNotas[3])) / 4);
SC_Ending.puntuacion = String(Number((((GameStats.cocinaNotas[0] + GameStats.cocinaNotas[1]) + GameStats.cocinaNotas[2]) + GameStats.cocinaNotas[3])));
trace(((((((((GameStats.cocinaNotas[0] + " + ") + GameStats.cocinaNotas[1]) + " + ") + GameStats.cocinaNotas[2]) + " + ") + GameStats.cocinaNotas[3]) + " = ") + SC_Ending.puntuacion));
SC_Ending.puntuacion = Number(_local1).toFixed(1);
if (_local1 <= 4.4){
_local2 = 3;
} else {
if ((((_local1 > 4.4)) && ((_local1 <= 7)))){
_local2 = 2;
} else {
_local2 = 1;
};
};
MovieClip(this).humo__.gotoAndStop(_local2);
MovieClip(this).alyssa__.gotoAndStop(_local2);
MovieClip(this).alan__.gotoAndStop(_local2);
MovieClip(this).bistec__.gotoAndStop(_local2);
MovieClip(this).macedonia__.gotoAndStop(_local2);
MovieClip(this).macedonia__.stop();
MovieClip(this).pastel__.gotoAndStop(_local2);
MovieClip(this).espaguetis__.gotoAndStop(_local2);
this.tim = new Timer(this.TIMER_DELAY, 1);
this.tim.addEventListener(TimerEvent.TIMER, this.showFinal);
this.tim.start();
}
private function showFinal(_arg1:TimerEvent=null):void{
TheStage.stageMc.gotoAndPlay(65);
this.tim.stop();
}
}
}//package rutch.stage.screens
Section 314
//SC_EndingPuntos (rutch.stage.screens.SC_EndingPuntos)
package rutch.stage.screens {
import flash.events.*;
import flash.display.*;
import rutch.stage.*;
public class SC_EndingPuntos extends MovieClip {
public var inicio__:MovieClip;
public var puntos__:MovieClip;
public var sello__:MovieClip;
public function SC_EndingPuntos(){
this.init();
}
private function init():void{
trace(SC_Ending.puntuacion);
MovieClip(this).puntos__.txt__.text = SC_Ending.puntuacion;
if (Number(SC_Ending.puntuacion) <= 4.4){
MovieClip(this).puntos__.txt__.textColor = 14825014;
} else {
if ((((Number(SC_Ending.puntuacion) > 4.4)) && ((Number(SC_Ending.puntuacion) <= 7)))){
MovieClip(this).puntos__.txt__.textColor = 15638315;
} else {
MovieClip(this).puntos__.txt__.textColor = 1284818;
};
};
MovieClip(this).puntos__.visible = false;
MovieClip(this).sello__.gotoAndPlay(2);
MovieClip(this).inicio__.addEventListener(MouseEvent.CLICK, this.replay);
}
public function selloPlayed():void{
MovieClip(this).puntos__.visible = true;
}
private function replay(_arg1:MouseEvent=null):void{
TheStage.stageMc.gotoAndPlay(5);
}
}
}//package rutch.stage.screens
Section 315
//SC_Intro (rutch.stage.screens.SC_Intro)
package rutch.stage.screens {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import rutch.stage.*;
public class SC_Intro extends MovieClip {
public var next__:SimpleButton;
public var txt_2__:TextField;
public var txt_1__:TextField;
public function SC_Intro(){
addFrameScript(5, frame6, 420, frame421, 888, frame889);
this.init();
}
private function init():void{
MovieClip(this).next__.addEventListener(MouseEvent.CLICK, this.btnNext);
}
function frame6(){
txt_1__.text = Languages.INTRO_1[Languages.lang];
}
private function btnNext(_arg1:MouseEvent=null):void{
if (MovieClip(this).currentLabel == "intro_1"){
MovieClip(this).gotoAndPlay("intro_2");
} else {
this.escape();
};
}
public function escape():void{
TheStage.stageMc.gotoAndPlay(35);
}
function frame889(){
this.escape();
}
function frame421(){
txt_2__.text = Languages.INTRO_2[Languages.lang];
}
}
}//package rutch.stage.screens
Section 316
//SC_Menu (rutch.stage.screens.SC_Menu)
package rutch.stage.screens {
import flash.events.*;
import flash.display.*;
import com.google.analytics.*;
import rutch.stage.*;
public class SC_Menu extends MovieClip {
public var sound_btn__:MovieClip;
var tracker:AnalyticsTracker;
public var idioma__:MovieClip;
public var menu__:MovieClip;
public var sound_sel__:MovieClip;
public var logo__:MovieClip;
public function SC_Menu(){
tracker = new GATracker(this, "UA-6695967-1", "AS3", false);
MovieClip(this).menu__.visible = false;
this.initIdioma();
this.initSound();
}
private function soundVolume(_arg1:MouseEvent=null):void{
var _local2:Number;
_local2 = Number(_arg1.target.name.substring(4, (_arg1.target.name.length - 2)));
TheStage.applyVolume((_local2 / 10));
MovieClip(this).sound_sel__.gotoAndStop(((TheStage.volume * 10) + 1));
MovieClip(this).sound_btn__.gotoAndStop(1);
MovieClip(this).logo__.nena__.play();
}
private function btnEn(_arg1:MouseEvent=null):void{
Languages.lang = 5;
this.changeMenuAndIdioma();
this.initMenu();
}
private function changeMenuAndIdioma():void{
if (MovieClip(this).menu__.visible){
MovieClip(this).menu__.visible = false;
MovieClip(this).idioma__.visible = true;
} else {
MovieClip(this).menu__.visible = true;
MovieClip(this).idioma__.visible = false;
};
}
private function btnEs(_arg1:MouseEvent=null):void{
Languages.lang = 0;
this.changeMenuAndIdioma();
this.initMenu();
}
private function initIdioma():void{
MovieClip(this).idioma__.es__.addEventListener(MouseEvent.CLICK, this.btnEs);
MovieClip(this).idioma__.fr__.addEventListener(MouseEvent.CLICK, this.btnFr);
MovieClip(this).idioma__.it__.addEventListener(MouseEvent.CLICK, this.btnIt);
MovieClip(this).idioma__.pt__.addEventListener(MouseEvent.CLICK, this.btnPt);
MovieClip(this).idioma__.de__.addEventListener(MouseEvent.CLICK, this.btnDe);
MovieClip(this).idioma__.en__.addEventListener(MouseEvent.CLICK, this.btnEn);
MovieClip(this).idioma__.pl__.addEventListener(MouseEvent.CLICK, this.btnPl);
}
private function btnFr(_arg1:MouseEvent=null):void{
Languages.lang = 1;
this.changeMenuAndIdioma();
this.initMenu();
}
private function btnMas(_arg1:MouseEvent=null):void{
tracker.trackEvent("love chef", "mainscreen more games click", "per click", 0);
TheStage.gotoWeb();
}
private function btnLang(_arg1:MouseEvent=null):void{
this.changeMenuAndIdioma();
this.initIdioma();
}
private function btnPt(_arg1:MouseEvent=null):void{
Languages.lang = 3;
this.changeMenuAndIdioma();
this.initMenu();
}
private function btnPl(_arg1:MouseEvent=null):void{
Languages.lang = 6;
this.changeMenuAndIdioma();
this.initMenu();
}
private function initMenu():void{
MovieClip(this).menu__.txt_lang__.text = Languages.CAMBIAR_IDIOMA[Languages.lang];
MovieClip(this).menu__.txt_lang__.mouseEnabled = false;
MovieClip(this).menu__.txt_mas__.text = Languages.MAS_JUEGOS[Languages.lang];
MovieClip(this).menu__.txt_mas__.mouseEnabled = false;
MovieClip(this).menu__.txt_play__.text = Languages.JUGAR[Languages.lang];
MovieClip(this).menu__.txt_play__.mouseEnabled = false;
MovieClip(this).menu__.btn_lang__.addEventListener(MouseEvent.CLICK, this.btnLang);
MovieClip(this).menu__.btn_mas__.addEventListener(MouseEvent.CLICK, this.btnMas);
MovieClip(this).menu__.btn_play__.addEventListener(MouseEvent.CLICK, this.btnJugar);
}
private function btnJugar(_arg1:MouseEvent=null):void{
TheStage.stageMc.gotoAndPlay(15);
}
private function btnIt(_arg1:MouseEvent=null):void{
Languages.lang = 2;
this.changeMenuAndIdioma();
this.initMenu();
}
private function soundBtn(_arg1:MouseEvent=null):void{
if (TheStage.volume > 0){
TheStage.applyVolume(0);
MovieClip(this).logo__.nena__.stop();
MovieClip(this).sound_btn__.gotoAndStop(2);
} else {
TheStage.applyVolume(1);
MovieClip(this).logo__.nena__.play();
MovieClip(this).sound_btn__.gotoAndStop(1);
};
MovieClip(this).sound_sel__.gotoAndStop(((TheStage.volume * 10) + 1));
}
private function initSound():void{
if (TheStage.volume == 0){
MovieClip(this).logo__.nena__.stop();
MovieClip(this).sound_btn__.gotoAndStop(2);
} else {
MovieClip(this).logo__.nena__.play();
MovieClip(this).sound_sel__.gotoAndStop(((TheStage.volume * 10) + 1));
};
MovieClip(this).sound_btn__.addEventListener(MouseEvent.CLICK, this.soundBtn);
MovieClip(this).sound_btn__.buttonMode = true;
MovieClip(this).sound_sel__.det_1__.buttonMode = true;
MovieClip(this).sound_sel__.det_2__.buttonMode = true;
MovieClip(this).sound_sel__.det_3__.buttonMode = true;
MovieClip(this).sound_sel__.det_4__.buttonMode = true;
MovieClip(this).sound_sel__.det_5__.buttonMode = true;
MovieClip(this).sound_sel__.det_6__.buttonMode = true;
MovieClip(this).sound_sel__.det_7__.buttonMode = true;
MovieClip(this).sound_sel__.det_8__.buttonMode = true;
MovieClip(this).sound_sel__.det_9__.buttonMode = true;
MovieClip(this).sound_sel__.det_10__.buttonMode = true;
MovieClip(this).sound_sel__.det_1__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_2__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_3__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_4__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_5__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_6__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_7__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_8__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_9__.addEventListener(MouseEvent.CLICK, this.soundVolume);
MovieClip(this).sound_sel__.det_10__.addEventListener(MouseEvent.CLICK, this.soundVolume);
}
private function btnDe(_arg1:MouseEvent=null):void{
Languages.lang = 4;
this.changeMenuAndIdioma();
this.initMenu();
}
}
}//package rutch.stage.screens
Section 317
//SC_Tutorial (rutch.stage.screens.SC_Tutorial)
package rutch.stage.screens {
import flash.events.*;
import flash.display.*;
import rutch.stage.*;
public class SC_Tutorial extends MovieClip {
public var btn_next__:MovieClip;
public var btn_prev__:MovieClip;
public var tuto__:MovieClip;
public var btn_skip__:SimpleButton;
public function SC_Tutorial(){
this.init();
}
private function init():void{
MovieClip(this).btn_next__.addEventListener(MouseEvent.CLICK, this.btnNext);
MovieClip(this).btn_prev__.addEventListener(MouseEvent.CLICK, this.btnPrev);
MovieClip(this).btn_skip__.addEventListener(MouseEvent.CLICK, this.btnSkip);
}
private function btnNext(_arg1:MouseEvent=null):void{
switch (MovieClip(this).tuto__.currentLabel){
case "pant_1":
MovieClip(this).tuto__.gotoAndPlay("pant_2");
break;
case "pant_2":
MovieClip(this).tuto__.gotoAndPlay("pant_3");
break;
case "pant_3":
MovieClip(this).tuto__.gotoAndPlay("pant_4");
break;
case "pant_4":
MovieClip(this).tuto__.gotoAndPlay("pant_5");
break;
case "pant_5":
MovieClip(this).tuto__.gotoAndPlay("pant_6");
break;
case "pant_6":
MovieClip(this).tuto__.gotoAndPlay("pant_7");
break;
case "pant_7":
MovieClip(this).tuto__.gotoAndPlay("pant_8");
break;
case "pant_8":
MovieClip(this).tuto__.gotoAndPlay("pant_9");
break;
case "pant_9":
MovieClip(this).tuto__.gotoAndPlay("pant_10");
break;
case "pant_10":
MovieClip(this).tuto__.gotoAndPlay("pant_11");
break;
case "pant_11":
MovieClip(this).tuto__.gotoAndPlay("pant_12");
break;
case "pant_12":
MovieClip(this).tuto__.gotoAndPlay("pant_13");
break;
case "pant_13":
MovieClip(this).tuto__.gotoAndPlay("pant_14");
break;
case "pant_14":
MovieClip(this).tuto__.gotoAndPlay("pant_15");
break;
case "pant_15":
MovieClip(this).tuto__.gotoAndPlay("pant_16");
break;
case "pant_16":
this.btnSkip();
break;
};
}
private function btnSkip(_arg1:MouseEvent=null):void{
TheStage.stageMc.gotoAndPlay(25);
}
private function btnPrev(_arg1:MouseEvent=null):void{
switch (MovieClip(this).tuto__.currentLabel){
case "pant_1":
break;
case "pant_2":
MovieClip(this).tuto__.gotoAndPlay("pant_1");
break;
case "pant_3":
MovieClip(this).tuto__.gotoAndPlay("pant_2");
break;
case "pant_4":
MovieClip(this).tuto__.gotoAndPlay("pant_3");
break;
case "pant_5":
MovieClip(this).tuto__.gotoAndPlay("pant_4");
break;
case "pant_6":
MovieClip(this).tuto__.gotoAndPlay("pant_5");
break;
case "pant_7":
MovieClip(this).tuto__.gotoAndPlay("pant_6");
break;
case "pant_8":
MovieClip(this).tuto__.gotoAndPlay("pant_7");
break;
case "pant_9":
MovieClip(this).tuto__.gotoAndPlay("pant_8");
break;
case "pant_10":
MovieClip(this).tuto__.gotoAndPlay("pant_9");
break;
case "pant_11":
MovieClip(this).tuto__.gotoAndPlay("pant_10");
break;
case "pant_12":
MovieClip(this).tuto__.gotoAndPlay("pant_11");
break;
case "pant_13":
MovieClip(this).tuto__.gotoAndPlay("pant_12");
break;
case "pant_14":
MovieClip(this).tuto__.gotoAndPlay("pant_13");
break;
case "pant_15":
MovieClip(this).tuto__.gotoAndPlay("pant_14");
break;
case "pant_16":
MovieClip(this).tuto__.gotoAndPlay("pant_15");
break;
};
}
}
}//package rutch.stage.screens
Section 318
//SG_Cocinar (rutch.stage.screens.SG_Cocinar)
package rutch.stage.screens {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import rutch.stage.*;
import rutch.game.*;
import flash.filters.*;
public class SG_Cocinar extends MovieClip {
private const objectsPath:String = "rutch.objects";
private var fondo:String;// = "corte"
public var end__:MovieClip;
public var libreta__:MovieClip;
public var cuchillo_vertical__:MovieClip;
public var cuadrados__:SC_CuadradosGiran;
private var objectsInScene:Array;
private var step:Number;// = 0
private var TRANSITION_CUADRADOS:SC_CuadradosGiran;
public var cuchillo_horizontal__:MovieClip;
public var sarten__:MovieClip;
public var olla__:MovieClip;
public var aki:MovieClip;
private var level:Number;// = 0
public var pastel__:MovieClip;
public static var notaMc:MovieClip;
public static var notas:Array = new Array();
public static var verticalCut:MovieClip;
public static var specificStep:String = "none";
public static var libreta:MovieClip;
public static var aki_mc:MovieClip;
public static var waitingForObject:Boolean = false;
public static var horizontalCut:MovieClip;
public function SG_Cocinar(){
fondo = "corte";
level = 0;
step = 0;
objectsInScene = new Array();
super();
addFrameScript(3, frame4, 8, frame9, 13, frame14, 14, frame15, 18, frame19, 23, frame24, 28, frame29, 29, frame30, 33, frame34, 38, frame39, 39, frame40, 43, frame44, 48, frame49, 49, frame50, 54, frame55);
SG_Cocinar.notas = new Array();
SG_Cocinar.notaMc = new MovieClip();
SG_Cocinar.waitingForObject = false;
SG_Cocinar.specificStep = "none";
MovieClip(this).cuadrados__.visible = false;
SG_Cocinar.horizontalCut = MovieClip(this).cuchillo_horizontal__;
SG_Cocinar.verticalCut = MovieClip(this).cuchillo_vertical__;
SG_Cocinar.aki_mc = MovieClip(this).aki;
SG_Cocinar.libreta = MovieClip(this).libreta__;
SG_Cocinar.libreta.addEventListener(MouseEvent.ROLL_OVER, this.libretaDentro);
SG_Cocinar.libreta.addEventListener(MouseEvent.ROLL_OUT, this.libretaFuera);
this.addEventListener(Event.ENTER_FRAME, this.stepper);
this.addEventListener(Event.REMOVED_FROM_STAGE, this.onRemove);
}
private function btnOllaEspatula(_arg1:MouseEvent=null):void{
MovieClip(this).olla__.espatula__.visible = true;
MovieClip(this).olla__.stick_4__.visible = true;
MovieClip(this).olla__.btn_4__.removeEventListener(MouseEvent.CLICK, this.btnOllaEspatula);
SG_Cocinar.unwaitForObject();
}
private function cambiaFondo(_arg1:TimerEvent=null):void{
this.showFondo();
}
private function btnPastelChocolate(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.chocolate__.filters = [];
MovieClip(this).pastel__.chocolate__.removeEventListener(MouseEvent.CLICK, this.btnPastelChocolate);
MovieClip(this).pastel__.chocolate__.buttonMode = false;
MovieClip(this).pastel__.chocolate__.visible = false;
MovieClip(this).pastel__.chocolate_ani__.visible = true;
MovieClip(this).pastel__.chocolate_ani__.gotoAndPlay(2);
}
private function stopOllaSal(_arg1:MouseEvent=null):void{
MovieClip(this).olla__.barra_sal__.barra_sal__.stop();
MovieClip(this).olla__.salero__.gotoAndStop(1);
MovieClip(this).olla__.stick_2__.visible = true;
MovieClip(this).olla__.btn_2__.removeEventListener(MouseEvent.CLICK, this.stopOllaSal);
MovieClip(this).olla__.barra_sal__.removeEventListener(MouseEvent.CLICK, this.stopOllaSal);
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).olla__.barra_sal__.barra_sal__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).olla__.barra_sal__.barra_sal__.currentLabel);
SG_Cocinar.unwaitForObject();
}
private function btnSartenZanahoria(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.ani_zanahoria__.gotoAndPlay(2);
MovieClip(this).sarten__.menu__.btn_3__.alpha = 0.5;
MovieClip(this).sarten__.click_zanahoria__.visible = false;
MovieClip(this).sarten__.menu__.btn_3__.removeEventListener(MouseEvent.CLICK, this.btnSartenZanahoria);
}
private function btnSartenPimientos(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.ani_pimientos__.gotoAndPlay(2);
MovieClip(this).sarten__.menu__.btn_4__.alpha = 0.5;
MovieClip(this).sarten__.click_pimientos__.visible = false;
MovieClip(this).sarten__.menu__.btn_4__.removeEventListener(MouseEvent.CLICK, this.btnSartenPimientos);
}
private function playStep():void{
var _local1:String;
var _local2:Array;
var _local3:String;
var _local4:String;
var _local5:String;
if (SG_Cocinar.specificStep == "none"){
_local1 = CocinarSteps.steps[this.level][this.step];
} else {
_local1 = SG_Cocinar.specificStep;
};
_local2 = _local1.split(/&\*?/);
_local3 = _local2[0].substring(new String("fondo=").length, _local2[0].length);
_local4 = _local2[1].substring(new String("item=").length, _local2[1].length);
_local5 = _local2[2].substring(new String("action=").length, _local2[2].length);
if (((!((_local5 == "cambioFondo"))) && (!((_local3 == "holdCurrent"))))){
this.showFondo(_local3);
};
this.removeItems();
switch (_local5){
case "entrar":
this.entraItem(_local4);
break;
case "pelar":
this.entraItem(_local4);
break;
case "cortar":
this.entraItem(_local4);
break;
case "salir":
this.entraItem(_local4);
break;
case "cambioFondo":
this.cuadradosTransition(_local3);
break;
case "initSarten":
this.initSarten();
break;
case "sartenStep":
this.sartenSteps(_local4);
break;
case "verterAceite":
this.initAceiteVertido();
break;
case "initOlla":
this.initOlla();
break;
case "ollaStep":
this.ollaSteps(_local4);
break;
case "initSarten2":
this.initSarten2();
break;
case "sarten2Step":
this.sarten2Steps(_local4);
break;
case "initPastel":
this.initPastel();
break;
case "pastelStep":
this.pastelSteps(_local4);
break;
case "calentarHorno":
this.initCalentarHorno();
break;
};
SG_Cocinar.waitingForObject = true;
if (SG_Cocinar.specificStep == "none"){
this.step++;
};
if (_local5 == "endLevel"){
trace("PLATO TERMINADO!!!");
this.step = 0;
this.level++;
};
if ((((((((((((_local5 == "initSarten")) || ((_local5 == "initOlla")))) || ((_local5 == "initSarten2")))) || ((_local5 == "initPastel")))) || ((((_local5 == "ollaStep")) && ((_local4 == "aguaHierve")))))) || ((((_local5 == "pastelStep")) && ((((((((((((_local4 == "harinaHechada")) || ((_local4 == "huevosHechados")))) || ((_local4 == "lecheHechada")))) || ((_local4 == "azucarHechado")))) || ((_local4 == "chocolateHechado")))) || ((_local4 == "nextFrame")))))))){
SG_Cocinar.unwaitForObject();
};
}
private function ollaSteps(_arg1:String):void{
switch (_arg1){
case "potencia":
MovieClip(this).olla__.potencia__.addEventListener(MouseEvent.CLICK, this.btnOllaPotencia);
MovieClip(this).olla__.potencia__.buttonMode = true;
break;
case "agua":
MovieClip(this).olla__.btn_1__.visible = true;
MovieClip(this).olla__.btn_1__.addEventListener(MouseEvent.CLICK, this.btnOllaAgua);
break;
case "igualaAgua":
if (MovieClip(this).olla__.olla__.agua__.currentFrame < 55){
MovieClip(this).olla__.vaso__.gotoAndPlay(2);
} else {
if (MovieClip(this).olla__.olla__.agua__.currentFrame > 105){
MovieClip(this).olla__.cucharon__.gotoAndPlay(2);
} else {
MovieClip(this).olla__.olla__.agua__.gotoAndPlay("medio");
};
};
break;
case "aguaMedio":
MovieClip(this).olla__.olla__.agua__.gotoAndPlay("medio");
break;
case "aguaHierve":
MovieClip(this).olla__.barra_agua__.visible = false;
MovieClip(this).olla__.vapor__.visible = true;
break;
case "sal":
MovieClip(this).olla__.btn_2__.visible = true;
MovieClip(this).olla__.btn_2__.addEventListener(MouseEvent.CLICK, this.btnOllaSal);
break;
case "espaguetis":
MovieClip(this).olla__.barra_sal__.visible = false;
MovieClip(this).olla__.btn_3__.visible = true;
MovieClip(this).olla__.btn_3__.addEventListener(MouseEvent.CLICK, this.btnOllaEspaguetis);
break;
case "espatula":
MovieClip(this).olla__.espaguetis__.visible = false;
MovieClip(this).olla__.espaguetis_dentro__.visible = true;
MovieClip(this).olla__.btn_4__.visible = true;
MovieClip(this).olla__.btn_4__.addEventListener(MouseEvent.CLICK, this.btnOllaEspatula);
break;
case "remover":
MovieClip(this).olla__.flechas__.x = 0;
this.prepareOllaRemover();
break;
};
}
private function cuadradosTransition(_arg1:String):void{
var _local2:Timer;
var _local3:Timer;
MovieClip(this).cuadrados__.visible = true;
this.fondo = _arg1;
_local2 = new Timer(1000, 1);
_local2.addEventListener(TimerEvent.TIMER, this.removeCuadradosTransition);
_local2.start();
_local3 = new Timer(500, 1);
_local3.addEventListener(TimerEvent.TIMER, this.cambiaFondo);
_local3.start();
}
function frame14(){
stop();
}
function frame15(){
this.endPlato();
}
function frame4(){
stop();
}
private function initSarten2():void{
MovieClip(this).sarten__.menu__.btn_1__.visible = false;
MovieClip(this).sarten__.menu__.btn_2__.visible = false;
MovieClip(this).sarten__.menu__.btn_3__.visible = false;
MovieClip(this).sarten__.menu__.btn_4__.visible = false;
MovieClip(this).sarten__.stick_1__.visible = false;
MovieClip(this).sarten__.stick_2__.visible = false;
MovieClip(this).sarten__.stick_3__.visible = false;
MovieClip(this).sarten__.stick_4__.visible = false;
MovieClip(this).sarten__.humillo__.visible = false;
MovieClip(this).sarten__.freir__.visible = false;
MovieClip(this).sarten__.barra_aceite__.visible = false;
MovieClip(this).sarten__.carne_ani__.visible = false;
MovieClip(this).sarten__.barra_salpim__.visible = false;
MovieClip(this).sarten__.barra_carne__.visible = false;
}
function frame19(){
stop();
}
private function pastelSteps(_arg1:String):void{
var _local2:GlowFilter;
_local2 = new GlowFilter();
switch (_arg1){
case "harina":
MovieClip(this).pastel__.harina__.addEventListener(MouseEvent.CLICK, this.btnPastelHarina);
MovieClip(this).pastel__.harina__.buttonMode = true;
_local2.color = 0xFFFF00;
_local2.alpha = 1;
_local2.blurX = 21;
_local2.blurY = 21;
_local2.quality = 3;
MovieClip(this).pastel__.harina__.filters = [_local2];
break;
case "harinaHechar":
MovieClip(this).pastel__.ingredientes__.visible = true;
MovieClip(this).pastel__.barra_harina__.visible = true;
MovieClip(this).pastel__.harina_ani__.addEventListener(MouseEvent.CLICK, this.stopPastelHarina);
MovieClip(this).pastel__.barra_harina__.addEventListener(MouseEvent.CLICK, this.stopPastelHarina);
MovieClip(this).pastel__.barra_harina__.buttonMode = true;
MovieClip(this).pastel__.harina_ani__.buttonMode = true;
MovieClip(this).pastel__.barra_harina__.barra_harina__.gotoAndPlay(2);
break;
case "harinaHechada":
MovieClip(this).pastel__.barra_harina__.visible = false;
MovieClip(this).pastel__.harina_ani__.visible = false;
break;
case "huevos":
MovieClip(this).pastel__.huevos__.addEventListener(MouseEvent.CLICK, this.btnPastelHuevos);
MovieClip(this).pastel__.huevos__.buttonMode = true;
_local2.color = 0xFFFF00;
_local2.alpha = 1;
_local2.blurX = 21;
_local2.blurY = 21;
_local2.quality = 3;
MovieClip(this).pastel__.huevos__.filters = [_local2];
break;
case "huevosHechar":
MovieClip(this).pastel__.ingredientes__.gotoAndStop(2);
MovieClip(this).pastel__.barra_huevos__.visible = true;
MovieClip(this).pastel__.huevos_ani__.addEventListener(MouseEvent.CLICK, this.stopPastelHuevos);
MovieClip(this).pastel__.barra_huevos__.addEventListener(MouseEvent.CLICK, this.stopPastelHuevos);
MovieClip(this).pastel__.barra_huevos__.buttonMode = true;
MovieClip(this).pastel__.huevos_ani__.buttonMode = true;
MovieClip(this).pastel__.barra_huevos__.barra_huevos__.gotoAndPlay(2);
break;
case "huevosHechados":
MovieClip(this).pastel__.barra_huevos__.visible = false;
MovieClip(this).pastel__.huevos_ani__.visible = false;
break;
case "leche":
MovieClip(this).pastel__.leche__.addEventListener(MouseEvent.CLICK, this.btnPastelLeche);
MovieClip(this).pastel__.leche__.buttonMode = true;
_local2.color = 0xFFFF00;
_local2.alpha = 1;
_local2.blurX = 21;
_local2.blurY = 21;
_local2.quality = 3;
MovieClip(this).pastel__.leche__.filters = [_local2];
break;
case "lecheHechar":
MovieClip(this).pastel__.ingredientes__.gotoAndStop(3);
MovieClip(this).pastel__.barra_leche__.visible = true;
MovieClip(this).pastel__.leche_ani__.addEventListener(MouseEvent.CLICK, this.stopPastelLeche);
MovieClip(this).pastel__.barra_leche__.addEventListener(MouseEvent.CLICK, this.stopPastelLeche);
MovieClip(this).pastel__.barra_leche__.buttonMode = true;
MovieClip(this).pastel__.leche_ani__.buttonMode = true;
MovieClip(this).pastel__.barra_leche__.barra_leche__.gotoAndPlay(2);
break;
case "lecheHechada":
MovieClip(this).pastel__.barra_leche__.visible = false;
MovieClip(this).pastel__.leche_ani__.visible = false;
break;
case "azucar":
MovieClip(this).pastel__.azucar__.addEventListener(MouseEvent.CLICK, this.btnPastelAzucar);
MovieClip(this).pastel__.azucar__.buttonMode = true;
_local2.color = 0xFFFF00;
_local2.alpha = 1;
_local2.blurX = 21;
_local2.blurY = 21;
_local2.quality = 3;
MovieClip(this).pastel__.azucar__.filters = [_local2];
break;
case "azucarHechar":
MovieClip(this).pastel__.ingredientes__.gotoAndStop(4);
MovieClip(this).pastel__.barra_azucar__.visible = true;
MovieClip(this).pastel__.azucar_ani__.addEventListener(MouseEvent.CLICK, this.stopPastelAzucar);
MovieClip(this).pastel__.barra_azucar__.addEventListener(MouseEvent.CLICK, this.stopPastelAzucar);
MovieClip(this).pastel__.barra_azucar__.buttonMode = true;
MovieClip(this).pastel__.azucar_ani__.buttonMode = true;
MovieClip(this).pastel__.barra_azucar__.barra_azucar__.gotoAndPlay(2);
break;
case "azucarHechado":
MovieClip(this).pastel__.barra_azucar__.visible = false;
MovieClip(this).pastel__.azucar_ani__.visible = false;
break;
case "chocolate":
MovieClip(this).pastel__.chocolate__.addEventListener(MouseEvent.CLICK, this.btnPastelChocolate);
MovieClip(this).pastel__.chocolate__.buttonMode = true;
_local2.color = 0xFFFF00;
_local2.alpha = 1;
_local2.blurX = 21;
_local2.blurY = 21;
_local2.quality = 3;
MovieClip(this).pastel__.chocolate__.filters = [_local2];
break;
case "chocolateHechar":
MovieClip(this).pastel__.ingredientes__.gotoAndStop(5);
MovieClip(this).pastel__.barra_chocolate__.visible = true;
MovieClip(this).pastel__.chocolate_ani__.addEventListener(MouseEvent.CLICK, this.stopPastelChocolate);
MovieClip(this).pastel__.barra_chocolate__.addEventListener(MouseEvent.CLICK, this.stopPastelChocolate);
MovieClip(this).pastel__.barra_chocolate__.buttonMode = true;
MovieClip(this).pastel__.chocolate_ani__.buttonMode = true;
MovieClip(this).pastel__.barra_chocolate__.barra_chocolate__.gotoAndPlay(2);
break;
case "chocolateHechado":
MovieClip(this).pastel__.barra_chocolate__.visible = false;
MovieClip(this).pastel__.chocolate_ani__.visible = false;
break;
case "batidora":
MovieClip(this).pastel__.batidora__.visible = true;
MovieClip(this).pastel__.batidora__.gotoAndPlay(2);
break;
case "remover":
MovieClip(this).pastel__.batidora__.visible = false;
MovieClip(this).pastel__.ingredientes__.visible = false;
MovieClip(this).pastel__.batidora_ani__.visible = true;
MovieClip(this).pastel__.mezcla_ani__.visible = true;
MovieClip(this).pastel__.batidora_ani__.gotoAndPlay(2);
MovieClip(this).pastel__.mezcla_ani__.gotoAndPlay(2);
break;
case "removerAgain":
MovieClip(this).pastel__.batidora_ani__.gotoAndPlay(2);
MovieClip(this).pastel__.mezcla_ani__.gotoAndPlay(2);
break;
case "removerFin":
MovieClip(this).pastel__.batidora_ani__.visible = false;
MovieClip(this).pastel__.mezcla_ani__.visible = false;
MovieClip(this).pastel__.mezcla_fin__.visible = true;
MovieClip(this).pastel__.mezcla_fin__.gotoAndPlay(2);
break;
case "bolSePira":
MovieClip(this).pastel__.mezcla_fin__.visible = false;
MovieClip(this).pastel__.bol_sepira__.visible = true;
MovieClip(this).pastel__.bol__.visible = false;
MovieClip(this).pastel__.bol_sepira__.gotoAndPlay(2);
break;
case "superGiro3D":
MovieClip(this).pastel__.gotoAndPlay("cambio");
break;
case "bolEnHorno":
MovieClip(this).pastel__.horno_bol__.gotoAndPlay(2);
break;
case "nextFrame":
MovieClip(this).pastel__.gotoAndStop((MovieClip(this).pastel__.currentFrame + 1));
break;
case "tapaHorno":
MovieClip(this).pastel__.horno_tapa__.gotoAndPlay(2);
break;
case "potencia":
MovieClip(this).pastel__.potencia__.addEventListener(MouseEvent.CLICK, this.btnPastelPotencia);
MovieClip(this).pastel__.potencia__.buttonMode = true;
break;
};
}
function frame24(){
stop();
}
private function btnOllaSal(_arg1:MouseEvent=null):void{
MovieClip(this).olla__.btn_2__.removeEventListener(MouseEvent.CLICK, this.btnOllaSal);
MovieClip(this).olla__.barra_sal__.visible = true;
MovieClip(this).olla__.salero__.gotoAndPlay(2);
MovieClip(this).olla__.barra_sal__.barra_sal__.gotoAndPlay(2);
MovieClip(this).olla__.btn_2__.addEventListener(MouseEvent.CLICK, this.stopOllaSal);
MovieClip(this).olla__.barra_sal__.addEventListener(MouseEvent.CLICK, this.stopOllaSal);
}
private function stopPastelLeche(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.barra_leche__.barra_leche__.stop();
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).pastel__.barra_leche__.barra_leche__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).pastel__.barra_leche__.barra_leche__.currentLabel);
MovieClip(this).pastel__.leche_ani__.removeEventListener(MouseEvent.CLICK, this.stopPastelLeche);
MovieClip(this).pastel__.barra_leche__.removeEventListener(MouseEvent.CLICK, this.stopPastelLeche);
MovieClip(this).pastel__.leche_ani__.play();
}
private function prepareOllaRemover():void{
MovieClip(this).olla__.espatula__.addEventListener(MouseEvent.MOUSE_DOWN, this.ollaRemoverPress);
}
private function btnSarten2Pinzas(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.menu__.btn_4__.removeEventListener(MouseEvent.CLICK, this.btnSarten2Pinzas);
MovieClip(this).sarten__.barra_carne__.visible = true;
MovieClip(this).sarten__.carne__.carne__.gotoAndPlay(2);
MovieClip(this).sarten__.barra_carne__.barra_carne__.gotoAndPlay(2);
MovieClip(this).sarten__.menu__.btn_4__.addEventListener(MouseEvent.CLICK, this.stopSarten2Pinzas);
MovieClip(this).sarten__.barra_carne__.addEventListener(MouseEvent.CLICK, this.stopSarten2Pinzas);
}
function frame29(){
stop();
}
function frame9(){
stop();
}
function frame30(){
this.endPlato();
}
private function entraItem(_arg1:String):void{
var _local2:Number;
_local2 = objectsInScene.length;
this.objectsInScene[_local2] = new ((getDefinitionByName(String(((this.objectsPath + ".") + _arg1))) as Class));
MovieClip(this).aki.addChild(this.objectsInScene[_local2]);
}
private function stopSarten2Pinzas(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.carne__.carne__.stop();
MovieClip(this).sarten__.barra_carne__.barra_carne__.stop();
MovieClip(this).sarten__.menu__.btn_4__.removeEventListener(MouseEvent.CLICK, this.stopSarten2Pinzas);
MovieClip(this).sarten__.barra_carne__.removeEventListener(MouseEvent.CLICK, this.stopSarten2Pinzas);
MovieClip(this).sarten__.stick_4__.visible = true;
MovieClip(this).sarten__.barra_carne__.visible = false;
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).sarten__.barra_carne__.barra_carne__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).sarten__.barra_carne__.barra_carne__.currentLabel);
SG_Cocinar.unwaitForObject();
}
private function stopOllaRemover(_arg1:MouseEvent=null):void{
if (MovieClip(this).olla__.espatula__.hasEventListener(MouseEvent.MOUSE_UP)){
MovieClip(this).olla__.espatula__.removeEventListener(MouseEvent.MOUSE_UP, this.stopOllaRemover);
} else {
MovieClip(this).olla__.espatula__.removeEventListener(MouseEvent.MOUSE_DOWN, this.ollaRemoverPress);
};
if (MovieClip(this).olla__.espatula__.hasEventListener(MouseEvent.MOUSE_MOVE)){
MovieClip(this).olla__.espatula__.removeEventListener(MouseEvent.MOUSE_MOVE, this.ollaRemoverMove);
};
}
function frame34(){
stop();
}
function frame40(){
this.endPlato();
}
function frame39(){
stop();
}
function frame44(){
stop();
}
private function prepareSartenRemover():void{
MovieClip(this).sarten__.tomate_sarten__.addEventListener(MouseEvent.MOUSE_DOWN, this.sartenRemoverPress);
MovieClip(this).sarten__.tomate_sarten__.addEventListener(MouseEvent.MOUSE_UP, this.stopSartenRemover);
}
private function btnPastelHarina(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.harina__.filters = [];
MovieClip(this).pastel__.harina__.removeEventListener(MouseEvent.CLICK, this.btnPastelHarina);
MovieClip(this).pastel__.harina__.buttonMode = false;
MovieClip(this).pastel__.harina__.visible = false;
MovieClip(this).pastel__.harina_ani__.visible = true;
MovieClip(this).pastel__.harina_ani__.gotoAndPlay(2);
}
private function libretaDentro(_arg1:MouseEvent=null):void{
SG_Cocinar.libreta.x = 52;
}
function frame49(){
stop();
}
function frame55(){
stop();
}
private function sartenRemoverPress(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.tomate_sarten__.addEventListener(MouseEvent.MOUSE_MOVE, this.sartenRemoverMove);
MovieClip(this).sarten__.tomate_sarten__.removeEventListener(MouseEvent.MOUSE_UP, this.stopSartenRemover);
}
function frame50(){
this.endPlato();
}
private function stepper(_arg1:Event=null):void{
if (!SG_Cocinar.waitingForObject){
this.playStep();
SG_Cocinar.libreta.gotoAndStop((this.level + 1));
};
}
private function btnSartenAceite(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.ani_aceite__.gotoAndPlay(2);
MovieClip(this).sarten__.menu__.btn_1__.removeEventListener(MouseEvent.CLICK, this.btnSartenAceite);
}
private function btnOllaAgua(_arg1:MouseEvent=null):void{
MovieClip(this).olla__.btn_1__.removeEventListener(MouseEvent.CLICK, this.btnOllaAgua);
MovieClip(this).olla__.olla__.agua__.visible = true;
MovieClip(this).olla__.barra_agua__.visible = true;
MovieClip(this).olla__.olla__.agua__.gotoAndPlay(2);
MovieClip(this).olla__.barra_agua__.barra_agua__.gotoAndPlay(2);
MovieClip(this).olla__.btn_1__.addEventListener(MouseEvent.CLICK, this.stopBarraAgua);
MovieClip(this).olla__.barra_agua__.addEventListener(MouseEvent.CLICK, this.stopBarraAgua);
}
private function initSarten():void{
MovieClip(this).sarten__.menu__.btn_1__.visible = false;
MovieClip(this).sarten__.menu__.btn_2__.visible = false;
MovieClip(this).sarten__.menu__.btn_3__.visible = false;
MovieClip(this).sarten__.menu__.btn_4__.visible = false;
MovieClip(this).sarten__.menu__.btn_5__.visible = false;
MovieClip(this).sarten__.stick_1__.visible = false;
MovieClip(this).sarten__.stick_2__.visible = false;
MovieClip(this).sarten__.stick_3__.visible = false;
MovieClip(this).sarten__.stick_4__.visible = false;
MovieClip(this).sarten__.stick_5__.visible = false;
MovieClip(this).sarten__.tomate__.visible = false;
MovieClip(this).sarten__.pimientos__.visible = false;
MovieClip(this).sarten__.zanahoria__.visible = false;
MovieClip(this).sarten__.cebolla__.visible = false;
MovieClip(this).sarten__.humillo__.visible = false;
MovieClip(this).sarten__.freir__.visible = false;
MovieClip(this).sarten__.tomate_sarten__.visible = false;
MovieClip(this).sarten__.click_cebolla__.visible = false;
MovieClip(this).sarten__.click_zanahoria__.visible = false;
MovieClip(this).sarten__.click_pimientos__.visible = false;
MovieClip(this).sarten__.click_tomate__.visible = false;
MovieClip(this).sarten__.barras_ingredientes__.visible = false;
}
private function btnOllaPotencia(_arg1:MouseEvent=null):void{
MovieClip(this).olla__.click__.visible = false;
MovieClip(this).olla__.potencia__.potencia__.gotoAndStop(2);
MovieClip(this).olla__.fuego__.visible = true;
MovieClip(this).olla__.potencia__.removeEventListener(MouseEvent.CLICK, this.btnOllaPotencia);
MovieClip(this).olla__.potencia__.buttonMode = false;
SG_Cocinar.unwaitForObject();
}
private function sartenSteps(_arg1:String):void{
var _local2:Number;
var _local3:String;
var _local4:Number;
var _local5:String;
switch (_arg1){
case "aceite":
MovieClip(this).sarten__.menu__.btn_1__.visible = true;
MovieClip(this).sarten__.menu__.btn_1__.addEventListener(MouseEvent.CLICK, this.btnSartenAceite);
break;
case "showIngredientes":
MovieClip(this).sarten__.menu__.btn_1__.alpha = 0.5;
MovieClip(this).sarten__.menu__.btn_2__.visible = true;
MovieClip(this).sarten__.menu__.btn_2__.addEventListener(MouseEvent.CLICK, this.btnSartenCebolla);
MovieClip(this).sarten__.menu__.btn_3__.visible = true;
MovieClip(this).sarten__.menu__.btn_3__.addEventListener(MouseEvent.CLICK, this.btnSartenZanahoria);
MovieClip(this).sarten__.menu__.btn_4__.visible = true;
MovieClip(this).sarten__.menu__.btn_4__.addEventListener(MouseEvent.CLICK, this.btnSartenPimientos);
MovieClip(this).sarten__.barras_ingredientes__.visible = true;
MovieClip(this).sarten__.click_cebolla__.visible = true;
MovieClip(this).sarten__.click_zanahoria__.visible = true;
MovieClip(this).sarten__.click_pimientos__.visible = true;
break;
case "tomate":
trace("Tomate!!\n+---------+");
MovieClip(this).sarten__.menu__.btn_5__.visible = true;
MovieClip(this).sarten__.click_tomate__.visible = true;
MovieClip(this).sarten__.menu__.btn_5__.addEventListener(MouseEvent.CLICK, this.btnSartenTomate);
break;
case "cebollaDentro":
MovieClip(this).sarten__.freir__.visible = true;
MovieClip(this).sarten__.cebolla__.visible = true;
MovieClip(this).sarten__.cebolla__.gotoAndPlay(2);
MovieClip(this).sarten__.barras_ingredientes__.barra_cebolla__.gotoAndPlay(2);
MovieClip(this).sarten__.stick_2__.visible = true;
if (((((MovieClip(this).sarten__.stick_2__.visible) && (MovieClip(this).sarten__.stick_3__.visible))) && (MovieClip(this).sarten__.stick_4__.visible))){
this.sartenSteps("tomate");
};
break;
case "zanahoriaDentro":
MovieClip(this).sarten__.freir__.visible = true;
MovieClip(this).sarten__.zanahoria__.visible = true;
MovieClip(this).sarten__.zanahoria__.gotoAndPlay(2);
MovieClip(this).sarten__.barras_ingredientes__.barra_zanahoria__.barra_zanahoria__.gotoAndPlay(2);
MovieClip(this).sarten__.stick_3__.visible = true;
if (((((MovieClip(this).sarten__.stick_2__.visible) && (MovieClip(this).sarten__.stick_3__.visible))) && (MovieClip(this).sarten__.stick_4__.visible))){
this.sartenSteps("tomate");
};
break;
case "pimientosDentro":
MovieClip(this).sarten__.freir__.visible = true;
MovieClip(this).sarten__.pimientos__.visible = true;
MovieClip(this).sarten__.pimientos__.gotoAndPlay(2);
MovieClip(this).sarten__.barras_ingredientes__.barra_pimiento__.barra_pimiento__.gotoAndPlay(2);
MovieClip(this).sarten__.stick_4__.visible = true;
if (((((MovieClip(this).sarten__.stick_2__.visible) && (MovieClip(this).sarten__.stick_3__.visible))) && (MovieClip(this).sarten__.stick_4__.visible))){
this.sartenSteps("tomate");
};
break;
case "tomateDentro":
MovieClip(this).sarten__.tomate__.visible = true;
MovieClip(this).sarten__.tomate__.gotoAndPlay(2);
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).sarten__.barras_ingredientes__.barra_cebolla__.currentLabel;
trace(("CEBOLLA: " + MovieClip(this).sarten__.barras_ingredientes__.barra_cebolla__.currentLabel));
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).sarten__.barras_ingredientes__.barra_zanahoria__.barra_zanahoria__.currentLabel;
trace(("ZANAHORIA: " + MovieClip(this).sarten__.barras_ingredientes__.barra_zanahoria__.barra_zanahoria__.currentLabel));
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).sarten__.barras_ingredientes__.barra_pimiento__.barra_pimiento__.currentLabel;
trace(("PIMIENTOS: " + MovieClip(this).sarten__.barras_ingredientes__.barra_pimiento__.barra_pimiento__.currentLabel));
_local2 = 0;
_local4 = 1;
while (_local4 <= 3) {
_local5 = SG_Cocinar.notas[(SG_Cocinar.notas.length - _local4)];
if (_local5 == "A"){
_local2 = (_local2 + 1);
} else {
if (_local5 == "B"){
_local2 = (_local2 + 2);
} else {
if (_local5 == "C"){
_local2 = (_local2 + 3);
};
};
};
_local4++;
};
_local2 = (_local2 / 3);
if (Math.round(_local2) == 1){
_local3 = "A";
} else {
if (Math.round(_local2) == 2){
_local3 = "B";
} else {
if (Math.round(_local2) == 3){
_local3 = "C";
};
};
};
trace((((("Media " + Math.round(_local2)) + " (") + _local3) + ")"));
SG_Cocinar.showNota(_local3);
break;
case "remover":
MovieClip(this).sarten__.flechas__.x = 0;
MovieClip(this).sarten__.tomate_sarten__.visible = true;
MovieClip(this).sarten__.aceite__.visible = false;
MovieClip(this).sarten__.cebolla__.visible = false;
MovieClip(this).sarten__.zanahoria__.visible = false;
MovieClip(this).sarten__.pimientos__.visible = false;
MovieClip(this).sarten__.tomate__.visible = false;
MovieClip(this).sarten__.barras_ingredientes__.visible = false;
this.prepareSartenRemover();
break;
};
}
private function btnSarten2Salpim(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.menu__.btn_3__.removeEventListener(MouseEvent.CLICK, this.btnSarten2Salpim);
MovieClip(this).sarten__.barra_salpim__.visible = true;
MovieClip(this).sarten__.carne_ani__.gotoAndPlay("salpim");
MovieClip(this).sarten__.barra_salpim__.barra_salpim__.gotoAndPlay(2);
MovieClip(this).sarten__.barra_salpim__.addEventListener(MouseEvent.CLICK, this.stopSarten2Salpim);
MovieClip(this).sarten__.menu__.btn_3__.addEventListener(MouseEvent.CLICK, this.stopSarten2Salpim);
}
private function btnPastelHuevos(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.huevos__.filters = [];
MovieClip(this).pastel__.huevos__.removeEventListener(MouseEvent.CLICK, this.btnPastelHuevos);
MovieClip(this).pastel__.huevos__.buttonMode = false;
MovieClip(this).pastel__.huevos__.visible = false;
MovieClip(this).pastel__.huevos_ani__.visible = true;
MovieClip(this).pastel__.huevos_ani__.gotoAndPlay(2);
}
public function endPlato():void{
var _local1:String;
_local1 = this.getNotaMedia();
trace(("Tu nota media es de " + _local1));
if (Number(_local1) <= 4.4){
TextField(MovieClip(this).end__.nota__.txt__).textColor = 14825014;
MovieClip(this).end__.puntuacion.gotoAndStop("C");
} else {
if ((((Number(_local1) > 4.4)) && ((Number(_local1) <= 7)))){
TextField(MovieClip(this).end__.nota__.txt__).textColor = 15638315;
MovieClip(this).end__.puntuacion.gotoAndStop("B");
} else {
TextField(MovieClip(this).end__.nota__.txt__).textColor = 1284818;
MovieClip(this).end__.puntuacion.gotoAndStop("A");
};
};
MovieClip(this).end__.nota__.txt__.text = String(_local1);
trace(("LEVEL: " + this.level));
GameStats.cocinaNotas[(this.level - 1)] = _local1;
SG_Cocinar.notas.splice(0);
if (this.level < CocinarSteps.steps.length){
MovieClip(this).end__.next__.addEventListener(MouseEvent.CLICK, SG_Cocinar.unwaitForObjectBtn);
} else {
trace("SA CABAO EL JUEGO!!!");
MovieClip(this).end__.next__.addEventListener(MouseEvent.CLICK, this.ending);
};
}
private function stopSarten2Salpim(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.barra_salpim__.barra_salpim__.stop();
MovieClip(this).sarten__.carne_ani__.gotoAndPlay("exit");
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).sarten__.barra_salpim__.barra_salpim__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).sarten__.barra_salpim__.barra_salpim__.currentLabel);
MovieClip(this).sarten__.stick_3__.visible = true;
MovieClip(this).sarten__.barra_salpim__.visible = false;
MovieClip(this).sarten__.barra_salpim__.removeEventListener(MouseEvent.CLICK, this.stopSarten2Salpim);
MovieClip(this).sarten__.menu__.btn_3__.removeEventListener(MouseEvent.CLICK, this.stopSarten2Salpim);
}
private function sarten2Steps(_arg1:String):void{
switch (_arg1){
case "aceite":
MovieClip(this).sarten__.menu__.btn_1__.visible = true;
MovieClip(this).sarten__.menu__.btn_1__.addEventListener(MouseEvent.CLICK, this.btnSartenAceite);
break;
case "carne":
MovieClip(this).sarten__.carne_ani__.visible = true;
MovieClip(this).sarten__.carne_ani__.gotoAndPlay(2);
break;
case "salpimentar":
MovieClip(this).sarten__.menu__.btn_3__.visible = true;
MovieClip(this).sarten__.menu__.btn_3__.addEventListener(MouseEvent.CLICK, this.btnSarten2Salpim);
break;
case "pinzas":
MovieClip(this).sarten__.carne_ani__.visible = false;
MovieClip(this).sarten__.carne__.x = 0;
MovieClip(this).sarten__.menu__.btn_4__.visible = true;
MovieClip(this).sarten__.menu__.btn_4__.addEventListener(MouseEvent.CLICK, this.btnSarten2Pinzas);
break;
case "llevatelo":
MovieClip(this).sarten__.carne__.gotoAndPlay(2);
break;
};
}
private function btnPastelPotencia(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.potencia__.potencia__.gotoAndStop(2);
MovieClip(this).pastel__.potencia__.removeEventListener(MouseEvent.CLICK, this.btnPastelPotencia);
MovieClip(this).pastel__.potencia__.buttonMode = false;
MovieClip(this).pastel__.click__.visible = false;
SG_Cocinar.unwaitForObject();
}
public function showFondo(_arg1:String=null):void{
if (_arg1 != null){
this.fondo = _arg1;
};
if (this.currentLabel != this.fondo){
this.gotoAndPlay(this.fondo);
};
}
private function btnOllaEspaguetis(_arg1:MouseEvent=null):void{
MovieClip(this).olla__.espaguetis__.visible = true;
MovieClip(this).olla__.espaguetis__.gotoAndPlay(2);
MovieClip(this).olla__.stick_3__.visible = true;
MovieClip(this).olla__.btn_3__.removeEventListener(MouseEvent.CLICK, this.btnOllaEspaguetis);
}
private function removeCuadradosTransition(_arg1:TimerEvent=null):void{
MovieClip(this).cuadrados__.visible = false;
SG_Cocinar.unwaitForObject();
}
private function btnPastelAzucar(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.azucar__.filters = [];
MovieClip(this).pastel__.azucar__.removeEventListener(MouseEvent.CLICK, this.btnPastelAzucar);
MovieClip(this).pastel__.azucar__.buttonMode = false;
MovieClip(this).pastel__.azucar__.visible = false;
MovieClip(this).pastel__.azucar_ani__.visible = true;
MovieClip(this).pastel__.azucar_ani__.gotoAndPlay(2);
}
private function ending(_arg1:MouseEvent=null):void{
TheStage.stageMc.gotoAndStop(55);
}
private function initOlla():void{
MovieClip(this).olla__.btn_1__.visible = false;
MovieClip(this).olla__.btn_2__.visible = false;
MovieClip(this).olla__.btn_3__.visible = false;
MovieClip(this).olla__.btn_4__.visible = false;
MovieClip(this).olla__.stick_1__.visible = false;
MovieClip(this).olla__.stick_2__.visible = false;
MovieClip(this).olla__.stick_3__.visible = false;
MovieClip(this).olla__.stick_4__.visible = false;
MovieClip(this).olla__.espatula__.visible = false;
MovieClip(this).olla__.espaguetis__.visible = false;
MovieClip(this).olla__.olla__.agua__.visible = false;
MovieClip(this).olla__.espaguetis_dentro__.visible = false;
MovieClip(this).olla__.fuego__.visible = false;
MovieClip(this).olla__.vapor__.visible = false;
MovieClip(this).olla__.barra_agua__.visible = false;
MovieClip(this).olla__.barra_sal__.visible = false;
}
private function onRemove(_arg1:Event=null):void{
this.removeEventListener(Event.ENTER_FRAME, this.stepper);
}
private function libretaFuera(_arg1:MouseEvent=null):void{
SG_Cocinar.libreta.x = 175;
}
private function btnSartenCebolla(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.ani_cebolla__.gotoAndPlay(2);
MovieClip(this).sarten__.menu__.btn_2__.alpha = 0.5;
MovieClip(this).sarten__.click_cebolla__.visible = false;
MovieClip(this).sarten__.menu__.btn_2__.removeEventListener(MouseEvent.CLICK, this.btnSartenCebolla);
}
private function stopPastelHarina(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.barra_harina__.barra_harina__.stop();
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).pastel__.barra_harina__.barra_harina__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).pastel__.barra_harina__.barra_harina__.currentLabel);
MovieClip(this).pastel__.harina_ani__.removeEventListener(MouseEvent.CLICK, this.stopPastelHarina);
MovieClip(this).pastel__.barra_harina__.removeEventListener(MouseEvent.CLICK, this.stopPastelHarina);
MovieClip(this).pastel__.harina_ani__.play();
}
private function initPastel():void{
MovieClip(this).pastel__.harina_ani__.visible = false;
MovieClip(this).pastel__.azucar_ani__.visible = false;
MovieClip(this).pastel__.chocolate_ani__.visible = false;
MovieClip(this).pastel__.huevos_ani__.visible = false;
MovieClip(this).pastel__.leche_ani__.visible = false;
MovieClip(this).pastel__.ingredientes__.visible = false;
MovieClip(this).pastel__.batidora__.visible = false;
MovieClip(this).pastel__.batidora_ani__.visible = false;
MovieClip(this).pastel__.bol_sepira__.visible = false;
MovieClip(this).pastel__.mezcla_fin__.visible = false;
MovieClip(this).pastel__.mezcla_ani__.visible = false;
MovieClip(this).pastel__.barra_harina__.visible = false;
MovieClip(this).pastel__.barra_azucar__.visible = false;
MovieClip(this).pastel__.barra_chocolate__.visible = false;
MovieClip(this).pastel__.barra_huevos__.visible = false;
MovieClip(this).pastel__.barra_leche__.visible = false;
}
private function initCalentarHorno():void{
MovieClip(this).pastel__.barra_aceite__.y = 0;
MovieClip(this).pastel__.barra_aceite__.visible = true;
MovieClip(this).pastel__.barra_aceite__.addEventListener(MouseEvent.CLICK, this.stopCalentarHorno);
MovieClip(this).pastel__.potencia__.addEventListener(MouseEvent.CLICK, this.stopCalentarHorno);
MovieClip(this).pastel__.potencia__.buttonMode = true;
MovieClip(this).pastel__.barra_aceite__.buttonMode = true;
MovieClip(this).pastel__.barra_aceite__.play();
MovieClip(this).pastel__.horno_calienta__.play();
}
private function initAceiteVertido():void{
MovieClip(this).sarten__.barra_aceite__.y = 0;
MovieClip(this).sarten__.barra_aceite__.visible = true;
MovieClip(this).sarten__.barra_aceite__.addEventListener(MouseEvent.CLICK, this.stopAceiteVertido);
MovieClip(this).sarten__.menu__.btn_1__.addEventListener(MouseEvent.CLICK, this.stopAceiteVertido);
MovieClip(this).sarten__.barra_aceite__.buttonMode = true;
MovieClip(this).sarten__.barra_aceite__.play();
MovieClip(this).sarten__.aceite__.play();
}
private function stopSartenRemover(_arg1:MouseEvent=null):void{
if (MovieClip(this).sarten__.tomate_sarten__.hasEventListener(MouseEvent.MOUSE_UP)){
MovieClip(this).sarten__.tomate_sarten__.removeEventListener(MouseEvent.MOUSE_UP, this.stopSartenRemover);
} else {
MovieClip(this).sarten__.tomate_sarten__.removeEventListener(MouseEvent.MOUSE_DOWN, this.sartenRemoverPress);
};
if (MovieClip(this).sarten__.tomate_sarten__.hasEventListener(MouseEvent.MOUSE_MOVE)){
MovieClip(this).sarten__.tomate_sarten__.removeEventListener(MouseEvent.MOUSE_MOVE, this.sartenRemoverMove);
};
}
private function btnSartenTomate(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.cebolla__.stop();
MovieClip(this).sarten__.barras_ingredientes__.barra_cebolla__.stop();
MovieClip(this).sarten__.zanahoria__.stop();
MovieClip(this).sarten__.barras_ingredientes__.barra_zanahoria__.barra_zanahoria__.stop();
MovieClip(this).sarten__.pimientos__.stop();
MovieClip(this).sarten__.barras_ingredientes__.barra_pimiento__.barra_pimiento__.stop();
SG_Cocinar.specificStep = "none";
MovieClip(this).sarten__.ani_tomate__.gotoAndPlay(2);
MovieClip(this).sarten__.stick_5__.visible = true;
MovieClip(this).sarten__.click_tomate__.visible = false;
MovieClip(this).sarten__.menu__.btn_5__.alpha = 0.5;
MovieClip(this).sarten__.menu__.btn_5__.removeEventListener(MouseEvent.CLICK, this.btnSartenTomate);
}
private function removeItems():void{
var _local1:Number;
var _local2:Number;
_local1 = this.objectsInScene.length;
_local2 = 0;
while (_local2 < _local1) {
MovieClip(this).aki.removeChild(this.objectsInScene[0]);
this.objectsInScene.splice(0, 1);
_local2++;
};
}
private function stopPastelHuevos(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.barra_huevos__.barra_huevos__.stop();
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).pastel__.barra_huevos__.barra_huevos__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).pastel__.barra_huevos__.barra_huevos__.currentLabel);
MovieClip(this).pastel__.huevos_ani__.removeEventListener(MouseEvent.CLICK, this.stopPastelHuevos);
MovieClip(this).pastel__.barra_huevos__.removeEventListener(MouseEvent.CLICK, this.stopPastelHuevos);
MovieClip(this).pastel__.huevos_ani__.play();
}
private function stopPastelChocolate(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.barra_chocolate__.barra_chocolate__.stop();
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).pastel__.barra_chocolate__.barra_chocolate__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).pastel__.barra_chocolate__.barra_chocolate__.currentLabel);
MovieClip(this).pastel__.chocolate_ani__.removeEventListener(MouseEvent.CLICK, this.stopPastelChocolate);
MovieClip(this).pastel__.barra_chocolate__.removeEventListener(MouseEvent.CLICK, this.stopPastelChocolate);
MovieClip(this).pastel__.chocolate_ani__.play();
}
private function ollaRemoverPress(_arg1:MouseEvent=null):void{
MovieClip(this).olla__.espatula__.addEventListener(MouseEvent.MOUSE_MOVE, this.ollaRemoverMove);
MovieClip(this).olla__.espatula__.removeEventListener(MouseEvent.MOUSE_UP, this.stopOllaRemover);
}
private function stopPastelAzucar(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.barra_azucar__.barra_azucar__.stop();
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).pastel__.barra_azucar__.barra_azucar__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).pastel__.barra_azucar__.barra_azucar__.currentLabel);
MovieClip(this).pastel__.azucar_ani__.removeEventListener(MouseEvent.CLICK, this.stopPastelAzucar);
MovieClip(this).pastel__.barra_azucar__.removeEventListener(MouseEvent.CLICK, this.stopPastelAzucar);
MovieClip(this).pastel__.azucar_ani__.play();
}
public function stopCalentarHorno(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.barra_aceite__.stop();
MovieClip(this).pastel__.horno_calienta__.stop();
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).pastel__.barra_aceite__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).pastel__.barra_aceite__.currentLabel);
MovieClip(this).pastel__.barra_aceite__.visible = false;
MovieClip(this).pastel__.barra_aceite__.removeEventListener(MouseEvent.CLICK, this.stopCalentarHorno);
MovieClip(this).pastel__.potencia__.removeEventListener(MouseEvent.CLICK, this.stopCalentarHorno);
MovieClip(this).pastel__.barra_aceite__.buttonMode = false;
SG_Cocinar.unwaitForObject();
}
public function stopAceiteVertido(_arg1:MouseEvent=null):void{
MovieClip(this).sarten__.ani_aceite__.gotoAndStop(1);
MovieClip(this).sarten__.barra_aceite__.stop();
MovieClip(this).sarten__.aceite__.stop();
MovieClip(this).sarten__.humillo__.visible = true;
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).sarten__.barra_aceite__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).sarten__.barra_aceite__.currentLabel);
MovieClip(this).sarten__.barra_aceite__.visible = false;
MovieClip(this).sarten__.stick_1__.visible = true;
MovieClip(this).sarten__.barra_aceite__.removeEventListener(MouseEvent.CLICK, this.stopAceiteVertido);
MovieClip(this).sarten__.barra_aceite__.buttonMode = false;
MovieClip(this).sarten__.menu__.btn_1__.removeEventListener(MouseEvent.CLICK, this.stopAceiteVertido);
SG_Cocinar.unwaitForObject();
}
private function btnPastelLeche(_arg1:MouseEvent=null):void{
MovieClip(this).pastel__.leche__.filters = [];
MovieClip(this).pastel__.leche__.removeEventListener(MouseEvent.CLICK, this.btnPastelLeche);
MovieClip(this).pastel__.leche__.buttonMode = false;
MovieClip(this).pastel__.leche__.visible = false;
MovieClip(this).pastel__.leche_ani__.visible = true;
MovieClip(this).pastel__.leche_ani__.gotoAndPlay(2);
}
private function getNotaMedia():String{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local1 = 0;
switch (this.level){
case 0:
_local4 = 0;
_local5 = 0;
_local6 = 0;
_local1 = 0;
while (_local1 < SG_Cocinar.notas.length) {
if (SG_Cocinar.notas[_local1] == "A"){
_local2 = 1;
} else {
if (SG_Cocinar.notas[_local1] == "B"){
_local2 = 0.5;
} else {
_local2 = 0;
};
};
if (_local1 < 57){
_local4 = (_local4 + _local2);
} else {
if (_local1 < 61){
_local5 = (_local5 + _local2);
} else {
_local6 = (_local6 + _local2);
};
};
_local1++;
};
_local3 = (((((0.7 * 10) * _local4) / 57) + (((0.2 * 10) * _local5) / 4)) + (((0.1 * 10) * _local6) / 2));
break;
default:
_local7 = 0;
_local1 = 0;
while (_local1 < SG_Cocinar.notas.length) {
if (SG_Cocinar.notas[_local1] == "A"){
_local2 = 1;
} else {
if (SG_Cocinar.notas[_local1] == "B"){
_local2 = 0.5;
} else {
_local2 = 0;
};
};
_local7 = (_local7 + _local2);
_local1++;
};
_local3 = ((10 * _local7) / SG_Cocinar.notas.length);
break;
};
return (_local3.toFixed(1));
}
private function sartenRemoverMove(_arg1:MouseEvent=null):void{
this.stopSartenRemover();
MovieClip(this).sarten__.tomate_sarten__.gotoAndPlay(2);
MovieClip(this).sarten__.sarten__.gotoAndPlay(2);
}
private function ollaRemoverMove(_arg1:MouseEvent=null):void{
this.stopOllaRemover();
MovieClip(this).olla__.espatula__.gotoAndPlay(2);
}
private function stopBarraAgua(_arg1:MouseEvent=null):void{
MovieClip(this).olla__.olla__.agua__.stop();
MovieClip(this).olla__.barra_agua__.barra_agua__.stop();
MovieClip(this).olla__.btn_1__.removeEventListener(MouseEvent.CLICK, this.stopBarraAgua);
MovieClip(this).olla__.barra_agua__.removeEventListener(MouseEvent.CLICK, this.stopBarraAgua);
MovieClip(this).olla__.stick_1__.visible = true;
SG_Cocinar.notas[SG_Cocinar.notas.length] = MovieClip(this).olla__.barra_agua__.barra_agua__.currentLabel;
SG_Cocinar.showNota(MovieClip(this).olla__.barra_agua__.barra_agua__.currentLabel);
SG_Cocinar.unwaitForObject();
}
public static function unwaitForObjectBtn(_arg1:MouseEvent=null):void{
SG_Cocinar.waitingForObject = false;
}
public static function showNota(_arg1:String):void{
var str:String;
var nota = _arg1;
str = "rutch.objects.";
switch (nota){
case "A":
str = (str + "Puntuacion_A");
break;
case "B":
str = (str + "Puntuacion_B");
break;
case "C":
str = (str + "Puntuacion_C");
break;
};
try {
SG_Cocinar.notaMc = new ((getDefinitionByName(str) as Class));
SG_Cocinar.aki_mc.addChild(SG_Cocinar.notaMc);
} catch(e:Error) {
trace((("Error [" + e) + "] Notas de los huevos!"));
};
}
public static function removeNotaMc():void{
try {
SG_Cocinar.aki_mc.removeChild(SG_Cocinar.notaMc);
SG_Cocinar.notaMc = null;
} catch(err:Error) {
trace("[ERROR!] Putas notas!");
};
}
public static function unwaitForObject(_arg1:TimerEvent=null):void{
SG_Cocinar.waitingForObject = false;
}
}
}//package rutch.stage.screens
Section 319
//SG_Decorar (rutch.stage.screens.SG_Decorar)
package rutch.stage.screens {
import flash.events.*;
import flash.display.*;
import rutch.stage.*;
import rutch.game.*;
public class SG_Decorar extends MovieClip {
public var cubiertos__:MovieClip;
public var servilletas__:MovieClip;
public var centro__:MovieClip;
public var platos__:MovieClip;
public var tazas__:MovieClip;
public var manteles__:MovieClip;
public var copas__:MovieClip;
public var deco__:MovieClip;
private var menu:MovieClip;
public var luz_starwars__:MovieClip;
public var menu__:MovieClip;
public var vasos__:MovieClip;
public function SG_Decorar(){
trace("Game Decorar init()");
this.init();
}
private function cocinaOut(_arg1:MouseEvent):void{
MovieClip(this).luz_starwars__.alpha = 0;
}
public function sub_3_10(_arg1:MouseEvent=null):void{
MovieClip(this).cubiertos__.gotoAndStop(7);
this.setDecoStat("cubiertos", 7);
}
private function desplegaMenu_1(_arg1:MouseEvent):void{
this.menu.gotoAndStop(2);
}
private function desplegaMenu_2(_arg1:MouseEvent):void{
this.menu.gotoAndStop(3);
}
private function desplegaMenu_4(_arg1:MouseEvent):void{
this.menu.gotoAndStop(5);
}
public function sub_4_1(_arg1:MouseEvent=null):void{
MovieClip(this).copas__.gotoAndStop(2);
this.setDecoStat("copas", 2);
}
public function sub_4_2(_arg1:MouseEvent=null):void{
MovieClip(this).copas__.gotoAndStop(3);
this.setDecoStat("copas", 3);
}
public function sub_4_3(_arg1:MouseEvent=null):void{
MovieClip(this).copas__.gotoAndStop(4);
this.setDecoStat("copas", 4);
}
public function sub_4_4(_arg1:MouseEvent=null):void{
MovieClip(this).copas__.gotoAndStop(5);
this.setDecoStat("copas", 5);
}
private function desplegaMenu_3(_arg1:MouseEvent):void{
this.menu.gotoAndStop(4);
}
public function sub_4_7(_arg1:MouseEvent=null):void{
MovieClip(this).tazas__.gotoAndStop(2);
this.setDecoStat("tazas", 2);
}
public function sub_4_8(_arg1:MouseEvent=null):void{
MovieClip(this).tazas__.gotoAndStop(3);
this.setDecoStat("tazas", 3);
}
public function sub_4_9(_arg1:MouseEvent=null):void{
MovieClip(this).tazas__.gotoAndStop(4);
this.setDecoStat("tazas", 4);
}
public function sub_4_6(_arg1:MouseEvent=null):void{
MovieClip(this).copas__.gotoAndStop(7);
this.setDecoStat("copas", 7);
}
public function sub_4_5(_arg1:MouseEvent=null):void{
MovieClip(this).copas__.gotoAndStop(6);
this.setDecoStat("copas", 6);
}
public function plegaMenu(_arg1:MouseEvent=null):void{
this.menu.gotoAndStop(1);
}
public function sub_3_1(_arg1:MouseEvent=null):void{
MovieClip(this).platos__.gotoAndStop(2);
this.setDecoStat("platos", 2);
}
public function sub_3_2(_arg1:MouseEvent=null):void{
MovieClip(this).platos__.gotoAndStop(3);
this.setDecoStat("platos", 3);
}
public function sub_3_4(_arg1:MouseEvent=null):void{
MovieClip(this).platos__.gotoAndStop(5);
this.setDecoStat("platos", 5);
}
public function sub_3_6(_arg1:MouseEvent=null):void{
MovieClip(this).cubiertos__.gotoAndStop(3);
this.setDecoStat("cubiertos", 3);
}
public function sub_3_7(_arg1:MouseEvent=null):void{
MovieClip(this).cubiertos__.gotoAndStop(4);
this.setDecoStat("cubiertos", 4);
}
public function sub_3_8(_arg1:MouseEvent=null):void{
MovieClip(this).cubiertos__.gotoAndStop(5);
this.setDecoStat("cubiertos", 5);
}
public function sub_3_9(_arg1:MouseEvent=null):void{
MovieClip(this).cubiertos__.gotoAndStop(6);
this.setDecoStat("cubiertos", 6);
}
public function sub_3_3(_arg1:MouseEvent=null):void{
MovieClip(this).platos__.gotoAndStop(4);
this.setDecoStat("platos", 4);
}
public function sub_4_10(_arg1:MouseEvent=null):void{
MovieClip(this).tazas__.gotoAndStop(5);
this.setDecoStat("tazas", 5);
}
public function sub_3_5(_arg1:MouseEvent=null):void{
MovieClip(this).cubiertos__.gotoAndStop(2);
this.setDecoStat("cubiertos", 2);
}
public function sub_4_13(_arg1:MouseEvent=null):void{
MovieClip(this).vasos__.gotoAndStop(4);
this.setDecoStat("vasos", 4);
}
public function sub_4_15(_arg1:MouseEvent=null):void{
MovieClip(this).vasos__.gotoAndStop(6);
this.setDecoStat("vasos", 6);
}
public function sub_4_11(_arg1:MouseEvent=null):void{
MovieClip(this).vasos__.gotoAndStop(2);
this.setDecoStat("vasos", 2);
}
public function sub_4_12(_arg1:MouseEvent=null):void{
MovieClip(this).vasos__.gotoAndStop(3);
this.setDecoStat("vasos", 3);
}
public function sub_4_14(_arg1:MouseEvent=null):void{
MovieClip(this).vasos__.gotoAndStop(5);
this.setDecoStat("vasos", 5);
}
public function sub_2_1(_arg1:MouseEvent=null):void{
MovieClip(this).centro__.gotoAndStop(2);
this.setDecoStat("centro", 2);
}
public function sub_2_3(_arg1:MouseEvent=null):void{
MovieClip(this).centro__.gotoAndStop(4);
this.setDecoStat("centro", 4);
}
public function sub_2_4(_arg1:MouseEvent=null):void{
MovieClip(this).centro__.gotoAndStop(5);
this.setDecoStat("centro", 5);
}
public function sub_2_5(_arg1:MouseEvent=null):void{
MovieClip(this).deco__.gotoAndStop(2);
this.setDecoStat("deco", 2);
}
public function sub_2_6(_arg1:MouseEvent=null):void{
MovieClip(this).deco__.gotoAndStop(3);
this.setDecoStat("deco", 3);
}
public function sub_2_7(_arg1:MouseEvent=null):void{
MovieClip(this).deco__.gotoAndStop(4);
this.setDecoStat("deco", 4);
}
public function sub_2_2(_arg1:MouseEvent=null):void{
MovieClip(this).centro__.gotoAndStop(3);
this.setDecoStat("centro", 3);
}
private function init():void{
this.setDecoStat("centro", 1);
this.setDecoStat("tazas", 1);
this.setDecoStat("copas", 1);
this.setDecoStat("vasos", 1);
this.setDecoStat("servilletas", 1);
this.setDecoStat("platos", 1);
this.setDecoStat("cubiertos", 1);
this.setDecoStat("deco", 1);
this.setDecoStat("manteles", 1);
this.menu = MovieClip(this).menu__;
MovieClip(this).luz_starwars__.buttonMode = true;
MovieClip(this).luz_starwars__.addEventListener(MouseEvent.ROLL_OVER, this.cocinaOver);
MovieClip(this).luz_starwars__.addEventListener(MouseEvent.ROLL_OUT, this.cocinaOut);
MovieClip(this).luz_starwars__.addEventListener(MouseEvent.CLICK, this.cocinaClick);
MovieClip(this).luz_starwars__.alpha = 0;
MovieClip(this.menu).sub_1__.addEventListener(MouseEvent.CLICK, this.desplegaMenu_1);
MovieClip(this.menu).sub_1__.buttonMode = true;
MovieClip(this.menu).sub_2__.addEventListener(MouseEvent.CLICK, this.desplegaMenu_2);
MovieClip(this.menu).sub_2__.buttonMode = true;
MovieClip(this.menu).sub_3__.addEventListener(MouseEvent.CLICK, this.desplegaMenu_3);
MovieClip(this.menu).sub_3__.buttonMode = true;
MovieClip(this.menu).sub_4__.addEventListener(MouseEvent.CLICK, this.desplegaMenu_4);
MovieClip(this.menu).sub_4__.buttonMode = true;
}
private function setDecoStat(_arg1:String, _arg2:Number):void{
var _local3:Boolean;
var _local4:Number;
_local3 = false;
_local4 = 0;
while ((((_local4 < GameStats.decoSets.length)) && (!(_local3)))) {
if (GameStats.decoSets[_local4][0] == _arg1){
GameStats.decoSets[_local4][1] = _arg2;
_local3 = true;
};
_local4++;
};
}
public function sub_1_3(_arg1:MouseEvent=null):void{
MovieClip(this).manteles__.gotoAndStop(4);
this.setDecoStat("manteles", 4);
}
public function sub_1_6(_arg1:MouseEvent=null):void{
MovieClip(this).manteles__.gotoAndStop(7);
this.setDecoStat("manteles", 7);
}
public function sub_1_7(_arg1:MouseEvent=null):void{
MovieClip(this).servilletas__.gotoAndStop(2);
this.setDecoStat("servilletas", 2);
}
public function sub_1_1(_arg1:MouseEvent=null):void{
MovieClip(this).manteles__.gotoAndStop(2);
this.setDecoStat("manteles", 2);
}
public function sub_1_9(_arg1:MouseEvent=null):void{
MovieClip(this).servilletas__.gotoAndStop(4);
this.setDecoStat("servilletas", 4);
}
public function sub_1_4(_arg1:MouseEvent=null):void{
MovieClip(this).manteles__.gotoAndStop(5);
this.setDecoStat("manteles", 5);
}
public function sub_1_5(_arg1:MouseEvent=null):void{
MovieClip(this).manteles__.gotoAndStop(6);
this.setDecoStat("manteles", 6);
}
public function sub_1_8(_arg1:MouseEvent=null):void{
MovieClip(this).servilletas__.gotoAndStop(3);
this.setDecoStat("servilletas", 3);
}
public function sub_1_2(_arg1:MouseEvent=null):void{
MovieClip(this).manteles__.gotoAndStop(3);
this.setDecoStat("manteles", 3);
}
private function cocinaOver(_arg1:MouseEvent):void{
MovieClip(this).luz_starwars__.alpha = 100;
}
private function cocinaClick(_arg1:MouseEvent):void{
TheStage.stageMc.gotoAndPlay(45);
}
public function sub_1_10(_arg1:MouseEvent=null):void{
MovieClip(this).servilletas__.gotoAndStop(5);
this.setDecoStat("servilletas", 5);
}
public function sub_1_11(_arg1:MouseEvent=null):void{
MovieClip(this).servilletas__.gotoAndStop(6);
this.setDecoStat("servilletas", 6);
}
}
}//package rutch.stage.screens
Section 320
//Languages (rutch.stage.Languages)
package rutch.stage {
public class Languages {
public static const TUTO_10:Array = new Array("Cuando aparezca el botón de la izquierda tendrás que pulsarlo, en este caso para encender el horno. A continuación aparecerá la barra donde tendrás que hacer clic en el momento justo.", "Quand apparaîtra le bouton de la gauche tu devras appuyer dessus, dans ce cas pour allumer le four. Ensuite apparaîtra la barre où tu devras faire clic au bon moment.", "Quando compare il bottone a sinistra dovrai premerlo, in questo caso per accendere il forno. Subito dopo comparirà la barra in cui dovrai cliccare al momento giusto.", "Quando aparecer o botão da esquerda tens que premer sobre ele, neste caso para acender o fogão. Em seguida aparecerá a barra onde terás que premer no momento certo.", "Wenn die Schaltfläche links erscheint, musst du sie anklicken, um den Ofen anzumachen. Dann erscheint der Stab dort, auf den du im richtigen Moment klicken sollst.", "When the button on the left appears, you’ll have to click on it, in this case, to turn on the oven. After that, you'll see a bar that you'll have to click on at just the right moment.", "Gdy pojawi się lewy przycisk, musisz go nacisnąć. Spowoduje on włączenie piekarnika. W dalszym ciągu pojawi się pasek, na który musisz nacisnąć w odpowiednim momencie.");
public static const FIN_PLATO_4_B:Array = new Array("No está nada mal, no ha quedado perfecto pero seguro que tiene un buen sabor.", "Ce n'est pas si mal, ce n’est pas parfait mais je suis sûre qu'il a bon goût.", "Non c'è male, non è proprio perfetto, però di sicuro ha un buon sapore.", "Não está nada mal. Não que esteja perfeito, mas certamente o gosto é bom!", "Nicht schlecht, es ist nicht perfekt gelungen, schmeckt aber sicherlich toll.", "It's not bad, it's not perfect, but I'm sure it tastes good.", "Nie jest źle, nie wyszło najlepiej ale z pewnością smakuje dobrze.");
public static const JUGAR:Array = new Array("Jugar", "Jouer", "Gioca", "Jogar", "Spielen", "Play", "Graj");
public static const FIN_PLATO_4_A:Array = new Array("¡Fabuloso! ¡Estoy segura que, cuando lo pruebe, caerá rendido en mis brazos!", "Fabuleux! Je suis sûre que, quand il le goûtera, il me tombera dans les bras!", "Favoloso! Sono sicura che, quando lo proverà, cadrà nelle mie braccia!", "Fantástico! Estou convencida que quando ele experimente isso cairá nos meus braços!", "Fabelhaft! Ich bin sicher, wenn er probiert, wird er mir ergeben in meine Arme sinken!", "Fabulous! I'm sure that when he tries it, he'll collapse into my arms!", "Bajecznie! Jestem pewna, że jak tylko to skosztuje, to padnie mi w ramiona!");
public static const INSTRUCCIONES:Array = new Array("Instrucciones", "Instructions", "Istruzioni", "Instruções", "Anleitungen", "Instructions", "Instrukcje");
public static const WEBS:Array = new Array("http://www.chicasgames.com/", "http://www.jeuxdenanas.com/", "http://www.giochidiragazze.com/", "http://www.jogosemeninas.com/", "http://www.spielemaedchen.com/", "http://www.bonniegames.com/", "http://www.dziewczynygames.com");
public static const FIN_PLATO_1_A:Array = new Array("¡Increíble! ¡Han quedado unos espaguetis buenísimos! ¡Seguro que a Alan le encanta como han salido!", "Incroyable! Les spaghettis sont délicieux! C'est sûr qu'Alan va les adorer!", "Incredibile! Gli spaghetti sono buonissimi! Di sicuro piaceranno moltissimo ad Alan, mi sono proprio venuti bene!", "Incrível! Os espaguetes ficaram deliciosos! Certamente o Alan ficará encantado quando os provar!", "Unglaublich! Die Spaghetti sind klasse gelungen! Sicher wird es Alan gefallen, wie sie geworden sind.", "Incredible! The spaghetti is delicious! Alan will definitely love it!", "Niesamowite! Wyszło pyszne spaghetti! Z pewnością zasmakuje Alanowi.");
public static const FIN_PLATO_1_B:Array = new Array("No es la mejor presentación del mundo, ¡pero creo que es pasable! Espero que a Alan no le importe.", "Ce n'est pas la meilleure présentation du monde, mais je crois que ça passera! J'espère que ça n'a pas d'importance pour Alan.", "Non è la migliore presentazione del mondo, però non è poi tanto male. Spero che per Alan faccia lo stesso.", "Não é a melhor apresentação do mundo, mas acho que dá pro gasto. Espero que Alan não se importe...", "Es ist keine weltmeisterliche Leistung, aber ich glaube, sie sind passabel! Ich hoffe, es macht Alan nichts aus.", "It's not the best presentation in the world, but I think it'll do. I hope Alan doesn't mind.", "Nie jest to najlepsza prezentacja na świecie, ale nie jest źle. Mam nadzieje, że Alan nie zwróci na to uwagi.");
public static const FIN_PLATO_1_C:Array = new Array("Espero que no le gusten mucho los espaguetis. Creo que no me han quedado demasiado bien...", "J'espère qu'il n'aime pas trop les spaghettis. Je crois que je les ai un peu raté.", "Spero che non gli piacciano tanto gli spaghetti. Penso che il piatto non mi sia riuscito proprio benissimo...", "Espero que espaguetes não seja seu prato favorito. Acho que não ficou muito bom...", "Ich fürchte, ihm werden die Spaghetti nicht sonderlich schmecken, sie sind mir nicht so toll gelungen...", "I hope he doesn’t like spaghetti too much. I don't think it turned out so well...", "Mam nadzieje, że nie jest prawdziwym wielbicielem spaghetti. Myślę, że nie wyszło najlepiej...");
public static const FIN_PLATO_3_B:Array = new Array("Poca fruta se ha salvado, pero más vale poco que nada, ¿no?", "Peu de fruits ont été sauvés, mais mieux vaut peu que rien du tout, non?", "Si è salvata poca frutta, però meglio poco che niente, no?", "Poucas frutas puderam ser aproveitadas, mas é melhor pouco do que nada, não?", "Nur wenig Obst ist übrig, aber wenig ist besser als gar keines, oder?", "There's not much fruit left, but better than nothing, right?", "Nie zostało dużo owoców, ale lepiej troszkę niż nic, prawda?");
public static const FIN_PLATO_3_C:Array = new Array("Me ha quedado la fruta un poco triturada... ¡Espero que le guste bien líquida y con tropezones!", "Les fruits sont un peu broyés... J’espère qu’il les aime bien liquides et avec des gros morceaux!", "Penso di aver esagerato con la frutta... Spero che gli piaccia così liquida e con pezzi sparsi!", "As frutas ficaram um tanto trituradas... Espero que ele goste que dela bem líquida e cheia de pedaços grandes.", "Ich habe das Obst ein wenig zerkleinert ... Ich hoffe, er mag Flüssigkeit mit Stückchen drinnen!", "I chopped the fruit a bit too much. I hope he likes it with a lot of liquid and the occasional piece of fruit!", "Owoce chyba się trochę roztarły... Mam nadzieję, że lubi trochę pływające i z cząstkami owoców.");
public static const CAMBIAR_IDIOMA:Array = new Array("Cambiar idioma", "Changer de langue", "Cambia la lingua", "Selecciona o idioma", "Sprache ändern", "Select language", "Zmień język");
public static const INGREDIENTES_2:Array = new Array("· TOMATE\n· LECHUGA\n· CARNE\n· ACEITE\n· SAL\n· PIMIENTA", "· TOMATE\n· LAITUE\n· VIANDE\n· HUILE\n· SEL\n· POIVRE", "· POMODORO\n· LATTUGA\n· CARNE\n· OLIO\n· SALE\n· PEPE", "· TOMATE\n· ALFACE\n· CARNE\n· AZEITE\n· SAL\n· PIMENTA", "· TOMATE\n· SALAT\n· FLEISCH\n· ÖL\n· SALZ\n· PFEFFER", "· TOMATO\n· LETTUCE\n· MEAT\n· OIL\n· SALT\n· PEPPER", "· POMIDOR\n· SAŁATA\n· MIĘSO\n· OLEJ\n· SÓL\n· PIEPRZ");
public static const INGREDIENTES_3:Array = new Array("· PLÁTANO\n· MANZANA\n· KIWI\n· FRESA", "· BANANE\n· POMME\n· KIWI\n· FRAISE", "· BANANA\n· MELA\n· KIWI\n· FRAGOLA", "· BANANA\n· MAÇÃ\n· KIWI\n· MORANGO", "· BANANE\n· APFEL\n· KIWI\n· ERDBEERE", "· BANANA\n· APPLE\n· KIWI\n· STRAWBERRY", "· BANAN\n· JABŁKO\n· KIWI\n· TRUSKAWKA");
public static const INGREDIENTES_4:Array = new Array("· HARINA\n· HUEVOS\n· LECHE\n· AZÚCAR\n· CHOCOLATE", "· FARINE\n· OEUFS\n· LAIT\n· SUCRE\n· CHOCOLAT", "· FARINA\n· UOVA\n· LATTE\n· ZUCCHERO\n· CIOCCOLATO", "· FARINHA\n· OVOS\n· LEITE\n· AÇÚCAR\n· CHOCOLATE", "· MEHL\n· EIER\n· MILCH\n· ZUCKER\n· SCHOKOLADE", "· FLOUR\n· EGGS\n· MILK\n· SUGAR\n· CHOCOLATE", "· MĄKA\n· JAJKA\n· MLEKO\n· CUKIER\n· CZEKOLADA");
public static const INGREDIENTES_1:Array = new Array("· TOMATE\n· CEBOLLA\n· ZANAHÓRIA\n· PIMIENTO\n· ESPAGUETIS\n· ACEITE\n· SAL", "· TOMATE\n· OIGNON\n· CAROTTE\n· POIVRON\n· SPAGHETTIS\n· HUILE\n· SEL", "· POMODORO\n· CIPOLLA\n· CAROTE\n· PEPERONI\n· SPAGHETTI\n· OLIO\n· SALE", "· TOMATE\n· CEBOLA\n· CENOURA\n· PIMENTÃO\n· ESPAGUETE\n· AZEITE\n· SAL", "· TOMATE\n· ZWIEBEL\n· WURZEL\n· PAPRIKA\n· SPAGHETTI\n· ÖL\n· SALZ", "· TOMATO\n· ONION\n· CARROT\n· PEPPER\n· SPAGHETTI\n· OIL\n· SALT", "· POMIDOR\n· CEBULA\n· MARCHEWKA\n· PAPRYKA\n· SPAGHETTI\n· OLEJ\n· SÓL");
public static const FIN_PLATO_3_A:Array = new Array("¡Exquisita! ¡Tiene una pinta increíble! ¡Esta macedonia de frutas seguro que le encanta!", "Exquise! Elle a une allure incroyable! Cette salade de fruit c’est sûr qu’il adore!", "Squisita! Ha un aspetto fantastico! Questa macedonia di frutta gli piacerà sicuramente!", "Deliciosa! Tem um aspecto incrível! Esta salada de frutas certamente irá deixá-lo encantado!", "Exquisit! Das sieht unglaublich aus! Dieser Obstsalat wird ihn sicher entzücken!", "Exquisite! It's looks incredible! I'm sure that he’ll love this fruit salad!", "Wyborne! Wygląda niesamowicie! Ta sałatka z owoców z pewnością mu zasmakuje!");
public static const MAS_JUEGOS:Array = new Array("Más juegos", "Autres jeux", "Altri giochi", "Mais jogos", "Mehr Spiele", "More games", "Więcej gier");
public static const FIN_PLATO_2_A:Array = new Array("¡El entrecot tiene una pinta buenísima! ¡Seguro que Alan disfruta comiendo este plato!", "L'entrecôte a très bonne allure! C'est sûr qu'Alan aime beaucoup ce plat!", "La bistecca sembra proprio buonissima! Di sicuro Alan si leccherà i baffi quando la mangerà!", "O entrecosto tem um aspecto maravilhoso! Certamemente Alan disfrutará comendo este prato!", "Das Entrecote sieht super aus! Ich bin sicher, dass Allan dieses Gericht genießen wird.", "This steak looks really tasty! Alan will definitely enjoy eating this dish!", "K otlet wygląda wspaniale! Z pewnością Alanowi zasmakuje.");
public static const FIN_PLATO_4_C:Array = new Array("Espero que no le apetezca tomar nada de postre... U_U", "J’espère qu’il ne voudra rien prendre pour le dessert... U_U", "Spero che non abbia voglia di mangiare il dessert... U_U", "Espero que ele não queira provar a sobremesa... U_U", "Ich hoffe, er hat keinen Appetit auf Nachtisch... U_U ", "I hope he doesn't want any dessert...", "Mam nadzieje, że nie będzie chciał próbować deseru... U_U");
public static const TUTO_2:Array = new Array("Una vez abierta, verás ampliada una selección de objetos.", "Une fois ouverte, tu verras amplifiée une sélection d'objets.", "Quando l'avrai aperta, vedrai ampliata una lista di oggetti.", "Uma vez aberta, verás ampliada uma selecção de objectos.", "Dort siehst du eine Sammlung von Objekten vergrößert.", "Once open, you'll see an extended selection of objects.", "Gdy już się otworzy, pojawią się przedmioty do wyboru.");
public static const TUTO_3:Array = new Array("Cuando pasas el ratón por encima del objeto, te aparecerá una flechita al lado para indicarte lo que has seleccionado.", "Quand tu passes la souris sur l'objet, une petite flèche t'apparaîtra à côté pour t'indiquer ce que tu as sélectionné.", "Quando passi con il mouse sopra l'oggetto, apparirà una freccia al suo fianco per indicarti quello che hai scelto.", "Quando passares o rato por cima do objecto, aparecer-te-á uma seta ao lado para indicar o que foi seleccionado.", "Wenn du mit der Maus über die Objekte fährst, erscheint ein Pfeil an der Seite, der dir zeigt, was du ausgewählt hast.", "When you pass the mouse over the object, an arrow will appear next to it indicating what you have selected.", "Gdy najedziesz myszką na przedmiot, obok pojawi się strzałeczka, by wskazać Ci co wybrałaś.");
public static const TUTO_4:Array = new Array("Una vez seleccionado el objeto, éste aparecerá automáticamente en tu mesa.", "Une fois sélectionné l’objet, celui-ci apparaîtra automatiquement sur ta table.", "Una volta scelto l’oggetto, questo apparirà automaticamente sulla tua tavola.", "Quando tiveres o objecto seleccionado, o mesmo irá aparecer automaticamente na tua mesa.", "Wenn du ein Objekt ausgewählt hast, erscheint es automatisch auf deinem Tisch.", "Once you have selected the object, it will automatically appear on your table.", "Gdy już wybierzesz przedmiot, pojawi się on automatycznie na stole.");
public static const TUTO_5:Array = new Array("Tendrás que ir recorriendo el resto de pestañas para acabar de decorar la mesa y así estar lista para pasar a cocinar.", "Tu devras parcourir le reste des onglets pour finir de décorer la table et ainsi être prête pour passer à la cuisine.", "Dovrai navigare fra gli altri bottoni per finire di decorare la tavola ed essere così pronta per iniziare a cucinare.", "Terás que percorrer o restante das abas para acabares de decorar a mesa e assim estarás preparada para começar a cozinhar.", "Du musst den Rest der Registerkarte durchgehen, um die Dekoration des Tisches zu vollenden, dann bist du bereit zu kochen.", "You'll have to go through the rest of the tabs to finish decorating the table so that you are ready to go to the kitchen.", "By ukończyć dekorowanie stołu musisz przejrzeć wszystkie zakładki i zabrać się do gotowania.");
public static const TUTO_6:Array = new Array("Una vez en la cocina, tendrás distintas formas de preparar la comida: una de ellas será cortar los ingredientes.", "Une fois dans la cuisine, tu auras plusieurs manières de préparer le repas: l'une d'elles sera de couper les ingrédients.", "Quando sarai nella cucina, avrai vari modi di preparare da mangiare: uno di loro sarà tagliare gli ingredienti.", "Uma vez na cozinha, terás diferentes formas de preparar a comida: uma delas será cortar os ingredientes.", "Wenn du in der Küche bist, hast du verschiedene Formen, das Essen vorzubereiten: Eine von ihnen ist das Schneiden der Zutaten.", "Once in the kitchen, you'll have different ways of preparing the food: one of them will be cutting the ingredients.", "W kuchni będziesz miała do dyspozycji różne sposoby przyrządzania jedzenia. Jednym z nich jest pocięcie wszystkich składników.");
public static const TUTO_7:Array = new Array("Para cortarlos saldrá una barra indicando dónde hay que cortar. Para ello deberás mantener apretado el botón izquierdo del ratón y seguir el recorrido indicado de inicio a fin.", "Pour les couper apparaîtra une barre indiquant où il faut couper. Pour ça tu devras maintenir appuyé le bouton gauche de la souris et continuer le trajet indiqué du début à la fin.", "Per tagliarli ci sarà una barra che indica dove devi tagliare. Per riuscirci dovrai mantenere premuto il tasto sinistro del mouse e seguire la linea tratteggiata dall'inizio alla fine.", "Para cortá-los verás uma barra a indicar onde tens que cortar. Para isso deves manter premido o botão esquerdo do rato e seguir o percuso indicado do começo ao fim.", "Um sie zu schneiden, erscheint eine gestrichelte Linie, die anzeigt, wo geschnitten werden soll. Dazu hältst du die linke Maustaste gedrückt und folgst dem angezeigten Weg vom Anfang bis zum Ende.", "To cut them, a line will appear indicating where you need to cut. To do so, you'll have to click and hold the left mouse button and follow the line from beginning to end.", "Gdy będziesz chciała je pociąć, pojawi się paseczek wskazujący gdzie należy ciąć. By to zrobić należy trzymać przyciśnięty lewy przycisk myszki i przesunąć myszką wskazując początek i koniec.");
public static const TUTO_8:Array = new Array("A la hora de echar ingredientes, saldrá una barra para medir la cantidad. En tal caso, tendrás que hacer clic encima de la barra o botón para parar el movimiento.", "Au moment d'ajouter les ingrédients, une barre apparaîtra pour mesurer la quantité. Dans ce cas, tu devras faire clic sur la barre ou le bouton pour arrêter le mouvement.", "Quando aggiungi gli ingredienti, ci sarà una barra per misurare la quantità. In questo caso dovrai cliccare sulla barra o sul bottone per fermare il movimento.", "Na hora de acrescentar ingredientes, verás uma barra para medir a quantidade. Neste caso, tens que premer sobre a barra ou botão para brecar o movimento.", "Wenn es Zeit ist, die Zutaten hineinzutun, erscheint ein Stab, um die Menge abzumessen. In dem Fall musst du auf die Markierung oder den kleinen Pfeil klicken, um die Bewegung zu stoppen.", "When it's time to add the ingredients, a bar for measuring the amount will appear. In this case, you'll have to click on the bar or button to stop the motion.", "W momencie wrzucania składników, pojawi się paseczek wskazujący odmierzanie ilości. W tym przypadku, by zatrzymać ruch, musisz kliknąć na pasek lub przycisk.");
public static const TUTO_9:Array = new Array("En ciertas ocasiones aparecerán unas flechas que indicarán que hay que hacer un movimiento en el objeto hacia arriba y abajo.", "Dans certaines occasions apparaîtront des flèches qui indiqueront qu'il faut faire un mouvement sur l'objet de haut en bas.", "In alcuni casi compariranno frecce che indicano che bisogna fare un movimento con l'oggetto verso l'alto e verso il basso.", "Em certas ocasiões aparecer-te-ão setas que estarão a indicar-te que é preciso fazer um movimento no objecto para cima e para baixo.", "In bestimmten Fällen erscheinen Pfeile, die dir anzeigen, dass man eine Bewegung auf dem Objekt von oben nach unten machen muss.", "On certain occasions, you will see arrows indicating that it’s necessary to move the cursor from top to bottom over the object.", "W pewnym momencie mogą pojawić się strzałki wskazujące, że trzeba wykonać ruch na przedmiocie z góry na dół.");
public static const FIN_PLATO_2_B:Array = new Array("No ha quedado bien del todo... Espero que Alan no se lo tome a mal.", "Ce n'est pas très réussi... J'espère qu'Alan ne le prendra pas mal.", "Non mi è riuscito proprio bene… Spero che Alan non si arrabbi.", "Não ficou completamente bom... Espero que Alan não se importe.", "Es ist alles nicht so toll gelungen ... Ich hoffe, Alan nimmt mir das nicht übel.", "It didn't turn out so well... I hope that Alan doesn’t mind.", "Nie wyszło najlepiej...Mam nadzieje, że Alan nie będzie miał mi tego za złe.");
public static const FIN_PLATO_2_C:Array = new Array("Se me ha quemado toda la comida, creo que no hay mucho que se pueda aprovechar...", "Le repas est tout brûlé, je crois qu’il n’y a pas grand-chose qui puisse se récupérer...", "Ho bruciato tutto, penso che non ci sia molto da salvare in questo piatto...", "A comida ficou toda queimada, acho que não se pode aproveitar muita coisa...", "Mir ist das ganze Essen angebrannt, ich glaube, man kann nicht viel davon genießen...", "I burned all the food, I don’t think there’s much that I can salvage...", "Spaliłam całe jedzenie, chyba nie zostało z tego za wiele...");
public static const TUTO_1:Array = new Array("Primero haz clic en la pestaña del menú de la derecha para abrir la ventana.", "D'abord fais clic sur l'onglet du menu à droite pour ouvrir la fenêtre.", "Per prima cosa clicca sul bottone del menù a destra per aprire la finestra.", "Primeiro preme na aba do menu da direita para abrires a janela.", "Klicke zuerst auf die Registerkarte im rechten Menü, um das Fenster zu öffnen.", "First, click on the menu on the right to open it.", "Najpierw kliknij w zakładkę menu po prawej stronie i otwórz nowe okno.");
public static const INTRO_1:Array = new Array("¡Qué nervios! ¡Esta noche viene Alan a casa! Hacía tanto tiempo que esperaba este momento... ¡Desde que comenzamos a salir no hemos tenido muchas oportunidades de pasar tiempo a solas y aún menos en casa!", "Quel stress! Cette nuit Alan vient chez moi! Ça faisait si longtemps que j'attendais ce moment... Depuis qu'on sort ensemble on n'a pas eu beaucoup d'occasions de passer du temps ensemble tous seuls et encore moins à la maison!", "Che nervi! Questa sera verrà Alan a casa mia! Aspettavo questo momento da molto tempo... Da quando stiamo insieme non abbiamo avuto molte opportunita di trascorrere un po' di tempo da soli, figurarsi poi in casa!", "Que nervos! Esta noite o Alan vem aqui em casa! Há tanto que esperava por este momento... Desde que começamos a sair não tivemos muitas oportunidades de passarmos um tempo a sós e menos ainda em casa! ", "Wie nervös ich bin! Heute Abend kommt Alan zu mir nach Hause! Ich habe so lange auf diesen Moment gewartet ... Seit wir zusammen gehen, haben wir wenige Gelegenheiten gehabt, Zeit alleine miteinander zu verbringen, schon gar nicht zu Hause!", "I'm so nervous! Tonight Alan is coming to my house! I've been waiting for this moment for so long...Ever since we started going out, we haven't had many opportunities to spend time together by ourselves, let alone at home!", "Ależ jestem zdenerwowana! Dzisiaj przychodzi do mnie do domu Alan. Tak długo czekałam na ten moment... Odkąd się spotykamy nie mieliśmy okazji, żeby pobyć razem na osobności, ani nawet w domu!");
public static const INTRO_2:Array = new Array("¡¡Pero lo tengo todo por los suelos!! ¡Aun no me ha dado tiempo de terminar de decorar el comedor ni de preparar la cena! Necesitaría que me ayudases, por favor...", "Mais tout est sens dessus dessous! Je n'ai pas encore eu le temps de terminer de décorer le salon ni de préparer le dîner! J'aurais besoin de ton aide, s'il te plaît...", "Va tutto storto! Ancora non ho avuto tempo per finire di decorare la sala da pranzo né per preparare la cena! Avrei proprio bisogno del tuo aiuto, per favore...", "Mas está tudo um desmazelo só! Ainda não tive tempo de terminar de decorar a sala de jantar nem de preparar a janta! Estou a precisar da tua ajuda, por favor...", "Aber es liegt alles auf dem Boden herum!! Und ich habe weder genug Zeit gehabt, das Esszimmer herzurichten, noch das Essen zu kochen. Ich brauche bitte deine Hilfe...", "But the place is a mess! I still haven’t had time to decorate the dining room or prepare dinner! I need you to help me, please...", "Ale mam bałagan!! Jeszcze nie miałam czasu na udekorowanie jadalni i na przygotowanie kolacji! Proszę, potrzebuję Twojej pomocy...");
public static var lang:Number;
}
}//package rutch.stage
Section 321
//TheStage (rutch.stage.TheStage)
package rutch.stage {
import flash.net.*;
import flash.events.*;
import flash.display.*;
import com.google.analytics.*;
import flash.utils.*;
import com.google.analytics.components.*;
import rutch.stage.screens.*;
import flash.ui.*;
import flash.media.*;
public class TheStage extends MovieClip {
public var ga_flash_test:FlashTracker;
public var sound_btn__:MovieClip;
public var cuadrados_final__:SC_EndingPuntos;
public var __setPropDict:Dictionary;
public var logo_web__:MovieClip;
public var myMenu:ContextMenu;
public var tracker:AnalyticsTracker;
public var logo_spil__:MovieClip;
public var ending__:SC_Ending;
public var preload__:MovieClip;
public var more__:SimpleButton;
public static var volume:Number = 1;
public static var stageMc:MovieClip;
public function TheStage(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 32, frame33, 36, frame37, 45, frame46, 55, frame56, 65, frame66, 67, frame68, 71, frame72, 75, frame76, 85, frame86, 87, frame88, 95, frame96, 106, frame107, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 64, frame65, 66, frame67, 68, frame69, 69, frame70, 70, frame71, 72, frame73, 73, frame74, 74, frame75, 76, frame77, 77, frame78, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 86, frame87, 88, frame89, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 96, frame97, 97, frame98, 98, frame99, 99, frame100, 100, frame101, 101, frame102, 102, frame103, 103, frame104, 104, frame105, 105, frame106);
TheStage.stageMc = MovieClip(this);
this.preload();
}
public function preload():void{
trace("preloading Stage ...");
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, this.onLoadProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, this.onLoadComplete);
}
public function onButtonClick(_arg1:Event):void{
tracker.trackEvent("love chef", "level more games click", "per click", 0);
}
function __setProp_ga_flash_test_juego_TAPA_37(){
try {
ga_flash_test["componentInspectorSetting"] = true;
} catch(e:Error) {
};
ga_flash_test.account = "UA-6695967-1";
ga_flash_test.mode = "AS3";
ga_flash_test.visualDebug = false;
try {
ga_flash_test["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame2(){
stop();
}
function frame1(){
MochiBot.track(this, "c2bee0ec");
myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
this.contextMenu = myMenu;
}
function frame37(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame33(){
}
function frame38(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame39(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame40(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame42(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame43(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame44(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame45(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame46(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
stop();
}
function frame47(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame41(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame48(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
public function onLoadProgress(_arg1:ProgressEvent):void{
var _local2:int;
var _local3:int;
var _local4:int;
_local2 = _arg1.bytesLoaded;
_local3 = _arg1.bytesTotal;
_local4 = ((_local2 / _local3) * 100);
trace((_local4 + " %"));
MovieClip(this).preload__.percent__.percent__.txt__.text = (_local4 + "%");
MovieClip(this).preload__.percent__.percent__.esfera__.gotoAndStop(_local4);
}
function frame49(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame51(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame52(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame53(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame54(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame55(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame56(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
stop();
}
function frame50(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame58(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame59(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame57(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame60(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame61(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame62(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame63(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame64(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame65(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame66(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
stop();
}
function frame67(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame68(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
logo_web__.gotoAndStop((Languages.lang + 1));
logo_web__.addEventListener(MouseEvent.CLICK, TheStage.gotoWeb);
logo_web__.buttonMode = true;
logo_spil__.addEventListener(MouseEvent.CLICK, TheStage.gotoSpil);
logo_spil__.buttonMode = true;
sound_btn__.addEventListener(MouseEvent.CLICK, soundOnOff);
sound_btn__.buttonMode = true;
if (TheStage.volume == 0){
sound_btn__.gotoAndStop(2);
} else {
sound_btn__.gotoAndStop(1);
};
}
function frame69(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame70(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame72(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
more__.addEventListener(MouseEvent.CLICK, TheStage.gotoWeb);
tracker = new GATracker(this, "UA-6695967-1", "AS3", false);
more__.addEventListener(MouseEvent.CLICK, onButtonClick);
}
function frame73(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame75(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame77(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame71(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
private function init():void{
MovieClip(this).gotoAndPlay(5, "juego");
}
function frame76(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
stop();
}
function frame78(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame74(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame79(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame80(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame81(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame84(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame85(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame87(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame88(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame82(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame83(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame86(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
stop();
}
function frame89(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame90(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame91(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
public function soundOnOff(_arg1:MouseEvent=null):void{
if (TheStage.volume > 0){
TheStage.applyVolume(0);
sound_btn__.gotoAndStop(2);
} else {
TheStage.applyVolume(1);
sound_btn__.gotoAndStop(1);
};
}
function frame95(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame98(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame92(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame93(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame99(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame94(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame97(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame96(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
stop();
}
function frame100(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame101(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame102(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame105(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame106(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame107(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
stop();
}
function frame103(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
function frame104(){
if ((((__setPropDict[ga_flash_test] == undefined)) || (!((((int(__setPropDict[ga_flash_test]) >= 37)) && ((int(__setPropDict[ga_flash_test]) <= 107))))))){
__setPropDict[ga_flash_test] = currentFrame;
__setProp_ga_flash_test_juego_TAPA_37();
};
}
public function onLoadComplete(_arg1:Event):void{
trace("... Load Complete!");
this.init();
}
public static function gotoWeb(_arg1:MouseEvent=null):void{
var url:String;
var request:URLRequest;
var ev = _arg1;
url = Languages.WEBS[Languages.lang];
request = new URLRequest(url);
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace(((("!! " + e) + "\n\tERROR AL HACER REQUEST A ") + url));
};
}
public static function gotoSpil(_arg1:MouseEvent=null):void{
var url:String;
var request:URLRequest;
var ev = _arg1;
url = "http://www.girlsgogames.com/";
request = new URLRequest(url);
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace(((("!! " + e) + "\n\tERROR AL HACER REQUEST A ") + url));
};
}
public static function applyVolume(_arg1:Number):void{
TheStage.volume = _arg1;
SoundMixer.soundTransform = new SoundTransform(TheStage.volume);
}
}
}//package rutch.stage
Section 322
//MochiBot (MochiBot)
package {
import flash.net.*;
import flash.display.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package