STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228095
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/39257519?noj=FRM39257519-5DC" width="1" height="1"></div>

Uphill-Vegas.swf

This is the info page for
Flash #122556

(Click the ID number above for more basic data on this flash file.)


Text
UPHILL

VEGAS

© www.spilgames.com

© www.spilgames.com

BR

<p align="center"><font face="TypographyofCoop-Black" size="40" color="#ffa800" letterSpacing="0.000000" kerning="1">label</font></p>

www.spilgames.com

v1.00

1

2

3

4

20

1.30

pause

3

spacebar

1

2

3

4

7

99999

360!

Chips

time

20

1.30

+

720!

karate kick

guitar solo

the twist

superman

9999

1.30

3

9999

GO!

<p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Сыграй в другие игры-гонки на</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Другие гонки на</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Начать игру</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Как играть</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">НАЖИМАЙ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ДЛЯ ДВИЖЕНИЯ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">НАЖМИ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ДЛЯ ПРЫЖКА</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">НАЖИМАЙ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ДЛЯ ВЫПОЛНЕНИЯ ТРЮКОВ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ПРИ ВЫПОЛНЕНИИ ТРЮКОВ ЗАРЯЖАЕТСЯ УСКОРИТЕЛЬ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">УСКОРИТЕЛЬ ВКЛЮЧАЕТСЯ, КОГДА ЗАПОЛНИТСЯ ПОЛОСКА</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">СОБИРАЙ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">И ПОЛУЧИШЬ БОНУС</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ВРЕМЯ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ФИШЕК</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ПАУЗА</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ДАЛЬШЕ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">НАЗАД</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">ГЛАВНОЕ МЕНЮ</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Ускоритель</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень 1</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень 2</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень 3</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень 4</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень 5</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень 6</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень 7</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень 8</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень не пройден</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Уровень пройден!</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Еще раз</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Меню</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Счет:</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Следующий уровень</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Сохранить результат</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Продолжать</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Супербонус!</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">+1000 очков</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Удар карате</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Гитарное соло</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Твист</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Супермен</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Обратное сальто</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Еще раз</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Жизней:</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">жизней</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Конец игры</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Загрузка…</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Пройден 1 уровень из 8</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Пройден 2 уровень из 8</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Пройден 3 уровень из 8</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Пройден 4 уровень из 8</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Пройден 5 уровень из 8</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Пройден 6 уровень из 8</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Пройден 7 уровень из 8</font></p><p align="left"><font face="Arial Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">Пройден 8 уровень из 8</font></p><p align="left"></p>

<p align="left"><font face="Arial Unicode MS" size="28" color="#000000" letterSpacing="0.000000" kerning="1">ゲームを 始める</font></p>

<p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">开始游戏</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">更多有趣的游戏尽在:如要玩更多赛车游戏,请至:</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">更多赛车游戏尽在:</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">开始游戏</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">游戏说明</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">按 [X] 开车</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">按 [X] 跳跃</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">使用 [X] 来执行特技</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">使用特技会改变您的涡轮流量计</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">当涡轮流量计指示满值时,可激活涡轮能量</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">收集 [X] 可获得额外点数</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">时间</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">筹码</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">暂停</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">继续</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">后退</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">主菜单</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">涡轮能量</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">第 [x] 关</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">闯关失败</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">闯关成功</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">再试一次</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">主菜单</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">分数:</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">下一关</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">提交分数</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">继续</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">超级大奖!</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">+1,000 点</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">空手道飞踢</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">吉他独奏</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">旋转</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">超人</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">后空翻</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">重试</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">剩余生命数:</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">生命数</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">游戏结束</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">加载中……</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">共 8 关,已过 1 关</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">共 8 关,已过 2 关</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">共 8 关,已过 3 关</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">共 8 关,已过 4 关</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">共 8 关,已过 5 关</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">共 8 关,已过 6 关</font></p><p align="left"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="1">共 8 关,已过 7 关</font></p><p align="left"></p>

<p align="left"><font face="TypographyofCoop-Black" size="10" color="#000000" letterSpacing="0.000000" kerning="1">The quick brown fox jumped over teh lazy god.</font></p>

ActionScript [AS3]

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 toURLString():String{ var _local1:Variables = toVariables(); return (_local1.toString()); } public function isNew():Boolean{ return (_new); } public function get utmcn():String{ return ("1"); } public function isEmpty():Boolean{ return (_empty); } public function toVariables():Variables{ var _local1:Variables = new Variables(); _local1.URIencode = true; if (((!(isEmpty())) && (isNew()))){ _local1.utmcn = utmcn; }; if (((!(isEmpty())) && (!(isNew())))){ _local1.utmcr = utmcr; }; return (_local1); } public function get utmcr():String{ return ("1"); } } }//package com.google.analytics.campaign
Section 2
//CampaignKey (com.google.analytics.campaign.CampaignKey) package com.google.analytics.campaign { public class CampaignKey { public var UCMD:String;// = "utm_medium" public var UCID:String;// = "utm_id" public var UCTR:String;// = "utm_term" public var UCSR:String;// = "utm_source" public var UCNO:String;// = "utm_nooverride" public var UCCN:String;// = "utm_campaign" public var UGCLID:String;// = "gclid" public var UCCT:String;// = "utm_content" } }//package com.google.analytics.campaign
Section 3
//CampaignManager (com.google.analytics.campaign.CampaignManager) package com.google.analytics.campaign { import com.google.analytics.core.*; import com.google.analytics.v4.*; import com.google.analytics.debug.*; import com.google.analytics.utils.*; public class CampaignManager { private var _config:Configuration; private var _domainHash:Number; private var _debug:DebugConfiguration; private var _timeStamp:Number; private var _referrer:String; private var _buffer:Buffer; public static const trackingDelimiter:String = "|"; public function CampaignManager(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Number, _arg5:String, _arg6:Number){ _config = _arg1; _debug = _arg2; _buffer = _arg3; _domainHash = _arg4; _referrer = _arg5; _timeStamp = _arg6; } public function getCampaignInformation(_arg1:String, _arg2:Boolean):CampaignInfo{ var _local4:CampaignTracker; var _local8:CampaignTracker; var _local9:int; var _local3:CampaignInfo = new CampaignInfo(); var _local5:Boolean; var _local6:Boolean; var _local7:int; 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 hasNoOverride(_arg1:String):Boolean{ var _local2:CampaignKey = _config.campaignKey; if (_arg1 == ""){ return (false); }; var _local3:Variables = new Variables(_arg1); var _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 getTrackerFromSearchString(_arg1:String):CampaignTracker{ var _local2:CampaignTracker = getOrganicCampaign(); var _local3:CampaignTracker = new CampaignTracker(); var _local4:CampaignKey = _config.campaignKey; if (_arg1 == ""){ return (_local3); }; var _local5:Variables = 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 _local4:Array; var _local5:OrganicReferrer; var _local6:String; if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){ return (_local1); }; var _local2:URL = new URL(_referrer); var _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 getDirectCampaign():CampaignTracker{ var _local1:CampaignTracker = 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 isIgnoredReferral(_arg1:CampaignTracker):Boolean{ if (((_arg1) && ((_arg1.medium == "referral")))){ return (_config.organic.isIgnoredReferral(_arg1.source)); }; return (false); } public function isValid(_arg1:CampaignTracker):Boolean{ if (((_arg1) && (_arg1.isValid()))){ return (true); }; return (false); } public function getReferrerCampaign():CampaignTracker{ var _local1:CampaignTracker; if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){ return (_local1); }; var _local2:URL = new URL(_referrer); var _local3:String = _local2.hostName; var _local4:String = _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 = new URL(_arg1); if (_local3.hostName.indexOf(_arg2.google) > -1){ if (_local3.search.indexOf((_arg2.googleSearchParam + "=")) > -1){ if (_local3.path == ("/" + _arg2.googleCsePath)){ return (true); }; }; }; return (false); } } }//package com.google.analytics.campaign
Section 4
//CampaignTracker (com.google.analytics.campaign.CampaignTracker) package com.google.analytics.campaign { import com.google.analytics.utils.*; public class CampaignTracker { public var content:String; public var source:String; public var clickId:String; public var name:String; public var term:String; public var medium:String; public var id:String; public function CampaignTracker(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:String="", _arg5:String="", _arg6:String="", _arg7:String=""){ this.id = _arg1; this.source = _arg2; this.clickId = _arg3; this.name = _arg4; this.medium = _arg5; this.term = _arg6; this.content = _arg7; } public function isValid():Boolean{ if (((((!((id == ""))) || (!((source == ""))))) || (!((clickId == ""))))){ return (true); }; return (false); } public function toTrackerString():String{ var _local1:Array = []; _addIfNotEmpty(_local1, "utmcsr=", source); _addIfNotEmpty(_local1, "utmccn=", name); _addIfNotEmpty(_local1, "utmcmd=", medium); _addIfNotEmpty(_local1, "utmctr=", term); _addIfNotEmpty(_local1, "utmcct=", content); _addIfNotEmpty(_local1, "utmcid=", id); _addIfNotEmpty(_local1, "utmgclid=", clickId); return (_local1.join(CampaignManager.trackingDelimiter)); } private function _addIfNotEmpty(_arg1:Array, _arg2:String, _arg3:String):void{ if (_arg3 != ""){ _arg3 = _arg3.split("+").join("%20"); _arg3 = _arg3.split(" ").join("%20"); _arg1.push((_arg2 + _arg3)); }; } public function fromTrackerString(_arg1:String):void{ var _local2:String = _arg1.split(CampaignManager.trackingDelimiter).join("&"); var _local3:Variables = new Variables(_local2); if (_local3.hasOwnProperty("utmcid")){ this.id = _local3["utmcid"]; }; if (_local3.hasOwnProperty("utmcsr")){ this.source = _local3["utmcsr"]; }; if (_local3.hasOwnProperty("utmccn")){ this.name = _local3["utmccn"]; }; if (_local3.hasOwnProperty("utmcmd")){ this.medium = _local3["utmcmd"]; }; if (_local3.hasOwnProperty("utmctr")){ this.term = _local3["utmctr"]; }; if (_local3.hasOwnProperty("utmcct")){ this.content = _local3["utmcct"]; }; if (_local3.hasOwnProperty("utmgclid")){ this.clickId = _local3["utmgclid"]; }; } } }//package com.google.analytics.campaign
Section 5
//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 = toVariables(); return (_local1.toString()); } public function get utmsr():String{ return (((_info.screenWidth + "x") + _info.screenHeight)); } 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 get utmcs():String{ return (_info.languageEncoding); } public function toVariables():Variables{ var _local1:Variables = 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 6
//Buffer (com.google.analytics.core.Buffer) package com.google.analytics.core { import flash.events.*; import com.google.analytics.v4.*; import com.google.analytics.debug.*; import flash.net.*; import com.google.analytics.data.*; public dynamic class Buffer { private var _SO:SharedObject; private var _OBJ:Object; private var _utma:UTMA; private var _utmb:UTMB; private var _utmc:UTMC; private var _debug:DebugConfiguration; private var _utmk:UTMK; private var _config:Configuration; private var _utmv:UTMV; private var _utmz:UTMZ; private var _volatile:Boolean; public function Buffer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Boolean=false, _arg4:Object=null){ var _local5:Boolean; var _local6:String; super(); _config = _arg1; _debug = _arg2; UTMB.defaultTimespan = _config.sessionTimeout; UTMZ.defaultTimespan = _config.conversionTimeout; if (!_arg3){ _SO = SharedObject.getLocal(_config.cookieName, _config.cookiePath); _local5 = false; if (_SO.data.utma){ if (!hasUTMA()){ _createUMTA(); }; _utma.fromSharedObject(_SO.data.utma); if (_debug.verbose){ _debug.info(("found: " + _utma.toString(true)), VisualDebugMode.geek); }; if (_utma.isExpired()){ if (_debug.verbose){ _debug.warning("UTMA has expired", VisualDebugMode.advanced); }; _clearUTMA(); _local5 = true; }; }; if (_SO.data.utmb){ if (!hasUTMB()){ _createUMTB(); }; _utmb.fromSharedObject(_SO.data.utmb); if (_debug.verbose){ _debug.info(("found: " + _utmb.toString(true)), VisualDebugMode.geek); }; if (_utmb.isExpired()){ if (_debug.verbose){ _debug.warning("UTMB has expired", VisualDebugMode.advanced); }; _clearUTMB(); _local5 = true; }; }; if (_SO.data.utmc){ delete _SO.data.utmc; _local5 = true; }; if (_SO.data.utmk){ if (!hasUTMK()){ _createUMTK(); }; _utmk.fromSharedObject(_SO.data.utmk); if (_debug.verbose){ _debug.info(("found: " + _utmk.toString()), VisualDebugMode.geek); }; }; if (_SO.data.utmv){ if (!hasUTMV()){ _createUMTV(); }; _utmv.fromSharedObject(_SO.data.utmv); if (_debug.verbose){ _debug.info(("found: " + _utmv.toString(true)), VisualDebugMode.geek); }; if (_utmv.isExpired()){ if (_debug.verbose){ _debug.warning("UTMV has expired", VisualDebugMode.advanced); }; _clearUTMV(); _local5 = true; }; }; if (_SO.data.utmz){ if (!hasUTMZ()){ _createUMTZ(); }; _utmz.fromSharedObject(_SO.data.utmz); if (_debug.verbose){ _debug.info(("found: " + _utmz.toString(true)), VisualDebugMode.geek); }; if (_utmz.isExpired()){ if (_debug.verbose){ _debug.warning("UTMZ has expired", VisualDebugMode.advanced); }; _clearUTMZ(); _local5 = true; }; }; if (_local5){ save(); }; } else { _OBJ = new Object(); if (_arg4){ for (_local6 in _arg4) { _OBJ[_local6] = _arg4[_local6]; }; }; }; _volatile = _arg3; } public function clearCookies():void{ utma.reset(); utmb.reset(); utmc.reset(); utmz.reset(); utmv.reset(); utmk.reset(); } public function save():void{ var flushStatus:String; if (!isVolatile()){ flushStatus = null; try { flushStatus = _SO.flush(); } catch(e:Error) { _debug.warning("Error...Could not write SharedObject to disk"); }; switch (flushStatus){ case SharedObjectFlushStatus.PENDING: _debug.info("Requesting permission to save object..."); _SO.addEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus); break; case SharedObjectFlushStatus.FLUSHED: _debug.info("Value flushed to disk."); break; }; }; } public function get utmv():UTMV{ if (!hasUTMV()){ _createUMTV(); }; return (_utmv); } public function get utmz():UTMZ{ if (!hasUTMZ()){ _createUMTZ(); }; return (_utmz); } public function hasUTMA():Boolean{ if (_utma){ return (true); }; return (false); } public function hasUTMB():Boolean{ if (_utmb){ return (true); }; return (false); } public function hasUTMC():Boolean{ if (_utmc){ return (true); }; return (false); } public function isGenuine():Boolean{ if (!hasUTMK()){ return (true); }; return ((utmk.hash == generateCookiesHash())); } public function resetCurrentSession():void{ _clearUTMB(); _clearUTMC(); save(); } public function hasUTMK():Boolean{ if (_utmk){ return (true); }; return (false); } public function generateCookiesHash():Number{ var _local1 = ""; _local1 = (_local1 + utma.valueOf()); _local1 = (_local1 + utmb.valueOf()); _local1 = (_local1 + utmc.valueOf()); _local1 = (_local1 + utmz.valueOf()); _local1 = (_local1 + utmv.valueOf()); return (Utils.generateHash(_local1)); } private function _createUMTB():void{ _utmb = new UTMB(); _utmb.proxy = this; } private function _createUMTC():void{ _utmc = new UTMC(); } private function _createUMTA():void{ _utma = new UTMA(); _utma.proxy = this; } public function hasUTMV():Boolean{ if (_utmv){ return (true); }; return (false); } private function _createUMTK():void{ _utmk = new UTMK(); _utmk.proxy = this; } public function hasUTMZ():Boolean{ if (_utmz){ return (true); }; return (false); } private function _createUMTV():void{ _utmv = new UTMV(); _utmv.proxy = this; } private function _onFlushStatus(_arg1:NetStatusEvent):void{ _debug.info("User closed permission dialog..."); switch (_arg1.info.code){ case "SharedObject.Flush.Success": _debug.info("User granted permission -- value saved."); break; case "SharedObject.Flush.Failed": _debug.info("User denied permission -- value not saved."); break; }; _SO.removeEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus); } private function _createUMTZ():void{ _utmz = new UTMZ(); _utmz.proxy = this; } public function updateUTMA(_arg1:Number):void{ if (_debug.verbose){ _debug.info((("updateUTMA( " + _arg1) + " )"), VisualDebugMode.advanced); }; if (!utma.isEmpty()){ if (isNaN(utma.sessionCount)){ utma.sessionCount = 1; } else { utma.sessionCount = (utma.sessionCount + 1); }; utma.lastTime = utma.currentTime; utma.currentTime = _arg1; }; } private function _clearUTMA():void{ _utma = null; if (!isVolatile()){ _SO.data.utma = null; delete _SO.data.utma; }; } private function _clearUTMC():void{ _utmc = null; } private function _clearUTMB():void{ _utmb = null; if (!isVolatile()){ _SO.data.utmb = null; delete _SO.data.utmb; }; } public function update(_arg1:String, _arg2):void{ if (isVolatile()){ _OBJ[_arg1] = _arg2; } else { _SO.data[_arg1] = _arg2; }; } private function _clearUTMZ():void{ _utmz = null; if (!isVolatile()){ _SO.data.utmz = null; delete _SO.data.utmz; }; } private function _clearUTMV():void{ _utmv = null; if (!isVolatile()){ _SO.data.utmv = null; delete _SO.data.utmv; }; } public function isVolatile():Boolean{ return (_volatile); } public function get utma():UTMA{ if (!hasUTMA()){ _createUMTA(); }; return (_utma); } public function get utmb():UTMB{ if (!hasUTMB()){ _createUMTB(); }; return (_utmb); } public function get utmc():UTMC{ if (!hasUTMC()){ _createUMTC(); }; return (_utmc); } public function get utmk():UTMK{ if (!hasUTMK()){ _createUMTK(); }; return (_utmk); } } }//package com.google.analytics.core
Section 7
//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 _pageURL:String; private var _utmr:String; private var _config:Configuration; private var _adSense:AdSenseGlobals; private var _info:Environment; 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 = toVariables(); return (_local1.toString()); } private function _renderPageURL(_arg1:String=""):String{ var _local2:String = _info.locationPath; var _local3:String = _info.locationSearch; if (((!(_arg1)) || ((_arg1 == "")))){ _arg1 = (_local2 + unescape(_local3)); }; return (_arg1); } public function get utmp():String{ return (_renderPageURL(_pageURL)); } public function get utmhid():String{ return (String(_generateHitId())); } 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 toVariables():Variables{ var _local1:Variables = 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 8
//Domain (com.google.analytics.core.Domain) package com.google.analytics.core { import com.google.analytics.debug.*; public class Domain { private var _mode:DomainNameMode; private var _debug:DebugConfiguration; private var _name:String; public function Domain(_arg1:DomainNameMode=null, _arg2:String="", _arg3:DebugConfiguration=null){ _debug = _arg3; if (_arg1 == null){ _arg1 = DomainNameMode.auto; }; _mode = _arg1; if (_arg1 == DomainNameMode.custom){ this.name = _arg2; } else { _name = _arg2; }; } public function get mode():DomainNameMode{ return (_mode); } public function set mode(_arg1:DomainNameMode):void{ _mode = _arg1; if (_mode == DomainNameMode.none){ _name = ""; }; } public function get name():String{ return (_name); } public function set name(_arg1:String):void{ if (((!((_arg1.charAt(0) == "."))) && (_debug))){ _debug.warning(("missing leading period \".\", cookie will only be accessible on " + _arg1), VisualDebugMode.geek); }; _name = _arg1; } } }//package com.google.analytics.core
Section 9
//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 10
//EventInfo (com.google.analytics.core.EventInfo) package com.google.analytics.core { import com.google.analytics.utils.*; import com.google.analytics.data.*; public class EventInfo { private var _ext10:X10; private var _isEventHit:Boolean; 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 = 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 = new Variables(); _local1.URIencode = true; if (_isEventHit){ _local1.utmt = utmt; }; _local1.utme = utme; return (_local1); } } }//package com.google.analytics.core
Section 11
//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 12
//ga_internal (com.google.analytics.core.ga_internal) package com.google.analytics.core { public namespace ga_internal; }//package com.google.analytics.core
Section 13
//GIFRequest (com.google.analytics.core.GIFRequest) package com.google.analytics.core { import flash.display.*; import flash.events.*; import com.google.analytics.v4.*; import com.google.analytics.debug.*; import flash.net.*; import com.google.analytics.utils.*; import flash.system.*; public class GIFRequest { private var _info:Environment; private var _count:int; private var _utmac:String; private var _alertcount:int; private var _debug:DebugConfiguration; private var _lastRequest:URLRequest; private var _buffer:Buffer; private var _config:Configuration; private var _requests:Array; public function GIFRequest(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Environment){ _config = _arg1; _debug = _arg2; _buffer = _arg3; _info = _arg4; _count = 0; _alertcount = 0; _requests = []; } public function get utmn():String{ return ((Utils.generate32bitRandom() as String)); } public function onIOError(_arg1:IOErrorEvent):void{ var _local2:String = _lastRequest.url; var _local3:String = String((_requests.length - 1)); var _local4 = (("Gif Request #" + _local3) + " failed"); if (_debug.GIFRequests){ if (!_debug.verbose){ if (_local2.indexOf("?") > -1){ _local2 = _local2.split("?")[0]; }; _local2 = _shortenURL(_local2); }; if (int(_debug.mode) > int(VisualDebugMode.basic)){ _local4 = (_local4 + ((" \"" + _local2) + "\" does not exists or is unreachable")); }; _debug.failure(_local4); } else { _debug.warning(_local4); }; _removeListeners(_arg1.target); } public function send(_arg1:String, _arg2:Variables=null, _arg3:Boolean=false, _arg4:Boolean=false):void{ var _local5:String; var _local6:URLRequest; var _local7:URLRequest; _utmac = _arg1; if (!_arg2){ _arg2 = new Variables(); }; _arg2.URIencode = false; _arg2.pre = ["utmwv", "utmn", "utmhn", "utmt", "utme", "utmcs", "utmsr", "utmsc", "utmul", "utmje", "utmfl", "utmdt", "utmhid", "utmr", "utmp"]; _arg2.post = ["utmcc"]; if (_debug.verbose){ _debug.info(((("tracking: " + _buffer.utmb.trackCount) + "/") + _config.trackingLimitPerSession), VisualDebugMode.geek); }; if ((((_buffer.utmb.trackCount < _config.trackingLimitPerSession)) || (_arg3))){ if (_arg4){ updateToken(); }; if (((((_arg3) || (!(_arg4)))) || ((_buffer.utmb.token >= 1)))){ if (((!(_arg3)) && (_arg4))){ _buffer.utmb.token = (_buffer.utmb.token - 1); }; _buffer.utmb.trackCount = (_buffer.utmb.trackCount + 1); if (_debug.verbose){ _debug.info(_buffer.utmb.toString(), VisualDebugMode.geek); }; _arg2.utmwv = utmwv; _arg2.utmn = Utils.generate32bitRandom(); if (_info.domainName != ""){ _arg2.utmhn = _info.domainName; }; if (_config.sampleRate < 1){ _arg2.utmsp = (_config.sampleRate * 100); }; if ((((_config.serverMode == ServerOperationMode.local)) || ((_config.serverMode == ServerOperationMode.both)))){ _local5 = _info.locationSWFPath; if (_local5.lastIndexOf("/") > 0){ _local5 = _local5.substring(0, _local5.lastIndexOf("/")); }; _local6 = new URLRequest(); if (_config.localGIFpath.indexOf("http") == 0){ _local6.url = _config.localGIFpath; } else { _local6.url = (_local5 + _config.localGIFpath); }; _local6.url = (_local6.url + ("?" + _arg2.toString())); if (((_debug.active) && (_debug.GIFRequests))){ _debugSend(_local6); } else { sendRequest(_local6); }; }; if ((((_config.serverMode == ServerOperationMode.remote)) || ((_config.serverMode == ServerOperationMode.both)))){ _local7 = new URLRequest(); if (_info.protocol == Protocols.HTTPS){ _local7.url = _config.secureRemoteGIFpath; } else { if (_info.protocol == Protocols.HTTP){ _local7.url = _config.remoteGIFpath; } else { _local7.url = _config.remoteGIFpath; }; }; _arg2.utmac = utmac; _arg2.utmcc = encodeURIComponent(utmcc); _local7.url = (_local7.url + ("?" + _arg2.toString())); if (((_debug.active) && (_debug.GIFRequests))){ _debugSend(_local7); } else { sendRequest(_local7); }; }; }; }; } public function onSecurityError(_arg1:SecurityErrorEvent):void{ if (_debug.GIFRequests){ _debug.failure(_arg1.text); }; } public function get utmsp():String{ return (((_config.sampleRate * 100) as String)); } public function get utmcc():String{ var _local1:Array = []; if (_buffer.hasUTMA()){ _local1.push((_buffer.utma.toURLString() + ";")); }; if (_buffer.hasUTMZ()){ _local1.push((_buffer.utmz.toURLString() + ";")); }; if (_buffer.hasUTMV()){ _local1.push((_buffer.utmv.toURLString() + ";")); }; return (_local1.join("+")); } public function get utmac():String{ return (_utmac); } public function get utmwv():String{ return (_config.version); } public function sendRequest(_arg1:URLRequest):void{ var request = _arg1; var loader:Loader = new Loader(); loader.name = String(_count++); var context:LoaderContext = new LoaderContext(false); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIOError); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete); _lastRequest = request; _requests[loader.name] = new RequestObject(request); try { loader.load(request, context); } catch(e:Error) { _debug.failure("\"Loader.load()\" could not instanciate Gif Request"); }; } private function _removeListeners(_arg1:Object):void{ _arg1.removeEventListener(IOErrorEvent.IO_ERROR, onIOError); _arg1.removeEventListener(Event.COMPLETE, onComplete); } public function updateToken():void{ var _local2:Number; var _local1:Number = new Date().getTime(); _local2 = ((_local1 - _buffer.utmb.lastTime) * (_config.tokenRate / 1000)); if (_debug.verbose){ _debug.info(("tokenDelta: " + _local2), VisualDebugMode.geek); }; if (_local2 >= 1){ _buffer.utmb.token = Math.min(Math.floor((_buffer.utmb.token + _local2)), _config.bucketCapacity); _buffer.utmb.lastTime = _local1; if (_debug.verbose){ _debug.info(_buffer.utmb.toString(), VisualDebugMode.geek); }; }; } public function get utmhn():String{ return (_info.domainName); } private function _shortenURL(_arg1:String):String{ var _local2:Array; if (_arg1.length > 60){ _local2 = _arg1.split("/"); while (_arg1.length > 60) { _local2.shift(); _arg1 = ("../" + _local2.join("/")); }; }; return (_arg1); } private function _debugSend(_arg1:URLRequest):void{ var _local3:String; var _local2 = ""; switch (_debug.mode){ case VisualDebugMode.geek: _local2 = ((("Gif Request #" + _alertcount) + ":\n") + _arg1.url); break; case VisualDebugMode.advanced: _local3 = _arg1.url; if (_local3.indexOf("?") > -1){ _local3 = _local3.split("?")[0]; }; _local3 = _shortenURL(_local3); _local2 = (((("Send Gif Request #" + _alertcount) + ":\n") + _local3) + " ?"); break; case VisualDebugMode.basic: default: _local2 = (((("Send " + _config.serverMode.toString()) + " Gif Request #") + _alertcount) + " ?"); }; _debug.alertGifRequest(_local2, _arg1, this); _alertcount++; } public function onComplete(_arg1:Event):void{ var _local2:String = _arg1.target.loader.name; _requests[_local2].complete(); var _local3 = (("Gif Request #" + _local2) + " sent"); var _local4:String = _requests[_local2].request.url; if (_debug.GIFRequests){ if (!_debug.verbose){ if (_local4.indexOf("?") > -1){ _local4 = _local4.split("?")[0]; }; _local4 = _shortenURL(_local4); }; if (int(_debug.mode) > int(VisualDebugMode.basic)){ _local3 = (_local3 + ((" to \"" + _local4) + "\"")); }; _debug.success(_local3); } else { _debug.info(_local3); }; _removeListeners(_arg1.target); } } }//package com.google.analytics.core
Section 14
//IdleTimer (com.google.analytics.core.IdleTimer) package com.google.analytics.core { import flash.display.*; import flash.events.*; import com.google.analytics.v4.*; import com.google.analytics.debug.*; import flash.utils.*; public class IdleTimer { private var _stage:Stage; private var _loop:Timer; private var _lastMove:int; private var _inactivity:Number; private var _debug:DebugConfiguration; private var _session:Timer; private var _buffer:Buffer; public function IdleTimer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:DisplayObject, _arg4:Buffer){ var _local5:Number = _arg1.idleLoop; var _local6:Number = _arg1.idleTimeout; var _local7:Number = _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 = getTimer(); if ((_local2 - _lastMove) >= _inactivity){ if (!_session.running){ _debug.info("session timer start", VisualDebugMode.geek); _session.start(); }; }; } } }//package com.google.analytics.core
Section 15
//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 isIgnoredKeyword(_arg1:String):Boolean{ if (_ignoredKeywordsCache.hasOwnProperty(_arg1)){ return (true); }; return (false); } public function getKeywordValue(_arg1:OrganicReferrer, _arg2:String):String{ var _local3:String = _arg1.keyword; return (getKeywordValueFromPath(_local3, _arg2)); } public function isIgnoredReferral(_arg1:String):Boolean{ if (_ignoredReferralsCache.hasOwnProperty(_arg1)){ return (true); }; return (false); } public function clear():void{ clearEngines(); clearIgnoredReferrals(); clearIgnoredKeywords(); } public function get count():int{ return (_sources.length); } 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 clearIgnoredKeywords():void{ _ignoredKeywords = []; _ignoredKeywordsCache = {}; } public function addSource(_arg1:String, _arg2:String):void{ var _local3:OrganicReferrer = 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 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 16
//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 get keyword():String{ return (_keyword); } public function get engine():String{ return (_engine); } public function set engine(_arg1:String):void{ _engine = _arg1.toLowerCase(); } public function toString():String{ return (((engine + "?") + keyword)); } public function set keyword(_arg1:String):void{ _keyword = _arg1.toLowerCase(); } } }//package com.google.analytics.core
Section 17
//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 end:int; public var request:URLRequest; public function RequestObject(_arg1:URLRequest){ start = getTimer(); this.request = _arg1; } public function hasCompleted():Boolean{ return ((end > 0)); } public function toString():String{ var _local1:Array = []; _local1.push((("duration: " + duration) + "ms")); _local1.push(("url: " + request.url)); return ((("{ " + _local1.join(", ")) + " }")); } public function complete():void{ end = getTimer(); } public function get duration():int{ if (!hasCompleted()){ return (0); }; return ((end - start)); } } }//package com.google.analytics.core
Section 18
//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 19
//TrackerCache (com.google.analytics.core.TrackerCache) package com.google.analytics.core { import com.google.analytics.v4.*; import flash.errors.*; public class TrackerCache implements GoogleAnalyticsAPI { public var tracker:GoogleAnalyticsAPI; private var _ar:Array; public static var CACHE_THROW_ERROR:Boolean; public function TrackerCache(_arg1:GoogleAnalyticsAPI=null){ this.tracker = _arg1; _ar = []; } public function size():uint{ return (_ar.length); } public function flush():void{ var _local1:Object; var _local2:String; var _local3:Array; var _local4:int; var _local5:int; if (tracker == null){ return; }; if (size() > 0){ _local4 = _ar.length; while (_local5 < _local4) { _local1 = _ar.shift(); _local2 = (_local1.name as String); _local3 = (_local1.args as Array); if (((!((_local2 == null))) && ((_local2 in tracker)))){ (tracker[_local2] as Function).apply(tracker, _local3); }; _local5++; }; }; } public function enqueue(_arg1:String, ... _args):Boolean{ if (_arg1 == null){ return (false); }; _ar.push({name:_arg1, args:_args}); return (true); } public function link(_arg1:String, _arg2:Boolean=false):void{ enqueue("link", _arg1, _arg2); } public function addOrganic(_arg1:String, _arg2:String):void{ enqueue("addOrganic", _arg1, _arg2); } public function setAllowLinker(_arg1:Boolean):void{ enqueue("setAllowLinker", _arg1); } public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{ enqueue("trackEvent", _arg1, _arg2, _arg3, _arg4); return (true); } public function getClientInfo():Boolean{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'getClientInfo' method for the moment.")); }; return (false); } public function trackTrans():void{ enqueue("trackTrans"); } public function trackPageview(_arg1:String=""):void{ enqueue("trackPageview", _arg1); } public function setClientInfo(_arg1:Boolean):void{ enqueue("setClientInfo", _arg1); } public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{ enqueue("linkByPost", _arg1, _arg2); } public function setCookieTimeout(_arg1:int):void{ enqueue("setCookieTimeout", _arg1); } public function isEmpty():Boolean{ return ((_ar.length == 0)); } public function getDetectTitle():Boolean{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectTitle' method for the moment.")); }; return (false); } public function resetSession():void{ enqueue("resetSession"); } public function setDetectFlash(_arg1:Boolean):void{ enqueue("setDetectFlash", _arg1); } public function clear():void{ _ar = []; } public function setCampNameKey(_arg1:String):void{ enqueue("setCampNameKey", _arg1); } public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{ enqueue("addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } public function createEventTracker(_arg1:String):EventTracker{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'createEventTracker' method for the moment.")); }; return (null); } public function setVar(_arg1:String):void{ enqueue("setVar", _arg1); } public function clearIgnoredOrganic():void{ enqueue("clearIgnoredOrganic"); } public function setDomainName(_arg1:String):void{ enqueue("setDomainName", _arg1); } public function setCampSourceKey(_arg1:String):void{ enqueue("setCampSourceKey", _arg1); } public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'addTrans' method for the moment.")); }; return (null); } public function setCampContentKey(_arg1:String):void{ enqueue("setCampContentKey", _arg1); } public function setLocalServerMode():void{ enqueue("setLocalServerMode"); } public function getLocalGifPath():String{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'getLocalGifPath' method for the moment.")); }; return (""); } public function setAllowAnchor(_arg1:Boolean):void{ enqueue("setAllowAnchor", _arg1); } public function clearIgnoredRef():void{ enqueue("clearIgnoredRef"); } public function setLocalGifPath(_arg1:String):void{ enqueue("setLocalGifPath", _arg1); } public function getVersion():String{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'getVersion' method for the moment.")); }; return (""); } public function setCookiePath(_arg1:String):void{ enqueue("setCookiePath", _arg1); } public function setSampleRate(_arg1:Number):void{ enqueue("setSampleRate", _arg1); } public function setDetectTitle(_arg1:Boolean):void{ enqueue("setDetectTitle", _arg1); } public function setAllowHash(_arg1:Boolean):void{ enqueue("setAllowHash", _arg1); } public function addIgnoredOrganic(_arg1:String):void{ enqueue("addIgnoredOrganic", _arg1); } public function setCampNOKey(_arg1:String):void{ enqueue("setCampNOKey", _arg1); } public function getServiceMode():ServerOperationMode{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'getServiceMode' method for the moment.")); }; return (null); } public function setLocalRemoteServerMode():void{ enqueue("setLocalRemoteServerMode"); } public function cookiePathCopy(_arg1:String):void{ enqueue("cookiePathCopy", _arg1); } public function getDetectFlash():Boolean{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectFlash' method for the moment.")); }; return (false); } public function setCampaignTrack(_arg1:Boolean):void{ enqueue("setCampaignTrack", _arg1); } public function clearOrganic():void{ enqueue("clearOrganic"); } public function setCampTermKey(_arg1:String):void{ enqueue("setCampTermKey", _arg1); } public function addIgnoredRef(_arg1:String):void{ enqueue("addIgnoredRef", _arg1); } public function setCampMediumKey(_arg1:String):void{ enqueue("setCampMediumKey", _arg1); } public function setSessionTimeout(_arg1:int):void{ enqueue("setSessionTimeout", _arg1); } public function setRemoteServerMode():void{ enqueue("setRemoteServerMode"); } public function element(){ return (_ar[0]); } public function getAccount():String{ if (CACHE_THROW_ERROR){ throw (new IllegalOperationError("The tracker is not ready and you can use the 'getAccount' method for the moment.")); }; return (""); } } }//package com.google.analytics.core
Section 20
//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 21
//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 _local5:int; var _local6:int; var _local7:int; if (_arg1 == ""){ return (""); }; var _local3:Array = [" ", "\n", "\r", "\t"]; var _local4:String = _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 _local4:int; var _local5:int; var _local2 = 1; var _local3:int; 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 = /^UA-[0-9]*-[0-9]*$/; return (_local2.test(_arg1)); } } }//package com.google.analytics.core
Section 22
//Cookie (com.google.analytics.data.Cookie) package com.google.analytics.data { public interface Cookie { function fromSharedObject(_arg1:Object):void; function toURLString():String; function get creation():Date; function toSharedObject():Object; function isExpired():Boolean; function set creation(_arg1:Date):void; function set expiration(_arg1:Date):void; function get expiration():Date; } }//package com.google.analytics.data
Section 23
//UTMA (com.google.analytics.data.UTMA) package com.google.analytics.data { import com.google.analytics.utils.*; public class UTMA extends UTMCookie { private var _sessionId:Number; private var _domainHash:Number; private var _firstTime:Number; private var _currentTime:Number; private var _lastTime:Number; private var _sessionCount:Number; public function UTMA(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:Number=NaN, _arg6:Number=NaN){ super("utma", "__utma", ["domainHash", "sessionId", "firstTime", "lastTime", "currentTime", "sessionCount"], (Timespan.twoyears * 1000)); this.domainHash = _arg1; this.sessionId = _arg2; this.firstTime = _arg3; this.lastTime = _arg4; this.currentTime = _arg5; this.sessionCount = _arg6; } public function get lastTime():Number{ return (_lastTime); } public function set lastTime(_arg1:Number):void{ _lastTime = _arg1; update(); } public function set currentTime(_arg1:Number):void{ _currentTime = _arg1; update(); } public function get sessionId():Number{ return (_sessionId); } public function get sessionCount():Number{ return (_sessionCount); } public function get firstTime():Number{ return (_firstTime); } public function get currentTime():Number{ return (_currentTime); } public function set domainHash(_arg1:Number):void{ _domainHash = _arg1; update(); } public function set sessionId(_arg1:Number):void{ _sessionId = _arg1; update(); } public function set sessionCount(_arg1:Number):void{ _sessionCount = _arg1; update(); } public function get domainHash():Number{ return (_domainHash); } public function set firstTime(_arg1:Number):void{ _firstTime = _arg1; update(); } } }//package com.google.analytics.data
Section 24
//UTMB (com.google.analytics.data.UTMB) package com.google.analytics.data { import com.google.analytics.utils.*; public class UTMB extends UTMCookie { private var _trackCount:Number; private var _lastTime:Number; private var _domainHash:Number; private var _token:Number; public static var defaultTimespan:Number = Timespan.thirtyminutes; public function UTMB(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN){ super("utmb", "__utmb", ["domainHash", "trackCount", "token", "lastTime"], (defaultTimespan * 1000)); this.domainHash = _arg1; this.trackCount = _arg2; this.token = _arg3; this.lastTime = _arg4; } public function set token(_arg1:Number):void{ _token = _arg1; update(); } public function set trackCount(_arg1:Number):void{ _trackCount = _arg1; update(); } public function get lastTime():Number{ return (_lastTime); } public function set domainHash(_arg1:Number):void{ _domainHash = _arg1; update(); } public function set lastTime(_arg1:Number):void{ _lastTime = _arg1; update(); } public function get domainHash():Number{ return (_domainHash); } public function get token():Number{ return (_token); } public function get trackCount():Number{ return (_trackCount); } } }//package com.google.analytics.data
Section 25
//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 get domainHash():Number{ return (_domainHash); } public function set domainHash(_arg1:Number):void{ _domainHash = _arg1; update(); } } }//package com.google.analytics.data
Section 26
//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; protected var fields:Array; private var _timespan:Number; 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 _local2:String; var _local1:int; var _local3:int; 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); } public function resetTimestamp(_arg1:Number=NaN):void{ if (!isNaN(_arg1)){ _timespan = _arg1; }; _creation = null; _expiration = null; _timestamp(_timespan); } protected function update():void{ resetTimestamp(); if (proxy){ proxy.update(name, toSharedObject()); }; } public function reset():void{ var _local1:String; var _local2:int; 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 fromSharedObject(_arg1:Object):void{ var _local2:String; var _local3:int = fields.length; var _local4:int; 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 = new Date(); var _local2:Number = (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 valueOf():String{ var _local2:String; var _local3:*; var _local1:Array = []; var _local4:int; 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 toURLString():String{ return (((inURL + "=") + valueOf())); } public function get expiration():Date{ if (_expiration){ return (_expiration); }; return (new Date((new Date().valueOf() + 1000))); } public function toSharedObject():Object{ var _local2:String; var _local3:*; var _local1:Object = {}; var _local4:int; 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 _local3:String; var _local4:*; var _local2:Array = []; var _local5:int = fields.length; var _local6:int; 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)); }; }; }; }; var _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 27
//UTMK (com.google.analytics.data.UTMK) package com.google.analytics.data { public class UTMK extends UTMCookie { private var _hash:Number; public function UTMK(_arg1:Number=NaN){ super("utmk", "__utmk", ["hash"]); this.hash = _arg1; } public function set hash(_arg1:Number):void{ _hash = _arg1; update(); } public function get hash():Number{ return (_hash); } } }//package com.google.analytics.data
Section 28
//UTMV (com.google.analytics.data.UTMV) package com.google.analytics.data { import com.google.analytics.utils.*; public class UTMV extends UTMCookie { private var _domainHash:Number; private var _value:String; public function UTMV(_arg1:Number=NaN, _arg2:String=""){ super("utmv", "__utmv", ["domainHash", "value"], (Timespan.twoyears * 1000)); this.domainHash = _arg1; this.value = _arg2; } override public function toURLString():String{ return (((inURL + "=") + encodeURI(valueOf()))); } public function get value():String{ return (_value); } public function get domainHash():Number{ return (_domainHash); } public function set domainHash(_arg1:Number):void{ _domainHash = _arg1; update(); } public function set value(_arg1:String):void{ _value = _arg1; update(); } } }//package com.google.analytics.data
Section 29
//UTMZ (com.google.analytics.data.UTMZ) package com.google.analytics.data { import com.google.analytics.utils.*; public class UTMZ extends UTMCookie { private var _campaignTracking:String; private var _campaignCreation:Number; private var _responseCount:Number; private var _domainHash:Number; private var _campaignSessions:Number; public static var defaultTimespan:Number = Timespan.sixmonths; public function UTMZ(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:String=""){ super("utmz", "__utmz", ["domainHash", "campaignCreation", "campaignSessions", "responseCount", "campaignTracking"], (defaultTimespan * 1000)); this.domainHash = _arg1; this.campaignCreation = _arg2; this.campaignSessions = _arg3; this.responseCount = _arg4; this.campaignTracking = _arg5; } public function set responseCount(_arg1:Number):void{ _responseCount = _arg1; update(); } public function set domainHash(_arg1:Number):void{ _domainHash = _arg1; update(); } public function set campaignCreation(_arg1:Number):void{ _campaignCreation = _arg1; update(); } public function get campaignTracking():String{ return (_campaignTracking); } public function get campaignSessions():Number{ return (_campaignSessions); } public function get domainHash():Number{ return (_domainHash); } public function get responseCount():Number{ return (_responseCount); } public function get campaignCreation():Number{ return (_campaignCreation); } public function set campaignSessions(_arg1:Number):void{ _campaignSessions = _arg1; update(); } public function set campaignTracking(_arg1:String):void{ _campaignTracking = _arg1; update(); } } }//package com.google.analytics.data
Section 30
//X10 (com.google.analytics.data.X10) package com.google.analytics.data { public class X10 { private var _delimEnd:String;// = ")" private var _minimum:int; 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 _hasData:int; private var _escapeCharMap:Object; private var _projectData:Object; private var _value:String;// = "v" public function X10(){ _set = [_key, _value]; super(); _projectData = {}; _escapeCharMap = {}; _escapeCharMap[_escapeChar] = "'0"; _escapeCharMap[_delimEnd] = "'1"; _escapeCharMap[_delimSet] = "'2"; _escapeCharMap[_delimNumValue] = "'3"; _minimum = 1; } 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); } private function _renderProject(_arg1:Object):String{ var _local4:int; var _local5:Array; var _local2 = ""; var _local3:Boolean; var _local6:int = _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); } 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 _local3:String; var _local4:int; var _local2:Array = []; _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 hasData():Boolean{ return ((_hasData > 0)); } public function renderMergedUrlString(_arg1:X10=null):String{ var _local3:String; if (!_arg1){ return (renderUrlString()); }; var _local2:Array = [_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 _local2:String; var _local1:Array = []; 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 clearValue(_arg1:Number):void{ _clearInternal(_arg1, _value); } 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 getValue(_arg1:Number, _arg2:Number){ var _local3:* = _getInternal(_arg1, _value, _arg2); if (_local3 == null){ return (null); }; return (Number(_local3)); } private function _escapeExtensibleValue(_arg1:String):String{ var _local3:int; var _local4:String; var _local5:String; var _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 31
//_Style (com.google.analytics.debug._Style) package com.google.analytics.debug { import flash.text.*; import flash.net.*; public class _Style { public var failureColor:uint; public var borderColor:uint; public var backgroundColor:uint; private var _sheet:StyleSheet; public var roundedCorner:uint; public var warningColor:uint; public var infoColor:uint; public var alertColor:uint; public var successColor:uint; private var _loader:URLLoader; private var _defaultSheet:String; 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 32
//Alert (com.google.analytics.debug.Alert) package com.google.analytics.debug { import flash.events.*; public class Alert extends Label { public var autoClose:Boolean;// = true public var actionOnNextLine: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){ 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 = []; var _local8:int; while (_local8 < _arg2.length) { _arg2[_local8].container = this; _actions.push(_arg2[_local8]); _local8++; }; } private function _defineActions():void{ var _local3:AlertAction; var _local1 = ""; if (actionOnNextLine){ _local1 = (_local1 + "\n"); } else { _local1 = (_local1 + " |"); }; _local1 = (_local1 + " "); var _local2:Array = []; var _local4:int; 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"); } protected function isValidAction(_arg1:String):Boolean{ var _local2:int; while (_local2 < _actions.length) { if (_arg1 == _actions[_local2].activator){ return (true); }; _local2++; }; return (false); } override protected function layout():void{ super.layout(); _defineActions(); } protected function getAction(_arg1:String):AlertAction{ var _local2:int; while (_local2 < _actions.length) { if (_arg1 == _actions[_local2].activator){ return (_actions[_local2]); }; _local2++; }; return (null); } protected function spaces(_arg1:int):String{ var _local2 = ""; var _local3 = " "; var _local4:int; 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(); }; } public function close():void{ if (parent != null){ parent.removeChild(this); }; } } }//package com.google.analytics.debug
Section 33
//AlertAction (com.google.analytics.debug.AlertAction) package com.google.analytics.debug { public class AlertAction { public var container:Alert; private var _callback; public var activator:String; public var name: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 34
//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 35
//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 = 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 36
//Debug (com.google.analytics.debug.Debug) package com.google.analytics.debug { import flash.events.*; import flash.ui.*; public class Debug extends Label { private var _lines:Array; private var _preferredForcedWidth:uint;// = 540 private var _linediff:int;// = 0 public var maxLines:uint;// = 16 public static var count:uint = 0; public function Debug(_arg1:uint=0, _arg2:Align=null, _arg3:Boolean=false){ if (_arg2 == null){ _arg2 = Align.bottom; }; super("", "uiLabel", _arg1, _arg2, _arg3); this.name = ("Debug" + count++); _lines = []; selectable = true; addEventListener(KeyboardEvent.KEY_DOWN, onKey); } public function writeBold(_arg1:String):void{ write(_arg1, true); } private function _getLinesToDisplay(_arg1:int=0):Array{ var _local2:Array; var _local3:uint; var _local4:uint; if ((_lines.length - 1) > maxLines){ if ((_linediff <= 0)){ _linediff = (_linediff + _arg1); } else { if ((((_linediff > 0)) && ((_arg1 < 0)))){ _linediff = (_linediff + _arg1); }; }; _local3 = ((_lines.length - maxLines) + _linediff); _local4 = (_local3 + maxLines); _local2 = _lines.slice(_local3, _local4); } else { _local2 = _lines; }; return (_local2); } private function onKey(_arg1:KeyboardEvent=null):void{ var _local2:Array; switch (_arg1.keyCode){ case Keyboard.DOWN: _local2 = _getLinesToDisplay(1); break; case Keyboard.UP: _local2 = _getLinesToDisplay(-1); break; default: _local2 = null; }; if (_local2 == null){ return; }; text = _local2.join("\n"); } override public function get forcedWidth():uint{ if (this.parent){ if (UISprite(this.parent).forcedWidth > _preferredForcedWidth){ return (_preferredForcedWidth); }; return (UISprite(this.parent).forcedWidth); //unresolved jump }; return (super.forcedWidth); } public function write(_arg1:String, _arg2:Boolean=false):void{ var _local3:Array; if (_arg1.indexOf("") > -1){ _local3 = _arg1.split("\n"); } else { _local3 = [_arg1]; }; var _local4 = ""; var _local5 = ""; if (_arg2){ _local4 = "<b>"; _local5 = "</b>"; }; var _local6:int; while (_local6 < _local3.length) { _lines.push(((_local4 + _local3[_local6]) + _local5)); _local6++; }; var _local7:Array = _getLinesToDisplay(); text = _local7.join("\n"); } public function close():void{ dispose(); } override protected function dispose():void{ removeEventListener(KeyboardEvent.KEY_DOWN, onKey); super.dispose(); } } }//package com.google.analytics.debug
Section 37
//DebugConfiguration (com.google.analytics.debug.DebugConfiguration) package com.google.analytics.debug { import com.google.analytics.core.*; import flash.net.*; import flash.utils.*; import flash.ui.*; public class DebugConfiguration { public var showHideKey:Number; private var _mode:VisualDebugMode; private var _verbose:Boolean;// = false public var destroyKey:Number; public var GIFRequests:Boolean;// = false public var showInfos:Boolean;// = true public var infoTimeout:Number;// = 1000 public var minimizedOnStart:Boolean;// = false private var _active:Boolean;// = false public var traceOutput:Boolean;// = false public var layout:ILayout; public var warningTimeout:Number;// = 1500 public var javascript:Boolean;// = false public var showWarnings:Boolean;// = true private var _visualInitialized:Boolean;// = false public function DebugConfiguration(){ _mode = VisualDebugMode.basic; showHideKey = Keyboard.SPACE; destroyKey = Keyboard.BACKSPACE; super(); } public function get verbose():Boolean{ return (_verbose); } public function set verbose(_arg1:Boolean):void{ _verbose = _arg1; } public function set mode(_arg1):void{ if ((_arg1 is String)){ switch (_arg1){ case "geek": _arg1 = VisualDebugMode.geek; break; case "advanced": _arg1 = VisualDebugMode.advanced; break; case "basic": default: _arg1 = VisualDebugMode.basic; }; }; _mode = _arg1; } public function success(_arg1:String):void{ if (layout){ layout.createSuccessAlert(_arg1); }; if (traceOutput){ trace((("[+] " + _arg1) + " !!")); }; } public function get active():Boolean{ return (_active); } private function _initializeVisual():void{ if (layout){ layout.init(); _visualInitialized = true; }; } private function _destroyVisual():void{ if (((layout) && (_visualInitialized))){ layout.destroy(); }; } public function warning(_arg1:String, _arg2:VisualDebugMode=null):void{ if (_filter(_arg2)){ return; }; if (((layout) && (showWarnings))){ layout.createWarning(_arg1); }; if (traceOutput){ trace((("## " + _arg1) + " ##")); }; } private function _filter(_arg1:VisualDebugMode=null):Boolean{ return (((_arg1) && ((int(_arg1) >= int(this.mode))))); } public function failure(_arg1:String):void{ if (layout){ layout.createFailureAlert(_arg1); }; if (traceOutput){ trace((("[-] " + _arg1) + " !!")); }; } public function get mode(){ return (_mode); } public function set active(_arg1:Boolean):void{ _active = _arg1; if (_active){ _initializeVisual(); } else { _destroyVisual(); }; } protected function trace(_arg1:String):void{ var _local7:Array; var _local8:int; var _local2:Array = []; var _local3 = ""; var _local4 = ""; if (this.mode == VisualDebugMode.geek){ _local3 = (getTimer() + " - "); _local4 = (new Array(_local3.length).join(" ") + " "); }; if (_arg1.indexOf("\n") > -1){ _local7 = _arg1.split("\n"); _local8 = 0; while (_local8 < _local7.length) { if (_local7[_local8] == ""){ } else { if (_local8 == 0){ _local2.push((_local3 + _local7[_local8])); } else { _local2.push((_local4 + _local7[_local8])); }; }; _local8++; }; } else { _local2.push((_local3 + _arg1)); }; var _local5:int = _local2.length; var _local6:int; while (_local6 < _local5) { trace(_local2[_local6]); _local6++; }; } public function alert(_arg1:String):void{ if (layout){ layout.createAlert(_arg1); }; if (traceOutput){ trace((("!! " + _arg1) + " !!")); }; } public function info(_arg1:String, _arg2:VisualDebugMode=null):void{ if (_filter(_arg2)){ return; }; if (((layout) && (showInfos))){ layout.createInfo(_arg1); }; if (traceOutput){ trace(_arg1); }; } public function alertGifRequest(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{ if (layout){ layout.createGIFRequestAlert(_arg1, _arg2, _arg3); }; if (traceOutput){ trace(((">> " + _arg1) + " <<")); }; } } }//package com.google.analytics.debug
Section 38
//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 = Align.bottomLeft; var _local5:Boolean; var _local6:Boolean; 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 39
//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 40
//ILayout (com.google.analytics.debug.ILayout) package com.google.analytics.debug { import flash.display.*; import com.google.analytics.core.*; import flash.net.*; public interface ILayout { function createAlert(_arg1:String):void; function addToStage(_arg1:DisplayObject):void; function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void; function createWarning(_arg1:String):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 destroy():void; function bringToFront(_arg1:DisplayObject):void; function isAvailable():Boolean; } }//package com.google.analytics.debug
Section 41
//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 close():void{ if (parent != null){ parent.removeChild(this); }; } override public function onLink(_arg1:TextEvent):void{ switch (_arg1.text){ case "hide": close(); break; }; } public function onComplete(_arg1:TimerEvent):void{ close(); } } }//package com.google.analytics.debug
Section 42
//Label (com.google.analytics.debug.Label) package com.google.analytics.debug { import flash.display.*; import flash.text.*; import flash.events.*; public class Label extends UISprite { private var _color:uint; private var _background:Shape; private var _textField:TextField; public var stickToEdge:Boolean; private var _text:String; protected var selectable:Boolean; private var _tag:String; public static var count:uint = 0; public function Label(_arg1:String="", _arg2:String="uiLabel", _arg3:uint=0, _arg4:Align=null, _arg5:Boolean=false){ this.name = ("Label" + count++); selectable = false; _background = new Shape(); _textField = new TextField(); _text = _arg1; _tag = _arg2; if (_arg4 == null){ _arg4 = Align.none; }; this.alignement = _arg4; this.stickToEdge = _arg5; if (_arg3 == 0){ _arg3 = Style.backgroundColor; }; _color = _arg3; _textField.addEventListener(TextEvent.LINK, onLink); } public function get tag():String{ return (_tag); } private function _draw():void{ var _local1:Graphics = _background.graphics; _local1.clear(); _local1.beginFill(_color); var _local2:uint = _textField.width; var _local3:uint = _textField.height; if (forcedWidth > 0){ _local2 = forcedWidth; }; Background.drawRounded(this, _local1, _local2, _local3); _local1.endFill(); } public function get text():String{ return (_textField.text); } public function appendText(_arg1:String, _arg2:String=""):void{ if (_arg1 == ""){ return; }; if (_arg2 == ""){ _arg2 = tag; }; _textField.htmlText = (_textField.htmlText + (((("<span class=\"" + _arg2) + "\">") + _arg1) + "</span>")); _text = (_text + _arg1); _draw(); resize(); } public function set text(_arg1:String):void{ if (_arg1 == ""){ _arg1 = _text; }; _textField.htmlText = (((("<span class=\"" + tag) + "\">") + _arg1) + "</span>"); _text = _arg1; _draw(); resize(); } override protected function layout():void{ _textField.type = TextFieldType.DYNAMIC; _textField.autoSize = TextFieldAutoSize.LEFT; _textField.background = false; _textField.selectable = selectable; _textField.multiline = true; _textField.styleSheet = Style.sheet; this.text = _text; addChild(_background); addChild(_textField); } public function set tag(_arg1:String):void{ _tag = _arg1; text = ""; } public function onLink(_arg1:TextEvent):void{ } override protected function dispose():void{ _textField.removeEventListener(TextEvent.LINK, onLink); super.dispose(); } } }//package com.google.analytics.debug
Section 43
//Layout (com.google.analytics.debug.Layout) package com.google.analytics.debug { import flash.display.*; import flash.events.*; import com.google.analytics.core.*; import flash.net.*; import com.google.analytics.*; public class Layout implements ILayout { private var _display:DisplayObject; private var _infoQueue:Array; private var _maxCharPerLine:int;// = 85 private var _hasInfo:Boolean; private var _warningQueue:Array; private var _hasDebug:Boolean; private var _hasWarning:Boolean; private var _mainPanel:Panel; private var _GRAlertQueue:Array; private var _debug:DebugConfiguration; public var visualDebug:Debug; private var _hasGRAlert:Boolean; public function Layout(_arg1:DebugConfiguration, _arg2:DisplayObject){ _display = _arg2; _debug = _arg1; _hasWarning = false; _hasInfo = false; _hasDebug = false; _hasGRAlert = false; _warningQueue = []; _infoQueue = []; _GRAlertQueue = []; } private function onKey(_arg1:KeyboardEvent=null):void{ switch (_arg1.keyCode){ case _debug.showHideKey: _mainPanel.visible = !(_mainPanel.visible); break; case _debug.destroyKey: destroy(); break; }; } public function createWarning(_arg1:String):void{ if (((_hasWarning) || (!(isAvailable())))){ _warningQueue.push(_arg1); return; }; _arg1 = _filterMaxChars(_arg1); _hasWarning = true; var _local2:Warning = new Warning(_arg1, _debug.warningTimeout); addToPanel("analytics", _local2); _local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearWarning, false, 0, true); if (_hasDebug){ visualDebug.writeBold(_arg1); }; } public function bringToFront(_arg1:DisplayObject):void{ _display.stage.setChildIndex(_arg1, (_display.stage.numChildren - 1)); } public function createFailureAlert(_arg1:String):void{ var _local2:AlertAction; if (_debug.verbose){ _arg1 = _filterMaxChars(_arg1); _local2 = new AlertAction("Close", "close", "close"); } else { _local2 = new AlertAction("X", "close", "close"); }; var _local3:Alert = new FailureAlert(_debug, _arg1, [_local2]); addToPanel("analytics", _local3); if (_hasDebug){ if (_debug.verbose){ _arg1 = _arg1.split("\n").join(""); _arg1 = _filterMaxChars(_arg1, 66); }; visualDebug.writeBold(_arg1); }; } public function init():void{ var _local1 = 10; var _local2:uint = (_display.stage.stageWidth - (_local1 * 2)); var _local3:uint = (_display.stage.stageHeight - (_local1 * 2)); var _local4:Panel = new Panel("analytics", _local2, _local3); _local4.alignement = Align.top; _local4.stickToEdge = false; _local4.title = ("Google Analytics v" + GATracker.version); _mainPanel = _local4; addToStage(_local4); bringToFront(_local4); if (_debug.minimizedOnStart){ _mainPanel.onToggle(); }; createVisualDebug(); _display.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKey, false, 0, true); } public function addToPanel(_arg1:String, _arg2:DisplayObject):void{ var _local4:Panel; var _local3:DisplayObject = _display.stage.getChildByName(_arg1); if (_local3){ _local4 = (_local3 as Panel); _local4.addData(_arg2); } else { trace((("panel \"" + _arg1) + "\" not found")); }; } private function _clearInfo(_arg1:Event):void{ _hasInfo = false; if (_infoQueue.length > 0){ createInfo(_infoQueue.shift()); }; } private function _filterMaxChars(_arg1:String, _arg2:int=0):String{ var _local6:String; var _local3 = "\n"; var _local4:Array = []; var _local5:Array = _arg1.split(_local3); if (_arg2 == 0){ _arg2 = _maxCharPerLine; }; var _local7:int; while (_local7 < _local5.length) { _local6 = _local5[_local7]; while (_local6.length > _arg2) { _local4.push(_local6.substr(0, _arg2)); _local6 = _local6.substring(_arg2); }; _local4.push(_local6); _local7++; }; return (_local4.join(_local3)); } private function _clearGRAlert(_arg1:Event):void{ _hasGRAlert = false; if (_GRAlertQueue.length > 0){ createGIFRequestAlert.apply(this, _GRAlertQueue.shift()); }; } public function createSuccessAlert(_arg1:String):void{ var _local2:AlertAction; if (_debug.verbose){ _arg1 = _filterMaxChars(_arg1); _local2 = new AlertAction("Close", "close", "close"); } else { _local2 = new AlertAction("X", "close", "close"); }; var _local3:Alert = new SuccessAlert(_debug, _arg1, [_local2]); addToPanel("analytics", _local3); if (_hasDebug){ if (_debug.verbose){ _arg1 = _arg1.split("\n").join(""); _arg1 = _filterMaxChars(_arg1, 66); }; visualDebug.writeBold(_arg1); }; } public function isAvailable():Boolean{ return (!((_display.stage == null))); } public function createAlert(_arg1:String):void{ _arg1 = _filterMaxChars(_arg1); var _local2:Alert = new Alert(_arg1, [new AlertAction("Close", "close", "close")]); addToPanel("analytics", _local2); if (_hasDebug){ visualDebug.writeBold(_arg1); }; } public function createInfo(_arg1:String):void{ if (((_hasInfo) || (!(isAvailable())))){ _infoQueue.push(_arg1); return; }; _arg1 = _filterMaxChars(_arg1); _hasInfo = true; var _local2:Info = new Info(_arg1, _debug.infoTimeout); addToPanel("analytics", _local2); _local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearInfo, false, 0, true); if (_hasDebug){ visualDebug.write(_arg1); }; } public function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{ var message = _arg1; var request = _arg2; var ref = _arg3; if (_hasGRAlert){ _GRAlertQueue.push([message, request, ref]); return; }; _hasGRAlert = true; var f:Function = function ():void{ ref.sendRequest(request); }; message = _filterMaxChars(message); var gra:GIFRequestAlert = new GIFRequestAlert(message, [new AlertAction("OK", "ok", f), new AlertAction("Cancel", "cancel", "close")]); addToPanel("analytics", gra); gra.addEventListener(Event.REMOVED_FROM_STAGE, _clearGRAlert, false, 0, true); if (_hasDebug){ if (_debug.verbose){ message = message.split("\n").join(""); message = _filterMaxChars(message, 66); }; visualDebug.write(message); }; } public function createVisualDebug():void{ if (!visualDebug){ visualDebug = new Debug(); visualDebug.alignement = Align.bottom; visualDebug.stickToEdge = true; addToPanel("analytics", visualDebug); _hasDebug = true; }; } public function addToStage(_arg1:DisplayObject):void{ _display.stage.addChild(_arg1); } private function _clearWarning(_arg1:Event):void{ _hasWarning = false; if (_warningQueue.length > 0){ createWarning(_warningQueue.shift()); }; } public function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void{ var _local4:Panel = new Panel(_arg1, _arg2, _arg3); _local4.alignement = Align.center; _local4.stickToEdge = false; addToStage(_local4); bringToFront(_local4); } public function destroy():void{ _mainPanel.close(); _debug.layout = null; } } }//package com.google.analytics.debug
Section 44
//Margin (com.google.analytics.debug.Margin) package com.google.analytics.debug { public class Margin { public var top:int; public var left:int; public var bottom:int; public var right: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 45
//Panel (com.google.analytics.debug.Panel) package com.google.analytics.debug { import flash.display.*; import flash.events.*; public class Panel extends UISprite { private var _savedH:uint; private var _data:UISprite; private var _mask:Sprite; private var _background:Shape; private var _savedW:uint; private var _stickToEdge:Boolean; private var _border:Shape; private var _borderColor:uint; protected var baseAlpha:Number; private var _backgroundColor:uint; private var _title:Label; private var _colapsed:Boolean; private var _name:String; public function Panel(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint=0, _arg5:uint=0, _arg6:Number=0.3, _arg7:Align=null, _arg8:Boolean=false){ _name = _arg1; this.name = _arg1; this.mouseEnabled = false; _colapsed = false; forcedWidth = _arg2; forcedHeight = _arg3; this.baseAlpha = _arg6; _background = new Shape(); _data = new UISprite(); _data.forcedWidth = _arg2; _data.forcedHeight = _arg3; _data.mouseEnabled = false; _title = new Label(_arg1, "uiLabel", 0xFFFFFF, Align.topLeft, _arg8); _title.buttonMode = true; _title.margin.top = 0.6; _title.margin.left = 0.6; _title.addEventListener(MouseEvent.CLICK, onToggle); _title.mouseChildren = false; _border = new Shape(); _mask = new Sprite(); _mask.useHandCursor = false; _mask.mouseEnabled = false; _mask.mouseChildren = false; if (_arg7 == null){ _arg7 = Align.none; }; this.alignement = _arg7; this.stickToEdge = _arg8; if (_arg4 == 0){ _arg4 = Style.backgroundColor; }; _backgroundColor = _arg4; if (_arg5 == 0){ _arg5 = Style.borderColor; }; _borderColor = _arg5; } public function get stickToEdge():Boolean{ return (_stickToEdge); } public function onToggle(_arg1:MouseEvent=null):void{ if (_colapsed){ _data.visible = true; } else { _data.visible = false; }; _colapsed = !(_colapsed); _update(); resize(); } public function set stickToEdge(_arg1:Boolean):void{ _stickToEdge = _arg1; _title.stickToEdge = _arg1; } override protected function dispose():void{ _title.removeEventListener(MouseEvent.CLICK, onToggle); super.dispose(); } private function _draw():void{ var _local1:uint; var _local2:uint; if (((_savedW) && (_savedH))){ forcedWidth = _savedW; forcedHeight = _savedH; }; if (!_colapsed){ _local1 = forcedWidth; _local2 = forcedHeight; } else { _local1 = _title.width; _local2 = _title.height; _savedW = forcedWidth; _savedH = forcedHeight; forcedWidth = _local1; forcedHeight = _local2; }; var _local3:Graphics = _background.graphics; _local3.clear(); _local3.beginFill(_backgroundColor); Background.drawRounded(this, _local3, _local1, _local2); _local3.endFill(); var _local4:Graphics = _data.graphics; _local4.clear(); _local4.beginFill(_backgroundColor, 0); Background.drawRounded(this, _local4, _local1, _local2); _local4.endFill(); var _local5:Graphics = _border.graphics; _local5.clear(); _local5.lineStyle(0.1, _borderColor); Background.drawRounded(this, _local5, _local1, _local2); _local5.endFill(); var _local6:Graphics = _mask.graphics; _local6.clear(); _local6.beginFill(_backgroundColor); Background.drawRounded(this, _local6, (_local1 + 1), (_local2 + 1)); _local6.endFill(); } public function get title():String{ return (_title.text); } private function _update():void{ _draw(); if (baseAlpha < 1){ _background.alpha = baseAlpha; _border.alpha = baseAlpha; }; } public function addData(_arg1:DisplayObject):void{ _data.addChild(_arg1); } override protected function layout():void{ _update(); addChild(_background); addChild(_data); addChild(_title); addChild(_border); addChild(_mask); mask = _mask; } public function set title(_arg1:String):void{ _title.text = _arg1; } public function close():void{ dispose(); if (parent != null){ parent.removeChild(this); }; } } }//package com.google.analytics.debug
Section 46
//Style (com.google.analytics.debug.Style) package com.google.analytics.debug { public const Style:_Style = new _Style(); }//package com.google.analytics.debug
Section 47
//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 = Align.bottomLeft; var _local5:Boolean; var _local6:Boolean; 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 48
//UISprite (com.google.analytics.debug.UISprite) package com.google.analytics.debug { import flash.display.*; import flash.events.*; public class UISprite extends Sprite { private var _forcedWidth:uint; public var margin:Margin; protected var alignTarget:DisplayObject; protected var listenResize:Boolean; public var alignement:Align; private var _forcedHeight:uint; 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); } public function get forcedHeight():uint{ if (_forcedHeight){ return (_forcedHeight); }; return (height); } private function _onAddedToStage(_arg1:Event):void{ layout(); resize(); } protected function dispose():void{ var _local1:DisplayObject; var _local2:int; while (_local2 < numChildren) { _local1 = getChildAt(_local2); if (_local1){ removeChild(_local1); }; _local2++; }; } public function set forcedHeight(_arg1:uint):void{ _forcedHeight = _arg1; } public function set forcedWidth(_arg1:uint):void{ _forcedWidth = _arg1; } protected function layout():void{ } public function get forcedWidth():uint{ if (_forcedWidth){ return (_forcedWidth); }; return (width); } 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; } 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); }; } protected function onResize(_arg1:Event):void{ resize(); } } }//package com.google.analytics.debug
Section 49
//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 close():void{ if (parent != null){ parent.removeChild(this); }; } override public function onLink(_arg1:TextEvent):void{ switch (_arg1.text){ case "hide": close(); break; }; } public function onComplete(_arg1:TimerEvent):void{ close(); } } }//package com.google.analytics.debug
Section 50
//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 51
//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 52
//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){ 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 set hid(_arg1:String):void{ if (!isAvailable()){ return; }; _verify(); setProperty("gaGlobal.hid", _arg1); } public function get dh():String{ if (!isAvailable()){ return (null); }; _verify(); return (getProperty("gaGlobal.dh")); } public function get sid():String{ if (!isAvailable()){ return (null); }; _verify(); return (getProperty("gaGlobal.sid")); } public function get vid():String{ if (!isAvailable()){ return (null); }; _verify(); return (getProperty("gaGlobal.vid")); } private function _verify():void{ if (!_gaGlobalVerified){ executeBlock(gaGlobal_js); _gaGlobalVerified = true; }; } public function set sid(_arg1:String):void{ if (!isAvailable()){ return; }; _verify(); setProperty("gaGlobal.sid", _arg1); } public function get gaGlobal():Object{ if (!isAvailable()){ return (null); }; _verify(); return (getProperty("gaGlobal")); } } }//package com.google.analytics.external
Section 53
//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 _language:String; private var _host:String; private var _pathname:String; private var _location:String; private var _search:String; private var _characterSet:String; private var _title:String; private var _protocol: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 cacheProperties():void{ if (!isAvailable()){ return; }; var _local1:Object = 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 language():String{ if (_language){ return (_language); }; if (!isAvailable()){ return (null); }; var _local1:String = getProperty("navigator.language"); if (_local1 == null){ _local1 = getProperty("navigator.browserLanguage"); }; _language = _local1; return (_language); } public function get colorDepth():String{ if (_colorDepth){ return (_colorDepth); }; if (!isAvailable()){ return (null); }; _colorDepth = getProperty("window.screen.colorDepth"); return (_colorDepth); } 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 get host():String{ if (_host){ return (_host); }; if (!isAvailable()){ return (null); }; _host = getProperty("document.location.host"); return (_host); } public function get characterSet():String{ if (_characterSet){ return (_characterSet); }; if (!isAvailable()){ return (null); }; var _local1:String = getProperty("document.characterSet"); if (_local1 == null){ _local1 = getProperty("document.charset"); }; _characterSet = _local1; return (_characterSet); } public function get title():String{ if (_title){ return (_title); }; if (!isAvailable()){ return (null); }; _title = getProperty("document.title"); return (_title); } } }//package com.google.analytics.external
Section 54
//JavascriptProxy (com.google.analytics.external.JavascriptProxy) package com.google.analytics.external { import com.google.analytics.debug.*; import flash.system.*; import flash.external.*; 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){ _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 = 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 55
//Environment (com.google.analytics.utils.Environment) package com.google.analytics.utils { 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 screenWidth():Number{ return (Capabilities.screenResolutionX); } public function get playerType():String{ return (Capabilities.playerType); } public function get locationSearch():String{ var _local1:String = _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 = Version.fromString(Capabilities.version.split(" ")[1], ","); return (_local1); } public function get userAgent():UserAgent{ if (!_userAgent){ _userAgent = new UserAgent(this, appName, appVersion.toString(4)); }; return (_userAgent); } 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; switch (Capabilities.screenColor){ case "bw": _local1 = "1"; break; case "gray": _local1 = "2"; break; case "color": default: _local1 = "24"; }; var _local2:String = _dom.colorDepth; if (_local2){ _local1 = _local2; }; return (_local1); } private function _findProtocol():void{ var _local4:String; var _local5:String; var _local1:Protocols = 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; }; }; var _local2:String = _dom.protocol; var _local3:String = (_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 = 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; } function set url(_arg1:String):void{ _url = _arg1; } public function get referrer():String{ var _local1:String = _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 = _dom.language; var _local2:String = 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 = _dom.pathname; if (_local1){ return (_local1); }; return (""); } public function get documentTitle():String{ var _local1:String = _dom.title; if (_local1){ return (_local1); }; return (""); } public function get appVersion():Version{ return (_appVersion); } } }//package com.google.analytics.utils
Section 56
//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 57
//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 58
//URL (com.google.analytics.utils.URL) package com.google.analytics.utils { public class URL { private var _url:String; public function URL(_arg1:String=""){ _url = _arg1.toLowerCase(); } public function get domain():String{ var _local1:Array; if (((!((hostName == ""))) && ((hostName.indexOf(".") > -1)))){ _local1 = hostName.split("."); switch (_local1.length){ case 2: return (hostName); case 3: if (_local1[1] == "co"){ return (hostName); }; _local1.shift(); return (_local1.join(".")); case 4: _local1.shift(); return (_local1.join(".")); }; }; return (""); } public function get path():String{ var _local1:String = _url; if (_local1.indexOf("://") > -1){ _local1 = _local1.split("://")[1]; }; if (_local1.indexOf(hostName) == 0){ _local1 = _local1.substr(hostName.length); }; if (_local1.indexOf("?") > -1){ _local1 = _local1.split("?")[0]; }; if (_local1.charAt(0) != "/"){ _local1 = ("/" + _local1); }; return (_local1); } public function get protocol():Protocols{ var _local1:String = _url.split("://")[0]; switch (_local1){ case "file": return (Protocols.file); case "http": return (Protocols.HTTP); case "https": return (Protocols.HTTPS); default: return (Protocols.none); }; } public function get hostName():String{ var _local1:String = _url; if (_local1.indexOf("://") > -1){ _local1 = _local1.split("://")[1]; }; if (_local1.indexOf("/") > -1){ _local1 = _local1.split("/")[0]; }; if (_local1.indexOf("?") > -1){ _local1 = _local1.split("?")[0]; }; if ((((protocol == Protocols.file)) || ((protocol == Protocols.none)))){ return (""); }; return (_local1); } public function get subDomain():String{ if (((!((domain == ""))) && (!((domain == hostName))))){ return (hostName.split(("." + domain)).join("")); }; return (""); } public function get search():String{ var _local1:String = _url; if (_local1.indexOf("://") > -1){ _local1 = _local1.split("://")[1]; }; if (_local1.indexOf(hostName) == 0){ _local1 = _local1.substr(hostName.length); }; if (_local1.indexOf("?") > -1){ _local1 = _local1.split("?")[1]; } else { _local1 = ""; }; return (_local1); } } }//package com.google.analytics.utils
Section 59
//UserAgent (com.google.analytics.utils.UserAgent) package com.google.analytics.utils { import com.google.analytics.core.*; import flash.system.*; public class UserAgent { private var _localInfo:Environment; private var _applicationProduct:String; private var _version:Version; 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 get applicationVersion():String{ return (_version.toString(2)); } public function get vendorProductToken():String{ var _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 = ""; _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.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 applicationProductToken():String{ var _local1:String = applicationProduct; if (applicationVersion != ""){ _local1 = (_local1 + ("/" + applicationVersion)); }; return (_local1); } public function set applicationProduct(_arg1:String):void{ _applicationProduct = _arg1; } public function get applicationProduct():String{ return (_applicationProduct); } } }//package com.google.analytics.utils
Section 60
//Variables (com.google.analytics.utils.Variables) package com.google.analytics.utils { import flash.net.*; public dynamic class Variables { public var post:Array; public var URIencode:Boolean; public var pre:Array; public var sort:Boolean;// = true public function Variables(_arg1:String=null, _arg2:Array=null, _arg3:Array=null){ pre = []; post = []; super(); if (_arg1){ decode(_arg1); }; if (_arg2){ this.pre = _arg2; }; if (_arg3){ this.post = _arg3; }; } private function _join(_arg1:Variables):void{ var _local2:String; if (!_arg1){ return; }; for (_local2 in _arg1) { this[_local2] = _arg1[_local2]; }; } public function join(... _args):void{ var _local2:int = _args.length; var _local3:int; while (_local3 < _local2) { if (!(_args[_local3] is Variables)){ } else { _join(_args[_local3]); }; _local3++; }; } public function toString():String{ var _local2:String; var _local3:String; var _local4:String; var _local5:int; var _local6:int; var _local7:String; var _local8:String; var _local1:Array = []; for (_local3 in this) { _local2 = this[_local3]; if (URIencode){ _local2 = encodeURI(_local2); }; _local1.push(((_local3 + "=") + _local2)); }; if (sort){ _local1.sort(); }; if (pre.length > 0){ pre.reverse(); _local5 = 0; while (_local5 < pre.length) { _local7 = pre[_local5]; _local6 = 0; while (_local6 < _local1.length) { _local4 = _local1[_local6]; if (_local4.indexOf(_local7) == 0){ _local1.unshift(_local1.splice(_local6, 1)[0]); }; _local6++; }; _local5++; }; pre.reverse(); }; if (post.length > 0){ _local5 = 0; while (_local5 < post.length) { _local8 = post[_local5]; _local6 = 0; while (_local6 < _local1.length) { _local4 = _local1[_local6]; if (_local4.indexOf(_local8) == 0){ _local1.push(_local1.splice(_local6, 1)[0]); }; _local6++; }; _local5++; }; }; return (_local1.join("&")); } public function decode(_arg1:String):void{ var _local2:Array; var _local3:String; var _local4:String; var _local5:String; var _local6:Array; if (_arg1 == ""){ return; }; if (_arg1.indexOf("&") > -1){ _local2 = _arg1.split("&"); } else { _local2 = [_arg1]; }; var _local7:int; while (_local7 < _local2.length) { _local3 = _local2[_local7]; if (_local3.indexOf("=") > -1){ _local6 = _local3.split("="); _local4 = _local6[0]; _local5 = decodeURI(_local6[1]); this[_local4] = _local5; }; _local7++; }; } public function toURLVariables():URLVariables{ var _local2:String; var _local1:URLVariables = new URLVariables(); for (_local2 in this) { _local1[_local2] = this[_local2]; }; return (_local1); } } }//package com.google.analytics.utils
Section 61
//Version (com.google.analytics.utils.Version) package com.google.analytics.utils { public class Version { private var _revision:uint; private var _maxBuild:uint;// = 0xFF private var _maxMinor:uint;// = 15 private var _maxMajor:uint;// = 15 private var _separator:String;// = "." private var _maxRevision:uint;// = 0xFFFF private var _build:uint; private var _major:uint; private var _minor:uint; public function Version(_arg1:uint=0, _arg2:uint=0, _arg3:uint=0, _arg4:uint=0){ var _local5:Version; 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 set revision(_arg1:uint):void{ _revision = Math.min(_arg1, _maxRevision); } 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); } private function getFields():int{ var _local1 = 4; if (revision == 0){ _local1--; }; if ((((_local1 == 3)) && ((build == 0)))){ _local1--; }; if ((((_local1 == 2)) && ((minor == 0)))){ _local1--; }; return (_local1); } public function valueOf():uint{ return (((((major << 28) | (minor << 24)) | (build << 16)) | revision)); } public function get major():uint{ return (_major); } 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 _local4:Array; var _local3:Version = 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 = 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 62
//Bridge (com.google.analytics.v4.Bridge) package com.google.analytics.v4 { import com.google.analytics.core.*; import com.google.analytics.debug.*; import com.google.analytics.external.*; public class Bridge implements GoogleAnalyticsAPI { private var _debug:DebugConfiguration; private var _proxy:JavascriptProxy; private var _jsContainer:String;// = "_GATracker" private var _hasGATracker:Boolean;// = false private var _account:String; private static var _linkTrackingObject_js:XML = <script> <![CDATA[ function( container , target ) { var targets ; var name ; if( target.indexOf(".") > 0 ) { targets = target.split("."); name = targets.pop(); } else { targets = []; name = target; } var ref = window; var depth = targets.length; for( var j = 0 ; j < depth ; j++ ) { ref = ref[ targets[j] ] ; } window[container][target] = ref[name] ; } ]]> </script> ; private static var _createTrackingObject_js:XML = <script> <![CDATA[ function( acct ) { _GATracker[acct] = _gat._getTracker(acct); } ]]> </script> ; private static var _injectTrackingObject_js:XML = <script> <![CDATA[ function() { try { _GATracker } catch(e) { _GATracker = {}; } } ]]> </script> ; private static var _checkGAJS_js:XML = <script> <![CDATA[ function() { if( _gat && _gat._getTracker ) { return true; } return false; } ]]> </script> ; private static var _checkValidTrackingObject_js:XML = <script> <![CDATA[ function(acct) { if( _GATracker[acct] && (_GATracker[acct]._getAccount) ) { return true ; } else { return false; } } ]]> </script> ; public function Bridge(_arg1:String, _arg2:DebugConfiguration, _arg3:JavascriptProxy){ var _local4:String; var _local5:String; var _local6:String; super(); _account = _arg1; _debug = _arg2; _proxy = _arg3; if (!_checkGAJS()){ _local4 = ""; _local4 = (_local4 + "ga.js not found, be sure to check if\n"); _local4 = (_local4 + "<script src=\"http://www.google-analytics.com/ga.js\"></script>\n"); _local4 = (_local4 + "is included in the HTML."); _debug.warning(_local4); throw (new Error(_local4)); }; if (!_hasGATracker){ if (((_debug.javascript) && (_debug.verbose))){ _local5 = ""; _local5 = (_local5 + "The Google Analytics tracking code was not found on the container page\n"); _local5 = (_local5 + "we create it"); _debug.info(_local5, VisualDebugMode.advanced); }; _injectTrackingObject(); }; if (Utils.validateAccount(_arg1)){ _createTrackingObject(_arg1); } else { if (_checkTrackingObject(_arg1)){ _linkTrackingObject(_arg1); } else { _local6 = ""; _local6 = (_local6 + (("JS Object \"" + _arg1) + "\" doesn't exist in DOM\n")); _local6 = (_local6 + "Bridge object not created."); _debug.warning(_local6); throw (new Error(_local6)); }; }; } public function link(_arg1:String, _arg2:Boolean=false):void{ _debug.info((((("link( " + _arg1) + ", ") + _arg2) + " )")); _call("_link", _arg1, _arg2); } public function addOrganic(_arg1:String, _arg2:String):void{ _debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )")); _call("_addOrganic", _arg1); } public function setAllowLinker(_arg1:Boolean):void{ _debug.info((("setAllowLinker( " + _arg1) + " )")); _call("_setAllowLinker", _arg1); } private function _linkTrackingObject(_arg1:String):void{ _proxy.call(_linkTrackingObject_js, _jsContainer, _arg1); } public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{ var _local5 = 2; if (((_arg3) && (!((_arg3 == ""))))){ _local5 = 3; }; if ((((_local5 == 3)) && (!(isNaN(_arg4))))){ _local5 = 4; }; switch (_local5){ case 4: _debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )")); return (_call("_trackEvent", _arg1, _arg2, _arg3, _arg4)); case 3: _debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )")); return (_call("_trackEvent", _arg1, _arg2, _arg3)); case 2: default: _debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )")); return (_call("_trackEvent", _arg1, _arg2)); }; } public function setClientInfo(_arg1:Boolean):void{ _debug.info((("setClientInfo( " + _arg1) + " )")); _call("_setClientInfo", _arg1); } public function trackTrans():void{ _debug.info("trackTrans()"); _call("_trackTrans"); } public function setCookieTimeout(_arg1:int):void{ _debug.info((("setCookieTimeout( " + _arg1) + " )")); _call("_setCookieTimeout", _arg1); } public function trackPageview(_arg1:String=""):void{ _debug.info((("trackPageview( " + _arg1) + " )")); _call("_trackPageview", _arg1); } public function getClientInfo():Boolean{ _debug.info("getClientInfo()"); return (_call("_getClientInfo")); } private function _checkValidTrackingObject(_arg1:String):Boolean{ return (_proxy.call(_checkValidTrackingObject_js, _arg1)); } private function _checkGAJS():Boolean{ return (_proxy.call(_checkGAJS_js)); } public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{ _debug.warning((((("linkByPost( " + _arg1) + ", ") + _arg2) + " ) not implemented")); } private function _call(_arg1:String, ... _args){ _args.unshift(((((("window." + _jsContainer) + "[\"") + _account) + "\"].") + _arg1)); return (_proxy.call.apply(_proxy, _args)); } public function hasGAJS():Boolean{ return (_checkGAJS()); } private function _checkTrackingObject(_arg1:String):Boolean{ var _local2:Boolean = _proxy.hasProperty(_arg1); var _local3:Boolean = _proxy.hasProperty((_arg1 + "._getAccount")); return (((_local2) && (_local3))); } public function resetSession():void{ _debug.warning("resetSession() not implemented"); } public function getDetectTitle():Boolean{ _debug.info("getDetectTitle()"); return (_call("_getDetectTitle")); } public function setCampNameKey(_arg1:String):void{ _debug.info((("setCampNameKey( " + _arg1) + " )")); _call("_setCampNameKey", _arg1); } public function setDetectFlash(_arg1:Boolean):void{ _debug.info((("setDetectFlash( " + _arg1) + " )")); _call("_setDetectFlash", _arg1); } public function createEventTracker(_arg1:String):EventTracker{ _debug.info((("createEventTracker( " + _arg1) + " )")); return (new EventTracker(_arg1, this)); } public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{ _debug.info((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " )")); _call("_addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } public function clearIgnoredOrganic():void{ _debug.info("clearIgnoredOrganic()"); _call("_clearIgnoreOrganic"); } public function setVar(_arg1:String):void{ _debug.info((("setVar( " + _arg1) + " )")); _call("_setVar", _arg1); } public function setDomainName(_arg1:String):void{ _debug.info((("setDomainName( " + _arg1) + " )")); _call("_setDomainName", _arg1); } public function hasTrackingAccount(_arg1:String):Boolean{ if (Utils.validateAccount(_arg1)){ return (_checkValidTrackingObject(_arg1)); }; return (_checkTrackingObject(_arg1)); } public function setCampSourceKey(_arg1:String):void{ _debug.info((("setCampSourceKey( " + _arg1) + " )")); _call("_setCampSourceKey", _arg1); } public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{ _debug.info((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " )")); _call("_addTrans", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); return (null); } public function setCampContentKey(_arg1:String):void{ _debug.info((("setCampContentKey( " + _arg1) + " )")); _call("_setCampContentKey", _arg1); } public function setLocalServerMode():void{ _debug.info("setLocalServerMode()"); _call("_setLocalServerMode"); } public function getLocalGifPath():String{ _debug.info("getLocalGifPath()"); return (_call("_getLocalGifPath")); } public function clearIgnoredRef():void{ _debug.info("clearIgnoredRef()"); _call("_clearIgnoreRef"); } public function setAllowAnchor(_arg1:Boolean):void{ _debug.info((("setAllowAnchor( " + _arg1) + " )")); _call("_setAllowAnchor", _arg1); } public function setLocalGifPath(_arg1:String):void{ _debug.info((("setLocalGifPath( " + _arg1) + " )")); _call("_setLocalGifPath", _arg1); } public function getVersion():String{ _debug.info("getVersion()"); return (_call("_getVersion")); } private function _injectTrackingObject():void{ _proxy.executeBlock(_injectTrackingObject_js); _hasGATracker = true; } public function setCookiePath(_arg1:String):void{ _debug.info((("setCookiePath( " + _arg1) + " )")); _call("_setCookiePath", _arg1); } public function setSampleRate(_arg1:Number):void{ _debug.info((("setSampleRate( " + _arg1) + " )")); _call("_setSampleRate", _arg1); } public function setAllowHash(_arg1:Boolean):void{ _debug.info((("setAllowHash( " + _arg1) + " )")); _call("_setAllowHash", _arg1); } public function addIgnoredOrganic(_arg1:String):void{ _debug.info((("addIgnoredOrganic( " + _arg1) + " )")); _call("_addIgnoredOrganic", _arg1); } public function setCampNOKey(_arg1:String):void{ _debug.info((("setCampNOKey( " + _arg1) + " )")); _call("_setCampNOKey", _arg1); } public function cookiePathCopy(_arg1:String):void{ _debug.info((("cookiePathCopy( " + _arg1) + " )")); _call("_cookiePathCopy", _arg1); } public function setLocalRemoteServerMode():void{ _debug.info("setLocalRemoteServerMode()"); _call("_setLocalRemoteServerMode"); } public function getServiceMode():ServerOperationMode{ _debug.info("getServiceMode()"); return (_call("_getServiceMode")); } public function setDetectTitle(_arg1:Boolean):void{ _debug.info((("setDetectTitle( " + _arg1) + " )")); _call("_setDetectTitle", _arg1); } private function _createTrackingObject(_arg1:String):void{ _proxy.call(_createTrackingObject_js, _arg1); } public function setCampaignTrack(_arg1:Boolean):void{ _debug.info((("setCampaignTrack( " + _arg1) + " )")); _call("_setCampaignTrack", _arg1); } public function clearOrganic():void{ _debug.info("clearOrganic()"); _call("_clearOrganic"); } public function setCampTermKey(_arg1:String):void{ _debug.info((("setCampTermKey( " + _arg1) + " )")); _call("_setCampTermKey", _arg1); } public function getDetectFlash():Boolean{ _debug.info("getDetectFlash()"); return (_call("_getDetectFlash")); } public function setCampMediumKey(_arg1:String):void{ _debug.info((("setCampMediumKey( " + _arg1) + " )")); _call("_setCampMediumKey", _arg1); } public function addIgnoredRef(_arg1:String):void{ _debug.info((("addIgnoredRef( " + _arg1) + " )")); _call("_addIgnoredRef", _arg1); } public function setSessionTimeout(_arg1:int):void{ _debug.info((("setSessionTimeout( " + _arg1) + " )")); _call("_setSessionTimeout", _arg1); } public function setRemoteServerMode():void{ _debug.info("setRemoteServerMode()"); _call("_setRemoteServerMode"); } public function getAccount():String{ _debug.info("getAccount()"); return (_call("_getAccount")); } } }//package com.google.analytics.v4
Section 63
//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 hasSiteOverlay:Boolean;// = false public var allowLocalTracking:Boolean;// = true public var secureRemoteGIFpath:String;// = "https://ssl.google-analytics.com/__utm.gif" 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; public var allowAnchor:Boolean;// = false private var _domain:Domain; private var _trackingLimitPerSession:int;// = 500 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){ _organic = new Organic(); conversionTimeout = Timespan.sixmonths; sessionTimeout = Timespan.thirtyminutes; campaignKey = new CampaignKey(); serverMode = ServerOperationMode.remote; super(); _debug = _arg1; _domain = new Domain(DomainNameMode.auto, "", _debug); serverMode = ServerOperationMode.remote; _initOrganicSources(); } public function get organic():Organic{ return (_organic); } public function get cookieName():String{ return (_cookieName); } 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 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 64
//GoogleAnalyticsAPI (com.google.analytics.v4.GoogleAnalyticsAPI) package com.google.analytics.v4 { import com.google.analytics.core.*; public interface GoogleAnalyticsAPI { function setCampSourceKey(_arg1:String):void; function getServiceMode():ServerOperationMode; function resetSession():void; function setLocalServerMode():void; function setCampContentKey(_arg1:String):void; function addOrganic(_arg1:String, _arg2:String):void; function setDetectFlash(_arg1:Boolean):void; function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object; function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean; function setCampTermKey(_arg1:String):void; function setCampNameKey(_arg1:String):void; function addIgnoredOrganic(_arg1:String):void; function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void; function setAllowLinker(_arg1:Boolean):void; function getClientInfo():Boolean; function getDetectFlash():Boolean; function setCampaignTrack(_arg1:Boolean):void; function createEventTracker(_arg1:String):EventTracker; function setCookieTimeout(_arg1:int):void; function setAllowAnchor(_arg1:Boolean):void; function trackTrans():void; function clearOrganic():void; function trackPageview(_arg1:String=""):void; function setLocalGifPath(_arg1:String):void; function getVersion():String; function getLocalGifPath():String; function setVar(_arg1:String):void; function clearIgnoredOrganic():void; function setCampMediumKey(_arg1:String):void; function addIgnoredRef(_arg1:String):void; function setClientInfo(_arg1:Boolean):void; function setCookiePath(_arg1:String):void; function setSampleRate(_arg1:Number):void; function setSessionTimeout(_arg1:int):void; function setRemoteServerMode():void; function clearIgnoredRef():void; function setDomainName(_arg1:String):void; function setDetectTitle(_arg1:Boolean):void; function setAllowHash(_arg1:Boolean):void; function getAccount():String; function linkByPost(_arg1:Object, _arg2:Boolean=false):void; function link(_arg1:String, _arg2:Boolean=false):void; function setCampNOKey(_arg1:String):void; function setLocalRemoteServerMode():void; function cookiePathCopy(_arg1:String):void; function getDetectTitle():Boolean; } }//package com.google.analytics.v4
Section 65
//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.utils.*; import com.google.analytics.data.*; import com.google.analytics.external.*; import com.google.analytics.campaign.*; public class Tracker implements GoogleAnalyticsAPI { private const EVENT_TRACKER_LABEL_KEY_NUM:int = 3; private const EVENT_TRACKER_VALUE_VALUE_NUM:int = 1; private const EVENT_TRACKER_PROJECT_ID:int = 5; private const EVENT_TRACKER_OBJECT_NAME_KEY_NUM:int = 1; private const EVENT_TRACKER_TYPE_KEY_NUM:int = 2; private var _adSense:AdSenseGlobals; private var _eventTracker:X10; private var _noSessionInformation:Boolean;// = false private var _browserInfo:BrowserInfo; private var _debug:DebugConfiguration; private var _isNewVisitor:Boolean;// = false private var _buffer:Buffer; private var _config:Configuration; private var _x10Module:X10; private var _campaign:CampaignManager; private var _formatedReferrer:String; private var _timeStamp:Number; private var _info:Environment; private var _domainHash:Number; private var _campaignInfo:CampaignInfo; private var _gifRequest:GIFRequest; private var _hasInitData:Boolean;// = false private var _account:String; public function Tracker(_arg1:String, _arg2:Configuration, _arg3:DebugConfiguration, _arg4:Environment, _arg5:Buffer, _arg6:GIFRequest, _arg7:AdSenseGlobals){ var _local8:String; super(); _account = _arg1; _config = _arg2; _debug = _arg3; _info = _arg4; _buffer = _arg5; _gifRequest = _arg6; _adSense = _arg7; if (!Utils.validateAccount(_arg1)){ _local8 = (("Account \"" + _arg1) + "\" is not valid."); _debug.warning(_local8); throw (new Error(_local8)); }; _initData(); } private function _doTracking():Boolean{ if (((((!((_info.protocol == Protocols.file))) && (!((_info.protocol == Protocols.none))))) && (_isNotGoogleSearch()))){ return (true); }; if (_config.allowLocalTracking){ return (true); }; return (false); } public function addOrganic(_arg1:String, _arg2:String):void{ _debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )")); _config.organic.addSource(_arg1, _arg2); } public function setAllowLinker(_arg1:Boolean):void{ _config.allowLinker = _arg1; _debug.info((("setAllowLinker( " + _config.allowLinker) + " )")); } public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{ var _local5:Boolean; var _local6 = 2; if (((!((_arg1 == ""))) && (!((_arg2 == ""))))){ _eventTracker.clearKey(EVENT_TRACKER_PROJECT_ID); _eventTracker.clearValue(EVENT_TRACKER_PROJECT_ID); _local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_OBJECT_NAME_KEY_NUM, _arg1); _local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_TYPE_KEY_NUM, _arg2); if (((_arg3) && (!((_arg3 == ""))))){ _local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_LABEL_KEY_NUM, _arg3); _local6 = 3; if (!isNaN(_arg4)){ _local5 = _eventTracker.setValue(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_VALUE_VALUE_NUM, _arg4); _local6 = 4; }; }; if (_local5){ _debug.info(((("valid event tracking call\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek); _sendXEvent(_eventTracker); }; } else { _debug.warning(((("event tracking call is not valid, failed!\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek); _local5 = false; }; switch (_local6){ case 4: _debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )")); break; case 3: _debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )")); break; case 2: default: _debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )")); }; return (_local5); } public function trackPageview(_arg1:String=""):void{ _debug.info((("trackPageview( " + _arg1) + " )")); if (_doTracking()){ _initData(); _trackMetrics(_arg1); _noSessionInformation = false; } else { _debug.warning((("trackPageview( " + _arg1) + " ) failed")); }; } public function setCookieTimeout(_arg1:int):void{ _config.conversionTimeout = _arg1; _debug.info((("setCookieTimeout( " + _config.conversionTimeout) + " )")); } public function trackTrans():void{ _debug.warning("trackTrans() not implemented"); } public function setClientInfo(_arg1:Boolean):void{ _config.detectClientInfo = _arg1; _debug.info((("setClientInfo( " + _config.detectClientInfo) + " )")); } public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{ _debug.warning((("linkByPost( " + [_arg1, _arg2].join(", ")) + " ) not implemented")); } private function _initData():void{ var _local1:String; var _local2:String; if (!_hasInitData){ _updateDomainName(); _domainHash = _getDomainHash(); _timeStamp = Math.round((new Date().getTime() / 1000)); if (_debug.verbose){ _local1 = ""; _local1 = (_local1 + "_initData 0"); _local1 = (_local1 + ("\ndomain name: " + _config.domainName)); _local1 = (_local1 + ("\ndomain hash: " + _domainHash)); _local1 = (_local1 + (((("\ntimestamp: " + _timeStamp) + " (") + new Date((_timeStamp * 1000))) + ")")); _debug.info(_local1, VisualDebugMode.geek); }; }; if (_doTracking()){ _handleCookie(); }; if (!_hasInitData){ if (_doTracking()){ _formatedReferrer = _formatReferrer(); _browserInfo = new BrowserInfo(_config, _info); _debug.info(("browserInfo: " + _browserInfo.toURLString()), VisualDebugMode.advanced); if (_config.campaignTracking){ _campaign = new CampaignManager(_config, _debug, _buffer, _domainHash, _formatedReferrer, _timeStamp); _campaignInfo = _campaign.getCampaignInformation(_info.locationSearch, _noSessionInformation); _debug.info(("campaignInfo: " + _campaignInfo.toURLString()), VisualDebugMode.advanced); }; }; _x10Module = new X10(); _eventTracker = new X10(); _hasInitData = true; }; if (_config.hasSiteOverlay){ _debug.warning("Site Overlay is not supported"); }; if (_debug.verbose){ _local2 = ""; _local2 = (_local2 + "_initData (misc)"); _local2 = (_local2 + ("\nflash version: " + _info.flashVersion.toString(4))); _local2 = (_local2 + ("\nprotocol: " + _info.protocol)); _local2 = (_local2 + (("\ndefault domain name (auto): \"" + _info.domainName) + "\"")); _local2 = (_local2 + ("\nlanguage: " + _info.language)); _local2 = (_local2 + ("\ndomain hash: " + _getDomainHash())); _local2 = (_local2 + ("\nuser-agent: " + _info.userAgent)); _debug.info(_local2, VisualDebugMode.geek); }; } public function getDetectTitle():Boolean{ _debug.info("getDetectTitle()"); return (_config.detectTitle); } public function resetSession():void{ _debug.info("resetSession()"); _buffer.resetCurrentSession(); } public function getClientInfo():Boolean{ _debug.info("getClientInfo()"); return (_config.detectClientInfo); } private function _sendXEvent(_arg1:X10=null):void{ var _local2:Variables; var _local3:EventInfo; var _local4:Variables; var _local5:Variables; _initData(); if (_takeSample()){ _local2 = new Variables(); _local2.URIencode = true; _local3 = new EventInfo(true, _x10Module, _arg1); _local4 = _local3.toVariables(); _local5 = _renderMetricsSearchVariables(); _local2.join(_local4, _local5); _gifRequest.send(_account, _local2, false, true); }; } public function setDetectFlash(_arg1:Boolean):void{ _config.detectFlash = _arg1; _debug.info((("setDetectFlash( " + _config.detectFlash) + " )")); } public function setCampNameKey(_arg1:String):void{ _config.campaignKey.UCCN = _arg1; var _local2 = (("setCampNameKey( " + _config.campaignKey.UCCN) + " )"); if (_debug.mode == VisualDebugMode.geek){ _debug.info((_local2 + " [UCCN]")); } else { _debug.info(_local2); }; } private function _formatReferrer():String{ var _local2:String; var _local3:URL; var _local4:URL; var _local1:String = _info.referrer; if ((((_local1 == "")) || ((_local1 == "localhost")))){ _local1 = "-"; } else { _local2 = _info.domainName; _local3 = new URL(_local1); _local4 = new URL(("http://" + _local2)); if (_local3.hostName == _local2){ return ("-"); }; if (_local4.domain == _local3.domain){ if (_local4.subDomain != _local3.subDomain){ _local1 = "0"; }; }; if ((((_local1.charAt(0) == "[")) && (_local1.charAt((_local1.length - 1))))){ _local1 = "-"; }; }; _debug.info(("formated referrer: " + _local1), VisualDebugMode.advanced); return (_local1); } private function _visitCode():Number{ if (_debug.verbose){ _debug.info(("visitCode: " + _buffer.utma.sessionId), VisualDebugMode.geek); }; return (_buffer.utma.sessionId); } public function createEventTracker(_arg1:String):EventTracker{ _debug.info((("createEventTracker( " + _arg1) + " )")); return (new EventTracker(_arg1, this)); } public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{ _debug.warning((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " ) not implemented")); } public function clearIgnoredOrganic():void{ _debug.info("clearIgnoredOrganic()"); _config.organic.clearIgnoredKeywords(); } public function setVar(_arg1:String):void{ var _local2:Variables; if (((!((_arg1 == ""))) && (_isNotGoogleSearch()))){ _initData(); _buffer.utmv.domainHash = _domainHash; _buffer.utmv.value = _arg1; if (_debug.verbose){ _debug.info(_buffer.utmv.toString(), VisualDebugMode.geek); }; _debug.info((("setVar( " + _arg1) + " )")); if (_takeSample()){ _local2 = new Variables(); _local2.utmt = "var"; _gifRequest.send(_account, _local2); }; } else { _debug.warning((("setVar \"" + _arg1) + "\" is ignored")); }; } public function setDomainName(_arg1:String):void{ if (_arg1 == "auto"){ _config.domain.mode = DomainNameMode.auto; } else { if (_arg1 == "none"){ _config.domain.mode = DomainNameMode.none; } else { _config.domain.mode = DomainNameMode.custom; _config.domain.name = _arg1; }; }; _updateDomainName(); _debug.info((("setDomainName( " + _config.domainName) + " )")); } private function _updateDomainName():void{ var _local1:String; if (_config.domain.mode == DomainNameMode.auto){ _local1 = _info.domainName; if (_local1.substring(0, 4) == "www."){ _local1 = _local1.substring(4); }; _config.domain.name = _local1; }; _config.domainName = _config.domain.name.toLowerCase(); _debug.info(("domain name: " + _config.domainName), VisualDebugMode.advanced); } public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):Object{ _debug.warning((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " ) not implemented")); return (null); } private function _renderMetricsSearchVariables(_arg1:String=""):Variables{ var _local4:Variables; var _local2:Variables = new Variables(); _local2.URIencode = true; var _local3:DocumentInfo = new DocumentInfo(_config, _info, _formatedReferrer, _arg1, _adSense); _debug.info(("docInfo: " + _local3.toURLString()), VisualDebugMode.geek); if (_config.campaignTracking){ _local4 = _campaignInfo.toVariables(); }; var _local5:Variables = _browserInfo.toVariables(); _local2.join(_local3.toVariables(), _local5, _local4); return (_local2); } public function setCampContentKey(_arg1:String):void{ _config.campaignKey.UCCT = _arg1; var _local2 = (("setCampContentKey( " + _config.campaignKey.UCCT) + " )"); if (_debug.mode == VisualDebugMode.geek){ _debug.info((_local2 + " [UCCT]")); } else { _debug.info(_local2); }; } private function _handleCookie():void{ var _local1:String; var _local2:String; var _local3:Array; var _local4:String; if (_config.allowLinker){ }; if (((_buffer.hasUTMA()) && (!(_buffer.utma.isEmpty())))){ if (((!(_buffer.hasUTMB())) || (!(_buffer.hasUTMC())))){ _buffer.updateUTMA(_timeStamp); _noSessionInformation = true; }; if (_debug.verbose){ _debug.info(("from cookie " + _buffer.utma.toString()), VisualDebugMode.geek); }; } else { _debug.info("create a new utma", VisualDebugMode.advanced); _buffer.utma.domainHash = _domainHash; _buffer.utma.sessionId = _getUniqueSessionId(); _buffer.utma.firstTime = _timeStamp; _buffer.utma.lastTime = _timeStamp; _buffer.utma.currentTime = _timeStamp; _buffer.utma.sessionCount = 1; if (_debug.verbose){ _debug.info(_buffer.utma.toString(), VisualDebugMode.geek); }; _noSessionInformation = true; _isNewVisitor = true; }; if (((_adSense.gaGlobal) && ((_adSense.dh == String(_domainHash))))){ if (_adSense.sid){ _buffer.utma.currentTime = Number(_adSense.sid); if (_debug.verbose){ _local1 = ""; _local1 = (_local1 + "AdSense sid found\n"); _local1 = (_local1 + (((("Override currentTime(" + _buffer.utma.currentTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")")); _debug.info(_local1, VisualDebugMode.geek); }; }; if (_isNewVisitor){ if (_adSense.sid){ _buffer.utma.lastTime = Number(_adSense.sid); if (_debug.verbose){ _local2 = ""; _local2 = (_local2 + "AdSense sid found (new visitor)\n"); _local2 = (_local2 + (((("Override lastTime(" + _buffer.utma.lastTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")")); _debug.info(_local2, VisualDebugMode.geek); }; }; if (_adSense.vid){ _local3 = _adSense.vid.split("."); _buffer.utma.sessionId = Number(_local3[0]); _buffer.utma.firstTime = Number(_local3[1]); if (_debug.verbose){ _local4 = ""; _local4 = (_local4 + "AdSense vid found (new visitor)\n"); _local4 = (_local4 + (((("Override sessionId(" + _buffer.utma.sessionId) + ") from AdSense vid(") + Number(_local3[0])) + ")\n")); _local4 = (_local4 + (((("Override firstTime(" + _buffer.utma.firstTime) + ") from AdSense vid(") + Number(_local3[1])) + ")")); _debug.info(_local4, VisualDebugMode.geek); }; }; if (_debug.verbose){ _debug.info(("AdSense modified : " + _buffer.utma.toString()), VisualDebugMode.geek); }; }; }; _buffer.utmb.domainHash = _domainHash; if (isNaN(_buffer.utmb.trackCount)){ _buffer.utmb.trackCount = 0; }; if (isNaN(_buffer.utmb.token)){ _buffer.utmb.token = _config.tokenCliff; }; if (isNaN(_buffer.utmb.lastTime)){ _buffer.utmb.lastTime = _buffer.utma.currentTime; }; _buffer.utmc.domainHash = _domainHash; if (_debug.verbose){ _debug.info(_buffer.utmb.toString(), VisualDebugMode.advanced); _debug.info(_buffer.utmc.toString(), VisualDebugMode.advanced); }; } public function setLocalServerMode():void{ _config.serverMode = ServerOperationMode.local; _debug.info("setLocalServerMode()"); } public function clearIgnoredRef():void{ _debug.info("clearIgnoredRef()"); _config.organic.clearIgnoredReferrals(); } public function setCampSourceKey(_arg1:String):void{ _config.campaignKey.UCSR = _arg1; var _local2 = (("setCampSourceKey( " + _config.campaignKey.UCSR) + " )"); if (_debug.mode == VisualDebugMode.geek){ _debug.info((_local2 + " [UCSR]")); } else { _debug.info(_local2); }; } public function getLocalGifPath():String{ _debug.info("getLocalGifPath()"); return (_config.localGIFpath); } public function setLocalGifPath(_arg1:String):void{ _config.localGIFpath = _arg1; _debug.info((("setLocalGifPath( " + _config.localGIFpath) + " )")); } public function getVersion():String{ _debug.info("getVersion()"); return (_config.version); } public function setAllowAnchor(_arg1:Boolean):void{ _config.allowAnchor = _arg1; _debug.info((("setAllowAnchor( " + _config.allowAnchor) + " )")); } private function _isNotGoogleSearch():Boolean{ var _local1:String = _config.domainName; var _local2 = (_local1.indexOf("www.google.") < 0); var _local3 = (_local1.indexOf(".google.") < 0); var _local4 = (_local1.indexOf("google.") < 0); var _local5 = (_local1.indexOf("google.org") > -1); return (((((((((_local2) || (_local3))) || (_local4))) || (!((_config.cookiePath == "/"))))) || (_local5))); } public function setSampleRate(_arg1:Number):void{ if (_arg1 < 0){ _debug.warning("sample rate can not be negative, ignoring value."); } else { _config.sampleRate = _arg1; }; _debug.info((("setSampleRate( " + _config.sampleRate) + " )")); } private function _takeSample():Boolean{ if (_debug.verbose){ _debug.info((((("takeSample: (" + (_visitCode() % 10000)) + ") < (") + (_config.sampleRate * 10000)) + ")"), VisualDebugMode.geek); }; return (((_visitCode() % 10000) < (_config.sampleRate * 10000))); } public function setCookiePath(_arg1:String):void{ _config.cookiePath = _arg1; _debug.info((("setCookiePath( " + _config.cookiePath) + " )")); } public function setAllowHash(_arg1:Boolean):void{ _config.allowDomainHash = _arg1; _debug.info((("setAllowHash( " + _config.allowDomainHash) + " )")); } private function _generateUserDataHash():Number{ var _local1 = ""; _local1 = (_local1 + _info.appName); _local1 = (_local1 + _info.appVersion); _local1 = (_local1 + _info.language); _local1 = (_local1 + _info.platform); _local1 = (_local1 + _info.userAgent.toString()); _local1 = (_local1 + (((_info.screenWidth + "x") + _info.screenHeight) + _info.screenColorDepth)); _local1 = (_local1 + _info.referrer); return (Utils.generateHash(_local1)); } public function setCampNOKey(_arg1:String):void{ _config.campaignKey.UCNO = _arg1; var _local2 = (("setCampNOKey( " + _config.campaignKey.UCNO) + " )"); if (_debug.mode == VisualDebugMode.geek){ _debug.info((_local2 + " [UCNO]")); } else { _debug.info(_local2); }; } public function addIgnoredOrganic(_arg1:String):void{ _debug.info((("addIgnoredOrganic( " + _arg1) + " )")); _config.organic.addIgnoredKeyword(_arg1); } public function setLocalRemoteServerMode():void{ _config.serverMode = ServerOperationMode.both; _debug.info("setLocalRemoteServerMode()"); } public function cookiePathCopy(_arg1:String):void{ _debug.warning((("cookiePathCopy( " + _arg1) + " ) not implemented")); } public function setDetectTitle(_arg1:Boolean):void{ _config.detectTitle = _arg1; _debug.info((("setDetectTitle( " + _config.detectTitle) + " )")); } public function setCampTermKey(_arg1:String):void{ _config.campaignKey.UCTR = _arg1; var _local2 = (("setCampTermKey( " + _config.campaignKey.UCTR) + " )"); if (_debug.mode == VisualDebugMode.geek){ _debug.info((_local2 + " [UCTR]")); } else { _debug.info(_local2); }; } public function getServiceMode():ServerOperationMode{ _debug.info("getServiceMode()"); return (_config.serverMode); } private function _trackMetrics(_arg1:String=""):void{ var _local2:Variables; var _local3:Variables; var _local4:Variables; var _local5:EventInfo; if (_takeSample()){ _local2 = new Variables(); _local2.URIencode = true; if (((_x10Module) && (_x10Module.hasData()))){ _local5 = new EventInfo(false, _x10Module); _local3 = _local5.toVariables(); }; _local4 = _renderMetricsSearchVariables(_arg1); _local2.join(_local3, _local4); _gifRequest.send(_account, _local2); }; } public function setCampaignTrack(_arg1:Boolean):void{ _config.campaignTracking = _arg1; _debug.info((("setCampaignTrack( " + _config.campaignTracking) + " )")); } public function addIgnoredRef(_arg1:String):void{ _debug.info((("addIgnoredRef( " + _arg1) + " )")); _config.organic.addIgnoredReferral(_arg1); } public function clearOrganic():void{ _debug.info("clearOrganic()"); _config.organic.clearEngines(); } public function getDetectFlash():Boolean{ _debug.info("getDetectFlash()"); return (_config.detectFlash); } public function setCampMediumKey(_arg1:String):void{ _config.campaignKey.UCMD = _arg1; var _local2 = (("setCampMediumKey( " + _config.campaignKey.UCMD) + " )"); if (_debug.mode == VisualDebugMode.geek){ _debug.info((_local2 + " [UCMD]")); } else { _debug.info(_local2); }; } private function _getUniqueSessionId():Number{ var _local1:Number = ((Utils.generate32bitRandom() ^ _generateUserDataHash()) * 2147483647); _debug.info(("Session ID: " + _local1), VisualDebugMode.geek); return (_local1); } private function _getDomainHash():Number{ if (((((!(_config.domainName)) || ((_config.domainName == "")))) || ((_config.domain.mode == DomainNameMode.none)))){ _config.domainName = ""; return (1); }; _updateDomainName(); if (_config.allowDomainHash){ return (Utils.generateHash(_config.domainName)); }; return (1); } public function setSessionTimeout(_arg1:int):void{ _config.sessionTimeout = _arg1; _debug.info((("setSessionTimeout( " + _config.sessionTimeout) + " )")); } public function getAccount():String{ _debug.info("getAccount()"); return (_account); } public function link(_arg1:String, _arg2:Boolean=false):void{ _debug.warning((("link( " + [_arg1, _arg2].join(", ")) + " ) not implemented")); } public function setRemoteServerMode():void{ _config.serverMode = ServerOperationMode.remote; _debug.info("setRemoteServerMode()"); } } }//package com.google.analytics.v4
Section 66
//AnalyticsTracker (com.google.analytics.AnalyticsTracker) package com.google.analytics { import flash.events.*; import com.google.analytics.v4.*; import com.google.analytics.debug.*; public interface AnalyticsTracker extends GoogleAnalyticsAPI, IEventDispatcher { function set account(_arg1:String):void; function get config():Configuration; function get mode():String; function set config(_arg1:Configuration):void; function set mode(_arg1:String):void; function set debug(_arg1:DebugConfiguration):void; function get visualDebug():Boolean; function get account():String; function set visualDebug(_arg1:Boolean):void; function isReady():Boolean; function get debug():DebugConfiguration; } }//package com.google.analytics
Section 67
//API (com.google.analytics.API) package com.google.analytics { import com.google.analytics.utils.*; public class API { public static var version:Version = new Version(); version.major = 1; version.minor = 0; version.build = 1; version.revision = "$Rev: 319 $ ".split(" ")[1]; } }//package com.google.analytics
Section 68
//GATracker (com.google.analytics.GATracker) package com.google.analytics { import flash.display.*; import flash.events.*; import com.google.analytics.core.*; import com.google.analytics.v4.*; import com.google.analytics.debug.*; 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){ _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 getClientInfo():Boolean{ return (_tracker.getClientInfo()); } public function trackPageview(_arg1:String=""):void{ _tracker.trackPageview(_arg1); } 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 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 addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function setDomainName(_arg1:String):void{ _tracker.setDomainName(_arg1); } public function createEventTracker(_arg1:String):EventTracker{ return (_tracker.createEventTracker(_arg1)); } public function setCampSourceKey(_arg1:String):void{ _tracker.setCampSourceKey(_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 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 getLocalGifPath():String{ return (_tracker.getLocalGifPath()); } public function setAllowAnchor(_arg1:Boolean):void{ _tracker.setAllowAnchor(_arg1); } public function clearIgnoredRef():void{ _tracker.clearIgnoredRef(); } public function isReady():Boolean{ return (_ready); } 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 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; _jsproxy = new JavascriptProxy(debug); if (visualDebug){ debug.layout = new Layout(debug, _display); debug.active = visualDebug; }; var _local2:TrackerCache = (_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 setCampNOKey(_arg1:String):void{ _tracker.setCampNOKey(_arg1); } 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 getDetectFlash():Boolean{ return (_tracker.getDetectFlash()); } public function get visualDebug():Boolean{ return (_visualDebug); } public function hasEventListener(_arg1:String):Boolean{ return (_eventDispatcher.hasEventListener(_arg1)); } public function getAccount():String{ return (_tracker.getAccount()); } public function setSessionTimeout(_arg1:int):void{ _tracker.setSessionTimeout(_arg1); } public function setRemoteServerMode():void{ _tracker.setRemoteServerMode(); } } var _local1:* = ServerOperationMode; return (_local1); }//package com.google.analytics
Section 69
//AwardsService (com.spilgames.api.AwardsService) package com.spilgames.api { public class AwardsService { public static function submitAward(_arg1:String, _arg2:Function=null):int{ return (SpilGamesServices.getInstance().send("Awards", "submitAward", _arg2, {tag:_arg1, userName:User.getUserName(), userHash:User.getUserHash()})); } } }//package com.spilgames.api
Section 70
//ScoreService (com.spilgames.api.ScoreService) package com.spilgames.api { public class ScoreService { public static function submitScore(_arg1:int, _arg2:Function=null):int{ return (SpilGamesServices.getInstance().send("Score", "submitScore", _arg2, {score:_arg1, userName:User.getUserName(), userHash:User.getUserHash()})); } } }//package com.spilgames.api
Section 71
//SpilGamesServices (com.spilgames.api.SpilGamesServices) package com.spilgames.api { import flash.display.*; import flash.events.*; import flash.net.*; import flash.system.*; public class SpilGamesServices extends MovieClip { private var _connected:Boolean;// = false private var _connecting:Boolean;// = false private var DEFAULT_CONNECTION_LOCATION:String;// = "http://www8.agame.com/games/flash/services/ServicesConnection.swf" private var _loader:Loader; private var _servicesConnection;// = null public static const INVALID_ID:int = -1; private static var _instance:SpilGamesServices = null; public function SpilGamesServices(_arg1:Private=null){ if (!_arg1){ throw (new Error("Cannot instantiate this class, use SpilGamesServices.getInstance")); }; } private function handleRemovedFromStage(_arg1:Event):void{ trace("WARNING: please do not remove SpilGamesServices from the stage"); } private function handleLoadComplete(_arg1:Event):void{ _loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete); _loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError); _servicesConnection = LoaderInfo(_arg1.target).content; _servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady); _servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed); _servicesConnection.addEventListener("serviceError", handleServiceError); addChild(_servicesConnection); } public function send(_arg1:String, _arg2:String, _arg3:Function, _arg4:Object=null):int{ if (isReady()){ return (_servicesConnection.send(_arg1, _arg2, _arg3, _arg4)); }; return (INVALID_ID); } private function handleServicesFailed(_arg1:ErrorEvent):void{ _servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady); _servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed); _servicesConnection.addEventListener("serviceError", handleServiceError); _connecting = false; if (hasEventListener("servicesFailed")){ dispatchEvent(new ErrorEvent("servicesFailed", false, false, _arg1.text)); }; } public function get version():String{ return ("1.0"); } public function isReady():Boolean{ return (((!((_servicesConnection == null))) && (_servicesConnection.isReady()))); } private function handleIOError(_arg1:IOErrorEvent):void{ _loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete); _loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError); _connecting = false; if (hasEventListener(_arg1.type)){ dispatchEvent(_arg1); }; } private function handleServiceError(_arg1:Event):void{ var _local2:String; if (hasEventListener("serviceError")){ _local2 = ""; if ((_arg1 is ErrorEvent)){ _local2 = ErrorEvent(_arg1).text; } else { _local2 = _arg1.toString(); }; dispatchEvent(new ErrorEvent("serviceError", false, false, _local2)); }; } public function disconnect():void{ if (_servicesConnection){ _servicesConnection.removeEventListener(Event.COMPLETE, handleServicesReady); _servicesConnection.removeEventListener(ErrorEvent.ERROR, handleServicesFailed); _servicesConnection.removeEventListener("serviceError", handleServiceError); if (_connected){ _servicesConnection.disconnect(); }; removeChild(_servicesConnection); }; _servicesConnection = null; if (_loader){ try { _loader.close(); } catch(e:Error) { } finally { _loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete); _loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError); }; _loader = null; }; removeEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage); if (parent){ parent.removeChild(this); }; _connected = (_connecting = false); } private function handleServicesReady(_arg1:Event):void{ _loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete); _loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError); _connected = true; _connecting = false; dispatchEvent(new Event("servicesReady")); } public function get connection(){ return (_servicesConnection); } public function getSiteID():int{ if (_servicesConnection != null){ return (_servicesConnection.getSiteID()); }; return (INVALID_ID); } public function getChannelID():int{ if (_servicesConnection != null){ return (_servicesConnection.getChannelID()); }; return (INVALID_ID); } public function connect(_arg1:DisplayObjectContainer):void{ var _local2:URLRequest; var _local3:String; var _local4:URLVariables; var _local5:Date; if (((!(_connecting)) && (!(_connected)))){ if (!_arg1.stage){ throw (new Error("The given clip must be present in the display list (added to stage)")); }; _connecting = true; _arg1.stage.addChild(this); addEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage); if (((root.loaderInfo.parameters["servicesLoc"]) && ((root.loaderInfo.parameters["servicesLoc"].length > 0)))){ _local3 = root.loaderInfo.parameters["servicesLoc"]; _local2 = new URLRequest(_local3); } else { _local3 = DEFAULT_CONNECTION_LOCATION; _local4 = new URLVariables(); _local5 = new Date(); _local4.nocache = (((_local5.month + 1) * 31) + _local5.day); _local2 = new URLRequest(_local3); _local2.data = _local4; }; allowDomain(_local3); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadComplete); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, handleIOError); _loader.load(_local2); }; } public function getItemID():int{ if (_servicesConnection != null){ return (_servicesConnection.getItemID()); }; return (INVALID_ID); } public function allowDomain(_arg1:String):void{ Security.allowDomain("*"); Security.allowInsecureDomain("*"); } public function get connecting():Boolean{ return (_connecting); } public function isDomainAllowed():Boolean{ return (((!((_servicesConnection == null))) && (_servicesConnection.isDomainValid()))); } public function bringToFront(_arg1:Event=null):void{ var e = _arg1; if (parent){ try { parent.setChildIndex(this, (parent.numChildren - 1)); } catch(e:Error) { removeEventListener(Event.ENTER_FRAME, bringToFront); }; }; } public static function getInstance():SpilGamesServices{ if (!_instance){ _instance = new SpilGamesServices(new Private()); }; return (_instance); } } }//package com.spilgames.api class Private { private function Private(){ } }
Section 72
//User (com.spilgames.api.User) package com.spilgames.api { import flash.display.*; public class User { public static function getUserName():String{ var _local1:* = SpilGamesServices.getInstance().connection; if (_local1 != null){ return (_local1.getUserName()); }; return (""); } public static function isGuest():Boolean{ var _local2:DisplayObject; var _local3:Object; var _local1:* = SpilGamesServices.getInstance().connection; if (_local1 != null){ return (_local1.isGuest()); }; _local2 = SpilGamesServices.getInstance().root; if (_local2.loaderInfo != null){ _local3 = _local2.loaderInfo.parameters; return (((((((!(_local3.username)) || ((_local3.username == "")))) || (!(_local3.hash)))) || ((_local3.hash == "")))); }; return (false); } public static function getUserHash():String{ var _local1:* = SpilGamesServices.getInstance().connection; if (_local1 != null){ return (_local1.getUserHash()); }; return (""); } } }//package com.spilgames.api
Section 73
//BaseButton (fl.controls.BaseButton) package fl.controls { import flash.display.*; import flash.events.*; import fl.core.*; import flash.utils.*; import fl.events.*; public class BaseButton extends UIComponent { protected var pressTimer:Timer; protected var _autoRepeat:Boolean;// = false protected var _selected:Boolean;// = false protected var background:DisplayObject; private var unlockedMouseState:String; protected var mouseState:String; private var _mouseStateLocked:Boolean;// = false private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35}; public function BaseButton(){ buttonMode = true; mouseChildren = false; useHandCursor = false; setupMouseEvents(); setMouseState("up"); pressTimer = new Timer(1, 0); pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true); } override public function get enabled():Boolean{ return (super.enabled); } protected function startPress():void{ if (_autoRepeat){ pressTimer.delay = Number(getStyleValue("repeatDelay")); pressTimer.start(); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function drawLayout():void{ background.width = width; background.height = height; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseEnabled = _arg1; } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; } protected function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_DOWN){ setMouseState("down"); startPress(); } else { if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){ setMouseState("over"); endPress(); } else { if (_arg1.type == MouseEvent.ROLL_OUT){ setMouseState("up"); endPress(); }; }; }; } protected function drawBackground():void{ var _local1:String = (enabled) ? mouseState : "disabled"; if (selected){ _local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1)); }; _local1 = (_local1 + "Skin"); var _local2:DisplayObject = background; background = getDisplayObjectInstance(getStyleValue(_local1)); addChildAt(background, 0); if (((!((_local2 == null))) && (!((_local2 == background))))){ removeChild(_local2); }; } public function get selected():Boolean{ return (_selected); } protected function setupMouseEvents():void{ addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true); } protected function endPress():void{ pressTimer.reset(); } public function set mouseStateLocked(_arg1:Boolean):void{ _mouseStateLocked = _arg1; if (_arg1 == false){ setMouseState(unlockedMouseState); } else { unlockedMouseState = mouseState; }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set selected(_arg1:Boolean):void{ if (_selected == _arg1){ return; }; _selected = _arg1; invalidate(InvalidationType.STATE); } protected function buttonDown(_arg1:TimerEvent):void{ if (!_autoRepeat){ endPress(); return; }; if (pressTimer.currentCount == 1){ pressTimer.delay = Number(getStyleValue("repeatInterval")); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } public function setMouseState(_arg1:String):void{ if (_mouseStateLocked){ unlockedMouseState = _arg1; return; }; if (mouseState == _arg1){ return; }; mouseState = _arg1; invalidate(InvalidationType.STATE); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 74
//Button (fl.controls.Button) package fl.controls { import flash.display.*; import fl.core.*; import fl.managers.*; public class Button extends LabelButton implements IFocusManagerComponent { protected var _emphasized:Boolean;// = false protected var emphasizedBorder:DisplayObject; private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2}; public static var createAccessibilityImplementation:Function; public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; invalidate(InvalidationType.STYLES); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } protected function drawEmphasized():void{ var _local2:Number; if (emphasizedBorder != null){ removeChild(emphasizedBorder); }; emphasizedBorder = null; if (!_emphasized){ return; }; var _local1:Object = getStyleValue("emphasizedSkin"); if (_local1 != null){ emphasizedBorder = getDisplayObjectInstance(_local1); }; if (emphasizedBorder != null){ addChildAt(emphasizedBorder, 0); _local2 = Number(getStyleValue("emphasizedPadding")); emphasizedBorder.x = (emphasizedBorder.y = -(_local2)); emphasizedBorder.width = (width + (_local2 * 2)); emphasizedBorder.height = (height + (_local2 * 2)); }; } public function get emphasized():Boolean{ return (_emphasized); } override protected function draw():void{ if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){ drawEmphasized(); }; super.draw(); if (emphasizedBorder != null){ setChildIndex(emphasizedBorder, (numChildren - 1)); }; } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; var _local3:*; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("emphasizedPadding")); if ((((_local2 < 0)) || (!(_emphasized)))){ _local2 = 0; }; _local3 = getStyleValue("focusRectPadding"); _local3 = ((_local3)==null) ? 2 : _local3; _local3 = (_local3 + _local2); uiFocusRect.x = -(_local3); uiFocusRect.y = -(_local3); uiFocusRect.width = (width + (_local3 * 2)); uiFocusRect.height = (height + (_local3 * 2)); }; } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles)); } } }//package fl.controls
Section 75
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement) package fl.controls { public class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package fl.controls
Section 76
//LabelButton (fl.controls.LabelButton) package fl.controls { import flash.display.*; import flash.text.*; import flash.events.*; import fl.core.*; import fl.managers.*; import fl.events.*; import flash.ui.*; public class LabelButton extends BaseButton implements IFocusManagerComponent { protected var _toggle:Boolean;// = false public var textField:TextField; protected var mode:String;// = "center" protected var _labelPlacement:String;// = "right" protected var oldMouseState:String; protected var _label:String;// = "Label" protected var icon:DisplayObject; private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false}; public static var createAccessibilityImplementation:Function; override protected function draw():void{ if (textField.text != _label){ label = _label; }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); drawIcon(); drawTextFormat(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } override protected function drawLayout():void{ var _local7:Number; var _local8:Number; var _local1:Number = Number(getStyleValue("textPadding")); var _local2:String = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement; textField.height = (textField.textHeight + 4); var _local3:Number = (textField.textWidth + 4); var _local4:Number = (textField.textHeight + 4); var _local5:Number = ((icon)==null) ? 0 : (icon.width + _local1); var _local6:Number = ((icon)==null) ? 0 : (icon.height + _local1); textField.visible = (label.length > 0); if (icon != null){ icon.x = Math.round(((width - icon.width) / 2)); icon.y = Math.round(((height - icon.height) / 2)); }; if (textField.visible == false){ textField.width = 0; textField.height = 0; } else { if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){ _local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1)))); if ((height - 2) > _local4){ _local8 = _local4; } else { _local8 = (height - 2); }; _local3 = _local7; textField.width = _local3; _local4 = _local8; textField.height = _local4; textField.x = Math.round(((width - _local3) / 2)); textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0)); if (icon != null){ icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1)); }; } else { _local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1)))); _local3 = _local7; textField.width = _local3; textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0)); textField.y = Math.round(((height - textField.height) / 2)); if (icon != null){ icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1)); }; }; }; super.drawLayout(); } protected function toggleSelected(_arg1:MouseEvent):void{ selected = !(selected); dispatchEvent(new Event(Event.CHANGE, true)); } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ setMouseState(oldMouseState); oldMouseState = null; endPress(); dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; } public function get labelPlacement():String{ return (_labelPlacement); } public function get toggle():Boolean{ return (_toggle); } protected function setEmbedFont(){ var _local1:Object = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } override public function get selected():Boolean{ return ((_toggle) ? _selected : false); } override protected function configUI():void{ super.configUI(); textField = new TextField(); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; addChild(textField); } override protected function initializeAccessibility():void{ if (LabelButton.createAccessibilityImplementation != null){ LabelButton.createAccessibilityImplementation(this); }; } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidate(InvalidationType.SIZE); } protected function drawIcon():void{ var _local1:DisplayObject = icon; var _local2:String = (enabled) ? mouseState : "disabled"; if (selected){ _local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1)); }; _local2 = (_local2 + "Icon"); var _local3:Object = getStyleValue(_local2); if (_local3 == null){ _local3 = getStyleValue("icon"); }; if (_local3 != null){ icon = getDisplayObjectInstance(_local3); }; if (icon != null){ addChildAt(icon, 1); }; if (((!((_local1 == null))) && (!((_local1 == icon))))){ removeChild(_local1); }; } public function set label(_arg1:String):void{ _label = _arg1; if (textField.text != _label){ textField.text = _label; dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE)); }; invalidate(InvalidationType.SIZE); invalidate(InvalidationType.STYLES); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (oldMouseState == null){ oldMouseState = mouseState; }; setMouseState("down"); startPress(); }; } public function set toggle(_arg1:Boolean):void{ if (((!(_arg1)) && (super.selected))){ selected = false; }; _toggle = _arg1; if (_toggle){ addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true); } else { removeEventListener(MouseEvent.CLICK, toggleSelected); }; invalidate(InvalidationType.STATE); } override public function set selected(_arg1:Boolean):void{ _selected = _arg1; if (_toggle){ invalidate(InvalidationType.STATE); }; } protected function drawTextFormat():void{ var _local1:Object = UIComponent.getStyleDefinition(); var _local2:TextFormat = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); var _local3:TextFormat = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); } public function get label():String{ return (_label); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition())); } } }//package fl.controls
Section 77
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 78
//InvalidationType (fl.core.InvalidationType) package fl.core { public class InvalidationType { public static const SIZE:String = "size"; public static const ALL:String = "all"; public static const DATA:String = "data"; public static const SCROLL:String = "scroll"; public static const STATE:String = "state"; public static const STYLES:String = "styles"; public static const SELECTED:String = "selected"; public static const RENDERER_STYLES:String = "rendererStyles"; } }//package fl.core
Section 79
//UIComponent (fl.core.UIComponent) package fl.core { import flash.display.*; import flash.text.*; import flash.events.*; import fl.managers.*; import flash.utils.*; import fl.events.*; import flash.system.*; public class UIComponent extends Sprite { protected var _x:Number; protected var _enabled:Boolean;// = true protected var callLaterMethods:Dictionary; private var _mouseFocusEnabled:Boolean;// = true private var tempText:TextField; private var _focusEnabled:Boolean;// = true protected var startHeight:Number; protected var _height:Number; protected var invalidateFlag:Boolean;// = false protected var _oldIMEMode:String;// = null protected var _inspector:Boolean;// = false protected var startWidth:Number; public var focusTarget:IFocusManagerComponent; protected var errorCaught:Boolean;// = false protected var invalidHash:Object; protected var sharedStyles:Object; protected var uiFocusRect:DisplayObject; protected var isLivePreview:Boolean;// = false protected var _imeMode:String;// = null protected var _width:Number; protected var instanceStyles:Object; public var version:String;// = "3.0.0.16" protected var isFocused:Boolean;// = false protected var _y:Number; public static var inCallLaterPhase:Boolean = false; private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)}; public static var createAccessibilityImplementation:Function; private static var focusManagers:Dictionary = new Dictionary(false); public function UIComponent(){ instanceStyles = {}; sharedStyles = {}; invalidHash = {}; callLaterMethods = new Dictionary(); StyleManager.registerInstance(this); configUI(); invalidate(InvalidationType.ALL); tabEnabled = (this is IFocusManagerComponent); focusRect = false; if (tabEnabled){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; initializeFocusManager(); addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true); } public function getStyle(_arg1:String):Object{ return (instanceStyles[_arg1]); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } private function callLaterDispatcher(_arg1:Event):void{ var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; var _local2:Dictionary = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } protected function validate():void{ invalidHash = {}; } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus((_arg1.target as DisplayObject))){ drawFocus(false); isFocused = false; }; } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } public function getFocus():InteractiveObject{ if (stage){ return (stage.focus); }; return (null); } override public function get height():Number{ return (_height); } private function addedHandler(_arg1:Event):void{ removeEventListener("addedToStage", addedHandler); initializeFocusManager(); } protected function getStyleValue(_arg1:String):Object{ return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]); } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } public function get enabled():Boolean{ return (_enabled); } protected function getScaleX():Number{ return (super.scaleX); } protected function getScaleY():Number{ return (super.scaleY); } public function get focusEnabled():Boolean{ return (_focusEnabled); } protected function afterComponentParameters():void{ } override public function get scaleY():Number{ return ((height / startHeight)); } protected function setIMEMode(_arg1:Boolean){ var enabled = _arg1; if (_imeMode != null){ if (enabled){ IME.enabled = true; _oldIMEMode = IME.conversionMode; try { if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _imeMode; }; errorCaught = false; } catch(e:Error) { errorCaught = true; throw (new Error(("IME mode not supported: " + _imeMode))); }; } else { if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _oldIMEMode; }; IME.enabled = false; }; }; } protected function draw():void{ if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } override public function set height(_arg1:Number):void{ if (_height == _arg1){ return; }; setSize(width, _arg1); } protected function configUI():void{ isLivePreview = checkLivePreview(); var _local1:Number = rotation; rotation = 0; var _local2:Number = super.width; var _local3:Number = super.height; var _local4 = 1; super.scaleY = _local4; super.scaleX = _local4; setSize(_local2, _local3); move(super.x, super.y); rotation = _local1; startWidth = _local2; startHeight = _local3; if (numChildren > 0){ removeChildAt(0); }; } protected function setScaleY(_arg1:Number):void{ super.scaleY = _arg1; } override public function get scaleX():Number{ return ((width / startWidth)); } protected function setScaleX(_arg1:Number):void{ super.scaleX = _arg1; } private function initializeFocusManager():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true); } else { createFocusManager(); }; } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } public function set focusManager(_arg1:IFocusManager):void{ UIComponent.focusManagers[this] = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } public function setStyle(_arg1:String, _arg2:Object):void{ if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; instanceStyles[_arg1] = _arg2; invalidate(InvalidationType.STYLES); } override public function get visible():Boolean{ return (super.visible); } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus((_arg1.target as DisplayObject))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); isFocused = true; }; }; } public function get componentInspectorSetting():Boolean{ return (_inspector); } override public function get x():Number{ return ((isNaN(_x)) ? super.x : _x); } override public function get y():Number{ return ((isNaN(_y)) ? super.y : _y); } public function set enabled(_arg1:Boolean):void{ if (_arg1 == _enabled){ return; }; _enabled = _arg1; invalidate(InvalidationType.STATE); } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(InvalidationType.SIZE); dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false)); } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } public function setSharedStyle(_arg1:String, _arg2:Object):void{ if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; sharedStyles[_arg1] = _arg2; if (instanceStyles[_arg1] == null){ invalidate(InvalidationType.STYLES); }; } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } override public function set width(_arg1:Number):void{ if (_width == _arg1){ return; }; setSize(_arg1, height); } public function setFocus():void{ if (stage){ stage.focus = this; }; } override public function set scaleX(_arg1:Number):void{ setSize((startWidth * _arg1), height); } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } override public function set scaleY(_arg1:Number):void{ setSize(width, (startHeight * _arg1)); } protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{ var skin = _arg1; var classDef:Object; if ((skin is Class)){ return ((new (skin) as DisplayObject)); }; if ((skin is DisplayObject)){ (skin as DisplayObject).x = 0; (skin as DisplayObject).y = 0; return ((skin as DisplayObject)); }; try { classDef = getDefinitionByName(skin.toString()); } catch(e:Error) { try { classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object); } catch(e:Error) { }; }; if (classDef == null){ return (null); }; return ((new (classDef) as DisplayObject)); } protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{ var _local3:String; for (_local3 in _arg2) { _arg1.setStyle(_local3, getStyleValue(_arg2[_local3])); }; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function get focusManager():IFocusManager{ var _local1:DisplayObject = this; while (_local1) { if (UIComponent.focusManagers[_local1] != null){ return (IFocusManager(UIComponent.focusManagers[_local1])); }; _local1 = _local1.parent; }; return (null); } override public function get width():Number{ return (_width); } protected function beforeComponentParameters():void{ } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } public function move(_arg1:Number, _arg2:Number):void{ _x = _arg1; _y = _arg2; super.x = Math.round(_arg1); super.y = Math.round(_arg2); dispatchEvent(new ComponentEvent(ComponentEvent.MOVE)); } public function validateNow():void{ invalidate(InvalidationType.ALL, false); draw(); } override public function set visible(_arg1:Boolean):void{ if (super.visible == _arg1){ return; }; super.visible = _arg1; var _local2:String = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE; dispatchEvent(new ComponentEvent(_local2, true)); } protected function createFocusManager():void{ if (focusManagers[stage] == null){ focusManagers[stage] = new FocusManager(stage); }; } protected function hookAccessibility(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, hookAccessibility); initializeAccessibility(); } public function set componentInspectorSetting(_arg1:Boolean):void{ _inspector = _arg1; if (_inspector){ beforeComponentParameters(); } else { afterComponentParameters(); }; } override public function set y(_arg1:Number):void{ move(_x, _arg1); } public function drawFocus(_arg1:Boolean):void{ var _local2:Number; isFocused = _arg1; if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){ removeChild(uiFocusRect); uiFocusRect = null; }; if (_arg1){ uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite); if (uiFocusRect == null){ return; }; _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = -(_local2); uiFocusRect.y = -(_local2); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); addChildAt(uiFocusRect, 0); }; } override public function set x(_arg1:Number):void{ move(_arg1, _y); } public function drawNow():void{ draw(); } public static function getStyleDefinition():Object{ return (defaultStyles); } public static function mergeStyles(... _args):Object{ var _local5:Object; var _local6:String; var _local2:Object = {}; var _local3:uint = _args.length; var _local4:uint; while (_local4 < _local3) { _local5 = _args[_local4]; for (_local6 in _local5) { if (_local2[_local6] != null){ } else { _local2[_local6] = _args[_local4][_local6]; }; }; _local4++; }; return (_local2); } } }//package fl.core
Section 80
//ComponentEvent (fl.events.ComponentEvent) package fl.events { import flash.events.*; public class ComponentEvent extends Event { public static const HIDE:String = "hide"; public static const BUTTON_DOWN:String = "buttonDown"; public static const MOVE:String = "move"; public static const RESIZE:String = "resize"; public static const ENTER:String = "enter"; public static const LABEL_CHANGE:String = "labelChange"; public static const SHOW:String = "show"; public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("ComponentEvent", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new ComponentEvent(type, bubbles, cancelable)); } } }//package fl.events
Section 81
//FocusManager (fl.managers.FocusManager) package fl.managers { import fl.controls.*; import flash.display.*; import flash.text.*; import flash.events.*; import fl.core.*; import flash.utils.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var focusableObjects:Dictionary; private var _showFocusIndicator:Boolean;// = true private var defButton:Button; private var focusableCandidates:Array; private var _form:DisplayObjectContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var calculateCandidates:Boolean;// = true private var lastFocus:InteractiveObject; private var lastAction:String; public function FocusManager(_arg1:DisplayObjectContainer){ focusableObjects = new Dictionary(true); if (_arg1 != null){ _form = _arg1; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); activate(); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; var _local5:int = focusableCandidates.length; var _local6:int = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ if ((_arg1.relatedObject is TextField)){ return; }; _arg1.preventDefault(); } public function set form(_arg1:DisplayObjectContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var io:InteractiveObject; var doc:DisplayObjectContainer; var i:int; var child:DisplayObject; var o = _arg1; var skipTopLevel = _arg2; if (!skipTopLevel){ if ((o is IFocusManagerComponent)){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects[o] = true; calculateCandidates = true; }; o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; } else { if ((o is InteractiveObject)){ io = (o as InteractiveObject); if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){ focusableObjects[io] = true; calculateCandidates = true; }; io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){ i = 0; while (i < doc.numChildren) { try { child = doc.getChildAt(i); if (child != null){ addFocusables(doc.getChildAt(i)); }; } catch(error:SecurityError) { }; i = (i + 1); }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ return (_arg1.getChildIndex(_arg2)); } public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{ var _local2:InteractiveObject = _arg1; while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (_arg1); }; _arg1 = _arg1.parent; }; return (_local2); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject = (_arg1.target as InteractiveObject); } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } private function setFocusToNextObject(_arg1:FocusEvent):void{ if (!hasFocusableObjects()){ return; }; var _local2:InteractiveObject = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function sortFocusableObjectsTabIndex():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){ focusableCandidates.push(_local2); }; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject):void{ var _local2:Object; var _local3:DisplayObject; if ((_arg1 is DisplayObjectContainer)){ _arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); _arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); for (_local2 in focusableObjects) { _local3 = DisplayObject(_local2); if (DisplayObjectContainer(_arg1).contains(_local3)){ if (_local3 == lastFocus){ lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local2]; calculateCandidates = true; }; }; }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } public function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local3:TextField; var _local4:SimpleButton; var _local2:DisplayObjectContainer = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).enabled){ return (false); }; } else { if ((_arg1 is TextField)){ _local3 = TextField(_arg1); if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){ return (false); }; } else { if ((_arg1 is SimpleButton)){ _local4 = SimpleButton(_arg1); if (!_local4.enabled){ return (false); }; }; }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } private function tabChildrenChangeHandler(_arg1:Event):void{ if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; var _local2:DisplayObjectContainer = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2); }; } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject = InteractiveObject(_arg1.target); } public function setFocus(_arg1:InteractiveObject):void{ if ((_arg1 is IFocusManagerComponent)){ IFocusManagerComponent(_arg1).setFocus(); } else { form.stage.focus = _arg1; }; } public function getFocus():InteractiveObject{ var _local1:InteractiveObject = form.stage.focus; return (findFocusManagerComponent(_local1)); } private function hasFocusableObjects():Boolean{ var _local1:Object; for (_local1 in focusableObjects) { return (true); }; return (false); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } public function set defaultButton(_arg1:Button):void{ var _local2:Button = (_arg1) ? Button(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } private function sortFocusableObjects():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local2); }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){ setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int = focusableCandidates.length; var _local3:int; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function hideFocus():void{ } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local4:InteractiveObject; var _local3:DisplayObject = DisplayObject(_arg1.target); if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){ if (_local3 == lastFocus){ IFocusManagerComponent(lastFocus).drawFocus(false); lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local3]; calculateCandidates = true; } else { if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){ _local4 = (_local3 as InteractiveObject); if (_local4){ if (_local4 == lastFocus){ lastFocus = null; }; delete focusableObjects[_local4]; calculateCandidates = true; }; _local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); }; }; removeFocusables(_local3); } private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{ var _local5:int; var _local6:String; var _local7:String; var _local3 = ""; var _local4 = ""; var _local8 = "0000"; var _local9:DisplayObject = DisplayObject(_arg1); var _local10:DisplayObject = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } public function get defaultButton():Button{ return (_defaultButton); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject = InteractiveObject(_arg1.target); if (lastFocus){ if ((lastFocus is IFocusManagerComponent)){ IFocusManagerComponent(lastFocus).setFocus(); } else { form.stage.focus = lastFocus; }; }; lastAction = "ACTIVATE"; } public function showFocus():void{ } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{ var _local8:IFocusManagerGroup; if (!hasFocusableObjects()){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; var _local2:DisplayObject = form.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); var _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; var _local4:int = getIndexOfFocusedObject(_local2); var _local5:Boolean; var _local6:int = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; var _local7:int = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } private function mouseDownHandler(_arg1:MouseEvent):void{ if (_arg1.isDefaultPrevented()){ return; }; var _local2:InteractiveObject = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(_local2); }; lastAction = "MOUSEDOWN"; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer = _arg1.parent; while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) { if (!_local2.tabChildren){ return (false); }; _local2 = _local2.parent; }; return (true); } public function get nextTabIndex():int{ return (0); } private function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ sendDefaultButtonEvent(); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local3:Button; var _local2:InteractiveObject = InteractiveObject(_arg1.target); if (form.contains(_local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is Button)){ _local3 = Button(lastFocus); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } private function tabEnabledChangeHandler(_arg1:Event):void{ calculateCandidates = true; var _local2:InteractiveObject = InteractiveObject(_arg1.target); var _local3 = (focusableObjects[_local2] == true); if (_local2.tabEnabled){ if (((!(_local3)) && (isTabVisible(_local2)))){ if (!(_local2 is IFocusManagerComponent)){ _local2.focusRect = false; }; focusableObjects[_local2] = true; }; } else { if (_local3){ delete focusableObjects[_local2]; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } public function get form():DisplayObjectContainer{ return (_form); } private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{ return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2)); } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } public function activate():void{ if (activated){ return; }; form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function deactivate():void{ form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } } }//package fl.managers
Section 82
//IFocusManager (fl.managers.IFocusManager) package fl.managers { import fl.controls.*; import flash.display.*; public interface IFocusManager { function getFocus():InteractiveObject; function deactivate():void; function set defaultButton(_arg1:Button):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject; function get nextTabIndex():int; function get defaultButton():Button; function get showFocusIndicator():Boolean; function hideFocus():void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function setFocus(_arg1:InteractiveObject):void; function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject; } }//package fl.managers
Section 83
//IFocusManagerComponent (fl.managers.IFocusManagerComponent) package fl.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package fl.managers
Section 84
//IFocusManagerGroup (fl.managers.IFocusManagerGroup) package fl.managers { public interface IFocusManagerGroup { function get groupName():String; function get selected():Boolean; function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; } }//package fl.managers
Section 85
//StyleManager (fl.managers.StyleManager) package fl.managers { import flash.text.*; import fl.core.*; import flash.utils.*; public class StyleManager { private var classToInstancesDict:Dictionary; private var globalStyles:Object; private var styleToClassesHash:Object; private var classToStylesDict:Dictionary; private var classToDefaultStylesDict:Dictionary; private static var _instance:StyleManager; public function StyleManager(){ styleToClassesHash = {}; classToInstancesDict = new Dictionary(true); classToStylesDict = new Dictionary(true); classToDefaultStylesDict = new Dictionary(true); globalStyles = UIComponent.getStyleDefinition(); } public static function clearComponentStyle(_arg1:Object, _arg2:String):void{ var _local3:Class = getClassDef(_arg1); var _local4:Object = getInstance().classToStylesDict[_local3]; if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){ delete _local4[_arg2]; invalidateComponentStyle(_local3, _arg2); }; } private static function getClassDef(_arg1:Object):Class{ var component = _arg1; if ((component is Class)){ return ((component as Class)); }; try { return ((getDefinitionByName(getQualifiedClassName(component)) as Class)); } catch(e:Error) { if ((component is UIComponent)){ try { return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class)); } catch(e:Error) { }; }; }; return (null); } public static function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Class = getClassDef(_arg1); var _local5:Object = getInstance().classToStylesDict[_local4]; if (_local5 == null){ _local5 = (getInstance().classToStylesDict[_local4] = {}); }; if (_local5 == _arg3){ return; }; _local5[_arg2] = _arg3; invalidateComponentStyle(_local4, _arg2); } private static function setSharedStyles(_arg1:UIComponent):void{ var _local5:String; var _local2:StyleManager = getInstance(); var _local3:Class = getClassDef(_arg1); var _local4:Object = _local2.classToDefaultStylesDict[_local3]; for (_local5 in _local4) { _arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5)); }; } public static function getComponentStyle(_arg1:Object, _arg2:String):Object{ var _local3:Class = getClassDef(_arg1); var _local4:Object = getInstance().classToStylesDict[_local3]; return (((_local4)==null) ? null : _local4[_arg2]); } private static function getInstance(){ if (_instance == null){ _instance = new (StyleManager); }; return (_instance); } private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{ var _local4:Object; var _local5:UIComponent; var _local3:Dictionary = getInstance().classToInstancesDict[_arg1]; if (_local3 == null){ return; }; for (_local4 in _local3) { _local5 = (_local4 as UIComponent); if (_local5 == null){ } else { _local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2)); }; }; } private static function invalidateStyle(_arg1:String):void{ var _local3:Object; var _local2:Dictionary = getInstance().styleToClassesHash[_arg1]; if (_local2 == null){ return; }; for (_local3 in _local2) { invalidateComponentStyle(Class(_local3), _arg1); }; } public static function registerInstance(_arg1:UIComponent):void{ var target:Class; var defaultStyles:Object; var styleToClasses:Object; var n:String; var instance = _arg1; var inst:StyleManager = getInstance(); var classDef:Class = getClassDef(instance); if (classDef == null){ return; }; if (inst.classToInstancesDict[classDef] == null){ inst.classToInstancesDict[classDef] = new Dictionary(true); target = classDef; while (defaultStyles == null) { if (target["getStyleDefinition"] != null){ defaultStyles = target["getStyleDefinition"](); break; }; try { target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class); } catch(err:Error) { try { target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class); } catch(e:Error) { defaultStyles = UIComponent.getStyleDefinition(); break; }; }; }; styleToClasses = inst.styleToClassesHash; for (n in defaultStyles) { if (styleToClasses[n] == null){ styleToClasses[n] = new Dictionary(true); }; styleToClasses[n][classDef] = true; }; inst.classToDefaultStylesDict[classDef] = defaultStyles; if (inst.classToStylesDict[classDef] == null){ inst.classToStylesDict[classDef] = {}; }; }; inst.classToInstancesDict[classDef][instance] = true; setSharedStyles(instance); } public static function getStyle(_arg1:String):Object{ return (getInstance().globalStyles[_arg1]); } private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{ var _local3:Class = getClassDef(_arg1); var _local4:StyleManager = getInstance(); var _local5:Object = _local4.classToStylesDict[_local3][_arg2]; if (_local5 != null){ return (_local5); }; _local5 = _local4.globalStyles[_arg2]; if (_local5 != null){ return (_local5); }; return (_local4.classToDefaultStylesDict[_local3][_arg2]); } public static function setStyle(_arg1:String, _arg2:Object):void{ var _local3:Object = getInstance().globalStyles; if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; _local3[_arg1] = _arg2; invalidateStyle(_arg1); } } }//package fl.managers
Section 86
//backflipClip_276 (game_fla.backflipClip_276) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class backflipClip_276 extends MovieClip { public var __id4_:LocalizedTextField; public function backflipClip_276(){ __setProp___id4__backflipClip_Layer1_0(); } function __setProp___id4__backflipClip_Layer1_0(){ try { __id4_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id4_.text = "{backflip}"; __id4_.textColor = 0xFFA600; __id4_.textSize = 40; __id4_.bold = false; __id4_.disableWordwrap = false; __id4_.embedFonts = true; __id4_.font = "TypographyofCoop-Black"; __id4_.hAlign = "center"; __id4_.multiline = false; __id4_.vAlign = "middle"; __id4_.antiAliasType = "advanced"; __id4_.glowBlur = 0; __id4_.glowColor = 0; __id4_.useGlowFilter = false; __id4_.glowQuality = 0; __id4_.glowStrength = 1000; __id4_.gridFitType = "pixel"; __id4_.italic = false; __id4_.selectable = false; __id4_.underline = false; try { __id4_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 87
//cadillac_191 (game_fla.cadillac_191) package game_fla { import flash.display.*; public dynamic class cadillac_191 extends MovieClip { public function cadillac_191(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package game_fla
Section 88
//elvis_180 (game_fla.elvis_180) package game_fla { import flash.display.*; public dynamic class elvis_180 extends MovieClip { public function elvis_180(){ addFrameScript(24, frame25); } function frame25(){ stop(); } } }//package game_fla
Section 89
//elvis_181 (game_fla.elvis_181) package game_fla { import flash.display.*; public dynamic class elvis_181 extends MovieClip { public function elvis_181(){ addFrameScript(26, frame27); } function frame27(){ stop(); } } }//package game_fla
Section 90
//elvis_182 (game_fla.elvis_182) package game_fla { import flash.display.*; public dynamic class elvis_182 extends MovieClip { public function elvis_182(){ addFrameScript(34, frame35); } function frame35(){ gotoAndPlay("loop"); } } }//package game_fla
Section 91
//elvis_183 (game_fla.elvis_183) package game_fla { import flash.display.*; public dynamic class elvis_183 extends MovieClip { public function elvis_183(){ addFrameScript(35, frame36); } function frame36(){ gotoAndPlay("loop"); } } }//package game_fla
Section 92
//elvis_186 (game_fla.elvis_186) package game_fla { import flash.display.*; public dynamic class elvis_186 extends MovieClip { public function elvis_186(){ addFrameScript(64, frame65, 67, frame68); } function frame65(){ gotoAndPlay("loop"); } function frame68(){ gotoAndPlay(1); } } }//package game_fla
Section 93
//elvis_187 (game_fla.elvis_187) package game_fla { import flash.display.*; public dynamic class elvis_187 extends MovieClip { public function elvis_187(){ addFrameScript(19, frame20); } function frame20(){ gotoAndPlay("loop"); } } }//package game_fla
Section 94
//elvis_188 (game_fla.elvis_188) package game_fla { import flash.display.*; public dynamic class elvis_188 extends MovieClip { public function elvis_188(){ addFrameScript(9, frame10); } function frame10(){ stop(); } } }//package game_fla
Section 95
//elvis_196 (game_fla.elvis_196) package game_fla { import flash.display.*; public dynamic class elvis_196 extends MovieClip { public function elvis_196(){ addFrameScript(23, frame24); } function frame24(){ stop(); } } }//package game_fla
Section 96
//elvis_197 (game_fla.elvis_197) package game_fla { import flash.display.*; public dynamic class elvis_197 extends MovieClip { public var anim:MovieClip; public function elvis_197(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package game_fla
Section 97
//elvis_198 (game_fla.elvis_198) package game_fla { import flash.display.*; public dynamic class elvis_198 extends MovieClip { public function elvis_198(){ addFrameScript(33, frame34); } function frame34(){ stop(); } } }//package game_fla
Section 98
//flag_icon_287 (game_fla.flag_icon_287) package game_fla { import flash.display.*; public dynamic class flag_icon_287 extends MovieClip { public function flag_icon_287(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package game_fla
Section 99
//gameCompleteClip_233 (game_fla.gameCompleteClip_233) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class gameCompleteClip_233 extends MovieClip { public var __id35_:LocalizedTextField; public function gameCompleteClip_233(){ __setProp___id35__gameCompleteClip_Layer1_0(); } function __setProp___id35__gameCompleteClip_Layer1_0(){ try { __id35_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id35_.text = "{game_complete}"; __id35_.textColor = 0xFFA600; __id35_.textSize = 49; __id35_.bold = false; __id35_.disableWordwrap = false; __id35_.embedFonts = true; __id35_.font = "TypographyofCoop-Black"; __id35_.hAlign = "center"; __id35_.multiline = false; __id35_.vAlign = "middle"; __id35_.antiAliasType = "advanced"; __id35_.glowBlur = 0; __id35_.glowColor = 0; __id35_.useGlowFilter = false; __id35_.glowQuality = 0; __id35_.glowStrength = 1000; __id35_.gridFitType = "pixel"; __id35_.italic = false; __id35_.selectable = false; __id35_.underline = false; try { __id35_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 100
//gfx_122 (game_fla.gfx_122) package game_fla { import flash.display.*; public dynamic class gfx_122 extends MovieClip { public function gfx_122(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package game_fla
Section 101
//guitarsoloClip_280 (game_fla.guitarsoloClip_280) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class guitarsoloClip_280 extends MovieClip { public var __id0_:LocalizedTextField; public function guitarsoloClip_280(){ __setProp___id0__guitarsoloClip_Layer1_0(); } function __setProp___id0__guitarsoloClip_Layer1_0(){ try { __id0_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id0_.text = "{guitar_solo}"; __id0_.textColor = 0xFFA600; __id0_.textSize = 40; __id0_.bold = false; __id0_.disableWordwrap = false; __id0_.embedFonts = true; __id0_.font = "TypographyofCoop-Black"; __id0_.hAlign = "center"; __id0_.multiline = false; __id0_.vAlign = "middle"; __id0_.antiAliasType = "advanced"; __id0_.glowBlur = 0; __id0_.glowColor = 0; __id0_.useGlowFilter = false; __id0_.glowQuality = 0; __id0_.glowStrength = 1000; __id0_.gridFitType = "pixel"; __id0_.italic = false; __id0_.selectable = false; __id0_.underline = false; try { __id0_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 102
//howtoPlay1_243 (game_fla.howtoPlay1_243) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class howtoPlay1_243 extends MovieClip { public var __id19_:LocalizedTextField; public var __id20_:LocalizedTextField; public function howtoPlay1_243(){ __setProp___id19__howtoPlay1_Layer1_0(); __setProp___id20__howtoPlay1_Layer1_0(); } function __setProp___id19__howtoPlay1_Layer1_0(){ try { __id19_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id19_.text = "{htp_1}"; __id19_.textColor = 0xFFA800; __id19_.textSize = 26; __id19_.bold = false; __id19_.disableWordwrap = false; __id19_.embedFonts = true; __id19_.font = "TypographyofCoop-Black"; __id19_.hAlign = "center"; __id19_.multiline = false; __id19_.vAlign = "middle"; __id19_.antiAliasType = "advanced"; __id19_.glowBlur = 4; __id19_.glowColor = 0; __id19_.useGlowFilter = true; __id19_.glowQuality = 1; __id19_.glowStrength = 1000; __id19_.gridFitType = "pixel"; __id19_.italic = false; __id19_.selectable = false; __id19_.underline = false; try { __id19_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id20__howtoPlay1_Layer1_0(){ try { __id20_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id20_.text = "{htp_press}"; __id20_.textColor = 0xFFA800; __id20_.textSize = 26; __id20_.bold = false; __id20_.disableWordwrap = false; __id20_.embedFonts = true; __id20_.font = "TypographyofCoop-Black"; __id20_.hAlign = "center"; __id20_.multiline = false; __id20_.vAlign = "middle"; __id20_.antiAliasType = "advanced"; __id20_.glowBlur = 4; __id20_.glowColor = 0; __id20_.useGlowFilter = true; __id20_.glowQuality = 1; __id20_.glowStrength = 1000; __id20_.gridFitType = "pixel"; __id20_.italic = false; __id20_.selectable = false; __id20_.underline = false; try { __id20_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 103
//howtoPlay1A_254 (game_fla.howtoPlay1A_254) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class howtoPlay1A_254 extends MovieClip { public var __id17_:LocalizedTextField; public var __id18_:LocalizedTextField; public function howtoPlay1A_254(){ __setProp___id17__howtoPlay1A_Layer2_0(); __setProp___id18__howtoPlay1A_Layer2_0(); } function __setProp___id17__howtoPlay1A_Layer2_0(){ try { __id17_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id17_.text = "{htp_2b}"; __id17_.textColor = 0xFFA800; __id17_.textSize = 26; __id17_.bold = false; __id17_.disableWordwrap = false; __id17_.embedFonts = true; __id17_.font = "TypographyofCoop-Black"; __id17_.hAlign = "center"; __id17_.multiline = false; __id17_.vAlign = "middle"; __id17_.antiAliasType = "advanced"; __id17_.glowBlur = 4; __id17_.glowColor = 0; __id17_.useGlowFilter = true; __id17_.glowQuality = 1; __id17_.glowStrength = 1000; __id17_.gridFitType = "pixel"; __id17_.italic = false; __id17_.selectable = false; __id17_.underline = false; try { __id17_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id18__howtoPlay1A_Layer2_0(){ try { __id18_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id18_.text = "{htp_press}"; __id18_.textColor = 0xFFA800; __id18_.textSize = 26; __id18_.bold = false; __id18_.disableWordwrap = false; __id18_.embedFonts = true; __id18_.font = "TypographyofCoop-Black"; __id18_.hAlign = "center"; __id18_.multiline = false; __id18_.vAlign = "middle"; __id18_.antiAliasType = "advanced"; __id18_.glowBlur = 4; __id18_.glowColor = 0; __id18_.useGlowFilter = true; __id18_.glowQuality = 1; __id18_.glowStrength = 1000; __id18_.gridFitType = "pixel"; __id18_.italic = false; __id18_.selectable = false; __id18_.underline = false; try { __id18_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 104
//howToPlay2_255 (game_fla.howToPlay2_255) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class howToPlay2_255 extends MovieClip { public var __id15_:LocalizedTextField; public var __id16_:LocalizedTextField; public function howToPlay2_255(){ __setProp___id15__howToPlay2_Layer2_0(); __setProp___id16__howToPlay2_Layer2_0(); } function __setProp___id16__howToPlay2_Layer2_0(){ try { __id16_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id16_.text = "{htp_3b}"; __id16_.textColor = 0xFFA800; __id16_.textSize = 26; __id16_.bold = false; __id16_.disableWordwrap = false; __id16_.embedFonts = true; __id16_.font = "TypographyofCoop-Black"; __id16_.hAlign = "center"; __id16_.multiline = true; __id16_.vAlign = "top"; __id16_.antiAliasType = "advanced"; __id16_.glowBlur = 4; __id16_.glowColor = 0; __id16_.useGlowFilter = true; __id16_.glowQuality = 1; __id16_.glowStrength = 1000; __id16_.gridFitType = "pixel"; __id16_.italic = false; __id16_.selectable = false; __id16_.underline = false; try { __id16_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id15__howToPlay2_Layer2_0(){ try { __id15_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id15_.text = "{htp_3a}"; __id15_.textColor = 0xFFA800; __id15_.textSize = 26; __id15_.bold = false; __id15_.disableWordwrap = false; __id15_.embedFonts = true; __id15_.font = "TypographyofCoop-Black"; __id15_.hAlign = "center"; __id15_.multiline = false; __id15_.vAlign = "middle"; __id15_.antiAliasType = "advanced"; __id15_.glowBlur = 4; __id15_.glowColor = 0; __id15_.useGlowFilter = true; __id15_.glowQuality = 1; __id15_.glowStrength = 1000; __id15_.gridFitType = "pixel"; __id15_.italic = false; __id15_.selectable = false; __id15_.underline = false; try { __id15_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 105
//howToPlay3_257 (game_fla.howToPlay3_257) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class howToPlay3_257 extends MovieClip { public var __id14_:LocalizedTextField; public function howToPlay3_257(){ __setProp___id14__howToPlay3_Layer1_0(); } function __setProp___id14__howToPlay3_Layer1_0(){ try { __id14_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id14_.text = "{htp_4}"; __id14_.textColor = 0xFFA800; __id14_.textSize = 28; __id14_.bold = false; __id14_.disableWordwrap = false; __id14_.embedFonts = true; __id14_.font = "TypographyofCoop-Black"; __id14_.hAlign = "center"; __id14_.multiline = true; __id14_.vAlign = "top"; __id14_.antiAliasType = "advanced"; __id14_.glowBlur = 4; __id14_.glowColor = 0; __id14_.useGlowFilter = true; __id14_.glowQuality = 1; __id14_.glowStrength = 1000; __id14_.gridFitType = "pixel"; __id14_.italic = false; __id14_.selectable = false; __id14_.underline = false; try { __id14_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 106
//howToPlay4_260 (game_fla.howToPlay4_260) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class howToPlay4_260 extends MovieClip { public var __id12_:LocalizedTextField; public var __id11_:LocalizedTextField; public function howToPlay4_260(){ __setProp___id11__howToPlay4_Layer2_0(); __setProp___id12__howToPlay4_Layer2_0(); } function __setProp___id12__howToPlay4_Layer2_0(){ try { __id12_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id12_.text = "{htp_collect}"; __id12_.textColor = 0xFFA800; __id12_.textSize = 26; __id12_.bold = false; __id12_.disableWordwrap = false; __id12_.embedFonts = true; __id12_.font = "TypographyofCoop-Black"; __id12_.hAlign = "center"; __id12_.multiline = false; __id12_.vAlign = "middle"; __id12_.antiAliasType = "advanced"; __id12_.glowBlur = 4; __id12_.glowColor = 0; __id12_.useGlowFilter = true; __id12_.glowQuality = 1; __id12_.glowStrength = 1000; __id12_.gridFitType = "pixel"; __id12_.italic = false; __id12_.selectable = false; __id12_.underline = false; try { __id12_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id11__howToPlay4_Layer2_0(){ try { __id11_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id11_.text = "{htp_6}"; __id11_.textColor = 0xFFA800; __id11_.textSize = 26; __id11_.bold = false; __id11_.disableWordwrap = false; __id11_.embedFonts = true; __id11_.font = "TypographyofCoop-Black"; __id11_.hAlign = "center"; __id11_.multiline = false; __id11_.vAlign = "middle"; __id11_.antiAliasType = "advanced"; __id11_.glowBlur = 4; __id11_.glowColor = 0; __id11_.useGlowFilter = true; __id11_.glowQuality = 1; __id11_.glowStrength = 1000; __id11_.gridFitType = "pixel"; __id11_.italic = false; __id11_.selectable = false; __id11_.underline = false; try { __id11_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 107
//howToPlay4A_258 (game_fla.howToPlay4A_258) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class howToPlay4A_258 extends MovieClip { public var __id13_:LocalizedTextField; public function howToPlay4A_258(){ __setProp___id13__howToPlay4A_Layer2_0(); } function __setProp___id13__howToPlay4A_Layer2_0(){ try { __id13_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id13_.text = "{htp_5}"; __id13_.textColor = 0xFFA800; __id13_.textSize = 28; __id13_.bold = false; __id13_.disableWordwrap = false; __id13_.embedFonts = true; __id13_.font = "TypographyofCoop-Black"; __id13_.hAlign = "center"; __id13_.multiline = true; __id13_.vAlign = "top"; __id13_.antiAliasType = "advanced"; __id13_.glowBlur = 4; __id13_.glowColor = 0; __id13_.useGlowFilter = true; __id13_.glowQuality = 1; __id13_.glowStrength = 1000; __id13_.gridFitType = "pixel"; __id13_.italic = false; __id13_.selectable = false; __id13_.underline = false; try { __id13_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 108
//karateKickClip_277 (game_fla.karateKickClip_277) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class karateKickClip_277 extends MovieClip { public var __id3_:LocalizedTextField; public function karateKickClip_277(){ __setProp___id3__karateKickClip_Layer1_0(); } function __setProp___id3__karateKickClip_Layer1_0(){ try { __id3_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id3_.text = "{karate_kick}"; __id3_.textColor = 0xFFA600; __id3_.textSize = 40; __id3_.bold = false; __id3_.disableWordwrap = false; __id3_.embedFonts = true; __id3_.font = "TypographyofCoop-Black"; __id3_.hAlign = "center"; __id3_.multiline = false; __id3_.vAlign = "middle"; __id3_.antiAliasType = "advanced"; __id3_.glowBlur = 0; __id3_.glowColor = 0; __id3_.useGlowFilter = false; __id3_.glowQuality = 0; __id3_.glowStrength = 1000; __id3_.gridFitType = "pixel"; __id3_.italic = false; __id3_.selectable = false; __id3_.underline = false; try { __id3_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 109
//level1clip_218 (game_fla.level1clip_218) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level1clip_218 extends MovieClip { public var __id45_:LocalizedTextField; public function level1clip_218(){ __setProp___id45__level1clip_Layer1_0(); } function __setProp___id45__level1clip_Layer1_0(){ try { __id45_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id45_.text = "{level1}"; __id45_.textColor = 0xFFA600; __id45_.textSize = 49; __id45_.bold = false; __id45_.disableWordwrap = false; __id45_.embedFonts = true; __id45_.font = "TypographyofCoop-Black"; __id45_.hAlign = "center"; __id45_.multiline = false; __id45_.vAlign = "middle"; __id45_.antiAliasType = "advanced"; __id45_.glowBlur = 0; __id45_.glowColor = 0; __id45_.useGlowFilter = false; __id45_.glowQuality = 0; __id45_.glowStrength = 1000; __id45_.gridFitType = "pixel"; __id45_.italic = false; __id45_.selectable = false; __id45_.underline = false; try { __id45_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 110
//level1complete_93 (game_fla.level1complete_93) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level1complete_93 extends MovieClip { public var __id73_:LocalizedTextField; public function level1complete_93(){ __setProp___id73__level1complete_Layer1_0(); } function __setProp___id73__level1complete_Layer1_0(){ try { __id73_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id73_.text = "{level1complete}"; __id73_.textColor = 0xFFA600; __id73_.textSize = 33; __id73_.bold = false; __id73_.disableWordwrap = false; __id73_.embedFonts = true; __id73_.font = "TypographyofCoop-Black"; __id73_.hAlign = "center"; __id73_.multiline = true; __id73_.vAlign = "top"; __id73_.antiAliasType = "advanced"; __id73_.glowBlur = 0; __id73_.glowColor = 0; __id73_.useGlowFilter = false; __id73_.glowQuality = 0; __id73_.glowStrength = 1000; __id73_.gridFitType = "pixel"; __id73_.italic = false; __id73_.selectable = false; __id73_.underline = false; try { __id73_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 111
//level2clip_219 (game_fla.level2clip_219) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level2clip_219 extends MovieClip { public var __id44_:LocalizedTextField; public function level2clip_219(){ __setProp___id44__level2clip_Layer1_0(); } function __setProp___id44__level2clip_Layer1_0(){ try { __id44_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id44_.text = "{level2}"; __id44_.textColor = 0xFFA600; __id44_.textSize = 49; __id44_.bold = false; __id44_.disableWordwrap = false; __id44_.embedFonts = true; __id44_.font = "TypographyofCoop-Black"; __id44_.hAlign = "center"; __id44_.multiline = false; __id44_.vAlign = "middle"; __id44_.antiAliasType = "advanced"; __id44_.glowBlur = 0; __id44_.glowColor = 0; __id44_.useGlowFilter = false; __id44_.glowQuality = 0; __id44_.glowStrength = 1000; __id44_.gridFitType = "pixel"; __id44_.italic = false; __id44_.selectable = false; __id44_.underline = false; try { __id44_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 112
//level2complete_94 (game_fla.level2complete_94) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level2complete_94 extends MovieClip { public var __id72_:LocalizedTextField; public function level2complete_94(){ __setProp___id72__level2complete_Layer1_0(); } function __setProp___id72__level2complete_Layer1_0(){ try { __id72_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id72_.text = "{level2complete}"; __id72_.textColor = 0xFFA600; __id72_.textSize = 33; __id72_.bold = false; __id72_.disableWordwrap = false; __id72_.embedFonts = true; __id72_.font = "TypographyofCoop-Black"; __id72_.hAlign = "center"; __id72_.multiline = true; __id72_.vAlign = "top"; __id72_.antiAliasType = "advanced"; __id72_.glowBlur = 0; __id72_.glowColor = 0; __id72_.useGlowFilter = false; __id72_.glowQuality = 0; __id72_.glowStrength = 1000; __id72_.gridFitType = "pixel"; __id72_.italic = false; __id72_.selectable = false; __id72_.underline = false; try { __id72_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 113
//level3clip_220 (game_fla.level3clip_220) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level3clip_220 extends MovieClip { public var __id43_:LocalizedTextField; public function level3clip_220(){ __setProp___id43__level3clip_Layer1_0(); } function __setProp___id43__level3clip_Layer1_0(){ try { __id43_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id43_.text = "{level3}"; __id43_.textColor = 0xFFA600; __id43_.textSize = 49; __id43_.bold = false; __id43_.disableWordwrap = false; __id43_.embedFonts = true; __id43_.font = "TypographyofCoop-Black"; __id43_.hAlign = "center"; __id43_.multiline = false; __id43_.vAlign = "middle"; __id43_.antiAliasType = "advanced"; __id43_.glowBlur = 0; __id43_.glowColor = 0; __id43_.useGlowFilter = false; __id43_.glowQuality = 0; __id43_.glowStrength = 1000; __id43_.gridFitType = "pixel"; __id43_.italic = false; __id43_.selectable = false; __id43_.underline = false; try { __id43_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 114
//level3complete_95 (game_fla.level3complete_95) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level3complete_95 extends MovieClip { public var __id71_:LocalizedTextField; public function level3complete_95(){ __setProp___id71__level3complete_Layer1_0(); } function __setProp___id71__level3complete_Layer1_0(){ try { __id71_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id71_.text = "{level3complete}"; __id71_.textColor = 0xFFA600; __id71_.textSize = 33; __id71_.bold = false; __id71_.disableWordwrap = false; __id71_.embedFonts = true; __id71_.font = "TypographyofCoop-Black"; __id71_.hAlign = "center"; __id71_.multiline = true; __id71_.vAlign = "top"; __id71_.antiAliasType = "advanced"; __id71_.glowBlur = 0; __id71_.glowColor = 0; __id71_.useGlowFilter = false; __id71_.glowQuality = 0; __id71_.glowStrength = 1000; __id71_.gridFitType = "pixel"; __id71_.italic = false; __id71_.selectable = false; __id71_.underline = false; try { __id71_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 115
//level4clip_221 (game_fla.level4clip_221) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level4clip_221 extends MovieClip { public var __id42_:LocalizedTextField; public function level4clip_221(){ __setProp___id42__level4clip_Layer1_0(); } function __setProp___id42__level4clip_Layer1_0(){ try { __id42_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id42_.text = "{level4}"; __id42_.textColor = 0xFFA600; __id42_.textSize = 49; __id42_.bold = false; __id42_.disableWordwrap = false; __id42_.embedFonts = true; __id42_.font = "TypographyofCoop-Black"; __id42_.hAlign = "center"; __id42_.multiline = false; __id42_.vAlign = "middle"; __id42_.antiAliasType = "advanced"; __id42_.glowBlur = 0; __id42_.glowColor = 0; __id42_.useGlowFilter = false; __id42_.glowQuality = 0; __id42_.glowStrength = 1000; __id42_.gridFitType = "pixel"; __id42_.italic = false; __id42_.selectable = false; __id42_.underline = false; try { __id42_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 116
//level4complete_96 (game_fla.level4complete_96) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level4complete_96 extends MovieClip { public var __id70_:LocalizedTextField; public function level4complete_96(){ __setProp___id70__level4complete_Layer1_0(); } function __setProp___id70__level4complete_Layer1_0(){ try { __id70_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id70_.text = "{level4complete}"; __id70_.textColor = 0xFFA600; __id70_.textSize = 33; __id70_.bold = false; __id70_.disableWordwrap = false; __id70_.embedFonts = true; __id70_.font = "TypographyofCoop-Black"; __id70_.hAlign = "center"; __id70_.multiline = true; __id70_.vAlign = "top"; __id70_.antiAliasType = "advanced"; __id70_.glowBlur = 0; __id70_.glowColor = 0; __id70_.useGlowFilter = false; __id70_.glowQuality = 0; __id70_.glowStrength = 1000; __id70_.gridFitType = "pixel"; __id70_.italic = false; __id70_.selectable = false; __id70_.underline = false; try { __id70_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 117
//level5clip_222 (game_fla.level5clip_222) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level5clip_222 extends MovieClip { public var __id41_:LocalizedTextField; public function level5clip_222(){ __setProp___id41__level5clip_Layer1_0(); } function __setProp___id41__level5clip_Layer1_0(){ try { __id41_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id41_.text = "{level5}"; __id41_.textColor = 0xFFA600; __id41_.textSize = 49; __id41_.bold = false; __id41_.disableWordwrap = false; __id41_.embedFonts = true; __id41_.font = "TypographyofCoop-Black"; __id41_.hAlign = "center"; __id41_.multiline = false; __id41_.vAlign = "middle"; __id41_.antiAliasType = "advanced"; __id41_.glowBlur = 0; __id41_.glowColor = 0; __id41_.useGlowFilter = false; __id41_.glowQuality = 0; __id41_.glowStrength = 1000; __id41_.gridFitType = "pixel"; __id41_.italic = false; __id41_.selectable = false; __id41_.underline = false; try { __id41_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 118
//level5complete_97 (game_fla.level5complete_97) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level5complete_97 extends MovieClip { public var __id69_:LocalizedTextField; public function level5complete_97(){ __setProp___id69__level5complete_Layer1_0(); } function __setProp___id69__level5complete_Layer1_0(){ try { __id69_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id69_.text = "{level5complete}"; __id69_.textColor = 0xFFA600; __id69_.textSize = 33; __id69_.bold = false; __id69_.disableWordwrap = false; __id69_.embedFonts = true; __id69_.font = "TypographyofCoop-Black"; __id69_.hAlign = "center"; __id69_.multiline = true; __id69_.vAlign = "top"; __id69_.antiAliasType = "advanced"; __id69_.glowBlur = 0; __id69_.glowColor = 0; __id69_.useGlowFilter = false; __id69_.glowQuality = 0; __id69_.glowStrength = 1000; __id69_.gridFitType = "pixel"; __id69_.italic = false; __id69_.selectable = false; __id69_.underline = false; try { __id69_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 119
//level6clip_223 (game_fla.level6clip_223) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level6clip_223 extends MovieClip { public var __id40_:LocalizedTextField; public function level6clip_223(){ __setProp___id40__level6clip_Layer1_0(); } function __setProp___id40__level6clip_Layer1_0(){ try { __id40_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id40_.text = "{level6}"; __id40_.textColor = 0xFFA600; __id40_.textSize = 49; __id40_.bold = false; __id40_.disableWordwrap = false; __id40_.embedFonts = true; __id40_.font = "TypographyofCoop-Black"; __id40_.hAlign = "center"; __id40_.multiline = false; __id40_.vAlign = "middle"; __id40_.antiAliasType = "advanced"; __id40_.glowBlur = 0; __id40_.glowColor = 0; __id40_.useGlowFilter = false; __id40_.glowQuality = 0; __id40_.glowStrength = 1000; __id40_.gridFitType = "pixel"; __id40_.italic = false; __id40_.selectable = false; __id40_.underline = false; try { __id40_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 120
//level6complete_98 (game_fla.level6complete_98) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level6complete_98 extends MovieClip { public var __id68_:LocalizedTextField; public function level6complete_98(){ __setProp___id68__level6complete_Layer1_0(); } function __setProp___id68__level6complete_Layer1_0(){ try { __id68_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id68_.text = "{level6complete}"; __id68_.textColor = 0xFFA600; __id68_.textSize = 33; __id68_.bold = false; __id68_.disableWordwrap = false; __id68_.embedFonts = true; __id68_.font = "TypographyofCoop-Black"; __id68_.hAlign = "center"; __id68_.multiline = true; __id68_.vAlign = "top"; __id68_.antiAliasType = "advanced"; __id68_.glowBlur = 0; __id68_.glowColor = 0; __id68_.useGlowFilter = false; __id68_.glowQuality = 0; __id68_.glowStrength = 1000; __id68_.gridFitType = "pixel"; __id68_.italic = false; __id68_.selectable = false; __id68_.underline = false; try { __id68_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 121
//level7clip_224 (game_fla.level7clip_224) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level7clip_224 extends MovieClip { public var __id39_:LocalizedTextField; public function level7clip_224(){ __setProp___id39__level7clip_Layer1_0(); } function __setProp___id39__level7clip_Layer1_0(){ try { __id39_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id39_.text = "{level7}"; __id39_.textColor = 0xFFA600; __id39_.textSize = 49; __id39_.bold = false; __id39_.disableWordwrap = false; __id39_.embedFonts = true; __id39_.font = "TypographyofCoop-Black"; __id39_.hAlign = "center"; __id39_.multiline = false; __id39_.vAlign = "middle"; __id39_.antiAliasType = "advanced"; __id39_.glowBlur = 0; __id39_.glowColor = 0; __id39_.useGlowFilter = false; __id39_.glowQuality = 0; __id39_.glowStrength = 1000; __id39_.gridFitType = "pixel"; __id39_.italic = false; __id39_.selectable = false; __id39_.underline = false; try { __id39_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 122
//level7complete_99 (game_fla.level7complete_99) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level7complete_99 extends MovieClip { public var __id67_:LocalizedTextField; public function level7complete_99(){ __setProp___id67__level7complete_Layer1_0(); } function __setProp___id67__level7complete_Layer1_0(){ try { __id67_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id67_.text = "{level7complete}"; __id67_.textColor = 0xFFA600; __id67_.textSize = 33; __id67_.bold = false; __id67_.disableWordwrap = false; __id67_.embedFonts = true; __id67_.font = "TypographyofCoop-Black"; __id67_.hAlign = "center"; __id67_.multiline = true; __id67_.vAlign = "top"; __id67_.antiAliasType = "advanced"; __id67_.glowBlur = 0; __id67_.glowColor = 0; __id67_.useGlowFilter = false; __id67_.glowQuality = 0; __id67_.glowStrength = 1000; __id67_.gridFitType = "pixel"; __id67_.italic = false; __id67_.selectable = false; __id67_.underline = false; try { __id67_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 123
//level8clip_225 (game_fla.level8clip_225) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level8clip_225 extends MovieClip { public var __id38_:LocalizedTextField; public function level8clip_225(){ __setProp___id38__level8clip_Layer1_0(); } function __setProp___id38__level8clip_Layer1_0(){ try { __id38_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id38_.text = "{level8}"; __id38_.textColor = 0xFFA600; __id38_.textSize = 49; __id38_.bold = false; __id38_.disableWordwrap = false; __id38_.embedFonts = true; __id38_.font = "TypographyofCoop-Black"; __id38_.hAlign = "center"; __id38_.multiline = false; __id38_.vAlign = "middle"; __id38_.antiAliasType = "advanced"; __id38_.glowBlur = 0; __id38_.glowColor = 0; __id38_.useGlowFilter = false; __id38_.glowQuality = 0; __id38_.glowStrength = 1000; __id38_.gridFitType = "pixel"; __id38_.italic = false; __id38_.selectable = false; __id38_.underline = false; try { __id38_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 124
//level8complete_100 (game_fla.level8complete_100) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class level8complete_100 extends MovieClip { public var __id66_:LocalizedTextField; public function level8complete_100(){ __setProp___id66__level8complete_Layer1_0(); } function __setProp___id66__level8complete_Layer1_0(){ try { __id66_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id66_.text = "{level8complete}"; __id66_.textColor = 0xFFA600; __id66_.textSize = 33; __id66_.bold = false; __id66_.disableWordwrap = false; __id66_.embedFonts = true; __id66_.font = "TypographyofCoop-Black"; __id66_.hAlign = "center"; __id66_.multiline = true; __id66_.vAlign = "top"; __id66_.antiAliasType = "advanced"; __id66_.glowBlur = 0; __id66_.glowColor = 0; __id66_.useGlowFilter = false; __id66_.glowQuality = 0; __id66_.glowStrength = 1000; __id66_.gridFitType = "pixel"; __id66_.italic = false; __id66_.selectable = false; __id66_.underline = false; try { __id66_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 125
//levelFailedClip_263 (game_fla.levelFailedClip_263) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class levelFailedClip_263 extends MovieClip { public var __id10_:LocalizedTextField; public function levelFailedClip_263(){ __setProp___id10__levelFailedClip_Layer1_0(); } function __setProp___id10__levelFailedClip_Layer1_0(){ try { __id10_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id10_.text = "{level_failed}"; __id10_.textColor = 0xFFA600; __id10_.textSize = 49; __id10_.bold = false; __id10_.disableWordwrap = false; __id10_.embedFonts = true; __id10_.font = "TypographyofCoop-Black"; __id10_.hAlign = "center"; __id10_.multiline = false; __id10_.vAlign = "middle"; __id10_.antiAliasType = "advanced"; __id10_.glowBlur = 0; __id10_.glowColor = 0; __id10_.useGlowFilter = false; __id10_.glowQuality = 0; __id10_.glowStrength = 1000; __id10_.gridFitType = "pixel"; __id10_.italic = false; __id10_.selectable = false; __id10_.underline = false; try { __id10_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 126
//levelGameOverClip_216 (game_fla.levelGameOverClip_216) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class levelGameOverClip_216 extends MovieClip { public var __id46_:LocalizedTextField; public function levelGameOverClip_216(){ __setProp___id46__levelGameOverClip_Layer1_0(); } function __setProp___id46__levelGameOverClip_Layer1_0(){ try { __id46_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id46_.text = "{game_over}"; __id46_.textColor = 0xFFA600; __id46_.textSize = 49; __id46_.bold = false; __id46_.disableWordwrap = false; __id46_.embedFonts = true; __id46_.font = "TypographyofCoop-Black"; __id46_.hAlign = "center"; __id46_.multiline = false; __id46_.vAlign = "middle"; __id46_.antiAliasType = "advanced"; __id46_.glowBlur = 0; __id46_.glowColor = 0; __id46_.useGlowFilter = false; __id46_.glowQuality = 0; __id46_.glowStrength = 1000; __id46_.gridFitType = "pixel"; __id46_.italic = false; __id46_.selectable = false; __id46_.underline = false; try { __id46_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 127
//levelLifeLostClip_274 (game_fla.levelLifeLostClip_274) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class levelLifeLostClip_274 extends MovieClip { public var __id5_:LocalizedTextField; public function levelLifeLostClip_274(){ __setProp___id5__levelLifeLostClip_Layer1_0(); } function __setProp___id5__levelLifeLostClip_Layer1_0(){ try { __id5_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id5_.text = "{level_failed}"; __id5_.textColor = 0xFFA600; __id5_.textSize = 49; __id5_.bold = false; __id5_.disableWordwrap = false; __id5_.embedFonts = true; __id5_.font = "TypographyofCoop-Black"; __id5_.hAlign = "center"; __id5_.multiline = false; __id5_.vAlign = "middle"; __id5_.antiAliasType = "advanced"; __id5_.glowBlur = 0; __id5_.glowColor = 0; __id5_.useGlowFilter = false; __id5_.glowQuality = 0; __id5_.glowStrength = 1000; __id5_.gridFitType = "pixel"; __id5_.italic = false; __id5_.selectable = false; __id5_.underline = false; try { __id5_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 128
//menus_268 (game_fla.menus_268) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class menus_268 extends MovieClip { public var __id6_:LocalizedTextField; public var __id7_:LocalizedTextField; public function menus_268(){ __setProp___id6__menus(); __setProp___id7__menus(); } function __setProp___id7__menus(){ try { __id7_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id7_.text = "{btn_moregamesat}"; __id7_.textColor = 0xFFA800; __id7_.textSize = 13; __id7_.bold = false; __id7_.disableWordwrap = false; __id7_.embedFonts = true; __id7_.font = "TypographyofCoop-Black"; __id7_.hAlign = "center"; __id7_.multiline = false; __id7_.vAlign = "middle"; __id7_.antiAliasType = "advanced"; __id7_.glowBlur = 4; __id7_.glowColor = 0; __id7_.useGlowFilter = true; __id7_.glowQuality = 1; __id7_.glowStrength = 1000; __id7_.gridFitType = "pixel"; __id7_.italic = false; __id7_.selectable = false; __id7_.underline = false; try { __id7_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id6__menus(){ try { __id6_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id6_.text = "{hud_turbopower}"; __id6_.textColor = 16672459; __id6_.textSize = 18; __id6_.bold = false; __id6_.disableWordwrap = false; __id6_.embedFonts = true; __id6_.font = "TypographyofCoop-Black"; __id6_.hAlign = "left"; __id6_.multiline = false; __id6_.vAlign = "middle"; __id6_.antiAliasType = "advanced"; __id6_.glowBlur = 4; __id6_.glowColor = 0; __id6_.useGlowFilter = false; __id6_.glowQuality = 1; __id6_.glowStrength = 1000; __id6_.gridFitType = "pixel"; __id6_.italic = false; __id6_.selectable = false; __id6_.underline = false; try { __id6_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 129
//superbonusClip_265 (game_fla.superbonusClip_265) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class superbonusClip_265 extends MovieClip { public var __id9_:LocalizedTextField; public function superbonusClip_265(){ __setProp___id9__superbonusClip_Layer1_0(); } function __setProp___id9__superbonusClip_Layer1_0(){ try { __id9_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id9_.text = "{superbonus}"; __id9_.textColor = 0xFFA600; __id9_.textSize = 49; __id9_.bold = false; __id9_.disableWordwrap = false; __id9_.embedFonts = true; __id9_.font = "TypographyofCoop-Black"; __id9_.hAlign = "center"; __id9_.multiline = true; __id9_.vAlign = "bottom"; __id9_.antiAliasType = "advanced"; __id9_.glowBlur = 0; __id9_.glowColor = 0; __id9_.useGlowFilter = false; __id9_.glowQuality = 0; __id9_.glowStrength = 1000; __id9_.gridFitType = "pixel"; __id9_.italic = false; __id9_.selectable = false; __id9_.underline = false; try { __id9_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 130
//supermanClip_279 (game_fla.supermanClip_279) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class supermanClip_279 extends MovieClip { public var __id1_:LocalizedTextField; public function supermanClip_279(){ __setProp___id1__supermanClip_Layer1_0(); } function __setProp___id1__supermanClip_Layer1_0(){ try { __id1_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id1_.text = "{superman}"; __id1_.textColor = 0xFFA600; __id1_.textSize = 40; __id1_.bold = false; __id1_.disableWordwrap = false; __id1_.embedFonts = true; __id1_.font = "TypographyofCoop-Black"; __id1_.hAlign = "center"; __id1_.multiline = false; __id1_.vAlign = "middle"; __id1_.antiAliasType = "advanced"; __id1_.glowBlur = 0; __id1_.glowColor = 0; __id1_.useGlowFilter = false; __id1_.glowQuality = 0; __id1_.glowStrength = 1000; __id1_.gridFitType = "pixel"; __id1_.italic = false; __id1_.selectable = false; __id1_.underline = false; try { __id1_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 131
//theTwistClip_278 (game_fla.theTwistClip_278) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class theTwistClip_278 extends MovieClip { public var __id2_:LocalizedTextField; public function theTwistClip_278(){ __setProp___id2__theTwistClip_Layer1_0(); } function __setProp___id2__theTwistClip_Layer1_0(){ try { __id2_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id2_.text = "{the_twist}"; __id2_.textColor = 0xFFA600; __id2_.textSize = 40; __id2_.bold = false; __id2_.disableWordwrap = false; __id2_.embedFonts = true; __id2_.font = "TypographyofCoop-Black"; __id2_.hAlign = "center"; __id2_.multiline = false; __id2_.vAlign = "middle"; __id2_.antiAliasType = "advanced"; __id2_.glowBlur = 0; __id2_.glowColor = 0; __id2_.useGlowFilter = false; __id2_.glowQuality = 0; __id2_.glowStrength = 1000; __id2_.gridFitType = "pixel"; __id2_.italic = false; __id2_.selectable = false; __id2_.underline = false; try { __id2_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 132
//Timeline_266 (game_fla.Timeline_266) package game_fla { import flash.events.*; import flash.display.*; import flash.media.*; import spill.localisation.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_266 extends MovieClip { public var __id8_:LocalizedTextField; public function Timeline_266(){ __setProp___id8__(); } function __setProp___id8__(){ try { __id8_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id8_.text = "{plus1000points}"; __id8_.textColor = 15884974; __id8_.textSize = 37; __id8_.bold = false; __id8_.disableWordwrap = false; __id8_.embedFonts = true; __id8_.font = "TypographyofCoop-Black"; __id8_.hAlign = "center"; __id8_.multiline = true; __id8_.vAlign = "top"; __id8_.antiAliasType = "advanced"; __id8_.glowBlur = 0; __id8_.glowColor = 0; __id8_.useGlowFilter = false; __id8_.glowQuality = 0; __id8_.glowStrength = 1000; __id8_.gridFitType = "pixel"; __id8_.italic = false; __id8_.selectable = false; __id8_.underline = false; try { __id8_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package game_fla
Section 133
//Translations (localization.Translations) package localization { import spill.localisation.*; public class Translations { public function Translations(){ var _local1:XML = <LocalisedText><textItem identifier="Branding_More_Games_Sentence_Long"><en_us>Play more racing games at:</en_us><en_uk>Play more racing games at:</en_uk><nl>Speel meer racespellen op:</nl><fr>Joue à plus de jeux de course sur :</fr><de>Spiele mehr Rennspiele auf:</de><es>Juega a más juegos de carreras en:</es><br>Jogue mais jogos de corrida em:</br><pt>Joga mais jogos de corridas em:</pt><it>Gioca a più giochi di gare su:</it><se>Spela fler racingspel på:</se><pl>Zagraj w więcej gier-wyścigów na:</pl><ru>Сыграй в другие игры-гонки на</ru><id>Mainkan game balapan lainnya di:</id><ar>Play more racing games at:</ar><jp>他のレースゲームをプレイする:</jp><cn>如要玩更多赛车游戏,请至:</cn></textItem><textItem identifier="Branding_More_Games_Sentence_Short"><en_us>More racing at:</en_us><en_uk>More racing at:</en_uk><nl>Meer racen op:</nl><fr>Plus de jeux de course sur :</fr><de>Mehr Rennspiele auf:</de><es>Más carreras en:</es><br>Mais corrida em:</br><pt>Mais corridas em:</pt><it>Più gare su:</it><se>Mer racing på:</se><pl>Więcej wyścigów na:</pl><ru>Другие гонки на</ru><id>Balapan lainnya di:</id><ar>More racing at:</ar><jp>他のレースはこちら :</jp><cn>更多赛车游戏尽在:</cn></textItem><textItem identifier="btn_startgame"><en_us>Start Game</en_us><en_uk>Start Game</en_uk><nl>Spel starten</nl><fr>Jouer</fr><de>Spiel starten</de><es>Iniciar partida</es><br>Começar</br><pt>Iniciar Jogo</pt><it>Avvia partita</it><se>Starta spel</se><pl>Start</pl><ru>Начать игру</ru><id>Mulai Game</id><ar>Start Game</ar><jp>ゲームを始める</jp><cn>开始游戏</cn></textItem><textItem identifier="btn_howtoplay"><en_us>How to Play</en_us><en_uk>How to Play</en_uk><nl>Spelregels</nl><fr>Instructions</fr><de>Anleitung</de><es>Cómo jugar</es><br>Como Jogar</br><pt>Como Jogar</pt><it>Come giocare</it><se>Spelregler</se><pl>Jak grać</pl><ru>Как играть</ru><id>Cara Main</id><ar>How to Play</ar><jp>遊び方</jp><cn>游戏说明</cn></textItem><textItem identifier="htp_press"><en_us>PRESS</en_us><en_uk>PRESS</en_uk><nl>DRUK OP</nl><fr>APPUIE SUR </fr><de>ZUM FAHREN DRÜCKE</de><es>PULSA</es><br>PRESSIONE</br><pt>PRIME</pt><it>PREMI</it><se>TRYCK</se><pl>NACIŚNIJ</pl><ru>НАЖИМАЙ</ru><id>TEKAN</id><ar>PRESS</ar><jp> </jp><cn>按</cn></textItem><textItem identifier="htp_1"><en_us>TO DRIVE</en_us><en_uk>TO DRIVE</en_uk><nl>OM GAS TE GEVEN</nl><fr>POUR CONDUIRE</fr><de> </de><es>PARA CONDUCIR</es><br>PARA DIRIGIR</br><pt>PARA CONDUZIR</pt><it>PER GUIDARE</it><se>FÖR ATT KÖRA</se><pl>ABY JECHAĆ</pl><ru>ДЛЯ ДВИЖЕНИЯ</ru><id>UNTUK MENGEMUDI</id><ar>TO DRIVE</ar><jp>を押すと走ります</jp><cn>开车</cn></textItem><textItem identifier="htp_press2"><en_us>PRESS</en_us><en_uk>PRESS</en_uk><nl>DRUK OP</nl><fr>APPUIE SUR </fr><de>ZUM SPRINGEN DRÜCKE</de><es>PULSA</es><br>PRESSIONE</br><pt>PRIME</pt><it>PREMI</it><se>TRYCK</se><pl>NACIŚNIJ</pl><ru>НАЖМИ</ru><id>TEKAN</id><ar>PRESS</ar><jp> </jp><cn>按</cn></textItem><textItem identifier="htp_2b"><en_us>TO JUMP</en_us><en_uk>TO JUMP</en_uk><nl>OM TE SPRINGEN</nl><fr>POUR SAUTER</fr><de> </de><es>PARA SALTAR</es><br>PARA SALTAR</br><pt>PARA SALTAR</pt><it>PER SALTARE</it><se>FÖR ATT HOPPA</se><pl>ABY SKOCZYĆ</pl><ru>ДЛЯ ПРЫЖКА</ru><id>UNTUK LOMPAT</id><ar>TO JUMP</ar><jp>を押すとジャンプします</jp><cn>跳跃</cn></textItem><textItem identifier="htp_3a"><en_us>USE</en_us><en_uk>USE</en_uk><nl>GEBRUIK</nl><fr>UTILISE</fr><de>FÜR TRICKS DRÜCKE</de><es>USA</es><br>USE</br><pt>USA</pt><it>USA</it><se>GÖR TRICK MED</se><pl>UŻYJ</pl><ru>НАЖИМАЙ</ru><id>GUNAKAN</id><ar>USE</ar><jp>  </jp><cn>使用</cn></textItem><textItem identifier="htp_3b"><en_us>TO DO TRICKS</en_us><en_uk>TO PERFORM TRICKS</en_uk><nl>OM STUNTS UIT TE VOEREN</nl><fr>POUR FAIRE DES TRICKS</fr><de> </de><es>PARA HACER TRUCOS</es><br>PARA FAZER TRUQUES</br><pt>PARA FAZERES TRUQUES</pt><it>PER FARE ACROBAZIE</it><se> </se><pl>ABY WYKONYWAĆ TRIKI</pl><ru>ДЛЯ ВЫПОЛНЕНИЯ ТРЮКОВ</ru><id>UNTUK MELAKUKAN TRIK</id><ar>TO DO TRICKS</ar><jp>を使うと技を見せます</jp><cn> 来执行特技</cn></textItem><textItem identifier="htp_4"><en_us>DOING TRICKS CHARGES YOUR TURBO METER</en_us><en_uk>PERFORMING TRICKS CHARGES YOUR TURBO METER</en_uk><nl>MET STUNTS LAAD JE DE TURBOMETER OP</nl><fr>LES TRICKS CHARGENT TON COMPTEUR TURBO</fr><de>TRICKS LADEN DEINE TURBOANZEIGE AUF</de><es>LOS TRUCOS CARGAN TU MEDIDOR DE TURBO</es><br>TRUQUES CARREGAM SEU MEDIDOR DE TURBO</br><pt>AO FAZERES TRUQUES CARREGAS O TEU INDICADOR DE TURBO</pt><it>FARE ACROBAZIE RICARICA IL TUO MISURATORE TURBO</it><se>NÄR DU GÖR TRICK LADDAS TURBOMÄTAREN</se><pl>WYKONYWANIE TRIKÓW ŁADUJE WSKAŹNIK TURBO</pl><ru>ПРИ ВЫПОЛНЕНИИ ТРЮКОВ ЗАРЯЖАЕТСЯ УСКОРИТЕЛЬ</ru><id>MELAKUKAN TRIK MENGISI METER TURBO KAMU</id><ar>DOING TRICKS CHARGES YOUR TURBO METER</ar><jp>技を見せると、ターボメーターが増えます</jp><cn>使用特技会改变您的涡轮流量计</cn></textItem><textItem identifier="htp_5"><en_us>TURBO POWER IS ACTIVATED WHEN THE TURBO METER IS FULL</en_us><en_uk>TURBO POWER IS ACTIVATED WHEN THE TURBO METER IS FULL</en_uk><nl>TURBOPOWER WORDT GEACTIVEERD ALS DE METER VOL IS</nl><fr>LE TURBO EST ACTIVÉ LORSQUE SON COMPTEUR EST PLEIN</fr><de>DER TURBOANTRIEB WIRD AKTIVIERT, WENN DIE TURBOANZEIGE VOLL IST</de><es>LA ENERGÍA TURBO SE ACTIVA CUANDO EL MEDIDOR DE TURBO ESTÁ LLENO</es><br>O PODER DO TURBO É ATIVADO QUANDO O MEDIDOR FICA CHEIO</br><pt>O TURBO É ACTIVADO QUANDO O INDICADOR DE TURBO ESTÁ CHEIO</pt><it>LA FORZA TURBO VIENE ATTIVATA QUANDO IL MISURATORE TURBO È PIENO</it><se>TURBOKRAFTEN AKTIVERAS NÄR TURBOMÄTAREN ÄR FULL</se><pl>MOC TURBO JEST AKTYWOWANA PO ZAPEŁNIENIU WSKAŹNIKA TURBO</pl><ru>УСКОРИТЕЛЬ ВКЛЮЧАЕТСЯ, КОГДА ЗАПОЛНИТСЯ ПОЛОСКА</ru><id>DAYA TURBO DIAKTIFKAN SETELAH METER TURBO PENUH.</id><ar>TURBO POWER IS ACTIVATED WHEN THE TURBO METER IS FULL</ar><jp>ターボメーターがフルになると、ターボパワーが起動します</jp><cn>当涡轮流量计指示满值时,可激活涡轮能量</cn></textItem><textItem identifier="htp_collect"><en_us>COLLECT</en_us><en_uk>COLLECT</en_uk><nl>VERZAMEL</nl><fr>ACCUMULE</fr><de>SAMMLE</de><es>RECOGE</es><br>JUNTE</br><pt>APANHA</pt><it>RACCOGLI</it><se>SAMLA</se><pl>ZBIERAJ</pl><ru>СОБИРАЙ</ru><id>KUMPULKAN</id><ar>COLLECT</ar><jp> </jp><cn>收集</cn></textItem><textItem identifier="htp_6"><en_us>FOR EXTRA POINTS</en_us><en_uk>FOR EXTRA POINTS</en_uk><nl>VOOR EXTRA PUNTEN</nl><fr>POUR DES POINTS SUPPLÉMENTAIRES</fr><de>FÜR EXTRAPUNKTE</de><es>PARA OBTENER PUNTOS EXTRA</es><br>PARA GANHAR MAIS PONTOS</br><pt>PARA GANHARES PONTOS EXTRA</pt><it>PER AVERE PUNTI EXTRA</it><se>FÖR EXTRA POÄNG</se><pl>ABY OTRZYMAĆ DODATKOWE PUNKTY</pl><ru>И ПОЛУЧИШЬ БОНУС</ru><id>UNTUK POIN EKSTRA</id><ar>FOR EXTRA POINTS</ar><jp>を集めると追加ポイントを獲得できます</jp><cn>可获得额外点数</cn></textItem><textItem identifier="hud_time"><en_us>TIME</en_us><en_uk>TIME</en_uk><nl>TIJD</nl><fr>TEMPS</fr><de>ZEIT</de><es>TIEMPO</es><br>TEMPO</br><pt>TEMPO</pt><it>TEMPO</it><se>TID</se><pl>CZAS</pl><ru>ВРЕМЯ</ru><id>WAKTU</id><ar>TIME</ar><jp>時間</jp><cn>时间</cn></textItem><textItem identifier="hud_chips"><en_us>CHIPS</en_us><en_uk>CHIPS</en_uk><nl>FICHES</nl><fr>JETONS</fr><de>CHIPS</de><es>FICHAS</es><br>FICHAS</br><pt>FICHAS</pt><it>FICHES</it><se>MARKER</se><pl>ŻETONY</pl><ru>ФИШЕК</ru><id>CHIP</id><ar>CHIPS</ar><jp>チップ</jp><cn>筹码</cn></textItem><textItem identifier="pause"><en_us>PAUSE</en_us><en_uk>PAUSE</en_uk><nl>PAUZE</nl><fr>PAUSE</fr><de>PAUSE</de><es>PAUSA</es><br>PAUSA</br><pt>PAUSA</pt><it>PAUSA</it><se>PAUSA</se><pl>PAUZA</pl><ru>ПАУЗА</ru><id>JEDA</id><ar>PAUSE</ar><jp>中断する</jp><cn>暂停</cn></textItem><textItem identifier="htp_next"><en_us>NEXT</en_us><en_uk>NEXT</en_uk><nl>VOLGENDE</nl><fr>SUIVANT</fr><de>WEITER</de><es>SIGUIENTE</es><br>AVANÇAR</br><pt>SEGUINTE</pt><it>AVANTI</it><se>NÄSTA</se><pl>DALEJ</pl><ru>ДАЛЬШЕ</ru><id>BERIKUTNYA</id><ar>NEXT</ar><jp>次へ</jp><cn>继续</cn></textItem><textItem identifier="htp_back"><en_us>BACK</en_us><en_uk>BACK</en_uk><nl>TERUG</nl><fr>RETOUR</fr><de>ZURÜCK</de><es>ATRÁS</es><br>VOLTAR</br><pt>VOLTAR</pt><it>INDIETRO</it><se>BAKÅT</se><pl>POWRÓT</pl><ru>НАЗАД</ru><id>KEMBALI</id><ar>BACK</ar><jp>戻る</jp><cn>后退</cn></textItem><textItem identifier="htp_mainmenu"><en_us>MAIN MENU</en_us><en_uk>MAIN MENU</en_uk><nl>HOOFDMENU</nl><fr>MENU PRINCIPAL</fr><de>HAUPTMENÜ</de><es>MENÚ PRINCIPAL</es><br>MENU PRINCIPAL</br><pt>MENU PRINCIPAL</pt><it>MENU PRINCIPALE</it><se>HUVUDMENY</se><pl>MENU GŁÓWNE</pl><ru>ГЛАВНОЕ МЕНЮ</ru><id>MENU UTAMA</id><ar>MAIN MENU</ar><jp>メインメニュー</jp><cn>主菜单</cn></textItem><textItem identifier="hud_turbopower"><en_us>Turbo Power</en_us><en_uk>Turbo Power</en_uk><nl>Turbopower</nl><fr>Puissance turbo</fr><de>Turboantrieb</de><es>Energía turbo</es><br>Poder de Turbo</br><pt>Turbo</pt><it>Forza turbo</it><se>Turbokraft</se><pl>Moc turbo</pl><ru>Ускоритель</ru><id>Daya Turbo</id><ar>Turbo Power</ar><jp>ターボパワー</jp><cn>涡轮能量</cn></textItem><textItem identifier="level1"><en_us>Level 1</en_us><en_uk>Level 1</en_uk><nl>Level 1</nl><fr>Niveau 1</fr><de>Level 1</de><es>Nivel 1</es><br>Fase 1</br><pt>Nível 1</pt><it>Livello 1</it><se>Nivå 1</se><pl>Poziom 1</pl><ru>Уровень 1</ru><id>Level 1</id><ar>Level 1</ar><jp>レベル 1</jp><cn>第 1 关</cn></textItem><textItem identifier="level2"><en_us>Level 2</en_us><en_uk>Level 2</en_uk><nl>Level 2</nl><fr>Niveau 2</fr><de>Level 2</de><es>Nivel 2</es><br>Fase 2</br><pt>Nível 2</pt><it>Livello 2</it><se>Nivå 2</se><pl>Poziom 2</pl><ru>Уровень 2</ru><id>Level 2</id><ar>Level 2</ar><jp>レベル 2</jp><cn>第 2 关</cn></textItem><textItem identifier="level3"><en_us>Level 3</en_us><en_uk>Level 3</en_uk><nl>Level 3</nl><fr>Niveau 3</fr><de>Level 3</de><es>Nivel 3</es><br>Fase 3</br><pt>Nível 3</pt><it>Livello 3</it><se>Nivå 3</se><pl>Poziom 3</pl><ru>Уровень 3</ru><id>Level 3</id><ar>Level 3</ar><jp>レベル 3</jp><cn>第 3 关</cn></textItem><textItem identifier="level4"><en_us>Level 4</en_us><en_uk>Level 4</en_uk><nl>Level 4</nl><fr>Niveau 4</fr><de>Level 4</de><es>Nivel 4</es><br>Fase 4</br><pt>Nível 4</pt><it>Livello 4</it><se>Nivå 4</se><pl>Poziom 4</pl><ru>Уровень 4</ru><id>Level 4</id><ar>Level 4</ar><jp>レベル 4</jp><cn>第 4 关</cn></textItem><textItem identifier="level5"><en_us>Level 5</en_us><en_uk>Level 5</en_uk><nl>Level 5</nl><fr>Niveau 5</fr><de>Level 5</de><es>Nivel 5</es><br>Fase 5</br><pt>Nível 5</pt><it>Livello 5</it><se>Nivå 5</se><pl>Poziom 5</pl><ru>Уровень 5</ru><id>Level 5</id><ar>Level 5</ar><jp>レベル 5</jp><cn>第 5 关</cn></textItem><textItem identifier="level6"><en_us>Level 6</en_us><en_uk>Level 6</en_uk><nl>Level 6</nl><fr>Niveau 6</fr><de>Level 6</de><es>Nivel 6</es><br>Fase 6</br><pt>Nível 6</pt><it>Livello 6</it><se>Nivå 6</se><pl>Poziom 6</pl><ru>Уровень 6</ru><id>Level 6</id><ar>Level 6</ar><jp>レベル 6</jp><cn>第 6 关</cn></textItem><textItem identifier="level7"><en_us>Level 7</en_us><en_uk>Level 7</en_uk><nl>Level 7</nl><fr>Niveau 7</fr><de>Level 7</de><es>Nivel 7</es><br>Fase 7</br><pt>Nível 7</pt><it>Livello 7</it><se>Nivå 7</se><pl>Poziom 7</pl><ru>Уровень 7</ru><id>Level 7</id><ar>Level 7</ar><jp>レベル 7</jp><cn>第 7 关</cn></textItem><textItem identifier="level8"><en_us>Level 8</en_us><en_uk>Level 8</en_uk><nl>Level 8</nl><fr>Niveau 8</fr><de>Level 8</de><es>Nivel 8</es><br>Fase 8</br><pt>Nível 8</pt><it>Livello 8</it><se>Nivå 8</se><pl>Poziom 8</pl><ru>Уровень 8</ru><id>Level 8</id><ar>Level 8</ar><jp>レベル 8</jp><cn>第 8 关</cn></textItem><textItem identifier="level_failed"><en_us>Level Failed</en_us><en_uk>Level Failed</en_uk><nl>Level niet gehaald</nl><fr>Niveau échoué</fr><de>Level nicht geschafft</de><es>Nivel no superado</es><br>Falhou na Fase</br><pt>Nível Falhado</pt><it>Livello fallito</it><se>Nivå ej klarad</se><pl>Poziom nie został ukończony</pl><ru>Уровень не пройден</ru><id>Level Gagal</id><ar>Level Failed</ar><jp>レベルに失敗しました</jp><cn>闯关失败</cn></textItem><textItem identifier="level_complete"><en_us>Level Completed!</en_us><en_uk>Level completed!</en_uk><nl>Level uitgespeeld!</nl><fr>Niveau réussi !</fr><de>Level beendet!</de><es>¡Nivel completado!</es><br>Fase Concluída!</br><pt>Nível Acabado!</pt><it>Livello completato!</it><se>Nivå klarad!</se><pl>Poziom ukończony!</pl><ru>Уровень пройден!</ru><id>Level selesai!</id><ar>Level Completed!</ar><jp>レベルクリア!</jp><cn>闯关成功</cn></textItem><textItem identifier="try_again"><en_us>Try Again</en_us><en_uk>Try again</en_uk><nl>Nog een keer</nl><fr>Essayer de nouveau </fr><de>Nochmal probieren</de><es>¿Volver a intentar?</es><br>Tentar de Novo</br><pt>Tentar Novamente</pt><it>Riprova</it><se>Försöka igen</se><pl>Spróbuj ponownie</pl><ru>Еще раз</ru><id>Coba lagi</id><ar>Try Again</ar><jp>もう1度トライしますか</jp><cn>再试一次</cn></textItem><textItem identifier="btn_main_menu"><en_us>Main Menu</en_us><en_uk>Main Menu</en_uk><nl>Hoofdmenu</nl><fr>Menu principal</fr><de>Hauptmenü</de><es>Menú principal</es><br>Menu Principal</br><pt>Menu Principal</pt><it>Menu principale</it><se>Huvudmeny</se><pl>Menu główne</pl><ru>Меню</ru><id>Menu utama</id><ar>Main Menu</ar><jp>メインメニュー</jp><cn>主菜单</cn></textItem><textItem identifier="score"><en_us>Score:</en_us><en_uk>Score:</en_uk><nl>Score:</nl><fr>Score :</fr><de>Punkte:</de><es>Puntuación:</es><br>Pontos:</br><pt>Pontuação:</pt><it>Punteggio:</it><se>Poäng:</se><pl>Wynik:</pl><ru>Счет:</ru><id>Skor:</id><ar>Score:</ar><jp>スコア:</jp><cn>分数:</cn></textItem><textItem identifier="btn_next_level"><en_us>Next Level</en_us><en_uk>Next Level</en_uk><nl>Volgende level</nl><fr>Niveau suivant</fr><de>Nächster Level</de><es>Siguiente nivel</es><br>Próxima Fase</br><pt>Nível Seguinte</pt><it>Prossimo livello</it><se>Nästa nivå</se><pl>Następny poziom</pl><ru>Следующий уровень</ru><id>Level Berikutnya</id><ar>Next Level</ar><jp>次のレベル</jp><cn>下一关</cn></textItem><textItem identifier="btn_submit_score"><en_us>Submit Score</en_us><en_uk>Submit Score</en_uk><nl>Score verzenden</nl><fr>Enregistrer le score</fr><de>Punkte eintragen</de><es>Enviar puntuación</es><br>Enviar Pontuação</br><pt>Enviar Pontuação</pt><it>Invia punteggio</it><se>Skicka poäng</se><pl>Zapisz wynik</pl><ru>Сохранить результат</ru><id>Ajukan skor</id><ar>Submit Score</ar><jp>スコアを登録する</jp><cn>提交分数</cn></textItem><textItem identifier="btn_resume"><en_us>Resume</en_us><en_uk>Resume</en_uk><nl>Doorspelen</nl><fr>Reprendre</fr><de>Weitermachen</de><es>Reanudar</es><br>Continuar</br><pt>Retomar</pt><it>Riprendi</it><se>Återgå</se><pl>Kontynuuj</pl><ru>Продолжать</ru><id>Lanjutkan</id><ar>Resume</ar><jp>再開する</jp><cn>继续</cn></textItem><textItem identifier="superbonus"><en_us>Super Bonus!</en_us><en_uk>Super Bonus!</en_uk><nl>Superbonus!</nl><fr>Super bonus !</fr><de>Superbonus!</de><es>¡Súper bonificación!</es><br>Super-Bônus!</br><pt>Super Bónus!</pt><it>Super bonus!</it><se>Superbonus!</se><pl>Superbonus!</pl><ru>Супербонус!</ru><id>Bonus Super!</id><ar>Super Bonus!</ar><jp>スーパーボーナス!</jp><cn>超级大奖!</cn></textItem><textItem identifier="plus1000points"><en_us>+1,000 points</en_us><en_uk>+1,000 points</en_uk><nl>+ 1000 punten</nl><fr> +1 000 points</fr><de>+1.000 Punkte</de><es>+ 1.000 puntos</es><br>+1.000 pontos</br><pt>+1.000 pontos</pt><it>+ 1000 punti</it><se>+1000 poäng</se><pl>+1 000 punktów</pl><ru>+1000 очков</ru><id>+1.000 poin</id><ar>+1,000 points</ar><jp>+1,000 ポイント</jp><cn>+1,000 点</cn></textItem><textItem identifier="karate_kick"><en_us>Karate Kick</en_us><en_uk>Karate Kick</en_uk><nl>Karatekick</nl><fr>Coup de pied de karaté</fr><de>Karatetritt</de><es>Patada de kárate</es><br>Chute de Caratê</br><pt>Pontapé de Karaté</pt><it>Calcio di karate</it><se>Karatespark</se><pl>Cios karate</pl><ru>Удар карате</ru><id>Tendangan Karate</id><ar>Karate Kick</ar><jp>空手キック</jp><cn>空手道飞踢</cn></textItem><textItem identifier="guitar_solo"><en_us>Guitar Solo</en_us><en_uk>Guitar Solo</en_uk><nl>Gitaarsolo</nl><fr>Solo à la guitare</fr><de>Gitarrensolo</de><es>Solo de guitarra</es><br>Solo de Guitarra</br><pt>Solo de Guitarra</pt><it>Assolo di chitarra</it><se>Gitarrsolo</se><pl>Gitarowa solówka</pl><ru>Гитарное соло</ru><id>Solo Gitar</id><ar>Guitar Solo</ar><jp>ギターソロ</jp><cn>吉他独奏</cn></textItem><textItem identifier="the_twist"><en_us>The Twist</en_us><en_uk>The Twist</en_uk><nl>De Twist</nl><fr>Le twist</fr><de>Spirale</de><es>El Twist</es><br>Twist</br><pt>O Twist</pt><it>Il giro</it><se>Twist</se><pl>Twist</pl><ru>Твист</ru><id>Plintiran</id><ar>The Twist</ar><jp>ツイスト</jp><cn>旋转</cn></textItem><textItem identifier="superman"><en_us>Superman</en_us><en_uk>Superman</en_uk><nl>Superman</nl><fr>Superman</fr><de>Superman</de><es>Supermán</es><br>Super-Homem</br><pt>Super-homem</pt><it>Superman</it><se>Superman</se><pl>Superman</pl><ru>Супермен</ru><id>Superman</id><ar>Superman</ar><jp>スーパーマン</jp><cn>超人</cn></textItem><textItem identifier="backflip"><en_us>Backflip</en_us><en_uk>Backflip</en_uk><nl>Backflip</nl><fr>Salto arrière</fr><de>Rückwärtssalto</de><es>Mortal hacia atrás</es><br>Salto Mortal</br><pt>Mortal para Trás</pt><it>Salto all'indietro</it><se>Bakåtvolt</se><pl>Salto w tył</pl><ru>Обратное сальто</ru><id>Jumpalitan</id><ar>Backflip</ar><jp>バックフリップ</jp><cn>后空翻</cn></textItem><textItem identifier="restart"><en_us>Retry</en_us><en_uk>Retry</en_uk><nl>Opnieuw</nl><fr>Réessayer</fr><de>Nochmal versuchen</de><es>Repetir</es><br>Tentar de Novo</br><pt>Repetir</pt><it>Riprova</it><se>Försök igen</se><pl>Spróbuj ponownie</pl><ru>Еще раз</ru><id>Coba lagi</id><ar>Retry</ar><jp>もう1度トライする</jp><cn>重试</cn></textItem><textItem identifier="lives left"><en_us>Lives Left:</en_us><en_uk>Lives Left:</en_uk><nl>Levens:</nl><fr>Vies restantes :</fr><de>Verbleibende Leben:</de><es>Vidas restantes:</es><br>Vidas Restando:</br><pt>Vidas Restantes:</pt><it>Vite rimaste:</it><se>Liv kvar:</se><pl>Pozostałe życia:</pl><ru>Жизней:</ru><id>Sisa Nyawa:</id><ar>Lives Left:</ar><jp>残りライフ:</jp><cn>剩余生命数:</cn></textItem><textItem identifier="lives"><en_us>lives</en_us><en_uk>lives</en_uk><nl>levens</nl><fr>vies</fr><de>Leben</de><es>vidas</es><br>vidas</br><pt>vidas</pt><it>vite</it><se>Liv</se><pl>życia</pl><ru>жизней</ru><id>nyawa</id><ar>lives</ar><jp>ライフ</jp><cn>生命数</cn></textItem><textItem identifier="game_over"><en_us>Game Over</en_us><en_uk>Game Over</en_uk><nl>Game over</nl><fr>Game over</fr><de>Game over</de><es>Fin de partida</es><br>Acabou</br><pt>Fim do Jogo</pt><it>Gioco finito </it><se>Game over</se><pl>Koniec gry</pl><ru>Конец игры</ru><id>Game Tamat</id><ar>Game Over</ar><jp>ゲームオーバー</jp><cn>游戏结束</cn></textItem><textItem identifier="loading"><en_us>Loading...</en_us><en_uk>Loading...</en_uk><nl>Laden.</nl><fr>Chargement...</fr><de>Wird geladen…</de><es>Cargando...</es><br>Carregando...</br><pt>A carregar...</pt><it>Caricamento…</it><se>Laddar …</se><pl>Ładowanie…</pl><ru>Загрузка…</ru><id>Memuatkan...</id><ar>Loading...</ar><jp>ローディング中...</jp><cn>加载中……</cn></textItem><textItem identifier="level1complete"><en_us>Level 1 of 8 completed</en_us><en_uk>Level 1 of 8 completed</en_uk><nl>Level 1 van 8 voltooid</nl><fr>Niveau 1 sur 8 réussi</fr><de>Level 1 von 8 abgeschlossen</de><es>Nivel 1 de 8 completado</es><br>Fase 1 de 8 concluída</br><pt>Nível 1 de 8 concluído</pt><it>Completato il livello 1 di 8</it><se>Nivå 1 av 8 klarad</se><pl>Ukończono poziom 1 z 8</pl><ru>Пройден 1 уровень из 8</ru><id>Level 1 dari 8 selesai</id><ar>Level 1 of 8 completed</ar><jp>レベル 1/8 をクリアしました。</jp><cn>共 8 关,已过 1 关</cn></textItem><textItem identifier="level2complete"><en_us>Level 2 of 8 completed</en_us><en_uk>Level 2 of 8 completed</en_uk><nl>Level 2 van 8 voltooid</nl><fr>Niveau 2 sur 8 réussi</fr><de>Level 2 von 8 abgeschlossen</de><es>Nivel 2 de 8 completado</es><br>Fase 2 de 8 concluída</br><pt>Nível 2 de 8 concluído</pt><it>Completato il livello 2 di 8</it><se>Nivå 2 av 8 klarad</se><pl>Ukończono poziom 2 z 8</pl><ru>Пройден 2 уровень из 8</ru><id>Level 2 dari 8 selesai</id><ar>Level 2 of 8 completed</ar><jp>レベル 2/8 をクリアしました。</jp><cn>共 8 关,已过 2 关</cn></textItem><textItem identifier="level3complete"><en_us>Level 3 of 8 completed</en_us><en_uk>Level 3 of 8 completed</en_uk><nl>Level 3 van 8 voltooid</nl><fr>Niveau 3 sur 8 réussi</fr><de>Level 3 von 8 abgeschlossen</de><es>Nivel 3 de 8 completado</es><br>Fase 3 de 8 concluída</br><pt>Nível 3 de 8 concluído</pt><it>Completato il livello 3 di 8</it><se>Nivå 3 av 8 klarad</se><pl>Ukończono poziom 3 z 8</pl><ru>Пройден 3 уровень из 8</ru><id>Level 3 dari 8 selesai</id><ar>Level 3 of 8 completed</ar><jp>レベル 3/8 をクリアしました。</jp><cn>共 8 关,已过 3 关</cn></textItem><textItem identifier="level4complete"><en_us>Level 4 of 8 completed</en_us><en_uk>Level 4 of 8 completed</en_uk><nl>Level 4 van 8 voltooid</nl><fr>Niveau 4 sur 8 réussi</fr><de>Level 4 von 8 abgeschlossen</de><es>Nivel 4 de 8 completado</es><br>Fase 4 de 8 concluída</br><pt>Nível 4 de 8 concluído</pt><it>Completato il livello 4 di 8</it><se>Nivå 4 av 8 klarad</se><pl>Ukończono poziom 4 z 8</pl><ru>Пройден 4 уровень из 8</ru><id>Level 4 dari 8 selesai</id><ar>Level 4 of 8 completed</ar><jp>レベル 4/8 をクリアしました。</jp><cn>共 8 关,已过 4 关</cn></textItem><textItem identifier="level5complete"><en_us>Level 5 of 8 completed</en_us><en_uk>Level 5 of 8 completed</en_uk><nl>Level 5 van 8 voltooid</nl><fr>Niveau 5 sur 8 réussi</fr><de>Level 5 von 8 abgeschlossen</de><es>Nivel 5 de 8 completado</es><br>Fase 5 de 8 concluída</br><pt>Nível 5 de 8 concluído</pt><it>Completato il livello 5 di 8</it><se>Nivå 5 av 8 klarad</se><pl>Ukończono poziom 5 z 8</pl><ru>Пройден 5 уровень из 8</ru><id>Level 5 dari 8 selesai</id><ar>Level 5 of 8 completed</ar><jp>レベル 5/8 をクリアしました。</jp><cn>共 8 关,已过 5 关</cn></textItem><textItem identifier="level6complete"><en_us>Level 6 of 8 completed</en_us><en_uk>Level 6 of 8 completed</en_uk><nl>Level 6 van 8 voltooid</nl><fr>Niveau 6 sur 8 réussi</fr><de>Level 6 von 8 abgeschlossen</de><es>Nivel 6 de 8 completado</es><br>Fase 6 de 8 concluída</br><pt>Nível 6 de 8 concluído</pt><it>Completato il livello 6 di 8</it><se>Nivå 6 av 8 klarad</se><pl>Ukończono poziom 6 z 8</pl><ru>Пройден 6 уровень из 8</ru><id>Level 6 dari 8 selesai</id><ar>Level 6 of 8 completed</ar><jp>レベル 6/8 をクリアしました。</jp><cn>共 8 关,已过 6 关</cn></textItem><textItem identifier="level7complete"><en_us>Level 7 of 8 completed</en_us><en_uk>Level 7 of 8 completed</en_uk><nl>Level 7 van 8 voltooid</nl><fr>Niveau 7 sur 8 réussi</fr><de>Level 7 von 8 abgeschlossen</de><es>Nivel 7 de 8 completado</es><br>Fase 7 de 8 concluída</br><pt>Nível 7 de 8 concluído</pt><it>Completato il livello 7 di 8</it><se>Nivå 7 av 8 klarad</se><pl>Ukończono poziom 7 z 8</pl><ru>Пройден 7 уровень из 8</ru><id>Level 7 dari 8 selesai</id><ar>Level 7 of 8 completed</ar><jp>レベル 7/8 をクリアしました。</jp><cn>共 8 关,已过 7 关</cn></textItem><textItem identifier="level8complete"><en_us>Level 8 of 8 completed</en_us><en_uk>Level 8 of 8 completed</en_uk><nl>Level 8 van 8 voltooid</nl><fr>Niveau 8 sur 8 réussi</fr><de>Level 8 von 8 abgeschlossen</de><es>Nivel 8 de 8 completado</es><br>Fase 8 de 8 concluída</br><pt>Nível 8 de 8 concluído</pt><it>Completato il livello 8 di 8</it><se>Nivå 8 av 8 klarad</se><pl>Ukończono poziom 8 z 8</pl><ru>Пройден 8 уровень из 8</ru><id>Level 8 dari 8 selesai</id><ar>Level 8 of 8 completed</ar><jp>レベル 8/8 をクリアしました。</jp><cn>共 8 关,已过 8 关</cn></textItem><textItem identifier="game_complete"><en_us>Game Complete</en_us><en_uk>Game Complete</en_uk><nl>JE HEBT GEWONNEN!</nl><fr>TU AS GAGNÉ</fr><de>GEWONNEN</de><es>HAS GANADO</es><br>GANHOU!</br><pt>GANHOU</pt><it>HAI VINTO</it><se>DU VANN</se><pl>WYGRAŁEŚ</pl><ru>ВЫ ВЫИГРАЛИ</ru><id>ANDA MENANG!</id><ar>Game Complete</ar><jp>クリア!</jp><cn>你完成了游戏!</cn></textItem></LocalisedText> ; SpilGame.importXMLv2(_local1); trace("Language Data Succesfully included"); } } }//package localization
Section 134
//agameLinkBtn (menus.agameLinkBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class agameLinkBtn extends AbstractButton { } }//package menus
Section 135
//backBtn (menus.backBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class backBtn extends AbstractButton { } }//package menus
Section 136
//howToPlayBtn (menus.howToPlayBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class howToPlayBtn extends AbstractButton { } }//package menus
Section 137
//mainMenuBtn (menus.mainMenuBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class mainMenuBtn extends AbstractButton { } }//package menus
Section 138
//mainMenuLargeBtn (menus.mainMenuLargeBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class mainMenuLargeBtn extends AbstractButton { } }//package menus
Section 139
//nextBtn (menus.nextBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class nextBtn extends AbstractButton { } }//package menus
Section 140
//nextLevelBtn (menus.nextLevelBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class nextLevelBtn extends AbstractButton { } }//package menus
Section 141
//pauseBtn (menus.pauseBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class pauseBtn extends AbstractButton { } }//package menus
Section 142
//qualityBtn (menus.qualityBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class qualityBtn extends QualityToggleButton { } }//package menus
Section 143
//resumeBtn (menus.resumeBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class resumeBtn extends AbstractButton { } }//package menus
Section 144
//startBtn (menus.startBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class startBtn extends AbstractButton { } }//package menus
Section 145
//submitScorelBtn (menus.submitScorelBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class submitScorelBtn extends AbstractButton { } }//package menus
Section 146
//tryAgainBtn (menus.tryAgainBtn) package menus { import uk.co.kempt.uphillvegas.display.button.*; public dynamic class tryAgainBtn extends AbstractButton { } }//package menus
Section 147
//Stats (net.hires.debug.Stats) package net.hires.debug { import flash.geom.*; import flash.display.*; import flash.text.*; import flash.events.*; import flash.utils.*; import flash.system.*; public class Stats extends Sprite { protected const WIDTH:uint = 70; protected const HEIGHT:uint = 100; protected var timer:uint; protected var mem_max_graph:uint; protected var theme:Object; protected var mem:Number; protected var xml:XML; protected var graph:Bitmap; protected var mem_graph:uint; protected var fps:uint; protected var ms_prev:uint; protected var text:TextField; protected var rectangle:Rectangle; protected var style:StyleSheet; protected var ms:uint; protected var fps_graph:uint; protected var mem_max:Number; public function Stats(_arg1:Object=null, _arg2:Boolean=true):void{ theme = {bg:51, fps:0xFFFF00, ms:0xFF00, mem:0xFFFF, memmax:0xFF0070}; super(); if (_arg1){ if (_arg1.bg != null){ theme.bg = _arg1.bg; }; if (_arg1.fps != null){ theme.fps = _arg1.fps; }; if (_arg1.ms != null){ theme.ms = _arg1.ms; }; if (_arg1.mem != null){ theme.mem = _arg1.mem; }; if (_arg1.memmax != null){ theme.memmax = _arg1.memmax; }; }; mem_max = 0; xml = <xml><fps>FPS:</fps><ms>MS:</ms><mem>MEM:</mem><memMax>MAX:</memMax></xml> ; style = new StyleSheet(); style.setStyle("xml", {fontSize:"9px", fontFamily:"_sans", leading:"-2px"}); style.setStyle("fps", {color:hex2css(theme.fps)}); style.setStyle("ms", {color:hex2css(theme.ms)}); style.setStyle("mem", {color:hex2css(theme.mem)}); style.setStyle("memMax", {color:hex2css(theme.memmax)}); text = new TextField(); text.width = WIDTH; text.height = 50; text.styleSheet = style; text.condenseWhite = true; text.selectable = false; text.mouseEnabled = false; graph = new Bitmap(); graph.y = 50; graph.visible = _arg2; rectangle = new Rectangle((WIDTH - 1), 0, 1, (HEIGHT - 50)); addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true); addEventListener(Event.REMOVED_FROM_STAGE, destroy, false, 0, true); } private function destroy(_arg1:Event):void{ graphics.clear(); while (numChildren > 0) { removeChildAt(0); }; graph.bitmapData.dispose(); removeEventListener(MouseEvent.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); } private function onClick(_arg1:MouseEvent):void{ if (((mouseY / height) > 0.5)){ stage.frameRate--; } else { stage.frameRate++; }; xml.fps = ((("FPS: " + fps) + " / ") + stage.frameRate); text.htmlText = xml; } private function init(_arg1:Event):void{ graphics.beginFill(theme.bg); graphics.drawRect(0, 0, WIDTH, HEIGHT); graphics.endFill(); addChild(text); graph.bitmapData = new BitmapData(WIDTH, (HEIGHT - 50), false, theme.bg); addChild(graph); addEventListener(MouseEvent.CLICK, onClick); addEventListener(Event.ENTER_FRAME, update); } private function update(_arg1:Event):void{ timer = getTimer(); if ((timer - 1000) > ms_prev){ ms_prev = timer; mem = Number((System.totalMemory * 9.54E-7).toFixed(3)); mem_max = ((mem_max > mem)) ? mem_max : mem; fps_graph = Math.min(graph.height, ((fps / stage.frameRate) * graph.height)); mem_graph = (Math.min(graph.height, Math.sqrt(Math.sqrt((mem * 5000)))) - 2); mem_max_graph = (Math.min(graph.height, Math.sqrt(Math.sqrt((mem_max * 5000)))) - 2); graph.bitmapData.scroll(-1, 0); graph.bitmapData.fillRect(rectangle, theme.bg); graph.bitmapData.setPixel((graph.width - 1), (graph.height - fps_graph), theme.fps); graph.bitmapData.setPixel((graph.width - 1), (graph.height - ((timer - ms) >> 1)), theme.ms); graph.bitmapData.setPixel((graph.width - 1), (graph.height - mem_graph), theme.mem); graph.bitmapData.setPixel((graph.width - 1), (graph.height - mem_max_graph), theme.memmax); xml.fps = ((("FPS: " + fps) + " / ") + stage.frameRate); xml.mem = ("MEM: " + mem); xml.memMax = ("MAX: " + mem_max); fps = 0; }; fps++; xml.ms = ("MS: " + (timer - ms)); ms = timer; text.htmlText = xml; } private function hex2css(_arg1:int):String{ return (("#" + _arg1.toString(16))); } } }//package net.hires.debug
Section 148
//AbstractCollection (org.cove.ape.AbstractCollection) package org.cove.ape { import flash.display.*; import flash.utils.*; public class AbstractCollection { private var _sprite:Sprite; private var _particles:Array; private var _isParented:Boolean; private var _constraints:Array; public function AbstractCollection(){ if (getQualifiedClassName(this) == "org.cove.ape::AbstractCollection"){ throw (new ArgumentError("AbstractCollection can't be instantiated directly")); }; _isParented = false; _particles = new Array(); _constraints = new Array(); } public function removeConstraint(_arg1:AbstractConstraint):void{ var _local2:int = constraints.indexOf(_arg1); if (_local2 == -1){ return; }; constraints.splice(_local2, 1); _arg1.cleanup(); } public function getAll():Array{ return (particles.concat(constraints)); } function checkCollisionsVsCollection(_arg1:AbstractCollection):void{ var _local5:AbstractParticle; var _local6:int; var _local7:int; var _local8:int; var _local9:AbstractParticle; var _local10:SpringConstraint; var _local11:SpringConstraint; var _local12:int; var _local2:int = _particles.length; var _local3:int; while (_local3 < _local2) { _local5 = _particles[_local3]; if ((((_local5 == null)) || (!(_local5.collidable)))){ } else { _local6 = _arg1.particles.length; _local7 = 0; while (_local7 < _local6) { _local9 = _arg1.particles[_local7]; if (((!((_local9 == null))) && (_local9.collidable))){ CollisionDetector.test(_local5, _local9); }; _local7++; }; _local8 = _arg1.constraints.length; _local7 = 0; while (_local7 < _local8) { _local10 = _arg1.constraints[_local7]; if (((((!((_local10 == null))) && (_local10.collidable))) && (!(_local10.isConnectedTo(_local5))))){ _local10.scp.updatePosition(); CollisionDetector.test(_local5, _local10.scp); }; _local7++; }; }; _local3++; }; var _local4:int = _constraints.length; _local3 = 0; while (_local3 < _local4) { _local11 = _constraints[_local3]; if ((((_local11 == null)) || (!(_local11.collidable)))){ } else { _local6 = _arg1.particles.length; _local12 = 0; while (_local12 < _local6) { _local9 = _arg1.particles[_local12]; if (((((!((_local9 == null))) && (_local9.collidable))) && (!(_local11.isConnectedTo(_local9))))){ _local11.scp.updatePosition(); CollisionDetector.test(_local9, _local11.scp); }; _local12++; }; }; _local3++; }; } public function get sprite():Sprite{ if (_sprite != null){ return (_sprite); }; if (APEngine.container == null){ throw (new Error("The container property of the APEngine class has not been set")); }; _sprite = new Sprite(); APEngine.container.addChild(_sprite); return (_sprite); } function checkInternalCollisions():void{ var _local3:AbstractParticle; var _local4:int; var _local5:int; var _local6:int; var _local7:AbstractParticle; var _local8:SpringConstraint; var _local1:int = _particles.length; var _local2:int; while (_local2 < _local1) { _local3 = _particles[_local2]; if ((((_local3 == null)) || (!(_local3.collidable)))){ } else { _local4 = (_local2 + 1); while (_local4 < _local1) { _local7 = _particles[_local4]; if (((!((_local7 == null))) && (_local7.collidable))){ CollisionDetector.test(_local3, _local7); }; _local4++; }; _local5 = _constraints.length; _local6 = 0; while (_local6 < _local5) { _local8 = _constraints[_local6]; if (((((!((_local8 == null))) && (_local8.collidable))) && (!(_local8.isConnectedTo(_local3))))){ _local8.scp.updatePosition(); CollisionDetector.test(_local3, _local8.scp); }; _local6++; }; }; _local2++; }; } public function addParticle(_arg1:AbstractParticle):void{ particles.push(_arg1); if (isParented){ _arg1.init(); }; } public function init():void{ var _local1:int; while (_local1 < particles.length) { particles[_local1].init(); _local1++; }; _local1 = 0; while (_local1 < constraints.length) { constraints[_local1].init(); _local1++; }; } function satisfyConstraints():void{ var _local3:AbstractConstraint; var _local1:int = _constraints.length; var _local2:int; while (_local2 < _local1) { _local3 = _constraints[_local2]; _local3.resolve(); _local2++; }; } function get isParented():Boolean{ return (_isParented); } public function paint():void{ var _local1:AbstractParticle; var _local4:SpringConstraint; var _local2:int = _particles.length; var _local3:int; while (_local3 < _local2) { _local1 = _particles[_local3]; if (((!(_local1.fixed)) || (_local1.alwaysRepaint))){ _local1.paint(); }; _local3++; }; _local2 = _constraints.length; _local3 = 0; while (_local3 < _local2) { _local4 = _constraints[_local3]; if (((!(_local4.fixed)) || (_local4.alwaysRepaint))){ _local4.paint(); }; _local3++; }; } public function addConstraint(_arg1:AbstractConstraint):void{ constraints.push(_arg1); if (isParented){ _arg1.init(); }; } function set isParented(_arg1:Boolean):void{ _isParented = _arg1; } public function removeParticle(_arg1:AbstractParticle):void{ var _local2:int = particles.indexOf(_arg1); if (_local2 == -1){ return; }; particles.splice(_local2, 1); _arg1.cleanup(); } public function cleanup():void{ var _local1:int; while (_local1 < particles.length) { particles[_local1].cleanup(); _local1++; }; _local1 = 0; while (_local1 < constraints.length) { constraints[_local1].cleanup(); _local1++; }; } public function get particles():Array{ return (_particles); } function integrate(_arg1:Number):void{ var _local4:AbstractParticle; var _local2:int = _particles.length; var _local3:int; while (_local3 < _local2) { _local4 = _particles[_local3]; _local4.update(_arg1); _local3++; }; } public function get constraints():Array{ return (_constraints); } } }//package org.cove.ape
Section 149
//AbstractConstraint (org.cove.ape.AbstractConstraint) package org.cove.ape { import flash.utils.*; public class AbstractConstraint extends AbstractItem { private var _stiffness:Number; public function AbstractConstraint(_arg1:Number){ if (getQualifiedClassName(this) == "org.cove.ape::AbstractConstraint"){ throw (new ArgumentError("AbstractConstraint can't be instantiated directly")); }; this.stiffness = _arg1; setStyle(); } public function resolve():void{ } public function set stiffness(_arg1:Number):void{ _stiffness = _arg1; } public function get stiffness():Number{ return (_stiffness); } } }//package org.cove.ape
Section 150
//AbstractItem (org.cove.ape.AbstractItem) package org.cove.ape { import flash.display.*; import flash.events.*; public class AbstractItem extends EventDispatcher { var lineAlpha:Number; var lineColor:uint; var displayObjectOffset:Vector; var lineThickness:Number; var displayObject:DisplayObject; var fillAlpha:Number; private var _sprite:Sprite; var fillColor:uint; private var _solid:Boolean; private var _visible:Boolean; private var _alwaysRepaint:Boolean; var displayObjectRotation:Number; public function AbstractItem(){ _solid = true; _visible = true; _alwaysRepaint = false; } public function get solid():Boolean{ return (_solid); } public function setLine(_arg1:Number=0, _arg2:uint=0, _arg3:Number=1):void{ lineThickness = _arg1; lineColor = _arg2; lineAlpha = _arg3; } public function set visible(_arg1:Boolean):void{ _visible = _arg1; sprite.visible = _arg1; } public function setFill(_arg1:uint=0xFFFFFF, _arg2:Number=1):void{ fillColor = _arg1; fillAlpha = _arg2; } public function init():void{ } public function set solid(_arg1:Boolean):void{ _solid = _arg1; } public function get sprite():Sprite{ if (_sprite != null){ return (_sprite); }; if (APEngine.container == null){ throw (new Error("The container property of the APEngine class has not been set")); }; _sprite = new Sprite(); APEngine.container.addChild(_sprite); return (_sprite); } public function paint():void{ } public function cleanup():void{ sprite.graphics.clear(); var _local1:int; while (_local1 < sprite.numChildren) { sprite.removeChildAt(_local1); _local1++; }; } public function setStyle(_arg1:Number=0, _arg2:uint=0, _arg3:Number=1, _arg4:uint=0xFFFFFF, _arg5:Number=1):void{ setLine(_arg1, _arg2, _arg3); setFill(_arg4, _arg5); } public function get visible():Boolean{ return (_visible); } final public function set alwaysRepaint(_arg1:Boolean):void{ _alwaysRepaint = _arg1; } final public function get alwaysRepaint():Boolean{ return (_alwaysRepaint); } } }//package org.cove.ape
Section 151
//AbstractParticle (org.cove.ape.AbstractParticle) package org.cove.ape { import flash.display.*; import flash.utils.*; public class AbstractParticle extends AbstractItem { private var _collidable:Boolean; private var _center:Vector; private var forceList:Array; private var _kfr:Number; var prev:Vector; private var collision:Collision; var interval:Interval; private var _invMass:Number; var curr:Vector; private var _mass:Number; private var temp:Vector; private var _friction:Number; private var firstCollision:Boolean; var samp:Vector; private var _multisample:int; private var _fixed:Boolean; private var forces:Vector; public function AbstractParticle(_arg1:Number, _arg2:Number, _arg3:Boolean, _arg4:Number, _arg5:Number, _arg6:Number){ if (getQualifiedClassName(this) == "org.cove.ape::AbstractParticle"){ throw (new ArgumentError("AbstractParticle can't be instantiated directly")); }; interval = new Interval(0, 0); curr = new Vector(_arg1, _arg2); prev = new Vector(_arg1, _arg2); samp = new Vector(); temp = new Vector(); fixed = _arg3; forces = new Vector(); forceList = new Array(); collision = new Collision(new Vector(), new Vector()); collidable = true; firstCollision = false; this.mass = _arg4; this.elasticity = _arg5; this.friction = _arg6; setStyle(); _center = new Vector(); _multisample = 0; } private function accumulateForces():void{ var _local1:IForce; var _local2:int = forceList.length; var _local3:int; while (_local3 < _local2) { _local1 = forceList[_local3]; forces.plusEquals(_local1.getValue(_invMass)); _local3++; }; var _local4:Array = APEngine.forces; _local2 = _local4.length; _local3 = 0; while (_local3 < _local2) { _local1 = _local4[_local3]; forces.plusEquals(_local1.getValue(_invMass)); _local3++; }; } function get invMass():Number{ return ((fixed) ? 0 : _invMass); } public function get px():Number{ return (curr.x); } public function get py():Number{ return (curr.y); } public function setDisplay(_arg1:DisplayObject, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):void{ displayObject = _arg1; displayObjectRotation = _arg4; displayObjectOffset = new Vector(_arg2, _arg3); } public function set px(_arg1:Number):void{ curr.x = _arg1; prev.x = _arg1; } public function resetFirstCollision():void{ firstCollision = false; } public function set py(_arg1:Number):void{ curr.y = _arg1; prev.y = _arg1; } function getComponents(_arg1:Vector):Collision{ var _local2:Vector = velocity; var _local3:Number = _arg1.dot(_local2); collision.vn = _arg1.mult(_local3); collision.vt = _local2.minus(collision.vn); return (collision); } public function get mass():Number{ return (_mass); } function initDisplay():void{ displayObject.x = displayObjectOffset.x; displayObject.y = displayObjectOffset.y; displayObject.rotation = displayObjectRotation; sprite.addChild(displayObject); } private function clearForces():void{ forceList.length = 0; forces.setTo(0, 0); } public function get multisample():int{ return (_multisample); } public function get position():Vector{ return (new Vector(curr.x, curr.y)); } function resolveCollision(_arg1:Vector, _arg2:Vector, _arg3:Vector, _arg4:Number, _arg5:int, _arg6:AbstractParticle):void{ testParticleEvents(_arg6); if (((((fixed) || (!(solid)))) || (!(_arg6.solid)))){ return; }; curr.copy(samp); curr.plusEquals(_arg1); velocity = _arg2; } public function get elasticity():Number{ return (_kfr); } public function set collidable(_arg1:Boolean):void{ _collidable = _arg1; } public function set velocity(_arg1:Vector):void{ prev = curr.minus(_arg1); } public function set multisample(_arg1:int):void{ _multisample = _arg1; } public function addForce(_arg1:IForce):void{ forceList.push(_arg1); } public function get center():Vector{ _center.setTo(px, py); return (_center); } public function update(_arg1:Number):void{ if (fixed){ return; }; accumulateForces(); temp.copy(curr); var _local2:Vector = velocity.plus(forces.multEquals(_arg1)); curr.plusEquals(_local2.multEquals(APEngine.damping)); prev.copy(temp); clearForces(); clearForces(); } public function get velocity():Vector{ return (curr.minus(prev)); } public function set position(_arg1:Vector):void{ curr.copy(_arg1); prev.copy(_arg1); } public function set mass(_arg1:Number):void{ if (_arg1 <= 0){ throw (new ArgumentError("mass may not be set <= 0")); }; _mass = _arg1; _invMass = (1 / _mass); } public function set fixed(_arg1:Boolean):void{ _fixed = _arg1; } public function set elasticity(_arg1:Number):void{ _kfr = _arg1; } public function set friction(_arg1:Number):void{ if ((((_arg1 < 0)) || ((_arg1 > 1)))){ throw (new ArgumentError("Legal friction must be >= 0 and <=1")); }; _friction = _arg1; } function testParticleEvents(_arg1:AbstractParticle):void{ if (hasEventListener(CollisionEvent.COLLIDE)){ dispatchEvent(new CollisionEvent(CollisionEvent.COLLIDE, false, false, _arg1)); }; if (((hasEventListener(CollisionEvent.FIRST_COLLIDE)) && (!(firstCollision)))){ firstCollision = true; dispatchEvent(new CollisionEvent(CollisionEvent.FIRST_COLLIDE, false, false, _arg1)); }; } public function get collidable():Boolean{ return (_collidable); } public function get friction():Number{ return (_friction); } public function get fixed():Boolean{ return (_fixed); } } }//package org.cove.ape
Section 152
//APEngine (org.cove.ape.APEngine) package org.cove.ape { import flash.display.*; public final class APEngine { private static var _damping:Number; private static var _container:DisplayObjectContainer; private static var _constraintCollisionCycles:int; private static var groups:Array; static var forces:Array; private static var _constraintCycles:int; private static var timeStep:Number; private static var numGroups:int; public static function get container():DisplayObjectContainer{ return (_container); } public static function get constraintCollisionCycles():int{ return (_constraintCollisionCycles); } public static function removeForce(_arg1:IForce):void{ var _local2:int = forces.indexOf(_arg1); if (_local2 == -1){ return; }; forces.splice(_local2, 1); } public static function set damping(_arg1:Number):void{ _damping = _arg1; } public static function step():void{ integrate(); var _local1:int; while (_local1 < _constraintCycles) { satisfyConstraints(); _local1++; }; var _local2:int; while (_local2 < _constraintCollisionCycles) { satisfyConstraints(); checkCollisions(); _local2++; }; } public static function get constraintCycles():int{ return (_constraintCycles); } public static function set constraintCollisionCycles(_arg1:int):void{ _constraintCollisionCycles = _arg1; } public static function init(_arg1:Number=0.25):void{ timeStep = (_arg1 * _arg1); numGroups = 0; groups = new Array(); forces = new Array(); _damping = 1; _constraintCycles = 0; _constraintCollisionCycles = 1; } public static function addForce(_arg1:IForce):void{ forces.push(_arg1); } public static function get damping():Number{ return (_damping); } public static function set constraintCycles(_arg1:int):void{ _constraintCycles = _arg1; } public static function addGroup(_arg1:Group):void{ groups.push(_arg1); _arg1.isParented = true; numGroups++; _arg1.init(); } public static function set container(_arg1:DisplayObjectContainer):void{ _container = _arg1; } public static function paint():void{ var _local2:Group; var _local1:int; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2.paint(); _local1++; }; } public static function removeGroup(_arg1:Group):void{ var _local2:int = groups.indexOf(_arg1); if (_local2 == -1){ return; }; groups.splice(_local2, 1); _arg1.isParented = false; numGroups--; _arg1.cleanup(); } private static function satisfyConstraints():void{ var _local2:Group; var _local1:int; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2.satisfyConstraints(); _local1++; }; } public static function removeAllForce():void{ forces = new Array(); } private static function checkCollisions():void{ var _local2:Group; var _local1:int; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2.checkCollisions(); _local1++; }; } private static function integrate():void{ var _local2:Group; var _local1:int; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2.integrate(timeStep); _local1++; }; } } }//package org.cove.ape
Section 153
//CircleParticle (org.cove.ape.CircleParticle) package org.cove.ape { public class CircleParticle extends AbstractParticle { private var _radius:Number; public function CircleParticle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Number=1, _arg6:Number=0.3, _arg7:Number=0){ super(_arg1, _arg2, _arg4, _arg5, _arg6, _arg7); _radius = _arg3; } override public function init():void{ cleanup(); if (displayObject != null){ initDisplay(); } else { sprite.graphics.clear(); sprite.graphics.lineStyle(lineThickness, lineColor, lineAlpha); sprite.graphics.beginFill(fillColor, fillAlpha); sprite.graphics.drawCircle(0, 0, radius); sprite.graphics.endFill(); }; paint(); } public function set radius(_arg1:Number):void{ _radius = _arg1; } function getProjection(_arg1:Vector):Interval{ var _local2:Number = samp.dot(_arg1); interval.min = (_local2 - _radius); interval.max = (_local2 + _radius); return (interval); } function getIntervalY():Interval{ interval.min = (samp.y - _radius); interval.max = (samp.y + _radius); return (interval); } public function get radius():Number{ return (_radius); } function getIntervalX():Interval{ interval.min = (samp.x - _radius); interval.max = (samp.x + _radius); return (interval); } override public function paint():void{ sprite.x = curr.x; sprite.y = curr.y; } } }//package org.cove.ape
Section 154
//Collision (org.cove.ape.Collision) package org.cove.ape { import org.cove.ape.*; final class Collision { var vn:Vector; var vt:Vector; function Collision(_arg1:Vector, _arg2:Vector){ this.vn = _arg1; this.vt = _arg2; } } }//package org.cove.ape
Section 155
//CollisionDetector (org.cove.ape.CollisionDetector) package org.cove.ape { import org.cove.ape.*; final class CollisionDetector { private static var collNormal:Vector; private static var cpa:AbstractParticle; private static var cpb:AbstractParticle; private static var collDepth:Number; private static function testIntervals(_arg1:Interval, _arg2:Interval):Number{ if (_arg1.max < _arg2.min){ return (0); }; if (_arg2.max < _arg1.min){ return (0); }; var _local3:Number = (_arg2.max - _arg1.min); var _local4:Number = (_arg2.min - _arg1.max); return (((Math.abs(_local3))<Math.abs(_local4)) ? _local3 : _local4); } private static function testOBBvsOBB(_arg1:RectangleParticle, _arg2:RectangleParticle):Boolean{ var _local4:Vector; var _local5:Number; var _local6:Vector; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Boolean; collDepth = Number.POSITIVE_INFINITY; var _local3:int; while (_local3 < 2) { _local4 = _arg1.axes[_local3]; _local5 = testIntervals(_arg1.getProjection(_local4), _arg2.getProjection(_local4)); if (_local5 == 0){ return (false); }; _local6 = _arg2.axes[_local3]; _local7 = testIntervals(_arg1.getProjection(_local6), _arg2.getProjection(_local6)); if (_local7 == 0){ return (false); }; _local8 = Math.abs(_local5); _local9 = Math.abs(_local7); if ((((_local8 < Math.abs(collDepth))) || ((_local9 < Math.abs(collDepth))))){ _local10 = (_local8 < _local9); collNormal = (_local10) ? _local4 : _local6; collDepth = (_local10) ? _local5 : _local7; }; _local3++; }; cpa = _arg1; cpb = _arg2; return (true); } private static function testTypes(_arg1:AbstractParticle, _arg2:AbstractParticle):Boolean{ if ((((_arg1 is RectangleParticle)) && ((_arg2 is RectangleParticle)))){ return (testOBBvsOBB((_arg1 as RectangleParticle), (_arg2 as RectangleParticle))); }; if ((((_arg1 is CircleParticle)) && ((_arg2 is CircleParticle)))){ return (testCirclevsCircle((_arg1 as CircleParticle), (_arg2 as CircleParticle))); }; if ((((_arg1 is RectangleParticle)) && ((_arg2 is CircleParticle)))){ return (testOBBvsCircle((_arg1 as RectangleParticle), (_arg2 as CircleParticle))); }; if ((((_arg1 is CircleParticle)) && ((_arg2 is RectangleParticle)))){ return (testOBBvsCircle((_arg2 as RectangleParticle), (_arg1 as CircleParticle))); }; return (false); } private static function sampVsNorm(_arg1:AbstractParticle, _arg2:AbstractParticle):void{ if (normVsNorm(_arg1, _arg2)){ return; }; var _local3:Number = (1 / (_arg1.multisample + 1)); var _local4:Number = _local3; var _local5:int; while (_local5 <= _arg1.multisample) { _arg1.samp.setTo((_arg1.prev.x + (_local4 * (_arg1.curr.x - _arg1.prev.x))), (_arg1.prev.y + (_local4 * (_arg1.curr.y - _arg1.prev.y)))); if (testTypes(_arg1, _arg2)){ CollisionResolver.resolve(cpa, cpb, collNormal, collDepth); return; }; _local4 = (_local4 + _local3); _local5++; }; } private static function testCirclevsCircle(_arg1:CircleParticle, _arg2:CircleParticle):Boolean{ var _local3:Number = testIntervals(_arg1.getIntervalX(), _arg2.getIntervalX()); if (_local3 == 0){ return (false); }; var _local4:Number = testIntervals(_arg1.getIntervalY(), _arg2.getIntervalY()); if (_local4 == 0){ return (false); }; collNormal = _arg1.samp.minus(_arg2.samp); var _local5:Number = collNormal.magnitude(); collDepth = ((_arg1.radius + _arg2.radius) - _local5); if (collDepth > 0){ collNormal.divEquals(_local5); cpa = _arg1; cpb = _arg2; return (true); }; return (false); } static function test(_arg1:AbstractParticle, _arg2:AbstractParticle):void{ if (((_arg1.fixed) && (_arg2.fixed))){ return; }; if ((((_arg1.multisample == 0)) && ((_arg2.multisample == 0)))){ normVsNorm(_arg1, _arg2); } else { if ((((_arg1.multisample > 0)) && ((_arg2.multisample == 0)))){ sampVsNorm(_arg1, _arg2); } else { if ((((_arg2.multisample > 0)) && ((_arg1.multisample == 0)))){ sampVsNorm(_arg2, _arg1); } else { if (_arg1.multisample == _arg2.multisample){ sampVsSamp(_arg1, _arg2); } else { normVsNorm(_arg1, _arg2); }; }; }; }; } private static function testOBBvsCircle(_arg1:RectangleParticle, _arg2:CircleParticle):Boolean{ var _local6:Vector; var _local7:Number; var _local8:Vector; var _local9:Number; collDepth = Number.POSITIVE_INFINITY; var _local3:Array = new Array(2); var _local4:int; while (_local4 < 2) { _local6 = _arg1.axes[_local4]; _local7 = testIntervals(_arg1.getProjection(_local6), _arg2.getProjection(_local6)); if (_local7 == 0){ return (false); }; if (Math.abs(_local7) < Math.abs(collDepth)){ collNormal = _local6; collDepth = _local7; }; _local3[_local4] = _local7; _local4++; }; var _local5:Number = _arg2.radius; if ((((Math.abs(_local3[0]) < _local5)) && ((Math.abs(_local3[1]) < _local5)))){ _local8 = closestVertexOnOBB(_arg2.samp, _arg1); collNormal = _local8.minus(_arg2.samp); _local9 = collNormal.magnitude(); collDepth = (_local5 - _local9); if (collDepth > 0){ collNormal.divEquals(_local9); } else { return (false); }; }; cpa = _arg1; cpb = _arg2; return (true); } private static function closestVertexOnOBB(_arg1:Vector, _arg2:RectangleParticle):Vector{ var _local6:Number; var _local3:Vector = _arg1.minus(_arg2.samp); var _local4:Vector = new Vector(_arg2.samp.x, _arg2.samp.y); var _local5:int; while (_local5 < 2) { _local6 = _local3.dot(_arg2.axes[_local5]); if (_local6 >= 0){ _local6 = _arg2.extents[_local5]; } else { if (_local6 < 0){ _local6 = -(_arg2.extents[_local5]); }; }; _local4.plusEquals(_arg2.axes[_local5].mult(_local6)); _local5++; }; return (_local4); } private static function normVsNorm(_arg1:AbstractParticle, _arg2:AbstractParticle):Boolean{ _arg1.samp.copy(_arg1.curr); _arg2.samp.copy(_arg2.curr); if (testTypes(_arg1, _arg2)){ CollisionResolver.resolve(cpa, cpb, collNormal, collDepth); return (true); }; return (false); } private static function sampVsSamp(_arg1:AbstractParticle, _arg2:AbstractParticle):void{ if (normVsNorm(_arg1, _arg2)){ return; }; var _local3:Number = (1 / (_arg1.multisample + 1)); var _local4:Number = _local3; var _local5:int; while (_local5 <= _arg1.multisample) { _arg1.samp.setTo((_arg1.prev.x + (_local4 * (_arg1.curr.x - _arg1.prev.x))), (_arg1.prev.y + (_local4 * (_arg1.curr.y - _arg1.prev.y)))); _arg2.samp.setTo((_arg2.prev.x + (_local4 * (_arg2.curr.x - _arg2.prev.x))), (_arg2.prev.y + (_local4 * (_arg2.curr.y - _arg2.prev.y)))); if (testTypes(_arg1, _arg2)){ CollisionResolver.resolve(cpa, cpb, collNormal, collDepth); return; }; _local4 = (_local4 + _local3); _local5++; }; } } }//package org.cove.ape
Section 156
//CollisionEvent (org.cove.ape.CollisionEvent) package org.cove.ape { import flash.events.*; public class CollisionEvent extends Event { private var _collidingItem:AbstractItem; public static const COLLIDE:String = "collide"; public static const FIRST_COLLIDE:String = "firstCollide"; public function CollisionEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:AbstractItem=null){ super(_arg1, _arg2, _arg3); _collidingItem = _arg4; } public function get collidingItem():AbstractItem{ var _local1:SpringConstraintParticle; if ((_collidingItem is SpringConstraintParticle)){ _local1 = (_collidingItem as SpringConstraintParticle); return (_local1.parent); }; return (_collidingItem); } } }//package org.cove.ape
Section 157
//CollisionResolver (org.cove.ape.CollisionResolver) package org.cove.ape { import org.cove.ape.*; final class CollisionResolver { static function resolve(_arg1:AbstractParticle, _arg2:AbstractParticle, _arg3:Vector, _arg4:Number):void{ var _local5:Vector = _arg3.mult(_arg4); var _local6:Number = (_arg1.elasticity + _arg2.elasticity); var _local7:Number = (_arg1.invMass + _arg2.invMass); var _local8:Number = MathUtil.clamp((1 - (_arg1.friction + _arg2.friction)), 0, 1); var _local9:Collision = _arg1.getComponents(_arg3); var _local10:Collision = _arg2.getComponents(_arg3); var _local11:Vector = _local10.vn.mult(((_local6 + 1) * _arg1.invMass)).plus(_local9.vn.mult((_arg2.invMass - (_local6 * _arg1.invMass)))).divEquals(_local7); var _local12:Vector = _local9.vn.mult(((_local6 + 1) * _arg2.invMass)).plus(_local10.vn.mult((_arg1.invMass - (_local6 * _arg2.invMass)))).divEquals(_local7); _local9.vt.multEquals(_local8); _local10.vt.multEquals(_local8); var _local13:Vector = _local5.mult((_arg1.invMass / _local7)); var _local14:Vector = _local5.mult((-(_arg2.invMass) / _local7)); _local11.plusEquals(_local9.vt); _local12.plusEquals(_local10.vt); _arg1.resolveCollision(_local13, _local11, _arg3, _arg4, -1, _arg2); _arg2.resolveCollision(_local14, _local12, _arg3, _arg4, 1, _arg1); } } }//package org.cove.ape
Section 158
//Composite (org.cove.ape.Composite) package org.cove.ape { public class Composite extends AbstractCollection { private var delta:Vector; public function Composite(){ delta = new Vector(); } public function rotateByAngle(_arg1:Number, _arg2:Vector):void{ var _local3:Number = (_arg1 * MathUtil.PI_OVER_ONE_EIGHTY); rotateByRadian(_local3, _arg2); } public function rotateByRadian(_arg1:Number, _arg2:Vector):void{ var _local3:AbstractParticle; var _local7:Number; var _local8:Number; var _local4:Array = particles; var _local5:int = _local4.length; var _local6:int; while (_local6 < _local5) { _local3 = _local4[_local6]; _local7 = _local3.center.distance(_arg2); _local8 = (getRelativeAngle(_arg2, _local3.center) + _arg1); _local3.px = ((Math.cos(_local8) * _local7) + _arg2.x); _local3.py = ((Math.sin(_local8) * _local7) + _arg2.y); _local6++; }; } public function get fixed():Boolean{ var _local1:int; while (_local1 < particles.length) { if (!particles[_local1].fixed){ return (false); }; _local1++; }; return (true); } private function getRelativeAngle(_arg1:Vector, _arg2:Vector):Number{ delta.setTo((_arg2.x - _arg1.x), (_arg2.y - _arg1.y)); return (Math.atan2(delta.y, delta.x)); } public function set fixed(_arg1:Boolean):void{ var _local2:int; while (_local2 < particles.length) { particles[_local2].fixed = _arg1; _local2++; }; } } }//package org.cove.ape
Section 159
//Group (org.cove.ape.Group) package org.cove.ape { public class Group extends AbstractCollection { private var _composites:Array; private var _collisionList:Array; private var _collideInternal:Boolean; public function Group(_arg1:Boolean=false){ _composites = new Array(); _collisionList = new Array(); this.collideInternal = _arg1; } public function addCollidableList(_arg1:Array):void{ var _local3:Group; var _local2:int; while (_local2 < _arg1.length) { _local3 = _arg1[_local2]; collisionList.push(_local3); _local2++; }; } function checkCollisions():void{ var _local3:Group; if (collideInternal){ checkCollisionGroupInternal(); }; var _local1:int = collisionList.length; var _local2:int; while (_local2 < _local1) { _local3 = collisionList[_local2]; if (_local3 == null){ } else { checkCollisionVsGroup(_local3); }; _local2++; }; } public function removeComposite(_arg1:Composite):void{ var _local2:int = composites.indexOf(_arg1); if (_local2 == -1){ return; }; composites.splice(_local2, 1); _arg1.isParented = false; _arg1.cleanup(); } override public function cleanup():void{ super.cleanup(); var _local1:int; while (_local1 < composites.length) { composites[_local1].cleanup(); _local1++; }; } public function removeCollidable(_arg1:Group):void{ var _local2:int = collisionList.indexOf(_arg1); if (_local2 == -1){ return; }; collisionList.splice(_local2, 1); } public function addComposite(_arg1:Composite):void{ composites.push(_arg1); _arg1.isParented = true; if (isParented){ _arg1.init(); }; } public function addCollidable(_arg1:Group):void{ collisionList.push(_arg1); } override function integrate(_arg1:Number):void{ var _local4:Composite; super.integrate(_arg1); var _local2:int = _composites.length; var _local3:int; while (_local3 < _local2) { _local4 = _composites[_local3]; _local4.integrate(_arg1); _local3++; }; } public function get composites():Array{ return (_composites); } override public function init():void{ super.init(); var _local1:int; while (_local1 < composites.length) { composites[_local1].init(); _local1++; }; } override public function getAll():Array{ return (particles.concat(constraints).concat(composites)); } public function get collisionList():Array{ return (_collisionList); } private function checkCollisionGroupInternal():void{ var _local3:Composite; var _local4:int; var _local5:Composite; checkInternalCollisions(); var _local1:int = _composites.length; var _local2:int; while (_local2 < _local1) { _local3 = _composites[_local2]; if (_local3 == null){ } else { _local3.checkCollisionsVsCollection(this); _local4 = (_local2 + 1); while (_local4 < _local1) { _local5 = _composites[_local4]; if (_local5 != null){ _local3.checkCollisionsVsCollection(_local5); }; _local4++; }; }; _local2++; }; } override function satisfyConstraints():void{ var _local3:Composite; super.satisfyConstraints(); var _local1:int = _composites.length; var _local2:int; while (_local2 < _local1) { _local3 = _composites[_local2]; _local3.satisfyConstraints(); _local2++; }; } public function get collideInternal():Boolean{ return (_collideInternal); } public function set collideInternal(_arg1:Boolean):void{ _collideInternal = _arg1; } override public function paint():void{ var _local3:Composite; super.paint(); var _local1:int = _composites.length; var _local2:int; while (_local2 < _local1) { _local3 = _composites[_local2]; _local3.paint(); _local2++; }; } private function checkCollisionVsGroup(_arg1:Group):void{ var _local2:Composite; var _local6:Composite; var _local7:int; checkCollisionsVsCollection(_arg1); var _local3:int = _composites.length; var _local4:int = _arg1.composites.length; var _local5:int; while (_local5 < _local3) { _local6 = _composites[_local5]; if (_local6 == null){ } else { _local6.checkCollisionsVsCollection(_arg1); _local7 = 0; while (_local7 < _local4) { _local2 = _arg1.composites[_local7]; if (_local2 == null){ } else { _local6.checkCollisionsVsCollection(_local2); }; _local7++; }; }; _local5++; }; _local7 = 0; while (_local7 < _local4) { _local2 = _arg1.composites[_local7]; if (_local2 == null){ } else { checkCollisionsVsCollection(_local2); }; _local7++; }; } } }//package org.cove.ape
Section 160
//IForce (org.cove.ape.IForce) package org.cove.ape { public interface IForce { function getValue(_arg1:Number):Vector; } }//package org.cove.ape
Section 161
//Interval (org.cove.ape.Interval) package org.cove.ape { final class Interval { var min:Number; var max:Number; function Interval(_arg1:Number, _arg2:Number){ this.min = _arg1; this.max = _arg2; } function toString():String{ return (((min + " : ") + max)); } } }//package org.cove.ape
Section 162
//MathUtil (org.cove.ape.MathUtil) package org.cove.ape { final class MathUtil { static var ONE_EIGHTY_OVER_PI:Number = 57.2957795130823; static var PI_OVER_ONE_EIGHTY:Number = 0.0174532925199433; static function clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg1 < _arg2){ return (_arg2); }; if (_arg1 > _arg3){ return (_arg3); }; return (_arg1); } static function sign(_arg1:Number):int{ if (_arg1 < 0){ return (-1); }; return (1); } } }//package org.cove.ape
Section 163
//RectangleParticle (org.cove.ape.RectangleParticle) package org.cove.ape { public class RectangleParticle extends AbstractParticle { private var _axes:Array; private var _radian:Number; private var _extents:Array; public function RectangleParticle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Boolean=false, _arg7:Number=1, _arg8:Number=0.3, _arg9:Number=0){ super(_arg1, _arg2, _arg6, _arg7, _arg8, _arg9); _extents = new Array((_arg3 / 2), (_arg4 / 2)); _axes = new Array(new Vector(0, 0), new Vector(0, 0)); radian = _arg5; } public function get radian():Number{ return (_radian); } public function set radian(_arg1:Number):void{ _radian = _arg1; setAxes(_arg1); } function get axes():Array{ return (_axes); } public function set angle(_arg1:Number):void{ radian = (_arg1 * MathUtil.PI_OVER_ONE_EIGHTY); } function get extents():Array{ return (_extents); } public function set width(_arg1:Number):void{ _extents[0] = (_arg1 / 2); } public function get width():Number{ return ((_extents[0] * 2)); } public function set height(_arg1:Number):void{ _extents[1] = (_arg1 / 2); } override public function init():void{ var _local1:Number; var _local2:Number; cleanup(); if (displayObject != null){ initDisplay(); } else { _local1 = (extents[0] * 2); _local2 = (extents[1] * 2); sprite.graphics.clear(); sprite.graphics.lineStyle(lineThickness, lineColor, lineAlpha); sprite.graphics.beginFill(fillColor, fillAlpha); sprite.graphics.drawRect((-(_local1) / 2), (-(_local2) / 2), _local1, _local2); sprite.graphics.endFill(); }; paint(); } public function get height():Number{ return ((_extents[1] * 2)); } public function get angle():Number{ return ((radian * MathUtil.ONE_EIGHTY_OVER_PI)); } function getProjection(_arg1:Vector):Interval{ var _local2:Number = ((extents[0] * Math.abs(_arg1.dot(axes[0]))) + (extents[1] * Math.abs(_arg1.dot(axes[1])))); var _local3:Number = samp.dot(_arg1); interval.min = (_local3 - _local2); interval.max = (_local3 + _local2); return (interval); } override public function paint():void{ sprite.x = curr.x; sprite.y = curr.y; sprite.rotation = angle; } private function setAxes(_arg1:Number):void{ var _local2:Number = Math.sin(_arg1); var _local3:Number = Math.cos(_arg1); axes[0].x = _local3; axes[0].y = _local2; axes[1].x = -(_local2); axes[1].y = _local3; } } }//package org.cove.ape
Section 164
//RimParticle (org.cove.ape.RimParticle) package org.cove.ape { import org.cove.ape.*; class RimParticle { private var maxTorque:Number; var curr:Vector; var prev:Vector; private var av:Number; private var wr:Number; private var sp:Number; function RimParticle(_arg1:Number, _arg2:Number){ curr = new Vector(_arg1, 0); prev = new Vector(0, 0); sp = 0; av = 0; maxTorque = _arg2; wr = _arg1; } function get speed():Number{ return (sp); } function update(_arg1:Number):void{ sp = Math.max(-(maxTorque), Math.min(maxTorque, (sp + av))); var _local2:Number = -(curr.y); var _local3:Number = curr.x; var _local4:Number = Math.sqrt(((_local2 * _local2) + (_local3 * _local3))); _local2 = (_local2 / _local4); _local3 = (_local3 / _local4); curr.x = (curr.x + (sp * _local2)); curr.y = (curr.y + (sp * _local3)); var _local5:Number = prev.x; var _local6:Number = prev.y; var _local7:Number = (prev.x = curr.x); var _local8:Number = (prev.y = curr.y); curr.x = (curr.x + (APEngine.damping * (_local7 - _local5))); curr.y = (curr.y + (APEngine.damping * (_local8 - _local6))); var _local9:Number = Math.sqrt(((curr.x * curr.x) + (curr.y * curr.y))); var _local10:Number = ((_local9 - wr) / _local9); curr.x = (curr.x - (curr.x * _local10)); curr.y = (curr.y - (curr.y * _local10)); } function set speed(_arg1:Number):void{ sp = _arg1; } function set angularVelocity(_arg1:Number):void{ av = _arg1; } function get angularVelocity():Number{ return (av); } } }//package org.cove.ape
Section 165
//SpringConstraint (org.cove.ape.SpringConstraint) package org.cove.ape { import flash.display.*; public class SpringConstraint extends AbstractConstraint { private var _collidable:Boolean; private var p1:AbstractParticle; private var p2:AbstractParticle; private var _scp:SpringConstraintParticle; private var _restLength:Number; public function SpringConstraint(_arg1:AbstractParticle, _arg2:AbstractParticle, _arg3:Number=0.5, _arg4:Boolean=false, _arg5:Number=1, _arg6:Number=1, _arg7:Boolean=false){ super(_arg3); this.p1 = _arg1; this.p2 = _arg2; checkParticlesLocation(); _restLength = currLength; setCollidable(_arg4, _arg5, _arg6, _arg7); } public function get fixed():Boolean{ return (((p1.fixed) && (p2.fixed))); } public function get rectScale():Number{ return (scp.rectScale); } public function set rectScale(_arg1:Number):void{ if (scp == null){ return; }; scp.rectScale = _arg1; } public function setDisplay(_arg1:DisplayObject, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):void{ if (collidable){ scp.setDisplay(_arg1, _arg2, _arg3, _arg4); } else { displayObject = _arg1; displayObjectRotation = _arg4; displayObjectOffset = new Vector(_arg2, _arg3); }; } override public function init():void{ cleanup(); if (collidable){ scp.init(); } else { if (displayObject != null){ initDisplay(); }; }; paint(); } function initDisplay():void{ if (collidable){ scp.initDisplay(); } else { displayObject.x = displayObjectOffset.x; displayObject.y = displayObjectOffset.y; displayObject.rotation = displayObjectRotation; sprite.addChild(displayObject); }; } public function get angle():Number{ return ((radian * MathUtil.ONE_EIGHTY_OVER_PI)); } public function get center():Vector{ return (p1.curr.plus(p2.curr).divEquals(2)); } public function set rectHeight(_arg1:Number):void{ if (scp == null){ return; }; scp.rectHeight = _arg1; } public function get restLength():Number{ return (_restLength); } override public function paint():void{ var _local1:Vector; if (collidable){ scp.paint(); } else { if (displayObject != null){ _local1 = center; sprite.x = _local1.x; sprite.y = _local1.y; sprite.rotation = angle; } else { sprite.graphics.clear(); sprite.graphics.lineStyle(lineThickness, lineColor, lineAlpha); sprite.graphics.moveTo(p1.px, p1.py); sprite.graphics.lineTo(p2.px, p2.py); }; }; } function get scp():SpringConstraintParticle{ return (_scp); } public function get collidable():Boolean{ return (_collidable); } public function setCollidable(_arg1:Boolean, _arg2:Number, _arg3:Number, _arg4:Boolean=false):void{ _collidable = _arg1; _scp = null; if (_collidable){ _scp = new SpringConstraintParticle(p1, p2, this, _arg2, _arg3, _arg4); }; } public function isConnectedTo(_arg1:AbstractParticle):Boolean{ return ((((_arg1 == p1)) || ((_arg1 == p2)))); } public function getSCP():SpringConstraintParticle{ return (scp); } public function get rectHeight():Number{ return (scp.rectHeight); } override public function resolve():void{ if (((p1.fixed) && (p2.fixed))){ return; }; var _local1:Number = currLength; var _local2:Number = ((_local1 - restLength) / (_local1 * (p1.invMass + p2.invMass))); var _local3:Vector = delta.mult((_local2 * stiffness)); p1.curr.minusEquals(_local3.mult(p1.invMass)); p2.curr.plusEquals(_local3.mult(p2.invMass)); } public function set fixedEndLimit(_arg1:Number):void{ if (scp == null){ return; }; scp.fixedEndLimit = _arg1; } public function get radian():Number{ var _local1:Vector = delta; return (Math.atan2(_local1.y, _local1.x)); } public function set restLength(_arg1:Number):void{ if (_arg1 <= 0){ throw (new ArgumentError("restLength must be greater than 0")); }; _restLength = _arg1; } public function get currLength():Number{ return (p1.curr.distance(p2.curr)); } public function get fixedEndLimit():Number{ return (scp.fixedEndLimit); } private function checkParticlesLocation():void{ if ((((p1.curr.x == p2.curr.x)) && ((p1.curr.y == p2.curr.y)))){ p2.curr.x = (p2.curr.x + 0.0001); }; } function get delta():Vector{ return (p1.curr.minus(p2.curr)); } } }//package org.cove.ape
Section 166
//SpringConstraintParticle (org.cove.ape.SpringConstraintParticle) package org.cove.ape { import org.cove.ape.*; import flash.display.*; class SpringConstraintParticle extends RectangleParticle { private var p1:AbstractParticle; private var p2:AbstractParticle; private var lambda:Vector; private var _rectHeight:Number; private var avgVelocity:Vector; private var rca:Vector; private var rcb:Vector; private var _rectScale:Number; var parent:SpringConstraint; private var scaleToLength:Boolean; private var s:Number; private var _fixedEndLimit:Number; function SpringConstraintParticle(_arg1:AbstractParticle, _arg2:AbstractParticle, _arg3:SpringConstraint, _arg4:Number, _arg5:Number, _arg6:Boolean){ super(0, 0, 0, 0, 0, false); this.p1 = _arg1; this.p2 = _arg2; lambda = new Vector(0, 0); avgVelocity = new Vector(0, 0); parent = _arg3; this.rectScale = _arg5; this.rectHeight = _arg4; this.scaleToLength = _arg6; fixedEndLimit = 0; rca = new Vector(); rcb = new Vector(); } override public function get fixed():Boolean{ return (parent.fixed); } override function get invMass():Number{ if (((p1.fixed) && (p2.fixed))){ return (0); }; return ((1 / ((p1.mass + p2.mass) / 2))); } function get rectScale():Number{ return (_rectScale); } private function setCorners(_arg1:RectangleParticle, _arg2:int):void{ var _local3:Number = _arg1.curr.x; var _local4:Number = _arg1.curr.y; var _local5:Array = _arg1.axes; var _local6:Array = _arg1.extents; var _local7:Number = (_local5[0].x * _local6[0]); var _local8:Number = (_local5[0].y * _local6[0]); var _local9:Number = (_local5[1].x * _local6[1]); var _local10:Number = (_local5[1].y * _local6[1]); var _local11:Number = (_local7 - _local9); var _local12:Number = (_local8 - _local10); var _local13:Number = (_local7 + _local9); var _local14:Number = (_local8 + _local10); if (_arg2 == 0){ rca.x = (_local3 - _local13); rca.y = (_local4 - _local14); rcb.x = (_local3 + _local11); rcb.y = (_local4 + _local12); } else { if (_arg2 == 1){ rca.x = (_local3 + _local11); rca.y = (_local4 + _local12); rcb.x = (_local3 + _local13); rcb.y = (_local4 + _local14); } else { if (_arg2 == 2){ rca.x = (_local3 + _local13); rca.y = (_local4 + _local14); rcb.x = (_local3 - _local11); rcb.y = (_local4 - _local12); } else { if (_arg2 == 3){ rca.x = (_local3 - _local11); rca.y = (_local4 - _local12); rcb.x = (_local3 - _local13); rcb.y = (_local4 - _local14); }; }; }; }; } function set rectScale(_arg1:Number):void{ _rectScale = _arg1; } override public function get friction():Number{ return (((p1.friction + p2.friction) / 2)); } override public function init():void{ var _local1:Sprite; var _local2:Number; var _local3:Number; if (displayObject != null){ initDisplay(); } else { _local1 = new Sprite(); parent.sprite.addChild(_local1); _local1.name = "inner"; _local2 = (parent.currLength * rectScale); _local3 = rectHeight; _local1.graphics.clear(); _local1.graphics.lineStyle(parent.lineThickness, parent.lineColor, parent.lineAlpha); _local1.graphics.beginFill(parent.fillColor, parent.fillAlpha); _local1.graphics.drawRect((-(_local2) / 2), (-(_local3) / 2), _local2, _local3); _local1.graphics.endFill(); }; paint(); } override function initDisplay():void{ displayObject.x = displayObjectOffset.x; displayObject.y = displayObjectOffset.y; displayObject.rotation = displayObjectRotation; var _local1:Sprite = new Sprite(); _local1.name = "inner"; _local1.addChild(displayObject); parent.sprite.addChild(_local1); } function set rectHeight(_arg1:Number):void{ _rectHeight = _arg1; } function updatePosition():void{ var _local1:Vector = parent.center; curr.setTo(_local1.x, _local1.y); width = (scaleToLength) ? (parent.currLength * rectScale) : (parent.restLength * rectScale); height = rectHeight; radian = parent.radian; } override public function get velocity():Vector{ var _local1:Vector = p1.velocity; var _local2:Vector = p2.velocity; avgVelocity.setTo(((_local1.x + _local2.x) / 2), ((_local1.y + _local2.y) / 2)); return (avgVelocity); } override public function paint():void{ var _local1:Vector = parent.center; var _local2:Sprite = parent.sprite; if (scaleToLength){ _local2.getChildByName("inner").width = (parent.currLength * rectScale); } else { if (displayObject != null){ _local2.getChildByName("inner").width = (parent.restLength * rectScale); }; }; _local2.x = _local1.x; _local2.y = _local1.y; _local2.rotation = parent.angle; } private function getContactPointParam(_arg1:AbstractParticle):Number{ var _local2:Number; var _local3:Number; var _local4:Array; var _local5:Number; var _local6:int; var _local7:Number; if ((_arg1 is CircleParticle)){ _local2 = closestParamPoint(_arg1.curr); } else { if ((_arg1 is RectangleParticle)){ _local4 = new Array(4); _local5 = Number.POSITIVE_INFINITY; _local6 = 0; while (_local6 < 4) { setCorners((_arg1 as RectangleParticle), _local6); _local7 = closestPtSegmentSegment(); if (_local7 < _local5){ _local5 = _local7; _local3 = _local6; _local4[_local6] = s; }; _local6++; }; _local2 = _local4[_local3]; }; }; return (_local2); } function set fixedEndLimit(_arg1:Number):void{ _fixedEndLimit = _arg1; } private function closestPtSegmentSegment():Number{ var _local8:Number; var _local1:Vector = p1.curr; var _local2:Vector = p2.curr; var _local3:Vector = rca; var _local4:Vector = rcb; var _local5:Vector = _local2.minus(_local1); var _local6:Vector = _local4.minus(_local3); var _local7:Vector = _local1.minus(_local3); var _local9:Number = _local5.dot(_local5); var _local10:Number = _local6.dot(_local6); var _local11:Number = _local6.dot(_local7); var _local12:Number = _local5.dot(_local7); var _local13:Number = _local5.dot(_local6); var _local14:Number = ((_local9 * _local10) - (_local13 * _local13)); if (_local14 != 0){ s = MathUtil.clamp((((_local13 * _local11) - (_local12 * _local10)) / _local14), 0, 1); } else { s = 0.5; }; _local8 = (((_local13 * s) + _local11) / _local10); if (_local8 < 0){ _local8 = 0; s = MathUtil.clamp((-(_local12) / _local9), 0, 1); } else { if (_local8 > 0){ _local8 = 1; s = MathUtil.clamp(((_local13 - _local12) / _local9), 0, 1); }; }; var _local15:Vector = _local1.plus(_local5.mult(s)); var _local16:Vector = _local3.plus(_local6.mult(_local8)); var _local17:Vector = _local15.minus(_local16); return (_local15.minus(_local16).dot(_local17)); } override function resolveCollision(_arg1:Vector, _arg2:Vector, _arg3:Vector, _arg4:Number, _arg5:int, _arg6:AbstractParticle):void{ var _local10:Number; var _local11:AbstractParticle; testParticleEvents(_arg6); if (((fixed) || (!(_arg6.solid)))){ return; }; var _local7:Number = getContactPointParam(_arg6); var _local8:Number = (1 - _local7); var _local9:Number = _local7; if (p1.fixed){ if (_local9 <= fixedEndLimit){ return; }; lambda.setTo((_arg1.x / _local9), (_arg1.y / _local9)); p2.curr.plusEquals(lambda); p2.velocity = _arg2; } else { if (p2.fixed){ if (_local8 <= fixedEndLimit){ return; }; lambda.setTo((_arg1.x / _local8), (_arg1.y / _local8)); p1.curr.plusEquals(lambda); p1.velocity = _arg2; } else { _local10 = ((_local8 * _local8) + (_local9 * _local9)); if (_local10 == 0){ return; }; lambda.setTo((_arg1.x / _local10), (_arg1.y / _local10)); p1.curr.plusEquals(lambda.mult(_local8)); p2.curr.plusEquals(lambda.mult(_local9)); if (_local7 == 0.5){ p1.velocity = _arg2; p2.velocity = _arg2; } else { _local11 = ((_local7)<0.5) ? p1 : p2; _local11.velocity = _arg2; }; }; }; } function get rectHeight():Number{ return (_rectHeight); } function get fixedEndLimit():Number{ return (_fixedEndLimit); } override public function get elasticity():Number{ return (((p1.elasticity + p2.elasticity) / 2)); } override public function get mass():Number{ return (((p1.mass + p2.mass) / 2)); } private function closestParamPoint(_arg1:Vector):Number{ var _local2:Vector = p2.curr.minus(p1.curr); var _local3:Number = (_local2.dot(_arg1.minus(p1.curr)) / _local2.dot(_local2)); return (MathUtil.clamp(_local3, 0, 1)); } } }//package org.cove.ape
Section 167
//Vector (org.cove.ape.Vector) package org.cove.ape { public class Vector { public var x:Number; public var y:Number; public function Vector(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } public function cross(_arg1:Vector):Number{ return (((x * _arg1.y) - (y * _arg1.x))); } public function magnitude():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function divEquals(_arg1:Number):Vector{ if (_arg1 == 0){ _arg1 = 0.0001; }; x = (x / _arg1); y = (y / _arg1); return (this); } public function times(_arg1:Vector):Vector{ return (new Vector((x * _arg1.x), (y * _arg1.y))); } public function plusEquals(_arg1:Vector):Vector{ x = (x + _arg1.x); y = (y + _arg1.y); return (this); } public function dot(_arg1:Vector):Number{ return (((x * _arg1.x) + (y * _arg1.y))); } public function normalizeEquals():Vector{ var _local1:Number = magnitude(); if (_local1 == 0){ _local1 = 0.0001; }; return (multEquals((1 / _local1))); } public function normalize():Vector{ var _local1:Number = magnitude(); if (_local1 == 0){ _local1 = 0.0001; }; return (mult((1 / _local1))); } public function minusEquals(_arg1:Vector):Vector{ x = (x - _arg1.x); y = (y - _arg1.y); return (this); } public function copy(_arg1:Vector):void{ x = _arg1.x; y = _arg1.y; } public function multEquals(_arg1:Number):Vector{ x = (x * _arg1); y = (y * _arg1); return (this); } public function minus(_arg1:Vector):Vector{ return (new Vector((x - _arg1.x), (y - _arg1.y))); } public function plus(_arg1:Vector):Vector{ return (new Vector((x + _arg1.x), (y + _arg1.y))); } public function toString():String{ return (((x + " : ") + y)); } public function distance(_arg1:Vector):Number{ var _local2:Vector = this.minus(_arg1); return (_local2.magnitude()); } public function setTo(_arg1:Number, _arg2:Number):void{ x = _arg1; y = _arg2; } public function mult(_arg1:Number):Vector{ return (new Vector((x * _arg1), (y * _arg1))); } } }//package org.cove.ape
Section 168
//VectorForce (org.cove.ape.VectorForce) package org.cove.ape { public class VectorForce implements IForce { private var fvx:Number; private var fvy:Number; private var value:Vector; private var scaleMass:Boolean; public function VectorForce(_arg1:Boolean, _arg2:Number, _arg3:Number){ fvx = _arg2; fvy = _arg3; scaleMass = _arg1; value = new Vector(_arg2, _arg3); } public function set vx(_arg1:Number):void{ fvx = _arg1; value.x = _arg1; } public function set vy(_arg1:Number):void{ fvy = _arg1; value.y = _arg1; } public function set useMass(_arg1:Boolean):void{ scaleMass = _arg1; } public function getValue(_arg1:Number):Vector{ if (scaleMass){ value.setTo((fvx * _arg1), (fvy * _arg1)); }; return (value); } } }//package org.cove.ape
Section 169
//WheelParticle (org.cove.ape.WheelParticle) package org.cove.ape { public class WheelParticle extends CircleParticle { private var tan:Vector; private var normSlip:Vector; private var orientation:Vector; private var _traction:Number; private var rp:RimParticle; public function WheelParticle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Number=1, _arg6:Number=0.3, _arg7:Number=0, _arg8:Number=1){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7); tan = new Vector(0, 0); normSlip = new Vector(0, 0); rp = new RimParticle(_arg3, 2); this.traction = _arg8; orientation = new Vector(); } public function set angularVelocity(_arg1:Number):void{ rp.angularVelocity = _arg1; } public function get speed():Number{ return (rp.speed); } public function set traction(_arg1:Number):void{ _traction = (1 - _arg1); } override public function update(_arg1:Number):void{ super.update(_arg1); rp.update(_arg1); } public function get angle():Number{ return ((radian * MathUtil.ONE_EIGHTY_OVER_PI)); } private function resolve(_arg1:Vector):void{ tan.setTo(-(rp.curr.y), rp.curr.x); tan = tan.normalize(); var _local2:Vector = tan.mult(rp.speed); var _local3:Vector = velocity.plusEquals(_local2); var _local4:Number = _local3.cross(_arg1); tan.multEquals(_local4); rp.prev.copy(rp.curr.minus(tan)); var _local5:Number = ((1 - _traction) * rp.speed); normSlip.setTo((_local5 * _arg1.y), (_local5 * _arg1.x)); curr.plusEquals(normSlip); rp.speed = (rp.speed * _traction); } override public function paint():void{ sprite.x = curr.x; sprite.y = curr.y; sprite.rotation = angle; } public function set speed(_arg1:Number):void{ rp.speed = _arg1; } public function get traction():Number{ return ((1 - _traction)); } override function resolveCollision(_arg1:Vector, _arg2:Vector, _arg3:Vector, _arg4:Number, _arg5:int, _arg6:AbstractParticle):void{ super.resolveCollision(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); resolve(_arg3.mult(MathUtil.sign((_arg4 * _arg5)))); } override public function init():void{ cleanup(); if (displayObject != null){ initDisplay(); } else { sprite.graphics.clear(); sprite.graphics.lineStyle(lineThickness, lineColor, lineAlpha); sprite.graphics.beginFill(fillColor, fillAlpha); sprite.graphics.drawCircle(0, 0, radius); sprite.graphics.endFill(); sprite.graphics.moveTo(-(radius), 0); sprite.graphics.lineTo(radius, 0); sprite.graphics.moveTo(0, -(radius)); sprite.graphics.lineTo(0, radius); }; paint(); } public function get radian():Number{ orientation.setTo(rp.curr.x, rp.curr.y); return ((Math.atan2(orientation.y, orientation.x) + Math.PI)); } public function get angularVelocity():Number{ return (rp.angularVelocity); } } }//package org.cove.ape
Section 170
//Brand (spill.localisation.Brand) package spill.localisation { import flash.xml.*; public class Brand { public var domain:String; public var emailPage:String; public var name:String; public var site_id:uint; public var isExternal:Boolean;// = false public var id:Number; public var hostingDomain:String;// = "" public var preferedLanguage:String;// = "" public var moreLink:String;// = "" public var hasSendToFriendLink:Boolean;// = true public var emailLink:String;// = "game" public var portalGroup:uint; public var useGoogleAnalitics:Boolean;// = true private static const topLevelDoubles:String = ((((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,com.ar,") + "com.id,com.in"); private function get utm_campaign():String{ if (isExternal){ return (("utm_campaign=" + hostingDomain)); }; return (""); } public function exportXML():XML{ var _local3:XML; var _local1:XML = <portal/> ; _local1.@id = site_id; _local1.@language = preferedLanguage; _local1.@channel = portalGroup; var _local2:XML = <domain/> ; _local2.appendChild(new XMLNode(3, domain)); _local1.appendChild(_local2); if (moreLink){ _local3 = <more_games_path/> ; _local3.appendChild(new XMLNode(3, moreLink)); _local1.appendChild(_local3); }; _local2 = <game_path/> ; _local2.appendChild(new XMLNode(3, emailLink)); _local1.appendChild(_local2); if (!useGoogleAnalitics){ _local1.attributes.noGoogleAnalitics = true; }; if (!hasSendToFriendLink){ _local1.attributes.noSendToFriendLink = true; }; return (_local1); } public function getPromotionLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String="", _arg5:String=""):String{ var _local6:String = ("http://" + domain); _local6 = (_local6 + ((("/" + emailLink) + "/") + _arg2)); if (useGoogleAnalitics){ _local6 = (_local6 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal")); _local6 = (_local6 + ("&utm_campaign=" + _arg1)); _arg4 = stripSubDomain(_arg4); trace(_arg4); if (_arg4 == "localhost"){ _arg4 = "offline_play"; }; _local6 = (_local6 + ("&utm_source=" + _arg4)); if (((!((_arg5 == ""))) && (!((_arg5 == null))))){ _local6 = (_local6 + ("&utm_content=" + _arg5)); }; }; return (_local6); } private function get utm_source():String{ return (("utm_source=brandedgames_" + (isExternal) ? "external" : "internal")); } public function getMoreGamesLink(_arg1:String, _arg2:Boolean, _arg3:String="", _arg4:String=""):String{ var _local5:String = ("http://" + domain); _local5 = (_local5 + ("/" + moreLink)); if (useGoogleAnalitics){ _local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal")); _local5 = (_local5 + ("&utm_campaign=" + _arg1)); _arg3 = stripSubDomain(_arg3); if (_arg3 == "localhost"){ _arg3 = "offline_play"; }; _local5 = (_local5 + ("&utm_source=" + _arg3)); if (((!((_arg4 == ""))) && (!((_arg4 == null))))){ _local5 = (_local5 + ("&utm_content=" + _arg4)); }; }; return (_local5); } public function get backgroundColor():uint{ return (PortalGroup.backgroundColors[portalGroup]); } private function get utm_term():String{ return ("utm_term="); } public function importXML(_arg1:XMLNode):void{ } public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{ if (!hasSendToFriendLink){ return (getMoreGamesLink(_arg1, _arg3)); }; var _local5:String = ("http://" + domain); _local5 = (_local5 + ((("/" + emailLink) + "/") + _arg2)); if (useGoogleAnalitics){ _local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal")); _local5 = (_local5 + ("&utm_campaign=" + _arg1)); _arg4 = stripSubDomain(_arg4); if (_arg4 == "localhost"){ _arg4 = "offline_play"; }; _local5 = (_local5 + ("&utm_source=" + _arg4)); _local5 = (_local5 + "&utm_content=send_to_friend"); }; return (_local5); } private static function stripSubDomain(_arg1:String):String{ if (!_arg1){ return (""); }; var _local2:Array = _arg1.split("."); if (_local2.length <= 2){ return (_arg1); }; _local2 = _local2.reverse(); if (topLevelDoubles.indexOf((((_local2[1] + ".") + _local2[0]) + ",")) > 0){ return (((((_local2[2] + ".") + _local2[1]) + ".") + _local2[0])); }; return (((_local2[1] + ".") + _local2[0])); } } }//package spill.localisation
Section 171
//BrandingLogo (spill.localisation.BrandingLogo) package spill.localisation { import flash.display.*; import flash.events.*; public class BrandingLogo extends MovieClip { public function BrandingLogo(){ addFrameScript(0, frame1); super(); stop(); mouseEnabled = false; mouseChildren = false; addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true); addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true); if (stage){ added(); }; brandingChanged(); } private function added(_arg1:Event=null):void{ SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true); brandingChanged(); } private function brandingChanged(_arg1:Event=null):void{ if (SpilGame.currentBranding){ gotoAndStop(SpilGame.currentBranding.domain); }; } function frame1(){ stop(); } private function removed(_arg1:Event):void{ SpilGame.removeEventListener("brandingChanged", brandingChanged); } } }//package spill.localisation
Section 172
//Brandings (spill.localisation.Brandings) package spill.localisation { public class Brandings { private static var brands_by_id:Object = new Object(); private static var brands_by_domain:Object = new Object(); public static function getBrandByID(_arg1:Number):Brand{ return (brands_by_id[_arg1]); } public static function getBrandsArray():Array{ var _local2:Brand; var _local1:Array = new Array(); for each (_local2 in brands_by_domain) { _local1.push(_local2); }; return (_local1); } private static function addBrand(_arg1:Brand):Brand{ if (brands_by_domain[_arg1.domain]){ trace(("ERROR: Attempting to add duplicate brand by domain: " + _arg1.domain)); } else { brands_by_domain[_arg1.domain] = _arg1; }; if (brands_by_id[_arg1.site_id]){ trace(("ERROR: Attempting to add duplicate brand by id: " + _arg1.site_id)); } else { brands_by_id[_arg1.site_id] = _arg1; }; return (_arg1); } public static function initialize():void{ var _local1:Brand; _local1 = new Brand(); _local1.site_id = 79; _local1.domain = "www.agame.com"; _local1.preferedLanguage = "en_us"; _local1.portalGroup = PortalGroup.TEENS; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 88; _local1.domain = "www.gamesgames.com"; _local1.preferedLanguage = "en_us"; _local1.portalGroup = PortalGroup.FAMILY; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 90; _local1.domain = "www.girlsgogames.com"; _local1.preferedLanguage = "en_us"; _local1.portalGroup = PortalGroup.GIRL; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 45; _local1.domain = "www.a10.com"; _local1.preferedLanguage = "en_us"; _local1.portalGroup = PortalGroup.YOUNG_ADULTS; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 92; _local1.domain = "www.games.co.uk"; _local1.preferedLanguage = "en_uk"; _local1.portalGroup = PortalGroup.FAMILY; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 107; _local1.domain = "www.agame.co.uk"; _local1.preferedLanguage = "en_uk"; _local1.portalGroup = PortalGroup.TEENS; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 102; _local1.domain = "www.girlsgogames.co.uk"; _local1.preferedLanguage = "en_uk"; _local1.portalGroup = PortalGroup.GIRL; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 2; _local1.domain = "www.game.com.cn"; _local1.moreLink = "moregames/"; _local1.preferedLanguage = "cn"; _local1.portalGroup = PortalGroup.NONE; _local1.useGoogleAnalitics = false; _local1.hasSendToFriendLink = false; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 25; _local1.domain = "www.spel.nl"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "nl"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 1; _local1.domain = "www.spelletjes.nl"; _local1.emailLink = "spel"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "nl"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 93; _local1.domain = "www.girlsgogames.nl"; _local1.emailLink = "spel"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "nl"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 12; _local1.domain = "www.jeu.fr"; _local1.emailLink = "jeu"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "fr"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 95; _local1.domain = "www.girlsgogames.fr"; _local1.emailLink = "jeu"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "fr"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 11; _local1.domain = "www.jeux.fr"; _local1.emailLink = "jeu"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "fr"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 26; _local1.domain = "www.spielen.com"; _local1.emailLink = "spiel"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "de"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 94; _local1.domain = "www.girlsgogames.de"; _local1.emailLink = "spiel"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "de"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 5; _local1.domain = "www.jetztspielen.de"; _local1.emailLink = "spiel"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "de"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 109; _local1.domain = "www.minigry.pl"; _local1.emailLink = "gra"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "pl"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 16; _local1.domain = "www.gry.pl"; _local1.emailLink = "gra"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "pl"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 98; _local1.domain = "www.girlsgogames.pl"; _local1.emailLink = "gra"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "pl"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 108; _local1.domain = "www.spel.se"; _local1.emailLink = "spel_"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "se"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 100; _local1.domain = "www.girlsgogames.se"; _local1.emailLink = "spel_"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "se"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 44; _local1.domain = "www.spela.se"; _local1.emailLink = "spel_"; _local1.preferedLanguage = "se"; _local1.portalGroup = PortalGroup.FAMILY; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 106; _local1.domain = "www.giocaregratis.it"; _local1.emailLink = "gioco"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "it"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 15; _local1.domain = "www.gioco.it"; _local1.emailLink = "gioco"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "it"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 99; _local1.domain = "www.girlsgogames.it"; _local1.emailLink = "gioco"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "it"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 97; _local1.domain = "www.zapjuegos.com"; _local1.emailLink = "juego"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "es"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 86; _local1.domain = "www.juegos.com"; _local1.emailLink = "juego"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "es"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 96; _local1.domain = "www.juegosdechicas.com"; _local1.emailLink = "juego"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "es"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 122; _local1.domain = "www.girlsgogames.es"; _local1.emailLink = "juego"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "es"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 125; _local1.domain = "www.juegos.mx"; _local1.emailLink = "juego"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "es"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 126; _local1.domain = "www.juegosdechicas.mx"; _local1.emailLink = "juego"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "es"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 127; _local1.domain = "www.juegos.com.ar"; _local1.emailLink = "juego"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "es"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 128; _local1.domain = "www.juegosdechicas.com.ar"; _local1.emailLink = "juego"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "es"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 91; _local1.domain = "www.clickjogos.com"; _local1.emailLink = "jogo"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "br"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 101; _local1.domain = "www.girlsgogames.com.br"; _local1.emailLink = "jogo"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "br"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 50; _local1.domain = "www.ojogos.com.br"; _local1.emailLink = "jogo"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "br"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 55; _local1.domain = "www.games.co.id"; _local1.emailLink = "permainanme"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "id"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 105; _local1.domain = "www.flashgames.ru"; _local1.emailLink = "igra"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "ru"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 104; _local1.domain = "www.girlsgogames.ru"; _local1.emailLink = "igra"; _local1.portalGroup = PortalGroup.GIRL; _local1.preferedLanguage = "ru"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 103; _local1.domain = "www.ourgames.ru"; _local1.emailLink = "igra"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "ru"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 24; _local1.domain = "www.game.co.in"; _local1.emailLink = "game"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "in"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 87; _local1.domain = "www.ojogos.pt"; _local1.emailLink = "jogo"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "pt"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 87; _local1.domain = "www.ojogos.pt"; _local1.emailLink = "jogo"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "pt"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 120; _local1.domain = "www.egames.jp"; _local1.emailLink = "game"; _local1.portalGroup = PortalGroup.TEENS; _local1.preferedLanguage = "jp"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 121; _local1.domain = "www.dailygame.com"; _local1.emailLink = "/game/"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "en_us"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 123; _local1.domain = "www.zapapa.com"; _local1.emailLink = "game"; _local1.portalGroup = PortalGroup.ZAPAPA; _local1.preferedLanguage = "en_us"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 124; _local1.domain = "www.zapapa.nl"; _local1.emailLink = "game"; _local1.portalGroup = PortalGroup.HYVES; _local1.preferedLanguage = "nl"; addBrand(_local1); _local1 = new Brand(); _local1.site_id = 0; _local1.domain = "gamedev.dev.spilgames.com"; _local1.portalGroup = PortalGroup.FAMILY; _local1.preferedLanguage = "en_us"; addBrand(_local1); } public static function exportXML():XML{ var _local2:Brand; var _local1:XML = <portals/> ; for each (_local2 in brands_by_domain) { _local1.appendChild(_local2.exportXML()); }; return (_local1); } public static function getBrandByDomain(_arg1:String):Brand{ return (brands_by_domain[_arg1]); } public static function hasDomain(_arg1:String):Boolean{ return (!((brands_by_domain[_arg1] == null))); } } }//package spill.localisation
Section 173
//Language (spill.localisation.Language) package spill.localisation { import flash.xml.*; public class Language { public var portal_groups:Array; public var references:Array; public var name:String; public var embedInputFonts:Boolean;// = true public var id:uint; public var forceFont:String;// = null public var textLanguage:String; public var bwcId:int; public var embedFonts:Boolean;// = true public var displayName:String;// = "" public var dname:String; public function Language(_arg1:String, _arg2:String=null){ references = []; super(); name = _arg1; dname = _arg2; portal_groups = new Array(); } public function exportXML():XMLNode{ var _local1:XMLNode = new XMLNode(1, "language"); _local1.attributes.name = name; if (textLanguage != null){ _local1.attributes.textLanguage = textLanguage; }; if (references.length){ _local1.attributes.references = references.toString(); }; _local1.attributes.id = bwcId; var _local2:XMLNode = new XMLNode(1, "display_name"); _local2.firstChild = new XMLNode(3, displayName); _local1.appendChild(_local2); var _local3:Array = []; var _local4:Array = PortalGroup.channelNames; var _local5:int; while (_local5 < _local4.length) { _local3.push(Brandings.getBrandByDomain(portal_groups[_local5]).site_id); _local5++; }; _local1.attributes.channels = _local3.join(","); return (_local1); } public function get p_teen():String{ return (portal_groups[PortalGroup.YOUNG_ADULTS]); } public function set p_hyves(_arg1:String):void{ portal_groups[PortalGroup.HYVES] = _arg1; } public function set p_teen(_arg1:String):void{ portal_groups[PortalGroup.YOUNG_ADULTS] = _arg1; } public function get p_tween():String{ return (portal_groups[PortalGroup.TEENS]); } public function get p_family():String{ return (portal_groups[PortalGroup.FAMILY]); } public function get p_girl():String{ trace("Language", portal_groups[PortalGroup.GIRL]); return (portal_groups[PortalGroup.GIRL]); } public function get p_hyves():String{ return (portal_groups[PortalGroup.HYVES]); } public function set p_girl(_arg1:String):void{ portal_groups[PortalGroup.GIRL] = _arg1; } public function set p_zapapa(_arg1:String):void{ portal_groups[PortalGroup.ZAPAPA] = _arg1; } public function get displayAcronim():String{ return ((dname) ? dname : name); } public function set p_family(_arg1:String):void{ portal_groups[PortalGroup.FAMILY] = _arg1; } public function set p_tween(_arg1:String):void{ portal_groups[PortalGroup.TEENS] = _arg1; } public function get p_zapapa():String{ return (portal_groups[PortalGroup.ZAPAPA]); } } }//package spill.localisation
Section 174
//Languages (spill.localisation.Languages) package spill.localisation { import flash.xml.*; public class Languages { public static var languages:Object = new Object(); private static var _init:Boolean = false; public static function initialize():void{ var _local1:Language; if (_init){ return; }; _init = true; _local1 = new Language("nl"); _local1.displayName = "Nederlands"; _local1.p_family = "www.spelletjes.nl"; _local1.p_tween = "www.spel.nl"; _local1.p_girl = "www.girlsgogames.nl"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.p_hyves = "www.zapapa.nl"; _local1.bwcId = 3; addLanguage(_local1); _local1 = new Language("es"); _local1.displayName = "Español"; _local1.p_family = "www.juegos.com"; _local1.p_tween = "www.zapjuegos.com"; _local1.p_girl = "www.girlsgogames.es"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 9; addLanguage(_local1); _local1 = new Language("pl"); _local1.displayName = "Polski"; _local1.p_family = "www.gry.pl"; _local1.p_tween = "www.gry.pl"; _local1.p_girl = "www.girlsgogames.pl"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 6; addLanguage(_local1); _local1 = new Language("fr"); _local1.displayName = "Français"; _local1.p_family = "www.jeux.fr"; _local1.p_tween = "www.jeu.fr"; _local1.p_girl = "www.girlsgogames.fr"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 4; addLanguage(_local1); _local1 = new Language("en_us", "us"); _local1.displayName = "English"; _local1.p_family = "www.gamesgames.com"; _local1.p_tween = "www.agame.com"; _local1.p_girl = "www.girlsgogames.com"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 1; addLanguage(_local1); addReference(_local1, "en"); _local1 = new Language("id"); _local1.displayName = "Bahasa Ind."; _local1.p_family = "www.games.co.id"; _local1.p_tween = "www.games.co.id"; _local1.p_girl = "www.games.co.id"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 11; addLanguage(_local1); _local1 = new Language("ru"); _local1.displayName = "Русский"; _local1.p_family = "www.ourgames.ru"; _local1.p_tween = "www.flashgames.ru"; _local1.p_girl = "www.girlsgogames.ru"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 12; addLanguage(_local1); _local1 = new Language("se"); _local1.displayName = "Svenska"; _local1.p_family = "www.spela.se"; _local1.p_tween = "www.spel.se"; _local1.p_girl = "www.girlsgogames.se"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 7; addLanguage(_local1); addReference(_local1, "sv"); _local1 = new Language("it"); _local1.displayName = "Italiano"; _local1.p_family = "www.gioco.it"; _local1.p_tween = "www.gioco.it"; _local1.p_girl = "www.girlsgogames.it"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 8; addLanguage(_local1); _local1 = new Language("en_uk", "uk"); _local1.displayName = "English"; _local1.p_family = "www.games.co.uk"; _local1.p_tween = "www.agame.com"; _local1.p_girl = "www.girlsgogames.co.uk"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 13; addLanguage(_local1); _local1 = new Language("cn"); _local1.displayName = "中文"; _local1.p_family = "www.game.com.cn"; _local1.p_tween = "www.game.com.cn"; _local1.p_girl = "www.game.com.cn"; _local1.p_teen = "www.game.com.cn"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 2; _local1.embedFonts = false; _local1.embedInputFonts = false; _local1.forceFont = "_sans"; addLanguage(_local1); addReference(_local1, "zh-CN"); addReference(_local1, "zh-TW"); _local1 = new Language("pt"); _local1.displayName = "Português"; _local1.p_family = "www.ojogos.pt"; _local1.p_tween = "www.agame.com"; _local1.p_girl = "www.ojogos.pt"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 17; addLanguage(_local1); _local1 = new Language("in"); _local1.displayName = "English"; _local1.p_family = "www.game.co.in"; _local1.p_tween = "www.game.co.in"; _local1.p_girl = "www.game.co.in"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.textLanguage = "en_uk"; _local1.bwcId = 14; addLanguage(_local1); _local1 = new Language("de"); _local1.displayName = "Deutsch"; _local1.p_family = "www.jetztspielen.de"; _local1.p_tween = "www.spielen.com"; _local1.p_girl = "www.girlsgogames.de"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 5; addLanguage(_local1); _local1 = new Language("br"); _local1.displayName = "Português (BR)"; _local1.p_family = "www.ojogos.com.br"; _local1.p_tween = "www.clickjogos.com"; _local1.p_girl = "www.girlsgogames.com.br"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 10; addLanguage(_local1); _local1 = new Language("jp"); _local1.displayName = "日本語"; _local1.p_family = "www.egames.jp"; _local1.p_tween = "www.egames.jp"; _local1.p_girl = "www.egames.jp"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.embedFonts = true; _local1.embedInputFonts = false; _local1.forceFont = "MS UI Gothic"; _local1.bwcId = 19; addLanguage(_local1); addReference(_local1, "ja"); _local1 = new Language("ar"); _local1.displayName = "English"; _local1.p_family = "www.dailygame.com"; _local1.p_tween = "www.dailygame.com"; _local1.p_girl = "www.dailygame.com"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.bwcId = 20; addLanguage(_local1); addReference(_local1, "ar"); _local1 = new Language("es_mx", "mx"); _local1.displayName = "Español"; _local1.p_family = "www.juegos.mx"; _local1.p_tween = "www.juegos.mx"; _local1.p_girl = "www.juegosdechicas.mx"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.textLanguage = "es"; addLanguage(_local1); addReference(_local1, "mx"); _local1 = new Language("es_ar", "arg"); _local1.displayName = "Español"; _local1.p_family = "www.juegos.com.ar"; _local1.p_tween = "www.juegos.com.ar"; _local1.p_girl = "www.juegosdechicas.com.ar"; _local1.p_teen = "www.a10.com"; _local1.p_zapapa = "www.zapapa.com"; _local1.textLanguage = "es"; addLanguage(_local1); addReference(_local1, "arg"); } public static function exportXML():XMLNode{ var _local3:Language; var _local1:Array = getLanguagesArray(); var _local2:XMLNode = new XMLNode(1, "languages"); for each (_local3 in _local1) { _local2.appendChild(_local3.exportXML()); }; return (_local2); } public static function getLanguagesArray():Array{ var _local3:Language; var _local1:Array = new Array(); var _local2:Object = new Object(); for each (_local3 in languages) { if (!_local2[_local3.name]){ _local1.push(_local3); _local2[_local3.name] = true; }; }; return (_local1); } public static function getLanguage(_arg1:String):Language{ return (languages[_arg1]); } private static function addLanguage(_arg1:Language):void{ languages[_arg1.name] = _arg1; } private static function addReference(_arg1:Language, _arg2:String):void{ languages[_arg2] = _arg1; _arg1.references.push(_arg2); } public static function getLanguageByOldID(_arg1:int):Language{ var _local2:Language; for each (_local2 in languages) { if (_local2.bwcId == _arg1){ return (_local2); }; }; return (null); } } }//package spill.localisation
Section 175
//LanguageSelectBox (spill.localisation.LanguageSelectBox) package spill.localisation { import flash.display.*; import flash.text.*; import flash.events.*; public class LanguageSelectBox extends MovieClip { private var flag:MovieClip; private var languageName_text:TextField; private var popup:MovieClip; private var mc:MovieClip; public function LanguageSelectBox(){ trace("new langselecbox"); super(); if (numChildren > 0){ removeChildAt(0); }; addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true); addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true); addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true); addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true); Languages.initialize(); popup = new LanguageSelectPopup_mc(); x = Math.round(x); y = Math.round(y); popup.y = (-(Math.floor(popup.height)) + 1); popup.visible = false; addChild(popup); mc = new LanguageSelectBox_mc(); addChild(mc); flag = mc.flag; languageName_text = mc.languageName_text; if (stage){ added(); }; init(); languageChanged(); } private function added(_arg1:Event=null):void{ trace("addedselebnox"); SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true); } private function mouseOut(_arg1:MouseEvent):void{ popup.visible = false; } public function set popupLocation(_arg1:String):void{ trace(("popupLocation = " + _arg1)); if (_arg1 == "bottom"){ popup.y = Math.floor(mc.height); } else { popup.y = (-(Math.floor(mc.height)) + 1); }; } private function removed(_arg1:Event):void{ SpilGame.removeEventListener("languageChanged", languageChanged); } public function init():void{ var _local3:MovieClip; var _local4:Language; trace("initselectbox"); var _local1:Array = new Array(popup.l_br, popup.l_de, popup.l_en_us, popup.l_fr, popup.l_in, popup.l_jp, popup.l_pt, popup.l_ru, popup.l_ar, popup.l_cn, popup.l_en_uk, popup.l_es, popup.l_id, popup.l_it, popup.l_nl, popup.l_pl, popup.l_se, popup.l_es_mx, popup.l_es_ar); var _local2:int; while (_local2 < _local1.length) { _local3 = MovieClip(_local1[_local2]); if (_local3){ _local3.addEventListener(MouseEvent.CLICK, itemClicked, true, 0, true); _local3.flag.gotoAndStop(_local3.name.substr(2)); _local3.flag.mouseEnabled = false; _local3.text.mouseEnabled = false; _local4 = Languages.getLanguage(_local3.name.substr(2)); if (_local4){ _local3.text.text = _local4.displayAcronim; } else { trace((("Error, '" + _local3.name.substr(2)) + "' language not found")); }; } else { trace((((("Error, btn number '" + _local2) + "' is not a MovieClip or there is no button '") + _local1[_local2]) + "'")); }; _local2++; }; } private function itemClicked(_arg1:MouseEvent):void{ SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2)); popup.visible = false; } private function mouseOver(_arg1:MouseEvent):void{ popup.visible = true; } private function languageChanged(_arg1:Event=null):void{ if (SpilGame.currentLanguage){ if ((((SpilGame.portalGroup == PortalGroup.HYVES)) && ((SpilGame.currentLanguage.name == "nl")))){ this.visible = false; return; }; this.visible = true; flag.gotoAndStop(SpilGame.currentLanguage.name); languageName_text.text = SpilGame.currentLanguage.displayName; languageName_text.embedFonts = SpilGame.currentLanguage.embedInputFonts; }; } } }//package spill.localisation
Section 176
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc) package spill.localisation { import flash.display.*; import flash.text.*; public dynamic class LanguageSelectBox_mc extends MovieClip { public var languageName_text:TextField; public var flag:MovieClip; } }//package spill.localisation
Section 177
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc) package spill.localisation { import flash.display.*; public dynamic class LanguageSelectPopup_mc extends MovieClip { public var l_cn:MovieClip; public var l_br:MovieClip; public var l_se:MovieClip; public var l_id:MovieClip; public var l_es_ar:MovieClip; public var l_es_mx:MovieClip; public var l_in:MovieClip; public var l_en_uk:MovieClip; public var l_en_us:MovieClip; public var l_es:MovieClip; public var l_ar:MovieClip; public var l_it:MovieClip; public var l_pl:MovieClip; public var l_nl:MovieClip; public var l_de:MovieClip; public var l_ru:MovieClip; public var l_pt:MovieClip; public var l_jp:MovieClip; public var l_fr:MovieClip; } }//package spill.localisation
Section 178
//LocalizedTextField (spill.localisation.LocalizedTextField) package spill.localisation { import flash.events.*; public class LocalizedTextField extends TextFieldFit { private var regex:RegExp; private var originalText:String; public function LocalizedTextField(){ regex = /{([^{}]*)}/g; super(); addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true); addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true); added(); } private function added(_arg1:Event=null):void{ SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true); text = originalText; } private function replaceFn():String{ var _local2:String = SpilGame.getString(arguments[1]); if (((!(_local2)) || ((_local2 == "")))){ return ((("{" + arguments[1]) + "}")); }; return (_local2); } private function removed(_arg1:Event):void{ SpilGame.removeEventListener("languageChanged", languageChanged); } override public function set text(_arg1:String):void{ originalText = _arg1; if ((_arg1 is String)){ super.text = _arg1.replace(regex, replaceFn); } else { super.text = ""; }; } private function languageChanged(_arg1:Event):void{ text = originalText; updateProperties(); } } }//package spill.localisation
Section 179
//PortalGroup (spill.localisation.PortalGroup) package spill.localisation { import flash.xml.*; public class PortalGroup { public static const YOUNG_ADULTS:uint = 3; public static const FAMILY:uint = 0; public static const channelNames:Array = ["family", "tween", "girl", "teen", "zapapa", "hyves"]; public static const ZAPAPA:uint = 4; public static const HYVES:uint = 5; public static const TEENS:uint = 1; public static const GIRL:uint = 2; public static const backgroundColors:Array = [0xFFFFFF, 0xFFFFFF, 16742331, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF]; public static const NONE:uint = 6; public static function getName(_arg1:int):String{ return (channelNames[_arg1]); } public static function exportXML():XMLNode{ var _local3:XMLNode; var _local1:XMLNode = new XMLNode(1, "channels"); var _local2:int; while (_local2 < 5) { _local3 = new XMLNode(1, "channel"); _local3.attributes.name = channelNames[_local2]; _local3.attributes.id = _local2; _local1.appendChild(_local3); _local2++; }; return (_local1); } } }//package spill.localisation
Section 180
//spil_internal (spill.localisation.spil_internal) package spill.localisation { public namespace spil_internal = "spill.localisation"; }//package spill.localisation
Section 181
//SpilGame (spill.localisation.SpilGame) package spill.localisation { import flash.display.*; import flash.text.*; import flash.events.*; import flash.net.*; import flash.ui.*; import flash.system.*; import flash.external.*; public class SpilGame { private static const cookieName:String = "spilgames_language_v100"; private static const cookiePath:String = "/"; private static const cookieLanguageVar:String = "savedLang"; public static const LANGUAGE_CHANGED:String = "languageChanged"; public static const BRANDING_CHANGED:String = "brandingChanged"; private static var strings:Object = new Object(); public static var currentBranding:Brand; private static var contexMenuItem:ContextMenuItem; spil_internal static var gameName:String; spil_internal static var debugHostDomain:String = ""; private static var localDomains:Object = new Object(); spil_internal static var emailPage:String; private static var channelLock:Boolean = false; spil_internal static var debugEmbedDomain:String = ""; private static var eventDispatcher:EventDispatcher; private static var _init:Boolean = false; public static var currentLanguage:Language; spil_internal static var portalGroup:uint; private static var stage:Sprite; public static function getSpilCompanyLink():String{ if (currentLanguage.name == "cn"){ return ("http://www.game.com.cn/downloads/"); }; return ("http://www.gameportal.net"); } public static function getPromotionLink(_arg1:String="feature_promotion"):String{ var _local2:String = (embedDomain) ? embedDomain : hostingDomain; return (currentBranding.getPromotionLink(gameName, emailPage, isExternal, _local2, _arg1)); } public static function traceAllBrands():void{ trace(outputAllBrands()); } public static function getString(_arg1:String):String{ var _local2:Object = strings[_arg1]; if (_local2){ if (currentLanguage.textLanguage){ return (_local2[currentLanguage.textLanguage]); }; return (_local2[currentLanguage.name]); //unresolved jump }; return (""); } public static function initialize(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false):void{ stage = _arg4; if (_init){ trace("ERROR: LocalisationManager already initialised"); return; }; _init = true; localDomains["localhost"] = true; localDomains["www8.agame.com"] = true; localDomains["gamedev.dev.spilgames.com"] = true; localDomains["stg.spel.nl"] = true; localDomains["stg.girlsgogames.nl"] = true; localDomains["stg.pl.spel.nl"] = true; localDomains["stg.pl.girlsgogames.nl"] = true; trace(localDomains["stg.girlsgogames.nl"]); Brandings.initialize(); Languages.initialize(); initContexMenu(_arg4); channelLock = _arg5; gameName = _arg1.replace(" ", "_"); portalGroup = _arg2; emailPage = _arg3; chooseLanguage(); chooseBranding(); if (portalGroup == PortalGroup.HYVES){ changeLanguage("nl"); }; } public static function get isExternal():Boolean{ return (((((!(Brandings.hasDomain(embedDomain))) && (!(localDomains[embedDomain])))) && (!(isStagingDomain)))); } private static function initContexMenu(_arg1:Sprite):void{ contexMenuItem = new ContextMenuItem(""); _arg1.contextMenu = new ContextMenu(); _arg1.contextMenu.customItems.push(contexMenuItem); contexMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contexMenuClicked); } private static function replaceFn():String{ var _local2:String = SpilGame.getString(arguments[1]); if (((!(_local2)) || ((_local2 == "")))){ return ((("{" + arguments[1]) + "}")); }; return (_local2); } spil_internal static function get hostingDomain():String{ var _local1:LocalConnection; if (debugHostDomain != ""){ return (debugHostDomain); }; _local1 = new LocalConnection(); return (_local1.domain); } spil_internal static function chooseLanguage():void{ if (cookieLanguage != null){ currentLanguage = cookieLanguage; } else { if (isExternal){ currentLanguage = systemLanguage; } else { currentLanguage = portalLanguage; if (!currentLanguage){ currentLanguage = systemLanguage; }; }; }; if (!currentLanguage){ trace("Unable to determine language, using 'English US'"); currentLanguage = Languages.getLanguage("en_us"); }; TextFieldFit.embedFonts = currentLanguage.embedFonts; TextFieldFit.forceFont = currentLanguage.forceFont; dispatchEvent(new Event(LANGUAGE_CHANGED)); } private static function contexMenuClicked(_arg1:ContextMenuEvent):void{ navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu"))); } public static function initTextField(_arg1:TextField):void{ var _local2:TextFormat; trace(_arg1.text); _arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn); trace(_arg1.text); _arg1.embedFonts = currentLanguage.embedFonts; if (currentLanguage.forceFont != ""){ _local2 = new TextFormat(); _local2.font = currentLanguage.forceFont; _arg1.setTextFormat(_local2); }; } public static function importXMLv2(_arg1:XML):void{ var _local2:XML; var _local3:Object; var _local4:XML; for each (_local2 in _arg1.children()) { _local3 = (strings[_local2.attribute("identifier")] = new Object()); for each (_local4 in _local2.children()) { if (_local4.children().length() > 0){ _local3[_local4.name()] = _local4.children()[0].toString(); } else { _local3[_local4.name()] = ""; }; }; }; } spil_internal static function changeLanguage(_arg1:String):void{ var _local2:Language = Languages.getLanguage(_arg1); if (!_local2){ trace("ERROR: Supplied language string does not have a matching language"); } else { cookieLanguage = _local2; currentLanguage = _local2; }; TextFieldFit.embedFonts = currentLanguage.embedFonts; TextFieldFit.forceFont = currentLanguage.forceFont; chooseBranding(); dispatchEvent(new Event(LANGUAGE_CHANGED)); } public static function getSendToFriendLink():String{ return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain)); } spil_internal static function chooseBranding():void{ currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]); if (!(currentBranding is Brand)){ currentBranding = Brandings.getBrandByDomain("www.agame.com"); }; contexMenuItem.caption = ("More Games: " + currentBranding.domain); dispatchEvent(new Event(BRANDING_CHANGED)); } spil_internal static function get systemLanguage():Language{ return (Languages.getLanguage(Capabilities.language)); } spil_internal static function set cookieLanguage(_arg1:Language):void{ var _local2:SharedObject = SharedObject.getLocal(cookieName, cookiePath); if (_arg1 == null){ _local2.data[cookieLanguageVar] = null; } else { _local2.data[cookieLanguageVar] = _arg1.name; }; _local2.flush(); } public static function importXML(_arg1:XML):void{ var _local2:XML; var _local3:Object; var _local4:XML; for each (_local2 in _arg1.children()) { _local3 = (strings[_local2.identifier] = new Object()); for each (_local4 in _local2.children()) { _local3[_local4.name()] = _local4.children()[0].toString(); }; }; } spil_internal static function dispatchEvent(_arg1:Event):void{ if (!eventDispatcher){ eventDispatcher = new EventDispatcher(); }; eventDispatcher.dispatchEvent(_arg1); } private static function getDomain(_arg1:String):String{ var _local2:String; var _local3:uint; if (_arg1.indexOf("file") == 0){ return ("offline_play"); }; _local2 = new String(); _local3 = 7; while (_local3 < _arg1.length) { if (_arg1.charAt(_local3) == "/"){ break; }; _local2 = (_local2 + _arg1.charAt(_local3)); _local3++; }; if (_local2 == "localhost"){ _local2 = "offline_play"; }; return (_local2); } public static function exportXML():XML{ var _local1:XML = <spil_games/> ; _local1.appendChild(Brandings.exportXML()); _local1.appendChild(Languages.exportXML()); _local1.appendChild(PortalGroup.exportXML()); return (_local1); } public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ if (!eventDispatcher){ eventDispatcher = new EventDispatcher(); }; eventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public static function outputAllBrands():String{ var _local3:Brand; var _local1:Array = Brandings.getBrandsArray(); var _local2 = ""; for each (_local3 in _local1) { _local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n")); }; return (_local2); } public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ if (!eventDispatcher){ eventDispatcher = new EventDispatcher(); }; eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public static function getMoreGamesLink(_arg1:String=""):String{ var _local2:String = (embedDomain) ? embedDomain : hostingDomain; return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1)); } public static function get isStagingDomain():Boolean{ var _local1:String = ("http://" + embedDomain); return ((_local1.indexOf("http://stg.") >= 0)); } spil_internal static function get cookieLanguage():Language{ var _local1:SharedObject = SharedObject.getLocal(cookieName, cookiePath); var _local2:String = String(_local1.data[cookieLanguageVar]); return (Languages.getLanguage(_local2)); } private static function get portalLanguage():Language{ var _local1:Brand; var _local2:String; var _local3:Language; if (isExternal){ return (null); }; if (!embedDomain){ return (null); }; _local1 = Brandings.getBrandByDomain(embedDomain); if (!_local1){ return (null); }; _local2 = _local1.preferedLanguage; if (!_local2){ return (null); }; _local3 = Languages.getLanguage(_local2); if (!_local3){ return (null); }; return (_local3); } spil_internal static function get embedDomain():String{ var loc:String; if (debugEmbedDomain != ""){ return (debugEmbedDomain); }; if (ExternalInterface.available){ try { loc = ExternalInterface.call("window.location.href.toString"); if (((!((loc == ""))) && (!((loc == null))))){ trace(("embed domain = " + getDomain(loc))); return (getDomain(loc)); }; } catch(e:SecurityError) { trace(("Security Error connecting to external interface, error = " + e)); } catch(e:Error) { trace(("Error connecting to external interface, error = " + e)); }; }; return (null); } } }//package spill.localisation
Section 182
//SpilGamesLink (spill.localisation.SpilGamesLink) package spill.localisation { import flash.events.*; import flash.display.*; import flash.net.*; public class SpilGamesLink extends SimpleButton { public function SpilGamesLink(){ addEventListener(MouseEvent.CLICK, buttonClicked); } private function buttonClicked(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank"); } } }//package spill.localisation
Section 183
//TextFieldFit (spill.localisation.TextFieldFit) package spill.localisation { import flash.display.*; import flash.text.*; import flash.events.*; import flash.utils.*; import flash.filters.*; public class TextFieldFit extends MovieClip { protected var _glowQuality:Number;// = 1 protected var _gridFitType:String;// = "pixel" protected var _text:String;// = "default" private var debugBounding:Sprite; protected var _disableWordwrap:Boolean;// = false protected var _textSize:Number;// = 12 protected var _multiline:Boolean;// = false protected var _font:String;// = "" protected var _embedFonts:Boolean;// = true protected var _underline:Boolean;// = false protected var _vAlign:String;// = "top" protected var _italic:Boolean;// = false protected var _useGlowFilter:Boolean;// = false protected var _glowColor:uint;// = 0 protected var _bold:Boolean;// = false private var h:Number; protected var _antiAliasType:String;// = "advanced" private var sizeChanged:Boolean;// = true private var w:Number; private var embeddedFonts:Array; protected var _hAlign:String;// = "left" protected var _textColor:uint;// = 0 protected var _glowStrength:Number;// = 5 protected var _glowBlur:Number;// = 3 protected var _selectable:Boolean;// = false private var format:TextFormat; private var field:TextField; private var valid:Boolean;// = true private static const gutter:Number = 2; spil_internal static var embedFonts:Boolean = true; spil_internal static var forceAAType:String = null; spil_internal static var forceFont:String = null; public static var alwaysCheckWidth:Boolean = false; public function TextFieldFit(){ var _local1:Boolean = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent"))); var _local2:Number = width; var _local3:Number = height; if (numChildren > 0){ removeChildAt(0); }; if (!field){ field = new TextField(); addChild(field); }; field.border = false; field.background = false; field.type = TextFieldType.DYNAMIC; mouseEnabled = false; mouseChildren = false; format = new TextFormat(); embeddedFonts = Font.enumerateFonts(false); setSize(_local2, _local3); validate(); if (stage){ addEventListener(Event.RENDER, init); stage.invalidate(); }; init(); } private function resizeText(_arg1:Boolean=false):void{ if (!doesTextFit()){ format.size = Object((Number(format.size) - 1)); if (format.size <= 3){ trace("WARNING: Text resised to 3px, either an error occured or the text just wont fit"); return; }; field.setTextFormat(format); resizeText(true); } else { if (_arg1 == false){ while (doesTextFit()) { if (format.size <= textSize){ format.size = Object((Number(format.size) + 1)); field.setTextFormat(format); if (!doesTextFit()){ format.size = Object((Number(format.size) - 1)); field.setTextFormat(format); break; }; } else { break; }; }; }; }; } public function set hAlign(_arg1:String):void{ _hAlign = _arg1; invalidate(); } public function set bold(_arg1:Boolean):void{ _bold = _arg1; invalidate(); } private function init(_arg1:Event=null):void{ removeEventListener(Event.RENDER, init); updateProperties(); layoutText(); } private function validate(_arg1:Event=null):void{ updateProperties(); layoutText(); removeEventListener(Event.ENTER_FRAME, validate); valid = true; } public function set glowBlur(_arg1:Number):void{ _glowBlur = _arg1; invalidate(); } public function get vAlign():String{ return (_vAlign); } public function get italic():Boolean{ return (_italic); } public function get textColor():uint{ return (_textColor); } private function invalidate():void{ if (valid){ addEventListener(Event.ENTER_FRAME, validate); if (stage){ stage.invalidate(); }; valid = false; }; } public function get text():String{ return (_text); } public function get useGlowFilter():Boolean{ return (_useGlowFilter); } public function get selectable():Boolean{ return (_selectable); } public function set text(_arg1:String):void{ _text = _arg1; invalidate(); } public function set embedFonts(_arg1:Boolean):void{ _embedFonts = _arg1; invalidate(); } public function set vAlign(_arg1:String):void{ _vAlign = _arg1; invalidate(); } public function set italic(_arg1:Boolean):void{ _italic = _arg1; invalidate(); } public function get font():String{ return (_font); } public function set multiline(_arg1:Boolean):void{ _multiline = _arg1; invalidate(); } public function get disableWordwrap():Boolean{ return (_disableWordwrap); } public function set textColor(_arg1:uint):void{ _textColor = _arg1; invalidate(); } public function get antiAliasType():String{ return (_antiAliasType); } private function layoutText():void{ resizeText(); field.height = (field.textHeight + (gutter * 2)); if (vAlign == "top"){ field.y = 0; } else { if (vAlign == "middle"){ field.y = ((h - field.height) / 2); } else { if (vAlign == "bottom"){ field.y = (h - field.height); }; }; }; } public function set glowQuality(_arg1:Number):void{ _glowQuality = _arg1; invalidate(); } public function get hAlign():String{ return (_hAlign); } public function setSize(_arg1:Number, _arg2:Number):void{ w = _arg1; h = _arg2; scaleX = (scaleY = 1); field.width = w; field.height = h; invalidate(); } public function get bold():Boolean{ return (_bold); } public function set gridFitType(_arg1:String):void{ _gridFitType = _arg1; invalidate(); } public function set underline(_arg1:Boolean):void{ _underline = _arg1; invalidate(); } public function get glowBlur():Number{ return (_glowBlur); } public function set useGlowFilter(_arg1:Boolean):void{ _useGlowFilter = _arg1; invalidate(); } public function set font(_arg1:String):void{ _font = _arg1; invalidate(); } public function set textSize(_arg1:Number):void{ _textSize = _arg1; sizeChanged = true; invalidate(); } public function set selectable(_arg1:Boolean):void{ _selectable = _arg1; invalidate(); } public function get multiline():Boolean{ return (_multiline); } public function get embedFonts():Boolean{ return (_embedFonts); } public function set glowColor(_arg1:uint):void{ _glowColor = _arg1; invalidate(); } public function set disableWordwrap(_arg1:Boolean):void{ _disableWordwrap = _arg1; invalidate(); } public function get glowQuality():Number{ return (_glowQuality); } public function get gridFitType():String{ return (_gridFitType); } public function get underline():Boolean{ return (_underline); } public function get textSize():Number{ return (_textSize); } public function get glowColor():uint{ return (_glowColor); } public function set antiAliasType(_arg1:String):void{ _antiAliasType = _arg1; invalidate(); } public function set glowStrength(_arg1:Number):void{ _glowStrength = _arg1; invalidate(); } protected function updateProperties():void{ var _local1:Boolean; var _local2:Font; field.text = _text; field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline; field.wordWrap = ((field.multiline) && (!(_disableWordwrap))); field.selectable = _selectable; field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType; field.gridFitType = _gridFitType; embeddedFonts = Font.enumerateFonts(false); if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){ _local1 = false; for each (_local2 in embeddedFonts) { if (_font == _local2.fontName){ _local1 = true; break; }; }; field.embedFonts = _local1; if (!_local1){ trace(((("WARNING: Embedded font '" + _font) + "' not found, disabling embedding of fonts, text = ") + _text)); }; } else { field.embedFonts = false; }; if (TextFieldFit.forceFont){ format.font = TextFieldFit.forceFont; } else { if (_font != ""){ format.font = _font; }; }; if (sizeChanged){ format.size = _textSize; }; format.color = _textColor; format.align = _hAlign; format.bold = _bold; format.italic = _italic; format.underline = _underline; format.leftMargin = 0; format.rightMargin = 0; field.setTextFormat(format); if (_useGlowFilter){ filters = [new GlowFilter(_glowColor, 1, _glowBlur, _glowBlur, _glowStrength, _glowQuality)]; } else { filters = []; }; } private function doesTextFit():Boolean{ if (((((field.textHeight + (gutter * 2)) > h)) || (((((field.textWidth + (gutter * 2)) > w)) && (((!(field.multiline)) || (alwaysCheckWidth))))))){ return (false); }; return (true); } public function get glowStrength():Number{ return (_glowStrength); } } }//package spill.localisation
Section 184
//MuteEvent (uk.co.kempt.sounds.MuteEvent) package uk.co.kempt.sounds { import flash.events.*; public class MuteEvent extends Event { protected var _isMuted:Boolean; public static var MUTED:String = "muted"; public function MuteEvent(_arg1:Boolean):void{ super(MUTED); _isMuted = _arg1; } public function get isMuted():Boolean{ return (_isMuted); } } }//package uk.co.kempt.sounds
Section 185
//Snd (uk.co.kempt.sounds.Snd) package uk.co.kempt.sounds { import flash.events.*; import flash.media.*; import flash.utils.*; public class Snd extends EventDispatcher { protected var channel:SoundChannel; protected var masterVol:Number; protected var _vol:Number;// = 1 protected var _tVol:Number; protected var masterMuted:Boolean; protected var manager:SoundManager; protected var _dVol:Number; protected var isLooping:Boolean;// = false protected var trans:SoundTransform; protected var timer:Timer; protected var onFadeComplete:Function; protected var _fading:Boolean; protected var pos:int;// = 0 protected var _pan:Number;// = 0 public var dead:Boolean; protected var snd:Sound; public var n:int; public static const FADE_RATE:Number = 100; public static const MAX_LOOPS:int = 10000000; public function Snd(_arg1:SoundManager, _arg2:Sound, _arg3:int=0):void{ n = _arg3; manager = _arg1; manager.addEventListener(VolumeEvent.VOLUME_CHANGE, onManagerChangeVolume); manager.addEventListener(MuteEvent.MUTED, onManagerMuted); manager.addEventListener(SoundManager.STOP, stop); manager.addEventListener(SoundManager.PAUSE, pause); manager.addEventListener(SoundManager.UNPAUSE, unpause); manager.addEventListener(SoundManager.DIE, die); masterVol = manager.volume; masterMuted = manager.mute; snd = _arg2; trans = new SoundTransform(); volume = 1; } public function die(_arg1:Event=null):void{ dead = true; if (snd){ snd.removeEventListener(Event.COMPLETE, die); snd.removeEventListener(Event.COMPLETE, doLoop); snd = null; }; if (manager){ manager.removeEventListener(VolumeEvent.VOLUME_CHANGE, onManagerChangeVolume); manager.removeEventListener(MuteEvent.MUTED, onManagerMuted); manager.removeEventListener(SoundManager.STOP, stop); manager.removeEventListener(SoundManager.PAUSE, pause); manager.removeEventListener(SoundManager.UNPAUSE, unpause); manager = null; }; if (channel){ channel.stop(); channel = null; }; if (timer){ timer.removeEventListener(TimerEvent.TIMER, changeVolTowards); timer.stop(); timer = null; }; trans = null; } public function stop(_arg1:Event=null):void{ if (channel){ channel.stop(); pos = 0; channel = null; }; die(); } public function fadeTo(_arg1:Number, _arg2:Number, _arg3:Function=null):void{ var _local4:Number; onFadeComplete = _arg3; if (timer){ stopFade(); }; if (_arg2 > 0){ _local4 = ((_arg1 - _vol) / _arg2); setFade((_local4 * (FADE_RATE / 1000)), _arg1, true); } else { changeVolume(_arg1); }; } public function get volume():Number{ return (_vol); } public function get pan():Number{ return (_pan); } public function stopFade():void{ if (timer){ timer.stop(); timer.removeEventListener(TimerEvent.TIMER, changeVolTowards); timer = null; if (onFadeComplete != null){ onFadeComplete(); onFadeComplete = null; }; }; } public function play(_arg1:Number=0, _arg2:int=1, _arg3:SoundTransform=null):void{ if (_arg3){ trans = _arg3; volume = trans.volume; }; channel = snd.play(_arg1, _arg2, trans); channel.addEventListener(Event.SOUND_COMPLETE, onSoundComplete); } public function set pan(_arg1:Number):void{ _pan = _arg1; trans.pan = _arg1; if (channel){ channel.soundTransform = trans; }; } protected function onManagerMuted(_arg1:MuteEvent):void{ masterMuted = _arg1.isMuted; volume = _vol; } public function set volume(_arg1:Number):void{ _vol = _arg1; if (masterMuted){ trans.volume = 0; } else { trans.volume = (_arg1 * masterVol); }; if (channel){ channel.soundTransform = trans; }; } private function onSoundComplete(_arg1:Event):void{ dispatchEvent(_arg1); die(); } public function doLoop(_arg1:int=0):void{ if (channel){ channel.removeEventListener(Event.SOUND_COMPLETE, doLoop); channel.removeEventListener(Event.SOUND_COMPLETE, die); }; channel = snd.play(_arg1, 99999999, trans); channel.addEventListener(Event.SOUND_COMPLETE, doLoop); isLooping = true; } protected function onManagerChangeVolume(_arg1:VolumeEvent):void{ masterVol = _arg1.newVol; volume = _vol; } protected function changeVolTowards(_arg1:TimerEvent):void{ var _local2:Number = _vol; if (Math.abs(_dVol) < Math.abs((_tVol - _local2))){ changeVolume(_dVol); } else { volume = _tVol; if (_fading){ stopFade(); }; }; } public function changeVolume(_arg1:Number):void{ volume = (_vol + _arg1); } override public function toString():String{ return ((((((("[sound=" + snd) + ", n=") + n) + ", vol=") + volume) + "]")); } public function fadeBy(_arg1:Number, _arg2:Number, _arg3:Function=null):void{ onFadeComplete = _arg3; if (timer){ stopFade(); }; if (_arg2 > 0){ setFade((_arg1 * (FADE_RATE / 1000)), (_arg1 * _arg2), true); }; } public function pause(_arg1:Event=null):void{ if (channel){ pos = (channel.position % snd.length); channel.removeEventListener(Event.SOUND_COMPLETE, die); channel.stop(); channel = null; }; } public function fade(_arg1:Number, _arg2:Number, _arg3:Function=null):void{ onFadeComplete = _arg3; if (timer){ stopFade(); }; setFade((_arg1 * (FADE_RATE / 1000)), _arg2, true); } public function unpause(_arg1:Event=null):void{ if (((!(channel)) && (snd))){ channel = snd.play(pos); if (channel){ channel.soundTransform = trans; if (isLooping){ channel.addEventListener(Event.SOUND_COMPLETE, doLoop); }; }; }; } protected function setFade(_arg1:Number, _arg2:Number, _arg3:Boolean):void{ _dVol = _arg1; _tVol = _arg2; _fading = _arg3; timer = new Timer(FADE_RATE); timer.addEventListener(TimerEvent.TIMER, changeVolTowards); timer.start(); } } }//package uk.co.kempt.sounds
Section 186
//SoundManager (uk.co.kempt.sounds.SoundManager) package uk.co.kempt.sounds { import flash.events.*; import flash.net.*; import flash.media.*; import flash.utils.*; public class SoundManager extends EventDispatcher { protected var _isMuted:Boolean;// = false protected var _vol:Number;// = 1 public static var DIE:String = "die"; public static var STOP:String = "stop"; public static var PAUSE:String = "pause"; public static var UNPAUSE:String = "unpause"; public function die():void{ dispatchEvent(new Event(DIE)); } public function playSound(_arg1:Object, _arg2:Number=1):Snd{ var _local3:Snd = newSound(_arg1); _local3.volume = _arg2; _local3.play(); return (_local3); } public function loopSound(_arg1:Object, _arg2:Number=1):Snd{ var _local3:Snd = newSound(_arg1); _local3.volume = _arg2; _local3.doLoop(); return (_local3); } public function newSound(_arg1:Object):Snd{ var snd:Sound; var pSndRef = _arg1; if ((pSndRef is Array)){ pSndRef = pSndRef[Math.floor((pSndRef.length * Math.random()))]; }; if ((pSndRef is Class)){ snd = new ((pSndRef as Class)); } else { if ((pSndRef is String)){ try { snd = new ((getDefinitionByName(String(pSndRef)) as Class)); } catch(e:Error) { snd = new Sound(new URLRequest(String(pSndRef))); }; } else { throw (new Error(("unknown sound: " + pSndRef))); }; }; return (new Snd(this, snd)); } public function set mute(_arg1:Boolean):void{ if (_arg1 != _isMuted){ if (_arg1){ _isMuted = true; } else { _isMuted = false; }; dispatchEvent(new MuteEvent(_arg1)); }; } public function pause():void{ dispatchEvent(new Event(PAUSE)); } public function get mute():Boolean{ return (_isMuted); } public function get volume():Number{ return (_vol); } public function set volume(_arg1:Number):void{ var _local2:Number = _vol; _vol = _arg1; if (!_isMuted){ dispatchEvent(new VolumeEvent(_vol, _local2)); }; } public function unpause():void{ dispatchEvent(new Event(UNPAUSE)); } public function stopAll():void{ dispatchEvent(new Event(STOP)); } } }//package uk.co.kempt.sounds
Section 187
//VolumeEvent (uk.co.kempt.sounds.VolumeEvent) package uk.co.kempt.sounds { import flash.events.*; public class VolumeEvent extends Event { protected var _newVol:Number; protected var _oldVol:Number; public static const VOLUME_CHANGE:String = "volume_change"; public function VolumeEvent(_arg1:Number, _arg2:Number):void{ super(VOLUME_CHANGE); _newVol = _arg1; _oldVol = _arg2; } public function get newVol():Number{ return (_newVol); } public function get oldVol():Number{ return (_oldVol); } } }//package uk.co.kempt.sounds
Section 188
//ElvisBrain (uk.co.kempt.uphillvegas.controller.ElvisBrain) package uk.co.kempt.uphillvegas.controller { import flash.display.*; import uk.co.kempt.uphillvegas.*; import flash.utils.*; public class ElvisBrain { private var _trickTime:int; private var _anim:MovieClip; private var _state:String; public static const LEAN_LEFT:String = "leanLeft"; public static const SPIN:String = "spin"; public static const GUITAR:String = "guitar"; public static const MIN_TRICK_TIME:int = 20; public static const CRASH:String = "crash"; public static const TWIST:String = "twist"; public static const IDLE0:String = "idle0"; public static const IDLE2:String = "idle2"; public static const IDLE3:String = "idle3"; public static const LEAN_RIGHT:String = "leanRight"; public static const IDLE1:String = "idle1"; public static const KARATE:String = "karate"; public static const SUPERMAN:String = "superman"; public function ElvisBrain(_arg1:MovieClip){ _anim = _arg1; idle(); } private function addMessage():void{ switch (state){ case SUPERMAN: break; case GUITAR: break; case TWIST: break; case KARATE: break; }; } public function crash():void{ _state = ""; setState(CRASH); } private function stateToTrickType(_arg1:String):String{ switch (_arg1){ case KARATE: return (TrickMan.KARATE); case GUITAR: return (TrickMan.GUITAR); case TWIST: return (TrickMan.TWIST); case SUPERMAN: return (TrickMan.SUPERMAN); default: return (""); }; } public function get isTrick():Boolean{ switch (state){ case SUPERMAN: case GUITAR: case TWIST: case KARATE: return (true); }; return (false); } public function trick(_arg1:int):void{ var _local2:int; switch (_arg1){ case 1: setTrick(KARATE); break; case 2: setTrick(GUITAR); break; case 3: setTrick(TWIST); break; case 4: setTrick(SUPERMAN); break; default: if (isTrick){ if (_anim.anim){ if (_anim.anim.currentLabel == "out"){ idle(); } else { _local2 = Math.abs((Engine.instance.gameTime - _trickTime)); if (_local2 >= MIN_TRICK_TIME){ Engine.instance.trickMan.trickPerformed(stateToTrickType(state)); }; _anim.anim.gotoAndStop("out"); }; } else { idle(); }; }; }; } public function leanLeft():void{ if (isIdle){ setState(LEAN_LEFT); }; } public function die():void{ _anim = null; _state = null; } public function get state():String{ return (_state); } public function idle():void{ setState(IDLE0); } public function leanRight():void{ if (isIdle){ setState(LEAN_RIGHT); }; } protected function setTrick(_arg1:String):void{ var _local2:Boolean = setState(_arg1); if (_local2){ _trickTime = Engine.instance.gameTime; addMessage(); setTimeout(Engine.instance.sfxMan.special, 150); }; } protected function stateToScoreType(_arg1:String):String{ switch (_arg1){ case SUPERMAN: return (ScoreMan.TRICK_SUPERMAN); case GUITAR: return (ScoreMan.TRICK_GUITAR); case TWIST: return (ScoreMan.TRICK_TWIST); case KARATE: return (ScoreMan.TRICK_KARATE); default: return (ScoreMan.NONE); }; } public function spin():void{ _state = ""; setState(SPIN); } protected function setState(_arg1:String):Boolean{ if (_state != _arg1){ _state = _arg1; _anim.gotoAndStop(_arg1); return (true); }; return (false); } public function get isIdle():Boolean{ switch (state){ case IDLE0: case IDLE1: case IDLE2: case IDLE3: case LEAN_LEFT: case LEAN_RIGHT: return (true); }; return (false); } } }//package uk.co.kempt.uphillvegas.controller
Section 189
//AbstractButton (uk.co.kempt.uphillvegas.display.button.AbstractButton) package uk.co.kempt.uphillvegas.display.button { import flash.events.*; import flash.display.*; import uk.co.kempt.uphillvegas.*; public class AbstractButton extends SimpleButton { public function AbstractButton(_arg1:DisplayObject=null, _arg2:DisplayObject=null, _arg3:DisplayObject=null, _arg4:DisplayObject=null){ super(_arg1, _arg2, _arg3, _arg4); addEventListener(MouseEvent.ROLL_OVER, onRollOverEvent, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, onClicked, false, 0, true); } private function onClicked(_arg1:MouseEvent):void{ Engine.instance.sfxMan.buttonClick(); } private function onRollOverEvent(_arg1:MouseEvent):void{ Engine.instance.sfxMan.buttonRollOver(); } } }//package uk.co.kempt.uphillvegas.display.button
Section 190
//AbstractToggleButton (uk.co.kempt.uphillvegas.display.button.AbstractToggleButton) package uk.co.kempt.uphillvegas.display.button { import flash.events.*; import flash.display.*; import uk.co.kempt.uphillvegas.*; public class AbstractToggleButton extends MovieClip { private var _state:String; public static const OFF:String = "off"; public static const ON:String = "on"; public function AbstractToggleButton(){ buttonMode = true; mouseChildren = false; mouseEnabled = true; addEventListener(MouseEvent.CLICK, onClickEvent, false, 0, true); setState(defaultState); } public function get defaultState():String{ return (OFF); } protected function onClickEvent(_arg1:MouseEvent):void{ toggle(); Engine.instance.sfxMan.buttonToggle(); } protected function get states():Array{ return (["off", "on"]); } public function toggle():void{ var _local1:int = (states.indexOf(_state) + 1); _local1 = ((_local1 > (states.length - 1))) ? 0 : _local1; setState(states[_local1]); } public function setState(_arg1:String):void{ _state = _arg1; gotoAndStop(_arg1); } } }//package uk.co.kempt.uphillvegas.display.button
Section 191
//MusicToggleButton (uk.co.kempt.uphillvegas.display.button.MusicToggleButton) package uk.co.kempt.uphillvegas.display.button { import uk.co.kempt.uphillvegas.*; public class MusicToggleButton extends AbstractToggleButton { private static var STATE:String = "on"; override public function get defaultState():String{ return (STATE); } override public function setState(_arg1:String):void{ super.setState(_arg1); STATE = _arg1; Engine.instance.musicMan.enabled = (_arg1 == AbstractToggleButton.ON); } } }//package uk.co.kempt.uphillvegas.display.button
Section 192
//QualityToggleButton (uk.co.kempt.uphillvegas.display.button.QualityToggleButton) package uk.co.kempt.uphillvegas.display.button { import flash.display.*; public class QualityToggleButton extends AbstractToggleButton { public static const LOW:String = "low"; public static const MEDIUM:String = "medium"; public static const HIGH:String = "high"; private static var STATE:String = QualityToggleButton.HIGH; override public function get defaultState():String{ return (STATE); } override protected function get states():Array{ return ([HIGH, MEDIUM, LOW]); } override public function setState(_arg1:String):void{ super.setState(_arg1); if (stage){ switch (_arg1){ case LOW: stage.quality = StageQuality.LOW; break; case MEDIUM: stage.quality = StageQuality.MEDIUM; break; case HIGH: stage.quality = StageQuality.HIGH; break; }; }; STATE = _arg1; } } }//package uk.co.kempt.uphillvegas.display.button
Section 193
//SoundToggleButton (uk.co.kempt.uphillvegas.display.button.SoundToggleButton) package uk.co.kempt.uphillvegas.display.button { import uk.co.kempt.uphillvegas.*; public class SoundToggleButton extends AbstractToggleButton { private static var STATE:String = "on"; override public function get defaultState():String{ return (STATE); } override public function setState(_arg1:String):void{ super.setState(_arg1); STATE = _arg1; Engine.instance.sfxMan.enabled = (_arg1 == AbstractToggleButton.ON); } } }//package uk.co.kempt.uphillvegas.display.button
Section 194
//BottomBar (uk.co.kempt.uphillvegas.display.menu.BottomBar) package uk.co.kempt.uphillvegas.display.menu { import flash.events.*; import flash.display.*; import uk.co.kempt.uphillvegas.*; public class BottomBar extends Sprite { public var spil_btn:SimpleButton; public function BottomBar(){ spil_btn.addEventListener(MouseEvent.CLICK, onSpilClicked, false, 0, true); } private function onSpilClicked(_arg1:MouseEvent):void{ Engine.instance.onSpilClicked(); } } }//package uk.co.kempt.uphillvegas.display.menu
Section 195
//CompletePage (uk.co.kempt.uphillvegas.display.menu.CompletePage) package uk.co.kempt.uphillvegas.display.menu { import flash.events.*; import flash.display.*; import spill.localisation.*; import uk.co.kempt.uphillvegas.*; public class CompletePage extends Sprite { public var __id37_:LocalizedTextField; public var __id36_:LocalizedTextField; public var mainMenu_btn:SimpleButton; public var agame_btn:SimpleButton; public function CompletePage(){ addListeners(); __setProp___id36__CompletePage_Layer1_0(); __setProp___id37__CompletePage_Layer4_0(); } private function onSubmitScoreClicked(_arg1:MouseEvent):void{ } private function onMainMenuClicked(_arg1:MouseEvent):void{ Engine.instance.backToMainMenu(); } function __setProp___id37__CompletePage_Layer4_0(){ try { __id37_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id37_.text = "{btn_main_menu}"; __id37_.textColor = 0xFFA600; __id37_.textSize = 20; __id37_.bold = false; __id37_.disableWordwrap = false; __id37_.embedFonts = true; __id37_.font = "TypographyofCoop-Black"; __id37_.hAlign = "center"; __id37_.multiline = false; __id37_.vAlign = "middle"; __id37_.antiAliasType = "advanced"; __id37_.glowBlur = 4; __id37_.glowColor = 0; __id37_.useGlowFilter = true; __id37_.glowQuality = 1; __id37_.glowStrength = 1000; __id37_.gridFitType = "pixel"; __id37_.italic = false; __id37_.selectable = false; __id37_.underline = false; try { __id37_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onAGameClicked(_arg1:MouseEvent):void{ Engine.instance.onAGameClicked("game_complete_page"); } private function addListeners():void{ mainMenu_btn.addEventListener(MouseEvent.CLICK, onMainMenuClicked, false, 0, true); agame_btn.addEventListener(MouseEvent.CLICK, onAGameClicked, false, 0, true); } function __setProp___id36__CompletePage_Layer1_0(){ try { __id36_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id36_.text = "{Branding_More_Games_Sentence_Short}"; __id36_.textColor = 0xFFA800; __id36_.textSize = 13; __id36_.bold = false; __id36_.disableWordwrap = false; __id36_.embedFonts = true; __id36_.font = "TypographyofCoop-Black"; __id36_.hAlign = "center"; __id36_.multiline = false; __id36_.vAlign = "middle"; __id36_.antiAliasType = "advanced"; __id36_.glowBlur = 4; __id36_.glowColor = 0; __id36_.useGlowFilter = true; __id36_.glowQuality = 1; __id36_.glowStrength = 1000; __id36_.gridFitType = "pixel"; __id36_.italic = false; __id36_.selectable = false; __id36_.underline = false; try { __id36_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package uk.co.kempt.uphillvegas.display.menu
Section 196
//GameOverPage (uk.co.kempt.uphillvegas.display.menu.GameOverPage) package uk.co.kempt.uphillvegas.display.menu { import flash.events.*; import flash.display.*; import spill.localisation.*; import uk.co.kempt.uphillvegas.*; public class GameOverPage extends Sprite { public var __id48_:LocalizedTextField; public var __id47_:LocalizedTextField; public var tryAgain_btn:SimpleButton; public var agame_btn:SimpleButton; public var mainMenu_btn:SimpleButton; public var __id49_:LocalizedTextField; public function GameOverPage(){ tryAgain_btn.addEventListener(MouseEvent.CLICK, onTryAgainClicked, false, 0, true); mainMenu_btn.addEventListener(MouseEvent.CLICK, onMainMenuClicked, false, 0, true); agame_btn.addEventListener(MouseEvent.CLICK, onAGameClicked, false, 0, true); __setProp___id47__GameOverPage_localisations_0(); __setProp___id48__GameOverPage_localisations_0(); __setProp___id49__GameOverPage_localisations_0(); } private function onTryAgainClicked(_arg1:MouseEvent):void{ Engine.instance.startGame(); } function __setProp___id48__GameOverPage_localisations_0(){ try { __id48_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id48_.text = "{Branding_More_Games_Sentence_Short}"; __id48_.textColor = 0xFFA800; __id48_.textSize = 13; __id48_.bold = false; __id48_.disableWordwrap = false; __id48_.embedFonts = true; __id48_.font = "TypographyofCoop-Black"; __id48_.hAlign = "center"; __id48_.multiline = false; __id48_.vAlign = "middle"; __id48_.antiAliasType = "advanced"; __id48_.glowBlur = 4; __id48_.glowColor = 0; __id48_.useGlowFilter = true; __id48_.glowQuality = 1; __id48_.glowStrength = 1000; __id48_.gridFitType = "pixel"; __id48_.italic = false; __id48_.selectable = false; __id48_.underline = false; try { __id48_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id47__GameOverPage_localisations_0(){ try { __id47_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id47_.text = "{restart}"; __id47_.textColor = 0xFFA600; __id47_.textSize = 20; __id47_.bold = false; __id47_.disableWordwrap = false; __id47_.embedFonts = true; __id47_.font = "TypographyofCoop-Black"; __id47_.hAlign = "center"; __id47_.multiline = false; __id47_.vAlign = "middle"; __id47_.antiAliasType = "advanced"; __id47_.glowBlur = 4; __id47_.glowColor = 0; __id47_.useGlowFilter = true; __id47_.glowQuality = 1; __id47_.glowStrength = 1000; __id47_.gridFitType = "pixel"; __id47_.italic = false; __id47_.selectable = false; __id47_.underline = false; try { __id47_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id49__GameOverPage_localisations_0(){ try { __id49_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id49_.text = "{btn_main_menu}"; __id49_.textColor = 0xFFA600; __id49_.textSize = 20; __id49_.bold = false; __id49_.disableWordwrap = false; __id49_.embedFonts = true; __id49_.font = "TypographyofCoop-Black"; __id49_.hAlign = "center"; __id49_.multiline = false; __id49_.vAlign = "middle"; __id49_.antiAliasType = "advanced"; __id49_.glowBlur = 4; __id49_.glowColor = 0; __id49_.useGlowFilter = true; __id49_.glowQuality = 1; __id49_.glowStrength = 1000; __id49_.gridFitType = "pixel"; __id49_.italic = false; __id49_.selectable = false; __id49_.underline = false; try { __id49_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onMainMenuClicked(_arg1:MouseEvent):void{ Engine.instance.backToMainMenu(); } private function onAGameClicked(_arg1:MouseEvent):void{ Engine.instance.onAGameClicked("game_over_page"); } } }//package uk.co.kempt.uphillvegas.display.menu
Section 197
//LevelCompletePage (uk.co.kempt.uphillvegas.display.menu.LevelCompletePage) package uk.co.kempt.uphillvegas.display.menu { import flash.display.*; public class LevelCompletePage extends Sprite { } }//package uk.co.kempt.uphillvegas.display.menu
Section 198
//NextLevelPage (uk.co.kempt.uphillvegas.display.menu.NextLevelPage) package uk.co.kempt.uphillvegas.display.menu { import flash.events.*; import flash.display.*; import spill.localisation.*; import uk.co.kempt.uphillvegas.*; public class NextLevelPage extends Sprite { public var __id56_:LocalizedTextField; public var __id55_:LocalizedTextField; public var __id54_:LocalizedTextField; public var nextLevel_btn:SimpleButton; public var agame_btn:SimpleButton; public function NextLevelPage(){ agame_btn.addEventListener(MouseEvent.CLICK, onAGameClicked, false, 0, true); nextLevel_btn.addEventListener(MouseEvent.CLICK, onNextLevelClicked, false, 0, true); __setProp___id54__NextLevelPage_Layer1_0(); __setProp___id55__NextLevelPage_Layer1_0(); __setProp___id56__NextLevelPage_Layer2_0(); } function __setProp___id56__NextLevelPage_Layer2_0(){ try { __id56_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id56_.text = "{Branding_More_Games_Sentence_Short}"; __id56_.textColor = 0xFFA800; __id56_.textSize = 13; __id56_.bold = false; __id56_.disableWordwrap = false; __id56_.embedFonts = true; __id56_.font = "TypographyofCoop-Black"; __id56_.hAlign = "center"; __id56_.multiline = false; __id56_.vAlign = "middle"; __id56_.antiAliasType = "advanced"; __id56_.glowBlur = 4; __id56_.glowColor = 0; __id56_.useGlowFilter = true; __id56_.glowQuality = 1; __id56_.glowStrength = 1000; __id56_.gridFitType = "pixel"; __id56_.italic = false; __id56_.selectable = false; __id56_.underline = false; try { __id56_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id54__NextLevelPage_Layer1_0(){ try { __id54_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id54_.text = "{score}"; __id54_.textColor = 0xFFA600; __id54_.textSize = 20; __id54_.bold = false; __id54_.disableWordwrap = false; __id54_.embedFonts = true; __id54_.font = "TypographyofCoop-Black"; __id54_.hAlign = "center"; __id54_.multiline = false; __id54_.vAlign = "middle"; __id54_.antiAliasType = "advanced"; __id54_.glowBlur = 4; __id54_.glowColor = 0; __id54_.useGlowFilter = true; __id54_.glowQuality = 1; __id54_.glowStrength = 1000; __id54_.gridFitType = "pixel"; __id54_.italic = false; __id54_.selectable = false; __id54_.underline = false; try { __id54_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id55__NextLevelPage_Layer1_0(){ try { __id55_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id55_.text = "{btn_next_level}"; __id55_.textColor = 0xFFA600; __id55_.textSize = 20; __id55_.bold = false; __id55_.disableWordwrap = false; __id55_.embedFonts = true; __id55_.font = "TypographyofCoop-Black"; __id55_.hAlign = "center"; __id55_.multiline = false; __id55_.vAlign = "middle"; __id55_.antiAliasType = "advanced"; __id55_.glowBlur = 4; __id55_.glowColor = 0; __id55_.useGlowFilter = true; __id55_.glowQuality = 1; __id55_.glowStrength = 1000; __id55_.gridFitType = "pixel"; __id55_.italic = false; __id55_.selectable = false; __id55_.underline = false; try { __id55_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onNextLevelClicked(_arg1:MouseEvent):void{ nextLevel_btn.removeEventListener(MouseEvent.CLICK, onNextLevelClicked); Engine.instance.menuScreen.play(); } private function onAGameClicked(_arg1:MouseEvent):void{ Engine.instance.onAGameClicked("next_level_page"); } } }//package uk.co.kempt.uphillvegas.display.menu
Section 199
//PauseMenu (uk.co.kempt.uphillvegas.display.menu.PauseMenu) package uk.co.kempt.uphillvegas.display.menu { import flash.events.*; import flash.display.*; import spill.localisation.*; import uk.co.kempt.uphillvegas.display.*; import uk.co.kempt.uphillvegas.*; public class PauseMenu extends Sprite { public var __id59_:LocalizedTextField; public var __id58_:LocalizedTextField; public var __id57_:LocalizedTextField; public var __id60_:LocalizedTextField; public var agame_btn:SimpleButton; public var mainMenu_btn:SimpleButton; public var resume_btn:SimpleButton; public var howToPlay_btn:SimpleButton; public function PauseMenu(){ mainMenu_btn.addEventListener(MouseEvent.CLICK, onMainMenuClicked, false, 0, true); howToPlay_btn.addEventListener(MouseEvent.CLICK, onHowToPlayClicked, false, 0, true); resume_btn.addEventListener(MouseEvent.CLICK, onResumeClicked, false, 0, true); agame_btn.addEventListener(MouseEvent.CLICK, onAGameClicked, false, 0, true); __setProp___id57__PauseMenu_Layer1_0(); __setProp___id58__PauseMenu_Layer1_0(); __setProp___id59__PauseMenu_Layer1_0(); __setProp___id60__PauseMenu_Layer1_0(); } function __setProp___id59__PauseMenu_Layer1_0(){ try { __id59_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id59_.text = "{btn_howtoplay}"; __id59_.textColor = 0xFFA600; __id59_.textSize = 20; __id59_.bold = false; __id59_.disableWordwrap = false; __id59_.embedFonts = true; __id59_.font = "TypographyofCoop-Black"; __id59_.hAlign = "center"; __id59_.multiline = false; __id59_.vAlign = "middle"; __id59_.antiAliasType = "advanced"; __id59_.glowBlur = 4; __id59_.glowColor = 0; __id59_.useGlowFilter = true; __id59_.glowQuality = 1; __id59_.glowStrength = 1000; __id59_.gridFitType = "pixel"; __id59_.italic = false; __id59_.selectable = false; __id59_.underline = false; try { __id59_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id58__PauseMenu_Layer1_0(){ try { __id58_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id58_.text = "{btn_resume}"; __id58_.textColor = 0xFFA600; __id58_.textSize = 20; __id58_.bold = false; __id58_.disableWordwrap = false; __id58_.embedFonts = true; __id58_.font = "TypographyofCoop-Black"; __id58_.hAlign = "center"; __id58_.multiline = false; __id58_.vAlign = "middle"; __id58_.antiAliasType = "advanced"; __id58_.glowBlur = 4; __id58_.glowColor = 0; __id58_.useGlowFilter = true; __id58_.glowQuality = 1; __id58_.glowStrength = 1000; __id58_.gridFitType = "pixel"; __id58_.italic = false; __id58_.selectable = false; __id58_.underline = false; try { __id58_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id60__PauseMenu_Layer1_0(){ try { __id60_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id60_.text = "{btn_main_menu}"; __id60_.textColor = 0xFFA600; __id60_.textSize = 20; __id60_.bold = false; __id60_.disableWordwrap = false; __id60_.embedFonts = true; __id60_.font = "TypographyofCoop-Black"; __id60_.hAlign = "center"; __id60_.multiline = false; __id60_.vAlign = "middle"; __id60_.antiAliasType = "advanced"; __id60_.glowBlur = 4; __id60_.glowColor = 0; __id60_.useGlowFilter = true; __id60_.glowQuality = 1; __id60_.glowStrength = 1000; __id60_.gridFitType = "pixel"; __id60_.italic = false; __id60_.selectable = false; __id60_.underline = false; try { __id60_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onHowToPlayClicked(_arg1:MouseEvent):void{ Engine.instance.menuScreen.show(MenuScreen.HOW_TO_PLAY); } function __setProp___id57__PauseMenu_Layer1_0(){ try { __id57_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id57_.text = "{Branding_More_Games_Sentence_Short}"; __id57_.textColor = 0xFFA800; __id57_.textSize = 13; __id57_.bold = false; __id57_.disableWordwrap = false; __id57_.embedFonts = true; __id57_.font = "TypographyofCoop-Black"; __id57_.hAlign = "center"; __id57_.multiline = false; __id57_.vAlign = "middle"; __id57_.antiAliasType = "advanced"; __id57_.glowBlur = 4; __id57_.glowColor = 0; __id57_.useGlowFilter = true; __id57_.glowQuality = 1; __id57_.glowStrength = 1000; __id57_.gridFitType = "pixel"; __id57_.italic = false; __id57_.selectable = false; __id57_.underline = false; try { __id57_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onMainMenuClicked(_arg1:MouseEvent):void{ Engine.instance.backToMainMenu(); } private function onAGameClicked(_arg1:MouseEvent):void{ Engine.instance.onAGameClicked("pause_menu"); } private function onResumeClicked(_arg1:MouseEvent):void{ Engine.instance.pauseWithMenu(false); } } }//package uk.co.kempt.uphillvegas.display.menu
Section 200
//StartPage (uk.co.kempt.uphillvegas.display.menu.StartPage) package uk.co.kempt.uphillvegas.display.menu { import flash.events.*; import flash.display.*; import spill.localisation.*; import uk.co.kempt.uphillvegas.display.*; import uk.co.kempt.uphillvegas.*; public class StartPage extends Sprite { public var htp_btn:SimpleButton; public var __id34_:LocalizedTextField; public var __id33_:LocalizedTextField; public var __id32_:LocalizedTextField; public var kv_btn:SimpleButton; public var agame_btn:SimpleButton; public var start_btn:SimpleButton; public function StartPage(){ addListeners(); __setProp___id32__StartPage_lang_0(); __setProp___id33__StartPage_lang_0(); __setProp___id34__StartPage_lang_0(); } private function onHowToPlayClicked(_arg1:MouseEvent):void{ Engine.instance.menuScreen.show(MenuScreen.HOW_TO_PLAY); } function __setProp___id33__StartPage_lang_0(){ try { __id33_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id33_.text = "{Branding_More_Games_Sentence_Short}"; __id33_.textColor = 0xFFA800; __id33_.textSize = 13; __id33_.bold = false; __id33_.disableWordwrap = false; __id33_.embedFonts = true; __id33_.font = "TypographyofCoop-Black"; __id33_.hAlign = "center"; __id33_.multiline = false; __id33_.vAlign = "middle"; __id33_.antiAliasType = "advanced"; __id33_.glowBlur = 4; __id33_.glowColor = 0; __id33_.useGlowFilter = true; __id33_.glowQuality = 1; __id33_.glowStrength = 1000; __id33_.gridFitType = "pixel"; __id33_.italic = false; __id33_.selectable = false; __id33_.underline = false; try { __id33_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onStartClicked(_arg1:MouseEvent):void{ Engine.instance.startGame(); } private function addListeners():void{ start_btn.addEventListener(MouseEvent.CLICK, onStartClicked, false, 0, true); htp_btn.addEventListener(MouseEvent.CLICK, onHowToPlayClicked, false, 0, true); agame_btn.addEventListener(MouseEvent.CLICK, onAGameClicked, false, 0, true); } function __setProp___id34__StartPage_lang_0(){ try { __id34_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id34_.text = "{btn_howtoplay}"; __id34_.textColor = 0xFFA800; __id34_.textSize = 20; __id34_.bold = false; __id34_.disableWordwrap = false; __id34_.embedFonts = true; __id34_.font = "TypographyofCoop-Black"; __id34_.hAlign = "center"; __id34_.multiline = false; __id34_.vAlign = "middle"; __id34_.antiAliasType = "advanced"; __id34_.glowBlur = 4; __id34_.glowColor = 0; __id34_.useGlowFilter = true; __id34_.glowQuality = 1; __id34_.glowStrength = 1000; __id34_.gridFitType = "pixel"; __id34_.italic = false; __id34_.selectable = false; __id34_.underline = false; try { __id34_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id32__StartPage_lang_0(){ try { __id32_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id32_.text = "{btn_startgame}"; __id32_.textColor = 0xFFA800; __id32_.textSize = 20; __id32_.bold = false; __id32_.disableWordwrap = false; __id32_.embedFonts = true; __id32_.font = "TypographyofCoop-Black"; __id32_.hAlign = "center"; __id32_.multiline = false; __id32_.vAlign = "middle"; __id32_.antiAliasType = "advanced"; __id32_.glowBlur = 4; __id32_.glowColor = 0; __id32_.useGlowFilter = true; __id32_.glowQuality = 1; __id32_.glowStrength = 1000; __id32_.gridFitType = "pixel"; __id32_.italic = false; __id32_.selectable = false; __id32_.underline = false; try { __id32_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onAGameClicked(_arg1:MouseEvent):void{ Engine.instance.onAGameClicked("start_page"); } } }//package uk.co.kempt.uphillvegas.display.menu
Section 201
//TopBar (uk.co.kempt.uphillvegas.display.menu.TopBar) package uk.co.kempt.uphillvegas.display.menu { import flash.display.*; public class TopBar extends Sprite { } }//package uk.co.kempt.uphillvegas.display.menu
Section 202
//TryAgain (uk.co.kempt.uphillvegas.display.menu.TryAgain) package uk.co.kempt.uphillvegas.display.menu { import flash.events.*; import flash.display.*; import spill.localisation.*; import uk.co.kempt.uphillvegas.*; public class TryAgain extends Sprite { public var tryAgain_btn:SimpleButton; public var __id53_:LocalizedTextField; public var __id52_:LocalizedTextField; public var __id51_:LocalizedTextField; public var __id50_:LocalizedTextField; public var mainMenu_btn:SimpleButton; public var agame_btn:SimpleButton; public function TryAgain(){ tryAgain_btn.addEventListener(MouseEvent.CLICK, onTryAgainClicked, false, 0, true); mainMenu_btn.addEventListener(MouseEvent.CLICK, onMainMenuClicked, false, 0, true); agame_btn.addEventListener(MouseEvent.CLICK, onAGameClicked, false, 0, true); __setProp___id50__TryAgain_Layer1_0(); __setProp___id51__TryAgain_Layer1_0(); __setProp___id52__TryAgain_Layer1_0(); __setProp___id53__TryAgain_Layer1_0(); } function __setProp___id51__TryAgain_Layer1_0(){ try { __id51_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id51_.text = "{Branding_More_Games_Sentence_Short}"; __id51_.textColor = 0xFFA800; __id51_.textSize = 13; __id51_.bold = false; __id51_.disableWordwrap = false; __id51_.embedFonts = true; __id51_.font = "TypographyofCoop-Black"; __id51_.hAlign = "center"; __id51_.multiline = false; __id51_.vAlign = "middle"; __id51_.antiAliasType = "advanced"; __id51_.glowBlur = 4; __id51_.glowColor = 0; __id51_.useGlowFilter = true; __id51_.glowQuality = 1; __id51_.glowStrength = 1000; __id51_.gridFitType = "pixel"; __id51_.italic = false; __id51_.selectable = false; __id51_.underline = false; try { __id51_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onTryAgainClicked(_arg1:MouseEvent):void{ Engine.instance.startLevel(); } function __setProp___id53__TryAgain_Layer1_0(){ try { __id53_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id53_.text = "{lives left}"; __id53_.textColor = 0xFFA600; __id53_.textSize = 16; __id53_.bold = false; __id53_.disableWordwrap = false; __id53_.embedFonts = true; __id53_.font = "TypographyofCoop-Black"; __id53_.hAlign = "right"; __id53_.multiline = false; __id53_.vAlign = "middle"; __id53_.antiAliasType = "advanced"; __id53_.glowBlur = 4; __id53_.glowColor = 0; __id53_.useGlowFilter = true; __id53_.glowQuality = 1; __id53_.glowStrength = 1000; __id53_.gridFitType = "pixel"; __id53_.italic = false; __id53_.selectable = false; __id53_.underline = false; try { __id53_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id52__TryAgain_Layer1_0(){ try { __id52_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id52_.text = "{btn_main_menu}"; __id52_.textColor = 0xFFA600; __id52_.textSize = 20; __id52_.bold = false; __id52_.disableWordwrap = false; __id52_.embedFonts = true; __id52_.font = "TypographyofCoop-Black"; __id52_.hAlign = "center"; __id52_.multiline = false; __id52_.vAlign = "middle"; __id52_.antiAliasType = "advanced"; __id52_.glowBlur = 4; __id52_.glowColor = 0; __id52_.useGlowFilter = true; __id52_.glowQuality = 1; __id52_.glowStrength = 1000; __id52_.gridFitType = "pixel"; __id52_.italic = false; __id52_.selectable = false; __id52_.underline = false; try { __id52_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onAGameClicked(_arg1:MouseEvent):void{ Engine.instance.onAGameClicked("try_again_page"); } function __setProp___id50__TryAgain_Layer1_0(){ try { __id50_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id50_.text = "{try_again}"; __id50_.textColor = 0xFFA600; __id50_.textSize = 20; __id50_.bold = false; __id50_.disableWordwrap = false; __id50_.embedFonts = true; __id50_.font = "TypographyofCoop-Black"; __id50_.hAlign = "center"; __id50_.multiline = false; __id50_.vAlign = "middle"; __id50_.antiAliasType = "advanced"; __id50_.glowBlur = 4; __id50_.glowColor = 0; __id50_.useGlowFilter = true; __id50_.glowQuality = 1; __id50_.glowStrength = 1000; __id50_.gridFitType = "pixel"; __id50_.italic = false; __id50_.selectable = false; __id50_.underline = false; try { __id50_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onMainMenuClicked(_arg1:MouseEvent):void{ Engine.instance.backToMainMenu(); } } }//package uk.co.kempt.uphillvegas.display.menu
Section 203
//NoteTrail (uk.co.kempt.uphillvegas.display.particles.NoteTrail) package uk.co.kempt.uphillvegas.display.particles { import uk.co.kempt.uphillvegas.display.*; public class NoteTrail extends PlayOnce { } }//package uk.co.kempt.uphillvegas.display.particles
Section 204
//NoteTrail2 (uk.co.kempt.uphillvegas.display.particles.NoteTrail2) package uk.co.kempt.uphillvegas.display.particles { import uk.co.kempt.uphillvegas.display.*; public class NoteTrail2 extends PlayOnce { } }//package uk.co.kempt.uphillvegas.display.particles
Section 205
//StarTrail (uk.co.kempt.uphillvegas.display.particles.StarTrail) package uk.co.kempt.uphillvegas.display.particles { import uk.co.kempt.uphillvegas.display.*; public class StarTrail extends PlayOnce { } }//package uk.co.kempt.uphillvegas.display.particles
Section 206
//CarSprite (uk.co.kempt.uphillvegas.display.CarSprite) package uk.co.kempt.uphillvegas.display { import flash.display.*; public class CarSprite extends Sprite { public var elvis:MovieClip; public var body:MovieClip; public var rearWheel:MovieClip; public var frontWheel:MovieClip; public function CarSprite(){ body.gotoAndStop("idle"); } public function spin():void{ body.gotoAndStop("spin"); frontWheel.visible = false; rearWheel.visible = false; } public function idle():void{ body.gotoAndStop("idle"); frontWheel.visible = true; rearWheel.visible = true; } } }//package uk.co.kempt.uphillvegas.display
Section 207
//GameBackground (uk.co.kempt.uphillvegas.display.GameBackground) package uk.co.kempt.uphillvegas.display { import flash.geom.*; import flash.display.*; public class GameBackground extends Sprite { private static const HORIZONTAL_RATIO:Number = 0.1; private static const VERTICAL_RATIO:Number = 0.1; private static const OFFSET:Point = new Point(-205, -200); public function update(_arg1:Rectangle):void{ x = (OFFSET.x - (_arg1.x * HORIZONTAL_RATIO)); y = (OFFSET.y - (_arg1.y * VERTICAL_RATIO)); while (x > 0) { x = (x - (width / 2)); }; while (x < (_arg1.width - width)) { x = (x + (width / 2)); }; y = Math.max((-(height) + _arg1.height), Math.min(0, y)); } } }//package uk.co.kempt.uphillvegas.display
Section 208
//LevelNumberSprite (uk.co.kempt.uphillvegas.display.LevelNumberSprite) package uk.co.kempt.uphillvegas.display { import flash.display.*; import uk.co.kempt.uphillvegas.*; public class LevelNumberSprite extends MovieClip { public function LevelNumberSprite(){ gotoAndStop(("level" + Engine.CURRENT_LEVEL)); } } }//package uk.co.kempt.uphillvegas.display
Section 209
//LevelSelector (uk.co.kempt.uphillvegas.display.LevelSelector) package uk.co.kempt.uphillvegas.display { import fl.controls.*; import flash.display.*; import flash.events.*; import uk.co.kempt.uphillvegas.*; public class LevelSelector extends Sprite { public var level1:Button; public var level2:Button; public var level3:Button; public var level4:Button; public var level5:Button; public var level6:Button; public var level8:Button; public var level7:Button; public function LevelSelector(){ addListeners(); __setProp_level1_LevelSelector_Layer1_0(); __setProp_level2_LevelSelector_Layer1_0(); __setProp_level3_LevelSelector_Layer1_0(); __setProp_level4_LevelSelector_Layer1_0(); __setProp_level5_LevelSelector_Layer1_0(); __setProp_level6_LevelSelector_Layer1_0(); __setProp_level7_LevelSelector_Layer1_0(); __setProp_level8_LevelSelector_Layer1_0(); } function __setProp_level8_LevelSelector_Layer1_0(){ try { level8["componentInspectorSetting"] = true; } catch(e:Error) { }; level8.emphasized = false; level8.enabled = true; level8.label = "level8"; level8.labelPlacement = "right"; level8.selected = false; level8.toggle = false; level8.visible = true; try { level8["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_level5_LevelSelector_Layer1_0(){ try { level5["componentInspectorSetting"] = true; } catch(e:Error) { }; level5.emphasized = false; level5.enabled = true; level5.label = "level5"; level5.labelPlacement = "right"; level5.selected = false; level5.toggle = false; level5.visible = true; try { level5["componentInspectorSetting"] = false; } catch(e:Error) { }; } protected function startLevel(_arg1:int):void{ removeListeners(); Engine.CURRENT_LEVEL = _arg1; Engine.instance.init(); } function __setProp_level3_LevelSelector_Layer1_0(){ try { level3["componentInspectorSetting"] = true; } catch(e:Error) { }; level3.emphasized = false; level3.enabled = true; level3.label = "level3"; level3.labelPlacement = "right"; level3.selected = false; level3.toggle = false; level3.visible = true; try { level3["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_level1_LevelSelector_Layer1_0(){ try { level1["componentInspectorSetting"] = true; } catch(e:Error) { }; level1.emphasized = false; level1.enabled = true; level1.label = "level1"; level1.labelPlacement = "right"; level1.selected = false; level1.toggle = false; level1.visible = true; try { level1["componentInspectorSetting"] = false; } catch(e:Error) { }; } protected function removeListeners():void{ level1.removeEventListener(MouseEvent.CLICK, onButtonClicked); level2.removeEventListener(MouseEvent.CLICK, onButtonClicked); level3.removeEventListener(MouseEvent.CLICK, onButtonClicked); level4.removeEventListener(MouseEvent.CLICK, onButtonClicked); level5.removeEventListener(MouseEvent.CLICK, onButtonClicked); level6.removeEventListener(MouseEvent.CLICK, onButtonClicked); level7.removeEventListener(MouseEvent.CLICK, onButtonClicked); level8.removeEventListener(MouseEvent.CLICK, onButtonClicked); } protected function addListeners():void{ level1.addEventListener(MouseEvent.CLICK, onButtonClicked); level2.addEventListener(MouseEvent.CLICK, onButtonClicked); level3.addEventListener(MouseEvent.CLICK, onButtonClicked); level4.addEventListener(MouseEvent.CLICK, onButtonClicked); level5.addEventListener(MouseEvent.CLICK, onButtonClicked); level6.addEventListener(MouseEvent.CLICK, onButtonClicked); level7.addEventListener(MouseEvent.CLICK, onButtonClicked); level8.addEventListener(MouseEvent.CLICK, onButtonClicked); } function __setProp_level6_LevelSelector_Layer1_0(){ try { level6["componentInspectorSetting"] = true; } catch(e:Error) { }; level6.emphasized = false; level6.enabled = true; level6.label = "level6"; level6.labelPlacement = "right"; level6.selected = false; level6.toggle = false; level6.visible = true; try { level6["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_level4_LevelSelector_Layer1_0(){ try { level4["componentInspectorSetting"] = true; } catch(e:Error) { }; level4.emphasized = false; level4.enabled = true; level4.label = "level4"; level4.labelPlacement = "right"; level4.selected = false; level4.toggle = false; level4.visible = true; try { level4["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_level2_LevelSelector_Layer1_0(){ try { level2["componentInspectorSetting"] = true; } catch(e:Error) { }; level2.emphasized = false; level2.enabled = true; level2.label = "level2"; level2.labelPlacement = "right"; level2.selected = false; level2.toggle = false; level2.visible = true; try { level2["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onButtonClicked(_arg1:MouseEvent):void{ switch (_arg1.currentTarget){ case level1: startLevel(1); break; case level2: startLevel(2); break; case level3: startLevel(3); break; case level4: startLevel(4); break; case level5: startLevel(5); break; case level6: startLevel(6); break; case level7: startLevel(7); break; case level8: startLevel(8); break; }; } function __setProp_level7_LevelSelector_Layer1_0(){ try { level7["componentInspectorSetting"] = true; } catch(e:Error) { }; level7.emphasized = false; level7.enabled = true; level7.label = "level7"; level7.labelPlacement = "right"; level7.selected = false; level7.toggle = false; level7.visible = true; try { level7["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package uk.co.kempt.uphillvegas.display
Section 210
//LivesNumberSprite (uk.co.kempt.uphillvegas.display.LivesNumberSprite) package uk.co.kempt.uphillvegas.display { import flash.text.*; import com.google.analytics.debug.*; import uk.co.kempt.uphillvegas.*; public class LivesNumberSprite extends UISprite { public var lives_txt:TextField; public function LivesNumberSprite(){ lives_txt.text = Engine.instance.hud.lives.toString(); } } }//package uk.co.kempt.uphillvegas.display
Section 211
//MenuScreen (uk.co.kempt.uphillvegas.display.MenuScreen) package uk.co.kempt.uphillvegas.display { import flash.display.*; import flash.events.*; import spill.localisation.*; import uk.co.kempt.uphillvegas.*; import flash.utils.*; public class MenuScreen extends MovieClip { public var htpBack_btn:SimpleButton; public var htpNext_btn:SimpleButton; public var __id29_:LocalizedTextField; public var mainMenu_btn:SimpleButton; public var __setPropDict:Dictionary; public var __id30_:LanguageSelectBox; public var __id31_:LanguageSelectBox; public var __id21_:LanguageSelectBox; public var __id22_:LocalizedTextField; public var __id23_:LocalizedTextField; public var __id24_:LocalizedTextField; public var levelSelector:LevelSelector; public var kv_btn:SimpleButton; public var __id25_:LocalizedTextField; public var __id26_:LocalizedTextField; public var __id27_:LocalizedTextField; public var __id28_:LocalizedTextField; public static const LEVEL_NUMBER:String = "level number"; public static const SCORE:String = "score"; private static const HOW_TO_PLAY_PAGES:Array = [HOW_TO_PLAY_1, HOW_TO_PLAY_2, HOW_TO_PLAY_3, HOW_TO_PLAY_4, HOW_TO_PLAY_5, HOW_TO_PLAY_6]; public static const GAME_OVER:String = "game over"; public static const PAUSE:String = "pause menu"; public static const HOW_TO_PLAY_1:String = "how to play 1"; public static const HOW_TO_PLAY_2:String = "how to play 2"; public static const HOW_TO_PLAY_3:String = "how to play 3"; public static const LAST_LIFE_LOST:String = "last life lost"; public static const HOW_TO_PLAY_5:String = "how to play 5"; public static const HOW_TO_PLAY_6:String = "how to play 6"; public static const TRY_AGAIN:String = "try again"; public static const HOW_TO_PLAY_4:String = "how to play 4"; public static const GAME_COMPLETE:String = "game complete"; public static const HOW_TO_PLAY:String = "how to play"; public static const SUPER_BONUS:String = "super bonus"; public static const START_PAGE:String = "start page"; public static const PAUSE_CLOSE:String = "pause close"; public static const BLANK:String = "blank"; public static const LEVEL_SELECT:String = "levelSelect"; public static const COMPLETE:String = "level complete"; public static const FAILED:String = "life lost"; public function MenuScreen(){ __setPropDict = new Dictionary(true); addFrameScript(6, frame7, 57, frame58, 70, frame71, 88, frame89, 103, frame104, 118, frame119, 135, frame136, 182, frame183, 192, frame193, 214, frame215, 223, frame224, 278, frame279, 284, frame285, 302, frame303, 308, frame309, 315, frame316, 316, frame317, 322, frame323, 361, frame362, 376, frame377, 426, frame427, 488, frame489, 506, frame507, 516, frame517, 574, frame575, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 62, frame63, 63, frame64, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 71, frame72, 72, frame73, 73, frame74, 74, frame75, 75, frame76, 76, frame77, 77, frame78, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 85, frame86, 86, frame87, 87, frame88, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 95, frame96, 96, frame97, 97, frame98, 98, frame99, 99, frame100, 100, frame101, 101, frame102, 102, frame103, 104, frame105, 105, frame106, 106, frame107, 107, frame108, 108, frame109, 109, frame110, 110, frame111, 111, frame112, 112, frame113, 113, frame114, 114, frame115, 115, frame116, 116, frame117, 117, frame118, 119, frame120, 120, frame121, 121, frame122, 122, frame123, 123, frame124, 124, frame125, 125, frame126, 126, frame127, 127, frame128, 128, frame129, 129, frame130, 130, frame131, 131, frame132, 132, frame133, 133, frame134, 134, frame135, 136, frame137, 137, frame138, 138, frame139, 139, frame140, 140, frame141, 141, frame142, 142, frame143, 143, frame144, 144, frame145, 145, frame146, 146, frame147, 147, frame148, 148, frame149, 317, frame318, 318, frame319, 319, frame320, 320, frame321, 321, frame322, 323, frame324, 324, frame325, 325, frame326, 326, frame327, 327, frame328, 328, frame329, 329, frame330, 330, frame331, 331, frame332, 332, frame333, 333, frame334, 334, frame335, 335, frame336, 336, frame337, 337, frame338, 338, frame339, 339, frame340, 340, frame341, 341, frame342, 342, frame343, 343, frame344, 344, frame345, 345, frame346, 346, frame347, 347, frame348, 348, frame349, 349, frame350, 350, frame351, 351, frame352, 352, frame353); super(); } function frame279(){ onLevelCompletePageClosing(); } private function onLevelCompletePageShowing():void{ } function __setProp___id26__MenuScreen_Layer2_50(){ try { __id26_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id26_.text = "{lives}"; __id26_.textColor = 16606666; __id26_.textSize = 14; __id26_.bold = false; __id26_.disableWordwrap = false; __id26_.embedFonts = true; __id26_.font = "TypographyofCoop-Black"; __id26_.hAlign = "center"; __id26_.multiline = false; __id26_.vAlign = "middle"; __id26_.antiAliasType = "advanced"; __id26_.glowBlur = 4; __id26_.glowColor = 0; __id26_.useGlowFilter = true; __id26_.glowQuality = 1; __id26_.glowStrength = 1000; __id26_.gridFitType = "pixel"; __id26_.italic = false; __id26_.selectable = false; __id26_.underline = false; try { __id26_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame285(){ onLevelCompletePageHidden(); } private function onTryAgainPageShowing():void{ } private function onLevelFailedPageHidden():void{ show(TRY_AGAIN); } private function onScorePageShowing():void{ } function frame10(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame11(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame12(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame13(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame14(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame15(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame16(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame17(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame18(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame19(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame183(){ stop(); } function frame1(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame2(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame3(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame4(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame5(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame6(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame7(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; stop(); onStartPageShowing(); } function frame8(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame9(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame22(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } private function onPausePageShowing():void{ } function frame507(){ onLevelFailedPageHidden(); } private function onMainMenuClicked(_arg1:MouseEvent):void{ addHowToPlayListeners(false); Engine.instance.onHowToPlayEndReached(); } function frame26(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame20(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } private function onStartPageShowing():void{ } function frame29(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame23(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } private function onHowToPlayPageShowing():void{ addHowToPlayListeners(); } function __setProp___id23__MenuScreen_buttons_50(){ try { __id23_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id23_.text = "{htp_mainmenu}"; __id23_.textColor = 0xFFA600; __id23_.textSize = 14; __id23_.bold = false; __id23_.disableWordwrap = false; __id23_.embedFonts = true; __id23_.font = "TypographyofCoop-Black"; __id23_.hAlign = "center"; __id23_.multiline = false; __id23_.vAlign = "middle"; __id23_.antiAliasType = "advanced"; __id23_.glowBlur = 4; __id23_.glowColor = 0; __id23_.useGlowFilter = true; __id23_.glowQuality = 1; __id23_.glowStrength = 1000; __id23_.gridFitType = "pixel"; __id23_.italic = false; __id23_.selectable = false; __id23_.underline = false; try { __id23_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame27(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame28(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function __setProp___id29__MenuScreen_hud_50(){ try { __id29_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id29_.text = "{hud_turbopower}"; __id29_.textColor = 16672459; __id29_.textSize = 18; __id29_.bold = false; __id29_.disableWordwrap = false; __id29_.embedFonts = true; __id29_.font = "TypographyofCoop-Black"; __id29_.hAlign = "left"; __id29_.multiline = false; __id29_.vAlign = "middle"; __id29_.antiAliasType = "advanced"; __id29_.glowBlur = 4; __id29_.glowColor = 0; __id29_.useGlowFilter = false; __id29_.glowQuality = 1; __id29_.glowStrength = 1000; __id29_.gridFitType = "pixel"; __id29_.italic = false; __id29_.selectable = false; __id29_.underline = false; try { __id29_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame193(){ onLevelFailedPageShowing(); } function frame25(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame21(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame24(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame30(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame31(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame32(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame33(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame517(){ stop(); } function frame35(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame36(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame37(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame38(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame39(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame34(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function __setProp___id28__MenuScreen_Layer2_50(){ try { __id28_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id28_.text = "{pause}"; __id28_.textColor = 0xFFA600; __id28_.textSize = 14; __id28_.bold = false; __id28_.disableWordwrap = false; __id28_.embedFonts = true; __id28_.font = "TypographyofCoop-Black"; __id28_.hAlign = "center"; __id28_.multiline = false; __id28_.vAlign = "middle"; __id28_.antiAliasType = "advanced"; __id28_.glowBlur = 4; __id28_.glowColor = 0; __id28_.useGlowFilter = true; __id28_.glowQuality = 1; __id28_.glowStrength = 1000; __id28_.gridFitType = "pixel"; __id28_.italic = false; __id28_.selectable = false; __id28_.underline = false; try { __id28_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onKillerViralClicked(_arg1:MouseEvent):void{ Engine.instance.onKillerViralClicked(); } function frame40(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame42(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame43(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame44(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame45(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame46(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame47(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame41(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame49(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame48(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } private function addHowToPlayListeners(_arg1:Boolean=true):void{ if (_arg1){ if (htpBack_btn){ htpBack_btn.addEventListener(MouseEvent.CLICK, onHowToPlayBackClicked, false, 0, true); }; if (mainMenu_btn){ mainMenu_btn.addEventListener(MouseEvent.CLICK, onMainMenuClicked, false, 0, true); }; if (htpNext_btn){ htpNext_btn.addEventListener(MouseEvent.CLICK, onHowToPlayNextClicked, false, 0, true); }; } else { if (htpBack_btn){ htpBack_btn.removeEventListener(MouseEvent.CLICK, onHowToPlayBackClicked); }; if (mainMenu_btn){ mainMenu_btn.removeEventListener(MouseEvent.CLICK, onMainMenuClicked); }; if (htpNext_btn){ htpNext_btn.removeEventListener(MouseEvent.CLICK, onHowToPlayNextClicked); }; }; } function frame50(){ if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 50))))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__MenuScreen_langBtn_0(); }; } function frame51(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame52(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame53(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame54(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame55(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame56(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame57(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame58(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; stop(); onHowToPlayPageShowing(); } function frame59(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function __setProp___id25__MenuScreen_Layer2_50(){ try { __id25_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id25_.text = "{hud_time}"; __id25_.textColor = 16606666; __id25_.textSize = 14; __id25_.bold = false; __id25_.disableWordwrap = false; __id25_.embedFonts = true; __id25_.font = "TypographyofCoop-Black"; __id25_.hAlign = "center"; __id25_.multiline = false; __id25_.vAlign = "middle"; __id25_.antiAliasType = "advanced"; __id25_.glowBlur = 4; __id25_.glowColor = 0; __id25_.useGlowFilter = true; __id25_.glowQuality = 1; __id25_.glowStrength = 1000; __id25_.gridFitType = "pixel"; __id25_.italic = false; __id25_.selectable = false; __id25_.underline = false; try { __id25_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id30__MenuScreen_langBtn_316(){ try { __id30_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id30_.popupLocation = "bottom"; try { __id30_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame60(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame61(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame303(){ stop(); onScorePageShowing(); } function frame63(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame64(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame427(){ stop(); } function frame66(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame67(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame309(){ onScorePageClosing(); } function frame62(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame65(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame68(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } private function onLevelCompletePageHidden():void{ show(SCORE); } public function show(_arg1:String):void{ gotoAndPlay(_arg1); triggerMusic(_arg1); } function frame69(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame71(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; stop(); onHowToPlayPageShowing(); } private function onLevelCompletePageClosing():void{ Engine.instance.sfxMan.menuHide(); } function frame73(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame74(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame316(){ onScorePageHidden(); } function frame317(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; onLevelCompletePageShowing(); } function frame70(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame78(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame79(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame75(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame76(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame77(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame319(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame72(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame318(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function __setProp___id21__MenuScreen_langBtn_0(){ try { __id21_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id21_.popupLocation = "bottom"; try { __id21_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame320(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame81(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame323(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; stop(); } function frame83(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame84(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame85(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame86(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame80(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame88(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame89(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; stop(); onHowToPlayPageShowing(); } function frame324(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame325(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame326(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame327(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } private function onScorePageClosing():void{ Engine.instance.sfxMan.menuHide(); } function frame321(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame322(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame82(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame87(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame329(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame330(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame91(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame575(){ onLastLifeLostPageHidden(); } function frame93(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame94(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame215(){ onLevelFailedPageHidden(); } function frame96(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame90(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame98(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } protected function triggerMusic(_arg1:String):void{ switch (_arg1){ case START_PAGE: case HOW_TO_PLAY: Engine.instance.musicMan.start(MusicMan.MAIN_SCREEN); break; case LEVEL_NUMBER: case PAUSE_CLOSE: Engine.instance.musicMan.start(MusicMan.LEVEL); Engine.instance.sfxMan.resumeGame(); break; case PAUSE: Engine.instance.musicMan.stop(); Engine.instance.sfxMan.pauseGame(); break; case FAILED: case LAST_LIFE_LOST: Engine.instance.musicMan.start(MusicMan.LEVEL_FAILED); Engine.instance.sfxMan.failed(); break; case COMPLETE: Engine.instance.musicMan.start(MusicMan.LEVEL_WIN); Engine.instance.sfxMan.menuShow(); break; case GAME_COMPLETE: Engine.instance.musicMan.start(MusicMan.GAME_COMPLETE); break; case TRY_AGAIN: case GAME_OVER: Engine.instance.sfxMan.tryAgainMenu(); break; case SCORE: Engine.instance.sfxMan.menuShow(); break; }; } function frame328(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame335(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame95(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame337(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame97(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame331(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } private function onLevelFailedPageShowing():void{ } function frame92(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function __setProp___id24__MenuScreen_buttons_50(){ try { __id24_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id24_.text = "{htp_back}"; __id24_.textColor = 0xFFA600; __id24_.textSize = 14; __id24_.bold = false; __id24_.disableWordwrap = false; __id24_.embedFonts = true; __id24_.font = "TypographyofCoop-Black"; __id24_.hAlign = "center"; __id24_.multiline = false; __id24_.vAlign = "middle"; __id24_.antiAliasType = "advanced"; __id24_.glowBlur = 4; __id24_.glowColor = 0; __id24_.useGlowFilter = true; __id24_.glowQuality = 1; __id24_.glowStrength = 1000; __id24_.gridFitType = "pixel"; __id24_.italic = false; __id24_.selectable = false; __id24_.underline = false; try { __id24_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame336(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame338(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame339(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame99(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame332(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame333(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function __setProp___id27__MenuScreen_Layer2_50(){ try { __id27_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id27_.text = "{score}"; __id27_.textColor = 16606666; __id27_.textSize = 14; __id27_.bold = false; __id27_.disableWordwrap = false; __id27_.embedFonts = true; __id27_.font = "TypographyofCoop-Black"; __id27_.hAlign = "center"; __id27_.multiline = false; __id27_.vAlign = "middle"; __id27_.antiAliasType = "advanced"; __id27_.glowBlur = 4; __id27_.glowColor = 0; __id27_.useGlowFilter = true; __id27_.glowQuality = 1; __id27_.glowStrength = 1000; __id27_.gridFitType = "pixel"; __id27_.italic = false; __id27_.selectable = false; __id27_.underline = false; try { __id27_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame340(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame100(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame101(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame102(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame224(){ stop(); onTryAgainPageShowing(); } function frame104(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; stop(); onHowToPlayPageShowing(); } function frame105(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame106(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame107(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } private function onScorePageHidden():void{ Engine.instance.nextLevel(); } function frame109(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } private function onLastLifeLostPageHidden():void{ show(GAME_OVER); } function frame346(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame347(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame348(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame341(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame108(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame334(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame344(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame103(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame349(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame342(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame343(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame345(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame350(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame111(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame112(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame113(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } private function onHowToPlayBackClicked(_arg1:MouseEvent):void{ var _local2:Array; var _local3:int; if (currentLabel == HOW_TO_PLAY_1){ } else { _local2 = HOW_TO_PLAY_PAGES; _local3 = (_local2.indexOf(currentLabel) - 1); addHowToPlayListeners(false); show(_local2[_local3]); }; } function frame116(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame110(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame118(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame119(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; stop(); onHowToPlayPageShowing(); } function frame115(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame117(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame352(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame353(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame114(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function __setProp___id22__MenuScreen_buttons_50(){ try { __id22_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id22_.text = "{htp_next}"; __id22_.textColor = 0xFFA600; __id22_.textSize = 14; __id22_.bold = false; __id22_.disableWordwrap = false; __id22_.embedFonts = true; __id22_.font = "TypographyofCoop-Black"; __id22_.hAlign = "center"; __id22_.multiline = false; __id22_.vAlign = "middle"; __id22_.antiAliasType = "advanced"; __id22_.glowBlur = 4; __id22_.glowColor = 0; __id22_.useGlowFilter = true; __id22_.glowQuality = 1; __id22_.glowStrength = 1000; __id22_.gridFitType = "pixel"; __id22_.italic = false; __id22_.selectable = false; __id22_.underline = false; try { __id22_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame351(){ if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 317)) && ((int(__setPropDict[__id31_]) <= 353))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__MenuScreen_langBtn_316(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 317)) && ((int(__setPropDict[__id30_]) <= 353))))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__MenuScreen_langBtn_316(); }; } function frame362(){ stop(); onPausePageShowing(); } function frame121(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame122(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame123(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame124(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame125(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame489(){ onLevelFailedPageShowing(); } function frame120(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame128(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame129(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame126(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame127(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame130(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame131(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame132(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame133(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame134(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame377(){ stop(); } function frame136(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; stop(); onHowToPlayPageShowing(); } function frame137(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame138(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame139(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame135(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame140(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame141(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame142(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame143(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame144(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame145(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function __setProp___id31__MenuScreen_langBtn_316(){ try { __id31_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id31_.popupLocation = "bottom"; try { __id31_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame147(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame148(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame149(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } function frame146(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 51)) && ((int(__setPropDict[__id29_]) <= 149))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__MenuScreen_hud_50(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 51)) && ((int(__setPropDict[__id28_]) <= 149))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 51)) && ((int(__setPropDict[__id27_]) <= 149))))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 51)) && ((int(__setPropDict[__id26_]) <= 149))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 51)) && ((int(__setPropDict[__id25_]) <= 149))))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__MenuScreen_Layer2_50(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 51)) && ((int(__setPropDict[__id24_]) <= 149))))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 149))))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__MenuScreen_buttons_50(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 51)) && ((int(__setPropDict[__id22_]) <= 149))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__MenuScreen_buttons_50(); }; } private function onHowToPlayNextClicked(_arg1:MouseEvent):void{ var _local2:Array; var _local3:int; if (currentLabel == HOW_TO_PLAY_6){ Engine.instance.onHowToPlayEndReached(); } else { _local2 = HOW_TO_PLAY_PAGES; _local3 = (_local2.indexOf(currentLabel) + 1); addHowToPlayListeners(false); show(_local2[_local3]); }; } } }//package uk.co.kempt.uphillvegas.display
Section 212
//PlayOnce (uk.co.kempt.uphillvegas.display.PlayOnce) package uk.co.kempt.uphillvegas.display { import flash.display.*; import uk.co.kempt.uphillvegas.utils.*; public class PlayOnce extends MovieClip { public function PlayOnce(){ addFrameScript((totalFrames - 1), die); } public function die():void{ GarbageUtil.kill(this); } } }//package uk.co.kempt.uphillvegas.display
Section 213
//ScoreNumberSprite (uk.co.kempt.uphillvegas.display.ScoreNumberSprite) package uk.co.kempt.uphillvegas.display { import flash.display.*; import flash.text.*; import uk.co.kempt.uphillvegas.*; public class ScoreNumberSprite extends Sprite { public var score_txt:TextField; public function ScoreNumberSprite(){ score_txt.text = Engine.instance.scoreMan.score.toString(); } } }//package uk.co.kempt.uphillvegas.display
Section 214
//TrickLabelSprite (uk.co.kempt.uphillvegas.display.TrickLabelSprite) package uk.co.kempt.uphillvegas.display { import flash.display.*; import flash.text.*; public class TrickLabelSprite extends MovieClip { private var _label:String; public var label_txt:TextField; public function TrickLabelSprite(){ stop(); } public function get label():String{ return (_label); } public function set label(_arg1:String):void{ gotoAndStop(_arg1); _label = _arg1; if (currentLabel != _label){ gotoAndStop("numbers"); }; if (currentLabel == "numbers"){ if (label_txt){ label_txt.text = _arg1; label_txt.visible = true; } else { trace(((("### label textfield missing ### " + "~") + _arg1) + "~")); }; } else { if (label_txt){ label_txt.visible = false; }; }; } } }//package uk.co.kempt.uphillvegas.display
Section 215
//TurboMeter (uk.co.kempt.uphillvegas.display.TurboMeter) package uk.co.kempt.uphillvegas.display { import flash.display.*; import flash.events.*; import uk.co.kempt.uphillvegas.*; public class TurboMeter extends Sprite { private var _state:String; public var bar:MovieClip; private var _value:int;// = 0 private static const START_FRAME:int = 1; private static const END_FRAME:int = 86; private static const DRAINING:String = "draining"; private static const LIMIT:Number = 5; private static const NORMAL:String = "normal"; public function TurboMeter(){ bar.stop(); addEventListener(Event.ENTER_FRAME, onEnterFrameEvent, false, 0, true); _state = NORMAL; } private function updateDraining():void{ if (bar.currentLabel != "top boost"){ _state = NORMAL; }; } public function set value(_arg1:int):void{ if (_state == DRAINING){ return; }; _value = _arg1; if (_arg1 >= LIMIT){ _value = LIMIT; onLimitReached(); }; } protected function getTargetFrame():int{ return ((START_FRAME + (((END_FRAME - START_FRAME) * value) / LIMIT))); } public function get full():Boolean{ return ((((_value >= LIMIT)) && ((bar.currentFrame == getTargetFrame())))); } private function updateNormal():void{ var _local1:int = getTargetFrame(); if (bar.currentFrame < _local1){ bar.nextFrame(); } else { if (bar.currentFrame > _local1){ bar.prevFrame(); }; }; } public function get value():int{ return (_value); } private function onEnterFrameEvent(_arg1:Event):void{ switch (_state){ case NORMAL: updateNormal(); break; case DRAINING: updateDraining(); break; }; } private function onLimitReached():void{ dispatchEvent(new Event(Event.COMPLETE)); } public function drain():void{ Debug.log("drain turbo"); _value = 0; _state = DRAINING; bar.gotoAndPlay("top boost"); } } }//package uk.co.kempt.uphillvegas.display
Section 216
//VegasHUD (uk.co.kempt.uphillvegas.display.VegasHUD) package uk.co.kempt.uphillvegas.display { import flash.display.*; import flash.text.*; import flash.events.*; import spill.localisation.*; import uk.co.kempt.uphillvegas.*; import com.spilgames.api.*; public class VegasHUD extends Sprite { private var _points:int; public var __id64_:LocalizedTextField; public var __id62_:LocalizedTextField; public var turboMeter:TurboMeter; private var _lives:int; public var pause_btn:SimpleButton; public var points_txt:TextField; public var chips_txt:TextField; public var __id65_:LocalizedTextField; public var __id63_:LocalizedTextField; public var messageEngine:MessageEngine; private var _time:int; private var _chips:int; public var __id61_:LocalizedTextField; public var lives_txt:TextField; public var time_txt:TextField; public static const TOTAL_CHIPS_FOR_AWARD_2:int = 50; public function VegasHUD(){ chips = 0; time = 90; messageEngine = new MessageEngine(); addChild(messageEngine); pause_btn.addEventListener(MouseEvent.CLICK, onPauseClicked, false, 0, true); if (points_txt){ points_txt.wordWrap = false; points_txt.multiline = false; points_txt.autoSize = TextFieldAutoSize.CENTER; }; __setProp___id61__VegasHUD_Layer17_0(); __setProp___id62__VegasHUD_Layer17_0(); __setProp___id63__VegasHUD_Layer17_0(); __setProp___id64__VegasHUD_Layer17_0(); __setProp___id65__VegasHUD_Layer17_0(); } public function get lives():int{ return (_lives); } public function update():void{ messageEngine.update(); } public function get time():int{ return (_time); } function __setProp___id65__VegasHUD_Layer17_0(){ try { __id65_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id65_.text = "{hud_turbopower}"; __id65_.textColor = 16672459; __id65_.textSize = 18; __id65_.bold = false; __id65_.disableWordwrap = false; __id65_.embedFonts = true; __id65_.font = "TypographyofCoop-Black"; __id65_.hAlign = "left"; __id65_.multiline = false; __id65_.vAlign = "middle"; __id65_.antiAliasType = "advanced"; __id65_.glowBlur = 4; __id65_.glowColor = 0; __id65_.useGlowFilter = false; __id65_.glowQuality = 1; __id65_.glowStrength = 1000; __id65_.gridFitType = "pixel"; __id65_.italic = false; __id65_.selectable = false; __id65_.underline = false; try { __id65_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function set chips(_arg1:int):void{ _chips = _arg1; chips_txt.text = _arg1.toString(); if (chips == TOTAL_CHIPS_FOR_AWARD_2){ trace("award 2"); AwardsService.submitAward("award2"); }; } public function set time(_arg1:int):void{ _time = _arg1; time_txt.text = formatTime(_arg1); } public function set lives(_arg1:int):void{ _lives = _arg1; if (lives_txt){ lives_txt.text = _arg1.toString(); }; } public function set points(_arg1:int):void{ _points = _arg1; if (points_txt){ points_txt.text = _arg1.toString(); }; } function __setProp___id63__VegasHUD_Layer17_0(){ try { __id63_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id63_.text = "{pause}"; __id63_.textColor = 0xFFA600; __id63_.textSize = 14; __id63_.bold = false; __id63_.disableWordwrap = false; __id63_.embedFonts = true; __id63_.font = "TypographyofCoop-Black"; __id63_.hAlign = "right"; __id63_.multiline = false; __id63_.vAlign = "middle"; __id63_.antiAliasType = "advanced"; __id63_.glowBlur = 4; __id63_.glowColor = 0; __id63_.useGlowFilter = true; __id63_.glowQuality = 1; __id63_.glowStrength = 1000; __id63_.gridFitType = "pixel"; __id63_.italic = false; __id63_.selectable = false; __id63_.underline = false; try { __id63_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id64__VegasHUD_Layer17_0(){ try { __id64_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id64_.text = "{lives}"; __id64_.textColor = 16606666; __id64_.textSize = 14; __id64_.bold = false; __id64_.disableWordwrap = false; __id64_.embedFonts = true; __id64_.font = "TypographyofCoop-Black"; __id64_.hAlign = "center"; __id64_.multiline = false; __id64_.vAlign = "middle"; __id64_.antiAliasType = "advanced"; __id64_.glowBlur = 4; __id64_.glowColor = 0; __id64_.useGlowFilter = true; __id64_.glowQuality = 1; __id64_.glowStrength = 1000; __id64_.gridFitType = "pixel"; __id64_.italic = false; __id64_.selectable = false; __id64_.underline = false; try { __id64_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function get points():int{ return (_points); } protected function formatTime(_arg1:int):String{ var _local2:Number = _arg1; var _local3:int; while (_local2 >= 60) { _local2 = (_local2 - 60); _local3++; }; return ((((_local3.toString() + ".") + ((_local2.toString().length == 1)) ? "0" : "") + _local2.toString())); } public function get chips():int{ return (_chips); } function __setProp___id62__VegasHUD_Layer17_0(){ try { __id62_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id62_.text = "{score}"; __id62_.textColor = 16606666; __id62_.textSize = 14; __id62_.bold = false; __id62_.disableWordwrap = false; __id62_.embedFonts = true; __id62_.font = "TypographyofCoop-Black"; __id62_.hAlign = "center"; __id62_.multiline = false; __id62_.vAlign = "middle"; __id62_.antiAliasType = "advanced"; __id62_.glowBlur = 4; __id62_.glowColor = 0; __id62_.useGlowFilter = true; __id62_.glowQuality = 1; __id62_.glowStrength = 1000; __id62_.gridFitType = "pixel"; __id62_.italic = false; __id62_.selectable = false; __id62_.underline = false; try { __id62_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id61__VegasHUD_Layer17_0(){ try { __id61_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id61_.text = "{hud_time}"; __id61_.textColor = 16606666; __id61_.textSize = 14; __id61_.bold = false; __id61_.disableWordwrap = false; __id61_.embedFonts = true; __id61_.font = "TypographyofCoop-Black"; __id61_.hAlign = "center"; __id61_.multiline = false; __id61_.vAlign = "middle"; __id61_.antiAliasType = "advanced"; __id61_.glowBlur = 4; __id61_.glowColor = 0; __id61_.useGlowFilter = true; __id61_.glowQuality = 1; __id61_.glowStrength = 1000; __id61_.gridFitType = "pixel"; __id61_.italic = false; __id61_.selectable = false; __id61_.underline = false; try { __id61_["componentInspectorSetting"] = false; } catch(e:Error) { }; } private function onPauseClicked(_arg1:MouseEvent):void{ Engine.instance.pauseWithMenu(!(Engine.instance.paused)); } } }//package uk.co.kempt.uphillvegas.display
Section 217
//VegasLoader (uk.co.kempt.uphillvegas.display.VegasLoader) package uk.co.kempt.uphillvegas.display { import flash.display.*; import flash.text.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class VegasLoader extends Sprite { private var _loaders:Dictionary; private var _startBytes:int; private var _state:String; private var _loaderInfos:Array; public var percent_txt:TextField; public var bar:Sprite; public static const LOADING:String = "loading"; public static const LOADED:String = "loaded"; public function VegasLoader(){ _loaderInfos = []; _loaders = new Dictionary(); _state = LOADING; addEventListener(Event.ENTER_FRAME, onEnterFrameEvent, false, 0, true); } private function updateLoading():void{ var _local3:LoaderInfo; var _local1:uint; var _local2:uint; var _local4:Boolean; var _local5:int; while (_local5 < _loaderInfos.length) { _local3 = _loaderInfos[_local5]; if (_local3.bytesTotal <= 0){ _local4 = true; } else { _local1 = (_local1 + _local3.bytesTotal); _local2 = (_local2 + _local3.bytesLoaded); if (!_local3.content){ _local4 = true; }; }; _local5++; }; if (_startBytes <= 0){ if (_local2 < _local1){ _startBytes = _local2; } else { _startBytes = 1; }; }; var _local6:Number = ((_local2 - _startBytes) / (_local1 - _startBytes)); bar.scaleX = _local6; if (percent_txt){ percent_txt.text = (Math.floor((_local6 * 100)).toString() + "%"); }; if (((!(_local4)) && ((_local2 == _local1)))){ _state = LOADED; dispatchEvent(new Event(Event.COMPLETE)); }; } public function get ready():Boolean{ return (!((state == LOADING))); } private function onLoaderCompleteEvent(_arg1:Event):void{ } public function addLoaderInfo(_arg1:LoaderInfo):void{ _loaderInfos.push(_arg1); } private function updateLoaded():void{ } public function update():void{ switch (_state){ case LOADING: updateLoading(); break; case LOADED: updateLoaded(); break; }; } public function get state():String{ return (_state); } public function load(_arg1:String):void{ var _local2:Loader = new Loader(); var _local3:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain); var _local4:URLRequest = new URLRequest(_arg1); _local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIOErrorEvent); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaderCompleteEvent); _local2.load(_local4, _local3); _loaderInfos.push(_local2.contentLoaderInfo); _loaders[_arg1] = _local2; _state = LOADING; } private function onIOErrorEvent(_arg1:IOErrorEvent):void{ } public function getLoader(_arg1:String):Loader{ return (_loaders[_arg1]); } private function onEnterFrameEvent(_arg1:Event):void{ update(); } } }//package uk.co.kempt.uphillvegas.display
Section 218
//Level (uk.co.kempt.uphillvegas.level.Level) package uk.co.kempt.uphillvegas.level { import org.cove.ape.*; import flash.geom.*; import flash.display.*; import flash.events.*; import uk.co.kempt.uphillvegas.*; import uk.co.kempt.uphillvegas.world.checkpoint.*; import uk.co.kempt.uphillvegas.utils.*; import uk.co.kempt.uphillvegas.world.*; import uk.co.kempt.uphillvegas.world.obstacle.*; import uk.co.kempt.uphillvegas.world.collectable.*; public class Level extends Sprite { private var _obstacles:Array; public var screenarea:MovieClip; private var _end:AbstractCheckpoint; private var _spatialHasher:SpatialHasher; private var _start:AbstractCheckpoint; private var _checkpoint:AbstractCheckpoint; private var _levelScaleY:Number;// = 1 private var _levelScaleX:Number;// = 1 public function Level(){ initLevel(); } public function die():void{ if (_spatialHasher){ _spatialHasher.die(); _spatialHasher = null; }; if (_start){ _start = null; }; if (_checkpoint){ _checkpoint = null; }; if (_end){ _end = null; }; if (_obstacles){ _obstacles = null; }; GarbageUtil.kill(this); if (parent){ parent.removeChild(this); }; } public function get checkpoint():AbstractCheckpoint{ return (_checkpoint); } public function update():void{ if (_checkpoint){ _checkpoint.update(); }; if (_end){ _end.update(); }; } protected function createRectangleParticle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ var _local6:RectangleParticle = new RectangleParticle((_arg1 / _levelScaleX), (_arg2 / _levelScaleY), (_arg3 / _levelScaleX), (_arg4 / _levelScaleY), ((_arg5 / 180) * Math.PI), true, 1, 0); _local6.friction = 0; _spatialHasher.addParticle(_local6); } protected function addParticlesFromGroup(_arg1:Group):void{ _arg1.particles.forEach(addParticle); } public function get checkpointPosition():Point{ if (_checkpoint){ return (new Point((_checkpoint.x / levelScaleX), (_checkpoint.y / levelScaleY))); }; return (null); } protected function createCircleParticle(_arg1:Number, _arg2:Number, _arg3:Number):void{ var _local4:CircleParticle = new CircleParticle((_arg1 / _levelScaleX), (_arg2 / _levelScaleY), (_arg3 / _levelScaleX), true, 1, 0); _local4.friction = 0; _spatialHasher.addParticle(_local4); } protected function initLevel():void{ Debug.log(("init level " + this)); _levelScaleX = 1; _levelScaleY = 1; if (screenarea){ _levelScaleX = screenarea.scaleX; _levelScaleY = screenarea.scaleY; if (screenarea.parent){ screenarea.parent.removeChild(screenarea); }; } else { Debug.warn("screenarea clip not found on level for scaling, defaulting to 100%"); }; _spatialHasher = new SpatialHasher(); _obstacles = []; searchDisplayList(); if (_end){ _end.addEventListener(Event.COMPLETE, onEndReached); } else { Debug.warn("no end checkpoint found in level."); }; if (!_start){ Debug.warn("no start checkpoint found in level."); }; if (!_checkpoint){ Debug.warn("no checkpoint found in level."); }; } protected function scaleGroup(_arg1:Group):void{ _arg1.getAll().forEach(scaleAll); } private function addParticle(_arg1:AbstractParticle, _arg2:int, _arg3:Array):void{ _spatialHasher.addParticle(_arg1); } public function get spatialHasher():SpatialHasher{ return (_spatialHasher); } public function removeParticle(_arg1:AbstractParticle):void{ _spatialHasher.removeParticle(_arg1); } public function get startPosition():Point{ if (_start){ return (new Point((_start.x / levelScaleX), (_start.y / levelScaleY))); }; return (null); } public function get levelScaleX():Number{ return (_levelScaleX); } public function get levelScaleY():Number{ return (_levelScaleY); } private function onEndReached(_arg1:Event):void{ dispatchEvent(new Event(Event.COMPLETE)); } private function scaleAll(_arg1, _arg2:int, _arg3:Array):void{ var _local4:RectangleParticle; var _local5:CircleParticle; if (!_arg1){ } else { if ((_arg1 is RectangleParticle)){ _local4 = (_arg1 as RectangleParticle); (_arg1 as RectangleParticle).width = (_local4.width * (1 / levelScaleX)); _local4.height = (_local4.height * (1 / levelScaleY)); _local4.height = Math.max(4, _local4.height); _local4.px = (_local4.px * (1 / levelScaleX)); _local4.py = (_local4.py * (1 / levelScaleY)); } else { if ((_arg1 is CircleParticle)){ _local5 = (_arg1 as CircleParticle); (_arg1 as CircleParticle).radius = (_local5.radius * (1 / levelScaleX)); _local5.px = (_local5.px * (1 / levelScaleX)); _local5.py = (_local5.py * (1 / levelScaleY)); }; }; }; } protected function checkChild(_arg1:DisplayObject, _arg2:int, _arg3:Array):void{ var _local4:Group; var _local5:Surface; var _local6:Cylinder; var _local7:Obstacle; var _local8:Collectable; var _local9:AbstractCheckpoint; if (!_arg1){ Debug.log("no display object"); } else { if ((_arg1 is Surface)){ _local5 = (_arg1 as Surface); createRectangleParticle(_local5.x, _local5.y, (_local5.originalWidth * _local5.scaleX), (_local5.originalHeight * _local5.scaleY), _local5.rotation); _local5.cleanUp(); } else { if ((_arg1 is Cylinder)){ _local6 = (_arg1 as Cylinder); createCircleParticle(_local6.x, _local6.y, (_local6.originalRadius * _local6.scaleX)); _local6.cleanUp(); } else { if ((_arg1 is Obstacle)){ _local7 = (_arg1 as Obstacle); _local4 = _local7.getParticles(); scaleGroup(_local4); addParticlesFromGroup(_local4); _obstacles.push(_local7); } else { if ((_arg1 is Collectable)){ _local8 = (_arg1 as Collectable); _local4 = _local8.getParticles(); scaleGroup(_local4); addParticlesFromGroup(_local4); } else { if ((_arg1 is AbstractCheckpoint)){ _local9 = (_arg1 as AbstractCheckpoint); if ((_local9 is Checkpoint)){ _checkpoint = _local9; } else { if ((_local9 is EndCheckpoint)){ _end = _local9; } else { if ((_local9 is StartCheckpoint)){ _start = _local9; }; }; }; }; }; }; }; }; }; } private function searchDisplayList():void{ var _local1:Array = []; var _local2:int; while (_local2 < numChildren) { _local1.push(getChildAt(_local2)); _local2++; }; _local1.forEach(checkChild); } } }//package uk.co.kempt.uphillvegas.level
Section 219
//Level1 (uk.co.kempt.uphillvegas.level.Level1) package uk.co.kempt.uphillvegas.level { public class Level1 extends Level { } }//package uk.co.kempt.uphillvegas.level
Section 220
//Level2 (uk.co.kempt.uphillvegas.level.Level2) package uk.co.kempt.uphillvegas.level { public class Level2 extends Level { } }//package uk.co.kempt.uphillvegas.level
Section 221
//Level3 (uk.co.kempt.uphillvegas.level.Level3) package uk.co.kempt.uphillvegas.level { public class Level3 extends Level { } }//package uk.co.kempt.uphillvegas.level
Section 222
//Level4 (uk.co.kempt.uphillvegas.level.Level4) package uk.co.kempt.uphillvegas.level { public class Level4 extends Level { } }//package uk.co.kempt.uphillvegas.level
Section 223
//Level5 (uk.co.kempt.uphillvegas.level.Level5) package uk.co.kempt.uphillvegas.level { public class Level5 extends Level { } }//package uk.co.kempt.uphillvegas.level
Section 224
//Level6 (uk.co.kempt.uphillvegas.level.Level6) package uk.co.kempt.uphillvegas.level { public class Level6 extends Level { } }//package uk.co.kempt.uphillvegas.level
Section 225
//Level7 (uk.co.kempt.uphillvegas.level.Level7) package uk.co.kempt.uphillvegas.level { public class Level7 extends Level { } }//package uk.co.kempt.uphillvegas.level
Section 226
//Level8 (uk.co.kempt.uphillvegas.level.Level8) package uk.co.kempt.uphillvegas.level { public class Level8 extends Level { } }//package uk.co.kempt.uphillvegas.level
Section 227
//GameState (uk.co.kempt.uphillvegas.state.GameState) package uk.co.kempt.uphillvegas.state { public class GameState { public static const LEVEL_ENDING:String = "levelEnding"; public static const NORMAL:String = "normal"; } }//package uk.co.kempt.uphillvegas.state
Section 228
//CarSystem (uk.co.kempt.uphillvegas.system.CarSystem) package uk.co.kempt.uphillvegas.system { import org.cove.ape.*; import flash.geom.*; import flash.events.*; import uk.co.kempt.uphillvegas.*; import uk.co.kempt.uphillvegas.display.*; import uk.co.kempt.uphillvegas.utils.*; import uk.co.kempt.uphillvegas.controller.*; public class CarSystem extends EventDispatcher { private var _spinTime:int; private var _bodyStrut:SpringConstraint; private var _car:CarSprite; private var _rearWheel:WheelParticle; private var _tricking:Boolean; private var _previousPosition:Point; private var _wasBackward:Boolean; private var _takeoffTime:int; private var _wasForward:Boolean; private var _head:RectangleParticle; private var _speed:Point; private var _collidingWithFloor:Boolean; private var _rearBodyTop:RectangleParticle; private var _frontWheel:WheelParticle; private var _rearBodyBottom:RectangleParticle; private var _frontShockBlock:RectangleParticle; private var _chassis:SpringConstraint; private var _rearShockBlock:RectangleParticle; private var _rotationSpeed:Number; private var _jumped:Boolean; private var _wasCollidingWithFloor:Boolean; private var _carGroup:Group; private var _elvisBrain:ElvisBrain; private static const OFFSET_REAR_BODY:Number = 10; private static const DEFAULT_POSITION:Point = new Point(0, 20); public static const CRASH:String = "crash"; private static const SPIN_TIME:int = 22; private static const OFFSET_BODY:Number = 30; public function die():void{ if (_carGroup){ _carGroup.cleanup(); }; if (_elvisBrain){ _elvisBrain.die(); }; if (_car){ GarbageUtil.kill(_car); }; _carGroup = null; _rearWheel = null; _frontWheel = null; _frontShockBlock = null; _rearShockBlock = null; _chassis = null; _bodyStrut = null; _head = null; _rearBodyBottom = null; _rearBodyTop = null; _car = null; _elvisBrain = null; _speed = null; } public function applyAssistiveForce(_arg1:Number):void{ var _local2:Number = _arg1; var _local3:Number = _chassis.radian; var _local4:Number = (Math.cos(_local3) * _local2); var _local5:Number = (Math.sin(_local3) * _local2); var _local6:VectorForce = new VectorForce(false, _local4, _local5); if (_arg1 > 0){ _rearWheel.addForce(_local6); } else { _frontWheel.addForce(_local6); }; } private function diff(_arg1:Number, _arg2:Number):Number{ var _local3:Number = (_arg2 - _arg1); while (_local3 > Math.PI) { _local3 = (_local3 - (Math.PI * 2)); }; while (_local3 < -(Math.PI)) { _local3 = (_local3 + (Math.PI * 2)); }; return (_local3); } private function checkCar2():void{ var _local1:Number = Math.atan2((_frontWheel.py - _rearWheel.py), (_frontWheel.px - _rearWheel.px)); var _local2:Number = Math.atan2((_rearBodyBottom.py - _rearWheel.py), (_rearBodyBottom.px - _rearWheel.px)); var _local3:Number = Math.abs(diff(_local1, _local2)); if (_local3 < 2){ fixCar2(); }; } private function addWheelCollisionListeners():void{ _frontWheel.addEventListener(CollisionEvent.COLLIDE, onWheelCollisionEvent); _rearWheel.addEventListener(CollisionEvent.COLLIDE, onWheelCollisionEvent); _chassis.addEventListener(CollisionEvent.COLLIDE, onWheelCollisionEvent); } private function onFirstCollideWithFloor():void{ Engine.instance.onCarCollideWithFloor(); var _local1:int = -((Engine.instance.gameTime - _takeoffTime)); if (_local1 > 25){ Engine.instance.sfxMan.hit(); }; } public function updateTrick(_arg1:int):void{ var _local2:int = (collidingWithFloor) ? 0 : _arg1; if (_arg1 == 0){ if (_tricking){ _tricking = false; }; }; if (_local2){ if (!_tricking){ _tricking = true; _elvisBrain.trick(_local2); }; } else { _elvisBrain.trick(0); }; } public function get carGroup():Group{ return (_carGroup); } private function checkSpin():void{ if (_spinTime == 0){ _spinTime = -1; crash(); } else { if (_spinTime > 0){ _spinTime--; }; }; } public function resetTestFloor():void{ removeWheelCollisionListeners(); addWheelCollisionListeners(); _collidingWithFloor = false; } private function fixCar2():void{ var _local5:Number; var _local6:Number; var _local1:Number = Math.atan2((_frontWheel.py - _rearWheel.py), (_frontWheel.px - _rearWheel.px)); var _local2:Number = (_local1 - Math.PI); var _local3:Number = OFFSET_REAR_BODY; var _local4:Number = 10; _local5 = (Math.cos(_local1) * _local4); _local6 = (Math.sin(_local1) * _local4); _frontShockBlock.position = new Vector((_frontShockBlock.px + _local5), (_frontShockBlock.py + _local6)); _frontWheel.position = new Vector((_frontWheel.px + _local5), (_frontWheel.py + _local6)); _rearShockBlock.position = new Vector((_rearShockBlock.px + _local5), (_rearShockBlock.py + _local6)); _rearWheel.position = new Vector((_rearWheel.px + _local5), (_rearWheel.py + _local6)); _local5 = (_rearWheel.px + (Math.cos(_local2) * _local3)); _local6 = (_rearWheel.py + (Math.sin(_local2) * _local3)); _rearBodyBottom.position = new Vector(_local5, _local6); _local5 = (_rearWheel.px + (Math.cos(_local2) * _local3)); _local6 = (_rearWheel.py + (Math.sin(_local2) * _local3)); _rearBodyTop.position = new Vector(_local5, _local6); } public function init(_arg1:Point=null):void{ _carGroup = new Group(); _speed = new Point(); _spinTime = -1; _takeoffTime = 10000; var _local2:Point = ((_arg1) || (DEFAULT_POSITION)); var _local3:Number = _local2.x; var _local4:Number = (_local2.y - 60); var _local5:Number = 190; var _local6:Number = 20; var _local7:Number = -44; var _local8:Number = 67; var _local9:Number = 10; var _local10:Number = 15; var _local11:Number = 3; var _local12:Number = 0.2; var _local13:Number = 20; var _local14:Number = OFFSET_BODY; var _local15:Number = 0; _head = new RectangleParticle(0, 0, 30, 30, (Math.PI / 4), false, 0.1, 0); _head.solid = false; _rearWheel = new WheelParticle((_local3 + _local7), (_local4 + _local9), _local10, false, _local11, _local12); _frontWheel = new WheelParticle((_local3 + _local8), (_local4 + _local9), _local10, false, _local11, _local12); _chassis = new SpringConstraint(_frontWheel, _rearWheel, 1, true, 6); _rearShockBlock = new RectangleParticle(_rearWheel.px, (_rearWheel.py - _local14), 20, 10, 0, false, (_local13 / 2), 0.3, _local15); _frontShockBlock = new RectangleParticle(_frontWheel.px, (_frontWheel.py - _local14), 20, 10, 0, false, (_local13 / 2), 0.3, _local15); var _local16:Number = 1; var _local17:Number = 0.06; var _local18:SpringConstraint = new SpringConstraint(_rearShockBlock, _rearWheel, _local17, false, 4); var _local19:SpringConstraint = new SpringConstraint(_frontShockBlock, _frontWheel, _local17, false, 4); var _local20:SpringConstraint = (_bodyStrut = new SpringConstraint(_frontShockBlock, _rearShockBlock, 1, false, 6)); var _local21:SpringConstraint = new SpringConstraint(_rearWheel, _frontShockBlock, _local16, false, 4); var _local22:SpringConstraint = new SpringConstraint(_frontWheel, _rearShockBlock, _local16, false, 4); var _local23:RectangleParticle = (_rearBodyBottom = new RectangleParticle((_rearWheel.px - 35), (_rearWheel.py - 6), 30, 14, 0, false, 0.1, 0)); var _local24:RectangleParticle = (_rearBodyTop = new RectangleParticle((_rearWheel.px - 35), (_rearWheel.py - 20), 30, 14, 0, false, 0.1, 0)); var _local25:SpringConstraint = new SpringConstraint(_rearWheel, _local23, 1, false, 2); var _local26:SpringConstraint = new SpringConstraint(_rearShockBlock, _local23, 1, false, 2); var _local27:SpringConstraint = new SpringConstraint(_rearWheel, _local24, 1, false, 2); var _local28:SpringConstraint = new SpringConstraint(_rearShockBlock, _local24, 1, false, 2); var _local29:SpringConstraint = new SpringConstraint(_local23, _local24, 1, false, 2); carGroup.addParticle(_frontShockBlock); carGroup.addParticle(_rearShockBlock); carGroup.addConstraint(_local18); carGroup.addConstraint(_local19); carGroup.addConstraint(_local20); carGroup.addConstraint(_local21); carGroup.addConstraint(_local22); carGroup.addParticle(_local23); carGroup.addParticle(_local24); carGroup.addConstraint(_local25); carGroup.addConstraint(_local26); carGroup.addConstraint(_local27); carGroup.addConstraint(_local28); carGroup.addConstraint(_local29); carGroup.addParticle(_rearWheel); carGroup.addParticle(_frontWheel); carGroup.addConstraint(_chassis); carGroup.addParticle(_head); _car = new CarSprite(); _elvisBrain = new ElvisBrain(_car.elvis); addHeadCollisionListeners(); } public function contains(_arg1:AbstractItem):Boolean{ return (!((carGroup.getAll().indexOf(_arg1) == -1))); } protected function applyDynamicForwardAssistiveForce(_arg1:Boolean=false):void{ var _local2:Number = 100; var _local3:Number = 5; var _local4:Number = Math.atan2(_rearWheel.velocity.y, _rearWheel.velocity.x); var _local5:Number = _bodyStrut.radian; var _local6:Number = (Math.cos(diff(_local4, _local5)) * _rearWheel.velocity.magnitude()); var _local7:Number = (1 - (_local6 / _local3)); var _local8:Number = (_local2 * _local7); if (_local6 < _local3){ if (((collidingWithFloor) || (_arg1))){ applyAssistiveForce(_local8); }; }; } private function positionHead():void{ var _local1:Number = -20; var _local2:Number = (_bodyStrut.radian + (Math.PI / 2)); var _local3:Number = (_bodyStrut.center.x + (Math.cos(_local2) * _local1)); var _local4:Number = (_bodyStrut.center.y + (Math.sin(_local2) * _local1)); _head.position = new Vector(_local3, _local4); } public function get collidingWithFloor():Boolean{ return (_collidingWithFloor); } private function checkCar():void{ var _local1:Number = (Math.atan2((_frontWheel.py - _rearWheel.py), (_frontWheel.px - _rearWheel.px)) - (Math.PI / 2)); var _local2:Number = Math.atan2((_frontShockBlock.py - _frontWheel.py), (_frontShockBlock.px - _frontWheel.px)); var _local3:Number = Math.atan2((_rearShockBlock.py - _rearWheel.py), (_rearShockBlock.px - _rearWheel.px)); var _local4:Number = Math.abs(diff(_local1, _local2)); var _local5:Number = Math.abs(diff(_local1, _local3)); if ((((_local4 > 1)) || ((_local5 > 1)))){ Debug.warn("car broken, apply fix"); fixCar(); }; } public function crash():void{ var _local1:Number = 0.05; _frontShockBlock.friction = _local1; _rearShockBlock.friction = _local1; car.idle(); _elvisBrain.crash(); dispatchEvent(new Event(CRASH)); } public function updateJump(_arg1:Boolean=true):void{ var _local2:Number; var _local3:Number; var _local4:VectorForce; var _local5:VectorForce; if (collidingWithFloor){ if (_arg1){ if (!_jumped){ _local2 = -310; _local3 = 0.53; _local4 = new VectorForce(false, 0, (_local2 * (1 - _local3))); _local5 = new VectorForce(false, 0, (_local2 * _local3)); _rearShockBlock.addForce(_local4); _frontShockBlock.addForce(_local5); _jumped = true; }; } else { if (_jumped){ _jumped = false; }; }; }; } private function addHeadCollisionListeners():void{ _head.addEventListener(CollisionEvent.COLLIDE, onHeadCollisionEvent); } public function updateForward(_arg1:Boolean=true):void{ var _local2:Number = 10; var _local3:Number = 0.2; var _local4:Number = ((1 - _local3) * _local2); var _local5:Number = (_local3 * _local2); if (_arg1){ _rearWheel.speed = _local4; _frontWheel.speed = _local5; applyDynamicForwardAssistiveForce(); }; if (((!(_wasForward)) && (_arg1))){ Engine.instance.sfxMan.carAccelerate(); }; if (((_wasForward) && (!(_arg1)))){ Engine.instance.sfxMan.carDecelerate(); }; _wasForward = _arg1; } public function spin():void{ _elvisBrain.spin(); car.spin(); _spinTime = SPIN_TIME; _rearWheel.friction = (_frontWheel.friction = 0.05); } private function removeWheelCollisionListeners():void{ _frontWheel.removeEventListener(CollisionEvent.COLLIDE, onWheelCollisionEvent); _rearWheel.removeEventListener(CollisionEvent.COLLIDE, onWheelCollisionEvent); _chassis.removeEventListener(CollisionEvent.COLLIDE, onWheelCollisionEvent); } public function applyRotationForce(_arg1:Number):void{ var _local2:Number = _arg1; var _local3:Number = Math.atan2((_frontShockBlock.py - _frontWheel.py), (_frontShockBlock.px - _frontWheel.px)); var _local4:Number = (Math.cos(_local3) * _local2); var _local5:Number = (Math.sin(_local3) * _local2); var _local6:VectorForce = new VectorForce(false, _local4, _local5); var _local7:VectorForce = new VectorForce(false, -(_local4), -(_local5)); _frontShockBlock.addForce(_local7); _rearShockBlock.addForce(_local6); } public function get speed():Point{ return (_speed.clone()); } public function update():void{ _rotationSpeed = ((diff(((car.rotation / 180) * Math.PI), _bodyStrut.radian) / Math.PI) * 180); positionHead(); _rearShockBlock.radian = (_frontShockBlock.radian = _bodyStrut.radian); _rearBodyBottom.radian = (_rearBodyTop.radian = _bodyStrut.radian); _head.radian = (_bodyStrut.radian + (Math.PI / 4)); car.rearWheel.x = _rearWheel.px; car.rearWheel.y = _rearWheel.py; car.frontWheel.x = _frontWheel.px; car.frontWheel.y = _frontWheel.py; car.x = _bodyStrut.center.x; car.y = _bodyStrut.center.y; car.rotation = _bodyStrut.angle; var _local1:Number = (_bodyStrut.radian + (Math.PI / 2)); var _local2:Number = 18; var _local3:Number = (Math.cos(_local1) * _local2); var _local4:Number = (Math.sin(_local1) * _local2); car.x = (car.x + _local3); car.y = (car.y + _local4); var _local5:Point = new Point(car.x, car.y); _speed = (_previousPosition) ? _local5.subtract(_previousPosition) : new Point(); _previousPosition = _local5; if (((collidingWithFloor) && (!(_wasCollidingWithFloor)))){ onFirstCollideWithFloor(); }; if (((_wasCollidingWithFloor) && (!(collidingWithFloor)))){ _takeoffTime = Engine.instance.gameTime; }; _wasCollidingWithFloor = _collidingWithFloor; } public function updateBackward(_arg1:Boolean=true):void{ var _local2:Number = 2; var _local3:Number = 50; var _local4:Number = 5; var _local5:Number = (_local3 * (1 - (_rearWheel.velocity.magnitude() / _local4))); if (_arg1){ _rearWheel.speed = -(_local2); _frontWheel.speed = -(_local2); if (_rearWheel.velocity.magnitude() < _local4){ applyAssistiveForce(-(_local5)); }; }; if (((!(_wasBackward)) && (_arg1))){ Engine.instance.sfxMan.carIdle(); }; _wasBackward = _arg1; } public function get seatPosition():Vector{ return (_bodyStrut.center); } public function updateLeanBackward(_arg1:Boolean=true):void{ if (_arg1){ applyRotationForce(-10); _elvisBrain.leanLeft(); }; } public function debug():void{ fixCar2(); } public function get car():CarSprite{ return (_car); } private function onHeadCollisionEvent(_arg1:CollisionEvent):void{ var _local2:Number; var _local3:Number; if (_arg1.collidingItem.solid){ _local2 = _bodyStrut.radian; _local3 = (Math.PI / 2); if ((((_local2 > _local3)) || ((_local2 < -(_local3))))){ if (!contains(_arg1.collidingItem)){ removeHeadCollisionListeners(); onHeadCollideWithFloor(); }; }; }; } public function get velocity():Vector{ return (_frontShockBlock.velocity); } private function onHeadCollideWithFloor():void{ crash(); } private function removeHeadCollisionListeners():void{ _head.removeEventListener(CollisionEvent.COLLIDE, onHeadCollisionEvent); } public function updateBoost():void{ var _local1:Number = 90; if (collidingWithFloor){ applyDynamicForwardAssistiveForce(true); applyDynamicForwardAssistiveForce(true); applyAssistiveForce(_local1); }; } private function onWheelCollisionEvent(_arg1:CollisionEvent):void{ if (_arg1.collidingItem.solid){ if (!contains(_arg1.collidingItem)){ removeWheelCollisionListeners(); _collidingWithFloor = true; onCollideWithFloor(); }; }; } public function updateBeforeAPE():void{ checkCar(); checkCar2(); checkSpin(); resetTestFloor(); } public function get rotationSpeed():Number{ return (_rotationSpeed); } public function get rearPosition():Point{ var _local1:Point = new Point(car.x, car.y); var _local2:Number = _bodyStrut.radian; var _local3:Number = -90; _local1.x = (_local1.x + (Math.cos(_local2) * _local3)); _local1.y = (_local1.y + (Math.sin(_local2) * _local3)); return (_local1); } public function updateNoLean(_arg1:Boolean=true):void{ if (_arg1){ if (_elvisBrain.isIdle){ _elvisBrain.idle(); }; }; } private function onCollideWithFloor():void{ } public function updateLeanForward(_arg1:Boolean=true):void{ if (_arg1){ applyRotationForce(10); _elvisBrain.leanRight(); }; } private function fixCar():void{ var _local3:Number; var _local4:Number; var _local1:Number = (Math.atan2((_frontWheel.py - _rearWheel.py), (_frontWheel.px - _rearWheel.px)) - (Math.PI / 2)); var _local2:Number = OFFSET_BODY; _local3 = (_frontWheel.px + (Math.cos(_local1) * _local2)); _local4 = (_frontWheel.py + (Math.sin(_local1) * _local2)); _frontShockBlock.position = new Vector(_local3, _local4); _local3 = (_rearWheel.px + (Math.cos(_local1) * _local2)); _local4 = (_rearWheel.py + (Math.sin(_local1) * _local2)); _rearShockBlock.position = new Vector(_local3, _local4); } } }//package uk.co.kempt.uphillvegas.system
Section 229
//APEUtil (uk.co.kempt.uphillvegas.utils.APEUtil) package uk.co.kempt.uphillvegas.utils { import org.cove.ape.*; public class APEUtil { public static function addCollidableList(_arg1:Group, _arg2:Array):void{ var _local3:int; while (_local3 < _arg2.length) { _arg1.addCollidable(_arg2[_local3]); _local3++; }; } public static function removeFromGroup(_arg1:Group, _arg2:Group):void{ var _local3:int; _local3 = 0; while (_local3 < _arg2.composites.length) { _arg1.removeComposite(_arg2.composites[_local3]); _local3++; }; _local3 = 0; while (_local3 < _arg2.constraints.length) { _arg1.removeConstraint(_arg2.constraints[_local3]); _local3++; }; _local3 = 0; while (_local3 < _arg2.particles.length) { _arg1.removeParticle(_arg2.particles[_local3]); _local3++; }; } public static function removeCollidableList(_arg1:Group, _arg2:Array):void{ var _local3:int; while (_local3 < _arg2.length) { _arg1.removeCollidable(_arg2[_local3]); _local3++; }; } public static function addFromGroup(_arg1:Group, _arg2:Group):void{ var _local3:int; _local3 = 0; while (_local3 < _arg2.composites.length) { _arg1.addComposite(_arg2.composites[_local3]); _local3++; }; _local3 = 0; while (_local3 < _arg2.constraints.length) { _arg1.addConstraint(_arg2.constraints[_local3]); _local3++; }; _local3 = 0; while (_local3 < _arg2.particles.length) { _arg1.addParticle(_arg2.particles[_local3]); _local3++; }; } public static function removeCollidableListFromAPE(_arg1:Array):void{ var _local2:int; while (_local2 < _arg1.length) { APEngine.removeGroup(_arg1[_local2]); _local2++; }; } public static function addCollidableListToAPE(_arg1:Array):void{ var _local2:int; while (_local2 < _arg1.length) { APEngine.addGroup(_arg1[_local2]); _local2++; }; } } }//package uk.co.kempt.uphillvegas.utils
Section 230
//GarbageUtil (uk.co.kempt.uphillvegas.utils.GarbageUtil) package uk.co.kempt.uphillvegas.utils { import flash.display.*; public class GarbageUtil { public static function kill(_arg1:DisplayObject):void{ var _local2:DisplayObjectContainer; var _local3:int; if (_arg1){ if ((_arg1 is DisplayObjectContainer)){ _local2 = (_arg1 as DisplayObjectContainer); _local3 = (_local2.numChildren - 1); while (_local3 > -1) { kill(_local2.getChildAt(_local3)); _local3--; }; if ((_local2 is MovieClip)){ MovieClip(_local2).stop(); }; }; if (_arg1.parent){ _arg1.parent.removeChild(_arg1); }; }; } } }//package uk.co.kempt.uphillvegas.utils
Section 231
//AbstractCheckpoint (uk.co.kempt.uphillvegas.world.checkpoint.AbstractCheckpoint) package uk.co.kempt.uphillvegas.world.checkpoint { import flash.display.*; import flash.events.*; import uk.co.kempt.uphillvegas.*; public class AbstractCheckpoint extends Sprite { public var anim:MovieClip; private var _reached:Boolean; public function AbstractCheckpoint(){ if (anim){ anim.gotoAndStop("off"); }; } public function update():void{ updateCheckReached(); } protected function updateCheckReached():void{ var _local1:Number; if (!_reached){ if (parent){ _local1 = (x * parent.scaleX); if (Engine.instance.car.car.x > _local1){ onReached(); }; }; }; } public function get reached():Boolean{ return (_reached); } protected function onReached():void{ _reached = true; if (anim){ anim.gotoAndStop("on"); }; dispatchEvent(new Event(Event.COMPLETE)); } } }//package uk.co.kempt.uphillvegas.world.checkpoint
Section 232
//Checkpoint (uk.co.kempt.uphillvegas.world.checkpoint.Checkpoint) package uk.co.kempt.uphillvegas.world.checkpoint { public class Checkpoint extends AbstractCheckpoint { } }//package uk.co.kempt.uphillvegas.world.checkpoint
Section 233
//EndCheckpoint (uk.co.kempt.uphillvegas.world.checkpoint.EndCheckpoint) package uk.co.kempt.uphillvegas.world.checkpoint { public class EndCheckpoint extends AbstractCheckpoint { } }//package uk.co.kempt.uphillvegas.world.checkpoint
Section 234
//StartCheckpoint (uk.co.kempt.uphillvegas.world.checkpoint.StartCheckpoint) package uk.co.kempt.uphillvegas.world.checkpoint { public class StartCheckpoint extends AbstractCheckpoint { } }//package uk.co.kempt.uphillvegas.world.checkpoint
Section 235
//BoostCollectable (uk.co.kempt.uphillvegas.world.collectable.BoostCollectable) package uk.co.kempt.uphillvegas.world.collectable { import org.cove.ape.*; import uk.co.kempt.uphillvegas.*; public class BoostCollectable extends Collectable { public static const DEFAULT_RADIUS:Number = 20; public function BoostCollectable(){ addFrameScript(1, frame2, 16, frame17); super(); } function frame17(){ stop(); onDead(); } override protected function createParticle():AbstractParticle{ var _local1:CircleParticle = new CircleParticle(0, 0, DEFAULT_RADIUS, true); return (_local1); } function frame2(){ stop(); } override protected function onCollided():void{ super.onCollided(); Engine.instance.onBoostCollected(); } } }//package uk.co.kempt.uphillvegas.world.collectable
Section 236
//ChipCollectable (uk.co.kempt.uphillvegas.world.collectable.ChipCollectable) package uk.co.kempt.uphillvegas.world.collectable { import org.cove.ape.*; import uk.co.kempt.uphillvegas.*; public class ChipCollectable extends Collectable { public static const DEFAULT_RADIUS:Number = 20; public function ChipCollectable(){ addFrameScript(1, frame2, 16, frame17); super(); } function frame17(){ stop(); onDead(); } override protected function createParticle():AbstractParticle{ var _local1:CircleParticle = new CircleParticle(0, 0, DEFAULT_RADIUS, true); return (_local1); } function frame2(){ stop(); } override protected function onCollided():void{ super.onCollided(); Engine.instance.hud.chips++; Engine.instance.scoreMan.add(ScoreMan.CHIP); Engine.instance.sfxMan.chipPickup(); } } }//package uk.co.kempt.uphillvegas.world.collectable
Section 237
//Collectable (uk.co.kempt.uphillvegas.world.collectable.Collectable) package uk.co.kempt.uphillvegas.world.collectable { import org.cove.ape.*; import flash.display.*; import uk.co.kempt.uphillvegas.*; import uk.co.kempt.uphillvegas.utils.*; public class Collectable extends MovieClip { private var _particle:AbstractParticle; private var _particles:Group; private static const DEFAULT_WIDTH:Number = 20; public function Collectable(){ initObject(); } public function die():void{ destroyParticles(); GarbageUtil.kill(this); } protected function createParticle():AbstractParticle{ var _local1:CircleParticle = new CircleParticle(0, 0, (DEFAULT_WIDTH / 2), true); transformAbstractParticle(_local1); return (_local1); } protected function onDead():void{ stop(); die(); } private function createAbstractParticle():AbstractParticle{ var _local1:AbstractParticle = createParticle(); _local1.solid = false; transformAbstractParticle(_local1); _particles.addParticle(_local1); return (_local1); } protected function onCollided():void{ gotoAndPlay("off"); } protected function onCollisionEvent(_arg1:CollisionEvent):void{ if (Engine.instance.car.contains(_arg1.collidingItem)){ destroyParticles(); onCollided(); }; } protected function initObject():void{ _particles = new Group(); _particle = createAbstractParticle(); if (_particle){ _particle.addEventListener(CollisionEvent.COLLIDE, onCollisionEvent); }; gotoAndPlay("on"); } protected function transformAbstractParticle(_arg1:AbstractParticle):void{ var _local2:RectangleParticle; var _local3:CircleParticle; if ((_arg1 is RectangleParticle)){ _local2 = (_arg1 as RectangleParticle); _local2.width = (_local2.width * scaleX); _local2.height = (_local2.height * scaleY); _local2.px = (_local2.px + x); _local2.py = (_local2.py + y); } else { if ((_arg1 is CircleParticle)){ _local3 = (_arg1 as CircleParticle); _local3.radius = (_local3.radius * scaleX); _local3.px = (_local3.px + x); _local3.py = (_local3.py + y); }; }; } public function getParticles():Group{ return (_particles); } private function destroyParticles():void{ _particle.removeEventListener(CollisionEvent.COLLIDE, onCollisionEvent); Engine.instance.currentLevel.removeParticle(_particle); } } }//package uk.co.kempt.uphillvegas.world.collectable
Section 238
//CollisionObstacle (uk.co.kempt.uphillvegas.world.obstacle.CollisionObstacle) package uk.co.kempt.uphillvegas.world.obstacle { import org.cove.ape.*; import uk.co.kempt.uphillvegas.*; public class CollisionObstacle extends Obstacle { protected function enableCollisionListeners(_arg1:Boolean=true):void{ var _local2:Group = getParticles(); _local2.particles.forEach(removeParticleCollisionListener); if (_arg1){ _local2.particles.forEach(addParticleCollisionListener); }; } private function destroyParticles():void{ enableCollisionListeners(false); } protected function onCollided():void{ gotoAndPlay("off"); Engine.instance.car.crash(); } private function addParticleCollisionListener(_arg1:AbstractParticle, _arg2:int, _arg3:Array):void{ _arg1.addEventListener(CollisionEvent.COLLIDE, onCollisionEvent); } protected function onCollisionEvent(_arg1:CollisionEvent):void{ if (Engine.instance.car.contains(_arg1.collidingItem)){ destroyParticles(); onCollided(); }; } private function removeParticleCollisionListener(_arg1:AbstractParticle, _arg2:int, _arg3:Array):void{ _arg1.removeEventListener(CollisionEvent.COLLIDE, onCollisionEvent); } override protected function initObject():void{ super.initObject(); enableCollisionListeners(); } } }//package uk.co.kempt.uphillvegas.world.obstacle
Section 239
//Obstacle (uk.co.kempt.uphillvegas.world.obstacle.Obstacle) package uk.co.kempt.uphillvegas.world.obstacle { import org.cove.ape.*; import flash.display.*; import uk.co.kempt.uphillvegas.world.*; public class Obstacle extends MovieClip { private var _particles:Group; public function Obstacle(){ initObject(); } protected function createRectangleParticle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ var _local6:Number = _arg5; var _local7:Number = _arg1; var _local8:Number = _arg2; var _local9:Number = Math.sqrt((Math.pow(_arg1, 2) + Math.pow(_arg2, 2))); var _local10:Number = Math.atan2(_arg2, _arg1); _local10 = (_local10 + ((rotation / 180) * Math.PI)); var _local11:Number = (_local9 * Math.cos(_local10)); var _local12:Number = (_local9 * Math.sin(_local10)); _local6 = (_local6 + rotation); _local7 = _local11; _local8 = _local12; var _local13:RectangleParticle = new RectangleParticle((_local7 * scaleX), (_local8 * scaleY), (_arg3 * scaleX), (_arg4 * scaleY), ((_local6 / 180) * Math.PI), true); new RectangleParticle((_local7 * scaleX), (_local8 * scaleY), (_arg3 * scaleX), (_arg4 * scaleY), ((_local6 / 180) * Math.PI), true).px = (_local13.px + x); _local13.py = (_local13.py + y); _particles.addParticle(_local13); } public function setPlayerInvincible(_arg1:Boolean):void{ } protected function checkChild(_arg1:DisplayObject, _arg2:int, _arg3:Array):void{ var _local4:Surface; var _local5:Cylinder; if (!_arg1){ } else { if ((_arg1 is Surface)){ _local4 = (_arg1 as Surface); createRectangleParticle(_local4.x, _local4.y, (_local4.originalWidth * _local4.scaleX), (_local4.originalHeight * _local4.scaleY), _local4.rotation); _local4.cleanUp(); } else { if ((_arg1 is Cylinder)){ _local5 = (_arg1 as Cylinder); createCircleParticle(_local5.x, _local5.y, (_local5.originalRadius * _local5.scaleX)); _local5.cleanUp(); }; }; }; } public function getParticles():Group{ return (_particles); } protected function searchDisplayList():void{ var _local1:Array = []; var _local2:int; while (_local2 < numChildren) { _local1.push(getChildAt(_local2)); _local2++; }; _local1.forEach(checkChild); } protected function createCircleParticle(_arg1:Number, _arg2:Number, _arg3:Number):void{ var _local4:Number = _arg1; var _local5:Number = _arg2; var _local6:Number = Math.sqrt((Math.pow(_arg1, 2) + Math.pow(_arg2, 2))); var _local7:Number = Math.atan2(_arg2, _arg1); _local7 = (_local7 + ((rotation / 180) * Math.PI)); var _local8:Number = (_local6 * Math.cos(_local7)); var _local9:Number = (_local6 * Math.sin(_local7)); _local4 = _local8; _local5 = _local9; var _local10:CircleParticle = new CircleParticle((_local4 * scaleX), (_local5 * scaleY), (_arg3 * scaleX), true); new CircleParticle((_local4 * scaleX), (_local5 * scaleY), (_arg3 * scaleX), true).px = (_local10.px + x); _local10.py = (_local10.py + y); _particles.addParticle(_local10); } protected function initObject():void{ _particles = new Group(); searchDisplayList(); } } }//package uk.co.kempt.uphillvegas.world.obstacle
Section 240
//SlipObstacle (uk.co.kempt.uphillvegas.world.obstacle.SlipObstacle) package uk.co.kempt.uphillvegas.world.obstacle { import uk.co.kempt.uphillvegas.*; public class SlipObstacle extends CollisionObstacle { override protected function onCollided():void{ gotoAndPlay("off"); Engine.instance.car.spin(); } } }//package uk.co.kempt.uphillvegas.world.obstacle
Section 241
//ElvisProjectile (uk.co.kempt.uphillvegas.world.projectile.ElvisProjectile) package uk.co.kempt.uphillvegas.world.projectile { import org.cove.ape.*; import flash.display.*; import flash.events.*; import uk.co.kempt.uphillvegas.*; import flash.utils.*; import uk.co.kempt.uphillvegas.utils.*; import uk.co.kempt.uphillvegas.world.*; public class ElvisProjectile extends Sprite { private var _particle:RectangleParticle; private var _timeout:int; public var anim:MovieClip; private var _state:String; public var hit:Surface; private var _timeUntilCollidable:int; private static const S_IDLE:String = "idle"; private static const TIMEOUT:Number = 60; private static const ELVIS_SURFACE_FRICTION:Number = 0.1; private static const S_AT_REST:String = "atRest"; private static const S_LANDED:String = "landed"; private static const TIME_UNTIL_COLLIDABLE:int = 5; public function ElvisProjectile(){ initObject(); } public function die():void{ destroyParticles(); GarbageUtil.kill(this); } protected function onDead():void{ anim.stop(); die(); } protected function onCollisionEvent(_arg1:CollisionEvent):void{ if (_arg1.collidingItem.solid){ destroyParticles(); onCollided(); }; } private function onCollided():void{ _state = S_LANDED; anim.gotoAndStop("landed"); setTimeout(Engine.instance.sfxMan.land, 250); _timeout = TIMEOUT; } private function addCollisionListeners():void{ if (_particle){ _particle.addEventListener(CollisionEvent.COLLIDE, onCollisionEvent); }; } protected function initObject():void{ _particle = createParticle(); _particle.collidable = false; _timeUntilCollidable = TIME_UNTIL_COLLIDABLE; _timeout = -1; _state = S_IDLE; GarbageUtil.kill(hit); addCollisionListeners(); anim.gotoAndStop("spin"); } public function update():void{ var _local1:Number; var _local2:Number; x = _particle.px; y = _particle.py; if (_timeUntilCollidable == 0){ _timeUntilCollidable = -1; _particle.collidable = true; } else { if (_timeUntilCollidable > 0){ _timeUntilCollidable--; }; }; if (_timeout == 0){ _timeout = -1; onTimedOut(); } else { if (_timeout > 0){ _timeout--; }; }; if (_state == S_LANDED){ _local1 = ((1 - ELVIS_SURFACE_FRICTION) / TIMEOUT); _local2 = (_particle.friction + _local1); _local2 = Math.max(0, Math.min(1, _local2)); _particle.friction = _local2; }; } protected function onTimedOut():void{ _state = S_AT_REST; dispatchEvent(new Event(Event.COMPLETE)); } private function removeCollisionListeners():void{ if (_particle){ _particle.removeEventListener(CollisionEvent.COLLIDE, onCollisionEvent); }; } private function destroyParticles():void{ removeCollisionListeners(); Engine.instance.currentLevel.removeParticle(_particle); } private function createParticle():RectangleParticle{ var _local1:RectangleParticle = new RectangleParticle(0, 0, (hit.originalWidth * hit.scaleX), (hit.originalHeight * hit.scaleY), 0, false, 1, 0, ELVIS_SURFACE_FRICTION); return (_local1); } public function getParticle():RectangleParticle{ return (_particle); } } }//package uk.co.kempt.uphillvegas.world.projectile
Section 242
//Cylinder (uk.co.kempt.uphillvegas.world.Cylinder) package uk.co.kempt.uphillvegas.world { import flash.display.*; import uk.co.kempt.uphillvegas.*; import uk.co.kempt.uphillvegas.utils.*; public class Cylinder extends Sprite { public var clip:MovieClip; public function get originalRadius():Number{ return ((clip.width / 2)); } public function cleanUp():void{ if (Engine.SHOW_SURFACES){ return; }; GarbageUtil.kill(this); } } }//package uk.co.kempt.uphillvegas.world
Section 243
//Surface (uk.co.kempt.uphillvegas.world.Surface) package uk.co.kempt.uphillvegas.world { import flash.display.*; import uk.co.kempt.uphillvegas.*; import uk.co.kempt.uphillvegas.utils.*; public class Surface extends Sprite { public var clip:MovieClip; public function get originalHeight():Number{ return (clip.height); } public function cleanUp():void{ if (Engine.SHOW_SURFACES){ return; }; GarbageUtil.kill(this); } public function get originalWidth():Number{ return (clip.width); } } }//package uk.co.kempt.uphillvegas.world
Section 244
//Debug (uk.co.kempt.uphillvegas.Debug) package uk.co.kempt.uphillvegas { public class Debug { private static const DEFAULT_NAME:String = "debug"; private static var _name:String = "debug"; private static var _enabled:Boolean = true; public static function get enabled():Boolean{ return (_enabled); } public static function warn(... _args):void{ if (enabled){ trace((((_name + "> ") + "(WARNING) ") + _args.join(", "))); }; } public static function error(... _args):void{ if (enabled){ trace((((_name + "> ") + "(ERROR) ") + _args.join(", "))); }; } public static function set enabled(_arg1:Boolean):void{ _enabled = _arg1; } public static function get name():String{ return (_name); } public static function log(... _args):void{ if (enabled){ trace(((_name + "> ") + _args.join(", "))); }; } public static function set name(_arg1:String):void{ _name = _arg1; } } }//package uk.co.kempt.uphillvegas
Section 245
//Document (uk.co.kempt.uphillvegas.Document) package uk.co.kempt.uphillvegas { import flash.geom.*; import flash.display.*; import flash.events.*; import spill.localisation.*; import flash.net.*; import uk.co.kempt.uphillvegas.display.*; import flash.utils.*; import localization.*; public class Document extends MovieClip { public var __id74_:LocalizedTextField; public var agame_btn:SimpleButton; public var game:Engine; public var agame:Sprite; public var loadingBar:VegasLoader; public var __setPropDict:Dictionary; public function Document(){ __setPropDict = new Dictionary(true); super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; stop(); initLanguages(); loadingBar.addLoaderInfo(root.loaderInfo); if (agame_btn){ agame_btn.addEventListener(MouseEvent.CLICK, onAGameClicked, false, 0, true); }; if (agame){ agame.mouseChildren = (agame.mouseEnabled = false); }; if (loadingBar.ready){ onGameLoaded(); } else { loadingBar.addEventListener(Event.COMPLETE, onLoadCompleteEvent); }; scrollRect = new Rectangle(0, 0, 700, 510); } private function onAGameClicked(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.agame.com"), "_blank"); } function frame2(){ if ((((__setPropDict[__id74_] == undefined)) || (!((((int(__setPropDict[__id74_]) >= 1)) && ((int(__setPropDict[__id74_]) <= 2))))))){ __setPropDict[__id74_] = currentFrame; __setProp___id74__Scene1_MoreButton_0(); }; stop(); } private function initLanguages():void{ Languages.initialize(); Languages.getLanguage("jp").forceFont = "_sans"; Languages.getLanguage("jp").embedFonts = false; Languages.getLanguage("cn").forceFont = "_sans"; Languages.getLanguage("cn").embedFonts = false; Languages.getLanguage("ru").forceFont = "Arial Black"; Languages.getLanguage("ru").embedFonts = true; new Translations(); SpilGame.initialize("Uphill_Vegas", PortalGroup.TEENS, "Uphill-Vegas.html", this, true); } function frame3(){ if (!game){ game = new Engine(); addChild(game); }; } function __setProp___id74__Scene1_MoreButton_0(){ try { __id74_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id74_.text = "{Branding_More_Games_Sentence_Short}"; __id74_.textColor = 0xFFA800; __id74_.textSize = 13; __id74_.bold = false; __id74_.disableWordwrap = false; __id74_.embedFonts = true; __id74_.font = "TypographyofCoop-Black"; __id74_.hAlign = "center"; __id74_.multiline = false; __id74_.vAlign = "middle"; __id74_.antiAliasType = "advanced"; __id74_.glowBlur = 4; __id74_.glowColor = 0; __id74_.useGlowFilter = true; __id74_.glowQuality = 1; __id74_.glowStrength = 1000; __id74_.gridFitType = "pixel"; __id74_.italic = false; __id74_.selectable = false; __id74_.underline = false; try { __id74_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame1(){ if ((((__setPropDict[__id74_] == undefined)) || (!((((int(__setPropDict[__id74_]) >= 1)) && ((int(__setPropDict[__id74_]) <= 2))))))){ __setPropDict[__id74_] = currentFrame; __setProp___id74__Scene1_MoreButton_0(); }; stop(); } private function onLoadCompleteEvent(_arg1:Event):void{ _arg1.currentTarget.removeEventListener(_arg1.type, arguments.callee); onGameLoaded(); } private function onGameLoaded():void{ gotoAndStop("loaded"); } } }//package uk.co.kempt.uphillvegas
Section 246
//Engine (uk.co.kempt.uphillvegas.Engine) package uk.co.kempt.uphillvegas { import org.cove.ape.*; import flash.geom.*; import flash.display.*; import flash.events.*; import spill.localisation.*; import uk.co.kempt.sounds.*; import flash.net.*; import uk.co.kempt.uphillvegas.display.*; import uk.co.kempt.*; import uk.co.kempt.uphillvegas.system.*; import uk.co.kempt.uphillvegas.level.*; import com.spilgames.api.*; import flash.utils.*; import uk.co.kempt.uphillvegas.utils.*; import uk.co.kempt.uphillvegas.state.*; import uk.co.kempt.uphillvegas.world.projectile.*; import net.hires.debug.*; import uk.co.kempt.uphillvegas.display.particles.*; public class Engine extends MovieClip { private var _car:CarSystem; private var _gameInProgress:Boolean; private var _soundMan:SoundManager; private var _currentLevelSpaces:Array; private var _hud:VegasHUD; private var _resumeFromCheckpoint:Boolean; private var _gameTime:int; private var _menuScreen:MenuScreen; private var _paused:Boolean;// = false private var _gameCamera:GameCamera; private var _carRotationTotal:Number; private var _spilGamesServices:SpilGamesServices; private var _inputManager:InputManager; private var _musicMan:MusicMan; private var _trickMan:TrickMan; private var _currentLevel:Level; private var _apeDisplay:Sprite; private var _display:Sprite; private var _turboTime:int; private var _state:String; private var _defaultGroup:Group; private var _stats:Stats; private var _elvisProjectile:ElvisProjectile; private var _particlesToCreate:Number; private var _turboMeter:TurboMeter; private var _sfxMan:SFXMan; private var _analiticsManager:AnalyticsManager; private var _currentLevelSpatialIndex:Point; private var _scoreMan:ScoreMan; private var _background:GameBackground; private var _inited:Boolean; public static const DEFAULT_LEVEL_TIME_IN_SECONDS:int = 181; public static const GAME_HEIGHT:int = 510; public static const GAME_WIDTH:int = 700; private static const KEY_LEAN_BACKWARD:uint = 37; private static const KEY_TRICK_1:uint = 49; private static const KEY_TRICK_2:uint = 50; private static const KEY_TRICK_3:uint = 51; public static const CAMERA_ZOOM:Number = 0.8; private static const KEY_JUMP:uint = 32; private static const KEY_TRICK_4:uint = 52; private static const KEY_DEBUG:uint = 107; private static const KEY_FORWARD:uint = 38; private static const GRAVITY:Number = 5; public static const TURBO_TIME_IN_SECONDS:int = 6; public static const FORCE_START_LEVEL:int = 1; public static const MAX_LIVES:int = 8; public static const DEFAULT_LEVEL_TIME_FROM_CHECKPOINT_IN_SECONDS:int = 61; public static const DEBUG:Boolean = false; private static const KEY_LEAN_FORWARD:uint = 39; private static const KEY_PAUSE:uint = 80; private static const KEY_DEBUG2:uint = 109; private static const KEY_BACKWARD:uint = 40; public static const SHOW_SURFACES:Boolean = false; public static const DRAW_APE:Boolean = false; private static var INSTANCE:Engine; public static var CURRENT_LEVEL:int; public function Engine(){ INSTANCE = this; super(); if (stage){ preinit(); } else { addEventListener(Event.ADDED_TO_STAGE, onAddedToStage); }; } public function get trickMan():TrickMan{ return (_trickMan); } protected function updateTrick():void{ var _local1:int; if (inputManager.keyIsDown(KEY_TRICK_1)){ _local1 = 1; } else { if (inputManager.keyIsDown(KEY_TRICK_2)){ _local1 = 2; } else { if (inputManager.keyIsDown(KEY_TRICK_3)){ _local1 = 3; } else { if (inputManager.keyIsDown(KEY_TRICK_4)){ _local1 = 4; }; }; }; }; _car.updateTrick(_local1); } public function init():void{ Debug.log("init"); _display = new Sprite(); _apeDisplay = new Sprite(); _trickMan = new TrickMan(); _background = new GameBackground(); _hud = new VegasHUD(); _turboMeter = hud.turboMeter; _inited = true; _display.scaleX = (_display.scaleY = CAMERA_ZOOM); if (DEBUG){ _stats = new Stats(); _stats.x = 0; _stats.y = 0; _stats.blendMode = BlendMode.LAYER; _stats.alpha = 0.5; }; _gameCamera = new GameCamera(new Rectangle(0, 0, GAME_WIDTH, GAME_HEIGHT)); addEventListener(Event.ENTER_FRAME, gameLoop); _turboMeter.addEventListener(Event.COMPLETE, onTurboFull, false, 0, true); _inputManager = new InputManager(stage); inputManager.registerListener(KEY_PAUSE, onPausePressed); if (DEBUG){ inputManager.registerListener(KEY_DEBUG, onDebugPressed); }; if (DEBUG){ inputManager.registerListener(KEY_DEBUG2, onDebug2Pressed); }; addChild(_background); addChild(_display); if (DRAW_APE){ _display.addChild(_apeDisplay); }; if (_stats){ addChild(_stats); }; addChild(_hud); addChild(_menuScreen); } public function get paused():Boolean{ return (_paused); } protected function preinit():void{ _inited = false; _analiticsManager = new AnalyticsManager(); _analiticsManager.trackEvent("mainscreen viewed"); _soundMan = new SoundManager(); _musicMan = new MusicMan(); _sfxMan = new SFXMan(); _menuScreen = new MenuScreen(); _menuScreen.x = 346.9; _menuScreen.y = 252.3; _scoreMan = new ScoreMan(); _menuScreen.show(MenuScreen.START_PAGE); stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent); addChild(_menuScreen); _spilGamesServices = SpilGamesServices.getInstance(); _spilGamesServices.addEventListener("servicesReady", onServicesReady); _spilGamesServices.addEventListener("servicesFailed", onServicesFailed); _spilGamesServices.connect(this); } protected function createCar():void{ _car = new CarSystem(); _car.init((_resumeFromCheckpoint) ? currentLevel.checkpointPosition : currentLevel.startPosition); APEUtil.addFromGroup(defaultGroup, _car.carGroup); car.addEventListener("crash", onCrashEvent, false, 0, true); _car.update(); _display.addChild(_car.car.rearWheel); _display.addChild(_car.car.frontWheel); _display.addChild(_car.car); } public function startLevel():void{ if (!_inited){ init(); }; reset(); menuScreen.show(MenuScreen.LEVEL_NUMBER); pause(false); sfxMan.start(SFXMan.LEVEL_START); sfxMan.carIdle(); setTimeout(sfxMan.go, 1000); } protected function onDebug2Pressed(_arg1:KeyboardEvent):void{ CURRENT_LEVEL++; hud.lives++; car.crash(); } private function clean():void{ var i:int; if (_elvisProjectile){ _elvisProjectile.die(); _elvisProjectile = null; }; if (_car){ APEUtil.removeFromGroup(defaultGroup, _car.carGroup); _car.removeEventListener("crash", onCrashEvent); _car.die(); _car = null; }; if (_currentLevelSpaces){ APEUtil.removeCollidableList(defaultGroup, _currentLevelSpaces); APEUtil.removeCollidableListFromAPE(_currentLevelSpaces); _currentLevelSpaces = null; _currentLevelSpatialIndex = null; }; if (_currentLevel){ _currentLevel.die(); _currentLevel.removeEventListener(Event.COMPLETE, onLevelComplete); _currentLevel = null; }; if (_defaultGroup){ APEngine.removeGroup(_defaultGroup); }; APEngine.removeAllForce(); if (_display){ i = _display.numChildren; while (i > 0) { try { _display.removeChildAt(0); } catch(e:Error) { trace("error removing child of display whilst cleaning"); }; i = (i - 1); }; }; } public function onAGameClicked(_arg1:String=""):void{ var _local2:String = SpilGame.getMoreGamesLink(_arg1); navigateToURL(new URLRequest(_local2), "_blank"); trace(_local2); } public function reset():void{ clean(); _state = GameState.NORMAL; _gameTime = ((_resumeFromCheckpoint) ? DEFAULT_LEVEL_TIME_FROM_CHECKPOINT_IN_SECONDS : DEFAULT_LEVEL_TIME_IN_SECONDS * stage.frameRate); _currentLevelSpatialIndex = null; _particlesToCreate = 0; _turboTime = 0; _carRotationTotal = 0; scoreMan.flush(false); hud.chips = 0; _turboMeter.value = 0; trickMan.resetConsecutiveTricks(); initAPE(); initLevel(CURRENT_LEVEL); createCar(); _gameCamera.following = _car.car; _gameCamera.update(true); inputManager.inputEnabled = true; if (DRAW_APE){ _display.addChild(_apeDisplay); }; gameLoop(null); Debug.log(("score at start of level is " + scoreMan.score)); } public function submitScore():void{ ScoreService.submitScore(scoreMan.score); backToMainMenu(); } private function onServicesReady(_arg1:Event):void{ } public function onSpilClicked():void{ navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank"); } public function nextLevel():void{ CURRENT_LEVEL++; startLevel(); } private function onLevelComplete(_arg1:Event):void{ sfxMan.stopCarSounds(); sfxMan.start(SFXMan.LEVEL_COMPLETE); _resumeFromCheckpoint = false; scoreMan.add(ScoreMan.TIME, Math.floor((_gameTime / stage.frameRate))); scoreMan.flush(true); pause(true); if (CURRENT_LEVEL == 4){ _analiticsManager.trackEvent("50% completed"); } else { if (CURRENT_LEVEL == 8){ _analiticsManager.trackEvent("game completed"); }; }; if (CURRENT_LEVEL < 8){ _menuScreen.show(MenuScreen.COMPLETE); } else { if (hud.lives == MAX_LIVES){ trace("award4"); AwardsService.submitAward("award4"); }; _gameInProgress = false; submitScore(); _menuScreen.show(MenuScreen.GAME_COMPLETE); }; } public function pauseWithMenu(_arg1:Boolean):void{ pause(_arg1); if (_paused){ menuScreen.show(MenuScreen.PAUSE); } else { if (menuScreen.currentLabel == MenuScreen.PAUSE){ menuScreen.show(MenuScreen.PAUSE_CLOSE); }; }; } public function startGame():void{ if (CURRENT_LEVEL == 0){ CURRENT_LEVEL = FORCE_START_LEVEL; } else { CURRENT_LEVEL = 1; }; _resumeFromCheckpoint = false; _gameInProgress = true; if (scoreMan){ scoreMan.reset(); }; startLevel(); hud.lives = MAX_LIVES; } protected function initLevel(_arg1:int=1):void{ _currentLevel = createLevel(_arg1); if (!_currentLevel){ Debug.warn("no level to init"); }; _currentLevel.addEventListener(Event.COMPLETE, onLevelComplete, false, 0, true); if (_currentLevel.checkpoint){ _currentLevel.checkpoint.addEventListener(Event.COMPLETE, onCheckpointReached, false, 0, true); } else { Debug.warn(("no checkpoint found for level " + _arg1)); }; _currentLevel.scaleX = (1 / _currentLevel.levelScaleX); _currentLevel.scaleY = (1 / _currentLevel.levelScaleY); _display.addChild(_currentLevel); } public function get scoreMan():ScoreMan{ return (_scoreMan); } private function onCrashEvent(_arg1:Event):void{ if (_state != GameState.NORMAL){ return; }; _state = GameState.LEVEL_ENDING; inputManager.inputEnabled = false; createElvisProjectile(); _gameCamera.following = _elvisProjectile; sfxMan.stopCarSounds(); sfxMan.crash(); } private function onLevelFailed():void{ hud.lives--; pause(true); sfxMan.stopCarSounds(); if (hud.lives > 0){ _menuScreen.show(MenuScreen.FAILED); } else { _menuScreen.show(MenuScreen.LAST_LIFE_LOST); }; } public function get inputManager():InputManager{ return (_inputManager); } private function onCheckpointReached(_arg1:Event):void{ _resumeFromCheckpoint = true; scoreMan.flush(true); } public function get sfxMan():SFXMan{ return (_sfxMan); } protected function updateJump(_arg1:Boolean):void{ _car.updateJump(_arg1); } private function updateSpatialHashing():void{ var _local1:Number = car.car.x; var _local2:Number = car.car.y; if (_elvisProjectile){ _local1 = _elvisProjectile.x; _local2 = _elvisProjectile.y; }; var _local3:Point = currentLevel.spatialHasher.positionToIndex(new Point(_local1, _local2)); if (((!(_currentLevelSpatialIndex)) || (!(_local3.equals(_currentLevelSpatialIndex))))){ if (_currentLevelSpaces){ APEUtil.removeCollidableList(defaultGroup, _currentLevelSpaces); if (DRAW_APE){ APEUtil.removeCollidableListFromAPE(_currentLevelSpaces); }; }; _currentLevelSpaces = currentLevel.spatialHasher.getSpacesByPosition(_local1, _local2); APEUtil.addCollidableList(defaultGroup, _currentLevelSpaces); if (DRAW_APE){ APEUtil.addCollidableListToAPE(_currentLevelSpaces); }; _currentLevelSpatialIndex = _local3; }; } private function onKeyUpEvent(_arg1:KeyboardEvent):void{ switch (_arg1.keyCode){ case KEY_JUMP: switch (menuScreen.currentLabel){ case MenuScreen.START_PAGE: startGame(); break; case MenuScreen.TRY_AGAIN: startLevel(); break; case MenuScreen.SCORE: nextLevel(); break; case MenuScreen.PAUSE: pauseWithMenu(false); break; }; break; }; } public function onKillerViralClicked():void{ navigateToURL(new URLRequest("http://www.kempt.co.uk?game=uphill_vegas"), "_blank"); } private function onAddedToStage(_arg1:Event):void{ removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage); preinit(); } public function get menuScreen():MenuScreen{ return (_menuScreen); } public function get currentLevel():Level{ return (_currentLevel); } private function onTurboFull(_arg1:Event):void{ Debug.log("turbo full"); } public function backToMainMenu():void{ _gameInProgress = false; menuScreen.show(MenuScreen.START_PAGE); } public function onHowToPlayEndReached():void{ if (_gameInProgress){ pauseWithMenu(true); } else { menuScreen.show(MenuScreen.START_PAGE); }; } protected function createElvisProjectile():void{ _elvisProjectile = new ElvisProjectile(); var _local1:RectangleParticle = _elvisProjectile.getParticle(); _local1.px = car.seatPosition.x; _local1.py = car.seatPosition.y; var _local2:Number = (car.speed.x / 5); var _local3:Number = 15; _local2 = Math.max(-(_local3), Math.min(_local3, _local2)); _local1.velocity = new Vector(_local2, -12); defaultGroup.addParticle(_local1); _elvisProjectile.addEventListener(Event.COMPLETE, onElvisAtRest, false, 0, true); _elvisProjectile.update(); _display.addChild(_elvisProjectile); } protected function updateForward(_arg1:Boolean=true):void{ _car.updateForward(_arg1); } public function onBoostCollected():void{ _turboTime = (_turboTime + 5); } public function get defaultGroup():Group{ return (_defaultGroup); } private function onElvisAtRest(_arg1:Event):void{ onLevelFailed(); } protected function gameLoop(_arg1:Event):void{ if (paused){ return; }; _gameTime--; hud.time = (_gameTime / stage.frameRate); if (_gameTime <= 0){ onLevelFailed(); return; }; updateSpatialHashing(); car.updateBeforeAPE(); APEngine.step(); APEngine.step(); car.update(); if (_elvisProjectile){ _elvisProjectile.update(); }; currentLevel.update(); updateParticles(); updateForward(((inputManager.keyIsDown(KEY_FORWARD)) || (inputManager.keyIsDown(65)))); updateBackward(((inputManager.keyIsDown(KEY_BACKWARD)) || (inputManager.keyIsDown(90)))); updateLeanForward(inputManager.keyIsDown(KEY_LEAN_FORWARD)); updateLeanBackward(inputManager.keyIsDown(KEY_LEAN_BACKWARD)); updateNoLean(((!(inputManager.keyIsDown(KEY_LEAN_BACKWARD))) && (!(inputManager.keyIsDown(KEY_LEAN_FORWARD))))); updateJump(inputManager.keyIsDown(KEY_JUMP)); updateTrick(); if (_turboTime > 0){ car.updateBoost(); _turboTime--; }; if ((((car.rotationSpeed > 0)) && ((_carRotationTotal < 0)))){ _carRotationTotal = 0; } else { if ((((car.rotationSpeed < 0)) && ((_carRotationTotal > 0)))){ _carRotationTotal = 0; }; }; var _local2:Number = Math.floor((Math.abs(_carRotationTotal) / 360)); _carRotationTotal = (_carRotationTotal + car.rotationSpeed); var _local3:Number = Math.floor((Math.abs(_carRotationTotal) / 360)); if (_local3 > _local2){ trickMan.trickPerformed(((_carRotationTotal > 0)) ? TrickMan.ROTATION : TrickMan.REVERSE_ROTATION, _local3); if ((((_local3 == 2)) && ((trickMan.consecutiveTricks == 3)))){ }; }; _gameCamera.update(); var _local4:Rectangle = _gameCamera.viewport.clone(); _local4.width = Math.ceil((GAME_WIDTH / CAMERA_ZOOM)); _local4.height = Math.ceil((GAME_HEIGHT / CAMERA_ZOOM)); _local4.x = (_local4.x - ((GAME_WIDTH - (GAME_WIDTH * CAMERA_ZOOM)) / 2)); _local4.y = (_local4.y - ((GAME_HEIGHT - (GAME_HEIGHT * CAMERA_ZOOM)) / 2)); _display.scrollRect = _local4; _background.update(_gameCamera.viewport); if (DRAW_APE){ APEngine.paint(); }; hud.points = scoreMan.score; hud.update(); } public function get soundMan():SoundManager{ return (_soundMan); } protected function onPausePressed(_arg1:KeyboardEvent):void{ pauseWithMenu(!(paused)); } protected function updateBackward(_arg1:Boolean=true):void{ _car.updateBackward(_arg1); } protected function onDebugPressed(_arg1:KeyboardEvent):void{ _turboMeter.value = (_turboMeter.value + 100); } protected function updateLeanBackward(_arg1:Boolean=true):void{ _car.updateLeanBackward(_arg1); } public function get car():CarSystem{ return (_car); } public function onCarCollideWithFloor():void{ if (_turboMeter.full){ _turboMeter.drain(); _turboTime = (TURBO_TIME_IN_SECONDS * stage.frameRate); sfxMan.start(SFXMan.TURBO); }; hud.messageEngine.clear(); trickMan.resetConsecutiveTricks(); _carRotationTotal = 0; } public function get gameTime():int{ return (_gameTime); } private function updateParticles():void{ var _local4:DisplayObject; var _local1:Number = car.velocity.magnitude(); var _local2:Number = -10; var _local3:Number = 20; var _local5:Number = 50; var _local6:Number = 50; var _local7:Number = Math.max(0, Math.min(1, ((_local1 - _local2) / (_local3 - _local2)))); var _local8:Number = (1 * _local7); while (_particlesToCreate >= 1) { switch (Math.floor((Math.random() * 3))){ case 0: _local4 = new NoteTrail(); break; case 1: _local4 = new NoteTrail2(); break; case 2: _local4 = new StarTrail(); break; }; _local4.x = (car.rearPosition.x + ((Math.random() - 0.5) * _local5)); _local4.y = (car.rearPosition.y + ((Math.random() - 0.5) * _local5)); _local4.rotation = (car.car.rotation + (Math.random() * _local6)); _display.addChild(_local4); _particlesToCreate = (_particlesToCreate - 1); }; if (_turboTime){ _particlesToCreate = (_particlesToCreate + _local8); }; } protected function initAPE():void{ APEngine.init(0.22); APEngine.damping = 0.999; APEngine.constraintCollisionCycles = 4; APEngine.constraintCycles = 2; APEngine.container = _apeDisplay; APEngine.addForce(new VectorForce(false, 0, GRAVITY)); _defaultGroup = new Group(true); APEngine.addGroup(defaultGroup); } protected function createLevel(_arg1:int):Level{ var tClass:Class; var pLevelNum = _arg1; try { tClass = (getDefinitionByName(("uk.co.kempt.uphillvegas.level.Level" + pLevelNum)) as Class); return (new (tClass)); } catch(e:Error) { Debug.log(("error creating level, " + e.message)); }; return (null); } private function initLanguages():void{ Languages.initialize(); Languages.getLanguage("jp").forceFont = "_sans"; Languages.getLanguage("jp").embedFonts = false; Languages.getLanguage("cn").forceFont = "_sans"; Languages.getLanguage("cn").embedFonts = false; Languages.getLanguage("ru").forceFont = "Arial Black"; Languages.getLanguage("ru").embedFonts = true; SpilGame.initialize("Uphill_Vegas", PortalGroup.TEENS, "Uphill-Vegas.html", this, true); } protected function updateNoLean(_arg1:Boolean=true):void{ _car.updateNoLean(_arg1); } public function get musicMan():MusicMan{ return (_musicMan); } public function pause(_arg1:Boolean):void{ _paused = _arg1; } public function get hud():VegasHUD{ return (_hud); } private function onServicesFailed(_arg1:Event):void{ trace("Submitter failed to load"); trace(_spilGamesServices.isDomainAllowed()); } protected function updateLeanForward(_arg1:Boolean=true):void{ _car.updateLeanForward(_arg1); } public static function get instance():Engine{ return (INSTANCE); } } }//package uk.co.kempt.uphillvegas
Section 247
//GameCamera (uk.co.kempt.uphillvegas.GameCamera) package uk.co.kempt.uphillvegas { import flash.geom.*; import flash.display.*; public class GameCamera { private var _viewport:Rectangle; private var _speedX:Number;// = 0 private var _scrollBoundsMin:Point; private var _following:DisplayObject; private var _speedY:Number;// = 0 private var _scrollBoundsMax:Point; private var _slow:Number;// = 1 private var _prevPos:Point; private var _delayedFollow:Object; public static const ACCELERATION_EXPO:Number = 1.6; public static const ACCELERATION_DAMPENING:Number = 80; public static const DECAY:Number = 0.4; private static var INSTANCE:GameCamera; public function GameCamera(_arg1:Rectangle){ INSTANCE = ((INSTANCE) || (this)); _viewport = _arg1; } public function get slow():Number{ return (_slow); } public function set slow(_arg1:Number):void{ _slow = _arg1; } public function update(_arg1:Boolean=false):void{ var _local2:Point; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Point; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; if (delayedFollow){ if (delayedFollow.delay-- <= 0){ following = delayedFollow.follow; delayedFollow = null; }; }; if (following){ _local2 = getRealPosition(following); _local3 = (_local2.x - (viewport.width / 2)); _local4 = (_local2.y - (viewport.height / 2)); if (_arg1){ _speedX = 0; _speedY = 0; } else { if (_prevPos){ _local7 = _local2.subtract(_prevPos); _local8 = 8; _local9 = (_local8 / 2); _local10 = (_local7.x * _local8); _local11 = (_local7.y * _local9); _local10 = Math.max((-(Engine.GAME_WIDTH) / 2), Math.min((Engine.GAME_WIDTH / 2), _local10)); _local11 = Math.max((-(Engine.GAME_HEIGHT) / 2), Math.min((Engine.GAME_HEIGHT / 2), _local11)); _local3 = (_local3 + (_local7.x * _local8)); _local4 = (_local4 + (_local7.y * _local9)); }; _local5 = (_local3 - viewport.x); _local6 = (_local4 - viewport.y); _local5 = ((_local5 < 0)) ? (Math.pow(-(_local5), ACCELERATION_EXPO) * -1) : Math.pow(_local5, ACCELERATION_EXPO); _local6 = ((_local6 < 0)) ? (Math.pow(-(_local6), ACCELERATION_EXPO) * -1) : Math.pow(_local6, ACCELERATION_EXPO); _speedX = (_speedX + (_local5 / ACCELERATION_DAMPENING)); _speedY = (_speedY + (_local6 / ACCELERATION_DAMPENING)); _speedX = (_speedX * DECAY); _speedY = (_speedY * DECAY); _local3 = (viewport.x + _speedX); _local4 = (viewport.y + _speedY); }; viewport.x = Math.max(scrollBoundsMin.x, Math.min(scrollBoundsMax.x, _local3)); viewport.y = Math.max(scrollBoundsMin.y, Math.min(scrollBoundsMax.y, _local4)); _prevPos = _local2; }; } public function set scrollBoundsMax(_arg1:Point):void{ _scrollBoundsMax = _arg1; } public function set viewport(_arg1:Rectangle):void{ _viewport = _arg1; } public function set following(_arg1:DisplayObject):void{ if (delayedFollow){ delayedFollow = null; }; _following = _arg1; } public function get scrollBoundsMin():Point{ return ((_scrollBoundsMin = ((_scrollBoundsMin) || (new Point(-(Number.MAX_VALUE), -(Number.MAX_VALUE)))))); } public function get scrollBoundsMax():Point{ return ((_scrollBoundsMax = ((_scrollBoundsMax) || (new Point(Number.MAX_VALUE, Number.MAX_VALUE))))); } protected function getRealPosition(_arg1:DisplayObject):Point{ var _local2:Point = new Point(_arg1.x, _arg1.y); var _local3:DisplayObject = _arg1.parent; while (((_local3) && (!((_local3 is Engine))))) { _local2.x = (_local2.x + _local3.x); _local2.y = (_local2.y + _local3.y); _local3 = _local3.parent; }; return (_local2); } public function get viewport():Rectangle{ return (_viewport); } public function set delayedFollow(_arg1:Object):void{ _delayedFollow = _arg1; } public function set scrollBoundsMin(_arg1:Point):void{ _scrollBoundsMin = _arg1; } public function get delayedFollow():Object{ return (_delayedFollow); } public function get following():DisplayObject{ return (_following); } public static function get instance():GameCamera{ return (INSTANCE); } } }//package uk.co.kempt.uphillvegas
Section 248
//MessageEngine (uk.co.kempt.uphillvegas.MessageEngine) package uk.co.kempt.uphillvegas { import flash.display.*; import uk.co.kempt.uphillvegas.display.*; public class MessageEngine extends Sprite { private var _trickLabel:TrickLabelSprite; private var _state:String; private var _nudgeCount:int; private var _labels:Array; public static const FRAMES_TO_ANIMATE:int = 8; public static const NORMAL:String = "normal"; public static const PIXELS_TO_DISPLACE:Number = 120; public static const CLEAR:String = "clear"; public function MessageEngine(){ _state = NORMAL; _labels = []; _trickLabel = new TrickLabelSprite(); addChild(_trickLabel); _trickLabel.visible = false; } public function add(_arg1:String):void{ if (_labels.length){ _labels.push("+"); _labels.push(_arg1); } else { _labels.push(_arg1); }; } private function updateLabels(_arg1:Boolean):void{ if (!_trickLabel.visible){ if (_labels.length){ showNewLabel(_labels[0]); }; } else { if ((((_labels.length > 1)) || (_arg1))){ if (_nudgeCount < FRAMES_TO_ANIMATE){ _trickLabel.y = (_trickLabel.y - (PIXELS_TO_DISPLACE / FRAMES_TO_ANIMATE)); _trickLabel.alpha = (_trickLabel.alpha - (1 / FRAMES_TO_ANIMATE)); _nudgeCount++; } else { _trickLabel.visible = false; _labels.shift(); }; }; }; } public function update():void{ switch (_state){ case NORMAL: updateNormal(); break; case CLEAR: updateClear(); break; }; } private function updateClear():void{ updateLabels(true); if (!_labels.length){ _state = NORMAL; }; } public function clear():void{ _state = CLEAR; } protected function centerSprite(_arg1:DisplayObject):void{ _arg1.x = (Engine.GAME_WIDTH / 2); _arg1.y = (Engine.GAME_HEIGHT / 4); } private function updateNormal():void{ updateLabels(false); } protected function showNewLabel(_arg1:String):void{ _trickLabel.label = _arg1; centerSprite(_trickLabel); _trickLabel.alpha = 1; _trickLabel.visible = true; _nudgeCount = 0; } } }//package uk.co.kempt.uphillvegas
Section 249
//MusicMan (uk.co.kempt.uphillvegas.MusicMan) package uk.co.kempt.uphillvegas { import uk.co.kempt.sounds.*; public class MusicMan { private var _enabled:Boolean; private var _currentSnd:Snd; private var _currentMusicLabel:String; private static const SOUND_LEVEL_WIN:Class = level_win_sound; public static const LEVEL_WIN:String = "levelWin"; private static const SOUND_MAIN_SCREEN:Class = main_screen_sound; public static const LEVEL:String = "level"; public static const GAME_COMPLETE:String = "gameComplete"; public static const MAIN_SCREEN:String = "mainScreen"; private static const SOUND_LEVEL:Class = level_sound; private static const SOUND_GAME_COMPLETE:Class = game_complete_sound; private static const SOUND_LEVEL_FAILED:Class = level_failed_sound; public static const LEVEL_FAILED:String = "levelFailed"; public function MusicMan(){ _enabled = true; } public function get enabled():Boolean{ return (_enabled); } public function stop():void{ if (_currentSnd){ _currentSnd.die(); _currentSnd = null; }; _currentMusicLabel = null; } private function updateSoundToggled():void{ if (((_currentSnd) && (!(_currentSnd.dead)))){ _currentSnd.volume = (enabled) ? 1 : 0; }; } public function get soundMan():SoundManager{ return (Engine.instance.soundMan); } public function start(_arg1:String):void{ if (_arg1 != _currentMusicLabel){ stop(); switch (_arg1){ case MAIN_SCREEN: _currentSnd = soundMan.loopSound(SOUND_MAIN_SCREEN); break; case LEVEL: _currentSnd = soundMan.loopSound(SOUND_LEVEL); break; case LEVEL_WIN: _currentSnd = soundMan.playSound(SOUND_LEVEL_WIN); break; case LEVEL_FAILED: _currentSnd = soundMan.playSound(SOUND_LEVEL_FAILED); break; case GAME_COMPLETE: _currentSnd = soundMan.playSound(SOUND_GAME_COMPLETE); break; }; _currentMusicLabel = _arg1; }; updateSoundToggled(); } public function set enabled(_arg1:Boolean):void{ _enabled = _arg1; updateSoundToggled(); } } }//package uk.co.kempt.uphillvegas
Section 250
//ScoreMan (uk.co.kempt.uphillvegas.ScoreMan) package uk.co.kempt.uphillvegas { public class ScoreMan { private var _score:int; private var _scoreCache:int; public static const THREE_SIXTY:String = "threeSixty"; public static const TRICK_KARATE:String = "trickKarate"; public static const SUPER_BONUS:String = "superBonus"; public static const TRICK_SUPERMAN:String = "trickSuperman"; public static const TIME:String = "time"; public static const CHIP:String = "chip"; public static const TRICK_GUITAR:String = "trickGuitar"; public static const NONE:String = "none"; public static const TRICK_TWIST:String = "trickTwist"; protected function get scoreCache():int{ return (_scoreCache); } public function add(_arg1:String="none", _arg2:Number=0):void{ var _local3:int; var _local4:Boolean; switch (_arg1){ case NONE: break; case CHIP: _local3 = 100; break; case TIME: _local3 = (20 * _arg2); break; case TRICK_KARATE: _local3 = 400; _local4 = true; break; case TRICK_GUITAR: _local3 = 350; _local4 = true; break; case TRICK_TWIST: _local3 = 300; _local4 = true; break; case TRICK_SUPERMAN: _local3 = 350; _local4 = true; break; case SUPER_BONUS: _local3 = 1000; break; case THREE_SIXTY: _local3 = 200; break; default: Debug.warn("ScoreMan: trying to add a score for a type that doesnt exist."); break; }; if (_local4){ scoreCache = (scoreCache + _local3); } else { _score = (_score + _local3); }; } public function get score():int{ return ((_score + _scoreCache)); } public function flush(_arg1:Boolean=true):void{ if (_arg1){ _score = (_score + _scoreCache); }; _scoreCache = 0; } protected function set scoreCache(_arg1:int):void{ _scoreCache = _arg1; } public function reset():void{ _score = 0; _scoreCache = 0; } } }//package uk.co.kempt.uphillvegas
Section 251
//SFXMan (uk.co.kempt.uphillvegas.SFXMan) package uk.co.kempt.uphillvegas { import flash.events.*; import uk.co.kempt.sounds.*; public class SFXMan { private var _enabled:Boolean; private var _currentSnd:Snd; private var _trickCount:int; private var _carSound:Snd; private static const SOUND_LEVEL_COMPLETE:Class = oooh_baby_sound; public static const TURBO:String = "turbo"; private static const SOUND_FAILED:Class = faild_sound; private static const SOUND_MENU_SHOW:Class = changemodenoise_sound; private static const SOUND_CAR_ACCELERATE:Class = nginefiring_sound; public static const SUPER_BONUS:String = "superBonus"; private static const SOUND_HIT:Class = carhitsound_sound; public static const LEVEL_START:String = "levelStart"; private static const SOUND_CAR_SUSTAIN:Class = nginekeep_sound; private static const SOUND_SCORE:Class = score_sound; private static const SOUND_TURBO:Class = turbo_initiated_sound; private static const SOUND_MENU:Class = menu_sound; private static const SOUND_BUTTON_TOGGLE:Class = clicksetup_sound; public static const TRICK:String = "trick"; public static const LEVEL_COMPLETE:String = "levelComplete"; private static const SOUND_BONUS:Class = super_bonus_voice_sound; private static const SOUND_CRASH:Class = faildcartoon_sound; private static const SOUND_GO:Class = go_sound; private static const SOUND_LANDING:Class = landing_sound; private static const SOUND_SPECIAL:Class = specialaction_sound; private static const SOUND_CAR_IDLE:Class = ngineidling_sound; private static const SOUND_MENU_HIDE:Class = changemodenoise2_sound; private static const SOUND_LEVEL_START:Class = start_of_race_sound; private static const SOUND_TRICK:Array = [uh_huh_sound, rock_n_roll_sound, uh_huh_sound, whoo_mama_sound]; private static const SOUND_BUTTON_ROLLOVER:Class = mousestreak_sound; private static const SOUND_BUTTON_CLICK:Class = click_sound; private static const SOUND_CAR_DECELERATE:Class = nginedown_sound; public static const LANDING:String = "landing"; public function SFXMan(){ _enabled = true; } public function get enabled():Boolean{ return (_enabled); } public function buttonRollOver():void{ playSound(SOUND_BUTTON_ROLLOVER); } public function carIdle():void{ stopCarSounds(); _carSound = loopSound(SOUND_CAR_IDLE); } public function stop():void{ if (_currentSnd){ _currentSnd.die(); _currentSnd = null; }; } public function get soundMan():SoundManager{ return (Engine.instance.soundMan); } public function failed():void{ playSound(SOUND_FAILED); } public function menuHide():void{ playSound(SOUND_MENU_HIDE); } public function set enabled(_arg1:Boolean):void{ _enabled = _arg1; updateSoundToggled(); } private function onCarAccelerateComplete(_arg1:Event):void{ carSustain(); } public function hit():void{ playSound(SOUND_HIT); } public function stopCarSounds():void{ if (_carSound){ _carSound.die(); _carSound = null; }; } public function pauseGame():void{ stopCarSounds(); } public function carAccelerate():void{ stopCarSounds(); _carSound = playSound(SOUND_CAR_ACCELERATE); if (_carSound){ _carSound.addEventListener(Event.SOUND_COMPLETE, onCarAccelerateComplete, false, 0, true); }; } private function loopSound(_arg1:Object):Snd{ var _local2:Snd = (enabled) ? soundMan.loopSound(_arg1) : null; updateSoundToggled(); return (_local2); } public function start(_arg1:String):void{ switch (_arg1){ case TURBO: case LEVEL_START: case LEVEL_COMPLETE: case SUPER_BONUS: break; }; switch (_arg1){ case LANDING: _currentSnd = playSound(SOUND_LANDING); break; case TURBO: _currentSnd = playSound(SOUND_TURBO); break; case SUPER_BONUS: _currentSnd = playSound(SOUND_BONUS); break; case LEVEL_COMPLETE: _currentSnd = playSound(SOUND_LEVEL_COMPLETE); break; case LEVEL_START: _currentSnd = playSound(SOUND_LEVEL_START); break; case TRICK: _currentSnd = playSound(SOUND_TRICK[(_trickCount % 4)]); _trickCount++; break; }; } public function tryAgainMenu():void{ playSound(SOUND_MENU); } public function buttonToggle():void{ playSound(SOUND_BUTTON_TOGGLE); } public function crash():void{ playSound(SOUND_CRASH); } public function chipPickup():void{ playSound(SOUND_SCORE); } private function onCarDecelerateComplete(_arg1:Event):void{ carIdle(); } public function land():void{ playSound(SOUND_LANDING); } public function carSustain():void{ stopCarSounds(); _carSound = loopSound(SOUND_CAR_SUSTAIN); } public function carDecelerate():void{ stopCarSounds(); _carSound = playSound(SOUND_CAR_DECELERATE); if (_carSound){ _carSound.addEventListener(Event.SOUND_COMPLETE, onCarDecelerateComplete, false, 0, true); }; } private function updateSoundToggled():void{ if (!enabled){ stop(); stopCarSounds(); }; } public function buttonClick():void{ playSound(SOUND_BUTTON_CLICK); } public function go():void{ playSound(SOUND_GO); } public function special():void{ } private function playSound(_arg1:Object, _arg2:Boolean=false):Snd{ var _local3:Snd = (((enabled) || (_arg2))) ? soundMan.playSound(_arg1) : null; updateSoundToggled(); return (_local3); } public function menuShow():void{ playSound(SOUND_MENU_SHOW); } public function resumeGame():void{ carIdle(); } } }//package uk.co.kempt.uphillvegas
Section 252
//SpatialHasher (uk.co.kempt.uphillvegas.SpatialHasher) package uk.co.kempt.uphillvegas { import org.cove.ape.*; import flash.geom.*; import flash.utils.*; public class SpatialHasher { private var _spaces:Dictionary; private var _groupsByKey:Dictionary; public static const GRID_HEIGHT:Number = 510; public static const GRID_WIDTH:Number = 700; public function SpatialHasher(){ _spaces = new Dictionary(); _groupsByKey = new Dictionary(); } public function die():void{ _spaces = null; _groupsByKey = null; } protected function getSpaceNameByPosition(_arg1:Number, _arg2:Number):String{ var _local3:Point = positionToIndex(new Point(_arg1, _arg2)); return (getSpaceName(_local3.x, _local3.y)); } public function getSpacesByPosition(_arg1:Number, _arg2:Number):Array{ var _local10:int; var _local3:Point = positionToIndex(new Point(_arg1, _arg2)); var _local4:int = (_local3.x - 1); var _local5:int = (_local3.x + 1); var _local6:int = (_local3.y - 1); var _local7:int = (_local3.y + 1); var _local8:Array = []; var _local9:int = _local6; while (_local9 <= _local7) { _local10 = _local4; while (_local10 <= _local5) { _local8.push(getSpace(_local10, _local9)); _local10++; }; _local9++; }; return (_local8); } public function addComposite(_arg1:Composite):void{ var _local2:Group; Debug.warn("SpatialHasher > addComposite: this method has not been implemented"); } public function addParticle(_arg1:AbstractParticle):void{ var _local3:RectangleParticle; var _local4:Number; var _local2:Group = getSpaceByPosition(_arg1.px, _arg1.py); _groupsByKey[_arg1] = _local2; _local2.addParticle(_arg1); if ((_arg1 is RectangleParticle)){ _local3 = (_arg1 as RectangleParticle); _local4 = (GRID_WIDTH * 3); if ((((_local3.width >= _local4)) || ((_local3.height >= _local4)))){ Debug.warn((((("the particle " + _arg1) + " at ") + _arg1.position) + " is larger than the spatial hashing boundaries and might behave unexpectedly")); }; }; } public function removeParticle(_arg1:AbstractParticle):void{ var _local2:Group = _groupsByKey[_arg1]; if (_local2){ _local2.removeParticle(_arg1); }; _groupsByKey[_arg1] = null; } public function positionToIndex(_arg1:Point):Point{ var _local2:int = (_arg1.x / GRID_WIDTH); var _local3:int = (_arg1.y / GRID_HEIGHT); return (new Point(_local2, _local3)); } protected function getSpace(_arg1:int, _arg2:int):Group{ var _local3:String = getSpaceName(_arg1, _arg2); var _local4:Group = (_spaces[_local3] = ((_spaces[_local3]) || (new Group()))); return (_local4); } protected function getSpaceByPosition(_arg1:Number, _arg2:Number):Group{ var _local3:String = getSpaceNameByPosition(_arg1, _arg2); var _local4:Group = (_spaces[_local3] = ((_spaces[_local3]) || (new Group()))); return (_local4); } protected function getSpaceName(_arg1:int, _arg2:int):String{ return (((_arg1 + ",") + _arg2)); } public function addConstraint(_arg1:AbstractConstraint):void{ var _local2:Group; Debug.warn("SpatialHasher > addConstraint: this method has not been implemented"); } } }//package uk.co.kempt.uphillvegas
Section 253
//TrickMan (uk.co.kempt.uphillvegas.TrickMan) package uk.co.kempt.uphillvegas { import uk.co.kempt.uphillvegas.display.*; import com.spilgames.api.*; public class TrickMan { private var _totalTricks:int; private var _consecutiveTricks:int; private var _totalSuperBonuses:int; public static const TWIST:String = "twist"; public static const GUITAR:String = "guitar"; public static const SUPER_BONUS:String = "superBonus"; public static const TOTAL_TRICKS_FOR_AWARD_1:int = 20; public static const KARATE:String = "karate"; public static const TOTAL_TRICKS_FOR_AWARD_3:int = 5; public static const TOTAL_TRICKS_FOR_AWARD_5:int = 50; public static const REVERSE_ROTATION:String = "reverseRotation"; public static const ROTATION:String = "rotation"; public static const SUPERMAN:String = "superman"; protected function get totalTricks():int{ return (_totalTricks); } protected function set totalTricks(_arg1:int):void{ _totalTricks = _arg1; if (totalTricks == TOTAL_TRICKS_FOR_AWARD_1){ trace("award 1"); AwardsService.submitAward("award1"); } else { if (totalTricks == TOTAL_TRICKS_FOR_AWARD_5){ trace("award 5"); AwardsService.submitAward("award5"); }; }; } public function get consecutiveTricks():int{ return (_consecutiveTricks); } protected function set totalSuperBonuses(_arg1:int):void{ _totalSuperBonuses = _arg1; if (totalSuperBonuses == TOTAL_TRICKS_FOR_AWARD_3){ trace("award 3"); AwardsService.submitAward("award3"); }; } public function trickPerformed(_arg1:String="", _arg2:int=0):void{ switch (_arg1){ case SUPERMAN: Engine.instance.hud.turboMeter.value++; Engine.instance.hud.messageEngine.add("superman"); Engine.instance.scoreMan.add(ScoreMan.TRICK_SUPERMAN); Engine.instance.sfxMan.start(SFXMan.TRICK); break; case GUITAR: Engine.instance.hud.turboMeter.value++; Engine.instance.hud.messageEngine.add("guitar solo"); Engine.instance.scoreMan.add(ScoreMan.TRICK_GUITAR); Engine.instance.sfxMan.start(SFXMan.TRICK); break; case TWIST: Engine.instance.hud.turboMeter.value++; Engine.instance.hud.messageEngine.add("the twist"); Engine.instance.scoreMan.add(ScoreMan.TRICK_TWIST); Engine.instance.sfxMan.start(SFXMan.TRICK); break; case KARATE: Engine.instance.hud.turboMeter.value++; Engine.instance.hud.messageEngine.add("karate kick"); Engine.instance.scoreMan.add(ScoreMan.TRICK_KARATE); Engine.instance.sfxMan.start(SFXMan.TRICK); break; case ROTATION: Engine.instance.hud.turboMeter.value++; Engine.instance.hud.messageEngine.add((int((_arg2 * 360)).toString() + "!")); Engine.instance.scoreMan.add(ScoreMan.THREE_SIXTY); break; case REVERSE_ROTATION: Engine.instance.hud.turboMeter.value++; Engine.instance.hud.messageEngine.add("backflip"); Engine.instance.scoreMan.add(ScoreMan.THREE_SIXTY); break; case SUPER_BONUS: Engine.instance.menuScreen.show(MenuScreen.SUPER_BONUS); Engine.instance.scoreMan.add(ScoreMan.SUPER_BONUS); Engine.instance.sfxMan.start(SFXMan.SUPER_BONUS); break; }; if (_arg1 == SUPER_BONUS){ totalSuperBonuses++; } else { _consecutiveTricks++; totalTricks++; }; } public function resetConsecutiveTricks():void{ if (consecutiveTricks >= 3){ trickPerformed(SUPER_BONUS); }; _consecutiveTricks = 0; } protected function get totalSuperBonuses():int{ return (_totalSuperBonuses); } public function resetTotals():void{ _totalTricks = 0; _totalSuperBonuses = 0; } } }//package uk.co.kempt.uphillvegas
Section 254
//AnalyticsManager (uk.co.kempt.AnalyticsManager) package uk.co.kempt { import uk.co.kempt.uphillvegas.*; import com.google.analytics.*; public class AnalyticsManager { private var _tracker:AnalyticsTracker; private static const TRACKER_GAME_NAME:String = "uphill vegas"; private static const DEBUG:Boolean = false; private static const ACCOUNT_ID:String = "UA-6695967-1"; private static const SESSION_LABEL:String = "per session"; private static var TRACKED_EVENTS:Object = {}; public function AnalyticsManager(){ _tracker = new GATracker(Engine.instance, ACCOUNT_ID, "AS3", DEBUG); } private function doTrackEvent(_arg1:String, _arg2:String="per session", _arg3:Number=0):void{ if (TRACKED_EVENTS[_arg1]){ return; }; _tracker.trackEvent(TRACKER_GAME_NAME, _arg1, _arg2, _arg3); TRACKED_EVENTS[_arg1] = true; } public function trackEvent(_arg1:String, _arg2:String="per session", _arg3:Number=0):void{ doTrackEvent(_arg1, _arg2, _arg3); } } }//package uk.co.kempt
Section 255
//InputManager (uk.co.kempt.InputManager) package uk.co.kempt { import flash.display.*; import flash.events.*; import flash.utils.*; public class InputManager { private var _cheat:Boolean; private var _inputEnabled:Boolean; private var _stage:Stage; private static var KEYS:Object; private static var KEY_TIMES:Object; private static var LISTENERS:Object; public function InputManager(_arg1:Stage){ _stage = _arg1; init(); } public function die():void{ if (_stage){ _stage.removeEventListener(KeyboardEvent.KEY_DOWN, onKeyDownEvent); _stage.removeEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent); }; KEYS = null; KEY_TIMES = null; LISTENERS = null; _stage = null; } public function get stage():Stage{ return (_stage); } private function getListenersForKey(_arg1:uint):Array{ return ((LISTENERS[_arg1] = ((LISTENERS[_arg1]) || ([])))); } public function keyIsDown(_arg1:uint):Boolean{ return ((inputEnabled) ? KEYS[_arg1] : false); } public function set cheat(_arg1:Boolean):void{ _cheat = _arg1; } private function onKeyUpEvent(_arg1:KeyboardEvent):void{ switch (_arg1.keyCode){ case 19: if (((keyIsDown(16)) && (keyIsDown(107)))){ _cheat = !(_cheat); }; break; }; KEYS[_arg1.keyCode] = false; } public function get inputEnabled():Boolean{ return (_inputEnabled); } public function unregisterListener(_arg1:uint, _arg2:Function):void{ var _local3:Array = getListenersForKey(_arg1); var _local4:int = _local3.indexOf(_arg2); if (_local4 != -1){ _local3.splice(_local4, 1); }; } private function init():void{ KEYS = {}; KEY_TIMES = {}; LISTENERS = {}; inputEnabled = true; stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDownEvent, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUpEvent, false, 0, true); } public function set inputEnabled(_arg1:Boolean):void{ _inputEnabled = _arg1; } public function registerListener(_arg1:uint, _arg2:Function):void{ var _local3:Array = getListenersForKey(_arg1); if (_local3.indexOf(_arg2) == -1){ _local3.push(_arg2); }; } private function onKeyDownEvent(_arg1:KeyboardEvent):void{ var tListeners:Array; var e = _arg1; if (KEYS[e.keyCode] == true){ return; }; KEYS[e.keyCode] = true; KEY_TIMES[e.keyCode] = getTimer(); if (inputEnabled){ tListeners = getListenersForKey(e.keyCode); tListeners.forEach(function (_arg1:Function, _arg2:int, _arg3:Array):void{ _arg1(e); }); }; } public function get cheat():Boolean{ return (_cheat); } public function getKeyTime(_arg1:uint):uint{ var _local2:Number = ((KEY_TIMES[_arg1]) || (0)); if (_cheat){ return (1); }; return ((getTimer() - _local2)); } } }//package uk.co.kempt
Section 256
//Button_disabledSkin (Button_disabledSkin) package { import flash.display.*; public dynamic class Button_disabledSkin extends MovieClip { } }//package
Section 257
//Button_downSkin (Button_downSkin) package { import flash.display.*; public dynamic class Button_downSkin extends MovieClip { } }//package
Section 258
//Button_emphasizedSkin (Button_emphasizedSkin) package { import flash.display.*; public dynamic class Button_emphasizedSkin extends MovieClip { } }//package
Section 259
//Button_overSkin (Button_overSkin) package { import flash.display.*; public dynamic class Button_overSkin extends MovieClip { } }//package
Section 260
//Button_selectedDisabledSkin (Button_selectedDisabledSkin) package { import flash.display.*; public dynamic class Button_selectedDisabledSkin extends MovieClip { } }//package
Section 261
//Button_selectedDownSkin (Button_selectedDownSkin) package { import flash.display.*; public dynamic class Button_selectedDownSkin extends MovieClip { } }//package
Section 262
//Button_selectedOverSkin (Button_selectedOverSkin) package { import flash.display.*; public dynamic class Button_selectedOverSkin extends MovieClip { } }//package
Section 263
//Button_selectedUpSkin (Button_selectedUpSkin) package { import flash.display.*; public dynamic class Button_selectedUpSkin extends MovieClip { } }//package
Section 264
//Button_upSkin (Button_upSkin) package { import flash.display.*; public dynamic class Button_upSkin extends MovieClip { } }//package
Section 265
//carhitsound_sound (carhitsound_sound) package { import flash.media.*; public dynamic class carhitsound_sound extends Sound { } }//package
Section 266
//changemodenoise_sound (changemodenoise_sound) package { import flash.media.*; public dynamic class changemodenoise_sound extends Sound { } }//package
Section 267
//changemodenoise2_sound (changemodenoise2_sound) package { import flash.media.*; public dynamic class changemodenoise2_sound extends Sound { } }//package
Section 268
//click_sound (click_sound) package { import flash.media.*; public dynamic class click_sound extends Sound { } }//package
Section 269
//clicksetup_sound (clicksetup_sound) package { import flash.media.*; public dynamic class clicksetup_sound extends Sound { } }//package
Section 270
//come_on_sound (come_on_sound) package { import flash.media.*; public dynamic class come_on_sound extends Sound { } }//package
Section 271
//faild_sound (faild_sound) package { import flash.media.*; public dynamic class faild_sound extends Sound { } }//package
Section 272
//faildcartoon_sound (faildcartoon_sound) package { import flash.media.*; public dynamic class faildcartoon_sound extends Sound { } }//package
Section 273
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 274
//game_complete_sound (game_complete_sound) package { import flash.media.*; public dynamic class game_complete_sound extends Sound { } }//package
Section 275
//go_sound (go_sound) package { import flash.media.*; public dynamic class go_sound extends Sound { } }//package
Section 276
//landing_sound (landing_sound) package { import flash.media.*; public dynamic class landing_sound extends Sound { } }//package
Section 277
//level_failed_sound (level_failed_sound) package { import flash.media.*; public dynamic class level_failed_sound extends Sound { } }//package
Section 278
//level_number_sprite (level_number_sprite) package { import uk.co.kempt.uphillvegas.display.*; public dynamic class level_number_sprite extends LevelNumberSprite { } }//package
Section 279
//level_number_sprite_2 (level_number_sprite_2) package { import uk.co.kempt.uphillvegas.display.*; public dynamic class level_number_sprite_2 extends LevelNumberSprite { } }//package
Section 280
//level_sound (level_sound) package { import flash.media.*; public dynamic class level_sound extends Sound { } }//package
Section 281
//level_win_sound (level_win_sound) package { import flash.media.*; public dynamic class level_win_sound extends Sound { } }//package
Section 282
//LogObstacle (LogObstacle) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class LogObstacle extends Obstacle { } }//package
Section 283
//LogsObstacle (LogsObstacle) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class LogsObstacle extends Obstacle { } }//package
Section 284
//main_screen_sound (main_screen_sound) package { import flash.media.*; public dynamic class main_screen_sound extends Sound { } }//package
Section 285
//menu_sound (menu_sound) package { import flash.media.*; public dynamic class menu_sound extends Sound { } }//package
Section 286
//mousestreak_sound (mousestreak_sound) package { import flash.media.*; public dynamic class mousestreak_sound extends Sound { } }//package
Section 287
//nginedown_sound (nginedown_sound) package { import flash.media.*; public dynamic class nginedown_sound extends Sound { } }//package
Section 288
//nginefiring_sound (nginefiring_sound) package { import flash.media.*; public dynamic class nginefiring_sound extends Sound { } }//package
Section 289
//ngineidling_sound (ngineidling_sound) package { import flash.media.*; public dynamic class ngineidling_sound extends Sound { } }//package
Section 290
//nginekeep_sound (nginekeep_sound) package { import flash.media.*; public dynamic class nginekeep_sound extends Sound { } }//package
Section 291
//OilCanFront (OilCanFront) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class OilCanFront extends Obstacle { } }//package
Section 292
//OilSlipObstacle (OilSlipObstacle) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class OilSlipObstacle extends SlipObstacle { } }//package
Section 293
//oooh_baby_sound (oooh_baby_sound) package { import flash.media.*; public dynamic class oooh_baby_sound extends Sound { } }//package
Section 294
//rock_n_roll_sound (rock_n_roll_sound) package { import flash.media.*; public dynamic class rock_n_roll_sound extends Sound { } }//package
Section 295
//RockAnotherOne (RockAnotherOne) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class RockAnotherOne extends Obstacle { } }//package
Section 296
//RockCollisionObstacle (RockCollisionObstacle) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class RockCollisionObstacle extends CollisionObstacle { } }//package
Section 297
//RockObstacle (RockObstacle) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class RockObstacle extends Obstacle { } }//package
Section 298
//RubbishBagBag (RubbishBagBag) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class RubbishBagBag extends Obstacle { } }//package
Section 299
//RubbishObstacle (RubbishObstacle) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class RubbishObstacle extends Obstacle { } }//package
Section 300
//score_sound (score_sound) package { import flash.media.*; public dynamic class score_sound extends Sound { } }//package
Section 301
//ScrapCarObstacle (ScrapCarObstacle) package { import uk.co.kempt.uphillvegas.world.obstacle.*; public dynamic class ScrapCarObstacle extends Obstacle { } }//package
Section 302
//specialaction_sound (specialaction_sound) package { import flash.media.*; public dynamic class specialaction_sound extends Sound { } }//package
Section 303
//start_of_race_sound (start_of_race_sound) package { import flash.media.*; public dynamic class start_of_race_sound extends Sound { } }//package
Section 304
//super_bonus_voice_sound (super_bonus_voice_sound) package { import flash.media.*; public dynamic class super_bonus_voice_sound extends Sound { } }//package
Section 305
//turbo_initiated_sound (turbo_initiated_sound) package { import flash.media.*; public dynamic class turbo_initiated_sound extends Sound { } }//package
Section 306
//uh_huh_sound (uh_huh_sound) package { import flash.media.*; public dynamic class uh_huh_sound extends Sound { } }//package
Section 307
//whoo_mama_sound (whoo_mama_sound) package { import flash.media.*; public dynamic class whoo_mama_sound extends Sound { } }//package

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:9
Symbol 4 GraphicUsed by:9
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:9
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClip {uk.co.kempt.uphillvegas.display.VegasLoader}Uses:3 4 6 7 8Used by:Timeline
Symbol 10 GraphicUsed by:Timeline
Symbol 11 GraphicUsed by:12 337 488
Symbol 12 MovieClipUses:11Used by:300 409 415 455  Timeline
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:300 409 415 455  Timeline
Symbol 15 GraphicUsed by:Timeline
Symbol 16 GraphicUsed by:17 341 483
Symbol 17 MovieClipUses:16Used by:300 409 415 455  Timeline
Symbol 18 GraphicUsed by:19 342
Symbol 19 MovieClipUses:18Used by:300 409 415 455  Timeline
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:300 409 415 455  Timeline
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:300 409 415 455  Timeline
Symbol 24 GraphicUsed by:25 347 475
Symbol 25 MovieClipUses:24Used by:300 409 415 455  Timeline
Symbol 26 GraphicUsed by:Timeline
Symbol 27 FontUsed by:28 29 261 286 312 313 314 315 328 329 331 333 350 355 356 357 358 395 413 429 434 435 436 437 439 440 442 444 446 448 461 462 467 468 585 700
Symbol 28 TextUses:27Used by:30
Symbol 29 TextUses:27Used by:30
Symbol 30 MovieClipUses:28 29Used by:300 455  Timeline
Symbol 31 GraphicUsed by:32 374
Symbol 32 MovieClipUses:31Used by:300 409 415 421  Timeline
Symbol 33 GraphicUsed by:Timeline
Symbol 34 GraphicUsed by:35 299
Symbol 35 ButtonUses:34Used by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 MovieClipUses:37Used by:177
Symbol 39 GraphicUsed by:50
Symbol 40 GraphicUsed by:50
Symbol 41 GraphicUsed by:50
Symbol 42 GraphicUsed by:50 169 175
Symbol 43 GraphicUsed by:50
Symbol 44 GraphicUsed by:50
Symbol 45 GraphicUsed by:50
Symbol 46 GraphicUsed by:50
Symbol 47 GraphicUsed by:50
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:50
Symbol 50 MovieClipUses:39 40 41 42 43 44 45 46 47 49Used by:177
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:177
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:177
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:177
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:177
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:177
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:177
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:177
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:177
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:177
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:69Used by:177
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:177
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:177
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:177
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:177
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:81
Symbol 81 MovieClipUses:80Used by:177
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClipUses:83Used by:177
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:87
Symbol 87 MovieClipUses:86Used by:177
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:90
Symbol 90 MovieClipUses:89Used by:177
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:93
Symbol 93 MovieClipUses:92Used by:177
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:96
Symbol 96 MovieClipUses:95Used by:177
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:99
Symbol 99 MovieClipUses:98Used by:177
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:102
Symbol 102 MovieClipUses:101Used by:177
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:105
Symbol 105 MovieClipUses:104Used by:177
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:108
Symbol 108 MovieClipUses:107Used by:177
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:111
Symbol 111 MovieClipUses:110Used by:177
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112Used by:114
Symbol 114 MovieClipUses:113Used by:177
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:117
Symbol 117 MovieClipUses:116Used by:177
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:177
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:177
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:177
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:177
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:177
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:177
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:177
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:177
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:177
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:138
Symbol 138 MovieClipUses:137Used by:177
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:141
Symbol 141 MovieClipUses:140Used by:177
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:177
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:177
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:177
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:177
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:152
Symbol 152 MovieClipUses:151Used by:177
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:177
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:177
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157Used by:177
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:159Used by:161
Symbol 161 MovieClipUses:160Used by:177
Symbol 162 GraphicUsed by:165
Symbol 163 GraphicUsed by:165
Symbol 164 GraphicUsed by:165 173
Symbol 165 MovieClipUses:162 163 164Used by:170
Symbol 166 GraphicUsed by:169 175
Symbol 167 GraphicUsed by:168 174
Symbol 168 MovieClipUses:167Used by:169
Symbol 169 MovieClipUses:166 168 42Used by:170
Symbol 170 MovieClipUses:165 169Used by:177
Symbol 171 GraphicUsed by:172 173
Symbol 172 MovieClipUses:171Used by:173
Symbol 173 MovieClipUses:172 171 164Used by:176
Symbol 174 MovieClipUses:167Used by:175
Symbol 175 MovieClipUses:166 174 42Used by:176
Symbol 176 MovieClipUses:173 175Used by:177
Symbol 177 MovieClip {spill.localisation.BrandingLogo}Uses:38 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 81 84 87 90 93 96 99 102 105 108 111 114 117 119 121 123 125 127 129 131 133 135 138 141 143 145 147 149 152 154 156 158 161 170 176Used by:300 397 415 421 424 438 454  Timeline
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:180 268
Symbol 180 MovieClip {spill.localisation.LocalizedTextField}Uses:179Used by:262 263 264 265 266 300 305 351 359 366 370 377 380 381 382 383 384 385 386 387 391 397 400 401 402 403 404 405 406 407 415 420 421 424 427 428 438 450 453 454 455 469  Timeline
Symbol 181 Sound {whoo_mama_sound}
Symbol 182 Sound {uh_huh_sound}
Symbol 183 Sound {turbo_initiated_sound}
Symbol 184 Sound {super_bonus_voice_sound}
Symbol 185 Sound {start_of_race_sound}
Symbol 186 Sound {specialaction_sound}
Symbol 187 Sound {score_sound}
Symbol 188 Sound {rock_n_roll_sound}
Symbol 189 Sound {oooh_baby_sound}
Symbol 190 Sound {nginekeep_sound}
Symbol 191 Sound {ngineidling_sound}
Symbol 192 Sound {nginefiring_sound}
Symbol 193 Sound {nginedown_sound}
Symbol 194 Sound {mousestreak_sound}
Symbol 195 Sound {menu_sound}
Symbol 196 Sound {main_screen_sound}
Symbol 197 Sound {level_win_sound}
Symbol 198 Sound {level_sound}
Symbol 199 Sound {landing_sound}
Symbol 200 Sound {go_sound}
Symbol 201 Sound {game_complete_sound}
Symbol 202 Sound {level_failed_sound}
Symbol 203 Sound {faild_sound}
Symbol 204 Sound {faildcartoon_sound}
Symbol 205 Sound {come_on_sound}
Symbol 206 Sound {click_sound}
Symbol 207 Sound {clicksetup_sound}
Symbol 208 Sound {changemodenoise_sound}
Symbol 209 Sound {changemodenoise2_sound}
Symbol 210 Sound {carhitsound_sound}
Symbol 211 FontUsed by:212 214
Symbol 212 TextUses:211Used by:215
Symbol 213 GraphicUsed by:215
Symbol 214 TextUses:211Used by:215
Symbol 215 Button {spill.localisation.SpilGamesLink}Uses:212 213 214
Symbol 216 GraphicUsed by:245
Symbol 217 FontUsed by:218 250
Symbol 218 EditableTextUses:217Used by:245
Symbol 219 GraphicUsed by:245 251 303
Symbol 220 GraphicUsed by:244
Symbol 221 GraphicUsed by:244
Symbol 222 GraphicUsed by:244
Symbol 223 GraphicUsed by:244
Symbol 224 GraphicUsed by:244
Symbol 225 GraphicUsed by:244
Symbol 226 GraphicUsed by:244
Symbol 227 GraphicUsed by:244
Symbol 228 GraphicUsed by:244
Symbol 229 GraphicUsed by:244
Symbol 230 GraphicUsed by:244
Symbol 231 GraphicUsed by:244
Symbol 232 GraphicUsed by:244
Symbol 233 GraphicUsed by:244
Symbol 234 GraphicUsed by:244
Symbol 235 GraphicUsed by:244
Symbol 236 GraphicUsed by:244
Symbol 237 GraphicUsed by:244
Symbol 238 GraphicUsed by:244
Symbol 239 GraphicUsed by:244
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:244
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:244
Symbol 244 MovieClip {game_fla.flag_icon_287}Uses:220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 241 243Used by:245 251
Symbol 245 MovieClip {spill.localisation.LanguageSelectBox_mc}Uses:216 218 219 244
Symbol 246 GraphicUsed by:249
Symbol 247 GraphicUsed by:249
Symbol 248 GraphicUsed by:249
Symbol 249 ButtonUses:246 247 248Used by:251
Symbol 250 EditableTextUses:217Used by:251
Symbol 251 MovieClipUses:249 219 244 250Used by:254
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClipUses:252Used by:254
Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc}Uses:251 253
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClip {uk.co.kempt.uphillvegas.display.particles.NoteTrail2}Uses:255
Symbol 257 GraphicUsed by:258
Symbol 258 MovieClip {uk.co.kempt.uphillvegas.display.particles.NoteTrail}Uses:257
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClip {uk.co.kempt.uphillvegas.display.particles.StarTrail}Uses:259
Symbol 261 EditableTextUses:27Used by:267
Symbol 262 MovieClip {game_fla.backflipClip_276}Uses:180Used by:267
Symbol 263 MovieClip {game_fla.karateKickClip_277}Uses:180Used by:267
Symbol 264 MovieClip {game_fla.theTwistClip_278}Uses:180Used by:267
Symbol 265 MovieClip {game_fla.supermanClip_279}Uses:180Used by:267
Symbol 266 MovieClip {game_fla.guitarsoloClip_280}Uses:180Used by:267
Symbol 267 MovieClip {uk.co.kempt.uphillvegas.display.TrickLabelSprite}Uses:261 262 263 264 265 266
Symbol 268 MovieClip {spill.localisation.LanguageSelectBox}Uses:179Used by:455
Symbol 269 BitmapUsed by:270
Symbol 270 GraphicUses:269Used by:455
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:455
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClipUses:273Used by:285 289 455
Symbol 275 GraphicUsed by:277
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClip {uk.co.kempt.uphillvegas.display.button.SoundToggleButton}Uses:275 276Used by:285 424
Symbol 278 GraphicUsed by:281
Symbol 279 GraphicUsed by:281
Symbol 280 GraphicUsed by:281
Symbol 281 MovieClip {menus.qualityBtn}Uses:278 279 280Used by:285
Symbol 282 GraphicUsed by:284
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClip {uk.co.kempt.uphillvegas.display.button.MusicToggleButton}Uses:282 283Used by:285 424
Symbol 285 MovieClip {uk.co.kempt.uphillvegas.display.menu.TopBar}Uses:274 277 281 284Used by:455
Symbol 286 TextUses:27Used by:288
Symbol 287 GraphicUsed by:288
Symbol 288 ButtonUses:286 287Used by:289
Symbol 289 MovieClip {uk.co.kempt.uphillvegas.display.menu.BottomBar}Uses:274 288Used by:455
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClipUses:290Used by:455
Symbol 292 GraphicUsed by:300
Symbol 293 GraphicUsed by:300
Symbol 294 GraphicUsed by:300
Symbol 295 GraphicUsed by:297 298 393 394 412 423 456
Symbol 296 GraphicUsed by:297 298 393 394 412 423 456
Symbol 297 Button {menus.startBtn}Uses:295 296Used by:300
Symbol 298 Button {menus.howToPlayBtn}Uses:295 296Used by:300 424
Symbol 299 Button {menus.agameLinkBtn}Uses:34Used by:300 397 415 421 424 454
Symbol 300 MovieClip {uk.co.kempt.uphillvegas.display.menu.StartPage}Uses:292 12 14 293 17 19 21 23 25 294 30 297 298 299 32 180 177Used by:455
Symbol 301 FontUsed by:302
Symbol 302 TextUses:301Used by:455
Symbol 303 MovieClipUses:219Used by:455
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClip {game_fla.howtoPlay1_243}Uses:304 180Used by:455
Symbol 306 GraphicUsed by:308 309 310
Symbol 307 GraphicUsed by:308 309 310
Symbol 308 Button {menus.mainMenuBtn}Uses:306 307Used by:455
Symbol 309 Button {menus.nextBtn}Uses:306 307Used by:455
Symbol 310 Button {menus.backBtn}Uses:306 307Used by:455
Symbol 311 GraphicUsed by:438 455 469
Symbol 312 TextUses:27Used by:438 455 469
Symbol 313 TextUses:27Used by:438 455 469
Symbol 314 TextUses:27Used by:438 455 469
Symbol 315 TextUses:27Used by:438 455 469
Symbol 316 GraphicUsed by:455 469
Symbol 317 GraphicUsed by:326 438 455 465
Symbol 318 ShapeTweeningUsed by:326 455
Symbol 319 GraphicUsed by:326 438 455 465
Symbol 320 GraphicUsed by:326 438 455 465
Symbol 321 GraphicUsed by:326 455 465
Symbol 322 GraphicUsed by:323 463
Symbol 323 ButtonUses:322Used by:326 455
Symbol 324 GraphicUsed by:326 455 465
Symbol 325 ShapeTweeningUsed by:326
Symbol 326 MovieClipUses:317 318 319 320 321 323 324 325Used by:455
Symbol 327 GraphicUsed by:455
Symbol 328 EditableTextUses:27Used by:455
Symbol 329 EditableTextUses:27Used by:455
Symbol 330 GraphicUsed by:332 336
Symbol 331 TextUses:27Used by:332 336
Symbol 332 ButtonUses:330 331Used by:455
Symbol 333 EditableTextUses:27Used by:455
Symbol 334 GraphicUsed by:336
Symbol 335 GraphicUsed by:336
Symbol 336 Button {menus.pauseBtn}Uses:334 335 330 331Used by:438 455 469
Symbol 337 MovieClipUses:11Used by:455
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClipUses:338Used by:455
Symbol 340 GraphicUsed by:455
Symbol 341 MovieClipUses:16Used by:455
Symbol 342 MovieClipUses:18Used by:455
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClipUses:343Used by:455
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClipUses:345Used by:455
Symbol 347 MovieClipUses:24Used by:455
Symbol 348 GraphicUsed by:455
Symbol 349 GraphicUsed by:351
Symbol 350 TextUses:27Used by:351
Symbol 351 MovieClip {game_fla.howtoPlay1A_254}Uses:349 350 180Used by:455
Symbol 352 GraphicUsed by:455
Symbol 353 GraphicUsed by:455
Symbol 354 GraphicUsed by:359
Symbol 355 TextUses:27Used by:359
Symbol 356 TextUses:27Used by:359
Symbol 357 TextUses:27Used by:359
Symbol 358 TextUses:27Used by:359
Symbol 359 MovieClip {game_fla.howToPlay2_255}Uses:354 355 356 357 358 180Used by:455
Symbol 360 GraphicUsed by:455
Symbol 361 GraphicUsed by:455 522
Symbol 362 GraphicUsed by:455
Symbol 363 GraphicUsed by:364 480
Symbol 364 MovieClipUses:363Used by:455
Symbol 365 GraphicUsed by:455
Symbol 366 MovieClip {game_fla.howToPlay3_257}Uses:180Used by:455
Symbol 367 GraphicUsed by:455
Symbol 368 GraphicUsed by:455
Symbol 369 GraphicUsed by:455
Symbol 370 MovieClip {game_fla.howToPlay4A_258}Uses:180Used by:455
Symbol 371 GraphicUsed by:455
Symbol 372 GraphicUsed by:409 415 455 535
Symbol 373 GraphicUsed by:455
Symbol 374 MovieClipUses:31Used by:455
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClipUses:375Used by:377 455
Symbol 377 MovieClip {game_fla.howToPlay4_260}Uses:180 376Used by:455
Symbol 378 GraphicUsed by:455
Symbol 379 GraphicUsed by:455
Symbol 380 MovieClip {game_fla.level1clip_218}Uses:180Used by:388
Symbol 381 MovieClip {game_fla.level2clip_219}Uses:180Used by:388
Symbol 382 MovieClip {game_fla.level3clip_220}Uses:180Used by:388
Symbol 383 MovieClip {game_fla.level4clip_221}Uses:180Used by:388
Symbol 384 MovieClip {game_fla.level5clip_222}Uses:180Used by:388
Symbol 385 MovieClip {game_fla.level6clip_223}Uses:180Used by:388
Symbol 386 MovieClip {game_fla.level7clip_224}Uses:180Used by:388
Symbol 387 MovieClip {game_fla.level8clip_225}Uses:180Used by:388
Symbol 388 MovieClip {level_number_sprite}Uses:380 381 382 383 384 385 386 387Used by:455
Symbol 389 GraphicUsed by:390
Symbol 390 MovieClipUses:389Used by:455
Symbol 391 MovieClip {game_fla.levelFailedClip_263}Uses:180Used by:455
Symbol 392 GraphicUsed by:397 409 454
Symbol 393 Button {menus.tryAgainBtn}Uses:295 296Used by:397 454
Symbol 394 Button {menus.mainMenuLargeBtn}Uses:295 296Used by:397 421 424 454
Symbol 395 EditableTextUses:27Used by:396
Symbol 396 MovieClip {uk.co.kempt.uphillvegas.display.LivesNumberSprite}Uses:395Used by:397
Symbol 397 MovieClip {uk.co.kempt.uphillvegas.display.menu.TryAgain}Uses:392 393 394 299 180 177 396Used by:455
Symbol 398 GraphicUsed by:409
Symbol 399 GraphicUsed by:409
Symbol 400 MovieClip {game_fla.level1complete_93}Uses:180Used by:408
Symbol 401 MovieClip {game_fla.level2complete_94}Uses:180Used by:408
Symbol 402 MovieClip {game_fla.level3complete_95}Uses:180Used by:408
Symbol 403 MovieClip {game_fla.level4complete_96}Uses:180Used by:408
Symbol 404 MovieClip {game_fla.level5complete_97}Uses:180Used by:408
Symbol 405 MovieClip {game_fla.level6complete_98}Uses:180Used by:408
Symbol 406 MovieClip {game_fla.level7complete_99}Uses:180Used by:408
Symbol 407 MovieClip {game_fla.level8complete_100}Uses:180Used by:408
Symbol 408 MovieClip {level_number_sprite_2}Uses:400 401 402 403 404 405 406 407Used by:409
Symbol 409 MovieClip {uk.co.kempt.uphillvegas.display.menu.LevelCompletePage}Uses:392 398 12 14 372 17 19 21 23 25 399 32 408Used by:455
Symbol 410 GraphicUsed by:415
Symbol 411 GraphicUsed by:415
Symbol 412 Button {menus.nextLevelBtn}Uses:295 296Used by:415
Symbol 413 EditableTextUses:27Used by:414
Symbol 414 MovieClip {uk.co.kempt.uphillvegas.display.ScoreNumberSprite}Uses:413Used by:415 421
Symbol 415 MovieClip {uk.co.kempt.uphillvegas.display.menu.NextLevelPage}Uses:410 12 14 372 17 19 21 23 25 411 32 412 414 180 299 177Used by:455
Symbol 416 GraphicUsed by:455
Symbol 417 GraphicUsed by:455
Symbol 418 GraphicUsed by:455
Symbol 419 GraphicUsed by:421
Symbol 420 MovieClip {game_fla.gameCompleteClip_233}Uses:180Used by:421
Symbol 421 MovieClip {uk.co.kempt.uphillvegas.display.menu.CompletePage}Uses:32 394 419 299 177 180 420 414Used by:455
Symbol 422 GraphicUsed by:424
Symbol 423 Button {menus.resumeBtn}Uses:295 296Used by:424
Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu}Uses:422 394 298 299 423 277 284 177 180Used by:455
Symbol 425 GraphicUsed by:426
Symbol 426 MovieClipUses:425Used by:455
Symbol 427 MovieClip {game_fla.superbonusClip_265}Uses:180Used by:455
Symbol 428 MovieClip {game_fla.Timeline_266}Uses:180Used by:455
Symbol 429 TextUses:27Used by:430 441 443 445 447 449
Symbol 430 MovieClipUses:429Used by:455
Symbol 431 GraphicUsed by:438
Symbol 432 ShapeTweeningUsed by:438 465
Symbol 433 GraphicUsed by:438
Symbol 434 TextUses:27Used by:438
Symbol 435 TextUses:27Used by:438
Symbol 436 EditableTextUses:27Used by:438
Symbol 437 EditableTextUses:27Used by:438
Symbol 438 MovieClip {game_fla.menus_268}Uses:311 312 313 314 315 431 317 432 319 320 433 434 435 436 437 336 180 177Used by:455
Symbol 439 TextUses:27Used by:441 443 445 447 449
Symbol 440 TextUses:27Used by:441
Symbol 441 MovieClipUses:429 439 440Used by:455
Symbol 442 TextUses:27Used by:443
Symbol 443 MovieClipUses:442 429 439Used by:455
Symbol 444 TextUses:27Used by:445
Symbol 445 MovieClipUses:444 429 439Used by:455
Symbol 446 TextUses:27Used by:447
Symbol 447 MovieClipUses:446 429 439Used by:455
Symbol 448 TextUses:27Used by:449
Symbol 449 MovieClipUses:448 429 439Used by:455
Symbol 450 MovieClip {game_fla.levelLifeLostClip_274}Uses:180Used by:455
Symbol 451 GraphicUsed by:452
Symbol 452 MovieClipUses:451Used by:454
Symbol 453 MovieClip {game_fla.levelGameOverClip_216}Uses:180Used by:454
Symbol 454 MovieClip {uk.co.kempt.uphillvegas.display.menu.GameOverPage}Uses:452 453 392 393 394 299 180 177Used by:455
Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen}Uses:270 272 285 289 291 300 268 302 303 305 308 309 310 180 311 312 313 314 315 316 326 327 328 329 332 333 336 337 339 340 341 342 344 346 347 348 351 352 353 359 360 361 362 364 365 366 317 318 319 320 367 368 369 370 323 321 324 371 372 373 374 377 378 379 376 388 390 391 397 409 415 274 416 12 14 417 17 19 21 23 25 418 30 421 424 426 427 428 430 438 441 443 445 447 449 450 454
Symbol 456 Button {menus.submitScorelBtn}Uses:295 296
Symbol 457 BitmapUsed by:458
Symbol 458 GraphicUses:457Used by:459
Symbol 459 MovieClip {uk.co.kempt.uphillvegas.display.GameBackground}Uses:458
Symbol 460 GraphicUsed by:469
Symbol 461 EditableTextUses:27Used by:469
Symbol 462 EditableTextUses:27Used by:469
Symbol 463 ButtonUses:322Used by:465
Symbol 464 ShapeTweeningUsed by:465
Symbol 465 MovieClipUses:317 432 319 320 321 463 324 464Used by:466
Symbol 466 MovieClip {uk.co.kempt.uphillvegas.display.TurboMeter}Uses:465Used by:469
Symbol 467 EditableTextUses:27Used by:469
Symbol 468 EditableTextUses:27Used by:469
Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD}Uses:460 311 312 313 314 315 316 336 461 462 466 467 468 180
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:470Used by:472
Symbol 472 MovieClip {uk.co.kempt.uphillvegas.world.Surface}Uses:471Used by:497 601 621 624 626 630 637 639 641 643 645 650 656 660 662 665 667
Symbol 473 GraphicUsed by:474
Symbol 474 MovieClipUses:473Used by:489 491 498 499 502 503 504 505 515 522 526 531 535 568
Symbol 475 MovieClipUses:24Used by:489 491 498 499 502 503 504 505 515 522 526 531 535 568
Symbol 476 GraphicUsed by:477
Symbol 477 MovieClipUses:476Used by:489 491 498 499 502 503 504 505 515 522 526 531 535 568
Symbol 478 GraphicUsed by:479
Symbol 479 MovieClipUses:478Used by:489 491 498 499 502 503 504 505 515 522 526 531 535
Symbol 480 MovieClipUses:363Used by:489 491 498 499 502 503 504 505 515 522 526 531 535
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClipUses:481Used by:489 491 498 499 502 503 504 505 515 522 526 531 535
Symbol 483 MovieClipUses:16Used by:489 491 498 499 502 503 504 505 515 522 526 531 535 568
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClipUses:484Used by:489 491 498 499 502 503 504 505 515 522 526 531 535 568
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:489 491 498 499 502 503 504 505 515 522 526 531 535 568
Symbol 488 MovieClipUses:11Used by:489 491 498 499 502 503 504 505 515 522 526 531 535 568
Symbol 489 MovieClip {game_fla.elvis_196}Uses:474 475 477 479 480 482 483 485 487 488Used by:490
Symbol 490 MovieClipUses:489Used by:496
Symbol 491 MovieClip {game_fla.elvis_198}Uses:474 475 477 479 480 482 483 485 487 488Used by:495
Symbol 492 GraphicUsed by:495
Symbol 493 GraphicUsed by:495
Symbol 494 GraphicUsed by:495
Symbol 495 MovieClip {game_fla.elvis_197}Uses:491 492 493 494Used by:496
Symbol 496 MovieClipUses:490 495Used by:497
Symbol 497 MovieClip {uk.co.kempt.uphillvegas.world.projectile.ElvisProjectile}Uses:472 496
Symbol 498 MovieClipUses:474 475 477 479 480 482 483 485 487 488Used by:535
Symbol 499 MovieClipUses:474 475 477 479 480 482 483 485 487 488Used by:535
Symbol 500 GraphicUsed by:501
Symbol 501 MovieClipUses:500Used by:502
Symbol 502 MovieClipUses:474 475 477 479 480 482 483 485 487 488 501Used by:535
Symbol 503 MovieClipUses:474 475 477 479 480 482 483 485 487 488Used by:535
Symbol 504 MovieClip {game_fla.elvis_180}Uses:474 477 475 479 480 482 483 485 487 488Used by:535
Symbol 505 MovieClip {game_fla.elvis_181}Uses:474 477 475 479 480 482 483 485 487 488Used by:535
Symbol 506 GraphicUsed by:515
Symbol 507 GraphicUsed by:515
Symbol 508 GraphicUsed by:515
Symbol 509 GraphicUsed by:515
Symbol 510 GraphicUsed by:515
Symbol 511 GraphicUsed by:515
Symbol 512 GraphicUsed by:515
Symbol 513 GraphicUsed by:515
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClip {game_fla.elvis_182}Uses:506 474 477 475 479 480 482 483 485 487 488 507 508 509 510 511 512 513 514Used by:535
Symbol 516 GraphicUsed by:522
Symbol 517 GraphicUsed by:518
Symbol 518 MovieClipUses:517Used by:522
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:522
Symbol 521 GraphicUsed by:522
Symbol 522 MovieClip {game_fla.elvis_183}Uses:516 361 477 475 479 480 482 483 485 487 488 518 474 520 521Used by:535
Symbol 523 GraphicUsed by:526
Symbol 524 GraphicUsed by:526 531
Symbol 525 GraphicUsed by:526
Symbol 526 MovieClip {game_fla.elvis_186}Uses:523 479 480 482 483 477 488 474 485 475 487 524 525Used by:535
Symbol 527 GraphicUsed by:531
Symbol 528 GraphicUsed by:531 611
Symbol 529 GraphicUsed by:531 611
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClip {game_fla.elvis_187}Uses:527 474 477 475 479 480 482 483 485 488 487 524 528 529 530Used by:535
Symbol 532 GraphicUsed by:534
Symbol 533 GraphicUsed by:534
Symbol 534 MovieClip {game_fla.elvis_188}Uses:532 533Used by:535
Symbol 535 MovieClipUses:498 499 502 503 504 505 515 522 526 531 534 474 475 477 479 480 482 372 483 485 487 488Used by:570
Symbol 536 GraphicUsed by:537
Symbol 537 MovieClipUses:536Used by:570
Symbol 538 GraphicUsed by:539 568
Symbol 539 MovieClip {game_fla.cadillac_191}Uses:538Used by:569
Symbol 540 GraphicUsed by:568
Symbol 541 GraphicUsed by:568
Symbol 542 GraphicUsed by:568
Symbol 543 GraphicUsed by:568
Symbol 544 GraphicUsed by:568
Symbol 545 GraphicUsed by:568
Symbol 546 GraphicUsed by:568
Symbol 547 GraphicUsed by:568
Symbol 548 GraphicUsed by:568
Symbol 549 GraphicUsed by:568
Symbol 550 GraphicUsed by:568
Symbol 551 GraphicUsed by:568
Symbol 552 GraphicUsed by:568
Symbol 553 GraphicUsed by:568
Symbol 554 GraphicUsed by:568
Symbol 555 GraphicUsed by:568
Symbol 556 GraphicUsed by:568
Symbol 557 GraphicUsed by:568
Symbol 558 GraphicUsed by:568
Symbol 559 GraphicUsed by:568
Symbol 560 GraphicUsed by:568
Symbol 561 GraphicUsed by:568
Symbol 562 GraphicUsed by:568
Symbol 563 GraphicUsed by:568
Symbol 564 GraphicUsed by:568
Symbol 565 GraphicUsed by:568
Symbol 566 GraphicUsed by:568
Symbol 567 GraphicUsed by:568
Symbol 568 MovieClipUses:538 540 541 474 475 477 483 485 487 488 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567Used by:569
Symbol 569 MovieClipUses:539 568Used by:570
Symbol 570 MovieClip {uk.co.kempt.uphillvegas.display.CarSprite}Uses:535 537 569
Symbol 571 GraphicUsed by:572
Symbol 572 MovieClipUses:571Used by:621 624 637 650 656 662 665 667
Symbol 573 GraphicUsed by:581
Symbol 574 GraphicUsed by:575
Symbol 575 MovieClipUses:574Used by:581 586 588
Symbol 576 GraphicUsed by:581
Symbol 577 GraphicUsed by:578
Symbol 578 MovieClipUses:577Used by:581 586
Symbol 579 GraphicUsed by:580
Symbol 580 MovieClipUses:579Used by:581 586
Symbol 581 MovieClipUses:573 575 576 578 580Used by:582
Symbol 582 MovieClipUses:581Used by:583
Symbol 583 MovieClip {uk.co.kempt.uphillvegas.world.checkpoint.Checkpoint}Uses:582Used by:621 624 637 650 656 662 665 667
Symbol 584 GraphicUsed by:586
Symbol 585 TextUses:27Used by:586
Symbol 586 MovieClip {uk.co.kempt.uphillvegas.world.checkpoint.StartCheckpoint}Uses:575 584 578 580 585Used by:621 624 637 650 656 662 665 667
Symbol 587 GraphicUsed by:588
Symbol 588 MovieClipUses:587 575Used by:589
Symbol 589 MovieClip {uk.co.kempt.uphillvegas.world.checkpoint.EndCheckpoint}Uses:588Used by:621 624 637 650 656 662 665 667
Symbol 590 GraphicUsed by:594
Symbol 591 GraphicUsed by:592
Symbol 592 MovieClip {game_fla.gfx_122}Uses:591Used by:593
Symbol 593 MovieClip {uk.co.kempt.uphillvegas.world.Cylinder}Uses:592Used by:594 621 624 630 637 656 658 662
Symbol 594 MovieClip {OilCanFront}Uses:590 593Used by:621 624 637 650 656 662 665 667
Symbol 595 GraphicUsed by:599
Symbol 596 GraphicUsed by:597
Symbol 597 MovieClipUses:596Used by:599
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:595 597 598Used by:621 624 637 656 662 667
Symbol 600 GraphicUsed by:601 621
Symbol 601 MovieClip {ScrapCarObstacle}Uses:600 472Used by:621 624 637 650 656 662 665 667
Symbol 602 GraphicUsed by:603
Symbol 603 MovieClip {uk.co.kempt.uphillvegas.world.collectable.BoostCollectable}Uses:602Used by:621 656
Symbol 604 GraphicUsed by:611
Symbol 605 GraphicUsed by:611
Symbol 606 GraphicUsed by:611
Symbol 607 GraphicUsed by:611
Symbol 608 GraphicUsed by:611
Symbol 609 GraphicUsed by:611
Symbol 610 GraphicUsed by:611
Symbol 611 MovieClip {uk.co.kempt.uphillvegas.world.collectable.ChipCollectable}Uses:604 605 529 528 606 607 608 609 610Used by:621 624 637 650 656 662 665 667
Symbol 612 GraphicUsed by:613
Symbol 613 MovieClipUses:612Used by:614
Symbol 614 MovieClipUses:613Used by:621 656 662 665
Symbol 615 BitmapUsed by:616 622 623 627 646 651 652 653 654 661 664 666
Symbol 616 GraphicUses:615Used by:621
Symbol 617 GraphicUsed by:618
Symbol 618 MovieClipUses:617Used by:621 656
Symbol 619 BitmapUsed by:620 623 627 646 651 652 653 654 655 661 664 666
Symbol 620 GraphicUses:619Used by:621
Symbol 621 MovieClip {uk.co.kempt.uphillvegas.level.Level3}Uses:572 583 586 589 594 472 593 599 601 603 611 614 616 618 600 620
Symbol 622 GraphicUses:615Used by:624
Symbol 623 GraphicUses:619 615Used by:624
Symbol 624 MovieClip {uk.co.kempt.uphillvegas.level.Level2}Uses:572 472 589 599 611 601 586 594 583 593 622 623
Symbol 625 GraphicUsed by:626
Symbol 626 MovieClip {RockObstacle}Uses:625 472Used by:637
Symbol 627 GraphicUses:619 615Used by:637
Symbol 628 GraphicUsed by:629
Symbol 629 MovieClipUses:628Used by:630
Symbol 630 MovieClip {RockCollisionObstacle}Uses:629 593 472Used by:637 650
Symbol 631 GraphicUsed by:637 650 656 667
Symbol 632 GraphicUsed by:635
Symbol 633 GraphicUsed by:634
Symbol 634 MovieClipUses:633Used by:635
Symbol 635 MovieClipUses:632 634Used by:636
Symbol 636 MovieClipUses:635Used by:637 650 656
Symbol 637 MovieClip {uk.co.kempt.uphillvegas.level.Level6}Uses:572 626 583 589 586 627 599 594 472 611 601 630 631 636 593
Symbol 638 GraphicUsed by:639
Symbol 639 MovieClip {LogObstacle}Uses:638 472Used by:650
Symbol 640 GraphicUsed by:641
Symbol 641 MovieClip {LogsObstacle}Uses:640 472Used by:650
Symbol 642 GraphicUsed by:643 662
Symbol 643 MovieClip {RubbishObstacle}Uses:642 472Used by:650 662 665
Symbol 644 GraphicUsed by:645
Symbol 645 MovieClip {OilSlipObstacle}Uses:644 472Used by:650 656
Symbol 646 GraphicUses:619 615Used by:650
Symbol 647 GraphicUsed by:648
Symbol 648 MovieClipUses:647Used by:650 656 662
Symbol 649 GraphicUsed by:650
Symbol 650 MovieClip {uk.co.kempt.uphillvegas.level.Level7}Uses:572 594 636 589 583 586 641 639 601 472 630 611 643 645 631 646 648 649
Symbol 651 GraphicUses:615 619Used by:656
Symbol 652 GraphicUses:615 619Used by:656
Symbol 653 GraphicUses:619 615Used by:656
Symbol 654 GraphicUses:619 615Used by:656
Symbol 655 GraphicUses:619Used by:656
Symbol 656 MovieClip {uk.co.kempt.uphillvegas.level.Level8}Uses:572 648 645 636 583 589 586 614 472 593 601 594 611 631 599 603 651 618 652 653 654 655
Symbol 657 GraphicUsed by:658
Symbol 658 MovieClip {RockAnotherOne}Uses:657 593Used by:662 665
Symbol 659 GraphicUsed by:660
Symbol 660 MovieClip {RubbishBagBag}Uses:659 472Used by:662 665
Symbol 661 GraphicUses:619 615Used by:662
Symbol 662 MovieClip {uk.co.kempt.uphillvegas.level.Level5}Uses:583 589 586 642 594 658 648 660 472 572 611 643 599 601 614 593 661
Symbol 663 GraphicUsed by:665 667
Symbol 664 GraphicUses:619 615Used by:665
Symbol 665 MovieClip {uk.co.kempt.uphillvegas.level.Level4}Uses:658 594 663 660 472 572 611 583 589 586 601 643 614 664
Symbol 666 GraphicUses:619 615Used by:667
Symbol 667 MovieClip {uk.co.kempt.uphillvegas.level.Level1}Uses:663 589 583 586 472 572 611 601 594 599 631 666
Symbol 668 GraphicUsed by:669
Symbol 669 MovieClipUses:668Used by:691
Symbol 670 MovieClip {fl.core.ComponentShim}Used by:691
Symbol 671 GraphicUsed by:672
Symbol 672 MovieClip {Button_disabledSkin}Uses:671Used by:691
Symbol 673 GraphicUsed by:674
Symbol 674 MovieClip {Button_downSkin}Uses:673Used by:691
Symbol 675 GraphicUsed by:676
Symbol 676 MovieClip {Button_emphasizedSkin}Uses:675Used by:691
Symbol 677 GraphicUsed by:678
Symbol 678 MovieClip {Button_overSkin}Uses:677Used by:691
Symbol 679 GraphicUsed by:680
Symbol 680 MovieClip {Button_selectedDisabledSkin}Uses:679Used by:691
Symbol 681 GraphicUsed by:682
Symbol 682 MovieClip {Button_selectedDownSkin}Uses:681Used by:691
Symbol 683 GraphicUsed by:684
Symbol 684 MovieClip {Button_selectedOverSkin}Uses:683Used by:691
Symbol 685 GraphicUsed by:686
Symbol 686 MovieClip {Button_selectedUpSkin}Uses:685Used by:691
Symbol 687 GraphicUsed by:688
Symbol 688 MovieClip {Button_upSkin}Uses:687Used by:691
Symbol 689 GraphicUsed by:690
Symbol 690 MovieClip {focusRectSkin}Uses:689Used by:691
Symbol 691 MovieClip {fl.controls.Button}Uses:669 670 672 674 676 678 680 682 684 686 688 690Used by:692
Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector}Uses:691
Symbol 693 FontUsed by:694
Symbol 694 EditableTextUses:693Used by:Timeline
Symbol 695 FontUsed by:696
Symbol 696 EditableTextUses:695Used by:Timeline
Symbol 697 FontUsed by:699
Symbol 698 Font
Symbol 699 EditableTextUses:697Used by:Timeline
Symbol 700 EditableTextUses:27Used by:Timeline

Instance Names

"loadingBar"Frame 1Symbol 9 MovieClip {uk.co.kempt.uphillvegas.display.VegasLoader}
"agame_btn"Frame 1Symbol 35 Button
"__id74_"Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"bar"Symbol 9 MovieClip {uk.co.kempt.uphillvegas.display.VegasLoader} Frame 1Symbol 6 MovieClip
"languageName_text"Symbol 245 MovieClip {spill.localisation.LanguageSelectBox_mc} Frame 1Symbol 218 EditableText
"flag"Symbol 245 MovieClip {spill.localisation.LanguageSelectBox_mc} Frame 1Symbol 244 MovieClip {game_fla.flag_icon_287}
"flag"Symbol 251 MovieClip Frame 1Symbol 244 MovieClip {game_fla.flag_icon_287}
"text"Symbol 251 MovieClip Frame 1Symbol 250 EditableText
"l_de"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_en_us"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_fr"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_it"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_nl"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_pl"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_es_mx"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_br"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_cn"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_en_uk"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_es"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_id"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_jp"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_pt"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_ar"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_in"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_es_ar"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_se"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"l_ru"Symbol 254 MovieClip {spill.localisation.LanguageSelectPopup_mc} Frame 1Symbol 251 MovieClip
"__id4_"Symbol 262 MovieClip {game_fla.backflipClip_276} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id3_"Symbol 263 MovieClip {game_fla.karateKickClip_277} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id2_"Symbol 264 MovieClip {game_fla.theTwistClip_278} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id1_"Symbol 265 MovieClip {game_fla.supermanClip_279} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id0_"Symbol 266 MovieClip {game_fla.guitarsoloClip_280} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"label_txt"Symbol 267 MovieClip {uk.co.kempt.uphillvegas.display.TrickLabelSprite} Frame 1Symbol 261 EditableText
"spil_btn"Symbol 289 MovieClip {uk.co.kempt.uphillvegas.display.menu.BottomBar} Frame 1Symbol 288 Button
"start_btn"Symbol 300 MovieClip {uk.co.kempt.uphillvegas.display.menu.StartPage} Frame 1Symbol 297 Button {menus.startBtn}
"htp_btn"Symbol 300 MovieClip {uk.co.kempt.uphillvegas.display.menu.StartPage} Frame 1Symbol 298 Button {menus.howToPlayBtn}
"agame_btn"Symbol 300 MovieClip {uk.co.kempt.uphillvegas.display.menu.StartPage} Frame 1Symbol 299 Button {menus.agameLinkBtn}
"__id32_"Symbol 300 MovieClip {uk.co.kempt.uphillvegas.display.menu.StartPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id33_"Symbol 300 MovieClip {uk.co.kempt.uphillvegas.display.menu.StartPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id34_"Symbol 300 MovieClip {uk.co.kempt.uphillvegas.display.menu.StartPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id19_"Symbol 305 MovieClip {game_fla.howtoPlay1_243} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id20_"Symbol 305 MovieClip {game_fla.howtoPlay1_243} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id17_"Symbol 351 MovieClip {game_fla.howtoPlay1A_254} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id18_"Symbol 351 MovieClip {game_fla.howtoPlay1A_254} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id15_"Symbol 359 MovieClip {game_fla.howToPlay2_255} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id16_"Symbol 359 MovieClip {game_fla.howToPlay2_255} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id14_"Symbol 366 MovieClip {game_fla.howToPlay3_257} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id13_"Symbol 370 MovieClip {game_fla.howToPlay4A_258} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id11_"Symbol 377 MovieClip {game_fla.howToPlay4_260} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id12_"Symbol 377 MovieClip {game_fla.howToPlay4_260} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id45_"Symbol 380 MovieClip {game_fla.level1clip_218} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id44_"Symbol 381 MovieClip {game_fla.level2clip_219} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id43_"Symbol 382 MovieClip {game_fla.level3clip_220} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id42_"Symbol 383 MovieClip {game_fla.level4clip_221} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id41_"Symbol 384 MovieClip {game_fla.level5clip_222} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id40_"Symbol 385 MovieClip {game_fla.level6clip_223} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id39_"Symbol 386 MovieClip {game_fla.level7clip_224} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id38_"Symbol 387 MovieClip {game_fla.level8clip_225} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id10_"Symbol 391 MovieClip {game_fla.levelFailedClip_263} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"lives_txt"Symbol 396 MovieClip {uk.co.kempt.uphillvegas.display.LivesNumberSprite} Frame 1Symbol 395 EditableText
"tryAgain_btn"Symbol 397 MovieClip {uk.co.kempt.uphillvegas.display.menu.TryAgain} Frame 1Symbol 393 Button {menus.tryAgainBtn}
"mainMenu_btn"Symbol 397 MovieClip {uk.co.kempt.uphillvegas.display.menu.TryAgain} Frame 1Symbol 394 Button {menus.mainMenuLargeBtn}
"agame_btn"Symbol 397 MovieClip {uk.co.kempt.uphillvegas.display.menu.TryAgain} Frame 1Symbol 299 Button {menus.agameLinkBtn}
"__id50_"Symbol 397 MovieClip {uk.co.kempt.uphillvegas.display.menu.TryAgain} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id51_"Symbol 397 MovieClip {uk.co.kempt.uphillvegas.display.menu.TryAgain} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id52_"Symbol 397 MovieClip {uk.co.kempt.uphillvegas.display.menu.TryAgain} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id53_"Symbol 397 MovieClip {uk.co.kempt.uphillvegas.display.menu.TryAgain} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id73_"Symbol 400 MovieClip {game_fla.level1complete_93} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id72_"Symbol 401 MovieClip {game_fla.level2complete_94} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id71_"Symbol 402 MovieClip {game_fla.level3complete_95} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id70_"Symbol 403 MovieClip {game_fla.level4complete_96} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id69_"Symbol 404 MovieClip {game_fla.level5complete_97} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id68_"Symbol 405 MovieClip {game_fla.level6complete_98} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id67_"Symbol 406 MovieClip {game_fla.level7complete_99} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id66_"Symbol 407 MovieClip {game_fla.level8complete_100} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"score_txt"Symbol 414 MovieClip {uk.co.kempt.uphillvegas.display.ScoreNumberSprite} Frame 1Symbol 413 EditableText
"nextLevel_btn"Symbol 415 MovieClip {uk.co.kempt.uphillvegas.display.menu.NextLevelPage} Frame 1Symbol 412 Button {menus.nextLevelBtn}
"__id54_"Symbol 415 MovieClip {uk.co.kempt.uphillvegas.display.menu.NextLevelPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id55_"Symbol 415 MovieClip {uk.co.kempt.uphillvegas.display.menu.NextLevelPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"agame_btn"Symbol 415 MovieClip {uk.co.kempt.uphillvegas.display.menu.NextLevelPage} Frame 1Symbol 299 Button {menus.agameLinkBtn}
"__id56_"Symbol 415 MovieClip {uk.co.kempt.uphillvegas.display.menu.NextLevelPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id35_"Symbol 420 MovieClip {game_fla.gameCompleteClip_233} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"mainMenu_btn"Symbol 421 MovieClip {uk.co.kempt.uphillvegas.display.menu.CompletePage} Frame 1Symbol 394 Button {menus.mainMenuLargeBtn}
"agame_btn"Symbol 421 MovieClip {uk.co.kempt.uphillvegas.display.menu.CompletePage} Frame 1Symbol 299 Button {menus.agameLinkBtn}
"__id36_"Symbol 421 MovieClip {uk.co.kempt.uphillvegas.display.menu.CompletePage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id37_"Symbol 421 MovieClip {uk.co.kempt.uphillvegas.display.menu.CompletePage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"mainMenu_btn"Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu} Frame 1Symbol 394 Button {menus.mainMenuLargeBtn}
"howToPlay_btn"Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu} Frame 1Symbol 298 Button {menus.howToPlayBtn}
"agame_btn"Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu} Frame 1Symbol 299 Button {menus.agameLinkBtn}
"resume_btn"Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu} Frame 1Symbol 423 Button {menus.resumeBtn}
"__id57_"Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id58_"Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id59_"Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id60_"Symbol 424 MovieClip {uk.co.kempt.uphillvegas.display.menu.PauseMenu} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id9_"Symbol 427 MovieClip {game_fla.superbonusClip_265} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id8_"Symbol 428 MovieClip {game_fla.Timeline_266} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id6_"Symbol 438 MovieClip {game_fla.menus_268} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id7_"Symbol 438 MovieClip {game_fla.menus_268} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id5_"Symbol 450 MovieClip {game_fla.levelLifeLostClip_274} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id46_"Symbol 453 MovieClip {game_fla.levelGameOverClip_216} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"tryAgain_btn"Symbol 454 MovieClip {uk.co.kempt.uphillvegas.display.menu.GameOverPage} Frame 1Symbol 393 Button {menus.tryAgainBtn}
"mainMenu_btn"Symbol 454 MovieClip {uk.co.kempt.uphillvegas.display.menu.GameOverPage} Frame 1Symbol 394 Button {menus.mainMenuLargeBtn}
"agame_btn"Symbol 454 MovieClip {uk.co.kempt.uphillvegas.display.menu.GameOverPage} Frame 1Symbol 299 Button {menus.agameLinkBtn}
"__id47_"Symbol 454 MovieClip {uk.co.kempt.uphillvegas.display.menu.GameOverPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id48_"Symbol 454 MovieClip {uk.co.kempt.uphillvegas.display.menu.GameOverPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id49_"Symbol 454 MovieClip {uk.co.kempt.uphillvegas.display.menu.GameOverPage} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id21_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 1Symbol 268 MovieClip {spill.localisation.LanguageSelectBox}
"mainMenu_btn"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 308 Button {menus.mainMenuBtn}
"htpNext_btn"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 309 Button {menus.nextBtn}
"htpBack_btn"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 310 Button {menus.backBtn}
"__id22_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id23_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id24_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id25_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id26_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id27_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id28_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id29_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"htpBack_btn"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 70Symbol 310 Button {menus.backBtn}
"__id30_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 317Symbol 268 MovieClip {spill.localisation.LanguageSelectBox}
"__id31_"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 317Symbol 268 MovieClip {spill.localisation.LanguageSelectBox}
"bar"Symbol 466 MovieClip {uk.co.kempt.uphillvegas.display.TurboMeter} Frame 1Symbol 465 MovieClip
"pause_btn"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 336 Button {menus.pauseBtn}
"points_txt"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 461 EditableText
"time_txt"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 462 EditableText
"turboMeter"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 466 MovieClip {uk.co.kempt.uphillvegas.display.TurboMeter}
"lives_txt"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 467 EditableText
"chips_txt"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 468 EditableText
"__id61_"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id62_"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id63_"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id64_"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"__id65_"Symbol 469 MovieClip {uk.co.kempt.uphillvegas.display.VegasHUD} Frame 1Symbol 180 MovieClip {spill.localisation.LocalizedTextField}
"clip"Symbol 472 MovieClip {uk.co.kempt.uphillvegas.world.Surface} Frame 1Symbol 471 MovieClip
"anim"Symbol 495 MovieClip {game_fla.elvis_197} Frame 1Symbol 491 MovieClip {game_fla.elvis_198}
"hit"Symbol 497 MovieClip {uk.co.kempt.uphillvegas.world.projectile.ElvisProjectile} Frame 1Symbol 472 MovieClip {uk.co.kempt.uphillvegas.world.Surface}
"anim"Symbol 497 MovieClip {uk.co.kempt.uphillvegas.world.projectile.ElvisProjectile} Frame 1Symbol 496 MovieClip
"anim"Symbol 535 MovieClip Frame 1Symbol 498 MovieClip
"anim"Symbol 535 MovieClip Frame 7Symbol 499 MovieClip
"anim"Symbol 535 MovieClip Frame 12Symbol 502 MovieClip
"anim"Symbol 535 MovieClip Frame 17Symbol 503 MovieClip
"anim"Symbol 535 MovieClip Frame 23Symbol 504 MovieClip {game_fla.elvis_180}
"anim"Symbol 535 MovieClip Frame 30Symbol 505 MovieClip {game_fla.elvis_181}
"anim"Symbol 535 MovieClip Frame 38Symbol 515 MovieClip {game_fla.elvis_182}
"anim"Symbol 535 MovieClip Frame 50Symbol 522 MovieClip {game_fla.elvis_183}
"anim"Symbol 535 MovieClip Frame 57Symbol 526 MovieClip {game_fla.elvis_186}
"anim"Symbol 535 MovieClip Frame 64Symbol 531 MovieClip {game_fla.elvis_187}
"elvis"Symbol 570 MovieClip {uk.co.kempt.uphillvegas.display.CarSprite} Frame 1Symbol 535 MovieClip
"rearWheel"Symbol 570 MovieClip {uk.co.kempt.uphillvegas.display.CarSprite} Frame 1Symbol 537 MovieClip
"frontWheel"Symbol 570 MovieClip {uk.co.kempt.uphillvegas.display.CarSprite} Frame 1Symbol 537 MovieClip
"body"Symbol 570 MovieClip {uk.co.kempt.uphillvegas.display.CarSprite} Frame 1Symbol 569 MovieClip
"anim"Symbol 583 MovieClip {uk.co.kempt.uphillvegas.world.checkpoint.Checkpoint} Frame 1Symbol 582 MovieClip
"clip"Symbol 593 MovieClip {uk.co.kempt.uphillvegas.world.Cylinder} Frame 1Symbol 592 MovieClip {game_fla.gfx_122}
"screenarea"Symbol 621 MovieClip {uk.co.kempt.uphillvegas.level.Level3} Frame 1Symbol 572 MovieClip
"screenarea"Symbol 624 MovieClip {uk.co.kempt.uphillvegas.level.Level2} Frame 1Symbol 572 MovieClip
"screenarea"Symbol 637 MovieClip {uk.co.kempt.uphillvegas.level.Level6} Frame 1Symbol 572 MovieClip
"screenarea"Symbol 650 MovieClip {uk.co.kempt.uphillvegas.level.Level7} Frame 1Symbol 572 MovieClip
"screenarea"Symbol 656 MovieClip {uk.co.kempt.uphillvegas.level.Level8} Frame 1Symbol 572 MovieClip
"screenarea"Symbol 662 MovieClip {uk.co.kempt.uphillvegas.level.Level5} Frame 1Symbol 572 MovieClip
"screenarea"Symbol 665 MovieClip {uk.co.kempt.uphillvegas.level.Level4} Frame 1Symbol 572 MovieClip
"screenarea"Symbol 667 MovieClip {uk.co.kempt.uphillvegas.level.Level1} Frame 1Symbol 572 MovieClip
"level1"Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector} Frame 1Symbol 691 MovieClip {fl.controls.Button}
"level2"Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector} Frame 1Symbol 691 MovieClip {fl.controls.Button}
"level3"Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector} Frame 1Symbol 691 MovieClip {fl.controls.Button}
"level4"Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector} Frame 1Symbol 691 MovieClip {fl.controls.Button}
"level5"Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector} Frame 1Symbol 691 MovieClip {fl.controls.Button}
"level6"Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector} Frame 1Symbol 691 MovieClip {fl.controls.Button}
"level7"Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector} Frame 1Symbol 691 MovieClip {fl.controls.Button}
"level8"Symbol 692 MovieClip {uk.co.kempt.uphillvegas.display.LevelSelector} Frame 1Symbol 691 MovieClip {fl.controls.Button}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 11278 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..."
Protect (24)Timeline Frame 131 bytes "..$1$uJ$dHKpxo5.uJ6dq4zDimqxh1."

Labels

"loading"Frame 1
"loaded"Frame 3
"www.agame.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 1
"www.game.com.cn"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 2
"www.zapjuegos.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 3
"www.spel.nl"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 4
"www.jeu.fr"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 5
"www.spielen.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 6
"www.clickjogos.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 7
"www.giocaregratis.it"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 8
"www.spel.se"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 9
"www.mygames.co.uk"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 10
"www.flashgames.ru"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 11
"www.game.co.in"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 12
"www.games.co.id"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 13
"www.minigry.pl"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 14
"www.asoyun.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 15
"www.game.com.my"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 16
"www.gamesgames.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 17
"www.spelletjes.nl"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 18
"www.jeux.fr"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 19
"www.jetztspielen.de"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 20
"www.gry.pl"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 21
"www.spela.se"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 22
"www.gioco.it"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 23
"www.juegos.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 24
"www.juegos.mx"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 25
"www.juegos.com.ar"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 26
"www.ojogos.com.br"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 27
"www.ourgames.ru"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 28
"www.games.co.uk"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 29
"www.oyunlar123.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 30
"www.girlsgogames.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 31
"www.girlsgogames.in"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 32
"www.girlsgogamestr.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 33
"www.girlsgogames.com.br"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 34
"www.girlsgogames.fr"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 35
"www.girlsgogames.co.uk"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 36
"www.girlsgogames.de"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 37
"www.girlsgogames.pl"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 38
"www.girlsgogames.ru"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 39
"www.juegosdechicas.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 40
"www.juegosdechicas.com.ar"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 41
"www.juegosdechicas.mx"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 42
"www.girlsgogames.it"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 43
"www.girlsgogames.es"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 44
"www.girlsgogames.nl"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 45
"www.girlsgogames.se"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 46
"www.ojogos.pt"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 47
"www.laro.com.ph"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 48
"www.egames.jp"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 49
"www.a10.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 50
"www.dailygame.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 51
"www.zapapa.com"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 52
"www.zapapa.nl"Symbol 177 MovieClip {spill.localisation.BrandingLogo} Frame 53
"br"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 1
"nl"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 2
"cn"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 3
"de"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 4
"es"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 5
"fr"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 6
"in"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 7
"it"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 8
"jp"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 9
"my"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 10
"ph"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 11
"pl"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 12
"pt"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 13
"ru"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 14
"se"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 15
"tr"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 16
"en_uk"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 17
"en_us"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 18
"id"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 19
"ar"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 20
"es_mx"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 21
"es_ar"Symbol 244 MovieClip {game_fla.flag_icon_287} Frame 22
"numbers"Symbol 267 MovieClip {uk.co.kempt.uphillvegas.display.TrickLabelSprite} Frame 1
"backflip"Symbol 267 MovieClip {uk.co.kempt.uphillvegas.display.TrickLabelSprite} Frame 9
"karate kick"Symbol 267 MovieClip {uk.co.kempt.uphillvegas.display.TrickLabelSprite} Frame 18
"the twist"Symbol 267 MovieClip {uk.co.kempt.uphillvegas.display.TrickLabelSprite} Frame 28
"superman"Symbol 267 MovieClip {uk.co.kempt.uphillvegas.display.TrickLabelSprite} Frame 37
"guitar solo"Symbol 267 MovieClip {uk.co.kempt.uphillvegas.display.TrickLabelSprite} Frame 47
"on"Symbol 277 MovieClip {uk.co.kempt.uphillvegas.display.button.SoundToggleButton} Frame 1
"off"Symbol 277 MovieClip {uk.co.kempt.uphillvegas.display.button.SoundToggleButton} Frame 2
"high"Symbol 281 MovieClip {menus.qualityBtn} Frame 1
"medium"Symbol 281 MovieClip {menus.qualityBtn} Frame 2
"low"Symbol 281 MovieClip {menus.qualityBtn} Frame 3
"on"Symbol 284 MovieClip {uk.co.kempt.uphillvegas.display.button.MusicToggleButton} Frame 1
"off"Symbol 284 MovieClip {uk.co.kempt.uphillvegas.display.button.MusicToggleButton} Frame 2
"top boost"Symbol 326 MovieClip Frame 86
"level1"Symbol 388 MovieClip {level_number_sprite} Frame 1
"level2"Symbol 388 MovieClip {level_number_sprite} Frame 2
"level3"Symbol 388 MovieClip {level_number_sprite} Frame 3
"level4"Symbol 388 MovieClip {level_number_sprite} Frame 4
"level5"Symbol 388 MovieClip {level_number_sprite} Frame 5
"level6"Symbol 388 MovieClip {level_number_sprite} Frame 6
"level7"Symbol 388 MovieClip {level_number_sprite} Frame 7
"level8"Symbol 388 MovieClip {level_number_sprite} Frame 8
"level1"Symbol 408 MovieClip {level_number_sprite_2} Frame 1
"level2"Symbol 408 MovieClip {level_number_sprite_2} Frame 2
"level3"Symbol 408 MovieClip {level_number_sprite_2} Frame 3
"level4"Symbol 408 MovieClip {level_number_sprite_2} Frame 4
"level5"Symbol 408 MovieClip {level_number_sprite_2} Frame 5
"level6"Symbol 408 MovieClip {level_number_sprite_2} Frame 6
"level7"Symbol 408 MovieClip {level_number_sprite_2} Frame 7
"level8"Symbol 408 MovieClip {level_number_sprite_2} Frame 8
"start page"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 1
"how to play"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 51
"how to play 1"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 58
"how to play 2"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 70
"how to play 3"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 88
"how to play 4"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 103
"how to play 5"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 118
"how to play 6"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 135
"level number"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 150
"level failed"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 184
"try again"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 216
"level complete"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 236
"score"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 291
"game complete"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 317
"pause menu"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 354
"pause close"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 368
"super bonus"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 378
"life lost"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 477
"game over"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 508
"last life lost"Symbol 455 MovieClip {uk.co.kempt.uphillvegas.display.MenuScreen} Frame 541
"top boost"Symbol 465 MovieClip Frame 86
"spin"Symbol 496 MovieClip Frame 1
"landed"Symbol 496 MovieClip Frame 11
"in"Symbol 515 MovieClip {game_fla.elvis_182} Frame 1
"loop"Symbol 515 MovieClip {game_fla.elvis_182} Frame 2
"out"Symbol 515 MovieClip {game_fla.elvis_182} Frame 36
"in"Symbol 522 MovieClip {game_fla.elvis_183} Frame 1
"loop"Symbol 522 MovieClip {game_fla.elvis_183} Frame 2
"out"Symbol 522 MovieClip {game_fla.elvis_183} Frame 37
"in"Symbol 526 MovieClip {game_fla.elvis_186} Frame 1
"loop"Symbol 526 MovieClip {game_fla.elvis_186} Frame 2
"out"Symbol 526 MovieClip {game_fla.elvis_186} Frame 66
"in"Symbol 531 MovieClip {game_fla.elvis_187} Frame 1
"loop"Symbol 531 MovieClip {game_fla.elvis_187} Frame 2
"out"Symbol 531 MovieClip {game_fla.elvis_187} Frame 21
"idle0"Symbol 535 MovieClip Frame 2
"idle1"Symbol 535 MovieClip Frame 7
"idle2"Symbol 535 MovieClip Frame 12
"idle3"Symbol 535 MovieClip Frame 17
"leanLeft"Symbol 535 MovieClip Frame 23
"leanRight"Symbol 535 MovieClip Frame 30
"superman"Symbol 535 MovieClip Frame 38
"guitar"Symbol 535 MovieClip Frame 50
"twist"Symbol 535 MovieClip Frame 57
"karate"Symbol 535 MovieClip Frame 64
"crash"Symbol 535 MovieClip Frame 69
"spin"Symbol 535 MovieClip Frame 77
"idle"Symbol 569 MovieClip Frame 1
"spin"Symbol 569 MovieClip Frame 6
"off"Symbol 582 MovieClip Frame 1
"on"Symbol 582 MovieClip Frame 10
"on"Symbol 603 MovieClip {uk.co.kempt.uphillvegas.world.collectable.BoostCollectable} Frame 1
"off"Symbol 603 MovieClip {uk.co.kempt.uphillvegas.world.collectable.BoostCollectable} Frame 5
"dead"Symbol 603 MovieClip {uk.co.kempt.uphillvegas.world.collectable.BoostCollectable} Frame 17
"on"Symbol 611 MovieClip {uk.co.kempt.uphillvegas.world.collectable.ChipCollectable} Frame 1
"off"Symbol 611 MovieClip {uk.co.kempt.uphillvegas.world.collectable.ChipCollectable} Frame 5
"dead"Symbol 611 MovieClip {uk.co.kempt.uphillvegas.world.collectable.ChipCollectable} Frame 17




http://swfchan.com/25/122556/info.shtml
Created: 3/3 -2019 22:44:06 Last modified: 3/3 -2019 22:44:06 Server time: 05/05 -2024 13:16:44