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

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

Frizzle Fraz.swf

This is the info page for
Flash #130970

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


Text
<p align="left"><font face="Cooper Std Black" size="27" color="#000000" letterSpacing="0.000000" kerning="1"><b>FONT 1234 %@.!</b></font></p>

Bevel

<p align="left"><font face="Comic Sans MS" size="20" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Small Text</b></font></p>

<p align="left"><font face="Comic Sans MS" size="45" color="#ff0000" letterSpacing="0.000000" kerning="1"><b>GLAMUR2</b></font></p>

<p align="left"><font face="Comic Sans MS" size="39" color="#0033cc" letterSpacing="0.000000" kerning="1"><b>BIG TEXT</b></font></p>

<p align="left"><font face="Cooper Std Black" size="27" color="#000000" letterSpacing="0.000000" kerning="1"><b>how to play</b></font></p>

- Rescue these guys. Collect them to
get points. Finish the level to bring
them to a safe place.

arrow keys to control

- Collect all keys  to open the door at
the end of the level.

- These two don't look friendly!
You can't destroy them by
jumping them, so just avoid them.

<p align="left"><font face="Cooper Std Black" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Thank YOU!</b></font></p>

biba games

ActionScript [AS3]

Section 1
//_fj244 (Code.LIB.COMPONENTS._fj244) package Code.LIB.COMPONENTS { import flash.display.*; import Code.LIB.*; public class _fj244 extends _bd509 { public var iButton:_uu487; private var iBitmapOnn:_pg495; private var iBitmapOff:_pg495; private var state:int; private var iBitmap:_pg495; public static const stOff:int = 1; public static const stOnn:int = 0; public function _fj244(_arg1:Class, _arg2:Class){ iBitmap = new _pg495(); iBitmapOnn = _lx317._ec37((new (_arg1) as Sprite), 0.8); iBitmapOff = _lx317._ec37((new (_arg2) as Sprite), 0.8); iButton = new _uu487(null, null, false, 30, 30); addChild(iBitmap); addChild(iButton); } public function get State():int{ return (state); } public function set State(_arg1:int):void{ state = _arg1; switch (state){ case stOnn: iBitmapOnn._dn291(iBitmap); break; case stOff: iBitmapOff._dn291(iBitmap); break; }; } } }//package Code.LIB.COMPONENTS
Section 2
//_vc290 (Code.LIB.COMPONENTS._vc290) package Code.LIB.COMPONENTS { import flash.events.*; import flash.display.*; import flash.geom.*; import Code.LIB.*; import Code.*; public class _vc290 extends _fh287 { private var iBitmap:_pg495; private var iBitmaps:Array; private var iProgress:int; private var iInd:int; private var iWidth:Number; private var iHeight:Number; public function _vc290(_arg1:Number, _arg2:Number, _arg3:int){ var _local4:_pg495; var _local5:_pg495; var _local6:int; var _local7:Number; var _local8:BitmapData; super(); this.iWidth = _arg1; this.iHeight = _arg2; _local4 = _fy512._sv257([null, _arg3, _arg1, _arg2, true, 1]); _local5 = _fy512._sv257([null, 0xB0B0B0, _arg1, _arg2, true, 1]); this.iBitmaps = new Array(); this.addChild(_local5); _local6 = 0; while (_local6 < 100) { _local7 = ((_local6 + 1) / 100); _local8 = new BitmapData((_local7 * _local4.bitmapData.width), _local4.bitmapData.height, true, 0xFF); _local8.copyPixels(_local4.bitmapData, new Rectangle(0, 0, (_local7 * _local4.bitmapData.width), _local4.bitmapData.height), new Point(0, 0)); this.iBitmaps.push(_local8); _local6++; }; this.iBitmap = new _pg495(); iBitmap._vx477 = _local4._vx477; iBitmap._gr166 = _local4._gr166; iBitmap._uc285 = 0; iBitmap._kc408 = 0; this.addChild(iBitmap); iProgress = 1; iInd = 0; } public function get _nc409():int{ return (this.iProgress); } override public function onEnterFrame(_arg1:Event):void{ if (iProgress != iInd){ iInd = (iInd + ((iInd)<iProgress) ? 1 : -1); this.iBitmap.bitmapData = iBitmaps[(iInd - 1)]; }; } public function set _nc409(_arg1:int):void{ if (_arg1 == iProgress){ return; }; this.iProgress = _arg1; if (iProgress < 1){ iProgress = 1; }; if (iProgress > 100){ iProgress = 100; }; } } }//package Code.LIB.COMPONENTS
Section 3
//_mm245 (Code.LIB.MP._mm245) package Code.LIB.MP { import Code.LIB.*; import Code.OPTIONS.*; public class _mm245 { private var iOppTurn:String;// = null private var iConnector:_rg170; private var iOppName:String;// = null public function _mm245(){ iOppName = null; iOppTurn = null; super(); this.iConnector = new _rg170(this); this.iConnector._sv514("localhost"); this.iConnector._sc475("null", "null", "null"); this.iConnector.GetScriptLocation = "http://www.bibagames.com/scripts/db_scripts/GameData_getting.php"; this.iConnector.PutScriptLocation = "http://www.bibagames.com/scripts/db_scripts/GameData_putting.php"; this.iConnector.MultiScriptLocation = "http://www.bibagames.com/scripts/db_scripts/GameData_multi.php"; } public function get _nx77():String{ return (this.iOppName); } public function get _is205():String{ return (this.iOppTurn); } public function set _nx77(_arg1:String):void{ this.iOppName = _arg1; } public function _fe245(_arg1:int, _arg2:int, _arg3:String):void{ if (!_kj370.iNative){ return; }; this.iConnector._wx125(_hd443.strTableName.toLowerCase(), _arg1, _wv348._qu77, _wv348._kv98, _arg2, _arg3); } public function _fi311(_arg1:int, _arg2:int):void{ if (!_kj370.iNative){ return; }; this.iConnector._wc127(_hd443.strTableName.toLowerCase(), _arg1, _arg2); } public function set _is205(_arg1:String):void{ this.iOppTurn = _arg1; this.iOppName = null; } } }//package Code.LIB.MP
Section 4
//_rg170 (Code.LIB.MP._rg170) package Code.LIB.MP { import flash.events.*; import Code.LIB.*; import flash.net.*; public class _rg170 { public const PUT_RECORD:int = 106; public const GET_GAME:int = 105; public const NORMAL:int = 100; public const GET_RECORD:int = 104; public var dbname:String; public var name:String; public var state:int; public var loader:URLLoader; public var ProcessingError:Boolean; public var MultiScriptLocation:String; public var dbpass:String; public var data:Array; public var dblogin:String; public var ConnectionError:Boolean; public var dblocation:String; public var fields:int; public var request:URLRequest; public var rows:int; public var PutScriptLocation:String; public var seed:int; public var status:String; private var iMp:_mm245; public var complete_t:Boolean; public var GetScriptLocation:String; public var game_log:String; public function _rg170(_arg1:_mm245){ request = new URLRequest(); loader = new URLLoader(); super(); this.iMp = _arg1; state = this.NORMAL; fields = 0; rows = 0; data = new Array(); complete_t = true; ConnectionError = false; ProcessingError = false; loader.dataFormat = URLLoaderDataFormat.TEXT; loader.addEventListener(ProgressEvent.PROGRESS, progress); loader.addEventListener(IOErrorEvent.IO_ERROR, _nl484); loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, _xy262); loader.addEventListener(Event.COMPLETE, complete); loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError); } public function onSecurityError(_arg1:SecurityErrorEvent):void{ trace(_arg1.text); } public function progress(_arg1:ProgressEvent):void{ } public function _wx125(_arg1:String, _arg2:int, _arg3:int, _arg4:String, _arg5:int, _arg6:String):void{ complete_t = false; request.url = (((((((((((((((((((((((((((((((PutScriptLocation + "?") + "dbname=") + dbname) + "&") + "dblogin=") + dblogin) + "&") + "dbpass=") + dbpass) + "&") + "query=") + "insert into ") + _arg1) + " values ('") + _arg2) + "','") + _arg3) + "','") + _arg4) + "','") + _arg5) + "','") + _arg6) + "','") + _kj370._id441) + "')") + "&") + "dbtable=") + _arg1) + " &native=") + int(_kj370.iNative)); loader.load(request); } public function _il127(_arg1:String):void{ _arg1 = _arg1.toLocaleLowerCase(); complete_t = false; request.url = ((((((((((((((GetScriptLocation + "?") + "dbname=") + dbname) + "&") + "dblogin=") + dblogin) + "&") + "dbpass=") + dbpass) + "&") + "query=") + "SELECT score,name FROM ") + _arg1) + " limit 10"); loader.load(request); } public function complete(_arg1:Event):void{ var _local2:String; var _local3:Array; var _local4:int; var _local5:int; var _local6:int; this.complete_t = true; ConnectionError = false; _local2 = new String(loader.data); status = _local2.substring(0, 3).valueOf(); trace(status); _local2 = _local2.substring(3, _local2.length); if (status == this.GET_RECORD.toString()){ _local3 = new Array(); if (_local2.indexOf(">") >= 0){ return; }; _local3 = _local2.split("&"); rows = _local3[1].valueOf(); fields = _local3[2].valueOf(); _local4 = 0; while (_local4 < rows) { data[_local4] = [_local3[(3 + (_local4 * 2))], _local3[(4 + (_local4 * 2))]]; _local4++; }; _local4 = 0; while (_local4 < rows) { trace(data[_local4]); _local4++; }; state = this.NORMAL; }; if (status == this.GET_GAME.toString()){ _local3 = new Array(); if ((((_local2.indexOf(">") >= 0)) || ((_local2.indexOf("<") >= 0)))){ return; }; _local3 = _local2.split("&"); name = _local3[4]; seed = _local3[5]; game_log = _local3[6]; this.iMp._is205 = game_log; this.iMp._nx77 = name; trace(((((name + " ") + seed) + " ") + game_log)); state = this.NORMAL; }; if (status == this.PUT_RECORD.toString()){ }; state = this.NORMAL; } public function _sc475(_arg1:String, _arg2:String, _arg3:String):void{ dbname = _arg1; dblogin = _arg2; dbpass = _arg3; } public function _nl484(_arg1:IOErrorEvent):void{ trace(_arg1.text); ConnectionError = true; state = this.NORMAL; complete_t = true; } public function _xy262(_arg1:HTTPStatusEvent):void{ } public function _sv514(_arg1:String):void{ } public function _wc127(_arg1:String, _arg2:int, _arg3:int):void{ _arg1 = _arg1.toLocaleLowerCase(); complete_t = false; request.url = (((((((((((((((((((((MultiScriptLocation + "?") + "dbname=") + dbname) + "&") + "dblogin=") + dblogin) + "&") + "dbpass=") + dbpass) + "&") + "query=") + "SELECT id,name,game_seed,game_log FROM ") + _arg1) + " WHERE id=") + _arg2) + " AND game_seed=") + _arg3) + " order by rand() limit 1 &rand=") + int((Math.random() * 9999)).toString()) + "&native=") + int(_kj370.iNative)); loader.load(request); } } }//package Code.LIB.MP
Section 5
//_pc215 (Code.LIB.SOUND._pc215) package Code.LIB.SOUND { import flash.events.*; import flash.media.*; import Code.LIB.*; import Code.LIB.COMPONENTS.*; import Code.OPTIONS.*; import flash.utils.*; public class _pc215 { private static var iSTransform:SoundTransform = new SoundTransform(); public static var iMusic:_fj244; private static var iMTransform:SoundTransform = new SoundTransform(); private static var savedSoundsV:Number; private static var iSounds:Array = new Array(); private static var iSChannel:SoundChannel = new SoundChannel(); private static var iMChannel:SoundChannel = new SoundChannel(); private static var iSoundVolume:Number = 1; public static var iSound:_fj244; private static var iList:_sk253; public static var iMusPlaying:Boolean = false; private static var iMusikVolume:Number; private static var savedMusicV:Number; public static function set _gw279(_arg1:Number):void{ iMusikVolume = _arg1; iMTransform.volume = iMusikVolume; iMChannel.soundTransform = iMTransform; if (iMusikVolume == 0){ iMusic.State = _fj244.stOff; } else { iMusic.State = _fj244.stOnn; }; if (_ma277._vi147){ _ma277._vi147[1].prMVolume = _arg1; }; } public static function set _py494(_arg1:Number):void{ iSoundVolume = _arg1; if (_ma277._vi147){ _ma277._vi147[1].prSVolume = _arg1; }; if (iSoundVolume == 0){ iSound.State = _fj244.stOff; } else { iSound.State = _fj244.stOnn; }; } public static function _mb273(_arg1:Array):void{ var _local2:Array; var _local3:Array; var _local4:Sound; iSound = new _fj244(_hd443.TSpeakerOnn, _hd443.TSpeakerOff); iSound._uc285 = 750; iMusic = new _fj244(_hd443.TMusicOnn, _hd443.TMusicOff); iMusic._uc285 = 700; iSound._kc408 = 0; iMusic._kc408 = 0; iSound.addEventListener(MouseEvent.MOUSE_DOWN, _cl346); iMusic.addEventListener(MouseEvent.MOUSE_DOWN, _cl346); iSTransform.volume = iSoundVolume; iMTransform.volume = iMusikVolume; _local2 = iSounds; for each (_local3 in _arg1) { _local4 = (new (_local3[1]) as Sound); iSounds.push([_local3[0], _local4]); }; _pc215.iList = new _sk253(iSTransform); } public static function get _gw279():Number{ return (iMusikVolume); } public static function _ex281():void{ iMusPlaying = false; SoundMixer.stopAll(); } private static function _mv223(_arg1:String):Sound{ var _local2:Array; for each (_local2 in iSounds) { if (_local2[0] == _arg1){ return (Sound(_local2[1])); }; }; return (null); } public static function _cl346(_arg1:MouseEvent):void{ switch (_arg1.target){ case iMusic.iButton._yo374: if (iMusic.State == _fj244.stOnn){ savedMusicV = _gw279; _gw279 = 0; iMusic.State = _fj244.stOff; } else { _gw279 = (savedMusicV) ? savedMusicV : 0.7; iMusic.State = _fj244.stOnn; }; _ma277._rm392(); break; case iSound.iButton._yo374: if (iSound.State == _fj244.stOnn){ savedSoundsV = _py494; _py494 = 0; iSound.State = _fj244.stOff; } else { _py494 = (savedSoundsV) ? savedSoundsV : 0.7; iSound.State = _fj244.stOnn; }; _ma277._rm392(); break; }; } public static function get _py494():Number{ return (iSoundVolume); } public static function _ti77(_arg1:String):void{ _pc215.iList.add(_mv223(_arg1)); } public static function _kp167():void{ iSChannel.stop(); } public static function _ee318(_arg1:String, _arg2:Boolean=false):void{ var _local3:Sound; iSTransform.volume = iSoundVolume; iMTransform.volume = iMusikVolume; _local3 = _mv223(_arg1); if (!_local3){ return; }; if (_arg2){ if (iMusPlaying){ return; }; iMusPlaying = true; iMChannel.stop(); iMChannel = _local3.play(0, 999, iMTransform); } else { iSChannel = _local3.play(0, 0, iSTransform); }; } } }//package Code.LIB.SOUND
Section 6
//_sk253 (Code.LIB.SOUND._sk253) package Code.LIB.SOUND { import flash.events.*; import flash.media.*; public class _sk253 { private var iSTransform:SoundTransform; private var iPList:SoundChannel; private var iPlaying:Boolean;// = false private var iList:Array; public function _sk253(_arg1:SoundTransform){ iList = new Array(); iPlaying = false; super(); this.iSTransform = _arg1; } public function add(_arg1:Sound):void{ var _local2:Sound; if (iList.length > 7){ return; }; iList.push(_arg1); if (iPlaying){ return; }; iPlaying = true; _local2 = iList.pop(); iPList = _local2.play(0, 0, iSTransform); iPList.addEventListener(Event.SOUND_COMPLETE, _uq481); } private function _uq481(_arg1:Event):void{ var _local2:Sound; if (iList.length == 0){ iPlaying = false; return; }; _local2 = iList.pop(); iPList.removeEventListener(Event.SOUND_COMPLETE, _uq481); iPList = _local2.play(0, 0, iSTransform); iPlaying = true; iPList.addEventListener(Event.SOUND_COMPLETE, _uq481); } } }//package Code.LIB.SOUND
Section 7
//language (Code.LIB.SPILL.language) package Code.LIB.SPILL { import Code.LIB.*; public class language { public static var domain:String; public static var _languageNum:uint = 0; public static var _languageBox:Array = new Array(); public static var SpillGroupUrl:Array = new Array(); public static function get _pj214():String{ return (_languageBox[_languageNum]._pj214); } public static function set _ea297(_arg1:Object):void{ var _pn323:Function; var domainURL:String; var index:int; var language1:_ya316; var language2:_ya316; var language3:_ya316; var language4:_ya316; var language5:_ya316; var language6:_ya316; var language7:_ya316; var language8:_ya316; var language9:_ya316; var language10:_ya316; var language11:_ya316; var language12:_ya316; var language13:_ya316; var language14:_ya316; var language15:_ya316; var language16:_ya316; var language17:_ya316; var language18:_ya316; var language19:_ya316; var myList:Array; var hostingdomain:String; var languageVersion = _arg1; _pn323 = function (_arg1:String):String{ var _local2:String; var _local3:uint; _local2 = new String(); _local3 = 7; while (_local3 < _arg1.length) { if (_arg1.charAt(_local3) == "/"){ break; }; _local2 = (_local2 + _arg1.charAt(_local3)); _local3++; }; return (_local2); }; domainURL = _kj370._id441; index = domainURL.indexOf("http"); if (domainURL.indexOf("http") == 0){ myList = domainURL.split("/"); domain = myList[2]; hostingdomain = domain; } else { domainURL = "localhost"; domain = "localhost"; }; language1 = new _ya316(); language1._pv229 = ("http://www.agame.com/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language1._if229 = "http://www.agame.com/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language1._kh245 = 1; language1._pj214 = 1; language1._xj423 = "tweens"; _languageBox.push(language1); language2 = new _ya316(); language2._pv229 = "http://www.game.com.cn/moregames/"; language2._if229 = "http://www.game.com.cn/moregames/"; language2._kh245 = 2; language2._pj214 = 2; language2._xj423 = "game_com_cn"; _languageBox.push(language2); language3 = new _ya316(); language3._pv229 = ("http://www.spel.nl/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language3._if229 = "http://www.spel.nl/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language3._kh245 = 3; language3._pj214 = 4; language3._xj423 = "tweens"; _languageBox.push(language3); language4 = new _ya316(); language4._pv229 = ("http://www.jeu.fr/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language4._if229 = "http://www.jeu.fr/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language4._kh245 = 4; language4._pj214 = 5; language4._xj423 = "tweens"; _languageBox.push(language4); language5 = new _ya316(); language5._pv229 = ("http://www.spielen.com/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language5._if229 = "http://www.spielen.com/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language5._kh245 = 5; language5._pj214 = 6; language5._xj423 = "tweens"; _languageBox.push(language5); language6 = new _ya316(); language6._pv229 = ("http://www.minigry.pl/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language6._if229 = "http://www.minigry.pl/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language6._kh245 = 6; language6._pj214 = 14; language6._xj423 = "tweens"; _languageBox.push(language6); language7 = new _ya316(); language7._pv229 = ("http://www.spel.eu/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language7._if229 = "http://www.spel.eu/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language7._kh245 = 7; language7._pj214 = 9; language7._xj423 = "tweens"; _languageBox.push(language7); language8 = new _ya316(); language8._pv229 = ("http://www.giocaregratis.it/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language8._if229 = "http://www.giocaregratis.it/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language8._kh245 = 8; language8._pj214 = 8; language8._xj423 = "tweens"; _languageBox.push(language8); language9 = new _ya316(); language9._pv229 = ("http://www.zapjuegos.com/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language9._if229 = "http://www.zapjuegos.com/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language9._kh245 = 4; language9._pj214 = 5; language9._xj423 = "tweens"; _languageBox.push(language9); language10 = new _ya316(); language10._pv229 = ("http://www.clickjogos.com/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language10._if229 = "http://www.clickjogos.com/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language10._kh245 = 11; language10._pj214 = 7; language10._xj423 = "tweens"; _languageBox.push(language10); language11 = new _ya316(); language11._pv229 = ("http://www.games.co.id/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language11._if229 = "http://www.games.co.id/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language11._kh245 = 13; language11._pj214 = 13; language11._xj423 = "tweens"; _languageBox.push(language11); language12 = new _ya316(); language12._pv229 = ("http://www.flashgames.ru/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language12._if229 = "http://www.flashgames.ru/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language12._kh245 = 12; language12._pj214 = 11; language12._xj423 = "tweens"; _languageBox.push(language12); language13 = new _ya316(); language13._pv229 = ("http://www.mygames.co.uk/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language13._if229 = "http://www.mygames.co.uk/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language13._kh245 = 16; language13._pj214 = 10; language13._xj423 = "tweens"; _languageBox.push(language13); language14 = new _ya316(); language14._pv229 = ("http://www.game.co.in/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language14._if229 = "http://www.game.co.in/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language14._kh245 = 16; language14._pj214 = 12; language14._xj423 = "tweens"; _languageBox.push(language14); language15 = new _ya316(); language15._pv229 = ("http://www.asoyun.com/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language15._if229 = "http://www.asoyun.com/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language15._kh245 = 14; language15._pj214 = 15; language15._xj423 = "tweens"; _languageBox.push(language15); language16 = new _ya316(); language16._pv229 = ("http://www.game.com.my/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language16._if229 = "http://www.game.com.my/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language16._kh245 = 15; language16._pj214 = 16; language16._xj423 = "tweens"; _languageBox.push(language16); language17 = new _ya316(); language17._pv229 = ("http://www.ojogos.pt/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language17._if229 = "http://www.ojogos.pt/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language17._kh245 = 10; language17._pj214 = 42; language17._xj423 = "family"; _languageBox.push(language17); language18 = new _ya316(); language18._pv229 = ("http://www.laro.com.ph/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language18._if229 = "http://www.laro.com.ph/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language18._kh245 = 16; language18._pj214 = 43; language18._xj423 = "tweens"; _languageBox.push(language18); language19 = new _ya316(); language19._pv229 = ("http://www.egames.jp/moregames/?utm_source=brandedgames_external&utm_medium=frizzle_fraz&utm_campaign=" + hostingdomain); language19._if229 = "http://www.egames.jp/moregames/?utm_source=brandedgames_internal&utm_medium=frizzle_fraz"; language19._kh245 = 17; language19._pj214 = 44; language19._xj423 = "tweens"; _languageBox.push(language19); SpillGroupUrl.push("localhost"); SpillGroupUrl.push("www8.agame.com"); if ((((((languageVersion is Number)) || ((languageVersion is uint)))) || ((languageVersion is int)))){ _languageNum = (Number(languageVersion) - 1); }; } public static function get _xj423():String{ return (_languageBox[_languageNum]._xj423); } public static function get _pv229():String{ var _local1:int; _local1 = 0; while (_local1 < SpillGroupUrl.length) { if (domain == SpillGroupUrl[_local1]){ return (_languageBox[_languageNum]._if229); }; _local1++; }; return (_languageBox[_languageNum]._pv229); } public static function get _kh245():String{ return (_languageBox[_languageNum]._kh245); } public static function get _if229():String{ var _local1:int; _local1 = 0; while (_local1 < SpillGroupUrl.length) { if (domain == SpillGroupUrl[_local1]){ return (_languageBox[_languageNum]._if229); }; _local1++; }; return (_languageBox[_languageNum]._if229); } } }//package Code.LIB.SPILL class _ya316 { public var _xj423:String; public var _pv229:String; public var _kh245:int; public var _pj214:int; public var _if229:String; private function _ya316(){ } }
Section 8
//_bd509 (Code.LIB._bd509) package Code.LIB { import flash.display.*; public class _bd509 extends Sprite { public function get _lv226():Number{ return ((this.width / _kj370._wr432)); } public function get _wy130():Number{ return ((this.height / _kj370._wr432)); } public function get _uc285():Number{ return ((this.x / _kj370._wr432)); } public function _qm114():void{ while (numChildren > 0) { this.removeChildAt(0); }; } public function set _kc408(_arg1:Number):void{ this.y = (_arg1 * _kj370._wr432); } public function set _uc285(_arg1:Number):void{ this.x = (_arg1 * _kj370._wr432); } public function _dx37(_arg1:Number, _arg2:Number):void{ this._uc285 = _arg1; this._kc408 = _arg2; } public function get _kc408():Number{ return ((this.y / _kj370._wr432)); } } }//package Code.LIB
Section 9
//_fh287 (Code.LIB._fh287) package Code.LIB { import flash.events.*; public class _fh287 extends _bd509 { public function _fh287(){ this.addEventListener(MouseEvent.CLICK, _nm519); this.addEventListener(MouseEvent.MOUSE_OVER, _by66); this.addEventListener(MouseEvent.ROLL_OUT, _ti405); this.addEventListener(MouseEvent.MOUSE_DOWN, _pv253); this.addEventListener(MouseEvent.MOUSE_UP, _oo72); this.addEventListener(Event.ENTER_FRAME, onEnterFrame); this.addEventListener(MouseEvent.MOUSE_MOVE, _se498); this.addEventListener(KeyboardEvent.KEY_DOWN, _nt172); this.addEventListener(KeyboardEvent.KEY_UP, _tp23); this.focusRect = false; } public function _or337():void{ var _local1:uint; this.removeEventListener(MouseEvent.CLICK, _nm519); this.removeEventListener(MouseEvent.MOUSE_OVER, _by66); this.removeEventListener(MouseEvent.MOUSE_OUT, _ti405); this.removeEventListener(MouseEvent.MOUSE_DOWN, _pv253); this.removeEventListener(MouseEvent.MOUSE_UP, _oo72); this.removeEventListener(Event.ENTER_FRAME, onEnterFrame); this.removeEventListener(KeyboardEvent.KEY_DOWN, _nt172); this.removeEventListener(KeyboardEvent.KEY_UP, _tp23); this.removeEventListener(MouseEvent.MOUSE_MOVE, _se498); _local1 = 0; while (_local1 < this.numChildren) { if ((this.getChildAt(_local1) is _fh287)){ (this.getChildAt(_local1) as _fh287)._or337(); }; _local1++; }; } public function _by66(_arg1:MouseEvent):void{ } public function _nt172(_arg1:KeyboardEvent):void{ } public function _oo72(_arg1:MouseEvent):void{ } public function _ti405(_arg1:MouseEvent):void{ } public function _pv253(_arg1:MouseEvent):void{ } public function onEnterFrame(_arg1:Event):void{ if (_arg1.target == this){ return; }; } public function _tp23(_arg1:KeyboardEvent):void{ } public function _se498(_arg1:MouseEvent):void{ } public function _nm519(_arg1:MouseEvent):void{ } } }//package Code.LIB
Section 10
//_in438 (Code.LIB._in438) package Code.LIB { import flash.display.*; import Code.OPTIONS.*; import flash.filters.*; import flash.geom.*; public class _in438 { public static const Bevel:String = "bevel"; public static const EffectGlamur2:String = "glamur2"; public static const SmallText:String = "smalltext"; public static const BigText:String = "bigtext"; public static function _es273(_arg1:DisplayObject, _arg2:String):void{ var _local3:Array; var _local4:Sprite; var _local5:DisplayObject; var _local6:BitmapFilter; _local3 = new Array(); switch (_arg2){ case _in438.EffectGlamur2: _local4 = (new _wp58.TGlamur2() as Sprite); _local5 = _local4.getChildAt(0); _local3 = _local5.filters; _arg1.filters = _local3; return; case _in438.SmallText: _local4 = (new _wp58.TSmallText() as Sprite); _local5 = _local4.getChildAt(0); _local3 = _local5.filters; _arg1.filters = _local3; return; case _in438.BigText: _local4 = (new _wp58.TBigText() as Sprite); _local5 = _local4.getChildAt(0); _local3 = _local5.filters; for each (_local6 in _local3) { if ((((((_local3 is GlowFilter)) || ((_local3 is BlurFilter)))) || ((_local3 is DropShadowFilter)))){ _local6["blurX"] = (_local6["blurX"] * _kj370._wr432); _local6["blurY"] = (_local6["blurX"] * _kj370._wr432); }; }; _arg1.filters = _local3; return; case _in438.Bevel: _local4 = (new _wp58.TBevel() as Sprite); _local5 = _local4.getChildAt(0); _local3 = _local5.filters; _arg1.filters = _local3; return; }; } public static function _na97(_arg1:_pg495, _arg2:int, _arg3:Number, _arg4:Boolean=true):_pg495{ var _local5:Sprite; var _local6:DisplayObject; var _local7:GradientGlowFilter; var _local8:GlowFilter; var _local9:GradientBevelFilter; var _local10:GradientGlowFilter; var _local11:DropShadowFilter; var _local12:Number; var _local13:Number; var _local14:Array; var _local15:BitmapFilter; var _local16:BitmapData; var _local17:_pg495; _local5 = (new _wp58.TPlastic() as Sprite); _local6 = _local5.getChildAt(0); _local7 = GradientGlowFilter(_local6.filters[0]); _local8 = GlowFilter(_local6.filters[1]); _local9 = GradientBevelFilter(_local6.filters[2]); _local10 = GradientGlowFilter(_local6.filters[3]); _local11 = DropShadowFilter(_local6.filters[4]); _local7.colors = [0xFFFFFF, _arg2]; _local8.blurX = (_local8.blurY = (_local8.blurX * _arg3)); _local9.blurX = (_local9.blurX * _arg3); _local9.blurY = (_local9.blurY * _arg3); _local9.strength = (_local9.strength * _arg3); _local10.blurX = (_local10.blurX * _arg3); _local10.blurY = (_local10.blurY * _arg3); _local10.strength = (_local10.strength * _arg3); _local10.colors = [15, _arg2]; _local12 = 0; _local13 = 0; _local14 = [_local7, _local8, _local9, _local10]; if (_arg4){ _local14.push(_local11); }; for each (_local15 in _local14) { if (((_local15["blurX"]) && (_local15["blurY"]))){ if (_local15["blurX"] > _local12){ _local12 = _local15["blurX"]; }; if (_local15["blurY"] > _local13){ _local13 = _local15["blurY"]; }; }; }; _local16 = new BitmapData((_arg1.bitmapData.width + (2 * _local12)), (_arg1.bitmapData.height + (2 * _local13)), true, 0xFF); _local16.copyPixels(_arg1.bitmapData, new Rectangle(0, 0, _arg1.bitmapData.width, _arg1.bitmapData.height), new Point(_local12, _local13)); for each (_local15 in _local14) { _local16.applyFilter(_local16, new Rectangle(0, 0, _local16.width, _local16.height), new Point(0, 0), _local15); }; _local17 = new _pg495(); _local17.alpha = 1; _local17.bitmapData = _local16; _local17.x = _arg1.x; _local17.y = _arg1.y; _local17.x = (_local17.x - _local12); _local17.y = (_local17.y - _local13); _local17._vx477 = _local17._uc285; _local17._gr166 = _local17._kc408; _local17._uc285 = 0; _local17._kc408 = 0; return (_local17); } } }//package Code.LIB
Section 11
//_jy395 (Code.LIB._jy395) package Code.LIB { import flash.geom.*; public class _jy395 { public static function _vy20(_arg1:Number):Point{ var _local2:Point; _local2 = new Point(); _local2.x = (Math.cos(((_arg1 * Math.PI) / 180)) * 10); _local2.y = (-(Math.sin(((_arg1 * Math.PI) / 180))) * 10); return (_local2); } public static function _br157(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Point, _arg6:Number):int{ var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local7 = (_arg5.x - _arg1); _local8 = (_arg3 - _arg1); _local9 = (_arg5.y - _arg2); _local10 = (_arg4 - _arg2); _local11 = ((_local8 * _local8) + (_local10 * _local10)); if (_local11 != 0){ _local11 = (((_local7 * _local8) + (_local9 * _local10)) / _local11); }; if ((((_local11 > 1)) || ((_local11 < 0)))){ _local12 = 1; } else { _local12 = 0; }; if (_local11 < 0){ _local11 = 0; }; if (_local11 > 1){ _local11 = 1; }; _local13 = (_arg5.x - (_arg1 + (_local8 * _local11))); _local14 = (_arg5.y - (_arg2 + (_local10 * _local11))); if (_arg6 > Math.sqrt(((_local13 * _local13) + (_local14 * _local14)))){ return (_local12); }; return (-1); } public static function _vv510(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):int{ var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; _local9 = (((_arg1 - _arg3) * (_arg8 - _arg6)) - ((_arg2 - _arg4) * (_arg7 - _arg5))); _local10 = (((_arg1 - _arg5) * (_arg8 - _arg6)) - ((_arg2 - _arg6) * (_arg7 - _arg5))); _local11 = (((_arg1 - _arg3) * (_arg2 - _arg6)) - ((_arg2 - _arg4) * (_arg1 - _arg5))); if (Math.abs(_local9) < 0){ return (0); }; _local12 = (_local10 / _local9); _local13 = (_local11 / _local9); if ((((((((0 <= _local12)) && ((_local12 <= 1)))) && ((0 <= _local13)))) && ((_local13 <= 1)))){ return (1); }; return (0); } public static function _vr144(_arg1:Point):Number{ return (((Math.atan((_arg1.y / _arg1.x)) * 180) / Math.PI)); } public static function _ur302(_arg1:Point, _arg2:Point, _arg3:Point, _arg4:Number):int{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; _local5 = (_arg3.x - _arg1.x); _local6 = (_arg2.x - _arg1.x); _local7 = (_arg3.y - _arg1.y); _local8 = (_arg2.y - _arg1.y); _local9 = ((_local6 * _local6) + (_local8 * _local8)); if (_local9 != 0){ _local9 = (((_local5 * _local6) + (_local7 * _local8)) / _local9); }; if ((((_local9 > 1)) || ((_local9 < 0)))){ _local10 = 1; } else { _local10 = 0; }; if (_local9 < 0){ _local9 = 0; }; if (_local9 > 1){ _local9 = 1; }; _local11 = (_arg3.x - (_arg1.x + (_local6 * _local9))); _local12 = (_arg3.y - (_arg1.y + (_local8 * _local9))); _local13 = Math.sqrt(((_local11 * _local11) + (_local12 * _local12))); if (_arg4 > _local13){ return (_local10); }; return (-1); } public static function _qt116(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg1 - _arg3) * (_arg1 - _arg3)) + ((_arg2 - _arg4) * (_arg2 - _arg4)))); } public static function _ci134(_arg1:Point, _arg2:Number):Point{ var _local3:Point; var _local4:Number; var _local5:Number; _local3 = new Point(); _local4 = Math.cos(((_arg2 * Math.PI) / 180)); _local5 = Math.sin(((_arg2 * Math.PI) / 180)); _local3.x = ((_local4 * _arg1.x) - (_local5 * _arg1.y)); _local3.y = ((_local5 * _arg1.x) + (_local4 * _arg1.y)); _local3.normalize(_arg1.length); return (_local3); } public static function _oc515(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{ var _local7:Number; var _local8:Number; _local7 = (((_arg1 - _arg4) * (_arg1 - _arg4)) + ((_arg2 - _arg5) * (_arg2 - _arg5))); _local8 = ((_arg3 + _arg6) * (_arg3 + _arg6)); return ((_local7 <= _local8)); } public static function _mk419(_arg1:Point, _arg2:Point, _arg3:int):Point{ var _local4:Point; var _local5:Point; var _local6:Point; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Point; _local4 = new Point(_arg1.x, _arg1.y); if (_arg3 == 1){ _arg2 = new Point(-(_arg2.y), _arg2.x); return (new Point(-(_local4.x), -(_local4.y))); }; _local5 = new Point(_arg2.x, _arg2.y); _local6 = new Point(-(_local5.y), _local5.x); _local7 = ((_local6.x * _local4.x) + (_local6.y * _local4.y)); _local8 = ((_local5.x * _local4.x) + (_local5.y * _local4.y)); _local9 = ((-(_local7) * _local6.x) + (_local8 * _local5.x)); _local10 = ((-(_local7) * _local6.y) + (_local8 * _local5.y)); _local11 = new Point(_local9, _local10); return (_local11); } } }//package Code.LIB
Section 12
//_kj370 (Code.LIB._kj370) package Code.LIB { import flash.display.*; public class _kj370 { public static var showMochi:Boolean = false; private static var iURL:String; public static var lives:int = 0; public static var scoreSubmitted:Boolean = false; public static var prStage:Stage; private static var iDx:Number; private static var iDy:Number; public static var iNative:Boolean = false; private static var iScale:Number = 1; public static var iDebug:Boolean = false; public static function get _vx477():Number{ return ((iDx / _wr432)); } public static function get _wr432():Number{ return (iScale); } public static function _se144():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; _local1 = prStage.stageWidth; _local2 = prStage.stageHeight; _local3 = (_local1 / 800); _local4 = (_local2 / 600); iScale = ((_local3)<_local4) ? _local3 : _local4; if (iScale > 1.5){ iScale = 1.3; }; _mv195(((_kj370.prStage.stageWidth - (800 * _wr432)) / 2), ((_kj370.prStage.stageHeight - (600 * _wr432)) / 2)); } public static function set _id441(_arg1:String):void{ var _local2:String; var _local3:Array; iURL = _arg1.substring(0, 29); _local2 = _arg1.slice(0, _arg1.length); _local2.toLowerCase(); _local3 = _local2.split("/"); iNative = true; } public static function _mv195(_arg1:Number, _arg2:Number):void{ iDx = _arg1; iDy = _arg2; trace(iDx, " ", iDy); } public static function get _gr166():Number{ return ((iDy / _wr432)); } public static function get _id441():String{ return (iURL); } } }//package Code.LIB
Section 13
//_le447 (Code.LIB._le447) package Code.LIB { import flash.events.*; import flash.display.*; import flash.text.*; import Code.OPTIONS.*; import Code.LIB.SOUND.*; import flash.utils.*; public class _le447 extends _bd509 { public var menuItem:int;// = -1 private var iTimer:int; protected var speakerMount:_pg495; protected var iBackground:_pg495; private var iFrame:_pg495; private var iDebugTextFormat:TextFormat; private var iDebugText:TextField; protected var iWindow:_lx460; public function _le447(){ var _local1:Sprite; menuItem = -1; iTimer = getTimer(); super(); _kj370._se144(); _pc215._mb273(_hd443._pc215); _local1 = new _hd443.TButtonMount(); _local1.scaleX = (80 / 200); _local1.scaleY = (36 / 100); _local1.alpha = 0.5; speakerMount = _lx317._ec37(_local1); speakerMount._dx37(695, 3); if (_kj370.iDebug){ iDebugText = new TextField(); iDebugTextFormat = new TextFormat(null, 20, 0xFFFFFF); iDebugText.x = 30; super.addChild(iDebugText); }; _ma277._mb273(); if (!_ma277._vi147){ _pc215._gw279 = 0.6; _pc215._py494 = 0.9; } else { _pc215._gw279 = _ma277._vi147[1].prMVolume; _pc215._py494 = _ma277._vi147[1].prSVolume; }; this.addEventListener(Event.ENTER_FRAME, onEnterFrame); _kj370.prStage.addEventListener(Event.RESIZE, onResize); iFrame = new _pg495(); addChild(iFrame); } public function _do432():void{ } protected function onResize(_arg1:Event):void{ var _local2:_bd509; var _local3:TextField; var _local4:int; var _local5:_pg495; var _local6:Sprite; _kj370._se144(); if (this.iWindow){ iWindow._or337(); this.removeChild(iWindow); this.iWindow = null; if (!_ma277._vi147){ this.menuItem = _hd443.miEnterName; } else { menuItem = _hd443.miMenu; }; this._do432(); }; if (_kj370.iDebug){ _local2 = new _bd509(); _local2.graphics.clear(); _local2.graphics.lineStyle(2, 0xFFFFFF); _local2.graphics.drawRect(0, 0, (800 * _kj370._wr432), (600 * _kj370._wr432)); _local2.graphics.lineStyle(1, 0xFFFFFF, 0.4); _local4 = 0; while (_local4 < (600 / 50)) { _local3 = new TextField(); _local3.text = (_local4 * 50).toString(); _local3.x = 0; _local3.y = (((_local4 * 50) + 2) * _kj370._wr432); _local2.graphics.moveTo(0, ((_local4 * 50) * _kj370._wr432)); _local2.graphics.lineTo((800 * _kj370._wr432), ((_local4 * 50) * _kj370._wr432)); _local2.addChild(_local3); _local4++; }; _local4 = 0; while (_local4 < (800 / 50)) { _local3 = new TextField(); _local3.text = (_local4 * 50).toString(); _local3.y = 0; _local3.x = (((_local4 * 50) + 2) * _kj370._wr432); _local2.graphics.moveTo(((_local4 * 50) * _kj370._wr432), 0); _local2.graphics.lineTo(((_local4 * 50) * _kj370._wr432), (600 * _kj370._wr432)); _local2.addChild(_local3); _local4++; }; _local5 = _lx317._cy60(_local2); this.iFrame.bitmapData = _local5.bitmapData; this.iFrame._uc285 = _local5._uc285; this.iFrame._kc408 = _local5._kc408; }; this.x = ((_kj370.prStage.stageWidth - (800 * _kj370._wr432)) / 2); this.y = ((_kj370.prStage.stageHeight - (600 * _kj370._wr432)) / 2); if (_pc215.iMusic){ _pc215.iMusic._uc285 = 700; _pc215.iSound._uc285 = 740; _pc215.iSound._kc408 = (_pc215.iMusic._kc408 = 5); if (speakerMount.parent){ removeChild(speakerMount); }; _local6 = new _hd443.TButtonMount(); _local6.scaleX = (80 / 200); _local6.scaleY = (36 / 100); _local6.alpha = 0.5; speakerMount = _lx317._ec37(_local6); speakerMount._uc285 = 695; addChild(speakerMount); }; this._nk149(); } protected function _nk149():void{ var _local1:Sprite; if (iBackground){ removeChild(iBackground); }; _local1 = (new _hd443.BG() as Sprite); _local1.scaleX = (_kj370.prStage.stageWidth / _local1.width); _local1.scaleY = (_kj370.prStage.stageHeight / _local1.height); _local1.x = (_local1.x - (_kj370._vx477 * _kj370._wr432)); _local1.y = (_local1.y - (_kj370._gr166 * _kj370._wr432)); this.iBackground = _lx317._cy60(_local1); addChildAt(iBackground, 0); } public function onEnterFrame(_arg1:Event):void{ var _local2:int; if (_kj370.iDebug){ _local2 = (1000 / (getTimer() - iTimer)); iDebugText.text = _local2.toString(); iDebugText.setTextFormat(iDebugTextFormat); iTimer = getTimer(); }; } } }//package Code.LIB
Section 14
//_lx317 (Code.LIB._lx317) package Code.LIB { import flash.display.*; import flash.filters.*; import flash.geom.*; public class _lx317 { public static function _ec37(_arg1:DisplayObject, _arg2:Number=1):_pg495{ var _local3:DisplayObject; var _local4:Number; var _local5:DisplayObject; var _local6:Sprite; var _local7:Rectangle; var _local8:Sprite; var _local9:int; var _local10:int; var _local11:BitmapData; var _local12:_pg495; var _local13:Array; var _local14:BitmapFilter; _local3 = _arg1; _local4 = 0; if (_local3.filters){ _local13 = _local3.filters; for each (_local14 in _local13) { if ((((((((_local14 is GlowFilter)) || ((_local14 is DropShadowFilter)))) || ((_local14 is GradientGlowFilter)))) || ((_local14 is BlurFilter)))){ if (((_local14["blurX"]) && ((_local14["blurX"] > _local4)))){ _local4 = _local14["blurX"]; }; if (((_local14["blurY"]) && ((_local14["blurY"] > _local4)))){ _local4 = _local14["blurY"]; }; }; }; }; _local5 = _arg1; _local6 = new Sprite(); _local6.addChild(_local5); _local6.scaleX = (_kj370._wr432 * _arg2); _local6.scaleY = (_kj370._wr432 * _arg2); _local7 = _local6.getBounds(_local6); _local6.x = (_local6.x + ((((-1 * _local7.x) * _kj370._wr432) * _arg2) + _local4)); _local6.y = (_local6.y + ((((-1 * _local7.y) * _kj370._wr432) * _arg2) + _local4)); _local8 = new Sprite(); _local8.addChild(_local6); _local9 = _local6.width; _local10 = _local6.height; _local11 = new BitmapData((_local9 + (_local4 * 3)), (_local10 + (_local4 * 3)), true, 0xFFFFFF); _local11.draw(_local8); _local12 = new _pg495(_local11); new _pg495(_local11).x = (_local12.x - ((((-1 * _local7.x) * _arg2) * _kj370._wr432) + _local4)); _local12.y = (_local12.y - ((((-1 * _local7.y) * _arg2) * _kj370._wr432) + _local4)); _local12._vx477 = _local12._uc285; _local12._gr166 = _local12._kc408; _local12._uc285 = 0; _local12._kc408 = 0; return (_local12); } public static function _gb384(_arg1:_pg495):_pg495{ var _local2:_pg495; var _local3:Rectangle; var _local4:BitmapData; var _local5:Point; var _local6:uint; var _local7:uint; var _local8:uint; _local2 = _arg1._dx77(); _local3 = new Rectangle(0, 0, _arg1.bitmapData.width, _arg1.bitmapData.height); _local4 = _arg1.bitmapData.clone(); _local5 = new Point(0, 0); _local6 = 1; _local7 = 2; _local8 = 4; _local4.copyPixels(_local4, _local3, _local5); _local4.copyChannel(_local4, _local3, _local5, _local7, _local6); _local4.copyChannel(_local4, _local3, _local5, _local7, _local7); _local4.copyChannel(_local4, _local3, _local5, _local7, _local8); _local2.bitmapData = _local4; return (_local2); } public static function _ci245(_arg1:Sprite, _arg2:Number=1):Array{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < MovieClip(_arg1.getChildAt(0)).currentScene.numFrames) { MovieClip(_arg1.getChildAt(0)).gotoAndPlay(_local4); _local3.push(_lx317._ec37(_arg1, _arg2)); _local4++; }; return (_local3); } public static function _yc187(_arg1:Class, _arg2:Number):Array{ var _local3:Array; var _local4:Sprite; var _local5:_pg495; var _local6:DisplayObject; _local3 = new Array(); _local4 = (new (_arg1) as Sprite); while (_local4.numChildren > 0) { _local6 = _local4.getChildAt(0); _local6.x = 0; _local6.y = 0; _local5 = _ec37(_local6, (_kj370._wr432 * _arg2)); _local5._uc285 = 0; _local5._kc408 = 0; _local3.push(_local5); }; return (_local3); } public static function _nv228(_arg1:Sprite, _arg2:Number, _arg3:Number):_pg495{ var _local4:DisplayObject; var _local5:Number; var _local6:DisplayObject; var _local7:Sprite; var _local8:Number; var _local9:Rectangle; var _local10:Sprite; var _local11:int; var _local12:int; var _local13:BitmapData; var _local14:_pg495; var _local15:Array; var _local16:BitmapFilter; _local4 = _arg1.getChildAt(0); _local5 = 0; if (_local4.filters){ _local15 = _local4.filters; for each (_local16 in _local15) { if ((((((((_local16 is GlowFilter)) || ((_local16 is DropShadowFilter)))) || ((_local16 is GradientGlowFilter)))) || ((_local16 is BlurFilter)))){ if (((_local16["blurX"]) && ((_local16["blurX"] > _local5)))){ _local5 = _local16["blurX"]; }; if (((_local16["blurY"]) && ((_local16["blurY"] > _local5)))){ _local5 = _local16["blurY"]; }; }; }; }; _local6 = _arg1; _local7 = new Sprite(); _local8 = _arg2; _local7.addChild(_local6); _local7.scaleX = (_kj370._wr432 * _arg2); _local7.scaleY = (_kj370._wr432 * _arg3); _local9 = _local7.getBounds(_local7); _local7.x = (_local7.x + ((((-1 * _local9.x) * _kj370._wr432) * _arg2) + _local5)); _local7.y = (_local7.y + ((((-1 * _local9.y) * _kj370._wr432) * _arg3) + _local5)); _local10 = new Sprite(); _local10.addChild(_local7); _local11 = Math.round(_local7.width); _local12 = Math.round(_local7.height); _local13 = new BitmapData((_local11 + (_local5 * 3)), (_local12 + (_local5 * 3)), true, 0xFFFFFF); _local13.draw(_local10); _local14 = new _pg495(_local13); new _pg495(_local13)._uc285 = (_local14._uc285 - (((-1 * _local9.x) * _arg2) + (_local5 / _kj370._wr432))); _local14._kc408 = (_local14._kc408 - (((-1 * _local9.y) * _arg3) + (_local5 / _kj370._wr432))); _local14._vx477 = _local14._uc285; _local14._gr166 = _local14._kc408; _local14._uc285 = 0; _local14._kc408 = 0; return (_local14); } public static function _sa274(_arg1:Class, _arg2:Number):Sprite{ var _local3:Sprite; _local3 = (new (_arg1) as Sprite); _local3.scaleX = (_local3.scaleY = (_arg2 * _kj370._wr432)); return (_local3); } public static function _ex80(_arg1:DisplayObject, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1):_pg495{ var _local5:DisplayObject; var _local6:Number; var _local7:DisplayObject; var _local8:Sprite; var _local9:Rectangle; var _local10:Sprite; var _local11:int; var _local12:int; var _local13:BitmapData; var _local14:_pg495; var _local15:Array; var _local16:BitmapFilter; _local5 = _arg1; _local6 = 0; if (_local5.filters){ _local15 = _local5.filters; for each (_local16 in _local15) { if ((((((((_local16 is GlowFilter)) || ((_local16 is DropShadowFilter)))) || ((_local16 is GradientGlowFilter)))) || ((_local16 is BlurFilter)))){ if (((_local16["blurX"]) && ((_local16["blurX"] > _local6)))){ _local6 = _local16["blurX"]; }; if (((_local16["blurY"]) && ((_local16["blurY"] > _local6)))){ _local6 = _local16["blurY"]; }; if (_local16["blurX"]){ _local16["blurX"] = ((_local16["blurX"] * _kj370._wr432) * _arg4); }; if (_local16["blurY"]){ _local16["blurY"] = ((_local16["blurY"] * _kj370._wr432) * _arg4); }; }; }; _local5.filters = _local15; }; _local7 = _arg1; _local8 = new Sprite(); _local8.addChild(_local7); _local8.scaleX = (_kj370._wr432 * _arg2); _local8.scaleY = (_kj370._wr432 * _arg3); _local9 = _local8.getBounds(_local8); _local8.x = (_local8.x + ((((-1 * _local9.x) * _kj370._wr432) * _arg2) + _local6)); _local8.y = (_local8.y + ((((-1 * _local9.y) * _kj370._wr432) * _arg3) + _local6)); _local10 = new Sprite(); _local10.addChild(_local8); _local11 = _local8.width; _local12 = _local8.height; _local13 = new BitmapData((_local11 + (_local6 * 3)), (_local12 + (_local6 * 3)), true, 0xFFFFFF); _local13.draw(_local10); _local14 = new _pg495(_local13); new _pg495(_local13).x = (_local14.x - ((((-1 * _local9.x) * _arg2) * _kj370._wr432) + _local6)); _local14.y = (_local14.y - ((((-1 * _local9.y) * _arg3) * _kj370._wr432) + _local6)); _local14._vx477 = _local14._uc285; _local14._gr166 = _local14._kc408; _local14._uc285 = 0; _local14._kc408 = 0; return (_local14); } public static function _wm297(_arg1:Sprite, _arg2:Number, _arg3:Number):_pg495{ var _local4:DisplayObject; var _local5:Number; var _local6:DisplayObject; var _local7:Sprite; var _local8:Number; var _local9:Rectangle; var _local10:Sprite; var _local11:int; var _local12:int; var _local13:BitmapData; var _local14:_pg495; var _local15:Array; var _local16:BitmapFilter; _local4 = _arg1.getChildAt(0); _local5 = 0; if (_local4.filters){ _local15 = _local4.filters; for each (_local16 in _local15) { if ((((((((_local16 is GlowFilter)) || ((_local16 is DropShadowFilter)))) || ((_local16 is GradientGlowFilter)))) || ((_local16 is BlurFilter)))){ if (_local16["blurX"]){ _local16["blurX"] = (_local16["blurX"] * _kj370._wr432); }; if (_local16["blurY"]){ _local16["blurY"] = (_local16["blurY"] * _kj370._wr432); }; if (((_local16["blurX"]) && ((_local16["blurX"] > _local5)))){ _local5 = _local16["blurX"]; }; if (((_local16["blurY"]) && ((_local16["blurY"] > _local5)))){ _local5 = _local16["blurY"]; }; }; }; }; _local4.filters = _local15; _local6 = _arg1; _local7 = new Sprite(); _local8 = _arg2; _local7.addChild(_local6); _local7.scaleX = (_kj370._wr432 * _arg2); _local7.scaleY = (_kj370._wr432 * _arg3); _local9 = _local7.getBounds(_local7); _local7.x = (_local7.x + ((((-1 * _local9.x) * _kj370._wr432) * _arg2) + _local5)); _local7.y = (_local7.y + ((((-1 * _local9.y) * _kj370._wr432) * _arg3) + _local5)); _local10 = new Sprite(); _local10.addChild(_local7); _local11 = _local7.width; _local12 = _local7.height; _local13 = new BitmapData((_local11 + (_local5 * 3)), (_local12 + (_local5 * 3)), true, 0xFFFFFF); _local13.draw(_local10); _local14 = new _pg495(_local13); new _pg495(_local13)._uc285 = (_local14._uc285 - (((-1 * _local9.x) * _arg2) + (_local5 / _kj370._wr432))); _local14._kc408 = (_local14._kc408 - (((-1 * _local9.y) * _arg3) + (_local5 / _kj370._wr432))); _local14._vx477 = _local14._uc285; _local14._gr166 = _local14._kc408; _local14._uc285 = 0; _local14._kc408 = 0; _arg1.addChildAt(_local4, 0); return (_local14); } public static function _ke34(_arg1:Bitmap, _arg2:Array):_pg495{ var _local3:_pg495; var _local4:BitmapData; var _local5:Number; var _local6:Number; var _local7:Sprite; var _local8:BitmapFilter; _local3 = new _pg495(); _local4 = new BitmapData(_arg1.bitmapData.width, _arg1.bitmapData.height, true, 0xFF); _local5 = _arg1.x; _local6 = _arg1.y; _local3.bitmapData = _local4; _local7 = new Sprite(); _local7.addChild(_arg1); _local3.bitmapData.draw(_local7); for each (_local8 in _arg2) { _local3.bitmapData.applyFilter(_local3.bitmapData, new Rectangle(0, 0, _local3.width, _local3.height), new Point(0, 0), _local8); }; return (_local3); } public static function _ai423(_arg1:Class, _arg2:Boolean=false, _arg3:int=0, _arg4:Number=1):_pg495{ var _local5:Sprite; var _local6:DisplayObject; var _local7:Array; var _local8:Sprite; var _local9:_pg495; _local5 = (new (_arg1) as Sprite); _local6 = _local5.getChildAt(_arg3); _local7 = _local6.filters; _local8 = new Sprite(); _local6.filters = null; _local8.addChild(_local6); _local9 = _ec37(_local8, _arg4); _local9 = _ke34(_local9, _local7); return (_local9); } public static function _cy60(_arg1:DisplayObject):_pg495{ var _local2:DisplayObject; var _local3:Number; var _local4:Sprite; var _local5:Rectangle; var _local6:Sprite; var _local7:int; var _local8:int; var _local9:BitmapData; var _local10:_pg495; var _local11:Array; var _local12:BitmapFilter; if ((_arg1 is _pg495)){ _pg495(_arg1)._vx477 = 0; _pg495(_arg1)._gr166 = 0; }; _local2 = _arg1; _local3 = 0; if (_local2.filters){ _local11 = _local2.filters; for each (_local12 in _local11) { if ((((((((_local12 is GlowFilter)) || ((_local12 is DropShadowFilter)))) || ((_local12 is GradientGlowFilter)))) || ((_local12 is BlurFilter)))){ if (((_local12["blurX"]) && ((_local12["blurX"] > _local3)))){ _local3 = _local12["blurX"]; }; if (((_local12["blurY"]) && ((_local12["blurY"] > _local3)))){ _local3 = _local12["blurY"]; }; }; }; }; _local4 = new Sprite(); _local4.addChild(_arg1); _local5 = _local4.getBounds(_local4); _local4.x = (_local4.x + ((-1 * _local5.x) + _local3)); _local4.y = (_local4.y + ((-1 * _local5.y) + _local3)); _local6 = new Sprite(); _local6.addChild(_local4); _local7 = _local4.width; _local8 = _local4.height; _local9 = new BitmapData((_local7 + (_local3 * 3)), (_local8 + (_local3 * 3)), true, 0xFFFFFF); _local9.draw(_local6); _local10 = new _pg495(_local9); new _pg495(_local9).x = (_local10.x - ((-1 * _local5.x) + _local3)); _local10.y = (_local10.y - ((-1 * _local5.y) + _local3)); _local10._vx477 = _local10._uc285; _local10._gr166 = _local10._kc408; _local10._uc285 = 0; _local10._kc408 = 0; return (_local10); } } }//package Code.LIB
Section 15
//_lx460 (Code.LIB._lx460) package Code.LIB { import flash.events.*; import flash.display.*; import Code.OPTIONS.*; public class _lx460 extends _fh287 { private const alfaFade:Number = 0.2; protected var iITimer:int;// = 0 private var prvisible:Boolean; private var isShowing:Boolean;// = false private var isHiding:Boolean;// = false protected var state:int; protected var iHandCursor:Bitmap; public function _lx460(_arg1:Array=null){ isHiding = false; isShowing = false; iITimer = 0; super(); this.alpha = 0; prvisible = true; if (_arg1 != null){ _eh364(_arg1); }; this.show(); this.iHandCursor = _lx317._cy60((new _hd443.CurHand() as Sprite)); } override public function _or337():void{ super._or337(); } public function get _aj31():Boolean{ return (prvisible); } public function _ms286(_arg1:Array):void{ while (this.numChildren != 0) { this.removeChildAt(0); }; _eh364(_arg1); } public function hide():void{ this.isShowing = false; this.isHiding = true; } private function _eh364(_arg1:Array):void{ var _local2:uint; var _local3:*; var _local4:int; _local2 = 0; while (_local2 < _arg1.length) { _local3 = _arg1[_local2][0](_arg1[_local2]); _local4 = (_arg1[_local2][((_arg1[_local2] as Array).length - 4)] as int); if (_arg1[_local2][((_arg1[_local2] as Array).length - 2)] != null){ this[_arg1[_local2][((_arg1[_local2] as Array).length - 2)]] = _local3; }; _local3["_uc285"] = (_local3["_uc285"] + _local4); _local3["_kc408"] = (_local3["_kc408"] + int(_arg1[_local2][(_arg1[_local2].length - 3)])); if (!_arg1[_local2][((_arg1[_local2] as Array).length - 1)]){ _local3["visible"] = false; }; this.addChild(_local3); _local2++; }; } override public function onEnterFrame(_arg1:Event):void{ if (isShowing){ this.alpha = (this.alpha + alfaFade); if (this.alpha >= 1){ this.isShowing = false; this.alpha = 1; }; }; if (isHiding){ this.alpha = (this.alpha - alfaFade); if (this.alpha <= 0){ this.isHiding = false; this.alpha = 0; this.prvisible = false; }; }; } public function get _vn21():Boolean{ return (((this.isHiding) || (this.isShowing))); } public function show():void{ this.isShowing = true; this.isHiding = false; this.prvisible = true; } } }//package Code.LIB
Section 16
//_ma277 (Code.LIB._ma277) package Code.LIB { import flash.net.*; import Code.LIB.SOUND.*; public class _ma277 { private static var records:Array = null; public static var iPlayerPos:int; private static var iPlayer:Array = null; public static var so:SharedObject; public static function _bt125(_arg1:String):void{ var _local2:uint; _local2 = 0; while (_local2 < records.length) { if (_ma277.records[_local2][0] == _arg1){ _ma277.records.splice(_local2, 1); if (_ma277.records.length == 0){ _ma277.iPlayer = null; _ma277.so.clear(); so.flush(); return; }; _ma277.iPlayer = _ma277.records[0]; _ma277.iPlayerPos = 0; }; _local2++; }; _ma277._rm392(); } public static function get _va297():Array{ return (_ma277.records); } public static function _ir276(_arg1:String):void{ _ma277.iPlayer = [_arg1, {_eq272:0, prScores:0, prSVolume:_pc215._py494, prMVolume:_pc215._gw279, prFinishedLevels:0}]; _ma277.records.push(iPlayer); _ma277.iPlayerPos = (_ma277.records.length - 1); _ma277._rm392(); _kj370.lives = 0; } public static function get _vi147():Array{ return (_ma277.iPlayer); } public static function _rm392():void{ var _local1:uint; var _local2:String; _ma277.so.clear(); _local1 = 0; while (_local1 < records.length) { _local2 = _local1.toString(); so.data[records[_local1][0]] = records[_local1][1]; _local1++; }; so.data["LastPlayer"] = _ma277.iPlayer[0]; so.flush(); } public static function _rv116(_arg1:String):Boolean{ var _local2:uint; _local2 = 0; while (_local2 < records.length) { if (_ma277.records[_local2][0] == _arg1){ _ma277.iPlayer = records[_local2]; _ma277.iPlayerPos = _local2; _pc215._gw279 = _ma277._vi147[1].prMVolume; _pc215._py494 = _ma277._vi147[1].prSVolume; return (true); }; _local2++; }; return (false); } public static function _mb273():Boolean{ var _local1:String; records = new Array(); so = SharedObject.getLocal("table"); if (so.size == 0){ return (false); }; for (_local1 in so.data) { if (_local1 == "LastPlayer"){ } else { records.push([_local1, so.data[_local1]]); }; }; _ma277._rv116(so.data["LastPlayer"]); return (true); } } }//package Code.LIB
Section 17
//_nx427 (Code.LIB._nx427) package Code.LIB { public class _nx427 extends _pj303 { private var iStr:String; private var iStrA:String;// = "" private var iValue:int;// = 0 public function _nx427(_arg1:int, _arg2:int, _arg3:String="", _arg4:String=null){ iValue = 0; iStrA = ""; super(_arg1, _arg2, _arg4); this.iStr = _arg3; this._rr487 = 0; } public function get _rr487():int{ return (this.iValue); } public function set _lb461(_arg1:String):void{ this.iStrA = _arg1; this._rr487 = this._rr487; } public function set _rr487(_arg1:int):void{ this.iValue = _arg1; this.Text = (((this.iStr + ": ") + this.iValue.toString()) + iStrA); } } }//package Code.LIB
Section 18
//_pg495 (Code.LIB._pg495) package Code.LIB { import flash.display.*; public class _pg495 extends Bitmap { private var iDx:Number;// = 0 private var iDy:Number;// = 0 public function _pg495(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){ iDx = 0; iDy = 0; super(_arg1, _arg2, _arg3); } public function _dn291(_arg1:_pg495):void{ _arg1.bitmapData = bitmapData; _arg1._vx477 = this._vx477; _arg1._gr166 = this._gr166; _arg1.x = this.x; _arg1.y = this.y; } public function get _vx477():Number{ return (iDx); } public function set _vx477(_arg1:Number):void{ var _local2:Number; _local2 = _uc285; iDx = _arg1; _uc285 = _local2; } public function get _lv226():Number{ return ((this.width / _kj370._wr432)); } public function set _gr166(_arg1:Number):void{ var _local2:Number; _local2 = _kc408; iDy = _arg1; _kc408 = _local2; } public function get _wy130():Number{ return ((this.height / _kj370._wr432)); } public function _dx37(_arg1:Number, _arg2:Number):void{ _uc285 = _arg1; _kc408 = _arg2; } public function set _uc285(_arg1:Number):void{ this.x = ((_arg1 + iDx) * _kj370._wr432); } public function get _gr166():Number{ return (iDy); } public function get _uc285():Number{ return (((this.x - iDx) / _kj370._wr432)); } public function _dx77():_pg495{ var _local1:_pg495; _local1 = new _pg495(this.bitmapData); _local1.iDx = this.iDx; _local1.iDy = this.iDy; _local1.x = this.x; _local1.y = this.y; return (_local1); } public function set _kc408(_arg1:Number):void{ this.y = ((_arg1 + iDy) * _kj370._wr432); } public function get _kc408():Number{ return (((this.y - iDy) / _kj370._wr432)); } } }//package Code.LIB
Section 19
//_pj303 (Code.LIB._pj303) package Code.LIB { import flash.display.*; import flash.text.*; import Code.OPTIONS.*; public class _pj303 extends _bd509 { private var size:int; private var iHeight:Number; public var iText:TextField; private var color:int; private var effect:String; private var iWidth:Number; private var iShadow:Boolean; protected var iBitmap:_pg495; public function _pj303(_arg1:int, _arg2:int, _arg3:String=null, _arg4:Boolean=false){ var _local5:Sprite; var _local6:Sprite; super(); this.iShadow = _arg4; this.effect = _arg3; this.size = (_arg1 * _kj370._wr432); this.color = _arg2; _local5 = (new _wp58.OFont() as Sprite); this.iText = TextField(_local5.getChildAt(0)); _local6 = (new _wp58.OFont() as Sprite); this.iBitmap = new _pg495(); this.addChild(iBitmap); this.iText.autoSize = TextFieldAutoSize.LEFT; this.iText.antiAliasType = AntiAliasType.ADVANCED; } override public function get height():Number{ return ((super.height / _kj370._wr432)); } public function get _rs364():_pg495{ return (iBitmap); } public function get Text():String{ return (this.iText.text); } public function set Color(_arg1:int):void{ this.color = _arg1; } public function set Text(_arg1:String):void{ var _local2:TextFormat; var _local3:TextLineMetrics; var _local4:Array; var _local5:Bitmap; _local2 = this.iText.defaultTextFormat; _local2.color = color; _local2.size = size; this.iText.text = _arg1; _local2.bold = true; iText.setTextFormat(_local2); if (this.effect){ _in438._es273(iText, this.effect); }; _local3 = iText.getLineMetrics(0); this.iWidth = _local3.width; this.iHeight = _local3.height; _local4 = iText.filters; _local5 = _lx317._cy60(iText); this.iBitmap.bitmapData = _local5.bitmapData; this.iBitmap.x = _local5.x; this.iBitmap.y = _local5.y; } public function get bitmapData():BitmapData{ return (this.iBitmap.bitmapData); } public function set _xk201(_arg1:Number):void{ this.size = (_arg1 * _kj370._wr432); } override public function get width():Number{ return ((super.width / _kj370._wr432)); } public function get _xk201():Number{ return (this.size); } } }//package Code.LIB
Section 20
//_uu487 (Code.LIB._uu487) package Code.LIB { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; public class _uu487 extends _fh287 { private var mount:Bitmap; private var label:_pj303; protected var hitSp:_bd509; private var state:int; private var iWidth:Number; private var iHeight:Number; public static const stMoveDown:int = 1; public static const stNoAction:int = 0; public static const stMoveUp:int = 2; public function _uu487(_arg1:Bitmap, _arg2:_pj303, _arg3:Boolean=true, _arg4:Number=-1, _arg5:Number=-1){ var _local6:_bd509; super(); this.iHeight = _arg5; this.iWidth = _arg4; if (_arg1){ this.mount = _arg1; this.addChild(mount); }; _local6 = new _bd509(); _local6.graphics.beginFill(0xFF0000, 0); if (_arg5 > 0){ _local6.graphics.drawRect(0, 0, (_arg4 * _kj370._wr432), (_arg5 * _kj370._wr432)); } else { _local6.graphics.drawRect(0, 0, this.mount.width, this.mount.height); }; _local6.graphics.endFill(); this.hitSp = _local6; if (_arg2){ this.label = _arg2; this._gw25 = this.label.iText.text; this.addChild(label); }; this.addChild(_local6); hitArea = _local6; if (_arg3){ this.filters = [new DropShadowFilter((18 * _kj370._wr432), 45, 0, 0.8, (30 * _kj370._wr432), (30 * _kj370._wr432), (0.4 * _kj370._wr432))]; }; this.alpha = 1; this.buttonMode = true; } public function set _gw25(_arg1:String):void{ var _local2:Rectangle; var _local3:Rectangle; var _local4:Number; this.label.Text = _arg1; _local2 = this.label.iText.getCharBoundaries(0); _local3 = this.label.iText.getCharBoundaries((label.iText.text.length - 1)); if (this.iWidth < 0){ this.label.x = ((this.mount.width - _local3.right) / 2); this.label.y = ((this.mount.height - _local2.height) / 2); } else { _local4 = (iWidth * _kj370._wr432); this.label.x = ((((iWidth * _kj370._wr432) - (label.width * _kj370._wr432)) / 2) + 4); this.label.y = 0; }; } override public function _by66(_arg1:MouseEvent):void{ super._by66(_arg1); this.alpha = 0.85; } public function get _yo374():_bd509{ return (this.hitSp); } override public function _ti405(_arg1:MouseEvent):void{ super._by66(_arg1); this.alpha = 1; } override public function _pv253(_arg1:MouseEvent):void{ this.State = stMoveDown; } override public function onEnterFrame(_arg1:Event):void{ super.onEnterFrame(_arg1); switch (state){ case stNoAction: break; case stMoveDown: this.scaleX = (this.scaleY = (this.scaleY - 0.055)); if (this.scaleY < 0.9){ this.State = stMoveUp; }; break; case stMoveUp: this.scaleX = (this.scaleY = (this.scaleY + 0.025)); if (this.scaleX >= 1){ this.State = stNoAction; }; break; }; } private function set State(_arg1:int):void{ this.state = _arg1; switch (state){ case stNoAction: this.scaleX = 1; this.scaleY = 1; break; }; } } }//package Code.LIB
Section 21
//_wv348 (Code.LIB._wv348) package Code.LIB { import Code.OPTIONS.*; public class _wv348 { public static function _vv285():void{ _ma277._vi147[1]._eq272 = 0; _ma277._vi147[1].prScores = 0; _ma277._rm392(); } public static function get _eq272():int{ if (_ma277._vi147 == null){ return (-1); }; return (_ma277._vi147[1]._eq272); } public static function get _qu77():int{ if (_ma277._vi147 == null){ return (-1); }; return (_ma277._vi147[1].prScores); } public static function _ww467(_arg1:int):void{ _ma277._vi147[1].prScores = (_ma277._vi147[1].prScores + _arg1); _ma277._rm392(); } public static function _mf87():void{ _ma277._vi147[1]._eq272--; _ma277._rm392(); } public static function get _kv98():String{ if (_ma277._vi147 == null){ return (null); }; return (_ma277._vi147[0]); } public static function get _ty113():int{ return (_em58.Levels.length); } public static function _wm60():void{ _ma277._vi147[1]._eq272++; if (_ma277._vi147[1]._eq272 > _ma277._vi147[1].prFinishedLevels){ _ma277._vi147[1].prFinishedLevels = _ma277._vi147[1]._eq272; }; _ma277._rm392(); } public static function _wk95(_arg1:int):void{ _ma277._vi147[1].prScores = (_ma277._vi147[1].prScores - _arg1); _ma277._rm392(); } } }//package Code.LIB
Section 22
//_yd319 (Code.LIB._yd319) package Code.LIB { public class _yd319 { public static const KEY_LEFT:int = 37; public static const KEY_DOWN:int = 40; public static const KEY_UP:int = 38; public static const KEY_RIGHT:int = 39; public static const KEY_SPACE:int = 32; } }//package Code.LIB
Section 23
//_la261 (Code.LOGIC.OBJECTS.ACTORS.BLOB._la261) package Code.LOGIC.OBJECTS.ACTORS.BLOB { import flash.geom.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; public class _la261 extends _ss499 implements _ol110 { private var timer:int; private var direction:int;// = 1 public function _la261(_arg1:Object){ var _local2:_cd470; direction = 1; super(_arg1); _local2 = new _cd470(this); _rd22(_local2); _kx404 = 0; State = _ss499.stMove; } override public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = initalCoords.x; _local1.params.y = initalCoords.y; _local1.params.radius = radius; _local1.params._ft177 = _ft177; return (_local1); } override public function update(_arg1:Number):void{ var _local2:_qp435; var _local3:Point; super.update(_arg1); switch (state){ case _ss499.stMove: timer++; if (timer > 170){ direction = (direction * -1); timer = 0; }; _local2 = new _qp435(direction, 0); _xy437(_local2); _local3 = new Point(_bm153.x, _bm153.y); if (Math.abs(_local3.x) > 2){ _local3.x = (2 * ((_local3.x)>0) ? 1 : -1); }; _bm153 = new _qp435(_local3.x, _local3.y); break; }; } override public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TAlienBlob"; _local1.x = initalCoords.x; _local1.y = initalCoords.y; _local1.radius = radius; _local1._ft177 = _ft177; return (_local1); } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_la261, name:"alien", params:{_ft177:0, radius:24}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.BLOB
Section 24
//_ox149 (Code.LOGIC.OBJECTS.ACTORS.BLOB._ox149) package Code.LOGIC.OBJECTS.ACTORS.BLOB { import flash.geom.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; public class _ox149 extends _ss499 { private var tmpVector:_qp435; private var timer:int; private var _color:int; public var graphics:_sf401; private var direction:int;// = 1 public static const GREEN:int = 0; public static const YELLOW:int = 1; public function _ox149(_arg1:Object){ direction = 1; super(_arg1); initalState = _arg1.State; _color = _arg1.color; this.graphics = new _sf401(this); _rd22(graphics); this._uq302 = _gf194; State = _arg1.State; } public function get color():int{ return (_color); } override public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = initalCoords.x; _local1.params.y = initalCoords.y; _local1.params.radius = radius; _local1.params.color = _color; _local1.params._ft177 = _ft177; return (_local1); } override public function update(_arg1:Number):void{ super.update(_arg1); switch (state){ case stMove: timer++; _rw78 = (0.055 * direction); if (timer > 70){ direction = (direction * -1); State = stDelay; }; break; case stDelay: if (_rw78 > 0.05){ break; }; if (timer++ > 60){ State = stMove; }; break; case stJump: break; case stFly: break; }; } override public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TActorBlob"; _local1.x = initalCoords.x; _local1.y = initalCoords.y; _local1.radius = radius; _local1.State = initalState; _local1.color = _color; _local1._ft177 = _ft177; return (_local1); } public function _gf194(_arg1:_hu372, _arg2:_hu372):void{ var _local3:_pe427; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Point; var _local12:_qp435; if (state != stJump){ return; }; if ((((((_arg2 is _mv482)) && (!((_arg2 is _nd36))))) && (!((_arg2 is _kp425))))){ _local3 = _pe427(_arg2); _local4 = _nq418; _local5 = _cg291; _local6 = _local3._nq418; _local7 = _local3._cg291; _local8 = _local3.width; _local9 = _local3.height; _local10 = radius; if ((((((_local5 < (_local7 - (_local9 / 2)))) && ((_local4 > ((_local6 - (_local8 / 2)) - (_local10 * 2)))))) && ((_local4 < ((_local6 + (_local8 / 2)) + (_local10 * 2)))))){ _local11 = new Point(0, -15); _local11.normalize(4); _local12 = new _qp435(_local11.x, _local11.y); _bm153 = _local12; }; }; } override public function set State(_arg1:int):void{ super.State = _arg1; switch (state){ case stMove: timer = 0; graphics.State = _sf401.stNormal; break; case stDelay: timer = 0; graphics.State = _sf401.stNormal; break; case stJump: graphics.State = _sf401.stNormal; break; case stFly: this.fixed = true; graphics.State = _sf401.stNormal; break; case stSwim: graphics.State = _sf401.stSwim; break; case stFree: graphics.State = _sf401.stNormal; break; }; } public function get _wo15():int{ return (state); } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_ox149, name:"blob", params:{_ft177:0, radius:15, states:[["free", _ss499.stFree], ["jump", _ss499.stJump], ["fly", _ss499.stFly], ["move", _ss499.stMove]], color:[["yellow", YELLOW], ["green", GREEN]]}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.BLOB
Section 25
//_pp193 (Code.LOGIC.OBJECTS.ACTORS.BLOB._pp193) package Code.LOGIC.OBJECTS.ACTORS.BLOB { import flash.geom.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.LOGIC.OBJECTS.ACTORS.*; public class _pp193 extends _ss499 { public var inSect:Boolean;// = false public var leftPressed:Boolean;// = false public var upPressed:Boolean;// = false public var downPressed:Boolean;// = false public var rightPressed:Boolean;// = false public var inWall:Boolean;// = false protected var gBlob:_tq435; public function _pp193(_arg1:Object){ leftPressed = false; rightPressed = false; upPressed = false; downPressed = false; inSect = false; inWall = false; super(_arg1); this._uv317 = 0.125; this._md362 = 0; gBlob = new _tq435(this); this._rd22(gBlob); } override public function _jy76(_arg1:_qp435, _arg2:_qp435, _arg3:_qp435, _arg4:Number, _arg5:int, _arg6:_hu372):void{ if ((((((((((((_arg6 is _ox149)) || ((_arg6 is _iq290)))) || ((_arg6 is _nd36)))) || ((_arg6 is _jq234)))) || ((_arg6 is _la261)))) || ((_arg6 is _kp425)))){ return; }; super._jy76(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); } public function _df231():void{ if (state != stSwim){ State = stSwim; }; } public function _hk146(_arg1:Boolean=false):void{ var _local2:Number; var _local3:Number; var _local4:Point; var _local5:_qp435; _local3 = (_bm153.x / 10); _local2 = _bm153.y; _local4 = new Point(_local3, -15); if (_arg1){ _local4.normalize(25); _local4.x = 0; } else { _local4.normalize(18); }; _local5 = new _qp435(_local4.x, _local4.y); _bm153 = _local5; if (((leftPressed) || (rightPressed))){ _local5 = new _qp435((leftPressed) ? -4 : 4, 0); _xy437(_local5); }; } override public function update(_arg1:Number):void{ var _local2:_qp435; var _local3:Point; var _local4:_qp435; var _local5:Point; super.update(_arg1); if (((((((leftPressed) || (rightPressed))) && ((Math.abs(_bm153.x) < 20)))) && (!((state == stSwim))))){ if (!inWall){ _local2 = new _qp435((leftPressed) ? -0.7 : 0.7, 0); _xy437(_local2); } else { _local2 = new _qp435((leftPressed) ? -2 : 2, 0); _xy437(_local2); }; } else { if (Math.abs(_bm153.x) > 0.1){ _local3 = new Point((-(_bm153.x) / 3), (-(_bm153.y) / 8)); _xy437(new _qp435(_local3.x, _local3.y)); }; }; switch (state){ case stNormal: _local3 = new Point(0, 1.3); _xy437(new _qp435(_local3.x, _local3.y)); break; case stSwim: if (!inSect){ State = stNormal; }; if (((leftPressed) || (rightPressed))){ _local2 = new _qp435((leftPressed) ? -2.7 : 2.7, 0); _xy437(_local2); }; if (((upPressed) || (downPressed))){ _local4 = new _qp435(0, (upPressed) ? -2 : 2); this._xy437(_local4); }; break; }; inSect = false; inWall = false; if (_bm153._cr110() > 30){ _local5 = new Point(_bm153.x, _bm153.y); _local5.normalize(30); _bm153 = new _qp435(_local5.x, _local5.y); }; } override public function set State(_arg1:int):void{ super.State = _arg1; switch (state){ }; } } }//package Code.LOGIC.OBJECTS.ACTORS.BLOB
Section 26
//_ss499 (Code.LOGIC.OBJECTS.ACTORS.BLOB._ss499) package Code.LOGIC.OBJECTS.ACTORS.BLOB { import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.LOGIC.*; import Code.LIB.SOUND.*; public class _ss499 extends _cx14 implements _ol110 { protected var initalState:int; private var id:int; protected var initalCoords:_qp435; private var color:int; private var _group:_fl63; public var onUpdate:Function; protected var state:int; public static const stMove:int = 4; public static const stNormal:int = 0; public static const stSwim:int = 7; public static const stFly:int = 6; public static const stInvisible:int = 1; public static const stFree:int = 9; public static const stJump:int = 5; public static const stDelay:int = 8; public static const stFixed:int = 3; public static const stPlum:int = 10; public static const stNone:int = 2; public function _ss499(_arg1:Object){ var _local2:_gk241; var _local3:_pg495; super(_arg1.x, _arg1.y, _arg1.radius, false); id = _arg1._ft177; color = _arg1.color; owner = this; _local2 = new _gk241(); _local2.graphics.beginFill(color, 1); _local2.graphics.drawCircle(0, 0, (_arg1.radius * _kj370._wr432)); _local2.graphics.endFill(); _local3 = _lx317._cy60(_local2); _local2.addChild(_local3); _rd22(_local2); initalCoords = new _qp435(_arg1.x, _arg1.y); _uq302 = _gx153; } public function _xa153():void{ State = stInvisible; } public function get _ft177():int{ return (id); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.x = _nq418; _local1.y = _cg291; _local1.radius = radius; return (_local1); } public function get State():int{ return (this.state); } public function get group():_fl63{ return (_group); } override public function update(_arg1:Number):void{ if (onUpdate != null){ this.onUpdate(this); }; super.update(_arg1); } public function _rm181(_arg1:_rq150):void{ if (((!((state == stSwim))) && (!((state == stInvisible))))){ State = stSwim; }; } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TActorBlob"; _local1.x = _nq418; _local1.y = _cg291; _local1.radius = radius; _local1.State = initalState; return (_local1); } public function get _im387():Boolean{ return ((state == stInvisible)); } public function set State(_arg1:int):void{ var _local2:Number; this.state = _arg1; switch (state){ case stPlum: break; case stSwim: if (_bk397.timerWater > 30){ _local2 = _bk397.BLOB._nq418; if (Math.abs((_local2 - _nq418)) < (_bk397.screenWidth * 0.8)){ _pc215._ee318("bulb"); _bk397.timerWater = 0; }; }; break; }; } public function set group(_arg1:_fl63):void{ _group = _arg1; } private function _gx153(_arg1:_hu372, _arg2:_hu372):void{ if ((((_arg2.owner is _tq12)) && ((_tq12(_arg2.owner).fixed == false)))){ State = stPlum; }; } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_ox149, name:"blob", params:{radius:10, color:0xFAFAFA, states:[["jump", _ss499.stJump], ["fly", _ss499.stFly]]}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.BLOB
Section 27
//_mk113 (Code.LOGIC.OBJECTS.ACTORS.INTERFACES._mk113) package Code.LOGIC.OBJECTS.ACTORS.INTERFACES { public interface _mk113 extends _ol110 { function get active():Boolean; function get action():String; function _rm160(_arg1:String):void; } }//package Code.LOGIC.OBJECTS.ACTORS.INTERFACES
Section 28
//_ol110 (Code.LOGIC.OBJECTS.ACTORS.INTERFACES._ol110) package Code.LOGIC.OBJECTS.ACTORS.INTERFACES { import Code.org.cove.ape.*; public interface _ol110 { function _og249():Object; function get _ft177():int; function _bo404():Object; function get _cg291():Number; function get _im387():Boolean; function get _nq418():Number; function set group(_arg1:_fl63):void; function get group():_fl63; } }//package Code.LOGIC.OBJECTS.ACTORS.INTERFACES
Section 29
//_kp425 (Code.LOGIC.OBJECTS.ACTORS.RECTS._kp425) package Code.LOGIC.OBJECTS.ACTORS.RECTS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.OPTIONS.*; public class _kp425 extends _mv482 implements _ol110 { private var _group:_fl63; public function _kp425(_arg1:Object){ var _local2:Sprite; var _local3:_gk241; _arg1.width = 50; _arg1.height = 70; super(_arg1); _local2 = (new _hd443.GDoor() as Sprite); _local3 = new _gk241(); _local3.owner = this; _local3.addChild(_lx317._ec37(_local2)); _rd22(_local3); } public function open():void{ var _local1:Sprite; _pp275._qm114(); _local1 = (new _hd443.GDoorOpened() as Sprite); _pp275.addChild(_lx317._ec37(_local1)); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = (_nq418 - (width / 2)); _local1.params.y = (_cg291 - (height / 2)); _local1.params._ft177 = _ft177; return (_local1); } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TDoor"; _local1.x = (_nq418 - (width / 2)); _local1.y = (_cg291 - (height / 2)); _local1._ft177 = _ft177; return (_local1); } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_kp425, name:"door", params:{_ft177:0, x:0, y:0}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.RECTS
Section 30
//_mv482 (Code.LOGIC.OBJECTS.ACTORS.RECTS._mv482) package Code.LOGIC.OBJECTS.ACTORS.RECTS { import Code.LIB.*; import Code.org.cove.ape.*; import Code.OPTIONS.*; public class _mv482 extends _pe427 { private var _group:_fl63; private var id:int; public function _mv482(_arg1:Object){ var _local2:_bd509; var _local3:_pg495; var _local4:_gk241; super((_arg1.x + (_arg1.width / 2)), (_arg1.y + (_arg1.height / 2)), _arg1.width, _arg1.height, (_arg1.rotation) ? ((_arg1.rotation * Math.PI) / 180) : 0, true, 2, 0, 0.01); id = _arg1._ft177; _local2 = new _bd509(); _local2.graphics.beginFill(_hd443.cWhite, 1); _local2.graphics.drawRect(((-(_arg1.width) / 2) * _kj370._wr432), ((-(_arg1.height) / 2) * _kj370._wr432), (_arg1.width * _kj370._wr432), (_arg1.height * _kj370._wr432)); _local2.graphics.endFill(); _local3 = _lx317._cy60(_local2); _local4 = new _gk241(); _local4.addChild(_local3); _rd22(_local4); } public function set group(_arg1:_fl63):void{ _group = _arg1; } public function get group():_fl63{ return (_group); } public function get _ft177():int{ return (id); } public function get _im387():Boolean{ return (false); } } }//package Code.LOGIC.OBJECTS.ACTORS.RECTS
Section 31
//_na10 (Code.LOGIC.OBJECTS.ACTORS.RECTS._na10) package Code.LOGIC.OBJECTS.ACTORS.RECTS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.OPTIONS.*; public class _na10 extends _mv482 implements _ol110 { private var activePicture:_pg495; private var unactivePicture:_pg495; private var initalCollidable:Boolean; private var gJumper:_gk241; public function _na10(_arg1:Object){ gJumper = new _gk241(); activePicture = _lx317._ec37((new _hd443.GJumper() as Sprite)); unactivePicture = _lx317._ec37((new _hd443.GJumperUnactive() as Sprite)); _arg1.width = 40; _arg1.height = 18; super(_arg1); initalCollidable = _arg1._ac127; _ac127 = initalCollidable; _rd22(gJumper); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = (_nq418 - (width / 2)); _local1.params.y = (_cg291 - (height / 2)); _local1.params._ft177 = _ft177; _local1.params._ac127 = initalCollidable; return (_local1); } override public function set _ac127(_arg1:Boolean):void{ super._ac127 = _arg1; gJumper._qm114(); if (_arg1){ gJumper.addChild(activePicture); } else { gJumper.addChild(unactivePicture); }; } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TJumper"; _local1.x = (_nq418 - (width / 2)); _local1.y = (_cg291 - (height / 2)); _local1._ft177 = _ft177; _local1._ac127 = _ac127; return (_local1); } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_na10, name:"jumper", params:{_ft177:0, x:0, y:0, _ac127:true}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.RECTS
Section 32
//_nd36 (Code.LOGIC.OBJECTS.ACTORS.RECTS._nd36) package Code.LOGIC.OBJECTS.ACTORS.RECTS { import flash.geom.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; public class _nd36 extends _mv482 implements _ol110 { private var _orientation:int; private var initalPos:_qp435; private var progress:int; private var timer:int; private var startPos:Point; private var vel:Point; private var timeDelay:int; private var maxProgress:int; private var state:int; public static const ORIENTATION_UP:int = 0; public static const ORIENTATION_RIGHT:int = 3; public static const stTime:int = 0; public static const stPop:int = 1; public static const ORIENTATION_DOWN:int = 1; public static const ORIENTATION_LEFT:int = 2; public static const stPush:int = 2; public function _nd36(_arg1:Object){ super(_arg1); this._orientation = _arg1.orientation; this.timeDelay = _arg1.timeDelay; this.startPos = new Point(0, 0); this.vel = new Point(0, 0); this._qw515 = true; initalPos = new _qp435(_arg1.x, _arg1.y); State = stTime; _rd22(new _kg356(this)); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = initalPos.x; _local1.params.y = initalPos.y; _local1.params.width = width; _local1.params.height = height; _local1.params._ft177 = _ft177; _local1.params.orientation = _orientation; return (_local1); } private function _xb295():void{ this.vel.x = 0; this.vel.y = 0; switch (this.orientation){ case ORIENTATION_LEFT: this.vel.x = -1; this.maxProgress = width; break; case ORIENTATION_RIGHT: this.vel.x = 1; this.maxProgress = width; break; case ORIENTATION_UP: this.vel.y = -1; this.maxProgress = height; break; case ORIENTATION_DOWN: this.vel.y = 1; this.maxProgress = height; break; }; } override public function update(_arg1:Number):void{ super.update(_arg1); switch (state){ case stTime: if (this.timeDelay == -1){ break; }; if (this.timer++ > this.timeDelay){ State = stPop; }; break; case stPop: this.position = new _qp435((_nq418 + vel.x), (_cg291 + vel.y)); if (++progress >= maxProgress){ this.vel.x = (this.vel.x * -1); this.vel.y = (this.vel.y * -1); State = stPush; }; break; case stPush: this.position = new _qp435((_nq418 + vel.x), (_cg291 + vel.y)); if (--progress <= 0){ State = stTime; this.position = new _qp435(startPos.x, startPos.y); }; break; }; } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1._ft177 = _ft177; _local1.prClass = "TTRap"; _local1.x = initalPos.x; _local1.y = initalPos.y; _local1.width = width; _local1.height = height; _local1.orientation = orientation; _local1.timeDelay = timeDelay; return (_local1); } public function get orientation():int{ return (_orientation); } private function set State(_arg1:int):void{ state = _arg1; switch (state){ case stTime: this.timer = 0; break; case stPop: startPos.x = _nq418; startPos.y = _cg291; _xb295(); this.progress = 0; break; }; } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_nd36, name:"trap", params:{_ft177:0, timeDelay:100, width:120, height:50, orientation:[["down", _nd36.ORIENTATION_DOWN], ["left", _nd36.ORIENTATION_LEFT], ["right", _nd36.ORIENTATION_RIGHT], ["up", _nd36.ORIENTATION_UP]]}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.RECTS
Section 33
//_nm157 (Code.LOGIC.OBJECTS.ACTORS.RECTS._nm157) package Code.LOGIC.OBJECTS.ACTORS.RECTS { import Code.LOGIC.OBJECTS.GRAPHICS.*; public class _nm157 extends _rq150 { public function _nm157(_arg1:Object){ super(_arg1); } override protected function _sb101():void{ _rd22(new _uy236(this)); } override public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = _nq418; _local1.params.y = _cg291; _local1.params.width = width; _local1.params.height = height; _local1.params._ft177 = _ft177; return (_local1); } override public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TBigWater"; _local1.x = _nq418; _local1.y = _cg291; _local1.width = width; _local1.height = height; _local1._ft177 = _ft177; return (_local1); } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_nm157, name:"bigwater", params:{_ft177:0, x:0, y:0, width:300, height:280}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.RECTS
Section 34
//_rh465 (Code.LOGIC.OBJECTS.ACTORS.RECTS._rh465) package Code.LOGIC.OBJECTS.ACTORS.RECTS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.OPTIONS.*; public class _rh465 extends _mv482 implements _mk113 { private var _active:Boolean;// = true private var _action:String; public function _rh465(_arg1:Object){ var _local2:_gk241; _active = true; _arg1.width = 40; _arg1.height = 18; super(_arg1); _action = _arg1.action; _local2 = new _gk241(); _local2.addChild(_lx317._ec37((new _hd443.GActiveButton() as Sprite))); _rd22(_local2); } public function get active():Boolean{ return ((_active == true)); } public function get action():String{ return (_action.substr(0, _action.length)); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = (_nq418 - (width / 2)); _local1.params.y = (_cg291 - (height / 2)); _local1.params._ft177 = _ft177; _local1.params.action = _action; return (_local1); } public function _rm160(_arg1:String):void{ switch (_arg1){ case "disable": _active = false; break; }; } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TActiveButton"; _local1.x = (_nq418 - (width / 2)); _local1.y = (_cg291 - (height / 2)); _local1._ft177 = _ft177; _local1.action = _action; return (_local1); } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_rh465, name:"active but", params:{_ft177:0, x:0, y:0, action:""}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.RECTS
Section 35
//_rq150 (Code.LOGIC.OBJECTS.ACTORS.RECTS._rq150) package Code.LOGIC.OBJECTS.ACTORS.RECTS { import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; import Code.LOGIC.OBJECTS.ACTORS.BLOB.*; import Code.LOGIC.*; public class _rq150 extends _sd223 implements _ol110 { private var id:int; private var _group:_fl63; public function _rq150(_arg1:Object){ super(_arg1.x, _arg1.y, _arg1.width, _arg1.height); id = _arg1._ft177; _sb101(); this.onAreaFunc = _gu334; } private function _gu334(_arg1:_hu372, _arg2:_sd223):void{ var _local3:_qp435; var _local4:_qp435; if ((_arg1 is _pp193)){ _ss499(_arg1)._rm181(this); _pp193(_arg1).inSect = true; }; if ((_arg1 is _ss499)){ _ss499(_arg1)._rm181(this); }; if ((((_arg1 is _hu372)) && (!(_hu372(_arg1).fixed)))){ _local3 = new _qp435(0, -(_bk397.G)); _hu372(_arg1)._pc366(_local3); _local4 = new _qp435((-(_hu372(_arg1)._bm153.x) / 3), (-(_hu372(_arg1)._bm153.y) / 3)); _hu372(_arg1)._xy437(_local4); }; } protected function _sb101():void{ _rd22(new _hi293(this)); } public function get _ft177():int{ return (id); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = _nq418; _local1.params.y = _cg291; _local1.params.width = width; _local1.params.height = height; _local1.params._ft177 = _ft177; return (_local1); } public function get group():_fl63{ return (_group); } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TWaterBunker"; _local1.x = _nq418; _local1.y = _cg291; _local1.width = width; _local1.height = height; _local1._ft177 = _ft177; return (_local1); } public function get _im387():Boolean{ return (false); } public function set group(_arg1:_fl63):void{ _group = _arg1; } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_rq150, name:"waterbunker", params:{_ft177:0, x:0, y:0, width:300, height:280}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.RECTS
Section 36
//_tq12 (Code.LOGIC.OBJECTS.ACTORS.RECTS._tq12) package Code.LOGIC.OBJECTS.ACTORS.RECTS { import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; import Code.LOGIC.*; public class _tq12 extends _mv482 implements _mk113 { private var movingDist:int; private var initalActive:Boolean; private var _active:Boolean;// = true private var initalCoords:_qp435; private var _action:String; private var _boundable:Boolean; private var moveObj:Object; private var rotation:int; private var vel:_qp435; private var state:int; private var _gj521:int; public static const stMove:int = 1; public static const stFixed:int = 0; public static const stFree:int = 2; public function _tq12(_arg1:Object){ _active = true; vel = new _qp435(); super(_arg1); _qw515 = true; _boundable = Boolean(_arg1._eh293); if (_arg1.rotation != 0){ _boundable = false; }; if (_arg1.State == stMove){ moveObj = new Object(); moveObj.dx = _arg1.dx; moveObj.dy = _arg1.dy; moveObj.dist = _arg1.dist; Move(_arg1.dx, _arg1.dy, _arg1.dist); this._rd22(new _cl43(_arg1.width, _arg1.height)); } else { this.rotation = _arg1.rotation; this._rd22(new _bm371(this)); }; initalCoords = new _qp435(_arg1.x, _arg1.y); _active = _arg1.active; initalActive = (_active == true); _action = _arg1.action; State = _arg1.State; } public function Move(_arg1:Number, _arg2:Number, _arg3:int):void{ vel.x = _arg1; vel.y = _arg2; movingDist = _arg3; State = stMove; } public function get active():Boolean{ return ((_active == true)); } public function get action():String{ return (_action.substr(0, _action.length)); } public function get _eh293():Boolean{ return ((_boundable == true)); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params._ft177 = _ft177; _local1.params.x = initalCoords.x; _local1.params.y = initalCoords.y; _local1.params.width = width; _local1.params.height = height; _local1.params.rotation = this.rotation; _local1.params._eh293 = _boundable; _local1.params.active = initalActive; _local1.params.action = action; _local1.State = state; return (_local1); } override public function update(_arg1:Number):void{ var _local2:_qp435; super.update(_arg1); switch (state){ case stMove: _local2 = new _qp435(0, -(_bk397.G)); _pc366(_local2); position = new _qp435((_nq418 + vel.x), (_cg291 + vel.y)); if (++_gj521 >= movingDist){ vel.x = (vel.x * -1); vel.y = (vel.y * -1); State = stMove; }; break; }; } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TWall"; _local1._ft177 = _ft177; _local1.x = initalCoords.x; _local1.y = initalCoords.y; _local1.width = width; _local1.height = height; _local1.State = state; _local1.rotation = this.rotation; _local1.action = action; _local1.active = initalActive; _local1._eh293 = _boundable; if (state == stMove){ _local1.dx = moveObj.dx; _local1.dy = moveObj.dy; _local1.dist = moveObj.dist; }; return (_local1); } public function set State(_arg1:int):void{ state = _arg1; switch (state){ case stMove: _gj521 = 0; break; case stFree: fixed = false; break; }; } public function _rm160(_arg1:String):void{ switch (_arg1){ case "disable": _active = false; break; }; } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_tq12, name:"wall", params:{_ft177:0, x:0, y:0, action:"", active:false, width:50, height:50, rotation:0, _eh293:1, states:[["fixed", _tq12.stFixed], ["free", _tq12.stFree], ["move", _tq12.stMove, [["dx", 0], ["dy", 0], ["dist", 0]]]]}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS.RECTS
Section 37
//_be514 (Code.LOGIC.OBJECTS.ACTORS._be514) package Code.LOGIC.OBJECTS.ACTORS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.OPTIONS.*; public class _be514 extends _gf153 implements _ol110 { private var _group:_fl63; private var direction:int;// = -1 private var _wup:_pe427; private var id:int; private var rotParticles:Array; private var ctr:_qp435; private var _gj521:int;// = 0 private var cpA:_lc470; private var cpC:_lc470; public function _be514(_arg1:Object){ var _local2:int; var _local3:int; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:_lc470; var _local8:_lc470; var _local9:_aq99; var _local10:_pe427; var _local11:_aq99; var _local12:Sprite; var _local13:_gk241; var _local14:Sprite; var _local15:_gk241; var _local16:_gk241; var _local17:Sprite; var _local18:Number; _gj521 = 0; direction = -1; super(); id = _arg1._ft177; rotParticles = []; ctr = new _qp435(_arg1.x, _arg1.y); this.x = _arg1.x; this.y = _arg1.y; _local2 = _hd443.cAqua; _local3 = _hd443.cGreen; _local4 = 135; _local5 = 18; _local6 = 4; cpA = new _lc470((ctr.x - (_local4 / 2)), (ctr.y - (_local5 / 2)), _local6, true); _local7 = new _lc470((ctr.x + (_local4 / 2)), (ctr.y - (_local5 / 2)), _local6, true); cpC = new _lc470((ctr.x + (_local4 / 2)), (ctr.y + (_local5 / 2)), _local6, true); _local8 = new _lc470((ctr.x - (_local4 / 2)), (ctr.y + (_local5 / 2)), _local6, true); cpA.setStyle(0, 0, 0, _local2); _local7.setStyle(0, 0, 0, _local2); cpC.setStyle(0, 0, 0, _local2); _local8.setStyle(0, 0, 0, _local2); cpA._qw515 = true; _local7._qw515 = true; cpC._qw515 = true; _local8._qw515 = true; _local9 = new _aq99(cpA, _local7, 0.5, true, (_local6 * 2)); _local9.setStyle(0, 0, 0, _local2); _local9._qw515 = true; _fc80(cpA); _fc80(_local7); _fc80(cpC); _fc80(_local8); _ku178(_local9); rotParticles = [cpA, _local7, cpC, _local8]; _local10 = new _pe427(_arg1.x, (_arg1.y + 90), 17, 17, 0, false, 2); _local10.setStyle(1, _local2, 1, _local3); _fc80(_local10); _local10.owner = this; _wup = _local10; _local11 = new _aq99(_local8, _local10, 1, true); _local11.setStyle(2, 0); _ku178(_local11); _local12 = (new _hd443.GWup() as Sprite); (new _hd443.GWup() as Sprite).scaleX = (_local12.scaleY = _kj370._wr432); _local13 = new _gk241(); _local13.addChild(_lx317._cy60(_local12)); _local10._rd22(_local13); _local14 = (new _hd443.GRuchka() as Sprite); (new _hd443.GRuchka() as Sprite).scaleX = (_local14.scaleY = _kj370._wr432); _local15 = new _gk241(); _local15.addChild(_local14); _local11._rd22(_local15); _local16 = new _gk241(); _local17 = (new _hd443.GOsnova() as Sprite); (new _hd443.GOsnova() as Sprite).scaleX = (_local17.scaleY = _kj370._wr432); _local16.addChild(_local17); _local9._rd22(_local16); _local18 = ((25 * Math.PI) / 180); _oa157(_local18); } private function _oa157(_arg1:Number):void{ var _local2:_hu372; var _local3:Array; var _local4:int; var _local5:int; var _local6:Number; var _local7:Number; _local3 = rotParticles; _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local2 = _local3[_local5]; _local6 = _local2.center.distance(ctr); _local7 = (_ut198(ctr, _local2.center) + _arg1); _local2._nq418 = ((Math.cos(_local7) * _local6) + ctr.x); _local2._cg291 = ((Math.sin(_local7) * _local6) + ctr.y); _local5++; }; } public function set group(_arg1:_fl63):void{ _group = _arg1; } public function get group():_fl63{ return (_group); } public function get _ul326():_pe427{ return (_wup); } public function get _ft177():int{ return (id); } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TRotator"; _local1.x = _nq418; _local1.y = _cg291; _local1._ft177 = _ft177; return (_local1); } public function get _im387():Boolean{ return (false); } public function rotate():void{ var _local1:Number; if (_gj521++ > 110){ direction = (direction * -1); _gj521 = 0; }; _local1 = (((2 * Math.PI) / 180) * direction); _oa157(_local1); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = _nq418; _local1.params.y = _cg291; _local1.params._ft177 = _ft177; return (_local1); } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_be514, name:"rotator", params:{_ft177:0, x:0, y:0}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS
Section 38
//_iq290 (Code.LOGIC.OBJECTS.ACTORS._iq290) package Code.LOGIC.OBJECTS.ACTORS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.OPTIONS.*; public class _iq290 extends _lc470 implements _ol110 { private var _type:int;// = -1 private var id:int; private var _group:_fl63; public var _eu273:Boolean;// = false public static const TYPE_HEART:int = 0; public static const TYPE_KEY:int = 1; public function _iq290(_arg1:Object){ var _local2:Class; var _local3:Sprite; var _local4:_pg495; var _local5:_gk241; _type = -1; _eu273 = false; super(_arg1.x, _arg1.y, 22, true); _type = _arg1.type; id = _arg1._ft177; _local2 = ((_type)==TYPE_HEART) ? _hd443.GHeart : _hd443.GKey; _local3 = (new (_local2) as Sprite); _local4 = _lx317._ec37(_local3); _local5 = new _gk241(); _local5.addChild(_local4); _rd22(_local5); _local5.owner = this; } public function get type():int{ return (_type); } public function get _ft177():int{ return (id); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = _nq418; _local1.params.y = _cg291; _local1.params.type = type; _local1.params._ft177 = _ft177; return (_local1); } public function get group():_fl63{ return (_group); } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TBonus"; _local1.x = _nq418; _local1.y = _cg291; _local1.type = type; _local1._ft177 = _ft177; return (_local1); } public function get _im387():Boolean{ return ((_eu273 == true)); } public function set group(_arg1:_fl63):void{ _group = _arg1; } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_iq290, name:"bonus", params:{_ft177:0, type:[["key", TYPE_KEY], ["heart", TYPE_HEART]]}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS
Section 39
//_iv70 (Code.LOGIC.OBJECTS.ACTORS._iv70) package Code.LOGIC.OBJECTS.ACTORS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.OPTIONS.*; public class _iv70 extends _gf153 implements _ol110 { private var _group:_fl63; private var blocks:Array; private var id:int; private var numBlocks:int; private var blockWidth:int; private var _gj521:int; public function _iv70(_arg1:Object){ var _local2:Number; var _local3:int; var _local4:Array; var _local5:Object; var _local6:_lc470; var _local7:_aq99; var _local8:_gk241; var _local9:Sprite; blocks = new Array(); super(); id = _arg1._ft177; this.x = (_arg1.x - ((_arg1.numBlocks * _arg1.blockWidth) / 2)); this.y = _arg1.y; this.numBlocks = _arg1.numBlocks; this.blockWidth = _arg1.blockWidth; this._gj521 = _arg1._gj521; _local2 = (this.x - ((_arg1.numBlocks * _arg1.blockWidth) / 2)); _local3 = 0; while (_local3 < (numBlocks + 2)) { _local5 = {x:(x + ((_local3 * blockWidth) + 15)), y:(this.y + (_arg1._gj521 * _local3))}; _local6 = new _lc470(_local5.x, _local5.y, 3); if (!(((_local3 == 0)) || ((_local3 == (numBlocks + 1))))){ _local6.fixed = false; _local6._ac127 = false; } else { _local6.fixed = true; _local6._ac127 = true; }; _local6.visible = false; _local6.owner = this; blocks.push(_local6); _fc80(_local6); _local3++; }; _local4 = new Array(); _local3 = 0; while (_local3 < (numBlocks + 1)) { _local7 = new _aq99(blocks[_local3], blocks[(_local3 + 1)], 0.9, true, 7, 1); if ((((_local3 == 0)) || ((_local3 == (numBlocks + 1))))){ _local7._ia487 = 0.25; }; _ku178(_local7); _local8 = new _gk241(); _local9 = (new _hd443.GBridgeBlock() as Sprite); _local9.mouseEnabled = false; _local9.scaleX = (_local9.scaleY = (_kj370._wr432 * (blockWidth / 25))); _local8.addChild(_local9); _local7._rd22(_local8); _local7.owner = this; _local7._nw443.owner = this; _local7._qw515 = false; _local3++; }; this.x = _arg1.x; } public function get group():_fl63{ return (_group); } public function get _ft177():int{ return (id); } override public function update():void{ var _local1:_hu372; _local1 = blocks[int(((Math.random() * blocks.length) - 1))]; _local1._xy437(new _qp435(0, -3.3)); } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TBridge"; _local1._ft177 = _ft177; _local1.x = _nq418; _local1.y = _cg291; _local1.numBlocks = numBlocks; _local1.blockWidth = blockWidth; _local1._gj521 = _gj521; return (_local1); } public function get _im387():Boolean{ return (false); } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = _nq418; _local1.params.y = _cg291; _local1.params.numBlocks = numBlocks; _local1.params.blockWidth = blockWidth; _local1.params._gj521 = _gj521; _local1.params._ft177 = _ft177; return (_local1); } public function set group(_arg1:_fl63):void{ _group = _arg1; } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_iv70, name:"bridge", params:{_ft177:0, x:0, y:0, numBlocks:7, blockWidth:50, _gj521:0}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS
Section 40
//_jq234 (Code.LOGIC.OBJECTS.ACTORS._jq234) package Code.LOGIC.OBJECTS.ACTORS { import flash.geom.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; import Code.LOGIC.OBJECTS.ACTORS.BLOB.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.LOGIC.*; public class _jq234 extends _ss499 implements _ol110 { private var picture:_mi444; private var water:_rq150; private var direction:int; private var _gj521:int; private var force:_qp435; private var distance:int; public static const stGuard:int = 102; public static const stPatrol:int = 101; public function _jq234(_arg1:Object){ _arg1.radius = 25; super(_arg1); this.force = new _qp435(); this.picture = new _mi444(); this.picture.right(); this._rd22(picture); this._uq302 = _ao358; if (_arg1.State == stGuard){ distance = _arg1.distance; }; State = _arg1.State; initalState = state; } public function _ao358(_arg1:_hu372, _arg2:_hu372):void{ if ((((_arg2 is _pe427)) && (!((_arg2 is _sd223))))){ direction = (direction * -1); }; } override public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params._ft177 = _ft177; _local1.params.x = initalCoords.x; _local1.params.y = initalCoords.y; _local1.params.State = initalState; if (state == stGuard){ _local1.params.distance = distance; }; return (_local1); } override public function update(_arg1:Number):void{ var _local2:Point; var _local3:_qp435; super.update(_arg1); switch (state){ case stGuard: force.x = (direction * 2); _xy437(force); if (Math.abs(_bm153.x) > 4){ _local3 = new _qp435(((_bm153.x)>0) ? 4 : -4, _bm153.y); _bm153 = _local3; }; if (++_gj521 >= distance){ direction = (direction * -1); _gj521 = 0; }; if ((((_bm153.x > 1)) && ((picture.orientation == _mi444.LEFT)))){ picture.right(); } else { if ((((_bm153.x < 1)) && ((picture.orientation == _mi444.RIGHT)))){ picture.left(); }; }; break; case stPatrol: if (!water){ return; }; _local2 = new Point((_bk397.BLOB._nq418 - _nq418), (_bk397.BLOB._cg291 - _cg291)); if (_local2.length > 400){ break; }; _local2.normalize(2.5); force.x = _local2.x; if ((((_cg291 < ((water._cg291 - (water.height / 2)) + (3 * radius)))) && ((_local2.y < 0)))){ _local2.y = 0.2; }; force.y = _local2.y; _xy437(force); if ((((_bm153.x > 1)) && ((picture.orientation == _mi444.LEFT)))){ picture.right(); } else { if ((((_bm153.x < 1)) && ((picture.orientation == _mi444.RIGHT)))){ picture.left(); }; }; break; }; water = null; } override public function _rm181(_arg1:_rq150):void{ water = _arg1; } override public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TFish"; _local1.x = initalCoords.x; _local1.y = initalCoords.y; _local1._ft177 = _ft177; _local1.State = initalState; if (state == stGuard){ _local1.distance = distance; }; return (_local1); } override public function set State(_arg1:int):void{ super.State = _arg1; switch (state){ case stGuard: direction = 1; _gj521 = 0; break; }; } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_jq234, name:"fish", params:{_ft177:0, states:[["patrol", stPatrol], ["guard", stGuard, [["distance", 150]]]]}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS
Section 41
//_sg385 (Code.LOGIC.OBJECTS.ACTORS._sg385) package Code.LOGIC.OBJECTS.ACTORS { import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; public class _sg385 extends _lc470 implements _ol110 { private var _group:_fl63; private var id:int; public function _sg385(_arg1:Object){ super(_arg1.x, _arg1.y, 10); _ac127 = false; fixed = true; id = _arg1.id; } public function _og249():Object{ var _local1:Object; _local1 = _qg316(); _local1.params.x = _nq418; _local1.params.y = _cg291; _local1.params._ft177 = _ft177; return (_local1); } public function set group(_arg1:_fl63):void{ _group = _arg1; } public function get group():_fl63{ return (_group); } public function get _ft177():int{ return (id); } public function _bo404():Object{ var _local1:Object; _local1 = new Object(); _local1.prClass = "TCheckPoint"; _local1.x = _nq418; _local1.y = _cg291; _local1._ft177 = _ft177; return (_local1); } public function get _im387():Boolean{ return (false); } public static function _qg316():Object{ var _local1:Object; _local1 = {toolClass:_sg385, name:"checkpoint", params:{_ft177:0}}; return (_local1); } } }//package Code.LOGIC.OBJECTS.ACTORS
Section 42
//_bm371 (Code.LOGIC.OBJECTS.GRAPHICS._bm371) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.OPTIONS.*; public class _bm371 extends _gk241 { public function _bm371(_arg1:_tq12){ var _local2:_pg495; var _local3:_pg495; var _local4:_bd509; var _local5:int; var _local6:Sprite; var _local7:Sprite; var _local8:int; var _local9:_bd509; var _local10:_pg495; var _local11:Sprite; super(); _local2 = _lx317._ec37((new _hd443.GWall() as Sprite)); _local3 = _lx317._ec37((new _hd443.GWallB() as Sprite)); _local4 = new _bd509(); _local5 = 0; while (_local5 < int((_arg1.height / 50))) { _local8 = 0; while (_local8 < int((_arg1.width / 50))) { _local9 = new _bd509(); _local9._uc285 = (_local8 * 50); _local9._kc408 = (_local5 * 50); if (_arg1.angle == 0){ _local10 = ((_local5)==0) ? _local3._dx77() : _local2._dx77(); _local9.addChild(_local10); } else { _local11 = ((_local5)==0) ? new _hd443.GWallB() : new _hd443.GWall(); ((_local5)==0) ? new _hd443.GWallB() : new _hd443.GWall().scaleX = (_local11.scaleY = _kj370._wr432); _local9.addChild(_local11); }; _local4.addChild(_local9); _local8++; }; _local5++; }; _local6 = new Sprite(); _local6.graphics.beginFill(0xBC5E00); _local6.graphics.drawRect(0, 0, (_arg1.width * _kj370._wr432), (_arg1.height * _kj370._wr432)); _local6.graphics.endFill(); _local4.addChildAt(_local6, 0); _local4._uc285 = (-(_arg1.width) / 2); _local4._kc408 = (-(_arg1.height) / 2); _local7 = new Sprite(); _local7.addChild(_local4); _local7.rotation = _arg1.angle; addChild(_lx317._cy60(_local7)); } override public function set rotation(_arg1:Number):void{ } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 43
//_cd470 (Code.LOGIC.OBJECTS.GRAPHICS._cd470) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.BLOB.*; import Code.OPTIONS.*; public class _cd470 extends _gk241 { private var pictureInd:int; private var picture:_pg495; private var pictures:Array; private var timer:int; private var direction:int;// = 1 private var blob:_la261; public function _cd470(_arg1:_la261){ var _local2:Sprite; direction = 1; super(); this.blob = _arg1; this.picture = new _pg495(); this.pictures = new Array(); _local2 = (new _hd443.GAlienBlob1() as Sprite); _local2.scaleX = (_local2.scaleY = (_arg1.radius / 30)); pictures.push(_lx317._ec37(_local2)); _local2 = (new _hd443.GAlienBlob2() as Sprite); _local2.scaleX = (_local2.scaleY = (_arg1.radius / 30)); pictures.push(_lx317._ec37(_local2)); _local2 = (new _hd443.GAlienBlob3() as Sprite); _local2.scaleX = (_local2.scaleY = (_arg1.radius / 30)); pictures.push(_lx317._ec37(_local2)); _local2 = (new _hd443.GAlienBlob4() as Sprite); _local2.scaleX = (_local2.scaleY = (_arg1.radius / 30)); pictures.push(_lx317._ec37(_local2)); _local2 = (new _hd443.GAlienBlob5() as Sprite); _local2.scaleX = (_local2.scaleY = (_arg1.radius / 30)); pictures.push(_lx317._ec37(_local2)); addChild(this.picture); this.pictureInd = 0; _pg495(pictures[pictureInd])._dn291(picture); this.timer = 0; } override public function onEnterFrame():void{ super.onEnterFrame(); if (++timer > 2){ pictureInd = (pictureInd + direction); _pg495(pictures[pictureInd])._dn291(picture); timer = 0; if ((((pictureInd >= (pictures.length - 1))) || ((pictureInd <= 0)))){ direction = (direction * -1); }; }; if ((((((blob._bm153.x > 0.1)) && ((scaleX > 0)))) || ((((blob._bm153.x < -0.1)) && ((scaleX < 0)))))){ scaleX = (scaleX * -1); }; } override public function set rotation(_arg1:Number):void{ } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 44
//_cl43 (Code.LOGIC.OBJECTS.GRAPHICS._cl43) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.OPTIONS.*; public class _cl43 extends _gk241 { public function _cl43(_arg1:int, _arg2:int){ var _local3:Sprite; super(); _local3 = (new _hd443.GPlatform() as Sprite); _local3.scaleX = (_kj370._wr432 * (_arg1 / 100)); _local3.scaleY = _kj370._wr432; addChild(_lx317._cy60(_local3)); } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 45
//_hi293 (Code.LOGIC.OBJECTS.GRAPHICS._hi293) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.OPTIONS.*; public class _hi293 extends _gk241 { protected var water:_rq150; protected var mount:DisplayObject; private var bubbleTimer:int; protected var _mask:_gk241; public function _hi293(_arg1:_rq150){ this.water = _arg1; _sb101(); bubbleTimer = 0; } protected function _sb101():void{ var _local1:Sprite; var _local2:Sprite; _local1 = (new _hd443.GWater() as Sprite); _local1.scaleX = (water.width / 300); _local1.scaleY = (water.height / 300); mount = _lx317._ec37(_local1); addChild(mount); _local2 = new Sprite(); _local2.graphics.beginFill(_hd443.cAqua, 0.29); _local2.graphics.drawRect(0, 0, water.width, water.height); _local2.graphics.endFill(); _mask = new _gk241(); _mask.addChild(_lx317._ec37(_local2)); _mask.owner = water; } public function get _he281():DisplayObject{ return (_mask); } override public function onEnterFrame():void{ var _local1:int; var _local2:DisplayObject; var _local3:_xt384; _local1 = 0; for (;_local1 < numChildren;_local1++) { _local2 = getChildAt(_local1); if ((_local2 is _xt384)){ _xt384(_local2).onEnterFrame(); if (!_local2.parent){ _local1--; continue; }; }; }; if ((((++bubbleTimer > 100)) && ((numChildren < 20)))){ _local3 = new _xt384((-(water.height) / 2), (-2 + (Math.random() * 1))); _local3._dx37(((-(water.width) / 2) + (Math.random() * water.width)), ((water.height / 2) + 5)); addChild(_local3); bubbleTimer = 0; }; } override public function set _uc285(_arg1:Number):void{ super._uc285 = _arg1; if (_mask){ _mask._uc285 = (_arg1 - (water.width / 2)); }; } override public function set _kc408(_arg1:Number):void{ super._kc408 = _arg1; if (_mask){ _mask._kc408 = (_arg1 - (water.height / 2)); }; } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 46
//_kg356 (Code.LOGIC.OBJECTS.GRAPHICS._kg356) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import flash.geom.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.OPTIONS.*; public class _kg356 extends _gk241 { public function _kg356(_arg1:_nd36){ var _local2:Matrix; var _local3:Sprite; var _local4:Sprite; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:_pg495; super(); _local2 = new Matrix(); _local3 = new Sprite(); switch (_arg1.orientation){ case _nd36.ORIENTATION_UP: break; case _nd36.ORIENTATION_RIGHT: _local2.rotate(((90 * Math.PI) / 180)); _local3.rotation = 90; break; case _nd36.ORIENTATION_DOWN: _local2.rotate(((180 * Math.PI) / 180)); _local3.rotation = 180; break; case _nd36.ORIENTATION_LEFT: _local2.rotate(((270 * Math.PI) / 180)); _local3.rotation = 270; break; }; _local4 = (new _hd443.GTrap() as Sprite); _local5 = ((((_arg1.orientation == _nd36.ORIENTATION_UP)) || ((_arg1.orientation == _nd36.ORIENTATION_DOWN)))) ? _arg1.width : _arg1.height; _local6 = ((((_arg1.orientation == _nd36.ORIENTATION_UP)) || ((_arg1.orientation == _nd36.ORIENTATION_DOWN)))) ? _arg1.height : _arg1.width; _local7 = (_local5 / 100); _local8 = (_local6 / 26); _local4.scaleX = _local7; _local4.scaleY = _local8; _local3.addChild(_local4); _local9 = _lx317._ec37(_local3); addChild(_local9); } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 47
//_mi444 (Code.LOGIC.OBJECTS.GRAPHICS._mi444) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.OPTIONS.*; public class _mi444 extends _gk241 { private var _orientation:int; private var bitmap:_pg495; private var fishL:_pg495; private var fishR:_pg495; public static const RIGHT:int = 2; public static const LEFT:int = 1; public function _mi444(){ var _local1:Sprite; var _local2:Sprite; super(); _local2 = (new _hd443.GFish() as Sprite); _local1 = (new _hd443.GFish() as Sprite); _local1.scaleX = (_local1.scaleY = _kj370._wr432); _local2.scaleX = (_local2.scaleY = _kj370._wr432); _local2.scaleX = (_local2.scaleX * -1); this.fishR = _lx317._cy60(_local2); this.fishL = _lx317._cy60(_local1); this.bitmap = new _pg495(); this.addChild(bitmap); } public function left():void{ _orientation = LEFT; fishL._dn291(bitmap); } public function right():void{ _orientation = RIGHT; fishR._dn291(bitmap); } public function _kv317():void{ } public function get orientation():int{ return (_orientation); } override public function set rotation(_arg1:Number):void{ } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 48
//_mx226 (Code.LOGIC.OBJECTS.GRAPHICS._mx226) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import flash.geom.*; import Code.LIB.*; public class _mx226 extends _bd509 { private var bitmaps:Array; private var bitmap:_pg495; private var state:int; private var index:int; public static const stInvisible:int = 1; public static const stForward:int = 0; public function _mx226(_arg1:Array){ this.bitmaps = _arg1; this.bitmap = new _pg495(); this.addChild(bitmap); } public function onEnterFrame():void{ var _local1:_pg495; switch (state){ case stForward: if (++this.index >= this.bitmaps.length){ State = stInvisible; break; }; _local1 = this.bitmaps[index]; _local1._dn291(this.bitmap); break; }; } public function get _eu273():Boolean{ return ((state == stInvisible)); } private function set State(_arg1:int):void{ state = _arg1; switch (state){ case stForward: break; case stInvisible: parent.removeChild(this); break; }; } public static function _gn152(_arg1:Sprite, _arg2:int):Array{ var _local3:int; var _local4:Number; var _local5:Number; var _local6:Sprite; var _local7:Array; var _local8:Class; var _local9:int; var _local10:Array; var _local11:Number; var _local12:Sprite; var _local13:Point; var _local14:int; var _local15:DisplayObject; _local3 = _arg2; _local4 = (1 / 2); _local5 = 0.1; _local6 = new Sprite(); _local7 = new Array(); _local8 = Object(_arg1).constructor; _local9 = 0; while (_local9 < 7) { _local12 = (new (_local8) as Sprite); _local6.addChild(_local12); _local13 = new Point(-1, -1); _local13 = _jy395._ci134(_local13, (_local9 * 20)); _local13.normalize(10); _local7.push([_local12, _local13]); _local9++; }; _local10 = new Array(); _local11 = _local4; _local9 = 0; while (_local9 < _local3) { _local14 = 0; while (_local14 < _local7.length) { _local15 = _local7[_local14][0]; _local7[_local14][0].scaleX = (_local15.scaleY = _local11); _local13 = _local7[_local14][1]; _local15.x = (_local15.x + _local13.x); _local15.y = (_local15.y + _local13.y); _local13.y = (_local13.y + 0.7); _local14++; }; _local11 = (_local11 - ((_local4 - _local5) / _local3)); _local10.push(_lx317._ec37(_local6)); _local9++; }; return (_local10); } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 49
//_sf401 (Code.LOGIC.OBJECTS.GRAPHICS._sf401) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.BLOB.*; import Code.OPTIONS.*; public class _sf401 extends _gk241 { private var state:int; private var blob:_ox149; private var normalPict:Sprite; public static const stNormal:int = 0; public static const stSwim:int = 1; public function _sf401(_arg1:_ox149){ var _local2:Class; super(); blob = _arg1; _local2 = ((_arg1.color)==_ox149.GREEN) ? _hd443.GBlobGreen : _hd443.GBlobYellow; normalPict = _lx317._sa274(_local2, (_arg1.radius / 23)); normalPict.mouseEnabled = false; } override public function onEnterFrame():void{ super.onEnterFrame(); switch (state){ }; } public function set State(_arg1:int):void{ var _local2:Class; var _local3:Sprite; state = _arg1; switch (state){ case stNormal: _qm114(); addChild(normalPict); break; case stSwim: super.rotation = 0; _qm114(); _local2 = ((blob.color)==_ox149.GREEN) ? _hd443.GBlobGreenSwim : _hd443.GBlobYellowSwim; _local3 = _lx317._sa274(_local2, (blob.radius / 20)); addChild(_local3); break; }; } override public function set rotation(_arg1:Number):void{ switch (state){ case stNormal: super.rotation = _arg1; break; }; } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 50
//_tq435 (Code.LOGIC.OBJECTS.GRAPHICS._tq435) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import flash.geom.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.BLOB.*; import Code.OPTIONS.*; public class _tq435 extends _gk241 { private var mount:DisplayObject; private var swimIndex:int; private var eyes:DisplayObject; private var smallBlobsC:_bd509; private var smallBlobsP:_pg495; private var state:int; private var blob:_pp193; private var _radius:int; private var _rm181:Array; public static const stNormal:int = 0; public static const stSwim:int = 1; public function _tq435(_arg1:_pp193){ var _local2:DisplayObject; super(); _radius = _arg1.radius; blob = _arg1; mount = (new _hd443.GPlayerBlobNormal() as Sprite); mount.scaleX = (mount.scaleY = (_kj370._wr432 * (_radius / 25))); eyes = (new _hd443.GPlayerEyes() as Sprite); eyes.scaleX = (eyes.scaleY = (_kj370._wr432 * (_radius / 25))); this._rm181 = new Array(0, 0, 0); _local2 = (new _hd443.TPS1() as Sprite); _local2.scaleX = (_local2.scaleY = (_kj370._wr432 * (_radius / 25))); _rm181[2] = _local2; _local2 = (new _hd443.TPS2() as Sprite); _local2.scaleX = (_local2.scaleY = (_kj370._wr432 * (_radius / 25))); _rm181[0] = _local2; _local2 = (new _hd443.TPS3() as Sprite); _local2.scaleX = (_local2.scaleY = (_kj370._wr432 * (_radius / 25))); _rm181[1] = _local2; this.smallBlobsC = new _bd509(); this.smallBlobsP = new _pg495(); State = stNormal; } public function _mo399(_arg1:_pg495):void{ var _local2:Point; var _local3:_pg495; var _local4:int; var _local5:int; _local2 = new Point(-1, 1); if (smallBlobsC.numChildren <= 5){ _local4 = (smallBlobsC.numChildren / 4); _local5 = (smallBlobsC.numChildren - (4 * _local4)); _local2 = _jy395._ci134(_local2, (45 * _local5)); _local2.normalize(((blob.radius * 0.4) + ((blob.radius * 0.2) * _local4))); _arg1._uc285 = _local2.x; _arg1._kc408 = _local2.y; } else { _arg1._uc285 = ((-(Math.random()) * blob.radius) + 5); _arg1._kc408 = ((-(Math.random()) * blob.radius) + (Math.random() * blob.radius)); }; smallBlobsC.addChild(_arg1); _local3 = _lx317._cy60(smallBlobsC); _local3._dn291(smallBlobsP); } override public function onEnterFrame():void{ var _local1:_qp435; var _local2:int; var _local3:Number; switch (state){ case stNormal: if ((((((blob._bm153.x > 1)) && ((scaleX < 0)))) || ((((blob._bm153.x < -1)) && ((scaleX > 0)))))){ scaleX = (scaleX * -1); }; if (blob.inSect){ State = stSwim; }; break; case stSwim: swimIndex++; switch (swimIndex){ case 1: _rm181[0].visible = true; _rm181[1].visible = false; _rm181[2].visible = false; break; case 3: _rm181[0].visible = false; _rm181[1].visible = true; _rm181[2].visible = false; break; case 6: _rm181[0].visible = false; _rm181[1].visible = false; _rm181[2].visible = true; break; case 9: _rm181[0].visible = false; _rm181[1].visible = true; _rm181[2].visible = false; break; case 12: swimIndex = 0; break; }; if (!blob.inSect){ State = stNormal; }; _local1 = blob._bm153; _local2 = -99999; if ((((Math.abs(_local1.x) > 0.1)) || ((Math.abs(_local1.y) > 0.1)))){ _local3 = (Math.atan((_local1.y / _local1.x)) * (180 / Math.PI)); _local2 = ((super.rotation)<_local3) ? 1 : -1; super.rotation = (super.rotation + _local2); }; if ((((((blob._bm153.x > 1)) && ((scaleX < 0)))) || ((((blob._bm153.x < -1)) && ((scaleX > 0)))))){ scaleX = (scaleX * -1); if (_local2 > -9999){ super.rotation = _local2; }; }; break; }; } public function set State(_arg1:int):void{ state = _arg1; switch (state){ case stNormal: while (this.numChildren != 0) { removeChildAt(0); }; addChild(mount); addChild(eyes); addChild(smallBlobsP); super.rotation = 0; break; case stSwim: while (this.numChildren != 0) { removeChildAt(0); }; addChild(_rm181[0]); addChild(_rm181[1]); addChild(_rm181[2]); _rm181[0].visible = false; _rm181[1].visible = false; _rm181[2].visible = false; swimIndex = 0; addChild(smallBlobsP); break; }; } override public function set rotation(_arg1:Number):void{ mount.rotation = _arg1; } public static function _oj515(_arg1:Number):Sprite{ var _local2:Sprite; var _local3:Sprite; var _local4:Sprite; _local2 = (new _hd443.GPlayerBlobNormal() as Sprite); _local2.scaleX = (_local2.scaleY = (_arg1 / 25)); _local3 = (new _hd443.GPlayerEyes() as Sprite); _local3.scaleX = (_local3.scaleY = (_arg1 / 25)); _local4 = new Sprite(); _local4.addChild(_local2); _local4.addChild(_local3); return (_local4); } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 51
//_uy236 (Code.LOGIC.OBJECTS.GRAPHICS._uy236) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.OPTIONS.*; public class _uy236 extends _hi293 { public function _uy236(_arg1:_rq150){ super(_arg1); } override protected function _sb101():void{ var _local1:Sprite; var _local2:Sprite; _local1 = (new _hd443.GWater() as Sprite); _local1.scaleX = ((water.width / 300) * _kj370._wr432); _local1.scaleY = ((water.height / 300) * _kj370._wr432); _local1.mouseEnabled = false; addChild(_local1); mount = _local1; _local2 = new Sprite(); _local2.graphics.beginFill(_hd443.cAqua, 0.29); _local2.graphics.drawRect(0, 0, (water.width * _kj370._wr432), (water.height * _kj370._wr432)); _local2.graphics.endFill(); _local2.mouseEnabled = false; _mask = new _gk241(); _mask.addChild(_local2); _mask.owner = water; } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 52
//_xt384 (Code.LOGIC.OBJECTS.GRAPHICS._xt384) package Code.LOGIC.OBJECTS.GRAPHICS { import flash.display.*; import Code.LIB.*; import Code.OPTIONS.*; public class _xt384 extends _bd509 { private var _minY:Number; private var dy:Number; public function _xt384(_arg1:Number, _arg2:Number){ var _local3:int; var _local4:Sprite; var _local5:_pg495; super(); _minY = _arg1; _local3 = (5 + (Math.random() * 5)); _local4 = _lx317._sa274(_hd443.GBubble, (_local3 / 5)); _local5 = _lx317._cy60(_local4); addChild(_local5); dy = _arg2; } public function onEnterFrame():void{ var _local1:Number; var _local2:Number; _local1 = _kc408; _local2 = (_local1 + dy); _kc408 = _local2; if (_kc408 < _minY){ parent.removeChild(this); }; } } }//package Code.LOGIC.OBJECTS.GRAPHICS
Section 53
//_cp271 (Code.LOGIC.OBJECTS.OBJECTS._cp271) package Code.LOGIC.OBJECTS.OBJECTS { import flash.events.*; import flash.display.*; import flash.geom.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; public class _cp271 extends _fh287 { public var layer1:_bd509; public var layer2:_bd509; public var layer3:_bd509; private var _mapWidth:Number; public var scrollY:Boolean; private var _camX:Number; private var _camY:Number; private var state:int; private var screenHeight:Number; private var screenWidth:Number; private var attachedObj:_bd509; private var toPoint:Point; public static const stNone:int = 0; public static const stAttached:int = 1; public static const stScrollTo:int = 2; public function _cp271(_arg1:Number, _arg2:Number, _arg3:Number){ layer1 = new _bd509(); layer2 = new _bd509(); layer3 = new _bd509(); super(); this.screenHeight = _arg2; this.screenWidth = _arg1; _mapWidth = _arg3; _camX = 0; _camY = 0; super.addChild(layer1); super.addChild(layer2); super.addChild(layer3); } override public function addChild(_arg1:DisplayObject):DisplayObject{ var _local2:_ol110; if (!(((_arg1 is _gk241)) && ((_gk241(_arg1).owner is _ol110)))){ if ((_arg1 is _fj349)){ layer1.addChild(_arg1); } else { super.addChild(_arg1); }; return (_arg1); }; _local2 = _ol110(_gk241(_arg1).owner); if ((_arg1 is _hi293)){ layer1.addChild(_arg1); layer3.addChild(_hi293(_arg1)._he281); } else { if ((((((_local2 is _na10)) || ((_local2 is _nd36)))) || ((_local2 is _kp425)))){ layer1.addChild(_arg1); } else { if ((_arg1 is _bm371)){ if (_tq12(_gk241(_arg1).owner).angle != 0){ layer1.addChild(_arg1); } else { layer2.addChild(_arg1); }; } else { layer2.addChild(_arg1); }; }; }; trace(_local2); return (_arg1); } public function _ea513(_arg1:Sprite):void{ super.removeChild(_arg1); } public function _ej298(_arg1:Number, _arg2:Number):void{ toPoint = new Point(_ts445(_arg1), _arg2); state = stScrollTo; } public function get _mc207():Number{ return (_camX); } public function get State():int{ return (state); } public function _bx421(_arg1:Number, _arg2:Number):void{ _mc207 = _arg1; _yt47 = _arg2; } public function _tr319(_arg1:Sprite):void{ super.addChildAt(_arg1, numChildren); } public function set _yt47(_arg1:Number):void{ _camY = _arg1; if (!scrollY){ if (_camY <= 60){ _kc408 = (-(_camY) + 60); } else { if (int(_kc408) != 0){ _kc408 = 0; }; }; return; }; if ((((_camY >= 180)) && ((int(_kc408) > 0)))){ _kc408 = (_kc408 - 4); }; if ((((_camY <= 60)) && ((int(_kc408) < 280)))){ _kc408 = (_kc408 + 4); }; } override public function onEnterFrame(_arg1:Event):void{ var _local2:Number; var _local3:Number; var _local4:Point; var _local5:Number; switch (state){ case stScrollTo: _local2 = (toPoint.x - _camX); _local3 = (toPoint.y - _camY); _local4 = new Point(_local2, _local3); if (_local4.length < 5){ state = stNone; _bx421(toPoint.x, toPoint.y); break; }; _local5 = (_local4.length / 5); if (_local5 < 2){ _local5 = 2; } else { if (_local5 > 27){ _local5 = 27; }; }; _local4.normalize(_local5); _bx421((_camX + _local4.x), (_camY + _local4.y)); break; }; } public function get _yt47():Number{ return (_camY); } public function set _mc207(_arg1:Number):void{ var _local2:int; _camX = _ts445(_arg1); _local2 = int((-(_camX) + (screenWidth / 2))); if (int(_uc285) != _local2){ _uc285 = _local2; }; } override public function set _kc408(_arg1:Number):void{ super._kc408 = _arg1; } override public function set _uc285(_arg1:Number):void{ super._uc285 = _arg1; } private function _ts445(_arg1:Number):Number{ var _local2:Number; var _local3:Number; var _local4:Number; _local2 = (screenWidth / 2); _local3 = (_mapWidth - (screenWidth / 2)); _local4 = _arg1; if (_local4 < _local2){ _local4 = _local2; }; if (_local4 > _local3){ _local4 = _local3; }; return (_local4); } override public function removeChild(_arg1:DisplayObject):DisplayObject{ var _local2:_ol110; if (!(((_arg1 is _gk241)) && ((_gk241(_arg1).owner is _ol110)))){ super.removeChild(_arg1); return (_arg1); }; _local2 = _ol110(_gk241(_arg1).owner); if ((_arg1 is _hi293)){ layer1.removeChild(_arg1); layer3.removeChild(_hi293(_arg1)._he281); } else { if ((_arg1 is _bm371)){ if (_tq12(_gk241(_arg1).owner).angle != 0){ layer1.removeChild(_arg1); } else { layer2.removeChild(_arg1); }; } else { if ((((((_local2 is _na10)) || ((_local2 is _nd36)))) || ((_local2 is _kp425)))){ layer1.removeChild(_arg1); } else { layer2.removeChild(_arg1); }; }; }; trace(_local2); return (_arg1); } } }//package Code.LOGIC.OBJECTS.OBJECTS
Section 54
//_fj349 (Code.LOGIC.OBJECTS.OBJECTS._fj349) package Code.LOGIC.OBJECTS.OBJECTS { import flash.events.*; import flash.display.*; import Code.LIB.*; import Code.OPTIONS.*; public class _fj349 extends _fh287 { private var timer:int; private var state:int; private static const stHiding:int = 2; private static const stDelay:int = 1; private static const stInvisible:int = 3; private static const stShow:int = 0; public function _fj349(_arg1:Object){ var _local2:DisplayObject; var _local3:_pj303; super(); _local2 = _arg1.picture; _local2.scaleX = ((_arg1.width * _kj370._wr432) / _local2.width); _local2.scaleY = ((_arg1.height * _kj370._wr432) / _local2.height); addChild(_local2); _local3 = new _pj303(_arg1.textSize, _hd443.cWhite, null, false); _local3.Text = _arg1.text; _local3._uc285 = ((_arg1.width - _local3.width) / 2); _local3._kc408 = (((_arg1.height - _local3.height) / 2) * 0.5); addChild(_local3); State = stShow; } override public function _pv253(_arg1:MouseEvent):void{ this.state = stHiding; } override public function onEnterFrame(_arg1:Event):void{ super.onEnterFrame(_arg1); switch (state){ case stShow: scaleX = (scaleX + 0.08); if (scaleX >= 1){ scaleX = 1; State = stDelay; }; break; case stDelay: if (timer++ > 150){ State = stHiding; }; break; case stHiding: alpha = (alpha - 0.1); if (alpha <= 0){ State = stInvisible; }; break; }; } private function set State(_arg1:int):void{ state = _arg1; switch (state){ case stShow: scaleX = 0; break; case stDelay: timer = 0; break; case stInvisible: _or337(); parent.removeChild(this); break; }; } } }//package Code.LOGIC.OBJECTS.OBJECTS
Section 55
//_gg409 (Code.LOGIC.OBJECTS.OBJECTS._gg409) package Code.LOGIC.OBJECTS.OBJECTS { import flash.display.*; import flash.geom.*; import Code.LIB.*; public class _gg409 extends _bd509 { private var bitmap:_pg495; private var bricksEffect:Object; private var effect:int; private var state:int; public static const BRICKS:int = 0; private static const stDone:int = 1; private static const stProcess:int = 0; public function _gg409(_arg1:DisplayObject, _arg2:int, _arg3:Rectangle){ effect = _arg2; switch (effect){ case BRICKS: _kp280(_arg1, _arg3); state = stProcess; break; }; } private function _ev64(_arg1:DisplayObject, _arg2:Rectangle):_pg495{ var _local3:_pg495; var _local4:BitmapData; _local3 = new _pg495(); _local4 = new BitmapData(_arg2.width, _arg2.height, false, 0); _local4.draw(_arg1, null, null, null, _arg2, false); _local3.bitmapData = _local4; return (_local3); } private function _kp280(_arg1:DisplayObject, _arg2:Rectangle):void{ var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:Array; var _local8:int; this.bitmap = _ev64(_arg1, _arg2); bricksEffect = new Object(); _local3 = (50 * _kj370._wr432); _local4 = (Math.round((_arg2.height / _local3)) + 1); _local5 = (Math.round((_arg2.width / _local3)) + 1); bricksEffect.matrix = new Array(); _local6 = 0; while (_local6 < _local4) { _local7 = new Array(); _local8 = 0; while (_local8 < _local5) { _local7.push(0); _local8++; }; bricksEffect.matrix.push(_local7); _local6++; }; bricksEffect.n = _local4; bricksEffect.m = _local5; bricksEffect.blockSize = _local3; bricksEffect.timer = 0; addChild(bitmap); } public function get _ai315():Boolean{ return ((state == stDone)); } public function onEnterFrame():void{ switch (state){ case stProcess: switch (effect){ case BRICKS: if (!_kp372()){ state = stDone; }; break; }; break; }; } private function _kp372():Boolean{ var _local1:Array; var _local2:int; var _local3:int; var _local4:Array; var _local5:int; var _local6:int; var _local7:int; var _local8:Array; var _local9:int; var _local10:int; var _local11:BitmapData; var _local12:Rectangle; if (++bricksEffect.timer < 1){ return (true); }; bricksEffect.timer = 0; _local1 = new Array(); _local2 = 0; while (_local2 < bricksEffect.n) { _local6 = 0; while (_local6 < bricksEffect.m) { if (bricksEffect.matrix[_local2][_local6] == 0){ _local1.push([_local2, _local6]); }; _local6++; }; _local2++; }; if (_local1.length == 0){ return (false); }; _local3 = 0; _local4 = new Array(); _local5 = 0; while ((((_local3 < 5)) && ((_local1.length > 0)))) { if ((_local5 + 1) >= _local1.length){ _local5 = 0; }; var _temp1 = _local5; _local5 = (_local5 + 1); _local7 = _temp1; _local8 = _local1[_local7]; _local4.push([_local8[0], _local8[1]]); bricksEffect.matrix[_local8[0]][_local8[1]] = 1; _local1.splice(_local7, 1); _local3++; }; _local2 = 0; while (_local2 < _local4.length) { _local9 = _local4[_local2][0]; _local10 = _local4[_local2][1]; _local11 = bitmap.bitmapData; _local12 = new Rectangle((_local10 * bricksEffect.blockSize), (_local9 * bricksEffect.blockSize), bricksEffect.blockSize, bricksEffect.blockSize); _local11.fillRect(_local12, 0); _local2++; }; bitmap.bitmapData = _local11; return (true); } } }//package Code.LOGIC.OBJECTS.OBJECTS
Section 56
//_tv234 (Code.LOGIC.OBJECTS.OBJECTS._tv234) package Code.LOGIC.OBJECTS.OBJECTS { import flash.geom.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.*; public class _tv234 { public static function _yf115(_arg1:String, _arg2:_ol110, _arg3:_bk397):void{ var _local5:Array; var _local6:int; var _local7:String; var _local8:int; var _local9:String; var _local10:_ol110; var _local11:Point; var _local12:_qp435; _local5 = _arg1.split(";"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6]; _local8 = _local7.indexOf(" "); _local9 = _local7.substring(0, ((_local8)>0) ? _local8 : _local7.length); var _local4:Array = _pc358(_local7); trace(_local9); switch (_local9){ case "disable": _mk113(_arg2)._rm160("disable"); break; case "unfix": _local10 = _arg3._rn363(_local4[0]); _hu372(_local10).fixed = false; break; case "friction": _local10 = _arg3._rn363(_local4[0]); _hu372(_local10)._jl375 = 0.99; break; case "mass": _local10 = _arg3._rn363(_local4[0]); _hu372(_local10)._uv317 = _local4[1]; break; case "message": _local11 = new Point(); if (_local4[1] == -1){ _local11.x = _bk397.BLOB._nq418; _local11.y = _bk397.BLOB._cg291; } else { _local10 = _arg3._rn363(_local4[1]); if (!_local10){ return; }; _local11.x = _local10._nq418; _local11.y = _local10._cg291; }; _arg3._qf522(_local4[0], _local11); break; case "force": if (_local4[0] == -1){ _local10 = _bk397.BLOB; } else { _local10 = _arg3._rn363(_local4[0]); }; _local12 = new _qp435(_local4[1], _local4[2]); _hu372(_local10)._pc366(_local12); break; case "setCollidable": _local10 = _arg3._rn363(_local4[0]); _hu372(_local10)._ac127 = ((_local4[1])=="true") ? true : false; break; }; _local6++; }; } private static function _pc358(_arg1:String):Array{ var _local2:int; var _local3:String; _local2 = _arg1.indexOf(" "); if (_local2 == 0){ return ([]); }; _local3 = _arg1.substring(_local2, _arg1.length); return (_local3.split(",")); } } }//package Code.LOGIC.OBJECTS.OBJECTS
Section 57
//_wj126 (Code.LOGIC.OBJECTS.OBJECTS._wj126) package Code.LOGIC.OBJECTS.OBJECTS { import flash.display.*; import Code.LIB.*; import Code.OPTIONS.*; public class _wj126 extends _bd509 { private var keyColored:_pg495; private var _hearts:int;// = 0 private var blobsLabel:_pj303; private var keyGray:_pg495; private var keysPicture:_pg495; private var heart:_pg495; private var _totalKeys:int; private var _collectedKeys:int; private var livesPicture:_pg495; public function _wj126(_arg1:int){ var _local2:_bd509; var _local3:DisplayObject; var _local4:Sprite; var _local5:_pg495; _hearts = 0; super(); _totalKeys = _arg1; _collectedKeys = 0; _hearts = 0; this.keyColored = _lx317._ec37((new _hd443.GKey() as Sprite), 0.65); this.keyGray = _lx317._gb384(keyColored._dx77()); this.heart = _lx317._ec37((new _hd443.GHeart() as Sprite), 0.5); this.keysPicture = new _pg495(); this.livesPicture = new _pg495(); _local2 = new _bd509(); _local3 = new _hd443.GBlobGreen(); _local3.rotation = 180; _local3.scaleX = (_local3.scaleX * -0.5); _local3.scaleY = (_local3.scaleY * 0.5); _local3.alpha = 0.8; _local4 = new _hd443.TButtonMount(); _local4.scaleX = (90 / 200); _local4.scaleY = (30 / 100); _local3.x = 17; _local3.y = 17; _local4.alpha = 0.7; _local3.alpha = 0.85; _local2.addChild(_local4); _local2.addChild(_local3); _local5 = _lx317._ec37(_local2, 1); _local5._dx37(140, 3); this.blobsLabel = new _pj303(22, _hd443.cWhite, null); blobsLabel._uc285 = 170; blobsLabel._kc408 = 2; addChild(_local5); addChild(blobsLabel); blobsLabel.Text = "x 0"; addChild(keysPicture); addChild(livesPicture); _ct96(); } public function set _gs182(_arg1:int):void{ _collectedKeys = _arg1; _ct96(); } public function set _fx397(_arg1:int):void{ blobsLabel.Text = ("x " + _arg1.toString()); } private function _ct96():void{ var _local1:_bd509; var _local2:int; var _local3:_pg495; var _local4:_pg495; if (_totalKeys == 0){ return; }; _local1 = new _bd509(); _local2 = 0; while (_local2 < _collectedKeys) { _local4 = keyColored._dx77(); _local4._uc285 = (_local2 * 20); _local1.addChild(_local4); _local2++; }; _local2 = _collectedKeys; while (_local2 < _totalKeys) { _local4 = keyGray._dx77(); _local4._uc285 = (_local2 * 20); _local1.addChild(_local4); _local2++; }; _local1._uc285 = (_local1._uc285 + 400); _local1._kc408 = (_local1._kc408 + 21); _local3 = _lx317._cy60(_local1); _local3._dn291(keysPicture); } public function get _ao129():int{ return (_hearts); } public function get _gs182():int{ return (_collectedKeys); } public function set _ao129(_arg1:int):void{ _hearts = _arg1; _dm465(); } public function get _sf181():int{ return (_totalKeys); } private function _dm465():void{ var _local1:_bd509; var _local2:int; var _local3:_pg495; var _local4:_pg495; if (_ao129 == 0){ this.livesPicture.visible = false; return; }; this.livesPicture.visible = true; _local1 = new _bd509(); _local2 = 0; while (_local2 < _hearts) { _local4 = heart._dx77(); _local4._uc285 = (_local2 * 25); _local1.addChild(_local4); _local2++; }; _local3 = _lx317._cy60(_local1); _local3._uc285 = 20; _local3._kc408 = 20; _local3._dn291(livesPicture); } } }//package Code.LOGIC.OBJECTS.OBJECTS
Section 58
//_bk397 (Code.LOGIC._bk397) package Code.LOGIC { import flash.events.*; import flash.display.*; import flash.geom.*; import Code.LIB.*; import Code.org.cove.ape.*; import Code.LOGIC.OBJECTS.ACTORS.INTERFACES.*; import Code.LOGIC.OBJECTS.GRAPHICS.*; import Code.LOGIC.OBJECTS.ACTORS.BLOB.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.OPTIONS.*; import Code.LIB.SOUND.*; import Code.LOGIC.OBJECTS.OBJECTS.*; import Code.LOGIC.OBJECTS.ACTORS.*; import flash.filters.*; public class _bk397 extends _fh287 { protected var rightWall:_tq12; private var checkPoints:Array; private var doorFlag:Boolean;// = false private var engine:_hj173; protected var leftWall:_tq12; protected var container:_cp271; private var state:int; private var activeGroups:Array; private var collectedBlobs:Array; private var defaultGroup:_fl63; private var saveBlobs:Boolean; private var blows:Array; public var paused:Boolean; private var currCheckPoint:int;// = 0 private var sectorsCount:int; private var timer:int; private var keyBuff:Object; private var endGame:Boolean;// = false protected var maxID:int; private var _startInd:int;// = -1 protected var level:Object; protected var SHOW_CHECKPOINTS:Boolean;// = false private var effect:_gg409; private var blob:_pp193; private var topPanel:_wj126; private var explodes:Object; private var door:_kp425; protected var stopped:Boolean;// = true private var mapWidth:int; protected var groups:Array; private var win:Boolean; private var textMsgs:Array; private var pushForce:_qp435; public static const screenWidth:int = 800; public static const screenHeight:int = 600; public static const G:Number = 3.5; public static const SECTOR_SIZE:int = int(600); public static const stWin:int = 6; public static const stScroll:int = 3; public static const stNormal:int = 1; public static const stDoor:int = 4; public static const stBlow:int = 2; public static const stHideField:int = 5; public static const stLoose:int = 7; public static const stShow:int = 0; public static var timerWater:int; public static var BLOB:_pp193; public function _bk397(_arg1:Object){ SHOW_CHECKPOINTS = false; stopped = true; keyBuff = {leftKey:false, rightKey:false, upKey:false, downKey:false}; activeGroups = [0, 0, 0]; explodes = {}; currCheckPoint = 0; _startInd = -1; doorFlag = false; endGame = false; super(); maxID = 0; this.level = _arg1; this.mapWidth = this.level.mapWidth; this.sectorsCount = ((this.mapWidth / SECTOR_SIZE) + 1); this.container = new _cp271(screenWidth, screenHeight, mapWidth); this.addChild(_lx317._ec37(new _hd443.GGameBg())); this.addChild(container); _kj370.prStage.frameRate = 35; this.engine = new _hj173(); _hj173.INST = this.engine; this.engine.init((1 / 4)); this.engine.container = container; this.engine._pc366(new _qp435(0, G)); this.blows = new Array(); this.checkPoints = new Array(); this.collectedBlobs = new Array(); _mb273(); this.scrollRect = new Rectangle(0, 0, (800 * _kj370._wr432), (600 * _kj370._wr432)); stopped = false; } public function _qf522(_arg1:int, _arg2:Point):void{ var _local3:String; var _local4:Object; var _local5:_fj349; _local3 = textMsgs[_arg1]; _local4 = {text:_local3, width:150, height:120, textSize:18, picture:(new _hd443.GCloud() as Sprite)}; _local5 = new _fj349(_local4); _local5._dx37(_arg2.x, ((_arg2.y - (_local5.height / _kj370._wr432)) - 40)); this.container.addChild(_local5); } override public function _nt172(_arg1:KeyboardEvent):void{ switch (_arg1.keyCode){ case _yd319.KEY_LEFT: keyBuff.leftKey = true; break; case _yd319.KEY_RIGHT: keyBuff.rightKey = true; break; case _yd319.KEY_UP: keyBuff.upKey = true; break; case _yd319.KEY_DOWN: keyBuff.downKey = true; break; }; } public function _vq474(_arg1:_hu372, _arg2:_hu372):void{ var _local3:_pe427; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Boolean; var _local12:_iq290; var _local13:Object; var _local14:_fj349; if ((((_arg2.owner is _mk113)) && (_mk113(_arg2.owner).active))){ if ((_arg2.owner is _rh465)){ _pc215._ee318("active"); }; _tv234._yf115(_mk113(_arg2.owner).action, _ol110(_arg2.owner), this); }; if ((_arg2.owner is _iv70)){ blob.inWall = true; }; if ((((((((((_arg2 is _mv482)) && (!((_arg2 is _nd36))))) && (!((_arg2 is _kp425))))) && (!((blob.State == _ss499.stSwim))))) && (!((_arg2 is _rh465))))){ _local3 = _pe427(_arg2); if ((((_arg2 is _tq12)) && (!(_tq12(_local3)._eh293)))){ blob._rotatable = true; blob.inWall = true; return; }; _local4 = blob._nq418; _local5 = blob._cg291; _local6 = _local3._nq418; _local7 = _local3._cg291; _local8 = _local3.width; _local9 = _local3.height; _local10 = blob.radius; _local11 = false; if ((((((_local5 < (_local7 - (_local9 / 2)))) && ((_local4 > ((_local6 - (_local8 / 2)) - (_local10 * 2)))))) && ((_local4 < ((_local6 + (_local8 / 2)) + (_local10 * 2)))))){ if ((_arg2 is _na10)){ _pc215._ee318("jumper"); } else { _pc215._ee318("blobJump"); }; blob._hk146((_arg2 is _na10)); }; } else { if ((_arg2 is _ox149)){ _ss499(_arg2)._xa153(); _mc437(_ox149(_arg2)); _pc215._ee318("collect"); }; }; if ((_arg2 is _iq290)){ _pc215._ee318("bonus"); _local12 = _iq290(_arg2); switch (_local12.type){ case _iq290.TYPE_HEART: _xr327(explodes.heart, _local12._nq418, _local12._cg291); this.topPanel._ao129++; _kj370.lives = this.topPanel._ao129; break; case _iq290.TYPE_KEY: _xr327(explodes.key, _local12._nq418, _local12._cg291); this.topPanel._gs182++; if (this.topPanel._gs182 == this.topPanel._sf181){ this.door.open(); }; break; }; _local12._eu273 = true; } else { if ((((((_arg2 is _nd36)) || ((_arg2.owner is _la261)))) || ((_arg2.owner is _jq234)))){ _rm388(); } else { if (((((_arg2.owner) && ((_arg2.owner is _be514)))) && ((_arg2 == _be514(_arg2.owner)._ul326)))){ _rm388(); }; }; }; if ((((state == stNormal)) && ((_arg2.owner is _kp425)))){ if (topPanel._gs182 == topPanel._sf181){ win = true; endGame = true; State = stDoor; } else { if (!doorFlag){ doorFlag = true; _local13 = {text:"you missed\n some keys", width:150, height:120, textSize:18, picture:(new _hd443.GCloud() as Sprite)}; _local14 = new _fj349(_local13); _local14._dx37((blob._nq418 - 70), ((blob._cg291 - (_local14.height / _kj370._wr432)) - 40)); this.container.addChild(_local14); }; }; }; } override public function _tp23(_arg1:KeyboardEvent):void{ switch (_arg1.keyCode){ case _yd319.KEY_LEFT: keyBuff.leftKey = false; break; case _yd319.KEY_RIGHT: keyBuff.rightKey = false; break; case _yd319.KEY_UP: keyBuff.upKey = false; break; case _yd319.KEY_DOWN: keyBuff.downKey = false; break; }; } override public function onEnterFrame(_arg1:Event):void{ var _local2:int; var _local3:_mx226; var _local4:Array; if (((stopped) && (!(paused)))){ this.engine._be113(); return; }; if ((((state == stNormal)) && (!((_kj370.prStage.focus == this))))){ _kj370.prStage.focus = this; }; if (paused){ return; }; timerWater++; this._xh409(); this.engine._gj521(); this.engine._be113(); _local2 = 0; while (_local2 < blows.length) { _local3 = blows[_local2]; _local3.onEnterFrame(); if (_local3._eu273){ blows.splice(_local2, 1); _local2--; }; _local2++; }; switch (state){ case stNormal: container._mc207 = blob._nq418; container._yt47 = blob._cg291; if ((blob._cg291 - blob.radius) > screenHeight){ _rm388(true); }; blob.leftPressed = (keyBuff.leftKey == true); blob.rightPressed = (keyBuff.rightKey == true); blob.upPressed = (keyBuff.upKey == true); blob.downPressed = (keyBuff.downKey == true); break; case stBlow: if (timer++ > 80){ State = ((endGame)==true) ? stHideField : stScroll; }; break; case stScroll: if (container.State != _cp271.stScrollTo){ State = stNormal; }; break; case stDoor: _local4 = [new BlurFilter()]; blob._pp275.scaleX = (blob._pp275.scaleY = (blob._pp275.scaleY - 0.1)); blob._pp275.filters = _local4; if (blob._pp275.scaleX < 0.1){ State = stHideField; blob._pp275.visible = false; blob.fixed = true; }; break; case stHideField: effect.onEnterFrame(); if (effect._ai315){ State = ((win)==true) ? stWin : stLoose; }; break; }; } private function _uk235():void{ var _local1:Object; var _local2:int; var _local3:_pg495; _local1 = {x:checkPoints[currCheckPoint]._nq418, y:checkPoints[currCheckPoint]._cg291, radius:22, color:_hd443.cAqua}; this.blob = new _pp193(_local1); this.blob._uq302 = this._vq474; this.defaultGroup._fc80(blob); if (saveBlobs){ _local2 = 0; while (_local2 < collectedBlobs.length) { _local3 = ((_ox149(collectedBlobs[_local2]).color)==_ox149.GREEN) ? explodes.greenBlob : explodes.yellowBlob; _tq435(blob._pp275)._mo399(_local3._dx77()); _local2++; }; }; _bk397.BLOB = blob; } protected function _ps161(_arg1:_ol110):void{ var _local2:int; var _local3:_fl63; _local2 = _pa449(_arg1._nq418); _local3 = groups[_local2]; if (_local3 == _arg1.group){ return; }; if ((_arg1 is _hu372)){ _arg1.group._fl477(_hu372(_arg1)); _local3._fc80(_hu372(_arg1)); } else { if ((_arg1 is _gf153)){ _arg1.group._do447(_gf153(_arg1)); _local3._tm511(_gf153(_arg1)); }; }; _arg1.group = _local3; } private function set State(_arg1:int):void{ var _local2:Point; state = _arg1; switch (state){ case stNormal: this._uk235(); break; case stBlow: timer = 0; break; case stScroll: container._ej298(_sg385(checkPoints[currCheckPoint])._nq418, screenHeight); break; case stDoor: _local2 = new Point((door._nq418 - blob._nq418), (door._cg291 - blob._cg291)); _local2.normalize(6); blob._bm153 = new _qp435(_local2.x, _local2.y); blob._ac127 = false; break; case stHideField: parent.addChild(this); effect = new _gg409(this, _gg409.BRICKS, new Rectangle(0, 0, (800 * _kj370._wr432), (600 * _kj370._wr432))); addChild(effect); removeChild(container); break; }; } private function _br132(_arg1:Array):Array{ var _local2:Array; var _local3:int; var _local4:Object; var _local5:Object; _local2 = new Array(); _local3 = 0; while (_local3 < _arg1.length) { _local4 = _arg1[_local3]; if (!(_local4.prClass is Class)){ } else { _local5 = new _local4.prClass(_local4); _local2.push(_local5); if ((_local5 is _sg385)){ checkPoints.push(_local5); }; }; _local3++; }; return (_local2); } private function _pa449(_arg1:Number):int{ return ((_arg1 / SECTOR_SIZE)); } private function _mc437(_arg1:_ox149):void{ var _local2:_pg495; var _local3:_pg495; _local2 = ((_arg1.color)==_ox149.GREEN) ? explodes.greenBlob : explodes.yellowBlob; _local3 = _local2._dx77(); _tq435(blob._pp275)._mo399(_local3); this.collectedBlobs.push(_arg1); this.topPanel._fx397 = collectedBlobs.length; } private function _xh409():void{ var _local1:int; var _local2:int; var _local3:Number; var _local4:int; var _local5:int; var _local6:Boolean; var _local7:Array; var _local8:int; var _local9:_fl63; var _local10:_fl63; var _local11:Array; var _local12:Array; var _local13:_hu372; var _local14:_ss499; var _local15:int; var _local16:_fl63; var _local17:_gf153; _local3 = this.container._mc207; _local4 = (_local3 / SECTOR_SIZE); _local5 = (_local4 - 1); if (_local5 < 0){ _local5 = 0; }; if ((_local5 + 3) >= groups.length){ _local5 = (groups.length - 3); }; _local6 = !((_local5 == _startInd)); if (_local6){ _startInd = _local5; _local7 = []; _local1 = 0; while (_local1 < 3) { _local7.push(groups[(_local1 + _local5)]); _local1++; }; _local1 = 0; while (_local1 < activeGroups.length) { if ((activeGroups[_local1] is int)){ } else { _local8 = _local7.indexOf(activeGroups[_local1]); if (_local8 >= 0){ } else { this.engine._wd435(activeGroups[_local1]); activeGroups[_local1] = 0; }; }; _local1++; }; _local1 = 0; while (_local1 < _local7.length) { _local8 = activeGroups.indexOf(_local7[_local1]); if (_local8 >= 0){ } else { _local9 = _local7[_local1]; this.engine._pm99(_local9); _local2 = 0; while (_local2 < activeGroups.length) { if ((activeGroups[_local2] is int)){ activeGroups[_local2] = _local9; break; }; _local2++; }; }; _local1++; }; }; _local1 = 0; while (_local1 < this.activeGroups.length) { _local10 = _fl63(this.activeGroups[_local1]); _local11 = _local10._lf35; _local2 = 0; while (_local2 < _local11.length) { _local13 = _local11[_local2]; if ((((_local13 is _ol110)) && (_ol110(_local13)._im387))){ removeItem(_ol110(_local13)); _local2--; } else { if ((_local13 is _ss499)){ _local14 = _ss499(_local13); _local15 = _pa449(_local14._nq418); _local16 = groups[_local15]; if ((_local14._cg291 + _local14.radius) > screenHeight){ _local14.State = _ss499.stInvisible; }; if (_local16 == _local14.group){ } else { _local14.group._fl477(_local14); _fl63(groups[_local15])._fc80(_local14); if (_local15 == _local1){ _local1--; }; _local14.group = _local16; }; }; }; _local2++; }; _local12 = _local10._tf152; _local2 = 0; while (_local2 < _local12.length) { _local17 = _local12[_local2]; if ((_local17 is _be514)){ _be514(_local17).rotate(); }; _local2++; }; _local1++; }; } protected function addItem(_arg1:_ol110):void{ var _local2:int; var _local3:int; var _local4:_fl63; _local2 = _arg1._nq418; _local3 = _pa449(_local2); _local4 = groups[_local3]; _arg1.group = _local4; if ((_arg1 is _hu372)){ _local4._fc80(_hu372(_arg1)); } else { if ((_arg1 is _gf153)){ _local4._tm511(_gf153(_arg1)); } else { if ((_arg1 is _fl63)){ engine._pm99(_fl63(_arg1)); }; }; }; if (_arg1._ft177 > maxID){ maxID = _arg1._ft177; }; } public function _rm388(_arg1:Boolean=false):void{ var _local2:_ox149; saveBlobs = !(!(_arg1)); _pc215._ee318("blobBlow"); blob.State = _ss499.stInvisible; this.defaultGroup._fl477(blob); _xr327(explodes.playerBlob, blob._nq418, blob._cg291); this.State = stBlow; this.topPanel._ao129--; _kj370.lives = this.topPanel._ao129; if (this.topPanel._ao129 == 0){ win = false; endGame = true; State = stBlow; return; }; this.currCheckPoint = _qk505(blob); if (_arg1){ return; }; while (collectedBlobs.length > 0) { _local2 = collectedBlobs[0]; collectedBlobs.splice(0, 1); _local2.position = new _qp435(blob._nq418, blob._cg291); _local2.State = _ss499.stMove; _local2.fixed = false; _local2._bm153 = new _qp435(((Math.random() * 7) - (Math.random() * 7)), ((Math.random() * 7) - (Math.random() * 7))); addItem(_local2); }; topPanel._fx397 = collectedBlobs.length; } public function _rn363(_arg1:int):_ol110{ var _local2:int; var _local3:_fl63; var _local4:Array; var _local5:int; _local2 = 0; while (_local2 < this.groups.length) { _local3 = groups[_local2]; _local4 = _local3._lf35.concat(_local3._tf152); _local5 = 0; while (_local5 < _local4.length) { if (_ol110(_local4[_local5])._ft177 == _arg1){ return (_ol110(_local4[_local5])); }; _local5++; }; _local2++; }; return (null); } private function _xr327(_arg1:Array, _arg2:Number, _arg3:Number):_mx226{ var _local4:_mx226; _local4 = new _mx226(_arg1); _local4._dx37(_arg2, _arg3); this.blows.push(_local4); this.container.addChild(_local4); return (_local4); } private function _qk505(_arg1:_pp193):int{ var _local2:int; var _local3:_sg385; var _local4:int; var _local5:_sg385; _local2 = 0; _local3 = checkPoints[_local2]; _local4 = 1; while (_local4 < checkPoints.length) { _local5 = checkPoints[_local4]; if ((((_local5._nq418 > _local3._nq418)) && ((_arg1._nq418 > _local5._nq418)))){ _local2 = _local4; _local3 = _local5; }; _local4++; }; return (_local2); } protected function removeItem(_arg1:_ol110):void{ var _local2:_fl63; _local2 = _arg1.group; _arg1.group = null; if ((_arg1 is _hu372)){ _local2._fl477(_hu372(_arg1)); } else { _local2._do447(_gf153(_arg1)); }; } public function get _yd57():int{ return (collectedBlobs.length); } protected function _mb273():void{ var _local1:int; var _local2:int; var _local3:Array; var _local4:Object; var _local5:_ol110; var _local6:String; saveBlobs = false; this.groups = new Array(); _local1 = 0; while (_local1 < this.sectorsCount) { this.groups.push(new _fl63(true)); _local1++; }; this.defaultGroup = new _fl63(true); this.engine._pm99(defaultGroup); _local1 = 0; while (_local1 < (this.groups.length - 1)) { _fl63(groups[_local1])._be234(defaultGroup); _fl63(groups[_local1])._be234(groups[(_local1 + 1)]); _local1++; }; _local2 = 0; _local3 = _br132(this.level.objects); _local1 = 0; for (;_local1 < _local3.length;_local1++) { _local5 = _local3[_local1]; if ((((_local5 is _iq290)) && ((_iq290(_local5).type == _iq290.TYPE_KEY)))){ _local2++; } else { if ((_local5 is _kp425)){ door = _kp425(_local5); } else { if ((((_local5 is _sg385)) && (!(SHOW_CHECKPOINTS)))){ continue; }; }; }; addItem(_local5); }; if (level.defaultGroup){ _local3 = _br132(this.level.defaultGroup); _local1 = 0; while (_local1 < _local3.length) { _local5 = _local3[_local1]; defaultGroup._fc80(_hu372(_local5)); _local1++; }; }; _local4 = {State:0, x:-50, _eh293:true, y:0, rotation:0, prClass:_tq12, width:50, _ft177:56, action:"", height:600, active:false}; leftWall = new _tq12(_local4); addItem(leftWall); _local4 = {State:0, x:level.mapWidth, _eh293:true, y:0, rotation:0, prClass:_tq12, width:50, _ft177:56, action:"", height:600, active:false}; rightWall = new _tq12(_local4); addItem(rightWall); container._mc207 = 0; container._yt47 = screenHeight; container.scrollY = level.scrollY; this.explodes = {playerBlob:_mx226._gn152((new _hd443.GPlayerBlobComplete() as Sprite), 15), heart:_mx226._gn152((new _hd443.GHeart() as Sprite), 15), key:_mx226._gn152((new _hd443.GKey() as Sprite), 15), greenBlob:_lx317._ec37((new _hd443.GBlobGreen() as Sprite), 0.3), yellowBlob:_lx317._ec37((new _hd443.GBlobYellow() as Sprite), 0.3)}; this.textMsgs = new Array(); _local1 = 0; while (_local1 < level.txtMsgs.length) { _local6 = level.txtMsgs[_local1]; this.textMsgs.push(_local6.slice(0, (_local6.length - 1))); _local1++; }; this.topPanel = new _wj126(_local2); this.topPanel._ao129 = ((_kj370.lives)>0) ? _kj370.lives : 2; if (_kj370.lives == 0){ _kj370.lives = 2; }; addChild(topPanel); paused = false; _bk397.timerWater = 0; this.State = stNormal; } public function get _wo15():int{ return (state); } } }//package Code.LOGIC
Section 59
//_en15 (Code.OPTIONS.LANGUAGES._en15) package Code.OPTIONS.LANGUAGES { public class _en15 { public const strSite:String = "www.bibagames.com"; public const strSite2:String = "bibagames.com"; public const strSiteUrl:String = "http://www.bibagames.com/"; public var strPlayer2:String;// = "player 2" public var strPlay:String; public var strPlayer1:String;// = "player 1" public var strCancel:String; public var strLocalScore:String; public var strGameName2:String; public var strPlayerName:String; public var strCollected:String; public var strSinglePlayer:String;// = "1 player" public var strFinish:String;// = "congradulations! you have finished all levels!" public var strMore:String; public var strLevelComplete:String; public var strOptions:String; public var strProfile:String; public var strMoreGames:String; public var strDelete:String; public var strMenu:String; public var strOppWin:String; public var strClickToTryAgain:String;// = "click to try again" public var strEnterName:String; public var strMoreGames1:String; public var Draw:String;// = "draw" public var strDownloadGame:String; public var strComputer:String;// = "computer" public var strBonus:String; public var strInstructions:String; public var strChangePlayer:String; public var strMVolume:String; public var strWon:String;// = "won" public var strOpponent:String; public var strNew:String; public var strOppCompleete:String; public var strPaused:String; public var strInstructionsText:String; public var strNext:String;// = "next" public var strLang:String; public var strConnecting:String; public var strFinished:String; public var strLoading:String; public var strFailed:String; public var strShot:String;// = "shot" public var strLevel:String; public var strYouWin:String; public var strTotalScore:String; public var strDownload:String; public var strTwoPlayers:String;// = "2 players" public var strScore:String; public var strClickToPlayNextLevel:String;// = "click to play next level" public var strOk:String; public var strLevelFailed:String; public var strWelcome:String; public var strPlayersOnline:String; public var strGameName:String;// = "BeesAffairs" public var strRetry:String;// = "retry" public var strSelectGameType:String;// = "select game type:" public var strSVolume:String; public function _en15(){ strGameName = "BeesAffairs"; strRetry = "retry"; strNext = "next"; strFinish = "congradulations!\n you have finished all levels!"; strSinglePlayer = "1 player"; strTwoPlayers = "2 players"; strPlayer1 = "player 1"; strPlayer2 = "player 2"; strComputer = "computer"; strShot = "shot"; Draw = "draw"; strSelectGameType = "select game type:"; strWon = "won"; strClickToTryAgain = "click to try again"; strClickToPlayNextLevel = "click to play next level"; super(); } } }//package Code.OPTIONS.LANGUAGES
Section 60
//_ja442 (Code.OPTIONS.LANGUAGES._ja442) package Code.OPTIONS.LANGUAGES { public class _ja442 extends _en15 { public function _ja442(){ strOk = "ja"; strCancel = "nein"; strEnterName = "Neuer Spieler"; strChangePlayer = "den Spieler wählen"; strNew = "neu"; strDelete = "beseifigen"; strGameName2 = "BeesAffairs"; strScore = "punkte"; strLevel = "level"; strMoreGames = "andere spiele"; strMore = "more"; strOptions = "optionen"; strMVolume = "musik volume"; strSVolume = "sound volume"; strLevelComplete = "level ist beendet"; strLevelFailed = "level ist verloren"; strInstructions = "wie gespielt wird"; strMenu = "menu"; strPlay = "spielen"; strMoreGames1 = "andere spiele"; strWelcome = "hi"; strPlayerName = "der Name des Spielers"; strLoading = "loading"; strOpponent = "opponent"; strOppCompleete = "opponent hat beendet"; strFailed = "opponent hat verloren"; strConnecting = "loading"; strYouWin = "sie haben gewonnen"; strOppWin = "opponent hat gewonnen"; strBonus = "bonus"; strFinished = "beendet"; strPaused = "paused"; strProfile = "profil"; strInstructionsText = (("Es ist notwendig, die Figuren\n" + "auf dem Feld so aufzustellen\n") + "um drei ähnliche Bilder senkrecht\n"); } } }//package Code.OPTIONS.LANGUAGES
Section 61
//_lq198 (Code.OPTIONS.LANGUAGES._lq198) package Code.OPTIONS.LANGUAGES { public class _lq198 extends _en15 { public function _lq198(){ strOk = "ok"; strCancel = "annulation"; strEnterName = "introduisez le prénom"; strChangePlayer = "choisissez le joueur"; strNew = "nouveau"; strDelete = "éliminer"; strGameName2 = "BeesAffairs"; strScore = "score"; strLevel = "level"; strMoreGames = "plus de jeux"; strMore = "encore"; strOptions = "réglements"; strMVolume = "volume de la musique"; strSVolume = "volume du son"; strLevelComplete = "niveau est fini"; strLevelFailed = "niveau est perdu"; strLocalScore = "local score"; strInstructions = "instructions"; strMenu = "menu"; strPlay = "jouer"; strMoreGames1 = "plus de jeux"; strWelcome = "bonjour"; strProfile = "profil"; strPlayerName = "prénom de joueur"; strLoading = "chargement"; strOpponent = "opposant"; strOppCompleete = "opposant a fini"; strFailed = "opposant a perdu"; strConnecting = "chargement"; strYouWin = "vous avez gagné"; strOppWin = "opposant avez gagné"; strBonus = "bonus"; strFinished = "fini"; strPaused = "pause"; strProfile = "profil"; strInstructionsText = ((((((("Utilisez les touches pour diriger \n" + "la figure sur le champ du jeu . Il \n") + "est nécessaire de disposer les \n") + "figures sur le champ pour former\n") + "trois images identiques \n") + "horizontalement ou verticalement.\n") + "Le jeu sera fini quand il n'y a plus\n") + "de figures"); } } }//package Code.OPTIONS.LANGUAGES
Section 62
//_pw40 (Code.OPTIONS.LANGUAGES._pw40) package Code.OPTIONS.LANGUAGES { public class _pw40 extends _en15 { public function _pw40(){ strOk = "да"; strCancel = "отмена"; strEnterName = "введите имя"; strChangePlayer = "выберите игрока"; strNew = "новый"; strDelete = "удалить"; strGameName2 = "Шаблон"; strScore = "очки"; strLevel = "уровень"; strMoreGames = "больше игр"; strMore = "ёщё"; strOptions = "настройки"; strMVolume = "громкость музыки"; strSVolume = "громкость звука"; strLevelComplete = "уровень завершен"; strLevelFailed = "уровень проигран"; strLocalScore = "локальный счёт"; strDownloadGame = "скачать игру"; strDownload = "скачать"; strInstructions = "инструкции"; strMenu = "меню"; strPlay = "играть"; strMoreGames1 = "больше игр"; strWelcome = "привет"; strProfile = "профиль"; strPlayerName = "имя игрока"; strLoading = "загрузка"; strOpponent = "оппонент"; strOppCompleete = "оппонент закончил"; strFailed = "оппонент проиграл"; strConnecting = "соединение"; strPlayersOnline = "игроков онлайн"; strYouWin = "вы выиграли"; strOppWin = "оппонент выиграл"; strBonus = "бонус"; strTotalScore = "общий счёт"; strFinished = "закончена"; strPaused = "пауза"; strProfile = "профиль"; strInstructionsText = ((((("Используйте клавиши на клавиатуре\n" + "для управления фигрурой на поле\n") + "Необходимо расположить фигуру на\n") + "поле так, чтобы образовалось три\n") + "одинаковых картинки горизонтально\n") + "или вертикально."); } } }//package Code.OPTIONS.LANGUAGES
Section 63
//_st359 (Code.OPTIONS.LANGUAGES._st359) package Code.OPTIONS.LANGUAGES { public class _st359 extends _en15 { public function _st359(){ strOk = "ok"; strCancel = "cancel"; strEnterName = "enter name:"; strChangePlayer = "choose a player"; strNew = "new"; strDelete = "delete"; strGameName2 = "BeesAffairs"; strScore = "score"; strLevel = "level"; strMoreGames = "more games"; strMore = "more"; strOptions = "options"; strMVolume = "music volume"; strSVolume = "sound volume"; strLevelComplete = "level is completed"; strLevelFailed = "level is failed"; strLocalScore = "local score"; strInstructions = "instructions"; strMenu = "menu"; strPlay = "play"; strMoreGames1 = "play more games"; strWelcome = "hi"; strProfile = "profile"; strPlayerName = "player name"; strLoading = "loading"; strOpponent = "opponent"; strOppCompleete = "opponent completed"; strFailed = "opponent failed"; strConnecting = "please wait"; strPlayersOnline = "players online"; strYouWin = "you won"; strOppWin = "opponent won"; strBonus = "bonus"; strTotalScore = "total score"; strFinished = "finished"; strPaused = "paused"; strProfile = "profile"; strInstructionsText = "use arrow keys to move. \n collect keys, friendly bubbles to reach next level."; } } }//package Code.OPTIONS.LANGUAGES
Section 64
//_em58 (Code.OPTIONS._em58) package Code.OPTIONS { import Code.LOGIC.OBJECTS.ACTORS.BLOB.*; import Code.LOGIC.OBJECTS.ACTORS.RECTS.*; import Code.LOGIC.OBJECTS.ACTORS.*; public class _em58 { public static const Levels:Array = [{mapWidth:6800, lives:3, scrollY:false, txtMsgs:["save me!", "collect keys\nto open door!"], objects:[{x:51, _ft177:0, y:424, prClass:_sg385}, {State:0, x:2, _eh293:true, _ft177:1, y:549, action:"", prClass:_tq12, width:350, active:false, height:50, rotation:0}, {State:0, x:351, _eh293:true, _ft177:58, y:500, action:"", prClass:_tq12, width:250, active:false, height:100, rotation:0}, {State:0, x:619, _eh293:true, _ft177:62, y:164, action:"", prClass:_tq12, width:250, active:false, height:50, rotation:0}, {x:657, _ft177:63, y:133, type:1, prClass:_iq290}, {State:0, x:900, _eh293:true, _ft177:64, y:550, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:0}, {State:4, x:927, _ft177:68, y:528, prClass:_ox149, color:0, radius:15}, {State:0, x:600, _eh293:true, _ft177:60, y:550, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:0}, {x:926, y:444, action:"message 1,62;disable;", prClass:_tq12, height:7, State:1, _eh293:true, _ft177:64, dx:0, dy:-2, width:110, rotation:0, dist:150, active:true}, {State:5, x:572, _ft177:59, y:415, prClass:_ox149, color:0, radius:15}, {State:0, x:1200, _eh293:true, _ft177:67, y:300, action:"", prClass:_tq12, width:150, active:false, height:300, rotation:0}, {State:0, x:1350, _eh293:true, _ft177:69, y:550, action:"", prClass:_tq12, width:200, active:false, height:50, rotation:0}, {State:0, x:1550, _eh293:true, _ft177:70, y:500, action:"", prClass:_tq12, width:200, active:false, height:100, rotation:0}, {x:1380, _ft177:71, y:517, type:1, prClass:_iq290}, {x:1467, _ft177:72, y:519, radius:24, prClass:_la261}, {x:1652, _ft177:0, y:435, prClass:_sg385}, {x:1662, y:345, action:"", prClass:_tq12, height:7, State:1, _eh293:true, _ft177:105, dx:0, dy:-1, width:80, rotation:0, dist:100, active:false}, {State:0, x:1546, _eh293:true, _ft177:103, y:132, action:"", prClass:_tq12, width:100, active:false, height:50, rotation:0}, {x:1587, _ft177:108, y:97, type:0, prClass:_iq290}, {State:0, x:1728, _eh293:false, _ft177:73, y:431, action:"", prClass:_tq12, width:500, active:false, height:50, rotation:-17}, {numBlocks:7, x:2388, _ft177:74, y:367, prClass:_iv70, blockWidth:50, _gj521:0}, {State:0, x:2615, _eh293:false, _ft177:74, y:437, action:"", prClass:_tq12, width:400, active:false, height:50, rotation:20}, {x:2400, _ft177:76, y:178, prClass:_be514}, {State:0, x:3176, _eh293:true, _ft177:82, y:36, action:"", prClass:_tq12, width:100, active:false, height:50, rotation:0}, {x:3178, orientation:1, _ft177:84, y:86, prClass:_nd36, width:97, timeDelay:-1, height:40}, {x:3040, _ft177:80, y:204, type:1, prClass:_iq290}, {State:0, x:3001, _eh293:true, _ft177:78, y:504, action:"", prClass:_tq12, width:300, active:false, height:100, rotation:0}, {State:0, x:3300, _eh293:true, _ft177:85, y:300, action:"", prClass:_tq12, width:200, active:false, height:300, rotation:0}, {State:0, x:3007, _eh293:true, _ft177:79, y:245, action:"", prClass:_tq12, width:150, active:false, height:50, rotation:0}, {State:9, x:3352, _ft177:101, y:273, prClass:_ox149, color:1, radius:15}, {x:3204, _ft177:81, y:490, action:"unfix 82;unfix 84;friction 84;mass 82,8;mass 84,8;disable;", prClass:_rh465}, {State:0, x:3500, _eh293:true, _ft177:86, y:200, action:"", prClass:_tq12, width:200, active:false, height:400, rotation:0}, {State:0, x:3700, _eh293:true, _ft177:89, y:549, action:"", prClass:_tq12, width:400, active:false, height:50, rotation:0}, {x:3734, _ft177:91, y:513, type:1, prClass:_iq290}, {State:9, x:3866, _ft177:92, y:507, prClass:_ox149, color:1, radius:15}, {State:102, x:3722, distance:80, _ft177:95, y:370, prClass:_jq234}, {State:0, x:4098, _eh293:true, _ft177:96, y:199, action:"", prClass:_tq12, width:100, active:false, height:400, rotation:0}, {width:400, x:3900, _ft177:88, y:388, prClass:_rq150, height:330}, {x:4513, _ft177:99, y:458, prClass:_kp425}, {x:4297, _ft177:100, y:516, type:1, prClass:_iq290}, {State:0, x:4195, _eh293:true, _ft177:97, y:549, action:"", prClass:_tq12, width:400, active:false, height:50, rotation:0}, {State:0, x:4590, _eh293:true, _ft177:98, y:-2, action:"", prClass:_tq12, width:400, active:false, height:600, rotation:0}, {x:4205, _ft177:102, y:535, _ac127:true, prClass:_na10}]}, {mapWidth:7000, lives:2, scrollY:false, txtMsgs:[], defaultGroup:[{width:2500, x:1240, y:350, _ft177:58, prClass:_nm157, height:500}], objects:[{State:0, x:499, _eh293:true, _ft177:57, y:439, action:"", prClass:_tq12, width:100, active:false, height:150, rotation:0}, {State:102, x:32, distance:150, _ft177:62, y:342, prClass:_jq234}, {State:9, x:462, _ft177:59, y:522, prClass:_ox149, color:1, radius:15}, {x:98, _ft177:70, y:182, type:1, prClass:_iq290}, {x:498, orientation:0, _ft177:90, y:398, prClass:_nd36, width:100, timeDelay:-1, height:50}, {x:69, _ft177:0, y:39, prClass:_sg385}, {State:0, x:45, _eh293:false, _ft177:100, y:71, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:1, _eh293:true, _ft177:101, y:572, action:"", prClass:_tq12, width:600, active:false, height:50, rotation:0}, {State:102, x:525, distance:150, _ft177:63, y:150, prClass:_jq234}, {State:0, x:804, _eh293:true, _ft177:64, y:301, action:"", prClass:_tq12, width:200, active:false, height:50, rotation:0}, {State:0, x:804, _eh293:true, _ft177:66, y:350, action:"", prClass:_tq12, width:50, active:false, height:100, rotation:0}, {State:0, x:804, _eh293:true, _ft177:65, y:451, action:"", prClass:_tq12, width:200, active:false, height:50, rotation:0}, {State:0, x:953, _eh293:true, _ft177:67, y:350, action:"", prClass:_tq12, width:50, active:false, height:100, rotation:0}, {x:809, _ft177:68, y:285, action:"unfix 65;disable;", prClass:_rh465}, {x:1038, _ft177:72, y:348, type:1, prClass:_iq290}, {x:879, _ft177:73, y:52, type:1, prClass:_iq290}, {State:101, x:900, _ft177:69, y:397, prClass:_jq234}, {State:9, x:775, _ft177:95, y:472, prClass:_ox149, color:1, radius:15}, {x:744, orientation:2, _ft177:94, y:315, prClass:_nd36, width:60, timeDelay:-1, height:140}, {State:9, x:744, _ft177:71, y:162, prClass:_ox149, color:0, radius:15}, {State:0, x:601, _eh293:true, _ft177:102, y:572, action:"", prClass:_tq12, width:600, active:false, height:50, rotation:0}, {State:9, x:1423, _ft177:93, y:235, prClass:_ox149, color:1, radius:15}, {State:0, x:1584, _eh293:true, _ft177:97, y:125, action:"", prClass:_tq12, width:50, active:false, height:150, rotation:0}, {x:1513, orientation:2, _ft177:96, y:144, prClass:_nd36, width:70, timeDelay:-1, height:120}, {x:1635, orientation:3, _ft177:98, y:140, prClass:_nd36, width:70, timeDelay:-1, height:120}, {State:9, x:1755, _ft177:99, y:166, prClass:_ox149, color:0, radius:15}, {State:0, x:1200, _eh293:true, _ft177:103, y:572, action:"", prClass:_tq12, width:600, active:false, height:50, rotation:0}, {x:1333, _ft177:75, y:532, type:1, prClass:_iq290}, {x:1648, _ft177:76, y:537, type:0, prClass:_iq290}, {x:1452, _ft177:92, y:350, prClass:_be514}, {State:9, x:1896, _ft177:84, y:451, prClass:_ox149, color:1, radius:15}, {State:0, x:1801, _eh293:true, _ft177:77, y:188, action:"", prClass:_tq12, width:50, active:false, height:400, rotation:0}, {State:0, x:1800, _eh293:true, _ft177:78, y:35, action:"", prClass:_tq12, width:500, active:false, height:100, rotation:0}, {x:1802, orientation:1, _ft177:79, y:84, prClass:_nd36, width:120, timeDelay:100, height:47}, {State:0, x:2250, _eh293:true, _ft177:80, y:188, action:"", prClass:_tq12, width:50, active:false, height:400, rotation:0}, {State:0, x:1938, _eh293:true, _ft177:81, y:293, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {State:102, x:2023, distance:60, _ft177:82, y:180, prClass:_jq234}, {State:9, x:2182, _ft177:85, y:374, prClass:_ox149, color:0, radius:15}, {x:2362, _ft177:89, y:343, type:1, prClass:_iq290}, {x:2103, _ft177:86, y:547, type:1, prClass:_iq290}, {x:2354, _ft177:88, y:491, prClass:_kp425}, {State:0, x:1800, _eh293:true, _ft177:104, y:584, action:"", prClass:_tq12, width:700, active:false, height:50, rotation:0}, {State:0, x:2485, _eh293:true, _ft177:87, y:0, action:"", prClass:_tq12, width:400, active:false, height:600, rotation:0}]}, {mapWidth:6800, lives:3, scrollY:true, txtMsgs:[], objects:[{State:0, x:200, _eh293:true, _ft177:63, y:100, action:"", rotation:0, width:400, prClass:_tq12, height:200, active:false}, {State:0, x:0, _eh293:false, _ft177:60, y:0, action:"", rotation:0, width:100, prClass:_tq12, height:600, active:false}, {State:0, x:99, _eh293:false, _ft177:62, y:100, action:"", rotation:0, width:50, prClass:_tq12, height:500, active:false}, {State:0, x:149, _eh293:false, _ft177:64, y:400, action:"", rotation:0, width:400, prClass:_tq12, height:200, active:false}, {State:0, x:329, _eh293:true, _ft177:81, y:-50, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {x:594, _ft177:85, y:-176, prClass:_iq290, type:1}, {State:9, x:525, _ft177:86, y:-165, color:0, radius:15, prClass:_ox149}, {x:298, orientation:1, _ft177:87, y:240, width:120, timeDelay:50, prClass:_nd36, height:60}, {State:9, x:571, _ft177:90, y:529, color:1, radius:15, prClass:_ox149}, {x:177, _ft177:91, y:366, prClass:_iq290, type:1}, {x:44, _ft177:0, y:-56, prClass:_sg385}, {x:174, _ft177:132, y:187, prClass:_iq290, type:1}, {State:0, x:599, _eh293:true, _ft177:65, y:100, action:"", rotation:0, width:200, prClass:_tq12, height:250, active:false}, {State:0, x:547, _eh293:true, _ft177:66, y:550, action:"", rotation:0, width:350, prClass:_tq12, height:50, active:false}, {State:0, x:896, _eh293:true, _ft177:67, y:100, action:"", rotation:0, width:100, prClass:_tq12, height:500, active:false}, {width:350, x:723, _ft177:68, y:478, prClass:_rq150, height:150}, {x:813, y:0x0200, action:"", height:10, dx:0, active:false, State:1, dist:300, _eh293:true, _ft177:69, dy:-2, width:50, prClass:_tq12, rotation:0}, {State:9, x:0x0400, _ft177:74, y:522, color:1, radius:15, prClass:_ox149}, {State:0, x:995, _eh293:false, _ft177:71, y:550, action:"", rotation:0, width:200, prClass:_tq12, height:50, active:false}, {State:0, x:502, _eh293:true, _ft177:84, y:-142, action:"", rotation:0, width:200, prClass:_tq12, height:50, active:false}, {State:9, x:862, _ft177:89, y:529, color:1, radius:15, prClass:_ox149}, {x:1150, _ft177:75, y:537, prClass:_na10, _ac127:true}, {x:0x0404, _ft177:77, y:270, prClass:_iq290, type:1}, {State:0, x:995, _eh293:false, _ft177:76, y:301, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {x:992, orientation:3, _ft177:80, y:352, width:50, timeDelay:-1, prClass:_nd36, height:100}, {x:418, _ft177:82, y:67, prClass:_la261, radius:24}, {State:0, x:1195, _eh293:false, _ft177:73, y:550, action:"", rotation:0, width:300, prClass:_tq12, height:50, active:false}, {State:0, x:1558, _eh293:false, _ft177:78, y:234, action:"", rotation:0, width:50, prClass:_tq12, height:250, active:false}, {State:0, x:1495, _eh293:false, _ft177:79, y:550, action:"", rotation:0, width:250, prClass:_tq12, height:50, active:false}, {numBlocks:10, x:1240, _ft177:70, y:108, _gj521:12, blockWidth:50, prClass:_iv70}, {State:0, x:1724, _eh293:false, _ft177:93, y:518, action:"", rotation:-23, width:200, prClass:_tq12, height:50, active:false}, {State:0, x:1903, _eh293:true, _ft177:94, y:482, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {x:1923, _ft177:0, y:456, prClass:_sg385}, {x:2004, orientation:0, _ft177:96, y:529, width:120, timeDelay:-1, prClass:_nd36, height:70}, {x:2124, orientation:0, _ft177:97, y:529, width:120, timeDelay:-1, prClass:_nd36, height:70}, {x:2245, orientation:0, _ft177:98, y:529, width:120, timeDelay:-1, prClass:_nd36, height:70}, {State:0, x:2053, _eh293:true, _ft177:99, y:399, action:"unfix 99;disable;", rotation:0, width:50, prClass:_tq12, height:50, active:true}, {State:0, x:2128, _eh293:true, _ft177:103, y:374, action:"unfix 103;disable;", rotation:0, width:50, prClass:_tq12, height:50, active:true}, {State:0, x:2203, _eh293:true, _ft177:104, y:349, action:"unfix 104;disable;", rotation:0, width:50, prClass:_tq12, height:50, active:true}, {State:0, x:2278, _eh293:true, _ft177:105, y:324, action:"unfix 105;disable;", rotation:0, width:50, prClass:_tq12, height:50, active:true}, {x:2166, _ft177:106, y:175, prClass:_iq290, type:0}, {x:1770, y:396, action:"", height:7, dx:-1, active:false, State:1, dist:150, _eh293:true, _ft177:134, dy:-1, width:80, prClass:_tq12, rotation:0}, {State:0, x:2366, _eh293:true, _ft177:107, y:450, action:"", rotation:0, width:100, prClass:_tq12, height:150, active:false}, {State:0, x:2463, _eh293:true, _ft177:108, y:550, action:"", rotation:0, width:500, prClass:_tq12, height:50, active:false}, {State:0, x:2917, _eh293:true, _ft177:123, y:500, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {x:2923, _ft177:116, y:486, prClass:_na10, _ac127:true}, {x:2802, _ft177:125, y:523, prClass:_la261, radius:24}, {State:0, x:3003, _eh293:true, _ft177:111, y:10, action:"", rotation:0, width:550, prClass:_tq12, height:50, active:false}, {State:9, x:3292, _ft177:117, y:524, color:1, radius:15, prClass:_ox149}, {State:9, x:3286, _ft177:120, y:492, color:0, radius:15, prClass:_ox149}, {x:3465, _ft177:122, y:427, prClass:_iq290, type:1}, {State:0, x:3445, _eh293:true, _ft177:124, y:501, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {State:0, x:3494, _eh293:false, _ft177:113, y:152, action:"", rotation:0, width:50, prClass:_tq12, height:400, active:false}, {x:3451, _ft177:121, y:484, prClass:_na10, _ac127:true}, {State:0, x:3001, _eh293:false, _ft177:110, y:151, action:"", rotation:0, width:50, prClass:_tq12, height:400, active:false}, {State:0, x:2962, _eh293:true, _ft177:109, y:550, action:"", rotation:0, width:600, prClass:_tq12, height:50, active:false}, {State:0, x:3543, _eh293:true, _ft177:130, y:500, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {x:3546, _ft177:131, y:485, prClass:_na10, _ac127:true}, {x:3260, orientation:0, _ft177:118, y:560, width:182, timeDelay:100, prClass:_nd36, height:40}, {State:0, x:3051, _eh293:true, _ft177:112, y:302, action:"", rotation:0, width:200, prClass:_tq12, height:250, active:false}, {State:0, x:3561, _eh293:true, _ft177:126, y:550, action:"", rotation:0, width:400, prClass:_tq12, height:50, active:false}, {State:0, x:3961, _eh293:true, _ft177:127, y:0, action:"", rotation:0, width:400, prClass:_tq12, height:600, active:false}, {x:3885, _ft177:128, y:459, prClass:_kp425}, {State:5, x:3760, _ft177:129, y:466, color:1, radius:15, prClass:_ox149}]}, {mapWidth:6800, lives:3, scrollY:false, txtMsgs:[], objects:[{State:0, x:0, _eh293:true, _ft177:57, y:200, action:"", rotation:0, width:50, prClass:_tq12, height:400, active:false}, {State:0, x:50, _eh293:true, _ft177:58, y:550, action:"", rotation:0, width:500, prClass:_tq12, height:50, active:false}, {x:104, _ft177:0, y:502, prClass:_sg385}, {State:9, x:157, _ft177:61, y:-200, color:0, radius:15, prClass:_ox149}, {State:9, x:286, _ft177:62, y:-300, color:1, radius:15, prClass:_ox149}, {State:0, x:498, _eh293:true, _ft177:63, y:-400, action:"", rotation:0, width:50, prClass:_tq12, height:350, active:false}, {x:373, _ft177:64, y:534, prClass:_rh465, action:"unfix 63;disable;"}, {width:504, x:301, _ft177:60, y:385, prClass:_rq150, height:345}, {State:0, x:548, _eh293:false, _ft177:59, y:100, action:"", rotation:0, width:50, prClass:_tq12, height:500, active:false}, {State:0, x:598, _eh293:false, _ft177:65, y:550, action:"", rotation:0, width:350, prClass:_tq12, height:50, active:false}, {x:951, orientation:0, _ft177:67, y:550, width:120, timeDelay:-1, prClass:_nd36, height:50}, {x:900, _ft177:68, y:535, prClass:_na10, _ac127:true}, {x:842, _ft177:66, y:159, prClass:_be514}, {State:0, x:1074, _eh293:true, _ft177:69, y:300, action:"", rotation:0, width:300, prClass:_tq12, height:300, active:false}, {State:0, x:1314, _eh293:true, _ft177:70, y:113, action:"", rotation:0, width:150, prClass:_tq12, height:50, active:false}, {State:5, x:1341, _ft177:71, y:79, color:0, radius:15, prClass:_ox149}, {x:1423, _ft177:72, y:85, prClass:_iq290, type:1}, {State:0, x:1374, _eh293:true, _ft177:73, y:500, action:"", rotation:0, width:400, prClass:_tq12, height:100, active:false}, {x:1466, _ft177:74, y:465, prClass:_la261, radius:24}, {x:1727, _ft177:75, y:485, prClass:_na10, _ac127:true}, {State:0, x:1773, _eh293:true, _ft177:76, y:301, action:"", rotation:0, width:50, prClass:_tq12, height:300, active:false}, {State:9, x:1906, _ft177:79, y:291, color:1, radius:15, prClass:_ox149}, {State:0, x:2236, _eh293:true, _ft177:80, y:310, action:"", rotation:0, width:150, prClass:_tq12, height:300, active:false}, {x:2348, _ft177:83, y:268, prClass:_iq290, type:1}, {numBlocks:7, x:1990, _ft177:77, y:315, _gj521:0, blockWidth:50, prClass:_iv70}, {State:0, x:2384, _eh293:true, _ft177:81, y:253, action:"", rotation:0, width:100, prClass:_tq12, height:350, active:false}, {State:0, x:2482, _eh293:true, _ft177:82, y:551, action:"", rotation:0, width:400, prClass:_tq12, height:50, active:false}, {State:0, x:2880, _eh293:true, _ft177:84, y:500, action:"", rotation:0, width:100, prClass:_tq12, height:100, active:false}, {x:2563, _ft177:85, y:0x0202, prClass:_la261, radius:24}, {x:2793, _ft177:86, y:0x0200, prClass:_la261, radius:24}, {State:9, x:2620, _ft177:88, y:513, color:1, radius:15, prClass:_ox149}, {State:9, x:2847, _ft177:89, y:0x0200, color:0, radius:15, prClass:_ox149}, {x:2929, _ft177:91, y:485, prClass:_na10, _ac127:true}, {State:0, x:3077, _eh293:true, _ft177:92, y:547, action:"", rotation:0, width:450, prClass:_tq12, height:50, active:false}, {width:455, x:3301, _ft177:94, y:379, prClass:_rq150, height:340}, {x:3010, _ft177:0, y:106, prClass:_sg385}, {State:0, x:3452, _eh293:false, _ft177:97, y:171, action:"", rotation:-34, width:100, prClass:_tq12, height:50, active:false}, {State:0, x:3527, _eh293:false, _ft177:93, y:147, action:"", rotation:0, width:100, prClass:_tq12, height:450, active:false}, {State:101, x:3206, _ft177:99, y:422, prClass:_jq234}, {State:101, x:3428, _ft177:100, y:298, prClass:_jq234}, {x:3088, y:166, action:"", height:7, dx:1, active:false, State:1, dist:300, _eh293:true, _ft177:98, dy:0, width:80, prClass:_tq12, rotation:0}, {State:0, x:2978, _eh293:true, _ft177:90, y:149, action:"", rotation:0, width:100, prClass:_tq12, height:450, active:false}, {State:0, x:3565, _eh293:false, _ft177:101, y:318, action:"", rotation:30, width:700, prClass:_tq12, height:50, active:false}, {x:3709, _ft177:103, y:156, prClass:_iq290, type:1}, {x:3978, _ft177:102, y:123, prClass:_be514}, {State:0, x:4200, _eh293:true, _ft177:104, y:485, action:"", rotation:0, width:300, prClass:_tq12, height:150, active:false}, {x:4227, _ft177:0, y:448, prClass:_sg385}, {State:0, x:4570, _eh293:true, _ft177:106, y:415, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {State:0, x:4703, _eh293:true, _ft177:107, y:488, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {State:0, x:4853, _eh293:true, _ft177:108, y:355, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {State:0, x:4980, _eh293:true, _ft177:109, y:213, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {State:0, x:5151, _eh293:true, _ft177:110, y:153, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {State:0, x:5306, _eh293:true, _ft177:111, y:301, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {State:0, x:5357, _eh293:true, _ft177:113, y:427, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {x:5172, _ft177:117, y:115, prClass:_iq290, type:1}, {State:5, x:5324, _ft177:118, y:274, color:1, radius:15, prClass:_ox149}, {x:4872, _ft177:120, y:316, prClass:_iq290, type:1}, {State:5, x:5004, _ft177:119, y:193, color:1, radius:15, prClass:_ox149}, {State:0, x:5401, _eh293:true, _ft177:112, y:550, action:"", rotation:0, width:300, prClass:_tq12, height:50, active:false}, {State:0, x:5700, _eh293:true, _ft177:114, y:6, action:"", rotation:0, width:300, prClass:_tq12, height:600, active:false}, {x:5623, _ft177:115, y:459, prClass:_kp425}, {x:5545, _ft177:116, y:0x0200, prClass:_iq290, type:1}]}, {mapWidth:6800, lives:2, scrollY:false, txtMsgs:[], objects:[{x:51, _ft177:0, y:424, prClass:_sg385}, {State:0, x:2, _eh293:true, _ft177:1, y:549, action:"", rotation:0, width:600, prClass:_tq12, height:50, active:false}, {State:4, x:522, _ft177:45, y:524, color:1, radius:15, prClass:_ox149}, {State:0, x:600, _eh293:true, _ft177:2, y:449, action:"", rotation:0, width:150, prClass:_tq12, height:150, active:false}, {State:0, x:1085, _eh293:true, _ft177:4, y:450, action:"", rotation:0, width:100, prClass:_tq12, height:150, active:false}, {x:626, _ft177:0, y:415, prClass:_iq290, type:1}, {State:9, x:916, _ft177:52, y:326, color:0, radius:15, prClass:_ox149}, {numBlocks:7, x:885, _ft177:3, y:457, _gj521:0, blockWidth:40, prClass:_iv70}, {x:1208, _ft177:47, y:518, prClass:_la261, radius:24}, {State:0, x:1184, _eh293:true, _ft177:6, y:550, action:"", rotation:0, width:200, prClass:_tq12, height:50, active:false}, {x:1386, orientation:0, _ft177:7, y:553, width:120, timeDelay:-1, prClass:_nd36, height:50}, {State:0, x:1506, _eh293:true, _ft177:8, y:552, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {x:1604, orientation:0, _ft177:8, y:553, width:120, timeDelay:-1, prClass:_nd36, height:50}, {State:6, x:1556, _ft177:49, y:536, color:1, radius:15, prClass:_ox149}, {State:0, x:1722, _eh293:false, _ft177:12, y:536, action:"", rotation:-6, width:300, prClass:_tq12, height:50, active:false}, {State:0, x:2017, _eh293:false, _ft177:13, y:521, action:"", rotation:0, width:150, prClass:_tq12, height:50, active:false}, {State:0, x:2162, _eh293:false, _ft177:72, y:536, action:"", rotation:6, width:300, prClass:_tq12, height:50, active:false}, {x:2090, _ft177:15, y:340, prClass:_be514}, {State:0, x:2458, _eh293:false, _ft177:16, y:550, action:"", rotation:0, width:250, prClass:_tq12, height:50, active:false}, {State:0, x:2707, _eh293:true, _ft177:17, y:451, action:"", rotation:0, width:100, prClass:_tq12, height:150, active:false}, {x:2661, _ft177:19, y:538, prClass:_na10, _ac127:true}, {State:0, x:2804, _eh293:true, _ft177:20, y:350, action:"", rotation:0, width:100, prClass:_tq12, height:250, active:false}, {State:0, x:2903, _eh293:true, _ft177:21, y:162, action:"", rotation:0, width:100, prClass:_tq12, height:450, active:false}, {x:2731, _ft177:22, y:497, prClass:_na10, _ac127:true}, {x:2858, _ft177:24, y:334, prClass:_na10, _ac127:true}, {State:9, x:2767, _ft177:50, y:412, color:1, radius:15, prClass:_ox149}, {x:2948, _ft177:0, y:134, prClass:_iq290, type:0}, {x:2907, orientation:2, _ft177:71, y:165, width:50, timeDelay:100, prClass:_nd36, height:80}, {State:0, x:3002, _eh293:true, _ft177:21, y:162, action:"", rotation:0, width:100, prClass:_tq12, height:450, active:false}, {width:400, x:3300, _ft177:25, y:378, prClass:_rq150, height:350}, {State:0, x:3100, _eh293:true, _ft177:26, y:550, action:"", rotation:0, width:400, prClass:_tq12, height:50, active:false}, {x:3141, _ft177:0, y:517, prClass:_iq290, type:1}, {State:9, x:3242, _ft177:31, y:502, color:1, radius:15, prClass:_ox149}, {State:102, x:3127, _ft177:32, y:370, prClass:_jq234, distance:90}, {State:0, x:3449, _eh293:true, _ft177:33, y:199, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {State:0, x:3498, _eh293:true, _ft177:27, y:150, action:"", rotation:0, width:100, prClass:_tq12, height:450, active:false}, {x:3558, _ft177:0, y:108, prClass:_sg385}, {State:0, x:3799, _eh293:true, _ft177:35, y:302, action:"", rotation:0, width:300, prClass:_tq12, height:100, active:false}, {State:0, x:4098, _eh293:true, _ft177:37, y:302, action:"", rotation:0, width:50, prClass:_tq12, height:250, active:false}, {State:0, x:3747, _eh293:false, _ft177:36, y:549, action:"", rotation:0, width:400, prClass:_tq12, height:50, active:false}, {State:0, x:3597, _eh293:false, _ft177:34, y:301, action:"", rotation:0, width:150, prClass:_tq12, height:300, active:false}, {x:3604, _ft177:53, y:288, prClass:_na10, _ac127:true}, {x:3696, orientation:3, _ft177:54, y:332, width:48, timeDelay:80, prClass:_nd36, height:70}, {State:0, x:4146, _eh293:true, _ft177:57, y:253, action:"", rotation:0, width:100, prClass:_tq12, height:350, active:false}, {State:0, x:4065, _eh293:true, _ft177:59, y:138, action:"", rotation:0, width:50, prClass:_tq12, height:50, active:false}, {x:4072, _ft177:60, y:123, prClass:_rh465, action:"unfix 63;disable;"}, {x:3969, _ft177:0, y:516, prClass:_iq290, type:1}, {State:9, x:4014, _ft177:38, y:534, color:0, radius:15, prClass:_ox149}, {x:4054, _ft177:72, y:533, prClass:_rh465, action:"setCollidable 42,true;disable;"}, {x:3752, _ft177:42, y:534, prClass:_na10, _ac127:false}, {width:500, x:4496, _ft177:58, y:420, prClass:_rq150, height:280}, {State:0, x:4245, _eh293:true, _ft177:61, y:552, action:"", rotation:0, width:500, prClass:_tq12, height:50, active:false}, {State:0, x:4745, _eh293:true, _ft177:62, y:249, action:"", rotation:0, width:50, prClass:_tq12, height:350, active:false}, {State:0, x:4227, _eh293:true, _ft177:63, y:14, action:"", rotation:0, width:550, prClass:_tq12, height:50, active:false}, {State:101, x:4370, _ft177:64, y:405, prClass:_jq234}, {State:101, x:4543, _ft177:65, y:476, prClass:_jq234}, {State:101, x:4534, _ft177:66, y:475, prClass:_jq234}, {x:4833, _ft177:0, y:218, prClass:_iq290, type:1}, {State:0, x:4795, _eh293:true, _ft177:67, y:250, action:"", rotation:0, width:250, prClass:_tq12, height:400, active:false}, {numBlocks:11, x:5310, _ft177:75, y:0x0101, _gj521:14, blockWidth:50, prClass:_iv70}, {State:0, x:5658, _eh293:true, _ft177:77, y:419, action:"", rotation:0, width:500, prClass:_tq12, height:200, active:false}, {x:5412, _ft177:80, y:272, prClass:_be514}, {x:6080, _ft177:78, y:327, prClass:_kp425}, {x:6003, _ft177:79, y:376, prClass:_iq290, type:1}, {State:0, x:6158, _eh293:true, _ft177:81, y:0, action:"", rotation:0, width:350, prClass:_tq12, height:600, active:false}]}, {mapWidth:11800, lives:2, scrollY:false, txtMsgs:[], objects:[{x:37, _ft177:0, prClass:_sg385, y:508}, {State:0, x:0, y:550, action:"", rotation:0, width:100, _eh293:false, _ft177:57, prClass:_tq12, height:50, active:false}, {State:0, x:54, y:434, action:"", rotation:-30, width:500, _eh293:false, _ft177:58, prClass:_tq12, height:50, active:false}, {State:0, x:-12, y:319, action:"", rotation:-30, width:500, _eh293:false, _ft177:71, prClass:_tq12, height:50, active:false}, {x:193, _ft177:121, prClass:_iq290, y:308, type:1}, {x:468, _ft177:122, prClass:_iq290, y:166, type:0}, {State:9, x:380, y:357, color:1, radius:15, _ft177:124, prClass:_ox149}, {State:9, x:774, y:224, color:0, radius:15, _ft177:125, prClass:_ox149}, {State:0, x:503, y:249, action:"", rotation:-15, width:500, _eh293:false, _ft177:59, prClass:_tq12, height:50, active:false}, {State:0, x:986, y:187, action:"", rotation:0, width:250, _eh293:false, _ft177:60, prClass:_tq12, height:50, active:false}, {State:0, x:441, y:133, action:"", rotation:-15, width:500, _eh293:false, _ft177:72, prClass:_tq12, height:50, active:false}, {State:0, x:926, y:69, action:"", rotation:0, width:250, _eh293:false, _ft177:73, prClass:_tq12, height:50, active:false}, {x:727, _ft177:123, prClass:_iq290, y:92, type:1}, {State:0, x:1235, y:187, action:"", rotation:0, width:50, _eh293:false, _ft177:61, prClass:_tq12, height:450, active:false}, {x:1441, _ft177:64, prClass:_na10, y:538, _ac127:true}, {State:0, x:1484, y:203, action:"", rotation:0, width:50, _eh293:false, _ft177:63, prClass:_tq12, height:400, active:false}, {State:0, x:1505, y:290, action:"", rotation:21, width:500, _eh293:false, _ft177:65, prClass:_tq12, height:50, active:false}, {State:0, x:1284, y:389, action:"", rotation:0, width:50, _eh293:true, _ft177:67, prClass:_tq12, height:50, active:false}, {x:1288, _ft177:66, prClass:_na10, y:375, _ac127:true}, {x:1452, _ft177:127, prClass:_iq290, y:486, type:1}, {x:1310, radius:24, _ft177:128, prClass:_la261, y:519}, {x:1530, _ft177:0, prClass:_sg385, y:175}, {State:0, x:1284, y:552, action:"", rotation:0, width:200, _eh293:true, _ft177:62, prClass:_tq12, height:50, active:false}, {State:9, x:961, y:171, color:1, radius:15, _ft177:126, prClass:_ox149}, {State:0, x:1952, y:290, action:"", rotation:-21, width:500, _eh293:false, _ft177:68, prClass:_tq12, height:50, active:false}, {x:1950, _ft177:74, prClass:_be514, y:129}, {x:2691, blockWidth:60, y:245, numBlocks:8, _ft177:70, prClass:_iv70, _gj521:7}, {State:0, x:3006, y:312, action:"", rotation:0, width:50, _eh293:false, _ft177:75, prClass:_tq12, height:350, active:false}, {x:3056, orientation:3, timeDelay:-1, y:332, width:70, _ft177:76, prClass:_nd36, height:100}, {x:3256, _ft177:78, prClass:_na10, y:539, _ac127:true}, {State:0, x:3303, y:204, action:"", rotation:0, width:50, _eh293:false, _ft177:79, prClass:_tq12, height:400, active:false}, {State:0, x:3314, y:147, action:"", rotation:-20, width:400, _eh293:false, _ft177:80, prClass:_tq12, height:50, active:false}, {State:0, x:3352, y:554, action:"", rotation:0, width:250, _eh293:false, _ft177:83, prClass:_tq12, height:50, active:false}, {State:5, x:3090, y:525, color:1, radius:15, _ft177:131, prClass:_ox149}, {x:3306, orientation:2, timeDelay:100, y:349, width:45, _ft177:132, prClass:_nd36, height:80}, {State:0, x:3055, y:554, action:"", rotation:0, width:250, _eh293:false, _ft177:77, prClass:_tq12, height:50, active:false}, {x:3355, orientation:0, timeDelay:-1, y:503, width:120, _ft177:139, prClass:_nd36, height:50}, {x:3549, _ft177:134, prClass:_iq290, y:282, type:1}, {State:0, x:3596, y:164, action:"", rotation:-20, width:400, _eh293:false, _ft177:81, prClass:_tq12, height:50, active:false}, {State:0, x:3968, y:53, action:"", rotation:0, width:50, _eh293:false, _ft177:82, prClass:_tq12, height:450, active:false}, {State:0, x:3601, y:554, action:"", rotation:0, width:600, _eh293:false, _ft177:84, prClass:_tq12, height:50, active:false}, {x:4153, _ft177:85, prClass:_na10, y:541, _ac127:true}, {State:0, x:4017, y:323, action:"", rotation:0, width:50, _eh293:true, _ft177:86, prClass:_tq12, height:50, active:false}, {x:4021, _ft177:87, prClass:_na10, y:307, _ac127:true}, {x:4051, _ft177:0, prClass:_sg385, y:524}, {State:4, x:3638, y:531, color:1, radius:15, _ft177:135, prClass:_ox149}, {x:3974, _ft177:142, prClass:_na10, y:37, _ac127:true}, {State:0, x:4198, y:554, action:"", rotation:0, width:600, _eh293:false, _ft177:89, prClass:_tq12, height:50, active:false}, {State:0, x:4199, y:54, action:"", rotation:0, width:50, _eh293:false, _ft177:88, prClass:_tq12, height:500, active:false}, {State:0, x:4747, y:53, action:"", rotation:0, width:50, _eh293:false, _ft177:90, prClass:_tq12, height:500, active:false}, {width:500, x:4498, _ft177:91, prClass:_rq150, y:319, height:480}, {State:102, x:4293, _ft177:92, prClass:_jq234, y:273, distance:100}, {State:102, x:4478, _ft177:93, prClass:_jq234, y:154, distance:50}, {x:4250, orientation:0, timeDelay:-1, y:506, width:120, _ft177:94, prClass:_nd36, height:50}, {x:0x1212, orientation:0, timeDelay:-1, y:503, width:120, _ft177:95, prClass:_nd36, height:50}, {x:4437, _ft177:96, prClass:_iq290, y:523, type:1}, {x:4251, orientation:3, timeDelay:-1, y:332, width:70, _ft177:97, prClass:_nd36, height:100}, {x:4279, _ft177:98, prClass:_iq290, y:468, type:1}, {x:4224, _ft177:136, prClass:_iq290, y:22, type:1}, {State:0, x:4799, y:554, action:"", rotation:0, width:350, _eh293:true, _ft177:101, prClass:_tq12, height:50, active:false}, {x:4933, orientation:0, timeDelay:-1, y:504, width:120, _ft177:104, prClass:_nd36, height:50}, {State:0, x:4896, y:53, action:"unfix 103;disable;", rotation:0, width:200, _eh293:false, _ft177:103, prClass:_tq12, height:50, active:true}, {State:0, x:5150, y:554, action:"", rotation:0, width:350, _eh293:true, _ft177:105, prClass:_tq12, height:50, active:false}, {State:0, x:5220, y:268, action:"", rotation:0, width:50, _eh293:true, _ft177:107, prClass:_tq12, height:50, active:false}, {x:0x1414, _ft177:109, prClass:_na10, y:538, _ac127:true}, {State:0, x:4798, y:53, action:"", rotation:0, width:100, _eh293:false, _ft177:102, prClass:_tq12, height:50, active:false}, {State:0, x:0x1400, y:99, action:"", rotation:0, width:50, _eh293:true, _ft177:108, prClass:_tq12, height:50, active:false}, {x:5151, _ft177:137, prClass:_iq290, y:69, type:1}, {x:5430, _ft177:106, prClass:_kp425, y:463}, {State:0, x:5700, y:549, action:"", rotation:0, width:200, _eh293:true, _ft177:112, prClass:_tq12, height:50, active:false}, {State:0, x:5500, y:49, action:"", rotation:0, width:200, _eh293:false, _ft177:110, prClass:_tq12, height:550, active:false}, {State:9, x:5773, y:471, color:1, radius:15, _ft177:113, prClass:_ox149}, {State:9, x:5823, y:421, color:1, radius:15, _ft177:114, prClass:_ox149}, {State:9, x:5754, y:381, color:0, radius:15, _ft177:115, prClass:_ox149}, {State:9, x:5804, y:331, color:0, radius:15, _ft177:116, prClass:_ox149}, {State:9, x:5754, y:328, color:0, radius:15, _ft177:117, prClass:_ox149}, {State:9, x:5859, y:459, color:1, radius:15, _ft177:118, prClass:_ox149}, {State:0, x:5850, y:402, action:"", rotation:0, width:50, _eh293:true, _ft177:119, prClass:_tq12, height:50, active:false}, {x:5860, _ft177:120, prClass:_na10, y:387, _ac127:true}, {State:0, x:5450, y:249, action:"", rotation:0, width:50, _eh293:true, _ft177:140, prClass:_tq12, height:50, active:false}, {x:5470, _ft177:141, prClass:_iq290, y:218, type:1}, {State:0, x:5900, y:-146, action:"", rotation:0, width:200, _eh293:true, _ft177:111, prClass:_tq12, height:750, active:false}]}, {mapWidth:15800, lives:1, scrollY:false, txtMsgs:[], objects:[{x:37, y:508, _ft177:0, prClass:_sg385}, {State:0, x:0, action:"", y:550, height:50, width:600, active:false, _eh293:true, _ft177:57, prClass:_tq12, rotation:0}, {State:0, x:0, action:"", y:0, height:300, width:600, active:false, _eh293:true, _ft177:58, prClass:_tq12, rotation:0}, {State:9, x:752, y:434, _ft177:161, color:0, radius:15, prClass:_ox149}, {State:9, x:963, y:333, _ft177:160, color:1, radius:15, prClass:_ox149}, {State:0, x:600, action:"", y:0, height:200, width:600, active:false, _eh293:true, _ft177:60, prClass:_tq12, rotation:0}, {State:0, x:553, action:"", y:423, height:50, width:600, active:false, _eh293:false, _ft177:59, prClass:_tq12, rotation:-27}, {_ft177:162, x:1198, y:0x0100, type:1, prClass:_iq290}, {x:951, orientation:1, y:120, timeDelay:100, height:80, width:120, _ft177:163, prClass:_nd36}, {State:0, x:1108, action:"", y:289, height:50, width:200, active:false, _eh293:false, _ft177:61, prClass:_tq12, rotation:0}, {State:0, x:1264, action:"", y:422, height:50, width:600, active:false, _eh293:false, _ft177:63, prClass:_tq12, rotation:27}, {State:0, x:1200, action:"", y:0, height:200, width:600, active:false, _eh293:true, _ft177:64, prClass:_tq12, rotation:0}, {x:1342, orientation:1, y:124, timeDelay:100, height:80, width:120, _ft177:164, prClass:_nd36}, {State:0, x:1800, action:"", y:0, height:200, width:250, active:false, _eh293:true, _ft177:67, prClass:_tq12, rotation:0}, {State:0, x:0x0800, action:"", y:0, height:450, width:100, active:false, _eh293:true, _ft177:68, prClass:_tq12, rotation:0}, {x:2050, orientation:1, y:350, timeDelay:50, height:100, width:90, _ft177:69, prClass:_nd36}, {State:0, x:2147, action:"", y:0, height:200, width:250, active:false, _eh293:true, _ft177:70, prClass:_tq12, rotation:0}, {_ft177:90, x:2188, y:244, type:1, prClass:_iq290}, {_gj521:-10, x:2080, y:560, _ft177:65, numBlocks:10, blockWidth:50, prClass:_iv70}, {_gj521:18, x:2238, y:301, _ft177:99, numBlocks:3, blockWidth:63, prClass:_iv70}, {State:0, x:2396, action:"", y:447, height:200, width:400, active:false, _eh293:false, _ft177:71, prClass:_tq12, rotation:0}, {State:0, x:2395, action:"", y:0, height:100, width:600, active:false, _eh293:true, _ft177:72, prClass:_tq12, rotation:0}, {x:2797, orientation:0, y:498, timeDelay:-1, height:100, width:200, _ft177:73, prClass:_nd36}, {State:0, x:2545, action:"", y:216, height:50, width:50, active:false, _eh293:false, _ft177:75, prClass:_tq12, rotation:0}, {State:0, x:2805, action:"", y:106, height:50, width:200, active:false, _eh293:false, _ft177:74, prClass:_tq12, rotation:0}, {x:2551, action:"unfix 74;disable;", y:201, _ft177:77, prClass:_rh465}, {_ac127:true, x:2477, y:432, _ft177:76, prClass:_na10}, {State:0, x:2994, action:"", y:0, height:50, width:650, active:false, _eh293:true, _ft177:79, prClass:_tq12, rotation:0}, {State:0, x:3012, action:"", y:435, height:50, width:150, active:false, _eh293:false, _ft177:81, prClass:_tq12, rotation:-19}, {x:3162, y:440, dist:110, active:false, dx:0, _eh293:false, _ft177:80, prClass:_tq12, rotation:0, State:1, action:"", width:80, dy:-3, height:7}, {State:0, x:3254, action:"", y:137, height:50, width:300, active:false, _eh293:false, _ft177:84, prClass:_tq12, rotation:0}, {x:3345, orientation:1, y:0, timeDelay:100, height:49, width:70, _ft177:87, prClass:_nd36}, {State:0, x:3008, action:"", y:451, height:150, width:400, active:false, _eh293:false, _ft177:78, prClass:_tq12, rotation:0}, {State:0, x:3252, action:"", y:426, height:50, width:150, active:false, _eh293:false, _ft177:89, prClass:_tq12, rotation:19}, {_ft177:115, x:3195, y:98, type:1, prClass:_iq290}, {State:0, x:3554, action:"", y:137, height:50, width:300, active:false, _eh293:false, _ft177:85, prClass:_tq12, rotation:0}, {State:0, x:3644, action:"", y:0, height:50, width:400, active:false, _eh293:true, _ft177:86, prClass:_tq12, rotation:0}, {x:3713, orientation:1, y:1.5, timeDelay:100, height:49, width:70, _ft177:88, prClass:_nd36}, {State:0, x:3956, action:"", y:347, height:50, width:50, active:false, _eh293:true, _ft177:93, prClass:_tq12, rotation:0}, {State:0, x:4115, action:"", y:459, height:50, width:50, active:false, _eh293:true, _ft177:94, prClass:_tq12, rotation:0}, {State:0, x:3867, action:"", y:273, height:50, width:50, active:false, _eh293:true, _ft177:92, prClass:_tq12, rotation:0}, {_ft177:117, x:4128, y:177, type:1, prClass:_iq290}, {State:5, x:4135, y:398, _ft177:118, color:1, radius:15, prClass:_ox149}, {State:0, x:4296, action:"", y:372, height:50, width:50, active:false, _eh293:true, _ft177:96, prClass:_tq12, rotation:0}, {x:4515, y:494, _ft177:0, prClass:_sg385}, {State:0, x:4492, action:"", y:550, height:50, width:350, active:false, _eh293:false, _ft177:98, prClass:_tq12, rotation:0}, {State:0, x:4043, action:"", y:0, height:50, width:600, active:false, _eh293:false, _ft177:95, prClass:_tq12, rotation:0}, {_ft177:119, x:4515, y:222, type:0, prClass:_iq290}, {_ac127:true, x:4504, y:538, _ft177:120, prClass:_na10}, {State:0, x:4801, action:"", y:50, height:400, width:50, active:false, _eh293:true, _ft177:102, prClass:_tq12, rotation:0}, {State:0, x:4993, action:"", y:0, height:50, width:350, active:false, _eh293:true, _ft177:105, prClass:_tq12, rotation:0}, {State:0, x:4841, action:"", y:551, height:50, width:350, active:false, _eh293:false, _ft177:100, prClass:_tq12, rotation:0}, {State:0, x:4851, action:"", y:401, height:50, width:350, active:false, _eh293:true, _ft177:106, prClass:_tq12, rotation:0}, {State:0, x:5343, action:"", y:0, height:450, width:50, active:false, _eh293:true, _ft177:104, prClass:_tq12, rotation:0}, {State:0, x:5190, action:"", y:551, height:50, width:200, active:false, _eh293:false, _ft177:103, prClass:_tq12, rotation:0}, {State:0, x:4643, action:"", y:0, height:50, width:350, active:false, _eh293:true, _ft177:101, prClass:_tq12, rotation:0}, {State:0, x:4983, action:"", y:276, height:50, width:50, active:false, _eh293:true, _ft177:110, prClass:_tq12, rotation:0}, {x:4851, orientation:3, y:96, timeDelay:-1, height:100, width:60, _ft177:111, prClass:_nd36}, {_ft177:112, x:4965, y:105, type:1, prClass:_iq290}, {_ft177:113, x:5300, y:91, type:1, prClass:_iq290}, {State:9, x:5223, y:96, _ft177:114, color:1, radius:15, prClass:_ox149}, {State:0, x:5194, action:"", y:125, height:50, width:150, active:false, _eh293:false, _ft177:108, prClass:_tq12, rotation:0}, {_ac127:true, x:5233, y:534, _ft177:107, prClass:_na10}, {x:5242, orientation:1, y:131, timeDelay:80, height:39, width:100, _ft177:109, prClass:_nd36}, {State:0, x:5393, action:"", y:125, height:50, width:200, active:false, _eh293:true, _ft177:122, prClass:_tq12, rotation:0}, {_ac127:true, x:0x1600, y:537, _ft177:123, prClass:_na10}, {State:6, x:5438, y:111, _ft177:124, color:1, radius:15, prClass:_ox149}, {_ft177:125, x:5512, y:96, type:1, prClass:_iq290}, {State:0, x:5709, action:"", y:279, height:50, width:50, active:false, _eh293:true, _ft177:126, prClass:_tq12, rotation:0}, {_ft177:129, x:5730, y:522, radius:24, prClass:_la261}, {State:0, x:5941, action:"", y:501, height:50, width:50, active:false, _eh293:true, _ft177:130, prClass:_tq12, rotation:0}, {State:0, x:5882, action:"", y:134, height:50, width:50, active:false, _eh293:true, _ft177:127, prClass:_tq12, rotation:0}, {_ft177:128, x:5914, y:102, type:1, prClass:_iq290}, {State:9, x:5841, y:534, _ft177:131, color:1, radius:15, prClass:_ox149}, {State:0, x:5390, action:"", y:551, height:50, width:600, active:false, _eh293:true, _ft177:121, prClass:_tq12, rotation:0}, {State:0, x:5990, action:"", y:551, height:50, width:600, active:false, _eh293:true, _ft177:132, prClass:_tq12, rotation:0}, {x:6398, orientation:0, y:501, timeDelay:-1, height:50, width:120, _ft177:134, prClass:_nd36}, {_ft177:135, x:6354, y:522, type:1, prClass:_iq290}, {x:6166, orientation:0, y:499, timeDelay:-1, height:50, width:120, _ft177:133, prClass:_nd36}, {State:0, x:6590, action:"", y:500, height:100, width:600, active:false, _eh293:true, _ft177:136, prClass:_tq12, rotation:0}, {_ft177:137, x:6744, y:96, type:1, prClass:_iq290}, {_ac127:true, x:6703, y:485, _ft177:140, prClass:_na10}, {_ac127:true, x:7106, y:485, _ft177:141, prClass:_na10}, {_ft177:138, x:7084, y:187, type:1, prClass:_iq290}, {x:6920, y:254, _ft177:139, prClass:_be514}, {State:0, x:7190, action:"", y:400, height:200, width:600, active:false, _eh293:true, _ft177:142, prClass:_tq12, rotation:0}, {_ft177:144, x:7250, y:375, radius:24, prClass:_la261}, {State:0, x:7614, action:"", y:229, height:50, width:100, active:false, _eh293:true, _ft177:145, prClass:_tq12, rotation:0}, {x:7652, y:192, _ft177:0, prClass:_sg385}, {_ft177:150, x:7777, y:64, type:1, prClass:_iq290}, {State:0, x:7789, action:"", y:400, height:200, width:600, active:false, _eh293:true, _ft177:146, prClass:_tq12, rotation:0}, {x:7939, orientation:0, y:392, timeDelay:100, height:50, width:120, _ft177:147, prClass:_nd36}, {State:0, x:8074, action:"", y:281, height:50, width:100, active:false, _eh293:true, _ft177:148, prClass:_tq12, rotation:0}, {_ft177:151, x:7994, y:177, type:1, prClass:_iq290}, {State:0, x:8220, action:"", y:68, height:50, width:100, active:false, _eh293:true, _ft177:152, prClass:_tq12, rotation:0}, {_ft177:154, x:8274, y:33, type:1, prClass:_iq290}, {x:8222, orientation:1, y:116, timeDelay:-1, height:40, width:90, _ft177:155, prClass:_nd36}, {_ac127:true, x:8344, y:387, _ft177:156, prClass:_na10}, {State:0, x:8389, action:"", y:200, height:400, width:600, active:false, _eh293:true, _ft177:153, prClass:_tq12, rotation:0}, {x:8895, y:109, _ft177:157, prClass:_kp425}, {_ft177:159, x:8449, y:159, radius:24, prClass:_la261}, {State:0, x:8988, action:"", y:-200, height:800, width:600, active:false, _eh293:true, _ft177:158, prClass:_tq12, rotation:0}]}, {mapWidth:10000, lives:2, scrollY:false, txtMsgs:[], defaultGroup:[{width:2000, x:1646, y:425, _ft177:60, prClass:_nm157, height:350}], objects:[{x:37, _ft177:0, y:508, prClass:_sg385}, {State:0, x:0, _eh293:true, _ft177:57, y:554, action:"", rotation:0, width:600, prClass:_tq12, height:50, active:false}, {x:551, _ft177:59, y:539, prClass:_na10, _ac127:true}, {State:0, x:599, _eh293:true, _ft177:58, y:202, action:"", rotation:0, width:50, prClass:_tq12, height:400, active:false}, {State:0, x:646, _eh293:true, _ft177:60, y:573, action:"", rotation:0, width:550, prClass:_tq12, height:50, active:false}, {State:0, x:806, _eh293:false, _ft177:98, y:174, action:"", rotation:-35, width:350, prClass:_tq12, height:50, active:false}, {x:1171, _ft177:99, y:58, prClass:_iq290, type:1}, {x:1046, orientation:0, _ft177:103, y:523, width:120, timeDelay:-1, prClass:_nd36, height:50}, {State:0, x:1195, _eh293:true, _ft177:61, y:573, action:"", rotation:0, width:550, prClass:_tq12, height:50, active:false}, {State:0, x:1604, _eh293:false, _ft177:104, y:153, action:"", rotation:-35, width:350, prClass:_tq12, height:50, active:false}, {State:9, x:1237, _ft177:113, y:363, color:1, radius:15, prClass:_ox149}, {x:1345, _ft177:114, y:410, prClass:_iq290, type:1}, {State:102, x:1404, _ft177:101, y:489, prClass:_jq234, distance:150}, {State:102, x:1006, _ft177:100, y:271, prClass:_jq234, distance:150}, {State:0, x:1744, _eh293:true, _ft177:62, y:573, action:"", rotation:0, width:550, prClass:_tq12, height:50, active:false}, {x:2054, orientation:0, _ft177:105, y:525, width:120, timeDelay:-1, prClass:_nd36, height:50}, {x:1981, _ft177:106, y:171, prClass:_iq290, type:1}, {x:2040, _ft177:107, y:43, prClass:_iq290, type:1}, {x:1904, _ft177:108, y:20, prClass:_la261, radius:24}, {State:102, x:1760, _ft177:112, y:274, prClass:_jq234, distance:150}, {State:0, x:2293, _eh293:true, _ft177:63, y:573, action:"", rotation:0, width:350, prClass:_tq12, height:50, active:false}, {State:0, x:2456, _eh293:false, _ft177:65, y:227, action:"", rotation:-16, width:200, prClass:_tq12, height:50, active:false}, {State:0, x:2642, _eh293:false, _ft177:64, y:199, action:"", rotation:0, width:50, prClass:_tq12, height:400, active:false}, {x:2691, orientation:0, _ft177:66, y:548, width:120, timeDelay:-1, prClass:_nd36, height:50}, {State:0, x:2812, _eh293:true, _ft177:67, y:400, action:"", rotation:0, width:300, prClass:_tq12, height:200, active:false}, {x:2824, _ft177:85, y:385, prClass:_na10, _ac127:true}, {x:2971, _ft177:96, y:114, prClass:_iq290, type:1}, {State:9, x:2606, _ft177:110, y:277, color:1, radius:15, prClass:_ox149}, {x:2587, _ft177:111, y:350, prClass:_iq290, type:1}, {State:102, x:0x0900, _ft177:109, y:513, prClass:_jq234, distance:70}, {State:0, x:3427, _eh293:true, _ft177:93, y:248, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {State:0, x:3205, _eh293:true, _ft177:94, y:125, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {State:5, x:3223, _ft177:95, y:92, color:1, radius:15, prClass:_ox149}, {numBlocks:7, x:3280, _ft177:68, y:416, _gj521:0, blockWidth:50, prClass:_iv70}, {State:0, x:3524, _eh293:true, _ft177:69, y:408, action:"", rotation:0, width:300, prClass:_tq12, height:200, active:false}, {x:3700, orientation:0, _ft177:70, y:357, width:120, timeDelay:-1, prClass:_nd36, height:50}, {State:0, x:3870, _eh293:true, _ft177:71, y:279, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {State:0, x:4021, _eh293:true, _ft177:72, y:417, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {State:9, x:4246, _ft177:78, y:28, color:1, radius:15, prClass:_ox149}, {State:0, x:4429, _eh293:true, _ft177:74, y:417, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {State:0, x:4201, _eh293:true, _ft177:76, y:50, action:"", rotation:0, width:150, prClass:_tq12, height:50, active:false}, {State:0, x:4136, _eh293:true, _ft177:73, y:534, action:"", rotation:0, width:300, prClass:_tq12, height:50, active:false}, {x:4208, orientation:1, _ft177:77, y:101, width:140, timeDelay:-1, prClass:_nd36, height:50}, {State:9, x:4311, _ft177:79, y:21, color:0, radius:15, prClass:_ox149}, {x:4470, _ft177:0, y:379, prClass:_sg385}, {State:0, x:0x1212, _eh293:true, _ft177:75, y:373, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {x:4237, _ft177:80, y:516, prClass:_rh465, action:"unfix 76;unfix 77;friction 77;mass 77,8;mass 76,8;setCollidable 80,false;"}, {State:0, x:4776, _eh293:true, _ft177:82, y:534, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {State:0, x:5034, _eh293:true, _ft177:83, y:529, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {State:0, x:5203, _eh293:true, _ft177:86, y:399, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {x:5269, _ft177:91, y:152, prClass:_iq290, type:1}, {x:5126, _ft177:92, y:230, prClass:_iq290, type:1}, {x:4850, _ft177:81, y:135, prClass:_be514}, {State:0, x:5406, _eh293:true, _ft177:87, y:317, action:"", rotation:0, width:100, prClass:_tq12, height:50, active:false}, {State:0, x:5620, _eh293:true, _ft177:88, y:284, action:"", rotation:0, width:200, prClass:_tq12, height:50, active:false}, {x:5735, _ft177:89, y:195, prClass:_kp425}, {x:5452, _ft177:90, y:277, prClass:_iq290, type:1}]}, {mapWidth:10000, lives:2, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:37, _ft177:0, y:508, prClass:_sg385}, {State:0, x:0, _eh293:true, _ft177:57, y:554, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:0}, {x:300, orientation:0, _ft177:60, y:551, prClass:_nd36, width:120, timeDelay:-1, height:50}, {State:0, x:423, _eh293:true, _ft177:58, y:449, action:"", prClass:_tq12, width:50, active:false, height:150, rotation:0}, {x:476, orientation:0, _ft177:63, y:548, prClass:_nd36, width:120, timeDelay:-1, height:50}, {State:0, x:385, _eh293:true, _ft177:103, y:162, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:192, _eh293:true, _ft177:102, y:81, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:223, _ft177:104, y:48, type:1, prClass:_iq290}, {State:9, x:409, _ft177:105, y:133, prClass:_ox149, color:1, radius:15}, {State:0, x:601, _eh293:true, _ft177:62, y:451, action:"", prClass:_tq12, width:50, active:false, height:150, rotation:0}, {State:0, x:650, _eh293:true, _ft177:61, y:554, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:0}, {x:694, _ft177:66, y:516, radius:24, prClass:_la261}, {x:675, _ft177:67, y:524, type:1, prClass:_iq290}, {State:0, x:992, _eh293:true, _ft177:68, y:102, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:1017, _ft177:69, y:52, type:1, prClass:_iq290}, {State:0, x:949, _eh293:true, _ft177:65, y:450, action:"", prClass:_tq12, width:50, active:false, height:150, rotation:0}, {State:0, x:669, _eh293:true, _ft177:64, y:266, action:"", prClass:_tq12, width:250, active:false, height:50, rotation:0}, {State:9, x:928, _ft177:106, y:529, prClass:_ox149, color:1, radius:15}, {State:5, x:829, _ft177:107, y:241, prClass:_ox149, color:0, radius:15}, {State:0, x:1473, _eh293:true, _ft177:71, y:387, action:"", prClass:_tq12, width:50, active:false, height:250, rotation:0}, {State:0, x:1649, _eh293:true, _ft177:72, y:407, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:1660, _ft177:108, y:252, type:1, prClass:_iq290}, {numBlocks:8, x:1200, _ft177:70, y:470, prClass:_iv70, blockWidth:50, _gj521:-8}, {State:0, x:1857, _eh293:true, _ft177:73, y:405, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:2005, _eh293:true, _ft177:74, y:349, action:"", prClass:_tq12, width:50, active:false, height:250, rotation:0}, {State:0, x:2143, _eh293:true, _ft177:75, y:399, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:2030, _ft177:0, y:276, prClass:_sg385}, {x:2163, _ft177:109, y:357, type:1, prClass:_iq290}, {State:9, x:2366, _ft177:110, y:344, prClass:_ox149, color:1, radius:15}, {State:0, x:2722, _eh293:true, _ft177:79, y:362, action:"", prClass:_tq12, width:150, active:false, height:50, rotation:0}, {State:0, x:2610, _eh293:true, _ft177:78, y:533, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:2331, _eh293:true, _ft177:77, y:379, action:"", prClass:_tq12, width:150, active:false, height:50, rotation:0}, {State:9, x:3528, _ft177:111, y:216, prClass:_ox149, color:1, radius:15}, {x:2534, _ft177:82, y:122, prClass:_be514}, {State:0, x:2861, _eh293:false, _ft177:83, y:315, action:"", prClass:_tq12, width:500, active:false, height:50, rotation:-11}, {State:0, x:3353, _eh293:false, _ft177:84, y:228, action:"", prClass:_tq12, width:400, active:false, height:50, rotation:-11}, {State:0, x:3745, _eh293:false, _ft177:86, y:191, action:"", prClass:_tq12, width:50, active:false, height:450, rotation:0}, {State:0, x:3794, _eh293:true, _ft177:87, y:572, action:"", prClass:_tq12, width:350, active:false, height:50, rotation:0}, {width:350, x:3968, _ft177:85, y:398, prClass:_rq150, height:350}, {State:0, x:4142, _eh293:false, _ft177:88, y:203, action:"", prClass:_tq12, width:50, active:false, height:450, rotation:0}, {State:101, x:3944.28454934721, _ft177:89, y:298.044987866786, prClass:_jq234}, {x:4208, _ft177:94, y:540, _ac127:true, prClass:_na10}, {State:0, x:4446, _eh293:true, _ft177:95, y:225, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {x:4410, orientation:2, _ft177:96, y:273, prClass:_nd36, width:40, timeDelay:-1, height:150}, {x:4515, _ft177:97, y:96, type:1, prClass:_iq290}, {State:0, x:4191, _eh293:false, _ft177:90, y:555, action:"", prClass:_tq12, width:350, active:false, height:50, rotation:0}, {x:4230, _ft177:0, y:189, prClass:_sg385}, {x:4227, _ft177:112, y:312, type:1, prClass:_iq290}, {State:0, x:4529, _eh293:false, _ft177:91, y:504, action:"", prClass:_tq12, width:550, active:false, height:50, rotation:-11}, {State:0, x:5070, _eh293:true, _ft177:92, y:452, action:"", prClass:_tq12, width:250, active:false, height:150, rotation:0}, {x:5182, _ft177:114, y:418, type:1, prClass:_iq290}, {x:5325, orientation:2, _ft177:99, y:266, prClass:_nd36, width:40, timeDelay:100, height:150}, {State:0, x:5319, _eh293:true, _ft177:93, y:0xFF, action:"", prClass:_tq12, width:500, active:false, height:350, rotation:0}, {x:5735, _ft177:100, y:164, prClass:_kp425}, {x:5454, _ft177:113, y:229, radius:24, prClass:_la261}, {State:0, x:5820, _eh293:true, _ft177:101, y:-84, action:"", prClass:_tq12, width:400, active:false, height:700, rotation:0}]}, {mapWidth:10000, lives:5, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:60, _ft177:0, y:96, prClass:_sg385}, {State:0, x:-17, _eh293:false, _ft177:57, y:161, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:20}, {State:0, x:236, _eh293:false, _ft177:58, y:299, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:37}, {State:0, x:489, _eh293:false, _ft177:59, y:435, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:20}, {State:0, x:753, _eh293:false, _ft177:60, y:437, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:-20}, {State:0, x:1017, _eh293:false, _ft177:61, y:437, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:20}, {x:1096, _ft177:87, y:375, type:1, prClass:_iq290}, {State:0, x:1021, _eh293:false, _ft177:88, y:296, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:20}, {State:9, x:903, _ft177:101, y:414, prClass:_ox149, color:0, radius:15}, {State:9, x:273, _ft177:84, y:193, prClass:_ox149, color:1, radius:15}, {x:705, _ft177:86, y:259, prClass:_be514}, {State:9, x:1135, _ft177:102, y:235, prClass:_ox149, color:0, radius:15}, {State:9, x:2084, _ft177:103, y:193, prClass:_ox149, color:1, radius:15}, {numBlocks:7, x:1520, _ft177:62, y:500, prClass:_iv70, blockWidth:60, _gj521:-13}, {State:9, x:2130, _ft177:90, y:163, prClass:_ox149, color:1, radius:15}, {State:0, x:2299, _eh293:false, _ft177:64, y:139, action:"", prClass:_tq12, width:100, active:false, height:300, rotation:0}, {x:2299, orientation:0, _ft177:65, y:148, prClass:_nd36, width:90, timeDelay:70, height:50}, {State:0, x:0x0700, _eh293:false, _ft177:63, y:261, action:"", prClass:_tq12, width:550, active:false, height:50, rotation:-27}, {x:2212, _ft177:89, y:132, type:1, prClass:_iq290}, {State:0, x:2356, _eh293:false, _ft177:66, y:261, action:"", prClass:_tq12, width:550, active:false, height:50, rotation:27}, {State:0, x:2857, _eh293:false, _ft177:67, y:385, action:"", prClass:_tq12, width:100, active:false, height:300, rotation:0}, {x:2860, orientation:0, _ft177:68, y:389, prClass:_nd36, width:90, timeDelay:70, height:50}, {x:2800, _ft177:91, y:104, prClass:_be514}, {State:0, x:2941, _eh293:false, _ft177:69, y:451, action:"", prClass:_tq12, width:550, active:false, height:50, rotation:14}, {State:0, x:3472, _eh293:false, _ft177:70, y:506, action:"", prClass:_tq12, width:200, active:false, height:50, rotation:-10}, {x:3212, _ft177:93, y:417, type:1, prClass:_iq290}, {x:3063, _ft177:0, y:372, prClass:_sg385}, {x:3450, _ft177:92, y:318, prClass:_be514}, {x:3665, orientation:0, _ft177:71, y:545.5, prClass:_nd36, width:140, timeDelay:-1, height:43}, {State:0, x:3661, _eh293:true, _ft177:72, y:573, action:"", prClass:_tq12, width:150, active:false, height:50, rotation:0}, {State:0, x:3774, _eh293:false, _ft177:73, y:540, action:"", prClass:_tq12, width:200, active:false, height:50, rotation:10}, {State:0, x:4047, _eh293:true, _ft177:104, y:-1, action:"", prClass:_tq12, width:100, active:false, height:50, rotation:0}, {x:4048, orientation:1, _ft177:99, y:50, prClass:_nd36, width:96, timeDelay:-1, height:40}, {x:4664, _ft177:97, y:355, type:1, prClass:_iq290}, {State:0, x:4516, _eh293:false, _ft177:75, y:394, action:"", prClass:_tq12, width:300, active:false, height:300, rotation:0}, {x:4743, _ft177:76, y:305, prClass:_kp425}, {x:4332, _ft177:100, y:528, radius:24, prClass:_la261}, {State:0, x:3967, _eh293:true, _ft177:98, y:557, action:"unfix 99;unfix 104;friction 99; mass 99,5;mass 104,5;disable;", prClass:_tq12, width:550, active:true, height:50, rotation:0}, {State:0, x:4900, _eh293:true, _ft177:77, y:0, action:"", prClass:_tq12, width:250, active:false, height:600, rotation:0}, {x:4849, orientation:2, _ft177:78, y:1, prClass:_nd36, width:50, timeDelay:-1, height:100}, {x:4849, orientation:2, _ft177:79, y:102, prClass:_nd36, width:50, timeDelay:-1, height:100}, {x:4849, orientation:2, _ft177:80, y:202, prClass:_nd36, width:50, timeDelay:-1, height:100}, {x:4849, orientation:2, _ft177:81, y:301, prClass:_nd36, width:50, timeDelay:-1, height:100}, {x:4849, orientation:2, _ft177:82, y:401, prClass:_nd36, width:50, timeDelay:-1, height:100}, {x:4849, orientation:2, _ft177:83, y:499, prClass:_nd36, width:50, timeDelay:-1, height:100}]}, {mapWidth:10000, lives:5, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{State:0, x:2, _eh293:true, _ft177:59, y:402, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {x:72, _ft177:0, y:302, prClass:_sg385}, {x:203, orientation:0, _ft177:62, y:413, prClass:_nd36, width:100, timeDelay:-1, height:50}, {x:304, orientation:0, _ft177:63, y:413, prClass:_nd36, width:100, timeDelay:-1, height:50}, {State:0, x:202, _eh293:true, _ft177:64, y:464, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {State:0, x:400, _eh293:true, _ft177:60, y:402, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {x:180, _ft177:119, y:374, radius:24, prClass:_la261}, {State:0, x:693, _eh293:true, _ft177:66, y:225, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {State:0, x:982, _eh293:true, _ft177:67, y:399, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {x:786, _ft177:120, y:90, type:1, prClass:_iq290}, {x:864, _ft177:121, y:180, type:1, prClass:_iq290}, {State:9, x:1111, _ft177:123, y:372, prClass:_ox149, color:1, radius:15}, {State:0, x:1203, _eh293:false, _ft177:68, y:197, action:"", prClass:_tq12, width:250, active:false, height:50, rotation:-14}, {State:0, x:1510, _eh293:true, _ft177:69, y:401, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {x:1520, _ft177:75, y:389, _ac127:true, prClass:_na10}, {State:0, x:2220, _eh293:true, _ft177:71, y:405, action:"", prClass:_tq12, width:200, active:false, height:200, rotation:0}, {State:0, x:0x0808, _eh293:true, _ft177:72, y:225, action:"", prClass:_tq12, width:150, active:false, height:50, rotation:0}, {State:0, x:1825, _eh293:true, _ft177:73, y:115, action:"", prClass:_tq12, width:150, active:false, height:50, rotation:0}, {x:2295, _ft177:0, y:342, prClass:_sg385}, {x:1927, _ft177:124, y:86, type:1, prClass:_iq290}, {x:2094, _ft177:126, y:192, type:1, prClass:_iq290}, {numBlocks:7, x:1925, _ft177:70, y:410, prClass:_iv70, blockWidth:61, _gj521:0}, {State:0, x:2421, _eh293:true, _ft177:74, y:553, action:"", prClass:_tq12, width:450, active:false, height:50, rotation:0}, {x:2468, _ft177:125, y:522, radius:24, prClass:_la261}, {State:0, x:3525, _eh293:true, _ft177:92, y:98, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:3554, _ft177:94, y:68, type:1, prClass:_iq290}, {x:3520, orientation:0, _ft177:95, y:406, prClass:_nd36, width:120, timeDelay:-1, height:50}, {numBlocks:10, x:3120, _ft177:76, y:560, prClass:_iv70, blockWidth:50, _gj521:-10}, {State:0, x:3444, _eh293:true, _ft177:77, y:450, action:"", prClass:_tq12, width:400, active:false, height:250, rotation:0}, {x:3883, y:448, action:"", prClass:_tq12, height:7, State:1, _eh293:true, _ft177:78, dx:2, dy:0, width:80, rotation:0, dist:250, active:false}, {x:3608, y:304, action:"", prClass:_tq12, height:7, State:1, _eh293:true, _ft177:93, dx:0, dy:-1, width:80, rotation:0, dist:110, active:false}, {State:0, x:4458, _eh293:true, _ft177:79, y:429, action:"", prClass:_tq12, width:400, active:false, height:250, rotation:0}, {State:0, x:4747, _eh293:true, _ft177:80, y:266, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:4639, _eh293:true, _ft177:81, y:138, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:4500, _ft177:82, y:64, type:1, prClass:_iq290}, {x:4514, _ft177:0, y:378, prClass:_sg385}, {State:5, x:4662, _ft177:83, y:88, prClass:_ox149, color:0, radius:15}, {State:0, x:4856, _eh293:true, _ft177:84, y:364, action:"", prClass:_tq12, width:400, active:false, height:250, rotation:0}, {x:5056, orientation:0, _ft177:85, y:373, prClass:_nd36, width:120, timeDelay:100, height:50}, {x:5275, y:375, action:"", prClass:_tq12, height:7, State:1, _eh293:true, _ft177:86, dx:1, dy:-1, width:90, rotation:0, dist:200, active:false}, {numBlocks:10, x:5870, _ft177:87, y:0x0101, prClass:_iv70, blockWidth:60, _gj521:5}, {State:0, x:6241, _eh293:true, _ft177:89, y:372, action:"", prClass:_tq12, width:150, active:false, height:50, rotation:0}, {State:0, x:6387, _eh293:true, _ft177:90, y:290, action:"", prClass:_tq12, width:100, active:false, height:350, rotation:0}, {x:6391, orientation:2, _ft177:91, y:303, prClass:_nd36, width:50, timeDelay:50, height:80}, {State:9, x:6428, _ft177:127, y:261, prClass:_ox149, color:1, radius:15}, {State:0, x:6640, _eh293:true, _ft177:96, y:409, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:6769, _eh293:true, _ft177:97, y:305, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:6915, _eh293:true, _ft177:98, y:233, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:7098, _eh293:true, _ft177:99, y:326, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:6927, _ft177:129, y:200, type:1, prClass:_iq290}, {x:7120, _ft177:130, y:296, type:0, prClass:_iq290}, {State:9, x:6793, _ft177:131, y:286, prClass:_ox149, color:1, radius:15}, {State:0, x:7162, _eh293:true, _ft177:100, y:552, action:"", prClass:_tq12, width:550, active:false, height:50, rotation:0}, {State:0, x:7129, _eh293:true, _ft177:101, y:0, action:"", prClass:_tq12, width:550, active:false, height:50, rotation:0}, {State:0, x:7380, _eh293:true, _ft177:106, y:50, action:"", prClass:_tq12, width:50, active:false, height:200, rotation:0}, {State:0, x:7430, _eh293:true, _ft177:107, y:200, action:"", prClass:_tq12, width:250, active:false, height:50, rotation:0}, {x:7467, _ft177:114, y:166, type:1, prClass:_iq290}, {State:0, x:7563, _eh293:true, _ft177:118, y:501, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:7228, _ft177:0, y:516, prClass:_sg385}, {State:4, x:7523, _ft177:115, y:175, prClass:_ox149, color:1, radius:15}, {State:4, x:7562, _ft177:116, y:169, prClass:_ox149, color:1, radius:15}, {State:0, x:7695, _eh293:true, _ft177:108, y:49, action:"", prClass:_tq12, width:100, active:false, height:150, rotation:0}, {x:7698, orientation:1, _ft177:109, y:199, prClass:_nd36, width:95, timeDelay:-1, height:40}, {x:7732, _ft177:110, y:537, action:"unfix 108;unfix 109;friction 109;mass 108,30;mass 109,30;disable;", prClass:_rh465}, {State:0, x:7711, _eh293:true, _ft177:102, y:552, action:"", prClass:_tq12, width:550, active:false, height:50, rotation:0}, {State:0, x:8261, _eh293:true, _ft177:104, y:0, action:"", prClass:_tq12, width:50, active:false, height:600, rotation:0}, {x:8178, _ft177:105, y:464, prClass:_kp425}, {State:0, x:7678, _eh293:true, _ft177:103, y:0, action:"", prClass:_tq12, width:600, active:false, height:50, rotation:0}, {x:7908, _ft177:112, y:511, radius:24, prClass:_la261}, {State:0, x:7856, _eh293:true, _ft177:111, y:504, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:7862, _ft177:113, y:489, _ac127:true, prClass:_na10}, {State:4, x:7602, _ft177:132, y:167, prClass:_ox149, color:0, radius:15}]}, {mapWidth:6000, lives:1, scrollY:false, txtMsgs:[], defaultGroup:[{width:4000, x:1980, _ft177:67, prClass:_nm157, y:375, height:580}], objects:[{_ft177:0, x:72, prClass:_sg385, y:302}, {width:600, x:0, y:570, rotation:0, _eh293:true, _ft177:60, action:"", prClass:_tq12, active:false, height:50, State:0}, {_ft177:68, x:201, y:42, radius:15, color:1, prClass:_ox149, State:9}, {width:300, x:356, y:419, rotation:0, _eh293:true, _ft177:71, action:"", prClass:_tq12, active:false, height:50, State:0}, {width:120, x:356, orientation:0, y:570, timeDelay:70, _ft177:73, prClass:_nd36, height:70}, {_ft177:74, x:556, prClass:_iq290, y:522, type:1}, {_ft177:69, x:98, prClass:_jq234, y:110, distance:250, State:102}, {width:600, x:600, y:570, rotation:0, _eh293:true, _ft177:61, action:"", prClass:_tq12, active:false, height:50, State:0}, {width:100, x:655, y:419, rotation:0, _eh293:true, _ft177:72, action:"", prClass:_tq12, active:false, height:150, State:0}, {_ft177:75, x:616, y:505, radius:15, color:1, prClass:_ox149, State:9}, {width:50, x:606, y:169, rotation:0, _eh293:true, _ft177:77, action:"", prClass:_tq12, active:false, height:250, State:0}, {_ft177:78, x:709, prClass:_iq290, y:382, type:1}, {_ft177:70, x:718, prClass:_jq234, y:315, distance:150, State:102}, {width:100, x:1001, y:320, rotation:0, _eh293:true, _ft177:79, action:"", prClass:_tq12, active:false, height:250, State:0}, {width:100, x:1000, orientation:0, y:270, timeDelay:-1, _ft177:81, prClass:_nd36, height:50}, {width:50, x:1050, orientation:3, y:387, timeDelay:100, _ft177:83, prClass:_nd36, height:75}, {_ft177:84, x:1116, y:535, radius:15, color:1, prClass:_ox149, State:9}, {_ft177:85, x:1165, y:544, radius:15, color:1, prClass:_ox149, State:9}, {_ft177:86, x:1173, prClass:_iq290, y:486, type:1}, {width:600, x:1198, y:570, rotation:0, _eh293:true, _ft177:62, action:"", prClass:_tq12, active:false, height:50, State:0}, {width:100, x:1201, y:320, rotation:0, _eh293:true, _ft177:80, action:"", prClass:_tq12, active:false, height:250, State:0}, {width:100, x:1198, orientation:0, y:269, timeDelay:-1, _ft177:82, prClass:_nd36, height:50}, {_ft177:87, x:1646, y:121, radius:15, color:1, prClass:_ox149, State:9}, {_ft177:90, x:1431, y:111, radius:15, color:1, prClass:_ox149, State:9}, {width:200, x:1698, y:231, rotation:0, _eh293:true, _ft177:91, action:"", prClass:_tq12, active:false, height:200, State:0}, {_ft177:93, x:1346, prClass:_jq234, y:361, distance:50, State:102}, {_ft177:94, x:1381, prClass:_iq290, y:520, type:1}, {_ft177:89, x:1407, prClass:_jq234, y:499, distance:150, State:102}, {width:600, x:1798, y:570, rotation:0, _eh293:true, _ft177:63, action:"", prClass:_tq12, active:false, height:50, State:0}, {_ft177:88, x:1978, y:124, radius:15, color:0, prClass:_ox149, State:9}, {width:120, x:1742, orientation:0, y:182, timeDelay:-1, _ft177:92, prClass:_nd36, height:50}, {_ft177:95, x:1930, prClass:_iq290, y:405, type:1}, {width:70, x:1896, orientation:3, y:250, timeDelay:-1, _ft177:96, prClass:_nd36, height:120}, {_ft177:97, x:2202, action:"unfix 98;disable;", prClass:_rh465, y:555}, {width:600, x:2396, y:570, rotation:0, _eh293:true, _ft177:64, action:"", prClass:_tq12, active:false, height:50, State:0}, {width:100, x:2366, y:15, rotation:0, _eh293:true, _ft177:98, action:"", prClass:_tq12, active:false, height:50, State:0}, {_ft177:100, x:2433, y:1, radius:15, color:0, prClass:_ox149, State:9}, {_ft177:99, x:2380, y:3, radius:15, color:1, prClass:_ox149, State:9}, {width:150, x:2547, y:419, rotation:0, _eh293:true, _ft177:101, action:"", prClass:_tq12, active:false, height:150, State:0}, {width:350, x:2549, y:-27, rotation:0, _eh293:true, _ft177:102, action:"", prClass:_tq12, active:false, height:350, State:0}, {width:140, x:2547, orientation:0, y:429, timeDelay:100, _ft177:103, prClass:_nd36, height:50}, {width:120, x:2750, orientation:1, y:273, timeDelay:100, _ft177:104, prClass:_nd36, height:50}, {_ft177:107, x:2731, prClass:_iq290, y:432, type:1}, {_ft177:108, x:2930, prClass:_iq290, y:134, type:1}, {width:50, x:2900, orientation:3, y:196, timeDelay:-1, _ft177:109, prClass:_nd36, height:120}, {width:600, x:2997, y:570, rotation:0, _eh293:true, _ft177:65, action:"", prClass:_tq12, active:false, height:50, State:0}, {width:250, x:3125, y:62, rotation:-10, _eh293:false, _ft177:110, action:"", prClass:_tq12, active:false, height:50, State:0}, {_ft177:111, x:3180, prClass:_iq290, y:44, type:1}, {_ft177:112, x:3301, y:25, radius:15, color:1, prClass:_ox149, State:9}, {width:400, x:3324, y:336, rotation:14, _eh293:false, _ft177:113, action:"", prClass:_tq12, active:false, height:50, State:0}, {_ft177:114, x:3404, y:524, radius:15, color:0, prClass:_ox149, State:9}, {_ft177:106, x:2728, prClass:_jq234, y:516, distance:150, State:102}, {width:600, x:3595, y:570, rotation:0, _eh293:true, _ft177:66, action:"", prClass:_tq12, active:false, height:50, State:0}, {width:250, x:3964, y:8, rotation:0, _eh293:true, _ft177:67, action:"", prClass:_tq12, active:false, height:600, State:0}, {_ft177:115, x:3872, prClass:_kp425, y:481}, {_ft177:117, x:3640, prClass:_iq290, y:64, type:1}, {_ft177:118, x:3807, prClass:_iq290, y:69, type:1}, {_ft177:116, x:3361, prClass:_jq234, y:145, distance:150, State:102}]}, {mapWidth:6800, lives:1, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:72, y:302, _ft177:0, prClass:_sg385}, {State:0, x:0, action:"", y:570, height:50, width:600, active:false, _eh293:true, _ft177:60, prClass:_tq12, rotation:0}, {State:0, x:314, action:"", y:427, height:50, width:50, active:false, _eh293:true, _ft177:81, prClass:_tq12, rotation:0}, {State:0, x:440, action:"", y:278, height:50, width:50, active:false, _eh293:true, _ft177:82, prClass:_tq12, rotation:0}, {_ft177:83, x:458, y:243, type:1, prClass:_iq290}, {State:4, x:138, y:538, color:0, radius:15, _ft177:106, prClass:_ox149}, {State:9, x:483, y:541, color:1, radius:15, _ft177:116, prClass:_ox149}, {State:0, x:1102, action:"", y:454, height:200, width:150, active:false, _eh293:true, _ft177:62, prClass:_tq12, rotation:0}, {_gj521:-15, x:811, y:580, _ft177:61, numBlocks:7, blockWidth:60, prClass:_iv70}, {State:0, x:1371, action:"", y:499, height:50, width:50, active:false, _eh293:true, _ft177:63, prClass:_tq12, rotation:0}, {_ac127:true, x:1376, y:485, _ft177:64, prClass:_na10}, {State:0, x:1694, action:"", y:287, height:50, width:100, active:false, _eh293:true, _ft177:65, prClass:_tq12, rotation:0}, {State:0, x:1206, action:"", y:283, height:50, width:50, active:false, _eh293:true, _ft177:84, prClass:_tq12, rotation:0}, {_ft177:85, x:1308, y:128, type:1, prClass:_iq290}, {State:5, x:1232, y:220, color:1, radius:15, _ft177:125, prClass:_ox149}, {State:5, x:1741, y:216, color:0, radius:15, _ft177:126, prClass:_ox149}, {State:0, x:1866, action:"", y:177, height:50, width:100, active:false, _eh293:true, _ft177:66, prClass:_tq12, rotation:0}, {State:0, x:2140, action:"", y:258, height:50, width:100, active:false, _eh293:true, _ft177:68, prClass:_tq12, rotation:0}, {_ft177:86, x:1904, y:141, type:1, prClass:_iq290}, {State:0, x:2450, action:"", y:571, height:50, width:500, active:false, _eh293:true, _ft177:69, prClass:_tq12, rotation:0}, {State:0, x:2949, action:"", y:150, height:450, width:50, active:false, _eh293:true, _ft177:70, prClass:_tq12, rotation:0}, {width:504, x:2698, y:406, _ft177:71, prClass:_rq150, height:350}, {_ft177:73, x:2565, y:63, type:1, prClass:_iq290}, {_ft177:74, x:2832, y:72, type:1, prClass:_iq290}, {State:101, x:2506, y:441, _ft177:77, prClass:_jq234}, {State:101, x:2892, y:421, _ft177:78, prClass:_jq234}, {x:2461, y:214, dist:185, active:false, dx:2, _eh293:true, _ft177:80, prClass:_tq12, rotation:0, State:1, action:"", width:80, dy:0, height:4}, {State:0, x:2399, action:"", y:153, height:450, width:50, active:false, _eh293:false, _ft177:67, prClass:_tq12, rotation:0}, {x:2971, y:94, _ft177:0, prClass:_sg385}, {State:0, x:3001, action:"", y:555, height:50, width:650, active:false, _eh293:true, _ft177:88, prClass:_tq12, rotation:0}, {_ac127:true, x:3563, y:541, _ft177:89, prClass:_na10}, {x:3049, radius:24, y:525, _ft177:90, prClass:_la261}, {_ft177:91, x:3574, y:194, type:1, prClass:_iq290}, {_ft177:92, x:3488, y:526, type:1, prClass:_iq290}, {_ft177:93, x:3031, y:528, type:1, prClass:_iq290}, {State:9, x:3289, y:312, color:1, radius:15, _ft177:94, prClass:_ox149}, {State:9, x:0x0C00, y:530, color:1, radius:15, _ft177:121, prClass:_ox149}, {_gj521:-15, x:3259, y:351, _ft177:87, numBlocks:7, blockWidth:60, prClass:_iv70}, {x:3650, orientation:0, y:556, timeDelay:-1, height:50, width:150, _ft177:96, prClass:_nd36}, {State:0, x:3800, action:"", y:454, height:150, width:100, active:false, _eh293:true, _ft177:95, prClass:_tq12, rotation:0}, {x:3901, orientation:0, y:549, timeDelay:-1, height:50, width:150, _ft177:98, prClass:_nd36}, {x:4051, orientation:0, y:549, timeDelay:-1, height:50, width:150, _ft177:99, prClass:_nd36}, {State:0, x:3656, action:"", y:288, height:50, width:50, active:false, _eh293:true, _ft177:108, prClass:_tq12, rotation:0}, {_ac127:true, x:3661, y:273, _ft177:109, prClass:_na10}, {_ft177:111, x:4053, y:248, type:1, prClass:_iq290}, {State:5, x:3838, y:370, color:0, radius:15, _ft177:122, prClass:_ox149}, {State:0, x:4183, action:"", y:454, height:150, width:100, active:false, _eh293:true, _ft177:97, prClass:_tq12, rotation:0}, {State:0, x:4282, action:"", y:553, height:50, width:500, active:false, _eh293:true, _ft177:101, prClass:_tq12, rotation:0}, {x:4304, radius:24, y:529, _ft177:102, prClass:_la261}, {State:5, x:4243, y:417, color:0, radius:15, _ft177:123, prClass:_ox149}, {_ft177:124, x:4744, y:519, type:1, prClass:_iq290}, {State:0, x:4823, action:"", y:421, height:50, width:500, active:false, _eh293:true, _ft177:103, prClass:_tq12, rotation:0}, {x:4875, radius:24, y:388, _ft177:112, prClass:_la261}, {_ft177:113, x:5240, y:387, type:1, prClass:_iq290}, {x:5282, y:89, _ft177:115, prClass:_be514}, {x:5695, y:232, _ft177:105, prClass:_kp425}, {State:0, x:5286, action:"", y:323, height:50, width:500, active:false, _eh293:false, _ft177:104, prClass:_tq12, rotation:0}]}, {mapWidth:7800, lives:3, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:72, _ft177:0, y:302, prClass:_sg385}, {State:0, x:0, y:570, action:"", rotation:0, width:600, _eh293:true, _ft177:60, prClass:_tq12, height:50, active:false}, {State:0, x:123, y:75, action:"", rotation:0, width:150, _eh293:true, _ft177:103, prClass:_tq12, height:50, active:false}, {State:0, x:411, y:223, action:"", rotation:0, width:150, _eh293:true, _ft177:104, prClass:_tq12, height:50, active:false}, {x:413.5, orientation:1, timeDelay:-1, y:270, width:145, _ft177:117, prClass:_nd36, height:50}, {State:5, x:99, y:500, color:1, _ft177:126, radius:15, prClass:_ox149}, {x:153, _ft177:127, y:44, prClass:_iq290, type:1}, {x:446, _ft177:128, y:195, prClass:_iq290, type:1}, {State:4, x:214, y:52, color:0, _ft177:129, radius:15, prClass:_ox149}, {State:9, x:0x0200, y:78, color:1, _ft177:130, radius:15, prClass:_ox149}, {x:423, _ft177:125, y:532, prClass:_la261, radius:24}, {State:0, x:1020, y:448, action:"", rotation:0, width:200, _eh293:true, _ft177:62, prClass:_tq12, height:300, active:false}, {x:1105, _ft177:106, _ac127:true, y:431, prClass:_na10}, {State:0, x:760, y:174, action:"", rotation:0, width:150, _eh293:true, _ft177:105, prClass:_tq12, height:50, active:false}, {x:0x0303, blockWidth:50, y:577, _gj521:-15, numBlocks:7, _ft177:61, prClass:_iv70}, {State:0, x:1220, y:303, action:"", rotation:0, width:200, _eh293:true, _ft177:63, prClass:_tq12, height:300, active:false}, {State:0, x:1420, y:551, action:"", rotation:0, width:300, _eh293:true, _ft177:64, prClass:_tq12, height:50, active:false}, {State:0, x:1670, y:402, action:"", rotation:0, width:50, _eh293:true, _ft177:66, prClass:_tq12, height:50, active:false}, {State:0, x:1719, y:303, action:"", rotation:0, width:100, _eh293:true, _ft177:65, prClass:_tq12, height:300, active:false}, {State:0, x:1510, y:139, action:"", rotation:0, width:100, _eh293:true, _ft177:107, prClass:_tq12, height:50, active:false}, {x:1183, orientation:2, timeDelay:-1, y:313, width:40, _ft177:118, prClass:_nd36, height:100}, {x:1450, _ft177:119, y:526, prClass:_la261, radius:24}, {State:9, x:1348, y:283, color:0, _ft177:131, radius:15, prClass:_ox149}, {State:9, x:1580, y:523, color:1, _ft177:132, radius:15, prClass:_ox149}, {x:1689, _ft177:133, y:357, prClass:_iq290, type:1}, {State:9, x:1555, y:104, color:1, _ft177:134, radius:15, prClass:_ox149}, {State:0, x:1818, y:303, action:"", rotation:0, width:100, _eh293:true, _ft177:67, prClass:_tq12, height:300, active:false}, {State:0, x:1918, y:551, action:"", rotation:0, width:100, _eh293:true, _ft177:69, prClass:_tq12, height:50, active:false}, {State:0, x:2140, y:551, action:"", rotation:0, width:100, _eh293:true, _ft177:70, prClass:_tq12, height:50, active:false}, {x:2017, orientation:0, timeDelay:-1, y:553, width:120, _ft177:68, prClass:_nd36, height:50}, {x:2240, orientation:0, timeDelay:-1, y:554, width:120, _ft177:71, prClass:_nd36, height:50}, {State:0, x:2359, y:502, action:"", rotation:0, width:50, _eh293:true, _ft177:72, prClass:_tq12, height:100, active:false}, {x:2367, _ft177:108, _ac127:true, y:487, prClass:_na10}, {State:0, x:2196, y:174, action:"", rotation:0, width:150, _eh293:true, _ft177:109, prClass:_tq12, height:50, active:false}, {x:1945, _ft177:120, y:525, prClass:_la261, radius:24}, {State:4, x:1966, y:517, color:0, _ft177:135, radius:15, prClass:_ox149}, {x:1959, _ft177:136, y:396, prClass:_iq290, type:1}, {x:2223, _ft177:137, y:142, prClass:_iq290, type:1}, {State:0, x:2408, y:502, action:"", rotation:0, width:50, _eh293:true, _ft177:74, prClass:_tq12, height:100, active:false}, {State:0, x:2580, y:549, action:"", rotation:0, width:100, _eh293:true, _ft177:75, prClass:_tq12, height:50, active:false}, {x:2458, orientation:0, timeDelay:-1, y:553, width:120, _ft177:73, prClass:_nd36, height:50}, {State:0, x:2800, y:551, action:"", rotation:0, width:100, _eh293:true, _ft177:77, prClass:_tq12, height:50, active:false}, {x:2682, orientation:0, timeDelay:-1, y:558, width:120, _ft177:76, prClass:_nd36, height:50}, {State:0, x:2899, y:303, action:"", rotation:0, width:100, _eh293:true, _ft177:78, prClass:_tq12, height:300, active:false}, {x:2854, _ft177:79, _ac127:true, y:535, prClass:_na10}, {State:0, x:2530, y:119, action:"", rotation:0, width:150, _eh293:true, _ft177:110, prClass:_tq12, height:50, active:false}, {x:2641, _ft177:139, y:516, prClass:_iq290, type:1}, {x:2598, _ft177:140, y:85, prClass:_iq290, type:0}, {State:0, x:2998, y:203, action:"", rotation:0, width:150, _eh293:true, _ft177:80, prClass:_tq12, height:400, active:false}, {State:0, x:3148, y:549, action:"", rotation:0, width:300, _eh293:true, _ft177:81, prClass:_tq12, height:50, active:false}, {width:300, x:3297, _ft177:82, y:397, prClass:_rq150, height:310}, {State:2, x:3250, y:216, action:"", rotation:0, width:50, _eh293:true, _ft177:83, prClass:_tq12, height:50, active:false}, {State:101, x:3307, _ft177:85, y:501, prClass:_jq234}, {x:3054, _ft177:0, y:169, prClass:_sg385}, {State:0, x:3443, y:209, action:"", rotation:0, width:150, _eh293:true, _ft177:84, prClass:_tq12, height:400, active:false}, {x:3102, _ft177:141, y:169, prClass:_iq290, type:1}, {State:5, x:3500, y:172, color:0, _ft177:143, radius:15, prClass:_ox149}, {x:3964, y:561, height:7, _eh293:true, _ft177:88, action:"", active:false, State:1, dy:-1, width:80, dx:1, dist:200, prClass:_tq12, rotation:0}, {x:3610, _ft177:111, _ac127:true, y:544, prClass:_na10}, {State:0, x:3593, y:558, action:"", rotation:0, width:350, _eh293:true, _ft177:87, prClass:_tq12, height:50, active:false}, {State:0, x:3781, y:228, action:"", rotation:0, width:100, _eh293:true, _ft177:112, prClass:_tq12, height:150, active:false}, {x:3745, orientation:2, timeDelay:-1, y:234, width:40, _ft177:121, prClass:_nd36, height:110}, {x:3624, _ft177:144, y:261, prClass:_iq290, type:1}, {x:3834, _ft177:145, y:180, prClass:_iq290, type:1}, {x:4197, _ft177:146, y:291, prClass:_iq290, type:1}, {State:0, x:4292, y:358, action:"", rotation:0, width:250, _eh293:true, _ft177:89, prClass:_tq12, height:400, active:false}, {x:4739, orientation:2, timeDelay:-1, y:360, width:50, _ft177:122, prClass:_nd36, height:120}, {State:0, x:4789, y:352, action:"", rotation:0, width:250, _eh293:true, _ft177:90, prClass:_tq12, height:400, active:false}, {State:0, x:5175, y:262, action:"", rotation:0, width:250, _eh293:true, _ft177:92, prClass:_tq12, height:400, active:false}, {x:5125, orientation:2, timeDelay:-1, y:272, width:50, _ft177:123, prClass:_nd36, height:120}, {State:5, x:4948, y:298, color:1, _ft177:147, radius:15, prClass:_ox149}, {x:5228, _ft177:148, y:213, prClass:_iq290, type:1}, {x:5625, blockWidth:60, y:265, _gj521:11, numBlocks:7, _ft177:93, prClass:_iv70}, {State:0, x:5931, y:344, action:"", rotation:0, width:250, _eh293:true, _ft177:94, prClass:_tq12, height:400, active:false}, {x:6181, orientation:0, timeDelay:-1, y:558, width:120, _ft177:95, prClass:_nd36, height:50}, {State:0, x:6300, y:553, action:"", rotation:0, width:150, _eh293:true, _ft177:96, prClass:_tq12, height:50, active:false}, {x:6446, orientation:0, timeDelay:-1, y:561, width:120, _ft177:97, prClass:_nd36, height:50}, {State:0, x:6561, y:504, action:"", rotation:0, width:50, _eh293:true, _ft177:98, prClass:_tq12, height:100, active:false}, {x:6565, _ft177:114, _ac127:true, y:490, prClass:_na10}, {x:6036, _ft177:0, y:316, prClass:_sg385}, {x:6379, _ft177:149, y:516, prClass:_iq290, type:1}, {State:5, x:6320, y:518, color:0, _ft177:150, radius:15, prClass:_ox149}, {State:0, x:6766, y:447, action:"", rotation:0, width:200, _eh293:true, _ft177:99, prClass:_tq12, height:250, active:false}, {State:0, x:6839, y:169, action:"", rotation:0, width:150, _eh293:false, _ft177:116, prClass:_tq12, height:100, active:false}, {x:6841, orientation:1, timeDelay:-1, y:271, width:145, _ft177:124, prClass:_nd36, height:50}, {x:6717, _ft177:151, y:178, prClass:_iq290, type:1}, {State:0, x:7114, y:361, action:"", rotation:0, width:200, _eh293:true, _ft177:100, prClass:_tq12, height:250, active:false}, {State:0, x:7443, y:242, action:"", rotation:0, width:200, _eh293:true, _ft177:101, prClass:_tq12, height:400, active:false}, {x:7544, _ft177:102, y:154, prClass:_kp425}, {x:7262, _ft177:153, y:330, prClass:_iq290, type:1}]}, {mapWidth:10000, lives:3, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{action:"", x:-2, y:86, prClass:_tq12, rotation:0, width:500, active:false, _eh293:false, _ft177:60, height:50, State:0}, {x:42, y:63, prClass:_sg385, _ft177:0}, {action:"", x:128, y:294, prClass:_tq12, rotation:0, width:500, active:false, _eh293:false, _ft177:61, height:50, State:0}, {action:"", x:64, y:493, prClass:_tq12, rotation:0, width:500, active:false, _eh293:false, _ft177:62, height:50, State:0}, {x:165, y:62, prClass:_ox149, radius:15, color:1, _ft177:84, State:9}, {_ft177:85, x:310, y:54, prClass:_iq290, type:1}, {x:503, orientation:0, timeDelay:100, y:304, _ft177:86, width:120, prClass:_nd36, height:40}, {x:272, y:476, prClass:_ox149, radius:15, color:0, _ft177:88, State:4}, {action:"", x:543, y:548, prClass:_tq12, rotation:0, width:500, active:false, _eh293:false, _ft177:63, height:50, State:0}, {_ac127:true, x:733, y:534, prClass:_na10, _ft177:64}, {x:782, y:522, prClass:_la261, _ft177:89, radius:24}, {x:1260, numBlocks:8, y:557, blockWidth:55, _ft177:65, _gj521:-18, prClass:_iv70}, {action:"", x:1556, y:319, prClass:_tq12, rotation:-17, width:500, active:false, _eh293:false, _ft177:66, height:50, State:0}, {action:"", x:1862, y:324, prClass:_tq12, rotation:-17, width:500, active:false, _eh293:false, _ft177:67, height:50, State:0}, {action:"", x:1767, y:457, prClass:_tq12, rotation:-17, width:500, active:false, _eh293:false, _ft177:68, height:50, State:0}, {action:"", x:1926, y:541, prClass:_tq12, rotation:-17, width:500, active:false, _eh293:false, _ft177:69, height:50, State:0}, {_ft177:90, x:2083, y:229, prClass:_iq290, type:1}, {_ft177:91, x:1903, y:361, prClass:_iq290, type:1}, {_ft177:92, x:2302, y:381, prClass:_iq290, type:1}, {action:"", x:2406, y:469, prClass:_tq12, rotation:0, width:400, active:false, _eh293:false, _ft177:70, height:50, State:0}, {_ac127:true, x:2424, y:456, prClass:_na10, _ft177:71}, {x:2656, orientation:0, timeDelay:50, y:478, _ft177:93, width:120, prClass:_nd36, height:40}, {x:2536, y:432, prClass:_ox149, radius:15, color:0, _ft177:94, State:5}, {action:"", x:2783, y:399, prClass:_tq12, rotation:-17, width:500, active:false, _eh293:false, _ft177:72, height:50, State:0}, {action:"", x:3262, y:314, prClass:_tq12, rotation:-3, width:500, active:false, _eh293:false, _ft177:73, height:50, State:0}, {_ft177:95, x:3126, y:333, prClass:_iq290, type:1}, {action:"", x:3432, y:450, prClass:_tq12, rotation:12, width:500, active:false, _eh293:false, _ft177:74, height:50, State:0}, {action:"", x:3917, y:503, prClass:_tq12, rotation:0, width:400, active:false, _eh293:false, _ft177:75, height:50, State:0}, {_ac127:true, x:3954, y:487, prClass:_na10, _ft177:76}, {_ft177:96, x:3793, y:313, prClass:_iq290, type:1}, {x:3970, y:386, prClass:_ox149, radius:15, color:1, _ft177:97, State:5}, {x:3717, y:270, prClass:_sg385, _ft177:0}, {x:4606, numBlocks:9, y:513, blockWidth:65, _ft177:77, _gj521:-11, prClass:_iv70}, {action:"", x:4983, y:318, prClass:_tq12, rotation:-19, width:450, active:false, _eh293:false, _ft177:78, height:50, State:0}, {x:0x1500, y:90, prClass:_sg385, _ft177:0}, {x:5119, y:169, prClass:_be514, _ft177:99}, {action:"", x:5351, y:307, prClass:_tq12, rotation:-19, width:450, active:false, _eh293:false, _ft177:79, height:50, State:0}, {action:"", x:5280, y:476, prClass:_tq12, rotation:-19, width:450, active:false, _eh293:false, _ft177:80, height:50, State:0}, {action:"", x:5706, y:405, prClass:_tq12, rotation:0, width:500, active:false, _eh293:false, _ft177:82, height:50, State:0}, {_ac127:true, x:5851, y:394, prClass:_na10, _ft177:83}, {_ft177:100, x:5510, y:296, prClass:_iq290, type:1}, {x:5784, y:351, prClass:_ox149, radius:15, color:0, _ft177:101, State:9}, {x:6446, numBlocks:8, y:411, blockWidth:60, _ft177:102, _gj521:-14, prClass:_iv70}, {_ft177:113, x:6796, y:253, prClass:_iq290, type:1}, {x:7067, numBlocks:8, y:289, blockWidth:60, _ft177:103, _gj521:0, prClass:_iv70}, {action:"", x:7382, y:356, prClass:_tq12, rotation:16, width:500, active:false, _eh293:false, _ft177:104, height:50, State:0}, {_ft177:114, x:7394, y:240, prClass:_iq290, type:1}, {x:7677, y:327, prClass:_sg385, _ft177:0}, {action:"", x:7930, y:494, prClass:_tq12, rotation:0, width:50, active:false, _eh293:true, _ft177:106, height:50, State:0}, {_ac127:true, x:0x1F00, y:478, prClass:_na10, _ft177:107}, {action:"", x:8280, y:493, prClass:_tq12, rotation:0, width:50, active:false, _eh293:true, _ft177:108, height:50, State:0}, {_ac127:true, x:8285, y:477, prClass:_na10, _ft177:109}, {_ft177:116, x:8306, y:334, prClass:_iq290, type:1}, {x:8126, y:3, prClass:_be514, _ft177:115}, {action:"", x:8506, y:435, prClass:_tq12, rotation:-7, width:500, active:false, _eh293:false, _ft177:110, height:50, State:0}, {action:"", x:9001, y:405, prClass:_tq12, rotation:0, width:400, active:false, _eh293:false, _ft177:111, height:50, State:0}, {x:9311, y:317, prClass:_kp425, _ft177:112}, {x:9075, y:376, prClass:_ox149, radius:15, color:1, _ft177:118, State:9}, {x:9014, y:170, prClass:_be514, _ft177:119}]}, {mapWidth:10000, lives:1, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:49, _ft177:0, y:272, prClass:_sg385}, {x:402, _ft177:58, y:535, _ac127:true, prClass:_na10}, {State:0, x:-2, _eh293:true, _ft177:57, y:549, action:"", prClass:_tq12, width:500, active:false, height:50, rotation:0}, {x:552, orientation:2, _ft177:60, y:328, prClass:_nd36, width:50, timeDelay:-1, height:120}, {x:474, _ft177:98, y:303, type:1, prClass:_iq290}, {State:0, x:600, _eh293:true, _ft177:59, y:307, action:"", prClass:_tq12, width:300, active:false, height:300, rotation:0}, {State:0, x:1047, _eh293:true, _ft177:61, y:518, action:"", prClass:_tq12, width:100, active:false, height:50, rotation:0}, {State:0, x:739, _eh293:true, _ft177:99, y:90, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:754, _ft177:100, y:58, type:1, prClass:_iq290}, {x:607, _ft177:101, y:290, _ac127:true, prClass:_na10}, {x:984, _ft177:102, y:114, type:1, prClass:_iq290}, {State:5, x:1076, _ft177:103, y:447, prClass:_ox149, color:0, radius:15}, {x:1119, _ft177:0, y:446, prClass:_sg385}, {State:0, x:1256, _eh293:true, _ft177:62, y:399, action:"", prClass:_tq12, width:100, active:false, height:50, rotation:0}, {State:0, x:1548, _eh293:true, _ft177:63, y:499, action:"", prClass:_tq12, width:100, active:false, height:50, rotation:0}, {State:0, x:1658, _eh293:true, _ft177:64, y:373, action:"", prClass:_tq12, width:100, active:false, height:50, rotation:0}, {x:1461, _ft177:104, y:298, type:1, prClass:_iq290}, {State:9, x:1292, _ft177:105, y:364, prClass:_ox149, color:1, radius:15}, {State:0, x:1801, _eh293:true, _ft177:65, y:420, action:"", prClass:_tq12, width:300, active:false, height:200, rotation:0}, {State:0, x:2257, _eh293:true, _ft177:66, y:460, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:2353, _eh293:true, _ft177:67, y:314, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:2247, _eh293:true, _ft177:68, y:161, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:2277, _ft177:107, y:376, type:1, prClass:_iq290}, {State:5, x:2373, _ft177:108, y:253, prClass:_ox149, color:1, radius:15}, {x:2052, _ft177:0, y:377, prClass:_sg385}, {x:1828, _ft177:106, y:106, prClass:_be514}, {State:0, x:2400, _eh293:true, _ft177:69, y:129, action:"", prClass:_tq12, width:50, active:false, height:500, rotation:0}, {State:0, x:2449, _eh293:true, _ft177:70, y:562, action:"", prClass:_tq12, width:500, active:false, height:50, rotation:0}, {width:503, x:2701, _ft177:72, y:360, prClass:_rq150, height:430}, {State:0, x:2948, _eh293:true, _ft177:71, y:125, action:"", prClass:_tq12, width:50, active:false, height:500, rotation:0}, {State:102, x:2478, distance:80, _ft177:73, y:201, prClass:_jq234}, {State:102, x:2604, distance:80, _ft177:74, y:325, prClass:_jq234}, {x:2505, _ft177:75, y:525, type:1, prClass:_iq290}, {x:2646, orientation:0, _ft177:77, y:0x0200, prClass:_nd36, width:120, timeDelay:-1, height:50}, {x:2870, _ft177:78, y:526, type:1, prClass:_iq290}, {x:2426, _ft177:0, y:102, prClass:_sg385}, {State:0, x:2997, _eh293:true, _ft177:79, y:559, action:"", prClass:_tq12, width:350, active:false, height:50, rotation:0}, {x:3057, _ft177:110, y:241, type:1, prClass:_iq290}, {x:3111, _ft177:111, y:543, _ac127:true, prClass:_na10}, {x:3050, _ft177:0, y:152, prClass:_sg385}, {numBlocks:8, x:0x0E00, _ft177:80, y:565, prClass:_iv70, blockWidth:60, _gj521:-10}, {State:0, x:3903, _eh293:false, _ft177:81, y:381, action:"", prClass:_tq12, width:450, active:false, height:50, rotation:-21}, {x:4719, orientation:3, _ft177:84, y:318, prClass:_nd36, width:50, timeDelay:-1, height:120}, {State:0, x:4327, _eh293:true, _ft177:82, y:302, action:"", prClass:_tq12, width:400, active:false, height:400, rotation:0}, {x:4374, _ft177:113, y:266, type:1, prClass:_iq290}, {State:0, x:4435, _eh293:true, _ft177:114, y:133, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:4519, _ft177:115, y:92, type:1, prClass:_iq290}, {x:4675, _ft177:0, y:267, prClass:_sg385}, {State:0, x:4887, _eh293:true, _ft177:83, y:557, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:5101, _eh293:true, _ft177:85, y:293, action:"", prClass:_tq12, width:400, active:false, height:400, rotation:0}, {x:4891, _ft177:86, y:545, _ac127:true, prClass:_na10}, {x:5055, orientation:2, _ft177:87, y:306, prClass:_nd36, width:50, timeDelay:-1, height:120}, {x:4904, _ft177:117, y:496, type:1, prClass:_iq290}, {x:5131, _ft177:118, y:0x0100, radius:24, prClass:_la261}, {State:0, x:5499, _eh293:true, _ft177:88, y:552, action:"", prClass:_tq12, width:300, active:false, height:50, rotation:0}, {State:0, x:5785, _eh293:false, _ft177:90, y:509, action:"", prClass:_tq12, width:400, active:false, height:50, rotation:-13}, {x:5538, _ft177:119, y:424, type:1, prClass:_iq290}, {x:5847, _ft177:0, y:508, prClass:_sg385}, {x:5664, _ft177:89, y:99, prClass:_be514}, {State:0, x:6211, _eh293:true, _ft177:91, y:548, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:6217, _ft177:92, y:532, _ac127:true, prClass:_na10}, {State:0, x:6429, _eh293:true, _ft177:93, y:313, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {x:6541, _ft177:121, y:132, type:1, prClass:_iq290}, {State:0, x:6623, _eh293:true, _ft177:94, y:229, action:"", prClass:_tq12, width:50, active:false, height:50, rotation:0}, {State:0, x:6784, _eh293:true, _ft177:95, y:189, action:"", prClass:_tq12, width:300, active:false, height:450, rotation:0}, {x:6821, _ft177:0, y:158, prClass:_sg385}, {State:0, x:7559, _eh293:true, _ft177:122, y:376, action:"", prClass:_tq12, width:400, active:false, height:250, rotation:0}, {x:7597, _ft177:124, y:332, radius:24, prClass:_la261}, {numBlocks:7, x:7252, _ft177:96, y:194, prClass:_iv70, blockWidth:50, _gj521:15}, {x:7357, _ft177:97, y:88, prClass:_be514}, {State:0, x:7957, _eh293:true, _ft177:123, y:258, action:"", prClass:_tq12, width:400, active:false, height:350, rotation:0}, {x:8264, _ft177:125, y:167, prClass:_kp425}, {x:8169, _ft177:126, y:222, type:1, prClass:_iq290}]}, {mapWidth:10000, lives:1, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:49, _ft177:0, y:272, prClass:_sg385}, {State:0, x:31, y:338, action:"", rotation:0, width:50, _eh293:true, _ft177:57, prClass:_tq12, height:50, active:false}, {State:0, x:217, y:498, action:"", rotation:0, width:50, _eh293:true, _ft177:58, prClass:_tq12, height:50, active:false}, {State:0, x:480, y:169, action:"", rotation:0, width:50, _eh293:true, _ft177:59, prClass:_tq12, height:50, active:false}, {x:224, _ft177:60, _ac127:true, y:483, prClass:_na10}, {x:231, _ft177:85, y:187, prClass:_iq290, type:1}, {x:459, _ft177:86, y:111, prClass:_iq290, type:1}, {State:0, x:647, y:479, action:"", rotation:0, width:50, _eh293:true, _ft177:61, prClass:_tq12, height:50, active:false}, {State:0, x:846, y:366, action:"", rotation:0, width:100, _eh293:true, _ft177:62, prClass:_tq12, height:50, active:false}, {State:0, x:1135, y:546, action:"", rotation:0, width:50, _eh293:true, _ft177:63, prClass:_tq12, height:50, active:false}, {x:660, _ft177:88, y:208, prClass:_iq290, type:1}, {x:1138, _ft177:89, y:152, prClass:_be514}, {State:0, x:1487, y:547, action:"", rotation:0, width:50, _eh293:true, _ft177:64, prClass:_tq12, height:50, active:false}, {State:0, x:1629, y:381, action:"", rotation:0, width:50, _eh293:true, _ft177:65, prClass:_tq12, height:50, active:false}, {State:0, x:1740, y:253, action:"", rotation:0, width:50, _eh293:true, _ft177:66, prClass:_tq12, height:50, active:false}, {x:1449, _ft177:90, y:423, prClass:_iq290, type:1}, {State:5, x:1651, y:312, color:0, _ft177:97, radius:15, prClass:_ox149}, {State:0, x:1877, y:134, action:"", rotation:0, width:50, _eh293:true, _ft177:67, prClass:_tq12, height:50, active:false}, {State:0, x:2009, y:249, action:"", rotation:0, width:50, _eh293:true, _ft177:68, prClass:_tq12, height:50, active:false}, {State:0, x:2127, y:365, action:"", rotation:0, width:50, _eh293:true, _ft177:69, prClass:_tq12, height:50, active:false}, {State:0, x:2243, y:482, action:"", rotation:0, width:50, _eh293:true, _ft177:70, prClass:_tq12, height:50, active:false}, {x:1896, _ft177:93, y:98, prClass:_iq290, type:1}, {State:9, x:2270, y:438, color:1, _ft177:94, radius:15, prClass:_ox149}, {State:0, x:2400, y:381, action:"", rotation:0, width:50, _eh293:true, _ft177:72, prClass:_tq12, height:50, active:false}, {State:0, x:2402, y:432, action:"", rotation:0, width:450, _eh293:true, _ft177:71, prClass:_tq12, height:50, active:false}, {x:2547, _ft177:73, y:400, prClass:_la261, radius:24}, {State:0, x:2801, y:381, action:"", rotation:0, width:50, _eh293:true, _ft177:74, prClass:_tq12, height:50, active:false}, {x:2480, _ft177:95, y:404, prClass:_iq290, type:1}, {x:2766, _ft177:96, y:268, prClass:_iq290, type:0}, {x:2419, _ft177:0, y:340, prClass:_sg385}, {State:0, x:3398, y:419, action:"", rotation:0, width:100, _eh293:true, _ft177:76, prClass:_tq12, height:50, active:false}, {x:3020, blockWidth:50, y:390, _gj521:0, numBlocks:7, _ft177:75, prClass:_iv70}, {State:0, x:3590, y:350, action:"", rotation:-14, width:200, _eh293:false, _ft177:77, prClass:_tq12, height:50, active:false}, {State:0, x:3782, y:326, action:"", rotation:0, width:200, _eh293:false, _ft177:78, prClass:_tq12, height:50, active:false}, {State:0, x:3972, y:350, action:"", rotation:14, width:200, _eh293:false, _ft177:79, prClass:_tq12, height:50, active:false}, {x:0x0F0F, _ft177:98, y:132, prClass:_be514}, {State:0, x:4593, y:393, action:"", rotation:0, width:350, _eh293:true, _ft177:81, prClass:_tq12, height:50, active:false}, {x:4268, _ft177:99, y:440, prClass:_iq290, type:1}, {State:9, x:4621, y:352, color:1, _ft177:102, radius:15, prClass:_ox149}, {State:0, x:4243, y:528, action:"", rotation:0, width:350, _eh293:true, _ft177:80, prClass:_tq12, height:50, active:false}, {State:0, x:4940, y:242, action:"", rotation:0, width:50, _eh293:true, _ft177:101, prClass:_tq12, height:200, active:false}, {State:0, x:4990, y:242, action:"", rotation:0, width:350, _eh293:true, _ft177:82, prClass:_tq12, height:50, active:false}, {State:0, x:5340, y:141, action:"", rotation:0, width:50, _eh293:true, _ft177:103, prClass:_tq12, height:150, active:false}, {x:4965, _ft177:104, y:200, prClass:_la261, radius:24}, {State:4, x:5295, y:212, color:0, _ft177:105, radius:15, prClass:_ox149}, {State:0, x:5340, y:141, action:"", rotation:0, width:350, _eh293:false, _ft177:83, prClass:_tq12, height:50, active:false}, {x:5611, _ft177:84, y:52, prClass:_kp425}, {x:5532, _ft177:106, y:104, prClass:_iq290, type:1}]}, {mapWidth:10000, lives:3, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:49, _ft177:0, y:272, prClass:_sg385}, {State:0, x:-1, y:0, action:"", rotation:0, width:400, _eh293:true, _ft177:57, prClass:_tq12, height:200, active:false}, {State:0, x:0, y:408, action:"", rotation:0, width:400, _eh293:true, _ft177:58, prClass:_tq12, height:200, active:false}, {State:0, x:399, y:459, action:"", rotation:0, width:400, _eh293:true, _ft177:59, prClass:_tq12, height:150, active:false}, {State:0, x:397, y:0, action:"", rotation:0, width:400, _eh293:true, _ft177:60, prClass:_tq12, height:200, active:false}, {State:9, x:448, y:435, color:1, _ft177:150, radius:15, prClass:_ox149}, {x:523, _ft177:153, y:330, prClass:_iq290, type:1}, {State:0, x:799, y:509, action:"", rotation:0, width:400, _eh293:true, _ft177:61, prClass:_tq12, height:100, active:false}, {State:0, x:794, y:0, action:"", rotation:0, width:400, _eh293:true, _ft177:62, prClass:_tq12, height:200, active:false}, {x:541, orientation:0, timeDelay:-1, y:412, width:120, _ft177:110, prClass:_nd36, height:50}, {x:904, orientation:1, timeDelay:-1, y:201, width:120, _ft177:111, prClass:_nd36, height:50}, {State:4, x:696, y:436, color:0, _ft177:151, radius:15, prClass:_ox149}, {x:835, _ft177:152, y:484, prClass:_la261, radius:24}, {x:1201, orientation:0, timeDelay:-1, y:553, width:120, _ft177:63, prClass:_nd36, height:50}, {State:0, x:1323, y:552, action:"", rotation:0, width:250, _eh293:true, _ft177:64, prClass:_tq12, height:50, active:false}, {State:0, x:1193, y:0, action:"", rotation:0, width:400, _eh293:true, _ft177:65, prClass:_tq12, height:200, active:false}, {x:1574, orientation:0, timeDelay:-1, y:553, width:120, _ft177:66, prClass:_nd36, height:50}, {State:0, x:1699, y:504, action:"", rotation:0, width:150, _eh293:true, _ft177:67, prClass:_tq12, height:100, active:false}, {State:0, x:1591, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:68, prClass:_tq12, height:200, active:false}, {x:1774, _ft177:113, y:306, prClass:_iq290, type:1}, {x:1342, _ft177:114, y:522, prClass:_iq290, type:1}, {x:1390, _ft177:115, y:523, prClass:_la261, radius:24}, {State:0, x:1990, y:-2, action:"", rotation:0, width:400, _eh293:true, _ft177:70, prClass:_tq12, height:200, active:false}, {State:0, x:2271, y:500, action:"", rotation:0, width:150, _eh293:true, _ft177:72, prClass:_tq12, height:100, active:false}, {x:2024, blockWidth:50, y:516, _gj521:0, numBlocks:7, _ft177:69, prClass:_iv70}, {x:2029, _ft177:77, y:350, prClass:_be514}, {State:0, x:2388, y:-2, action:"", rotation:0, width:400, _eh293:true, _ft177:73, prClass:_tq12, height:50, active:false}, {State:0, x:2421, y:349, action:"", rotation:0, width:150, _eh293:true, _ft177:74, prClass:_tq12, height:250, active:false}, {State:0, x:2571, y:549, action:"", rotation:0, width:450, _eh293:true, _ft177:75, prClass:_tq12, height:50, active:false}, {x:2540, _ft177:0, y:301, prClass:_sg385}, {State:0, x:2787, y:-2, action:"", rotation:0, width:400, _eh293:true, _ft177:76, prClass:_tq12, height:50, active:false}, {x:2970, _ft177:80, _ac127:true, y:534, prClass:_na10}, {x:2424, orientation:2, timeDelay:50, y:361, width:50, _ft177:116, prClass:_nd36, height:150}, {x:2422, _ft177:117, y:126, prClass:_iq290, type:1}, {State:0, x:2779, y:188, action:"", rotation:0, width:50, _eh293:false, _ft177:118, prClass:_tq12, height:50, active:false}, {x:2803, _ft177:121, y:156, prClass:_iq290, type:1}, {x:2604, _ft177:123, y:519, prClass:_la261, radius:24}, {State:4, x:2718, y:525, color:1, _ft177:124, radius:15, prClass:_ox149}, {State:4, x:2888, y:520, color:0, _ft177:125, radius:15, prClass:_ox149}, {State:0, x:3019, y:200, action:"", rotation:0, width:50, _eh293:false, _ft177:79, prClass:_tq12, height:400, active:false}, {State:0, x:3518, y:200, action:"", rotation:0, width:50, _eh293:false, _ft177:82, prClass:_tq12, height:400, active:false}, {width:453, x:3295, _ft177:83, y:390, prClass:_rq150, height:350}, {State:0, x:3186, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:84, prClass:_tq12, height:50, active:false}, {State:0, x:3069, y:549, action:"", rotation:0, width:450, _eh293:true, _ft177:81, prClass:_tq12, height:50, active:false}, {State:0, x:3168, y:199, action:"", rotation:0, width:50, _eh293:false, _ft177:126, prClass:_tq12, height:50, active:false}, {State:0, x:3397, y:195, action:"", rotation:0, width:50, _eh293:false, _ft177:127, prClass:_tq12, height:50, active:false}, {State:101, x:3314, _ft177:128, y:411, prClass:_jq234}, {State:9, x:3208, y:428, color:1, _ft177:129, radius:15, prClass:_ox149}, {State:9, x:3397, y:385, color:0, _ft177:130, radius:15, prClass:_ox149}, {x:3292, _ft177:131, y:202, prClass:_iq290, type:1}, {x:3522, orientation:3, timeDelay:100, y:460, width:40, _ft177:133, prClass:_nd36, height:80}, {State:0, x:3556, y:239, action:"", rotation:11, width:400, _eh293:false, _ft177:85, prClass:_tq12, height:50, active:false}, {State:0, x:0x0E00, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:86, prClass:_tq12, height:50, active:false}, {State:0, x:3569, y:549, action:"", rotation:0, width:400, _eh293:true, _ft177:87, prClass:_tq12, height:50, active:false}, {State:0, x:3968, y:549, action:"", rotation:0, width:400, _eh293:true, _ft177:88, prClass:_tq12, height:50, active:false}, {State:0, x:3983, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:89, prClass:_tq12, height:100, active:false}, {x:3626, _ft177:132, y:370, prClass:_iq290, type:1}, {State:4, x:3836, y:508, color:0, _ft177:134, radius:15, prClass:_ox149}, {State:0, x:4084, y:-51, action:"", rotation:0, width:400, _eh293:true, _ft177:90, prClass:_tq12, height:50, active:false}, {State:0, x:4551, y:312, action:"", rotation:0, width:400, _eh293:true, _ft177:91, prClass:_tq12, height:350, active:false}, {x:4505, orientation:2, timeDelay:-1, y:320, width:50, _ft177:92, prClass:_nd36, height:120}, {x:4318, _ft177:93, _ac127:true, y:534, prClass:_na10}, {State:0, x:4381, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:94, prClass:_tq12, height:50, active:false}, {x:4488, _ft177:136, y:219, prClass:_iq290, type:1}, {State:0, x:4780, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:95, prClass:_tq12, height:50, active:false}, {State:0, x:5179, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:97, prClass:_tq12, height:100, active:false}, {State:6, x:4921, y:294, color:0, _ft177:138, radius:15, prClass:_ox149}, {x:5183, blockWidth:60, y:324, _gj521:12, numBlocks:8, _ft177:96, prClass:_iv70}, {x:5325, _ft177:139, y:229, prClass:_be514}, {State:0, x:5509, y:425, action:"", rotation:0, width:350, _eh293:true, _ft177:98, prClass:_tq12, height:250, active:false}, {State:0, x:5576, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:99, prClass:_tq12, height:100, active:false}, {x:5628, _ft177:140, y:242, prClass:_iq290, type:1}, {x:5830, _ft177:0, y:382, prClass:_sg385}, {x:5874, _ft177:141, y:526, prClass:_la261, radius:24}, {State:0, x:5860, y:552, action:"", rotation:0, width:550, _eh293:true, _ft177:100, prClass:_tq12, height:50, active:false}, {State:0, x:5975, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:101, prClass:_tq12, height:100, active:false}, {x:6409, orientation:0, timeDelay:-1, y:554, width:120, _ft177:102, prClass:_nd36, height:50}, {x:6531, orientation:0, timeDelay:-1, y:553, width:120, _ft177:103, prClass:_nd36, height:50}, {x:6360, _ft177:105, _ac127:true, y:538, prClass:_na10}, {State:0, x:6373, y:-1, action:"", rotation:0, width:400, _eh293:true, _ft177:107, prClass:_tq12, height:100, active:false}, {x:6073, _ft177:142, y:322, prClass:_iq290, type:1}, {State:4, x:6262, y:526, color:0, _ft177:143, radius:15, prClass:_ox149}, {State:0, x:6653, y:551, action:"", rotation:0, width:550, _eh293:true, _ft177:106, prClass:_tq12, height:50, active:false}, {State:0, x:6772, y:-1, action:"", rotation:0, width:450, _eh293:true, _ft177:108, prClass:_tq12, height:100, active:false}, {x:0x1B1B, _ft177:146, y:518, prClass:_la261, radius:24}, {x:7123, _ft177:147, y:459, prClass:_kp425}, {State:4, x:6768, y:518, color:1, _ft177:149, radius:15, prClass:_ox149}, {State:4, x:6723, y:526, color:0, _ft177:148, radius:15, prClass:_ox149}, {x:6648, _ft177:144, y:388, prClass:_iq290, type:1}, {State:0, x:7201, y:0, action:"", rotation:0, width:400, _eh293:true, _ft177:109, prClass:_tq12, height:600, active:false}]}, {mapWidth:10000, lives:2, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:81, prClass:_sg385, y:99, _ft177:0}, {State:0, x:300, prClass:_tq12, _eh293:true, rotation:0, width:300, action:"", y:550, _ft177:61, height:50, active:false}, {State:0, x:277, prClass:_tq12, _eh293:false, rotation:-16, width:250, action:"", y:171, _ft177:58, height:50, active:false}, {State:0, x:0, prClass:_tq12, _eh293:false, rotation:0, width:300, action:"", y:202, _ft177:57, height:400, active:false}, {_ft177:101, x:562, prClass:_iq290, y:198, type:1}, {_ft177:102, x:334, prClass:_iq290, y:519, type:1}, {x:386, prClass:_la261, y:522, _ft177:104, radius:24}, {State:9, x:463, prClass:_ox149, radius:15, color:1, y:133, _ft177:100}, {State:0, x:654, prClass:_tq12, _eh293:true, rotation:0, width:150, action:"", y:-2, _ft177:59, height:250, active:false}, {x:605, orientation:2, prClass:_nd36, timeDelay:-1, width:50, y:124, _ft177:60, height:120}, {State:0, x:601, prClass:_tq12, _eh293:false, rotation:0, width:300, action:"", y:370, _ft177:62, height:250, active:false}, {State:0, x:900, prClass:_tq12, _eh293:false, rotation:0, width:300, action:"", y:129, _ft177:63, height:500, active:false}, {_ac127:true, x:852, prClass:_na10, y:357, _ft177:64}, {x:1017, prClass:_sg385, y:91, _ft177:0}, {State:5, x:639, prClass:_ox149, radius:15, color:0, y:344, _ft177:103}, {_ft177:105, x:834, prClass:_iq290, y:44, type:1}, {State:5, x:919, prClass:_ox149, radius:15, color:1, y:104, _ft177:106}, {State:0, x:1355, prClass:_tq12, _eh293:false, rotation:0, width:150, action:"", y:-1, _ft177:65, height:400, active:false}, {x:1195, orientation:3, prClass:_nd36, timeDelay:-1, width:50, y:150, _ft177:66, height:120}, {State:0, x:1200, prClass:_tq12, _eh293:false, rotation:0, width:300, action:"", y:466, _ft177:68, height:150, active:false}, {x:1362, orientation:1, prClass:_nd36, timeDelay:100, width:100, y:349, _ft177:69, height:50}, {State:0, x:1500, prClass:_tq12, _eh293:false, rotation:0, width:300, action:"", y:465, _ft177:70, height:150, active:false}, {_ac127:true, x:1745, prClass:_na10, y:451, _ft177:71}, {_ft177:107, x:1233, prClass:_iq290, y:433, type:1}, {_ft177:109, x:1534, prClass:_iq290, y:48, type:1}, {State:0, x:1504, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:247, _ft177:108, height:50, active:false}, {State:0, x:1798, prClass:_tq12, _eh293:true, rotation:0, width:150, action:"", y:215, _ft177:72, height:400, active:false}, {State:0, x:1947, prClass:_tq12, _eh293:true, rotation:0, width:450, action:"", y:558, _ft177:75, height:50, active:false}, {State:9, x:1821, prClass:_ox149, radius:15, color:1, y:186, _ft177:110}, {x:1978, prClass:_la261, y:522, _ft177:112, radius:24}, {_ft177:113, x:2356, prClass:_iq290, y:525, type:1}, {_gj521:0, x:2122, prClass:_iv70, blockWidth:60, numBlocks:6, y:233, _ft177:73}, {State:0, x:2351, prClass:_tq12, _eh293:false, rotation:-19, width:400, action:"", y:242, _ft177:74, height:50, active:false}, {State:0, x:2377, prClass:_tq12, _eh293:false, rotation:-19, width:400, action:"", y:498, _ft177:76, height:50, active:false}, {State:0, x:2805, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:548, _ft177:77, height:50, active:false}, {_ac127:true, x:2810, prClass:_na10, y:533, _ft177:78}, {_ft177:111, x:2690, prClass:_iq290, y:158, type:1}, {State:9, x:2823, prClass:_ox149, radius:15, color:1, y:433, _ft177:114}, {State:0, x:3018, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:283, _ft177:79, height:50, active:false}, {State:0, x:3306, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:393, _ft177:80, height:50, active:false}, {_ft177:115, x:3306, prClass:_iq290, y:199, type:1}, {State:5, x:3511, prClass:_ox149, radius:15, color:0, y:278, _ft177:118}, {State:0, x:3470, prClass:_tq12, _eh293:true, rotation:0, width:300, action:"", y:320, _ft177:81, height:350, active:false}, {State:0, x:3957, prClass:_tq12, _eh293:true, rotation:0, width:250, action:"", y:320, _ft177:82, height:350, active:false}, {x:3578, orientation:0, prClass:_nd36, timeDelay:-1, width:100, y:278, _ft177:116, height:50}, {State:5, x:3724, prClass:_ox149, radius:15, color:1, y:279, _ft177:119}, {x:4097, orientation:0, prClass:_nd36, timeDelay:-1, width:100, y:272, _ft177:117, height:50}, {State:0, x:4203, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:154, _ft177:83, height:450, active:false}, {State:0, x:4751, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:151, _ft177:85, height:450, active:false}, {width:504, x:4503, _ft177:86, prClass:_rq150, y:370, height:385}, {State:0, x:4252, prClass:_tq12, _eh293:true, rotation:0, width:500, action:"", y:558, _ft177:84, height:50, active:false}, {_ft177:120, x:4224, prClass:_iq290, y:104, type:1}, {State:2, x:4378, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:295, _ft177:121, height:50, active:false}, {State:2, x:4591, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:235, _ft177:122, height:50, active:false}, {State:2, x:4453, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:288.924161502892, _ft177:123, height:50, active:false}, {State:102, x:4297, distance:90, prClass:_jq234, y:324, _ft177:125}, {x:4257, orientation:0, prClass:_nd36, timeDelay:-1, width:120, y:504, _ft177:126, height:50}, {x:4509, orientation:0, prClass:_nd36, timeDelay:-1, width:120, y:505, _ft177:127, height:50}, {_ft177:128, x:4442, prClass:_iq290, y:528, type:1}, {_ft177:129, x:4696, prClass:_iq290, y:530, type:1}, {State:102, x:4549.07956379221, distance:90, prClass:_jq234, y:284.379617065782, _ft177:130}, {x:4221, prClass:_sg385, y:117, _ft177:0}, {State:0, x:4799, prClass:_tq12, _eh293:true, rotation:0, width:250, action:"", y:151, _ft177:87, height:450, active:false}, {State:0, x:5048, prClass:_tq12, _eh293:true, rotation:0, width:350, action:"", y:497, _ft177:89, height:100, active:false}, {State:0, x:5212, prClass:_tq12, _eh293:true, rotation:0, width:250, action:"", y:-4, _ft177:88, height:250, active:false}, {x:5068, prClass:_la261, y:468, _ft177:132, radius:24}, {_ft177:133, x:5364, prClass:_iq290, y:468, type:1}, {State:4, x:5170, prClass:_ox149, radius:15, color:1, y:475, _ft177:134}, {State:0, x:0x1515, prClass:_tq12, _eh293:true, rotation:0, width:350, action:"", y:497, _ft177:90, height:100, active:false}, {State:0, x:5461, prClass:_tq12, _eh293:true, rotation:0, width:250, action:"", y:-4, _ft177:91, height:250, active:false}, {State:0, x:5865, prClass:_tq12, _eh293:false, rotation:-30, width:250, action:"", y:242, _ft177:92, height:250, active:false}, {_ft177:136, x:5776, prClass:_iq290, y:292, type:1}, {State:0, x:6128, prClass:_tq12, _eh293:false, rotation:-20, width:250, action:"", y:397, _ft177:93, height:50, active:false}, {State:0, x:6410, prClass:_tq12, _eh293:false, rotation:-19, width:250, action:"", y:337, _ft177:94, height:250, active:false}, {_ft177:137, x:6291, prClass:_iq290, y:354, type:1}, {State:9, x:6396, prClass:_ox149, radius:15, color:1, y:352, _ft177:138}, {State:9, x:6429, prClass:_ox149, radius:15, color:0, y:330, _ft177:139}, {State:9, x:6446, prClass:_ox149, radius:15, color:1, y:302, _ft177:140}, {State:9, x:6479, prClass:_ox149, radius:15, color:0, y:280, _ft177:141}, {State:9, x:6496, prClass:_ox149, radius:15, color:1, y:252, _ft177:142}, {State:9, x:6529, prClass:_ox149, radius:15, color:0, y:230, _ft177:143}, {State:0, x:6768, prClass:_tq12, _eh293:true, rotation:0, width:150, action:"", y:438, _ft177:95, height:50, active:false}, {State:0, x:7018, prClass:_tq12, _eh293:true, rotation:0, width:150, action:"", y:296, _ft177:97, height:50, active:false}, {x:7099, prClass:_kp425, y:211, _ft177:99}, {x:6764, prClass:_be514, y:114, _ft177:98}]}, {mapWidth:10000, lives:2, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:81, prClass:_sg385, y:99, _ft177:0}, {State:0, x:0, prClass:_tq12, _eh293:true, rotation:0, width:300, action:"", y:551, _ft177:61, height:50, active:false}, {State:0, x:300, prClass:_tq12, _eh293:true, rotation:0, width:300, action:"", y:500, _ft177:62, height:100, active:false}, {State:4, x:271, prClass:_ox149, radius:15, color:0, y:524, _ft177:113}, {_ft177:114, x:338, prClass:_iq290, y:391, type:1}, {x:303, prClass:_la261, y:480, _ft177:85, radius:24}, {_gj521:-21, x:837, prClass:_iv70, blockWidth:60, numBlocks:8, y:505, _ft177:63}, {State:0, x:1159, prClass:_tq12, _eh293:true, rotation:0, width:100, action:"", y:307, _ft177:64, height:300, active:false}, {State:0, x:1326, prClass:_tq12, _eh293:false, rotation:-17, width:150, action:"", y:147, _ft177:65, height:150, active:false}, {State:0, x:1511, prClass:_tq12, _eh293:false, rotation:25, width:150, action:"", y:282, _ft177:66, height:150, active:false}, {x:1204, prClass:_sg385, y:259, _ft177:0}, {State:0, x:1721, prClass:_tq12, _eh293:false, rotation:-20, width:150, action:"", y:382, _ft177:68, height:150, active:false}, {_ft177:86, x:1333, prClass:_iq290, y:126, type:1}, {_ft177:88, x:1614, prClass:_iq290, y:240, type:1}, {_ft177:89, x:1771, prClass:_iq290, y:355, type:1}, {State:5, x:1177, prClass:_ox149, radius:15, color:1, y:247, _ft177:87}, {State:0, x:1924, prClass:_tq12, _eh293:false, rotation:-20, width:150, action:"", y:328, _ft177:69, height:150, active:false}, {State:0, x:2225, prClass:_tq12, _eh293:false, rotation:-20, width:200, action:"", y:355, _ft177:70, height:200, active:false}, {_ft177:90, x:2190, prClass:_iq290, y:331, type:1}, {State:0, x:2376, prClass:_tq12, _eh293:false, rotation:25, width:200, action:"", y:402, _ft177:71, height:200, active:false}, {_gj521:0, x:2790, prClass:_iv70, blockWidth:50, numBlocks:7, y:465, _ft177:72}, {State:0, x:3079, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:0x0200, _ft177:73, height:50, active:false}, {_ac127:true, x:3085, prClass:_na10, y:497, _ft177:74}, {State:0, x:3198, prClass:_tq12, _eh293:false, rotation:20, width:300, action:"", y:219, _ft177:75, height:200, active:false}, {State:0, x:3273, prClass:_tq12, _eh293:false, rotation:-6, width:300, action:"", y:524, _ft177:76, height:100, active:false}, {x:3392, prClass:_sg385, y:199, _ft177:0}, {_ft177:91, x:3094, prClass:_iq290, y:414, type:1}, {State:6, x:3450, prClass:_ox149, radius:15, color:1, y:236, _ft177:92}, {_ft177:93, x:3303, prClass:_iq290, y:510, type:1}, {action:"", x:3620, prClass:_tq12, height:5, y:547, active:false, State:1, dist:250, _eh293:true, width:80, dx:1, _ft177:77, rotation:0, dy:-1}, {State:0, x:3961, prClass:_tq12, _eh293:false, rotation:-17, width:150, action:"", y:227, _ft177:79, height:150, active:false}, {action:"", x:4104, prClass:_tq12, height:7, y:228, active:false, State:1, dist:250, _eh293:true, width:80, dx:1, _ft177:80, rotation:0, dy:1}, {_ft177:94, x:3872, prClass:_iq290, y:0xFF, type:1}, {State:0, x:4483, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:470, _ft177:82, height:50, active:false}, {State:0, x:4483, prClass:_tq12, _eh293:true, rotation:0, width:300, action:"", y:520, _ft177:81, height:50, active:false}, {State:0, x:4729, prClass:_tq12, _eh293:true, rotation:0, width:50, action:"", y:471, _ft177:83, height:50, active:false}, {_ft177:95, x:4389, prClass:_iq290, y:210, type:1}, {_ft177:96, x:4564, prClass:_iq290, y:486, type:1}, {x:4602, prClass:_la261, y:493, _ft177:97, radius:24}, {_gj521:-16, x:5036, prClass:_iv70, blockWidth:60, numBlocks:8, y:393, _ft177:84}, {State:0, x:5360, prClass:_tq12, _eh293:false, rotation:-17, width:200, action:"", y:384, _ft177:98, height:200, active:false}, {State:0, x:5528, prClass:_tq12, _eh293:false, rotation:17, width:200, action:"", y:441, _ft177:99, height:200, active:false}, {State:0, x:5766, prClass:_tq12, _eh293:false, rotation:-21, width:450, action:"", y:445, _ft177:100, height:50, active:false}, {_ft177:115, x:5462, prClass:_iq290, y:334, type:1}, {_ft177:116, x:5606, prClass:_iq290, y:379, type:0}, {x:5577, prClass:_sg385, y:381, _ft177:0}, {State:6, x:5655, prClass:_ox149, radius:15, color:1, y:429, _ft177:118}, {State:0, x:6163, prClass:_tq12, _eh293:false, rotation:-31, width:450, action:"", y:253, _ft177:101, height:50, active:false}, {x:6238, prClass:_be514, y:111, _ft177:119}, {State:0, x:6608, prClass:_tq12, _eh293:true, rotation:0, width:100, action:"", y:473, _ft177:102, height:50, active:false}, {_ac127:true, x:6638, prClass:_na10, y:456, _ft177:103}, {x:6651, prClass:_sg385, y:402, _ft177:0}, {State:5, x:6651, prClass:_ox149, radius:15, color:1, y:375, _ft177:120}, {_ft177:121, x:6648, prClass:_iq290, y:182, type:1}, {_gj521:-22, x:7011, prClass:_iv70, blockWidth:60, numBlocks:8, y:326, _ft177:104}, {State:0, x:7359, prClass:_tq12, _eh293:true, rotation:0, width:500, action:"", y:513, _ft177:106, height:50, active:false}, {x:7370, orientation:0, prClass:_nd36, timeDelay:-1, width:120, y:478, _ft177:107, height:50}, {x:7641, orientation:0, prClass:_nd36, timeDelay:-1, width:120, y:463, _ft177:108, height:50}, {State:4, x:7515, prClass:_ox149, radius:15, color:0, y:487, _ft177:122}, {_ft177:123, x:7567, prClass:_iq290, y:399, type:1}, {State:0, x:7833, prClass:_tq12, _eh293:false, rotation:-22, width:500, action:"", y:421, _ft177:109, height:50, active:false}, {_ft177:125, x:7880, prClass:_iq290, y:465, type:1}, {State:9, x:8164, prClass:_ox149, radius:15, color:1, y:352, _ft177:126}, {x:7816, prClass:_sg385, y:477, _ft177:0}, {State:9, x:8649, prClass:_ox149, radius:15, color:1, y:261, _ft177:128}, {x:8214, prClass:_be514, y:188, _ft177:124}, {State:0, x:8308, prClass:_tq12, _eh293:false, rotation:-7, width:500, action:"", y:299, _ft177:110, height:50, active:false}, {State:0, x:8800, prClass:_tq12, _eh293:false, rotation:0, width:500, action:"", y:269, _ft177:111, height:50, active:false}, {x:9225, prClass:_kp425, y:184, _ft177:112}, {_ft177:129, x:9096, prClass:_iq290, y:229, type:1}]}, {mapWidth:11000, lives:3, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{width:300, x:0, _eh293:true, y:551, State:0, action:"", prClass:_tq12, active:false, _ft177:61, height:50, rotation:0}, {width:150, x:300, _eh293:true, y:401, State:0, action:"", prClass:_tq12, active:false, _ft177:62, height:200, rotation:0}, {width:150, x:450, _eh293:true, y:308, State:0, action:"", prClass:_tq12, active:false, _ft177:63, height:300, rotation:0}, {prClass:_sg385, x:77, _ft177:0, y:378}, {width:40, x:260, orientation:2, timeDelay:-1, y:405, prClass:_nd36, _ft177:99, height:80}, {State:9, x:153, y:528, prClass:_ox149, color:0, _ft177:122, radius:15}, {prClass:_iq290, x:328, _ft177:123, y:358, type:1}, {prClass:_be514, x:562, _ft177:101, y:102}, {width:150, x:600, _eh293:true, y:405, State:0, action:"", prClass:_tq12, active:false, _ft177:64, height:200, rotation:0}, {width:300, x:751, _eh293:true, y:549, State:0, action:"", prClass:_tq12, active:false, _ft177:65, height:50, rotation:0}, {width:150, x:1051, _eh293:true, y:399, State:0, action:"", prClass:_tq12, active:false, _ft177:66, height:200, rotation:0}, {prClass:_la261, x:0x0303, _ft177:102, y:516, radius:24}, {prClass:_sg385, x:1077, _ft177:0, y:365}, {prClass:_iq290, x:711, _ft177:124, y:363, type:1}, {prClass:_iq290, x:1015, _ft177:125, y:513, type:1}, {State:9, x:1150, y:375, prClass:_ox149, color:1, _ft177:126, radius:15}, {width:150, x:1201, _eh293:true, y:302, State:0, action:"", prClass:_tq12, active:false, _ft177:67, height:300, rotation:0}, {width:150, x:1351, _eh293:true, y:202, State:0, action:"", prClass:_tq12, active:false, _ft177:68, height:400, rotation:0}, {width:70, x:1279, orientation:0, timeDelay:-1, y:242, prClass:_nd36, _ft177:105, height:60}, {State:5, x:1238, y:264, prClass:_ox149, color:0, _ft177:127, radius:15}, {prClass:_iq290, x:1406, _ft177:128, y:161, type:1}, {numBlocks:5, x:1643, blockWidth:60, y:207, prClass:_iv70, _ft177:69, _gj521:35}, {width:150, x:1892, _eh293:true, y:418, State:0, action:"", prClass:_tq12, active:false, _ft177:70, height:300, rotation:0}, {prClass:_iq290, x:1962, _ft177:130, y:378, type:1}, {State:5, x:1916, y:380, prClass:_ox149, color:1, _ft177:129, radius:15}, {numBlocks:5, x:2165, blockWidth:50, y:422, prClass:_iv70, _ft177:71, _gj521:-35}, {width:250, x:2367, _eh293:true, y:213, State:0, action:"", prClass:_tq12, active:false, _ft177:72, height:400, rotation:0}, {width:350, x:2617, _eh293:true, y:556, State:0, action:"", prClass:_tq12, active:false, _ft177:73, height:50, rotation:0}, {prClass:_sg385, x:2470, _ft177:0, y:184}, {prClass:_iq290, x:2665, _ft177:133, y:347, type:1}, {prClass:_la261, x:2655, _ft177:106, y:521, radius:24}, {State:4, x:2658, y:535, prClass:_ox149, color:0, _ft177:132, radius:15}, {prClass:_be514, x:2884, _ft177:121, y:185}, {width:550, x:2965, _eh293:true, y:556, State:0, action:"", prClass:_tq12, active:false, _ft177:74, height:50, rotation:0}, {width:100, x:3514, _eh293:true, y:406, State:0, action:"", prClass:_tq12, active:false, _ft177:75, height:250, rotation:0}, {prClass:_la261, x:3116, _ft177:107, y:534, radius:24}, {prClass:_sg385, x:3563, _ft177:0, y:375}, {State:4, x:3318, y:525, prClass:_ox149, color:1, _ft177:134, radius:15}, {prClass:_iq290, x:3495, _ft177:135, y:333, type:1}, {State:4, x:3656, y:528, prClass:_ox149, color:1, _ft177:136, radius:15}, {width:550, x:3615, _eh293:true, y:554, State:0, action:"", prClass:_tq12, active:false, _ft177:76, height:50, rotation:0}, {width:50, x:4164, _eh293:true, y:463, State:0, action:"", prClass:_tq12, active:false, _ft177:77, height:150, rotation:0}, {prClass:_la261, x:3656, _ft177:108, y:520, radius:24}, {prClass:_iq290, x:4189, _ft177:137, y:393, type:1}, {prClass:_be514, x:4118, _ft177:109, y:108}, {width:50, x:4213, _eh293:true, y:416, State:0, action:"", prClass:_tq12, active:false, _ft177:78, height:200, rotation:0}, {width:50, x:4262, _eh293:true, y:356, State:0, action:"", prClass:_tq12, active:false, _ft177:79, height:250, rotation:0}, {width:50, x:4311, _eh293:true, y:304, State:0, action:"", prClass:_tq12, active:false, _ft177:80, height:300, rotation:0}, {width:50, x:4360, _eh293:true, y:0x0101, State:0, action:"", prClass:_tq12, active:false, _ft177:81, height:350, rotation:0}, {prClass:_sg385, x:4383, _ft177:0, y:215}, {width:100, x:4569, _eh293:true, y:143, State:0, action:"", prClass:_tq12, active:false, _ft177:113, height:50, rotation:0}, {State:5, x:4585, y:107, prClass:_ox149, color:0, _ft177:138, radius:15}, {width:150, x:4725, _eh293:true, y:453, State:0, action:"", prClass:_tq12, active:false, _ft177:82, height:150, rotation:0}, {prClass:_tq12, x:4913, _eh293:true, y:351, dy:-1, action:"", dist:200, _ft177:83, height:7, State:1, width:80, rotation:0, dx:1, active:false}, {width:50, x:5260, _eh293:true, y:115, State:0, action:"", prClass:_tq12, active:false, _ft177:84, height:500, rotation:0}, {width:100, x:5310, _eh293:true, y:210, State:0, action:"", prClass:_tq12, active:false, _ft177:85, height:400, rotation:0}, {prClass:_na10, x:4783, _ft177:112, y:439, _ac127:true}, {prClass:_iq290, x:4804, _ft177:139, y:207, type:1}, {width:100, x:5311, orientation:0, timeDelay:100, y:220, prClass:_nd36, _ft177:140, height:50}, {State:9, x:5330, y:138, prClass:_ox149, color:1, _ft177:141, radius:15}, {State:9, x:5380, y:185, prClass:_ox149, color:0, _ft177:142, radius:15}, {width:50, x:5409, _eh293:true, y:106, State:0, action:"", prClass:_tq12, active:false, _ft177:86, height:500, rotation:0}, {width:50, x:5575, _eh293:true, y:-82, State:0, action:"", prClass:_tq12, active:false, _ft177:87, height:500, rotation:0}, {width:500, x:5460, _eh293:true, y:556, State:0, action:"", prClass:_tq12, active:false, _ft177:88, height:50, rotation:0}, {prClass:_na10, x:5744, _ft177:114, y:542, _ac127:true}, {width:50, x:5625, _eh293:true, y:258, State:0, action:"", prClass:_tq12, active:false, _ft177:115, height:50, rotation:0}, {width:50, x:5811, _eh293:true, y:166, State:0, action:"", prClass:_tq12, active:false, _ft177:116, height:50, rotation:0}, {width:120, x:5880, orientation:0, timeDelay:-1, y:508, prClass:_nd36, _ft177:117, height:50}, {State:5, x:5644, y:222, prClass:_ox149, color:0, _ft177:143, radius:15}, {prClass:_iq290, x:5829, _ft177:144, y:131, type:1}, {width:500, x:5958, _eh293:true, y:556, State:0, action:"", prClass:_tq12, active:false, _ft177:89, height:50, rotation:0}, {width:120, x:6002, orientation:0, timeDelay:-1, y:506, prClass:_nd36, _ft177:118, height:50}, {State:9, x:6784, y:462, prClass:_ox149, color:1, _ft177:145, radius:15}, {State:9, x:6844, y:458, prClass:_ox149, color:0, _ft177:146, radius:15}, {prClass:_sg385, x:6273, _ft177:0, y:523}, {width:600, x:6446, _eh293:false, y:501, State:0, action:"", prClass:_tq12, active:false, _ft177:90, height:50, rotation:-11}, {prClass:_be514, x:7003, _ft177:119, y:268}, {width:600, x:6980, _eh293:false, y:286, State:0, action:"", prClass:_tq12, active:false, _ft177:91, height:50, rotation:-33}, {prClass:_tq12, x:7543, _eh293:true, y:188, dy:1, action:"", dist:300, _ft177:92, height:7, State:1, width:80, rotation:0, dx:1, active:false}, {prClass:_sg385, x:7464, _ft177:0, y:111}, {width:450, x:7913, _eh293:true, y:554, State:0, action:"", prClass:_tq12, active:false, _ft177:93, height:50, rotation:0}, {prClass:_la261, x:7935, _ft177:120, y:522, radius:24}, {prClass:_iq290, x:7944, _ft177:147, y:413, type:1}, {prClass:_tq12, x:8408, _eh293:true, y:528, dy:-1, action:"", dist:200, _ft177:94, height:7, State:1, width:80, rotation:0, dx:1, active:false}, {prClass:_iq290, x:8720, _ft177:149, y:295, type:1}, {numBlocks:6, x:8862, blockWidth:50, y:353, prClass:_iv70, _ft177:95, _gj521:-10}, {width:450, x:9094, _eh293:false, y:324, State:0, action:"", prClass:_tq12, active:false, _ft177:96, height:50, rotation:10}, {width:450, x:9533, _eh293:false, y:362, State:0, action:"", prClass:_tq12, active:false, _ft177:97, height:50, rotation:0}, {prClass:_kp425, x:9883, _ft177:98, y:270}, {State:5, x:9656, y:334, prClass:_ox149, color:1, _ft177:150, radius:15}, {State:5, x:9701, y:319, prClass:_ox149, color:0, _ft177:151, radius:15}, {State:5, x:9733, y:338, prClass:_ox149, color:0, _ft177:152, radius:15}]}, {mapWidth:11000, lives:2, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{x:180, prClass:_sg385, y:121, _ft177:0}, {State:0, x:119, action:"", prClass:_tq12, y:189, rotation:21, _ft177:61, width:200, _eh293:false, height:200, active:false}, {State:0, x:414, action:"", prClass:_tq12, y:248, rotation:52, _ft177:62, width:350, _eh293:false, height:350, active:false}, {x:444, prClass:_iq290, y:282, type:1, _ft177:134}, {State:0, x:670, action:"", prClass:_tq12, y:422, rotation:52, _ft177:63, width:350, _eh293:false, height:350, active:false}, {State:0, x:1043, action:"", prClass:_tq12, y:571, rotation:0, _ft177:64, width:150, _eh293:true, height:50, active:false}, {_ac127:true, x:1094, prClass:_na10, y:555, _ft177:65}, {State:0, x:988, action:"", prClass:_tq12, y:219, rotation:0, _ft177:66, width:100, _eh293:true, height:50, active:false}, {State:0, x:785, action:"", prClass:_tq12, y:73, rotation:0, _ft177:67, width:100, _eh293:true, height:50, active:false}, {x:812, prClass:_iq290, y:358, type:1, _ft177:113}, {x:1116, prClass:_iq290, y:312, type:1, _ft177:114}, {x:805, prClass:_ox149, y:42, _ft177:115, State:5, radius:15, color:0}, {x:1009, prClass:_ox149, y:205, _ft177:116, State:5, radius:15, color:1}, {State:0, x:1255, action:"", prClass:_tq12, y:341, rotation:52, _ft177:68, width:350, _eh293:false, height:350, active:false}, {State:0, x:2119, action:"", prClass:_tq12, y:340, rotation:52, _ft177:70, width:250, _eh293:false, height:250, active:false}, {x:2177, prClass:_iq290, y:312, type:1, _ft177:117}, {x:2110, prClass:_sg385, y:375, _ft177:0}, {x:1827, prClass:_iv70, y:545, blockWidth:53, _gj521:-14, numBlocks:6, _ft177:69}, {x:2329, prClass:_be514, y:119, _ft177:118}, {State:0, x:2380, action:"", prClass:_tq12, y:281, rotation:52, _ft177:71, width:250, _eh293:false, height:250, active:false}, {State:0, x:2605, action:"", prClass:_tq12, y:172, rotation:46, _ft177:72, width:250, _eh293:false, height:250, active:false}, {State:0, x:2866, action:"", prClass:_tq12, y:262, rotation:-10, _ft177:74, width:100, _eh293:false, height:50, active:false}, {x:0x0A0A, prClass:_iq290, y:243, type:1, _ft177:119}, {x:2901, prClass:_sg385, y:230, _ft177:0}, {x:2863, prClass:_ox149, y:234, _ft177:129, State:9, radius:15, color:1}, {x:2987, action:"", prClass:_tq12, y:301.5, dist:250, _eh293:true, _ft177:73, State:1, dy:-1, dx:1, height:7, width:110, active:false, rotation:0}, {x:3309, action:"", prClass:_tq12, y:336.5, dist:250, _eh293:true, _ft177:75, State:1, dy:-1, dx:1, height:7, width:110, active:false, rotation:0}, {State:0, x:3757, action:"", prClass:_tq12, y:223, rotation:7, _ft177:76, width:250, _eh293:false, height:250, active:false}, {State:0, x:4078, action:"", prClass:_tq12, y:572, rotation:0, _ft177:77, width:50, _eh293:true, height:50, active:false}, {_ac127:true, x:4082, prClass:_na10, y:559, _ft177:78}, {x:4097, prClass:_iq290, y:467, type:1, _ft177:123}, {x:3798, prClass:_sg385, y:186, _ft177:0}, {State:0, x:4235, action:"", prClass:_tq12, y:0x0100, rotation:7, _ft177:79, width:250, _eh293:false, height:250, active:false}, {State:0, x:4487, action:"", prClass:_tq12, y:332, rotation:14, _ft177:80, width:500, _eh293:false, height:50, active:false}, {x:5160, prClass:_iv70, y:412, blockWidth:50, _gj521:-26, numBlocks:7, _ft177:81}, {x:4827, prClass:_be514, y:165, _ft177:124}, {State:0, x:5454, action:"", prClass:_tq12, y:571, rotation:0, _ft177:85, width:500, _eh293:true, height:50, active:false}, {State:0, x:5405, action:"", prClass:_tq12, y:244, rotation:0, _ft177:82, width:50, _eh293:true, height:400, active:false}, {State:0, x:5405, action:"", prClass:_tq12, y:205, rotation:0, _ft177:87, width:450, _eh293:true, height:50, active:false}, {width:500, x:5703, prClass:_rq150, y:411, height:330, _ft177:83}, {State:0, x:5951, action:"", prClass:_tq12, y:238, rotation:0, _ft177:84, width:50, _eh293:true, height:400, active:false}, {x:5487, prClass:_iq290, y:287, type:1, _ft177:88}, {x:5829, orientation:0, prClass:_nd36, y:520, _ft177:89, width:120, height:50, timeDelay:-1}, {x:5455, orientation:3, prClass:_nd36, y:455, _ft177:90, width:50, height:120, timeDelay:-1}, {x:5472, prClass:_ox149, y:420, _ft177:91, State:9, radius:15, color:1}, {x:5899, prClass:_ox149, y:477, _ft177:92, State:9, radius:15, color:0}, {State:102, x:5606, prClass:_jq234, y:301, distance:100, _ft177:86}, {x:5431, prClass:_sg385, y:176, _ft177:0}, {width:500, x:6298, prClass:_rq150, y:414, height:330, _ft177:94}, {State:0, x:6051, action:"", prClass:_tq12, y:572, rotation:0, _ft177:95, width:500, _eh293:true, height:50, active:false}, {State:0, x:6547, action:"", prClass:_tq12, y:211, rotation:0, _ft177:96, width:50, _eh293:true, height:400, active:false}, {State:0, x:6000, action:"", prClass:_tq12, y:217, rotation:0, _ft177:93, width:50, _eh293:true, height:400, active:false}, {State:0, x:6249, action:"", prClass:_tq12, y:221, rotation:0, _ft177:97, width:50, _eh293:true, height:350, active:false}, {State:101, x:6350, prClass:_jq234, y:274, _ft177:98}, {x:6201, prClass:_iq290, y:534, type:1, _ft177:99}, {x:6508, prClass:_iq290, y:244, type:1, _ft177:100}, {x:6051, orientation:3, prClass:_nd36, y:319, _ft177:101, width:50, height:120, timeDelay:-1}, {x:6567, prClass:_sg385, y:128, _ft177:0}, {State:0, x:6598, action:"", prClass:_tq12, y:524, rotation:0, _ft177:103, width:200, _eh293:true, height:100, active:false}, {State:0, x:6796, action:"", prClass:_tq12, y:460, rotation:0, _ft177:102, width:400, _eh293:true, height:150, active:false}, {x:6595, orientation:0, prClass:_nd36, y:467, _ft177:105, width:200, height:60, timeDelay:-1}, {_ac127:true, x:6805, prClass:_na10, y:445, _ft177:106}, {x:6813, prClass:_iq290, y:288, type:1, _ft177:125}, {x:6887, radius:24, prClass:_la261, y:437, _ft177:126}, {x:7560, prClass:_ox149, y:363, _ft177:127, State:9, radius:15, color:1}, {x:7639, prClass:_ox149, y:333, _ft177:128, State:9, radius:15, color:0}, {State:0, x:7181, action:"", prClass:_tq12, y:404, rotation:-12, _ft177:107, width:550, _eh293:false, height:50, active:false}, {State:0, x:7699, action:"", prClass:_tq12, y:431, rotation:18, _ft177:108, width:550, _eh293:false, height:50, active:false}, {x:7855, prClass:_be514, y:178, _ft177:109}, {State:0, x:0x2020, action:"", prClass:_tq12, y:516, rotation:0, _ft177:110, width:450, _eh293:false, height:50, active:false}, {x:8588, prClass:_kp425, y:425, _ft177:111}, {x:8505, prClass:_iq290, y:484, type:1, _ft177:133}]}, {mapWidth:11000, lives:2, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{_ft177:0, x:206, prClass:_sg385, y:456}, {width:650, x:-2, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:59, State:0, y:550, height:50, active:false}, {width:600, x:-2, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:58, State:0, y:-2, height:350, active:false}, {State:4, x:333, prClass:_ox149, radius:15, _ft177:96, color:0, y:529}, {_ft177:97, x:751, prClass:_la261, y:481, radius:24}, {_ft177:61, x:606, _ac127:true, prClass:_na10, y:536}, {width:600, x:597, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:62, State:0, y:-2, height:200, active:false}, {width:550, x:648, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:60, State:0, y:506, height:100, active:false}, {_ft177:99, x:975, prClass:_iq290, y:381, type:1}, {State:5, x:1233, prClass:_ox149, radius:15, _ft177:100, color:0, y:377}, {width:500, x:1198, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:63, State:0, y:413, height:200, active:false}, {width:600, x:1197, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:64, State:0, y:-2, height:200, active:false}, {width:90, x:1262, orientation:0, prClass:_nd36, _ft177:98, timeDelay:-1, y:373, height:40}, {_ft177:101, x:1395, prClass:_iq290, y:366, type:1}, {width:120, x:1577, orientation:1, prClass:_nd36, _ft177:102, timeDelay:70, y:137, height:50}, {width:120, x:1570, orientation:0, prClass:_nd36, _ft177:104, timeDelay:70, y:419, height:50}, {_ft177:105, x:1755, prClass:_iq290, y:349, type:1}, {_ft177:0, x:1225, prClass:_sg385, y:298}, {_ft177:0, x:1463, prClass:_sg385, y:377}, {State:4, x:1861, prClass:_ox149, radius:15, _ft177:110, color:0, y:477}, {width:500, x:1698, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:65, State:0, y:507, height:100, active:false}, {width:600, x:1797, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:66, State:0, y:-2, height:200, active:false}, {width:200, x:2197, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:67, State:0, y:554, height:50, active:false}, {_ft177:107, x:2365, prClass:_iq290, y:516, type:1}, {_ft177:108, x:2226, prClass:_la261, y:523, radius:24}, {width:100, x:2041, orientation:0, prClass:_nd36, _ft177:109, timeDelay:-1, y:467, height:45}, {width:600, x:2397, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:69, State:0, y:-2, height:200, active:false}, {width:500, x:2396, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:68, State:0, y:503, height:100, active:false}, {_ft177:0, x:2427, prClass:_sg385, y:474}, {_ft177:111, x:2740, prClass:_be514, y:308}, {width:600, x:2997, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:71, State:0, y:-2, height:200, active:false}, {width:250, x:3340, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:72, State:0, y:368, height:250, active:false}, {State:5, x:3537, prClass:_ox149, radius:15, _ft177:114, color:1, y:330}, {_ft177:115, x:3611, prClass:_la261, y:425, radius:24}, {blockWidth:60, x:3070, prClass:_iv70, numBlocks:6, _ft177:70, _gj521:-20, y:510}, {width:400, x:3589, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:74, State:0, y:452, height:150, active:false}, {width:600, x:3597, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:73, State:0, y:-2, height:200, active:false}, {width:200, x:3989, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:75, State:0, y:550, height:50, active:false}, {_ft177:113, x:3958, prClass:_iq290, y:420, type:1}, {_ft177:77, x:4204, y:576, height:15, dy:-2, State:1, active:false, action:"", prClass:_tq12, _eh293:false, width:60, dist:265, rotation:0, dx:0}, {width:50, x:4273, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:76, State:0, y:90, height:550, active:false}, {width:400, x:4323, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:78, State:0, y:553, height:50, active:false}, {width:400, x:4523, _ft177:80, prClass:_rq150, y:339, height:460}, {width:50, x:4721, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:79, State:0, y:94, height:550, active:false}, {_ft177:123, x:4662, prClass:_iq290, y:363, type:1}, {_ft177:124, x:4375, prClass:_iq290, y:228, type:1}, {State:9, x:4495, prClass:_ox149, radius:15, _ft177:125, color:1, y:497}, {State:9, x:4618, prClass:_ox149, radius:15, _ft177:126, color:0, y:490}, {_ft177:139, x:4363, State:102, prClass:_jq234, y:505, distance:60}, {_ft177:140, x:4344, State:102, prClass:_jq234, y:161, distance:80}, {_ft177:141, x:4550, State:102, prClass:_jq234, y:282, distance:60}, {_ft177:0, x:4295, prClass:_sg385, y:53}, {width:500, x:4772, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:82, State:0, y:550, height:50, active:false}, {width:100, x:4847, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:83, State:0, y:174, height:50, active:false}, {width:100, x:5026, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:84, State:0, y:0x0101, height:50, active:false}, {width:100, x:5187, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:85, State:0, y:97, height:50, active:false}, {_ft177:86, x:5163, _ac127:true, prClass:_na10, y:534}, {width:100, x:5188, orientation:1, prClass:_nd36, _ft177:129, timeDelay:-1, y:148, height:50}, {_ft177:130, x:4863, prClass:_iq290, y:139, type:1}, {State:5, x:5068, prClass:_ox149, radius:15, _ft177:131, color:0, y:218}, {_ft177:0, x:5044, prClass:_sg385, y:222}, {width:150, x:5751, action:"", prClass:_tq12, rotation:-13, _eh293:false, _ft177:88, State:0, y:326, height:150, active:false}, {_ft177:132, x:5940, prClass:_iq290, y:294, type:1}, {width:250, x:5521, action:"", prClass:_tq12, rotation:-12, _eh293:false, _ft177:89, State:0, y:367, height:250, active:false}, {_ft177:0, x:5558, prClass:_sg385, y:353}, {width:550, x:6095, action:"", prClass:_tq12, rotation:-13, _eh293:false, _ft177:90, State:0, y:216, height:150, active:false}, {width:250, x:5891, action:"", prClass:_tq12, rotation:-21, _eh293:false, _ft177:142, State:0, y:316, height:250, active:false}, {_ft177:133, x:6336, prClass:_be514, y:45}, {width:500, x:6651, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:92, State:0, y:553, height:50, active:false}, {width:50, x:6605, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:91, State:0, y:157, height:450, active:false}, {width:500, x:6903, _ft177:94, prClass:_rq150, y:369, height:370}, {_ft177:95, x:7072, prClass:_kp425, y:460}, {State:9, x:6750, prClass:_ox149, radius:15, _ft177:134, color:1, y:184}, {State:9, x:6906, prClass:_ox149, radius:15, _ft177:135, color:0, y:191}, {State:9, x:7044, prClass:_ox149, radius:15, _ft177:136, color:1, y:184}, {_ft177:137, x:6718, prClass:_iq290, y:503, type:1}, {_ft177:138, x:6688, State:102, prClass:_jq234, y:331, distance:110}, {_ft177:0, x:6631, prClass:_sg385, y:117}, {width:400, x:7150, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:93, State:0, y:-3, height:600, active:false}]}, {mapWidth:11000, lives:1, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{_ft177:0, x:95, prClass:_sg385, y:102}, {width:100, x:42, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:60, State:0, y:169, height:50, active:false}, {width:100, x:310, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:61, State:0, y:504, height:50, active:false}, {_ft177:62, x:353, prClass:_iq290, y:468, type:1}, {width:100, x:623, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:63, State:0, y:553, height:50, active:false}, {_ft177:64, x:650, _ac127:true, prClass:_na10, y:536}, {width:100, x:764, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:65, State:0, y:284, height:50, active:false}, {_ft177:66, x:665, prClass:_iq290, y:373, type:1}, {_ft177:0, x:773, prClass:_sg385, y:207}, {width:300, x:989, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:69, State:0, y:548, height:50, active:false}, {State:5, x:783, prClass:_ox149, radius:15, _ft177:104, color:1, y:241}, {State:5, x:830, prClass:_ox149, radius:15, _ft177:105, color:0, y:159}, {_ft177:106, x:1136, prClass:_iq290, y:516, type:1}, {_ft177:68, x:1153, prClass:_be514, y:285}, {_ft177:70, x:1299, y:568, height:7, dy:-1, State:1, active:false, action:"", prClass:_tq12, _eh293:true, width:80, dist:250, rotation:0, dx:1}, {width:100, x:1662, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:71, State:0, y:283, height:50, active:false}, {_ft177:107, x:1611, prClass:_iq290, y:216, type:1}, {State:5, x:1677, prClass:_ox149, radius:15, _ft177:108, color:1, y:234}, {State:5, x:1727, prClass:_ox149, radius:15, _ft177:109, color:1, y:260}, {width:200, x:1898, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:72, State:0, y:340, height:50, active:false}, {width:100, x:1898, orientation:0, prClass:_nd36, _ft177:73, timeDelay:-1, y:295, height:50}, {width:100, x:2180, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:74, State:0, y:215, height:50, active:false}, {_ft177:110, x:2049, prClass:_iq290, y:304, type:1}, {_ft177:111, x:2220, prClass:_iq290, y:174, type:1}, {width:200, x:2430, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:76, State:0, y:548, height:50, active:false}, {width:100, x:2430, orientation:0, prClass:_nd36, _ft177:77, timeDelay:-1, y:497, height:50}, {_ft177:78, x:2720, y:571, height:7, dy:-2, State:1, active:false, action:"", prClass:_tq12, _eh293:true, width:80, dist:200, rotation:0, dx:0}, {width:100, x:2866, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:79, State:0, y:220, height:50, active:false}, {_ft177:0, x:2891, prClass:_sg385, y:177}, {State:9, x:2575, prClass:_ox149, radius:15, _ft177:112, color:1, y:515}, {_ft177:113, x:2841, prClass:_iq290, y:101, type:1}, {width:200, x:3135, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:80, State:0, y:474, height:50, active:false}, {width:50, x:3086, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:81, State:0, y:424, height:100, active:false}, {width:50, x:3335, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:82, State:0, y:424, height:100, active:false}, {_ft177:83, x:3159, prClass:_la261, y:446, radius:24}, {_ft177:84, x:3282, prClass:_iq290, y:440, type:1}, {State:5, x:3105, prClass:_ox149, radius:15, _ft177:114, color:0, y:353}, {width:200, x:3651, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:86, State:0, y:474, height:100, active:false}, {width:50, x:3602, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:87, State:0, y:374, height:200, active:false}, {width:50, x:3850, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:88, State:0, y:374, height:200, active:false}, {width:200, x:3653, orientation:0, prClass:_nd36, _ft177:89, timeDelay:100, y:484, height:80}, {State:9, x:3687, prClass:_ox149, radius:15, _ft177:90, color:1, y:413}, {State:9, x:3743, prClass:_ox149, radius:15, _ft177:91, color:0, y:424}, {State:9, x:3784, prClass:_ox149, radius:15, _ft177:92, color:0, y:416}, {_ft177:0, x:3619, prClass:_sg385, y:331}, {width:50, x:4038, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:94, State:0, y:521, height:50, active:false}, {_ft177:95, x:4043, _ac127:true, prClass:_na10, y:505}, {_ft177:117, x:4059, prClass:_iq290, y:410, type:0}, {width:50, x:4336, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:96, State:0, y:346, height:50, active:false}, {_ft177:97, x:4342, _ac127:true, prClass:_na10, y:330}, {width:50, x:4541, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:98, State:0, y:206, height:450, active:false}, {width:150, x:4591, action:"", prClass:_tq12, rotation:0, _eh293:true, _ft177:100, State:0, y:554, height:50, active:false}, {width:50, x:4740, action:"", prClass:_tq12, rotation:0, _eh293:false, _ft177:99, State:0, y:208, height:450, active:false}, {_ft177:101, x:4641, prClass:_kp425, y:462}, {_ft177:102, x:4659, prClass:_iq290, y:375, type:1}, {_ft177:115, x:4300, prClass:_iq290, y:0x0101, type:1}, {_ft177:0, x:4358, prClass:_sg385, y:176}, {_ft177:103, x:4719, prClass:_be514, y:16}]}, {mapWidth:11000, lives:1, scrollY:false, txtMsgs:[], defaultGroup:[], objects:[{State:0, x:90, y:510, prClass:_tq12, _ft177:61, width:500, active:false, action:"", _eh293:false, height:50, rotation:-10}, {x:41, y:463, prClass:_sg385, _ft177:0}, {State:0, x:1, y:553, prClass:_tq12, _ft177:60, width:100, active:false, action:"", _eh293:false, height:50, rotation:0}, {x:391, y:477, prClass:_ox149, _ft177:95, State:9, color:1, radius:15}, {x:483, y:466, prClass:_ox149, _ft177:96, State:9, color:0, radius:15}, {x:798, y:357, prClass:_ox149, _ft177:97, State:9, color:1, radius:15}, {x:581, y:283, prClass:_be514, _ft177:94}, {State:0, x:563, y:380, prClass:_tq12, _ft177:62, width:500, active:false, action:"", _eh293:false, height:50, rotation:-21}, {x:1100, y:339, type:1, prClass:_iq290, _ft177:98}, {_ft177:99, x:1101, y:522, prClass:_la261, radius:24}, {State:0, x:1080, y:554, prClass:_tq12, _ft177:63, width:500, active:false, action:"", _eh293:true, height:50, rotation:0}, {x:1525, y:513, prClass:_ox149, _ft177:100, State:5, color:0, radius:15}, {State:0, x:1591, y:404, prClass:_tq12, _ft177:64, width:500, active:false, action:"", _eh293:false, height:50, rotation:-14}, {State:0, x:2147, y:373, prClass:_tq12, _ft177:65, width:200, active:false, action:"", _eh293:false, height:200, rotation:-17}, {State:0, x:2297, y:423, prClass:_tq12, _ft177:66, width:200, active:false, action:"", _eh293:false, height:200, rotation:-17}, {x:1862, y:363, type:1, prClass:_iq290, _ft177:101}, {x:2356, y:399, type:1, prClass:_iq290, _ft177:103}, {x:2514, y:448, prClass:_ox149, _ft177:104, State:9, color:1, radius:15}, {x:2132, y:183, prClass:_be514, _ft177:102}, {State:0, x:2447, y:473, prClass:_tq12, _ft177:67, width:200, active:false, action:"", _eh293:false, height:200, rotation:-17}, {x:2804, y:0x0202, prClass:_iv70, blockWidth:50, _gj521:0, numBlocks:7, _ft177:68}, {State:0, x:3053, y:509, prClass:_tq12, _ft177:71, width:150, active:false, action:"", _eh293:true, height:100, rotation:0}, {State:0, x:3203, y:406, prClass:_tq12, _ft177:72, width:150, active:false, action:"", _eh293:true, height:200, rotation:0}, {State:0, x:3353, y:451, prClass:_tq12, _ft177:73, width:200, active:false, action:"", _eh293:true, height:150, rotation:0}, {x:3353, orientation:0, y:408, prClass:_nd36, _ft177:74, width:100, height:50, timeDelay:-1}, {x:3451, orientation:0, y:408, prClass:_nd36, _ft177:75, width:100, height:50, timeDelay:-1}, {x:3206, orientation:2, y:421, prClass:_nd36, _ft177:105, width:60, height:50, timeDelay:100}, {x:0x0C0C, y:462, prClass:_ox149, _ft177:106, State:9, color:1, radius:15}, {x:3275, y:360, type:1, prClass:_iq290, _ft177:107}, {x:3579, y:363, type:1, prClass:_iq290, _ft177:108}, {State:0, x:3552, y:406, prClass:_tq12, _ft177:76, width:150, active:false, action:"", _eh293:true, height:200, rotation:0}, {State:0, x:3702, y:557, prClass:_tq12, _ft177:77, width:500, active:false, action:"", _eh293:true, height:50, rotation:0}, {_ft177:109, x:3738, y:522, prClass:_la261, radius:24}, {x:3661, y:357, prClass:_sg385, _ft177:0}, {x:3846, y:529, prClass:_ox149, _ft177:111, State:4, color:1, radius:15}, {State:0, x:4662, y:412, prClass:_tq12, _ft177:80, width:150, active:false, action:"", _eh293:true, height:200, rotation:0}, {State:0, x:4202, y:401, prClass:_tq12, _ft177:78, width:150, active:false, action:"", _eh293:false, height:200, rotation:0}, {x:4219, y:366, prClass:_sg385, _ft177:0}, {x:4218, y:363, type:1, prClass:_iq290, _ft177:113}, {x:4706, y:378, prClass:_sg385, _ft177:0}, {x:4467, y:419, prClass:_iv70, blockWidth:50, _gj521:0, numBlocks:5, _ft177:79}, {x:4475, y:273, prClass:_be514, _ft177:81}, {State:0, x:4924, y:422, prClass:_tq12, _ft177:82, width:50, active:false, action:"", _eh293:true, height:50, rotation:0}, {State:0, x:5078, y:265, prClass:_tq12, _ft177:83, width:50, active:false, action:"", _eh293:true, height:50, rotation:0}, {State:0, x:5350, y:373, prClass:_tq12, _ft177:84, width:50, active:false, action:"", _eh293:true, height:50, rotation:0}, {x:4946, y:379, type:1, prClass:_iq290, _ft177:114}, {x:5089, y:215, type:0, prClass:_iq290, _ft177:116}, {x:5363, y:301, prClass:_ox149, _ft177:117, State:5, color:0, radius:15}, {State:0, x:5538, y:266, prClass:_tq12, _ft177:85, width:50, active:false, action:"", _eh293:true, height:50, rotation:0}, {State:0, x:5723, y:168, prClass:_tq12, _ft177:86, width:50, active:false, action:"", _eh293:true, height:50, rotation:0}, {State:0, x:6393, y:249, prClass:_tq12, _ft177:88, width:150, active:false, action:"", _eh293:true, height:200, rotation:0}, {x:0x1900, orientation:2, y:350, prClass:_nd36, _ft177:90, width:80, height:100, timeDelay:100}, {State:0, x:6150, y:554, prClass:_tq12, _ft177:89, width:450, active:false, action:"", _eh293:false, height:50, rotation:0}, {x:6171, y:518, type:1, prClass:_iq290, _ft177:118}, {x:6353, y:529, prClass:_ox149, _ft177:119, State:9, color:1, radius:15}, {x:6028, y:226, prClass:_iv70, blockWidth:63, _gj521:11, numBlocks:7, _ft177:87}, {x:6609, y:567, prClass:_tq12, _ft177:91, State:1, dist:250, dy:-1, _eh293:true, rotation:0, dx:1, width:80, height:7, active:false, action:""}, {State:0, x:6953, y:320, prClass:_tq12, _ft177:93, width:150, active:false, action:"", _eh293:true, height:200, rotation:0}, {x:6979, y:282, type:1, prClass:_iq290, _ft177:120}, {x:7013, y:282, prClass:_ox149, _ft177:121, State:9, color:1, radius:15}, {x:7078, y:283, prClass:_sg385, _ft177:0}, {State:0, x:7200, y:153, prClass:_tq12, _ft177:122, width:50, active:false, action:"", _eh293:true, height:450, rotation:0}, {State:0, x:7250, y:568, prClass:_tq12, _ft177:124, width:500, active:false, action:"", _eh293:true, height:50, rotation:0}, {State:0, x:7749, y:153, prClass:_tq12, _ft177:125, width:50, active:false, action:"", _eh293:true, height:450, rotation:0}, {State:102, x:7299, distance:150, y:253, prClass:_jq234, _ft177:128}, {width:501, x:7499, _ft177:127, y:379, prClass:_rq150, height:380}, {State:102, x:7483, distance:50, y:354, prClass:_jq234, _ft177:129}, {x:7348, y:189, prClass:_ox149, _ft177:130, State:9, color:1, radius:15}, {x:7478, y:184, prClass:_ox149, _ft177:131, State:9, color:1, radius:15}, {x:7595, y:191, prClass:_ox149, _ft177:132, State:9, color:0, radius:15}, {x:7698, y:195, prClass:_ox149, _ft177:133, State:9, color:0, radius:15}, {x:7346, y:378, type:1, prClass:_iq290, _ft177:134}, {x:7661, y:498, type:1, prClass:_iq290, _ft177:135}, {State:0, x:7760, y:279, prClass:_tq12, _ft177:136, width:600, active:false, action:"", _eh293:false, height:50, rotation:25}, {State:0, x:8321, y:407, prClass:_tq12, _ft177:137, width:100, active:false, action:"", _eh293:false, height:50, rotation:0}, {x:8367, y:370, type:1, prClass:_iq290, _ft177:138}, {State:0, x:8419, y:407, prClass:_tq12, _ft177:139, width:100, active:false, action:"", _eh293:false, height:50, rotation:0}, {x:8462, y:370, type:1, prClass:_iq290, _ft177:140}, {State:0, x:8479, y:285, prClass:_tq12, _ft177:141, width:600, active:false, action:"", _eh293:false, height:50, rotation:-25}, {x:8685, y:305, prClass:_ox149, _ft177:142, State:9, color:1, radius:15}, {x:8691, y:288, prClass:_ox149, _ft177:143, State:9, color:0, radius:15}, {x:8627, y:311, prClass:_ox149, _ft177:144, State:9, color:1, radius:15}, {x:8593, y:338, prClass:_ox149, _ft177:145, State:9, color:0, radius:15}, {x:9076, y:115, prClass:_ox149, _ft177:147, State:5, color:1, radius:15}, {x:9121, y:63, prClass:_ox149, _ft177:148, State:5, color:0, radius:15}, {x:9155, y:118, prClass:_ox149, _ft177:149, State:5, color:1, radius:15}, {x:9207, y:86, prClass:_ox149, _ft177:150, State:5, color:0, radius:15}, {State:0, x:9039, y:160, prClass:_tq12, _ft177:146, width:500, active:false, action:"", _eh293:false, height:50, rotation:0}, {x:9246, y:126, prClass:_ox149, _ft177:151, State:5, color:0, radius:15}, {x:9448, y:68, prClass:_kp425, _ft177:152}, {x:9341, y:123, type:1, prClass:_iq290, _ft177:153}]}]; } }//package Code.OPTIONS
Section 65
//_hd443 (Code.OPTIONS._hd443) package Code.OPTIONS { import Code.LIB.MP.*; import Code.OPTIONS.LANGUAGES.*; public class _hd443 { public static const _pc215:Array = [["blobBlow", TSBlobBlow], ["bonus", TSBonus], ["jumper", TSJumper], ["blobJump", TSClock], ["bulb", TSBulb], ["bg", TSBg], ["collect", TSCollect], ["active", TSActiveButton]]; public static const cGellAqua:int = 20208; public static const strTableName:String = "BeesAffairs2"; public static const cGreen:int = 783371; public static const cOrange:int = 16777011; public static const cPink:int = 15105195; public static const boardID:String = "68dd9dfbac338445"; public static const miHowToPlay:int = 2; public static const cAquaLight:int = 4517877; public static const cGellLOrange:int = 16764057; public static const cGellMagnet:int = 13395660; public static const cYellow:int = 0xD3DB00; public static const TColors:Array = [cAqua, cGreen, cYellow, cAquaLight, cWhite, cOrange]; public static const strGameName:String = "BeesAffairs"; public static const cGellRed:int = 0xCC3300; public static const cGellPink:int = 13382553; public static const miLanguage:int = 0; public static const miMenu:int = 1; public static const cRed:int = 0xCC3300; public static const miEnterName:int = 5; public static const miInstructions:int = 8; public static const miOptions:int = 6; public static const miSplashScreen:int = 10; public static const cWhite:int = 0xFAFAFA; public static const miChoosePlayer:int = 4; public static const cGellGreen:int = 52326; public static const miGame:int = 3; public static const cAqua:int = 39423; public static const cGellGray:int = 0xB0B0B0; public static var TBibaLogo:Class = _hd443_TBibaLogo; public static var GBlobGreenSwim:Class = _hd443_GBlobGreenSwim; public static var GTrap:Class = _hd443_GTrap; public static var TInstructions:Class = _hd443_TInstructions; public static var GPlayerBlobComplete:Class = _hd443_GPlayerBlobComplete; public static var GMainMenu:Class = _hd443_GMainMenu; public static var TFlagRU:Class = _hd443_TFlagRU; public static var GBlobYellow:Class = _hd443_GBlobYellow; public static var GCloud:Class = _hd443_GCloud; public static var TSBulb:Class = _hd443_TSBulb; public static var TScaledFrame:Class = _hd443_TScaledFrame; public static var BG:Class = _hd443_BG; public static var TSplashScreen:Class = _hd443_TSplashScreen; public static var GHeart:Class = _hd443_GHeart; public static var TFlagDE:Class = _hd443_TFlagDE; public static var TSpeakerOff:Class = _hd443_TSpeakerOff; public static var GRuchka:Class = _hd443_GRuchka; public static var TMusicOnn:Class = _hd443_TMusicOnn; public static var GJumper:Class = _hd443_GJumper; public static var GPlayerEyes:Class = _hd443_GPlayerEyes; public static var GDoor:Class = _hd443_GDoor; public static var GKey:Class = _hd443_GKey; public static var TSBlobBlow:Class = _hd443_TSBlobBlow; public static var TGameFrame:Class = _hd443_TGameFrame; public static var TFlagFR:Class = _hd443_TFlagFR; public static var CurHand:Class = _hd443_CurHand; public static var GWall:Class = _hd443_GWall; public static var TSJumper:Class = _hd443_TSJumper; public static var GBlobYellowSwim:Class = _hd443_GBlobYellowSwim; public static var TCursor:Class = _hd443_TCursor; public static var GWWin:Class = _hd443_GWWin; public static var TSClock:Class = _hd443_TSClock; public static var TWComplete:Class = _hd443_TWComplete; public static var TIntroBg:Class = _hd443_TIntroBg; public static var GBlobGreen:Class = _hd443_GBlobGreen; public static var TSBonus:Class = _hd443_TSBonus; public static var iLanguage:_en15; public static var _rd413:Class = _hd443__rd413; public static var TSButtonAqua:Class = _hd443_TSButtonAqua; public static var TFlagENG:Class = _hd443_TFlagENG; public static var GWGameOver:Class = _hd443_GWGameOver; public static var GGameBg:Class = _hd443_GGameBg; public static var GPlayerBlobNormal:Class = _hd443_GPlayerBlobNormal; public static var GWater:Class = _hd443_GWater; public static var TButtonMount:Class = _hd443_TButtonMount; public static var TSBg:Class = _hd443_TSBg; public static var TTVFrame:Class = _hd443_TTVFrame; public static var GOsnova:Class = _hd443_GOsnova; public static var GFish:Class = _hd443_GFish; public static var TButtonAL:Class = _hd443_TButtonAL; public static var GAlienBlob1:Class = _hd443_GAlienBlob1; public static var GAlienBlob2:Class = _hd443_GAlienBlob2; public static var GAlienBlob3:Class = _hd443_GAlienBlob3; public static var TButtonAR:Class = _hd443_TButtonAR; public static var GAlienBlob5:Class = _hd443_GAlienBlob5; public static var TSpeakerOnn:Class = _hd443_TSpeakerOnn; public static var GDoorOpened:Class = _hd443_GDoorOpened; public static var GAlienBlob4:Class = _hd443_GAlienBlob4; public static var TMusicOff:Class = _hd443_TMusicOff; public static var GJumperUnactive:Class = _hd443_GJumperUnactive; public static var GWup:Class = _hd443_GWup; public static var MoreGamesText:Class = _hd443_MoreGamesText; public static var TSCollect:Class = _hd443_TSCollect; public static var TTV2Frame:Class = _hd443_TTV2Frame; public static var GBubble:Class = _hd443_GBubble; public static var TPS2:Class = _hd443_TPS2; public static var GBridgeBlock:Class = _hd443_GBridgeBlock; public static var GActiveButton:Class = _hd443_GActiveButton; public static var GWallB:Class = _hd443_GWallB; public static var TPS1:Class = _hd443_TPS1; public static var TCurOpp:Class = _hd443_TCurOpp; public static var TPS3:Class = _hd443_TPS3; public static var GPlatform:Class = _hd443_GPlatform; public static var iMp:_mm245 = new _mm245(); public static var TSActiveButton:Class = _hd443_TSActiveButton; } }//package Code.OPTIONS
Section 66
//_hd443__rd413 (Code.OPTIONS._hd443__rd413) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443__rd413 extends MovieClipAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 67
//_hd443_BG (Code.OPTIONS._hd443_BG) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_BG extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 68
//_hd443_CurHand (Code.OPTIONS._hd443_CurHand) package Code.OPTIONS { import mx.core.*; public class _hd443_CurHand extends SpriteAsset { } }//package Code.OPTIONS
Section 69
//_hd443_GActiveButton (Code.OPTIONS._hd443_GActiveButton) package Code.OPTIONS { import mx.core.*; public class _hd443_GActiveButton extends SpriteAsset { } }//package Code.OPTIONS
Section 70
//_hd443_GAlienBlob1 (Code.OPTIONS._hd443_GAlienBlob1) package Code.OPTIONS { import mx.core.*; public class _hd443_GAlienBlob1 extends SpriteAsset { } }//package Code.OPTIONS
Section 71
//_hd443_GAlienBlob2 (Code.OPTIONS._hd443_GAlienBlob2) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GAlienBlob2 extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 72
//_hd443_GAlienBlob3 (Code.OPTIONS._hd443_GAlienBlob3) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GAlienBlob3 extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 73
//_hd443_GAlienBlob4 (Code.OPTIONS._hd443_GAlienBlob4) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GAlienBlob4 extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 74
//_hd443_GAlienBlob5 (Code.OPTIONS._hd443_GAlienBlob5) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GAlienBlob5 extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 75
//_hd443_GBlobGreen (Code.OPTIONS._hd443_GBlobGreen) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GBlobGreen extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 76
//_hd443_GBlobGreenSwim (Code.OPTIONS._hd443_GBlobGreenSwim) package Code.OPTIONS { import mx.core.*; public class _hd443_GBlobGreenSwim extends SpriteAsset { } }//package Code.OPTIONS
Section 77
//_hd443_GBlobYellow (Code.OPTIONS._hd443_GBlobYellow) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GBlobYellow extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 78
//_hd443_GBlobYellowSwim (Code.OPTIONS._hd443_GBlobYellowSwim) package Code.OPTIONS { import mx.core.*; public class _hd443_GBlobYellowSwim extends SpriteAsset { } }//package Code.OPTIONS
Section 79
//_hd443_GBridgeBlock (Code.OPTIONS._hd443_GBridgeBlock) package Code.OPTIONS { import mx.core.*; public class _hd443_GBridgeBlock extends SpriteAsset { } }//package Code.OPTIONS
Section 80
//_hd443_GBubble (Code.OPTIONS._hd443_GBubble) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GBubble extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 81
//_hd443_GCloud (Code.OPTIONS._hd443_GCloud) package Code.OPTIONS { import mx.core.*; public class _hd443_GCloud extends SpriteAsset { } }//package Code.OPTIONS
Section 82
//_hd443_GDoor (Code.OPTIONS._hd443_GDoor) package Code.OPTIONS { import mx.core.*; public class _hd443_GDoor extends SpriteAsset { } }//package Code.OPTIONS
Section 83
//_hd443_GDoorOpened (Code.OPTIONS._hd443_GDoorOpened) package Code.OPTIONS { import mx.core.*; public class _hd443_GDoorOpened extends SpriteAsset { } }//package Code.OPTIONS
Section 84
//_hd443_GFish (Code.OPTIONS._hd443_GFish) package Code.OPTIONS { import mx.core.*; public class _hd443_GFish extends SpriteAsset { } }//package Code.OPTIONS
Section 85
//_hd443_GGameBg (Code.OPTIONS._hd443_GGameBg) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GGameBg extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 86
//_hd443_GHeart (Code.OPTIONS._hd443_GHeart) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GHeart extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 87
//_hd443_GJumper (Code.OPTIONS._hd443_GJumper) package Code.OPTIONS { import mx.core.*; public class _hd443_GJumper extends SpriteAsset { } }//package Code.OPTIONS
Section 88
//_hd443_GJumperUnactive (Code.OPTIONS._hd443_GJumperUnactive) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GJumperUnactive extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 89
//_hd443_GKey (Code.OPTIONS._hd443_GKey) package Code.OPTIONS { import mx.core.*; public class _hd443_GKey extends SpriteAsset { } }//package Code.OPTIONS
Section 90
//_hd443_GMainMenu (Code.OPTIONS._hd443_GMainMenu) package Code.OPTIONS { import mx.core.*; public class _hd443_GMainMenu extends SpriteAsset { } }//package Code.OPTIONS
Section 91
//_hd443_GOsnova (Code.OPTIONS._hd443_GOsnova) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GOsnova extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 92
//_hd443_GPlatform (Code.OPTIONS._hd443_GPlatform) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GPlatform extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 93
//_hd443_GPlayerBlobComplete (Code.OPTIONS._hd443_GPlayerBlobComplete) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GPlayerBlobComplete extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 94
//_hd443_GPlayerBlobNormal (Code.OPTIONS._hd443_GPlayerBlobNormal) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GPlayerBlobNormal extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 95
//_hd443_GPlayerEyes (Code.OPTIONS._hd443_GPlayerEyes) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GPlayerEyes extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 96
//_hd443_GRuchka (Code.OPTIONS._hd443_GRuchka) package Code.OPTIONS { import mx.core.*; public class _hd443_GRuchka extends SpriteAsset { } }//package Code.OPTIONS
Section 97
//_hd443_GTrap (Code.OPTIONS._hd443_GTrap) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GTrap extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 98
//_hd443_GWall (Code.OPTIONS._hd443_GWall) package Code.OPTIONS { import mx.core.*; public class _hd443_GWall extends SpriteAsset { } }//package Code.OPTIONS
Section 99
//_hd443_GWallB (Code.OPTIONS._hd443_GWallB) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GWallB extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 100
//_hd443_GWater (Code.OPTIONS._hd443_GWater) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GWater extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 101
//_hd443_GWGameOver (Code.OPTIONS._hd443_GWGameOver) package Code.OPTIONS { import mx.core.*; public class _hd443_GWGameOver extends MovieClipAsset { } }//package Code.OPTIONS
Section 102
//_hd443_GWup (Code.OPTIONS._hd443_GWup) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_GWup extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 103
//_hd443_GWWin (Code.OPTIONS._hd443_GWWin) package Code.OPTIONS { import mx.core.*; public class _hd443_GWWin extends MovieClipAsset { } }//package Code.OPTIONS
Section 104
//_hd443_MoreGamesText (Code.OPTIONS._hd443_MoreGamesText) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_MoreGamesText extends MovieClipAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 105
//_hd443_TBibaLogo (Code.OPTIONS._hd443_TBibaLogo) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TBibaLogo extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 106
//_hd443_TButtonAL (Code.OPTIONS._hd443_TButtonAL) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TButtonAL extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 107
//_hd443_TButtonAR (Code.OPTIONS._hd443_TButtonAR) package Code.OPTIONS { import mx.core.*; public class _hd443_TButtonAR extends SpriteAsset { } }//package Code.OPTIONS
Section 108
//_hd443_TButtonMount (Code.OPTIONS._hd443_TButtonMount) package Code.OPTIONS { import mx.core.*; public class _hd443_TButtonMount extends SpriteAsset { } }//package Code.OPTIONS
Section 109
//_hd443_TCurOpp (Code.OPTIONS._hd443_TCurOpp) package Code.OPTIONS { import mx.core.*; public class _hd443_TCurOpp extends SpriteAsset { } }//package Code.OPTIONS
Section 110
//_hd443_TCursor (Code.OPTIONS._hd443_TCursor) package Code.OPTIONS { import mx.core.*; public class _hd443_TCursor extends SpriteAsset { } }//package Code.OPTIONS
Section 111
//_hd443_TFlagDE (Code.OPTIONS._hd443_TFlagDE) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TFlagDE extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 112
//_hd443_TFlagENG (Code.OPTIONS._hd443_TFlagENG) package Code.OPTIONS { import mx.core.*; public class _hd443_TFlagENG extends SpriteAsset { } }//package Code.OPTIONS
Section 113
//_hd443_TFlagFR (Code.OPTIONS._hd443_TFlagFR) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TFlagFR extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 114
//_hd443_TFlagRU (Code.OPTIONS._hd443_TFlagRU) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TFlagRU extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 115
//_hd443_TGameFrame (Code.OPTIONS._hd443_TGameFrame) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TGameFrame extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 116
//_hd443_TInstructions (Code.OPTIONS._hd443_TInstructions) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TInstructions extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 117
//_hd443_TIntroBg (Code.OPTIONS._hd443_TIntroBg) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TIntroBg extends MovieClipAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 118
//_hd443_TMusicOff (Code.OPTIONS._hd443_TMusicOff) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TMusicOff extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 119
//_hd443_TMusicOnn (Code.OPTIONS._hd443_TMusicOnn) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TMusicOnn extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 120
//_hd443_TPS1 (Code.OPTIONS._hd443_TPS1) package Code.OPTIONS { import mx.core.*; public class _hd443_TPS1 extends SpriteAsset { } }//package Code.OPTIONS
Section 121
//_hd443_TPS2 (Code.OPTIONS._hd443_TPS2) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TPS2 extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 122
//_hd443_TPS3 (Code.OPTIONS._hd443_TPS3) package Code.OPTIONS { import mx.core.*; public class _hd443_TPS3 extends SpriteAsset { } }//package Code.OPTIONS
Section 123
//_hd443_TSActiveButton (Code.OPTIONS._hd443_TSActiveButton) package Code.OPTIONS { import mx.core.*; public class _hd443_TSActiveButton extends SoundAsset { } }//package Code.OPTIONS
Section 124
//_hd443_TSBg (Code.OPTIONS._hd443_TSBg) package Code.OPTIONS { import mx.core.*; public class _hd443_TSBg extends SoundAsset { } }//package Code.OPTIONS
Section 125
//_hd443_TSBlobBlow (Code.OPTIONS._hd443_TSBlobBlow) package Code.OPTIONS { import mx.core.*; public class _hd443_TSBlobBlow extends SoundAsset { } }//package Code.OPTIONS
Section 126
//_hd443_TSBonus (Code.OPTIONS._hd443_TSBonus) package Code.OPTIONS { import mx.core.*; public class _hd443_TSBonus extends SoundAsset { } }//package Code.OPTIONS
Section 127
//_hd443_TSBulb (Code.OPTIONS._hd443_TSBulb) package Code.OPTIONS { import mx.core.*; public class _hd443_TSBulb extends SoundAsset { } }//package Code.OPTIONS
Section 128
//_hd443_TSButtonAqua (Code.OPTIONS._hd443_TSButtonAqua) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TSButtonAqua extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 129
//_hd443_TScaledFrame (Code.OPTIONS._hd443_TScaledFrame) package Code.OPTIONS { import mx.core.*; public class _hd443_TScaledFrame extends SpriteAsset { } }//package Code.OPTIONS
Section 130
//_hd443_TSClock (Code.OPTIONS._hd443_TSClock) package Code.OPTIONS { import mx.core.*; public class _hd443_TSClock extends SoundAsset { } }//package Code.OPTIONS
Section 131
//_hd443_TSCollect (Code.OPTIONS._hd443_TSCollect) package Code.OPTIONS { import mx.core.*; public class _hd443_TSCollect extends SoundAsset { } }//package Code.OPTIONS
Section 132
//_hd443_TSJumper (Code.OPTIONS._hd443_TSJumper) package Code.OPTIONS { import mx.core.*; public class _hd443_TSJumper extends SoundAsset { } }//package Code.OPTIONS
Section 133
//_hd443_TSpeakerOff (Code.OPTIONS._hd443_TSpeakerOff) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TSpeakerOff extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 134
//_hd443_TSpeakerOnn (Code.OPTIONS._hd443_TSpeakerOnn) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TSpeakerOnn extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 135
//_hd443_TSplashScreen (Code.OPTIONS._hd443_TSplashScreen) package Code.OPTIONS { import mx.core.*; public class _hd443_TSplashScreen extends MovieClipAsset { } }//package Code.OPTIONS
Section 136
//_hd443_TTV2Frame (Code.OPTIONS._hd443_TTV2Frame) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TTV2Frame extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 137
//_hd443_TTVFrame (Code.OPTIONS._hd443_TTVFrame) package Code.OPTIONS { import mx.core.*; public class _hd443_TTVFrame extends SpriteAsset { } }//package Code.OPTIONS
Section 138
//_hd443_TWComplete (Code.OPTIONS._hd443_TWComplete) package Code.OPTIONS { import mx.core.*; import flash.display.*; public class _hd443_TWComplete extends MovieClipAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 139
//_wp58 (Code.OPTIONS._wp58) package Code.OPTIONS { public class _wp58 { public static var TBevel:Class = _wp58_TBevel; public static var TPlastic:Class = _wp58_TPlastic; public static var TSmallText:Class = _wp58_TSmallText; public static var TGlamur2:Class = _wp58_TGlamur2; public static var TBigText:Class = _wp58_TBigText; public static var OFont:Class = _wp58_OFont; } }//package Code.OPTIONS
Section 140
//_wp58_OFont (Code.OPTIONS._wp58_OFont) package Code.OPTIONS { import flash.display.*; import mx.core.*; public class _wp58_OFont extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 141
//_wp58_TBevel (Code.OPTIONS._wp58_TBevel) package Code.OPTIONS { import flash.display.*; import mx.core.*; public class _wp58_TBevel extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 142
//_wp58_TBigText (Code.OPTIONS._wp58_TBigText) package Code.OPTIONS { import flash.display.*; import mx.core.*; public class _wp58_TBigText extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 143
//_wp58_TGlamur2 (Code.OPTIONS._wp58_TGlamur2) package Code.OPTIONS { import flash.display.*; import mx.core.*; public class _wp58_TGlamur2 extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 144
//_wp58_TPlastic (Code.OPTIONS._wp58_TPlastic) package Code.OPTIONS { import flash.display.*; import mx.core.*; public class _wp58_TPlastic extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 145
//_wp58_TSmallText (Code.OPTIONS._wp58_TSmallText) package Code.OPTIONS { import flash.display.*; import mx.core.*; public class _wp58_TSmallText extends SpriteAsset { public var button_intro:DisplayObject; public var hitarea:DisplayObject; } }//package Code.OPTIONS
Section 146
//_ak195 (Code.org.cove.ape._ak195) package Code.org.cove.ape { import Code.org.cove.ape.*; final class _ak195 { static function clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg1 > _arg3){ return (_arg3); }; if (_arg1 < _arg2){ return (_arg2); }; return (_arg1); } static function _tc209(_arg1:_hu372, _arg2:_hu372, _arg3:_qp435, _arg4:Number):void{ var _local5:_qp435; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:_aw57; var _local10:_aw57; var _local11:_qp435; var _local12:_qp435; var _local13:_qp435; var _local14:_qp435; var _local15:_sd223; var _local16:_hu372; if (((!(_arg1._jt243)) || (!(_arg2._jt243)))){ return; }; if ((((_arg1 is _sd223)) || ((_arg2 is _sd223)))){ _local15 = _sd223(((_arg1 is _sd223)) ? _arg1 : _arg2); _local16 = _hu372(((_arg1 is _sd223)) ? _arg2 : _arg1); if (_arg1.onAreaFunc != null){ _arg1.onAreaFunc(_local16, _local15); }; if (_arg2.onAreaFunc != null){ _arg2.onAreaFunc(_local16, _local15); }; return; }; _arg1.curr.copy(_arg1.samp); _arg2.curr.copy(_arg2.samp); _local5 = _arg3._sl299(_arg4); _local6 = (_arg1._kx404 + _arg2._kx404); _local7 = (_arg1._iq445 + _arg2._iq445); _local8 = clamp((1 - (_arg1._jl375 + _arg2._jl375)), 0, 1); _local9 = _arg1._is519(_arg3); _local10 = _arg2._is519(_arg3); _local11 = _local10.vn._sl299(((_local6 + 1) * _arg1._iq445))._dq317(_local9.vn._sl299((_arg2._iq445 - (_local6 * _arg1._iq445))))._jt155(_local7); _local12 = _local9.vn._sl299(((_local6 + 1) * _arg2._iq445))._dq317(_local10.vn._sl299((_arg1._iq445 - (_local6 * _arg2._iq445))))._jt155(_local7); _local9.vt._ss346(_local8); _local10.vt._ss346(_local8); _local13 = _local5._sl299((_arg1._iq445 / _local7)); _local14 = _local5._sl299((-(_arg2._iq445) / _local7)); _local11._np170(_local9.vt); _local12._np170(_local10.vt); if (!_arg1.fixed){ _arg1._jy76(_local13, _local11, _arg3, _arg4, -1, _arg2); }; if (!_arg2.fixed){ _arg2._jy76(_local14, _local12, _arg3, _arg4, 1, _arg1); }; } } }//package Code.org.cove.ape
Section 147
//_aq99 (Code.org.cove.ape._aq99) package Code.org.cove.ape { import Code.LIB.*; public class _aq99 extends _pa408 { private var _collidable:Boolean; private var p1:_hu372; private var p2:_hu372; private var _scp:_cp166; private var _restLength:Number; public function _aq99(_arg1:_hu372, _arg2:_hu372, _arg3:Number=0.5, _arg4:Boolean=false, _arg5:Number=1, _arg6:Number=1, _arg7:Boolean=false){ super(_arg3); this.p1 = _arg1; this.p2 = _arg2; _kl484(); _restLength = _up424; _yq78(_arg4, _arg5, _arg6, _arg7); } public function set _bu342(_arg1:Number):void{ if (_nw443 == null){ return; }; _nw443._bu342 = _arg1; } public function get _gt398():Number{ return (_restLength); } public function set _gt398(_arg1:Number):void{ if (_arg1 <= 0){ throw (new ArgumentError("restLength must be greater than 0")); }; _restLength = _arg1; } override public function init():void{ _qm114(); if (_ac127){ _nw443.init(); } else { if (_sprite != null){ _tb73(); }; }; _be113(); } public function _sf93(_arg1:_hu372):Boolean{ return ((((_arg1 == p1)) || ((_arg1 == p2)))); } public function get _st232():Number{ var _local1:_qp435; _local1 = delta; return (Math.atan2(_local1.y, _local1.x)); } public function get _ia487():Number{ return (_nw443._ia487); } public function get _gy491():Number{ return (_nw443._gy491); } function _tb73():void{ if (_ac127){ _nw443._tb73(); _nw443.owner = this.owner; } else { _sprite.rotation = displayObjectRotation; }; } private function _kl484():void{ if ((((p1.curr.x == p2.curr.x)) && ((p1.curr.y == p2.curr.y)))){ p2.curr.x = (p2.curr.x + 0.0001); }; } public function set _ia487(_arg1:Number):void{ if (_nw443 == null){ return; }; _nw443._ia487 = _arg1; } public function set _gy491(_arg1:Number):void{ if (_nw443 == null){ return; }; _nw443._gy491 = _arg1; } public function get _bu342():Number{ return (_nw443._bu342); } public function get _nw443():_cp166{ return (_scp); } override function _ai301():void{ var _local1:Number; var _local2:Number; var _local3:_qp435; if (((p1.fixed) && (p2.fixed))){ return; }; _local1 = _up424; _local2 = ((_local1 - _gt398) / (_local1 * (p1._iq445 + p2._iq445))); _local3 = delta._sl299((_local2 * _ot400)); p1.curr._eq187(_local3._sl299(p1._iq445)); p2.curr._np170(_local3._sl299(p2._iq445)); } function get delta():_qp435{ return (p1.curr._gg285(p2.curr)); } public function _rd22(_arg1:_gk241, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):void{ _arg1.owner = this; if (_ac127){ _nw443._rd22(_arg1, _arg2, _arg3, _arg4); } else { _sprite = _arg1; displayObjectRotation = _arg4; displayObjectOffset = new _qp435(_arg2, _arg3); }; } public function get angle():Number{ return ((_st232 * _uw393.ONE_EIGHTY_OVER_PI)); } public function get center():_qp435{ return (p1.curr._dq317(p2.curr)._jt155(2)); } public function _yq78(_arg1:Boolean, _arg2:Number, _arg3:Number, _arg4:Boolean=false):void{ _collidable = _arg1; _scp = null; if (_collidable){ _scp = new _cp166(p1, p2, this, _arg2, _arg3, _arg4); _scp.owner = owner; }; } public function get _ac127():Boolean{ return (_collidable); } override public function _be113():void{ var _local1:_qp435; if (_ac127){ _nw443._be113(); } else { if (_sprite != null){ _local1 = center; _pp275.x = _local1.x; _pp275.y = _local1.y; _pp275.rotation = angle; } else { _pp275.graphics.clear(); _pp275.graphics.lineStyle(lineThickness, lineColor, lineAlpha); _pp275.graphics.moveTo((p1._nq418 * _kj370._wr432), (p1._cg291 * _kj370._wr432)); _pp275.graphics.lineTo((p2._nq418 * _kj370._wr432), (p2._cg291 * _kj370._wr432)); }; }; } public function get fixed():Boolean{ return (((p1.fixed) && (p2.fixed))); } public function get _up424():Number{ return (p1.curr.distance(p2.curr)); } } }//package Code.org.cove.ape
Section 148
//_aw57 (Code.org.cove.ape._aw57) package Code.org.cove.ape { import Code.org.cove.ape.*; final class _aw57 { var vn:_qp435; var vt:_qp435; function _aw57(_arg1:_qp435, _arg2:_qp435){ this.vn = _arg1; this.vt = _arg2; } } }//package Code.org.cove.ape
Section 149
//_bs387 (Code.org.cove.ape._bs387) package Code.org.cove.ape { final class _bs387 { var min:Number; var max:Number; function _bs387(_arg1:Number, _arg2:Number){ this.min = _arg1; this.max = _arg2; } function toString():String{ return (((min + " : ") + max)); } } }//package Code.org.cove.ape
Section 150
//_cp166 (Code.org.cove.ape._cp166) package Code.org.cove.ape { import flash.display.*; import Code.LIB.*; import Code.org.cove.ape.*; class _cp166 extends _pe427 { private var _fixedEndLimit:Number; private var _rectScale:Number; private var rca:_qp435; private var rcb:_qp435; private var s:Number; private var scaleToLength:Boolean; private var p1:_hu372; private var p2:_hu372; private var lambda:_qp435; private var parent:_aq99; private var avgVelocity:_qp435; private var _rectHeight:Number; function _cp166(_arg1:_hu372, _arg2:_hu372, _arg3:_aq99, _arg4:Number, _arg5:Number, _arg6:Boolean){ super(0, 0, 0, 0, 0, false); this.p1 = _arg1; this.p2 = _arg2; lambda = new _qp435(0, 0); avgVelocity = new _qp435(0, 0); parent = _arg3; this._gy491 = _arg5; this._bu342 = _arg4; this.scaleToLength = _arg6; _ia487 = 0; rca = new _qp435(); rcb = new _qp435(); } override public function init():void{ var _local1:Sprite; var _local2:Number; var _local3:Number; if (_sprite != null){ _tb73(); } else { _local1 = new Sprite(); parent._pp275.addChild(_local1); _local1.name = "inner"; _local1.mouseEnabled = false; _local2 = (parent._up424 * _gy491); _local3 = _bu342; _local1.graphics.clear(); _local1.graphics.lineStyle(parent.lineThickness, parent.lineColor, parent.lineAlpha); _local1.graphics.beginFill(parent.fillColor, parent.fillAlpha); _local1.graphics.drawRect(((-(_local2) / 2) * _kj370._wr432), ((-(_local3) / 2) * _kj370._wr432), (_local2 * _kj370._wr432), (_local3 * _kj370._wr432)); _local1.graphics.endFill(); }; _be113(); } function get _gy491():Number{ return (_rectScale); } function get _ia487():Number{ return (_fixedEndLimit); } function set _ia487(_arg1:Number):void{ _fixedEndLimit = _arg1; } function set _gy491(_arg1:Number):void{ _rectScale = _arg1; } override public function _jy76(_arg1:_qp435, _arg2:_qp435, _arg3:_qp435, _arg4:Number, _arg5:int, _arg6:_hu372):void{ var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:_hu372; _local7 = _tg215(_arg6); _local8 = (1 - _local7); _local9 = _local7; if (p1.fixed){ if (_local9 <= _ia487){ return; }; lambda._ek412((_arg1.x / _local9), (_arg1.y / _local9)); p2.curr._np170(lambda); p2._bm153 = _arg2; } else { if (p2.fixed){ if (_local8 <= _ia487){ return; }; lambda._ek412((_arg1.x / _local8), (_arg1.y / _local8)); p1.curr._np170(lambda); p1._bm153 = _arg2; } else { _local10 = ((_local8 * _local8) + (_local9 * _local9)); if (_local10 == 0){ return; }; lambda._ek412((_arg1.x / _local10), (_arg1.y / _local10)); p1.curr._np170(lambda._sl299(_local8)); p2.curr._np170(lambda._sl299(_local9)); if (_local7 == 0.5){ p1._bm153 = _arg2; p2._bm153 = _arg2; } else { _local11 = ((_local7)<0.5) ? p1 : p2; _local11._bm153 = _arg2; }; }; }; } override public function get _uv317():Number{ return (((p1._uv317 + p2._uv317) / 2)); } override public function get _bm153():_qp435{ var _local1:_qp435; var _local2:_qp435; _local1 = p1._bm153; _local2 = p2._bm153; avgVelocity._ek412(((_local1.x + _local2.x) / 2), ((_local1.y + _local2.y) / 2)); return (avgVelocity); } function _yl418():void{ var _local1:_qp435; _local1 = parent.center; curr._ek412(_local1.x, _local1.y); width = (scaleToLength) ? (parent._up424 * _gy491) : (parent._gt398 * _gy491); height = _bu342; _st232 = parent._st232; } function set _bu342(_arg1:Number):void{ _rectHeight = _arg1; } private function _tg215(_arg1:_hu372):Number{ var _local2:Number; var _local3:Number; var _local4:Array; var _local5:Number; var _local6:int; var _local7:Number; if ((_arg1 is _lc470)){ _local2 = _qi193(_arg1.curr); } else { if ((_arg1 is _pe427)){ _local4 = new Array(4); _local5 = Number.POSITIVE_INFINITY; _local6 = 0; while (_local6 < 4) { _bx467((_arg1 as _pe427), _local6); _local7 = _wl162(); if (_local7 < _local5){ _local5 = _local7; _local3 = _local6; _local4[_local6] = s; }; _local6++; }; _local2 = _local4[_local3]; }; }; return (_local2); } override function get _iq445():Number{ if (((p1.fixed) && (p2.fixed))){ return (0); }; return ((1 / ((p1._uv317 + p2._uv317) / 2))); } override function _tb73():void{ _sprite.x = displayObjectOffset.x; _sprite.y = displayObjectOffset.y; _sprite.rotation = displayObjectRotation; parent._pp275.addChild(_sprite); _hj173.INST.container.addChild(parent._pp275); } override public function get _kx404():Number{ return (((p1._kx404 + p2._kx404) / 2)); } function get _bu342():Number{ return (_rectHeight); } override public function get _jl375():Number{ return (((p1._jl375 + p2._jl375) / 2)); } private function _wl162():Number{ var _local1:_qp435; var _local2:_qp435; var _local3:_qp435; var _local4:_qp435; var _local5:_qp435; var _local6:_qp435; var _local7:_qp435; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:_qp435; var _local16:_qp435; var _local17:_qp435; _local1 = p1.curr; _local2 = p2.curr; _local3 = rca; _local4 = rcb; _local5 = _local2._gg285(_local1); _local6 = _local4._gg285(_local3); _local7 = _local1._gg285(_local3); _local9 = _local5._ch229(_local5); _local10 = _local6._ch229(_local6); _local11 = _local6._ch229(_local7); _local12 = _local5._ch229(_local7); _local13 = _local5._ch229(_local6); _local14 = ((_local9 * _local10) - (_local13 * _local13)); if (_local14 != 0){ s = _uw393.clamp((((_local13 * _local11) - (_local12 * _local10)) / _local14), 0, 1); } else { s = 0.5; }; _local8 = (((_local13 * s) + _local11) / _local10); if (_local8 < 0){ _local8 = 0; s = _uw393.clamp((-(_local12) / _local9), 0, 1); } else { if (_local8 > 0){ _local8 = 1; s = _uw393.clamp(((_local13 - _local12) / _local9), 0, 1); }; }; _local15 = _local1._dq317(_local5._sl299(s)); _local16 = _local3._dq317(_local6._sl299(_local8)); _local17 = _local15._gg285(_local16); return (_local15._gg285(_local16)._ch229(_local17)); } private function _bx467(_arg1:_pe427, _arg2:int):void{ var _local3:Number; var _local4:Number; var _local5:Array; var _local6:Array; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local3 = _arg1.curr.x; _local4 = _arg1.curr.y; _local5 = _arg1.axes; _local6 = _arg1._ht177; _local7 = (_local5[0].x * _local6[0]); _local8 = (_local5[0].y * _local6[0]); _local9 = (_local5[1].x * _local6[1]); _local10 = (_local5[1].y * _local6[1]); _local11 = (_local7 - _local9); _local12 = (_local8 - _local10); _local13 = (_local7 + _local9); _local14 = (_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); }; }; }; }; } override public function _be113():void{ var _local1:_qp435; var _local2:Sprite; _local1 = parent.center; _local2 = parent._pp275; _local2.x = (_local1.x * _kj370._wr432); _local2.y = (_local1.y * _kj370._wr432); _local2.rotation = parent.angle; } private function _qi193(_arg1:_qp435):Number{ var _local2:_qp435; var _local3:Number; _local2 = p2.curr._gg285(p1.curr); _local3 = (_local2._ch229(_arg1._gg285(p1.curr)) / _local2._ch229(_local2)); return (_uw393.clamp(_local3, 0, 1)); } } }//package Code.org.cove.ape
Section 151
//_cx14 (Code.org.cove.ape._cx14) package Code.org.cove.ape { public class _cx14 extends _lc470 { private var normSlip:_qp435; public var _rotatable:Boolean;// = true private var rp:_dn378; private var _traction:Number; private var tan:_qp435; private var orientation:_qp435; public function _cx14(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Number=1, _arg6:Number=0.3, _arg7:Number=0, _arg8:Number=1){ _rotatable = true; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7); tan = new _qp435(0, 0); normSlip = new _qp435(0, 0); rp = new _dn378(_arg3, 2); this._au246 = _arg8; orientation = new _qp435(); } public function set _au246(_arg1:Number):void{ _traction = (1 - _arg1); } override public function init():void{ _qm114(); if (_sprite != null){ _tb73(); } else { _pp275.graphics.clear(); _pp275.graphics.lineStyle(lineThickness, lineColor, lineAlpha); _pp275.graphics.beginFill(fillColor, fillAlpha); _pp275.graphics.drawCircle(0, 0, radius); _pp275.graphics.endFill(); _pp275.graphics.moveTo(-(radius), 0); _pp275.graphics.lineTo(radius, 0); _pp275.graphics.moveTo(0, -(radius)); _pp275.graphics.lineTo(0, radius); }; _be113(); } public function get _st232():Number{ orientation._ek412(rp.curr.x, rp.curr.y); return ((Math.atan2(orientation.y, orientation.x) + Math.PI)); } public function get _ln188():Number{ return (rp._ln188); } override public function _jy76(_arg1:_qp435, _arg2:_qp435, _arg3:_qp435, _arg4:Number, _arg5:int, _arg6:_hu372):void{ super._jy76(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6); _ai301(_arg3._sl299(_uw393._of377((_arg4 * _arg5)))); } private function _ai301(_arg1:_qp435):void{ var _local2:_qp435; var _local3:_qp435; var _local4:Number; var _local5:Number; tan._ek412(-(rp.curr.y), rp.curr.x); tan = tan.normalize(); _local2 = tan._sl299(rp._rw78); _local3 = _bm153._np170(_local2); _local4 = _local3._yg267(_arg1); tan._ss346(_local4); rp.prev.copy(rp.curr._gg285(tan)); _local5 = ((1 - _traction) * rp._rw78); normSlip._ek412((_local5 * _arg1.y), (_local5 * _arg1.x)); curr._np170(normSlip); rp._rw78 = (rp._rw78 * _traction); } public function set _ln188(_arg1:Number):void{ rp._ln188 = _arg1; } public function get _au246():Number{ return ((1 - _traction)); } public function set _rw78(_arg1:Number):void{ rp._rw78 = _arg1; } override public function update(_arg1:Number):void{ super.update(_arg1); rp.update(_arg1); } public function get _rw78():Number{ return (rp._rw78); } public function get angle():Number{ return ((_st232 * _uw393.ONE_EIGHTY_OVER_PI)); } override public function _be113():void{ _sprite._uc285 = curr.x; _sprite._kc408 = curr.y; _sprite.rotation = angle; } } }//package Code.org.cove.ape
Section 152
//_dn378 (Code.org.cove.ape._dn378) package Code.org.cove.ape { import Code.org.cove.ape.*; class _dn378 { private var maxTorque:Number; var curr:_qp435; var prev:_qp435; private var av:Number; private var wr:Number; private var sp:Number; function _dn378(_arg1:Number, _arg2:Number){ curr = new _qp435(_arg1, 0); prev = new _qp435(0, 0); sp = 0; av = 0; maxTorque = _arg2; wr = _arg1; } function set _ln188(_arg1:Number):void{ av = _arg1; } function get _rw78():Number{ return (sp); } function update(_arg1:Number):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; sp = Math.max(-(maxTorque), Math.min(maxTorque, (sp + av))); _local2 = -(curr.y); _local3 = curr.x; _local4 = Math.sqrt(((_local2 * _local2) + (_local3 * _local3))); _local2 = (_local2 / _local4); _local3 = (_local3 / _local4); curr.x = (curr.x + (sp * _local2)); curr.y = (curr.y + (sp * _local3)); _local5 = prev.x; _local6 = prev.y; _local7 = (prev.x = curr.x); _local8 = (prev.y = curr.y); curr.x = (curr.x + (_hj173.INST._mm125 * (_local7 - _local5))); curr.y = (curr.y + (_hj173.INST._mm125 * (_local8 - _local6))); _local9 = Math.sqrt(((curr.x * curr.x) + (curr.y * curr.y))); _local10 = ((_local9 - wr) / _local9); curr.x = (curr.x - (curr.x * _local10)); curr.y = (curr.y - (curr.y * _local10)); } function get _ln188():Number{ return (av); } function set _rw78(_arg1:Number):void{ sp = _arg1; } } }//package Code.org.cove.ape
Section 153
//_fl63 (Code.org.cove.ape._fl63) package Code.org.cove.ape { public class _fl63 extends _um224 { private var _collisionList:Array; private var _collideInternal:Boolean; private var _composites:Array; public function _fl63(_arg1:Boolean=false){ _composites = new Array(); _collisionList = new Array(); this._td122 = _arg1; } public function get _td122():Boolean{ return (_collideInternal); } private function _gn386():void{ var _local1:int; var _local2:int; var _local3:_gf153; var _local4:int; var _local5:_gf153; _wt454(); _local1 = _composites.length; _local2 = 0; while (_local2 < _local1) { _local3 = _composites[_local2]; _local3._jq465(this); _local4 = (_local2 + 1); while (_local4 < _local1) { _local5 = _composites[_local4]; _local3._jq465(_local5); _local4++; }; _local2++; }; } public function set _td122(_arg1:Boolean):void{ _collideInternal = _arg1; } override public function _qm114():void{ var _local1:int; super._qm114(); _local1 = 0; while (_local1 < _tf152.length) { _tf152[_local1]._qm114(); _local1++; }; } override public function init():void{ var _local1:int; super.init(); _local1 = 0; while (_local1 < _tf152.length) { _tf152[_local1].init(); _local1++; }; } public function _be234(_arg1:_fl63):void{ _na485.push(_arg1); } public function _sh12(_arg1:Array):void{ var _local2:int; var _local3:_fl63; _local2 = 0; while (_local2 < _arg1.length) { _local3 = _arg1[_local2]; _na485.push(_local3); _local2++; }; } private function _kw138(_arg1:_fl63):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:_gf153; var _local6:int; var _local7:_gf153; _jq465(_arg1); _local2 = _composites.length; _local3 = _arg1._tf152.length; _local4 = 0; while (_local4 < _local2) { _local5 = _composites[_local4]; _local5._jq465(_arg1); _local6 = 0; while (_local6 < _local3) { _local7 = _arg1._tf152[_local6]; _local5._jq465(_local7); _local6++; }; _local4++; }; _local6 = 0; while (_local6 < _local3) { _local7 = _arg1._tf152[_local6]; _jq465(_local7); _local6++; }; } override function _ne143():void{ var _local1:int; var _local2:int; var _local3:_gf153; super._ne143(); _local1 = _composites.length; _local2 = 0; while (_local2 < _local1) { _local3 = _composites[_local2]; _local3.update(); _local3._ne143(); _local2++; }; } function _ew42():void{ var _local1:int; var _local2:int; var _local3:_fl63; if (_td122){ _gn386(); }; _local1 = _na485.length; _local2 = 0; while (_local2 < _local1) { _local3 = _na485[_local2]; _kw138(_local3); _local2++; }; } public function get _na485():Array{ return (_collisionList); } public function get _tf152():Array{ return (_composites); } override public function _ac490():Array{ return (_lf35.concat(_xe329).concat(_tf152)); } public function _do447(_arg1:_gf153):void{ var _local2:int; _local2 = _tf152.indexOf(_arg1); if (_local2 == -1){ return; }; _tf152.splice(_local2, 1); _arg1._lu212 = false; _arg1._qm114(); } override public function _be113():void{ var _local1:int; var _local2:int; var _local3:_gf153; super._be113(); _local1 = _composites.length; _local2 = 0; while (_local2 < _local1) { _local3 = _composites[_local2]; _local3._be113(); _local2++; }; } override function _ba196(_arg1:Number):void{ var _local2:int; var _local3:int; var _local4:_gf153; super._ba196(_arg1); _local2 = _composites.length; _local3 = 0; while (_local3 < _local2) { _local4 = _composites[_local3]; _local4._ba196(_arg1); _local3++; }; } public function _tm511(_arg1:_gf153):void{ _tf152.push(_arg1); _arg1._lu212 = true; if (_lu212){ _arg1.init(); }; } public function _sh260(_arg1:_fl63):void{ var _local2:int; _local2 = _na485.indexOf(_arg1); if (_local2 == -1){ return; }; _na485.splice(_local2, 1); } } }//package Code.org.cove.ape
Section 154
//_gf153 (Code.org.cove.ape._gf153) package Code.org.cove.ape { public class _gf153 extends _um224 { private var delta:_qp435; public function _gf153(){ delta = new _qp435(); } public function update():void{ } public function _id250(_arg1:Number, _arg2:_qp435):void{ var _local3:Number; _local3 = (_arg1 * _uw393.PI_OVER_ONE_EIGHTY); _dt393(_local3, _arg2); } protected function _ut198(_arg1:_qp435, _arg2:_qp435):Number{ delta._ek412((_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; _local2 = 0; while (_local2 < _lf35.length) { _lf35[_local2].fixed = _arg1; _local2++; }; } public function get fixed():Boolean{ var _local1:int; _local1 = 0; while (_local1 < _lf35.length) { if (!_lf35[_local1].fixed){ return (false); }; _local1++; }; return (true); } public function _dt393(_arg1:Number, _arg2:_qp435):void{ var _local3:_hu372; var _local4:Array; var _local5:int; var _local6:int; var _local7:Number; var _local8:Number; _local4 = _lf35; _local5 = _local4.length; _local6 = 0; while (_local6 < _local5) { _local3 = _local4[_local6]; _local7 = _local3.center.distance(_arg2); _local8 = (_ut198(_arg2, _local3.center) + _arg1); _local3._nq418 = ((Math.cos(_local8) * _local7) + _arg2.x); _local3._cg291 = ((Math.sin(_local8) * _local7) + _arg2.y); _local6++; }; } } }//package Code.org.cove.ape
Section 155
//_gk241 (Code.org.cove.ape._gk241) package Code.org.cove.ape { import Code.LIB.*; public class _gk241 extends _bd509 { private var _owner:Object; public function set owner(_arg1:Object):void{ _owner = _arg1; } public function get owner():Object{ return (_owner); } public function onEnterFrame():void{ } } }//package Code.org.cove.ape
Section 156
//_hj173 (Code.org.cove.ape._hj173) package Code.org.cove.ape { import flash.display.*; public final class _hj173 { private var _container:DisplayObjectContainer; private var _damping:Number; private var _constraintCollisionCycles:int; private var groups:Array; var masslessForce:_qp435; private var _constraintCycles:int; var force:_qp435; private var timeStep:Number; private var numGroups:int; public static var INST:_hj173 = null; public function _be113():void{ var _local1:int; var _local2:_fl63; _local1 = 0; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2._be113(); _local1++; }; } public function get container():DisplayObjectContainer{ return (_container); } public function set container(_arg1:DisplayObjectContainer):void{ _container = _arg1; } public function _pm99(_arg1:_fl63):void{ groups.push(_arg1); _arg1._lu212 = true; numGroups++; _arg1.init(); } public function get _mx316():int{ return (_constraintCollisionCycles); } public function init(_arg1:Number=0.25):void{ timeStep = (_arg1 * _arg1); numGroups = 0; groups = new Array(); force = new _qp435(0, 0); masslessForce = new _qp435(0, 0); _mm125 = 1; _constraintCycles = 0; _constraintCollisionCycles = 1; } public function get _mm125():Number{ return (_damping); } public function _be246():void{ var _local1:int; var _local2:_fl63; while (numGroups > 0) { _local1 = (groups.length - 1); _local2 = groups[_local1]; groups.splice(_local1, 1); _local2._lu212 = false; _local2._qm114(); numGroups--; }; } private function _ne143():void{ var _local1:int; var _local2:_fl63; _local1 = 0; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2._ne143(); _local1++; }; } public function set _mx316(_arg1:int):void{ _constraintCollisionCycles = _arg1; } public function get _wu131():int{ return (_constraintCycles); } public function _pc366(_arg1:_qp435):void{ masslessForce._np170(_arg1); } public function set _wu131(_arg1:int):void{ _constraintCycles = _arg1; } public function _gj521():void{ var _local1:int; var _local2:int; _ba196(); _local1 = 0; while (_local1 < _constraintCycles) { _ne143(); _local1++; }; _local2 = 0; while (_local2 < _constraintCollisionCycles) { _ne143(); _ew42(); _local2++; }; } private function _ew42():void{ var _local1:int; var _local2:_fl63; _local1 = 0; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2._ew42(); _local1++; }; } public function set _mm125(_arg1:Number):void{ _damping = _arg1; } private function _ba196():void{ var _local1:int; var _local2:_fl63; _local1 = 0; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2._ba196(timeStep); _local1++; }; } public function _wd435(_arg1:_fl63):void{ var _local2:int; _local2 = groups.indexOf(_arg1); if (_local2 == -1){ return; }; groups.splice(_local2, 1); _arg1._lu212 = false; numGroups--; _arg1._qm114(); } public function _xy437(_arg1:_qp435):void{ force._np170(_arg1); } } }//package Code.org.cove.ape
Section 157
//_hu372 (Code.org.cove.ape._hu372) package Code.org.cove.ape { import flash.utils.*; public class _hu372 extends _xt325 { protected var _resolvable:Boolean;// = true private var collisionFunc:Function; var curr:_qp435; var prev:_qp435; private var collision:_aw57; private var _invMass:Number; private var _friction:Number; private var _multisample:int; var samp:_qp435; private var _fixed:Boolean; private var _center:_qp435; private var _collidable:Boolean; private var _kfr:Number; var interval:_bs387; private var _mass:Number; private var temp:_qp435; public var onAreaFunc:Function; private var forces:_qp435; public function _hu372(_arg1:Number, _arg2:Number, _arg3:Boolean, _arg4:Number, _arg5:Number, _arg6:Number){ _resolvable = true; super(); if (getQualifiedClassName(this) == "org.cove.ape::AbstractParticle"){ throw (new ArgumentError("AbstractParticle can't be instantiated directly")); }; interval = new _bs387(0, 0); curr = new _qp435(_arg1, _arg2); prev = new _qp435(_arg1, _arg2); samp = new _qp435(); temp = new _qp435(); fixed = _arg3; forces = new _qp435(); collision = new _aw57(new _qp435(), new _qp435()); _ac127 = true; this._uv317 = _arg4; this._kx404 = _arg5; this._jl375 = _arg6; setStyle(); _center = new _qp435(); _multisample = 0; } public function get position():_qp435{ return (new _qp435(curr.x, curr.y)); } public function get _md362():int{ return (_multisample); } public function _jy76(_arg1:_qp435, _arg2:_qp435, _arg3:_qp435, _arg4:Number, _arg5:int, _arg6:_hu372):void{ curr._np170(_arg1); _bm153 = _arg2; } public function set position(_arg1:_qp435):void{ curr.copy(_arg1); prev.copy(_arg1); } public function get center():_qp435{ _center._ek412(_nq418, _cg291); return (_center); } public function _sn75():void{ var _local1:_qp435; _local1 = curr._gg285(prev); _bm153 = _local1; } public function set _kx404(_arg1:Number):void{ _kfr = _arg1; } public function get _uv317():Number{ return (_mass); } public function _pc366(_arg1:_qp435):void{ forces._np170(_arg1); } public function get _bm153():_qp435{ return (curr._gg285(prev)); } public function set _md362(_arg1:int):void{ _multisample = _arg1; } public function get fixed():Boolean{ return (_fixed); } public function set _nq418(_arg1:Number):void{ curr.x = _arg1; prev.x = _arg1; } function get _iq445():Number{ return ((fixed) ? 0 : _invMass); } public function set _jl375(_arg1:Number):void{ if ((((_arg1 < 0)) || ((_arg1 > 1)))){ throw (new ArgumentError("Legal friction must be >= 0 and <=1")); }; _friction = _arg1; } function _tb73():void{ _hj173.INST.container.addChild(_sprite); } public function set _ac127(_arg1:Boolean):void{ _collidable = _arg1; } public function get _kx404():Number{ return (_kfr); } public function get _jt243():Boolean{ return ((_resolvable == true)); } public function get _qt168():Function{ return (collisionFunc); } public function set _uq302(_arg1:Function):void{ collisionFunc = _arg1; } public function get _nq418():Number{ return (curr.x); } function _is519(_arg1:_qp435):_aw57{ var _local2:_qp435; var _local3:Number; _local2 = _bm153; _local3 = _arg1._ch229(_local2); collision.vn = _arg1._sl299(_local3); collision.vt = _local2._gg285(collision.vn); return (collision); } public function set _uv317(_arg1:Number):void{ if (_arg1 <= 0){ throw (new ArgumentError("mass may not be set <= 0")); }; _mass = _arg1; _invMass = (1 / _mass); } public function update(_arg1:Number):void{ var _local2:_qp435; if (fixed){ return; }; _xy437(_hj173.INST.force); _pc366(_hj173.INST.masslessForce); temp.copy(curr); _local2 = _bm153._dq317(forces._ss346(_arg1)); curr._np170(_local2._ss346(_hj173.INST._mm125)); prev.copy(temp); forces._ek412(0, 0); } public function set _cg291(_arg1:Number):void{ curr.y = _arg1; prev.y = _arg1; } public function _rd22(_arg1:_gk241, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):void{ _sprite = _arg1; _arg1.owner = this; displayObjectRotation = _arg4; displayObjectOffset = new _qp435(_arg2, _arg3); } public function get _ac127():Boolean{ return (_collidable); } public function set _bm153(_arg1:_qp435):void{ prev = curr._gg285(_arg1); } public function get _jl375():Number{ return (_friction); } public function get _cg291():Number{ return (curr.y); } public function set fixed(_arg1:Boolean):void{ _fixed = _arg1; } public function _xy437(_arg1:_qp435):void{ forces._np170(_arg1._sl299(_iq445)); } } }//package Code.org.cove.ape
Section 158
//_lc470 (Code.org.cove.ape._lc470) package Code.org.cove.ape { public class _lc470 extends _hu372 { private var _radius:Number; public function _lc470(_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{ _qm114(); if (_sprite != null){ _tb73(); } else { _pp275.graphics.clear(); _pp275.graphics.lineStyle(lineThickness, lineColor, lineAlpha); _pp275.graphics.beginFill(fillColor, fillAlpha); _pp275.graphics.drawCircle(0, 0, radius); _pp275.graphics.endFill(); }; _be113(); } public function get radius():Number{ return (_radius); } public function set radius(_arg1:Number):void{ _radius = _arg1; } function _fl38(_arg1:_qp435):_bs387{ var _local2:Number; _local2 = samp._ch229(_arg1); interval.min = (_local2 - _radius); interval.max = (_local2 + _radius); return (interval); } function _cx294():_bs387{ interval.min = (curr.x - _radius); interval.max = (curr.x + _radius); return (interval); } function _gg360():_bs387{ interval.min = (curr.y - _radius); interval.max = (curr.y + _radius); return (interval); } override public function _be113():void{ _pp275._uc285 = curr.x; _pp275._kc408 = curr.y; } } }//package Code.org.cove.ape
Section 159
//_lo86 (Code.org.cove.ape._lo86) package Code.org.cove.ape { import Code.org.cove.ape.*; final class _lo86 { private static function _uf77(_arg1:_lc470, _arg2:_lc470):Boolean{ var _local3:Number; var _local4:Number; var _local5:_qp435; var _local6:Number; var _local7:Number; _local3 = _nx382(_arg1._cx294(), _arg2._cx294()); if (_local3 == 0){ return (false); }; _local4 = _nx382(_arg1._gg360(), _arg2._gg360()); if (_local4 == 0){ return (false); }; _local5 = _arg1.samp._gg285(_arg2.samp); _local6 = _local5._cr110(); _local7 = ((_arg1.radius + _arg2.radius) - _local6); if (_local7 > 0){ _local5._jt155(_local6); _ak195._tc209(_arg1, _arg2, _local5, _local7); return (true); }; return (false); } private static function _aw358(_arg1:_pe427, _arg2:_pe427):Boolean{ var _local3:_qp435; var _local4:Number; var _local5:int; var _local6:_qp435; var _local7:Number; var _local8:_qp435; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Boolean; _local4 = Number.POSITIVE_INFINITY; _local5 = 0; while (_local5 < 2) { _local6 = _arg1.axes[_local5]; _local7 = _nx382(_arg1._fl38(_local6), _arg2._fl38(_local6)); if (_local7 == 0){ return (false); }; _local8 = _arg2.axes[_local5]; _local9 = _nx382(_arg1._fl38(_local8), _arg2._fl38(_local8)); if (_local9 == 0){ return (false); }; _local10 = Math.abs(_local7); _local11 = Math.abs(_local9); if ((((_local10 < Math.abs(_local4))) || ((_local11 < Math.abs(_local4))))){ _local12 = (_local10 < _local11); _local3 = (_local12) ? _local6 : _local8; _local4 = (_local12) ? _local7 : _local9; }; _local5++; }; _ak195._tc209(_arg1, _arg2, _local3, _local4); return (true); } static function test(_arg1:_hu372, _arg2:_hu372):void{ if (((_arg1.fixed) && (_arg2.fixed))){ return; }; if ((((_arg1._md362 == 0)) && ((_arg2._md362 == 0)))){ _yl48(_arg1, _arg2); } else { if ((((_arg1._md362 > 0)) && ((_arg2._md362 == 0)))){ _vt119(_arg1, _arg2); } else { if ((((_arg2._md362 > 0)) && ((_arg1._md362 == 0)))){ _vt119(_arg2, _arg1); } else { if (_arg1._md362 == _arg2._md362){ _lh157(_arg1, _arg2); } else { _yl48(_arg1, _arg2); }; }; }; }; } private static function _nx382(_arg1:_bs387, _arg2:_bs387):Number{ var _local3:Number; var _local4:Number; if (_arg1.max < _arg2.min){ return (0); }; if (_arg2.max < _arg1.min){ return (0); }; _local3 = (_arg2.max - _arg1.min); _local4 = (_arg2.min - _arg1.max); return (((Math.abs(_local3))<Math.abs(_local4)) ? _local3 : _local4); } private static function _yl48(_arg1:_hu372, _arg2:_hu372):void{ _arg1.samp.copy(_arg1.curr); _arg2.samp.copy(_arg2.curr); _yi369(_arg1, _arg2); } private static function _yi369(_arg1:_hu372, _arg2:_hu372):Boolean{ var _local3:Boolean; _local3 = false; if ((((_arg1 is _pe427)) && ((_arg2 is _pe427)))){ _local3 = _aw358((_arg1 as _pe427), (_arg2 as _pe427)); } else { if ((((_arg1 is _lc470)) && ((_arg2 is _lc470)))){ _local3 = _uf77((_arg1 as _lc470), (_arg2 as _lc470)); } else { if ((((_arg1 is _pe427)) && ((_arg2 is _lc470)))){ _local3 = _sh212((_arg1 as _pe427), (_arg2 as _lc470)); } else { if ((((_arg1 is _lc470)) && ((_arg2 is _pe427)))){ _local3 = _sh212((_arg2 as _pe427), (_arg1 as _lc470)); }; }; }; }; if (_local3){ if (_arg1._qt168 != null){ _arg1._qt168(_arg1, _arg2); }; if (_arg2._qt168 != null){ _arg2._qt168(_arg2, _arg1); }; }; return (_local3); } private static function _lh157(_arg1:_hu372, _arg2:_hu372):void{ var _local3:Number; var _local4:Number; var _local5:int; _local3 = (1 / (_arg1._md362 + 1)); _local4 = _local3; _local5 = 0; while (_local5 <= _arg1._md362) { _arg1.samp._ek412((_arg1.prev.x + (_local4 * (_arg1.curr.x - _arg1.prev.x))), (_arg1.prev.y + (_local4 * (_arg1.curr.y - _arg1.prev.y)))); _arg2.samp._ek412((_arg2.prev.x + (_local4 * (_arg2.curr.x - _arg2.prev.x))), (_arg2.prev.y + (_local4 * (_arg2.curr.y - _arg2.prev.y)))); if (_yi369(_arg1, _arg2)){ return; }; _local4 = (_local4 + _local3); _local5++; }; } private static function _lg54(_arg1:_qp435, _arg2:_pe427):_qp435{ var _local3:_qp435; var _local4:_qp435; var _local5:int; var _local6:Number; _local3 = _arg1._gg285(_arg2.samp); _local4 = new _qp435(_arg2.samp.x, _arg2.samp.y); _local5 = 0; while (_local5 < 2) { _local6 = _local3._ch229(_arg2.axes[_local5]); if (_local6 >= 0){ _local6 = _arg2._ht177[_local5]; } else { if (_local6 < 0){ _local6 = -(_arg2._ht177[_local5]); }; }; _local4._np170(_arg2.axes[_local5]._sl299(_local6)); _local5++; }; return (_local4); } private static function _vt119(_arg1:_hu372, _arg2:_hu372):void{ var _local3:Number; var _local4:Number; var _local5:int; _local3 = (1 / (_arg1._md362 + 1)); _local4 = _local3; _arg2.samp.copy(_arg2.curr); _local5 = 0; while (_local5 <= _arg1._md362) { _arg1.samp._ek412((_arg1.prev.x + (_local4 * (_arg1.curr.x - _arg1.prev.x))), (_arg1.prev.y + (_local4 * (_arg1.curr.y - _arg1.prev.y)))); if (_yi369(_arg1, _arg2)){ return; }; _local4 = (_local4 + _local3); _local5++; }; } private static function _sh212(_arg1:_pe427, _arg2:_lc470):Boolean{ var _local3:_qp435; var _local4:Number; var _local5:Array; var _local6:int; var _local7:Number; var _local8:_qp435; var _local9:Number; var _local10:_qp435; var _local11:Number; _local4 = Number.POSITIVE_INFINITY; _local5 = new Array(2); _local6 = 0; while (_local6 < 2) { _local8 = _arg1.axes[_local6]; _local9 = _nx382(_arg1._fl38(_local8), _arg2._fl38(_local8)); if (_local9 == 0){ return (false); }; if (Math.abs(_local9) < Math.abs(_local4)){ _local3 = _local8; _local4 = _local9; }; _local5[_local6] = _local9; _local6++; }; _local7 = _arg2.radius; if ((((Math.abs(_local5[0]) < _local7)) && ((Math.abs(_local5[1]) < _local7)))){ _local10 = _lg54(_arg2.samp, _arg1); _local3 = _local10._gg285(_arg2.samp); _local11 = _local3._cr110(); _local4 = (_local7 - _local11); if (_local4 > 0){ _local3._jt155(_local11); } else { return (false); }; }; _ak195._tc209(_arg1, _arg2, _local3, _local4); return (true); } } }//package Code.org.cove.ape
Section 160
//_pa408 (Code.org.cove.ape._pa408) package Code.org.cove.ape { import flash.utils.*; public class _pa408 extends _xt325 { private var _stiffness:Number; public function _pa408(_arg1:Number){ if (getQualifiedClassName(this) == "org.cove.ape::AbstractConstraint"){ throw (new ArgumentError("AbstractConstraint can't be instantiated directly")); }; this._ot400 = _arg1; setStyle(); } function _ai301():void{ } public function get _ot400():Number{ return (_stiffness); } public function set _ot400(_arg1:Number):void{ _stiffness = _arg1; } } }//package Code.org.cove.ape
Section 161
//_pe427 (Code.org.cove.ape._pe427) package Code.org.cove.ape { public class _pe427 extends _hu372 { private var _extents:Array; private var _axes:Array; private var _radian:Number; public function _pe427(_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 _qp435(0, 0), new _qp435(0, 0)); _st232 = _arg5; } public function set width(_arg1:Number):void{ _extents[0] = (_arg1 / 2); } override public function init():void{ var _local1:Number; var _local2:Number; _qm114(); if (_sprite != null){ _tb73(); } else { _local1 = (_ht177[0] * 2); _local2 = (_ht177[1] * 2); _pp275.graphics.clear(); _pp275.graphics.lineStyle(lineThickness, lineColor, lineAlpha); _pp275.graphics.beginFill(fillColor, fillAlpha); _pp275.graphics.drawRect((-(_local1) / 2), (-(_local2) / 2), _local1, _local2); _pp275.graphics.endFill(); }; _be113(); } function _fl38(_arg1:_qp435):_bs387{ var _local2:Number; var _local3:Number; _local2 = ((_ht177[0] * Math.abs(_arg1._ch229(axes[0]))) + (_ht177[1] * Math.abs(_arg1._ch229(axes[1])))); _local3 = samp._ch229(_arg1); interval.min = (_local3 - _local2); interval.max = (_local3 + _local2); return (interval); } function get _ht177():Array{ return (_extents); } function get axes():Array{ return (_axes); } public function set angle(_arg1:Number):void{ _st232 = (_arg1 * _uw393.PI_OVER_ONE_EIGHTY); } public function get height():Number{ return ((_extents[1] * 2)); } public function get _st232():Number{ return (_radian); } public function set _st232(_arg1:Number):void{ _radian = _arg1; _th318(_arg1); } public function get width():Number{ return ((_extents[0] * 2)); } public function get angle():Number{ return ((_st232 * _uw393.ONE_EIGHTY_OVER_PI)); } public function set height(_arg1:Number):void{ _extents[1] = (_arg1 / 2); } override public function _be113():void{ super._be113(); _pp275._uc285 = curr.x; _pp275._kc408 = curr.y; _pp275.rotation = angle; } private function _th318(_arg1:Number):void{ var _local2:Number; var _local3:Number; _local2 = Math.sin(_arg1); _local3 = Math.cos(_arg1); axes[0].x = _local3; axes[0].y = _local2; axes[1].x = -(_local2); axes[1].y = _local3; } } }//package Code.org.cove.ape
Section 162
//_qp435 (Code.org.cove.ape._qp435) package Code.org.cove.ape { public class _qp435 { public var x:Number; public var y:Number; public function _qp435(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } public function _cr110():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function distance(_arg1:_qp435):Number{ var _local2:_qp435; _local2 = this._gg285(_arg1); return (_local2._cr110()); } public function _eq187(_arg1:_qp435):_qp435{ x = (x - _arg1.x); y = (y - _arg1.y); return (this); } public function _yg267(_arg1:_qp435):Number{ return (((x * _arg1.y) - (y * _arg1.x))); } public function _jt155(_arg1:Number):_qp435{ if (_arg1 == 0){ _arg1 = 0.0001; }; x = (x / _arg1); y = (y / _arg1); return (this); } public function _np170(_arg1:_qp435):_qp435{ x = (x + _arg1.x); y = (y + _arg1.y); return (this); } public function toString():String{ return (((x + " : ") + y)); } public function _dq317(_arg1:_qp435):_qp435{ return (new _qp435((x + _arg1.x), (y + _arg1.y))); } public function normalize():_qp435{ var _local1:Number; _local1 = _cr110(); if (_local1 == 0){ _local1 = 0.0001; }; return (_sl299((1 / _local1))); } public function copy(_arg1:_qp435):void{ x = _arg1.x; y = _arg1.y; } public function _ss346(_arg1:Number):_qp435{ x = (x * _arg1); y = (y * _arg1); return (this); } public function _ek412(_arg1:Number, _arg2:Number):void{ x = _arg1; y = _arg2; } public function _sl299(_arg1:Number):_qp435{ return (new _qp435((x * _arg1), (y * _arg1))); } public function _he87(_arg1:_qp435):_qp435{ return (new _qp435((x * _arg1.x), (y * _arg1.y))); } public function _ch229(_arg1:_qp435):Number{ return (((x * _arg1.x) + (y * _arg1.y))); } public function _gg285(_arg1:_qp435):_qp435{ return (new _qp435((x - _arg1.x), (y - _arg1.y))); } } }//package Code.org.cove.ape
Section 163
//_sd223 (Code.org.cove.ape._sd223) package Code.org.cove.ape { public class _sd223 extends _pe427 { public function _sd223(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){ super(_arg1, _arg2, _arg3, _arg4, 0, true, 1, 0, 0); } } }//package Code.org.cove.ape
Section 164
//_um224 (Code.org.cove.ape._um224) package Code.org.cove.ape { import flash.display.*; import flash.utils.*; public class _um224 { protected var y:Number; private var _isParented:Boolean; private var _sprite:Sprite; private var _constraints:Array; protected var x:Number; private var _particles:Array; public function _um224(){ 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 get _xe329():Array{ return (_constraints); } function _jq465(_arg1:_um224):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:_hu372; var _local6:int; var _local7:int; var _local8:int; var _local9:_hu372; var _local10:_aq99; var _local11:_aq99; var _local12:int; _local2 = _particles.length; _local3 = 0; while (_local3 < _local2) { _local5 = _particles[_local3]; if (!_local5._ac127){ } else { _local6 = _arg1._lf35.length; _local7 = 0; while (_local7 < _local6) { _local9 = _arg1._lf35[_local7]; if (_local9._ac127){ _lo86.test(_local5, _local9); }; _local7++; }; _local8 = _arg1._xe329.length; _local7 = 0; while (_local7 < _local8) { _local10 = _arg1._xe329[_local7]; if (((_local10._ac127) && (!(_local10._sf93(_local5))))){ _local10._nw443._yl418(); _lo86.test(_local5, _local10._nw443); }; _local7++; }; }; _local3++; }; _local4 = _constraints.length; _local3 = 0; while (_local3 < _local4) { _local11 = _constraints[_local3]; if (!_local11._ac127){ } else { _local6 = _arg1._lf35.length; _local12 = 0; while (_local12 < _local6) { _local9 = _arg1._lf35[_local12]; if (((_local9._ac127) && (!(_local11._sf93(_local9))))){ _local11._nw443._yl418(); _lo86.test(_local9, _local11._nw443); }; _local12++; }; }; _local3++; }; } public function init():void{ var _local1:int; _local1 = 0; while (_local1 < _lf35.length) { _lf35[_local1].init(); _local1++; }; _local1 = 0; while (_local1 < _xe329.length) { _xe329[_local1].init(); _local1++; }; } public function get _pp275():Sprite{ if (_sprite != null){ return (_sprite); }; if (_hj173.INST.container == null){ throw (new Error("The container property of the APEngine class has not been set")); }; _sprite = new Sprite(); _hj173.INST.container.addChild(_sprite); return (_sprite); } public function _fc80(_arg1:_hu372):void{ _lf35.push(_arg1); if (_lu212){ _arg1.init(); }; } public function _fl477(_arg1:_hu372):void{ var _local2:int; _local2 = _lf35.indexOf(_arg1); if (_local2 == -1){ return; }; _lf35.splice(_local2, 1); _arg1._qm114(); if (((_arg1._pp275) && (_arg1._pp275.parent))){ _hj173.INST.container.removeChild(_arg1._pp275); }; } function _wt454():void{ var _local1:int; var _local2:int; var _local3:_hu372; var _local4:int; var _local5:int; var _local6:int; var _local7:_hu372; var _local8:_aq99; _local1 = _particles.length; _local2 = 0; while (_local2 < _local1) { _local3 = _particles[_local2]; if (!_local3._ac127){ } else { _local4 = (_local2 + 1); while (_local4 < _local1) { _local7 = _particles[_local4]; if (_local7._ac127){ _lo86.test(_local3, _local7); }; _local4++; }; _local5 = _constraints.length; _local6 = 0; while (_local6 < _local5) { _local8 = _constraints[_local6]; if (((_local8._ac127) && (!(_local8._sf93(_local3))))){ _local8._nw443._yl418(); _lo86.test(_local3, _local8._nw443); }; _local6++; }; }; _local2++; }; } function _ne143():void{ var _local1:int; var _local2:int; var _local3:_pa408; _local1 = _constraints.length; _local2 = 0; while (_local2 < _local1) { _local3 = _constraints[_local2]; _local3._ai301(); _local2++; }; } public function get _nq418():Number{ return (x); } function set _lu212(_arg1:Boolean):void{ _isParented = _arg1; } public function get _cg291():Number{ return (y); } public function _ku178(_arg1:_pa408):void{ _xe329.push(_arg1); if (_lu212){ _arg1.init(); }; } public function _ac490():Array{ return (_lf35.concat(_xe329)); } public function _cn37(_arg1:_pa408):void{ var _local2:int; _local2 = _xe329.indexOf(_arg1); if (_local2 == -1){ return; }; _xe329.splice(_local2, 1); _arg1._qm114(); } public function _be113():void{ var _local1:_hu372; var _local2:int; var _local3:int; var _local4:_aq99; _local2 = _particles.length; _local3 = 0; while (_local3 < _local2) { _local1 = _particles[_local3]; if (((!(_local1.fixed)) || (_local1._qw515))){ _local1._be113(); }; if (_local1._pp275){ _local1._pp275.onEnterFrame(); }; _local3++; }; _local2 = _constraints.length; _local3 = 0; while (_local3 < _local2) { _local4 = _constraints[_local3]; if (((!(_local4.fixed)) || (_local4._qw515))){ _local4._be113(); }; _local3++; }; } public function _qm114():void{ var _local1:int; _local1 = 0; while (_local1 < _lf35.length) { if (_lf35[_local1]._pp275.parent){ _lf35[_local1]._pp275.parent.removeChild(_lf35[_local1]._pp275); }; _local1++; }; _local1 = 0; while (_local1 < _xe329.length) { if (_xe329[_local1]._pp275.parent){ _xe329[_local1]._pp275.parent.removeChild(_xe329[_local1]._pp275); }; _local1++; }; } function get _lu212():Boolean{ return (_isParented); } public function get _lf35():Array{ return (_particles); } function _ba196(_arg1:Number):void{ var _local2:int; var _local3:int; var _local4:_hu372; _local2 = _particles.length; _local3 = 0; while (_local3 < _particles.length) { _local4 = _particles[_local3]; _local4.update(_arg1); _local3++; }; } } }//package Code.org.cove.ape
Section 165
//_uw393 (Code.org.cove.ape._uw393) package Code.org.cove.ape { final class _uw393 { 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 _of377(_arg1:Number):int{ if (_arg1 < 0){ return (-1); }; return (1); } } }//package Code.org.cove.ape
Section 166
//_xt325 (Code.org.cove.ape._xt325) package Code.org.cove.ape { public class _xt325 { private var _visible:Boolean; var lineAlpha:Number; var displayObjectOffset:_qp435; var lineColor:uint; var lineThickness:Number; var fillAlpha:Number; protected var _sprite:_gk241; var fillColor:uint; public var owner:Object; private var _alwaysRepaint:Boolean; var displayObjectRotation:Number; public function _xt325(){ _visible = true; _alwaysRepaint = false; owner = this; } public function init():void{ } public function setStyle(_arg1:Number=0, _arg2:uint=0, _arg3:Number=1, _arg4:uint=0xFFFFFF, _arg5:Number=1):void{ _al339(_arg1, _arg2, _arg3); _ri86(_arg4, _arg5); } public function _ri86(_arg1:uint=0xFFFFFF, _arg2:Number=1):void{ fillColor = _arg1; fillAlpha = _arg2; } public function get _pp275():_gk241{ if (_sprite != null){ return (_sprite); }; if (_hj173.INST.container == null){ throw (new Error("The container property of the APEngine class has not been set")); }; _sprite = new _gk241(); _sprite.owner = this; _hj173.INST.container.addChild(_sprite); return (_sprite); } public function set visible(_arg1:Boolean):void{ _visible = _arg1; _pp275.visible = _arg1; } final public function set _qw515(_arg1:Boolean):void{ _alwaysRepaint = _arg1; } public function _be113():void{ } public function get visible():Boolean{ return (_visible); } final public function get _qw515():Boolean{ return (_alwaysRepaint); } public function _qm114():void{ } public function _al339(_arg1:Number=0, _arg2:uint=0, _arg3:Number=1):void{ lineThickness = _arg1; lineColor = _arg2; lineAlpha = _arg3; } } }//package Code.org.cove.ape
Section 167
//_bk53 (Code.WINDOWS.DIALOGS._bk53) package Code.WINDOWS.DIALOGS { import flash.events.*; import flash.display.*; import Code.LIB.*; import flash.text.*; import Code.OPTIONS.*; import Code.*; public class _bk53 extends _lx460 { private var iCanceled:Boolean; public var iOk:_uu487; public var iCancel:_uu487; private var iAuto:Boolean; private var iInput:TextField; public function _bk53(_arg1:Boolean=false){ var _local2:Array; var _local3:Sprite; var _local4:TextFormat; this.iAuto = _arg1; _local2 = [[_fy512._sv257, _hd443.cGellRed, 500, 300, true, 1, 0, 0, null, true], [_fy512._sv257, _hd443.cGellGreen, 300, 70, false, 90, 100, null, true], [_fy512._wp321, _hd443.iLanguage.strEnterName, _hd443.TColors, 30, _in438.BigText, 70, 20, null, true], [_fy512._au295, _hd443.iLanguage.strOk, _hd443.cGellGreen, 170, 60, 25, _hd443.cWhite, 35, 200, "iOk", true], [_fy512._au295, _hd443.iLanguage.strCancel, _hd443.cGellRed, 170, 60, 25, _hd443.cWhite, 290, 200, "iCancel", true]]; super(_local2); if (_arg1){ this.iCancel.visible = false; }; _local3 = (new _wp58.OFont() as Sprite); this.iInput = TextField(_local3.getChildAt(0)); _local4 = new TextFormat(); _local4.color = _hd443.cWhite; _local4.size = (40 * _kj370._wr432); this.iInput.type = TextFieldType.INPUT; this.iInput.width = (250 * _kj370._wr432); this.iInput.height = (100 * _kj370._wr432); this.iInput.x = (100 * _kj370._wr432); this.iInput.y = (110 * _kj370._wr432); this.iInput.defaultTextFormat = _local4; this.iInput.maxChars = 10; this.iInput.restrict = "A-Z a-z 0-9 а-я А-Я"; this.addChild(iInput); this.iInput.text = ""; _kj370.prStage.focus = iInput; this._dx37(100, 100); } public function get _ao248():String{ if (iCanceled){ return (null); }; return (this.iInput.text); } override public function onEnterFrame(_arg1:Event):void{ super.onEnterFrame(_arg1); if (((this._aj31) && (!((_kj370.prStage.focus == this.iInput))))){ _kj370.prStage.focus = this.iInput; }; } override public function show():void{ super.show(); if (this.iInput){ this.iInput.visible = true; }; _kj370.prStage.focus = iInput; } override public function _nm519(_arg1:MouseEvent):void{ if (_arg1.target == this.iOk._yo374){ this.iInput.text = iInput.text.toUpperCase(); if ((((((((((((((((((((((((((((((this.iInput.text.length == 0)) || (!((this.iInput.text.indexOf("FUCK") == -1))))) || (!((this.iInput.text.indexOf("BEATCH") == -1))))) || (!((this.iInput.text.indexOf("BITCH") == -1))))) || (!((this.iInput.text.indexOf("ASS") == -1))))) || (!((this.iInput.text.indexOf("BICH") == -1))))) || (!((this.iInput.text.indexOf("BEACH") == -1))))) || (!((this.iInput.text.indexOf("FACK") == -1))))) || (!((this.iInput.text.indexOf("HO") == -1))))) || (!((this.iInput.text.indexOf("NIGER") == -1))))) || (!((this.iInput.text.indexOf("NIGGA") == -1))))) || (!((this.iInput.text.indexOf("PUSSY") == -1))))) || (!((this.iInput.text.indexOf("PUZZY") == -1))))) || (!((this.iInput.text.indexOf("PUSY") == -1))))) || (!((this.iInput.text.indexOf("PUZZY") == -1))))){ this.iInput.text = ""; return; }; if (iAuto){ _ma277._ir276(this.iInput.text); }; this.iInput.visible = false; this.iCanceled = false; this.hide(); }; if (_arg1.target == this.iCancel._yo374){ this.iInput.visible = false; this.iCanceled = true; this.hide(); }; } } }//package Code.WINDOWS.DIALOGS
Section 168
//_lo233 (Code.WINDOWS.DIALOGS._lo233) package Code.WINDOWS.DIALOGS { import flash.events.*; import Code.LIB.*; import Code.OPTIONS.*; import Code.LIB.SOUND.*; import Code.*; public class _lo233 extends _lx460 { public var iASLButton:_uu487; public var iOk:_uu487; private var iMVolume:int; public var iCancel:_uu487; private var iSVBckup:int; public var iMVLabel:_pj303; public var iASRButton:_uu487; public var iAMRButton:_uu487; public var iAMLButton:_uu487; private var iMVBckup:int; public var iSVLabel:_pj303; private var iSVolume:int; public function _lo233(){ var _local1:Array; this.iSVolume = (_ma277._vi147[1].prSVolume * 100); this.iMVolume = (_ma277._vi147[1].prMVolume * 100); this.iSVBckup = this.iSVolume; this.iMVBckup = this.iMVolume; _local1 = [[_fy512._kd96, _hd443.cAqua, 490, 390, false, 0.5, _hd443.TTV2Frame, -8, -15, null, true], [_fy512._jk50, _hd443.iLanguage.strOptions, _hd443.cOrange, 40, _in438.SmallText, 130, 5, null, true], [_fy512._jk50, _hd443.iLanguage.strSVolume, _hd443.cAqua, 24, _in438.SmallText, 20, 101, null, true], [_fy512._jk50, ((this.iSVolume)<=0) ? "off" : this.iSVolume.toString(), _hd443.cOrange, 24, _in438.BigText, 335, 100, "iSVLabel", true], [_fy512._md187, 40, 40, "<", _hd443.cOrange, 40, 280, 100, "iASLButton", true], [_fy512._md187, 40, 40, ">", _hd443.cOrange, 40, 400, 100, "iASRButton", true], [_fy512._jk50, _hd443.iLanguage.strMVolume, _hd443.cAqua, 24, _in438.SmallText, 20, 191, null, true], [_fy512._jk50, ((this.iMVolume)<=0) ? "off" : this.iMVolume.toString(), _hd443.cOrange, 24, _in438.BigText, 335, 180, "iMVLabel", true], [_fy512._md187, 40, 40, "<", _hd443.cOrange, 40, 280, 180, "iAMLButton", true], [_fy512._md187, 40, 40, ">", _hd443.cOrange, 40, 400, 180, "iAMRButton", true], [_fy512._au295, _hd443.iLanguage.strOk, _hd443.cGellAqua, 180, 60, 20, _hd443.cWhite, 45, 260, "iOk", true], [_fy512._au295, _hd443.iLanguage.strCancel, _hd443.cGellRed, 180, 60, 20, _hd443.cWhite, 260, 260, "iCancel", true]]; super(_local1); this._dx37(150, 105); } override public function onEnterFrame(_arg1:Event):void{ super.onEnterFrame(_arg1); if (int((_pc215._gw279 * 100)) != iMVolume){ this.iMVolume = (_pc215._gw279 * 100); if (this.iMVolume <= 0){ this.iMVLabel.Text = "off"; } else { this.iMVLabel.Text = this.iMVolume.toString(); }; }; if (int((_pc215._py494 * 100)) != iSVolume){ this.iSVolume = (_pc215._py494 * 100); if (this.iSVolume <= 0){ this.iSVLabel.Text = "off"; } else { this.iSVLabel.Text = this.iSVolume.toString(); }; }; } override public function _nm519(_arg1:MouseEvent):void{ if (_arg1.target == this.iAMRButton._yo374){ this.iMVolume = (this.iMVolume + 10); if (this.iMVolume > 100){ this.iMVolume = 100; }; this.iMVLabel.Text = this.iMVolume.toString(); _pc215._gw279 = (this.iMVolume / 100); }; if (_arg1.target == this.iAMLButton._yo374){ this.iMVolume = (this.iMVolume - 10); if (this.iMVolume <= 0){ this.iMVolume = 0; }; if (this.iMVolume <= 0){ this.iMVLabel.Text = "off"; } else { this.iMVLabel.Text = this.iMVolume.toString(); }; _pc215._gw279 = (this.iMVolume / 100); }; if (_arg1.target == this.iASRButton._yo374){ this.iSVolume = (this.iSVolume + 10); if (this.iSVolume > 100){ this.iSVolume = 100; }; this.iSVLabel.Text = this.iSVolume.toString(); _pc215._py494 = (this.iSVolume / 100); }; if (_arg1.target == this.iASLButton._yo374){ this.iSVolume = (this.iSVolume - 10); if (this.iSVolume < 0){ this.iSVolume = 0; }; if (this.iSVolume <= 0){ this.iSVLabel.Text = "off"; } else { this.iSVLabel.Text = this.iSVolume.toString(); }; _pc215._py494 = (this.iSVolume / 100); _pc215._ee318("newbug"); }; if (_arg1.target == this.iOk._yo374){ _ma277._vi147[1].prMVolume = (this.iMVolume / 100); _ma277._vi147[1].prSVolume = (this.iSVolume / 100); _ma277._rm392(); _pc215._gw279 = (this.iMVolume / 100); _pc215._py494 = (this.iSVolume / 100); this.hide(); }; if (_arg1.target == this.iCancel._yo374){ _pc215._gw279 = (this.iMVBckup / 100); _pc215._py494 = (this.iSVBckup / 100); this.hide(); }; } } }//package Code.WINDOWS.DIALOGS
Section 169
//_ng480 (Code.WINDOWS.DIALOGS._ng480) package Code.WINDOWS.DIALOGS { import Code.LIB.*; import Code.OPTIONS.*; import Code.*; public class _ng480 extends _lx460 { public var iOk:_uu487; public var iCancel:_uu487; public function _ng480(_arg1:String){ var _local2:Array; _local2 = [[_fy512._sv257, _hd443.cGellRed, 500, 300, true, 1, 0, 0, null, true], [_fy512._jk50, _arg1, _hd443.cOrange, 40, _in438.SmallText, 10, 15, null, true], [_fy512._au295, "yes", _hd443.cGellGreen, 170, 60, 25, _hd443.cWhite, 35, 200, "iOk", true], [_fy512._au295, "no", _hd443.cGellRed, 170, 60, 25, _hd443.cWhite, 290, 200, "iCancel", true]]; super(_local2); } public function get _dq445():_uu487{ return (iCancel); } public function get _ym201():_uu487{ return (iOk); } } }//package Code.WINDOWS.DIALOGS
Section 170
//_dt363 (Code.WINDOWS._dt363) package Code.WINDOWS { import flash.events.*; import flash.display.*; import Code.LIB.*; import Code.OPTIONS.*; import Code.OPTIONS.LANGUAGES.*; import Code.*; public class _dt363 extends _lx460 { public var iFr:_uu487; public var iRu:_uu487; public var iDe:_uu487; public var iEn:_uu487; public function _dt363(){ var _local1:Array; _local1 = [[_fy512._kd96, _hd443.cGellAqua, 440, 480, false, 0.5, _hd443.TScaledFrame, 0, 0, null, true], [_fy512._xf374, "select language", _hd443.cWhite, 25, 325, _in438.SmallText, 0, 25, null, true], [_fy512._au295, "English", _hd443.cGellAqua, 140, 50, 20, _hd443.cWhite, 150, 80, "iEn", true], [_fy512._au295, "Русский", _hd443.cGellAqua, 140, 50, 20, _hd443.cWhite, 175, 150, "iRu", true], [_fy512._au295, "Français", _hd443.cGellAqua, 140, 50, 20, _hd443.cWhite, 200, 230, "iFr", true], [_fy512._au295, "Deutsch", _hd443.cGellAqua, 140, 50, 20, _hd443.cWhite, 225, 300, "iDe", true], [_fy512._ec37, (new _hd443.TFlagENG() as Sprite), 1, true, 50, 80, null, true], [_fy512._ec37, (new _hd443.TFlagRU() as Sprite), 1, true, 75, 150, null, true], [_fy512._ec37, (new _hd443.TFlagFR() as Sprite), 1, true, 100, 230, null, true], [_fy512._ec37, (new _hd443.TFlagDE() as Sprite), 1, true, 125, 300, null, true]]; super(_local1); _dx37(175, 50); } override public function _nm519(_arg1:MouseEvent):void{ if (_arg1.target == iEn._yo374){ _hd443.iLanguage = new _st359(); hide(); }; if (_arg1.target == iRu._yo374){ _hd443.iLanguage = new _pw40(); hide(); }; if (_arg1.target == iFr._yo374){ _hd443.iLanguage = new _lq198(); hide(); }; if (_arg1.target == iDe._yo374){ _hd443.iLanguage = new _ja442(); hide(); }; } } }//package Code.WINDOWS
Section 171
//_dt519 (Code.WINDOWS._dt519) package Code.WINDOWS { import flash.events.*; import flash.display.*; import Code.LIB.*; import flash.net.*; import Code.OPTIONS.*; import Code.LIB.SPILL.*; public class _dt519 extends _lx460 { private var hitSprite:_bd509; private var text:_pg495; private var showed:Boolean;// = false private var iState:int;// = 0 private var bgMovic:MovieClip; private static const stHide:int = 2; private static const stLogo:int = 1; private static const stShow:int = 0; public function _dt519(_arg1:Array=null){ var _local2:MovieClip; iState = 0; showed = false; super(_arg1); bgMovic = (new _hd443.TIntroBg() as MovieClip); _local2 = (new _hd443._rd413() as MovieClip); _local2.gotoAndStop(language._pj214); switch (language._xj423){ case "family": bgMovic.gotoAndStop(1); text = _lx317._ec37(_local2, 1.5); text._kc408 = 380; text._uc285 = 320; break; case "tweens": bgMovic.gotoAndStop(2); text = _lx317._ec37(_local2, 1.8); text._kc408 = 250; text._uc285 = ((800 - (text.width / _kj370._wr432)) / 2); break; case "girl": bgMovic.gotoAndStop(3); text = _lx317._ec37(_local2, 1.1); text._kc408 = 410; text._uc285 = ((800 - (text.width / _kj370._wr432)) / 2); break; case "game_com_cn": bgMovic.gotoAndStop(4); text = _lx317._ec37(_local2, 2); text._kc408 = 310; text._uc285 = ((800 - (text.width / _kj370._wr432)) / 2); break; }; bgMovic.scaleX = (bgMovic.scaleY = (bgMovic.scaleY * _kj370._wr432)); bgMovic.x = (400 * _kj370._wr432); bgMovic.y = (300 * _kj370._wr432); _kj370.prStage.frameRate = 15; addChild(bgMovic); addChild(text); alpha = 1; iState = stShow; this.hitSprite = new _bd509(); this.hitSprite.graphics.beginFill(0xFF, 0); this.hitSprite.graphics.drawRect(0, 0, (800 * _kj370._wr432), (600 * _kj370._wr432)); this.hitSprite.graphics.endFill(); this.hitSprite.buttonMode = true; addChild(hitSprite); } override public function onEnterFrame(_arg1:Event):void{ var _local2:int; super.onEnterFrame(_arg1); switch (iState){ case stShow: if (!_vn21){ iState = stLogo; }; break; case stLogo: if (((((!(showed)) && ((MovieClip(bgMovic.getChildAt(0)).currentFrame >= 78)))) && ((text.alpha > 0)))){ text.alpha = (text.alpha - 0.09); }; if (((!(showed)) && ((MovieClip(bgMovic.getChildAt(0)).currentFrame >= MovieClip(bgMovic.getChildAt(0)).totalFrames)))){ bgMovic.stop(); _local2 = 0; while (_local2 < bgMovic.numChildren) { if ((bgMovic.getChildAt(_local2) is MovieClip)){ MovieClip(bgMovic.getChildAt(_local2)).stop(); }; _local2++; }; showed = true; _kj370.prStage.frameRate = 30; iState = stHide; }; break; case stHide: hide(); break; }; } override public function _nm519(_arg1:MouseEvent):void{ var _local2:URLRequest; if (int(language._kh245) == 2){ _local2 = new URLRequest(language._pv229); } else { _local2 = new URLRequest((language._pv229 + "&utm_term=logo_intro")); }; navigateToURL(_local2, "_blank"); } } }//package Code.WINDOWS
Section 172
//_gk133 (Code.WINDOWS._gk133) package Code.WINDOWS { import flash.events.*; import flash.display.*; import Code.LIB.*; import Code.LOGIC.*; import flash.net.*; import Code.OPTIONS.*; import Code.WINDOWS.DIALOGS.*; import flash.utils.*; import Code.*; import Code.LIB.SPILL.*; public class _gk133 extends _lx460 { public var pause:_uu487; private var msgs:Array; public var iLevelLabel:_pj303; private var iField:_bk397; public var menuBig:_uu487; public var menu:_uu487; private var allLevels:Boolean;// = false public var iMore:_uu487; public var iMenu:_uu487; public var moreGames:_uu487; public var submitScore:_uu487; private var iMsgLabel:_pj303; private var submitDialog:_ng480; public var nextLevel:_uu487; private var score:_nx427; public var playAgain:_uu487; private var iWFinished:MovieClip; public var retry:_uu487; private var iState:int; public var biba:_pj303; private var iPaused:Boolean;// = false public static const stLevel:int = 3; public static const stInvisible:int = 8; public static const stPlay:int = 4; public static const stCompleteAllLevels:int = 7; public static const stComplete:int = 5; public static const stLoose:int = 6; public static const stShow:int = 0; public function _gk133(){ var _local1:Array; iPaused = false; allLevels = false; _local1 = [[_fy512._au295, "next level", _hd443.cAqua, 220, 70, 21, _hd443.cWhite, 80, 510, "nextLevel", false], [_fy512._au295, "submit score", _hd443.cAqua, 220, 70, 21, _hd443.cWhite, 469, 510, "submitScore", false], [_fy512._au295, "retry", _hd443.cAqua, 220, 70, 21, _hd443.cWhite, 290, 379, "retry", false], [_fy512._au295, "menu", _hd443.cAqua, 220, 70, 21, _hd443.cWhite, 455, 536, "menuBig", false], [_fy512._au295, "play again", _hd443.cAqua, 220, 70, 21, _hd443.cWhite, 370, 542, "playAgain", false], [_fy512._vq21, "pause", _hd443.cAqua, 63, 30, 13, _hd443.cWhite, 240, 3, "pause", false], [_fy512._vq21, "menu", _hd443.cAqua, 60, 30, 13, _hd443.cWhite, 315, 3, "menu", false], [_fy512._au295, "", _hd443.cOrange, 180, 60, 10, _hd443.cWhite, 220, 525, "moreGames", false]]; super(_local1); score = new _nx427(20, _hd443.cWhite, "score"); score.alpha = 0.8; score._rr487 = 0; score.visible = false; score._kc408 = 570; addChild(score); _mb273(); } override public function _or337():void{ super._or337(); if (this.iField){ this.iField._or337(); }; this.removeEventListener(Event.DEACTIVATE, _tb278); } private function _sb514(_arg1:Boolean):void{ iField.paused = _arg1; if (_arg1 == true){ this.iMsgLabel.Text = "game paused\n press any key to continue!"; this.iMsgLabel._dx37(((800 - this.iMsgLabel.width) / 2), ((500 - this.iMsgLabel.height) / 2)); } else { this.iMsgLabel.Text = ""; }; } public function _tb278(_arg1:Event):void{ if (((((iField) && (!(iField.paused)))) && ((iState == stPlay)))){ _sb514(true); }; } override public function _tp23(_arg1:KeyboardEvent):void{ if (((iField) && (iField.paused))){ _sb514(false); }; } override public function onEnterFrame(_arg1:Event):void{ var _local2:int; var _local3:int; var _local4:_pg495; super.onEnterFrame(_arg1); if (this.iPaused){ return; }; _local2 = getTimer(); switch (this.iState){ case stShow: if (((!(this._vn21)) && (this._aj31))){ this.State = stLevel; }; break; case stLevel: if (this.iMsgLabel.alpha < 0.99){ this.iMsgLabel.alpha = (this.iMsgLabel.alpha + 0.07); }; if ((_local2 - this.iITimer) > 1500){ this.iMsgLabel.Text = ""; this.State = stPlay; }; break; case stPlay: if (iField._wo15 == _bk397.stWin){ menu.visible = false; pause.visible = false; State = stComplete; } else { if (iField._wo15 == _bk397.stLoose){ menu.visible = false; pause.visible = false; State = stLoose; } else { if ((_wv348._qu77 + (iField._yd57 * 150)) != score._rr487){ score._rr487 = (_wv348._qu77 + (iField._yd57 * 150)); }; }; }; break; case stComplete: _local3 = 0; while (_local3 < msgs.length) { _local4 = msgs[_local3]; if (_local4.alpha < 1){ _local4.alpha = (_local4.alpha + 0.045); break; }; _local3++; }; break; case stLoose: break; }; } public function _mb273():void{ this.iMsgLabel = new _pj303(40, _hd443.cAqua, _in438.Bevel); this.addChild(this.iMsgLabel); this.iMsgLabel.mouseEnabled = false; this.addEventListener(Event.DEACTIVATE, _tb278); } private function set State(_arg1:int):void{ var _local2:Class; var _local3:MovieClip; var _local4:MovieClip; var _local5:_pg495; var _local6:MovieClip; var _local7:int; var _local8:_pg495; var _local9:Sprite; this.iState = _arg1; switch (this.iState){ case stShow: break; case stLevel: if (_wv348._eq272 >= _em58.Levels.length){ _kj370.scoreSubmitted = false; _wv348._vv285(); }; this.iMsgLabel.Color = _hd443.cWhite; this.iMsgLabel._xk201 = 40; this.iMsgLabel.Text = (((((" " + _hd443.iLanguage.strLevel) + " # ") + (_wv348._eq272 + 1).toString()) + "/") + _em58.Levels.length); this.iMsgLabel._dx37(((500 - this.iMsgLabel.width) / 2), ((600 - this.iMsgLabel.height) / 2)); this.iMsgLabel.alpha = 0; this.iITimer = getTimer(); break; case stPlay: pause.visible = true; menu.visible = true; score.visible = true; this.iField = new _bk397(_em58.Levels[_wv348._eq272]); this.addChildAt(iField, 0); break; case stComplete: _wv348._wm60(); if (_wv348._eq272 >= _em58.Levels.length){ allLevels = true; submitScore._uc285 = 93; submitScore._kc408 = 544; playAgain.visible = true; }; msgs = new Array(); this.iMsgLabel._uc285 = 200; this.iMsgLabel._kc408 = 10; this.iMsgLabel.Text = ((allLevels)==true) ? "Congratulations!\nYou have completed\nall levels!" : "great, level completed!"; msgs.push(_lx317._cy60(iMsgLabel)); this.iMsgLabel.Color = _hd443.cGreen; this.iMsgLabel._kc408 = 100; this.iMsgLabel.Text = ("Little Frizzles: " + int(this.iField._yd57)); msgs.push(_lx317._cy60(iMsgLabel)); this.iMsgLabel.Color = _hd443.cRed; this.iMsgLabel.Text = ("score: " + (this.iField._yd57 * 150)); msgs.push(_lx317._cy60(iMsgLabel)); _wv348._ww467((this.iField._yd57 * 150)); this.iMsgLabel.Color = _hd443.cAquaLight; this.iMsgLabel.Text = ("total score: " + _wv348._qu77); msgs.push(_lx317._cy60(iMsgLabel)); _local7 = 0; while (_local7 < msgs.length) { _local8 = msgs[_local7]; _local8._kc408 = (_local7 * 60); _local8.alpha = 0; addChild(_local8); _local7++; }; _local2 = (allLevels) ? _hd443.TWComplete : _hd443.GWWin; _local3 = (new (_local2) as MovieClip); _local3.scaleX = (_local3.scaleY = _kj370._wr432); addChild(_local3); addChild(nextLevel); addChild(submitScore); addChild(playAgain); nextLevel.visible = !(allLevels); submitScore.visible = false; if (!submitScore.visible){ _local9 = new Sprite(); _local9.graphics.beginFill(0, 1); _local9.graphics.drawRect((448 * _kj370._wr432), (460 * _kj370._wr432), (300 * _kj370._wr432), (120 * _kj370._wr432)); _local9.graphics.endFill(); addChild(_local9); }; break; case stLoose: this.iMsgLabel.Text = "level failed,\n try again!"; this.iMsgLabel._dx37(((800 - this.iMsgLabel.width) / 2), 140); this.iMsgLabel.visible = true; _local3 = (new _hd443.GWGameOver() as MovieClip); _local3.scaleX = (_local3.scaleY = _kj370._wr432); addChild(_local3); _local4 = (new _hd443._rd413() as MovieClip); _local4.gotoAndStop(language._pj214); _local5 = _lx317._ec37(_local4); _local5._uc285 = (210 + ((225 - (_local5.width / _kj370._wr432)) / 2)); _local5._kc408 = 557; addChild(_local5); _local6 = (new _hd443.MoreGamesText() as MovieClip); _local6.gotoAndStop(language._kh245); _local5 = _lx317._ec37(_local6, 1.1); _local5._uc285 = (210 + ((225 - (_local5.width / _kj370._wr432)) / 2)); _local5._kc408 = 538; addChild(_local5); moreGames.visible = true; addChild(menuBig); addChild(retry); addChild(moreGames); addChild(this.iMsgLabel); menuBig.visible = true; retry.visible = true; break; case stCompleteAllLevels: iWFinished = (new _hd443.TWComplete() as MovieClip); iWFinished.scaleX = (iWFinished.scaleY = _kj370._wr432); iWFinished.x = (((800 - 400) / 2) * _kj370._wr432); iWFinished.y = (((600 - 400) / 2) * _kj370._wr432); addChild(iWFinished); break; }; } override public function _nm519(_arg1:MouseEvent):void{ var _local2:Sprite; var _local3:URLRequest; if (((submitDialog) && ((((_arg1.target == submitDialog.iOk._yo374)) || ((_arg1.target == submitDialog.iCancel._yo374)))))){ switch (_arg1.target){ case submitDialog.iOk._yo374: submitScore.visible = false; _kj370.scoreSubmitted = true; _local2 = new Sprite(); _local2.graphics.beginFill(0, 1); _local2.graphics.drawRect((448 * _kj370._wr432), (460 * _kj370._wr432), (300 * _kj370._wr432), (120 * _kj370._wr432)); _local2.graphics.endFill(); addChild(_local2); break; case submitDialog.iCancel._yo374: break; }; removeChild(submitDialog); submitDialog._or337(); submitDialog = null; return; }; if (submitDialog){ return; }; if (((iField) && ((((((_arg1.target == nextLevel._yo374)) || ((_arg1.target == retry._yo374)))) || ((_arg1.target == playAgain._yo374)))))){ (parent as _le447).menuItem = _hd443.miGame; hide(); State = stInvisible; }; if (((iField) && ((_arg1.target == submitScore._yo374)))){ submitDialog = new _ng480("You can submit\nscore only once.\n Are you sure?"); addChild(submitDialog); submitDialog._dx37(150, 100); }; if ((((iState == stPlay)) && ((_arg1.target == menu._yo374)))){ (parent as _le447).menuItem = _hd443.miMenu; hide(); }; if ((((iState == stPlay)) && ((_arg1.target == pause._yo374)))){ _sb514(!(iField.paused)); }; if (_arg1.target == menuBig._yo374){ (parent as _le447).menuItem = _hd443.miMenu; hide(); }; if ((((iState == stLoose)) && ((_arg1.target == moreGames._yo374)))){ if (int(language._kh245) == 2){ _local3 = new URLRequest(language._pv229); } else { _local3 = new URLRequest((language._pv229 + "&utm_term=button_gameover_moregames")); }; navigateToURL(_local3, "_blank"); }; } } }//package Code.WINDOWS
Section 173
//_mj506 (Code.WINDOWS._mj506) package Code.WINDOWS { import flash.events.*; import flash.display.*; import Code.LIB.*; import flash.net.*; import Code.OPTIONS.*; import Code.LIB.SOUND.*; import Code.*; import Code.LIB.SPILL.*; public class _mj506 extends _lx460 { public var iProfile:_uu487; public var iOptions:_uu487; public var iMore:_uu487; public var iDetails:_uu487; public var iStart:_uu487; public function _mj506(){ var _local1:Array; var _local2:Sprite; var _local3:MovieClip; var _local4:_pg495; var _local5:MovieClip; _local1 = [[_fy512._ec37, (new _hd443.GMainMenu() as Sprite), 1, true, 0, 0, null, true], [_fy512._xf374, ((_hd443.iLanguage.strWelcome + " ") + _wv348._kv98), _hd443.cYellow, 25, 800, _in438.SmallText, 0, 540, null, true], [_fy512._au295, _hd443.iLanguage.strPlay, _hd443.cAqua, 0x0101, 50, 23, _hd443.cWhite, 270, 476, "iStart", true], [_fy512._au295, _hd443.iLanguage.strInstructions, _hd443.cGreen, 400, 50, 23, _hd443.cWhite, 200, 125, "iDetails", true], [_fy512._au295, _hd443.iLanguage.strOptions, _hd443.cPink, 400, 50, 23, _hd443.cWhite, 200, 205, "iOptions", true], [_fy512._au295, _hd443.iLanguage.strProfile, _hd443.cOrange, 400, 60, 23, _hd443.cWhite, 200, 280, "iProfile", true], [_fy512._au295, "", _hd443.cOrange, 220, 60, 25, _hd443.cWhite, 280, 340, "iMore", true]]; super(_local1); _pc215._ee318("bg", true); _local2 = (new _hd443.TBibaLogo() as Sprite); _local2.scaleX = (_local2.scaleY = (_kj370._wr432 * 0.3)); _local2.x = (15 * _kj370._wr432); _local2.y = (15 * _kj370._wr432); addChild(_local2); _local3 = (new _hd443._rd413() as MovieClip); _local3.gotoAndStop(language._pj214); _local4 = _lx317._ec37(_local3); _local4._uc285 = ((800 - (_local4.width / _kj370._wr432)) / 2); _local4._kc408 = 370; addChildAt(_local4, (numChildren - 2)); _local5 = (new _hd443.MoreGamesText() as MovieClip); _local5.gotoAndStop(language._kh245); _local4 = _lx317._ec37(_local5, 1.2); _local4._uc285 = ((800 - (_local4.width / _kj370._wr432)) / 2); _local4._kc408 = 350; addChildAt(_local4, (numChildren - 2)); } public function _sl460():void{ } override public function _or337():void{ super._or337(); } override public function onEnterFrame(_arg1:Event):void{ super.onEnterFrame(_arg1); } override public function _nm519(_arg1:MouseEvent):void{ var _local2:URLRequest; if (_arg1.target == iStart._yo374){ if (_wv348._eq272 == 0){ (parent as _le447).menuItem = _hd443.miHowToPlay; } else { (parent as _le447).menuItem = _hd443.miGame; }; this.hide(); }; if (_arg1.target == iOptions._yo374){ (parent as _le447).menuItem = _hd443.miOptions; this.hide(); }; if (_arg1.target == this.iDetails._yo374){ (parent as _le447).menuItem = _hd443.miInstructions; this.hide(); }; if (_arg1.target == this.iProfile._yo374){ (parent as _le447).menuItem = _hd443.miChoosePlayer; this.hide(); }; if (_arg1.target == iMore._yo374){ if (int(language._kh245) == 2){ _local2 = new URLRequest(language._pv229); } else { _local2 = new URLRequest((language._pv229 + "&utm_term=button_mainscreen_moregames")); }; navigateToURL(_local2, "_blank"); }; } } }//package Code.WINDOWS
Section 174
//_mt70 (Code.WINDOWS._mt70) package Code.WINDOWS { import flash.events.*; import Code.LIB.*; import Code.OPTIONS.*; import Code.WINDOWS.DIALOGS.*; import Code.*; public class _mt70 extends _lx460 { private var iPlayers:Array; private var iLabel:_pj303; public var iEnterName:_bk53; public var iOk:_uu487; public var iCancel:_uu487; public var iDelete:_uu487; public var iNew:_uu487; public var iBLeft:_uu487; private var iInd:int; public var iBRight:_uu487; public static const stNormal:int = 0; public static const stEnterName:int = 1; public function _mt70(){ var _local1:String; var _local2:Array; _local1 = _hd443.iLanguage.strOk; _local2 = [[_fy512._jk50, _hd443.iLanguage.strChangePlayer, _hd443.cGreen, 30, _in438.SmallText, 70, 40, null, true], [_fy512._au295, _hd443.iLanguage.strOk, _hd443.cGellGreen, 170, 60, 25, _hd443.cWhite, 35, 300, "iOk", true], [_fy512._au295, _hd443.iLanguage.strCancel, _hd443.cGellRed, 170, 60, 25, _hd443.cWhite, 300, 300, "iCancel", true], [_fy512._sv257, _hd443.cGellAqua, 660, 170, false, 0.7, 20, 110, null, true], [_fy512._au295, _hd443.iLanguage.strNew, _hd443.cGellGreen, 170, 60, 25, _hd443.cWhite, 480, 120, "iNew", true], [_fy512._au295, _hd443.iLanguage.strDelete, _hd443.cGellRed, 170, 60, 25, _hd443.cWhite, 480, 200, "iDelete", true], [_fy512._md187, 40, 40, "<", _hd443.cOrange, 40, 50, 210, "iBLeft", true], [_fy512._md187, 40, 40, ">", _hd443.cOrange, 40, 200, 210, "iBRight", true]]; super(_local2); this.iPlayers = _ma277._va297; _mb273(); } private function set Label(_arg1:Array):void{ var _local2:String; _local2 = new String(); _local2 = (((_hd443.iLanguage.strPlayerName + ": ") + String(_arg1[0])) + "\n"); _local2 = (_local2 + (((_hd443.iLanguage.strLevel + ": ") + int((_arg1[1]._eq272 + 1)).toString()) + "\n")); this.iLabel.Text = _local2; } override public function onEnterFrame(_arg1:Event):void{ super.onEnterFrame(_arg1); switch (this.state){ case stNormal: break; case stEnterName: if (this.iEnterName._aj31 == false){ if (((!(this.iEnterName._ao248)) && (!(_ma277._vi147)))){ this.iEnterName.show(); return; }; this.removeChild(this.iEnterName); if (this.iEnterName._ao248){ _ma277._ir276(this.iEnterName._ao248); this.iPlayers = _ma277._va297; this.iInd = _ma277.iPlayerPos; this.Label = _ma277._vi147; }; this.iEnterName._or337(); this.iEnterName = null; this.State = stNormal; }; break; }; } public function _mb273():void{ this.iLabel = new _pj303(30, _hd443.cAquaLight, _in438.SmallText); this.addChildAt(iLabel, 6); this.iLabel._uc285 = 40; this.iLabel._kc408 = 120; this.Label = _ma277._vi147; this.iInd = _ma277.iPlayerPos; this.State = stNormal; this._dx37(50, 10); } public function set State(_arg1:int):void{ this.state = _arg1; switch (this.state){ case stNormal: break; case stEnterName: this.iEnterName = new _bk53(); this.addChild(this.iEnterName); break; }; } override public function _nm519(_arg1:MouseEvent):void{ if (this.iEnterName){ return; }; if (_arg1.target == this.iNew._yo374){ this.State = stEnterName; }; if (_arg1.target == this.iBLeft._yo374){ if (this.iInd == 0){ return; }; this.iInd--; this.Label = this.iPlayers[this.iInd]; }; if (_arg1.target == this.iBRight._yo374){ if (this.iInd >= (this.iPlayers.length - 1)){ return; }; this.iInd++; this.Label = this.iPlayers[this.iInd]; }; if (_arg1.target == this.iDelete._yo374){ _ma277._bt125(this.iPlayers[this.iInd][0]); if (!_ma277._vi147){ this.State = stEnterName; this.iLabel.Text = " "; return; }; this.Label = _ma277._vi147; this.iInd = _ma277.iPlayerPos; }; if (_arg1.target == this.iOk._yo374){ _ma277._rv116(this.iPlayers[this.iInd][0]); this.hide(); }; if (_arg1.target == this.iCancel._yo374){ this.hide(); }; } } }//package Code.WINDOWS
Section 175
//_mu289 (Code.WINDOWS._mu289) package Code.WINDOWS { import flash.events.*; import flash.display.*; import Code.LIB.*; import Code.OPTIONS.*; import Code.*; public class _mu289 extends _lx460 { public var iOk:_uu487; private var iMovic:MovieClip; public var instructionsMovic:Sprite; private var iState:int;// = 0 private var iInd:int;// = 0 public function _mu289(){ var _local1:Array; iInd = 0; iState = 0; _local1 = [[_fy512._au295, _hd443.iLanguage.strOk, _hd443.cGellAqua, 150, 40, 20, _hd443.cWhite, 565, 535, "iOk", true]]; super(_local1); instructionsMovic = (new _hd443.TInstructions() as Sprite); instructionsMovic.scaleX = (instructionsMovic.scaleY = _kj370._wr432); addChildAt(instructionsMovic, 0); } override public function _or337():void{ super._or337(); } override public function onEnterFrame(_arg1:Event):void{ super.onEnterFrame(_arg1); switch (iState){ }; } override public function _nm519(_arg1:MouseEvent):void{ super._nm519(_arg1); if (_arg1.target == this.iOk._yo374){ this.hide(); }; } } }//package Code.WINDOWS
Section 176
//_am323 (Code._am323) package Code { import flash.events.*; import flash.display.*; import Code.LIB.*; import Code.LIB.SPILL.*; import flash.utils.*; public dynamic class _am323 extends MovieClip { private var label:_pj303; private var iTimer:int; private var iInited:Boolean;// = false private var iSp:_bd509; public function _am323(){ iInited = false; super(); stop(); addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function _nm519(_arg1:MouseEvent):void{ } private function init():void{ var _local1:Class; var _local2:Object; this.x = 0; this.y = 0; removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_MOVE, _se498); removeEventListener(MouseEvent.CLICK, _nm519); _kj370.prStage.removeEventListener(Event.RESIZE, onResize); nextFrame(); _local1 = Class(getDefinitionByName("_ib85")); if (_local1){ while (this.numChildren != 0) { this.removeChildAt(0); }; _local2 = new (_local1); addChild(DisplayObject(_local2)); }; } public function onResize(_arg1:Event):void{ if (!iInited){ return; }; _kj370._se144(); this.x = ((_kj370.prStage.stageWidth - (800 * _kj370._wr432)) / 2); this.y = ((_kj370.prStage.stageHeight - (600 * _kj370._wr432)) / 2); _kj370._mv195(this.x, this.y); } public function onEnterFrame(_arg1:Event):void{ var _local2:Number; if (((!(iInited)) && (((stage) || (root))))){ iInited = true; _mb273(); } else { iTimer++; if (framesLoaded >= totalFrames){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_MOVE, _se498); removeEventListener(MouseEvent.CLICK, _nm519); nextFrame(); init(); _kj370.prStage.removeEventListener(Event.RESIZE, onResize); nextFrame(); this.x = 0; this.y = 0; } else { _local2 = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal); label.Text = ("loading... " + int((_local2 * 100)).toString()); }; }; } public function _se498(_arg1:MouseEvent):void{ } private function _mb273():void{ var _local1:Number; _kj370._id441 = this.loaderInfo.url; _kj370.prStage = root.stage; _kj370.prStage.scaleMode = StageScaleMode.NO_SCALE; _kj370.prStage.align = StageAlign.TOP_LEFT; _kj370.prStage.showDefaultContextMenu = false; _kj370._se144(); iTimer = 0; _local1 = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal); _kj370.prStage.addEventListener(Event.RESIZE, onResize); addEventListener(MouseEvent.CLICK, _nm519); addEventListener(MouseEvent.MOUSE_MOVE, _se498); label = new _pj303(70, 0xFFFFFF, _in438.BigText, false); label._dx37(180, 200); addChild(label); this.onResize(new Event("onresize")); language._ea297 = 1; } } }//package Code
Section 177
//_fy512 (Code._fy512) package Code { import flash.display.*; import flash.geom.*; import Code.LIB.*; import Code.LIB.COMPONENTS.*; import flash.text.*; import Code.OPTIONS.*; public class _fy512 { public static function _ec37(_arg1:Array):_pg495{ var _local2:_pg495; _local2 = _lx317._ec37(_arg1[1], _arg1[2]); if (_arg1[3] == true){ _local2.smoothing = true; }; return (_local2); } public static function _yi398(_arg1:Array):_vc290{ var _local2:_vc290; _local2 = new _vc290(_arg1[2], _arg1[3], _arg1[1]); return (_local2); } public static function _ap366(_arg1:Array):_pg495{ var _local2:String; var _local3:Sprite; var _local4:Sprite; var _local5:TextField; var _local6:TextField; var _local7:int; var _local8:uint; var _local9:_pg495; var _local10:String; var _local11:TextFormat; var _local12:Rectangle; var _local13:Sprite; var _local14:_pg495; _local2 = String(_arg1[1]).slice(0); _local3 = new Sprite(); _local4 = (new _wp58.OFont() as Sprite); _local5 = TextField(_local4.getChildAt(0)); _local4 = (new _wp58.OFont() as Sprite); _local6 = TextField(_local4.getChildAt(0)); _local5.autoSize = TextFieldAutoSize.LEFT; _local5.antiAliasType = AntiAliasType.ADVANCED; _local6.text = _local2; _local6.autoSize = TextFieldAutoSize.LEFT; _local6.antiAliasType = AntiAliasType.ADVANCED; _local7 = 0; _local8 = 0; while (_local8 < _local2.length) { _local10 = _local2.charAt(_local8); _local11 = new TextFormat(); _local11.size = (_arg1[3] * _kj370._wr432); _local11.bold = true; _local11.color = _arg1[2][_local7]; _local7 = (((_local7 + 1))>=_arg1[2].length) ? 0 : (_local7 + 1); _local5.text = _local10; _local5.setTextFormat(_local11); _local6.setTextFormat(_local11); _local12 = _local6.getCharBoundaries(_local8); _local5.x = 0; _local5.y = 0; _local13 = new Sprite(); _local13.addChild(_local5); _in438._es273(_local13, _arg1[5]); _local14 = _lx317._cy60(_local13); _local14._uc285 = (_local12.x / _kj370._wr432); _local14._kc408 = (_local12.y / _kj370._wr432); _local3.addChild(_local14); _local8++; }; _local9 = _lx317._cy60(_local3); _local9._uc285 = ((_arg1[4] - _local9._lv226) / 2); return (_local9); } public static function _jy230(_arg1:Array):_pg495{ var _local2:int; var _local3:Number; var _local4:Number; var _local5:Sprite; var _local6:_pg495; var _local7:_pg495; var _local8:Sprite; var _local9:Number; var _local10:_pg495; var _local11:_pg495; var _local12:Sprite; var _local13:_pg495; _local2 = _arg1[1]; _local3 = _arg1[2]; _local4 = _arg1[3]; _local5 = new Sprite(); if (_arg1[4]){ _local5.graphics.beginFill(_local2, 1); }; _local5.graphics.drawRect(0, 0, _local3, _local4); _local5.graphics.endFill(); _local6 = _lx317._ec37(_local5, 1); _local7 = _in438._na97(_local6, _local2, (_arg1[5] * _kj370._wr432), true); _local8 = new Sprite(); if ((((_local4 < 100)) || ((_local3 < 100)))){ _local9 = 4; } else { _local9 = 7; }; _local8.graphics.lineStyle(_local9, _local2, 1); _local8.graphics.drawRect(0, 0, _local3, _local4); _local10 = _lx317._ec37(_local8, 1); _local11 = _in438._na97(_local10, _local2, 0.5, false); _local12 = new Sprite(); _local12.addChild(_local7); _local12.addChild(_local11); _local13 = _lx317._cy60(_local12); _local13._uc285 = 0; _local13._kc408 = 0; return (_local13); } public static function _jv466(_arg1:Array):_nx427{ var _local2:_nx427; _local2 = new _nx427(_arg1[3], _arg1[2], _arg1[1], _arg1[4]); return (_local2); } public static function _au295(_arg1:Array):_uu487{ var _local2:Number; var _local3:Number; var _local4:int; var _local5:String; var _local6:int; var _local7:int; var _local8:_pj303; var _local9:_uu487; _local2 = _arg1[3]; _local3 = _arg1[4]; _local4 = _arg1[2]; _local5 = _arg1[1]; _local6 = (_arg1[5] * 1.5); _local7 = _arg1[6]; _local8 = new _pj303(_local6, _local7, _in438.Bevel); _local8.Text = _arg1[1]; _local9 = new _uu487(null, _local8, false, _local2, _local3); return (_local9); } public static function _yy361(_arg1:Array):_pg495{ var _local2:_pg495; var _local3:_pg495; _local2 = _lx317._ec37(_arg1[1], _arg1[3]); _local3 = _in438._na97(_local2, _arg1[2], _arg1[2], false); return (_local3); } public static function _xf374(_arg1:Array):_pg495{ var _local2:String; var _local3:Sprite; var _local4:Sprite; var _local5:TextField; var _local6:TextField; var _local7:TextFormat; var _local8:_pg495; _local2 = String(_arg1[1]).slice(0); _local3 = new Sprite(); _local4 = (new _wp58.OFont() as Sprite); _local5 = TextField(_local4.getChildAt(0)); _local4 = (new _wp58.OFont() as Sprite); _local6 = TextField(_local4.getChildAt(0)); _local5.autoSize = TextFieldAutoSize.LEFT; _local5.antiAliasType = AntiAliasType.ADVANCED; _local6.text = _local2; _local6.autoSize = TextFieldAutoSize.LEFT; _local6.antiAliasType = AntiAliasType.ADVANCED; _local7 = new TextFormat(); _local7.size = _arg1[3]; _local7.bold = true; _local7.color = _arg1[2]; _local5.text = _local2; _local5.setTextFormat(_local7); _in438._es273(_local5, _arg1[5]); _local8 = _lx317._ec37(_local5); _local8._uc285 = ((_arg1[4] - _local8._lv226) / 2); return (_local8); } public static function _sv257(_arg1:Array):_pg495{ var _local2:int; var _local3:Number; var _local4:Number; var _local5:Sprite; var _local6:_pg495; var _local7:_pg495; var _local8:Sprite; var _local9:Number; var _local10:_pg495; var _local11:_pg495; var _local12:Sprite; var _local13:_pg495; _local2 = _arg1[1]; _local3 = _arg1[2]; _local4 = _arg1[3]; _local5 = new Sprite(); if (_arg1[4]){ _local5.graphics.beginFill(_local2, 0.85); }; _local5.graphics.drawRoundRect(0, 0, _local3, _local4, 20, 20); _local5.graphics.endFill(); _local6 = _lx317._ec37(_local5, 1); _local7 = _local6; _local8 = new Sprite(); if ((((_local4 < 100)) || ((_local3 < 100)))){ _local9 = 4; } else { _local9 = 7; }; _local8.graphics.lineStyle(_local9, _local2, 1); _local8.graphics.drawRoundRect(0, 0, _local3, _local4, 20, 20); _local10 = _lx317._ec37(_local8, 1); _local11 = _in438._na97(_local10, _local2, 0.5, false); _local12 = new Sprite(); _local12.addChild(_local7); _local12.addChild(_local11); _local13 = _lx317._cy60(_local12); return (_local13); } public static function _ps422(_arg1:Array):_uu487{ var _local2:_uu487; _local2 = new _uu487(null, null, false, _arg1[1], _arg1[2]); return (_local2); } public static function _kd96(_arg1:Array):_pg495{ var _local2:int; var _local3:Number; var _local4:Number; var _local5:Sprite; var _local6:Array; var _local7:_pg495; _local2 = _arg1[1]; _local3 = _arg1[2]; _local4 = _arg1[3]; _local5 = Sprite((new (_arg1[6]) as Sprite).getChildAt(0)); _local6 = _local5.filters; _local6[0].colors = [0xFFFFFF, _local2]; _local5.filters = _local6; _local7 = _lx317._ex80(_local5, (_local3 / 400), (_local4 / 400), 0.8); _local7._uc285 = 0; _local7._kc408; return (_local7); } public static function _vq21(_arg1:Array):_uu487{ var _local2:Number; var _local3:Number; var _local4:int; var _local5:String; var _local6:int; var _local7:int; var _local8:Sprite; var _local9:_pg495; var _local10:_pj303; var _local11:_uu487; _local2 = _arg1[3]; _local3 = _arg1[4]; _local4 = _arg1[2]; _local5 = _arg1[1]; _local6 = (_arg1[5] * 1.5); _local7 = _arg1[6]; _local8 = Sprite((new _hd443.TButtonMount() as Sprite)); _local8.alpha = 0.85; _local9 = _lx317._ex80(_local8, (_local2 / 200), (_local3 / 100), 0.8); _local10 = new _pj303(_local6, _local7, _in438.SmallText); _local10.Text = _arg1[1]; _local11 = new _uu487(_local9, _local10, false, _local2, _local3); return (_local11); } public static function _wp321(_arg1:Array):_pg495{ var _local2:String; var _local3:Sprite; var _local4:Sprite; var _local5:TextField; var _local6:TextField; var _local7:int; var _local8:uint; var _local9:_pg495; var _local10:String; var _local11:TextFormat; var _local12:Rectangle; var _local13:Sprite; var _local14:_pg495; _local2 = String(_arg1[1]).slice(0); _local3 = new Sprite(); _local4 = (new _wp58.OFont() as Sprite); _local5 = TextField(_local4.getChildAt(0)); _local4 = (new _wp58.OFont() as Sprite); _local6 = TextField(_local4.getChildAt(0)); _local5.autoSize = TextFieldAutoSize.LEFT; _local5.antiAliasType = AntiAliasType.ADVANCED; _local6.text = _local2; _local6.autoSize = TextFieldAutoSize.LEFT; _local6.antiAliasType = AntiAliasType.ADVANCED; _local7 = 0; _local8 = 0; while (_local8 < _local2.length) { _local10 = _local2.charAt(_local8); _local11 = new TextFormat(); _local11.size = (_arg1[3] * _kj370._wr432); _local11.bold = true; _local11.color = _arg1[2][_local7]; _local7 = (((_local7 + 1))>=_arg1[2].length) ? 0 : (_local7 + 1); _local5.text = _local10; _local5.setTextFormat(_local11); _local6.setTextFormat(_local11); _local12 = _local6.getCharBoundaries(_local8); _local5.x = 0; _local5.y = 0; _local13 = new Sprite(); _local13.addChild(_local5); _in438._es273(_local13, _arg1[4]); _local14 = _lx317._cy60(_local13); _local14._uc285 = (_local12.x / _kj370._wr432); _local14._kc408 = (_local12.y / _kj370._wr432); _local3.addChild(_local14); _local8++; }; _local9 = _lx317._cy60(_local3); return (_local9); } public static function _jk50(_arg1:Array):_pj303{ var _local2:_pj303; _local2 = new _pj303(_arg1[3], _arg1[2], _arg1[4], true); _local2.Text = _arg1[1]; return (_local2); } public static function _md187(_arg1:Array):_uu487{ var _local2:_pj303; var _local3:_uu487; _local2 = new _pj303(_arg1[5], _arg1[4], _in438.SmallText); _local2.Text = _arg1[3]; _local3 = new _uu487(null, _local2, false, _arg1[1], _arg1[2]); return (_local3); } } }//package Code
Section 178
//IAutomationObject (mx.automation.IAutomationObject) package mx.automation { import flash.events.*; public interface IAutomationObject { function createAutomationIDPart(_arg1:IAutomationObject):Object; function get automationName():String; function get automationDelegate():Object; function set automationName(_arg1:String):void; function getAutomationChildAt(_arg1:int):IAutomationObject; function get showInAutomationHierarchy():Boolean; function get automationTabularData():Object; function resolveAutomationIDPart(_arg1:Object):Array; function replayAutomatableEvent(_arg1:Event):Boolean; function set automationDelegate(_arg1:Object):void; function get automationValue():Array; function get numAutomationChildren():int; function set showInAutomationHierarchy(_arg1:Boolean):void; } }//package mx.automation
Section 179
//Binding (mx.binding.Binding) package mx.binding { import mx.collections.errors.*; public class Binding { mx_internal var destFunc:Function; mx_internal var srcFunc:Function; mx_internal var destString:String; mx_internal var document:Object; private var hasHadValue:Boolean; mx_internal var isExecuting:Boolean; mx_internal var isHandlingEvent:Boolean; public var twoWayCounterpart:Binding; private var wrappedFunctionSuccessful:Boolean; public var uiComponentWatcher:int; private var lastValue:Object; mx_internal static const VERSION:String = "2.0.1.0"; public function Binding(_arg1:Object, _arg2:Function, _arg3:Function, _arg4:String){ this.document = _arg1; this.srcFunc = _arg2; this.destFunc = _arg3; this.destString = _arg4; isExecuting = false; isHandlingEvent = false; hasHadValue = false; uiComponentWatcher = -1; BindingManager.addBinding(_arg1, _arg4, this); } public function watcherFired(_arg1:Boolean, _arg2:int):void{ var commitEvent = _arg1; var cloneIndex = _arg2; if (isHandlingEvent){ return; }; try { isHandlingEvent = true; execute(cloneIndex); } finally { isHandlingEvent = false; }; } protected function wrapFunctionCall(_arg1:Object, _arg2:Function, _arg3:Object=null, ... _args):Object{ var result:Object; var thisArg = _arg1; var wrappedFunction = _arg2; var object = _arg3; var args = _args; wrappedFunctionSuccessful = false; try { result = wrappedFunction.apply(thisArg, args); wrappedFunctionSuccessful = true; return (result); } catch(itemPendingError:ItemPendingError) { itemPendingError.addResponder(new EvalBindingResponder(this, object)); if (BindingManager.debugDestinationStrings[destString]){ trace(((("Binding: destString = " + destString) + ", error = ") + itemPendingError)); }; } catch(rangeError:RangeError) { if (BindingManager.debugDestinationStrings[destString]){ trace(((("Binding: destString = " + destString) + ", error = ") + rangeError)); }; } catch(error:Error) { if (((((((((!((error.errorID == 1006))) && (!((error.errorID == 1009))))) && (!((error.errorID == 1010))))) && (!((error.errorID == 1055))))) && (!((error.errorID == 1069))))){ throw (error); } else { if (BindingManager.debugDestinationStrings[destString]){ trace(((("Binding: destString = " + destString) + ", error = ") + error)); }; }; }; return (null); } public function execute(_arg1:Object=null):void{ var o = _arg1; if (((isExecuting) || (((twoWayCounterpart) && (twoWayCounterpart.isExecuting))))){ hasHadValue = true; return; }; try { isExecuting = true; wrapFunctionCall(this, innerExecute, o); } finally { isExecuting = false; }; } private function nodeSeqEqual(_arg1:XMLList, _arg2:XMLList):Boolean{ var _local3:uint; var _local4:uint; _local3 = _arg1.length(); if (_local3 == _arg2.length()){ _local4 = 0; while ((((_local4 < _local3)) && ((_arg1[_local4] === _arg2[_local4])))) { _local4++; }; return ((_local4 == _local3)); //unresolved jump }; return (false); } private function innerExecute():void{ var _local1:Object; _local1 = wrapFunctionCall(document, srcFunc); if (BindingManager.debugDestinationStrings[destString]){ trace(((("Binding: destString = " + destString) + ", srcFunc result = ") + _local1)); }; if (((hasHadValue) || (wrappedFunctionSuccessful))){ if (((!((((((lastValue is XML)) && (lastValue.hasComplexContent()))) && ((lastValue === _local1))))) && (!((((((((lastValue is XMLList)) && (lastValue.hasComplexContent()))) && ((_local1 is XMLList)))) && (nodeSeqEqual((lastValue as XMLList), (_local1 as XMLList)))))))){ destFunc.call(document, _local1); lastValue = _local1; hasHadValue = true; }; }; } } }//package mx.binding
Section 180
//BindingManager (mx.binding.BindingManager) package mx.binding { public class BindingManager { mx_internal static const VERSION:String = "2.0.1.0"; static var debugDestinationStrings:Object = {}; public static function executeBindings(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:String; if (((!(_arg2)) || ((_arg2 == "")))){ return; }; if (((((((_arg1) && (_arg1._bindingsByDestination))) && (_arg1._bindingsBeginWithWord))) && (_arg1._bindingsBeginWithWord[getFirstWord(_arg2)]))){ for (_local4 in _arg1._bindingsByDestination) { if (_local4.charAt(0) == _arg2.charAt(0)){ if ((((((_local4.indexOf((_arg2 + ".")) == 0)) || ((_local4.indexOf((_arg2 + "[")) == 0)))) || ((_local4 == _arg2)))){ _arg1._bindingsByDestination[_local4].execute(_arg3); }; }; }; }; } public static function addBinding(_arg1:Object, _arg2:String, _arg3:Binding):void{ if (!_arg1._bindingsByDestination){ _arg1._bindingsByDestination = {}; _arg1._bindingsBeginWithWord = {}; }; _arg1._bindingsByDestination[_arg2] = _arg3; _arg1._bindingsBeginWithWord[getFirstWord(_arg2)] = true; } public static function debugBinding(_arg1:String):void{ debugDestinationStrings[_arg1] = true; } private static function getFirstWord(_arg1:String):String{ var _local2:int; var _local3:int; var _local4:int; _local2 = _arg1.indexOf("."); _local3 = _arg1.indexOf("["); if (_local2 == _local3){ return (_arg1); }; _local4 = Math.min(_local2, _local3); if (_local4 == -1){ _local4 = Math.max(_local2, _local3); }; return (_arg1.substr(0, _local4)); } public static function getUIComponentWatcherForDestination(_arg1:Object, _arg2:String):int{ var _local3:String; if (_arg1._bindingsByDestination){ for (_local3 in _arg1._bindingsByDestination) { if ((((_local3 == _arg2)) && (!((_arg1._bindingsByDestination[_local3].uiComponentWatcher == -1))))){ return (_arg1._bindingsByDestination[_local3].uiComponentWatcher); }; }; }; return (-1); } } }//package mx.binding
Section 181
//EvalBindingResponder (mx.binding.EvalBindingResponder) package mx.binding { import mx.rpc.*; public class EvalBindingResponder implements IResponder { private var binding:Binding; private var object:Object; mx_internal static const VERSION:String = "2.0.1.0"; public function EvalBindingResponder(_arg1:Binding, _arg2:Object){ this.binding = _arg1; this.object = _arg2; } public function fault(_arg1:Object):void{ } public function result(_arg1:Object):void{ binding.execute(object); } } }//package mx.binding
Section 182
//ItemPendingError (mx.collections.errors.ItemPendingError) package mx.collections.errors { import mx.rpc.*; public class ItemPendingError extends Error { private var _responders:Array; mx_internal static const VERSION:String = "2.0.1.0"; public function ItemPendingError(_arg1:String){ super(_arg1); } public function addResponder(_arg1:IResponder):void{ if (!_responders){ _responders = []; }; _responders.push(_arg1); } public function get responders():Array{ return (_responders); } } }//package mx.collections.errors
Section 183
//ApplicationLayout (mx.containers.utilityClasses.ApplicationLayout) package mx.containers.utilityClasses { import mx.core.*; public class ApplicationLayout extends BoxLayout { mx_internal static const VERSION:String = "2.0.1.0"; override public function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:Container; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:int; var _local9:int; var _local10:IFlexDisplayObject; super.updateDisplayList(_arg1, _arg2); _local3 = super.target; if (((((_local3.horizontalScrollBar) && ((getHorizontalAlignValue() > 0)))) || (((_local3.verticalScrollBar) && ((getVerticalAlignValue() > 0)))))){ _local4 = _local3.getStyle("paddingLeft"); _local5 = _local3.getStyle("paddingTop"); _local6 = 0; _local7 = 0; _local8 = _local3.numChildren; _local9 = 0; while (_local9 < _local8) { _local10 = IFlexDisplayObject(_local3.getChildAt(_local9)); if (_local10.x < _local4){ _local6 = Math.max(_local6, (_local4 - _local10.x)); }; if (_local10.y < _local5){ _local7 = Math.max(_local7, (_local5 - _local10.y)); }; _local9++; }; if (((!((_local6 == 0))) || (!((_local7 == 0))))){ _local9 = 0; while (_local9 < _local8) { _local10 = IFlexDisplayObject(_local3.getChildAt(_local9)); IFlexDisplayObject(_local3.getChildAt(_local9)).move((_local10.x + _local6), (_local10.y + _local7)); _local9++; }; }; }; } } }//package mx.containers.utilityClasses
Section 184
//BoxLayout (mx.containers.utilityClasses.BoxLayout) package mx.containers.utilityClasses { import mx.core.*; import mx.controls.scrollClasses.*; import mx.containers.*; public class BoxLayout extends Layout { public var direction:String;// = "vertical" mx_internal static const VERSION:String = "2.0.1.0"; public function BoxLayout(){ direction = BoxDirection.VERTICAL; super(); } private function isVertical():Boolean{ return (!((direction == BoxDirection.HORIZONTAL))); } override public function measure():void{ var _local1:Container; var _local2:Boolean; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:int; var _local8:int; var _local9:int; var _local10:Number; var _local11:Number; var _local12:IUIComponent; var _local13:Number; var _local14:Number; _local1 = super.target; _local2 = isVertical(); _local3 = 0; _local4 = 0; _local5 = 0; _local6 = 0; _local7 = _local1.numChildren; _local8 = _local7; _local9 = 0; while (_local9 < _local7) { _local12 = IUIComponent(_local1.getChildAt(_local9)); if (!_local12.includeInLayout){ _local8--; } else { _local13 = _local12.getExplicitOrMeasuredWidth(); _local14 = _local12.getExplicitOrMeasuredHeight(); if (_local2){ _local3 = Math.max((isNaN(_local12.percentWidth)) ? _local13 : _local12.minWidth, _local3); _local5 = Math.max(_local13, _local5); _local4 = (_local4 + (isNaN(_local12.percentHeight)) ? _local14 : _local12.minHeight); _local6 = (_local6 + _local14); } else { _local3 = (_local3 + (isNaN(_local12.percentWidth)) ? _local13 : _local12.minWidth); _local5 = (_local5 + _local13); _local4 = Math.max((isNaN(_local12.percentHeight)) ? _local14 : _local12.minHeight, _local4); _local6 = Math.max(_local14, _local6); }; }; _local9++; }; _local10 = widthPadding(_local8); _local11 = heightPadding(_local8); _local1.measuredMinWidth = (_local3 + _local10); _local1.measuredMinHeight = (_local4 + _local11); _local1.measuredWidth = (_local5 + _local10); _local1.measuredHeight = (_local6 + _local11); } mx_internal function getHorizontalAlignValue():Number{ var _local1:String; _local1 = target.getStyle("horizontalAlign"); if (_local1 == "center"){ return (0.5); }; if (_local1 == "right"){ return (1); }; return (0); } mx_internal function heightPadding(_arg1:Number):Number{ var _local2:EdgeMetrics; var _local3:Number; _local2 = target.viewMetricsAndPadding; _local3 = (_local2.top + _local2.bottom); if ((((_arg1 > 1)) && (isVertical()))){ _local3 = (_local3 + (target.getStyle("verticalGap") * (_arg1 - 1))); }; return (_local3); } mx_internal function widthPadding(_arg1:Number):Number{ var _local2:EdgeMetrics; var _local3:Number; _local2 = target.viewMetricsAndPadding; _local3 = (_local2.left + _local2.right); if ((((_arg1 > 1)) && ((isVertical() == false)))){ _local3 = (_local3 + (target.getStyle("horizontalGap") * (_arg1 - 1))); }; return (_local3); } override public function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:Container; var _local4:int; var _local5:EdgeMetrics; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:ScrollBar; var _local15:ScrollBar; var _local16:Number; var _local17:int; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:int; var _local22:IUIComponent; var _local23:IUIComponent; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; _local3 = super.target; _local4 = _local3.numChildren; if (_local4 == 0){ return; }; _local5 = _local3.viewMetricsAndPadding; _local6 = _local3.getStyle("paddingLeft"); _local7 = _local3.getStyle("paddingTop"); _local8 = getHorizontalAlignValue(); _local9 = getVerticalAlignValue(); _local10 = ((((_local3.scaleX > 0)) && (!((_local3.scaleX == 1))))) ? (_local3.minWidth / Math.abs(_local3.scaleX)) : _local3.minWidth; _local11 = ((((_local3.scaleY > 0)) && (!((_local3.scaleY == 1))))) ? (_local3.minHeight / Math.abs(_local3.scaleY)) : _local3.minHeight; _local12 = ((Math.max(_arg1, _local10) - _local5.right) - _local5.left); _local13 = ((Math.max(_arg2, _local11) - _local5.bottom) - _local5.top); _local14 = _local3.horizontalScrollBar; _local15 = _local3.verticalScrollBar; if (_local4 == 1){ _local23 = IUIComponent(_local3.getChildAt(0)); _local24 = _local23.percentWidth; _local25 = _local23.percentHeight; if (_local24){ _local26 = Math.max(_local23.minWidth, Math.min(_local23.maxWidth, ((_local24)>=100) ? _local12 : ((_local12 * _local24) / 100))); } else { _local26 = _local23.getExplicitOrMeasuredWidth(); }; if (_local25){ _local27 = Math.max(_local23.minHeight, Math.min(_local23.maxHeight, ((_local25)>=100) ? _local13 : ((_local13 * _local25) / 100))); } else { _local27 = _local23.getExplicitOrMeasuredHeight(); }; if ((((_local23.scaleX == 1)) && ((_local23.scaleY == 1)))){ _local23.setActualSize(Math.floor(_local26), Math.floor(_local27)); } else { _local23.setActualSize(_local26, _local27); }; if (((!((_local15 == null))) && ((_local3.verticalScrollPolicy == ScrollPolicy.AUTO)))){ _local12 = (_local12 + _local15.minWidth); }; if (((!((_local14 == null))) && ((_local3.horizontalScrollPolicy == ScrollPolicy.AUTO)))){ _local13 = (_local13 + _local14.minHeight); }; _local20 = (((_local12 - _local23.width) * _local8) + _local6); _local19 = (((_local13 - _local23.height) * _local9) + _local7); _local23.move(Math.floor(_local20), Math.floor(_local19)); } else { if (isVertical()){ _local16 = _local3.getStyle("verticalGap"); _local17 = _local4; _local21 = 0; while (_local21 < _local4) { if (!IUIComponent(_local3.getChildAt(_local21)).includeInLayout){ _local17--; }; _local21++; }; _local18 = Flex.flexChildHeightsProportionally(_local3, (_local13 - ((_local17 - 1) * _local16)), _local12); if (((!((_local14 == null))) && ((_local3.horizontalScrollPolicy == ScrollPolicy.AUTO)))){ _local18 = (_local18 + _local14.minHeight); }; if (((!((_local15 == null))) && ((_local3.verticalScrollPolicy == ScrollPolicy.AUTO)))){ _local12 = (_local12 + _local15.minWidth); }; _local19 = (_local7 + (_local18 * _local9)); _local21 = 0; while (_local21 < _local4) { _local22 = IUIComponent(_local3.getChildAt(_local21)); _local20 = (((_local12 - _local22.width) * _local8) + _local6); _local22.move(Math.floor(_local20), Math.floor(_local19)); if (_local22.includeInLayout){ _local19 = (_local19 + (_local22.height + _local16)); }; _local21++; }; } else { _local16 = _local3.getStyle("horizontalGap"); _local17 = _local4; _local21 = 0; while (_local21 < _local4) { if (!IUIComponent(_local3.getChildAt(_local21)).includeInLayout){ _local17--; }; _local21++; }; _local18 = Flex.flexChildWidthsProportionally(_local3, (_local12 - ((_local17 - 1) * _local16)), _local13); if (((!((_local14 == null))) && ((_local3.horizontalScrollPolicy == ScrollPolicy.AUTO)))){ _local13 = (_local13 + _local14.minHeight); }; if (((!((_local15 == null))) && ((_local3.verticalScrollPolicy == ScrollPolicy.AUTO)))){ _local18 = (_local18 + _local15.minWidth); }; _local20 = (_local6 + (_local18 * _local8)); _local21 = 0; while (_local21 < _local4) { _local22 = IUIComponent(_local3.getChildAt(_local21)); _local19 = (((_local13 - _local22.height) * _local9) + _local7); _local22.move(Math.floor(_local20), Math.floor(_local19)); if (_local22.includeInLayout){ _local20 = (_local20 + (_local22.width + _local16)); }; _local21++; }; }; }; } mx_internal function getVerticalAlignValue():Number{ var _local1:String; _local1 = target.getStyle("verticalAlign"); if (_local1 == "middle"){ return (0.5); }; if (_local1 == "bottom"){ return (1); }; return (0); } } }//package mx.containers.utilityClasses
Section 185
//CanvasLayout (mx.containers.utilityClasses.CanvasLayout) package mx.containers.utilityClasses { import mx.core.*; import mx.styles.*; import flash.display.*; import flash.geom.*; import mx.events.*; public class CanvasLayout extends Layout { private var _contentArea:Rectangle; mx_internal static const VERSION:String = "2.0.1.0"; private static var r:Rectangle = new Rectangle(); private function applyAnchorStylesDuringUpdateDisplayList(_arg1:Number, _arg2:Number, _arg3:IUIComponent):void{ var _local4:IStyleClient; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Boolean; var _local16:Boolean; _local4 = (_arg3 as IStyleClient); if (!_local4){ return; }; _local5 = _local4.getStyle("left"); _local6 = _local4.getStyle("right"); _local7 = _local4.getStyle("horizontalCenter"); _local8 = _local4.getStyle("top"); _local9 = _local4.getStyle("bottom"); _local10 = _local4.getStyle("verticalCenter"); _local15 = false; _local16 = false; if (((!(isNaN(_local5))) && (!(isNaN(_local6))))){ _local11 = ((_arg1 - _local5) - _local6); if (_local11 < _arg3.minWidth){ _local11 = _arg3.minWidth; }; } else { if (!isNaN(_arg3.percentWidth)){ _local11 = ((_arg3.percentWidth / 100) * _arg1); _local11 = bound(_local11, _arg3.minWidth, _arg3.maxWidth); _local15 = true; } else { _local11 = _arg3.getExplicitOrMeasuredWidth(); }; }; if (((!(isNaN(_local8))) && (!(isNaN(_local9))))){ _local12 = ((_arg2 - _local8) - _local9); if (_local12 < _arg3.minHeight){ _local12 = _arg3.minHeight; }; } else { if (!isNaN(_arg3.percentHeight)){ _local12 = ((_arg3.percentHeight / 100) * _arg2); _local12 = bound(_local12, _arg3.minHeight, _arg3.maxHeight); _local16 = true; } else { _local12 = _arg3.getExplicitOrMeasuredHeight(); }; }; if (!isNaN(_local7)){ _local13 = Math.round((((_arg1 - _local11) / 2) + _local7)); } else { if (!isNaN(_local5)){ _local13 = _local5; } else { if (!isNaN(_local6)){ _local13 = ((_arg1 - _local6) - _local11); }; }; }; if (!isNaN(_local10)){ _local14 = Math.round((((_arg2 - _local12) / 2) + _local10)); } else { if (!isNaN(_local8)){ _local14 = _local8; } else { if (!isNaN(_local9)){ _local14 = ((_arg2 - _local9) - _local12); }; }; }; _local13 = (isNaN(_local13)) ? _arg3.x : _local13; _local14 = (isNaN(_local14)) ? _arg3.y : _local14; _arg3.move(_local13, _local14); if (_local15){ if ((_local13 + _local11) > _arg1){ _local11 = Math.max((_arg1 - _local13), _arg3.minWidth); }; }; if (_local16){ if ((_local14 + _local12) > _arg2){ _local12 = Math.max((_arg2 - _local14), _arg3.minHeight); }; }; if (((!(isNaN(_local11))) && (!(isNaN(_local12))))){ _arg3.setActualSize(_local11, _local12); }; } override public function set target(_arg1:Container):void{ var _local2:Container; var _local3:int; var _local4:int; _local2 = super.target; if (_arg1 != _local2){ if (_local2){ _local2.removeEventListener(ChildExistenceChangedEvent.CHILD_ADD, target_childAddHandler); _local2.removeEventListener(ChildExistenceChangedEvent.CHILD_REMOVE, target_childRemoveHandler); _local4 = _local2.numChildren; _local3 = 0; while (_local3 < _local4) { DisplayObject(_local2.getChildAt(_local3)).removeEventListener(MoveEvent.MOVE, child_moveHandler); _local3++; }; }; if (_arg1){ _arg1.addEventListener(ChildExistenceChangedEvent.CHILD_ADD, target_childAddHandler); _arg1.addEventListener(ChildExistenceChangedEvent.CHILD_REMOVE, target_childRemoveHandler); _local4 = _arg1.numChildren; _local3 = 0; while (_local3 < _local4) { DisplayObject(_arg1.getChildAt(_local3)).addEventListener(MoveEvent.MOVE, child_moveHandler); _local3++; }; }; super.target = _arg1; }; } override public function measure():void{ var _local1:Container; var _local2:Number; var _local3:Number; var _local4:EdgeMetrics; var _local5:Rectangle; _local1 = super.target; _local2 = 0; _local3 = 0; _local4 = _local1.viewMetrics; _contentArea = null; _local5 = measureContentArea(); _local1.measuredWidth = ((_local5.width + _local4.left) + _local4.right); _local1.measuredHeight = ((_local5.height + _local4.top) + _local4.bottom); } private function target_childAddHandler(_arg1:ChildExistenceChangedEvent):void{ DisplayObject(_arg1.relatedObject).addEventListener(MoveEvent.MOVE, child_moveHandler); } private function measureContentArea():Rectangle{ var _local1:int; var _local2:int; var _local3:IUIComponent; var _local4:IStyleClient; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; if (_contentArea){ return (_contentArea); }; _contentArea = new Rectangle(); _local1 = target.numChildren; _local2 = 0; while (_local2 < _local1) { _local3 = (target.getChildAt(_local2) as IUIComponent); _local4 = (_local3 as IStyleClient); if (!_local3.includeInLayout){ } else { _local5 = _local3.x; _local6 = _local3.y; _local7 = _local3.getExplicitOrMeasuredWidth(); _local8 = _local3.getExplicitOrMeasuredHeight(); if (((!(isNaN(_local3.percentWidth))) || (((((_local4) && (!(isNaN(_local4.getStyle("left")))))) && (!(isNaN(_local4.getStyle("right")))))))){ _local7 = _local3.minWidth; }; if (((!(isNaN(_local3.percentHeight))) || (((((_local4) && (!(isNaN(_local4.getStyle("top")))))) && (!(isNaN(_local4.getStyle("bottom")))))))){ _local8 = _local3.minHeight; }; r.x = _local5; r.y = _local6; r.width = _local7; r.height = _local8; applyAnchorStylesDuringMeasure(_local3, r); _local5 = r.x; _local6 = r.y; _local7 = r.width; _local8 = r.height; if (isNaN(_local5)){ _local5 = _local3.x; }; if (isNaN(_local6)){ _local6 = _local3.y; }; _local9 = _local5; _local10 = _local6; if (isNaN(_local7)){ _local7 = _local3.width; }; if (isNaN(_local8)){ _local8 = _local3.height; }; _local9 = (_local9 + _local7); _local10 = (_local10 + _local8); _contentArea.right = Math.max(_contentArea.right, _local9); _contentArea.bottom = Math.max(_contentArea.bottom, _local10); }; _local2++; }; return (_contentArea); } private function child_moveHandler(_arg1:MoveEvent):void{ var _local2:Container; if ((_arg1.target is IUIComponent)){ if (!IUIComponent(_arg1.target).includeInLayout){ return; }; }; _local2 = super.target; if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); _contentArea = null; }; } override public function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:Container; var _local4:EdgeMetrics; var _local5:Number; var _local6:Number; var _local7:int; var _local8:int; var _local9:IUIComponent; _local3 = super.target; _local3.mx_internal::doingLayout = false; _local4 = _local3.viewMetrics; _local3.mx_internal::doingLayout = true; _local5 = ((_arg1 - _local4.left) - _local4.right); _local6 = ((_arg2 - _local4.top) - _local4.bottom); _local7 = _local3.numChildren; _local8 = 0; while (_local8 < _local7) { _local9 = (_local3.getChildAt(_local8) as IUIComponent); applyAnchorStylesDuringUpdateDisplayList(_local5, _local6, _local9); _local8++; }; } private function applyAnchorStylesDuringMeasure(_arg1:IUIComponent, _arg2:Rectangle):void{ var _local3:IStyleClient; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; _local3 = (_arg1 as IStyleClient); if (!_local3){ return; }; _local4 = _local3.getStyle("left"); _local5 = _local3.getStyle("right"); _local6 = _local3.getStyle("horizontalCenter"); if (!isNaN(_local6)){ _arg2.x = Math.round((((target.width - _arg1.width) / 2) + _local6)); } else { if (((!(isNaN(_local4))) && (!(isNaN(_local5))))){ _arg2.x = _local4; _arg2.width = (_arg2.width + _local5); } else { if (!isNaN(_local4)){ _arg2.x = _local4; } else { if (!isNaN(_local5)){ _arg2.x = 0; _arg2.width = (_arg2.width + _local5); }; }; }; }; _local7 = _local3.getStyle("top"); _local8 = _local3.getStyle("bottom"); _local9 = _local3.getStyle("verticalCenter"); if (!isNaN(_local9)){ _arg2.y = Math.round((((target.height - _arg1.height) / 2) + _local9)); } else { if (((!(isNaN(_local7))) && (!(isNaN(_local8))))){ _arg2.y = _local7; _arg2.height = (_arg2.height + _local8); } else { if (!isNaN(_local7)){ _arg2.y = _local7; } else { if (!isNaN(_local8)){ _arg2.y = 0; _arg2.height = (_arg2.height + _local8); }; }; }; }; } private function bound(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg1 < _arg2){ _arg1 = _arg2; } else { if (_arg1 > _arg3){ _arg1 = _arg3; } else { _arg1 = Math.floor(_arg1); }; }; return (_arg1); } private function target_childRemoveHandler(_arg1:ChildExistenceChangedEvent):void{ DisplayObject(_arg1.relatedObject).removeEventListener(MoveEvent.MOVE, child_moveHandler); } } }//package mx.containers.utilityClasses
Section 186
//Flex (mx.containers.utilityClasses.Flex) package mx.containers.utilityClasses { import mx.core.*; public class Flex { mx_internal static const VERSION:String = "2.0.1.0"; public static function flexChildWidthsProportionally(_arg1:Container, _arg2:Number, _arg3:Number):Number{ var _local4:Number; var _local5:Number; var _local6:Array; var _local7:FlexChildInfo; var _local8:IUIComponent; var _local9:int; var _local10:int; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local4 = _arg2; _local5 = 0; _local6 = []; _local10 = _arg1.numChildren; _local9 = 0; while (_local9 < _local10) { _local8 = IUIComponent(_arg1.getChildAt(_local9)); _local11 = _local8.percentWidth; _local12 = _local8.percentHeight; if (((!(isNaN(_local12))) && (_local8.includeInLayout))){ _local13 = Math.max(_local8.minHeight, Math.min(_local8.maxHeight, ((_local12)>=100) ? _arg3 : ((_arg3 * _local12) / 100))); } else { _local13 = _local8.getExplicitOrMeasuredHeight(); }; if (((!(isNaN(_local11))) && (_local8.includeInLayout))){ _local5 = (_local5 + _local11); _local7 = new FlexChildInfo(); _local7.percent = _local11; _local7.min = _local8.minWidth; _local7.max = _local8.maxWidth; _local7.height = _local13; _local7.child = _local8; _local6.push(_local7); } else { _local14 = _local8.getExplicitOrMeasuredWidth(); if ((((_local8.scaleX == 1)) && ((_local8.scaleY == 1)))){ _local8.setActualSize(Math.floor(_local14), Math.floor(_local13)); } else { _local8.setActualSize(_local14, _local13); }; if (_local8.includeInLayout){ _local4 = (_local4 - _local8.width); }; }; _local9++; }; if (_local5){ _local4 = flexChildrenProportionally(_arg2, _local4, _local5, _local6); _local10 = _local6.length; _local9 = 0; while (_local9 < _local10) { _local7 = _local6[_local9]; _local8 = _local7.child; if ((((_local8.scaleX == 1)) && ((_local8.scaleY == 1)))){ _local8.setActualSize(Math.floor(_local7.size), Math.floor(_local7.height)); } else { _local8.setActualSize(_local7.size, _local7.height); }; _local9++; }; }; return (_local4); } public static function flexChildHeightsProportionally(_arg1:Container, _arg2:Number, _arg3:Number):Number{ var _local4:Number; var _local5:Number; var _local6:Array; var _local7:FlexChildInfo; var _local8:IUIComponent; var _local9:int; var _local10:int; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local4 = _arg2; _local5 = 0; _local6 = []; _local10 = _arg1.numChildren; _local9 = 0; while (_local9 < _local10) { _local8 = IUIComponent(_arg1.getChildAt(_local9)); _local11 = _local8.percentWidth; _local12 = _local8.percentHeight; if (((!(isNaN(_local11))) && (_local8.includeInLayout))){ _local13 = Math.max(_local8.minWidth, Math.min(_local8.maxWidth, ((_local11)>=100) ? _arg3 : ((_arg3 * _local11) / 100))); } else { _local13 = _local8.getExplicitOrMeasuredWidth(); }; if (((!(isNaN(_local12))) && (_local8.includeInLayout))){ _local5 = (_local5 + _local12); _local7 = new FlexChildInfo(); _local7.percent = _local12; _local7.min = _local8.minHeight; _local7.max = _local8.maxHeight; _local7.width = _local13; _local7.child = _local8; _local6.push(_local7); } else { _local14 = _local8.getExplicitOrMeasuredHeight(); if ((((_local8.scaleX == 1)) && ((_local8.scaleY == 1)))){ _local8.setActualSize(Math.floor(_local13), Math.floor(_local14)); } else { _local8.setActualSize(_local13, _local14); }; if (_local8.includeInLayout){ _local4 = (_local4 - _local8.height); }; }; _local9++; }; if (_local5){ _local4 = flexChildrenProportionally(_arg2, _local4, _local5, _local6); _local10 = _local6.length; _local9 = 0; while (_local9 < _local10) { _local7 = _local6[_local9]; _local8 = _local7.child; if ((((_local8.scaleX == 1)) && ((_local8.scaleY == 1)))){ _local8.setActualSize(Math.floor(_local7.width), Math.floor(_local7.size)); } else { _local8.setActualSize(_local7.width, _local7.size); }; _local9++; }; }; return (_local4); } public static function flexChildrenProportionally(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Array):Number{ var _local5:int; var _local6:Number; var _local7:Boolean; var _local8:Number; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; _local5 = _arg4.length; _local8 = (_arg2 - ((_arg1 * _arg3) / 100)); if (_local8 > 0){ _arg2 = (_arg2 - _local8); }; do { _local6 = 0; _local7 = true; _local9 = (_arg2 / _arg3); _local10 = 0; while (_local10 < _local5) { _local11 = _arg4[_local10]; _local12 = (_local11.percent * _local9); if (_local12 < _local11.min){ _local13 = _local11.min; _local11.size = _local13; --_local5; _arg4[_local10] = _arg4[_local5]; _arg4[_local5] = _local11; _arg3 = (_arg3 - _local11.percent); _arg2 = (_arg2 - _local13); _local7 = false; break; } else { if (_local12 > _local11.max){ _local14 = _local11.max; _local11.size = _local14; --_local5; _arg4[_local10] = _arg4[_local5]; _arg4[_local5] = _local11; _arg3 = (_arg3 - _local11.percent); _arg2 = (_arg2 - _local14); _local7 = false; break; } else { _local11.size = _local12; _local6 = (_local6 + _local12); }; }; _local10++; }; } while (!(_local7)); return (Math.max(0, Math.floor((_arg2 - _local6)))); } } }//package mx.containers.utilityClasses
Section 187
//FlexChildInfo (mx.containers.utilityClasses.FlexChildInfo) package mx.containers.utilityClasses { import mx.core.*; public class FlexChildInfo { public var size:Number;// = 0 public var percent:Number; public var width:Number; public var max:Number; public var height:Number; public var preferred:Number;// = 0 public var min:Number; public var flex:Number;// = 0 public var child:IUIComponent; mx_internal static const VERSION:String = "2.0.1.0"; public function FlexChildInfo(){ size = 0; preferred = 0; flex = 0; super(); } } }//package mx.containers.utilityClasses
Section 188
//Layout (mx.containers.utilityClasses.Layout) package mx.containers.utilityClasses { import mx.core.*; public class Layout { private var _target:Container; mx_internal static const VERSION:String = "2.0.1.0"; public function set target(_arg1:Container):void{ _target = _arg1; } public function measure():void{ } public function updateDisplayList(_arg1:Number, _arg2:Number):void{ } public function get target():Container{ return (_target); } } }//package mx.containers.utilityClasses
Section 189
//BoxDirection (mx.containers.BoxDirection) package mx.containers { public final class BoxDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; mx_internal static const VERSION:String = "2.0.1.0"; } }//package mx.containers
Section 190
//DataGridListData (mx.controls.dataGridClasses.DataGridListData) package mx.controls.dataGridClasses { import mx.core.*; import mx.controls.listClasses.*; public class DataGridListData extends BaseListData { public var dataField:String; mx_internal static const VERSION:String = "2.0.1.0"; public function DataGridListData(_arg1:String, _arg2:String, _arg3:int, _arg4:String, _arg5:IUIComponent, _arg6:int=0){ super(_arg1, _arg4, _arg5, _arg6, _arg3); this.dataField = _arg2; } } }//package mx.controls.dataGridClasses
Section 191
//BaseListData (mx.controls.listClasses.BaseListData) package mx.controls.listClasses { import mx.core.*; public class BaseListData { private var _uid:String; public var label:String; public var rowIndex:int; public var owner:IUIComponent; public var columnIndex:int; mx_internal static const VERSION:String = "2.0.1.0"; public function BaseListData(_arg1:String, _arg2:String, _arg3:IUIComponent, _arg4:int=0, _arg5:int=0){ this.label = _arg1; this.uid = _arg2; this.owner = _arg3; this.rowIndex = _arg4; this.columnIndex = _arg5; } public function set uid(_arg1:String):void{ _uid = _arg1; } public function get uid():String{ return (_uid); } } }//package mx.controls.listClasses
Section 192
//IDropInListItemRenderer (mx.controls.listClasses.IDropInListItemRenderer) package mx.controls.listClasses { public interface IDropInListItemRenderer { function set listData(_arg1:BaseListData):void; function get listData():BaseListData; } }//package mx.controls.listClasses
Section 193
//IListItemRenderer (mx.controls.listClasses.IListItemRenderer) package mx.controls.listClasses { import flash.events.*; import mx.core.*; import mx.styles.*; import mx.managers.*; public interface IListItemRenderer extends IDataRenderer, IEventDispatcher, IFlexDisplayObject, ILayoutManagerClient, ISimpleStyleClient, IUIComponent { } }//package mx.controls.listClasses
Section 194
//ScrollBar (mx.controls.scrollClasses.ScrollBar) package mx.controls.scrollClasses { import flash.events.*; import mx.core.*; import mx.styles.*; import flash.display.*; import flash.geom.*; import mx.events.*; import flash.utils.*; import mx.controls.*; import flash.ui.*; public class ScrollBar extends UIComponent { mx_internal var isScrolling:Boolean; mx_internal var oldPosition:Number; mx_internal var downArrow:Button; private var _pageSize:Number;// = 0 mx_internal var _minHeight:Number;// = 32 private var trackScrolling:Boolean;// = false private var trackScrollRepeatDirection:int; private var _scrollPosition:Number;// = 0 private var _lineScrollSize:Number;// = 1 private var _direction:String;// = "vertical" mx_internal var upArrow:Button; private var trackScrollTimer:Timer; mx_internal var scrollTrack:DisplayObject; private var _pageScrollSize:Number;// = 0 private var _maxScrollPosition:Number;// = 0 mx_internal var scrollThumb:ScrollThumb; private var _minScrollPosition:Number;// = 0 private var trackPosition:Number; mx_internal var _minWidth:Number;// = 16 mx_internal static const VERSION:String = "2.0.1.0"; public static const THICKNESS:Number = 16; public function ScrollBar(){ _minWidth = 16; _minHeight = 32; trackScrolling = false; _direction = ScrollBarDirection.VERTICAL; _lineScrollSize = 1; _maxScrollPosition = 0; _minScrollPosition = 0; _pageSize = 0; _pageScrollSize = 0; _scrollPosition = 0; super(); } private function downArrow_buttonDownHandler(_arg1:FlexEvent):void{ if (isNaN(oldPosition)){ oldPosition = scrollPosition; }; lineScroll(1); } public function set minScrollPosition(_arg1:Number):void{ _minScrollPosition = _arg1; } mx_internal function get virtualHeight():Number{ return (unscaledHeight); } mx_internal function get lineMinusDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.LINE_UP : ScrollEventDetail.LINE_LEFT); } public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{ var _local5:Number; this.pageSize = _arg1; _pageScrollSize = ((_arg4)>0) ? _arg4 : _arg1; this.minScrollPosition = Math.max(_arg2, 0); this.maxScrollPosition = Math.max(_arg3, 0); _scrollPosition = Math.max(this.minScrollPosition, _scrollPosition); _scrollPosition = Math.min(this.maxScrollPosition, _scrollPosition); if (((((this.maxScrollPosition - this.minScrollPosition) > 0)) && (enabled))){ upArrow.enabled = true; downArrow.enabled = true; addEventListener(MouseEvent.MOUSE_DOWN, scrollTrack_mouseDownHandler); addEventListener(MouseEvent.MOUSE_OVER, scrollTrack_mouseOverHandler); addEventListener(MouseEvent.MOUSE_OUT, scrollTrack_mouseOutHandler); if (!scrollThumb){ scrollThumb = new ScrollThumb(); scrollThumb.focusEnabled = false; addChildAt(scrollThumb, getChildIndex(downArrow)); scrollThumb.styleName = this; scrollThumb.upSkinName = "thumbUpSkin"; scrollThumb.overSkinName = "thumbOverSkin"; scrollThumb.downSkinName = "thumbDownSkin"; scrollThumb.iconName = "thumbIcon"; }; _local5 = ((trackHeight < 0)) ? 0 : Math.round(((_arg1 / ((this.maxScrollPosition - this.minScrollPosition) + _arg1)) * trackHeight)); if (_local5 < scrollThumb.minHeight){ if (trackHeight < scrollThumb.minHeight){ scrollThumb.visible = false; } else { _local5 = scrollThumb.minHeight; scrollThumb.visible = true; scrollThumb.setActualSize(_minWidth, scrollThumb.minHeight); }; } else { scrollThumb.visible = true; scrollThumb.setActualSize(_minWidth, _local5); }; scrollThumb.setRange((upArrow.getExplicitOrMeasuredHeight() + 0), ((virtualHeight - downArrow.getExplicitOrMeasuredHeight()) - scrollThumb.height), this.minScrollPosition, this.maxScrollPosition); scrollPosition = Math.max(Math.min(scrollPosition, this.maxScrollPosition), this.minScrollPosition); } else { upArrow.enabled = false; downArrow.enabled = false; if (scrollThumb){ scrollThumb.visible = false; }; }; } public function get pageScrollSize():Number{ return (_pageScrollSize); } private function get trackY():Number{ return (upArrow.getExplicitOrMeasuredHeight()); } public function set pageScrollSize(_arg1:Number):void{ _pageScrollSize = _arg1; } mx_internal function isScrollBarKey(_arg1:uint):Boolean{ var _local2:Number; if (_arg1 == Keyboard.HOME){ if (scrollPosition != 0){ _local2 = scrollPosition; scrollPosition = 0; dispatchScrollEvent(_local2, minDetail); }; return (true); } else { if (_arg1 == Keyboard.END){ if (scrollPosition < maxScrollPosition){ _local2 = scrollPosition; scrollPosition = maxScrollPosition; dispatchScrollEvent(_local2, maxDetail); }; return (true); }; }; return (false); } private function trackScrollTimerHandler(_arg1:Event):void{ if (trackScrollRepeatDirection == 1){ if ((scrollThumb.y + scrollThumb.height) > trackPosition){ return; }; }; if (trackScrollRepeatDirection == -1){ if (scrollThumb.y < trackPosition){ return; }; }; pageScroll(trackScrollRepeatDirection); if (((trackScrollTimer) && ((trackScrollTimer.repeatCount == 1)))){ trackScrollTimer.delay = getStyle("repeatInterval"); trackScrollTimer.repeatCount = 0; }; } private function scrollTrack_mouseUpHandler(_arg1:MouseEvent):void{ scrollTrack_mouseLeaveHandler(_arg1); } private function get minDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.AT_TOP : ScrollEventDetail.AT_LEFT); } override protected function measure():void{ super.measure(); upArrow.validateSize(); downArrow.validateSize(); _minWidth = upArrow.getExplicitOrMeasuredWidth(); _minHeight = (upArrow.getExplicitOrMeasuredHeight() + downArrow.getExplicitOrMeasuredHeight()); } public function get maxScrollPosition():Number{ return (_maxScrollPosition); } mx_internal function get linePlusDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.LINE_DOWN : ScrollEventDetail.LINE_RIGHT); } private function stage_scrollTrack_mouseMoveHandler(_arg1:MouseEvent):void{ if (_arg1.target != stage){ return; }; scrollTrack_mouseMoveHandler(_arg1); } private function upArrow_buttonDownHandler(_arg1:FlexEvent):void{ if (isNaN(oldPosition)){ oldPosition = scrollPosition; }; lineScroll(-1); } private function scrollTrack_mouseOverHandler(_arg1:MouseEvent):void{ if (_arg1.target != this){ return; }; if (trackScrolling){ trackScrollTimer.start(); }; } private function scrollTrack_mouseDownHandler(_arg1:MouseEvent):void{ if (_arg1.target != this){ return; }; trackScrolling = true; systemManager.addEventListener(MouseEvent.MOUSE_UP, scrollTrack_mouseUpHandler, true); systemManager.addEventListener(MouseEvent.MOUSE_MOVE, scrollTrack_mouseMoveHandler, true); systemManager.stage.addEventListener(MouseEvent.MOUSE_MOVE, stage_scrollTrack_mouseMoveHandler); systemManager.stage.addEventListener(Event.MOUSE_LEAVE, scrollTrack_mouseLeaveHandler); trackPosition = _arg1.localY; if (isNaN(oldPosition)){ oldPosition = scrollPosition; }; trackScrollRepeatDirection = (((scrollThumb.y + scrollThumb.height) < _arg1.localY)) ? 1 : ((scrollThumb.y > _arg1.localY)) ? -1 : 0; pageScroll(trackScrollRepeatDirection); if (!trackScrollTimer){ trackScrollTimer = new Timer(getStyle("repeatDelay"), 1); trackScrollTimer.addEventListener(TimerEvent.TIMER, trackScrollTimerHandler); }; trackScrollTimer.start(); } public function get minScrollPosition():Number{ return (_minScrollPosition); } override public function set doubleClickEnabled(_arg1:Boolean):void{ } public function set scrollPosition(_arg1:Number):void{ var _local2:Number; var _local3:Number; _scrollPosition = _arg1; if (scrollThumb){ if (!cacheAsBitmap){ cacheHeuristic = (scrollThumb.cacheHeuristic = true); }; if (!isScrolling){ _arg1 = Math.min(_arg1, maxScrollPosition); _arg1 = Math.max(_arg1, minScrollPosition); _local2 = (maxScrollPosition - minScrollPosition); _local3 = ((((_local2 == 0)) || (isNaN(_local2)))) ? 0 : ((((_arg1 - minScrollPosition) * (trackHeight - scrollThumb.height)) / _local2) + trackY); scrollThumb.move(0, Math.round(_local3)); }; }; } mx_internal function pageScroll(_arg1:int):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:String; _local2 = ((_pageScrollSize)!=0) ? _pageScrollSize : pageSize; _local3 = (_scrollPosition + (_arg1 * _local2)); if (_local3 > maxScrollPosition){ _local3 = maxScrollPosition; } else { if (_local3 < minScrollPosition){ _local3 = minScrollPosition; }; }; if (_local3 != scrollPosition){ _local4 = scrollPosition; scrollPosition = _local3; _local5 = ((_arg1 < 0)) ? pageMinusDetail : pagePlusDetail; dispatchScrollEvent(_local4, _local5); }; } private function scrollTrack_mouseLeaveHandler(_arg1:Event):void{ var _local2:String; trackScrolling = false; systemManager.removeEventListener(MouseEvent.MOUSE_UP, scrollTrack_mouseUpHandler, true); systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, scrollTrack_mouseMoveHandler, true); systemManager.stage.removeEventListener(MouseEvent.MOUSE_MOVE, stage_scrollTrack_mouseMoveHandler); systemManager.stage.removeEventListener(Event.MOUSE_LEAVE, scrollTrack_mouseLeaveHandler); if (trackScrollTimer){ trackScrollTimer.reset(); }; if (_arg1.target != this){ return; }; _local2 = ((oldPosition > scrollPosition)) ? pageMinusDetail : pagePlusDetail; dispatchScrollEvent(oldPosition, _local2); oldPosition = NaN; } private function get trackHeight():Number{ return ((virtualHeight - (upArrow.getExplicitOrMeasuredHeight() + downArrow.getExplicitOrMeasuredHeight()))); } public function set pageSize(_arg1:Number):void{ _pageSize = _arg1; } mx_internal function get pagePlusDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.PAGE_DOWN : ScrollEventDetail.PAGE_RIGHT); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; invalidateDisplayList(); } mx_internal function get pageMinusDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.PAGE_UP : ScrollEventDetail.PAGE_LEFT); } private function get maxDetail():String{ return (((direction == ScrollBarDirection.VERTICAL)) ? ScrollEventDetail.AT_BOTTOM : ScrollEventDetail.AT_RIGHT); } private function scrollTrack_mouseOutHandler(_arg1:MouseEvent):void{ if (trackScrolling){ trackScrollTimer.stop(); }; } mx_internal function dispatchScrollEvent(_arg1:Number, _arg2:String):void{ var _local3:ScrollEvent; _local3 = new ScrollEvent(ScrollEvent.SCROLL); _local3.detail = _arg2; _local3.position = scrollPosition; _local3.delta = (scrollPosition - _arg1); _local3.direction = direction; dispatchEvent(_local3); } public function set lineScrollSize(_arg1:Number):void{ _lineScrollSize = _arg1; } public function set direction(_arg1:String):void{ _direction = _arg1; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("directionChanged")); } public function get scrollPosition():Number{ return (_scrollPosition); } override protected function createChildren():void{ var _local1:Class; super.createChildren(); if (!scrollTrack){ _local1 = getStyle("trackSkin"); scrollTrack = new (_local1); if ((scrollTrack is ISimpleStyleClient)){ ISimpleStyleClient(scrollTrack).styleName = this; }; addChild(scrollTrack); }; if (!upArrow){ upArrow = new Button(); upArrow.enabled = false; upArrow.autoRepeat = true; upArrow.focusEnabled = false; upArrow.upSkinName = "upArrowUpSkin"; upArrow.overSkinName = "upArrowOverSkin"; upArrow.downSkinName = "upArrowDownSkin"; upArrow.disabledSkinName = "upArrowDisabledSkin"; upArrow.upIconName = ""; upArrow.overIconName = ""; upArrow.downIconName = ""; upArrow.disabledIconName = ""; addChild(upArrow); upArrow.styleName = this; upArrow.validateProperties(); upArrow.addEventListener(FlexEvent.BUTTON_DOWN, upArrow_buttonDownHandler); }; if (!downArrow){ downArrow = new Button(); downArrow.enabled = false; downArrow.autoRepeat = true; downArrow.focusEnabled = false; downArrow.upSkinName = "downArrowUpSkin"; downArrow.overSkinName = "downArrowOverSkin"; downArrow.downSkinName = "downArrowDownSkin"; downArrow.disabledSkinName = "downArrowDisabledSkin"; downArrow.upIconName = ""; downArrow.overIconName = ""; downArrow.downIconName = ""; downArrow.disabledIconName = ""; addChild(downArrow); downArrow.styleName = this; downArrow.validateProperties(); downArrow.addEventListener(FlexEvent.BUTTON_DOWN, downArrow_buttonDownHandler); }; } public function set maxScrollPosition(_arg1:Number):void{ _maxScrollPosition = _arg1; } public function get pageSize():Number{ return (_pageSize); } public function get direction():String{ return (_direction); } public function get lineScrollSize():Number{ return (_lineScrollSize); } mx_internal function lineScroll(_arg1:int):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:String; _local2 = _lineScrollSize; _local3 = (_scrollPosition + (_arg1 * _local2)); if (_local3 > maxScrollPosition){ _local3 = maxScrollPosition; } else { if (_local3 < minScrollPosition){ _local3 = minScrollPosition; }; }; if (_local3 != scrollPosition){ _local4 = scrollPosition; scrollPosition = _local3; _local5 = ((_arg1 < 0)) ? lineMinusDetail : linePlusDetail; dispatchScrollEvent(_local4, _local5); }; } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ if ($height == 1){ return; }; if (!upArrow){ return; }; super.updateDisplayList(_arg1, _arg2); if (cacheAsBitmap){ cacheHeuristic = (scrollThumb.cacheHeuristic = false); }; upArrow.move(0, 0); upArrow.setActualSize(upArrow.getExplicitOrMeasuredWidth(), upArrow.getExplicitOrMeasuredHeight()); scrollTrack.y = 0; scrollTrack.height = virtualHeight; downArrow.move(0, (virtualHeight - downArrow.getExplicitOrMeasuredHeight())); downArrow.setActualSize(downArrow.getExplicitOrMeasuredWidth(), downArrow.getExplicitOrMeasuredHeight()); setScrollProperties(pageSize, minScrollPosition, maxScrollPosition, _pageScrollSize); scrollPosition = _scrollPosition; } private function scrollTrack_mouseMoveHandler(_arg1:MouseEvent):void{ var _local2:Point; if (trackScrolling){ _local2 = new Point(_arg1.stageX, _arg1.stageY); _local2 = globalToLocal(_local2); trackPosition = _local2.y; }; } } }//package mx.controls.scrollClasses
Section 195
//ScrollBarDirection (mx.controls.scrollClasses.ScrollBarDirection) package mx.controls.scrollClasses { public final class ScrollBarDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; mx_internal static const VERSION:String = "2.0.1.0"; } }//package mx.controls.scrollClasses
Section 196
//ScrollThumb (mx.controls.scrollClasses.ScrollThumb) package mx.controls.scrollClasses { import flash.events.*; import flash.geom.*; import mx.events.*; import mx.controls.*; public class ScrollThumb extends Button { private var lastY:Number; private var datamax:Number; private var datamin:Number; private var ymax:Number; private var ymin:Number; mx_internal static const VERSION:String = "2.0.1.0"; public function ScrollThumb(){ explicitMinHeight = 10; stickyHighlighting = true; } private function mouseMoveHandler(_arg1:MouseEvent):void{ var _local2:Point; var _local3:Number; var _local4:ScrollBar; var _local5:Number; var _local6:Number; if (ymin == ymax){ return; }; _local2 = new Point(_arg1.stageX, _arg1.stageY); _local2 = globalToLocal(_local2); _local3 = (_local2.y - lastY); _local3 = (_local3 + y); if (_local3 < ymin){ _local3 = ymin; } else { if (_local3 > ymax){ _local3 = ymax; }; }; _local4 = ScrollBar(parent); _local4.isScrolling = true; $y = _local3; _local5 = _local4.scrollPosition; _local6 = (Math.round((((datamax - datamin) * (y - ymin)) / (ymax - ymin))) + datamin); _local4.scrollPosition = _local6; _local4.dispatchScrollEvent(_local5, ScrollEventDetail.THUMB_TRACK); } override protected function measure():void{ super.measure(); measuredWidth = 14; measuredHeight = 10; } mx_internal function setRange(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ this.ymin = _arg1; this.ymax = _arg2; this.datamin = _arg3; this.datamax = _arg4; } override protected function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:ScrollBar; super.mouseDownHandler(_arg1); _local2 = ScrollBar(parent); _local2.oldPosition = _local2.scrollPosition; lastY = _arg1.localY; systemManager.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true); systemManager.stage.addEventListener(MouseEvent.MOUSE_MOVE, stage_mouseMoveHandler); } override mx_internal function buttonReleased():void{ super.buttonReleased(); stopDragThumb(); } private function stopDragThumb():void{ var _local1:ScrollBar; _local1 = ScrollBar(parent); _local1.isScrolling = false; _local1.dispatchScrollEvent(_local1.oldPosition, ScrollEventDetail.THUMB_POSITION); _local1.oldPosition = NaN; systemManager.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true); systemManager.stage.removeEventListener(MouseEvent.MOUSE_MOVE, stage_mouseMoveHandler); } private function stage_mouseMoveHandler(_arg1:MouseEvent):void{ if (_arg1.target != stage){ return; }; mouseMoveHandler(_arg1); } } }//package mx.controls.scrollClasses
Section 197
//Button (mx.controls.Button) package mx.controls { import flash.events.*; import mx.core.*; import mx.styles.*; import flash.display.*; import mx.events.*; import mx.managers.*; import flash.text.*; import mx.controls.listClasses.*; import flash.utils.*; import mx.skins.*; import mx.controls.dataGridClasses.*; import flash.ui.*; public class Button extends UIComponent implements IDataRenderer, IDropInListItemRenderer, IFocusManagerComponent, IListItemRenderer { private var enabledChanged:Boolean;// = false private var skinMeasuredWidth:Number; mx_internal var disabledSkinName:String;// = "disabledSkin" mx_internal var downSkinName:String;// = "downSkin" mx_internal var _labelPlacement:String;// = "right" private var _data:Object; private var _phase:String;// = "up" mx_internal var _toggle:Boolean;// = false mx_internal var selectedOverSkinName:String;// = "selectedOverSkin" mx_internal var selectedDisabledSkinName:String;// = "selectedDisabledSkin" private var labelSet:Boolean; mx_internal var toggleChanged:Boolean;// = false private var labelChanged:Boolean;// = false private var autoRepeatTimer:Timer; mx_internal var disabledIconName:String;// = "disabledIcon" mx_internal var upSkinName:String;// = "upSkin" private var toolTipSet:Boolean;// = false mx_internal var downIconName:String;// = "downIcon" mx_internal var currentIcon:IFlexDisplayObject; private var styleChangedFlag:Boolean;// = true private var _autoRepeat:Boolean;// = false mx_internal var selectedOverIconName:String;// = "selectedOverIcon" private var _label:String;// = "" mx_internal var selectedDisabledIconName:String;// = "selectedDisabledIcon" mx_internal var extraSpacing:Number; mx_internal var selectedUpSkinName:String;// = "selectedUpSkin" mx_internal var upIconName:String;// = "upIcon" mx_internal var buttonOffset:Number;// = 0 private var skinMeasuredHeight:Number; mx_internal var centerContent:Boolean;// = true private var oldUnscaledWidth:Number; private var skins:Array; mx_internal var overSkinName:String;// = "overSkin" mx_internal var currentSkin:IFlexDisplayObject; mx_internal var selectedDownSkinName:String;// = "selectedDownSkin" private var _listData:BaseListData; mx_internal var iconName:String;// = "icon" mx_internal var _emphasized:Boolean;// = false public var selectedField:String;// = null private var icons:Array; public var stickyHighlighting:Boolean;// = false mx_internal var selectedUpIconName:String;// = "selectedUpIcon" mx_internal var selectedDownIconName:String;// = "selectedDownIcon" mx_internal var overIconName:String;// = "overIcon" private var selectedSet:Boolean; protected var textField:UITextField; mx_internal var _selected:Boolean;// = false mx_internal static const VERSION:String = "2.0.1.0"; mx_internal static var createAccessibilityImplementation:Function; public function Button(){ skins = []; icons = []; buttonOffset = 0; centerContent = true; extraSpacing = (10 + 10); styleChangedFlag = true; upSkinName = "upSkin"; overSkinName = "overSkin"; downSkinName = "downSkin"; disabledSkinName = "disabledSkin"; selectedUpSkinName = "selectedUpSkin"; selectedOverSkinName = "selectedOverSkin"; selectedDownSkinName = "selectedDownSkin"; selectedDisabledSkinName = "selectedDisabledSkin"; iconName = "icon"; upIconName = "upIcon"; overIconName = "overIcon"; downIconName = "downIcon"; disabledIconName = "disabledIcon"; selectedUpIconName = "selectedUpIcon"; selectedOverIconName = "selectedOverIcon"; selectedDownIconName = "selectedDownIcon"; selectedDisabledIconName = "selectedDisabledIcon"; enabledChanged = false; toolTipSet = false; _autoRepeat = false; _emphasized = false; _label = ""; labelChanged = false; _labelPlacement = ButtonLabelPlacement.RIGHT; _phase = ButtonPhase.UP; _selected = false; selectedField = null; stickyHighlighting = false; _toggle = false; toggleChanged = false; super(); mouseChildren = false; addEventListener(MouseEvent.ROLL_OVER, rollOverHandler); addEventListener(MouseEvent.ROLL_OUT, rollOutHandler); addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); addEventListener(MouseEvent.CLICK, clickHandler); } override protected function adjustFocusRect(_arg1:DisplayObject=null):void{ super.adjustFocusRect((currentSkin) ? this : DisplayObject(currentIcon)); } mx_internal function getCurrentIcon():IFlexDisplayObject{ var _local1:String; var _local2:IFlexDisplayObject; var _local3:Class; _local1 = getCurrentIconName(); if (!_local1){ return (null); }; _local2 = IFlexDisplayObject(getChildByName(_local1)); if (_local2 == null){ _local3 = Class(getStyle(_local1)); if (_local3 == null){ _local3 = Class(getStyle(iconName)); }; if (_local3 != null){ _local2 = IFlexDisplayObject(new (_local3)); _local2.name = _local1; if ((_local2 is ISimpleStyleClient)){ ISimpleStyleClient(_local2).styleName = this; }; addChild(DisplayObject(_local2)); icons.push(_local2); }; }; return (_local2); } mx_internal function layoutContents(_arg1:Number, _arg2:Number, _arg3:Boolean):void{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:TextLineMetrics; var _local21:Number; var _local22:String; var _local23:EdgeMetrics; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; _local4 = 0; _local5 = 0; _local6 = 0; _local7 = 0; _local8 = 0; _local9 = 0; _local10 = 0; _local11 = 0; _local12 = 2; _local13 = 2; _local14 = getStyle("paddingLeft"); _local15 = getStyle("paddingRight"); _local16 = getStyle("paddingTop"); _local17 = getStyle("paddingBottom"); _local18 = 0; _local19 = 0; if (label){ _local20 = measureText(label); if (_local20.width > 0){ _local18 = (((_local14 + _local15) + getStyle("textIndent")) + _local20.width); }; _local19 = _local20.height; } else { _local20 = measureText("Wj"); _local19 = _local20.height; }; _local21 = (_arg3) ? buttonOffset : 0; _local22 = getStyle("textAlign"); _local23 = (((currentSkin) && ((currentSkin is RectangularBorder)))) ? RectangularBorder(currentSkin).borderMetrics : null; _local24 = _arg1; _local25 = ((_arg2 - _local16) - _local17); if (_local23){ _local24 = (_local24 - (_local23.left + _local23.right)); _local25 = (_local25 - (_local23.top + _local23.bottom)); }; if (currentIcon){ _local8 = currentIcon.width; _local9 = currentIcon.height; }; if ((((labelPlacement == ButtonLabelPlacement.LEFT)) || ((labelPlacement == ButtonLabelPlacement.RIGHT)))){ _local12 = getStyle("horizontalGap"); if ((((_local8 == 0)) || ((_local18 == 0)))){ _local12 = 0; }; if (_local18 > 0){ _local4 = Math.max(((((_local24 - _local8) - _local12) - _local14) - _local15), 0); textField.width = _local4; } else { _local4 = 0; textField.width = _local4; }; _local5 = Math.min((_local25 + 2), (_local19 + UITextField.TEXT_HEIGHT_PADDING)); textField.height = _local5; if (labelPlacement == ButtonLabelPlacement.RIGHT){ _local6 = (_local8 + _local12); if (centerContent){ if (_local22 == "left"){ _local6 = (_local6 + _local14); } else { if (_local22 == "right"){ _local6 = (_local6 + ((((_local24 - _local4) - _local8) - _local12) - _local14)); } else { _local28 = ((((_local24 - _local4) - _local8) - _local12) / 2); _local6 = (_local6 + Math.max(_local28, _local14)); }; }; }; _local10 = (_local6 - (_local8 + _local12)); if (!centerContent){ _local6 = (_local6 + _local14); }; } else { _local6 = ((((_local24 - _local4) - _local8) - _local12) - _local15); if (centerContent){ if (_local22 == "left"){ _local6 = 2; } else { if (_local22 == "right"){ _local6--; } else { if (_local6 > 0){ _local6 = (_local6 / 2); }; }; }; }; _local10 = ((_local6 + _local4) + _local12); }; _local7 = 0; _local11 = _local7; if (centerContent){ _local11 = (Math.round(((_local25 - _local9) / 2)) + _local16); _local7 = (Math.round(((_local25 - _local5) / 2)) + _local16); } else { _local7 = (_local7 + (Math.max(0, ((_local25 - _local5) / 2)) + _local16)); _local11 = (_local11 + (Math.max(0, (((_local25 - _local9) / 2) - 1)) + _local16)); }; } else { _local13 = getStyle("verticalGap"); if ((((_local9 == 0)) || ((_local19 == 0)))){ _local13 = 0; }; if (_local18 > 0){ _local4 = Math.min(_local24, (_local18 + UITextField.TEXT_WIDTH_PADDING)); textField.width = _local4; _local5 = Math.min(((_local25 - _local9) + 1), (_local19 + 5)); textField.height = _local5; } else { _local4 = 0; textField.width = _local4; _local5 = 0; textField.height = _local5; }; _local6 = ((_local24 - _local4) / 2); _local10 = ((_local24 - _local8) / 2); if (labelPlacement == ButtonLabelPlacement.TOP){ _local7 = (((_local25 - _local5) - _local9) - _local13); if (((centerContent) && ((_local7 > 0)))){ _local7 = (_local7 / 2); }; _local7 = (_local7 + _local16); _local11 = (((_local7 + _local5) + _local13) - 3); } else { _local7 = ((_local9 + _local13) + _local16); if (centerContent){ _local7 = (_local7 + (((((_local25 - _local5) - _local9) - _local13) / 2) + 1)); }; _local11 = (((_local7 - _local9) - _local13) + 3); }; }; _local26 = _local21; _local27 = _local21; if (_local23){ _local26 = (_local26 + _local23.left); _local27 = (_local27 + _local23.top); }; textField.x = (_local6 + _local26); textField.y = (_local7 + _local27); if (currentIcon){ _local10 = (_local10 + _local26); _local11 = (_local11 + _local27); currentIcon.x = Math.round(_local10); currentIcon.y = Math.round(_local11); }; if (currentSkin){ setChildIndex(DisplayObject(currentSkin), (numChildren - 1)); }; if (currentIcon){ setChildIndex(DisplayObject(currentIcon), (numChildren - 1)); }; if (textField){ setChildIndex(textField, (numChildren - 1)); }; } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ buttonPressed(); }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } protected function rollOutHandler(_arg1:MouseEvent):void{ if (phase == ButtonPhase.OVER){ phase = ButtonPhase.UP; _arg1.updateAfterEvent(); } else { if ((((phase == ButtonPhase.DOWN)) && (!(stickyHighlighting)))){ phase = ButtonPhase.OVER; _arg1.updateAfterEvent(); if (autoRepeatTimer){ autoRepeatTimer.stop(); }; }; }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ buttonReleased(); if (phase == ButtonPhase.DOWN){ dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; phase = ButtonPhase.UP; }; } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; if (_arg1){ autoRepeatTimer = new Timer(1); } else { autoRepeatTimer = null; }; } mx_internal function buttonPressed():void{ phase = ButtonPhase.DOWN; dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN)); if (autoRepeat){ autoRepeatTimer.delay = getStyle("repeatDelay"); autoRepeatTimer.addEventListener(TimerEvent.TIMER, autoRepeatTimer_timerDelayHandler); autoRepeatTimer.start(); }; } mx_internal function viewIcon():void{ var _local1:String; _local1 = getCurrentIconName(); viewIconForPhase(_local1); } mx_internal function changeSkins():void{ var _local1:int; var _local2:int; _local1 = skins.length; _local2 = 0; while (_local2 < _local1) { removeChild(skins[_local2]); _local2++; }; skins = []; } private function autoRepeatTimer_timerHandler(_arg1:Event):void{ if (!enabled){ return; }; dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN)); } private function systemManager_mouseUpHandler(_arg1:MouseEvent):void{ if (contains(DisplayObject(_arg1.target))){ return; }; phase = ButtonPhase.UP; buttonReleased(); _arg1.updateAfterEvent(); } protected function mouseUpHandler(_arg1:MouseEvent):void{ if (!enabled){ return; }; phase = ButtonPhase.OVER; buttonReleased(); _arg1.updateAfterEvent(); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("labelPlacementChanged")); } mx_internal function viewIconForPhase(_arg1:String):void{ var _local2:IFlexDisplayObject; var _local3:Class; _local2 = IFlexDisplayObject(getChildByName(_arg1)); if (_local2 == null){ _local3 = Class(getStyle(_arg1)); if (_local3 == null){ _local3 = Class(getStyle(iconName)); }; if (_local3 != null){ _local2 = IFlexDisplayObject(new (_local3)); _local2.name = _arg1; if ((_local2 is ISimpleStyleClient)){ ISimpleStyleClient(_local2).styleName = this; }; addChild(DisplayObject(_local2)); icons.push(_local2); }; }; if (currentIcon != null){ currentIcon.visible = false; }; currentIcon = _local2; if (currentIcon != null){ currentIcon.visible = true; }; } mx_internal function getTextField():UITextField{ return (textField); } mx_internal function setSelected(_arg1:Boolean):void{ if (_selected != _arg1){ _selected = _arg1; invalidateDisplayList(); if (toggle){ dispatchEvent(new Event(Event.CHANGE)); }; dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT)); }; } protected function clickHandler(_arg1:MouseEvent):void{ if (!enabled){ _arg1.stopImmediatePropagation(); return; }; if (toggle){ setSelected(!(selected)); }; } mx_internal function getCurrentIconName():String{ var _local1:String; if (!enabled){ _local1 = (selected) ? selectedDisabledIconName : disabledIconName; } else { if (phase == ButtonPhase.UP){ _local1 = (selected) ? selectedUpIconName : upIconName; } else { if (phase == ButtonPhase.OVER){ _local1 = (selected) ? selectedOverIconName : overIconName; } else { if (phase == ButtonPhase.DOWN){ _local1 = (selected) ? selectedDownIconName : downIconName; }; }; }; }; return (_local1); } public function get emphasized():Boolean{ return (_emphasized); } override protected function measure():void{ var textWidth:Number; var textHeight:Number; var bm:EdgeMetrics; var tempCurrentIcon:IFlexDisplayObject; var iconWidth:Number; var iconHeight:Number; var w:Number; var h:Number; var lineMetrics:TextLineMetrics; super.measure(); textWidth = 0; textHeight = 0; if (label){ lineMetrics = measureText(label); textWidth = lineMetrics.width; textHeight = lineMetrics.height; textWidth = (textWidth + ((getStyle("paddingLeft") + getStyle("paddingRight")) + getStyle("textIndent"))); textHeight = (textHeight + (getStyle("paddingTop") + getStyle("paddingBottom"))); }; try { bm = currentSkin["borderMetrics"]; } catch(e:Error) { bm = new EdgeMetrics(3, 3, 3, 3); }; tempCurrentIcon = getCurrentIcon(); iconWidth = (tempCurrentIcon) ? tempCurrentIcon.width : 0; iconHeight = (tempCurrentIcon) ? tempCurrentIcon.height : 0; w = 0; h = 0; if ((((labelPlacement == ButtonLabelPlacement.LEFT)) || ((labelPlacement == ButtonLabelPlacement.RIGHT)))){ w = (textWidth + iconWidth); if (iconWidth != 0){ w = (w + (getStyle("horizontalGap") - 2)); }; h = Math.max(textHeight, (iconHeight + 6)); } else { w = Math.max(textWidth, iconWidth); h = (textHeight + iconHeight); if (iconHeight != 0){ h = (h + getStyle("verticalGap")); }; }; if (bm){ w = (w + (bm.left + bm.right)); h = (h + (bm.top + bm.bottom)); }; if (((label) && (!((label.length == 0))))){ w = (w + extraSpacing); } else { w = (w + 6); }; if (((currentSkin) && (((isNaN(skinMeasuredWidth)) || (isNaN(skinMeasuredHeight)))))){ skinMeasuredWidth = currentSkin.measuredWidth; skinMeasuredHeight = currentSkin.measuredHeight; }; if (!isNaN(skinMeasuredWidth)){ w = Math.max(skinMeasuredWidth, w); }; if (!isNaN(skinMeasuredHeight)){ h = Math.max(skinMeasuredHeight, h); }; measuredMinWidth = (measuredWidth = w); measuredMinHeight = (measuredHeight = h); } mx_internal function get phase():String{ return (_phase); } public function set selected(_arg1:Boolean):void{ selectedSet = true; setSelected(_arg1); } mx_internal function changeIcons():void{ var _local1:int; var _local2:int; _local1 = icons.length; _local2 = 0; while (_local2 < _local1) { removeChild(icons[_local2]); _local2++; }; icons = []; } override protected function commitProperties():void{ super.commitProperties(); if (!initialized){ viewSkin(); viewIcon(); }; if (enabledChanged){ textField.enabled = enabled; enabledChanged = false; }; if (toggleChanged){ if (!toggle){ selected = false; }; toggleChanged = false; }; } public function get listData():BaseListData{ return (_listData); } mx_internal function viewSkin():void{ var _local1:String; if (!enabled){ _local1 = (selected) ? selectedDisabledSkinName : disabledSkinName; } else { if (phase == ButtonPhase.UP){ _local1 = (selected) ? selectedUpSkinName : upSkinName; } else { if (phase == ButtonPhase.OVER){ _local1 = (selected) ? selectedOverSkinName : overSkinName; } else { if (phase == ButtonPhase.DOWN){ _local1 = (selected) ? selectedDownSkinName : downSkinName; }; }; }; }; viewSkinForPhase(_local1); } public function set label(_arg1:String):void{ labelSet = true; if (_label != _arg1){ _label = _arg1; labelChanged = true; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("labelChanged")); }; } mx_internal function viewSkinForPhase(_arg1:String):void{ var _local2:IFlexDisplayObject; var _local3:Number; var _local4:Class; var _local5:ISimpleStyleClient; _local2 = IFlexDisplayObject(getChildByName(_arg1)); if (!_local2){ _local4 = Class(getStyle(_arg1)); if (_local4){ _local2 = IFlexDisplayObject(new (_local4)); _local2.name = _arg1; _local5 = (_local2 as ISimpleStyleClient); if (_local5){ _local5.styleName = this; }; addChild(DisplayObject(_local2)); _local2.setActualSize(unscaledWidth, unscaledHeight); if ((((_local2 is IInvalidating)) && (initialized))){ IInvalidating(_local2).validateNow(); } else { if ((((_local2 is ProgrammaticSkin)) && (initialized))){ ProgrammaticSkin(_local2).validateDisplayList(); }; }; skins.push(_local2); }; }; if (currentSkin){ currentSkin.visible = false; }; currentSkin = _local2; if (currentSkin){ currentSkin.visible = true; }; if (enabled){ if (phase == ButtonPhase.OVER){ _local3 = textField.getStyle("textRollOverColor"); } else { if (phase == ButtonPhase.DOWN){ _local3 = textField.getStyle("textSelectedColor"); } else { _local3 = textField.getStyle("color"); }; }; textField.setColor(_local3); }; } private function autoRepeatTimer_timerDelayHandler(_arg1:Event):void{ if (!enabled){ return; }; dispatchEvent(new FlexEvent(FlexEvent.BUTTON_DOWN)); if (autoRepeat){ autoRepeatTimer.reset(); autoRepeatTimer.removeEventListener(TimerEvent.TIMER, autoRepeatTimer_timerDelayHandler); autoRepeatTimer.delay = getStyle("repeatInterval"); autoRepeatTimer.addEventListener(TimerEvent.TIMER, autoRepeatTimer_timerHandler); autoRepeatTimer.start(); }; } protected function mouseDownHandler(_arg1:MouseEvent):void{ if (!enabled){ return; }; systemManager.addEventListener(MouseEvent.MOUSE_UP, systemManager_mouseUpHandler, true); systemManager.stage.addEventListener(Event.MOUSE_LEAVE, stage_mouseLeaveHandler); buttonPressed(); _arg1.updateAfterEvent(); } override public function set enabled(_arg1:Boolean):void{ if (super.enabled == _arg1){ return; }; super.enabled = _arg1; enabledChanged = true; invalidateProperties(); invalidateDisplayList(); } public function get labelPlacement():String{ return (_labelPlacement); } override public function get baselinePosition():Number{ var _local1:String; var _local2:TextLineMetrics; _local1 = label; if (!_local1){ _local1 = "Wj"; }; validateNow(); if (((!(label)) && ((((labelPlacement == ButtonLabelPlacement.TOP)) || ((labelPlacement == ButtonLabelPlacement.BOTTOM)))))){ _local2 = measureText(_local1); return ((((measuredHeight - _local2.height) / 2) + _local2.ascent)); }; return ((textField.y + measureText(_local1).ascent)); } public function set toggle(_arg1:Boolean):void{ _toggle = _arg1; toggleChanged = true; invalidateProperties(); invalidateDisplayList(); dispatchEvent(new Event("toggleChanged")); } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; changeSkins(); invalidateDisplayList(); } public function get selected():Boolean{ return (_selected); } mx_internal function buttonReleased():void{ systemManager.removeEventListener(MouseEvent.MOUSE_UP, systemManager_mouseUpHandler, true); systemManager.stage.removeEventListener(Event.MOUSE_LEAVE, stage_mouseLeaveHandler); if (autoRepeatTimer){ autoRepeatTimer.removeEventListener(TimerEvent.TIMER, autoRepeatTimer_timerDelayHandler); autoRepeatTimer.removeEventListener(TimerEvent.TIMER, autoRepeatTimer_timerHandler); autoRepeatTimer.reset(); }; } public function set listData(_arg1:BaseListData):void{ _listData = _arg1; } mx_internal function set phase(_arg1:String):void{ _phase = _arg1; invalidateSize(); invalidateDisplayList(); } private function stage_mouseLeaveHandler(_arg1:Event):void{ phase = ButtonPhase.UP; buttonReleased(); } public function get label():String{ return (_label); } override protected function focusOutHandler(_arg1:FocusEvent):void{ super.focusOutHandler(_arg1); if (phase != ButtonPhase.UP){ phase = ButtonPhase.UP; }; } override protected function createChildren():void{ super.createChildren(); if (!textField){ textField = new UITextField(); textField.styleName = this; addChild(textField); }; } protected function rollOverHandler(_arg1:MouseEvent):void{ if (phase == ButtonPhase.UP){ if (_arg1.buttonDown){ return; }; phase = ButtonPhase.OVER; _arg1.updateAfterEvent(); } else { if (phase == ButtonPhase.OVER){ phase = ButtonPhase.DOWN; _arg1.updateAfterEvent(); if (autoRepeatTimer){ autoRepeatTimer.start(); }; }; }; } public function set data(_arg1:Object):void{ var _local2:*; var _local3:*; _data = _arg1; if (((_listData) && ((_listData is DataGridListData)))){ _local2 = _data[DataGridListData(_listData).dataField]; _local3 = ""; } else { if (_listData){ if (selectedField){ _local2 = _data[selectedField]; }; _local3 = _listData.label; } else { _local2 = _data; }; }; if (((!((_local2 === undefined))) && (!(selectedSet)))){ selected = (_local2 as Boolean); selectedSet = false; }; if (((!((_local3 === undefined))) && (!(labelSet)))){ label = _local3; labelSet = false; }; dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE)); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } public function get data():Object{ if (!_data){ _data = {}; }; return (_data); } public function get toggle():Boolean{ return (_toggle); } override public function styleChanged(_arg1:String):void{ styleChangedFlag = true; super.styleChanged(_arg1); if (((!(_arg1)) || ((_arg1 == "styleName")))){ changeSkins(); changeIcons(); } else { if (_arg1.toLowerCase().indexOf("skin") != -1){ changeSkins(); } else { if (_arg1.toLowerCase().indexOf("icon") != -1){ changeIcons(); invalidateSize(); }; }; }; } override public function set toolTip(_arg1:String):void{ super.toolTip = _arg1; if (_arg1){ toolTipSet = true; } else { toolTipSet = false; invalidateDisplayList(); }; } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:int; var _local4:int; var _local5:IFlexDisplayObject; var _local6:Boolean; super.updateDisplayList(_arg1, _arg2); _local3 = skins.length; _local4 = 0; while (_local4 < _local3) { _local5 = IFlexDisplayObject(skins[_local4]); _local5.setActualSize(_arg1, _arg2); _local4++; }; viewSkin(); viewIcon(); if (((currentIcon) && ((currentIcon is IUIComponent)))){ IUIComponent(currentIcon).enabled = enabled; }; layoutContents(_arg1, _arg2, (phase == ButtonPhase.DOWN)); if ((((((((oldUnscaledWidth > _arg1)) || (!((textField.text == label))))) || (labelChanged))) || (styleChangedFlag))){ textField.text = label; _local6 = textField.truncateToFit(); if (!toolTipSet){ if (_local6){ super.toolTip = label; } else { super.toolTip = null; }; }; styleChangedFlag = false; labelChanged = false; }; oldUnscaledWidth = _arg1; } } }//package mx.controls
Section 198
//ButtonLabelPlacement (mx.controls.ButtonLabelPlacement) package mx.controls { public final class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; mx_internal static const VERSION:String = "2.0.1.0"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package mx.controls
Section 199
//ButtonPhase (mx.controls.ButtonPhase) package mx.controls { public final class ButtonPhase { public static const DOWN:String = "down"; public static const OVER:String = "over"; mx_internal static const VERSION:String = "2.0.1.0"; public static const UP:String = "up"; } }//package mx.controls
Section 200
//HScrollBar (mx.controls.HScrollBar) package mx.controls { import mx.controls.scrollClasses.*; import flash.ui.*; public class HScrollBar extends ScrollBar { mx_internal static const VERSION:String = "2.0.1.0"; public function HScrollBar(){ super.direction = ScrollBarDirection.HORIZONTAL; scaleX = -1; rotation = -90; } override mx_internal function get virtualHeight():Number{ return (unscaledWidth); } override mx_internal function isScrollBarKey(_arg1:uint):Boolean{ if (_arg1 == Keyboard.LEFT){ lineScroll(-1); return (true); }; if (_arg1 == Keyboard.RIGHT){ lineScroll(1); return (true); }; return (super.isScrollBarKey(_arg1)); } override protected function measure():void{ super.measure(); measuredWidth = _minHeight; measuredHeight = _minWidth; } override public function get minHeight():Number{ return (_minWidth); } override public function get minWidth():Number{ return (_minHeight); } override public function set direction(_arg1:String):void{ } } }//package mx.controls
Section 201
//ToolTip (mx.controls.ToolTip) package mx.controls { import mx.core.*; import mx.styles.*; import flash.display.*; import flash.text.*; import mx.skins.*; public class ToolTip extends UIComponent implements IToolTip { mx_internal var border:IFlexDisplayObject; private var textChanged:Boolean; private var _text:String; protected var textField:UITextField; mx_internal static const VERSION:String = "2.0.1.0"; public static var maxWidth:Number = 300; public function ToolTip(){ mouseEnabled = false; } mx_internal function getTextField():UITextField{ return (textField); } public function get text():String{ return (_text); } override protected function measure():void{ var _local1:EdgeMetrics; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; super.measure(); _local1 = borderMetrics; _local2 = (_local1.left + getStyle("paddingLeft")); _local3 = (_local1.top + getStyle("paddingTop")); _local4 = (_local1.right + getStyle("paddingRight")); _local5 = (_local1.bottom + getStyle("paddingBottom")); _local6 = (_local2 + _local4); _local7 = (_local3 + _local5); textField.wordWrap = false; if ((textField.textWidth + _local6) > ToolTip.maxWidth){ textField.width = (ToolTip.maxWidth - _local6); textField.wordWrap = true; }; measuredWidth = (textField.width + _local6); measuredHeight = (textField.height + _local7); } override protected function commitProperties():void{ var _local1:TextFormat; super.commitProperties(); if (textChanged){ _local1 = textField.getTextFormat(); _local1.leftMargin = 0; _local1.rightMargin = 0; textField.defaultTextFormat = _local1; textField.text = _text; textChanged = false; }; } public function set text(_arg1:String):void{ _text = _arg1; textChanged = true; invalidateProperties(); invalidateSize(); invalidateDisplayList(); } override protected function createChildren():void{ var _local1:Class; super.createChildren(); if (!border){ _local1 = getStyle("borderSkin"); border = new (_local1); if ((border is ISimpleStyleClient)){ ISimpleStyleClient(border).styleName = this; }; addChild(DisplayObject(border)); }; if (!textField){ textField = new UITextField(); textField.autoSize = TextFieldAutoSize.LEFT; textField.mouseEnabled = false; textField.multiline = true; textField.selectable = false; textField.wordWrap = false; textField.styleName = this; addChild(textField); }; } private function get borderMetrics():EdgeMetrics{ if ((border is RectangularBorder)){ return (RectangularBorder(border).borderMetrics); }; return (EdgeMetrics.EMPTY); } override public function styleChanged(_arg1:String):void{ super.styleChanged(_arg1); if ((((((_arg1 == "borderStyle")) || ((_arg1 == "styleName")))) || ((_arg1 == null)))){ invalidateDisplayList(); }; } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:EdgeMetrics; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; super.updateDisplayList(_arg1, _arg2); _local3 = borderMetrics; _local4 = (_local3.left + getStyle("paddingLeft")); _local5 = (_local3.top + getStyle("paddingTop")); _local6 = (_local3.right + getStyle("paddingRight")); _local7 = (_local3.bottom + getStyle("paddingBottom")); _local8 = (_local4 + _local6); _local9 = (_local5 + _local7); border.setActualSize(_arg1, _arg2); textField.move(_local4, _local5); textField.setActualSize((_arg1 - _local8), (_arg2 - _local9)); } } }//package mx.controls
Section 202
//VScrollBar (mx.controls.VScrollBar) package mx.controls { import mx.controls.scrollClasses.*; import flash.ui.*; public class VScrollBar extends ScrollBar { mx_internal static const VERSION:String = "2.0.1.0"; public function VScrollBar(){ super.direction = ScrollBarDirection.VERTICAL; } override mx_internal function isScrollBarKey(_arg1:uint):Boolean{ if (_arg1 == Keyboard.UP){ lineScroll(-1); return (true); }; if (_arg1 == Keyboard.DOWN){ lineScroll(1); return (true); }; if (_arg1 == Keyboard.PAGE_UP){ pageScroll(-1); return (true); }; if (_arg1 == Keyboard.PAGE_DOWN){ pageScroll(1); return (true); }; return (super.isScrollBarKey(_arg1)); } override protected function measure():void{ super.measure(); measuredWidth = _minWidth; measuredHeight = _minHeight; } override public function get minHeight():Number{ return (_minHeight); } override public function get minWidth():Number{ return (_minWidth); } override public function set direction(_arg1:String):void{ } } }//package mx.controls
Section 203
//Application (mx.core.Application) package mx.core { import flash.events.*; import mx.resources.*; import flash.system.*; import mx.styles.*; import flash.display.*; import mx.events.*; import mx.managers.*; import mx.effects.*; import flash.net.*; import flash.utils.*; import mx.containers.utilityClasses.*; import flash.ui.*; import flash.external.*; public class Application extends LayoutContainer { public var frameRate:Number; private var _viewSourceURL:String; public var scriptTimeLimit:Number; public var resetHistory:Boolean;// = true mx_internal var _url:String; public var preloader:Object; public var pageTitle:String; private var processingCreationQueue:Boolean;// = false private var creationQueue:Array; private var resizeWidth:Boolean;// = true public var controlBar:IUIComponent; private var _applicationViewMetrics:EdgeMetrics; private var preloadObj:Object; public var usePreloader:Boolean; private var resizeHandlerAdded:Boolean;// = false private var resizeHeight:Boolean;// = true public var scriptRecursionLimit:int; mx_internal var _parameters:Object; mx_internal static const VERSION:String = "2.0.1.0"; private static var viewSourceMenuItem:String; mx_internal static var useProgressiveLayout:Boolean = false; private static var packageResources:ResourceBundle = ResourceBundle.getResourceBundle("core", ApplicationDomain.currentDomain); public function Application(){ resizeHandlerAdded = false; creationQueue = []; processingCreationQueue = false; resizeWidth = true; resizeHeight = true; resetHistory = true; name = "application"; UIComponentGlobals.layoutManager = (Singleton.getInstance("mx.managers::ILayoutManager") as ILayoutManager); UIComponentGlobals.layoutManager.usePhasedInstantiation = true; if (!ApplicationGlobals.application){ ApplicationGlobals.application = this; }; super(); layoutObject = new ApplicationLayout(); layoutObject.target = this; boxLayoutClass = ApplicationLayout; showInAutomationHierarchy = true; } mx_internal function dockControlBar(_arg1:IUIComponent, _arg2:Boolean):void{ var controlBar = _arg1; var dock = _arg2; if (dock){ try { removeChild(DisplayObject(controlBar)); } catch(e:Error) { return; }; rawChildren.addChildAt(DisplayObject(controlBar), firstChildIndex); setControlBar(controlBar); } else { try { rawChildren.removeChild(DisplayObject(controlBar)); } catch(e:Error) { return; }; setControlBar(null); addChildAt(DisplayObject(controlBar), 0); }; } override mx_internal function initThemeColor():Boolean{ var _local1:Boolean; var _local2:Object; var _local3:Number; var _local4:Number; var _local5:CSSStyleDeclaration; _local1 = super.initThemeColor(); if (!_local1){ _local5 = StyleManager.getStyleDeclaration("global"); if (_local5){ _local2 = _local5.getStyle("themeColor"); _local3 = _local5.getStyle("rollOverColor"); _local4 = _local5.getStyle("selectionColor"); }; if (((((_local2) && (isNaN(_local3)))) && (isNaN(_local4)))){ setThemeColor(_local2); }; _local1 = true; }; return (_local1); } private function resizeHandler(_arg1:Event):void{ var _local2:Number; var _local3:Number; if (resizeWidth){ if (isNaN(percentWidth)){ _local2 = DisplayObject(systemManager).width; } else { super.percentWidth = Math.max(percentWidth, 0); super.percentWidth = Math.min(percentWidth, 100); _local2 = ((percentWidth * screen.width) / 100); }; if (!isNaN(explicitMaxWidth)){ _local2 = Math.min(_local2, explicitMaxWidth); }; if (!isNaN(explicitMinWidth)){ _local2 = Math.max(_local2, explicitMinWidth); }; } else { _local2 = width; }; if (resizeHeight){ if (isNaN(percentHeight)){ _local3 = DisplayObject(systemManager).height; } else { super.percentHeight = Math.max(percentHeight, 0); super.percentHeight = Math.min(percentHeight, 100); _local3 = ((percentHeight * screen.height) / 100); }; if (!isNaN(explicitMaxHeight)){ _local3 = Math.min(_local3, explicitMaxHeight); }; if (!isNaN(explicitMinHeight)){ _local3 = Math.max(_local3, explicitMinHeight); }; } else { _local3 = height; }; if (((!((_local2 == width))) || (!((_local3 == height))))){ invalidateProperties(); invalidateSize(); }; setActualSize(_local2, _local3); invalidateDisplayList(); } override public function set tabIndex(_arg1:int):void{ } public function set viewSourceURL(_arg1:String):void{ _viewSourceURL = _arg1; } override mx_internal function get usePadding():Boolean{ return (!((layout == ContainerLayout.ABSOLUTE))); } private function initContextMenu():void{ var _local1:ContextMenu; var _local2:ContextMenuItem; _local1 = new ContextMenu(); _local1.hideBuiltInItems(); _local1.builtInItems.print = true; if (_viewSourceURL){ _local2 = new ContextMenuItem(viewSourceMenuItem, true); _local2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler); _local1.customItems.push(_local2); }; contextMenu = _local1; } override public function set icon(_arg1:Class):void{ } override public function set percentWidth(_arg1:Number):void{ super.percentWidth = _arg1; invalidateDisplayList(); } override public function getChildIndex(_arg1:DisplayObject):int{ if (((controlBar) && ((_arg1 == controlBar)))){ return (-1); }; return (super.getChildIndex(_arg1)); } override public function get id():String{ if (((((!(super.id)) && ((this == Application.application)))) && (ExternalInterface.available))){ return (ExternalInterface.objectID); }; return (super.id); } override protected function measure():void{ var _local1:EdgeMetrics; var _local2:Number; super.measure(); _local1 = borderMetrics; if (((controlBar) && (controlBar.includeInLayout))){ _local2 = ((controlBar.getExplicitOrMeasuredWidth() + _local1.left) + _local1.right); measuredWidth = Math.max(measuredWidth, _local2); measuredMinWidth = Math.max(measuredMinWidth, _local2); }; } public function get url():String{ return (_url); } private function debugTickler():void{ var _local1:int; _local1 = 0; } override public function finishPrint(_arg1:Object, _arg2:IFlexDisplayObject):void{ if (_arg2 == this){ setActualSize(_arg1.width, _arg1.height); if (horizontalScrollBar){ horizontalScrollBar.visible = _arg1.horizontalScrollBarVisible; }; if (verticalScrollBar){ verticalScrollBar.visible = _arg1.verticalScrollBarVisible; }; if (whiteBox){ whiteBox.visible = _arg1.whiteBoxVisible; }; horizontalScrollPosition = _arg1.horizontalScrollPosition; verticalScrollPosition = _arg1.verticalScrollPosition; updateDisplayList(unscaledWidth, unscaledHeight); }; super.finishPrint(_arg1.scrollRect, _arg2); } override public function set label(_arg1:String):void{ } public function get parameters():Object{ return (_parameters); } override public function prepareToPrint(_arg1:IFlexDisplayObject):Object{ var _local2:Object; _local2 = {}; if (_arg1 == this){ _local2.width = width; _local2.height = height; _local2.verticalScrollPosition = verticalScrollPosition; _local2.horizontalScrollPosition = horizontalScrollPosition; _local2.horizontalScrollBarVisible = !((horizontalScrollBar == null)); _local2.verticalScrollBarVisible = !((verticalScrollBar == null)); _local2.whiteBoxVisible = !((whiteBox == null)); setActualSize(measuredWidth, measuredHeight); horizontalScrollPosition = 0; verticalScrollPosition = 0; if (horizontalScrollBar){ horizontalScrollBar.visible = false; }; if (verticalScrollBar){ verticalScrollBar.visible = false; }; if (whiteBox){ whiteBox.visible = false; }; updateDisplayList(unscaledWidth, unscaledHeight); }; _local2.scrollRect = super.prepareToPrint(_arg1); return (_local2); } public function get viewSourceURL():String{ return (_viewSourceURL); } override protected function layoutChrome(_arg1:Number, _arg2:Number):void{ var _local3:EdgeMetrics; var _local4:Number; var _local5:EdgeMetrics; super.layoutChrome(_arg1, _arg2); if (!doingLayout){ createBorder(); }; _local3 = borderMetrics; _local4 = getStyle("borderThickness"); _local5 = new EdgeMetrics(); _local5.left = (_local3.left - _local4); _local5.top = (_local3.top - _local4); _local5.right = (_local3.right - _local4); _local5.bottom = (_local3.bottom - _local4); if (((controlBar) && (controlBar.includeInLayout))){ if ((controlBar is IInvalidating)){ IInvalidating(controlBar).invalidateDisplayList(); }; controlBar.setActualSize((width - (_local5.left + _local5.right)), controlBar.getExplicitOrMeasuredHeight()); controlBar.move(_local5.left, _local5.top); }; } override public function get viewMetrics():EdgeMetrics{ var _local1:EdgeMetrics; var _local2:EdgeMetrics; var _local3:Number; if (!_applicationViewMetrics){ _applicationViewMetrics = new EdgeMetrics(); }; _local1 = _applicationViewMetrics; _local2 = super.viewMetrics; _local3 = getStyle("borderThickness"); _local1.left = _local2.left; _local1.top = _local2.top; _local1.right = _local2.right; _local1.bottom = _local2.bottom; if (((controlBar) && (controlBar.includeInLayout))){ _local1.top = (_local1.top - _local3); _local1.top = (_local1.top + Math.max(controlBar.getExplicitOrMeasuredHeight(), _local3)); }; return (_local1); } private function addedHandler(_arg1:Event):void{ if ((((_arg1.target == this)) && ((creationQueue.length > 0)))){ doNextQueueItem(); }; } private function menuItemSelectHandler(_arg1:Event):void{ navigateToURL(new URLRequest(_viewSourceURL), "_blank"); } private function doNextQueueItem(_arg1:FlexEvent=null):void{ processingCreationQueue = true; Application.useProgressiveLayout = true; callLater(processNextQueueItem); } private function setControlBar(_arg1:IUIComponent):void{ if (_arg1 == controlBar){ return; }; if (((controlBar) && ((controlBar is IStyleClient)))){ IStyleClient(controlBar).clearStyle("cornerRadius"); IStyleClient(controlBar).clearStyle("docked"); }; controlBar = _arg1; if (((controlBar) && ((controlBar is IStyleClient)))){ IStyleClient(controlBar).setStyle("cornerRadius", 0); IStyleClient(controlBar).setStyle("docked", true); }; invalidateSize(); invalidateDisplayList(); invalidateViewMetricsAndPadding(); } override public function initialize():void{ var _local1:ISystemManager; var _local2:Object; _local1 = systemManager; _url = _local1.loaderInfo.url; _parameters = _local1.loaderInfo.parameters; initManagers(_local1); _descriptor = null; if (documentDescriptor){ (creationPolicy == documentDescriptor.properties.creationPolicy); if ((((creationPolicy == null)) || ((creationPolicy.length == 0)))){ creationPolicy = ContainerCreationPolicy.AUTO; }; _local2 = documentDescriptor.properties; if (_local2.width != null){ width = _local2.width; delete _local2.width; }; if (_local2.height != null){ height = _local2.height; delete _local2.height; }; documentDescriptor.events = null; }; initContextMenu(); super.initialize(); addEventListener(Event.ADDED, addedHandler); if (((_local1.isTopLevel()) && ((Capabilities.isDebugger == true)))){ setInterval(debugTickler, 1500); }; } private function initManagers(_arg1:ISystemManager):void{ if (_arg1.isTopLevel()){ focusManager = new FocusManager(this); _arg1.activate(this); }; } override public function set percentHeight(_arg1:Number):void{ super.percentHeight = _arg1; invalidateDisplayList(); } private function printCreationQueue():void{ var _local1:String; var _local2:Number; var _local3:int; var _local4:Object; _local1 = ""; _local2 = creationQueue.length; _local3 = 0; while (_local3 < _local2) { _local4 = creationQueue[_local3]; _local1 = (_local1 + (((((" [" + _local3) + "] ") + _local4.id) + " ") + _local4.index)); _local3++; }; } override public function set toolTip(_arg1:String):void{ } override public function styleChanged(_arg1:String):void{ super.styleChanged(_arg1); if ((((_arg1 == "backgroundColor")) && ((getStyle("backgroundImage") == getStyle("defaultBackgroundImage"))))){ clearStyle("backgroundImage"); }; } private function processNextQueueItem():void{ var queueItem:Object; var nextChild:IUIComponent; if (EffectManager.effectsPlaying.length > 0){ callLater(processNextQueueItem); } else { if (creationQueue.length > 0){ queueItem = creationQueue.shift(); try { nextChild = ((queueItem.id is String)) ? document[queueItem.id] : queueItem.id; if ((nextChild is Container)){ Container(nextChild).createComponentsFromDescriptors(true); }; if ((((nextChild is Container)) && ((Container(nextChild).creationPolicy == ContainerCreationPolicy.QUEUED)))){ doNextQueueItem(); } else { nextChild.addEventListener("childrenCreationComplete", doNextQueueItem); }; } catch(e:Error) { processNextQueueItem(); }; } else { processingCreationQueue = false; Application.useProgressiveLayout = false; }; }; } public function addToCreationQueue(_arg1:Object, _arg2:int=-1, _arg3:Function=null, _arg4:IFlexDisplayObject=null):void{ var _local5:int; var _local6:Object; var _local7:Boolean; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; _local5 = creationQueue.length; _local6 = {}; _local7 = false; _local6.id = _arg1; _local6.parent = _arg4; _local6.callbackFunc = _arg3; _local6.index = _arg2; _local11 = 0; while (_local11 < _local5) { _local9 = creationQueue[_local11].index; _local10 = (creationQueue[_local11].parent) ? creationQueue[_local11].parent.nestLevel : 0; if (_local6.index != -1){ if ((((_local9 == -1)) || ((_local6.index < _local9)))){ _local8 = _local11; _local7 = true; break; }; } else { _local12 = (_local6.parent) ? _local6.parent.nestLevel : 0; if ((((_local9 == -1)) && ((_local10 < _local12)))){ _local8 = _local11; _local7 = true; break; }; }; _local11++; }; if (!_local7){ creationQueue.push(_local6); _local7 = true; } else { creationQueue.splice(_local8, 0, _local6); }; if (((initialized) && (!(processingCreationQueue)))){ doNextQueueItem(); }; } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ super.updateDisplayList(_arg1, _arg2); resizeWidth = isNaN(explicitWidth); resizeHeight = isNaN(explicitHeight); if (((resizeWidth) || (resizeHeight))){ resizeHandler(new Event(Event.RESIZE)); if (!resizeHandlerAdded){ systemManager.addEventListener(Event.RESIZE, resizeHandler, false, 0, true); resizeHandlerAdded = true; }; } else { if (resizeHandlerAdded){ systemManager.removeEventListener(Event.RESIZE, resizeHandler); resizeHandlerAdded = false; }; }; createBorder(); } private static function loadResources():void{ viewSourceMenuItem = packageResources.getString("viewSource"); } public static function get application():Object{ return (ApplicationGlobals.application); } loadResources(); } }//package mx.core
Section 204
//ApplicationGlobals (mx.core.ApplicationGlobals) package mx.core { public class ApplicationGlobals { public static var application:Object; } }//package mx.core
Section 205
//ComponentDescriptor (mx.core.ComponentDescriptor) package mx.core { public class ComponentDescriptor { public var events:Object; public var document:Object; public var type:Class; public var propertiesFactory:Function; private var _properties:Object; public var id:String; mx_internal static const VERSION:String = "2.0.1.0"; public function ComponentDescriptor(_arg1:Object){ var _local2:String; super(); for (_local2 in _arg1) { this[_local2] = _arg1[_local2]; }; } public function toString():String{ return (("ComponentDescriptor_" + id)); } public function invalidateProperties():void{ _properties = null; } public function get properties():Object{ var _local1:Array; var _local2:int; var _local3:int; if (_properties){ return (_properties); }; if (propertiesFactory != null){ _properties = propertiesFactory.call(document); }; if (_properties){ _local1 = _properties.childDescriptors; if (_local1){ _local2 = _local1.length; _local3 = 0; while (_local3 < _local2) { _local1[_local3].document = document; _local3++; }; }; } else { _properties = {}; }; return (_properties); } } }//package mx.core
Section 206
//Container (mx.core.Container) package mx.core { import flash.events.*; import mx.resources.*; import flash.system.*; import mx.styles.*; import flash.display.*; import flash.geom.*; import mx.events.*; import mx.managers.*; import flash.text.*; import mx.graphics.*; import mx.controls.scrollClasses.*; import mx.binding.*; import mx.controls.listClasses.*; import mx.skins.*; import mx.controls.*; import flash.ui.*; public class Container extends UIComponent implements IContainer, IDataRenderer, IFocusManagerContainer, IListItemRenderer, IRawChildrenContainer { private var _horizontalLineScrollSize:Number;// = 5 mx_internal var border:IFlexDisplayObject; private var _viewMetricsAndPadding:EdgeMetrics; private var scrollableWidth:Number;// = 0 private var _rawChildren:ContainerRawChildrenList; private var _data:Object; private var _viewMetrics:EdgeMetrics; private var changedStyles:String;// = null private var _verticalPageScrollSize:Number;// = 0 private var mouseEventReferenceCount:int;// = 0 protected var whiteBox:Shape; private var _verticalScrollBar:ScrollBar; private var _horizontalPageScrollSize:Number;// = 0 private var _clipContent:Boolean;// = true private var _icon:Class;// = null mx_internal var doingLayout:Boolean;// = false private var _createdComponents:Array; private var _firstChildIndex:int;// = 0 private var scrollableHeight:Number;// = 0 mx_internal var _numChildren:int;// = 0 private var recursionFlag:Boolean;// = true private var forceLayout:Boolean;// = false mx_internal var blocker:Sprite; private var _label:String;// = "" private var _numChildrenCreated:int;// = -1 protected var actualCreationPolicy:String; private var _childRepeaters:Array; private var _childDescriptors:Array; private var scrollPropertiesChanged:Boolean;// = false private var scrollPositionChanged:Boolean;// = true private var _focusPane:Sprite; private var _defaultButton:IFlexDisplayObject; private var _forceClippingCount:int; mx_internal var creatingContentPane:Boolean;// = false private var _creationPolicy:String; private var _creationIndex:int;// = -1 private var _verticalScrollPosition:Number;// = 0 private var _autoLayout:Boolean;// = true private var _horizontalScrollBar:ScrollBar; private var viewableHeight:Number;// = 0 private var viewableWidth:Number;// = 0 mx_internal var contentPane:Sprite;// = null private var numChildrenBefore:int; private var _verticalLineScrollSize:Number;// = 5 private var _horizontalScrollPosition:Number;// = 0 mx_internal var _horizontalScrollPolicy:String;// = "auto" private var verticalScrollPositionPending:Number; mx_internal var _verticalScrollPolicy:String;// = "auto" private var horizontalScrollPositionPending:Number; private static const MULTIPLE_PROPERTIES:String = "<MULTIPLE>"; mx_internal static const VERSION:String = "2.0.1.0"; private static var resourceMultipleChildSets_ClassAndInstance:String; private static var resourceMultipleChildSets_ClassAndSubclass:String; private static var resourceScrollDirection:String; private static var packageResources:ResourceBundle = ResourceBundle.getResourceBundle("core", ApplicationDomain.currentDomain); public function Container(){ recursionFlag = true; forceLayout = false; doingLayout = false; changedStyles = null; creatingContentPane = false; contentPane = null; scrollPropertiesChanged = false; scrollPositionChanged = true; scrollableWidth = 0; scrollableHeight = 0; viewableWidth = 0; viewableHeight = 0; mouseEventReferenceCount = 0; _numChildren = 0; _autoLayout = true; _clipContent = true; _creationIndex = -1; _firstChildIndex = 0; _horizontalLineScrollSize = 5; _horizontalPageScrollSize = 0; _horizontalScrollPosition = 0; _horizontalScrollPolicy = ScrollPolicy.AUTO; _icon = null; _label = ""; _numChildrenCreated = -1; _verticalLineScrollSize = 5; _verticalPageScrollSize = 0; _verticalScrollPosition = 0; _verticalScrollPolicy = ScrollPolicy.AUTO; super(); tabChildren = true; tabEnabled = false; showInAutomationHierarchy = false; } mx_internal function get firstChildIndex():int{ return (_firstChildIndex); } mx_internal function rawChildren_getObjectsUnderPoint(_arg1:Point):Array{ return (super.getObjectsUnderPoint(_arg1)); } protected function scrollChildren():void{ var _local1:EdgeMetrics; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Rectangle; if (!contentPane){ return; }; _local1 = viewMetrics; _local2 = 0; _local3 = 0; _local4 = ((unscaledWidth - _local1.left) - _local1.right); _local5 = ((unscaledHeight - _local1.top) - _local1.bottom); if (_clipContent){ _local2 = (_local2 + _horizontalScrollPosition); if (horizontalScrollBar){ _local4 = viewableWidth; }; _local3 = (_local3 + _verticalScrollPosition); if (verticalScrollBar){ _local5 = viewableHeight; }; } else { _local4 = scrollableWidth; _local5 = scrollableHeight; }; _local6 = getScrollableRect(); if ((((((((((((((_local2 == 0)) && ((_local3 == 0)))) && ((_local4 >= _local6.right)))) && ((_local5 >= _local6.bottom)))) && ((_local6.left >= 0)))) && ((_local6.top >= 0)))) && ((_forceClippingCount <= 0)))){ contentPane.scrollRect = null; contentPane.opaqueBackground = null; contentPane.cacheAsBitmap = false; } else { contentPane.scrollRect = new Rectangle(_local2, _local3, _local4, _local5); }; if (focusPane){ focusPane.scrollRect = contentPane.scrollRect; }; if (((((border) && ((border is RectangularBorder)))) && (RectangularBorder(border).hasBackgroundImage))){ RectangularBorder(border).adjustBackgroundImage(); }; } mx_internal function get createdComponents():Array{ return (_createdComponents); } public function get childDescriptors():Array{ return (_childDescriptors); } public function get verticalScrollPosition():Number{ if (!isNaN(verticalScrollPositionPending)){ return (verticalScrollPositionPending); }; return (_verticalScrollPosition); } mx_internal function set createdComponents(_arg1:Array):void{ _createdComponents = _arg1; } mx_internal function get childRepeaters():Array{ return (_childRepeaters); } public function get horizontalScrollPosition():Number{ if (!isNaN(horizontalScrollPositionPending)){ return (horizontalScrollPositionPending); }; return (_horizontalScrollPosition); } override public function get focusPane():Sprite{ return (_focusPane); } private function createOrDestroyScrollbars(_arg1:Boolean, _arg2:Boolean, _arg3:Boolean):Boolean{ var _local4:Boolean; var _local5:IFocusManager; var _local6:String; var _local7:String; var _local8:Graphics; _local4 = false; if (((((_arg1) || (_arg2))) || (_arg3))){ createContentPane(); }; if (_arg1){ if (!horizontalScrollBar){ horizontalScrollBar = new HScrollBar(); horizontalScrollBar.name = "horizontalScrollBar"; _local6 = getStyle("horizontalScrollBarStyleName"); if (((_local6) && ((horizontalScrollBar is ISimpleStyleClient)))){ ISimpleStyleClient(horizontalScrollBar).styleName = _local6; }; rawChildren.addChild(DisplayObject(horizontalScrollBar)); horizontalScrollBar.lineScrollSize = horizontalLineScrollSize; horizontalScrollBar.pageScrollSize = horizontalPageScrollSize; horizontalScrollBar.addEventListener(ScrollEvent.SCROLL, horizontalScrollBar_scrollHandler); horizontalScrollBar.enabled = enabled; if ((horizontalScrollBar is IInvalidating)){ IInvalidating(horizontalScrollBar).validateNow(); }; invalidateDisplayList(); invalidateViewMetricsAndPadding(); _local4 = true; if (!verticalScrollBar){ addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); }; }; } else { if (horizontalScrollBar){ horizontalScrollBar.removeEventListener(ScrollEvent.SCROLL, horizontalScrollBar_scrollHandler); rawChildren.removeChild(DisplayObject(horizontalScrollBar)); horizontalScrollBar = null; viewableWidth = (scrollableWidth = 0); if (_horizontalScrollPosition != 0){ _horizontalScrollPosition = 0; scrollPositionChanged = true; }; invalidateDisplayList(); invalidateViewMetricsAndPadding(); _local4 = true; _local5 = focusManager; if (((!(verticalScrollBar)) && (((!(_local5)) || (!((_local5.getFocus() == this))))))){ removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); }; }; }; if (_arg2){ if (!verticalScrollBar){ verticalScrollBar = new VScrollBar(); verticalScrollBar.name = "verticalScrollBar"; _local7 = getStyle("verticalScrollBarStyleName"); if (((_local7) && ((verticalScrollBar is ISimpleStyleClient)))){ ISimpleStyleClient(verticalScrollBar).styleName = _local7; }; rawChildren.addChild(DisplayObject(verticalScrollBar)); verticalScrollBar.lineScrollSize = verticalLineScrollSize; verticalScrollBar.pageScrollSize = verticalPageScrollSize; verticalScrollBar.addEventListener(ScrollEvent.SCROLL, verticalScrollBar_scrollHandler); verticalScrollBar.enabled = enabled; if ((verticalScrollBar is IInvalidating)){ IInvalidating(verticalScrollBar).validateNow(); }; invalidateDisplayList(); invalidateViewMetricsAndPadding(); _local4 = true; if (!horizontalScrollBar){ addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); }; addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); }; } else { if (verticalScrollBar){ verticalScrollBar.removeEventListener(ScrollEvent.SCROLL, verticalScrollBar_scrollHandler); rawChildren.removeChild(DisplayObject(verticalScrollBar)); verticalScrollBar = null; viewableHeight = (scrollableHeight = 0); if (_verticalScrollPosition != 0){ _verticalScrollPosition = 0; scrollPositionChanged = true; }; invalidateDisplayList(); invalidateViewMetricsAndPadding(); _local4 = true; _local5 = focusManager; if (((!(horizontalScrollBar)) && (((!(_local5)) || (!((_local5.getFocus() == this))))))){ removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); }; removeEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); }; }; if (((horizontalScrollBar) && (verticalScrollBar))){ if (!whiteBox){ whiteBox = new FlexShape(); whiteBox.name = "whiteBox"; _local8 = whiteBox.graphics; _local8.beginFill(0xFFFFFF); _local8.drawRect(0, 0, verticalScrollBar.minWidth, horizontalScrollBar.minHeight); _local8.endFill(); rawChildren.addChild(whiteBox); }; } else { if (whiteBox){ rawChildren.removeChild(whiteBox); whiteBox = null; }; }; return (_local4); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:Object; var _local3:String; var _local4:Number; _local2 = getFocus(); if ((_local2 is TextField)){ return; }; if (verticalScrollBar){ _local3 = ScrollEventDirection.VERTICAL; _local4 = verticalScrollPosition; switch (_arg1.keyCode){ case Keyboard.DOWN: verticalScrollPosition = (verticalScrollPosition + verticalLineScrollSize); dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.LINE_DOWN); _arg1.stopPropagation(); break; case Keyboard.UP: verticalScrollPosition = (verticalScrollPosition - verticalLineScrollSize); dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.LINE_UP); _arg1.stopPropagation(); break; case Keyboard.PAGE_UP: verticalScrollPosition = (verticalScrollPosition - verticalPageScrollSize); dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.PAGE_UP); _arg1.stopPropagation(); break; case Keyboard.PAGE_DOWN: verticalScrollPosition = (verticalScrollPosition + verticalPageScrollSize); dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.PAGE_DOWN); _arg1.stopPropagation(); break; case Keyboard.HOME: verticalScrollPosition = verticalScrollBar.minScrollPosition; dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.AT_TOP); _arg1.stopPropagation(); break; case Keyboard.END: verticalScrollPosition = verticalScrollBar.maxScrollPosition; dispatchScrollEvent(_local3, _local4, verticalScrollPosition, ScrollEventDetail.AT_BOTTOM); _arg1.stopPropagation(); break; }; }; if (horizontalScrollBar){ _local3 = ScrollEventDirection.HORIZONTAL; _local4 = horizontalScrollPosition; switch (_arg1.keyCode){ case Keyboard.LEFT: horizontalScrollPosition = (horizontalScrollPosition - horizontalLineScrollSize); dispatchScrollEvent(_local3, _local4, horizontalScrollPosition, ScrollEventDetail.LINE_LEFT); _arg1.stopPropagation(); break; case Keyboard.RIGHT: horizontalScrollPosition = (horizontalScrollPosition + horizontalLineScrollSize); dispatchScrollEvent(_local3, _local4, horizontalScrollPosition, ScrollEventDetail.LINE_RIGHT); _arg1.stopPropagation(); break; }; }; } protected function createBorder():void{ var _local1:Class; if (((!(border)) && (isBorderNeeded()))){ _local1 = getStyle("borderSkin"); border = new (_local1); border.name = "border"; if ((border is IUIComponent)){ IUIComponent(border).enabled = enabled; }; if ((border is ISimpleStyleClient)){ ISimpleStyleClient(border).styleName = this; }; rawChildren.addChildAt(DisplayObject(border), 0); invalidateDisplayList(); }; } public function set verticalScrollPosition(_arg1:Number):void{ if (_verticalScrollPosition == _arg1){ return; }; _verticalScrollPosition = _arg1; scrollPositionChanged = true; if (!initialized){ verticalScrollPositionPending = _arg1; }; invalidateDisplayList(); dispatchEvent(new Event("viewChanged")); } private function horizontalScrollBar_scrollHandler(_arg1:Event):void{ var _local2:Number; if ((_arg1 is ScrollEvent)){ _local2 = horizontalScrollPosition; horizontalScrollPosition = horizontalScrollBar.scrollPosition; dispatchScrollEvent(ScrollEventDirection.HORIZONTAL, _local2, horizontalScrollPosition, ScrollEvent(_arg1).detail); }; } public function get icon():Class{ return (_icon); } public function set horizontalScrollBar(_arg1:ScrollBar):void{ _horizontalScrollBar = _arg1; } mx_internal function set childRepeaters(_arg1:Array):void{ _childRepeaters = _arg1; } public function createComponentFromDescriptor(_arg1:ComponentDescriptor, _arg2:Boolean):IFlexDisplayObject{ var _local3:UIComponentDescriptor; var _local4:Object; var _local5:Class; var _local6:IDeferredInstantiationUIComponent; var _local7:String; var _local8:Object; var _local9:Array; var _local10:IRepeaterClient; var _local11:IStyleClient; var _local12:String; var _local13:String; _local3 = UIComponentDescriptor(_arg1); _local4 = _local3.properties; if (((((((!((numChildrenBefore == 0))) || (!((numChildrenCreated == -1))))) && ((_local3.instanceIndices == null)))) && (hasChildMatchingDescriptor(_local3)))){ return (null); }; UIComponentGlobals.layoutManager.usePhasedInstantiation = true; _local5 = _local3.type; _local6 = new (_local5); _local6.id = _local3.id; if (((_local6.id) && (!((_local6.id == ""))))){ _local6.name = _local6.id; }; _local6.descriptor = _local3; if (((_local4.childDescriptors) && ((_local6 is Container)))){ Container(_local6)._childDescriptors = _local4.childDescriptors; delete _local4.childDescriptors; }; for (_local7 in _local4) { _local6[_local7] = _local4[_local7]; }; if ((_local6 is Container)){ Container(_local6).recursionFlag = _arg2; }; if (_local3.instanceIndices){ if ((_local6 is IRepeaterClient)){ _local10 = IRepeaterClient(_local6); _local10.instanceIndices = _local3.instanceIndices; _local10.repeaters = _local3.repeaters; _local10.repeaterIndices = _local3.repeaterIndices; }; }; if ((_local6 is IStyleClient)){ _local11 = IStyleClient(_local6); if (_local3.stylesFactory != null){ if (!_local11.styleDeclaration){ _local11.styleDeclaration = new CSSStyleDeclaration(); }; _local11.styleDeclaration.factory = _local3.stylesFactory; }; }; _local8 = _local3.events; if (_local8){ for (_local12 in _local8) { _local13 = _local8[_local12]; _local6.addEventListener(_local12, _local3.document[_local13]); }; }; _local9 = _local3.effects; if (_local9){ _local6.registerEffects(_local9); }; if ((_local6 is IRepeaterClient)){ IRepeaterClient(_local6).initializeRepeaterArrays(this); }; _local6.createReferenceOnParentDocument(IFlexDisplayObject(_local3.document)); if (!_local6.document){ _local6.document = _local3.document; }; if ((_local6 is IRepeater)){ if (!childRepeaters){ childRepeaters = []; }; childRepeaters.push(_local6); _local6.executeBindings(); IRepeater(_local6).initializeRepeater(this, _arg2); } else { addChild(DisplayObject(_local6)); _local6.executeBindings(); if ((((creationPolicy == ContainerCreationPolicy.QUEUED)) || ((creationPolicy == ContainerCreationPolicy.NONE)))){ _local6.addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); }; }; return (_local6); } mx_internal function get usePadding():Boolean{ return (true); } public function set horizontalScrollPosition(_arg1:Number):void{ if (_horizontalScrollPosition == _arg1){ return; }; _horizontalScrollPosition = _arg1; scrollPositionChanged = true; if (!initialized){ horizontalScrollPositionPending = _arg1; }; invalidateDisplayList(); dispatchEvent(new Event("viewChanged")); } override public function set focusPane(_arg1:Sprite):void{ var _local2:Boolean; var _local3:Boolean; _local2 = invalidateSizeFlag; _local3 = invalidateDisplayListFlag; invalidateSizeFlag = true; invalidateDisplayListFlag = true; if (_arg1){ rawChildren.addChild(_arg1); _arg1.x = 0; _arg1.y = 0; _arg1.scrollRect = null; _focusPane = _arg1; } else { rawChildren.removeChild(_focusPane); _focusPane = null; }; if (((_arg1) && (contentPane))){ _arg1.x = contentPane.x; _arg1.y = contentPane.y; _arg1.scrollRect = contentPane.scrollRect; }; invalidateSizeFlag = _local2; invalidateDisplayListFlag = _local3; } public function get horizontalScrollPolicy():String{ return (_horizontalScrollPolicy); } public function get horizontalLineScrollSize():Number{ return (_horizontalLineScrollSize); } private function updateBackgroundImageRect():void{ var _local1:RectangularBorder; var _local2:EdgeMetrics; var _local3:Number; var _local4:Number; _local1 = (border as RectangularBorder); if (!_local1){ return; }; if ((((viewableWidth == 0)) && ((viewableHeight == 0)))){ _local1.backgroundImageRect = null; return; }; _local2 = viewMetrics; _local3 = (viewableWidth) ? viewableWidth : ((unscaledWidth - _local2.left) - _local2.right); _local4 = (viewableHeight) ? viewableHeight : ((unscaledHeight - _local2.top) - _local2.bottom); if (getStyle("backgroundAttachment") == "fixed"){ _local1.backgroundImageRect = new Rectangle(_local2.left, _local2.top, _local3, _local4); } else { _local1.backgroundImageRect = new Rectangle(_local2.left, _local2.top, Math.max(scrollableWidth, _local3), Math.max(scrollableHeight, _local4)); }; } mx_internal function invalidateViewMetricsAndPadding():void{ _viewMetricsAndPadding = null; } public function get verticalLineScrollSize():Number{ return (_verticalLineScrollSize); } private function mouseWheelHandler(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; var _local4:Number; var _local5:Number; if (verticalScrollBar){ _arg1.stopPropagation(); _local2 = ((_arg1.delta <= 0)) ? 1 : -1; _local3 = (verticalScrollBar) ? verticalScrollBar.lineScrollSize : 1; _local4 = Math.max(Math.abs(_arg1.delta), _local3); _local5 = verticalScrollPosition; verticalScrollPosition = (verticalScrollPosition + ((3 * _local4) * _local2)); dispatchScrollEvent(ScrollEventDirection.VERTICAL, _local5, verticalScrollPosition, ((_arg1.delta <= 0)) ? ScrollEventDetail.LINE_UP : ScrollEventDetail.LINE_DOWN); }; } mx_internal function createContentPane():void{ var _local1:int; var _local2:Sprite; var _local3:int; var _local4:int; var _local5:IUIComponent; if (contentPane){ return; }; creatingContentPane = true; _local1 = numChildren; _local2 = new FlexSprite(); _local2.name = "contentPane"; _local2.tabChildren = true; if (border){ _local3 = (rawChildren.getChildIndex(DisplayObject(border)) + 1); if ((((border is RectangularBorder)) && (RectangularBorder(border).hasBackgroundImage))){ _local3++; }; } else { _local3 = 0; }; rawChildren.addChildAt(_local2, _local3); _local4 = 0; while (_local4 < _local1) { _local5 = IUIComponent(super.getChildAt(_firstChildIndex)); _local2.addChild(DisplayObject(_local5)); _local5.parentChanged(_local2); _numChildren--; _local4++; }; contentPane = _local2; creatingContentPane = false; contentPane.visible = true; } public function get creationPolicy():String{ return (_creationPolicy); } public function get defaultButton():IFlexDisplayObject{ return (_defaultButton); } public function get verticalScrollPolicy():String{ return (_verticalScrollPolicy); } private function verticalScrollBar_scrollHandler(_arg1:Event):void{ var _local2:Number; if ((_arg1 is ScrollEvent)){ _local2 = verticalScrollPosition; verticalScrollPosition = verticalScrollBar.scrollPosition; dispatchScrollEvent(ScrollEventDirection.VERTICAL, _local2, verticalScrollPosition, ScrollEvent(_arg1).detail); }; } mx_internal function rawChildren_removeChild(_arg1:DisplayObject):DisplayObject{ var _local2:int; _local2 = rawChildren_getChildIndex(_arg1); return (rawChildren_removeChildAt(_local2)); } final mx_internal function get $numChildren():int{ return (super.numChildren); } override public function addChild(_arg1:DisplayObject):DisplayObject{ return (addChildAt(_arg1, numChildren)); } override public function getChildIndex(_arg1:DisplayObject):int{ var _local2:int; if (contentPane){ return (contentPane.getChildIndex(_arg1)); }; _local2 = (super.getChildIndex(_arg1) - _firstChildIndex); return (_local2); } public function set icon(_arg1:Class):void{ _icon = _arg1; dispatchEvent(new Event("iconChanged")); } mx_internal function rawChildren_contains(_arg1:DisplayObject):Boolean{ return (super.contains(_arg1)); } override public function executeBindings(_arg1:Boolean=false):void{ var _local2:Object; _local2 = (((descriptor) && (descriptor.document))) ? descriptor.document : parentDocument; BindingManager.executeBindings(_local2, id, this); if (_arg1){ executeChildBindings(_arg1); }; } mx_internal function rawChildren_getChildIndex(_arg1:DisplayObject):int{ return (super.getChildIndex(_arg1)); } public function set verticalLineScrollSize(_arg1:Number):void{ scrollPropertiesChanged = true; _verticalLineScrollSize = _arg1; invalidateDisplayList(); dispatchEvent(new Event("verticalLineScrollSizeChanged")); } mx_internal function getScrollableRect():Rectangle{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:int; var _local6:int; var _local7:EdgeMetrics; var _local8:Rectangle; var _local9:DisplayObject; _local1 = 0; _local2 = 0; _local3 = 0; _local4 = 0; _local5 = numChildren; _local6 = 0; while (_local6 < _local5) { _local9 = getChildAt(_local6); if ((((_local9 is IUIComponent)) && (!(IUIComponent(_local9).includeInLayout)))){ } else { _local1 = Math.min(_local1, _local9.x); _local2 = Math.min(_local2, _local9.y); if (!isNaN(_local9.width)){ _local3 = Math.max(_local3, (_local9.x + _local9.width)); }; if (!isNaN(_local9.height)){ _local4 = Math.max(_local4, (_local9.y + _local9.height)); }; }; _local6++; }; _local7 = viewMetrics; _local8 = new Rectangle(); _local8.left = _local1; _local8.top = _local2; _local8.right = _local3; _local8.bottom = _local4; if (usePadding){ _local8.right = (_local8.right + getStyle("paddingRight")); _local8.bottom = (_local8.bottom + getStyle("paddingBottom")); }; return (_local8); } mx_internal function get numRepeaters():int{ return ((childRepeaters) ? childRepeaters.length : 0); } public function get creationIndex():int{ return (_creationIndex); } override mx_internal function childAdded(_arg1:DisplayObject):void{ var _local2:ChildExistenceChangedEvent; dispatchEvent(new Event("childrenChanged")); _local2 = new ChildExistenceChangedEvent(ChildExistenceChangedEvent.CHILD_ADD); _local2.relatedObject = _arg1; dispatchEvent(_local2); _arg1.dispatchEvent(new FlexEvent(FlexEvent.ADD)); super.childAdded(_arg1); } public function set horizontalScrollPolicy(_arg1:String):void{ if (_horizontalScrollPolicy != _arg1){ _horizontalScrollPolicy = _arg1; invalidateDisplayList(); dispatchEvent(new Event("horizontalScrollPolicyChanged")); }; } override public function removeChildAt(_arg1:int):DisplayObject{ return (removeChild(getChildAt(_arg1))); } override mx_internal function fillOverlay(_arg1:UIComponent, _arg2:uint, _arg3:RoundedRectangle=null):void{ var _local4:EdgeMetrics; var _local5:Number; var _local6:Graphics; _local4 = viewMetrics; _local5 = 0; if (!_arg3){ _arg3 = new RoundedRectangle(_local4.left, _local4.top, ((unscaledWidth - _local4.right) - _local4.left), ((unscaledHeight - _local4.bottom) - _local4.top), _local5); }; if (((((((((isNaN(_arg3.x)) || (isNaN(_arg3.y)))) || (isNaN(_arg3.width)))) || (isNaN(_arg3.height)))) || (isNaN(_arg3.cornerRadius)))){ return; }; _local6 = _arg1.graphics; _local6.clear(); _local6.beginFill(_arg2); _local6.drawRoundRect(_arg3.x, _arg3.y, _arg3.width, _arg3.height, (_arg3.cornerRadius * 2), (_arg3.cornerRadius * 2)); _local6.endFill(); } public function createComponentsFromDescriptors(_arg1:Boolean=true):void{ var _local2:int; var _local3:int; var _local4:IFlexDisplayObject; numChildrenBefore = numChildren; createdComponents = []; _local2 = (childDescriptors) ? childDescriptors.length : 0; _local3 = 0; while (_local3 < _local2) { _local4 = createComponentFromDescriptor(childDescriptors[_local3], _arg1); createdComponents.push(_local4); _local3++; }; if ((((creationPolicy == ContainerCreationPolicy.QUEUED)) || ((creationPolicy == ContainerCreationPolicy.NONE)))){ UIComponentGlobals.layoutManager.usePhasedInstantiation = false; }; numChildrenCreated = (numChildren - numChildrenBefore); processedDescriptors = true; } override public function globalToContent(_arg1:Point):Point{ if (contentPane){ return (contentPane.globalToLocal(_arg1)); }; return (globalToLocal(_arg1)); } override mx_internal function removingChild(_arg1:DisplayObject):void{ var _local2:ChildExistenceChangedEvent; super.removingChild(_arg1); _arg1.dispatchEvent(new FlexEvent(FlexEvent.REMOVE)); _local2 = new ChildExistenceChangedEvent(ChildExistenceChangedEvent.CHILD_REMOVE); _local2.relatedObject = _arg1; dispatchEvent(_local2); } private function isBorderNeeded():Boolean{ var _local1:Object; _local1 = getStyle("borderStyle"); if (_local1){ if (((!((_local1 == "none"))) || ((((_local1 == "none")) && (getStyle("mouseShield")))))){ return (true); }; }; _local1 = getStyle("backgroundColor"); if (((!((_local1 === null))) && (!((_local1 === ""))))){ return (true); }; _local1 = getStyle("backgroundImage"); return (((!((_local1 == null))) && (!((_local1 == ""))))); } mx_internal function rawChildren_removeChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject; _local2 = super.getChildAt(_arg1); super.removingChild(_local2); $removeChildAt(_arg1); super.childRemoved(_local2); if ((((_firstChildIndex < _arg1)) && ((_arg1 < (_firstChildIndex + _numChildren))))){ _numChildren--; } else { if ((((_numChildren == 0)) || ((_arg1 < _firstChildIndex)))){ _firstChildIndex--; }; }; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("childrenChanged")); return (_local2); } public function get verticalPageScrollSize():Number{ return (_verticalPageScrollSize); } override public function validateDisplayList():void{ var _local1:EdgeMetrics; var _local2:Number; var _local3:Number; var _local4:Object; var _local5:Number; var _local6:Number; var _local7:Number; if (((_autoLayout) || (forceLayout))){ doingLayout = true; super.validateDisplayList(); doingLayout = false; } else { layoutChrome(unscaledWidth, unscaledHeight); }; invalidateDisplayListFlag = true; if (createContentPaneAndScrollbarsIfNeeded()){ if (((_autoLayout) || (forceLayout))){ doingLayout = true; super.validateDisplayList(); doingLayout = false; }; createContentPaneAndScrollbarsIfNeeded(); }; if (contentPane){ _local1 = viewMetrics; if (overlay){ overlay.x = 0; overlay.y = 0; overlay.width = unscaledWidth; overlay.height = unscaledHeight; }; if (((horizontalScrollBar) || (verticalScrollBar))){ if (((verticalScrollBar) && ((verticalScrollPolicy == ScrollPolicy.ON)))){ _local1.right = (_local1.right - verticalScrollBar.minWidth); }; if (((horizontalScrollBar) && ((horizontalScrollPolicy == ScrollPolicy.ON)))){ _local1.bottom = (_local1.bottom - horizontalScrollBar.minHeight); }; if (horizontalScrollBar){ _local2 = ((unscaledWidth - _local1.left) - _local1.right); if (verticalScrollBar){ _local2 = (_local2 - verticalScrollBar.minWidth); }; horizontalScrollBar.setActualSize(_local2, horizontalScrollBar.minHeight); horizontalScrollBar.move(_local1.left, ((unscaledHeight - _local1.bottom) - horizontalScrollBar.minHeight)); }; if (verticalScrollBar){ _local3 = ((unscaledHeight - _local1.top) - _local1.bottom); if (horizontalScrollBar){ _local3 = (_local3 - horizontalScrollBar.minHeight); }; verticalScrollBar.setActualSize(verticalScrollBar.minWidth, _local3); verticalScrollBar.move(((unscaledWidth - _local1.right) - verticalScrollBar.minWidth), _local1.top); }; if (whiteBox){ whiteBox.x = verticalScrollBar.x; whiteBox.y = horizontalScrollBar.y; }; }; contentPane.x = _local1.left; contentPane.y = _local1.top; if (focusPane){ focusPane.x = _local1.left; focusPane.y = _local1.top; }; scrollChildren(); }; invalidateDisplayListFlag = false; if (blocker){ _local1 = viewMetrics; _local4 = (enabled) ? null : getStyle("backgroundDisabledColor"); if (!_local4){ _local4 = getStyle("backgroundColor"); }; if ((((_local4 === null)) || (isNaN(Number(_local4))))){ _local4 = 0xFFFFFF; }; _local5 = getStyle("disabledOverlayAlpha"); if (isNaN(_local5)){ _local5 = 0.6; }; blocker.x = _local1.left; blocker.y = _local1.top; _local6 = (unscaledWidth - (_local1.left + _local1.right)); _local7 = (unscaledHeight - (_local1.top + _local1.bottom)); blocker.graphics.clear(); blocker.graphics.beginFill(uint(_local4), _local5); blocker.graphics.drawRect(0, 0, _local6, _local7); blocker.graphics.endFill(); rawChildren.setChildIndex(blocker, (rawChildren.numChildren - 1)); }; } public function set horizontalLineScrollSize(_arg1:Number):void{ scrollPropertiesChanged = true; _horizontalLineScrollSize = _arg1; invalidateDisplayList(); dispatchEvent(new Event("horizontalLineScrollSizeChanged")); } override public function contentToGlobal(_arg1:Point):Point{ if (contentPane){ return (contentPane.localToGlobal(_arg1)); }; return (localToGlobal(_arg1)); } mx_internal function set forceClipping(_arg1:Boolean):void{ if (_clipContent){ if (_arg1){ _forceClippingCount++; } else { _forceClippingCount--; }; createContentPane(); scrollChildren(); }; } public function get horizontalPageScrollSize():Number{ return (_horizontalPageScrollSize); } public function set defaultButton(_arg1:IFlexDisplayObject):void{ _defaultButton = _arg1; ContainerGlobals.focusedContainer = null; } private function hasChildMatchingDescriptor(_arg1:UIComponentDescriptor):Boolean{ var _local2:String; var _local3:int; var _local4:int; var _local5:IUIComponent; _local2 = _arg1.id; if (((!((_local2 == null))) && ((document[_local2] == null)))){ return (false); }; _local3 = numChildren; _local4 = 0; while (_local4 < _local3) { _local5 = IUIComponent(getChildAt(_local4)); if ((((_local5 is IDeferredInstantiationUIComponent)) && ((IDeferredInstantiationUIComponent(_local5).descriptor == _arg1)))){ return (true); }; _local4++; }; if (childRepeaters){ _local3 = childRepeaters.length; _local4 = 0; while (_local4 < _local3) { if (IDeferredInstantiationUIComponent(childRepeaters[_local4]).descriptor == _arg1){ return (true); }; _local4++; }; }; return (false); } override protected function commitProperties():void{ var _local1:String; super.commitProperties(); if (changedStyles){ _local1 = ((changedStyles == MULTIPLE_PROPERTIES)) ? null : changedStyles; super.notifyStyleChangeInChildren(_local1, true); changedStyles = null; }; createOrDestroyBlocker(); } override public function finishPrint(_arg1:Object, _arg2:IFlexDisplayObject):void{ if (_arg1){ contentPane.scrollRect = Rectangle(_arg1); }; super.finishPrint(_arg1, _arg2); } public function get autoLayout():Boolean{ return (_autoLayout); } public function get maxHorizontalScrollPosition():Number{ return ((horizontalScrollBar) ? horizontalScrollBar.maxScrollPosition : Math.max((scrollableWidth - viewableWidth), 0)); } public function set creationPolicy(_arg1:String):void{ _creationPolicy = _arg1; setActualCreationPolicies(_arg1); } public function set verticalScrollPolicy(_arg1:String):void{ if (_verticalScrollPolicy != _arg1){ _verticalScrollPolicy = _arg1; invalidateDisplayList(); dispatchEvent(new Event("verticalScrollPolicyChanged")); }; } override public function prepareToPrint(_arg1:IFlexDisplayObject):Object{ var _local2:Rectangle; _local2 = (((contentPane) && (contentPane.scrollRect))) ? contentPane.scrollRect : null; if (_local2){ contentPane.scrollRect = null; }; super.prepareToPrint(_arg1); return (_local2); } public function set label(_arg1:String):void{ _label = _arg1; dispatchEvent(new Event("labelChanged")); } override protected function initializationComplete():void{ } override mx_internal function addingChild(_arg1:DisplayObject):void{ var _local2:IUIComponent; _local2 = IUIComponent(_arg1); super.addingChild(_arg1); invalidateSize(); invalidateDisplayList(); if (!contentPane){ if (_numChildren == 0){ _firstChildIndex = super.numChildren; }; _numChildren++; }; if (((contentPane) && (!(autoLayout)))){ forceLayout = true; UIComponentGlobals.layoutManager.addEventListener("updateComplete", layoutCompleteHandler, false, 0, true); }; } mx_internal function setActualCreationPolicies(_arg1:String):void{ var _local2:String; var _local3:int; var _local4:int; var _local5:IFlexDisplayObject; var _local6:Container; actualCreationPolicy = _arg1; _local2 = _arg1; if (_arg1 == ContainerCreationPolicy.QUEUED){ _local2 = ContainerCreationPolicy.AUTO; }; _local3 = numChildren; _local4 = 0; while (_local4 < _local3) { _local5 = IFlexDisplayObject(getChildAt(_local4)); if ((_local5 is Container)){ _local6 = Container(_local5); if (_local6.creationPolicy == null){ _local6.setActualCreationPolicies(_local2); }; }; _local4++; }; } override public function set doubleClickEnabled(_arg1:Boolean):void{ var _local2:int; var _local3:int; var _local4:InteractiveObject; super.doubleClickEnabled = _arg1; if (contentPane){ _local2 = contentPane.numChildren; _local3 = 0; while (_local3 < _local2) { _local4 = (contentPane.getChildAt(_local3) as InteractiveObject); if (_local4){ _local4.doubleClickEnabled = _arg1; }; _local3++; }; }; } override public function contains(_arg1:DisplayObject):Boolean{ if (contentPane){ return (contentPane.contains(_arg1)); }; return (super.contains(_arg1)); } public function set clipContent(_arg1:Boolean):void{ if (_clipContent != _arg1){ _clipContent = _arg1; invalidateDisplayList(); }; } override public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ var _local3:int; var _local4:int; var _local5:ISimpleStyleClient; _local3 = super.numChildren; _local4 = 0; while (_local4 < _local3) { if (((((contentPane) || ((_local4 < _firstChildIndex)))) || ((_local4 >= (_firstChildIndex + _numChildren))))){ _local5 = (super.getChildAt(_local4) as ISimpleStyleClient); if (_local5){ _local5.styleChanged(_arg1); if ((_local5 is IStyleClient)){ IStyleClient(_local5).notifyStyleChangeInChildren(_arg1, _arg2); }; }; }; _local4++; }; if (_arg2){ changedStyles = (((!((changedStyles == null))) || ((_arg1 == null)))) ? MULTIPLE_PROPERTIES : _arg1; invalidateProperties(); }; } override public function get contentMouseX():Number{ if (contentPane){ return (contentPane.mouseX); }; return (super.contentMouseX); } override public function get contentMouseY():Number{ if (contentPane){ return (contentPane.mouseY); }; return (super.contentMouseY); } override public function validateSize(_arg1:Boolean=false):void{ var _local2:int; var _local3:int; var _local4:DisplayObject; if ((((autoLayout == false)) && ((forceLayout == false)))){ if (_arg1){ _local2 = super.numChildren; _local3 = 0; while (_local3 < _local2) { _local4 = super.getChildAt(_local3); if ((_local4 is ILayoutManagerClient)){ ILayoutManagerClient(_local4).validateSize(true); }; _local3++; }; }; adjustSizesForScaleChanges(); } else { super.validateSize(_arg1); }; } override public function getChildAt(_arg1:int):DisplayObject{ if (contentPane){ return (contentPane.getChildAt(_arg1)); }; return (super.getChildAt((_firstChildIndex + _arg1))); } protected function layoutChrome(_arg1:Number, _arg2:Number):void{ if (border){ updateBackgroundImageRect(); border.move(0, 0); border.setActualSize(_arg1, _arg2); }; } override public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ super.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); if ((((((((((((((((_arg1 == MouseEvent.CLICK)) || ((_arg1 == MouseEvent.DOUBLE_CLICK)))) || ((_arg1 == MouseEvent.MOUSE_DOWN)))) || ((_arg1 == MouseEvent.MOUSE_MOVE)))) || ((_arg1 == MouseEvent.MOUSE_OVER)))) || ((_arg1 == MouseEvent.MOUSE_OUT)))) || ((_arg1 == MouseEvent.MOUSE_UP)))) || ((_arg1 == MouseEvent.MOUSE_WHEEL)))){ if ((((mouseEventReferenceCount < 2147483647)) && ((mouseEventReferenceCount++ == 0)))){ setStyle("mouseShield", true); setStyle("mouseShieldChildren", true); }; }; } override protected function attachOverlay():void{ rawChildren_addChild(overlay); } override public function localToContent(_arg1:Point):Point{ if (!contentPane){ return (_arg1); }; _arg1 = localToGlobal(_arg1); return (globalToContent(_arg1)); } public function get rawChildren():IChildList{ if (!_rawChildren){ _rawChildren = new ContainerRawChildrenList(this); }; return (_rawChildren); } public function get viewMetrics():EdgeMetrics{ var _local1:EdgeMetrics; var _local2:Boolean; var _local3:Boolean; _local1 = borderMetrics; _local2 = ((!((verticalScrollBar == null))) && (((doingLayout) || ((verticalScrollPolicy == ScrollPolicy.ON))))); _local3 = ((!((horizontalScrollBar == null))) && (((doingLayout) || ((horizontalScrollPolicy == ScrollPolicy.ON))))); if (((!(_local2)) && (!(_local3)))){ return (_local1); }; if (!_viewMetrics){ _viewMetrics = _local1.clone(); } else { _viewMetrics.left = _local1.left; _viewMetrics.right = _local1.right; _viewMetrics.top = _local1.top; _viewMetrics.bottom = _local1.bottom; }; if (_local2){ _viewMetrics.right = (_viewMetrics.right + verticalScrollBar.minWidth); }; if (_local3){ _viewMetrics.bottom = (_viewMetrics.bottom + horizontalScrollBar.minHeight); }; return (_viewMetrics); } public function set creationIndex(_arg1:int):void{ _creationIndex = _arg1; } public function executeChildBindings(_arg1:Boolean):void{ var _local2:int; var _local3:int; var _local4:IUIComponent; _local2 = numChildren; _local3 = 0; while (_local3 < _local2) { _local4 = IUIComponent(getChildAt(_local3)); if ((_local4 is IDeferredInstantiationUIComponent)){ IDeferredInstantiationUIComponent(_local4).executeBindings(_arg1); }; _local3++; }; } public function set verticalScrollBar(_arg1:ScrollBar):void{ _verticalScrollBar = _arg1; } public function get horizontalScrollBar():ScrollBar{ return (_horizontalScrollBar); } private function createOrDestroyBlocker():void{ var _local1:DisplayObject; var _local2:ISystemManager; if (enabled){ if (blocker){ rawChildren.removeChild(blocker); blocker = null; }; } else { if (!blocker){ blocker = new FlexSprite(); blocker.name = "blocker"; blocker.mouseEnabled = true; rawChildren.addChild(blocker); blocker.addEventListener(MouseEvent.CLICK, blocker_clickHandler); _local1 = (focusManager) ? DisplayObject(focusManager.getFocus()) : null; while (_local1) { if (_local1 == this){ _local2 = systemManager; if (((_local2) && (_local2.stage))){ _local2.stage.focus = null; }; break; }; _local1 = _local1.parent; }; }; }; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; if (horizontalScrollBar){ horizontalScrollBar.enabled = _arg1; }; if (verticalScrollBar){ verticalScrollBar.enabled = _arg1; }; invalidateProperties(); } override public function getChildByName(_arg1:String):DisplayObject{ var _local2:DisplayObject; var _local3:int; if (contentPane){ return (contentPane.getChildByName(_arg1)); }; _local2 = super.getChildByName(_arg1); if (!_local2){ return (null); }; _local3 = (super.getChildIndex(_local2) - _firstChildIndex); if ((((_local3 < 0)) || ((_local3 >= _numChildren)))){ return (null); }; return (_local2); } override public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ addingChild(_arg1); if (contentPane){ contentPane.addChildAt(_arg1, _arg2); } else { $addChildAt(_arg1, (_firstChildIndex + _arg2)); }; childAdded(_arg1); return (_arg1); } override public function get baselinePosition():Number{ var _local1:IUIComponent; if ((((getStyle("verticalAlign") == "top")) && ((numChildren > 0)))){ _local1 = (getChildAt(0) as IUIComponent); if (_local1){ return ((_local1.y + _local1.baselinePosition)); }; }; return (super.baselinePosition); } private function blocker_clickHandler(_arg1:Event):void{ _arg1.stopPropagation(); } public function get maxVerticalScrollPosition():Number{ return ((verticalScrollBar) ? verticalScrollBar.maxScrollPosition : Math.max((scrollableHeight - viewableHeight), 0)); } public function set verticalPageScrollSize(_arg1:Number):void{ scrollPropertiesChanged = true; _verticalPageScrollSize = _arg1; invalidateDisplayList(); dispatchEvent(new Event("verticalPageScrollSizeChanged")); } private function creationCompleteHandler(_arg1:FlexEvent):void{ numChildrenCreated--; if (numChildrenCreated <= 0){ dispatchEvent(new FlexEvent("childrenCreationComplete")); }; } override public function contentToLocal(_arg1:Point):Point{ if (!contentPane){ return (_arg1); }; _arg1 = contentToGlobal(_arg1); return (globalToLocal(_arg1)); } override public function removeChild(_arg1:DisplayObject):DisplayObject{ removingChild(_arg1); if (contentPane){ contentPane.removeChild(_arg1); } else { $removeChild(_arg1); }; childRemoved(_arg1); return (_arg1); } private function dispatchScrollEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String):void{ var _local5:ScrollEvent; _local5 = new ScrollEvent(ScrollEvent.SCROLL); _local5.direction = _arg1; _local5.position = _arg3; _local5.delta = (_arg3 - _arg2); _local5.detail = _arg4; dispatchEvent(_local5); } public function get label():String{ return (_label); } mx_internal function setDocumentDescriptor(_arg1:UIComponentDescriptor):void{ if (processedDescriptors){ return; }; if (((_documentDescriptor) && (_documentDescriptor.properties.childDescriptors))){ if (_arg1.properties.childDescriptors){ throw (new Error(resourceMultipleChildSets_ClassAndSubclass)); }; } else { _documentDescriptor = _arg1; _documentDescriptor.document = this; }; } override public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3:int; var _local4:int; var _local5:int; var _local6:IndexChangedEvent; _local4 = _local3; _local5 = _arg2; if (contentPane){ contentPane.setChildIndex(_arg1, _arg2); if (((_autoLayout) || (forceLayout))){ invalidateDisplayList(); }; } else { _local3 = super.getChildIndex(_arg1); _arg2 = (_arg2 + _firstChildIndex); if (_arg2 == _local3){ return; }; super.setChildIndex(_arg1, _arg2); invalidateDisplayList(); _local4 = (_local3 - _firstChildIndex); _local5 = (_arg2 - _firstChildIndex); }; _local6 = new IndexChangedEvent(IndexChangedEvent.CHILD_INDEX_CHANGE); _local6.relatedObject = _arg1; _local6.oldIndex = _local4; _local6.newIndex = _local5; dispatchEvent(_local6); dispatchEvent(new Event("childrenChanged")); } override public function regenerateStyleCache(_arg1:Boolean):void{ var _local2:int; var _local3:int; var _local4:DisplayObject; super.regenerateStyleCache(_arg1); if (contentPane){ _local2 = contentPane.numChildren; _local3 = 0; while (_local3 < _local2) { _local4 = getChildAt(_local3); if (((_arg1) && ((_local4 is UIComponent)))){ if (UIComponent(_local4).inheritingStyles != UIComponent.STYLE_UNINITIALIZED){ UIComponent(_local4).regenerateStyleCache(_arg1); }; } else { if ((((_local4 is UITextField)) && (UITextField(_local4).inheritingStyles))){ StyleProtoChain.initTextField(UITextField(_local4)); }; }; _local3++; }; }; } override protected function createChildren():void{ var _local1:Application; super.createChildren(); createBorder(); createOrDestroyScrollbars((horizontalScrollPolicy == ScrollPolicy.ON), (verticalScrollPolicy == ScrollPolicy.ON), (((horizontalScrollPolicy == ScrollPolicy.ON)) || ((verticalScrollPolicy == ScrollPolicy.ON)))); if (creationPolicy != null){ actualCreationPolicy = creationPolicy; } else { if ((parent is Container)){ if (Container(parent).actualCreationPolicy == ContainerCreationPolicy.QUEUED){ actualCreationPolicy = ContainerCreationPolicy.AUTO; } else { actualCreationPolicy = Container(parent).actualCreationPolicy; }; }; }; if (actualCreationPolicy == ContainerCreationPolicy.NONE){ actualCreationPolicy = ContainerCreationPolicy.AUTO; } else { if (actualCreationPolicy == ContainerCreationPolicy.QUEUED){ _local1 = (parentApplication) ? Application(parentApplication) : Application(Application.application); _local1.addToCreationQueue(this, creationIndex, null, this); } else { if (recursionFlag){ createComponentsFromDescriptors(); }; }; }; if (autoLayout == false){ forceLayout = true; }; UIComponentGlobals.layoutManager.addEventListener("updateComplete", layoutCompleteHandler, false, 0, true); } mx_internal function set numChildrenCreated(_arg1:int):void{ _numChildrenCreated = _arg1; } public function get borderMetrics():EdgeMetrics{ return ((((border) && ((border is RectangularBorder)))) ? RectangularBorder(border).borderMetrics : EdgeMetrics.EMPTY); } public function get clipContent():Boolean{ return (_clipContent); } mx_internal function rawChildren_setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3:int; _local3 = super.getChildIndex(_arg1); super.setChildIndex(_arg1, _arg2); if ((((_local3 < _firstChildIndex)) && ((_arg2 >= _firstChildIndex)))){ _firstChildIndex--; } else { if ((((_local3 >= _firstChildIndex)) && ((_arg2 <= _firstChildIndex)))){ _firstChildIndex++; }; }; dispatchEvent(new Event("childrenChanged")); } mx_internal function rawChildren_getChildAt(_arg1:int):DisplayObject{ return (super.getChildAt(_arg1)); } public function get verticalScrollBar():ScrollBar{ return (_verticalScrollBar); } public function get viewMetricsAndPadding():EdgeMetrics{ var _local1:EdgeMetrics; var _local2:EdgeMetrics; if (((((_viewMetricsAndPadding) && (((!(horizontalScrollBar)) || ((horizontalScrollPolicy == ScrollPolicy.ON)))))) && (((!(verticalScrollBar)) || ((verticalScrollPolicy == ScrollPolicy.ON)))))){ return (_viewMetricsAndPadding); }; if (!_viewMetricsAndPadding){ _viewMetricsAndPadding = new EdgeMetrics(); }; _local1 = _viewMetricsAndPadding; _local2 = viewMetrics; _local1.left = (_local2.left + getStyle("paddingLeft")); _local1.right = (_local2.right + getStyle("paddingRight")); _local1.top = (_local2.top + getStyle("paddingTop")); _local1.bottom = (_local2.bottom + getStyle("paddingBottom")); return (_local1); } public function set horizontalPageScrollSize(_arg1:Number):void{ scrollPropertiesChanged = true; _horizontalPageScrollSize = _arg1; invalidateDisplayList(); dispatchEvent(new Event("horizontalPageScrollSizeChanged")); } private function layoutCompleteHandler(_arg1:Event):void{ var _local2:Boolean; UIComponentGlobals.layoutManager.removeEventListener("updateComplete", layoutCompleteHandler); forceLayout = false; _local2 = false; if (!isNaN(horizontalScrollPositionPending)){ if (horizontalScrollPositionPending < 0){ horizontalScrollPositionPending = 0; } else { if (horizontalScrollPositionPending > maxHorizontalScrollPosition){ horizontalScrollPositionPending = maxHorizontalScrollPosition; }; }; if (((horizontalScrollBar) && (!((horizontalScrollBar.scrollPosition == horizontalScrollPositionPending))))){ _horizontalScrollPosition = horizontalScrollPositionPending; horizontalScrollBar.scrollPosition = horizontalScrollPositionPending; _local2 = true; }; horizontalScrollPositionPending = NaN; }; if (!isNaN(verticalScrollPositionPending)){ if (verticalScrollPositionPending < 0){ verticalScrollPositionPending = 0; } else { if (verticalScrollPositionPending > maxVerticalScrollPosition){ verticalScrollPositionPending = maxVerticalScrollPosition; }; }; if (((verticalScrollBar) && (!((verticalScrollBar.scrollPosition == verticalScrollPositionPending))))){ _verticalScrollPosition = verticalScrollPositionPending; verticalScrollBar.scrollPosition = verticalScrollPositionPending; _local2 = true; }; verticalScrollPositionPending = NaN; }; if (_local2){ scrollChildren(); }; } override public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ super.removeEventListener(_arg1, _arg2, _arg3); if ((((((((((((((((_arg1 == MouseEvent.CLICK)) || ((_arg1 == MouseEvent.DOUBLE_CLICK)))) || ((_arg1 == MouseEvent.MOUSE_DOWN)))) || ((_arg1 == MouseEvent.MOUSE_MOVE)))) || ((_arg1 == MouseEvent.MOUSE_OVER)))) || ((_arg1 == MouseEvent.MOUSE_OUT)))) || ((_arg1 == MouseEvent.MOUSE_UP)))) || ((_arg1 == MouseEvent.MOUSE_WHEEL)))){ if ((((mouseEventReferenceCount > 0)) && ((--mouseEventReferenceCount == 0)))){ setStyle("mouseShield", false); setStyle("mouseShieldChildren", false); }; }; } public function set autoLayout(_arg1:Boolean):void{ var _local2:IInvalidating; _autoLayout = _arg1; if (_arg1){ invalidateSize(); invalidateDisplayList(); _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; }; } mx_internal function rawChildren_getChildByName(_arg1:String):DisplayObject{ return (super.getChildByName(_arg1)); } mx_internal function get numChildrenCreated():int{ return (_numChildrenCreated); } override public function initialize():void{ var _local1:*; if (((((isDocument) && (documentDescriptor))) && (!(processedDescriptors)))){ _local1 = documentDescriptor.properties; if (((_local1) && (_local1.childDescriptors))){ if (_childDescriptors){ throw (new Error(resourceMultipleChildSets_ClassAndInstance)); }; _childDescriptors = _local1.childDescriptors; }; }; super.initialize(); } mx_internal function rawChildren_addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ if ((((_firstChildIndex < _arg2)) && ((_arg2 < ((_firstChildIndex + $numChildren) + 1))))){ _numChildren++; } else { if (_arg2 <= _firstChildIndex){ _firstChildIndex++; }; }; super.addingChild(_arg1); $addChildAt(_arg1, _arg2); super.childAdded(_arg1); dispatchEvent(new Event("childrenChanged")); return (_arg1); } public function set data(_arg1:Object):void{ _data = _arg1; dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE)); invalidateDisplayList(); } private function createScrollbarsIfNeeded(_arg1:Rectangle):Boolean{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Boolean; var _local7:EdgeMetrics; var _local8:Boolean; var _local9:Boolean; var _local10:Boolean; var _local11:Boolean; _local2 = _arg1.right; _local3 = _arg1.bottom; _local4 = unscaledWidth; _local5 = unscaledHeight; _local6 = (((_arg1.left < 0)) || ((_arg1.top < 0))); _local7 = viewMetrics; if (scaleX != 1){ _local4 = (_local4 + (1 / Math.abs(scaleX))); }; if (scaleY != 1){ _local5 = (_local5 + (1 / Math.abs(scaleY))); }; _local4 = Math.floor(_local4); _local5 = Math.floor(_local5); _local2 = Math.floor(_local2); _local3 = Math.floor(_local3); if (((horizontalScrollBar) && (!((horizontalScrollPolicy == ScrollPolicy.ON))))){ _local5 = (_local5 - horizontalScrollBar.minHeight); }; if (((verticalScrollBar) && (!((verticalScrollPolicy == ScrollPolicy.ON))))){ _local4 = (_local4 - verticalScrollBar.minWidth); }; _local4 = (_local4 - (_local7.left + _local7.right)); _local5 = (_local5 - (_local7.top + _local7.bottom)); _local8 = (horizontalScrollPolicy == ScrollPolicy.ON); _local9 = (verticalScrollPolicy == ScrollPolicy.ON); _local10 = ((((((((((_local8) || (_local9))) || (_local6))) || (!((overlay == null))))) || ((_local7.left > 0)))) || ((_local7.top > 0))); if (_local4 < _local2){ _local10 = true; if ((((((horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((((unscaledHeight - _local7.top) - _local7.bottom) >= 18)))) && ((((unscaledWidth - _local7.left) - _local7.right) >= 32)))){ _local8 = true; }; }; if (_local5 < _local3){ _local10 = true; if ((((((verticalScrollPolicy == ScrollPolicy.AUTO)) && ((((unscaledWidth - _local7.left) - _local7.right) >= 18)))) && ((((unscaledHeight - _local7.top) - _local7.bottom) >= 32)))){ _local9 = true; }; }; if (((((((((((((((_local8) && (_local9))) && ((horizontalScrollPolicy == ScrollPolicy.AUTO)))) && ((verticalScrollPolicy == ScrollPolicy.AUTO)))) && (horizontalScrollBar))) && (verticalScrollBar))) && (((_local4 + verticalScrollBar.minWidth) >= _local2)))) && (((_local5 + horizontalScrollBar.minHeight) >= _local3)))){ _local9 = false; _local8 = _local9; } else { if (((((((((_local8) && (!(_local9)))) && (verticalScrollBar))) && ((horizontalScrollPolicy == ScrollPolicy.AUTO)))) && (((_local4 + verticalScrollBar.minWidth) >= _local2)))){ _local8 = false; }; }; _local11 = createOrDestroyScrollbars(_local8, _local9, _local10); if (((((!((scrollableWidth == _local2))) || (!((viewableWidth == _local4))))) || (_local11))){ if (horizontalScrollBar){ horizontalScrollBar.setScrollProperties((_local4 - borderMetrics.right), 0, (_local2 - _local4), horizontalPageScrollSize); scrollPositionChanged = true; }; viewableWidth = _local4; scrollableWidth = _local2; }; if (((((!((scrollableHeight == _local3))) || (!((viewableHeight == _local5))))) || (_local11))){ if (verticalScrollBar){ verticalScrollBar.setScrollProperties((_local5 - borderMetrics.bottom), 0, (_local3 - _local5), verticalPageScrollSize); scrollPositionChanged = true; }; viewableHeight = _local5; scrollableHeight = _local3; }; return (_local11); } public function getChildren():Array{ var _local1:Array; var _local2:int; var _local3:int; _local1 = []; _local2 = numChildren; _local3 = 0; while (_local3 < _local2) { _local1.push(getChildAt(_local3)); _local3++; }; return (_local1); } public function removeAllChildren():void{ while (numChildren > 0) { removeChildAt(0); }; } override mx_internal function childRemoved(_arg1:DisplayObject):void{ super.childRemoved(_arg1); invalidateSize(); invalidateDisplayList(); if (!contentPane){ _numChildren--; if (_numChildren == 0){ _firstChildIndex = super.numChildren; }; }; if (((contentPane) && (!(autoLayout)))){ forceLayout = true; UIComponentGlobals.layoutManager.addEventListener("updateComplete", layoutCompleteHandler, false, 0, true); }; dispatchEvent(new Event("childrenChanged")); } override public function get numChildren():int{ return ((contentPane) ? contentPane.numChildren : _numChildren); } public function get data():Object{ return (_data); } override public function styleChanged(_arg1:String):void{ var _local2:Boolean; var _local3:String; var _local4:String; _local2 = (((_arg1 == null)) || ((_arg1 == "styleName"))); if (((_local2) || (StyleManager.isSizeInvalidatingStyle(_arg1)))){ invalidateDisplayList(); }; if (((_local2) || ((_arg1 == "borderSkin")))){ if (border){ rawChildren.removeChild(DisplayObject(border)); border = null; createBorder(); }; }; if (((((((((((_local2) || ((_arg1 == "borderStyle")))) || ((_arg1 == "backgroundColor")))) || ((_arg1 == "backgroundImage")))) || ((_arg1 == "mouseShield")))) || ((_arg1 == "mouseShieldChildren")))){ createBorder(); }; super.styleChanged(_arg1); if (((_local2) || (StyleManager.isSizeInvalidatingStyle(_arg1)))){ invalidateViewMetricsAndPadding(); }; if (((_local2) || ((_arg1 == "horizontalScrollBarStyleName")))){ if (((horizontalScrollBar) && ((horizontalScrollBar is ISimpleStyleClient)))){ _local3 = getStyle("horizontalScrollBarStyleName"); ISimpleStyleClient(horizontalScrollBar).styleName = _local3; }; }; if (((_local2) || ((_arg1 == "verticalScrollBarStyleName")))){ if (((verticalScrollBar) && ((verticalScrollBar is ISimpleStyleClient)))){ _local4 = getStyle("verticalScrollBarStyleName"); ISimpleStyleClient(verticalScrollBar).styleName = _local4; }; }; } private function createContentPaneAndScrollbarsIfNeeded():Boolean{ var _local1:Rectangle; var _local2:Boolean; if (_clipContent){ _local1 = getScrollableRect(); _local2 = createScrollbarsIfNeeded(_local1); if (border){ updateBackgroundImageRect(); }; return (_local2); //unresolved jump }; _local2 = createOrDestroyScrollbars(false, false, false); _local1 = getScrollableRect(); scrollableWidth = _local1.right; scrollableHeight = _local1.bottom; if (((_local2) && (border))){ updateBackgroundImageRect(); }; return (_local2); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:Object; var _local4:Number; super.updateDisplayList(_arg1, _arg2); layoutChrome(_arg1, _arg2); if (scrollPositionChanged){ if (_horizontalScrollPosition < 0){ _horizontalScrollPosition = 0; } else { if (_horizontalScrollPosition > maxHorizontalScrollPosition){ _horizontalScrollPosition = maxHorizontalScrollPosition; }; }; if (((horizontalScrollBar) && (!((horizontalScrollBar.scrollPosition == _horizontalScrollPosition))))){ horizontalScrollBar.scrollPosition = _horizontalScrollPosition; }; if (_verticalScrollPosition < 0){ _verticalScrollPosition = 0; } else { if (_verticalScrollPosition > maxVerticalScrollPosition){ _verticalScrollPosition = maxVerticalScrollPosition; }; }; if (((verticalScrollBar) && (!((verticalScrollBar.scrollPosition == _verticalScrollPosition))))){ verticalScrollBar.scrollPosition = _verticalScrollPosition; }; scrollChildren(); scrollPositionChanged = false; }; if (scrollPropertiesChanged){ if (horizontalScrollBar){ horizontalScrollBar.lineScrollSize = horizontalLineScrollSize; horizontalScrollBar.pageScrollSize = horizontalPageScrollSize; }; if (verticalScrollBar){ verticalScrollBar.lineScrollSize = verticalLineScrollSize; verticalScrollBar.pageScrollSize = verticalPageScrollSize; }; scrollPropertiesChanged = false; }; if (((contentPane) && (contentPane.scrollRect))){ _local3 = (enabled) ? null : getStyle("backgroundDisabledColor"); if (!_local3){ _local3 = getStyle("backgroundColor"); }; _local4 = getStyle("backgroundAlpha"); if (((((((!(_clipContent)) || (isNaN(Number(_local3))))) || ((_local3 === "")))) || (((!(((horizontalScrollBar) || (verticalScrollBar)))) && (!(cacheAsBitmap)))))){ _local3 = null; } else { if (((getStyle("backgroundImage")) || (getStyle("background")))){ _local3 = null; } else { if (_local4 != 1){ _local3 = null; }; }; }; contentPane.opaqueBackground = _local3; contentPane.cacheAsBitmap = !((_local3 == null)); }; } mx_internal function rawChildren_addChild(_arg1:DisplayObject):DisplayObject{ if (_numChildren == 0){ _firstChildIndex++; }; super.addingChild(_arg1); $addChild(_arg1); super.childAdded(_arg1); dispatchEvent(new Event("childrenChanged")); return (_arg1); } private static function loadResources():void{ resourceScrollDirection = packageResources.getString("scrollDirection"); resourceMultipleChildSets_ClassAndInstance = packageResources.getString("multipleChildSets_ClassAndInstance"); resourceMultipleChildSets_ClassAndSubclass = packageResources.getString("multipleChildSets_ClassAndSubclass"); } mx_internal static function checkFocus(_arg1:InteractiveObject, _arg2:InteractiveObject):void{ var _local3:InteractiveObject; var _local4:InteractiveObject; var _local5:IUIComponent; var _local6:IFocusManager; var _local7:Button; _local3 = _arg2; _local4 = _arg2; _local5 = null; if (((!((_arg2 == null))) && ((_arg1 == _arg2)))){ return; }; while (_local4) { if (_local4.parent){ _local3 = _local4.parent; } else { _local3 = null; }; if ((_local4 is IUIComponent)){ _local5 = IUIComponent(_local4); }; _local4 = _local3; if (((((_local4) && ((_local4 is Container)))) && (Container(_local4).defaultButton))){ break; }; }; if (ContainerGlobals.focusedContainer != _local4){ if (!_local4){ _local4 = InteractiveObject(_local5); }; if (((_local4) && ((_local4 is Container)))){ _local6 = UIComponent(_local4).focusManager; _local7 = (Container(_local4).defaultButton as Button); if (_local7){ ContainerGlobals.focusedContainer = Container(_local4); _local6.defaultButton = _local7; } else { ContainerGlobals.focusedContainer = Container(_local4); _local6.defaultButton = null; }; }; }; } loadResources(); } }//package mx.core
Section 207
//ContainerCreationPolicy (mx.core.ContainerCreationPolicy) package mx.core { public final class ContainerCreationPolicy { public static const ALL:String = "all"; public static const QUEUED:String = "queued"; public static const NONE:String = "none"; mx_internal static const VERSION:String = "2.0.1.0"; public static const AUTO:String = "auto"; } }//package mx.core
Section 208
//ContainerGlobals (mx.core.ContainerGlobals) package mx.core { import flash.display.*; public class ContainerGlobals { public static var focusedContainer:InteractiveObject; } }//package mx.core
Section 209
//ContainerLayout (mx.core.ContainerLayout) package mx.core { public final class ContainerLayout { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; public static const ABSOLUTE:String = "absolute"; mx_internal static const VERSION:String = "2.0.1.0"; } }//package mx.core
Section 210
//ContainerRawChildrenList (mx.core.ContainerRawChildrenList) package mx.core { import flash.display.*; import flash.geom.*; public class ContainerRawChildrenList implements IChildList { private var owner:Container; mx_internal static const VERSION:String = "2.0.1.0"; public function ContainerRawChildrenList(_arg1:Container){ this.owner = _arg1; } public function getChildAt(_arg1:int):DisplayObject{ return (owner.mx_internal::rawChildren_getChildAt(_arg1)); } public function getChildByName(_arg1:String):DisplayObject{ return (owner.mx_internal::rawChildren_getChildByName(_arg1)); } public function removeChildAt(_arg1:int):DisplayObject{ return (owner.mx_internal::rawChildren_removeChildAt(_arg1)); } public function getChildIndex(_arg1:DisplayObject):int{ return (owner.mx_internal::rawChildren_getChildIndex(_arg1)); } public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ return (owner.mx_internal::rawChildren_addChildAt(_arg1, _arg2)); } public function getObjectsUnderPoint(_arg1:Point):Array{ return (owner.mx_internal::rawChildren_getObjectsUnderPoint(_arg1)); } public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3 = owner; _local3.mx_internal::rawChildren_setChildIndex(_arg1, _arg2); } public function get numChildren():int{ return (owner.mx_internal::$numChildren); } public function contains(_arg1:DisplayObject):Boolean{ return (owner.mx_internal::rawChildren_contains(_arg1)); } public function removeChild(_arg1:DisplayObject):DisplayObject{ return (owner.mx_internal::rawChildren_removeChild(_arg1)); } public function addChild(_arg1:DisplayObject):DisplayObject{ return (owner.mx_internal::rawChildren_addChild(_arg1)); } } }//package mx.core
Section 211
//DragSource (mx.core.DragSource) package mx.core { public class DragSource { private var formatHandlers:Object; private var dataHolder:Object; private var _formats:Array; mx_internal static const VERSION:String = "2.0.1.0"; public function DragSource(){ dataHolder = {}; formatHandlers = {}; _formats = []; super(); } public function dataForFormat(_arg1:String):Object{ var _local2:Object; _local2 = dataHolder[_arg1]; if (_local2){ return (_local2); }; if (formatHandlers[_arg1]){ return (formatHandlers[_arg1]()); }; return (null); } public function addHandler(_arg1:Function, _arg2:String):void{ _formats.push(_arg2); formatHandlers[_arg2] = _arg1; } public function addData(_arg1:Object, _arg2:String):void{ _formats.push(_arg2); dataHolder[_arg2] = _arg1; } public function hasFormat(_arg1:String):Boolean{ var _local2:int; var _local3:int; _local2 = _formats.length; _local3 = 0; while (_local3 < _local2) { if (_formats[_local3] == _arg1){ return (true); }; _local3++; }; return (false); } public function get formats():Array{ return (_formats); } } }//package mx.core
Section 212
//EdgeMetrics (mx.core.EdgeMetrics) package mx.core { public class EdgeMetrics { public var bottom:Number; public var top:Number; public var right:Number; public var left:Number; mx_internal static const VERSION:String = "2.0.1.0"; public static var EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0); ; public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){ this.left = _arg1; this.top = _arg2; this.right = _arg3; this.bottom = _arg4; } public function clone():EdgeMetrics{ return (new EdgeMetrics(left, top, right, bottom)); } } }//package mx.core
Section 213
//EventPriority (mx.core.EventPriority) package mx.core { public final class EventPriority { public static const DEFAULT:int = 0; public static const BINDING:int = 100; public static const DEFAULT_HANDLER:int = -50; public static const EFFECT:int = -100; public static const CURSOR_MANAGEMENT:int = 200; mx_internal static const VERSION:String = "2.0.1.0"; } }//package mx.core
Section 214
//FlexLoader (mx.core.FlexLoader) package mx.core { import flash.display.*; import mx.utils.*; public class FlexLoader extends Loader { mx_internal static const VERSION:String = "2.0.1.0"; public function FlexLoader(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 215
//FlexMovieClip (mx.core.FlexMovieClip) package mx.core { import flash.display.*; import mx.utils.*; public class FlexMovieClip extends MovieClip { mx_internal static const VERSION:String = "2.0.1.0"; public function FlexMovieClip(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 216
//FlexShape (mx.core.FlexShape) package mx.core { import flash.display.*; import mx.utils.*; public class FlexShape extends Shape { mx_internal static const VERSION:String = "2.0.1.0"; public function FlexShape(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 217
//FlexSprite (mx.core.FlexSprite) package mx.core { import flash.display.*; import mx.utils.*; public class FlexSprite extends Sprite { mx_internal static const VERSION:String = "2.0.1.0"; public function FlexSprite(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 218
//FlexTextField (mx.core.FlexTextField) package mx.core { import flash.text.*; import mx.utils.*; public class FlexTextField extends TextField { mx_internal static const VERSION:String = "2.0.1.0"; public function FlexTextField(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 219
//IChildList (mx.core.IChildList) package mx.core { import flash.display.*; import flash.geom.*; public interface IChildList { function get numChildren():int; function contains(_arg1:DisplayObject):Boolean; function getChildByName(_arg1:String):DisplayObject; function removeChildAt(_arg1:int):DisplayObject; function getChildIndex(_arg1:DisplayObject):int; function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject; function getObjectsUnderPoint(_arg1:Point):Array; function removeChild(_arg1:DisplayObject):DisplayObject; function getChildAt(_arg1:int):DisplayObject; function addChild(_arg1:DisplayObject):DisplayObject; function setChildIndex(_arg1:DisplayObject, _arg2:int):void; } }//package mx.core
Section 220
//IContainer (mx.core.IContainer) package mx.core { public interface IContainer { } }//package mx.core
Section 221
//IDataRenderer (mx.core.IDataRenderer) package mx.core { public interface IDataRenderer { function set data(_arg1:Object):void; function get data():Object; } }//package mx.core
Section 222
//IDeferredInstantiationUIComponent (mx.core.IDeferredInstantiationUIComponent) package mx.core { public interface IDeferredInstantiationUIComponent extends IUIComponent { function get descriptor():UIComponentDescriptor; function createReferenceOnParentDocument(_arg1:IFlexDisplayObject):void; function set descriptor(_arg1:UIComponentDescriptor):void; function deleteReferenceOnParentDocument(_arg1:IFlexDisplayObject):void; function executeBindings(_arg1:Boolean=false):void; function get id():String; function set cacheHeuristic(_arg1:Boolean):void; function get cachePolicy():String; function registerEffects(_arg1:Array):void; function set id(_arg1:String):void; } }//package mx.core
Section 223
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 224
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.events.*; import flash.display.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function set height(_arg1:Number):void; function get scaleY():Number; function move(_arg1:Number, _arg2:Number):void; function get scaleX():Number; function set mask(_arg1:DisplayObject):void; function set scaleX(_arg1:Number):void; function set name(_arg1:String):void; function set scaleY(_arg1:Number):void; function get visible():Boolean; function get measuredWidth():Number; function set visible(_arg1:Boolean):void; function get alpha():Number; function get height():Number; function get width():Number; function get parent():DisplayObjectContainer; function get mask():DisplayObject; function set x(_arg1:Number):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set y(_arg1:Number):void; function get x():Number; function get y():Number; function set alpha(_arg1:Number):void; } }//package mx.core
Section 225
//IFlexModule (mx.core.IFlexModule) package mx.core { public interface IFlexModule { function set moduleFactory(_arg1:IFlexModuleFactory):void; function get moduleFactory():IFlexModuleFactory; } }//package mx.core
Section 226
//IFlexModuleFactory (mx.core.IFlexModuleFactory) package mx.core { public interface IFlexModuleFactory { function create(... _args):Object; function info():Object; } }//package mx.core
Section 227
//IIMESupport (mx.core.IIMESupport) package mx.core { public interface IIMESupport { function get imeMode():String; function set imeMode(_arg1:String):void; } }//package mx.core
Section 228
//IInvalidating (mx.core.IInvalidating) package mx.core { public interface IInvalidating { function validateNow():void; function invalidateDisplayList():void; function invalidateSize():void; function invalidateProperties():void; } }//package mx.core
Section 229
//IPropertyChangeNotifier (mx.core.IPropertyChangeNotifier) package mx.core { import flash.events.*; public interface IPropertyChangeNotifier extends IEventDispatcher, IUID { } }//package mx.core
Section 230
//IRawChildrenContainer (mx.core.IRawChildrenContainer) package mx.core { public interface IRawChildrenContainer { function get rawChildren():IChildList; } }//package mx.core
Section 231
//IRepeater (mx.core.IRepeater) package mx.core { public interface IRepeater { function get container():Container; function set recycleChildren(_arg1:Boolean):void; function get startingIndex():int; function set startingIndex(_arg1:int):void; function get currentItem():Object; function get count():int; function get recycleChildren():Boolean; function executeChildBindings():void; function set dataProvider(_arg1:Object):void; function initializeRepeater(_arg1:Container, _arg2:Boolean):void; function get currentIndex():int; function get dataProvider():Object; function set count(_arg1:int):void; } }//package mx.core
Section 232
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function get repeaters():Array; function get instanceIndices():Array; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 233
//IToolTip (mx.core.IToolTip) package mx.core { import flash.geom.*; public interface IToolTip extends IUIComponent { function get screen():Rectangle; function get text():String; function set text(_arg1:String):void; } }//package mx.core
Section 234
//IUIComponent (mx.core.IUIComponent) package mx.core { import flash.display.*; import flash.geom.*; import mx.managers.*; public interface IUIComponent extends IFlexDisplayObject { function set enabled(_arg1:Boolean):void; function set measuredMinWidth(_arg1:Number):void; function set isPopUp(_arg1:Boolean):void; function get percentWidth():Number; function set percentWidth(_arg1:Number):void; function get baselinePosition():Number; function initialize():void; function getExplicitOrMeasuredWidth():Number; function set percentHeight(_arg1:Number):void; function get minHeight():Number; function getExplicitOrMeasuredHeight():Number; function get document():Object; function get explicitMaxWidth():Number; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function get maxHeight():Number; function get minWidth():Number; function owns(_arg1:DisplayObject):Boolean; function get opaqueBackground():Object; function setVisible(_arg1:Boolean, _arg2:Boolean=false):void; function get owner():DisplayObjectContainer; function set document(_arg1:Object):void; function get tweeningProperties():Array; function get enabled():Boolean; function get isPopUp():Boolean; function get explicitMinHeight():Number; function set focusPane(_arg1:Sprite):void; function get maxWidth():Number; function get percentHeight():Number; function set tweeningProperties(_arg1:Array):void; function get explicitMaxHeight():Number; function get focusPane():Sprite; function parentChanged(_arg1:DisplayObjectContainer):void; function set opaqueBackground(_arg1:Object):void; function set measuredMinHeight(_arg1:Number):void; function set cacheAsBitmap(_arg1:Boolean):void; function get scrollRect():Rectangle; function set explicitWidth(_arg1:Number):void; function set owner(_arg1:DisplayObjectContainer):void; function set includeInLayout(_arg1:Boolean):void; function get explicitMinWidth():Number; function get explicitWidth():Number; function get measuredMinHeight():Number; function set explicitHeight(_arg1:Number):void; function get includeInLayout():Boolean; function get measuredMinWidth():Number; function get explicitHeight():Number; function set systemManager(_arg1:ISystemManager):void; function get systemManager():ISystemManager; } }//package mx.core
Section 235
//IUID (mx.core.IUID) package mx.core { public interface IUID { function get uid():String; function set uid(_arg1:String):void; } }//package mx.core
Section 236
//LayoutContainer (mx.core.LayoutContainer) package mx.core { import flash.events.*; import mx.resources.*; import flash.system.*; import mx.containers.utilityClasses.*; import mx.containers.*; public class LayoutContainer extends Container { private var _layout:String;// = "vertical" private var processingCreationQueue:Boolean;// = false private var creationQueue:Array; protected var boxLayoutClass:Class; private var preloadObj:Object; private var resizeHandlerAdded:Boolean;// = false protected var layoutObject:Layout; protected var canvasLayoutClass:Class; mx_internal static const VERSION:String = "2.0.1.0"; private static var viewSourceMenuItem:String; mx_internal static var useProgressiveLayout:Boolean = false; private static var packageResources:ResourceBundle = ResourceBundle.getResourceBundle("core", ApplicationDomain.currentDomain); public function LayoutContainer(){ layoutObject = new BoxLayout(); canvasLayoutClass = CanvasLayout; boxLayoutClass = BoxLayout; resizeHandlerAdded = false; creationQueue = []; processingCreationQueue = false; _layout = ContainerLayout.VERTICAL; super(); layoutObject.target = this; } override mx_internal function get usePadding():Boolean{ return (!((layout == ContainerLayout.ABSOLUTE))); } override protected function measure():void{ super.measure(); layoutObject.measure(); } override protected function layoutChrome(_arg1:Number, _arg2:Number):void{ super.layoutChrome(_arg1, _arg2); if (!doingLayout){ createBorder(); }; } public function set layout(_arg1:String):void{ if (_layout != _arg1){ _layout = _arg1; if (layoutObject){ layoutObject.target = null; }; if (_layout == ContainerLayout.ABSOLUTE){ layoutObject = new canvasLayoutClass(); } else { layoutObject = new boxLayoutClass(); if (_layout == ContainerLayout.VERTICAL){ BoxLayout(layoutObject).direction = BoxDirection.VERTICAL; } else { BoxLayout(layoutObject).direction = BoxDirection.HORIZONTAL; }; }; if (layoutObject){ layoutObject.target = this; }; invalidateSize(); invalidateDisplayList(); dispatchEvent(new Event("layoutChanged")); }; } public function get layout():String{ return (_layout); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ super.updateDisplayList(_arg1, _arg2); layoutObject.updateDisplayList(_arg1, _arg2); createBorder(); } private static function loadResources():void{ viewSourceMenuItem = packageResources.getString("viewSource"); } loadResources(); } }//package mx.core
Section 237
//MovieClipAsset (mx.core.MovieClipAsset) package mx.core { public class MovieClipAsset extends FlexMovieClip implements IFlexAsset, IFlexDisplayObject { private var _measuredWidth:Number; private var _measuredHeight:Number; mx_internal static const VERSION:String = "2.0.1.0"; public function MovieClipAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } } }//package mx.core
Section 238
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 239
//ScrollPolicy (mx.core.ScrollPolicy) package mx.core { public final class ScrollPolicy { public static const AUTO:String = "auto"; public static const ON:String = "on"; mx_internal static const VERSION:String = "2.0.1.0"; public static const OFF:String = "off"; } }//package mx.core
Section 240
//Singleton (mx.core.Singleton) package mx.core { public class Singleton { private static var classMap:Object = {}; public static function getClass(_arg1:String):Class{ return (classMap[_arg1]); } public static function getInstance(_arg1:String):Object{ var _local2:Class; _local2 = classMap[_arg1]; return (Object(_local2).getInstance()); } public static function registerClass(_arg1:String, _arg2:Class):void{ var _local3:Class; _local3 = classMap[_arg1]; if (!_local3){ classMap[_arg1] = _arg2; }; } } }//package mx.core
Section 241
//SoundAsset (mx.core.SoundAsset) package mx.core { import flash.media.*; public class SoundAsset extends Sound implements IFlexAsset { mx_internal static const VERSION:String = "2.0.1.0"; } }//package mx.core
Section 242
//SpriteAsset (mx.core.SpriteAsset) package mx.core { public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject { private var _measuredWidth:Number; private var _measuredHeight:Number; mx_internal static const VERSION:String = "2.0.1.0"; public function SpriteAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } } }//package mx.core
Section 243
//UIComponent (mx.core.UIComponent) package mx.core { import flash.events.*; import mx.resources.*; import flash.system.*; import mx.styles.*; import flash.display.*; import flash.geom.*; import mx.modules.*; import mx.events.*; import mx.managers.*; import mx.automation.*; import flash.text.*; import mx.states.*; import mx.effects.*; import mx.graphics.*; import mx.binding.*; import flash.utils.*; import mx.skins.*; import mx.utils.*; import mx.validators.*; public class UIComponent extends FlexSprite implements IAutomationObject, IChildList, IDeferredInstantiationUIComponent, IFlexDisplayObject, IFlexModule, IInvalidating, ILayoutManagerClient, IPropertyChangeNotifier, IRepeaterClient, ISimpleStyleClient, IStyleClient, IToolTipManagerClient, IUIComponent, IValidatorListener { private var errorStringChanged:Boolean;// = false mx_internal var overlay:UIComponent; mx_internal var automaticRadioButtonGroups:Object; private var _currentState:String; private var _isPopUp:Boolean; private var _repeaters:Array; private var packageResources:ResourceBundle; private var _systemManager:ISystemManager; private var _measuredWidth:Number;// = 0 private var methodQueue:Array; mx_internal var _width:Number; private var _tweeningProperties:Array; private var _validationSubField:String; private var _endingEffectInstances:Array; mx_internal var saveBorderColor:Boolean;// = true mx_internal var overlayColor:uint; private var _repeaterIndices:Array; private var oldExplicitWidth:Number; mx_internal var _descriptor:UIComponentDescriptor; private var _initialized:Boolean;// = false private var requestedCurrentState:String; private var _focusEnabled:Boolean;// = true private var cacheAsBitmapCount:int;// = 0 mx_internal var overlayReferenceCount:int;// = 0 private var listeningForRender:Boolean;// = false mx_internal var invalidateDisplayListFlag:Boolean;// = false private var oldScaleX:Number;// = 1 private var oldScaleY:Number;// = 1 mx_internal var _explicitMaxHeight:Number; mx_internal var invalidatePropertiesFlag:Boolean;// = false private var hasFocusRect:Boolean;// = false private var _scaleX:Number;// = 1 private var _scaleY:Number;// = 1 mx_internal var invalidateSizeFlag:Boolean;// = false private var _styleDeclaration:CSSStyleDeclaration; mx_internal var _documentDescriptor:UIComponentDescriptor; mx_internal var _affectedProperties:Object; private var _processedDescriptors:Boolean;// = false mx_internal var origBorderColor:Number; private var _focusManager:IFocusManager; private var _cachePolicy:String;// = "auto" private var _measuredHeight:Number;// = 0 private var _id:String; private var _owner:DisplayObjectContainer; public var transitions:Array; mx_internal var _parent:DisplayObjectContainer; private var _measuredMinWidth:Number;// = 0 private var oldMinWidth:Number; private var _enabled:Boolean;// = false public var states:Array; private var _explicitWidth:Number; private var _mouseFocusEnabled:Boolean;// = true private var oldHeight:Number;// = 0 private var _currentStateChanged:Boolean; private var cachedTextFormat:UITextFormat; private var _automationDelegate:IAutomationObject; mx_internal var _height:Number; private var _percentWidth:Number; private var _automationName:String;// = null private var _isEffectStarted:Boolean;// = false private var _styleName:Object; mx_internal var _document:Object; private var _errorString:String;// = "" private var oldExplicitHeight:Number; private var _nestLevel:int;// = 0 private var _explicitHeight:Number; private var _filters:Array; private var _toolTip:String; private var _focusPane:Sprite; private var playStateTransition:Boolean;// = true private var _nonInheritingStyles:Object; private var _showInAutomationHierarchy:Boolean;// = true private var _moduleFactory:IFlexModuleFactory; private var oldX:Number;// = 0 private var oldY:Number;// = 0 private var _instanceIndices:Array; private var _visible:Boolean;// = true private var _inheritingStyles:Object; private var _includeInLayout:Boolean;// = true mx_internal var _effectsStarted:Array; private var _explicitMinWidth:Number; private var resourceStateUndefined:String;// = null mx_internal var _explicitMaxWidth:Number; private var _measuredMinHeight:Number;// = 0 private var _uid:String; private var _currentTransitionEffect:Effect; private var _updateCompletePendingFlag:Boolean;// = false private var oldMinHeight:Number; mx_internal var _explicitMinHeight:Number; private var _percentHeight:Number; private var oldWidth:Number;// = 0 public static const DEFAULT_MEASURED_WIDTH:Number = 160; public static const DEFAULT_MAX_WIDTH:Number = 10000; public static const DEFAULT_MEASURED_MIN_HEIGHT:Number = 22; public static const DEFAULT_MAX_HEIGHT:Number = 10000; public static const DEFAULT_MEASURED_HEIGHT:Number = 22; mx_internal static const VERSION:String = "2.0.1.0"; public static const DEFAULT_MEASURED_MIN_WIDTH:Number = 40; mx_internal static var dispatchEventHook:Function; private static var fakeMouseY:QName = new QName(mx_internal, "_mouseY"); mx_internal static var createAccessibilityImplementation:Function; mx_internal static var STYLE_UNINITIALIZED:Object = {}; private static var fakeMouseX:QName = new QName(mx_internal, "_mouseX"); public function UIComponent(){ packageResources = ResourceBundle.getResourceBundle("core", ApplicationDomain.currentDomain); resourceStateUndefined = null; listeningForRender = false; methodQueue = []; hasFocusRect = false; _initialized = false; _processedDescriptors = false; _updateCompletePendingFlag = false; invalidatePropertiesFlag = false; invalidateSizeFlag = false; invalidateDisplayListFlag = false; oldX = 0; oldY = 0; oldWidth = 0; oldHeight = 0; oldScaleX = 1; oldScaleY = 1; overlayReferenceCount = 0; saveBorderColor = true; _scaleX = 1; _scaleY = 1; _visible = true; _enabled = false; _nestLevel = 0; _inheritingStyles = UIComponent.STYLE_UNINITIALIZED; _nonInheritingStyles = UIComponent.STYLE_UNINITIALIZED; _cachePolicy = UIComponentCachePolicy.AUTO; cacheAsBitmapCount = 0; _focusEnabled = true; _mouseFocusEnabled = true; _measuredMinWidth = 0; _measuredMinHeight = 0; _measuredWidth = 0; _measuredHeight = 0; _includeInLayout = true; playStateTransition = true; states = []; transitions = []; _automationName = null; _showInAutomationHierarchy = true; _errorString = ""; errorStringChanged = false; _effectsStarted = []; _affectedProperties = {}; _isEffectStarted = false; _endingEffectInstances = []; super(); focusRect = false; tabEnabled = (this is IFocusManagerComponent); enabled = true; $visible = false; addEventListener(Event.ADDED, addedHandler); addEventListener(Event.REMOVED, removedHandler); if ((this is IFocusManagerComponent)){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; _width = super.width; _height = super.height; } public function getStyle(_arg1:String){ return ((StyleManager.inheritingStyles[_arg1]) ? _inheritingStyles[_arg1] : _nonInheritingStyles[_arg1]); } public function get toolTip():String{ return (_toolTip); } private function transition_effectEndHandler(_arg1:EffectEvent):void{ _currentTransitionEffect = null; } public function get nestLevel():int{ return (_nestLevel); } protected function adjustFocusRect(_arg1:DisplayObject=null):void{ var _local2:IFocusManager; var _local3:IFlexDisplayObject; var _local4:Number; var _local5:Number; var _local6:Point; var _local7:Number; if (!_arg1){ _arg1 = this; }; if (((isNaN(_arg1.width)) || (isNaN(_arg1.height)))){ return; }; _local2 = focusManager; if (!_local2){ return; }; _local3 = IFlexDisplayObject(getFocusObject()); if (_local3){ if (((errorString) && (!((errorString == ""))))){ _local4 = getStyle("errorColor"); } else { _local4 = getStyle("themeColor"); }; _local5 = getStyle("focusThickness"); if ((_local3 is IStyleClient)){ IStyleClient(_local3).setStyle("focusColor", _local4); }; _local3.setActualSize((_arg1.width + (2 * _local5)), (_arg1.height + (2 * _local5))); if (rotation){ _local7 = ((rotation * Math.PI) / 180); _local6 = new Point((_arg1.x - (_local5 * (Math.cos(_local7) - Math.sin(_local7)))), (_arg1.y - (_local5 * (Math.cos(_local7) + Math.sin(_local7))))); DisplayObject(_local3).rotation = rotation; } else { _local6 = new Point((_arg1.x - _local5), (_arg1.y - _local5)); }; if (_arg1.parent == this){ _local6.x = (_local6.x + x); _local6.y = (_local6.y + y); }; _local6 = parent.localToGlobal(_local6); _local6 = parent.globalToLocal(_local6); _local3.move(_local6.x, _local6.y); if ((_local3 is IInvalidating)){ IInvalidating(_local3).validateNow(); } else { if ((_local3 is ProgrammaticSkin)){ ProgrammaticSkin(_local3).validateNow(); }; }; }; } public function set nestLevel(_arg1:int):void{ var _local2:IChildList; var _local3:int; var _local4:int; var _local5:ILayoutManagerClient; var _local6:UITextField; if ((((_arg1 > 1)) && (!((_nestLevel == _arg1))))){ _nestLevel = _arg1; updateCallbacks(); _local2 = ((this is IRawChildrenContainer)) ? IRawChildrenContainer(this).rawChildren : IChildList(this); _local3 = _local2.numChildren; _local4 = 0; while (_local4 < _local3) { _local5 = (_local2.getChildAt(_local4) as ILayoutManagerClient); if (_local5){ _local5.nestLevel = (_arg1 + 1); } else { _local6 = (_local2.getChildAt(_local4) as UITextField); if (_local6){ _local6.nestLevel = (_arg1 + 1); }; }; _local4++; }; }; } public function getExplicitOrMeasuredHeight():Number{ return ((isNaN(explicitHeight)) ? measuredHeight : explicitHeight); } private function callLaterDispatcher(_arg1:Event):void{ var layoutErrorEvent:DynamicEvent; var event = _arg1; UIComponentGlobals.callLaterDispatcherCount++; if (!UIComponentGlobals.designTime){ callLaterDispatcher2(event); } else { try { callLaterDispatcher2(event); } catch(e:Error) { layoutErrorEvent = new DynamicEvent("layoutError"); layoutErrorEvent.error = e; systemManager.dispatchEvent(layoutErrorEvent); }; }; UIComponentGlobals.callLaterDispatcherCount--; } final mx_internal function get $width():Number{ return (super.width); } public function get className():String{ var _local1:String; var _local2:int; _local1 = getQualifiedClassName(this); _local2 = _local1.indexOf("::"); if (_local2 != -1){ _local1 = _local1.substr((_local2 + 2)); }; return (_local1); } public function verticalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ UIComponentGlobals.tempMatrix.createGradientBox(_arg3, _arg4, (Math.PI / 2), _arg1, _arg2); return (UIComponentGlobals.tempMatrix); } public function setCurrentState(_arg1:String, _arg2:Boolean=true):void{ if (((!((_arg1 == currentState))) && (!(((isBaseState(_arg1)) && (isBaseState(currentState))))))){ requestedCurrentState = _arg1; playStateTransition = _arg2; if (initialized){ commitCurrentState(); } else { _currentStateChanged = true; addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); }; }; } private function getBaseStates(_arg1:State):Array{ var _local2:Array; _local2 = []; while (((_arg1) && (!((_arg1.basedOn == ""))))) { _local2.push(_arg1.basedOn); _arg1 = getState(_arg1.basedOn); }; return (_local2); } public function set minHeight(_arg1:Number):void{ if (explicitMinHeight == _arg1){ return; }; explicitMinHeight = _arg1; } public function get errorString():String{ return (_errorString); } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } public function get automationName():String{ if (_automationName){ return (_automationName); }; if (automationDelegate){ return (automationDelegate.automationName); }; return (""); } final mx_internal function set $width(_arg1:Number):void{ super.width = _arg1; } public function invalidateDisplayList():void{ if (!invalidateDisplayListFlag){ invalidateDisplayListFlag = true; if (((parent) && (UIComponentGlobals.layoutManager))){ UIComponentGlobals.layoutManager.invalidateDisplayList(this); }; }; } override public function get scaleX():Number{ return (_scaleX); } override public function get scaleY():Number{ return (_scaleY); } mx_internal function initThemeColor():Boolean{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Array; var _local7:int; var _local8:CSSStyleDeclaration; _local1 = _styleName; if (_styleDeclaration){ _local2 = _styleDeclaration.getStyle("themeColor"); _local3 = _styleDeclaration.getStyle("rollOverColor"); _local4 = _styleDeclaration.getStyle("selectionColor"); }; if (((((!(_local2)) && (_local1))) && (!((_local1 is ISimpleStyleClient))))){ _local5 = ((_local1 is String)) ? StyleManager.getStyleDeclaration(("." + _local1)) : _local1; if (_local5){ _local2 = _local5.getStyle("themeColor"); _local3 = _local5.getStyle("rollOverColor"); _local4 = _local5.getStyle("selectionColor"); }; }; if (!_local2){ _local6 = getClassStyleDeclarations(); _local7 = 0; while (_local7 < _local6.length) { _local8 = _local6[_local7]; if (_local8){ _local2 = _local8.getStyle("themeColor"); _local3 = _local8.getStyle("rollOverColor"); _local4 = _local8.getStyle("selectionColor"); }; if (_local2){ break; }; _local7++; }; }; if (((((_local2) && (isNaN(_local3)))) && (isNaN(_local4)))){ setThemeColor(_local2); return (true); }; return (((((_local2) && (!(isNaN(_local3))))) && (!(isNaN(_local4))))); } override public function get mouseX():Number{ if (((!(root)) || ((root[fakeMouseX] === undefined)))){ return (super.mouseX); }; return (globalToLocal(new Point(root[fakeMouseX], 0)).x); } override public function get mouseY():Number{ if (((!(root)) || ((root[fakeMouseY] === undefined)))){ return (super.mouseY); }; return (globalToLocal(new Point(0, root[fakeMouseY])).y); } override public function stopDrag():void{ super.stopDrag(); invalidateProperties(); dispatchEvent(new Event("xChanged")); dispatchEvent(new Event("yChanged")); } public function get uid():String{ if (!_uid){ _uid = toString(); }; return (_uid); } public function set tweeningProperties(_arg1:Array):void{ _tweeningProperties = _arg1; } public function get focusPane():Sprite{ return (_focusPane); } public function horizontalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ UIComponentGlobals.tempMatrix.createGradientBox(_arg3, _arg4, 0, _arg1, _arg2); return (UIComponentGlobals.tempMatrix); } public function set validationSubField(_arg1:String):void{ _validationSubField = _arg1; } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } public function get isDocument():Boolean{ return ((document == this)); } mx_internal function addOverlay(_arg1:uint, _arg2:RoundedRectangle=null):void{ if (!overlay){ overlayColor = _arg1; overlay = new UIComponent(); overlay.name = "overlay"; fillOverlay(overlay, _arg1, _arg2); attachOverlay(); if (!_arg2){ addEventListener(ResizeEvent.RESIZE, overlay_resizeHandler); }; overlay.x = 0; overlay.y = 0; invalidateDisplayList(); overlayReferenceCount = 1; } else { overlayReferenceCount++; }; dispatchEvent(new ChildExistenceChangedEvent(ChildExistenceChangedEvent.OVERLAY_CREATED, true, false, overlay)); } override public function get visible():Boolean{ return (_visible); } public function get screen():Rectangle{ var _local1:ISystemManager; _local1 = systemManager; return ((_local1) ? _local1.screen : null); } override public function get x():Number{ return (super.x); } override public function get y():Number{ return (super.y); } public function get explicitHeight():Number{ return (_explicitHeight); } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus(DisplayObject(_arg1.target))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); }; Container.checkFocus(_arg1.relatedObject, this); }; } private function focusObj_scrollHandler(_arg1:Event):void{ adjustFocusRect(); } public function get percentWidth():Number{ return (_percentWidth); } public function set automationName(_arg1:String):void{ _automationName = _arg1; } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } public function set explicitMinHeight(_arg1:Number):void{ var _local2:IInvalidating; if (_explicitMinHeight == _arg1){ return; }; _explicitMinHeight = _arg1; invalidateSize(); _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitMinHeightChanged")); } public function stylesInitialized():void{ } public function set errorString(_arg1:String):void{ ToolTipManager.registerErrorString(this, _arg1); _errorString = _arg1; errorStringChanged = true; invalidateProperties(); dispatchEvent(new Event("errorStringChanged")); } public function getExplicitOrMeasuredWidth():Number{ return ((isNaN(explicitWidth)) ? measuredWidth : explicitWidth); } final mx_internal function set $height(_arg1:Number):void{ super.height = _arg1; } final mx_internal function $removeChild(_arg1:DisplayObject):DisplayObject{ return (super.removeChild(_arg1)); } override public function set scaleX(_arg1:Number):void{ if (_scaleX == _arg1){ return; }; _scaleX = _arg1; invalidateProperties(); invalidateSize(); dispatchEvent(new Event("scaleXChanged")); } override public function set scaleY(_arg1:Number):void{ if (_scaleY == _arg1){ return; }; _scaleY = _arg1; invalidateProperties(); invalidateSize(); dispatchEvent(new Event("scaleYChanged")); } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } override public function get parent():DisplayObjectContainer{ return ((_parent) ? _parent : super.parent); } mx_internal function get isEffectStarted():Boolean{ return (_isEffectStarted); } public function set uid(_arg1:String):void{ this._uid = _arg1; } mx_internal function adjustSizesForScaleChanges():void{ var _local1:Number; var _local2:Number; var _local3:Number; _local1 = scaleX; _local2 = scaleY; if (_local1 != oldScaleX){ _local3 = Math.abs((_local1 / oldScaleX)); if (explicitMinWidth){ explicitMinWidth = (explicitMinWidth * _local3); }; if (!isNaN(explicitWidth)){ explicitWidth = (explicitWidth * _local3); }; if (explicitMaxWidth){ explicitMaxWidth = (explicitMaxWidth * _local3); }; oldScaleX = _local1; }; if (_local2 != oldScaleY){ _local3 = Math.abs((_local2 / oldScaleY)); if (explicitMinHeight){ explicitMinHeight = (explicitMinHeight * _local3); }; if (explicitHeight){ explicitHeight = (explicitHeight * _local3); }; if (explicitMaxHeight){ explicitMaxHeight = (explicitMaxHeight * _local3); }; oldScaleY = _local2; }; } public function set focusPane(_arg1:Sprite):void{ if (_arg1){ addChild(_arg1); _arg1.x = 0; _arg1.y = 0; _arg1.scrollRect = null; _focusPane = _arg1; } else { removeChild(_focusPane); _focusPane = null; }; } public function determineTextFormatFromStyles():UITextFormat{ var _local1:UITextFormat; _local1 = cachedTextFormat; if (!_local1){ _local1 = new UITextFormat(systemManager); _local1.align = _inheritingStyles.textAlign; _local1.bold = (_inheritingStyles.fontWeight == "bold"); _local1.color = (enabled) ? _inheritingStyles.color : _inheritingStyles.disabledColor; _local1.font = StringUtil.trimArrayElements(_inheritingStyles.fontFamily, ","); _local1.indent = _inheritingStyles.textIndent; _local1.italic = (_inheritingStyles.fontStyle == "italic"); _local1.kerning = _inheritingStyles.kerning; _local1.leading = _nonInheritingStyles.leading; _local1.leftMargin = _nonInheritingStyles.paddingLeft; _local1.letterSpacing = _inheritingStyles.letterSpacing; _local1.rightMargin = _nonInheritingStyles.paddingRight; _local1.size = _inheritingStyles.fontSize; _local1.underline = (_nonInheritingStyles.textDecoration == "underline"); _local1.antiAliasType = _inheritingStyles.fontAntiAliasType; _local1.gridFitType = _inheritingStyles.fontGridFitType; _local1.sharpness = _inheritingStyles.fontSharpness; _local1.thickness = _inheritingStyles.fontThickness; cachedTextFormat = _local1; }; return (_local1); } public function getAutomationChildAt(_arg1:int):IAutomationObject{ if (automationDelegate){ return (automationDelegate.getAutomationChildAt(_arg1)); }; return (null); } private function focusObj_resizeHandler(_arg1:ResizeEvent):void{ adjustFocusRect(); } public function validationResultHandler(_arg1:ValidationResultEvent):void{ var _local2:String; var _local3:ValidationResult; var _local4:int; if (_arg1.type == ValidationResultEvent.VALID){ if (errorString != ""){ errorString = ""; dispatchEvent(new FlexEvent(FlexEvent.VALID)); }; } else { if (((((!((validationSubField == null))) && (!((validationSubField == ""))))) && (_arg1.results))){ _local4 = 0; while (_local4 < _arg1.results.length) { _local3 = _arg1.results[_local4]; if (_local3.subField == validationSubField){ if (_local3.isError){ _local2 = _local3.errorMessage; } else { if (errorString != ""){ errorString = ""; dispatchEvent(new FlexEvent(FlexEvent.VALID)); }; }; break; }; _local4++; }; } else { if (((_arg1.results) && ((_arg1.results.length > 0)))){ _local2 = _arg1.results[0].errorMessage; }; }; if (((_local2) && (!((errorString == _local2))))){ errorString = _local2; dispatchEvent(new FlexEvent(FlexEvent.INVALID)); }; }; } public function invalidateProperties():void{ if (!invalidatePropertiesFlag){ invalidatePropertiesFlag = true; if (((parent) && (UIComponentGlobals.layoutManager))){ UIComponentGlobals.layoutManager.invalidateProperties(this); }; }; } public function get inheritingStyles():Object{ return (_inheritingStyles); } public function setActualSize(_arg1:Number, _arg2:Number):void{ var _local3:Boolean; _local3 = false; if (_width != _arg1){ _width = _arg1; dispatchEvent(new Event("widthChanged")); _local3 = true; }; if (_height != _arg2){ _height = _arg2; dispatchEvent(new Event("heightChanged")); _local3 = true; }; if (_local3){ invalidateDisplayList(); dispatchResizeEvent(); }; } final mx_internal function get $x():Number{ return (super.x); } final mx_internal function get $y():Number{ return (super.y); } override public function set visible(_arg1:Boolean):void{ setVisible(_arg1); } public function registerEffects(_arg1:Array):void{ var _local2:int; var _local3:int; var _local4:String; _local2 = _arg1.length; _local3 = 0; while (_local3 < _local2) { _local4 = EffectManager.getEventForEffectTrigger(_arg1[_local3]); if (((!((_local4 == null))) && (!((_local4 == ""))))){ addEventListener(_local4, EffectManager.eventHandler, false, EventPriority.EFFECT); }; _local3++; }; } public function createAutomationIDPart(_arg1:IAutomationObject):Object{ if (automationDelegate){ return (automationDelegate.createAutomationIDPart(_arg1)); }; return (null); } public function get explicitMinWidth():Number{ return (_explicitMinWidth); } private function filterChangeHandler(_arg1:Event):void{ super.filters = _filters; } override public function set x(_arg1:Number):void{ if (super.x == _arg1){ return; }; super.x = _arg1; invalidateProperties(); dispatchEvent(new Event("xChanged")); } override public function set y(_arg1:Number):void{ if (super.y == _arg1){ return; }; super.y = _arg1; invalidateProperties(); dispatchEvent(new Event("yChanged")); } public function set explicitHeight(_arg1:Number):void{ var _local2:IInvalidating; if (_explicitHeight == _arg1){ return; }; if (!isNaN(_arg1)){ _percentHeight = NaN; }; _explicitHeight = _arg1; invalidateSize(); _local2 = (parent as IInvalidating); if (((_local2) && (includeInLayout))){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitHeightChanged")); } public function set showInAutomationHierarchy(_arg1:Boolean):void{ _showInAutomationHierarchy = _arg1; } public function set systemManager(_arg1:ISystemManager):void{ _systemManager = _arg1; } mx_internal function getFocusObject():DisplayObject{ var _local1:IFocusManager; _local1 = focusManager; if (((!(_local1)) || (!(_local1.focusPane)))){ return (null); }; return (((_local1.focusPane.numChildren == 0)) ? null : _local1.focusPane.getChildAt(0)); } override public function addChild(_arg1:DisplayObject):DisplayObject{ var _local2:int; _local2 = (((overlayReferenceCount) && (!((_arg1 == overlay))))) ? Math.max(0, (super.numChildren - 1)) : super.numChildren; addingChild(_arg1); $addChildAt(_arg1, _local2); childAdded(_arg1); return (_arg1); } public function get moduleFactory():IFlexModuleFactory{ return (_moduleFactory); } public function set percentWidth(_arg1:Number):void{ var _local2:IInvalidating; if (_percentWidth == _arg1){ return; }; if (!isNaN(_arg1)){ _explicitWidth = NaN; }; _percentWidth = _arg1; _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; } public function get document():Object{ return (_document); } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } final mx_internal function $addChild(_arg1:DisplayObject):DisplayObject{ return (super.addChild(_arg1)); } mx_internal function setThemeColor(_arg1:Object):void{ var _local2:Number; var _local3:Number; var _local4:Number; if ((_local2 is String)){ _local2 = parseInt(String(_arg1)); } else { _local2 = Number(_arg1); }; if (isNaN(_local2)){ _local2 = StyleManager.getColorName(_arg1); }; _local3 = ColorUtil.adjustBrightness2(_local2, 50); _local4 = ColorUtil.adjustBrightness2(_local2, 70); setStyle("selectionColor", _local3); setStyle("rollOverColor", _local4); } override public function get height():Number{ return (_height); } public function get id():String{ return (_id); } public function set minWidth(_arg1:Number):void{ if (explicitMinWidth == _arg1){ return; }; explicitMinWidth = _arg1; } public function set currentState(_arg1:String):void{ setCurrentState(_arg1, true); } public function getRepeaterItem(_arg1:int=-1):Object{ var _local2:Array; _local2 = repeaters; if (_arg1 == -1){ _arg1 = (_local2.length - 1); }; return (_local2[_arg1].getItemAt(repeaterIndices[_arg1])); } public function executeBindings(_arg1:Boolean=false):void{ var _local2:Object; _local2 = (((descriptor) && (descriptor.document))) ? descriptor.document : parentDocument; BindingManager.executeBindings(_local2, id, this); } public function replayAutomatableEvent(_arg1:Event):Boolean{ if (automationDelegate){ return (automationDelegate.replayAutomatableEvent(_arg1)); }; return (false); } public function get instanceIndex():int{ return ((_instanceIndices) ? _instanceIndices[(_instanceIndices.length - 1)] : -1); } public function get explicitMaxWidth():Number{ return (_explicitMaxWidth); } public function effectFinished(_arg1:EffectInstance):void{ _endingEffectInstances.push(_arg1); invalidateProperties(); UIComponentGlobals.layoutManager.addEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler, false, 0, true); } public function set measuredWidth(_arg1:Number):void{ _measuredWidth = _arg1; } override public function removeChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject; _local2 = getChildAt(_arg1); removingChild(_local2); $removeChild(_local2); childRemoved(_local2); return (_local2); } mx_internal function set isEffectStarted(_arg1:Boolean):void{ _isEffectStarted = _arg1; } mx_internal function fillOverlay(_arg1:UIComponent, _arg2:uint, _arg3:RoundedRectangle=null):void{ var _local4:Graphics; if (!_arg3){ _arg3 = new RoundedRectangle(0, 0, unscaledWidth, unscaledHeight, 0); }; _local4 = _arg1.graphics; _local4.clear(); _local4.beginFill(_arg2); _local4.drawRoundRect(_arg3.x, _arg3.y, _arg3.width, _arg3.height, (_arg3.cornerRadius * 2), (_arg3.cornerRadius * 2)); _local4.endFill(); } mx_internal function childAdded(_arg1:DisplayObject):void{ if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).initialized){ UIComponent(_arg1).initialize(); }; } else { if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).initialize(); }; }; } public function globalToContent(_arg1:Point):Point{ return (globalToLocal(_arg1)); } public function get instanceIndices():Array{ return ((_instanceIndices) ? _instanceIndices.slice(0) : null); } mx_internal function removingChild(_arg1:DisplayObject):void{ } private function getTransition(_arg1:String, _arg2:String):Effect{ var _local3:Effect; var _local4:int; var _local5:int; var _local6:Transition; _local3 = null; _local4 = 0; if (!transitions){ return (null); }; if (!_arg1){ _arg1 = ""; }; if (!_arg2){ _arg2 = ""; }; _local5 = 0; while (_local5 < transitions.length) { _local6 = transitions[_local5]; if ((((((_local6.fromState == "*")) && ((_local6.toState == "*")))) && ((_local4 < 1)))){ _local3 = _local6.effect; _local4 = 1; } else { if ((((((_local6.fromState == _arg1)) && ((_local6.toState == "*")))) && ((_local4 < 2)))){ _local3 = _local6.effect; _local4 = 2; } else { if ((((((_local6.fromState == "*")) && ((_local6.toState == _arg2)))) && ((_local4 < 3)))){ _local3 = _local6.effect; _local4 = 3; } else { if ((((((_local6.fromState == _arg1)) && ((_local6.toState == _arg2)))) && ((_local4 < 4)))){ _local3 = _local6.effect; _local4 = 4; break; }; }; }; }; _local5++; }; return (_local3); } public function set owner(_arg1:DisplayObjectContainer):void{ _owner = _arg1; } mx_internal function getEffectsForProperty(_arg1:String):Array{ return (((_affectedProperties[_arg1])!=undefined) ? _affectedProperties[_arg1] : []); } protected function get unscaledWidth():Number{ return ((width / Math.abs(scaleX))); } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; if (_arg1){ dispatchEvent(new FlexEvent(FlexEvent.INITIALIZE)); }; } private function processEffectFinished(_arg1:Array):void{ var _local2:int; var _local3:int; var _local4:EffectInstance; var _local5:EffectInstance; var _local6:Array; var _local7:int; var _local8:String; var _local9:int; _local2 = (_effectsStarted.length - 1); while (_local2 >= 0) { _local3 = 0; while (_local3 < _arg1.length) { _local4 = _arg1[_local3]; if (_local4 == _effectsStarted[_local2]){ _local5 = _effectsStarted[_local2]; _effectsStarted.splice(_local2, 1); _local6 = _local5.effect.getAffectedProperties(); _local7 = 0; while (_local7 < _local6.length) { _local8 = _local6[_local7]; if (_affectedProperties[_local8] != undefined){ _local9 = 0; while (_local9 < _affectedProperties[_local8].length) { if (_affectedProperties[_local8][_local9] == _local4){ _affectedProperties[_local8].splice(_local9, 1); break; }; _local9++; }; if (_affectedProperties[_local8].length == 0){ delete _affectedProperties[_local8]; }; }; _local7++; }; break; }; _local3++; }; _local2--; }; isEffectStarted = ((_effectsStarted.length > 0)) ? true : false; } protected function measure():void{ measuredWidth = (isNaN(_width)) ? 0 : _width; measuredHeight = (isNaN(_height)) ? 0 : _height; } private function dispatchResizeEvent():void{ var _local1:ResizeEvent; _local1 = new ResizeEvent(ResizeEvent.RESIZE); _local1.oldWidth = oldWidth; _local1.oldHeight = oldHeight; dispatchEvent(_local1); oldWidth = width; oldHeight = height; } public function get includeInLayout():Boolean{ return (_includeInLayout); } public function set maxWidth(_arg1:Number):void{ if (explicitMaxWidth == _arg1){ return; }; explicitMaxWidth = _arg1; } public function validateDisplayList():void{ var _local1:ISystemManager; if (invalidateDisplayListFlag){ _local1 = (parent as ISystemManager); if (_local1){ if ((((_local1 == systemManager.topLevelSystemManager)) && (!((_local1.document == this))))){ setActualSize(getExplicitOrMeasuredWidth(), getExplicitOrMeasuredHeight()); }; }; updateDisplayList(((scaleX == 0)) ? 0 : (width / scaleX), ((scaleY == 0)) ? 0 : (height / scaleY)); invalidateDisplayListFlag = false; }; } public function contentToGlobal(_arg1:Point):Point{ return (localToGlobal(_arg1)); } public function resolveAutomationIDPart(_arg1:Object):Array{ if (automationDelegate){ return (automationDelegate.resolveAutomationIDPart(_arg1)); }; return ([]); } public function setFocus():void{ var _local1:ISystemManager; _local1 = systemManager; if (((_local1) && (_local1.stage))){ if (UIComponentGlobals.callLaterDispatcherCount == 0){ _local1.stage.focus = this; UIComponentGlobals.nextFocusObject = null; } else { UIComponentGlobals.nextFocusObject = this; _local1.stage.addEventListener(Event.ENTER_FRAME, setFocusLater); }; } else { UIComponentGlobals.nextFocusObject = this; callLater(setFocusLater); }; } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function set initialized(_arg1:Boolean):void{ _initialized = _arg1; if (_arg1){ setVisible(_visible, true); dispatchEvent(new FlexEvent(FlexEvent.CREATION_COMPLETE)); }; } public function owns(_arg1:DisplayObject):Boolean{ var _local2:IChildList; _local2 = ((this is IRawChildrenContainer)) ? IRawChildrenContainer(this).rawChildren : IChildList(this); if (_local2.contains(_arg1)){ return (true); }; while (((_arg1) && (!((_arg1 == this))))) { if ((_arg1 is IUIComponent)){ _arg1 = IUIComponent(_arg1).owner; } else { _arg1 = _arg1.parent; }; }; return ((_arg1 == this)); } public function setVisible(_arg1:Boolean, _arg2:Boolean=false):void{ _visible = _arg1; if (!initialized){ return; }; if ($visible == _arg1){ return; }; $visible = _arg1; if (!_arg2){ dispatchEvent(new FlexEvent((_arg1) ? FlexEvent.SHOW : FlexEvent.HIDE)); }; } final mx_internal function set $y(_arg1:Number):void{ super.y = _arg1; } final mx_internal function $addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ return (super.addChildAt(_arg1, _arg2)); } public function deleteReferenceOnParentDocument(_arg1:IFlexDisplayObject):void{ var _local2:Array; var _local3:Object; var _local4:Array; var _local5:int; var _local6:int; var _local7:int; var _local8:Object; var _local9:PropertyChangeEvent; if (((id) && (!((id == ""))))){ _local2 = _instanceIndices; if (!_local2){ _arg1[id] = null; } else { _local3 = _arg1[id]; if (!_local3){ return; }; _local4 = []; _local4.push(_local3); _local5 = _local2.length; _local6 = 0; while (_local6 < (_local5 - 1)) { _local8 = _local3[_local2[_local6]]; if (!_local8){ return; }; _local3 = _local8; _local4.push(_local3); _local6++; }; _local3.splice(_local2[(_local5 - 1)], 1); _local7 = (_local4.length - 1); while (_local7 > 0) { if (_local4[_local7].length == 0){ _local4[(_local7 - 1)].splice(_local2[_local7], 1); }; _local7--; }; if ((((_local4.length > 0)) && ((_local4[0].length == 0)))){ _arg1[id] = null; } else { _local9 = PropertyChangeEvent.createUpdateEvent(_arg1, id, _arg1[id], _arg1[id]); _arg1.dispatchEvent(_local9); }; }; }; } private function commitCurrentState():void{ var _local1:Effect; var _local2:String; var _local3:StateChangeEvent; var _local4:String; var _local5:State; _local1 = (playStateTransition) ? getTransition(_currentState, requestedCurrentState) : null; _local2 = findCommonBaseState(_currentState, requestedCurrentState); _local4 = (_currentState) ? _currentState : ""; _local5 = getState(requestedCurrentState); if (_currentTransitionEffect){ _currentTransitionEffect.end(); }; initializeState(requestedCurrentState); if (_local1){ _local1.captureStartValues(); }; _local3 = new StateChangeEvent(StateChangeEvent.CURRENT_STATE_CHANGING); _local3.oldState = _local4; _local3.newState = (requestedCurrentState) ? requestedCurrentState : ""; dispatchEvent(_local3); if (isBaseState(_currentState)){ dispatchEvent(new FlexEvent(FlexEvent.EXIT_STATE)); }; removeState(_currentState, _local2); _currentState = requestedCurrentState; if (isBaseState(currentState)){ dispatchEvent(new FlexEvent(FlexEvent.ENTER_STATE)); } else { applyState(_currentState, _local2); }; _local3 = new StateChangeEvent(StateChangeEvent.CURRENT_STATE_CHANGE); _local3.oldState = _local4; _local3.newState = (_currentState) ? _currentState : ""; dispatchEvent(_local3); if (_local1){ UIComponentGlobals.layoutManager.validateNow(); _currentTransitionEffect = _local1; _local1.addEventListener(EffectEvent.EFFECT_END, transition_effectEndHandler); _local1.play(); }; } public function get nonInheritingStyles():Object{ return (_nonInheritingStyles); } final mx_internal function set $x(_arg1:Number):void{ super.x = _arg1; } private function applyState(_arg1:String, _arg2:String):void{ var _local3:State; var _local4:Array; var _local5:int; _local3 = getState(_arg1); if (_local3){ if (_local3.basedOn != _arg2){ applyState(_local3.basedOn, _arg2); }; _local4 = _local3.overrides; _local5 = 0; while (_local5 < _local4.length) { _local4[_local5].apply(this); _local5++; }; _local3.dispatchEnterState(); }; } override public function get width():Number{ return (_width); } public function effectStarted(_arg1:EffectInstance):void{ var _local2:Array; var _local3:int; var _local4:String; _effectsStarted.push(_arg1); _local2 = _arg1.effect.getAffectedProperties(); _local3 = 0; while (_local3 < _local2.length) { _local4 = _local2[_local3]; if (_affectedProperties[_local4] == undefined){ _affectedProperties[_local4] = []; }; _affectedProperties[_local4].push(_arg1); _local3++; }; isEffectStarted = true; } protected function commitProperties():void{ var _local1:Number; var _local2:Number; if (_scaleX != oldScaleX){ _local1 = Math.abs((_scaleX / oldScaleX)); if (!isNaN(explicitMinWidth)){ explicitMinWidth = (explicitMinWidth * _local1); }; if (!isNaN(explicitWidth)){ explicitWidth = (explicitWidth * _local1); }; if (!isNaN(explicitMaxWidth)){ explicitMaxWidth = (explicitMaxWidth * _local1); }; _width = (_width * _local1); super.scaleX = (oldScaleX = _scaleX); }; if (_scaleY != oldScaleY){ _local2 = Math.abs((_scaleY / oldScaleY)); if (!isNaN(explicitMinHeight)){ explicitMinHeight = (explicitMinHeight * _local2); }; if (!isNaN(explicitHeight)){ explicitHeight = (explicitHeight * _local2); }; if (!isNaN(explicitMaxHeight)){ explicitMaxHeight = (explicitMaxHeight * _local2); }; _height = (_height * _local2); super.scaleY = (oldScaleY = _scaleY); }; if (((!((x == oldX))) || (!((y == oldY))))){ dispatchMoveEvent(); }; if (((!((width == oldWidth))) || (!((height == oldHeight))))){ dispatchResizeEvent(); }; if (errorStringChanged){ errorStringChanged = false; setBorderColorForErrorString(); }; } public function get percentHeight():Number{ return (_percentHeight); } final mx_internal function get $parent():DisplayObjectContainer{ return (super.parent); } public function set explicitMinWidth(_arg1:Number):void{ var _local2:IInvalidating; if (_explicitMinWidth == _arg1){ return; }; _explicitMinWidth = _arg1; invalidateSize(); _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitMinWidthChanged")); } public function get isPopUp():Boolean{ return (_isPopUp); } private function measureSizes():Boolean{ var _local1:Boolean; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = false; if (!invalidateSizeFlag){ return (_local1); }; if (((isNaN(explicitWidth)) || (isNaN(explicitHeight)))){ _local4 = Math.abs(scaleX); _local5 = Math.abs(scaleY); if (_local4 != 1){ _measuredMinWidth = (_measuredMinWidth / _local4); _measuredWidth = (_measuredWidth / _local4); }; if (_local5 != 1){ _measuredMinHeight = (_measuredMinHeight / _local5); _measuredHeight = (_measuredHeight / _local5); }; measure(); invalidateSizeFlag = false; if (((!(isNaN(explicitMinWidth))) && ((measuredWidth < explicitMinWidth)))){ measuredWidth = explicitMinWidth; }; if (((!(isNaN(explicitMaxWidth))) && ((measuredWidth > explicitMaxWidth)))){ measuredWidth = explicitMaxWidth; }; if (((!(isNaN(explicitMinHeight))) && ((measuredHeight < explicitMinHeight)))){ measuredHeight = explicitMinHeight; }; if (((!(isNaN(explicitMaxHeight))) && ((measuredHeight > explicitMaxHeight)))){ measuredHeight = explicitMaxHeight; }; if (_local4 != 1){ _measuredMinWidth = (_measuredMinWidth * _local4); _measuredWidth = (_measuredWidth * _local4); }; if (_local5 != 1){ _measuredMinHeight = (_measuredMinHeight * _local5); _measuredHeight = (_measuredHeight * _local5); }; } else { invalidateSizeFlag = false; _measuredMinWidth = 0; _measuredMinHeight = 0; }; adjustSizesForScaleChanges(); if (isNaN(oldMinWidth)){ oldMinWidth = (isNaN(explicitMinWidth)) ? measuredMinWidth : explicitMinWidth; oldMinHeight = (isNaN(explicitMinHeight)) ? measuredMinHeight : explicitMinHeight; oldExplicitWidth = (isNaN(explicitWidth)) ? measuredWidth : explicitWidth; oldExplicitHeight = (isNaN(explicitHeight)) ? measuredHeight : explicitHeight; _local1 = true; } else { _local3 = (isNaN(explicitMinWidth)) ? measuredMinWidth : explicitMinWidth; if (_local3 != oldMinWidth){ oldMinWidth = _local3; _local1 = true; }; _local3 = (isNaN(explicitMinHeight)) ? measuredMinHeight : explicitMinHeight; if (_local3 != oldMinHeight){ oldMinHeight = _local3; _local1 = true; }; _local3 = (isNaN(explicitWidth)) ? measuredWidth : explicitWidth; if (_local3 != oldExplicitWidth){ oldExplicitWidth = _local3; _local1 = true; }; _local3 = (isNaN(explicitHeight)) ? measuredHeight : explicitHeight; if (_local3 != oldExplicitHeight){ oldExplicitHeight = _local3; _local1 = true; }; }; return (_local1); } public function get automationTabularData():Object{ if (automationDelegate){ return (automationDelegate.automationTabularData); }; return (null); } public function validateNow():void{ UIComponentGlobals.layoutManager.validateClient(this); } public function finishPrint(_arg1:Object, _arg2:IFlexDisplayObject):void{ } public function get repeaters():Array{ return ((_repeaters) ? _repeaters.slice(0) : []); } private function dispatchMoveEvent():void{ var _local1:MoveEvent; _local1 = new MoveEvent(MoveEvent.MOVE); _local1.oldX = oldX; _local1.oldY = oldY; dispatchEvent(_local1); oldX = x; oldY = y; } public function get measuredMinHeight():Number{ return (_measuredMinHeight); } public function drawFocus(_arg1:Boolean):void{ var _local2:DisplayObject; var _local3:Sprite; var _local4:DisplayObjectContainer; var _local5:Class; if (!parent){ return; }; _local2 = getFocusObject(); _local3 = (focusManager) ? focusManager.focusPane : null; if (((_arg1) && (!(isEffectStarted)))){ _local4 = _local3.parent; if (_local4 != parent){ if (_local4){ if ((_local4 is ISystemManager)){ ISystemManager(_local4).focusPane = null; } else { IUIComponent(_local4).focusPane = null; }; }; if ((parent is ISystemManager)){ ISystemManager(parent).focusPane = _local3; } else { IUIComponent(parent).focusPane = _local3; }; }; _local5 = getStyle("focusSkin"); if (((_local2) && (!((_local2 is _local5))))){ _local3.removeChild(_local2); _local2 = null; }; if (!_local2){ _local2 = new (_local5); _local2.name = "focus"; _local3.addChild(_local2); }; if ((_local2 is ILayoutManagerClient)){ ILayoutManagerClient(_local2).nestLevel = nestLevel; }; if ((_local2 is ISimpleStyleClient)){ ISimpleStyleClient(_local2).styleName = this; }; addEventListener(MoveEvent.MOVE, focusObj_moveHandler, true); addEventListener(MoveEvent.MOVE, focusObj_moveHandler); addEventListener(ResizeEvent.RESIZE, focusObj_resizeHandler, true); addEventListener(ResizeEvent.RESIZE, focusObj_resizeHandler); addEventListener(Event.REMOVED, focusObj_removedHandler, true); _local2.visible = true; hasFocusRect = true; adjustFocusRect(); } else { if (hasFocusRect){ if (_local2){ _local2.visible = false; }; removeEventListener(MoveEvent.MOVE, focusObj_moveHandler); removeEventListener(MoveEvent.MOVE, focusObj_moveHandler, true); removeEventListener(ResizeEvent.RESIZE, focusObj_resizeHandler, true); removeEventListener(ResizeEvent.RESIZE, focusObj_resizeHandler); removeEventListener(Event.REMOVED, focusObj_removedHandler, true); }; }; } private function get indexedID():String{ var _local1:String; var _local2:Array; _local1 = id; _local2 = instanceIndices; if (_local2){ _local1 = (_local1 + (("[" + _local2.join("][")) + "]")); }; return (_local1); } mx_internal function addingChild(_arg1:DisplayObject):void{ if ((((_arg1 is IUIComponent)) && (!(IUIComponent(_arg1).document)))){ IUIComponent(_arg1).document = (document) ? document : Application.application; }; if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).parentChanged(this); }; if ((_arg1 is ILayoutManagerClient)){ ILayoutManagerClient(_arg1).nestLevel = (nestLevel + 1); } else { if ((_arg1 is UITextField)){ UITextField(_arg1).nestLevel = (nestLevel + 1); }; }; if ((_arg1 is InteractiveObject)){ if (doubleClickEnabled){ InteractiveObject(_arg1).doubleClickEnabled = true; }; }; if ((_arg1 is IStyleClient)){ IStyleClient(_arg1).regenerateStyleCache(true); } else { if ((((_arg1 is UITextField)) && (UITextField(_arg1).inheritingStyles))){ StyleProtoChain.initTextField(UITextField(_arg1)); }; }; if ((_arg1 is ISimpleStyleClient)){ ISimpleStyleClient(_arg1).styleChanged(null); }; if ((_arg1 is IStyleClient)){ IStyleClient(_arg1).notifyStyleChangeInChildren(null, true); }; if ((_arg1 is UIComponent)){ UIComponent(_arg1).initThemeColor(); }; if ((_arg1 is UIComponent)){ UIComponent(_arg1).stylesInitialized(); }; } protected function initializationComplete():void{ processedDescriptors = true; } public function set moduleFactory(_arg1:IFlexModuleFactory):void{ _moduleFactory = _arg1; } public function set repeaterIndices(_arg1:Array):void{ _repeaterIndices = _arg1; } private function focusObj_removedHandler(_arg1:Event):void{ var _local2:DisplayObject; if (_arg1.target != this){ return; }; _local2 = getFocusObject(); if (_local2){ _local2.visible = false; }; } mx_internal function updateCallbacks():void{ if (invalidateDisplayListFlag){ UIComponentGlobals.layoutManager.invalidateDisplayList(this); }; if (invalidateSizeFlag){ UIComponentGlobals.layoutManager.invalidateSize(this); }; if (invalidatePropertiesFlag){ UIComponentGlobals.layoutManager.invalidateProperties(this); }; if (systemManager){ if ((((methodQueue.length > 0)) && (!(listeningForRender)))){ _systemManager.stage.addEventListener(Event.RENDER, callLaterDispatcher); _systemManager.stage.addEventListener(Event.ENTER_FRAME, callLaterDispatcher); listeningForRender = true; }; _systemManager.stage.invalidate(); }; } public function set styleDeclaration(_arg1:CSSStyleDeclaration):void{ _styleDeclaration = _arg1; } override public function set doubleClickEnabled(_arg1:Boolean):void{ var _local2:IChildList; var _local3:int; var _local4:InteractiveObject; super.doubleClickEnabled = _arg1; if ((this is IRawChildrenContainer)){ _local2 = IRawChildrenContainer(this).rawChildren; } else { _local2 = IChildList(this); }; _local3 = 0; while (_local3 < _local2.numChildren) { _local4 = (_local2.getChildAt(_local3) as InteractiveObject); if (_local4){ _local4.doubleClickEnabled = _arg1; }; _local3++; }; } public function prepareToPrint(_arg1:IFlexDisplayObject):Object{ return (null); } public function get minHeight():Number{ if (!isNaN(explicitMinHeight)){ return (explicitMinHeight); }; return (measuredMinHeight); } public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ var _local3:int; var _local4:int; var _local5:ISimpleStyleClient; cachedTextFormat = null; _local3 = numChildren; _local4 = 0; while (_local4 < _local3) { _local5 = (getChildAt(_local4) as ISimpleStyleClient); if (_local5){ _local5.styleChanged(_arg1); if ((_local5 is IStyleClient)){ IStyleClient(_local5).notifyStyleChangeInChildren(_arg1, _arg2); }; }; _local4++; }; } public function get contentMouseX():Number{ return (mouseX); } public function get contentMouseY():Number{ return (mouseY); } public function get tweeningProperties():Array{ return (_tweeningProperties); } public function set explicitMaxWidth(_arg1:Number):void{ var _local2:IInvalidating; if (_explicitMaxWidth == _arg1){ return; }; _explicitMaxWidth = _arg1; invalidateSize(); _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitMaxWidthChanged")); } public function set document(_arg1:Object):void{ var _local2:int; var _local3:int; var _local4:IUIComponent; _local2 = numChildren; _local3 = 0; while (_local3 < _local2) { _local4 = (getChildAt(_local3) as IUIComponent); if (!_local4){ } else { if ((((_local4.document == _document)) || ((_local4.document == Application.application)))){ _local4.document = _arg1; }; }; _local3++; }; _document = _arg1; } public function validateSize(_arg1:Boolean=false):void{ var _local2:int; var _local3:DisplayObject; var _local4:Boolean; var _local5:IInvalidating; if (_arg1){ _local2 = 0; while (_local2 < numChildren) { _local3 = getChildAt(_local2); if ((_local3 is ILayoutManagerClient)){ (_local3 as ILayoutManagerClient).validateSize(true); }; _local2++; }; }; if (invalidateSizeFlag){ _local4 = measureSizes(); if (((_local4) && (includeInLayout))){ invalidateDisplayList(); _local5 = (parent as IInvalidating); if (_local5){ _local5.invalidateSize(); _local5.invalidateDisplayList(); }; }; }; } override public function dispatchEvent(_arg1:Event):Boolean{ if (dispatchEventHook != null){ dispatchEventHook(_arg1, this); }; return (super.dispatchEvent(_arg1)); } public function set updateCompletePendingFlag(_arg1:Boolean):void{ _updateCompletePendingFlag = _arg1; } final mx_internal function get $height():Number{ return (super.height); } override public function set height(_arg1:Number):void{ var _local2:IInvalidating; if (explicitHeight != _arg1){ explicitHeight = _arg1; invalidateSize(); }; if (_height != _arg1){ invalidateProperties(); invalidateDisplayList(); _local2 = (parent as IInvalidating); if (((_local2) && (includeInLayout))){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; _height = _arg1; dispatchEvent(new Event("heightChanged")); }; } protected function attachOverlay():void{ addChild(overlay); } private function overlay_resizeHandler(_arg1:Event):void{ fillOverlay(overlay, overlayColor, null); } public function get numAutomationChildren():int{ if (automationDelegate){ return (automationDelegate.numAutomationChildren); }; return (0); } public function get explicitMinHeight():Number{ return (_explicitMinHeight); } public function localToContent(_arg1:Point):Point{ return (_arg1); } public function set id(_arg1:String):void{ _id = _arg1; } public function get parentApplication():Object{ var _local1:Object; var _local2:UIComponent; _local1 = systemManager.document; if (_local1 == this){ _local2 = (_local1.systemManager.parent as UIComponent); _local1 = (_local2) ? _local2.systemManager.document : null; }; return (_local1); } private function removeState(_arg1:String, _arg2:String):void{ var _local3:State; var _local4:Array; var _local5:int; _local3 = getState(_arg1); if (_local3){ _local3.dispatchExitState(); _local4 = _local3.overrides; _local5 = _local4.length; while (_local5) { _local4[(_local5 - 1)].remove(this); _local5--; }; if (_local3.basedOn != _arg2){ removeState(_local3.basedOn, _arg2); }; }; } public function setStyle(_arg1:String, _arg2):void{ var _local3:Boolean; var _local4:Boolean; var _local5:Boolean; if (_arg1 == "styleName"){ styleName = _arg2; return; }; if (EffectManager.getEventForEffectTrigger(_arg1) != ""){ EffectManager.setStyle(_arg1, this); }; _local3 = StyleManager.isInheritingStyle(_arg1); _local4 = !((inheritingStyles == UIComponent.STYLE_UNINITIALIZED)); _local5 = !((getStyle(_arg1) == _arg2)); if (!_styleDeclaration){ _styleDeclaration = new CSSStyleDeclaration(); _styleDeclaration.setStyle(_arg1, _arg2); if (_local4){ regenerateStyleCache(_local3); }; } else { _styleDeclaration.setStyle(_arg1, _arg2); }; if (((_local4) && (_local5))){ styleChanged(_arg1); notifyStyleChangeInChildren(_arg1, _local3); }; } public function get validationSubField():String{ return (_validationSubField); } public function get systemManager():ISystemManager{ var _local1:DisplayObject; var _local2:DisplayObjectContainer; var _local3:IUIComponent; if (!_systemManager){ _local1 = root; if (_local1){ _systemManager = (_local1 as ISystemManager); } else { _local2 = parent; while (_local2) { _local3 = (_local2 as IUIComponent); if (_local3){ _systemManager = _local3.systemManager; break; }; _local2 = _local2.parent; }; }; }; return (_systemManager); } public function get showInAutomationHierarchy():Boolean{ return (_showInAutomationHierarchy); } private function isBaseState(_arg1:String):Boolean{ return (((!(_arg1)) || ((_arg1 == "")))); } override public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ if (((overlayReferenceCount) && (!((_arg1 == overlay))))){ _arg2 = Math.min(_arg2, Math.max(0, (super.numChildren - 1))); }; addingChild(_arg1); $addChildAt(_arg1, _arg2); childAdded(_arg1); return (_arg1); } public function set enabled(_arg1:Boolean):void{ _enabled = _arg1; cachedTextFormat = null; invalidateDisplayList(); dispatchEvent(new Event("enabledChanged")); } public function get minWidth():Number{ if (!isNaN(explicitMinWidth)){ return (explicitMinWidth); }; return (measuredMinWidth); } private function setFocusLater(_arg1:Event=null):void{ var _local2:ISystemManager; _local2 = systemManager; if (((_local2) && (_local2.stage))){ _local2.stage.removeEventListener(Event.ENTER_FRAME, setFocusLater); if (UIComponentGlobals.nextFocusObject){ _local2.stage.focus = UIComponentGlobals.nextFocusObject; }; UIComponentGlobals.nextFocusObject = null; }; } public function get currentState():String{ return ((_currentStateChanged) ? requestedCurrentState : _currentState); } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get baselinePosition():Number{ return (NaN); } public function set cachePolicy(_arg1:String):void{ if (_cachePolicy != _arg1){ _cachePolicy = _arg1; if (_arg1 == UIComponentCachePolicy.OFF){ cacheAsBitmap = false; } else { if (_arg1 == UIComponentCachePolicy.ON){ cacheAsBitmap = true; } else { cacheAsBitmap = (cacheAsBitmapCount > 0); }; }; }; } public function get automationValue():Array{ if (automationDelegate){ return (automationDelegate.automationValue); }; return ([]); } public function set instanceIndices(_arg1:Array):void{ _instanceIndices = _arg1; } public function get repeaterIndex():int{ return ((_repeaterIndices) ? _repeaterIndices[(_repeaterIndices.length - 1)] : -1); } public function parentChanged(_arg1:DisplayObjectContainer):void{ if (!_arg1){ _parent = null; _nestLevel = 0; } else { if ((_arg1 is IStyleClient)){ _parent = _arg1; } else { if ((_arg1 is SystemManager)){ _parent = _arg1; } else { _parent = _arg1.parent; }; }; }; } public function get owner():DisplayObjectContainer{ return ((_owner) ? _owner : parent); } public function get processedDescriptors():Boolean{ return (_processedDescriptors); } override public function set alpha(_arg1:Number):void{ super.alpha = _arg1; dispatchEvent(new Event("alphaChanged")); } public function initializeRepeaterArrays(_arg1:IRepeaterClient):void{ if (((((((_arg1) && (_arg1.instanceIndices))) && (!(_instanceIndices)))) && (!(_arg1.isDocument)))){ _instanceIndices = _arg1.instanceIndices; _repeaters = _arg1.repeaters; _repeaterIndices = _arg1.repeaterIndices; }; } public function get maxWidth():Number{ return ((isNaN(explicitMaxWidth)) ? DEFAULT_MAX_WIDTH : explicitMaxWidth); } private function removedHandler(_arg1:Event):void{ if (_arg1.eventPhase != EventPhase.AT_TARGET){ return; }; if ((((parent is Container)) && (Container(parent).creatingContentPane))){ _arg1.stopImmediatePropagation(); return; }; } public function callLater(_arg1:Function, _arg2:Array=null):void{ var _local3:ISystemManager; methodQueue.push(new MethodQueueElement(_arg1, _arg2)); _local3 = systemManager; if (((_local3) && (_local3.stage))){ if (!listeningForRender){ _local3.stage.addEventListener(Event.RENDER, callLaterDispatcher); _local3.stage.addEventListener(Event.ENTER_FRAME, callLaterDispatcher); listeningForRender = true; }; _local3.stage.invalidate(); }; } private function addedHandler(_arg1:Event):void{ if (_arg1.eventPhase != EventPhase.AT_TARGET){ return; }; if ((((parent is Container)) && (Container(parent).creatingContentPane))){ _arg1.stopImmediatePropagation(); return; }; } public function get initialized():Boolean{ return (_initialized); } private function callLaterDispatcher2(_arg1:Event):void{ var _local2:ISystemManager; var _local3:Array; var _local4:int; var _local5:int; var _local6:MethodQueueElement; if (UIComponentGlobals.callLaterSuspendCount > 0){ return; }; _local2 = systemManager; if (((((_local2) && (_local2.stage))) && (listeningForRender))){ _local2.stage.removeEventListener(Event.RENDER, callLaterDispatcher); _local2.stage.removeEventListener(Event.ENTER_FRAME, callLaterDispatcher); listeningForRender = false; }; _local3 = methodQueue; methodQueue = []; _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local6 = MethodQueueElement(_local3[_local5]); _local6.method.apply(null, _local6.args); _local5++; }; } public function measureHTMLText(_arg1:String):TextLineMetrics{ return (determineTextFormatFromStyles().measureHTMLText(_arg1)); } public function set descriptor(_arg1:UIComponentDescriptor):void{ _descriptor = _arg1; } private function getState(_arg1:String):State{ var _local2:int; if (((!(states)) || (isBaseState(_arg1)))){ return (null); }; _local2 = 0; while (_local2 < states.length) { if (states[_local2].name == _arg1){ return (states[_local2]); }; _local2++; }; if (resourceStateUndefined == null){ loadResources(); }; throw (new ArgumentError(StringUtil.substitute(resourceStateUndefined, _arg1))); } mx_internal function get documentDescriptor():UIComponentDescriptor{ return (_documentDescriptor); } public function set includeInLayout(_arg1:Boolean):void{ var _local2:IInvalidating; if (_includeInLayout != _arg1){ _includeInLayout = _arg1; _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("includeInLayoutChanged")); }; } public function getClassStyleDeclarations():Array{ var myApplicationDomain:ApplicationDomain; var factory:IFlexModuleFactory; var className:String; var cache:Array; var decls:Array; var classNames:Array; var caches:Array; var declcache:Array; var myRoot:DisplayObject; var s:CSSStyleDeclaration; factory = ModuleManager.getAssociatedFactory(this); if (factory != null){ myApplicationDomain = ApplicationDomain(factory.info()["currentDomain"]); } else { myRoot = SystemManager.getSWFRoot(this); if (!myRoot){ return ([]); }; myApplicationDomain = myRoot.loaderInfo.applicationDomain; }; className = getQualifiedClassName(this); className = className.replace("::", "."); cache = StyleManager.typeSelectorCache[className]; if (cache){ return (cache); }; decls = []; classNames = []; caches = []; declcache = []; while (((((!((className == null))) && (!((className == "mx.core.UIComponent"))))) && (!((className == "mx.core.UITextField"))))) { cache = StyleManager.typeSelectorCache[className]; if (cache){ decls = decls.concat(cache); break; }; s = StyleManager.getStyleDeclaration(className); if (s){ decls.unshift(s); classNames.push(className); caches.push(classNames); declcache.push(decls); decls = []; classNames = []; } else { classNames.push(className); }; try { className = getQualifiedSuperclassName(myApplicationDomain.getDefinition(className)); className = className.replace("::", "."); } catch(e:ReferenceError) { className = null; }; }; caches.push(classNames); declcache.push(decls); decls = []; while (caches.length) { classNames = caches.pop(); decls = decls.concat(declcache.pop()); while (classNames.length) { StyleManager.typeSelectorCache[classNames.pop()] = decls; }; }; return (decls); } public function validateProperties():void{ if (invalidatePropertiesFlag){ commitProperties(); invalidatePropertiesFlag = false; }; } public function set measuredMinWidth(_arg1:Number):void{ _measuredMinWidth = _arg1; } override public function removeChild(_arg1:DisplayObject):DisplayObject{ removingChild(_arg1); $removeChild(_arg1); childRemoved(_arg1); return (_arg1); } private function initializeState(_arg1:String):void{ var _local2:State; _local2 = getState(_arg1); while (_local2) { _local2.initialize(); _local2 = getState(_local2.basedOn); }; } private function focusObj_moveHandler(_arg1:MoveEvent):void{ adjustFocusRect(); } public function get styleDeclaration():CSSStyleDeclaration{ return (_styleDeclaration); } override public function get doubleClickEnabled():Boolean{ return (super.doubleClickEnabled); } mx_internal function initProtoChain():void{ var _local1:CSSStyleDeclaration; var _local2:Object; var _local3:IStyleClient; var _local4:Array; var _local5:int; var _local6:int; var _local7:Object; var _local8:CSSStyleDeclaration; if (styleName){ if ((styleName is CSSStyleDeclaration)){ _local1 = CSSStyleDeclaration(styleName); } else { if ((styleName is IFlexDisplayObject)){ StyleProtoChain.initProtoChainForUIComponentStyleName(this); return; }; if ((styleName is String)){ _local1 = StyleManager.getStyleDeclaration(("." + styleName)); }; }; }; _local2 = StyleManager.stylesRoot; if (((_local2) && (_local2.effects))){ registerEffects(_local2.effects); }; _local3 = (parent as IStyleClient); if (_local3){ _local7 = _local3.inheritingStyles; if (_local7 == UIComponent.STYLE_UNINITIALIZED){ _local7 = _local2; }; } else { if (isPopUp){ _local7 = Application.application.inheritingStyles; } else { _local7 = StyleManager.stylesRoot; }; }; _local4 = getClassStyleDeclarations(); _local5 = _local4.length; _local6 = 0; while (_local6 < _local5) { _local8 = _local4[_local6]; _local7 = _local8.addStyleToProtoChain(_local7, this); _local2 = _local8.addStyleToProtoChain(_local2, this); if (_local8.effects){ registerEffects(_local8.effects); }; _local6++; }; if (_local1){ _local7 = _local1.addStyleToProtoChain(_local7, this); _local2 = _local1.addStyleToProtoChain(_local2, this); if (_local1.effects){ registerEffects(_local1.effects); }; }; inheritingStyles = (_styleDeclaration) ? _styleDeclaration.addStyleToProtoChain(_local7, this) : _local7; nonInheritingStyles = (_styleDeclaration) ? _styleDeclaration.addStyleToProtoChain(_local2, this) : _local2; } public function get repeaterIndices():Array{ return ((_repeaterIndices) ? _repeaterIndices.slice() : []); } private function creationCompleteHandler(_arg1:FlexEvent):void{ if (_currentStateChanged){ _currentStateChanged = false; commitCurrentState(); validateNow(); }; removeEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); } override public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ if (((overlayReferenceCount) && (!((_arg1 == overlay))))){ _arg2 = Math.min(_arg2, Math.max(0, (super.numChildren - 2))); }; super.setChildIndex(_arg1, _arg2); } public function set measuredHeight(_arg1:Number):void{ _measuredHeight = _arg1; } protected function createChildren():void{ } public function regenerateStyleCache(_arg1:Boolean):void{ var _local2:IChildList; var _local3:int; var _local4:int; var _local5:DisplayObject; initProtoChain(); _local2 = ((this is IRawChildrenContainer)) ? IRawChildrenContainer(this).rawChildren : IChildList(this); _local3 = _local2.numChildren; _local4 = 0; while (_local4 < _local3) { _local5 = _local2.getChildAt(_local4); if ((_local5 is IStyleClient)){ if (IStyleClient(_local5).inheritingStyles != UIComponent.STYLE_UNINITIALIZED){ IStyleClient(_local5).regenerateStyleCache(_arg1); }; } else { if ((_local5 is UITextField)){ if (UITextField(_local5).inheritingStyles){ StyleProtoChain.initTextField(UITextField(_local5)); }; }; }; _local4++; }; } public function get updateCompletePendingFlag():Boolean{ return (_updateCompletePendingFlag); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus(DisplayObject(_arg1.target))){ drawFocus(false); }; } public function contentToLocal(_arg1:Point):Point{ return (_arg1); } public function getFocus():InteractiveObject{ var _local1:ISystemManager; _local1 = systemManager; if (!_local1){ return (null); }; if (UIComponentGlobals.nextFocusObject){ return (UIComponentGlobals.nextFocusObject); }; return (_local1.stage.focus); } public function endEffectsStarted():void{ var _local1:int; var _local2:int; _local1 = _effectsStarted.length; _local2 = 0; while (_local2 < _local1) { _effectsStarted[_local2].end(); _local2++; }; } protected function get unscaledHeight():Number{ return ((height / Math.abs(scaleY))); } public function get enabled():Boolean{ return (_enabled); } override public function set cacheAsBitmap(_arg1:Boolean):void{ super.cacheAsBitmap = _arg1; cacheAsBitmapCount = (_arg1) ? 1 : 0; } public function get focusEnabled():Boolean{ return (_focusEnabled); } mx_internal function removeOverlay():void{ if ((((((overlayReferenceCount > 0)) && ((--overlayReferenceCount == 0)))) && (overlay))){ removeEventListener("resize", overlay_resizeHandler); if (super.getChildByName("overlay")){ $removeChild(overlay); }; overlay = null; }; } public function set cacheHeuristic(_arg1:Boolean):void{ if (_cachePolicy == UIComponentCachePolicy.AUTO){ if (_arg1){ cacheAsBitmapCount++; } else { if (cacheAsBitmapCount != 0){ cacheAsBitmapCount--; }; }; super.cacheAsBitmap = !((cacheAsBitmapCount == 0)); }; } public function get cachePolicy():String{ return (_cachePolicy); } public function set maxHeight(_arg1:Number):void{ if (explicitMaxHeight == _arg1){ return; }; explicitMaxHeight = _arg1; } public function set focusManager(_arg1:IFocusManager):void{ _focusManager = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, undefined); } public function get descriptor():UIComponentDescriptor{ return (_descriptor); } public function set nonInheritingStyles(_arg1:Object):void{ _nonInheritingStyles = _arg1; } public function set automationDelegate(_arg1:Object):void{ _automationDelegate = (_arg1 as IAutomationObject); } public function get measuredMinWidth():Number{ return (_measuredMinWidth); } public function createReferenceOnParentDocument(_arg1:IFlexDisplayObject):void{ var _local2:Array; var _local3:Object; var _local4:int; var _local5:int; var _local6:PropertyChangeEvent; var _local7:Object; if (((id) && (!((id == ""))))){ _local2 = _instanceIndices; if (!_local2){ _arg1[id] = this; } else { _local3 = _arg1[id]; if (!(_local3 is Array)){ _local3 = (_arg1[id] = []); }; _local4 = _local2.length; _local5 = 0; while (_local5 < (_local4 - 1)) { _local7 = _local3[_local2[_local5]]; if (!(_local7 is Array)){ _local7 = (_local3[_local2[_local5]] = []); }; _local3 = _local7; _local5++; }; _local3[_local2[(_local4 - 1)]] = this; _local6 = PropertyChangeEvent.createUpdateEvent(_arg1, id, _arg1[id], _arg1[id]); _arg1.dispatchEvent(_local6); }; }; } public function set isPopUp(_arg1:Boolean):void{ _isPopUp = _arg1; } override public function set width(_arg1:Number):void{ var _local2:IInvalidating; if (explicitWidth != _arg1){ explicitWidth = _arg1; invalidateSize(); }; if (_width != _arg1){ invalidateProperties(); invalidateDisplayList(); _local2 = (parent as IInvalidating); if (((_local2) && (includeInLayout))){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; _width = _arg1; dispatchEvent(new Event("widthChanged")); }; } public function get measuredHeight():Number{ return (_measuredHeight); } public function get repeater():IRepeater{ return ((_repeaters) ? _repeaters[(_repeaters.length - 1)] : null); } public function initialize():void{ if (initialized){ return; }; dispatchEvent(new FlexEvent(FlexEvent.PREINITIALIZE)); createChildren(); childrenCreated(); initializeAccessibility(); initializationComplete(); } public function set percentHeight(_arg1:Number):void{ var _local2:IInvalidating; if (_percentHeight == _arg1){ return; }; if (!isNaN(_arg1)){ _explicitHeight = NaN; }; _percentHeight = _arg1; _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; } final mx_internal function set $visible(_arg1:Boolean):void{ super.visible = _arg1; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } private function findCommonBaseState(_arg1:String, _arg2:String):String{ var _local3:State; var _local4:State; var _local5:Array; var _local6:Array; var _local7:String; _local3 = getState(_arg1); _local4 = getState(_arg2); if (((!(_local3)) || (!(_local4)))){ return (""); }; if (((isBaseState(_local3.basedOn)) || (isBaseState(_local4.basedOn)))){ return (""); }; _local5 = getBaseStates(_local3); _local6 = getBaseStates(_local4); _local7 = ""; while (_local5[_local5.length] == _local6[_local6.length]) { _local7 = _local5.pop(); _local6.pop(); if (((!(_local5.length)) || (!(_local6.length)))){ break; }; }; return (_local7); } mx_internal function childRemoved(_arg1:DisplayObject):void{ if ((_arg1 is IUIComponent)){ if (IUIComponent(_arg1).document != _arg1){ IUIComponent(_arg1).document = null; }; IUIComponent(_arg1).parentChanged(null); }; } final mx_internal function $removeChildAt(_arg1:int):DisplayObject{ return (super.removeChildAt(_arg1)); } public function get maxHeight():Number{ return ((isNaN(explicitMaxHeight)) ? DEFAULT_MAX_HEIGHT : explicitMaxHeight); } public function get focusManager():IFocusManager{ var _local1:DisplayObject; if (_focusManager){ return (_focusManager); }; _local1 = parent; while (_local1) { if ((_local1 is IFocusManagerContainer)){ return (IFocusManagerContainer(_local1).focusManager); }; _local1 = _local1.parent; }; return (null); } public function set styleName(_arg1:Object):void{ if (_styleName === _arg1){ return; }; _styleName = _arg1; if (inheritingStyles == UIComponent.STYLE_UNINITIALIZED){ return; }; regenerateStyleCache(true); initThemeColor(); styleChanged("styleName"); notifyStyleChangeInChildren("styleName", true); } public function get automationDelegate():Object{ return (_automationDelegate); } public function set explicitMaxHeight(_arg1:Number):void{ var _local2:IInvalidating; if (_explicitMaxHeight == _arg1){ return; }; _explicitMaxHeight = _arg1; invalidateSize(); _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitMaxHeightChanged")); } mx_internal function cancelAllCallLaters():void{ var _local1:ISystemManager; _local1 = systemManager; if (((_local1) && (_local1.stage))){ if (listeningForRender){ _local1.stage.removeEventListener(Event.RENDER, callLaterDispatcher); _local1.stage.removeEventListener(Event.ENTER_FRAME, callLaterDispatcher); listeningForRender = false; }; }; methodQueue.splice(0); } private function updateCompleteHandler(_arg1:Event):void{ UIComponentGlobals.layoutManager.removeEventListener(FlexEvent.UPDATE_COMPLETE, updateCompleteHandler); processEffectFinished(_endingEffectInstances); _endingEffectInstances = []; } public function styleChanged(_arg1:String):void{ if (((((!(_arg1)) || ((_arg1 == "styleName")))) || (StyleManager.isSizeInvalidatingStyle(_arg1)))){ invalidateSize(); }; if (((((!(_arg1)) || ((_arg1 == "styleName")))) || ((_arg1 == "themeColor")))){ initThemeColor(); }; invalidateDisplayList(); if ((parent is IInvalidating)){ if (StyleManager.isParentSizeInvalidatingStyle(_arg1)){ IInvalidating(parent).invalidateSize(); }; if (StyleManager.isParentDisplayListInvalidatingStyle(_arg1)){ IInvalidating(parent).invalidateDisplayList(); }; }; } final mx_internal function get $visible():Boolean{ return (super.visible); } public function drawRoundRect(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Object=null, _arg9:String=null, _arg10:Array=null, _arg11:Object=null):void{ var _local12:Graphics; var _local13:Number; var _local14:Array; var _local15:Matrix; var _local16:Object; _local12 = graphics; if (((!(_arg3)) || (!(_arg4)))){ return; }; if (_arg6 !== null){ if ((_arg6 is Array)){ if ((_arg7 is Array)){ _local14 = (_arg7 as Array); } else { _local14 = [_arg7, _arg7]; }; if (!_arg10){ _arg10 = [0, 0xFF]; }; _local15 = null; if (_arg8){ if ((_arg8 is Matrix)){ _local15 = Matrix(_arg8); } else { _local15 = new Matrix(); if ((_arg8 is Number)){ _local15.createGradientBox(_arg3, _arg4, ((Number(_arg8) * Math.PI) / 180), _arg1, _arg2); } else { _local15.createGradientBox(_arg8.w, _arg8.h, _arg8.r, _arg8.x, _arg8.y); }; }; }; if (_arg9 == GradientType.RADIAL){ _local12.beginGradientFill(GradientType.RADIAL, (_arg6 as Array), _local14, _arg10, _local15); } else { _local12.beginGradientFill(GradientType.LINEAR, (_arg6 as Array), _local14, _arg10, _local15); }; } else { _local12.beginFill(Number(_arg6), Number(_arg7)); }; }; if (!_arg5){ _local12.drawRect(_arg1, _arg2, _arg3, _arg4); } else { if ((_arg5 is Number)){ _local13 = (Number(_arg5) * 2); _local12.drawRoundRect(_arg1, _arg2, _arg3, _arg4, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg1, _arg2, _arg3, _arg4, _arg5.tl, _arg5.tr, _arg5.bl, _arg5.br); }; }; if (_arg11){ _local16 = _arg11.r; if ((_local16 is Number)){ _local13 = (Number(_local16) * 2); _local12.drawRoundRect(_arg11.x, _arg11.y, _arg11.w, _arg11.h, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg11.x, _arg11.y, _arg11.w, _arg11.h, _local16.tl, _local16.tr, _local16.bl, _local16.br); }; }; if (_arg6 !== null){ _local12.endFill(); }; } public function move(_arg1:Number, _arg2:Number):void{ var _local3:Boolean; _local3 = false; if (_arg1 != super.x){ super.x = _arg1; dispatchEvent(new Event("xChanged")); _local3 = true; }; if (_arg2 != super.y){ super.y = _arg2; dispatchEvent(new Event("yChanged")); _local3 = true; }; if (_local3){ dispatchMoveEvent(); }; } public function set toolTip(_arg1:String):void{ ToolTipManager.registerToolTip(this, _arg1); _toolTip = _arg1; dispatchEvent(new Event("toolTipChanged")); } public function set repeaters(_arg1:Array):void{ _repeaters = _arg1; } public function get explicitMaxHeight():Number{ return (_explicitMaxHeight); } public function get styleName():Object{ return (_styleName); } private function loadResources():void{ resourceStateUndefined = packageResources.getString("stateUndefined"); } public function set explicitWidth(_arg1:Number):void{ var _local2:IInvalidating; if (_explicitWidth == _arg1){ return; }; if (!isNaN(_arg1)){ _percentWidth = NaN; }; _explicitWidth = _arg1; invalidateSize(); _local2 = (parent as IInvalidating); if (((_local2) && (includeInLayout))){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; dispatchEvent(new Event("explicitWidthChanged")); } public function get parentDocument():Object{ var _local1:IUIComponent; var _local2:ISystemManager; if (document == this){ _local1 = (parent as IUIComponent); if (_local1){ return (_local1.document); }; _local2 = (parent as ISystemManager); if (_local2){ return (_local2.document); }; return (null); //unresolved jump }; return (document); } public function set measuredMinHeight(_arg1:Number):void{ _measuredMinHeight = _arg1; } protected function childrenCreated():void{ invalidateProperties(); invalidateSize(); invalidateDisplayList(); } private function setBorderColorForErrorString():void{ var _local1:IFocusManager; var _local2:DisplayObject; if (((!(_errorString)) || ((_errorString.length == 0)))){ setStyle("borderColor", origBorderColor); saveBorderColor = true; } else { if (saveBorderColor){ saveBorderColor = false; origBorderColor = getStyle("borderColor"); }; setStyle("borderColor", getStyle("errorColor")); }; styleChanged("themeColor"); _local1 = focusManager; _local2 = (_local1) ? DisplayObject(_local1.getFocus()) : null; if (((((_local1) && (_local1.showFocusIndicator))) && ((_local2 == this)))){ drawFocus(true); }; } public function measureText(_arg1:String):TextLineMetrics{ return (determineTextFormatFromStyles().measureText(_arg1)); } public function get explicitWidth():Number{ return (_explicitWidth); } public function invalidateSize():void{ if (!invalidateSizeFlag){ invalidateSizeFlag = true; if (((parent) && (UIComponentGlobals.layoutManager))){ UIComponentGlobals.layoutManager.invalidateSize(this); }; }; } override public function set filters(_arg1:Array):void{ var _local2:int; var _local3:int; var _local4:IEventDispatcher; if (_filters){ _local2 = _filters.length; _local3 = 0; while (_local3 < _local2) { _local4 = (_filters[_local3] as IEventDispatcher); if (_local4){ _local4.removeEventListener("change", filterChangeHandler); }; _local3++; }; }; _filters = _arg1; if (_filters){ _local2 = _filters.length; _local3 = 0; while (_local3 < _local2) { _local4 = (_filters[_local3] as IEventDispatcher); if (_local4){ _local4.addEventListener("change", filterChangeHandler); }; _local3++; }; }; super.filters = _filters; } protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ } override public function get filters():Array{ return ((_filters) ? _filters : super.filters); } public static function resumeBackgroundProcessing():void{ var _local1:SystemManager; if (UIComponentGlobals.callLaterSuspendCount > 0){ UIComponentGlobals.callLaterSuspendCount--; if (UIComponentGlobals.callLaterSuspendCount == 0){ _local1 = SystemManagerGlobals.topLevelSystemManagers[0]; if (((_local1) && (_local1.stage))){ _local1.stage.invalidate(); }; }; }; } public static function suspendBackgroundProcessing():void{ UIComponentGlobals.callLaterSuspendCount++; } } }//package mx.core class MethodQueueElement { public var method:Function; public var args:Array; private function MethodQueueElement(_arg1:Function, _arg2:Array=null){ this.method = _arg1; this.args = _arg2; } }
Section 244
//UIComponentCachePolicy (mx.core.UIComponentCachePolicy) package mx.core { public final class UIComponentCachePolicy { public static const AUTO:String = "auto"; public static const ON:String = "on"; mx_internal static const VERSION:String = "2.0.1.0"; public static const OFF:String = "off"; } }//package mx.core
Section 245
//UIComponentDescriptor (mx.core.UIComponentDescriptor) package mx.core { public class UIComponentDescriptor extends ComponentDescriptor { public var effects:Array; public var stylesFactory:Function; mx_internal var instanceIndices:Array; mx_internal var repeaters:Array; mx_internal var repeaterIndices:Array; mx_internal static const VERSION:String = "2.0.1.0"; public function UIComponentDescriptor(_arg1:Object){ super(_arg1); } override public function toString():String{ return (("UIComponentDescriptor_" + id)); } } }//package mx.core
Section 246
//UIComponentGlobals (mx.core.UIComponentGlobals) package mx.core { import flash.display.*; import flash.geom.*; import mx.managers.*; public class UIComponentGlobals { mx_internal static var callLaterSuspendCount:int = 0; mx_internal static var layoutManager:ILayoutManager; mx_internal static var nextFocusObject:InteractiveObject; mx_internal static var designTime:Boolean = false; mx_internal static var tempMatrix:Matrix = new Matrix(); mx_internal static var callLaterDispatcherCount:int = 0; } }//package mx.core
Section 247
//UITextField (mx.core.UITextField) package mx.core { import flash.events.*; import mx.resources.*; import flash.system.*; import mx.styles.*; import flash.display.*; import mx.managers.*; import mx.automation.*; import flash.text.*; import flash.utils.*; import mx.utils.*; public class UITextField extends FlexTextField implements IAutomationObject, IIMESupport, IFlexModule, IInvalidating, ISimpleStyleClient, IToolTipManagerClient, IUIComponent { private var _initialized:Boolean;// = false private var invalidateDisplayListFlag:Boolean;// = true mx_internal var explicitColor:uint;// = 4294967295 private var _processedDescriptors:Boolean;// = true private var explicitHTMLText:String;// = null private var _owner:DisplayObjectContainer; mx_internal var _parent:DisplayObjectContainer; mx_internal var styleChangedFlag:Boolean;// = true private var _explicitWidth:Number; private var _enabled:Boolean;// = true private var cachedTextFormat:TextFormat; private var _automationDelegate:IAutomationObject; private var _automationName:String; private var _document:Object; private var _styleName:Object; private var _nestLevel:int;// = 0 private var _explicitHeight:Number; private var _toolTip:String; private var _nonInheritingStyles:Object; private var _moduleFactory:IFlexModuleFactory; private var _inheritingStyles:Object; private var _includeInLayout:Boolean;// = true private var _updateCompletePendingFlag:Boolean;// = false private var _imeMode:String;// = null private var _ignorePadding:Boolean;// = true mx_internal static const VERSION:String = "2.0.1.0"; mx_internal static const TEXT_HEIGHT_PADDING:int = 4; mx_internal static const TEXT_WIDTH_PADDING:int = 5; private static var packageResources:ResourceBundle = ResourceBundle.getResourceBundle("core", ApplicationDomain.currentDomain); private static var resourceTruncationIndicator:String; public function UITextField(){ invalidateDisplayListFlag = true; styleChangedFlag = true; explicitHTMLText = null; explicitColor = StyleManager.NOT_A_COLOR; _enabled = true; _ignorePadding = true; _imeMode = null; _includeInLayout = true; _inheritingStyles = UIComponent.STYLE_UNINITIALIZED; _initialized = false; _nestLevel = 0; _nonInheritingStyles = UIComponent.STYLE_UNINITIALIZED; _processedDescriptors = true; _updateCompletePendingFlag = false; super(); focusRect = false; selectable = false; tabEnabled = false; addEventListener(Event.CHANGE, changeHandler); addEventListener("textFieldStyleChange", textFieldStyleChangeHandler); } public function get nestLevel():int{ return (_nestLevel); } public function set nestLevel(_arg1:int):void{ if ((((_arg1 > 1)) && (!((_nestLevel == _arg1))))){ _nestLevel = _arg1; StyleProtoChain.initTextField(this); styleChangedFlag = true; validateNow(); }; } public function getExplicitOrMeasuredHeight():Number{ return ((isNaN(explicitHeight)) ? measuredHeight : explicitHeight); } public function get className():String{ var _local1:String; var _local2:int; _local1 = getQualifiedClassName(this); _local2 = _local1.indexOf("::"); if (_local2 != -1){ _local1 = _local1.substr((_local2 + 2)); }; return (_local1); } public function setColor(_arg1:uint):void{ explicitColor = _arg1; styleChangedFlag = true; invalidateDisplayListFlag = true; validateNow(); } public function get automationName():String{ if (_automationName){ return (_automationName); }; if (automationDelegate){ return (automationDelegate.automationName); }; return (""); } private function creatingSystemManager():ISystemManager{ return ((((!((moduleFactory == null))) && ((moduleFactory is ISystemManager)))) ? ISystemManager(moduleFactory) : systemManager); } public function set tweeningProperties(_arg1:Array):void{ } public function invalidateDisplayList():void{ invalidateDisplayListFlag = true; } public function get focusPane():Sprite{ return (null); } public function getExplicitOrMeasuredWidth():Number{ return ((isNaN(explicitWidth)) ? measuredWidth : explicitWidth); } public function getTextStyles():TextFormat{ var _local1:TextFormat; _local1 = new TextFormat(); _local1.align = getStyle("textAlign"); _local1.bold = (getStyle("fontWeight") == "bold"); if (enabled){ if (explicitColor == StyleManager.NOT_A_COLOR){ _local1.color = getStyle("color"); } else { _local1.color = explicitColor; }; } else { _local1.color = getStyle("disabledColor"); }; _local1.font = StringUtil.trimArrayElements(getStyle("fontFamily"), ","); _local1.indent = getStyle("textIndent"); _local1.italic = (getStyle("fontStyle") == "italic"); _local1.kerning = getStyle("kerning"); _local1.leading = getStyle("leading"); _local1.leftMargin = (ignorePadding) ? 0 : getStyle("paddingLeft"); _local1.letterSpacing = getStyle("letterSpacing"); _local1.rightMargin = (ignorePadding) ? 0 : getStyle("paddingRight"); _local1.size = getStyle("fontSize"); _local1.underline = (getStyle("textDecoration") == "underline"); cachedTextFormat = _local1; return (_local1); } public function get explicitHeight():Number{ return (_explicitHeight); } public function set automationName(_arg1:String):void{ _automationName = _arg1; } public function get percentWidth():Number{ return (NaN); } public function createAutomationIDPart(_arg1:IAutomationObject):Object{ return (null); } override public function get parent():DisplayObjectContainer{ return ((_parent) ? _parent : super.parent); } public function setActualSize(_arg1:Number, _arg2:Number):void{ if (width != _arg1){ width = _arg1; }; if (height != _arg2){ height = _arg2; }; } public function set focusPane(_arg1:Sprite):void{ } public function getAutomationChildAt(_arg1:int):IAutomationObject{ return (null); } public function get inheritingStyles():Object{ return (_inheritingStyles); } public function invalidateProperties():void{ } public function get explicitMinWidth():Number{ return (NaN); } public function set explicitHeight(_arg1:Number):void{ _explicitHeight = _arg1; } public function set showInAutomationHierarchy(_arg1:Boolean):void{ } public function set systemManager(_arg1:ISystemManager):void{ } public function get moduleFactory():IFlexModuleFactory{ return (_moduleFactory); } public function set percentWidth(_arg1:Number):void{ } public function get imeMode():String{ return (_imeMode); } public function get document():Object{ return (_document); } public function get explicitMaxWidth():Number{ return (NaN); } public function replayAutomatableEvent(_arg1:Event):Boolean{ if (automationDelegate){ return (automationDelegate.replayAutomatableEvent(_arg1)); }; return (false); } public function set owner(_arg1:DisplayObjectContainer):void{ _owner = _arg1; } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; } public function get includeInLayout():Boolean{ return (_includeInLayout); } private function changeHandler(_arg1:Event):void{ explicitHTMLText = null; } override public function setTextFormat(_arg1:TextFormat, _arg2:int=-1, _arg3:int=-1):void{ if (styleSheet){ return; }; super.setTextFormat(_arg1, _arg2, _arg3); dispatchEvent(new Event("textFormatChange")); } public function resolveAutomationIDPart(_arg1:Object):Array{ return ([]); } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function setFocus():void{ systemManager.stage.focus = this; } public function set initialized(_arg1:Boolean):void{ _initialized = _arg1; } public function owns(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } public function setVisible(_arg1:Boolean, _arg2:Boolean=false):void{ this.visible = _arg1; } public function get nonInheritingStyles():Object{ return (_nonInheritingStyles); } public function get isPopUp():Boolean{ return (false); } public function get percentHeight():Number{ return (NaN); } public function truncateToFit(_arg1:String=null):Boolean{ var _local2:String; var _local3:Number; var _local4:String; if (!_arg1){ _arg1 = resourceTruncationIndicator; }; validateNow(); _local2 = super.text; _local3 = width; if (((!((_local2 == ""))) && (((textWidth + TEXT_WIDTH_PADDING) > _local3)))){ var _local5 = _local2; super.text = _local5; _local4 = _local5; _local2.slice(0, Math.floor(((_local3 / (textWidth + TEXT_WIDTH_PADDING)) * _local2.length))); while ((((_local4.length > 1)) && (((textWidth + TEXT_WIDTH_PADDING) > _local3)))) { _local4 = _local4.slice(0, -1); super.text = (_local4 + _arg1); }; return (true); }; return (false); } public function validateNow():void{ var _local1:TextFormat; var _local2:ISystemManager; if (!parent){ return; }; if (((!(isNaN(explicitWidth))) && (!((super.width == explicitWidth))))){ super.width = ((explicitWidth)>4) ? explicitWidth : 4; }; if (((!(isNaN(explicitHeight))) && (!((super.height == explicitHeight))))){ super.height = explicitHeight; }; if (styleChangedFlag){ _local1 = getTextStyles(); _local2 = creatingSystemManager(); embedFonts = (_local1.font) ? ((!((_local2 == null))) && (_local2.isFontFaceEmbedded(_local1))) : getStyle("embedFonts"); antiAliasType = getStyle("fontAntiAliasType"); gridFitType = getStyle("fontGridFitType"); sharpness = getStyle("fontSharpness"); thickness = getStyle("fontThickness"); if (!styleSheet){ super.setTextFormat(_local1); defaultTextFormat = _local1; }; dispatchEvent(new Event("textFieldStyleChange")); }; styleChangedFlag = false; invalidateDisplayListFlag = false; } public function get ignorePadding():Boolean{ return (_ignorePadding); } public function get automationTabularData():Object{ return (null); } private function textFieldStyleChangeHandler(_arg1:Event):void{ if (explicitHTMLText != null){ super.htmlText = explicitHTMLText; }; } public function set moduleFactory(_arg1:IFlexModuleFactory):void{ _moduleFactory = _arg1; } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } public function get measuredMinHeight():Number{ return (0); } public function get minHeight():Number{ return (0); } public function get tweeningProperties():Array{ return (null); } public function set document(_arg1:Object):void{ _document = _arg1; } public function set updateCompletePendingFlag(_arg1:Boolean):void{ _updateCompletePendingFlag = _arg1; } public function get explicitMinHeight():Number{ return (NaN); } override public function set text(_arg1:String):void{ if (!_arg1){ _arg1 = ""; }; if (((!(isHTML)) && ((super.text == _arg1)))){ return; }; super.text = _arg1; explicitHTMLText = null; if (invalidateDisplayListFlag){ validateNow(); }; } public function get numAutomationChildren():int{ return (0); } public function setStyle(_arg1:String, _arg2):void{ } public function get showInAutomationHierarchy():Boolean{ return (true); } public function get systemManager():ISystemManager{ var _local1:DisplayObject; var _local2:IUIComponent; _local1 = parent; while (_local1) { _local2 = (_local1 as IUIComponent); if (_local2){ return (_local2.systemManager); }; _local1 = _local1.parent; }; return (null); } public function get baselinePosition():Number{ var _local1:TextLineMetrics; _local1 = getLineMetrics(0); return (((height - 4) - _local1.descent)); } public function set enabled(_arg1:Boolean):void{ mouseEnabled = _arg1; _enabled = _arg1; styleChanged("color"); } public function get minWidth():Number{ return (0); } public function get automationValue():Array{ if (automationDelegate){ return (automationDelegate.automationValue); }; return ([""]); } public function get measuredWidth():Number{ validateNow(); return ((textWidth + TEXT_WIDTH_PADDING)); } public function parentChanged(_arg1:DisplayObjectContainer):void{ if (!_arg1){ _parent = null; _nestLevel = 0; } else { if ((_arg1 is IStyleClient)){ _parent = _arg1; } else { if ((_arg1 is SystemManager)){ _parent = _arg1; } else { _parent = _arg1.parent; }; }; }; } public function get processedDescriptors():Boolean{ return (_processedDescriptors); } public function get owner():DisplayObjectContainer{ return ((_owner) ? _owner : parent); } public function get maxWidth():Number{ return (UIComponent.DEFAULT_MAX_WIDTH); } public function get initialized():Boolean{ return (_initialized); } public function set includeInLayout(_arg1:Boolean):void{ var _local2:IInvalidating; if (_includeInLayout != _arg1){ _includeInLayout = _arg1; _local2 = (parent as IInvalidating); if (_local2){ _local2.invalidateSize(); _local2.invalidateDisplayList(); }; }; } override public function set htmlText(_arg1:String):void{ if (!_arg1){ _arg1 = ""; }; if (((isHTML) && ((super.htmlText == _arg1)))){ return; }; if (((cachedTextFormat) && ((styleSheet == null)))){ defaultTextFormat = cachedTextFormat; }; super.htmlText = _arg1; explicitHTMLText = _arg1; if (invalidateDisplayListFlag){ validateNow(); }; } public function set measuredMinWidth(_arg1:Number):void{ } public function get updateCompletePendingFlag():Boolean{ return (_updateCompletePendingFlag); } public function get enabled():Boolean{ return (_enabled); } public function set nonInheritingStyles(_arg1:Object):void{ _nonInheritingStyles = _arg1; } public function set automationDelegate(_arg1:Object):void{ _automationDelegate = (_arg1 as IAutomationObject); } public function get measuredMinWidth():Number{ return (0); } public function set isPopUp(_arg1:Boolean):void{ } public function get measuredHeight():Number{ validateNow(); return ((textHeight + TEXT_HEIGHT_PADDING)); } public function getUITextFormat():UITextFormat{ var _local1:UITextFormat; validateNow(); _local1 = new UITextFormat(creatingSystemManager()); _local1.copyFrom(getTextFormat()); _local1.antiAliasType = antiAliasType; _local1.gridFitType = gridFitType; _local1.sharpness = sharpness; _local1.thickness = thickness; return (_local1); } public function initialize():void{ } public function set percentHeight(_arg1:Number):void{ } public function get maxHeight():Number{ return (UIComponent.DEFAULT_MAX_HEIGHT); } public function set styleName(_arg1:Object):void{ if (_styleName === _arg1){ return; }; _styleName = _arg1; if (parent){ StyleProtoChain.initTextField(this); styleChanged("styleName"); }; } public function get automationDelegate():Object{ return (_automationDelegate); } public function set ignorePadding(_arg1:Boolean):void{ _ignorePadding = _arg1; styleChanged(null); } public function set toolTip(_arg1:String):void{ ToolTipManager.registerToolTip(this, _arg1); _toolTip = _arg1; } public function styleChanged(_arg1:String):void{ styleChangedFlag = true; if (!invalidateDisplayListFlag){ invalidateDisplayListFlag = true; UIComponent(parent).callLater(validateNow); }; } private function get isHTML():Boolean{ return (!((explicitHTMLText == null))); } public function get explicitMaxHeight():Number{ return (NaN); } public function invalidateSize():void{ invalidateDisplayListFlag = true; } public function set explicitWidth(_arg1:Number):void{ _explicitWidth = _arg1; } public function move(_arg1:Number, _arg2:Number):void{ if (this.x != _arg1){ this.x = _arg1; }; if (this.y != _arg2){ this.y = _arg2; }; } public function get toolTip():String{ return (_toolTip); } public function set measuredMinHeight(_arg1:Number):void{ } public function get explicitWidth():Number{ return (_explicitWidth); } public function getStyle(_arg1:String){ if (StyleManager.inheritingStyles[_arg1]){ return ((inheritingStyles) ? inheritingStyles[_arg1] : IStyleClient(parent).getStyle(_arg1)); //unresolved jump }; return ((nonInheritingStyles) ? nonInheritingStyles[_arg1] : IStyleClient(parent).getStyle(_arg1)); } public function get styleName():Object{ return (_styleName); } private static function loadResources():void{ resourceTruncationIndicator = packageResources.getString("truncationIndicator"); } loadResources(); } }//package mx.core
Section 248
//UITextFormat (mx.core.UITextFormat) package mx.core { import mx.managers.*; import flash.text.*; public class UITextFormat extends TextFormat { public var sharpness:Number; public var gridFitType:String; public var antiAliasType:String; public var thickness:Number; private var systemManager:ISystemManager; mx_internal static const VERSION:String = "2.0.1.0"; private static var measurementTextField:TextField; public function UITextFormat(_arg1:ISystemManager, _arg2:String=null, _arg3:Object=null, _arg4:Object=null, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:String=null, _arg9:String=null, _arg10:String=null, _arg11:Object=null, _arg12:Object=null, _arg13:Object=null, _arg14:Object=null){ this.systemManager = _arg1; super(_arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12, _arg13, _arg14); } public function measureText(_arg1:String):TextLineMetrics{ return (measure(_arg1, false)); } mx_internal function copyFrom(_arg1:TextFormat):void{ font = _arg1.font; size = _arg1.size; color = _arg1.color; bold = _arg1.bold; italic = _arg1.italic; underline = _arg1.underline; url = _arg1.url; target = _arg1.target; align = _arg1.align; leftMargin = _arg1.leftMargin; rightMargin = _arg1.rightMargin; indent = _arg1.indent; leading = _arg1.leading; } public function measureHTMLText(_arg1:String):TextLineMetrics{ return (measure(_arg1, true)); } private function measure(_arg1:String, _arg2:Boolean):TextLineMetrics{ var _local3:ISystemManager; var _local4:TextLineMetrics; if (!_arg1){ _arg1 = ""; }; if (!measurementTextField){ measurementTextField = new TextField(); }; if (_arg2){ measurementTextField.htmlText = ""; } else { measurementTextField.text = ""; }; measurementTextField.defaultTextFormat = this; _local3 = systemManager; if (font){ measurementTextField.embedFonts = ((!((_local3 == null))) && (_local3.isFontFaceEmbedded(this))); } else { measurementTextField.embedFonts = false; }; measurementTextField.antiAliasType = antiAliasType; measurementTextField.gridFitType = gridFitType; measurementTextField.sharpness = sharpness; measurementTextField.thickness = thickness; if (_arg2){ measurementTextField.htmlText = _arg1; } else { measurementTextField.text = _arg1; }; _local4 = measurementTextField.getLineMetrics(0); _local4.width = Math.ceil(_local4.width); _local4.height = Math.ceil(_local4.height); return (_local4); } } }//package mx.core
Section 249
//AddRemoveEffectTargetFilter (mx.effects.effectClasses.AddRemoveEffectTargetFilter) package mx.effects.effectClasses { import mx.effects.*; public class AddRemoveEffectTargetFilter extends EffectTargetFilter { public var add:Boolean;// = true mx_internal static const VERSION:String = "2.0.1.0"; public function AddRemoveEffectTargetFilter(){ add = true; super(); filterProperties = ["parent"]; } override protected function defaultFilterFunction(_arg1:Array, _arg2:Object):Boolean{ var _local3:int; var _local4:int; var _local5:PropertyChanges; _local3 = _arg1.length; _local4 = 0; while (_local4 < _local3) { _local5 = _arg1[_local4]; if (_local5.target == _arg2){ if (add){ return ((((_local5.start["parent"] == null)) && (!((_local5.end["parent"] == null))))); }; return (((!((_local5.start["parent"] == null))) && ((_local5.end["parent"] == null)))); }; _local4++; }; return (false); } } }//package mx.effects.effectClasses
Section 250
//HideShowEffectTargetFilter (mx.effects.effectClasses.HideShowEffectTargetFilter) package mx.effects.effectClasses { import mx.effects.*; public class HideShowEffectTargetFilter extends EffectTargetFilter { public var show:Boolean;// = true mx_internal static const VERSION:String = "2.0.1.0"; public function HideShowEffectTargetFilter(){ show = true; super(); filterProperties = ["visible"]; } override protected function defaultFilterFunction(_arg1:Array, _arg2:Object):Boolean{ var _local3:int; var _local4:int; var _local5:PropertyChanges; _local3 = _arg1.length; _local4 = 0; while (_local4 < _local3) { _local5 = _arg1[_local4]; if (_local5.target == _arg2){ return ((_local5.end["visible"] == show)); }; _local4++; }; return (false); } } }//package mx.effects.effectClasses
Section 251
//PropertyChanges (mx.effects.effectClasses.PropertyChanges) package mx.effects.effectClasses { import mx.core.*; public class PropertyChanges { public var start:Object; public var target:IUIComponent; public var end:Object; mx_internal static const VERSION:String = "2.0.1.0"; public function PropertyChanges(_arg1:IUIComponent){ end = {}; start = {}; super(); this.target = _arg1; } } }//package mx.effects.effectClasses
Section 252
//TweenEffectInstance (mx.effects.effectClasses.TweenEffectInstance) package mx.effects.effectClasses { import mx.core.*; import mx.events.*; import mx.effects.*; public class TweenEffectInstance extends EffectInstance { mx_internal var needToLayout:Boolean;// = false private var _seekTime:Number;// = 0 public var tween:Tween; public var easingFunction:Function; mx_internal static const VERSION:String = "2.0.1.0"; public function TweenEffectInstance(_arg1:Object){ needToLayout = false; _seekTime = 0; super(_arg1); } override public function get playheadTime():Number{ if (tween){ return ((tween.playheadTime + super.playheadTime)); }; return (0); } override mx_internal function set playReversed(_arg1:Boolean):void{ super.playReversed = _arg1; if (tween){ tween.playReversed = _arg1; }; } override public function resume():void{ super.resume(); if (tween){ tween.resume(); }; } public function onTweenUpdate(_arg1:Object):void{ } mx_internal function applyTweenStartValues():void{ if (duration > 0){ onTweenUpdate(tween.getCurrentValue(0)); }; } protected function createTween(_arg1:Object, _arg2:Object, _arg3:Object, _arg4:Number=-1, _arg5:Number=-1):Tween{ var _local6:Tween; _local6 = new Tween(_arg1, _arg2, _arg3, _arg4, _arg5); _local6.addEventListener(TweenEvent.TWEEN_START, tweenEventHandler); _local6.addEventListener(TweenEvent.TWEEN_UPDATE, tweenEventHandler); _local6.addEventListener(TweenEvent.TWEEN_END, tweenEventHandler); if (easingFunction != null){ _local6.easingFunction = easingFunction; }; if (_seekTime > 0){ _local6.seek(_seekTime); }; _local6.playReversed = playReversed; return (_local6); } override public function end():void{ stopRepeat = true; if (delayTimer){ delayTimer.reset(); }; if (tween){ tween.endTween(); tween = null; }; } override public function reverse():void{ super.reverse(); if (tween){ tween.reverse(); }; super.playReversed = !(playReversed); } private function tweenEventHandler(_arg1:TweenEvent):void{ dispatchEvent(_arg1); } public function seek(_arg1:Number):void{ if (tween){ tween.seek(_arg1); } else { _seekTime = _arg1; }; } override public function pause():void{ super.pause(); if (tween){ tween.pause(); }; } public function onTweenEnd(_arg1:Object):void{ onTweenUpdate(_arg1); tween = null; if (needToLayout){ UIComponentGlobals.layoutManager.validateNow(); }; finishRepeat(); } } }//package mx.effects.effectClasses
Section 253
//ZoomInstance (mx.effects.effectClasses.ZoomInstance) package mx.effects.effectClasses { import flash.events.*; import mx.core.*; import mx.events.*; import mx.effects.*; public class ZoomInstance extends TweenEffectInstance { private var show:Boolean;// = true private var origPercentHeight:Number; public var zoomWidthFrom:Number; private var origX:Number; private var origY:Number; private var scaledOriginY:Number; private var scaledOriginX:Number; private var origPercentWidth:Number; public var zoomWidthTo:Number; public var zoomHeightFrom:Number; private var newX:Number; private var newY:Number; public var captureRollEvents:Boolean; private var origScaleX:Number; private var origScaleY:Number; public var originX:Number; public var originY:Number; public var zoomHeightTo:Number; private var _mouseHasMoved:Boolean;// = false mx_internal static const VERSION:String = "2.0.1.0"; public function ZoomInstance(_arg1:Object){ _mouseHasMoved = false; show = true; super(_arg1); } override public function finishEffect():void{ if (captureRollEvents){ target.removeEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false); target.removeEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false); target.removeEventListener(MouseEvent.MOUSE_MOVE, mouseEventHandler, false); }; super.finishEffect(); } private function getScaleFromWidth(_arg1:Number):Number{ return ((_arg1 / (target.width / Math.abs(target.scaleX)))); } private function getScaleFromHeight(_arg1:Number):Number{ return ((_arg1 / (target.height / Math.abs(target.scaleY)))); } override public function play():void{ super.play(); applyPropertyChanges(); if (((((((isNaN(zoomWidthFrom)) && (isNaN(zoomWidthTo)))) && (isNaN(zoomHeightFrom)))) && (isNaN(zoomHeightTo)))){ if (show){ zoomWidthFrom = (zoomHeightFrom = 0); zoomWidthTo = target.scaleX; zoomHeightTo = target.scaleY; } else { zoomWidthFrom = target.scaleX; zoomHeightFrom = target.scaleY; zoomWidthTo = (zoomHeightTo = 0); }; } else { if (((isNaN(zoomWidthFrom)) && (isNaN(zoomWidthTo)))){ zoomWidthFrom = (zoomWidthTo = target.scaleX); } else { if (((isNaN(zoomHeightFrom)) && (isNaN(zoomHeightTo)))){ zoomHeightFrom = (zoomHeightTo = target.scaleY); }; }; if (isNaN(zoomWidthFrom)){ zoomWidthFrom = target.scaleX; } else { if (isNaN(zoomWidthTo)){ zoomWidthTo = ((zoomWidthFrom)==1) ? 0 : 1; }; }; if (isNaN(zoomHeightFrom)){ zoomHeightFrom = target.scaleY; } else { if (isNaN(zoomHeightTo)){ zoomHeightTo = ((zoomHeightFrom)==1) ? 0 : 1; }; }; }; if (zoomWidthFrom < 0.01){ zoomWidthFrom = 0.01; }; if (zoomWidthTo < 0.01){ zoomWidthTo = 0.01; }; if (zoomHeightFrom < 0.01){ zoomHeightFrom = 0.01; }; if (zoomHeightTo < 0.01){ zoomHeightTo = 0.01; }; origScaleX = target.scaleX; origScaleY = target.scaleY; newX = (origX = target.x); newY = (origY = target.y); if (isNaN(originX)){ scaledOriginX = (target.width / 2); } else { scaledOriginX = (originX * origScaleX); }; if (isNaN(originY)){ scaledOriginY = (target.height / 2); } else { scaledOriginY = (originY * origScaleY); }; scaledOriginX = Number(scaledOriginX.toFixed(1)); scaledOriginY = Number(scaledOriginY.toFixed(1)); origPercentWidth = target.percentWidth; if (!isNaN(origPercentWidth)){ target.width = target.width; }; origPercentHeight = target.percentHeight; if (!isNaN(origPercentHeight)){ target.height = target.height; }; tween = createTween(this, [zoomWidthFrom, zoomHeightFrom], [zoomWidthTo, zoomHeightTo], duration); if (captureRollEvents){ target.addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false); target.addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false); target.addEventListener(MouseEvent.MOUSE_MOVE, mouseEventHandler, false); }; } override public function onTweenEnd(_arg1:Object):void{ var _local2:Number; var _local3:Number; if (!isNaN(origPercentWidth)){ _local2 = target.width; target.percentWidth = origPercentWidth; if (((target.parent) && ((target.parent.autoLayout == false)))){ target._width = _local2; }; }; if (!isNaN(origPercentHeight)){ _local3 = target.height; target.percentHeight = origPercentHeight; if (((target.parent) && ((target.parent.autoLayout == false)))){ target._height = _local3; }; }; super.onTweenEnd(_arg1); if (mx_internal::hideOnEffectEnd){ EffectManager.suspendEventHandling(); target.scaleX = origScaleX; target.scaleY = origScaleY; target.move(origX, origY); EffectManager.resumeEventHandling(); }; } private function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_MOVE){ _mouseHasMoved = true; } else { if ((((_arg1.type == MouseEvent.ROLL_OUT)) || ((_arg1.type == MouseEvent.ROLL_OVER)))){ if (!_mouseHasMoved){ _arg1.stopImmediatePropagation(); }; _mouseHasMoved = false; }; }; } override public function onTweenUpdate(_arg1:Object):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; EffectManager.suspendEventHandling(); if (Math.abs((newX - Number(target.x.toFixed(1)))) > 0.1){ origX = (origX + (Number(target.x.toFixed(1)) - newX)); }; if (Math.abs((newY - Number(target.y.toFixed(1)))) > 0.1){ origY = (origY + (Number(target.y.toFixed(1)) - newY)); }; target.scaleX = _arg1[0]; target.scaleY = _arg1[1]; _local2 = (_arg1[0] / origScaleX); _local3 = (_arg1[1] / origScaleY); _local4 = (scaledOriginX * _local2); _local5 = (scaledOriginY * _local3); newX = ((scaledOriginX - _local4) + origX); newY = ((scaledOriginY - _local5) + origY); newX = Number(newX.toFixed(1)); newY = Number(newY.toFixed(1)); target.move(newX, newY); tween.mx_internal::needToLayout = true; EffectManager.resumeEventHandling(); } override public function initEffect(_arg1:Event):void{ super.initEffect(_arg1); if ((((_arg1.type == FlexEvent.HIDE)) || ((_arg1.type == Event.REMOVED)))){ show = false; }; } private function applyPropertyChanges():void{ var _local1:PropertyChanges; var _local2:Boolean; var _local3:Boolean; _local1 = propertyChanges; if (_local1){ _local2 = false; _local3 = false; if (_local1.end["scaleX"] !== undefined){ zoomWidthFrom = (isNaN(zoomWidthFrom)) ? target.scaleX : zoomWidthFrom; zoomWidthTo = (isNaN(zoomWidthTo)) ? _local1.end["scaleX"] : zoomWidthTo; _local3 = true; }; if (_local1.end["scaleY"] !== undefined){ zoomHeightFrom = (isNaN(zoomHeightFrom)) ? target.scaleY : zoomHeightFrom; zoomHeightTo = (isNaN(zoomHeightTo)) ? _local1.end["scaleY"] : zoomHeightTo; _local3 = true; }; if (_local3){ return; }; if (_local1.end["width"] !== undefined){ zoomWidthFrom = (isNaN(zoomWidthFrom)) ? getScaleFromWidth(target.width) : zoomWidthFrom; zoomWidthTo = (isNaN(zoomWidthTo)) ? getScaleFromWidth(_local1.end["width"]) : zoomWidthTo; _local2 = true; }; if (_local1.end["height"] !== undefined){ zoomHeightFrom = (isNaN(zoomHeightFrom)) ? getScaleFromHeight(target.height) : zoomHeightFrom; zoomHeightTo = (isNaN(zoomHeightTo)) ? getScaleFromHeight(_local1.end["height"]) : zoomHeightTo; _local2 = true; }; if (_local2){ return; }; if (_local1.end["visible"] !== undefined){ show = _local1.end["visible"]; }; }; } } }//package mx.effects.effectClasses
Section 254
//Effect (mx.effects.Effect) package mx.effects { import flash.events.*; import mx.core.*; import mx.events.*; import mx.managers.*; import mx.effects.effectClasses.*; import flash.utils.*; public class Effect extends EventDispatcher { mx_internal var applyActualDimensions:Boolean;// = true private var _instances:Array; private var _filter:String; private var _customFilter:EffectTargetFilter; mx_internal var durationExplicitlySet:Boolean;// = false public var repeatCount:int;// = 1 public var repeatDelay:int;// = 0 public var suspendBackgroundProcessing:Boolean;// = false public var startDelay:int;// = 0 private var _targets:Array; mx_internal var propertyChangesArray:Array; private var _relevantProperties:Array; mx_internal var filterObject:EffectTargetFilter; private var _callValidateNow:Boolean;// = false mx_internal var initEvent:Event; public var instanceClass:Class; private var _duration:Number;// = 500 private var _relevantStyles:Array; private var isPaused:Boolean;// = false mx_internal static const VERSION:String = "2.0.1.0"; public function Effect(_arg1:Object=null){ _instances = []; _callValidateNow = false; isPaused = false; applyActualDimensions = true; _duration = 500; durationExplicitlySet = false; _relevantStyles = []; instanceClass = IEffectInstance; repeatCount = 1; repeatDelay = 0; startDelay = 0; suspendBackgroundProcessing = false; _targets = []; super(); this.target = _arg1; } public function set targets(_arg1:Array):void{ var _local2:int; var _local3:int; _local2 = _arg1.length; _local3 = (_local2 - 1); while (_local3 > 0) { if (_arg1[_local3] == null){ _arg1.splice(_local3, 1); }; _local3--; }; _targets = _arg1; } public function end(_arg1:IEffectInstance=null):void{ var _local2:int; var _local3:int; var _local4:IEffectInstance; if (_arg1){ _arg1.end(); } else { _local2 = _instances.length; _local3 = _local2; while (_local3 >= 0) { _local4 = IEffectInstance(_instances[_local3]); if (_local4){ _local4.end(); }; _local3--; }; }; } protected function filterInstance(_arg1:Array, _arg2:Object):Boolean{ if (filterObject){ return (filterObject.filterFunction(_arg1, _arg2)); }; return (true); } public function get target():Object{ if (_targets.length > 0){ return (_targets[0]); }; return (null); } public function get duration():Number{ return (_duration); } protected function getValueFromTarget(_arg1:Object, _arg2:String){ if ((_arg2 in _arg1)){ return (_arg1[_arg2]); }; return (undefined); } public function set customFilter(_arg1:EffectTargetFilter):void{ _customFilter = _arg1; filterObject = _arg1; } public function get targets():Array{ return (_targets); } public function captureStartValues():void{ var _local1:int; var _local2:int; if (targets.length > 0){ propertyChangesArray = []; _callValidateNow = true; _local1 = targets.length; _local2 = 0; while (_local2 < _local1) { propertyChangesArray.push(new PropertyChanges(targets[_local2])); _local2++; }; propertyChangesArray = captureValues(propertyChangesArray, true); }; } public function set target(_arg1:Object):void{ _targets.splice(0); if (_arg1){ _targets[0] = _arg1; }; } public function get className():String{ var _local1:String; var _local2:int; _local1 = getQualifiedClassName(this); _local2 = _local1.indexOf("::"); if (_local2 != -1){ _local1 = _local1.substr((_local2 + 2)); }; return (_local1); } public function get isPlaying():Boolean{ return (((_instances) && ((_instances.length > 0)))); } mx_internal function captureValues(_arg1:Array, _arg2:Boolean):Array{ var _local3:Array; var _local4:Object; var _local5:Object; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:Array; _local3 = (filterObject) ? mergeArrays(relevantProperties, filterObject.filterProperties) : relevantProperties; if (((_local3) && ((_local3.length > 0)))){ _local6 = _arg1.length; _local7 = 0; while (_local7 < _local6) { _local5 = _arg1[_local7].target; _local4 = (_arg2) ? _arg1[_local7].start : _arg1[_local7].end; _local8 = _local3.length; _local9 = 0; while (_local9 < _local8) { _local4[_local3[_local9]] = getValueFromTarget(_local5, _local3[_local9]); _local9++; }; _local7++; }; }; _local10 = (filterObject) ? mergeArrays(relevantStyles, filterObject.filterStyles) : relevantStyles; if (((_local10) && ((_local10.length > 0)))){ _local6 = _arg1.length; _local7 = 0; while (_local7 < _local6) { _local5 = _arg1[_local7].target; _local4 = (_arg2) ? _arg1[_local7].start : _arg1[_local7].end; _local8 = _local10.length; _local9 = 0; while (_local9 < _local8) { _local4[_local10[_local9]] = _local5.getStyle(_local10[_local9]); _local9++; }; _local7++; }; }; return (_arg1); } public function set duration(_arg1:Number):void{ durationExplicitlySet = true; _duration = _arg1; } public function get relevantProperties():Array{ if (_relevantProperties){ return (_relevantProperties); }; return (getAffectedProperties()); } public function createInstance(_arg1:Object=null):IEffectInstance{ var _local2:IEffectInstance; var _local3:PropertyChanges; var _local4:Boolean; var _local5:Boolean; var _local6:int; var _local7:int; if (!_arg1){ _arg1 = this.target; }; _local2 = null; _local3 = null; _local4 = true; _local5 = false; if (propertyChangesArray){ _local5 = true; _local4 = filterInstance(propertyChangesArray, _arg1); }; if (_local4){ _local2 = IEffectInstance(new instanceClass(_arg1)); initInstance(_local2); if (_local5){ _local6 = propertyChangesArray.length; _local7 = 0; while (_local7 < _local6) { if (propertyChangesArray[_local7].target == _arg1){ _local2.propertyChanges = propertyChangesArray[_local7]; }; _local7++; }; }; EventDispatcher(_local2).addEventListener(EffectEvent.EFFECT_START, effectStartHandler); EventDispatcher(_local2).addEventListener(EffectEvent.EFFECT_END, effectEndHandler); _instances.push(_local2); if (initEvent){ _local2.initEffect(initEvent); }; }; return (_local2); } protected function applyValueToTarget(_arg1:Object, _arg2:String, _arg3, _arg4:Object):void{ var target = _arg1; var property = _arg2; var value = _arg3; var props = _arg4; if ((property in target)){ try { if (((((applyActualDimensions) && ((target is IFlexDisplayObject)))) && ((property == "height")))){ target.setActualSize(target.width, value); } else { if (((((applyActualDimensions) && ((target is IFlexDisplayObject)))) && ((property == "width")))){ target.setActualSize(value, target.height); } else { target[property] = value; }; }; } catch(e:Error) { }; }; } protected function effectStartHandler(_arg1:EffectEvent):void{ dispatchEvent(_arg1); } public function play(_arg1:Array=null, _arg2:Boolean=false):Array{ var _local3:Array; var _local4:int; var _local5:int; var _local6:IEffectInstance; if ((((_arg1 == null)) && (!((propertyChangesArray == null))))){ if (_callValidateNow){ LayoutManager.getInstance().validateNow(); }; propertyChangesArray = captureValues(propertyChangesArray, false); propertyChangesArray = stripUnchangedValues(propertyChangesArray); applyStartValues(propertyChangesArray, this.targets); }; _local3 = createInstances(_arg1); _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local6 = IEffectInstance(_local3[_local5]); Object(_local6).playReversed = _arg2; _local6.startEffect(); _local5++; }; return (_local3); } public function resume():void{ var _local1:int; var _local2:int; if (((isPlaying) && (isPaused))){ isPaused = false; _local1 = _instances.length; _local2 = 0; while (_local2 < _local1) { IEffectInstance(_instances[_local2]).resume(); _local2++; }; }; } public function set relevantStyles(_arg1:Array):void{ _relevantStyles = _arg1; } public function getAffectedProperties():Array{ return ([]); } protected function initInstance(_arg1:IEffectInstance):void{ _arg1.duration = duration; Object(_arg1).durationExplicitlySet = durationExplicitlySet; _arg1.effect = this; _arg1.repeatCount = repeatCount; _arg1.repeatDelay = repeatDelay; _arg1.startDelay = startDelay; _arg1.suspendBackgroundProcessing = suspendBackgroundProcessing; } public function get customFilter():EffectTargetFilter{ return (_customFilter); } mx_internal function applyStartValues(_arg1:Array, _arg2:Array):void{ var _local3:Array; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:Object; var _local9:Boolean; _local3 = relevantProperties; _local4 = _arg1.length; _local5 = 0; while (_local5 < _local4) { _local8 = _arg1[_local5].target; _local9 = false; _local6 = _arg2.length; _local7 = 0; while (_local7 < _local6) { if (_arg2[_local7] == _local8){ _local9 = filterInstance(_arg1, _local8); break; }; _local7++; }; if (_local9){ _local6 = _local3.length; _local7 = 0; while (_local7 < _local6) { if ((((_local3[_local7] in _arg1[_local5].start)) && ((_local3[_local7] in _local8)))){ applyValueToTarget(_local8, _local3[_local7], _arg1[_local5].start[_local3[_local7]], _arg1[_local5].start); }; _local7++; }; _local6 = relevantStyles.length; _local7 = 0; while (_local7 < _local6) { if ((relevantStyles[_local7] in _arg1[_local5].start)){ _local8.setStyle(relevantStyles[_local7], _arg1[_local5].start[relevantStyles[_local7]]); }; _local7++; }; }; _local5++; }; } public function get relevantStyles():Array{ return (_relevantStyles); } public function set relevantProperties(_arg1:Array):void{ _relevantProperties = _arg1; } public function createInstances(_arg1:Array=null):Array{ var _local2:Array; var _local3:int; var _local4:int; var _local5:IEffectInstance; if (!_arg1){ _arg1 = this.targets; }; _local2 = []; _local3 = _arg1.length; _local4 = 0; while (_local4 < _local3) { _local5 = createInstance(_arg1[_local4]); if (_local5){ _local2.push(_local5); }; _local4++; }; initEvent = null; return (_local2); } protected function effectEndHandler(_arg1:EffectEvent):void{ var _local2:IEffectInstance; var _local3:int; var _local4:int; _local2 = IEffectInstance(_arg1.effectInstance); EventDispatcher(_local2).removeEventListener(EffectEvent.EFFECT_START, effectStartHandler); EventDispatcher(_local2).removeEventListener(EffectEvent.EFFECT_END, effectEndHandler); _local3 = _instances.length; _local4 = 0; while (_local4 < _local3) { if (_instances[_local4] === _local2){ _instances.splice(_local4, 1); }; _local4++; }; dispatchEvent(_arg1); } public function reverse():void{ var _local1:int; var _local2:int; if (isPlaying){ _local1 = _instances.length; _local2 = 0; while (_local2 < _local1) { IEffectInstance(_instances[_local2]).reverse(); _local2++; }; }; } public function set filter(_arg1:String):void{ if (!customFilter){ _filter = _arg1; switch (_arg1){ case "add": case "remove": filterObject = new AddRemoveEffectTargetFilter(); AddRemoveEffectTargetFilter(filterObject).add = (_arg1 == "add"); break; case "hide": case "show": filterObject = new HideShowEffectTargetFilter(); HideShowEffectTargetFilter(filterObject).show = (_arg1 == "show"); break; case "move": filterObject = new EffectTargetFilter(); filterObject.filterProperties = ["x", "y"]; break; case "resize": filterObject = new EffectTargetFilter(); filterObject.filterProperties = ["width", "height"]; break; default: filterObject = null; break; }; }; } public function pause():void{ var _local1:int; var _local2:int; if (((isPlaying) && (!(isPaused)))){ isPaused = true; _local1 = _instances.length; _local2 = 0; while (_local2 < _local1) { IEffectInstance(_instances[_local2]).pause(); _local2++; }; }; } public function get filter():String{ return (_filter); } private static function mergeArrays(_arg1:Array, _arg2:Array):Array{ var _local3:int; var _local4:Boolean; var _local5:int; if (_arg2){ _local3 = 0; while (_local3 < _arg2.length) { _local4 = true; _local5 = 0; while (_local5 < _arg1.length) { if (_arg1[_local5] == _arg2[_local3]){ _local4 = false; break; }; _local5++; }; if (_local4){ _arg1.push(_arg2[_local3]); }; _local3++; }; }; return (_arg1); } private static function stripUnchangedValues(_arg1:Array):Array{ var _local2:int; var _local3:Object; _local2 = 0; while (_local2 < _arg1.length) { for (_local3 in _arg1[_local2].start) { if ((((_arg1[_local2].start[_local3] == _arg1[_local2].end[_local3])) || ((((((((typeof(_arg1[_local2].start[_local3]) == "number")) && ((typeof(_arg1[_local2].end[_local3]) == "number")))) && (isNaN(_arg1[_local2].start[_local3])))) && (isNaN(_arg1[_local2].end[_local3])))))){ delete _arg1[_local2].start[_local3]; delete _arg1[_local2].end[_local3]; }; }; _local2++; }; return (_arg1); } } }//package mx.effects
Section 255
//EffectInstance (mx.effects.EffectInstance) package mx.effects { import flash.events.*; import mx.core.*; import mx.events.*; import mx.effects.effectClasses.*; import flash.utils.*; public class EffectInstance extends EventDispatcher implements IEffectInstance { private var delayStartTime:Number;// = 0 private var playCount:int;// = 0 mx_internal var stopRepeat:Boolean;// = false private var _repeatCount:int; private var _suspendBackgroundProcessing:Boolean;// = false mx_internal var delayTimer:Timer; private var _triggerEvent:Event; mx_internal var parentCompositeEffectInstance:EffectInstance; mx_internal var durationExplicitlySet:Boolean;// = false private var _effect:Effect; private var _target:Object; mx_internal var hideOnEffectEnd:Boolean;// = false private var _startDelay:int;// = 0 private var delayElapsedTime:Number;// = 0 private var _repeatDelay:int;// = 0 private var _propertyChanges:PropertyChanges; private var _duration:Number;// = 500 private var _playReversed:Boolean; mx_internal static const VERSION:String = "2.0.1.0"; public function EffectInstance(_arg1:Object){ delayStartTime = 0; delayElapsedTime = 0; durationExplicitlySet = false; hideOnEffectEnd = false; playCount = 0; stopRepeat = false; _duration = 500; _repeatDelay = 0; _startDelay = 0; _suspendBackgroundProcessing = false; super(); this.target = _arg1; } public function get playheadTime():Number{ return ((((Math.max((playCount - 1), 0) * duration) + (Math.max((playCount - 2), 0) * repeatDelay)) + (playReversed) ? 0 : startDelay)); } public function finishEffect():void{ playCount = 0; dispatchEvent(new EffectEvent(EffectEvent.EFFECT_END, false, false, this)); if (target){ target.dispatchEvent(new EffectEvent(EffectEvent.EFFECT_END, false, false, this)); }; if ((target is IUIComponent)){ Object(target).effectFinished(this); }; } public function finishRepeat():void{ if (((((!(stopRepeat)) && (!((playCount == 0))))) && ((((playCount < repeatCount)) || ((repeatCount == 0)))))){ if (repeatDelay > 0){ delayTimer = new Timer(repeatDelay, 1); delayStartTime = getTimer(); delayTimer.addEventListener(TimerEvent.TIMER, delayTimerHandler); delayTimer.start(); } else { play(); }; } else { finishEffect(); }; } mx_internal function get playReversed():Boolean{ return (_playReversed); } public function set effect(_arg1:Effect):void{ _effect = _arg1; } public function get className():String{ var _local1:String; var _local2:int; _local1 = getQualifiedClassName(this); _local2 = _local1.indexOf("::"); if (_local2 != -1){ _local1 = _local1.substr((_local2 + 2)); }; return (_local1); } public function set duration(_arg1:Number):void{ durationExplicitlySet = true; _duration = _arg1; } mx_internal function set playReversed(_arg1:Boolean):void{ _playReversed = _arg1; } public function resume():void{ if (((((delayTimer) && (!(delayTimer.running)))) && (!(isNaN(delayElapsedTime))))){ delayTimer.delay = (playReversed) ? delayElapsedTime : (delayTimer.delay - delayElapsedTime); delayTimer.start(); }; } public function get propertyChanges():PropertyChanges{ return (_propertyChanges); } public function set target(_arg1:Object):void{ _target = _arg1; } public function get repeatCount():int{ return (_repeatCount); } mx_internal function playWithNoDuration():void{ duration = 0; repeatCount = 1; repeatDelay = 0; startDelay = 0; startEffect(); } public function get startDelay():int{ return (_startDelay); } mx_internal function get actualDuration():Number{ var _local1:Number; _local1 = NaN; if (repeatCount > 0){ _local1 = (((duration * repeatCount) + ((repeatDelay * repeatCount) - 1)) + startDelay); }; return (_local1); } public function get suspendBackgroundProcessing():Boolean{ return (_suspendBackgroundProcessing); } public function play():void{ playCount++; dispatchEvent(new EffectEvent(EffectEvent.EFFECT_START, false, false, this)); if (target){ target.dispatchEvent(new EffectEvent(EffectEvent.EFFECT_START, false, false, this)); }; } public function set repeatDelay(_arg1:int):void{ _repeatDelay = _arg1; } public function set propertyChanges(_arg1:PropertyChanges):void{ _propertyChanges = _arg1; } mx_internal function eventHandler(_arg1:Event):void{ if ((((_arg1.type == FlexEvent.SHOW)) && ((hideOnEffectEnd == true)))){ hideOnEffectEnd = false; _arg1.target.removeEventListener(FlexEvent.SHOW, eventHandler); }; } public function set repeatCount(_arg1:int):void{ _repeatCount = _arg1; } private function delayTimerHandler(_arg1:TimerEvent):void{ delayTimer.reset(); delayStartTime = NaN; delayElapsedTime = NaN; play(); } public function set suspendBackgroundProcessing(_arg1:Boolean):void{ _suspendBackgroundProcessing = _arg1; } public function set triggerEvent(_arg1:Event):void{ _triggerEvent = _arg1; } public function set startDelay(_arg1:int):void{ _startDelay = _arg1; } public function get effect():Effect{ return (_effect); } public function get duration():Number{ if (((!(durationExplicitlySet)) && (parentCompositeEffectInstance))){ return (parentCompositeEffectInstance.duration); }; return (_duration); } public function get target():Object{ return (_target); } public function startEffect():void{ if ((target is IUIComponent)){ Object(target).effectStarted(this); Object(target).drawFocus(false); }; if ((((startDelay > 0)) && (!(playReversed)))){ delayTimer = new Timer(startDelay, 1); delayStartTime = getTimer(); delayTimer.addEventListener(TimerEvent.TIMER, delayTimerHandler); delayTimer.start(); } else { play(); }; } public function get repeatDelay():int{ return (_repeatDelay); } public function initEffect(_arg1:Event):void{ triggerEvent = _arg1; switch (_arg1.type){ case "resizeStart": case "resizeEnd": if (!durationExplicitlySet){ duration = 250; }; break; case FlexEvent.HIDE: target.setVisible(true, true); hideOnEffectEnd = true; target.addEventListener(FlexEvent.SHOW, eventHandler); break; }; } public function get triggerEvent():Event{ return (_triggerEvent); } public function end():void{ if (delayTimer){ delayTimer.reset(); }; stopRepeat = true; finishEffect(); } public function reverse():void{ if (repeatCount > 0){ playCount = ((repeatCount - playCount) + 1); }; } public function pause():void{ if (((((delayTimer) && (delayTimer.running))) && (!(isNaN(delayStartTime))))){ delayTimer.stop(); delayElapsedTime = (getTimer() - delayStartTime); }; } } }//package mx.effects
Section 256
//EffectManager (mx.effects.EffectManager) package mx.effects { import flash.events.*; import mx.core.*; import mx.resources.*; import flash.system.*; import flash.display.*; import mx.events.*; public class EffectManager extends EventDispatcher { mx_internal static const VERSION:String = "2.0.1.0"; private static var resourceIncorrectTrigger:String; mx_internal static var effectsPlaying:Array = []; private static var targetsInfo:Array = []; private static var effectTriggersForEvent:Object = {}; mx_internal static var lastEffectCreated:Effect; private static var eventHandlingSuspendCount:Number = 0; private static var eventsForEffectTriggers:Object = {}; private static var packageResources:ResourceBundle = ResourceBundle.getResourceBundle("effects", ApplicationDomain.currentDomain); private static function createAndPlayEffect(_arg1:Event, _arg2:Object):void{ var _local3:Effect; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:Array; var _local9:String; var _local10:Array; var _local11:Array; var _local12:Array; var _local13:Array; var _local14:EffectInstance; _local3 = createEffectForType(_arg2, _arg1.type); if (!_local3){ return; }; if ((((_local3 is Zoom)) && ((_arg1.type == MoveEvent.MOVE)))){ throw (new Error(resourceIncorrectTrigger)); }; if (_arg2.initialized == false){ _local9 = _arg1.type; if ((((((((((_local9 == MoveEvent.MOVE)) || ((_local9 == ResizeEvent.RESIZE)))) || ((_local9 == FlexEvent.SHOW)))) || ((_local9 == FlexEvent.HIDE)))) || ((_local9 == Event.CHANGE)))){ _local3 = null; return; }; }; if ((_local3.target is IUIComponent)){ _local10 = IUIComponent(_local3.target).tweeningProperties; if (((_local10) && ((_local10.length > 0)))){ _local11 = _local3.getAffectedProperties(); _local4 = _local10.length; _local6 = _local11.length; _local5 = 0; while (_local5 < _local4) { _local7 = 0; while (_local7 < _local6) { if (_local10[_local5] == _local11[_local7]){ _local3 = null; return; }; _local7++; }; _local5++; }; }; }; if ((((_local3.target is UIComponent)) && (UIComponent(_local3.target).isEffectStarted))){ _local12 = _local3.getAffectedProperties(); _local5 = 0; while (_local5 < _local12.length) { _local13 = _local3.target.getEffectsForProperty(_local12[_local5]); if (_local13.length > 0){ if (_arg1.type == ResizeEvent.RESIZE){ return; }; _local7 = 0; while (_local7 < _local13.length) { _local14 = _local13[_local7]; if ((((_arg1.type == FlexEvent.SHOW)) && (_local14.hideOnEffectEnd))){ _local14.target.removeEventListener(FlexEvent.SHOW, _local14.eventHandler); _local14.hideOnEffectEnd = false; }; _local14.end(); _local7++; }; }; _local5++; }; }; _local3.initEvent = _arg1; _local3.addEventListener(EffectEvent.EFFECT_END, EffectManager.effectEndHandler); lastEffectCreated = _local3; _local8 = _local3.play(); _local4 = _local8.length; _local5 = 0; while (_local5 < _local4) { effectsPlaying.push(new EffectNode(_local3, _local8[_local5])); _local5++; }; if (_local3.suspendBackgroundProcessing){ UIComponent.suspendBackgroundProcessing(); }; } public static function suspendEventHandling():void{ eventHandlingSuspendCount++; } mx_internal static function registerEffectTrigger(_arg1:String, _arg2:String):void{ var _local3:Number; if (_arg1 != ""){ if (_arg2 == ""){ _local3 = _arg1.length; if ((((_local3 > 6)) && ((_arg1.substring((_local3 - 6)) == "Effect")))){ _arg2 = _arg1.substring(0, (_local3 - 6)); }; }; if (_arg2 != ""){ effectTriggersForEvent[_arg2] = _arg1; eventsForEffectTriggers[_arg1] = _arg2; }; }; } private static function removedEffectHandler(_arg1:DisplayObject, _arg2:DisplayObjectContainer, _arg3:int, _arg4:Event):void{ suspendEventHandling(); _arg2.addChildAt(_arg1, _arg3); resumeEventHandling(); createAndPlayEffect(_arg4, _arg1); } mx_internal static function endVectorEffect(_arg1:IUIComponent):void{ cacheOrUncacheTargetAsBitmap(_arg1, false, false); } public static function endEffectsForTarget(_arg1:IUIComponent):void{ var _local2:int; var _local3:int; var _local4:EffectInstance; _local2 = effectsPlaying.length; _local3 = (_local2 - 1); while (_local3 >= 0) { _local4 = effectsPlaying[_local3].instance; if (_local4.target == _arg1){ _local4.end(); }; _local3--; }; } private static function cacheOrUncacheTargetAsBitmap(_arg1:IUIComponent, _arg2:Boolean=true, _arg3:Boolean=true):void{ var _local4:int; var _local5:int; var _local6:Object; _local6 = null; _local4 = targetsInfo.length; _local5 = 0; while (_local5 < _local4) { if (targetsInfo[_local5].target == _arg1){ _local6 = targetsInfo[_local5]; break; }; _local5++; }; if (!_local6){ _local6 = {target:_arg1, bitmapEffectsCount:0, vectorEffectsCount:0}; targetsInfo.push(_local6); }; if (_arg2){ if (_arg3){ _local6.bitmapEffectsCount++; if ((((_local6.vectorEffectsCount == 0)) && ((_arg1 is IDeferredInstantiationUIComponent)))){ IDeferredInstantiationUIComponent(_arg1).cacheHeuristic = true; }; } else { if ((((((_local6.vectorEffectsCount++ == 0)) && ((_arg1 is IDeferredInstantiationUIComponent)))) && ((IDeferredInstantiationUIComponent(_arg1).cachePolicy == UIComponentCachePolicy.AUTO)))){ _arg1.cacheAsBitmap = false; }; }; } else { if (_arg3){ if (_local6.bitmapEffectsCount != 0){ _local6.bitmapEffectsCount--; }; if ((_arg1 is IDeferredInstantiationUIComponent)){ IDeferredInstantiationUIComponent(_arg1).cacheHeuristic = false; }; } else { if (_local6.vectorEffectsCount != 0){ if ((((--_local6.vectorEffectsCount == 0)) && (!((_local6.bitmapEffectsCount == 0))))){ _local4 = _local6.bitmapEffectsCount; _local5 = 0; while (_local5 < _local4) { if ((_arg1 is IDeferredInstantiationUIComponent)){ IDeferredInstantiationUIComponent(_arg1).cacheHeuristic = true; }; _local5++; }; }; }; }; if ((((_local6.bitmapEffectsCount == 0)) && ((_local6.vectorEffectsCount == 0)))){ _local4 = targetsInfo.length; _local5 = 0; while (_local5 < _local4) { if (targetsInfo[_local5].target == _arg1){ targetsInfo.splice(_local5, 1); break; }; _local5++; }; }; }; } mx_internal static function eventHandler(_arg1:Event):void{ var _local2:FocusEvent; var _local3:DisplayObject; var _local4:int; var _local5:DisplayObjectContainer; var _local6:int; if (!(_arg1.currentTarget is IFlexDisplayObject)){ return; }; if (eventHandlingSuspendCount > 0){ return; }; if ((((_arg1 is FocusEvent)) && ((((_arg1.type == FocusEvent.FOCUS_OUT)) || ((_arg1.type == FocusEvent.FOCUS_IN)))))){ _local2 = FocusEvent(_arg1); if (((_local2.relatedObject) && (((_local2.currentTarget.contains(_local2.relatedObject)) || ((_local2.currentTarget == _local2.relatedObject)))))){ return; }; }; if ((((((_arg1.type == Event.ADDED)) || ((_arg1.type == Event.REMOVED)))) && (!((_arg1.target == _arg1.currentTarget))))){ return; }; if (_arg1.type == Event.REMOVED){ if ((_arg1.target is UIComponent)){ if (UIComponent(_arg1.target).initialized == false){ return; }; if (UIComponent(_arg1.target).isEffectStarted){ _local4 = 0; while (_local4 < UIComponent(_arg1.target)._effectsStarted.length) { if (UIComponent(_arg1.target)._effectsStarted[_local4].triggerEvent.type == Event.REMOVED){ return; }; _local4++; }; }; }; _local3 = (_arg1.target as DisplayObject); if (_local3 != null){ _local5 = (_local3.parent as DisplayObjectContainer); if (_local5 != null){ _local6 = _local5.getChildIndex(_local3); if (_local6 >= 0){ if ((_local3 is UIComponent)){ UIComponent(_local3).callLater(removedEffectHandler, [_local3, _local5, _local6, _arg1]); }; }; }; }; } else { createAndPlayEffect(_arg1, _arg1.currentTarget); }; } mx_internal static function endBitmapEffect(_arg1:IUIComponent):void{ cacheOrUncacheTargetAsBitmap(_arg1, false, true); } private static function animateSameProperty(_arg1:Effect, _arg2:Effect, _arg3:EffectInstance):Boolean{ var _local4:Array; var _local5:Array; var _local6:int; var _local7:int; var _local8:int; var _local9:int; if (_arg1.target == _arg3.target){ _local4 = _arg1.getAffectedProperties(); _local5 = _arg2.getAffectedProperties(); _local6 = _local4.length; _local7 = _local5.length; _local8 = 0; while (_local8 < _local6) { _local9 = 0; while (_local9 < _local7) { if (_local4[_local8] == _local5[_local9]){ return (true); }; _local9++; }; _local8++; }; }; return (false); } private static function loadResources():void{ resourceIncorrectTrigger = packageResources.getString("incorrectTrigger"); } mx_internal static function effectEndHandler(_arg1:EffectEvent):void{ var _local2:IEffectInstance; var _local3:int; var _local4:int; var _local5:DisplayObject; var _local6:DisplayObjectContainer; _local2 = _arg1.effectInstance; _local3 = effectsPlaying.length; _local4 = (_local3 - 1); while (_local4 >= 0) { if (effectsPlaying[_local4].instance == _local2){ effectsPlaying.splice(_local4, 1); break; }; _local4--; }; if (Object(_local2).hideOnEffectEnd == true){ _local2.target.removeEventListener(FlexEvent.SHOW, Object(_local2).eventHandler); _local2.target.setVisible(false, true); }; if (((_local2.triggerEvent) && ((_local2.triggerEvent.type == Event.REMOVED)))){ _local5 = (_local2.target as DisplayObject); if (_local5 != null){ _local6 = (_local5.parent as DisplayObjectContainer); if (_local6 != null){ suspendEventHandling(); _local6.removeChild(_local5); resumeEventHandling(); }; }; }; if (_local2.suspendBackgroundProcessing){ UIComponent.resumeBackgroundProcessing(); }; } mx_internal static function startBitmapEffect(_arg1:IUIComponent):void{ cacheOrUncacheTargetAsBitmap(_arg1, true, true); } mx_internal static function setStyle(_arg1:String, _arg2):void{ var _local3:String; _local3 = eventsForEffectTriggers[_arg1]; if (((!((_local3 == null))) && (!((_local3 == ""))))){ _arg2.addEventListener(_local3, EffectManager.eventHandler, false, EventPriority.EFFECT); }; } mx_internal static function getEventForEffectTrigger(_arg1:String):String{ var effectTrigger = _arg1; if (eventsForEffectTriggers){ try { return (eventsForEffectTriggers[effectTrigger]); } catch(e:Error) { return (""); }; }; return (""); } mx_internal static function createEffectForType(_arg1:Object, _arg2:String):Effect{ var trigger:String; var value:Object; var effectClass:Class; var cls:Class; var effectObj:Effect; var doc:Object; var target = _arg1; var type = _arg2; trigger = effectTriggersForEvent[type]; if (trigger == ""){ trigger = (type + "Effect"); }; value = target.getStyle(trigger); if (!value){ return (null); }; if ((value is Class)){ cls = Class(value); return (new cls(target)); }; try { if ((value is String)){ doc = target.parentDocument; if (!doc){ doc = Application.application; }; effectObj = doc[value]; } else { if ((value is Effect)){ effectObj = Effect(value); }; }; if (effectObj){ effectObj.target = target; return (effectObj); }; } catch(e:Error) { }; effectClass = Class(target.systemManager.getDefinitionByName(("mx.effects." + value))); if (effectClass){ return (new effectClass(target)); }; return (null); } public static function resumeEventHandling():void{ eventHandlingSuspendCount--; } mx_internal static function startVectorEffect(_arg1:IUIComponent):void{ cacheOrUncacheTargetAsBitmap(_arg1, true, false); } loadResources(); } }//package mx.effects class EffectNode { public var instance:EffectInstance; public var factory:Effect; private function EffectNode(_arg1:Effect, _arg2:EffectInstance){ this.factory = _arg1; this.instance = _arg2; } }
Section 257
//EffectTargetFilter (mx.effects.EffectTargetFilter) package mx.effects { import mx.effects.effectClasses.*; public class EffectTargetFilter { public var filterFunction:Function; public var filterStyles:Array; public var filterProperties:Array; mx_internal static const VERSION:String = "2.0.1.0"; public function EffectTargetFilter(){ filterFunction = defaultFilterFunction; filterProperties = []; filterStyles = []; super(); } protected function defaultFilterFunction(_arg1:Array, _arg2:Object):Boolean{ var _local3:int; var _local4:int; var _local5:PropertyChanges; var _local6:Array; var _local7:int; var _local8:int; _local3 = _arg1.length; _local4 = 0; while (_local4 < _local3) { _local5 = _arg1[_local4]; if (_local5.target == _arg2){ _local6 = filterProperties.concat(filterStyles); _local7 = _local6.length; _local8 = 0; while (_local8 < _local7) { if (((!((_local5.start[_local6[_local8]] === undefined))) && (!((_local5.end[_local6[_local8]] == _local5.start[_local6[_local8]]))))){ return (true); }; _local8++; }; }; _local4++; }; return (false); } } }//package mx.effects
Section 258
//IEffectInstance (mx.effects.IEffectInstance) package mx.effects { import flash.events.*; import mx.effects.effectClasses.*; public interface IEffectInstance { function set startDelay(_arg1:int):void; function set triggerEvent(_arg1:Event):void; function get playheadTime():Number; function get triggerEvent():Event; function finishEffect():void; function finishRepeat():void; function initEffect(_arg1:Event):void; function get effect():Effect; function startEffect():void; function get duration():Number; function set repeatDelay(_arg1:int):void; function get target():Object; function get startDelay():int; function end():void; function set propertyChanges(_arg1:PropertyChanges):void; function set effect(_arg1:Effect):void; function get className():String; function get repeatDelay():int; function set target(_arg1:Object):void; function resume():void; function get propertyChanges():PropertyChanges; function set duration(_arg1:Number):void; function reverse():void; function get repeatCount():int; function pause():void; function set repeatCount(_arg1:int):void; function set suspendBackgroundProcessing(_arg1:Boolean):void; function play():void; function get suspendBackgroundProcessing():Boolean; } }//package mx.effects
Section 259
//Tween (mx.effects.Tween) package mx.effects { import flash.events.*; import mx.core.*; import mx.events.*; import flash.utils.*; public class Tween extends EventDispatcher { private var started:Boolean;// = false public var duration:Number;// = 3000 private var id:int; private var arrayMode:Boolean; private var _isPlaying:Boolean;// = true private var startValue:Object; public var listener:Object; private var userEquation:Function; private var previousUpdateTime:Number; mx_internal var needToLayout:Boolean;// = false private var updateFunction:Function; private var _doSeek:Boolean;// = false mx_internal var startTime:Number; private var endFunction:Function; private var endValue:Object; private var _doReverse:Boolean;// = false private var _playheadTime:Number;// = 0 private var _invertValues:Boolean;// = false private var maxDelay:Number;// = 87.5 mx_internal static const VERSION:String = "2.0.1.0"; private static var timer:Timer = null; private static var interval:Number = 10; private static var activeTweens:Array = []; mx_internal static var intervalTime:Number = NAN; public function Tween(_arg1:Object, _arg2:Object, _arg3:Object, _arg4:Number=-1, _arg5:Number=-1){ needToLayout = false; maxDelay = 87.5; _doSeek = false; _isPlaying = true; _doReverse = false; userEquation = defaultEasingFunction; started = false; duration = 3000; _playheadTime = 0; _invertValues = false; super(); if (!_arg1){ return; }; if ((_arg2 is Array)){ arrayMode = true; }; this.listener = _arg1; this.startValue = _arg2; this.endValue = _arg3; if (((!(isNaN(_arg4))) && (!((_arg4 == -1))))){ this.duration = _arg4; }; if (((!(isNaN(_arg5))) && (!((_arg5 == -1))))){ maxDelay = (1000 / _arg5); }; if (_arg4 == 0){ endTween(); } else { Tween.addTween(this); }; } public function pause():void{ _isPlaying = false; } mx_internal function get playheadTime():Number{ return (_playheadTime); } mx_internal function get playReversed():Boolean{ return (_invertValues); } public function resume():void{ _isPlaying = true; startTime = (intervalTime - _playheadTime); if (_doReverse){ reverse(); _doReverse = false; }; } public function setTweenHandlers(_arg1:Function, _arg2:Function):void{ this.updateFunction = _arg1; this.endFunction = _arg2; } mx_internal function set playReversed(_arg1:Boolean):void{ _invertValues = _arg1; } public function set easingFunction(_arg1:Function):void{ userEquation = _arg1; } private function defaultEasingFunction(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 / 2) * (Math.sin((Math.PI * ((_arg1 / _arg4) - 0.5))) + 1)) + _arg2)); } public function endTween():void{ var _local1:TweenEvent; var _local2:Object; _local1 = new TweenEvent(TweenEvent.TWEEN_END); _local2 = getCurrentValue(duration); _local1.value = _local2; dispatchEvent(_local1); if (endFunction != null){ endFunction(_local2); } else { listener.onTweenEnd(_local2); }; Tween.removeTweenAt(id); } public function reverse():void{ if (_isPlaying){ _doReverse = false; seek((duration - _playheadTime)); _invertValues = !(_invertValues); } else { _doReverse = !(_doReverse); }; } mx_internal function doInterval():Boolean{ var _local1:Boolean; var _local2:Number; var _local3:Object; var _local4:TweenEvent; var _local5:TweenEvent; _local1 = false; previousUpdateTime = intervalTime; if (((_isPlaying) || (_doSeek))){ _local2 = (intervalTime - startTime); _playheadTime = _local2; _local3 = getCurrentValue(_local2); if ((((_local2 >= duration)) && (!(_doSeek)))){ endTween(); _local1 = true; } else { if (!started){ _local5 = new TweenEvent(TweenEvent.TWEEN_START); dispatchEvent(_local5); started = true; }; _local4 = new TweenEvent(TweenEvent.TWEEN_UPDATE); _local4.value = _local3; dispatchEvent(_local4); if (updateFunction != null){ updateFunction(_local3); } else { listener.onTweenUpdate(_local3); }; }; _doSeek = false; }; return (_local1); } public function seek(_arg1:Number):void{ var _local2:Number; _local2 = intervalTime; previousUpdateTime = _local2; startTime = (_local2 - _arg1); _doSeek = true; } mx_internal function getCurrentValue(_arg1:Number):Object{ var _local2:Array; var _local3:int; var _local4:int; if (duration == 0){ return (endValue); }; if (_invertValues){ _arg1 = (duration - _arg1); }; if (arrayMode){ _local2 = []; _local3 = startValue.length; _local4 = 0; while (_local4 < _local3) { _local2[_local4] = userEquation(_arg1, startValue[_local4], (endValue[_local4] - startValue[_local4]), duration); _local4++; }; return (_local2); //unresolved jump }; return (userEquation(_arg1, startValue, (Number(endValue) - Number(startValue)), duration)); } mx_internal static function removeTween(_arg1:Tween):void{ removeTweenAt(_arg1.id); } private static function addTween(_arg1:Tween):void{ _arg1.id = activeTweens.length; activeTweens.push(_arg1); if (!timer){ timer = new Timer(interval); timer.addEventListener(TimerEvent.TIMER, timerHandler); timer.start(); } else { timer.start(); }; if (isNaN(intervalTime)){ intervalTime = getTimer(); }; _arg1.startTime = (_arg1.previousUpdateTime = intervalTime); } private static function timerHandler(_arg1:TimerEvent):void{ var _local2:Boolean; var _local3:Number; var _local4:int; var _local5:int; var _local6:Tween; _local2 = false; _local3 = intervalTime; intervalTime = getTimer(); _local4 = activeTweens.length; _local5 = _local4; while (_local5 >= 0) { _local6 = Tween(activeTweens[_local5]); if (_local6){ _local6.needToLayout = false; _local6.doInterval(); if (_local6.needToLayout){ _local2 = true; }; }; _local5--; }; if (_local2){ UIComponentGlobals.layoutManager.validateNow(); }; _arg1.updateAfterEvent(); } private static function removeTweenAt(_arg1:int):void{ var _local2:int; var _local3:int; var _local4:Tween; if ((((_arg1 >= activeTweens.length)) || ((_arg1 < 0)))){ return; }; activeTweens.splice(_arg1, 1); _local2 = activeTweens.length; _local3 = _arg1; while (_local3 < _local2) { _local4 = Tween(activeTweens[_local3]); _local4.id--; _local3++; }; if (_local2 == 0){ intervalTime = NaN; timer.reset(); }; } } }//package mx.effects
Section 260
//TweenEffect (mx.effects.TweenEffect) package mx.effects { import flash.events.*; import mx.events.*; import mx.effects.effectClasses.*; public class TweenEffect extends Effect { public var easingFunction:Function;// = null mx_internal static const VERSION:String = "2.0.1.0"; public function TweenEffect(_arg1:Object=null){ easingFunction = null; super(_arg1); instanceClass = TweenEffectInstance; } override protected function initInstance(_arg1:IEffectInstance):void{ super.initInstance(_arg1); TweenEffectInstance(_arg1).easingFunction = easingFunction; EventDispatcher(_arg1).addEventListener(TweenEvent.TWEEN_START, tweenEventHandler); EventDispatcher(_arg1).addEventListener(TweenEvent.TWEEN_UPDATE, tweenEventHandler); EventDispatcher(_arg1).addEventListener(TweenEvent.TWEEN_END, tweenEventHandler); } protected function tweenEventHandler(_arg1:TweenEvent):void{ dispatchEvent(_arg1); } } }//package mx.effects
Section 261
//Zoom (mx.effects.Zoom) package mx.effects { import mx.effects.effectClasses.*; public class Zoom extends TweenEffect { public var originY:Number; public var zoomWidthFrom:Number; public var zoomWidthTo:Number; public var zoomHeightFrom:Number; public var captureRollEvents:Boolean; public var zoomHeightTo:Number; public var originX:Number; mx_internal static const VERSION:String = "2.0.1.0"; private static var AFFECTED_PROPERTIES:Array = ["scaleX", "scaleY", "x", "y", "width", "height"]; public function Zoom(_arg1:Object=null){ super(_arg1); instanceClass = ZoomInstance; applyActualDimensions = false; relevantProperties = ["scaleX", "scaleY", "width", "height", "visible"]; } override public function getAffectedProperties():Array{ return (AFFECTED_PROPERTIES); } override protected function initInstance(_arg1:IEffectInstance):void{ var _local2:ZoomInstance; super.initInstance(_arg1); _local2 = ZoomInstance(_arg1); _local2.zoomWidthFrom = zoomWidthFrom; _local2.zoomWidthTo = zoomWidthTo; _local2.zoomHeightFrom = zoomHeightFrom; _local2.zoomHeightTo = zoomHeightTo; _local2.originX = originX; _local2.originY = originY; _local2.captureRollEvents = captureRollEvents; } } }//package mx.effects
Section 262
//ChildExistenceChangedEvent (mx.events.ChildExistenceChangedEvent) package mx.events { import flash.events.*; import flash.display.*; public class ChildExistenceChangedEvent extends Event { public var relatedObject:DisplayObject; public static const CHILD_REMOVE:String = "childRemove"; mx_internal static const VERSION:String = "2.0.1.0"; public static const OVERLAY_CREATED:String = "overlayCreated"; public static const CHILD_ADD:String = "childAdd"; public function ChildExistenceChangedEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:DisplayObject=null){ super(_arg1, _arg2, _arg3); this.relatedObject = _arg4; } override public function clone():Event{ return (new ChildExistenceChangedEvent(type, bubbles, cancelable, relatedObject)); } } }//package mx.events
Section 263
//DragEvent (mx.events.DragEvent) package mx.events { import flash.events.*; import mx.core.*; public class DragEvent extends MouseEvent { public var action:String; public var draggedItem:Object; public var dragSource:DragSource; public var dragInitiator:IUIComponent; public static const DRAG_DROP:String = "dragDrop"; public static const DRAG_COMPLETE:String = "dragComplete"; public static const DRAG_EXIT:String = "dragExit"; public static const DRAG_ENTER:String = "dragEnter"; public static const DRAG_START:String = "dragStart"; mx_internal static const VERSION:String = "2.0.1.0"; public static const DRAG_OVER:String = "dragOver"; public function DragEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=true, _arg4:IUIComponent=null, _arg5:DragSource=null, _arg6:String=null, _arg7:Boolean=false, _arg8:Boolean=false, _arg9:Boolean=false){ super(_arg1, _arg2, _arg3); this.dragInitiator = _arg4; this.dragSource = _arg5; this.action = _arg6; this.ctrlKey = _arg7; this.altKey = _arg8; this.shiftKey = _arg9; } override public function clone():Event{ var _local1:DragEvent; _local1 = new DragEvent(type, bubbles, cancelable, dragInitiator, dragSource, action, ctrlKey, altKey, shiftKey); _local1.relatedObject = this.relatedObject; _local1.localX = this.localX; _local1.localY = this.localY; return (_local1); } } }//package mx.events
Section 264
//DynamicEvent (mx.events.DynamicEvent) package mx.events { import flash.events.*; public dynamic class DynamicEvent extends Event { mx_internal static const VERSION:String = "2.0.1.0"; public function DynamicEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function clone():Event{ return (new DynamicEvent(type, bubbles, cancelable)); } } }//package mx.events
Section 265
//EffectEvent (mx.events.EffectEvent) package mx.events { import flash.events.*; import mx.effects.*; public class EffectEvent extends Event { public var effectInstance:IEffectInstance; public static const EFFECT_START:String = "effectStart"; mx_internal static const VERSION:String = "2.0.1.0"; public static const EFFECT_END:String = "effectEnd"; public function EffectEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:IEffectInstance=null){ super(_arg1, _arg2, _arg3); this.effectInstance = _arg4; } override public function clone():Event{ return (new EffectEvent(type, bubbles, cancelable, effectInstance)); } } }//package mx.events
Section 266
//FlexEvent (mx.events.FlexEvent) package mx.events { import flash.events.*; public class FlexEvent extends Event { public static const ADD:String = "add"; public static const TRANSFORM_CHANGE:String = "transformChange"; public static const INIT_COMPLETE:String = "initComplete"; public static const REMOVE:String = "remove"; public static const BUTTON_DOWN:String = "buttonDown"; public static const EXIT_STATE:String = "exitState"; public static const CREATION_COMPLETE:String = "creationComplete"; public static const REPEAT:String = "repeat"; public static const LOADING:String = "loading"; public static const REPEAT_START:String = "repeatStart"; public static const INITIALIZE:String = "initialize"; public static const ENTER_STATE:String = "enterState"; public static const URL_CHANGED:String = "urlChanged"; public static const REPEAT_END:String = "repeatEnd"; mx_internal static const VERSION:String = "2.0.1.0"; public static const HIDE:String = "hide"; public static const ENTER:String = "enter"; public static const PRELOADER_DONE:String = "preloaderDone"; public static const CURSOR_UPDATE:String = "cursorUpdate"; public static const PREINITIALIZE:String = "preinitialize"; public static const INVALID:String = "invalid"; public static const IDLE:String = "idle"; public static const VALID:String = "valid"; public static const DATA_CHANGE:String = "dataChange"; public static const APPLICATION_COMPLETE:String = "applicationComplete"; public static const VALUE_COMMIT:String = "valueCommit"; public static const UPDATE_COMPLETE:String = "updateComplete"; public static const INIT_PROGRESS:String = "initProgress"; public static const SHOW:String = "show"; public function FlexEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function clone():Event{ return (new FlexEvent(type, bubbles, cancelable)); } } }//package mx.events
Section 267
//FlexMouseEvent (mx.events.FlexMouseEvent) package mx.events { import flash.events.*; import flash.display.*; public class FlexMouseEvent extends MouseEvent { public static const MOUSE_DOWN_OUTSIDE:String = "mouseDownOutside"; public static const MOUSE_WHEEL_OUTSIDE:String = "mouseWheelOutside"; mx_internal static const VERSION:String = "2.0.1.0"; public function FlexMouseEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Number=0, _arg5:Number=0, _arg6:InteractiveObject=null, _arg7:Boolean=false, _arg8:Boolean=false, _arg9:Boolean=false, _arg10:Boolean=false, _arg11:int=0){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11); } override public function clone():Event{ return (new FlexMouseEvent(type, bubbles, cancelable, localX, localY, relatedObject, ctrlKey, altKey, shiftKey, buttonDown, delta)); } } }//package mx.events
Section 268
//IndexChangedEvent (mx.events.IndexChangedEvent) package mx.events { import flash.events.*; import flash.display.*; public class IndexChangedEvent extends Event { public var triggerEvent:Event; public var relatedObject:DisplayObject; public var newIndex:Number; public var oldIndex:Number; public static const HEADER_SHIFT:String = "headerShift"; public static const CHANGE:String = "change"; mx_internal static const VERSION:String = "2.0.1.0"; public static const CHILD_INDEX_CHANGE:String = "childIndexChange"; public function IndexChangedEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:DisplayObject=null, _arg5:Number=-1, _arg6:Number=-1, _arg7:Event=null){ super(_arg1, _arg2, _arg3); this.relatedObject = _arg4; this.oldIndex = _arg5; this.newIndex = _arg6; this.triggerEvent = _arg7; } override public function clone():Event{ return (new IndexChangedEvent(type, bubbles, cancelable, relatedObject, oldIndex, newIndex, triggerEvent)); } } }//package mx.events
Section 269
//ModuleEvent (mx.events.ModuleEvent) package mx.events { import flash.events.*; import mx.modules.*; public class ModuleEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "2.0.1.0"; public static var READY:String = "ready"; public static var ERROR:String = "error"; public static var PROGRESS:String = "progress"; public static var SETUP:String = "setup"; public static var UNLOAD:String = "unload"; public function ModuleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; } public function get module():IModuleInfo{ return ((target as IModuleInfo)); } override public function clone():Event{ return (new ModuleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 270
//MoveEvent (mx.events.MoveEvent) package mx.events { import flash.events.*; public class MoveEvent extends Event { public var oldY:Number; public var oldX:Number; mx_internal static const VERSION:String = "2.0.1.0"; public static const MOVE:String = "move"; public function MoveEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Number=NaN, _arg5:Number=NaN){ super(_arg1, _arg2, _arg3); this.oldX = _arg4; this.oldY = _arg5; } override public function clone():Event{ return (new MoveEvent(type, bubbles, cancelable, oldX, oldY)); } } }//package mx.events
Section 271
//PropertyChangeEvent (mx.events.PropertyChangeEvent) package mx.events { import flash.events.*; public class PropertyChangeEvent extends Event { public var oldValue:Object; public var property:Object; public var source:Object; public var kind:String; public var newValue:Object; mx_internal static const VERSION:String = "2.0.1.0"; public static const PROPERTY_CHANGE:String = "propertyChange"; public function PropertyChangeEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Object=null){ super(_arg1, _arg2, _arg3); this.kind = _arg4; this.property = _arg5; this.oldValue = _arg6; this.newValue = _arg7; this.source = _arg8; } override public function clone():Event{ return (new PropertyChangeEvent(type, bubbles, cancelable, kind, property, oldValue, newValue, source)); } public static function createUpdateEvent(_arg1:Object, _arg2:Object, _arg3:Object, _arg4:Object):PropertyChangeEvent{ var _local5:PropertyChangeEvent; _local5 = new PropertyChangeEvent(PROPERTY_CHANGE); _local5.kind = PropertyChangeEventKind.UPDATE; _local5.oldValue = _arg3; _local5.newValue = _arg4; _local5.source = _arg1; _local5.property = _arg2; return (_local5); } } }//package mx.events
Section 272
//PropertyChangeEventKind (mx.events.PropertyChangeEventKind) package mx.events { public final class PropertyChangeEventKind { mx_internal static const VERSION:String = "2.0.1.0"; public static const UPDATE:String = "update"; public static const DELETE:String = "delete"; } }//package mx.events
Section 273
//ResizeEvent (mx.events.ResizeEvent) package mx.events { import flash.events.*; public class ResizeEvent extends Event { public var oldHeight:Number; public var oldWidth:Number; mx_internal static const VERSION:String = "2.0.1.0"; public static const RESIZE:String = "resize"; public function ResizeEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Number=NaN, _arg5:Number=NaN){ super(_arg1, _arg2, _arg3); this.oldWidth = _arg4; this.oldHeight = _arg5; } override public function clone():Event{ return (new ResizeEvent(type, bubbles, cancelable, oldWidth, oldHeight)); } } }//package mx.events
Section 274
//RSLEvent (mx.events.RSLEvent) package mx.events { import flash.events.*; import flash.net.*; public class RSLEvent extends ProgressEvent { public var errorText:String; public var rslIndex:int; public var rslTotal:int; public var url:URLRequest; public static const RSL_PROGRESS:String = "rslProgress"; public static const RSL_ERROR:String = "rslError"; mx_internal static const VERSION:String = "2.0.1.0"; public static const RSL_COMPLETE:String = "rslComplete"; public function RSLEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:int=-1, _arg5:int=-1, _arg6:int=-1, _arg7:int=-1, _arg8:URLRequest=null, _arg9:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.rslIndex = _arg6; this.rslTotal = _arg7; this.url = _arg8; this.errorText = _arg9; } override public function clone():Event{ return (new RSLEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, rslIndex, rslTotal, url, errorText)); } } }//package mx.events
Section 275
//ScrollEvent (mx.events.ScrollEvent) package mx.events { import flash.events.*; public class ScrollEvent extends Event { public var detail:String; public var position:Number; public var delta:Number; public var direction:String; mx_internal static const VERSION:String = "2.0.1.0"; public static const SCROLL:String = "scroll"; public function ScrollEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:Number=NaN, _arg6:String=null, _arg7:Number=NaN){ super(_arg1, _arg2, _arg3); this.detail = _arg4; this.position = _arg5; this.direction = _arg6; this.delta = _arg7; } override public function clone():Event{ return (new ScrollEvent(type, bubbles, cancelable, detail, position, direction, delta)); } } }//package mx.events
Section 276
//ScrollEventDetail (mx.events.ScrollEventDetail) package mx.events { public final class ScrollEventDetail { public static const LINE_UP:String = "lineUp"; public static const AT_RIGHT:String = "atRight"; public static const PAGE_UP:String = "pageUp"; public static const LINE_DOWN:String = "lineDown"; public static const PAGE_DOWN:String = "pageDown"; public static const AT_LEFT:String = "atLeft"; public static const PAGE_RIGHT:String = "pageRight"; public static const THUMB_POSITION:String = "thumbPosition"; public static const AT_TOP:String = "atTop"; public static const LINE_LEFT:String = "lineLeft"; public static const AT_BOTTOM:String = "atBottom"; public static const LINE_RIGHT:String = "lineRight"; public static const THUMB_TRACK:String = "thumbTrack"; public static const PAGE_LEFT:String = "pageLeft"; mx_internal static const VERSION:String = "2.0.1.0"; } }//package mx.events
Section 277
//ScrollEventDirection (mx.events.ScrollEventDirection) package mx.events { public final class ScrollEventDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; mx_internal static const VERSION:String = "2.0.1.0"; } }//package mx.events
Section 278
//StateChangeEvent (mx.events.StateChangeEvent) package mx.events { import flash.events.*; public class StateChangeEvent extends Event { public var oldState:String; public var newState:String; public static const CURRENT_STATE_CHANGING:String = "currentStateChanging"; public static const CURRENT_STATE_CHANGE:String = "currentStateChange"; mx_internal static const VERSION:String = "2.0.1.0"; public function StateChangeEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:String=null){ super(_arg1, _arg2, _arg3); this.oldState = _arg4; this.newState = _arg5; } override public function clone():Event{ return (new StateChangeEvent(type, bubbles, cancelable, oldState, newState)); } } }//package mx.events
Section 279
//StyleEvent (mx.events.StyleEvent) package mx.events { import flash.events.*; public class StyleEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "2.0.1.0"; public static const COMPLETE:String = "complete"; public static const PROGRESS:String = "progress"; public static const ERROR:String = "error"; public function StyleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; } override public function clone():Event{ return (new StyleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 280
//ToolTipEvent (mx.events.ToolTipEvent) package mx.events { import flash.events.*; import mx.core.*; public class ToolTipEvent extends Event { public var toolTip:IToolTip; public static const TOOL_TIP_SHOWN:String = "toolTipShown"; public static const TOOL_TIP_CREATE:String = "toolTipCreate"; public static const TOOL_TIP_SHOW:String = "toolTipShow"; public static const TOOL_TIP_HIDE:String = "toolTipHide"; public static const TOOL_TIP_END:String = "toolTipEnd"; mx_internal static const VERSION:String = "2.0.1.0"; public static const TOOL_TIP_START:String = "toolTipStart"; public function ToolTipEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:IToolTip=null){ super(_arg1, _arg2, _arg3); this.toolTip = _arg4; } override public function clone():Event{ return (new ToolTipEvent(type, bubbles, cancelable, toolTip)); } } }//package mx.events
Section 281
//TweenEvent (mx.events.TweenEvent) package mx.events { import flash.events.*; public class TweenEvent extends Event { public var value:Object; public static const TWEEN_END:String = "tweenEnd"; mx_internal static const VERSION:String = "2.0.1.0"; public static const TWEEN_UPDATE:String = "tweenUpdate"; public static const TWEEN_START:String = "tweenStart"; public function TweenEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Object=null){ super(_arg1, _arg2, _arg3); this.value = _arg4; } override public function clone():Event{ return (new TweenEvent(type, bubbles, cancelable, value)); } } }//package mx.events
Section 282
//ValidationResultEvent (mx.events.ValidationResultEvent) package mx.events { import flash.events.*; public class ValidationResultEvent extends Event { public var results:Array; public var field:String; public static const INVALID:String = "invalid"; mx_internal static const VERSION:String = "2.0.1.0"; public static const VALID:String = "valid"; public function ValidationResultEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:Array=null){ super(_arg1, _arg2, _arg3); this.field = _arg4; this.results = _arg5; } public function get message():String{ var _local1:String; var _local2:int; var _local3:int; _local1 = ""; _local2 = results.length; _local3 = 0; while (_local3 < _local2) { if (results[_local3].isError){ _local1 = (_local1 + ((_local1 == "")) ? "" : "\n"); _local1 = (_local1 + results[_local3].errorMessage); }; _local3++; }; return (_local1); } override public function clone():Event{ return (new ValidationResultEvent(type, bubbles, cancelable, field, results)); } } }//package mx.events
Section 283
//RectangularDropShadow (mx.graphics.RectangularDropShadow) package mx.graphics { import mx.core.*; import flash.display.*; import flash.geom.*; import mx.utils.*; import flash.filters.*; public class RectangularDropShadow { private var leftShadow:BitmapData; private var _tlRadius:Number;// = 0 private var _angle:Number;// = 45 private var topShadow:BitmapData; private var _distance:Number;// = 4 private var rightShadow:BitmapData; private var _alpha:Number;// = 0.4 private var shadow:BitmapData; private var _brRadius:Number;// = 0 private var _blRadius:Number;// = 0 private var _color:int;// = 0 private var _trRadius:Number;// = 0 private var bottomShadow:BitmapData; private var changed:Boolean;// = true mx_internal static const VERSION:String = "2.0.1.0"; public function RectangularDropShadow(){ changed = true; _alpha = 0.4; _angle = 45; _color = 0; _distance = 4; _tlRadius = 0; _trRadius = 0; _blRadius = 0; _brRadius = 0; super(); } public function set trRadius(_arg1:Number):void{ if (_trRadius != _arg1){ _trRadius = _arg1; changed = true; }; } public function get blRadius():Number{ return (_blRadius); } public function set brRadius(_arg1:Number):void{ if (_brRadius != _arg1){ _brRadius = _arg1; changed = true; }; } public function set color(_arg1:int):void{ if (_color != _arg1){ _color = _arg1; changed = true; }; } public function drawShadow(_arg1:Graphics, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:Number; var _local13:Number; var _local14:Matrix; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; if (changed){ createShadowBitmaps(); changed = false; }; _arg4 = Math.ceil(_arg4); _arg5 = Math.ceil(_arg5); _local6 = (leftShadow) ? leftShadow.width : 0; _local7 = (rightShadow) ? rightShadow.width : 0; _local8 = (topShadow) ? topShadow.height : 0; _local9 = (bottomShadow) ? bottomShadow.height : 0; _local10 = (_local6 + _local7); _local11 = (_local8 + _local9); _local12 = ((_arg5 + _local11) / 2); _local13 = ((_arg4 + _local10) / 2); _local14 = new Matrix(); if (((leftShadow) || (topShadow))){ _local15 = Math.min((tlRadius + _local10), _local13); _local16 = Math.min((tlRadius + _local11), _local12); _local14.tx = (_arg2 - _local6); _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((_arg2 - _local6), (_arg3 - _local8), _local15, _local16); _arg1.endFill(); }; if (((rightShadow) || (topShadow))){ _local17 = Math.min((trRadius + _local10), _local13); _local18 = Math.min((trRadius + _local11), _local12); _local14.tx = (((_arg2 + _arg4) + _local7) - shadow.width); _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((((_arg2 + _arg4) + _local7) - _local17), (_arg3 - _local8), _local17, _local18); _arg1.endFill(); }; if (((leftShadow) || (bottomShadow))){ _local19 = Math.min((blRadius + _local10), _local13); _local20 = Math.min((blRadius + _local11), _local12); _local14.tx = (_arg2 - _local6); _local14.ty = (((_arg3 + _arg5) + _local9) - shadow.height); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((_arg2 - _local6), (((_arg3 + _arg5) + _local9) - _local20), _local19, _local20); _arg1.endFill(); }; if (((rightShadow) || (bottomShadow))){ _local21 = Math.min((brRadius + _local10), _local13); _local22 = Math.min((brRadius + _local11), _local12); _local14.tx = (((_arg2 + _arg4) + _local7) - shadow.width); _local14.ty = (((_arg3 + _arg5) + _local9) - shadow.height); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((((_arg2 + _arg4) + _local7) - _local21), (((_arg3 + _arg5) + _local9) - _local22), _local21, _local22); _arg1.endFill(); }; if (leftShadow){ _local14.tx = (_arg2 - _local6); _local14.ty = 0; _arg1.beginBitmapFill(leftShadow, _local14); _arg1.drawRect((_arg2 - _local6), ((_arg3 - _local8) + _local16), _local6, ((((_arg5 + _local8) + _local9) - _local16) - _local20)); _arg1.endFill(); }; if (rightShadow){ _local14.tx = (_arg2 + _arg4); _local14.ty = 0; _arg1.beginBitmapFill(rightShadow, _local14); _arg1.drawRect((_arg2 + _arg4), ((_arg3 - _local8) + _local18), _local7, ((((_arg5 + _local8) + _local9) - _local18) - _local22)); _arg1.endFill(); }; if (topShadow){ _local14.tx = 0; _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(topShadow, _local14); _arg1.drawRect(((_arg2 - _local6) + _local15), (_arg3 - _local8), ((((_arg4 + _local6) + _local7) - _local15) - _local17), _local8); _arg1.endFill(); }; if (bottomShadow){ _local14.tx = 0; _local14.ty = (_arg3 + _arg5); _arg1.beginBitmapFill(bottomShadow, _local14); _arg1.drawRect(((_arg2 - _local6) + _local19), (_arg3 + _arg5), ((((_arg4 + _local6) + _local7) - _local19) - _local21), _local9); _arg1.endFill(); }; } public function get angle():Number{ return (_angle); } private function createShadowBitmaps():void{ var _local1:Number; var _local2:Number; var _local3:Shape; var _local4:Graphics; var _local5:BitmapData; var _local6:DropShadowFilter; var _local7:Rectangle; var _local8:Rectangle; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Point; var _local14:Rectangle; _local1 = ((Math.max(tlRadius, blRadius) + (2 * distance)) + Math.max(trRadius, brRadius)); _local2 = ((Math.max(tlRadius, trRadius) + (2 * distance)) + Math.max(blRadius, brRadius)); if ((((_local1 < 0)) || ((_local2 < 0)))){ return; }; _local3 = new FlexShape(); _local4 = _local3.graphics; _local4.beginFill(0xFFFFFF); GraphicsUtil.drawRoundRectComplex(_local4, 0, 0, _local1, _local2, tlRadius, trRadius, blRadius, brRadius); _local4.endFill(); _local5 = new BitmapData(_local1, _local2, true, 0); _local5.draw(_local3, new Matrix()); _local6 = new DropShadowFilter(distance, angle, color, alpha); _local6.knockout = true; _local7 = new Rectangle(0, 0, _local1, _local2); _local8 = _local5.generateFilterRect(_local7, _local6); _local9 = (_local7.left - _local8.left); _local10 = (_local8.right - _local7.right); _local11 = (_local7.top - _local8.top); _local12 = (_local8.bottom - _local7.bottom); shadow = new BitmapData(_local8.width, _local8.height); shadow.applyFilter(_local5, _local7, new Point(_local9, _local11), _local6); _local13 = new Point(0, 0); _local14 = new Rectangle(); if (_local9 > 0){ _local14.x = 0; _local14.y = ((tlRadius + _local11) + _local12); _local14.width = _local9; _local14.height = 1; leftShadow = new BitmapData(_local9, 1); leftShadow.copyPixels(shadow, _local14, _local13); } else { leftShadow = null; }; if (_local10 > 0){ _local14.x = (shadow.width - _local10); _local14.y = ((trRadius + _local11) + _local12); _local14.width = _local10; _local14.height = 1; rightShadow = new BitmapData(_local10, 1); rightShadow.copyPixels(shadow, _local14, _local13); } else { rightShadow = null; }; if (_local11 > 0){ _local14.x = ((tlRadius + _local9) + _local10); _local14.y = 0; _local14.width = 1; _local14.height = _local11; topShadow = new BitmapData(1, _local11); topShadow.copyPixels(shadow, _local14, _local13); } else { topShadow = null; }; if (_local12 > 0){ _local14.x = ((blRadius + _local9) + _local10); _local14.y = (shadow.height - _local12); _local14.width = 1; _local14.height = _local12; bottomShadow = new BitmapData(1, _local12); bottomShadow.copyPixels(shadow, _local14, _local13); } else { bottomShadow = null; }; } public function get brRadius():Number{ return (_brRadius); } public function get alpha():Number{ return (_alpha); } public function get color():int{ return (_color); } public function set angle(_arg1:Number):void{ if (_angle != _arg1){ _angle = _arg1; changed = true; }; } public function set tlRadius(_arg1:Number):void{ if (_tlRadius != _arg1){ _tlRadius = _arg1; changed = true; }; } public function get trRadius():Number{ return (_trRadius); } public function set distance(_arg1:Number):void{ if (_distance != _arg1){ _distance = _arg1; changed = true; }; } public function get distance():Number{ return (_distance); } public function get tlRadius():Number{ return (_tlRadius); } public function set alpha(_arg1:Number):void{ if (_alpha != _arg1){ _alpha = _arg1; changed = true; }; } public function set blRadius(_arg1:Number):void{ if (_blRadius != _arg1){ _blRadius = _arg1; changed = true; }; } } }//package mx.graphics
Section 284
//RoundedRectangle (mx.graphics.RoundedRectangle) package mx.graphics { import flash.geom.*; public class RoundedRectangle extends Rectangle { public var cornerRadius:Number;// = 0 mx_internal static const VERSION:String = "2.0.1.0"; public function RoundedRectangle(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0){ cornerRadius = 0; super(_arg1, _arg2, _arg3, _arg4); this.cornerRadius = _arg5; } } }//package mx.graphics
Section 285
//PriorityQueue (mx.managers.layoutClasses.PriorityQueue) package mx.managers.layoutClasses { import mx.core.*; import flash.display.*; import mx.managers.*; public class PriorityQueue { private var maxPriority:int;// = -1 private var arrayOfArrays:Array; private var minPriority:int;// = 0 mx_internal static const VERSION:String = "2.0.1.0"; public function PriorityQueue(){ arrayOfArrays = []; minPriority = 0; maxPriority = -1; super(); } public function addObject(_arg1:Object, _arg2:int):void{ if (!arrayOfArrays[_arg2]){ arrayOfArrays[_arg2] = []; }; arrayOfArrays[_arg2].push(_arg1); if (maxPriority < minPriority){ minPriority = (maxPriority = _arg2); } else { if (_arg2 < minPriority){ minPriority = _arg2; }; if (_arg2 > maxPriority){ maxPriority = _arg2; }; }; } public function removeSmallest():Object{ var _local1:Object; _local1 = null; if (minPriority <= maxPriority){ while (((!(arrayOfArrays[minPriority])) || ((arrayOfArrays[minPriority].length == 0)))) { minPriority++; if (minPriority > maxPriority){ return (null); }; }; _local1 = arrayOfArrays[minPriority].shift(); while (((!(arrayOfArrays[minPriority])) || ((arrayOfArrays[minPriority].length == 0)))) { minPriority++; if (minPriority > maxPriority){ break; }; }; }; return (_local1); } public function removeLargestChild(_arg1:ILayoutManagerClient):Object{ var _local2:Object; var _local3:int; var _local4:int; var _local5:int; _local2 = null; _local3 = maxPriority; _local4 = _arg1.nestLevel; while (_local4 <= _local3) { if (((arrayOfArrays[_local3]) && ((arrayOfArrays[_local3].length > 0)))){ _local5 = 0; while (_local5 < arrayOfArrays[_local3].length) { if (contains(DisplayObject(_arg1), arrayOfArrays[_local3][_local5])){ _local2 = arrayOfArrays[_local3][_local5]; arrayOfArrays[_local3].splice(_local5, 1); return (_local2); }; _local5++; }; _local3--; } else { if (_local3 == maxPriority){ maxPriority--; }; _local3--; if (_local3 < _local4){ break; }; }; }; return (_local2); } public function isEmpty():Boolean{ return ((minPriority > maxPriority)); } public function removeLargest():Object{ var _local1:Object; _local1 = null; if (minPriority <= maxPriority){ while (((!(arrayOfArrays[maxPriority])) || ((arrayOfArrays[maxPriority].length == 0)))) { maxPriority--; if (maxPriority < minPriority){ return (null); }; }; _local1 = arrayOfArrays[maxPriority].shift(); while (((!(arrayOfArrays[maxPriority])) || ((arrayOfArrays[maxPriority].length == 0)))) { maxPriority--; if (maxPriority < minPriority){ break; }; }; }; return (_local1); } public function removeSmallestChild(_arg1:ILayoutManagerClient):Object{ var _local2:Object; var _local3:int; var _local4:int; _local2 = null; _local3 = _arg1.nestLevel; while (_local3 <= maxPriority) { if (((arrayOfArrays[_local3]) && ((arrayOfArrays[_local3].length > 0)))){ _local4 = 0; while (_local4 < arrayOfArrays[_local3].length) { if (contains(DisplayObject(_arg1), arrayOfArrays[_local3][_local4])){ _local2 = arrayOfArrays[_local3][_local4]; arrayOfArrays[_local3].splice(_local4, 1); return (_local2); }; _local4++; }; _local3++; } else { if (_local3 == minPriority){ minPriority++; }; _local3++; if (_local3 > maxPriority){ break; }; }; }; return (_local2); } public function removeAll():void{ arrayOfArrays.splice(0); minPriority = 0; maxPriority = -1; } private function contains(_arg1:DisplayObject, _arg2:DisplayObject):Boolean{ var _local3:IChildList; if ((_arg1 is IRawChildrenContainer)){ _local3 = IRawChildrenContainer(_arg1).rawChildren; return (_local3.contains(_arg2)); }; if ((_arg1 is DisplayObjectContainer)){ return (DisplayObjectContainer(_arg1).contains(_arg2)); }; return ((_arg1 == _arg2)); } } }//package mx.managers.layoutClasses
Section 286
//FocusManager (mx.managers.FocusManager) package mx.managers { import flash.events.*; import mx.core.*; import flash.system.*; import flash.display.*; import mx.events.*; import flash.text.*; import mx.controls.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var _showFocusIndicator:Boolean;// = false private var focusableCandidates:Array; private var LARGE_TAB_INDEX:int;// = 99999 private var browserFocusComponent:InteractiveObject; private var calculateCandidates:Boolean;// = true private var lastAction:String; private var focusableObjects:Array; private var defButton:Button; private var _form:IFocusManagerContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var _focusPane:Sprite; private var lastFocus:IFocusManagerComponent; private var browserMode:Boolean; mx_internal static const VERSION:String = "2.0.1.0"; public function FocusManager(_arg1:IFocusManagerContainer, _arg2:Boolean=false){ LARGE_TAB_INDEX = 99999; calculateCandidates = true; activated = false; _showFocusIndicator = false; _defaultButtonEnabled = true; super(); browserMode = (((Capabilities.playerType == "ActiveX")) && (!(_arg2))); _arg1.focusManager = this; _form = _arg1; focusableObjects = []; focusPane = new FlexSprite(); focusPane.name = "focusPane"; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); _arg1.addEventListener(FlexEvent.SHOW, showHandler); _arg1.addEventListener(FlexEvent.HIDE, hideHandler); if (_arg1 != SystemManager(_arg1.systemManager).application){ _arg1.addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); }; _arg1.systemManager.addFocusManager(_arg1); } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var doc:DisplayObjectContainer; var i:int; var rawChildren:IChildList; var o = _arg1; var skipTopLevel = _arg2; if ((((o is IFocusManagerComponent)) && (!(skipTopLevel)))){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects.push(o); calculateCandidates = true; }; o.addEventListener("tabEnabledChange", tabEnabledChangeHandler); o.addEventListener("tabIndexChange", tabIndexChangeHandler); }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener("tabChildrenChange", tabChildrenChangeHandler); if (doc.tabChildren){ if ((o is IRawChildrenContainer)){ rawChildren = IRawChildrenContainer(o).rawChildren; i = 0; while (i < rawChildren.numChildren) { try { addFocusables(rawChildren.getChildAt(i)); } catch(error:SecurityError) { }; i = (i + 1); }; } else { i = 0; while (i < doc.numChildren) { try { addFocusables(doc.getChildAt(i)); } catch(error:SecurityError) { }; i = (i + 1); }; }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ var parent = _arg1; var child = _arg2; try { return (parent.getChildIndex(child)); } catch(e:Error) { if ((parent is IRawChildrenContainer)){ return (IRawChildrenContainer(parent).rawChildren.getChildIndex(child)); }; throw (e); }; throw (new Error("FocusManager.getChildIndex failed")); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ var _local2:TextField; if ((_arg1.relatedObject is TextField)){ _local2 = (_arg1.relatedObject as TextField); if ((((_local2.type == "input")) || (_local2.selectable))){ return; }; }; _arg1.preventDefault(); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } 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 removeFocusables(_arg1:DisplayObject, _arg2:Boolean):void{ var _local3:int; if ((_arg1 is DisplayObjectContainer)){ if (!_arg2){ _arg1.removeEventListener("tabChildrenChange", tabChildrenChangeHandler); }; _local3 = 0; while (_local3 < focusableObjects.length) { if (isParent(DisplayObjectContainer(_arg1), focusableObjects[_local3])){ if (focusableObjects[_local3] == lastFocus){ lastFocus.drawFocus(false); lastFocus = null; }; focusableObjects[_local3].removeEventListener("tabEnabledChange", tabEnabledChangeHandler); focusableObjects[_local3].removeEventListener("tabIndexChange", tabIndexChangeHandler); focusableObjects.splice(_local3, 1); _local3--; calculateCandidates = true; }; _local3++; }; }; } public function getFocus():IFocusManagerComponent{ var _local1:InteractiveObject; _local1 = form.systemManager.stage.focus; return (findFocusManagerComponent(_local1)); } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function tabChildrenChangeHandler(_arg1:Event):void{ var _local2:DisplayObjectContainer; if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; _local2 = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2, true); }; } private function sortByDepth(_arg1:IFocusManagerComponent, _arg2:IFocusManagerComponent):Number{ var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; var _local8:String; var _local9:DisplayObject; var _local10:DisplayObject; _local3 = ""; _local4 = ""; _local8 = "0000"; _local9 = DisplayObject(_arg1); _local10 = 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); } mx_internal function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent("click")); } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local1:int; var _local2:int; var _local3:InteractiveObject; focusableCandidates = []; _local1 = focusableObjects.length; _local2 = 0; while (_local2 < _local1) { _local3 = focusableObjects[_local2]; if (((((_local3.tabIndex) && (!(isNaN(Number(_local3.tabIndex)))))) && ((_local3.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local3); _local2++; }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((_arg1.keyCode == Keyboard.TAB)) && (!(_arg1.isDefaultPrevented())))){ if (browserFocusComponent){ if (browserFocusComponent.tabIndex == LARGE_TAB_INDEX){ browserFocusComponent.tabIndex = -1; }; browserFocusComponent = null; return; }; setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int; var _local3:int; _local2 = focusableCandidates.length; _local3 = 0; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function get nextTabIndex():int{ return ((getMaxTabIndex() + 1)); } public function get focusPane():Sprite{ return (_focusPane); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:DisplayObject; if (_arg1.isDefaultPrevented()){ return; }; _local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(IFocusManagerComponent(_local2)); }; lastAction = "MOUSEDOWN"; } private function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:SystemManager; var _local3:DisplayObject; var _local4:String; var _local5:int; var _local6:int; var _local7:IFocusManagerGroup; _local2 = SystemManager(form.systemManager); _local2.idleCounter = 0; if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (browserMode){ if ((((_arg1.keyCode == Keyboard.TAB)) && ((focusableCandidates.length > 0)))){ _local3 = form.systemManager.stage.focus; _local3 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local3))); _local4 = ""; if ((_local3 is IFocusManagerGroup)){ _local7 = IFocusManagerGroup(_local3); _local4 = _local7.groupName; }; _local5 = getIndexOfFocusedObject(_local3); _local6 = getIndexOfNextObject(_local5, _arg1.shiftKey, false, _local4); if (_arg1.shiftKey){ if (_local6 >= _local5){ browserFocusComponent = form.systemManager.stage.focus; if (browserFocusComponent.tabIndex == -1){ browserFocusComponent.tabIndex = LARGE_TAB_INDEX; }; }; } else { if (_local6 <= _local5){ browserFocusComponent = form.systemManager.stage.focus; if (browserFocusComponent.tabIndex == -1){ browserFocusComponent.tabIndex = LARGE_TAB_INDEX; }; }; }; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ defButton.callLater(sendDefaultButtonEvent); }; } public function toString():String{ return ((Object(form).toString() + ".focusManager")); } private function focusInHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; var _local3:Button; _local2 = InteractiveObject(_arg1.target); if (isParent(DisplayObjectContainer(form), _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; }; }; }; } public function deactivate():void{ form.systemManager.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.systemManager.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.systemManager.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.systemManager.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } private function isParent(_arg1:DisplayObjectContainer, _arg2:DisplayObject):Boolean{ if ((_arg1 is IRawChildrenContainer)){ return (IRawChildrenContainer(_arg1).rawChildren.contains(_arg2)); }; return (_arg1.contains(_arg2)); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local5:int; var _local6:int; var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; _local5 = focusableCandidates.length; _local6 = _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 getMaxTabIndex():int{ var _local1:Number; var _local2:int; var _local3:int; var _local4:Number; _local1 = 0; _local2 = focusableObjects.length; _local3 = 0; while (_local3 < _local2) { _local4 = focusableObjects[_local3].tabIndex; if (!isNaN(_local4)){ _local1 = Math.max(_local1, _local4); }; _local3++; }; return (_local1); } private function showHandler(_arg1:Event):void{ form.systemManager.activate(form); } public function findFocusManagerComponent(_arg1:InteractiveObject):IFocusManagerComponent{ while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (IFocusManagerComponent(_arg1)); }; _arg1 = _arg1.parent; }; return (null); } public function setFocus(_arg1:IFocusManagerComponent):void{ _arg1.setFocus(); } mx_internal function set form(_arg1:IFocusManagerContainer):void{ _form = _arg1; } private function sortFocusableObjectsTabIndex():void{ var _local1:int; var _local2:int; var _local3:IFocusManagerComponent; focusableCandidates = []; _local1 = focusableObjects.length; _local2 = 0; while (_local2 < _local1) { _local3 = focusableObjects[_local2]; if (((_local3.tabIndex) && (!(isNaN(Number(_local3.tabIndex)))))){ focusableCandidates.push(_local3); }; _local2++; }; focusableCandidates.sort(sortByTabIndex); } public function set defaultButton(_arg1:IUIComponent):void{ var _local2:Button; _local2 = (_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 setFocusToNextObject(_arg1:FocusEvent):void{ var _local2:IFocusManagerComponent; if (focusableObjects.length == 0){ return; }; _local2 = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (IUIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } private function hideHandler(_arg1:Event):void{ form.systemManager.deactivate(form); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; _local2 = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is IUIComponent)){ if (!IUIComponent(_arg1).enabled){ return (false); }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } public function hideFocus():void{ if (showFocusIndicator){ showFocusIndicator = false; if (lastFocus){ lastFocus.drawFocus(false); }; }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } mx_internal function get form():IFocusManagerContainer{ return (_form); } public function set focusPane(_arg1:Sprite):void{ _focusPane = _arg1; } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject; _local3 = DisplayObject(_arg1.target); if ((_local3 is IFocusManagerComponent)){ _local2 = 0; while (_local2 < focusableObjects.length) { if (_local3 == focusableObjects[_local2]){ if (_local3 == lastFocus){ lastFocus.drawFocus(false); lastFocus = null; }; _local3.removeEventListener("tabEnabledChange", tabEnabledChangeHandler); _local3.removeEventListener("tabIndexChange", tabIndexChangeHandler); focusableObjects.splice(_local2, 1); calculateCandidates = true; break; }; _local2++; }; }; removeFocusables(_local3, false); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); if (((lastFocus) && (!(browserMode)))){ lastFocus.setFocus(); }; lastAction = "ACTIVATE"; } public function get defaultButton():IUIComponent{ return (_defaultButton); } public function showFocus():void{ if (!showFocusIndicator){ showFocusIndicator = true; if (lastFocus){ lastFocus.drawFocus(true); }; }; } public function getNextFocusManagerComponent(_arg1:Boolean=false):IFocusManagerComponent{ var _local2:DisplayObject; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; var _local8:IFocusManagerGroup; if (focusableObjects.length == 0){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; _local2 = form.systemManager.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; _local4 = getIndexOfFocusedObject(_local2); _local5 = false; _local6 = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; _local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObject; var _local3:DisplayObjectContainer; _local2 = DisplayObject(form.systemManager); if (!_local2){ return (false); }; _local3 = _arg1.parent; while (((_local3) && (!((_local3 == _local2))))) { if (!_local3.tabChildren){ return (false); }; _local3 = _local3.parent; }; return (true); } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } private function sortByTabIndex(_arg1:IFocusManagerComponent, _arg2:IFocusManagerComponent):int{ var _local3:int; var _local4:int; _local3 = _arg1.tabIndex; _local4 = _arg2.tabIndex; if (_local3 == -1){ _local3 = int.MAX_VALUE; }; if (_local4 == -1){ _local4 = int.MAX_VALUE; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.systemManager.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.systemManager.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.systemManager.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.systemManager.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 get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } private function creationCompleteHandler(_arg1:FlexEvent):void{ if (((DisplayObject(form).visible) && (!(activated)))){ form.systemManager.activate(form); }; } private function tabEnabledChangeHandler(_arg1:Event):void{ var _local2:InteractiveObject; var _local3:int; var _local4:int; calculateCandidates = true; _local2 = InteractiveObject(_arg1.target); _local3 = focusableObjects.length; _local4 = 0; while (_local4 < _local3) { if (focusableObjects[_local4] == _local2){ break; }; _local4++; }; if (_local2.tabEnabled){ if ((((_local4 == _local3)) && (isTabVisible(_local2)))){ focusableObjects.push(_local2); }; } else { if (_local4 < _local3){ focusableObjects.splice(_local4, 1); }; }; } } }//package mx.managers
Section 287
//IFocusManager (mx.managers.IFocusManager) package mx.managers { import mx.core.*; import flash.display.*; public interface IFocusManager { function get focusPane():Sprite; function getFocus():IFocusManagerComponent; function deactivate():void; function hideFocus():void; function set defaultButton(_arg1:IUIComponent):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function set focusPane(_arg1:Sprite):void; function get nextTabIndex():int; function get defaultButton():IUIComponent; function get showFocusIndicator():Boolean; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function setFocus(_arg1:IFocusManagerComponent):void; function findFocusManagerComponent(_arg1:InteractiveObject):IFocusManagerComponent; function getNextFocusManagerComponent(_arg1:Boolean=false):IFocusManagerComponent; } }//package mx.managers
Section 288
//IFocusManagerComponent (mx.managers.IFocusManagerComponent) package mx.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 mx.managers
Section 289
//IFocusManagerContainer (mx.managers.IFocusManagerContainer) package mx.managers { import flash.events.*; import flash.display.*; public interface IFocusManagerContainer extends IEventDispatcher { function set focusManager(_arg1:IFocusManager):void; function get focusManager():IFocusManager; function get systemManager():ISystemManager; function contains(_arg1:DisplayObject):Boolean; } }//package mx.managers
Section 290
//IFocusManagerGroup (mx.managers.IFocusManagerGroup) package mx.managers { public interface IFocusManagerGroup { function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; function get groupName():String; function get selected():Boolean; } }//package mx.managers
Section 291
//ILayoutManager (mx.managers.ILayoutManager) package mx.managers { import flash.events.*; public interface ILayoutManager extends IEventDispatcher { function invalidateDisplayList(_arg1:ILayoutManagerClient):void; function validateClient(_arg1:ILayoutManagerClient, _arg2:Boolean=false):void; function invalidateProperties(_arg1:ILayoutManagerClient):void; function isInvalid():Boolean; function validateNow():void; function set usePhasedInstantiation(_arg1:Boolean):void; function invalidateSize(_arg1:ILayoutManagerClient):void; function get usePhasedInstantiation():Boolean; } }//package mx.managers
Section 292
//ILayoutManagerClient (mx.managers.ILayoutManagerClient) package mx.managers { import flash.events.*; public interface ILayoutManagerClient extends IEventDispatcher { function set updateCompletePendingFlag(_arg1:Boolean):void; function set initialized(_arg1:Boolean):void; function validateProperties():void; function get nestLevel():int; function get updateCompletePendingFlag():Boolean; function validateDisplayList():void; function set processedDescriptors(_arg1:Boolean):void; function get processedDescriptors():Boolean; function validateSize(_arg1:Boolean=false):void; function set nestLevel(_arg1:int):void; function get initialized():Boolean; } }//package mx.managers
Section 293
//ISystemManager (mx.managers.ISystemManager) package mx.managers { import flash.events.*; import mx.core.*; import flash.display.*; import flash.geom.*; import flash.text.*; public interface ISystemManager extends IEventDispatcher, IChildList, IFlexModuleFactory { function get toolTipChildren():IChildList; function get numModalWindows():int; function isTopLevel():Boolean; function isFontFaceEmbedded(_arg1:TextFormat):Boolean; function removeFocusManager(_arg1:IFocusManagerContainer):void; function get document():Object; function get topLevelSystemManager():ISystemManager; function get focusPane():Sprite; function get loaderInfo():LoaderInfo; function set focusPane(_arg1:Sprite):void; function get rawChildren():IChildList; function get popUpChildren():IChildList; function get screen():Rectangle; function deactivate(_arg1:IFocusManagerContainer):void; function getDefinitionByName(_arg1:String):Object; function activate(_arg1:IFocusManagerContainer):void; function get cursorChildren():IChildList; function set document(_arg1:Object):void; function get embeddedFontList():Object; function addFocusManager(_arg1:IFocusManagerContainer):void; function get stage():Stage; function set numModalWindows(_arg1:int):void; } }//package mx.managers
Section 294
//IToolTipManager (mx.managers.IToolTipManager) package mx.managers { import mx.core.*; import flash.display.*; import mx.effects.*; public interface IToolTipManager { function registerToolTip(_arg1:DisplayObject, _arg2:String):void; function set enabled(_arg1:Boolean):void; function get showDelay():Number; function createToolTip(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String=null, _arg5:IUIComponent=null):IToolTip; function get enabled():Boolean; function destroyToolTip(_arg1:IToolTip):void; function set showDelay(_arg1:Number):void; function set hideDelay(_arg1:Number):void; function get scrubDelay():Number; function get toolTipClass():Class; function registerErrorString(_arg1:DisplayObject, _arg2:String):void; function sizeTip(_arg1:IToolTip):void; function set currentTarget(_arg1:DisplayObject):void; function set showEffect(_arg1:Effect):void; function get hideDelay():Number; function set currentToolTip(_arg1:IToolTip):void; function set hideEffect(_arg1:Effect):void; function set scrubDelay(_arg1:Number):void; function get currentToolTip():IToolTip; function get showEffect():Effect; function get currentTarget():DisplayObject; function get hideEffect():Effect; function set toolTipClass(_arg1:Class):void; } }//package mx.managers
Section 295
//IToolTipManagerClient (mx.managers.IToolTipManagerClient) package mx.managers { import mx.core.*; public interface IToolTipManagerClient extends IFlexDisplayObject { function set toolTip(_arg1:String):void; function get toolTip():String; } }//package mx.managers
Section 296
//LayoutManager (mx.managers.LayoutManager) package mx.managers { import flash.events.*; import mx.core.*; import flash.display.*; import mx.events.*; import mx.managers.layoutClasses.*; public class LayoutManager extends EventDispatcher implements ILayoutManager { private var invalidateClientSizeFlag:Boolean;// = false private var invalidateSizeQueue:PriorityQueue; private var updateCompleteQueue:PriorityQueue; private var originalFrameRate:Number; private var _usePhasedInstantiation:Boolean;// = false private var callLaterObject:UIComponent; private var invalidateClientPropertiesFlag:Boolean;// = false private var invalidateDisplayListQueue:PriorityQueue; private var invalidateDisplayListFlag:Boolean;// = false private var invalidatePropertiesFlag:Boolean;// = false private var invalidatePropertiesQueue:PriorityQueue; private var invalidateSizeFlag:Boolean;// = false private var callLaterPending:Boolean;// = false private var targetLevel:int;// = 2147483647 mx_internal static const VERSION:String = "2.0.1.0"; private static var instance:LayoutManager; public function LayoutManager(){ updateCompleteQueue = new PriorityQueue(); invalidatePropertiesQueue = new PriorityQueue(); invalidatePropertiesFlag = false; invalidateClientPropertiesFlag = false; invalidateSizeQueue = new PriorityQueue(); invalidateSizeFlag = false; invalidateClientSizeFlag = false; invalidateDisplayListQueue = new PriorityQueue(); invalidateDisplayListFlag = false; callLaterPending = false; targetLevel = int.MAX_VALUE; _usePhasedInstantiation = false; super(); } private function waitAFrame():void{ callLaterObject.callLater(doPhasedInstantiation); } public function get usePhasedInstantiation():Boolean{ return (_usePhasedInstantiation); } public function validateClient(_arg1:ILayoutManagerClient, _arg2:Boolean=false):void{ var _local3:ILayoutManagerClient; var _local4:int; var _local5:Boolean; var _local6:int; _local4 = 0; _local5 = false; _local6 = targetLevel; if (targetLevel == int.MAX_VALUE){ targetLevel = _arg1.nestLevel; }; while (!(_local5)) { _local5 = true; _local3 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallestChild(_arg1)); while (_local3) { _local3.validateProperties(); if (!_local3.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local3, _local3.nestLevel); _local3.updateCompletePendingFlag = true; }; _local3 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallestChild(_arg1)); }; if (invalidatePropertiesQueue.isEmpty()){ invalidatePropertiesFlag = false; invalidateClientPropertiesFlag = false; }; _local3 = ILayoutManagerClient(invalidateSizeQueue.removeLargestChild(_arg1)); while (_local3) { _local3.validateSize(); if (!_local3.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local3, _local3.nestLevel); _local3.updateCompletePendingFlag = true; }; if (invalidateClientPropertiesFlag){ _local3 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallestChild(_arg1)); if (_local3){ invalidatePropertiesQueue.addObject(_local3, _local3.nestLevel); _local5 = false; break; }; }; _local3 = ILayoutManagerClient(invalidateSizeQueue.removeLargestChild(_arg1)); }; if (invalidateSizeQueue.isEmpty()){ invalidateSizeFlag = false; invalidateClientSizeFlag = false; }; if (!_arg2){ _local3 = ILayoutManagerClient(invalidateDisplayListQueue.removeSmallestChild(_arg1)); while (_local3) { _local3.validateDisplayList(); if (!_local3.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local3, _local3.nestLevel); _local3.updateCompletePendingFlag = true; }; if (invalidateClientPropertiesFlag){ _local3 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallestChild(_arg1)); if (_local3){ invalidatePropertiesQueue.addObject(_local3, _local3.nestLevel); _local5 = false; break; }; }; if (invalidateClientSizeFlag){ _local3 = ILayoutManagerClient(invalidateSizeQueue.removeLargestChild(_arg1)); if (_local3){ invalidateSizeQueue.addObject(_local3, _local3.nestLevel); _local5 = false; break; }; }; _local3 = ILayoutManagerClient(invalidateDisplayListQueue.removeSmallestChild(_arg1)); }; if (invalidateDisplayListQueue.isEmpty()){ invalidateDisplayListFlag = false; }; }; }; if (_local6 == int.MAX_VALUE){ targetLevel = int.MAX_VALUE; if (!_arg2){ _local3 = ILayoutManagerClient(updateCompleteQueue.removeLargestChild(_arg1)); while (_local3) { if (!_local3.initialized){ _local3.initialized = true; }; _local3.dispatchEvent(new FlexEvent(FlexEvent.UPDATE_COMPLETE)); _local3.updateCompletePendingFlag = false; _local3 = ILayoutManagerClient(updateCompleteQueue.removeLargestChild(_arg1)); }; }; }; } private function validateDisplayList():void{ var _local1:ILayoutManagerClient; _local1 = ILayoutManagerClient(invalidateDisplayListQueue.removeSmallest()); while (_local1) { _local1.validateDisplayList(); if (!_local1.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local1, _local1.nestLevel); _local1.updateCompletePendingFlag = true; }; _local1 = ILayoutManagerClient(invalidateDisplayListQueue.removeSmallest()); }; if (invalidateDisplayListQueue.isEmpty()){ invalidateDisplayListFlag = false; }; } private function validateSize():void{ var _local1:ILayoutManagerClient; _local1 = ILayoutManagerClient(invalidateSizeQueue.removeLargest()); while (_local1) { _local1.validateSize(); if (!_local1.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local1, _local1.nestLevel); _local1.updateCompletePendingFlag = true; }; _local1 = ILayoutManagerClient(invalidateSizeQueue.removeLargest()); }; if (invalidateSizeQueue.isEmpty()){ invalidateSizeFlag = false; }; } public function invalidateProperties(_arg1:ILayoutManagerClient):void{ if (((!(invalidatePropertiesFlag)) && (Application.application.systemManager))){ invalidatePropertiesFlag = true; if (!callLaterPending){ if (!callLaterObject){ callLaterObject = new UIComponent(); callLaterObject.systemManager = Application.application.systemManager; callLaterObject.callLater(waitAFrame); } else { callLaterObject.callLater(doPhasedInstantiation); }; callLaterPending = true; }; }; if (targetLevel <= _arg1.nestLevel){ invalidateClientPropertiesFlag = true; }; invalidatePropertiesQueue.addObject(_arg1, _arg1.nestLevel); } public function invalidateDisplayList(_arg1:ILayoutManagerClient):void{ if (((!(invalidateDisplayListFlag)) && (Application.application.systemManager))){ invalidateDisplayListFlag = true; if (!callLaterPending){ if (!callLaterObject){ callLaterObject = new UIComponent(); callLaterObject.systemManager = Application.application.systemManager; callLaterObject.callLater(waitAFrame); } else { callLaterObject.callLater(doPhasedInstantiation); }; callLaterPending = true; }; }; invalidateDisplayListQueue.addObject(_arg1, _arg1.nestLevel); } public function validateNow():void{ var _local1:int; if (!usePhasedInstantiation){ _local1 = 0; while (((callLaterPending) && ((_local1 < 100)))) { doPhasedInstantiation(); }; }; } public function invalidateSize(_arg1:ILayoutManagerClient):void{ if (((!(invalidateSizeFlag)) && (Application.application.systemManager))){ invalidateSizeFlag = true; if (!callLaterPending){ if (!callLaterObject){ callLaterObject = new UIComponent(); callLaterObject.systemManager = Application.application.systemManager; callLaterObject.callLater(waitAFrame); } else { callLaterObject.callLater(doPhasedInstantiation); }; callLaterPending = true; }; }; if (targetLevel <= _arg1.nestLevel){ invalidateClientSizeFlag = true; }; invalidateSizeQueue.addObject(_arg1, _arg1.nestLevel); } public function isInvalid():Boolean{ return (((((invalidatePropertiesFlag) || (invalidateSizeFlag))) || (invalidateDisplayListFlag))); } private function validateProperties():void{ var _local1:ILayoutManagerClient; _local1 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallest()); while (_local1) { _local1.validateProperties(); if (!_local1.updateCompletePendingFlag){ updateCompleteQueue.addObject(_local1, _local1.nestLevel); _local1.updateCompletePendingFlag = true; }; _local1 = ILayoutManagerClient(invalidatePropertiesQueue.removeSmallest()); }; if (invalidatePropertiesQueue.isEmpty()){ invalidatePropertiesFlag = false; }; } private function doPhasedInstantiation():void{ var _local1:ILayoutManagerClient; if (usePhasedInstantiation){ if (invalidatePropertiesFlag){ validateProperties(); Application.application.dispatchEvent(new Event("validatePropertiesComplete")); } else { if (invalidateSizeFlag){ validateSize(); Application.application.dispatchEvent(new Event("validateSizeComplete")); } else { if (invalidateDisplayListFlag){ validateDisplayList(); Application.application.dispatchEvent(new Event("validateDisplayListComplete")); }; }; }; } else { if (invalidatePropertiesFlag){ validateProperties(); }; if (invalidateSizeFlag){ validateSize(); }; if (invalidateDisplayListFlag){ validateDisplayList(); }; }; if (((((invalidatePropertiesFlag) || (invalidateSizeFlag))) || (invalidateDisplayListFlag))){ callLaterObject.callLater(doPhasedInstantiation); } else { usePhasedInstantiation = false; callLaterPending = false; _local1 = ILayoutManagerClient(updateCompleteQueue.removeLargest()); while (_local1) { if (((!(_local1.initialized)) && (_local1.processedDescriptors))){ _local1.initialized = true; }; _local1.dispatchEvent(new FlexEvent(FlexEvent.UPDATE_COMPLETE)); _local1.updateCompletePendingFlag = false; _local1 = ILayoutManagerClient(updateCompleteQueue.removeLargest()); }; dispatchEvent(new FlexEvent(FlexEvent.UPDATE_COMPLETE)); }; } public function set usePhasedInstantiation(_arg1:Boolean):void{ var _local2:Stage; if (_usePhasedInstantiation != _arg1){ _usePhasedInstantiation = _arg1; _local2 = SystemManagerGlobals.topLevelSystemManagers[0].stage; if (_arg1){ originalFrameRate = _local2.frameRate; _local2.frameRate = 1000; } else { _local2.frameRate = originalFrameRate; }; }; } public static function getInstance():LayoutManager{ if (!instance){ instance = new (LayoutManager); }; return (instance); } } }//package mx.managers
Section 297
//SystemChildrenList (mx.managers.SystemChildrenList) package mx.managers { import mx.core.*; import flash.display.*; import flash.geom.*; public class SystemChildrenList implements IChildList { private var lowerBoundReference:QName; private var upperBoundReference:QName; private var owner:SystemManager; mx_internal static const VERSION:String = "2.0.1.0"; public function SystemChildrenList(_arg1:SystemManager, _arg2:QName, _arg3:QName){ this.owner = _arg1; this.lowerBoundReference = _arg2; this.upperBoundReference = _arg3; } public function getChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject; _local2 = owner.mx_internal::rawChildren_getChildAt((owner[lowerBoundReference] + _arg1)); return (_local2); } public function addChild(_arg1:DisplayObject):DisplayObject{ var _local2 = owner; _local2.mx_internal::rawChildren_addChildAt(_arg1, owner[upperBoundReference]); _local2 = owner; var _local3 = upperBoundReference; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; return (_arg1); } public function getChildByName(_arg1:String):DisplayObject{ return (owner.mx_internal::rawChildren_getChildByName(_arg1)); } public function removeChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject; _local2 = owner.mx_internal::rawChildren_removeChildAt((_arg1 + owner[lowerBoundReference])); var _local3 = owner; var _local4 = upperBoundReference; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; return (_local2); } public function getChildIndex(_arg1:DisplayObject):int{ var _local2:int; _local2 = owner.mx_internal::rawChildren_getChildIndex(_arg1); _local2 = (_local2 - owner[lowerBoundReference]); return (_local2); } public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ var _local3 = owner; _local3.mx_internal::rawChildren_addChildAt(_arg1, (owner[lowerBoundReference] + _arg2)); _local3 = owner; var _local4 = upperBoundReference; var _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; return (_arg1); } public function getObjectsUnderPoint(_arg1:Point):Array{ return (owner.mx_internal::rawChildren_getObjectsUnderPoint(_arg1)); } public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3 = owner; _local3.mx_internal::rawChildren_setChildIndex(_arg1, (owner[lowerBoundReference] + _arg2)); } public function get numChildren():int{ return ((owner[upperBoundReference] - owner[lowerBoundReference])); } public function contains(_arg1:DisplayObject):Boolean{ var _local2:int; if (owner.mx_internal::rawChildren_contains(_arg1)){ while (_arg1.parent != owner) { _arg1 = _arg1.parent; }; _local2 = owner.mx_internal::rawChildren_getChildIndex(_arg1); if ((((_local2 >= owner[lowerBoundReference])) && ((_local2 < owner[upperBoundReference])))){ return (true); }; }; return (false); } public function removeChild(_arg1:DisplayObject):DisplayObject{ var _local2:int; _local2 = owner.mx_internal::rawChildren_getChildIndex(_arg1); if ((((owner[lowerBoundReference] <= _local2)) && ((_local2 < owner[upperBoundReference])))){ var _local3 = owner; _local3.mx_internal::rawChildren_removeChild(_arg1); _local3 = owner; var _local4 = upperBoundReference; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; }; return (_arg1); } } }//package mx.managers
Section 298
//SystemManager (mx.managers.SystemManager) package mx.managers { import flash.events.*; import mx.core.*; import flash.system.*; import mx.styles.*; import flash.display.*; import flash.geom.*; import mx.events.*; import flash.text.*; import mx.preloaders.*; import flash.utils.*; import mx.messaging.config.*; public class SystemManager extends MovieClip implements IChildList, IFlexDisplayObject, IFlexModuleFactory, ISystemManager { mx_internal var nestLevel:int;// = 0 private var forms:Array; private var mouseCatcher:Sprite; private var _height:Number; private var preloader:Preloader; private var _topLevelSystemManager:ISystemManager; private var _rawChildren:SystemRawChildrenList; private var _toolTipIndex:int;// = 0 private var _explicitHeight:Number; private var _document:Object; private var form:IFocusManagerContainer; private var _width:Number; private var _toolTipChildren:SystemChildrenList; private var initialized:Boolean;// = false private var _focusPane:Sprite; private var isStageRoot:Boolean;// = true private var rslSizes:Array;// = null private var _fontList:Object;// = null private var nextFrameTimer:Timer;// = null private var topLevel:Boolean;// = true private var _popUpChildren:SystemChildrenList; private var _cursorIndex:int;// = 0 private var _topMostIndex:int;// = 0 mx_internal var _mouseX; mx_internal var _mouseY; private var _numModalWindows:int;// = 0 private var _screen:Rectangle; mx_internal var idleCounter:int;// = 0 private var initCallbackFunctions:Array; private var _cursorChildren:SystemChildrenList; private var _noTopMostIndex:int;// = 0 private var _applicationIndex:int;// = 1 private var idleTimer:Timer; private var doneExecutingInitCallbacks:Boolean;// = false private var _explicitWidth:Number; mx_internal var topLevelWindow:IUIComponent; private static const IDLE_THRESHOLD:Number = 1000; private static const IDLE_INTERVAL:Number = 100; mx_internal static const VERSION:String = "2.0.1.0"; mx_internal static var lastSystemManager:SystemManager; mx_internal static var allSystemManagers:Dictionary = new Dictionary(true); public function SystemManager(){ doneExecutingInitCallbacks = false; initCallbackFunctions = []; initialized = false; topLevel = true; isStageRoot = true; nestLevel = 0; rslSizes = null; forms = []; idleCounter = 0; nextFrameTimer = null; _applicationIndex = 1; _cursorIndex = 0; _fontList = null; _noTopMostIndex = 0; _numModalWindows = 0; _toolTipIndex = 0; _topMostIndex = 0; super(); if (stage){ stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; }; if ((((SystemManagerGlobals.topLevelSystemManagers.length > 0)) && (!(stage)))){ topLevel = false; }; if (!stage){ isStageRoot = false; }; if (topLevel){ SystemManagerGlobals.topLevelSystemManagers.push(this); }; lastSystemManager = this; executeCallbacks(); stop(); if (((topLevel) && (!((currentFrame == 1))))){ throw (new Error((("The SystemManager constructor was called when the currentFrame was at " + currentFrame) + " Please add this SWF to bug 129782."))); }; root.loaderInfo.addEventListener(Event.INIT, initHandler); } mx_internal function addingChild(_arg1:DisplayObject):void{ var _local2:int; var _local3:Class; var _local4:DisplayObjectContainer; _local2 = 1; if (!topLevel){ _local4 = parent.parent; while (_local4) { if ((_local4 is ILayoutManagerClient)){ _local2 = (ILayoutManagerClient(_local4).nestLevel + 1); break; }; _local4 = _local4.parent; }; }; nestLevel = _local2; if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).systemManager = this; }; _local3 = Class(getDefinitionByName("mx.core.UIComponent")); if ((((_arg1 is IUIComponent)) && (!(IUIComponent(_arg1).document)))){ IUIComponent(_arg1).document = document; }; if ((_arg1 is ILayoutManagerClient)){ ILayoutManagerClient(_arg1).nestLevel = (nestLevel + 1); }; if ((_arg1 is InteractiveObject)){ if (doubleClickEnabled){ InteractiveObject(_arg1).doubleClickEnabled = true; }; }; if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).parentChanged(this); }; if ((_arg1 is IStyleClient)){ IStyleClient(_arg1).regenerateStyleCache(true); }; if ((_arg1 is ISimpleStyleClient)){ ISimpleStyleClient(_arg1).styleChanged(null); }; if ((_arg1 is IStyleClient)){ IStyleClient(_arg1).notifyStyleChangeInChildren(null, true); }; if (((_local3) && ((_arg1 is _local3)))){ _local3(_arg1).initThemeColor(); }; if (((_local3) && ((_arg1 is _local3)))){ _local3(_arg1).stylesInitialized(); }; } mx_internal function rawChildren_addChild(_arg1:DisplayObject):DisplayObject{ addingChild(_arg1); super.addChild(_arg1); childAdded(_arg1); return (_arg1); } public function getExplicitOrMeasuredHeight():Number{ return ((isNaN(explicitHeight)) ? measuredHeight : explicitHeight); } mx_internal function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ var _local3:Boolean; var _local4:int; var _local5:int; var _local6:IStyleClient; _local3 = false; _local4 = rawChildren.numChildren; _local5 = 0; while (_local5 < _local4) { _local6 = (rawChildren.getChildAt(_local5) as IStyleClient); if (_local6){ _local6.styleChanged(_arg1); _local6.notifyStyleChangeInChildren(_arg1, _arg2); }; if (isTopLevelWindow(DisplayObject(_local6))){ _local3 = true; }; _local4 = rawChildren.numChildren; _local5++; }; if (((!(_local3)) && ((topLevelWindow is IStyleClient)))){ IStyleClient(topLevelWindow).styleChanged(_arg1); IStyleClient(topLevelWindow).notifyStyleChangeInChildren(_arg1, _arg2); }; } mx_internal function rawChildren_getObjectsUnderPoint(_arg1:Point):Array{ return (super.getObjectsUnderPoint(_arg1)); } override public function contains(_arg1:DisplayObject):Boolean{ var _local2:int; var _local3:int; var _local4:DisplayObject; if (super.contains(_arg1)){ if (_arg1.parent == this){ _local2 = super.getChildIndex(_arg1); if (_local2 < noTopMostIndex){ return (true); }; } else { _local3 = 0; while (_local3 < noTopMostIndex) { _local4 = super.getChildAt(_local3); if ((_local4 is IRawChildrenContainer)){ if (IRawChildrenContainer(_local4).rawChildren.contains(_arg1)){ return (true); }; }; if ((_local4 is DisplayObjectContainer)){ if (DisplayObjectContainer(_local4).contains(_arg1)){ return (true); }; }; _local3++; }; }; }; return (false); } private function idleTimer_timerHandler(_arg1:TimerEvent):void{ idleCounter++; if ((idleCounter * IDLE_INTERVAL) > IDLE_THRESHOLD){ dispatchEvent(new FlexEvent(FlexEvent.IDLE)); }; } private function initHandler(_arg1:Event):void{ var _local2:int; var _local3:int; allSystemManagers[this] = this.loaderInfo.url; root.loaderInfo.removeEventListener(Event.INIT, initHandler); _local2 = ((totalFrames)==1) ? 0 : 1; addFrameScript(_local2, docFrameHandler); _local3 = (_local2 + 1); while (_local3 < totalFrames) { addFrameScript(_local3, extraFrameHandler); _local3++; }; initialize(); } public function getDefinitionByName(_arg1:String):Object{ var _local2:ApplicationDomain; var _local3:Object; _local2 = (((!(topLevel)) && ((parent is Loader)))) ? Loader(parent).contentLoaderInfo.applicationDomain : (info()["currentDomain"] as ApplicationDomain); if (_local2.hasDefinition(_arg1)){ _local3 = _local2.getDefinition(_arg1); }; return (_local3); } public function get embeddedFontList():Object{ var _local1:Object; var _local2:String; var _local3:Object; if (_fontList == null){ _fontList = {}; _local1 = info()["fonts"]; for (_local2 in _local1) { _fontList[_local2] = _local1[_local2]; }; if (((!(topLevel)) && (_topLevelSystemManager))){ _local3 = _topLevelSystemManager.embeddedFontList; for (_local2 in _local3) { _fontList[_local2] = _local3[_local2]; }; }; }; return (_fontList); } mx_internal function set cursorIndex(_arg1:int):void{ var _local2:int; _local2 = (_arg1 - _cursorIndex); _cursorIndex = _arg1; } override public function getChildAt(_arg1:int):DisplayObject{ return (super.getChildAt((applicationIndex + _arg1))); } public function set document(_arg1:Object):void{ _document = _arg1; } override public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ if ((((_arg1 == FlexEvent.IDLE)) && (!(idleTimer)))){ idleTimer = new Timer(IDLE_INTERVAL); idleTimer.addEventListener(TimerEvent.TIMER, idleTimer_timerHandler); idleTimer.start(); addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, true); addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler, true); }; super.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } override public function get mouseX():Number{ if (_mouseX === undefined){ return (super.mouseX); }; return (_mouseX); } override public function get mouseY():Number{ if (_mouseY === undefined){ return (super.mouseY); }; return (_mouseY); } public function removeFocusManager(_arg1:IFocusManagerContainer):void{ var _local2:int; var _local3:int; _local2 = forms.length; _local3 = 0; while (_local3 < _local2) { if (forms[_local3] == _arg1){ if (form == _arg1){ deactivate(_arg1); }; forms.splice(_local3, 1); return; }; _local3++; }; } private function mouseMoveHandler(_arg1:MouseEvent):void{ idleCounter = 0; } public function get rawChildren():IChildList{ if (!topLevel){ return (_topLevelSystemManager.rawChildren); }; if (!_rawChildren){ _rawChildren = new SystemRawChildrenList(this); }; return (_rawChildren); } public function get focusPane():Sprite{ return (_focusPane); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:int; var _local3:DisplayObject; var _local4:Boolean; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:IChildList; idleCounter = 0; if (numModalWindows == 0){ if (forms.length > 1){ _local2 = forms.length; _local3 = DisplayObject(_arg1.target); _local4 = document.rawChildren.contains(_local3); while (_local3) { _local5 = 0; while (_local5 < _local2) { if (forms[_local5] == _local3){ _local6 = 0; if (((!((_local3 == form))) && ((_local3 is IFocusManagerContainer)))){ activate(IFocusManagerContainer(_local3)); }; if (popUpChildren.contains(_local3)){ _local9 = popUpChildren; } else { _local9 = this; }; _local7 = _local9.getChildIndex(_local3); _local8 = _local7; _local2 = forms.length; _local6 = 0; while (_local6 < _local2) { if (_local9.contains(forms[_local6])){ if (_local9.getChildIndex(forms[_local6]) > _local7){ _local8 = _local9.getChildIndex(forms[_local6]); }; }; _local6++; }; if ((((_local8 > _local7)) && (!(_local4)))){ _local9.setChildIndex(_local3, _local8); }; return; }; _local5++; }; _local3 = _local3.parent; }; }; }; } public function get screen():Rectangle{ if (!_screen){ Stage_resizeHandler(); }; return (_screen); } public function get preloaderBackgroundSize():String{ return (info()["backgroundSize"]); } private function docFrameHandler(_arg1:Event=null):void{ var _local2:Array; var _local3:int; var _local4:int; var _local5:Class; Singleton.registerClass("mx.managers::ICursorManager", Class(getDefinitionByName("mx.managers::CursorManagerImpl"))); Singleton.registerClass("mx.managers::IDragManager", Class(getDefinitionByName("mx.managers::DragManagerImpl"))); Singleton.registerClass("mx.managers::IHistoryManager", Class(getDefinitionByName("mx.managers::HistoryManagerImpl"))); Singleton.registerClass("mx.managers::ILayoutManager", Class(getDefinitionByName("mx.managers::LayoutManager"))); Singleton.registerClass("mx.managers::IPopUpManager", Class(getDefinitionByName("mx.managers::PopUpManagerImpl"))); Singleton.registerClass("mx.styles::IStyleManager", Class(getDefinitionByName("mx.styles::StyleManagerImpl"))); Singleton.registerClass("mx.managers::IToolTipManager", Class(getDefinitionByName("mx.managers::ToolTipManagerImpl"))); executeCallbacks(); doneExecutingInitCallbacks = true; _local2 = info()["mixins"]; if (((_local2) && ((_local2.length > 0)))){ _local3 = _local2.length; _local4 = 0; while (_local4 < _local3) { _local5 = Class(getDefinitionByName(_local2[_local4])); var _local6 = _local5; _local6["init"](this); _local4++; }; }; initializeTopLevelWindow(null); deferredNextFrame(); } private function Stage_resizeHandler(_arg1:Event=null):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:String; _local2 = stage.stageWidth; _local3 = stage.stageHeight; _local4 = loaderInfo.width; _local5 = loaderInfo.height; _local6 = ((_local4 - _local2) / 2); _local7 = ((_local5 - _local3) / 2); _local8 = stage.align; if (_local8 == StageAlign.TOP){ _local7 = 0; } else { if (_local8 == StageAlign.BOTTOM){ _local7 = (_local5 - _local3); } else { if (_local8 == StageAlign.LEFT){ _local6 = 0; } else { if (_local8 == StageAlign.RIGHT){ _local6 = (_local4 - _local2); } else { if ((((_local8 == StageAlign.TOP_LEFT)) || ((_local8 == "LT")))){ _local7 = 0; _local6 = 0; } else { if (_local8 == StageAlign.TOP_RIGHT){ _local7 = 0; _local6 = (_local4 - _local2); } else { if (_local8 == StageAlign.BOTTOM_LEFT){ _local7 = (_local5 - _local3); _local6 = 0; } else { if (_local8 == StageAlign.BOTTOM_RIGHT){ _local7 = (_local5 - _local3); _local6 = (_local4 - _local2); }; }; }; }; }; }; }; }; if (!_screen){ _screen = new Rectangle(); }; _screen.x = _local6; _screen.y = _local7; _screen.width = _local2; _screen.height = _local3; if (isStageRoot){ _width = stage.stageWidth; _height = stage.stageHeight; }; if (_arg1){ resizeMouseCatcher(); dispatchEvent(_arg1); }; } public function get explicitHeight():Number{ return (_explicitHeight); } mx_internal function set topMostIndex(_arg1:int):void{ var _local2:int; _local2 = (_arg1 - _topMostIndex); _topMostIndex = _arg1; toolTipIndex = (toolTipIndex + _local2); } override public function getChildByName(_arg1:String):DisplayObject{ return (super.getChildByName(_arg1)); } override public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ noTopMostIndex++; return (rawChildren_addChildAt(_arg1, (applicationIndex + _arg2))); } public function isTopLevel():Boolean{ return (topLevel); } public function deactivate(_arg1:IFocusManagerContainer):void{ var _local2:IFocusManagerContainer; var _local3:int; var _local4:int; var _local5:IFocusManagerContainer; if (form){ if ((((form == _arg1)) && ((forms.length > 1)))){ form.focusManager.deactivate(); _local3 = forms.length; _local4 = 0; while (_local4 < _local3) { _local5 = forms[_local4]; if (_local5 == _arg1){ _local4 = (_local4 + 1); while (_local4 < _local3) { _local5 = forms[_local4]; if ((((Sprite(_local5).visible == true)) && (IUIComponent(_local5).enabled))){ _local2 = _local5; }; _local4++; }; form = _local2; break; } else { if (((Sprite(_local5).visible) && (IUIComponent(_local5).enabled))){ _local2 = _local5; }; }; _local4++; }; if (form){ form.focusManager.activate(); }; }; }; } public function getExplicitOrMeasuredWidth():Number{ return ((isNaN(explicitWidth)) ? measuredWidth : explicitWidth); } public function info():Object{ return ({}); } public function get measuredWidth():Number{ return ((topLevelWindow) ? topLevelWindow.getExplicitOrMeasuredWidth() : loaderInfo.width); } mx_internal function get toolTipIndex():int{ return (_toolTipIndex); } public function setActualSize(_arg1:Number, _arg2:Number):void{ if (isStageRoot){ return; }; _width = _arg1; _height = _arg2; if (mouseCatcher){ mouseCatcher.width = _arg1; mouseCatcher.height = _arg2; }; dispatchEvent(new Event(Event.RESIZE)); } mx_internal function set applicationIndex(_arg1:int):void{ _applicationIndex = _arg1; } public function set focusPane(_arg1:Sprite):void{ if (_arg1){ addChild(_arg1); _arg1.x = 0; _arg1.y = 0; _arg1.scrollRect = null; _focusPane = _arg1; } else { removeChild(_focusPane); _focusPane = null; }; } private function executeCallbacks():void{ var _local1:Function; if (!parent){ return; }; while (initCallbackFunctions.length > 0) { _local1 = initCallbackFunctions.shift(); _local1(this); }; } override public function addChild(_arg1:DisplayObject):DisplayObject{ noTopMostIndex++; return (rawChildren_addChildAt(_arg1, (noTopMostIndex - 1))); } public function set explicitHeight(_arg1:Number):void{ _explicitHeight = _arg1; } override public function removeChild(_arg1:DisplayObject):DisplayObject{ noTopMostIndex--; return (rawChildren_removeChild(_arg1)); } mx_internal function rawChildren_removeChild(_arg1:DisplayObject):DisplayObject{ removingChild(_arg1); super.removeChild(_arg1); childRemoved(_arg1); return (_arg1); } final mx_internal function get $numChildren():int{ return (super.numChildren); } override public function get stage():Stage{ var _local1:Stage; _local1 = super.stage; if (_local1){ return (_local1); }; if (((!(topLevel)) && (_topLevelSystemManager))){ return (_topLevelSystemManager.stage); }; return (null); } public function create(... _args):Object{ var _local2:String; var _local3:Class; var _local4:String; var _local5:int; var _local6:int; _local2 = info()["mainClassName"]; if (_local2 == null){ _local4 = loaderInfo.loaderURL; _local5 = _local4.lastIndexOf("."); _local6 = _local4.lastIndexOf("/"); _local2 = _local4.substring((_local6 + 1), _local5); }; _local3 = Class(getDefinitionByName(_local2)); return ((_local3) ? new (_local3) : null); } override public function getChildIndex(_arg1:DisplayObject):int{ return ((super.getChildIndex(_arg1) - applicationIndex)); } public function get popUpChildren():IChildList{ if (!topLevel){ return (_topLevelSystemManager.popUpChildren); }; if (!_popUpChildren){ _popUpChildren = new SystemChildrenList(this, new QName(mx_internal, "noTopMostIndex"), new QName(mx_internal, "topMostIndex")); }; return (_popUpChildren); } public function activate(_arg1:IFocusManagerContainer):void{ var _local2:IFocusManagerContainer; if (form){ if (((!((form == _arg1))) && ((forms.length > 1)))){ _local2 = form; _local2.focusManager.deactivate(); }; }; form = _arg1; if (_arg1.focusManager){ _arg1.focusManager.activate(); }; } override public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ super.setChildIndex(_arg1, (applicationIndex + _arg2)); } public function get toolTipChildren():IChildList{ if (!topLevel){ return (_topLevelSystemManager.toolTipChildren); }; if (!_toolTipChildren){ _toolTipChildren = new SystemChildrenList(this, new QName(mx_internal, "topMostIndex"), new QName(mx_internal, "toolTipIndex")); }; return (_toolTipChildren); } private function deferredNextFrame():void{ if ((currentFrame + 1) > totalFrames){ return; }; if ((currentFrame + 1) <= framesLoaded){ nextFrame(); } else { nextFrameTimer = new Timer(100); nextFrameTimer.addEventListener(TimerEvent.TIMER, nextFrameTimerHandler); nextFrameTimer.start(); }; } mx_internal function get cursorIndex():int{ return (_cursorIndex); } override public function getObjectsUnderPoint(_arg1:Point):Array{ var _local2:Array; var _local3:int; var _local4:int; var _local5:DisplayObject; var _local6:Array; _local2 = []; _local3 = topMostIndex; _local4 = 0; while (_local4 < _local3) { _local5 = super.getChildAt(_local4); if ((_local5 is DisplayObjectContainer)){ _local6 = DisplayObjectContainer(_local5).getObjectsUnderPoint(_arg1); if (_local6){ _local2 = _local2.concat(_local6); }; }; _local4++; }; return (_local2); } mx_internal function rawChildren_contains(_arg1:DisplayObject):Boolean{ return (super.contains(_arg1)); } public function get document():Object{ return (_document); } private function resizeMouseCatcher():void{ var _local1:Graphics; if (mouseCatcher){ _local1 = mouseCatcher.graphics; _local1.clear(); _local1.beginFill(0, 0); _local1.drawRect(0, 0, stage.stageWidth, stage.stageHeight); _local1.endFill(); }; } override public function get height():Number{ return (_height); } mx_internal function rawChildren_getChildIndex(_arg1:DisplayObject):int{ return (super.getChildIndex(_arg1)); } mx_internal function get topMostIndex():int{ return (_topMostIndex); } public function addFocusManager(_arg1:IFocusManagerContainer):void{ forms.push(_arg1); } mx_internal function set noTopMostIndex(_arg1:int):void{ var _local2:int; _local2 = (_arg1 - _noTopMostIndex); _noTopMostIndex = _arg1; topMostIndex = (topMostIndex + _local2); } mx_internal function rawChildren_setChildIndex(_arg1:DisplayObject, _arg2:int):void{ super.setChildIndex(_arg1, _arg2); } private function mouseUpHandler(_arg1:MouseEvent):void{ idleCounter = 0; } mx_internal function childAdded(_arg1:DisplayObject):void{ _arg1.dispatchEvent(new FlexEvent(FlexEvent.ADD)); if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).initialize(); }; } public function isFontFaceEmbedded(_arg1:TextFormat):Boolean{ var _local2:String; var _local3:Array; var _local4:int; var _local5:Object; var _local6:Font; var _local7:String; _local2 = _arg1.font; _local3 = Font.enumerateFonts(); _local4 = 0; while (_local4 < _local3.length) { _local6 = Font(_local3[_local4]); if (_local6.fontName == _local2){ _local7 = "regular"; if (((_arg1.bold) && (_arg1.italic))){ _local7 = "boldItalic"; } else { if (_arg1.bold){ _local7 = "bold"; } else { if (_arg1.italic){ _local7 = "italic"; }; }; }; if (_local6.fontStyle == _local7){ return (true); }; }; _local4++; }; if (((((!(_local2)) || (!(embeddedFontList)))) || (!(embeddedFontList[_local2])))){ return (false); }; _local5 = embeddedFontList[_local2]; return (!(((((((_arg1.bold) && (!(_local5.bold)))) || (((_arg1.italic) && (!(_local5.italic)))))) || (((((!(_arg1.bold)) && (!(_arg1.italic)))) && (!(_local5.regular))))))); } mx_internal function rawChildren_getChildAt(_arg1:int):DisplayObject{ return (super.getChildAt(_arg1)); } override public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ if (_arg1 == FlexEvent.IDLE){ super.removeEventListener(_arg1, _arg2, _arg3); if (((!(hasEventListener(FlexEvent.IDLE))) && (idleTimer))){ idleTimer.stop(); idleTimer = null; removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); }; } else { super.removeEventListener(_arg1, _arg2, _arg3); }; } override public function removeChildAt(_arg1:int):DisplayObject{ noTopMostIndex--; return (rawChildren_removeChildAt((applicationIndex + _arg1))); } private function extraFrameHandler(_arg1:Event=null):void{ var _local2:Object; var _local3:Class; _local2 = info()["frames"]; if (((_local2) && (_local2[currentLabel]))){ _local3 = Class(getDefinitionByName(_local2[currentLabel])); var _local4 = _local3; _local4["frame"](this); }; deferredNextFrame(); } public function get application():IUIComponent{ return (IUIComponent(_document)); } mx_internal function rawChildren_removeChildAt(_arg1:int):DisplayObject{ var _local2:DisplayObject; _local2 = super.getChildAt(_arg1); removingChild(_local2); super.removeChildAt(_arg1); childRemoved(_local2); return (_local2); } mx_internal function removingChild(_arg1:DisplayObject):void{ _arg1.dispatchEvent(new FlexEvent(FlexEvent.REMOVE)); } mx_internal function get applicationIndex():int{ return (_applicationIndex); } mx_internal function set toolTipIndex(_arg1:int):void{ var _local2:int; _local2 = (_arg1 - _toolTipIndex); _toolTipIndex = _arg1; cursorIndex = (cursorIndex + _local2); } public function get cursorChildren():IChildList{ if (!topLevel){ return (_topLevelSystemManager.cursorChildren); }; if (!_cursorChildren){ _cursorChildren = new SystemChildrenList(this, new QName(mx_internal, "toolTipIndex"), new QName(mx_internal, "cursorIndex")); }; return (_cursorChildren); } public function get preloaderBackgroundImage():Object{ return (info()["backgroundImage"]); } public function set numModalWindows(_arg1:int):void{ _numModalWindows = _arg1; } public function get preloaderBackgroundAlpha():Number{ return (info()["backgroundAlpha"]); } private function preloader_preloaderDoneHandler(_arg1:Event):void{ var _local2:IUIComponent; _local2 = topLevelWindow; preloader.removeEventListener(FlexEvent.PRELOADER_DONE, preloader_preloaderDoneHandler); _popUpChildren.removeChild(preloader); mouseCatcher = new FlexSprite(); mouseCatcher.name = "mouseCatcher"; noTopMostIndex++; super.addChildAt(mouseCatcher, 0); resizeMouseCatcher(); if (!topLevel){ mouseCatcher.visible = false; mask = mouseCatcher; }; noTopMostIndex++; super.addChildAt(DisplayObject(_local2), 1); _local2.dispatchEvent(new FlexEvent(FlexEvent.APPLICATION_COMPLETE)); dispatchEvent(new FlexEvent(FlexEvent.APPLICATION_COMPLETE)); } mx_internal function rawChildren_getChildByName(_arg1:String):DisplayObject{ return (super.getChildByName(_arg1)); } mx_internal function initialize():void{ var _local1:Array; var _local2:Array; var _local3:Array; var _local4:int; var _local5:Boolean; var _local6:Class; if (isStageRoot){ _width = stage.stageWidth; _height = stage.stageHeight; } else { _width = loaderInfo.width; _height = loaderInfo.height; }; preloader = new Preloader(); preloader.addEventListener(FlexEvent.INIT_PROGRESS, preloader_initProgressHandler); preloader.addEventListener(FlexEvent.PRELOADER_DONE, preloader_preloaderDoneHandler); if (!_popUpChildren){ _popUpChildren = new SystemChildrenList(this, new QName(mx_internal, "noTopMostIndex"), new QName(mx_internal, "topMostIndex")); }; _popUpChildren.addChild(preloader); _local1 = []; _local2 = []; _local3 = info()["rsls"]; _local4 = 0; while (((_local3) && ((_local4 < _local3.length)))) { _local1[_local4] = _local3[_local4].url; _local2[_local4] = _local3[_local4].size; _local4++; }; _local5 = true; if (info()["usePreloader"] != undefined){ _local5 = info()["usePreloader"]; }; _local6 = (info()["preloader"] as Class); if (((_local5) && (!(_local6)))){ _local6 = DownloadProgressBar; }; preloader.initialize(_local5, _local6, preloaderBackgroundColor, preloaderBackgroundAlpha, preloaderBackgroundImage, preloaderBackgroundSize, (isStageRoot) ? stage.stageWidth : loaderInfo.width, (isStageRoot) ? stage.stageHeight : loaderInfo.height, _local1, _local2); } private function appCreationCompleteHandler(_arg1:FlexEvent):void{ var _local2:DisplayObjectContainer; if (((!(topLevel)) && (parent))){ _local2 = parent.parent; while (_local2) { if ((_local2 is IInvalidating)){ IInvalidating(_local2).invalidateSize(); IInvalidating(_local2).invalidateDisplayList(); return; }; _local2 = _local2.parent; }; }; } public function get measuredHeight():Number{ return ((topLevelWindow) ? topLevelWindow.getExplicitOrMeasuredHeight() : loaderInfo.height); } mx_internal function regenerateStyleCache(_arg1:Boolean):void{ var _local2:Boolean; var _local3:int; var _local4:int; var _local5:IStyleClient; _local2 = false; _local3 = rawChildren.numChildren; _local4 = 0; while (_local4 < _local3) { _local5 = (rawChildren.getChildAt(_local4) as IStyleClient); if (_local5){ _local5.regenerateStyleCache(_arg1); }; if (isTopLevelWindow(DisplayObject(_local5))){ _local2 = true; }; _local3 = rawChildren.numChildren; _local4++; }; if (((!(_local2)) && ((topLevelWindow is IStyleClient)))){ IStyleClient(topLevelWindow).regenerateStyleCache(_arg1); }; } public function get topLevelSystemManager():ISystemManager{ if (topLevel){ return (this); }; return (_topLevelSystemManager); } private function nextFrameTimerHandler(_arg1:TimerEvent):void{ if ((currentFrame + 1) <= framesLoaded){ nextFrame(); nextFrameTimer.removeEventListener(TimerEvent.TIMER, nextFrameTimerHandler); nextFrameTimer.reset(); }; } public function get preloaderBackgroundColor():uint{ var _local1:*; _local1 = info()["backgroundColor"]; if (_local1 == undefined){ return (4294967295); }; return (uint(_local1)); } mx_internal function childRemoved(_arg1:DisplayObject):void{ if ((_arg1 is IUIComponent)){ IUIComponent(_arg1).parentChanged(null); }; } override public function get numChildren():int{ return ((noTopMostIndex - applicationIndex)); } mx_internal function get noTopMostIndex():int{ return (_noTopMostIndex); } mx_internal function rawChildren_addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ addingChild(_arg1); super.addChildAt(_arg1, _arg2); childAdded(_arg1); return (_arg1); } public function get numModalWindows():int{ return (_numModalWindows); } private function initializeTopLevelWindow(_arg1:Event):void{ var _local2:IUIComponent; var _local3:DisplayObjectContainer; initialized = true; if (!parent){ return; }; if (!topLevel){ _local3 = parent.parent; if (!_local3){ return; }; while (_local3) { if ((_local3 is IUIComponent)){ _topLevelSystemManager = IUIComponent(_local3).systemManager; break; }; _local3 = _local3.parent; }; }; addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler, true); if (((topLevel) && (stage))){ stage.addEventListener(Event.RESIZE, Stage_resizeHandler, false, 0, true); }; _local2 = (topLevelWindow = IUIComponent(create())); document = _local2; if (document){ IEventDispatcher(_local2).addEventListener(FlexEvent.CREATION_COMPLETE, appCreationCompleteHandler); if (((topLevel) && (stage))){ LoaderConfig._url = loaderInfo.url; LoaderConfig._parameters = loaderInfo.parameters; _width = stage.stageWidth; _height = stage.stageHeight; IFlexDisplayObject(_local2).setActualSize(stage.stageWidth, stage.stageHeight); } else { IFlexDisplayObject(_local2).setActualSize(loaderInfo.width, loaderInfo.height); }; preloader.registerApplication(_local2); addingChild(DisplayObject(_local2)); childAdded(DisplayObject(_local2)); } else { document = this; }; } override public function get width():Number{ return (_width); } public function isTopLevelWindow(_arg1:DisplayObject):Boolean{ return ((((_arg1 is IUIComponent)) && ((IUIComponent(_arg1) == topLevelWindow)))); } public function move(_arg1:Number, _arg2:Number):void{ } public function set explicitWidth(_arg1:Number):void{ _explicitWidth = _arg1; } private function preloader_initProgressHandler(_arg1:Event):void{ preloader.removeEventListener(FlexEvent.INIT_PROGRESS, preloader_initProgressHandler); deferredNextFrame(); } public function get explicitWidth():Number{ return (_explicitWidth); } public static function getSWFRoot(_arg1:Object):DisplayObject{ var className:String; var p:*; var sm:SystemManager; var domain:ApplicationDomain; var cls:Class; var object = _arg1; className = getQualifiedClassName(object); for (p in allSystemManagers) { sm = (p as SystemManager); domain = sm.loaderInfo.applicationDomain; try { cls = Class(domain.getDefinition(className)); if ((object is cls)){ return (sm); }; } catch(e:Error) { }; }; return (null); } mx_internal static function registerInitCallback(_arg1:Function):void{ var _local2:SystemManager; if (((!(allSystemManagers)) || (!(lastSystemManager)))){ return; }; _local2 = lastSystemManager; if (_local2.doneExecutingInitCallbacks){ _arg1(_local2); } else { _local2.initCallbackFunctions.push(_arg1); }; } } }//package mx.managers
Section 299
//SystemManagerGlobals (mx.managers.SystemManagerGlobals) package mx.managers { public class SystemManagerGlobals { public static var topLevelSystemManagers:Array = []; public static var bootstrapLoaderInfoURL:String; } }//package mx.managers
Section 300
//SystemRawChildrenList (mx.managers.SystemRawChildrenList) package mx.managers { import mx.core.*; import flash.display.*; import flash.geom.*; public class SystemRawChildrenList implements IChildList { private var owner:SystemManager; mx_internal static const VERSION:String = "2.0.1.0"; public function SystemRawChildrenList(_arg1:SystemManager){ this.owner = _arg1; } public function getChildByName(_arg1:String):DisplayObject{ return (owner.mx_internal::rawChildren_getChildByName(_arg1)); } public function removeChildAt(_arg1:int):DisplayObject{ return (owner.mx_internal::rawChildren_removeChildAt(_arg1)); } public function getChildIndex(_arg1:DisplayObject):int{ return (owner.mx_internal::rawChildren_getChildIndex(_arg1)); } public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{ return (owner.mx_internal::rawChildren_addChildAt(_arg1, _arg2)); } public function getObjectsUnderPoint(_arg1:Point):Array{ return (owner.mx_internal::rawChildren_getObjectsUnderPoint(_arg1)); } public function setChildIndex(_arg1:DisplayObject, _arg2:int):void{ var _local3 = owner; _local3.mx_internal::rawChildren_setChildIndex(_arg1, _arg2); } public function get numChildren():int{ return (owner.mx_internal::$numChildren); } public function contains(_arg1:DisplayObject):Boolean{ return (owner.mx_internal::rawChildren_contains(_arg1)); } public function removeChild(_arg1:DisplayObject):DisplayObject{ return (owner.mx_internal::rawChildren_removeChild(_arg1)); } public function getChildAt(_arg1:int):DisplayObject{ return (owner.mx_internal::rawChildren_getChildAt(_arg1)); } public function addChild(_arg1:DisplayObject):DisplayObject{ return (owner.mx_internal::rawChildren_addChild(_arg1)); } } }//package mx.managers
Section 301
//ToolTipManager (mx.managers.ToolTipManager) package mx.managers { import flash.events.*; import mx.core.*; import flash.display.*; import mx.effects.*; public class ToolTipManager extends EventDispatcher { mx_internal static const VERSION:String = "2.0.1.0"; private static var impl:IToolTipManager = (Singleton.getInstance("mx.managers::IToolTipManager") as IToolTipManager); private static var implClassDependency:ToolTipManagerImpl; public static function get enabled():Boolean{ return (impl.enabled); } public static function set enabled(_arg1:Boolean):void{ impl.enabled = _arg1; } mx_internal static function registerToolTip(_arg1:DisplayObject, _arg2:String):void{ impl.registerToolTip(_arg1, _arg2); } public static function set hideDelay(_arg1:Number):void{ impl.hideDelay = _arg1; } public static function set showDelay(_arg1:Number):void{ impl.showDelay = _arg1; } public static function get showDelay():Number{ return (impl.showDelay); } public static function createToolTip(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String=null, _arg5:IUIComponent=null):IToolTip{ return (impl.createToolTip(_arg1, _arg2, _arg3, _arg4, _arg5)); } public static function destroyToolTip(_arg1:IToolTip):void{ return (impl.destroyToolTip(_arg1)); } public static function get scrubDelay():Number{ return (impl.scrubDelay); } public static function get toolTipClass():Class{ return (impl.toolTipClass); } mx_internal static function registerErrorString(_arg1:DisplayObject, _arg2:String):void{ impl.registerErrorString(_arg1, _arg2); } mx_internal static function sizeTip(_arg1:IToolTip):void{ impl.sizeTip(_arg1); } public static function set currentTarget(_arg1:DisplayObject):void{ impl.currentTarget = _arg1; } public static function set showEffect(_arg1:Effect):void{ impl.showEffect = _arg1; } public static function get hideDelay():Number{ return (impl.hideDelay); } public static function set hideEffect(_arg1:Effect):void{ impl.hideEffect = _arg1; } public static function set scrubDelay(_arg1:Number):void{ impl.scrubDelay = _arg1; } public static function get currentToolTip():IToolTip{ return (impl.currentToolTip); } public static function set currentToolTip(_arg1:IToolTip):void{ impl.currentToolTip = _arg1; } public static function get showEffect():Effect{ return (impl.showEffect); } public static function get currentTarget():DisplayObject{ return (impl.currentTarget); } public static function get hideEffect():Effect{ return (impl.hideEffect); } public static function set toolTipClass(_arg1:Class):void{ impl.toolTipClass = _arg1; } } }//package mx.managers
Section 302
//ToolTipManagerImpl (mx.managers.ToolTipManagerImpl) package mx.managers { import flash.events.*; import mx.core.*; import mx.styles.*; import flash.display.*; import flash.geom.*; import mx.events.*; import mx.effects.*; import flash.utils.*; import mx.validators.*; import mx.controls.*; public class ToolTipManagerImpl extends EventDispatcher implements IToolTipManager { private var _enabled:Boolean;// = true private var _showDelay:Number;// = 500 private var _hideEffect:Effect; private var hideTimer:Timer; private var _toolTipClass:Class; private var _scrubDelay:Number;// = 100 private var showTimer:Timer; private var _currentToolTip:IToolTip; private var currentText:String; private var scrubTimer:Timer; private var previousTarget:DisplayObject; private var _currentTarget:DisplayObject; private var _showEffect:Effect; private var initialized:Boolean;// = false private var _hideDelay:Number;// = 10000 private var isError:Boolean; mx_internal static const VERSION:String = "2.0.1.0"; private static var instance:IToolTipManager; public function ToolTipManagerImpl(){ initialized = false; _enabled = true; _hideDelay = 10000; _scrubDelay = 100; _showDelay = 500; _toolTipClass = ToolTip; super(); if (instance){ throw (new Error("Instance already exists.")); }; } private function toolTipMouseOverHandler(_arg1:MouseEvent):void{ checkIfTargetChanged(DisplayObject(_arg1.target)); } private function showTimer_timerHandler(_arg1:TimerEvent):void{ if (currentTarget){ createTip(); initializeTip(); positionTip(); showTip(); }; } private function systemManager_mouseDownHandler(_arg1:MouseEvent):void{ reset(); } public function set showDelay(_arg1:Number):void{ _showDelay = _arg1; } private function hideEffectEnded():void{ var _local1:ToolTipEvent; reset(); if (previousTarget){ _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_END); _local1.toolTip = currentToolTip; previousTarget.dispatchEvent(_local1); }; } public function set scrubDelay(_arg1:Number):void{ _scrubDelay = _arg1; } public function get currentToolTip():IToolTip{ return (_currentToolTip); } private function toolTipMouseOutHandler(_arg1:MouseEvent):void{ checkIfTargetChanged(_arg1.relatedObject); } public function get enabled():Boolean{ return (_enabled); } public function createToolTip(_arg1:String, _arg2:Number, _arg3:Number, _arg4:String=null, _arg5:IUIComponent=null):IToolTip{ var _local6:ToolTip; var _local7:ISystemManager; _local6 = new ToolTip(); _local7 = (_arg5) ? _arg5.systemManager : Application.application.systemManager; _local7.toolTipChildren.addChild(_local6); if (_arg4){ _local6.setStyle("styleName", "errorTip"); _local6.setStyle("borderStyle", _arg4); }; _local6.text = _arg1; sizeTip(_local6); _local6.move(_arg2, _arg3); return ((_local6 as IToolTip)); } private function reset():void{ var _local1:ISystemManager; showTimer.reset(); hideTimer.reset(); if (currentToolTip){ if (((showEffect) || (hideEffect))){ currentToolTip.removeEventListener(EffectEvent.EFFECT_END, effectEndHandler); }; EffectManager.endEffectsForTarget(currentToolTip); _local1 = getSystemManager(previousTarget); _local1.toolTipChildren.removeChild(DisplayObject(currentToolTip)); currentToolTip = null; scrubTimer.delay = scrubDelay; scrubTimer.reset(); if (scrubDelay > 0){ scrubTimer.delay = scrubDelay; scrubTimer.start(); }; }; } public function set currentToolTip(_arg1:IToolTip):void{ _currentToolTip = _arg1; } private function showTip():void{ var _local1:ToolTipEvent; var _local2:ISystemManager; _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_SHOW); _local1.toolTip = currentToolTip; currentTarget.dispatchEvent(_local1); if (isError){ currentTarget.addEventListener("change", changeHandler); } else { _local2 = getSystemManager(currentTarget); _local2.addEventListener(MouseEvent.MOUSE_DOWN, systemManager_mouseDownHandler); }; currentToolTip.visible = true; if (!showEffect){ showEffectEnded(); }; } private function effectEndHandler(_arg1:EffectEvent):void{ if (_arg1.effectInstance.effect == showEffect){ showEffectEnded(); } else { if (_arg1.effectInstance.effect == hideEffect){ hideEffectEnded(); }; }; } public function get hideDelay():Number{ return (_hideDelay); } public function get toolTipClass():Class{ return (_toolTipClass); } public function get currentTarget():DisplayObject{ return (_currentTarget); } public function get hideEffect():Effect{ return (_hideEffect); } private function showEffectEnded():void{ var _local1:ToolTipEvent; if (hideDelay == 0){ hideTip(); } else { if (hideDelay < Infinity){ hideTimer.delay = hideDelay; hideTimer.start(); }; }; if (currentTarget){ _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_SHOWN); _local1.toolTip = currentToolTip; currentTarget.dispatchEvent(_local1); }; } public function set enabled(_arg1:Boolean):void{ _enabled = _arg1; } private function errorTipMouseOverHandler(_arg1:MouseEvent):void{ checkIfTargetChanged(DisplayObject(_arg1.target)); } public function get scrubDelay():Number{ return (_scrubDelay); } public function get showDelay():Number{ return (_showDelay); } public function registerErrorString(_arg1:DisplayObject, _arg2:String):void{ var _local3:String; _local3 = IValidatorListener(_arg1).errorString; if (((!(_local3)) && (_arg2))){ _arg1.addEventListener(MouseEvent.MOUSE_OVER, errorTipMouseOverHandler); _arg1.addEventListener(MouseEvent.MOUSE_OUT, errorTipMouseOutHandler); } else { if (((_local3) && (!(_arg2)))){ _arg1.removeEventListener(MouseEvent.MOUSE_OVER, errorTipMouseOverHandler); _arg1.removeEventListener(MouseEvent.MOUSE_OUT, errorTipMouseOutHandler); }; }; } private function initialize():void{ if (!showTimer){ showTimer = new Timer(0, 1); showTimer.addEventListener(TimerEvent.TIMER, showTimer_timerHandler); }; if (!hideTimer){ hideTimer = new Timer(0, 1); hideTimer.addEventListener(TimerEvent.TIMER, hideTimer_timerHandler); }; if (!scrubTimer){ scrubTimer = new Timer(0, 1); }; initialized = true; } public function destroyToolTip(_arg1:IToolTip):void{ var _local2:ISystemManager; _local2 = _arg1.systemManager; _local2.toolTipChildren.removeChild(DisplayObject(_arg1)); } private function checkIfTargetChanged(_arg1:DisplayObject):void{ if (!enabled){ return; }; findTarget(_arg1); if (currentTarget != previousTarget){ targetChanged(); previousTarget = currentTarget; }; } private function changeHandler(_arg1:Event):void{ reset(); } public function set toolTipClass(_arg1:Class):void{ _toolTipClass = _arg1; } private function getGlobalBounds(_arg1:DisplayObject):Rectangle{ var _local2:Point; _local2 = new Point(0, 0); _local2 = _arg1.localToGlobal(_local2); return (new Rectangle(_local2.x, _local2.y, _arg1.width, _arg1.height)); } private function positionTip():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Rectangle; var _local6:Point; var _local7:IToolTip; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; _local3 = currentToolTip.screen.width; _local4 = currentToolTip.screen.height; if (isError){ _local5 = getGlobalBounds(currentTarget); _local1 = (_local5.right + 4); _local2 = (_local5.top - 1); if ((_local1 + currentToolTip.width) > _local3){ _local8 = NaN; _local9 = NaN; _local1 = (_local5.left - 2); if (((_local1 + currentToolTip.width) + 4) > _local3){ _local8 = ((_local3 - _local1) - 4); _local9 = Object(toolTipClass).maxWidth; Object(toolTipClass).maxWidth = _local8; if ((currentToolTip is IStyleClient)){ IStyleClient(currentToolTip).setStyle("borderStyle", "errorTipAbove"); }; currentToolTip["text"] = currentToolTip["text"]; Object(toolTipClass).maxWidth = _local9; } else { if ((currentToolTip is IStyleClient)){ IStyleClient(currentToolTip).setStyle("borderStyle", "errorTipAbove"); }; currentToolTip["text"] = currentToolTip["text"]; }; if ((currentToolTip.height + 2) < _local5.top){ _local2 = (_local5.top - (currentToolTip.height + 2)); } else { _local2 = (_local5.bottom + 2); if (!isNaN(_local8)){ Object(toolTipClass).maxWidth = _local8; }; if ((currentToolTip is IStyleClient)){ IStyleClient(currentToolTip).setStyle("borderStyle", "errorTipBelow"); }; currentToolTip["text"] = currentToolTip["text"]; if (!isNaN(_local9)){ Object(toolTipClass).maxWidth = _local9; }; }; }; sizeTip(currentToolTip); _local6 = new Point(_local1, _local2); _local7 = currentToolTip; _local6 = DisplayObject(_local7).root.globalToLocal(_local6); _local1 = _local6.x; _local2 = _local6.y; } else { _local1 = (Application.application.mouseX + 11); _local2 = (Application.application.mouseY + 22); _local10 = currentToolTip.width; if ((_local1 + _local10) > _local3){ _local1 = (_local3 - _local10); }; _local11 = currentToolTip.height; if ((_local2 + _local11) > _local4){ _local2 = (_local4 - _local11); }; }; currentToolTip.move(_local1, _local2); } private function errorTipMouseOutHandler(_arg1:MouseEvent):void{ checkIfTargetChanged(_arg1.relatedObject); } private function findTarget(_arg1:DisplayObject):void{ while (_arg1) { if ((_arg1 is IValidatorListener)){ currentText = IValidatorListener(_arg1).errorString; if (((!((currentText == null))) && (!((currentText == ""))))){ currentTarget = _arg1; isError = true; return; }; }; if ((_arg1 is IToolTipManagerClient)){ currentText = IToolTipManagerClient(_arg1).toolTip; if (currentText != null){ currentTarget = _arg1; isError = false; return; }; }; _arg1 = _arg1.parent; }; currentText = null; currentTarget = null; } public function registerToolTip(_arg1:DisplayObject, _arg2:String):void{ var _local3:String; if ((_arg1 is IToolTipManagerClient)){ _local3 = IToolTipManagerClient(_arg1).toolTip; }; if (((!(_local3)) && (_arg2))){ _arg1.addEventListener(MouseEvent.MOUSE_OVER, toolTipMouseOverHandler); _arg1.addEventListener(MouseEvent.MOUSE_OUT, toolTipMouseOutHandler); } else { if (((_local3) && (!(_arg2)))){ _arg1.removeEventListener(MouseEvent.MOUSE_OVER, toolTipMouseOverHandler); _arg1.removeEventListener(MouseEvent.MOUSE_OUT, toolTipMouseOutHandler); }; }; } public function set hideDelay(_arg1:Number):void{ _hideDelay = _arg1; } private function getSystemManager(_arg1:DisplayObject):ISystemManager{ return (((_arg1 is IUIComponent)) ? IUIComponent(_arg1).systemManager : null); } public function set currentTarget(_arg1:DisplayObject):void{ _currentTarget = _arg1; } public function set showEffect(_arg1:Effect):void{ _showEffect = _arg1; } public function sizeTip(_arg1:IToolTip):void{ if ((_arg1 is IInvalidating)){ IInvalidating(_arg1).validateNow(); }; _arg1.setActualSize(_arg1.getExplicitOrMeasuredWidth(), _arg1.getExplicitOrMeasuredHeight()); } public function set hideEffect(_arg1:Effect):void{ _hideEffect = _arg1; } private function hideTimer_timerHandler(_arg1:TimerEvent):void{ hideTip(); } private function targetChanged():void{ var _local1:ToolTipEvent; if (!initialized){ initialize(); }; if (((previousTarget) && (currentToolTip))){ _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_HIDE); _local1.toolTip = currentToolTip; previousTarget.dispatchEvent(_local1); }; reset(); if (currentTarget){ if (currentText == ""){ return; }; _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_START); currentTarget.dispatchEvent(_local1); if ((((showDelay == 0)) || (scrubTimer.running))){ createTip(); initializeTip(); positionTip(); showTip(); } else { showTimer.delay = showDelay; showTimer.start(); }; }; } private function initializeTip():void{ if ((currentToolTip is ToolTip)){ ToolTip(currentToolTip).text = currentText; }; if (((isError) && ((currentToolTip is IStyleClient)))){ IStyleClient(currentToolTip).setStyle("styleName", "errorTip"); }; sizeTip(currentToolTip); if ((currentToolTip is IStyleClient)){ if (showEffect){ IStyleClient(currentToolTip).setStyle("showEffect", showEffect); }; if (hideEffect){ IStyleClient(currentToolTip).setStyle("hideEffect", hideEffect); }; }; if (((showEffect) || (hideEffect))){ currentToolTip.addEventListener(EffectEvent.EFFECT_END, effectEndHandler); }; } public function get showEffect():Effect{ return (_showEffect); } private function hideTip():void{ var _local1:ToolTipEvent; var _local2:ISystemManager; if (previousTarget){ _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_HIDE); _local1.toolTip = currentToolTip; previousTarget.dispatchEvent(_local1); }; if (currentToolTip){ currentToolTip.visible = false; }; if (isError){ if (currentTarget){ currentTarget.removeEventListener("change", changeHandler); }; } else { if (previousTarget){ _local2 = getSystemManager(previousTarget); _local2.removeEventListener(MouseEvent.MOUSE_DOWN, systemManager_mouseDownHandler); }; }; if (!hideEffect){ hideEffectEnded(); }; } private function createTip():void{ var _local1:ToolTipEvent; var _local2:ISystemManager; _local1 = new ToolTipEvent(ToolTipEvent.TOOL_TIP_CREATE); currentTarget.dispatchEvent(_local1); if (_local1.toolTip){ currentToolTip = _local1.toolTip; } else { currentToolTip = new toolTipClass(); }; currentToolTip.visible = false; _local2 = getSystemManager(currentTarget); _local2.toolTipChildren.addChild(DisplayObject(currentToolTip)); } public static function getInstance():IToolTipManager{ if (!instance){ instance = new (ToolTipManagerImpl); }; return (instance); } } }//package mx.managers
Section 303
//LoaderConfig (mx.messaging.config.LoaderConfig) package mx.messaging.config { public class LoaderConfig { mx_internal static const VERSION:String = "2.0.1.0"; mx_internal static var _url:String = null; mx_internal static var _parameters:Object; public static function get url():String{ return (_url); } public static function get parameters():Object{ return (_parameters); } } }//package mx.messaging.config
Section 304
//IModuleInfo (mx.modules.IModuleInfo) package mx.modules { import flash.events.*; import mx.core.*; import flash.system.*; public interface IModuleInfo extends IEventDispatcher { function get ready():Boolean; function get loaded():Boolean; function get error():Boolean; function get factory():IFlexModuleFactory; function release():void; function get data():Object; function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null):void; function get url():String; function set data(_arg1:Object):void; function get setup():Boolean; function publish(_arg1:IFlexModuleFactory):void; function unload():void; } }//package mx.modules
Section 305
//ModuleManager (mx.modules.ModuleManager) package mx.modules { import mx.core.*; public class ModuleManager { mx_internal static const VERSION:String = "2.0.1.0"; public static function getModule(_arg1:String):IModuleInfo{ return (getSingleton().getModule(_arg1)); } private static function getSingleton():Object{ if (!ModuleManagerGlobals.managerSingleton){ ModuleManagerGlobals.managerSingleton = new ModuleManagerImpl(); }; return (ModuleManagerGlobals.managerSingleton); } public static function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ return (getSingleton().getAssociatedFactory(_arg1)); } } }//package mx.modules import flash.events.*; import mx.core.*; import flash.system.*; import flash.display.*; import mx.events.*; import flash.net.*; import flash.utils.*; class ModuleInfoProxy extends EventDispatcher implements IModuleInfo { private var _data:Object; private var info:ModuleInfo; private var referenced:Boolean;// = false private function ModuleInfoProxy(_arg1:ModuleInfo){ referenced = false; super(); this.info = _arg1; _arg1.addEventListener(ModuleEvent.SETUP, moduleEventHandler); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleEventHandler); _arg1.addEventListener(ModuleEvent.READY, moduleEventHandler); _arg1.addEventListener(ModuleEvent.ERROR, moduleEventHandler); _arg1.addEventListener(ModuleEvent.UNLOAD, moduleEventHandler); } public function get loaded():Boolean{ return (info.loaded); } public function get error():Boolean{ return (info.error); } public function set data(_arg1:Object):void{ _data = _arg1; } public function publish(_arg1:IFlexModuleFactory):void{ info.publish(_arg1); } public function get factory():IFlexModuleFactory{ return (info.factory); } public function release():void{ if (referenced){ info.removeReference(); referenced = false; }; } public function get ready():Boolean{ return (info.ready); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null):void{ var _local3:ModuleEvent; info.resurrect(); if (!referenced){ info.addReference(); referenced = true; }; if (info.error){ dispatchEvent(new ModuleEvent(ModuleEvent.ERROR)); } else { if (info.loaded){ if (info.setup){ dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); if (info.ready){ _local3 = new ModuleEvent(ModuleEvent.PROGRESS); _local3.bytesLoaded = info.size; _local3.bytesTotal = info.size; dispatchEvent(_local3); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); }; }; } else { info.load(_arg1, _arg2); }; }; } public function get data():Object{ return (_data); } private function moduleEventHandler(_arg1:ModuleEvent):void{ dispatchEvent(_arg1); } public function get url():String{ return (info.url); } public function get setup():Boolean{ return (info.setup); } public function unload():void{ info.unload(); info.removeEventListener(ModuleEvent.SETUP, moduleEventHandler); info.removeEventListener(ModuleEvent.PROGRESS, moduleEventHandler); info.removeEventListener(ModuleEvent.READY, moduleEventHandler); info.removeEventListener(ModuleEvent.ERROR, moduleEventHandler); info.removeEventListener(ModuleEvent.UNLOAD, moduleEventHandler); } } class ModuleManagerImpl extends EventDispatcher { private var moduleList:Object; private function ModuleManagerImpl(){ moduleList = {}; super(); } public function getModule(_arg1:String):IModuleInfo{ var _local2:ModuleInfo; _local2 = (moduleList[_arg1] as _slot3); if (!_local2){ _local2 = new ModuleInfo(_arg1); moduleList[_arg1] = _local2; }; return (new ModuleInfoProxy(_local2)); } public function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ var className:String; var m:Object; var info:ModuleInfo; var domain:ApplicationDomain; var cls:Class; var object = _arg1; className = getQualifiedClassName(object); for each (m in moduleList) { info = (m as _slot3); if (!info.ready){ } else { domain = info.applicationDomain; try { cls = Class(domain.getDefinition(className)); if ((object is cls)){ return (info.factory); }; } catch(error:Error) { }; }; }; return (null); } } class ModuleInfo extends EventDispatcher { private var _error:Boolean;// = false private var loader:Loader; private var _loaded:Boolean;// = false private var _ready:Boolean;// = false private var numReferences:int;// = 0 private var _url:String; private var factoryInfo:FactoryInfo; private var limbo:Dictionary; private var _setup:Boolean;// = false private function ModuleInfo(_arg1:String){ numReferences = 0; _error = false; _loaded = false; _ready = false; _setup = false; super(); _url = _arg1; } public function get loaded():Boolean{ return ((limbo) ? false : _loaded); } public function get error():Boolean{ return ((limbo) ? false : _error); } public function get factory():IFlexModuleFactory{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.factory : null); } public function release():void{ if (((_ready) && (!(limbo)))){ limbo = new Dictionary(true); limbo[factoryInfo] = 1; factoryInfo = null; } else { unload(); }; } public function get size():int{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.bytesTotal : 0); } public function publish(_arg1:IFlexModuleFactory):void{ if (factoryInfo){ return; }; if (_url.indexOf("published://") != 0){ return; }; factoryInfo = new FactoryInfo(); factoryInfo.factory = _arg1; _loaded = true; _setup = true; _ready = true; _error = false; dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); dispatchEvent(new ModuleEvent(ModuleEvent.PROGRESS)); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); } public function initHandler(_arg1:Event):void{ var moduleEvent:ModuleEvent; var event = _arg1; factoryInfo = new FactoryInfo(); try { factoryInfo.factory = (loader.content as IFlexModuleFactory); } catch(error:Error) { }; if (!factoryInfo.factory){ moduleEvent = new ModuleEvent(ModuleEvent.ERROR, event.bubbles, event.cancelable); moduleEvent.bytesLoaded = 0; moduleEvent.bytesTotal = 0; moduleEvent.errorText = "SWF is not a loadable module"; dispatchEvent(moduleEvent); return; }; loader.content.addEventListener("ready", readyHandler); try { factoryInfo.applicationDomain = loader.contentLoaderInfo.applicationDomain; } catch(error:Error) { }; _setup = true; dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); } public function resurrect():void{ var _local1:Object; if (((!(factoryInfo)) && (limbo))){ for (_local1 in limbo) { factoryInfo = (_local1 as _slot4); break; }; limbo = null; }; if (!factoryInfo){ if (_loaded){ dispatchEvent(new ModuleEvent(ModuleEvent.UNLOAD)); }; loader = null; _loaded = false; _setup = false; _ready = false; _error = false; }; } public function errorHandler(_arg1:ErrorEvent):void{ var _local2:ModuleEvent; _error = true; _local2 = new ModuleEvent(ModuleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = 0; _local2.bytesTotal = 0; _local2.errorText = _arg1.text; dispatchEvent(_local2); } public function get ready():Boolean{ return ((limbo) ? false : _ready); } public function removeReference():void{ numReferences--; if (numReferences == 0){ release(); }; } public function addReference():void{ numReferences++; } public function get applicationDomain():ApplicationDomain{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.applicationDomain : null); } public function readyHandler(_arg1:Event):void{ _ready = true; factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal; clearLoader(); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); } private function clearLoader():void{ if (loader){ if (loader.contentLoaderInfo){ loader.contentLoaderInfo.removeEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); }; try { if (loader.content){ loader.content.removeEventListener("ready", readyHandler); }; } catch(error:Error) { }; if (_loaded){ try { loader.close(); } catch(error:Error) { }; }; try { loader.unload(); } catch(error:Error) { }; loader = null; }; } public function progressHandler(_arg1:ProgressEvent):void{ var _local2:ModuleEvent; _local2 = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null):void{ var _local3:URLRequest; var _local4:LoaderContext; if (_loaded){ return; }; _loaded = true; limbo = null; if (_url.indexOf("published://") == 0){ return; }; _local3 = new URLRequest(_url); _local4 = new LoaderContext(); _local4.applicationDomain = (_arg1) ? _arg1 : new ApplicationDomain(ApplicationDomain.currentDomain); _local4.securityDomain = _arg2; if ((((_arg2 == null)) && ((Security.sandboxType == Security.REMOTE)))){ _local4.securityDomain = SecurityDomain.currentDomain; }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); loader.load(_local3, _local4); } public function completeHandler(_arg1:Event):void{ var _local2:ModuleEvent; _local2 = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; _local2.bytesTotal = loader.contentLoaderInfo.bytesTotal; dispatchEvent(_local2); } public function get url():String{ return (_url); } public function get setup():Boolean{ return ((limbo) ? false : _setup); } public function unload():void{ clearLoader(); if (_loaded){ dispatchEvent(new ModuleEvent(ModuleEvent.UNLOAD)); }; limbo = null; factoryInfo = null; _loaded = false; _setup = false; _ready = false; _error = false; } } class FactoryInfo { public var bytesTotal:int;// = 0 public var factory:IFlexModuleFactory; public var applicationDomain:ApplicationDomain; private function FactoryInfo(){ bytesTotal = 0; super(); } }
Section 306
//ModuleManagerGlobals (mx.modules.ModuleManagerGlobals) package mx.modules { public class ModuleManagerGlobals { public static var managerSingleton:Object = null; } }//package mx.modules
Section 307
//DownloadProgressBar (mx.preloaders.DownloadProgressBar) package mx.preloaders { import flash.events.*; import flash.system.*; import flash.display.*; import flash.geom.*; import mx.events.*; import flash.text.*; import mx.graphics.*; import flash.net.*; import flash.utils.*; public class DownloadProgressBar extends Sprite implements IPreloaderDisplay { private var _stageHeight:Number;// = 375 private var _percentRect:Rectangle; private var _percentObj:TextField; private var _backgroundSize:String;// = "" private var _showLabel:Boolean;// = true private var _value:Number;// = 0 private var _backgroundAlpha:Number;// = 1 private var _backgroundImage:Object; private var _backgroundColor:uint; protected var DOWNLOAD_PERCENTAGE:uint;// = 60 private var _labelObj:TextField; private var _barFrameSprite:Sprite; private var _maximum:Number;// = 0 private var _startTime:int; private var _preloader:Sprite; private var _displayTime:int; protected var MINIMUM_DISPLAY_TIME:uint;// = 0 private var _stageWidth:Number;// = 500 private var _downloadingLabel:String;// = "Loading" private var _showProgressBar:Boolean;// = true private var _yOffset:Number;// = 20 private var _initProgressCount:uint;// = 0 private var _barSprite:Sprite; private var _visible:Boolean;// = false private var _barRect:RoundedRectangle; private var _showingDisplay:Boolean;// = false private var _initProgressTotal:uint;// = 12 private var _startedInit:Boolean;// = false private var _labelRect:Rectangle; private var _showPercentage:Boolean;// = false private var _startedLoading:Boolean;// = false private var _displayStartCount:uint;// = 0 private var _borderRect:RoundedRectangle; private var _xOffset:Number;// = 20 private var _label:String;// = "" private var _barFrameRect:RoundedRectangle; mx_internal static const VERSION:String = "2.0.1.0"; private static var _initializingLabel:String = "Initializing"; public function DownloadProgressBar(){ MINIMUM_DISPLAY_TIME = 0; DOWNLOAD_PERCENTAGE = 60; _showProgressBar = true; _labelRect = labelRect; _percentRect = percentRect; _borderRect = borderRect; _barFrameRect = barFrameRect; _barRect = barRect; _xOffset = 20; _yOffset = 20; _maximum = 0; _value = 0; _startedLoading = false; _startedInit = false; _showingDisplay = false; _displayStartCount = 0; _initProgressCount = 0; _initProgressTotal = 12; _visible = false; _backgroundAlpha = 1; _backgroundSize = ""; _stageHeight = 375; _stageWidth = 500; _downloadingLabel = "Loading"; _label = ""; _showLabel = true; _showPercentage = false; super(); } private function calcScale():void{ var _local1:Number; if ((((stageWidth < 160)) || ((stageHeight < 120)))){ scaleX = 1; scaleY = 1; } else { if ((((stageWidth < 240)) || ((stageHeight < 150)))){ createChildren(); _local1 = Math.min((stageWidth / 240), (stageHeight / 150)); scaleX = _local1; scaleY = _local1; } else { createChildren(); }; }; } protected function get labelFormat():TextFormat{ var _local1:TextFormat; _local1 = new TextFormat(); _local1.color = 0x333333; _local1.font = "Verdana"; _local1.size = 10; return (_local1); } protected function rslCompleteHandler(_arg1:RSLEvent):void{ label = ((("Loaded library " + _arg1.rslIndex) + " of ") + _arg1.rslTotal); } protected function set showLabel(_arg1:Boolean):void{ _showLabel = _arg1; draw(); } private function calcBackgroundSize():Number{ var _local1:Number; var _local2:int; _local1 = NaN; if (backgroundSize){ _local2 = backgroundSize.indexOf("%"); if (_local2 != -1){ _local1 = Number(backgroundSize.substr(0, _local2)); }; }; return (_local1); } protected function rslErrorHandler(_arg1:RSLEvent):void{ _preloader.removeEventListener(ProgressEvent.PROGRESS, progressHandler); _preloader.removeEventListener(Event.COMPLETE, completeHandler); _preloader.removeEventListener(RSLEvent.RSL_PROGRESS, rslProgressHandler); _preloader.removeEventListener(RSLEvent.RSL_COMPLETE, rslCompleteHandler); _preloader.removeEventListener(RSLEvent.RSL_ERROR, rslErrorHandler); _preloader.removeEventListener(FlexEvent.INIT_PROGRESS, initProgressHandler); _preloader.removeEventListener(FlexEvent.INIT_COMPLETE, initCompleteHandler); if (!_showingDisplay){ show(); _showingDisplay = true; }; label = ((("RSL Error " + (_arg1.rslIndex + 1)) + " of ") + _arg1.rslTotal); } protected function get barFrameRect():RoundedRectangle{ return (new RoundedRectangle(14, 40, 154, 4)); } private function loader_ioErrorHandler(_arg1:IOErrorEvent):void{ } protected function get borderRect():RoundedRectangle{ return (new RoundedRectangle(0, 0, 182, 60, 4)); } protected function showDisplayForDownloading(_arg1:int, _arg2:ProgressEvent):Boolean{ return ((((_arg1 > 700)) && ((_arg2.bytesLoaded < (_arg2.bytesTotal / 2))))); } private function timerHandler(_arg1:Event=null):void{ dispatchEvent(new Event(Event.COMPLETE)); } protected function progressHandler(_arg1:ProgressEvent):void{ var _local2:uint; var _local3:uint; var _local4:int; _local2 = _arg1.bytesLoaded; _local3 = _arg1.bytesTotal; _local4 = (getTimer() - _startTime); if (((_showingDisplay) || (showDisplayForDownloading(_local4, _arg1)))){ if (!_startedLoading){ show(); label = downloadingLabel; _startedLoading = true; }; setProgress(_arg1.bytesLoaded, _arg1.bytesTotal); }; } public function get backgroundSize():String{ return (_backgroundSize); } override public function get visible():Boolean{ return (_visible); } protected function center(_arg1:Number, _arg2:Number):void{ _xOffset = Math.floor(((_arg1 - _borderRect.width) / 2)); _yOffset = Math.floor(((_arg2 - _borderRect.height) / 2)); } protected function get barRect():RoundedRectangle{ return (new RoundedRectangle(14, 39, 154, 6, 0)); } protected function rslProgressHandler(_arg1:RSLEvent):void{ } public function set backgroundSize(_arg1:String):void{ _backgroundSize = _arg1; } private function initCompleteHandler(_arg1:Event):void{ var _local2:int; var _local3:Timer; _local2 = (getTimer() - _displayTime); if (((_showingDisplay) && ((_local2 < MINIMUM_DISPLAY_TIME)))){ _local3 = new Timer((MINIMUM_DISPLAY_TIME - _local2), 1); _local3.addEventListener(TimerEvent.TIMER, timerHandler); _local3.start(); } else { timerHandler(); }; } protected function get percentFormat():TextFormat{ var _local1:TextFormat; _local1 = new TextFormat(); _local1.align = "right"; _local1.color = 0; _local1.font = "Verdana"; _local1.size = 10; return (_local1); } private function calcY(_arg1:Number):Number{ return ((_arg1 + _yOffset)); } protected function setProgress(_arg1:Number, _arg2:Number):void{ if (((((((!(isNaN(_arg1))) && (!(isNaN(_arg2))))) && ((_arg1 >= 0)))) && ((_arg2 > 0)))){ _value = Number(_arg1); _maximum = Number(_arg2); draw(); }; } protected function get downloadingLabel():String{ return (_downloadingLabel); } private function calcX(_arg1:Number):Number{ return ((_arg1 + _xOffset)); } protected function showDisplayForInit(_arg1:int, _arg2:int):Boolean{ return ((((_arg1 > 300)) && ((_arg2 == 2)))); } private function drawProgressBar(_arg1:Number):void{ var _local2:Graphics; var _local3:Array; var _local4:Array; var _local5:Matrix; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; _local2 = _barSprite.graphics; _local2.clear(); _local3 = [0xFFFFFF, 0xFFFFFF]; _local4 = [0, 0xFF]; _local5 = new Matrix(); _local6 = ((_barRect.width * _arg1) / 100); _local7 = (_local6 / 2); _local8 = (_barRect.height - 4); _local9 = calcX(_barRect.x); _local10 = (calcY(_barRect.y) + 2); _local5.createGradientBox(_local7, _local8, 0, _local9, _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.39, 0.85], _local4, _local5); _local2.drawRect(_local9, _local10, _local7, _local8); _local5.createGradientBox(_local7, _local8, 0, (_local9 + _local7), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.85, 1], _local4, _local5); _local2.drawRect((_local9 + _local7), _local10, _local7, _local8); _local7 = (_local6 / 3); _local8 = _barRect.height; _local10 = calcY(_barRect.y); _local11 = ((_local10 + _local8) - 1); _local5.createGradientBox(_local7, _local8, 0, _local9, _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.05, 0.15], _local4, _local5); _local2.drawRect(_local9, _local10, _local7, 1); _local2.drawRect(_local9, _local11, _local7, 1); _local5.createGradientBox(_local7, _local8, 0, (_local9 + _local7), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.15, 0.25], _local4, _local5); _local2.drawRect((_local9 + _local7), _local10, _local7, 1); _local2.drawRect((_local9 + _local7), _local11, _local7, 1); _local5.createGradientBox(_local7, _local8, 0, (_local9 + (_local7 * 2)), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.25, 0.1], _local4, _local5); _local2.drawRect((_local9 + (_local7 * 2)), _local10, _local7, 1); _local2.drawRect((_local9 + (_local7 * 2)), _local11, _local7, 1); _local7 = (_local6 / 3); _local8 = _barRect.height; _local10 = (calcY(_barRect.y) + 1); _local11 = ((calcY(_barRect.y) + _local8) - 2); _local5.createGradientBox(_local7, _local8, 0, _local9, _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.15, 0.3], _local4, _local5); _local2.drawRect(_local9, _local10, _local7, 1); _local2.drawRect(_local9, _local11, _local7, 1); _local5.createGradientBox(_local7, _local8, 0, (_local9 + _local7), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.3, 0.4], _local4, _local5); _local2.drawRect((_local9 + _local7), _local10, _local7, 1); _local2.drawRect((_local9 + _local7), _local11, _local7, 1); _local5.createGradientBox(_local7, _local8, 0, (_local9 + (_local7 * 2)), _local10); _local2.beginGradientFill(GradientType.LINEAR, _local3, [0.4, 0.25], _local4, _local5); _local2.drawRect((_local9 + (_local7 * 2)), _local10, _local7, 1); _local2.drawRect((_local9 + (_local7 * 2)), _local11, _local7, 1); } public function get backgroundImage():Object{ return (_backgroundImage); } public function set stageWidth(_arg1:Number):void{ _stageWidth = _arg1; } public function get backgroundAlpha():Number{ if (!isNaN(_backgroundAlpha)){ return (_backgroundAlpha); }; return (1); } public function set preloader(_arg1:Sprite):void{ _preloader = _arg1; _arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler); _arg1.addEventListener(Event.COMPLETE, completeHandler); _arg1.addEventListener(RSLEvent.RSL_PROGRESS, rslProgressHandler); _arg1.addEventListener(RSLEvent.RSL_COMPLETE, rslCompleteHandler); _arg1.addEventListener(RSLEvent.RSL_ERROR, rslErrorHandler); _arg1.addEventListener(FlexEvent.INIT_PROGRESS, initProgressHandler); _arg1.addEventListener(FlexEvent.INIT_COMPLETE, initCompleteHandler); } public function get backgroundColor():uint{ return (_backgroundColor); } protected function set showPercentage(_arg1:Boolean):void{ _showPercentage = _arg1; draw(); } override public function set visible(_arg1:Boolean):void{ if (((!(_visible)) && (_arg1))){ show(); } else { if (((_visible) && (!(_arg1)))){ hide(); }; }; _visible = _arg1; } protected function get labelRect():Rectangle{ return (new Rectangle(14, 17, 100, 16)); } private function show():void{ _showingDisplay = true; calcScale(); draw(); _displayTime = getTimer(); } protected function createChildren():void{ var _local1:Graphics; var _local2:TextField; var _local3:TextField; var _local4:Graphics; var _local5:Matrix; var _local6:RectangularDropShadow; _local1 = graphics; if (backgroundImage != null){ loadBackgroundImage(backgroundImage); }; _barFrameSprite = new Sprite(); _barSprite = new Sprite(); addChild(_barFrameSprite); addChild(_barSprite); _local1.beginFill(0xCCCCCC, 0.4); _local1.drawRoundRect(calcX(_borderRect.x), calcY(_borderRect.y), _borderRect.width, _borderRect.height, (_borderRect.cornerRadius * 2), (_borderRect.cornerRadius * 2)); _local1.drawRoundRect(calcX((_borderRect.x + 1)), calcY((_borderRect.y + 1)), (_borderRect.width - 2), (_borderRect.height - 2), (_borderRect.cornerRadius - (1 * 2)), (_borderRect.cornerRadius - (1 * 2))); _local1.endFill(); _local1.beginFill(0xCCCCCC, 0.4); _local1.drawRoundRect(calcX((_borderRect.x + 1)), calcY((_borderRect.y + 1)), (_borderRect.width - 2), (_borderRect.height - 2), (_borderRect.cornerRadius - (1 * 2)), (_borderRect.cornerRadius - (1 * 2))); _local1.endFill(); _local4 = _barFrameSprite.graphics; _local5 = new Matrix(); _local5.createGradientBox(_barFrameRect.width, _barFrameRect.height, (Math.PI / 2), calcX(_barFrameRect.x), calcY(_barFrameRect.y)); _local4.beginGradientFill(GradientType.LINEAR, [6054502, 11909306], [1, 1], [0, 0xFF], _local5); _local4.drawRoundRect(calcX(_barFrameRect.x), calcY(_barFrameRect.y), _barFrameRect.width, _barFrameRect.height, (_barFrameRect.cornerRadius * 2), (_barFrameRect.cornerRadius * 2)); _local4.drawRoundRect(calcX((_barFrameRect.x + 1)), calcY((_barFrameRect.y + 1)), (_barFrameRect.width - 2), (_barFrameRect.height - 2), (_barFrameRect.cornerRadius * 2), (_barFrameRect.cornerRadius * 2)); _local4.endFill(); _labelObj = new TextField(); _labelObj.x = calcX(_labelRect.x); _labelObj.y = calcY(_labelRect.y); _labelObj.width = _labelRect.width; _labelObj.height = _labelRect.height; _labelObj.selectable = false; _labelObj.defaultTextFormat = labelFormat; addChild(_labelObj); _percentObj = new TextField(); _percentObj.x = calcX(_percentRect.x); _percentObj.y = calcY(_percentRect.y); _percentObj.width = _percentRect.width; _percentObj.height = _percentRect.height; _percentObj.selectable = false; _percentObj.defaultTextFormat = percentFormat; addChild(_percentObj); _local6 = new RectangularDropShadow(); _local6.color = 0; _local6.angle = 90; _local6.alpha = 0.6; _local6.distance = 2; _local6.tlRadius = (_local6.trRadius = (_local6.blRadius = (_local6.brRadius = _borderRect.cornerRadius))); _local6.drawShadow(_local1, calcX(_borderRect.x), calcY(_borderRect.y), _borderRect.width, _borderRect.height); _local1.lineStyle(1, 0xFFFFFF, 0.3); _local1.moveTo((calcX(_borderRect.x) + _borderRect.cornerRadius), calcY(_borderRect.y)); _local1.lineTo(((calcX(_borderRect.x) - _borderRect.cornerRadius) + _borderRect.width), calcY(_borderRect.y)); } private function loadBackgroundImage(_arg1:Object):void{ var cls:Class; var newStyleObj:DisplayObject; var loader:Loader; var loaderContext:LoaderContext; var classOrString = _arg1; if (((classOrString) && ((classOrString as Class)))){ cls = Class(classOrString); initBackgroundImage(new (cls)); } else { if (((classOrString) && ((classOrString is String)))){ try { cls = Class(getDefinitionByName(String(classOrString))); } catch(e:Error) { }; if (cls){ newStyleObj = new (cls); initBackgroundImage(newStyleObj); } else { loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loader_completeHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loader_ioErrorHandler); loaderContext = new LoaderContext(); loaderContext.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); loader.load(new URLRequest(String(classOrString)), loaderContext); }; }; }; } private function hide():void{ } private function draw():void{ var _local1:Number; if (_startedLoading){ if (!_startedInit){ _local1 = Math.round(((getPercentLoaded(_value, _maximum) * DOWNLOAD_PERCENTAGE) / 100)); } else { _local1 = Math.round((((getPercentLoaded(_value, _maximum) * (100 - DOWNLOAD_PERCENTAGE)) / 100) + DOWNLOAD_PERCENTAGE)); }; } else { _local1 = getPercentLoaded(_value, _maximum); }; if (_labelObj){ _labelObj.text = _label; }; if (_percentObj){ if (!_showPercentage){ _percentObj.visible = false; _percentObj.text = ""; } else { _percentObj.text = (String(_local1) + "%"); }; }; if (((_barSprite) && (_barFrameSprite))){ if (!_showProgressBar){ _barSprite.visible = false; _barFrameSprite.visible = false; } else { drawProgressBar(_local1); }; }; } protected function initProgressHandler(_arg1:Event):void{ var _local2:int; var _local3:Number; _local2 = (getTimer() - _startTime); _initProgressCount++; if (((!(_showingDisplay)) && (showDisplayForInit(_local2, _initProgressCount)))){ _displayStartCount = _initProgressCount; show(); } else { if (_showingDisplay){ if (!_startedInit){ _startedInit = true; label = initializingLabel; }; _local3 = ((100 * _initProgressCount) / (_initProgressTotal - _displayStartCount)); setProgress(_local3, 100); }; }; } protected function get label():String{ return (_label); } protected function getPercentLoaded(_arg1:Number, _arg2:Number):Number{ var _local3:Number; if ((((((((_arg1 == 0)) || ((_arg2 == 0)))) || (isNaN(_arg2)))) || (isNaN(_arg1)))){ return (0); }; _local3 = ((100 * _arg1) / _arg2); if (((isNaN(_local3)) || ((_local3 <= 0)))){ return (0); }; if (_local3 > 99){ return (99); }; return (Math.round(_local3)); } protected function set downloadingLabel(_arg1:String):void{ _downloadingLabel = _arg1; } public function get stageWidth():Number{ return (_stageWidth); } public function set stageHeight(_arg1:Number):void{ _stageHeight = _arg1; } protected function get showPercentage():Boolean{ return (_showPercentage); } public function initialize():void{ _startTime = getTimer(); center(stageWidth, stageHeight); } private function initBackgroundImage(_arg1:DisplayObject):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; addChildAt(_arg1, 0); _local2 = _arg1.width; _local3 = _arg1.height; _local4 = calcBackgroundSize(); if (isNaN(_local4)){ _local7 = 1; _local8 = 1; } else { _local9 = (_local4 * 0.01); _local7 = ((_local9 * stageWidth) / _local2); _local8 = ((_local9 * stageHeight) / _local3); }; _arg1.scaleX = _local7; _arg1.scaleY = _local8; _local5 = Math.round((0.5 * (stageWidth - (_local2 * _local7)))); _local6 = Math.round((0.5 * (stageHeight - (_local3 * _local8)))); _arg1.x = _local5; _arg1.y = _local6; if (!isNaN(backgroundAlpha)){ _arg1.alpha = backgroundAlpha; }; } public function set backgroundImage(_arg1:Object):void{ _backgroundImage = _arg1; } public function set backgroundAlpha(_arg1:Number):void{ _backgroundAlpha = _arg1; } public function set backgroundColor(_arg1:uint):void{ _backgroundColor = _arg1; } private function loader_completeHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(LoaderInfo(_arg1.target).loader); initBackgroundImage(_local2); } public function get stageHeight():Number{ return (_stageHeight); } protected function get percentRect():Rectangle{ return (new Rectangle(108, 4, 34, 16)); } protected function completeHandler(_arg1:Event):void{ } protected function set label(_arg1:String):void{ if (!(_arg1 is Function)){ _label = _arg1; }; draw(); } protected function get showLabel():Boolean{ return (_showLabel); } public static function get initializingLabel():String{ return (_initializingLabel); } public static function set initializingLabel(_arg1:String):void{ _initializingLabel = _arg1; } } }//package mx.preloaders
Section 308
//IPreloaderDisplay (mx.preloaders.IPreloaderDisplay) package mx.preloaders { import flash.events.*; import flash.display.*; public interface IPreloaderDisplay extends IEventDispatcher { function get stageHeight():Number; function set backgroundAlpha(_arg1:Number):void; function get stageWidth():Number; function set backgroundColor(_arg1:uint):void; function set preloader(_arg1:Sprite):void; function get backgroundAlpha():Number; function get backgroundColor():uint; function get backgroundSize():String; function set stageWidth(_arg1:Number):void; function set stageHeight(_arg1:Number):void; function set backgroundImage(_arg1:Object):void; function get backgroundImage():Object; function set backgroundSize(_arg1:String):void; function initialize():void; } }//package mx.preloaders
Section 309
//Preloader (mx.preloaders.Preloader) package mx.preloaders { import flash.events.*; import flash.system.*; import flash.display.*; import mx.events.*; import flash.net.*; import flash.utils.*; public class Preloader extends Sprite { private var showDisplay:Boolean; private var timer:Timer; private var rslIndex:int;// = 0 private var rslDone:Boolean;// = false private var rslLibs:Array; private var displayClass:IPreloaderDisplay;// = null mx_internal static const VERSION:String = "2.0.1.0"; public function Preloader(){ displayClass = null; rslIndex = 0; rslDone = false; super(); } mx_internal function rslCompleteHandler(_arg1:Event, _arg2:RSLNode):void{ var _local3:RSLEvent; _local3 = new RSLEvent(RSLEvent.RSL_COMPLETE); _local3.bytesLoaded = _arg2.total; _local3.bytesTotal = _arg2.total; _local3.rslIndex = _arg2.index; _local3.rslTotal = rslLibs.length; _local3.url = _arg2.url; dispatchEvent(_local3); loadRSL(++rslIndex); } private function appProgressHandler(_arg1:Event):void{ dispatchEvent(new FlexEvent(FlexEvent.INIT_PROGRESS)); } mx_internal function rslErrorHandler(_arg1:ErrorEvent, _arg2:RSLNode):void{ var _local3:RSLEvent; _local3 = new RSLEvent(RSLEvent.RSL_ERROR); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.rslIndex = _arg2.index; _local3.rslTotal = rslLibs.length; _local3.url = _arg2.url; _local3.errorText = _arg1.text; dispatchEvent(_local3); } private function displayClassCompleteHandler(_arg1:Event):void{ dispatchEvent(new FlexEvent(FlexEvent.PRELOADER_DONE)); } private function timerHandler(_arg1:TimerEvent):void{ var _local2:Object; var _local3:int; var _local4:int; if (!root){ return; }; _local2 = getByteValues(); _local3 = _local2.loaded; _local4 = _local2.total; dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, _local3, _local4)); if (((rslDone) && ((((((((_local3 >= _local4)) && ((_local4 > 0)))) || ((((_local4 == 0)) && ((_local3 > 0)))))) || ((((((root is MovieClip)) && ((MovieClip(root).totalFrames > 2)))) && ((MovieClip(root).framesLoaded >= 2)))))))){ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.reset(); dispatchEvent(new Event(Event.COMPLETE)); dispatchEvent(new FlexEvent(FlexEvent.INIT_PROGRESS)); }; } private function getByteValues():Object{ var _local1:LoaderInfo; var _local2:int; var _local3:int; var _local4:int; var _local5:int; _local1 = root.loaderInfo; _local2 = _local1.bytesLoaded; _local3 = _local1.bytesTotal; _local4 = (rslLibs) ? rslLibs.length : 0; _local5 = 0; while (_local5 < _local4) { _local2 = (_local2 + rslLibs[_local5].loaded); _local3 = (_local3 + rslLibs[_local5].total); _local5++; }; return ({loaded:_local2, total:_local3}); } private function ioErrorHandler(_arg1:IOErrorEvent):void{ } public function initialize(_arg1:Boolean, _arg2:Class, _arg3:uint, _arg4:Number, _arg5:Object, _arg6:String, _arg7:Number, _arg8:Number, _arg9:Array=null, _arg10:Array=null):void{ var _local11:int; var _local12:int; var _local13:URLRequest; var _local14:int; var _local15:RSLNode; root.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); if (((_arg9) && ((_arg9.length > 0)))){ rslLibs = []; _local11 = _arg9.length; _local12 = 0; while (_local12 < _local11) { _local13 = new URLRequest(_arg9[_local12]); _local14 = 0; if (((_arg10) && ((_arg10.length == _arg9.length)))){ _local14 = _arg10[_local12]; }; _local15 = new RSLNode(_local13, _local12, _local14, this); rslLibs.push(_local15); _local12++; }; loadRSL(0); } else { rslDone = true; }; this.showDisplay = _arg1; timer = new Timer(10); timer.addEventListener(TimerEvent.TIMER, timerHandler); timer.start(); if (_arg1){ displayClass = new (_arg2); displayClass.addEventListener(Event.COMPLETE, displayClassCompleteHandler); addChild(DisplayObject(displayClass)); displayClass.backgroundColor = _arg3; displayClass.backgroundAlpha = _arg4; displayClass.backgroundImage = _arg5; displayClass.backgroundSize = _arg6; displayClass.stageWidth = _arg7; displayClass.stageHeight = _arg8; displayClass.initialize(); displayClass.preloader = this; }; } private function appCreationCompleteHandler(_arg1:FlexEvent):void{ dispatchAppEndEvent(); } mx_internal function rslProgressHandler(_arg1:ProgressEvent, _arg2:RSLNode):void{ var _local3:RSLEvent; _local3 = new RSLEvent(RSLEvent.RSL_PROGRESS); _local3.bytesLoaded = _arg1.bytesLoaded; _local3.bytesTotal = _arg1.bytesTotal; _local3.rslIndex = _arg2.index; _local3.rslTotal = rslLibs.length; _local3.url = _arg2.url; dispatchEvent(_local3); } private function loadRSL(_arg1:int):void{ var _local2:RSLNode; var _local3:Loader; var _local4:LoaderContext; if (_arg1 < rslLibs.length){ _local2 = rslLibs[_arg1]; _local3 = new Loader(); _local3.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, _local2.progressHandler); _local3.contentLoaderInfo.addEventListener(Event.COMPLETE, _local2.completeHandler); _local3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _local2.errorHandler); _local3.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, _local2.errorHandler); _local4 = new LoaderContext(); _local4.applicationDomain = ApplicationDomain.currentDomain; _local3.load(_local2.url, _local4); } else { rslDone = true; }; } public function registerApplication(_arg1:IEventDispatcher):void{ _arg1.addEventListener("validatePropertiesComplete", appProgressHandler); _arg1.addEventListener("validateSizeComplete", appProgressHandler); _arg1.addEventListener("validateDisplayListComplete", appProgressHandler); _arg1.addEventListener(FlexEvent.CREATION_COMPLETE, appCreationCompleteHandler); } private function dispatchAppEndEvent(_arg1:Object=null):void{ dispatchEvent(new FlexEvent(FlexEvent.INIT_COMPLETE)); if (!showDisplay){ displayClassCompleteHandler(null); }; } } }//package mx.preloaders import flash.events.*; import mx.core.*; import flash.net.*; class RSLNode { public var completed:Boolean;// = false public var loaded:uint;// = 0 public var total:uint;// = 0 public var index:int; public var errorText:String; public var url:URLRequest; public var owner:Preloader; private function RSLNode(_arg1:URLRequest, _arg2:int, _arg3:int, _arg4:Preloader){ total = 0; loaded = 0; completed = false; super(); this.url = _arg1; this.index = _arg2; this.total = _arg3; this.owner = _arg4; } public function errorHandler(_arg1:ErrorEvent):void{ errorText = _arg1.text; completed = true; loaded = 0; total = 0; var _local2 = owner; _local2.mx_internal::rslErrorHandler(_arg1, this); } public function progressHandler(_arg1:ProgressEvent):void{ loaded = _arg1.bytesLoaded; total = _arg1.bytesTotal; var _local2 = owner; _local2.mx_internal::rslProgressHandler(_arg1, this); } public function completeHandler(_arg1:Event):void{ completed = true; var _local2 = owner; _local2.mx_internal::rslCompleteHandler(_arg1, this); } }
Section 310
//ResourceBundle (mx.resources.ResourceBundle) package mx.resources { import flash.system.*; import mx.utils.*; public class ResourceBundle { private var content:Object; private var bundleName:String; mx_internal static const VERSION:String = "2.0.1.0"; protected function getContent():Object{ return (null); } public function getStringArray(_arg1:String):Array{ var _local2:Array; var _local3:int; var _local4:int; _local2 = getObject(_arg1).split(","); _local3 = _local2.length; _local4 = 0; while (_local4 < _local3) { _local2[_local4] = StringUtil.trim(_local2[_local4]); _local4++; }; return (_local2); } public function getString(_arg1:String):String{ return (String(getObject(_arg1))); } private function initialize(_arg1:String):void{ bundleName = _arg1; content = getContent(); if (!content){ throw (new Error(("No content found in resource bundle " + bundleName))); }; } public function getObject(_arg1:String):Object{ var _local2:Object; _local2 = content[_arg1]; if (!_local2){ throw (new Error(((("Key " + _arg1) + " was not found in resource bundle ") + bundleName))); }; return (_local2); } public function getBoolean(_arg1:String, _arg2:Boolean=true):Boolean{ var _local3:String; _local3 = getObject(_arg1).toLowerCase(); if (_local3 == "false"){ return (false); }; if (_local3 == "true"){ return (true); }; return (_arg2); } public function getNumber(_arg1:String):Number{ return (Number(getObject(_arg1))); } private static function getDefinitionByName(_arg1:String, _arg2:ApplicationDomain):Object{ var _local3:Object; if (_arg2.hasDefinition(_arg1)){ _local3 = _arg2.getDefinition(_arg1); }; return (_local3); } public static function getResourceBundle(_arg1:String, _arg2:ApplicationDomain=null):ResourceBundle{ var _local3:Class; var _local4:Object; var _local5:ResourceBundle; if (_arg2 == null){ _arg2 = ApplicationDomain.currentDomain; }; _local3 = Class(getDefinitionByName((_arg1 + "_properties"), _arg2)); if (!_local3){ _local3 = Class(getDefinitionByName(String(_arg1), _arg2)); }; if (_local3){ _local4 = new (_local3); if ((_local4 is _slot1)){ _local5 = ResourceBundle(_local4); _local5.initialize(String(_arg1)); return (_local5); }; }; throw (new Error(("Could not find resource bundle " + _arg1))); } } }//package mx.resources
Section 311
//IResponder (mx.rpc.IResponder) package mx.rpc { public interface IResponder { function fault(_arg1:Object):void; function result(_arg1:Object):void; } }//package mx.rpc
Section 312
//HaloBorder (mx.skins.halo.HaloBorder) package mx.skins.halo { import mx.core.*; import mx.styles.*; import flash.display.*; import mx.graphics.*; import mx.skins.*; import mx.utils.*; public class HaloBorder extends RectangularBorder { private var _borderMetrics:EdgeMetrics; private var dropShadow:RectangularDropShadow; mx_internal static const VERSION:String = "2.0.1.0"; private static var BORDER_WIDTHS:Object = {none:0, solid:1, inset:2, outset:2, alert:3, dropdown:2, menuBorder:1, comboNonEdit:2}; public function HaloBorder(){ BORDER_WIDTHS["default"] = 3; } override public function get borderMetrics():EdgeMetrics{ var _local1:Number; var _local2:String; var _local3:String; if (_borderMetrics){ return (_borderMetrics); }; _local2 = getStyle("borderStyle"); if ((((_local2 == "default")) || ((_local2 == "alert")))){ _borderMetrics = new EdgeMetrics(0, 0, 0, 0); } else { if ((((_local2 == "controlBar")) || ((_local2 == "applicationControlBar")))){ _borderMetrics = new EdgeMetrics(1, 1, 1, 1); } else { if (_local2 == "solid"){ _local1 = getStyle("borderThickness"); if (isNaN(_local1)){ _local1 = 0; }; _borderMetrics = new EdgeMetrics(_local1, _local1, _local1, _local1); _local3 = getStyle("borderSides"); if (_local3 != "left top right bottom"){ if (_local3.indexOf("left") == -1){ _borderMetrics.left = 0; }; if (_local3.indexOf("top") == -1){ _borderMetrics.top = 0; }; if (_local3.indexOf("right") == -1){ _borderMetrics.right = 0; }; if (_local3.indexOf("bottom") == -1){ _borderMetrics.bottom = 0; }; }; } else { _local1 = BORDER_WIDTHS[_local2]; if (isNaN(_local1)){ _local1 = 0; }; _borderMetrics = new EdgeMetrics(_local1, _local1, _local1, _local1); }; }; }; return (_borderMetrics); } private function drawDropShadow(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{ var _local9:Number; var _local10:String; var _local11:Number; var _local12:Boolean; if ((((((((getStyle("dropShadowEnabled") == false)) || ((getStyle("dropShadowEnabled") == "false")))) || ((_arg3 == 0)))) || ((_arg4 == 0)))){ return; }; _local9 = getStyle("shadowDistance"); _local10 = getStyle("shadowDirection"); if (getStyle("borderStyle") == "applicationControlBar"){ _local12 = getStyle("docked"); _local11 = (_local12) ? 90 : getDropShadowAngle(_local9, _local10); _local9 = Math.abs(_local9); } else { _local11 = getDropShadowAngle(_local9, _local10); _local9 = (Math.abs(_local9) + 2); }; if (!dropShadow){ dropShadow = new RectangularDropShadow(); }; dropShadow.distance = _local9; dropShadow.angle = _local11; dropShadow.color = getStyle("dropShadowColor"); dropShadow.alpha = 0.4; dropShadow.tlRadius = _arg5; dropShadow.trRadius = _arg6; dropShadow.blRadius = _arg8; dropShadow.brRadius = _arg7; dropShadow.drawShadow(graphics, _arg1, _arg2, _arg3, _arg4); } private function draw3dBorder(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ var _local7:Number; var _local8:Number; var _local9:Graphics; _local7 = width; _local8 = height; drawDropShadow(0, 0, width, height, 0, 0, 0, 0); _local9 = graphics; _local9.beginFill(_arg1); _local9.drawRect(0, 0, _local7, _local8); _local9.drawRect(1, 0, (_local7 - 2), _local8); _local9.endFill(); _local9.beginFill(_arg2); _local9.drawRect(1, 0, (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg3); _local9.drawRect(1, (_local8 - 1), (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg4); _local9.drawRect(1, 1, (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg5); _local9.drawRect(1, (_local8 - 2), (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg6); _local9.drawRect(1, 2, (_local7 - 2), (_local8 - 4)); _local9.drawRect(2, 2, (_local7 - 4), (_local8 - 4)); _local9.endFill(); } private function getBackgroundColor():Object{ var _local1:IUIComponent; var _local2:Object; _local1 = (parent as IUIComponent); if (((_local1) && (!(_local1.enabled)))){ _local2 = getStyle("backgroundDisabledColor"); if (_local2){ return (_local2); }; }; return (getStyle("backgroundColor")); } override public function styleChanged(_arg1:String):void{ if ((((((((((_arg1 == null)) || ((_arg1 == "styleName")))) || ((_arg1 == "borderStyle")))) || ((_arg1 == "borderThickness")))) || ((_arg1 == "borderSides")))){ _borderMetrics = null; }; invalidateDisplayList(); } private function getDropShadowAngle(_arg1:Number, _arg2:String):Number{ if (_arg2 == "left"){ return (((_arg1 >= 0)) ? 135 : 225); //unresolved jump }; if (_arg2 == "right"){ return (((_arg1 >= 0)) ? 45 : 315); //unresolved jump }; return (((_arg1 >= 0)) ? 90 : 270); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:String; var _local4:Object; var _local5:Array; var _local6:Number; var _local7:String; var _local8:Object; var _local9:uint; var _local10:uint; var _local11:String; var _local12:Number; var _local13:uint; var _local14:Boolean; var _local15:uint; var _local16:Array; var _local17:Array; var _local18:uint; var _local19:uint; var _local20:uint; var _local21:uint; var _local22:Boolean; var _local23:Number; var _local24:Object; var _local25:Boolean; var _local26:Object; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Object; var _local31:Graphics; var _local32:Number; var _local33:Number; var _local34:Container; var _local35:EdgeMetrics; var _local36:Boolean; var _local37:Number; var _local38:Array; var _local39:uint; var _local40:Boolean; var _local41:Number; var _local42:Number; var _local43:Number; var _local44:EdgeMetrics; var _local45:Number; var _local46:Number; if (((isNaN(_arg1)) || (isNaN(_arg2)))){ return; }; super.updateDisplayList(_arg1, _arg2); _local3 = getStyle("borderStyle"); _local4 = getBackgroundColor(); _local5 = getStyle("highlightAlphas"); _local7 = "backgroundAlpha"; _local23 = 0; _local24 = null; _local25 = false; _local31 = graphics; _local31.clear(); if (_local3){ switch (_local3){ case "none": break; case "inset": _local10 = getStyle("borderColor"); _local27 = ColorUtil.adjustBrightness2(_local10, -40); _local28 = ColorUtil.adjustBrightness2(_local10, 25); _local29 = ColorUtil.adjustBrightness2(_local10, 40); _local30 = _local4; if ((((_local30 === null)) || ((_local30 === "")))){ _local30 = _local10; }; draw3dBorder(_local28, _local27, _local29, Number(_local30), Number(_local30), Number(_local30)); break; case "outset": _local10 = getStyle("borderColor"); _local27 = ColorUtil.adjustBrightness2(_local10, -40); _local28 = ColorUtil.adjustBrightness2(_local10, -25); _local29 = ColorUtil.adjustBrightness2(_local10, 40); _local30 = _local4; if ((((_local30 === null)) || ((_local30 === "")))){ _local30 = _local10; }; draw3dBorder(_local28, _local29, _local27, Number(_local30), Number(_local30), Number(_local30)); break; case "alert": case "default": _local32 = getStyle("backgroundAlpha"); _local6 = getStyle("borderAlpha"); _local7 = "borderAlpha"; _local23 = getStyle("cornerRadius"); _local25 = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local33 = (_local25) ? _local23 : 0; drawDropShadow(0, 0, _arg1, _arg2, _local23, _local23, _local33, _local33); if (!_local25){ _local24 = {}; }; _local34 = (parent as Container); if (_local34){ _local35 = _local34.viewMetrics; _local8 = {x:_local35.left, y:_local35.top, w:Math.max(0, ((_arg1 - _local35.left) - _local35.right)), h:Math.max(0, ((_arg2 - _local35.top) - _local35.bottom)), r:0}; if ((((_local8.w > 0)) && ((_local8.h > 0)))){ if (_local32 != _local6){ drawDropShadow(_local8.x, _local8.y, _local8.w, _local8.h, 0, 0, 0, 0); }; _local31.beginFill(Number(_local4), _local32); _local31.drawRect(_local8.x, _local8.y, _local8.w, _local8.h); _local31.endFill(); }; }; _local4 = getStyle("borderColor"); break; case "dropdown": _local15 = getStyle("dropdownBorderColor"); drawDropShadow(0, 0, _arg1, _arg2, 4, 0, 0, 4); drawRoundRect(0, 0, _arg1, _arg2, {tl:4, tr:0, br:0, bl:4}, 5068126, 1); drawRoundRect(0, 0, _arg1, _arg2, {tl:4, tr:0, br:0, bl:4}, [0xFFFFFF, 0xFFFFFF], [0.7, 0], verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 1, (_arg1 - 1), (_arg2 - 2), {tl:3, tr:0, br:0, bl:3}, 0xFFFFFF, 1); drawRoundRect(1, 2, (_arg1 - 1), (_arg2 - 3), {tl:3, tr:0, br:0, bl:3}, [0xEEEEEE, 0xFFFFFF], 1, verticalGradientMatrix(0, 0, (_arg1 - 1), (_arg2 - 3))); if (!isNaN(_local15)){ drawRoundRect(0, 0, (_arg1 + 1), _arg2, {tl:4, tr:0, br:0, bl:4}, _local15, 0.5); drawRoundRect(1, 1, (_arg1 - 1), (_arg2 - 2), {tl:3, tr:0, br:0, bl:3}, 0xFFFFFF, 1); drawRoundRect(1, 2, (_arg1 - 1), (_arg2 - 3), {tl:3, tr:0, br:0, bl:3}, [0xEEEEEE, 0xFFFFFF], 1, verticalGradientMatrix(0, 0, (_arg1 - 1), (_arg2 - 3))); }; _local4 = null; break; case "menuBorder": _local10 = getStyle("borderColor"); drawRoundRect(0, 0, _arg1, _arg2, 0, _local10, 1); drawDropShadow(1, 1, (_arg1 - 2), (_arg2 - 2), 0, 0, 0, 0); break; case "comboNonEdit": break; case "controlBar": if ((((_arg1 == 0)) || ((_arg2 == 0)))){ _local4 = null; break; }; _local17 = getStyle("footerColors"); _local36 = !((_local17 == null)); _local37 = getStyle("borderAlpha"); if (_local36){ _local31.lineStyle(0, ((_local17.length > 0)) ? _local17[1] : _local17[0], _local37); _local31.moveTo(0, 0); _local31.lineTo(_arg1, 0); _local31.lineStyle(0, 0, 0); if (((((parent) && (parent.parent))) && ((parent.parent is IStyleClient)))){ _local23 = IStyleClient(parent.parent).getStyle("cornerRadius"); _local37 = IStyleClient(parent.parent).getStyle("borderAlpha"); }; if (isNaN(_local23)){ _local23 = 0; }; if (IStyleClient(parent.parent).getStyle("roundedBottomCorners").toString().toLowerCase() != "true"){ _local23 = 0; }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:_local23, br:_local23}, _local17, _local37, verticalGradientMatrix(0, 0, _arg1, _arg2)); if ((((_local17.length > 1)) && (!((_local17[0] == _local17[1]))))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:_local23, br:_local23}, [0xFFFFFF, 0xFFFFFF], _local5, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 2, (_arg1 - 2), (_arg2 - 3), {tl:0, tr:0, bl:(_local23 - 1), br:(_local23 - 1)}, _local17, _local37, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; }; _local4 = null; break; case "applicationControlBar": _local16 = getStyle("fillColors"); _local6 = getStyle("backgroundAlpha"); _local5 = getStyle("highlightAlphas"); _local38 = getStyle("fillAlphas"); _local14 = getStyle("docked"); _local39 = uint(_local4); _local23 = getStyle("cornerRadius"); if (!_local23){ _local23 = 0; }; drawDropShadow(0, 1, _arg1, (_arg2 - 1), _local23, _local23, _local23, _local23); if (_local4){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), _local23, _local39, _local6, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), _local23, _local16, _local38, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(0, 1, _arg1, ((_arg2 / 2) - 1), {tl:_local23, tr:_local23, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local5, verticalGradientMatrix(0, 0, _arg1, ((_arg2 / 2) - 1))); drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:_local23, tr:_local23, bl:0, br:0}, 0xFFFFFF, 0.3, null, GradientType.LINEAR, null, {x:0, y:2, w:_arg1, h:(_arg2 - 2), r:{tl:_local23, tr:_local23, bl:0, br:0}}); _local4 = null; break; default: _local10 = getStyle("borderColor"); _local12 = getStyle("borderThickness"); _local11 = getStyle("borderSides"); _local40 = true; _local23 = getStyle("cornerRadius"); _local25 = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local41 = Math.max((_local23 - _local12), 0); _local26 = {x:_local12, y:_local12, w:(_arg1 - (_local12 * 2)), h:(_arg2 - (_local12 * 2)), r:_local41}; if (!_local25){ _local24 = {tl:_local23, tr:_local23, bl:0, br:0}; _local26.r = {tl:_local41, tr:_local41, bl:0, br:0}; }; if (_local11 != "left top right bottom"){ _local26.r = {tl:_local41, tr:_local41, bl:(_local25) ? _local41 : 0, br:(_local25) ? _local41 : 0}; _local24 = {tl:_local23, tr:_local23, bl:(_local25) ? _local23 : 0, br:(_local25) ? _local23 : 0}; _local11 = _local11.toLowerCase(); if (_local11.indexOf("left") == -1){ _local26.x = 0; _local26.w = (_local26.w + _local12); _local26.r.tl = 0; _local26.r.bl = 0; _local24.tl = 0; _local24.bl = 0; _local40 = false; }; if (_local11.indexOf("top") == -1){ _local26.y = 0; _local26.h = (_local26.h + _local12); _local26.r.tl = 0; _local26.r.tr = 0; _local24.tl = 0; _local24.tr = 0; _local40 = false; }; if (_local11.indexOf("right") == -1){ _local26.w = (_local26.w + _local12); _local26.r.tr = 0; _local26.r.br = 0; _local24.tr = 0; _local24.br = 0; _local40 = false; }; if (_local11.indexOf("bottom") == -1){ _local26.h = (_local26.h + _local12); _local26.r.bl = 0; _local26.r.br = 0; _local24.bl = 0; _local24.br = 0; _local40 = false; }; }; if ((((_local23 == 0)) && (_local40))){ drawDropShadow(0, 0, _arg1, _arg2, 0, 0, 0, 0); _local31.beginFill(_local10); _local31.drawRect(0, 0, _arg1, _arg2); _local31.drawRect(_local12, _local12, (_arg1 - (2 * _local12)), (_arg2 - (2 * _local12))); _local31.endFill(); } else { if (_local24){ drawDropShadow(0, 0, _arg1, _arg2, _local24.tl, _local24.tr, _local24.br, _local24.bl); drawRoundRect(0, 0, _arg1, _arg2, _local24, _local10, 1, null, null, null, _local26); _local24.tl = Math.max((_local23 - _local12), 0); _local24.tr = Math.max((_local23 - _local12), 0); _local24.bl = (_local25) ? Math.max((_local23 - _local12), 0) : 0; _local24.br = (_local25) ? Math.max((_local23 - _local12), 0) : 0; } else { drawDropShadow(0, 0, _arg1, _arg2, _local23, _local23, _local23, _local23); drawRoundRect(0, 0, _arg1, _arg2, _local23, _local10, 1, null, null, null, _local26); _local23 = Math.max((getStyle("cornerRadius") - _local12), 0); }; }; }; }; if (((((((!((_local4 === null))) && (!((_local4 === ""))))) || (getStyle("mouseShield")))) || (getStyle("mouseShieldChildren")))){ _local42 = Number(_local4); _local43 = 1; _local44 = borderMetrics; if (((((isNaN(_local42)) || ((_local4 === "")))) || ((_local4 === null)))){ _local43 = 0; _local42 = 0xFFFFFF; } else { _local43 = getStyle(_local7); }; if (((!((_local23 == 0))) || (_local8))){ _local45 = _local44.bottom; if (_local24){ _local46 = (_local25) ? _local23 : 0; _local24 = {tl:_local23, tr:_local23, bl:_local46, br:_local46}; drawRoundRect(_local44.left, _local44.top, (width - (_local44.left + _local44.right)), (height - (_local44.top + _local45)), _local24, _local42, _local43, null, GradientType.LINEAR, null, _local8); } else { drawRoundRect(_local44.left, _local44.top, (width - (_local44.left + _local44.right)), (height - (_local44.top + _local45)), _local23, _local42, _local43, null, GradientType.LINEAR, null, _local8); }; } else { _local31.beginFill(_local42, _local43); _local31.drawRect(_local44.left, _local44.top, ((_arg1 - _local44.right) - _local44.left), ((_arg2 - _local44.bottom) - _local44.top)); _local31.endFill(); }; }; } } }//package mx.skins.halo
Section 313
//HaloFocusRect (mx.skins.halo.HaloFocusRect) package mx.skins.halo { import mx.styles.*; import flash.display.*; import mx.skins.*; import mx.utils.*; public class HaloFocusRect extends ProgrammaticSkin implements IStyleClient { private var _focusColor:Number; mx_internal static const VERSION:String = "2.0.1.0"; public function get styleDeclaration():CSSStyleDeclaration{ return (CSSStyleDeclaration(styleName)); } public function set styleDeclaration(_arg1:CSSStyleDeclaration):void{ } public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ } public function regenerateStyleCache(_arg1:Boolean):void{ } public function get className():String{ return ("HaloFocusRect"); } public function clearStyle(_arg1:String):void{ if (_arg1 == "focusColor"){ _focusColor = NaN; }; } public function setStyle(_arg1:String, _arg2):void{ if (_arg1 == "focusColor"){ _focusColor = _arg2; }; } public function set nonInheritingStyles(_arg1:Object):void{ } public function set inheritingStyles(_arg1:Object):void{ } public function get nonInheritingStyles():Object{ return (styleName.nonInheritingStyles); } public function get inheritingStyles():Object{ return (styleName.inheritingStyles); } public function registerEffects(_arg1:Array):void{ } public function getClassStyleDeclarations():Array{ return ([]); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local3:String; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:String; var _local9:Number; var _local10:Number; var _local11:Graphics; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; super.updateDisplayList(_arg1, _arg2); _local3 = getStyle("focusBlendMode"); _local4 = getStyle("focusAlpha"); _local5 = getStyle("focusColor"); _local6 = getStyle("cornerRadius"); _local7 = getStyle("focusThickness"); _local8 = getStyle("focusRoundedCorners"); _local9 = getStyle("themeColor"); _local10 = _local5; if (!_local10){ _local10 = _local9; }; _local11 = graphics; _local11.clear(); blendMode = _local3; if (((!((_local8 == "tl tr bl br"))) && ((_local6 > 0)))){ _local12 = 0; _local13 = 0; _local14 = 0; _local15 = 0; _local16 = (_local6 + _local7); if (_local8.indexOf("tl") >= 0){ _local12 = _local16; }; if (_local8.indexOf("tr") >= 0){ _local14 = _local16; }; if (_local8.indexOf("bl") >= 0){ _local13 = _local16; }; if (_local8.indexOf("br") >= 0){ _local15 = _local16; }; _local11.beginFill(_local10, _local4); GraphicsUtil.drawRoundRectComplex(_local11, 0, 0, _arg1, _arg2, _local12, _local14, _local13, _local15); _local12 = (_local12) ? _local6 : 0; _local14 = (_local14) ? _local6 : 0; _local13 = (_local13) ? _local6 : 0; _local15 = (_local15) ? _local6 : 0; GraphicsUtil.drawRoundRectComplex(_local11, _local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local12, _local14, _local13, _local15); _local11.endFill(); _local16 = (_local6 + (_local7 / 2)); _local12 = (_local12) ? _local16 : 0; _local14 = (_local14) ? _local16 : 0; _local13 = (_local13) ? _local16 : 0; _local15 = (_local15) ? _local16 : 0; _local11.beginFill(_local10, _local4); GraphicsUtil.drawRoundRectComplex(_local11, (_local7 / 2), (_local7 / 2), (_arg1 - _local7), (_arg2 - _local7), _local12, _local14, _local13, _local15); _local12 = (_local12) ? _local6 : 0; _local14 = (_local14) ? _local6 : 0; _local13 = (_local13) ? _local6 : 0; _local15 = (_local15) ? _local6 : 0; GraphicsUtil.drawRoundRectComplex(_local11, _local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local12, _local14, _local13, _local15); _local11.endFill(); } else { _local11.beginFill(_local10, _local4); _local17 = (((_local6 > 0)) ? (_local6 + _local7) : 0 * 2); _local11.drawRoundRect(0, 0, _arg1, _arg2, _local17, _local17); _local17 = (_local6 * 2); _local11.drawRoundRect(_local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local17, _local17); _local11.endFill(); _local11.beginFill(_local10, _local4); _local17 = (((_local6 > 0)) ? (_local6 + (_local7 / 2)) : 0 * 2); _local11.drawRoundRect((_local7 / 2), (_local7 / 2), (_arg1 - _local7), (_arg2 - _local7), _local17, _local17); _local17 = (_local6 * 2); _local11.drawRoundRect(_local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local17, _local17); _local11.endFill(); }; } override public function getStyle(_arg1:String){ return (((_arg1 == "focusColor")) ? _focusColor : super.getStyle(_arg1)); } } }//package mx.skins.halo
Section 314
//Border (mx.skins.Border) package mx.skins { import mx.core.*; public class Border extends ProgrammaticSkin { mx_internal static const VERSION:String = "2.0.1.0"; public function get borderMetrics():EdgeMetrics{ return (EdgeMetrics.EMPTY); } } }//package mx.skins
Section 315
//ProgrammaticSkin (mx.skins.ProgrammaticSkin) package mx.skins { import mx.core.*; import mx.styles.*; import flash.display.*; import flash.geom.*; import mx.managers.*; import mx.utils.*; public class ProgrammaticSkin extends FlexShape implements IFlexDisplayObject, IInvalidating, ILayoutManagerClient, ISimpleStyleClient { private var _initialized:Boolean;// = false private var invalidateDisplayListFlag:Boolean;// = false private var _height:Number; private var _styleName:IStyleClient; private var _processedDescriptors:Boolean;// = false private var _updateCompletePendingFlag:Boolean;// = true private var _width:Number; private var _nestLevel:int;// = 0 mx_internal static const VERSION:String = "2.0.1.0"; private static var tempMatrix:Matrix = new Matrix(); public function ProgrammaticSkin(){ invalidateDisplayListFlag = false; _initialized = false; _nestLevel = 0; _processedDescriptors = false; _updateCompletePendingFlag = true; super(); _width = measuredWidth; _height = measuredHeight; } protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ } public function invalidateSize():void{ } public function getStyle(_arg1:String){ return (_styleName.getStyle(_arg1)); } public function get nestLevel():int{ return (_nestLevel); } public function set nestLevel(_arg1:int):void{ _nestLevel = _arg1; invalidateDisplayList(); } override public function get height():Number{ return (_height); } public function get updateCompletePendingFlag():Boolean{ return (_updateCompletePendingFlag); } protected function verticalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 90)); } public function validateSize(_arg1:Boolean=false):void{ } public function invalidateDisplayList():void{ if (((!(invalidateDisplayListFlag)) && ((nestLevel > 0)))){ invalidateDisplayListFlag = true; UIComponentGlobals.layoutManager.invalidateDisplayList(this); }; } public function set updateCompletePendingFlag(_arg1:Boolean):void{ _updateCompletePendingFlag = _arg1; } override public function set height(_arg1:Number):void{ _height = _arg1; invalidateDisplayList(); } protected function horizontalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 0)); } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; } override public function set width(_arg1:Number):void{ _width = _arg1; invalidateDisplayList(); } public function validateDisplayList():void{ invalidateDisplayListFlag = false; updateDisplayList(width, height); } public function get measuredWidth():Number{ return (0); } public function set initialized(_arg1:Boolean):void{ _initialized = _arg1; } protected function drawRoundRect(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Matrix=null, _arg9:String="linear", _arg10:Array=null, _arg11:Object=null):void{ var _local12:Graphics; var _local13:Number; var _local14:Array; var _local15:Object; _local12 = graphics; if ((((_arg3 == 0)) || ((_arg4 == 0)))){ return; }; if (_arg6 !== null){ if ((_arg6 is uint)){ _local12.beginFill(uint(_arg6), Number(_arg7)); } else { if ((_arg6 is Array)){ _local14 = ((_arg7 is Array)) ? (_arg7 as Array) : [_arg7, _arg7]; if (!_arg10){ _arg10 = [0, 0xFF]; }; _local12.beginGradientFill(_arg9, (_arg6 as Array), _local14, _arg10, _arg8); }; }; }; if (!_arg5){ _local12.drawRect(_arg1, _arg2, _arg3, _arg4); } else { if ((_arg5 is Number)){ _local13 = (Number(_arg5) * 2); _local12.drawRoundRect(_arg1, _arg2, _arg3, _arg4, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg1, _arg2, _arg3, _arg4, _arg5.tl, _arg5.tr, _arg5.bl, _arg5.br); }; }; if (_arg11){ _local15 = _arg11.r; if ((_local15 is Number)){ _local13 = (Number(_local15) * 2); _local12.drawRoundRect(_arg11.x, _arg11.y, _arg11.w, _arg11.h, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg11.x, _arg11.y, _arg11.w, _arg11.h, _local15.tl, _local15.tr, _local15.bl, _local15.br); }; }; if (_arg6 !== null){ _local12.endFill(); }; } public function get measuredHeight():Number{ return (0); } public function get processedDescriptors():Boolean{ return (_processedDescriptors); } public function set styleName(_arg1:Object):void{ if (_styleName != _arg1){ _styleName = (_arg1 as IStyleClient); invalidateDisplayList(); }; } public function setActualSize(_arg1:Number, _arg2:Number):void{ var _local3:Boolean; _local3 = false; if (_width != _arg1){ _width = _arg1; _local3 = true; }; if (_height != _arg2){ _height = _arg2; _local3 = true; }; if (_local3){ invalidateDisplayList(); }; } override public function get width():Number{ return (_width); } public function styleChanged(_arg1:String):void{ invalidateDisplayList(); } public function invalidateProperties():void{ } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get initialized():Boolean{ return (_initialized); } protected function rotatedGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Matrix{ tempMatrix.createGradientBox(_arg3, _arg4, ((_arg5 * Math.PI) / 180), _arg1, _arg2); return (tempMatrix); } public function get styleName():Object{ return (_styleName); } public function validateProperties():void{ } public function validateNow():void{ if (invalidateDisplayListFlag){ validateDisplayList(); }; } } }//package mx.skins
Section 316
//RectangularBorder (mx.skins.RectangularBorder) package mx.skins { import flash.events.*; import mx.core.*; import mx.resources.*; import flash.system.*; import mx.styles.*; import flash.display.*; import flash.geom.*; import flash.net.*; import flash.utils.*; import mx.utils.*; public class RectangularBorder extends Border { private var backgroundImageWidth:Number; private var backgroundImageStyle:Object; mx_internal var loader:Loader; private var backgroundMask:Shape; private var backgroundImageHeight:Number; private var _backgroundImageRect:Rectangle; private var backgroundImage:DisplayObject; mx_internal static const VERSION:String = "2.0.1.0"; private static var resourceNotLoaded:String; private static var packageResources:ResourceBundle = ResourceBundle.getResourceBundle("skins", ApplicationDomain.currentDomain); public function RectangularBorder(){ addEventListener(Event.REMOVED, removedHandler); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var newStyle:Object; var cls:Class; var imgParent:DisplayObjectContainer; var childrenList:IChildList; var newStyleObj:DisplayObject; var loaderContext:LoaderContext; var unscaledWidth = _arg1; var unscaledHeight = _arg2; if (!parent){ return; }; newStyle = getStyle("backgroundImage"); if (newStyle != backgroundImageStyle){ backgroundImageStyle = newStyle; if (backgroundImage){ imgParent = backgroundImage.parent; childrenList = ((imgParent is Container)) ? Container(imgParent).rawChildren : IChildList(imgParent); childrenList.removeChild(backgroundImage); }; backgroundImage = null; if (((newStyle) && ((newStyle as Class)))){ cls = Class(newStyle); initBackgroundImage(new (cls)); } else { if (((newStyle) && ((newStyle is String)))){ try { cls = Class(getDefinitionByName(String(newStyle))); } catch(e:Error) { }; if (cls){ newStyleObj = new (cls); initBackgroundImage(newStyleObj); } else { loader = new FlexLoader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeEventHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorEventHandler); loader.contentLoaderInfo.addEventListener(ErrorEvent.ERROR, errorEventHandler); loaderContext = new LoaderContext(); loaderContext.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); loader.load(new URLRequest(String(newStyle)), loaderContext); }; } else { if (newStyle){ throw (new Error(StringUtil.substitute(resourceNotLoaded, newStyle))); }; }; }; }; if (backgroundImage){ adjustBackgroundImage(); }; } private function completeEventHandler(_arg1:Event):void{ var _local2:DisplayObject; if (!parent){ return; }; _local2 = DisplayObject(LoaderInfo(_arg1.target).loader); initBackgroundImage(_local2); adjustBackgroundImage(); dispatchEvent(_arg1.clone()); } mx_internal function get backgroundImageRect():Rectangle{ return (_backgroundImageRect); } private function getBackgroundSize():Number{ var _local1:Number; var _local2:Object; var _local3:int; _local1 = NaN; _local2 = getStyle("backgroundSize"); if (((_local2) && ((_local2 is String)))){ _local3 = _local2.indexOf("%"); if (_local3 != -1){ _local1 = Number(_local2.substr(0, _local3)); }; }; return (_local1); } mx_internal function adjustBackgroundImage():void{ var _local1:DisplayObject; var _local2:EdgeMetrics; var _local3:Boolean; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Graphics; _local1 = parent; _local2 = ((_local1 is Container)) ? Container(_local1).viewMetrics : borderMetrics; _local3 = !((getStyle("backgroundAttachment") == "fixed")); if (_backgroundImageRect){ _local9 = _backgroundImageRect.width; _local10 = _backgroundImageRect.height; } else { _local9 = ((width - _local2.left) - _local2.right); _local10 = ((height - _local2.top) - _local2.bottom); }; _local4 = getBackgroundSize(); if (isNaN(_local4)){ _local11 = 1; _local12 = 1; } else { _local13 = (_local4 * 0.01); _local11 = ((_local13 * _local9) / backgroundImageWidth); _local12 = ((_local13 * _local10) / backgroundImageHeight); }; backgroundImage.scaleX = _local11; backgroundImage.scaleY = _local12; _local5 = Math.round((0.5 * (_local9 - (backgroundImageWidth * _local11)))); _local6 = Math.round((0.5 * (_local10 - (backgroundImageHeight * _local12)))); backgroundImage.x = _local2.left; backgroundImage.y = _local2.top; backgroundMask.x = _local2.left; backgroundMask.y = _local2.top; if (((_local3) && ((_local1 is Container)))){ _local5 = (_local5 - Container(_local1).horizontalScrollPosition); _local6 = (_local6 - Container(_local1).verticalScrollPosition); }; backgroundImage.alpha = getStyle("backgroundAlpha"); backgroundImage.x = (backgroundImage.x + _local5); backgroundImage.y = (backgroundImage.y + _local6); _local7 = ((width - _local2.left) - _local2.right); _local8 = ((height - _local2.top) - _local2.bottom); if (((!((backgroundMask.width == _local7))) || (!((backgroundMask.height == _local8))))){ _local14 = backgroundMask.graphics; _local14.clear(); _local14.beginFill(0xFFFFFF); _local14.drawRect(0, 0, _local7, _local8); _local14.endFill(); }; } private function errorEventHandler(_arg1:Event):void{ } private function initBackgroundImage(_arg1:DisplayObject):void{ var _local2:IChildList; var _local3:int; backgroundImage = _arg1; if ((_arg1 is Loader)){ backgroundImageWidth = Loader(_arg1).contentLoaderInfo.width; backgroundImageHeight = Loader(_arg1).contentLoaderInfo.height; } else { backgroundImageWidth = backgroundImage.width; backgroundImageHeight = backgroundImage.height; if ((_arg1 is ISimpleStyleClient)){ ISimpleStyleClient(_arg1).styleName = styleName; }; }; _local2 = ((parent is Container)) ? Container(parent).rawChildren : IChildList(parent); backgroundMask = new FlexShape(); backgroundMask.name = "backgroundMask"; backgroundMask.x = 0; backgroundMask.y = 0; _local2.addChild(backgroundMask); _local3 = _local2.getChildIndex(this); _local2.addChildAt(backgroundImage, (_local3 + 1)); backgroundImage.mask = backgroundMask; } mx_internal function set backgroundImageRect(_arg1:Rectangle):void{ _backgroundImageRect = _arg1; invalidateDisplayList(); } mx_internal function get hasBackgroundImage():Boolean{ return (!((backgroundImage == null))); } private function removedHandler(_arg1:Event):void{ var _local2:IChildList; _local2 = ((parent is Container)) ? Container(parent).rawChildren : IChildList(parent); if (backgroundImage){ _local2.removeChild(backgroundImage); backgroundImage = null; }; if (backgroundMask){ _local2.removeChild(backgroundMask); backgroundMask = null; }; } private static function loadResources():void{ resourceNotLoaded = packageResources.getString("notLoaded"); } loadResources(); } }//package mx.skins
Section 317
//IOverride (mx.states.IOverride) package mx.states { import mx.core.*; public interface IOverride { function initialize():void; function remove(_arg1:UIComponent):void; function apply(_arg1:UIComponent):void; } }//package mx.states
Section 318
//State (mx.states.State) package mx.states { import flash.events.*; import mx.events.*; public class State extends EventDispatcher { public var name:String; private var initialized:Boolean;// = false public var overrides:Array; public var basedOn:String; mx_internal static const VERSION:String = "2.0.1.0"; public function State(){ initialized = false; overrides = []; super(); } mx_internal function initialize():void{ var _local1:int; if (!initialized){ initialized = true; _local1 = 0; while (_local1 < overrides.length) { IOverride(overrides[_local1]).initialize(); _local1++; }; }; } mx_internal function dispatchExitState():void{ dispatchEvent(new FlexEvent(FlexEvent.EXIT_STATE)); } mx_internal function dispatchEnterState():void{ dispatchEvent(new FlexEvent(FlexEvent.ENTER_STATE)); } } }//package mx.states
Section 319
//Transition (mx.states.Transition) package mx.states { import mx.effects.*; public class Transition { public var effect:Effect; public var toState:String;// = "*" public var fromState:String;// = "*" mx_internal static const VERSION:String = "2.0.1.0"; public function Transition(){ fromState = "*"; toState = "*"; super(); } } }//package mx.states
Section 320
//CSSStyleDeclaration (mx.styles.CSSStyleDeclaration) package mx.styles { import flash.events.*; import mx.core.*; import flash.display.*; import mx.managers.*; import flash.utils.*; public class CSSStyleDeclaration extends EventDispatcher { mx_internal var effects:Array; public var defaultFactory:Function; public var factory:Function; protected var overrides:Object; private var clones:Dictionary; mx_internal var selectorRefCount:int;// = 0 mx_internal static const VERSION:String = "2.0.1.0"; private static const NOT_A_COLOR:uint = 4294967295; private static var styleManager:IStyleManager = (Singleton.getInstance("mx.styles::IStyleManager") as IStyleManager); public function CSSStyleDeclaration(_arg1:String=null){ clones = new Dictionary(true); selectorRefCount = 0; super(); if (_arg1){ StyleManager.setStyleDeclaration(_arg1, this, false); }; } mx_internal function addStyleToProtoChain(_arg1:Object, _arg2:DisplayObject):Object{ var nodeAddedToChain:Boolean; var p:String; var emptyObjectFactory:Function; var chain = _arg1; var target = _arg2; nodeAddedToChain = false; if (defaultFactory != null){ defaultFactory.prototype = chain; chain = new defaultFactory(); nodeAddedToChain = true; }; if (factory != null){ factory.prototype = chain; chain = new factory(); nodeAddedToChain = true; }; if (overrides){ if ((((defaultFactory == null)) && ((factory == null)))){ emptyObjectFactory = function ():void{ }; emptyObjectFactory.prototype = chain; chain = new (emptyObjectFactory); nodeAddedToChain = true; }; for (p in overrides) { if (overrides[p] === undefined){ delete chain[p]; } else { chain[p] = overrides[p]; }; }; }; if (nodeAddedToChain){ clones[chain] = 1; }; return (chain); } public function getStyle(_arg1:String){ var _local2:*; var _local3:*; if (overrides){ if ((((_arg1 in overrides)) && ((overrides[_arg1] === undefined)))){ return (undefined); }; _local3 = overrides[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; if (factory != null){ factory.prototype = {}; _local2 = new factory(); _local3 = _local2[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; if (defaultFactory != null){ defaultFactory.prototype = {}; _local2 = new defaultFactory(); _local3 = _local2[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; return (undefined); } mx_internal function createProtoChainRoot():Object{ var _local1:Object; _local1 = {}; if (defaultFactory != null){ defaultFactory.prototype = _local1; _local1 = new defaultFactory(); }; if (factory != null){ factory.prototype = _local1; _local1 = new factory(); }; clones[_local1] = 1; return (_local1); } public function clearStyle(_arg1:String):void{ setStyle(_arg1, undefined); } public function setStyle(_arg1:String, _arg2):void{ var _local3:Object; var _local4:Boolean; var _local5:Array; var _local6:int; var _local7:int; var _local8:Object; _local3 = getStyle(_arg1); _local4 = false; if ((((((((((selectorRefCount > 0)) && ((factory == null)))) && ((defaultFactory == null)))) && (!(overrides)))) && (!((_local3 === _arg2))))){ _local4 = true; }; if (_arg2 !== undefined){ setStyle(_arg1, _arg2); } else { if (_arg2 == _local3){ return; }; setStyle(_arg1, _arg2); }; _local5 = SystemManagerGlobals.topLevelSystemManagers; _local6 = _local5.length; if (_local4){ _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local8.regenerateStyleCache(true); _local7++; }; }; _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local8.notifyStyleChangeInChildren(_arg1, true); _local7++; }; } private function clearStyleAttr(_arg1:String):void{ var _local2:*; if (!overrides){ overrides = {}; }; overrides[_arg1] = undefined; for (_local2 in clones) { delete _local2[_arg1]; }; } mx_internal function clearOverride(_arg1:String):void{ if (((overrides) && (overrides[_arg1]))){ delete overrides[_arg1]; }; } mx_internal function setStyle(_arg1:String, _arg2):void{ var _local3:Object; var _local4:*; var _local5:Number; if (_arg2 === undefined){ clearStyleAttr(_arg1); return; }; if ((_arg2 is String)){ _local5 = StyleManager.getColorName(_arg2); if (_local5 != NOT_A_COLOR){ _arg2 = _local5; }; }; if (defaultFactory != null){ _local3 = new defaultFactory(); if (_local3[_arg1] !== _arg2){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; } else { if (overrides){ delete overrides[_arg1]; }; }; }; if (factory != null){ _local3 = new factory(); if (_local3[_arg1] !== _arg2){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; } else { if (overrides){ delete overrides[_arg1]; }; }; }; if ((((defaultFactory == null)) && ((factory == null)))){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; }; for (_local4 in clones) { _local4[_arg1] = _arg2; }; } } }//package mx.styles
Section 321
//ISimpleStyleClient (mx.styles.ISimpleStyleClient) package mx.styles { public interface ISimpleStyleClient { function styleChanged(_arg1:String):void; function set styleName(_arg1:Object):void; function get styleName():Object; } }//package mx.styles
Section 322
//IStyleClient (mx.styles.IStyleClient) package mx.styles { public interface IStyleClient extends ISimpleStyleClient { function regenerateStyleCache(_arg1:Boolean):void; function clearStyle(_arg1:String):void; function getClassStyleDeclarations():Array; function get styleDeclaration():CSSStyleDeclaration; function get className():String; function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void; function set nonInheritingStyles(_arg1:Object):void; function get inheritingStyles():Object; function set inheritingStyles(_arg1:Object):void; function get nonInheritingStyles():Object; function set styleDeclaration(_arg1:CSSStyleDeclaration):void; function getStyle(_arg1:String); function setStyle(_arg1:String, _arg2):void; function registerEffects(_arg1:Array):void; } }//package mx.styles
Section 323
//IStyleManager (mx.styles.IStyleManager) package mx.styles { import flash.events.*; public interface IStyleManager { function isParentSizeInvalidatingStyle(_arg1:String):Boolean; function registerParentDisplayListInvalidatingStyle(_arg1:String):void; function set stylesRoot(_arg1:Object):void; function get inheritingStyles():Object; function styleDeclarationsChanged():void; function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void; function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean; function registerInheritingStyle(_arg1:String):void; function get typeSelectorCache():Object; function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void; function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher; function isSizeInvalidatingStyle(_arg1:String):Boolean; function getColorName(_arg1:Object):uint; function isValidStyleValue(_arg1):Boolean; function getColorNames(_arg1:Array):void; function isColorName(_arg1:String):Boolean; function isInheritingStyle(_arg1:String):Boolean; function set inheritingStyles(_arg1:Object):void; function get stylesRoot():Object; function initProtoChainRoots():void; function set typeSelectorCache(_arg1:Object):void; function registerParentSizeInvalidatingStyle(_arg1:String):void; function registerColorName(_arg1:String, _arg2:uint):void; function registerSizeInvalidatingStyle(_arg1:String):void; function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void; function isInheritingTextFormatStyle(_arg1:String):Boolean; function getStyleDeclaration(_arg1:String):CSSStyleDeclaration; } }//package mx.styles
Section 324
//IStyleModule (mx.styles.IStyleModule) package mx.styles { public interface IStyleModule { function unload():void; } }//package mx.styles
Section 325
//StyleManager (mx.styles.StyleManager) package mx.styles { import flash.events.*; import mx.core.*; public class StyleManager { mx_internal static const VERSION:String = "2.0.1.0"; public static const NOT_A_COLOR:uint = 4294967295; private static var impl:IStyleManager = (Singleton.getInstance("mx.styles::IStyleManager") as IStyleManager); private static var implClassDependency:StyleManagerImpl; public static function isParentSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isParentSizeInvalidatingStyle(_arg1)); } public static function registerInheritingStyle(_arg1:String):void{ impl.registerInheritingStyle(_arg1); } mx_internal static function set stylesRoot(_arg1:Object):void{ impl.stylesRoot = _arg1; } mx_internal static function get inheritingStyles():Object{ return (impl.inheritingStyles); } mx_internal static function styleDeclarationsChanged():void{ impl.styleDeclarationsChanged(); } public static function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ impl.setStyleDeclaration(_arg1, _arg2, _arg3); } public static function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ impl.registerParentDisplayListInvalidatingStyle(_arg1); } public static function isSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isSizeInvalidatingStyle(_arg1)); } mx_internal static function get typeSelectorCache():Object{ return (impl.typeSelectorCache); } mx_internal static function set inheritingStyles(_arg1:Object):void{ impl.inheritingStyles = _arg1; } public static function isColorName(_arg1:String):Boolean{ return (impl.isColorName(_arg1)); } public static function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return (impl.isParentDisplayListInvalidatingStyle(_arg1)); } public static function getColorName(_arg1:Object):uint{ return (impl.getColorName(_arg1)); } mx_internal static function set typeSelectorCache(_arg1:Object):void{ impl.typeSelectorCache = _arg1; } public static function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ impl.unloadStyleDeclarations(_arg1, _arg2); } public static function getColorNames(_arg1:Array):void{ impl.getColorNames(_arg1); } public static function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher{ return (impl.loadStyleDeclarations(_arg1, _arg2, _arg3)); } public static function isValidStyleValue(_arg1):Boolean{ return (impl.isValidStyleValue(_arg1)); } mx_internal static function get stylesRoot():Object{ return (impl.stylesRoot); } public static function isInheritingStyle(_arg1:String):Boolean{ return (impl.isInheritingStyle(_arg1)); } mx_internal static function initProtoChainRoots():void{ impl.initProtoChainRoots(); } public static function registerParentSizeInvalidatingStyle(_arg1:String):void{ impl.registerParentSizeInvalidatingStyle(_arg1); } public static function registerSizeInvalidatingStyle(_arg1:String):void{ impl.registerSizeInvalidatingStyle(_arg1); } public static function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ impl.clearStyleDeclaration(_arg1, _arg2); } public static function registerColorName(_arg1:String, _arg2:uint):void{ impl.registerColorName(_arg1, _arg2); } public static function isInheritingTextFormatStyle(_arg1:String):Boolean{ return (impl.isInheritingTextFormatStyle(_arg1)); } public static function getStyleDeclaration(_arg1:String):CSSStyleDeclaration{ return (impl.getStyleDeclaration(_arg1)); } } }//package mx.styles
Section 326
//StyleManagerImpl (mx.styles.StyleManagerImpl) package mx.styles { import flash.events.*; import mx.resources.*; import flash.system.*; import mx.modules.*; import mx.events.*; import mx.managers.*; import flash.utils.*; import mx.utils.*; public class StyleManagerImpl implements IStyleManager { private var resourceUnableToLoad:String;// = null private var _stylesRoot:Object; private var styleModules:Object; private var packageResources:ResourceBundle; private var _inheritingStyles:Object; private var _typeSelectorCache:Object; private var selectors:Object; mx_internal static const VERSION:String = "2.0.1.0"; private static var parentSizeInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true}; private static var colorNames:Object = {transparent:"transparent", black:0, blue:0xFF, green:0x8000, gray:0x808080, silver:0xC0C0C0, lime:0xFF00, olive:0x808000, white:0xFFFFFF, yellow:0xFFFF00, maroon:0x800000, navy:128, red:0xFF0000, purple:0x800080, teal:0x8080, fuchsia:0xFF00FF, aqua:0xFFFF, magenta:0xFF00FF, cyan:0xFFFF, halogreen:8453965, haloblue:40447, haloorange:0xFFB600, halosilver:11455193}; private static var inheritingTextFormatStyles:Object = {align:true, bold:true, color:true, font:true, indent:true, italic:true, size:true}; private static var instance:IStyleManager; private static var parentDisplayListInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true}; private static var sizeInvalidatingStyles:Object = {borderStyle:true, borderThickness:true, fontAntiAliasType:true, fontFamily:true, fontGridFitType:true, fontSharpness:true, fontSize:true, fontStyle:true, fontThickness:true, fontWeight:true, headerHeight:true, horizontalAlign:true, horizontalGap:true, kerning:true, leading:true, letterSpacing:true, paddingBottom:true, paddingLeft:true, paddingRight:true, paddingTop:true, strokeWidth:true, tabHeight:true, tabWidth:true, verticalAlign:true, verticalGap:true}; public function StyleManagerImpl(){ packageResources = ResourceBundle.getResourceBundle("styles", ApplicationDomain.currentDomain); resourceUnableToLoad = null; selectors = {}; styleModules = {}; _inheritingStyles = {}; _typeSelectorCache = {}; super(); } public function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ _arg2.selectorRefCount++; selectors[_arg1] = _arg2; typeSelectorCache = new Object(); if (_arg3){ styleDeclarationsChanged(); }; } public function registerSizeInvalidatingStyle(_arg1:String):void{ sizeInvalidatingStyles[_arg1] = true; } public function isColorName(_arg1:String):Boolean{ return (!((colorNames[_arg1.toLowerCase()] === undefined))); } public function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ parentDisplayListInvalidatingStyles[_arg1] = true; } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function getColorNames(_arg1:Array):void{ var _local2:int; var _local3:int; var _local4:uint; if (!_arg1){ return; }; _local2 = _arg1.length; _local3 = 0; while (_local3 < _local2) { if (((!((_arg1[_local3] == null))) && (isNaN(_arg1[_local3])))){ _local4 = getColorName(_arg1[_local3]); if (_local4 != StyleManager.NOT_A_COLOR){ _arg1[_local3] = _local4; }; }; _local3++; }; } public function isInheritingTextFormatStyle(_arg1:String):Boolean{ return ((inheritingTextFormatStyles[_arg1] == true)); } public function set typeSelectorCache(_arg1:Object):void{ _typeSelectorCache = _arg1; } public function registerParentSizeInvalidatingStyle(_arg1:String):void{ parentSizeInvalidatingStyles[_arg1] = true; } public function registerColorName(_arg1:String, _arg2:uint):void{ colorNames[_arg1.toLowerCase()] = _arg2; } public function isParentSizeInvalidatingStyle(_arg1:String):Boolean{ return ((parentSizeInvalidatingStyles[_arg1] == true)); } public function get inheritingStyles():Object{ return (_inheritingStyles); } public function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return ((parentDisplayListInvalidatingStyles[_arg1] == true)); } public function isSizeInvalidatingStyle(_arg1:String):Boolean{ return ((sizeInvalidatingStyles[_arg1] == true)); } public function set stylesRoot(_arg1:Object):void{ _stylesRoot = _arg1; } public function styleDeclarationsChanged():void{ var _local1:Array; var _local2:int; var _local3:int; var _local4:SystemManager; _local1 = SystemManagerGlobals.topLevelSystemManagers; _local2 = _local1.length; _local3 = 0; while (_local3 < _local2) { _local4 = SystemManager(_local1[_local3]); _local4.regenerateStyleCache(true); _local4.notifyStyleChangeInChildren(null, true); _local3++; }; } public function isValidStyleValue(_arg1):Boolean{ return (!((_arg1 === undefined))); } public function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher{ var module:IModuleInfo; var readyHandler:Function; var styleEventDispatcher:StyleEventDispatcher; var errorHandler:Function; var timer:Timer; var timerHandler:Function; var url = _arg1; var update = _arg2; var trustContent = _arg3; module = ModuleManager.getModule(url); readyHandler = function (_arg1:ModuleEvent):void{ var _local2:IStyleModule; _local2 = IStyleModule(_arg1.module.factory.create()); styleModules[_arg1.module.url].styleModule = _local2; if (update){ styleDeclarationsChanged(); }; }; module.addEventListener(ModuleEvent.READY, readyHandler, false, 0, true); styleEventDispatcher = new StyleEventDispatcher(module); errorHandler = function (_arg1:ModuleEvent):void{ var _local2:String; var _local3:StyleEvent; if (resourceUnableToLoad == null){ loadResources(); }; _local2 = StringUtil.substitute(resourceUnableToLoad, _arg1.errorText, url); if (styleEventDispatcher.willTrigger(StyleEvent.ERROR)){ _local3 = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.errorText = _local2; styleEventDispatcher.dispatchEvent(_local3); } else { throw (new Error(_local2)); }; }; module.addEventListener(ModuleEvent.ERROR, errorHandler, false, 0, true); styleModules[url] = new StyleModuleInfo(module, readyHandler, errorHandler); timer = new Timer(0); timerHandler = function (_arg1:TimerEvent):void{ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.stop(); if (trustContent){ module.load(ApplicationDomain.currentDomain, SecurityDomain.currentDomain); } else { module.load(); }; }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (styleEventDispatcher); } public function registerInheritingStyle(_arg1:String):void{ inheritingStyles[_arg1] = true; } public function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ var _local3:StyleModuleInfo; var _local4:IModuleInfo; _local3 = styleModules[_arg1]; if (_local3){ _local3.styleModule.unload(); _local4 = _local3.module; _local4.unload(); _local4.removeEventListener(ModuleEvent.READY, _local3.readyHandler); _local4.removeEventListener(ModuleEvent.ERROR, _local3.errorHandler); styleModules[_arg1] = null; }; if (_arg2){ styleDeclarationsChanged(); }; } private function loadResources():void{ resourceUnableToLoad = packageResources.getString("unableToLoad"); } public function isInheritingStyle(_arg1:String):Boolean{ return ((inheritingStyles[_arg1] == true)); } public function get typeSelectorCache():Object{ return (_typeSelectorCache); } public function get stylesRoot():Object{ return (_stylesRoot); } public function getColorName(_arg1:Object):uint{ var _local2:Number; var _local3:*; if ((_arg1 is String)){ if (_arg1.charAt(0) == "#"){ _local2 = Number(("0x" + _arg1.slice(1))); return ((isNaN(_local2)) ? StyleManager.NOT_A_COLOR : uint(_local2)); }; if ((((_arg1.charAt(1) == "x")) && ((_arg1.charAt(0) == "0")))){ _local2 = Number(_arg1); return ((isNaN(_local2)) ? StyleManager.NOT_A_COLOR : uint(_local2)); }; _local3 = colorNames[_arg1.toLowerCase()]; if (_local3 === undefined){ return (StyleManager.NOT_A_COLOR); }; return (uint(_local3)); }; return (uint(_arg1)); } public function initProtoChainRoots():void{ if (!stylesRoot){ stylesRoot = selectors["global"].addStyleToProtoChain({}, null); }; } public function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ var _local3:CSSStyleDeclaration; _local3 = getStyleDeclaration(_arg1); if (((_local3) && ((_local3.selectorRefCount > 0)))){ _local3.selectorRefCount--; }; delete selectors[_arg1]; if (_arg2){ styleDeclarationsChanged(); }; } public function getStyleDeclaration(_arg1:String):CSSStyleDeclaration{ var _local2:int; if (_arg1.charAt(0) != "."){ _local2 = _arg1.lastIndexOf("."); if (_local2 != -1){ _arg1 = _arg1.substr((_local2 + 1)); }; }; return (selectors[_arg1]); } public static function getInstance():IStyleManager{ if (!instance){ instance = new (StyleManagerImpl); }; return (instance); } } }//package mx.styles import flash.events.*; import mx.modules.*; import mx.events.*; class StyleEventDispatcher extends EventDispatcher { private function StyleEventDispatcher(_arg1:IModuleInfo){ _arg1.addEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleInfo_readyHandler, false, 0, true); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent; _local2 = new StyleEvent(StyleEvent.COMPLETE); dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent; _local2 = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } private function moduleInfo_progressHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent; _local2 = new StyleEvent(StyleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } } class StyleModuleInfo { public var errorHandler:Function; public var module:IModuleInfo; public var styleModule:IStyleModule; public var readyHandler:Function; private function StyleModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.module = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } }
Section 327
//StyleProtoChain (mx.styles.StyleProtoChain) package mx.styles { import mx.core.*; import flash.display.*; public class StyleProtoChain { mx_internal static const VERSION:String = "2.0.1.0"; public static function initProtoChainForUIComponentStyleName(_arg1:IStyleClient):void{ var _local2:IStyleClient; var _local3:Object; var _local4:Object; var _local5:Array; var _local6:int; var _local7:int; var _local8:CSSStyleDeclaration; _local2 = IStyleClient(_arg1.styleName); _local3 = _local2.nonInheritingStyles; if (((!(_local3)) || ((_local3 == UIComponent.STYLE_UNINITIALIZED)))){ _local3 = StyleManager.stylesRoot; if (_local3.effects){ _arg1.registerEffects(_local3.effects); }; }; _local4 = _local2.inheritingStyles; if (((!(_local4)) || ((_local4 == UIComponent.STYLE_UNINITIALIZED)))){ _local4 = StyleManager.stylesRoot; }; _local5 = _arg1.getClassStyleDeclarations(); _local6 = _local5.length; _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local4 = _local8.addStyleToProtoChain(_local4, DisplayObject(_arg1)); _local4 = addProperties(_local4, _local2, true); _local3 = _local8.addStyleToProtoChain(_local3, DisplayObject(_arg1)); _local3 = addProperties(_local3, _local2, false); if (_local8.effects){ _arg1.registerEffects(_local8.effects); }; _local7++; }; _arg1.inheritingStyles = (_arg1.styleDeclaration) ? _arg1.styleDeclaration.addStyleToProtoChain(_local4, DisplayObject(_arg1)) : _local4; _arg1.nonInheritingStyles = (_arg1.styleDeclaration) ? _arg1.styleDeclaration.addStyleToProtoChain(_local3, DisplayObject(_arg1)) : _local3; } private static function addProperties(_arg1:Object, _arg2:IStyleClient, _arg3:Boolean):Object{ var _local4:Array; var _local5:int; var _local6:int; var _local7:Object; var _local8:CSSStyleDeclaration; var _local9:CSSStyleDeclaration; _local4 = _arg2.getClassStyleDeclarations(); _local5 = _local4.length; _local6 = 0; while (_local6 < _local5) { _local8 = _local4[_local6]; _arg1 = _local8.addStyleToProtoChain(_arg1, DisplayObject(_arg2)); if (_local8.effects){ _arg2.registerEffects(_local8.effects); }; _local6++; }; _local7 = _arg2.styleName; if (_local7){ if (typeof(_local7) == "object"){ if ((_local7 is CSSStyleDeclaration)){ _local9 = CSSStyleDeclaration(_local7); } else { _arg1 = addProperties(_arg1, IStyleClient(_local7), _arg3); }; } else { _local9 = StyleManager.getStyleDeclaration(("." + _local7)); }; if (_local9){ _arg1 = _local9.addStyleToProtoChain(_arg1, DisplayObject(_arg2)); if (_local9.effects){ _arg2.registerEffects(_local9.effects); }; }; }; if (_arg2.styleDeclaration){ _arg1 = _arg2.styleDeclaration.addStyleToProtoChain(_arg1, DisplayObject(_arg2)); }; return (_arg1); } public static function initTextField(_arg1:UITextField):void{ var _local2:Object; var _local3:CSSStyleDeclaration; var _local4:Object; var _local5:Object; _local2 = _arg1.styleName; if (_local2){ if (typeof(_local2) == "object"){ if ((_local2 is CSSStyleDeclaration)){ _local3 = CSSStyleDeclaration(_local2); } else { _arg1.inheritingStyles = IStyleClient(_local2).inheritingStyles; _arg1.nonInheritingStyles = IStyleClient(_local2).nonInheritingStyles; return; }; } else { _local3 = StyleManager.getStyleDeclaration(("." + _local2)); }; }; _local4 = IStyleClient(_arg1.parent).inheritingStyles; _local5 = StyleManager.stylesRoot; if (!_local4){ _local4 = StyleManager.stylesRoot; }; if (_local3){ _local4 = _local3.addStyleToProtoChain(_local4, _arg1); _local5 = _local3.addStyleToProtoChain(_local5, _arg1); }; _arg1.inheritingStyles = _local4; _arg1.nonInheritingStyles = _local5; } } }//package mx.styles
Section 328
//ColorUtil (mx.utils.ColorUtil) package mx.utils { public class ColorUtil { mx_internal static const VERSION:String = "2.0.1.0"; public static function adjustBrightness2(_arg1:uint, _arg2:Number):uint{ var _local3:Number; var _local4:Number; var _local5:Number; if (_arg2 == 0){ return (_arg1); }; if (_arg2 < 0){ _arg2 = ((100 + _arg2) / 100); _local3 = (((_arg1 >> 16) & 0xFF) * _arg2); _local4 = (((_arg1 >> 8) & 0xFF) * _arg2); _local5 = ((_arg1 & 0xFF) * _arg2); } else { _arg2 = (_arg2 / 100); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); _local3 = (_local3 + ((0xFF - _local3) * _arg2)); _local4 = (_local4 + ((0xFF - _local4) * _arg2)); _local5 = (_local5 + ((0xFF - _local5) * _arg2)); _local3 = Math.min(_local3, 0xFF); _local4 = Math.min(_local4, 0xFF); _local5 = Math.min(_local5, 0xFF); }; return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } public static function rgbMultiply(_arg1:uint, _arg2:uint):uint{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); _local6 = ((_arg2 >> 16) & 0xFF); _local7 = ((_arg2 >> 8) & 0xFF); _local8 = (_arg2 & 0xFF); return ((((((_local3 * _local6) / 0xFF) << 16) | (((_local4 * _local7) / 0xFF) << 8)) | ((_local5 * _local8) / 0xFF))); } public static function adjustBrightness(_arg1:uint, _arg2:Number):uint{ var _local3:Number; var _local4:Number; var _local5:Number; _local3 = Math.max(Math.min((((_arg1 >> 16) & 0xFF) + _arg2), 0xFF), 0); _local4 = Math.max(Math.min((((_arg1 >> 8) & 0xFF) + _arg2), 0xFF), 0); _local5 = Math.max(Math.min(((_arg1 & 0xFF) + _arg2), 0xFF), 0); return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } } }//package mx.utils
Section 329
//GraphicsUtil (mx.utils.GraphicsUtil) package mx.utils { import flash.display.*; public class GraphicsUtil { mx_internal static const VERSION:String = "2.0.1.0"; public static function drawRoundRectComplex(_arg1:Graphics, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number):void{ var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local10 = (_arg2 + _arg4); _local11 = (_arg3 + _arg5); _local12 = ((_arg4 < _arg5)) ? (_arg4 * 2) : (_arg5 * 2); _arg6 = ((_arg6 < _local12)) ? _arg6 : _local12; _arg7 = ((_arg7 < _local12)) ? _arg7 : _local12; _arg8 = ((_arg8 < _local12)) ? _arg8 : _local12; _arg9 = ((_arg9 < _local12)) ? _arg9 : _local12; _local13 = (_arg9 * 0.292893218813453); _local14 = (_arg9 * 0.585786437626905); _arg1.moveTo(_local10, (_local11 - _arg9)); _arg1.curveTo(_local10, (_local11 - _local14), (_local10 - _local13), (_local11 - _local13)); _arg1.curveTo((_local10 - _local14), _local11, (_local10 - _arg9), _local11); _local13 = (_arg8 * 0.292893218813453); _local14 = (_arg8 * 0.585786437626905); _arg1.lineTo((_arg2 + _arg8), _local11); _arg1.curveTo((_arg2 + _local14), _local11, (_arg2 + _local13), (_local11 - _local13)); _arg1.curveTo(_arg2, (_local11 - _local14), _arg2, (_local11 - _arg8)); _local13 = (_arg6 * 0.292893218813453); _local14 = (_arg6 * 0.585786437626905); _arg1.lineTo(_arg2, (_arg3 + _arg6)); _arg1.curveTo(_arg2, (_arg3 + _local14), (_arg2 + _local13), (_arg3 + _local13)); _arg1.curveTo((_arg2 + _local14), _arg3, (_arg2 + _arg6), _arg3); _local13 = (_arg7 * 0.292893218813453); _local14 = (_arg7 * 0.585786437626905); _arg1.lineTo((_local10 - _arg7), _arg3); _arg1.curveTo((_local10 - _local14), _arg3, (_local10 - _local13), (_arg3 + _local13)); _arg1.curveTo(_local10, (_arg3 + _local14), _local10, (_arg3 + _arg7)); _arg1.lineTo(_local10, (_local11 - _arg9)); } } }//package mx.utils
Section 330
//NameUtil (mx.utils.NameUtil) package mx.utils { import flash.display.*; import mx.core.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "2.0.1.0"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var _local2:String; var _local3:DisplayObject; var _local4:String; var _local5:Array; _local3 = _arg1; while (_local3 != null) { if (((((_local3.parent) && (_local3.stage))) && ((_local3.parent == _local3.stage)))){ break; }; _local4 = _local3.name; if ((_local3 is IRepeaterClient)){ _local5 = IRepeaterClient(_local3).instanceIndices; if (_local5){ _local4 = (_local4 + (("[" + _local5.join("][")) + "]")); }; }; _local2 = ((_local2 == null)) ? _local4 : ((_local4 + ".") + _local2); _local3 = _local3.parent; }; return (_local2); } public static function createUniqueName(_arg1:Object):String{ var _local2:String; var _local3:int; var _local4:int; if (!_arg1){ return (null); }; _local2 = getQualifiedClassName(_arg1); _local3 = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; _local4 = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 331
//StringUtil (mx.utils.StringUtil) package mx.utils { public class StringUtil { mx_internal static const VERSION:String = "2.0.1.0"; public static function trim(_arg1:String):String{ var _local2:int; var _local3:int; _local2 = 0; while (isWhitespace(_arg1.charAt(_local2))) { _local2++; }; _local3 = (_arg1.length - 1); while (isWhitespace(_arg1.charAt(_local3))) { _local3--; }; if (_local3 >= _local2){ return (_arg1.slice(_local2, (_local3 + 1))); }; return (""); } public static function isWhitespace(_arg1:String):Boolean{ switch (_arg1){ case " ": case "\t": case "\r": case "\n": case "\f": return (true); default: return (false); }; } public static function substitute(_arg1:String, ... _args):String{ var _local3:uint; var _local4:Array; var _local5:int; _local3 = _args.length; if ((((_local3 == 1)) && ((_args[0] is Array)))){ _local4 = (_args[0] as Array); _local3 = _local4.length; } else { _local4 = _args; }; _local5 = 0; while (_local5 < _local3) { _arg1 = _arg1.replace(new RegExp((("\\{" + _local5) + "\\}"), "g"), _local4[_local5]); _local5++; }; return (_arg1); } public static function trimArrayElements(_arg1:String, _arg2:String):String{ var _local3:Array; var _local4:int; var _local5:int; if (((!((_arg1 == ""))) && (!((_arg1 == null))))){ _local3 = _arg1.split(_arg2); _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local3[_local5] = StringUtil.trim(_local3[_local5]); _local5++; }; if (_local4 > 0){ _arg1 = _local3.join(_arg2); }; }; return (_arg1); } } }//package mx.utils
Section 332
//IValidatorListener (mx.validators.IValidatorListener) package mx.validators { import mx.events.*; public interface IValidatorListener { function set errorString(_arg1:String):void; function get validationSubField():String; function validationResultHandler(_arg1:ValidationResultEvent):void; function set validationSubField(_arg1:String):void; function get errorString():String; } }//package mx.validators
Section 333
//ValidationResult (mx.validators.ValidationResult) package mx.validators { public class ValidationResult { public var errorCode:String; public var errorMessage:String; public var subField:String; public var isError:Boolean; mx_internal static const VERSION:String = "2.0.1.0"; public function ValidationResult(_arg1:Boolean, _arg2:String="", _arg3:String="", _arg4:String=""){ this.isError = _arg1; this.subField = _arg2; this.errorMessage = _arg4; this.errorCode = _arg3; } } }//package mx.validators
Section 334
//_activeButtonStyleStyle (_activeButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".activeButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 335
//_activeTabStyleStyle (_activeTabStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeTabStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".activeTabStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeTabStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 336
//_alertButtonStyleStyle (_alertButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _alertButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".alertButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".alertButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 734012; }; }; } } }//package
Section 337
//_comboDropDownStyle (_comboDropDownStyle) package { import mx.core.*; import mx.styles.*; public class _comboDropDownStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".comboDropDown"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".comboDropDown", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "normal"; this.cornerRadius = 0; this.dropShadowEnabled = true; this.shadowDirection = "center"; this.borderThickness = 0; this.shadowDistance = 1; this.backgroundColor = 0xFFFFFF; }; }; } } }//package
Section 338
//_dataGridStylesStyle (_dataGridStylesStyle) package { import mx.core.*; import mx.styles.*; public class _dataGridStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".dataGridStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".dataGridStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 339
//_dateFieldPopupStyle (_dateFieldPopupStyle) package { import mx.core.*; import mx.styles.*; public class _dateFieldPopupStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".dateFieldPopup"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".dateFieldPopup", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.dropShadowEnabled = true; this.borderThickness = 0; this.backgroundColor = 0xFFFFFF; }; }; } } }//package
Section 340
//_errorTipStyle (_errorTipStyle) package { import mx.core.*; import mx.styles.*; public class _errorTipStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".errorTip"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".errorTip", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 4; this.borderColor = 13510953; this.paddingLeft = 4; this.color = 0xFFFFFF; this.fontWeight = "bold"; this.paddingRight = 4; this.shadowColor = 0; this.fontSize = 9; this.paddingBottom = 4; this.borderStyle = "errorTipRight"; }; }; } } }//package
Section 341
//_globalStyle (_globalStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _globalStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration("global"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("global", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "normal"; this.modalTransparencyBlur = 3; this.verticalGridLineColor = 14015965; this.borderStyle = "inset"; this.buttonColor = 7305079; this.borderCapColor = 9542041; this.textAlign = "left"; this.stroked = false; this.fillColors = [0xFFFFFF, 0xCCCCCC, 0xFFFFFF, 0xEEEEEE]; this.fontStyle = "normal"; this.borderSides = "left top right bottom"; this.borderThickness = 1; this.modalTransparencyDuration = 100; this.useRollOver = true; this.strokeWidth = 1; this.filled = true; this.borderColor = 12040892; this.horizontalGridLines = false; this.horizontalGridLineColor = 0xF7F7F7; this.shadowCapColor = 14015965; this.fontGridFitType = "pixel"; this.horizontalAlign = "left"; this.disabledColor = 11187123; this.modalTransparencyColor = 0xDDDDDD; this.borderSkin = HaloBorder; this.dropShadowColor = 0; this.paddingBottom = 0; this.indentation = 17; this.fontThickness = 0; this.verticalGridLines = true; this.embedFonts = false; this.fontSharpness = 0; this.shadowDirection = "center"; this.selectionDuration = 250; this.bevel = true; this.fillColor = 0xFFFFFF; this.focusBlendMode = "normal"; this.dropShadowEnabled = false; this.textRollOverColor = 2831164; this.textIndent = 0; this.fontSize = 10; this.openDuration = 250; this.closeDuration = 250; this.kerning = false; this.paddingTop = 0; this.highlightAlphas = [0.3, 0]; this.cornerRadius = 0; this.horizontalGap = 8; this.textSelectedColor = 2831164; this.paddingLeft = 0; this.modalTransparency = 0.5; this.roundedBottomCorners = true; this.repeatDelay = 500; this.selectionDisabledColor = 0xDDDDDD; this.fontAntiAliasType = "advanced"; this.focusSkin = HaloFocusRect; this.verticalGap = 6; this.leading = 2; this.shadowColor = 0xEEEEEE; this.backgroundAlpha = 1; this.focusAlpha = 0.4; this.borderAlpha = 1; this.focusThickness = 2; this.themeColor = 40447; this.backgroundSize = "auto"; this.indicatorGap = 14; this.letterSpacing = 0; this.fontFamily = "Verdana"; this.fillAlphas = [0.6, 0.4, 0.75, 0.65]; this.color = 734012; this.paddingRight = 0; this.errorColor = 0xFF0000; this.verticalAlign = "top"; this.focusRoundedCorners = "tl tr bl br"; this.shadowDistance = 2; this.repeatInterval = 35; }; }; } } }//package
Section 342
//_headerDateTextStyle (_headerDateTextStyle) package { import mx.core.*; import mx.styles.*; public class _headerDateTextStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".headerDateText"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDateText", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.textAlign = "center"; this.fontWeight = "bold"; }; }; } } }//package
Section 343
//_headerDragProxyStyleStyle (_headerDragProxyStyleStyle) package { import mx.core.*; import mx.styles.*; public class _headerDragProxyStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".headerDragProxyStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDragProxyStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 344
//_ib85 (_ib85) package { import flash.events.*; import Code.LIB.*; import Code.OPTIONS.*; import Code.LIB.SOUND.*; import Code.WINDOWS.*; import Code.WINDOWS.DIALOGS.*; import Code.OPTIONS.LANGUAGES.*; public class _ib85 extends _le447 { public function _ib85(){ _hd443.iLanguage = new _st359(); menuItem = _hd443.miSplashScreen; this.onResize(new Event("onresize")); this._do432(); } override public function _do432():void{ switch (menuItem){ case _hd443.miSplashScreen: this.iWindow = new _dt519(); this.addChild(iWindow); if (!_ma277._vi147){ this.menuItem = _hd443.miEnterName; } else { menuItem = _hd443.miMenu; }; break; case _hd443.miLanguage: this.iWindow = new _dt363(); this.addChild(iWindow); if (!_ma277._vi147){ this.menuItem = _hd443.miEnterName; } else { menuItem = _hd443.miMenu; }; break; case _hd443.miEnterName: this.iWindow = new _bk53(true); this.addChild(iWindow); this.menuItem = _hd443.miMenu; break; case _hd443.miMenu: this.iWindow = new _mj506(); this.addChild(iWindow); break; case _hd443.miHowToPlay: this.iWindow = new _mu289(); this.menuItem = _hd443.miGame; this.addChild(iWindow); break; case _hd443.miGame: this.iWindow = new _gk133(); this.menuItem = _hd443.miMenu; this.addChild(iWindow); break; case _hd443.miChoosePlayer: this.iWindow = new _mt70(); this.addChild(iWindow); this.menuItem = _hd443.miMenu; break; case _hd443.miOptions: this.iWindow = new _lo233(); this.addChild(iWindow); this.menuItem = _hd443.miMenu; break; case _hd443.miInstructions: this.iWindow = new _mu289(); this.menuItem = _hd443.miMenu; this.addChild(iWindow); break; }; addChild(speakerMount); addChild(_pc215.iSound); addChild(_pc215.iMusic); } override public function onEnterFrame(_arg1:Event):void{ super.onEnterFrame(_arg1); if (this.iWindow != null){ if (!iWindow._aj31){ iWindow._or337(); this.removeChild(iWindow); this.iWindow = null; this._do432(); }; }; } } }//package
Section 345
//_opaquePanelStyle (_opaquePanelStyle) package { import mx.core.*; import mx.styles.*; public class _opaquePanelStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".opaquePanel"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".opaquePanel", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.footerColors = [0xE7E7E7, 0xC7C7C7]; this.borderColor = 0xFFFFFF; this.headerColors = [0xE7E7E7, 0xD9D9D9]; this.borderAlpha = 1; this.backgroundColor = 0xFFFFFF; }; }; } } }//package
Section 346
//_plainStyle (_plainStyle) package { import mx.core.*; import mx.styles.*; public class _plainStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".plain"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".plain", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 0; this.paddingLeft = 0; this.horizontalAlign = "left"; this.paddingRight = 0; this.backgroundImage = ""; this.paddingBottom = 0; this.backgroundColor = 0xFFFFFF; }; }; } } }//package
Section 347
//_richTextEditorTextAreaStyleStyle (_richTextEditorTextAreaStyleStyle) package { import mx.core.*; import mx.styles.*; public class _richTextEditorTextAreaStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".richTextEditorTextAreaStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".richTextEditorTextAreaStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 348
//_textAreaHScrollBarStyleStyle (_textAreaHScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaHScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".textAreaHScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaHScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 349
//_textAreaVScrollBarStyleStyle (_textAreaVScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaVScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".textAreaVScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaVScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 350
//_todayStyleStyle (_todayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _todayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".todayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".todayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.textAlign = "center"; this.color = 0xFFFFFF; }; }; } } }//package
Section 351
//_weekDayStyleStyle (_weekDayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _weekDayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".weekDayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".weekDayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.textAlign = "center"; this.fontWeight = "bold"; }; }; } } }//package
Section 352
//_windowStatusStyle (_windowStatusStyle) package { import mx.core.*; import mx.styles.*; public class _windowStatusStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".windowStatus"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".windowStatus", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 0x666666; }; }; } } }//package
Section 353
//_windowStylesStyle (_windowStylesStyle) package { import mx.core.*; import mx.styles.*; public class _windowStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var style:CSSStyleDeclaration; var fbs = _arg1; style = StyleManager.getStyleDeclaration(".windowStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".windowStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 354
//core_properties (core_properties) package { import mx.resources.*; public class core_properties extends ResourceBundle { override protected function getContent():Object{ var _local1:Object; _local1 = {}; _local1["multipleChildSets_ClassAndInstance"] = "Multiple sets of visual children have been specified for this component (component definition and component instance)."; _local1["multipleChildSets_ClassAndSubclass"] = "Multiple sets of visual children have been specified for this component (base component definition and derived component definition)."; _local1["notExecuting"] = "Repeater is not executing."; _local1["truncationIndicator"] = "..."; _local1["stateUndefined"] = "Undefined state '{0}'."; _local1["scrollDirection"] = "Unknown scroll direction '{0}'."; _local1["viewSource"] = "View Source"; return (_local1); } } }//package
Section 355
//effects_properties (effects_properties) package { import mx.resources.*; public class effects_properties extends ResourceBundle { override protected function getContent():Object{ var _local1:Object; _local1 = {}; _local1["incorrectTrigger"] = "The Zoom effect can not be triggered by a moveEffect trigger."; _local1["incorrectSource"] = "Source property must be a Class or String."; return (_local1); } } }//package
Section 356
//skins_properties (skins_properties) package { import mx.resources.*; public class skins_properties extends ResourceBundle { override protected function getContent():Object{ var _local1:Object; _local1 = {}; _local1["notLoaded"] = "Unable to load '{0}'."; return (_local1); } } }//package
Section 357
//styles_properties (styles_properties) package { import mx.resources.*; public class styles_properties extends ResourceBundle { override protected function getContent():Object{ var _local1:Object; _local1 = {}; _local1["unableToLoad"] = "Unable to load style({0}): {1}."; return (_local1); } } }//package

Library Items

Symbol 1 FontUsed by:2 220 221 227 231 236 245
Symbol 2 EditableTextUses:1Used by:3
Symbol 3 MovieClip {Code.OPTIONS._wp58_OFont} [OFComic]Uses:2
Symbol 4 FontUsed by:5 7 13 15
Symbol 5 TextUses:4Used by:6
Symbol 6 MovieClip {Code.OPTIONS._wp58_TBevel} [TBevel]Uses:5
Symbol 7 EditableTextUses:4Used by:8
Symbol 8 MovieClip {Code.OPTIONS._wp58_TSmallText} [SmallText]Uses:7
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:11
Symbol 11 MovieClipUses:10Used by:12
Symbol 12 MovieClip {Code.OPTIONS._wp58_TPlastic} [TPlastic]Uses:11
Symbol 13 EditableTextUses:4Used by:14
Symbol 14 MovieClip {Code.OPTIONS._wp58_TGlamur2} [TGLamur2]Uses:13
Symbol 15 EditableTextUses:4Used by:16
Symbol 16 MovieClip {Code.OPTIONS._wp58_TBigText} [TBigText]Uses:15
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:19
Symbol 19 MovieClip {Code.OPTIONS._hd443_TFlagRU} [TFlagRU]Uses:18
Symbol 20 Sound {Code.OPTIONS._hd443_TSActiveButton} [Code.OPTIONS._hd443_TSActiveButton]
Symbol 21 GraphicUsed by:24
Symbol 22 GraphicUsed by:24 161 196 234 266
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip {Code.OPTIONS._hd443_GAlienBlob1} [GAlienBlob1]Uses:21 22 23
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:125
Symbol 27 GraphicUsed by:38
Symbol 28 GraphicUsed by:38
Symbol 29 GraphicUsed by:38
Symbol 30 GraphicUsed by:38
Symbol 31 GraphicUsed by:38
Symbol 32 GraphicUsed by:38
Symbol 33 GraphicUsed by:38
Symbol 34 GraphicUsed by:38
Symbol 35 GraphicUsed by:38
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 MovieClipUses:27 28 29 30 31 32 33 34 35 37Used by:125
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:125
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:125
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:125
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:125
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:125
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:125
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:125
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:125
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:125
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:125
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:125
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:125
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:125
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:125
Symbol 67 GraphicUsed by:70
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:70 84
Symbol 70 MovieClipUses:67 69Used by:125
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:125
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:125
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:125
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:125
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:125
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:125
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83 69Used by:125
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:125
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:125
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:125
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:125
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:125
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:125
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:125
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:125
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:125
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:125
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:125
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:125
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:125
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:125
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:125
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:125
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:117Used by:125
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:125
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:121Used by:125
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:125
Symbol 125 MovieClip {Code.OPTIONS._hd443__rd413} [Logos]Uses:26 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124
Symbol 126 Sound {Code.OPTIONS._hd443_TSJumper} [Code.OPTIONS._hd443_TSJumper]
Symbol 127 Sound {Code.OPTIONS._hd443_TSBonus} [Code.OPTIONS._hd443_TSBonus]
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClip {Code.OPTIONS._hd443_GWallB} [GWallB]Uses:128
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClip {Code.OPTIONS._hd443_GOsnova} [GOsnova]Uses:130
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:134
Symbol 134 MovieClip {Code.OPTIONS._hd443_TCursor} [TCursor]Uses:133
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:135Used by:137
Symbol 137 MovieClip {Code.OPTIONS._hd443_GPlayerBlobNormal} [GPlayerBlobNormal]Uses:136Used by:143
Symbol 138 GraphicUsed by:141
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:141
Symbol 141 MovieClipUses:138 140Used by:142
Symbol 142 MovieClip {Code.OPTIONS._hd443_GPlayerEyes} [GPlayerEyes]Uses:141Used by:143
Symbol 143 MovieClip {Code.OPTIONS._hd443_GPlayerBlobComplete} [GPlayerBlobComplete]Uses:137 142
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:146
Symbol 146 MovieClip {Code.OPTIONS._hd443_TTVFrame} [TTVFrame]Uses:145
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClip {Code.OPTIONS._hd443_TPS2} [TPS2]Uses:147
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:151
Symbol 151 MovieClip {Code.OPTIONS._hd443_TFlagDE} [TFlagDE]Uses:150
Symbol 152 MovieClip {Code.OPTIONS._hd443_TSButtonAqua} [TSButtonAqua]
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClip {Code.OPTIONS._hd443_GFish} [GFish]Uses:153Used by:235
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClip {Code.OPTIONS._hd443_TSpeakerOnn} [TSpeakerOnn]Uses:155
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClip {Code.OPTIONS._hd443_GJumper} [GJumper]Uses:157
Symbol 159 GraphicUsed by:161
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClip {Code.OPTIONS._hd443_GAlienBlob5} [GAlienBlob5]Uses:159 22 160
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClip {Code.OPTIONS._hd443_GBlobYellowSwim} [GBlobYellowSwim]Uses:162Used by:230
Symbol 164 Sound {Code.OPTIONS._hd443_TSBulb} [Code.OPTIONS._hd443_TSBulb]
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip {Code.OPTIONS._hd443_TSpeakerOff} [TSpeakerOff]Uses:165
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClip {Code.OPTIONS._hd443_GKey} [GKey]Uses:167Used by:237
Symbol 169 GraphicUsed by:173
Symbol 170 GraphicUsed by:173
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClipUses:171Used by:173
Symbol 173 MovieClip {Code.OPTIONS._hd443_GMainMenu} [GMainMenu]Uses:169 170 172
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:176
Symbol 176 MovieClip {Code.OPTIONS._hd443_TTV2Frame} [TTV2Frame]Uses:175
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClipUses:177Used by:179
Symbol 179 MovieClip {Code.OPTIONS._hd443_TGameFrame} [TGameFrame]Uses:178
Symbol 180 Sound {Code.OPTIONS._hd443_TSClock} [Code.OPTIONS._hd443_TSClock]
Symbol 181 GraphicUsed by:189
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClip {Code.OPTIONS._hd443_GBlobGreen} [GBlobGreen]Uses:182Used by:184 230 246
Symbol 184 MovieClipUses:183Used by:189
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClip {Code.OPTIONS._hd443_GBlobYellow} [GBlobYellow]Uses:185Used by:189 230 246
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:189 237 246 293
Symbol 189 MovieClip {Code.OPTIONS._hd443_GWWin} [GWWin]Uses:181 184 186 188
Symbol 190 Sound {Code.OPTIONS._hd443_TSBlobBlow} [Code.OPTIONS._hd443_TSBlobBlow]
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClipUses:191Used by:193
Symbol 193 MovieClip {Code.OPTIONS._hd443_TScaledFrame} [TScaledFrame]Uses:192
Symbol 194 GraphicUsed by:196
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClip {Code.OPTIONS._hd443_GAlienBlob4} [GAlienBlob4]Uses:194 22 195
Symbol 197 GraphicUsed by:212
Symbol 198 GraphicUsed by:212
Symbol 199 GraphicUsed by:212
Symbol 200 GraphicUsed by:212
Symbol 201 GraphicUsed by:212
Symbol 202 GraphicUsed by:212
Symbol 203 GraphicUsed by:212
Symbol 204 GraphicUsed by:212
Symbol 205 GraphicUsed by:212
Symbol 206 GraphicUsed by:212
Symbol 207 GraphicUsed by:212
Symbol 208 GraphicUsed by:212
Symbol 209 GraphicUsed by:212
Symbol 210 GraphicUsed by:212
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClip {Code.OPTIONS._hd443_MoreGamesText} [MoreGamesText]Uses:197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:215
Symbol 215 MovieClip {Code.OPTIONS._hd443_CurHand} [CursorHand]Uses:214
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClip {Code.OPTIONS._hd443_GGameBg} [GGameBg]Uses:216
Symbol 218 GraphicUsed by:219
Symbol 219 MovieClipUses:218Used by:237
Symbol 220 EditableTextUses:1Used by:237
Symbol 221 TextUses:1Used by:237
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClipUses:222Used by:226
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:226
Symbol 226 MovieClipUses:223 225Used by:237
Symbol 227 TextUses:1Used by:237
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClip {Code.OPTIONS._hd443_GBlobGreenSwim} [GBlobGreenSwim]Uses:228Used by:230
Symbol 230 MovieClipUses:183 229 186 163Used by:237
Symbol 231 TextUses:1Used by:237
Symbol 232 GraphicUsed by:234
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClip {Code.OPTIONS._hd443_GAlienBlob2} [GAlienBlob2]Uses:232 22 233Used by:235
Symbol 235 MovieClipUses:154 234Used by:237
Symbol 236 TextUses:1Used by:237
Symbol 237 MovieClip {Code.OPTIONS._hd443_TInstructions} [TInstructions]Uses:219 220 221 226 227 230 168 231 235 236 188
Symbol 238 Sound {Code.OPTIONS._hd443_TSBg} [Code.OPTIONS._hd443_TSBg]
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClip {Code.OPTIONS._hd443_GDoorOpened} [GDoorOpened]Uses:239
Symbol 241 GraphicUsed by:246
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:244
Symbol 244 MovieClip {Code.OPTIONS._hd443_GCloud} [TCloud]Uses:243Used by:246
Symbol 245 EditableTextUses:1Used by:246
Symbol 246 MovieClip {Code.OPTIONS._hd443_TWComplete} [TWComplete]Uses:241 183 186 188 244 245
Symbol 247 BitmapUsed by:248 260
Symbol 248 GraphicUses:247Used by:249
Symbol 249 MovieClip {Code.OPTIONS._hd443_TButtonAR} [TButtonAR]Uses:248
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClip {Code.OPTIONS._hd443_BG} [BG01]Uses:250
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClip {Code.OPTIONS._hd443_TButtonMount} [TButtonMount]Uses:252
Symbol 254 GraphicUsed by:257
Symbol 255 FontUsed by:256
Symbol 256 TextUses:255Used by:257
Symbol 257 MovieClip {Code.OPTIONS._hd443_TBibaLogo} [TBibaLogo]Uses:254 256
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClip {Code.OPTIONS._hd443_GTrap} [GTrap]Uses:258
Symbol 260 GraphicUses:247Used by:261
Symbol 261 MovieClip {Code.OPTIONS._hd443_TButtonAL} [TButtonAL]Uses:260
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClip {Code.OPTIONS._hd443_GActiveButton} [GActiveButton]Uses:262
Symbol 264 GraphicUsed by:266
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClip {Code.OPTIONS._hd443_GAlienBlob3} [GAlienBlob3]Uses:264 22 265
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClip {Code.OPTIONS._hd443_GWall} [GWall]Uses:267
Symbol 269 Sound {Code.OPTIONS._hd443_TSCollect} [Code.OPTIONS._hd443_TSCollect]
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:272
Symbol 272 MovieClip {Code.OPTIONS._hd443_TFlagENG} [TFlagENG]Uses:271
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClip {Code.OPTIONS._hd443_GWup} [GWup]Uses:273
Symbol 275 GraphicUsed by:279
Symbol 276 GraphicUsed by:279
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClipUses:277Used by:279
Symbol 279 MovieClip {Code.OPTIONS._hd443_GWater} [GWater]Uses:275 276 278
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:282
Symbol 282 MovieClip {Code.OPTIONS._hd443_TCurOpp} [CursorOpp]Uses:281
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClip {Code.OPTIONS._hd443_GBridgeBlock} [GBridgeBlock]Uses:283
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClip {Code.OPTIONS._hd443_TPS3} [TPS3]Uses:285
Symbol 287 GraphicUsed by:289
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClip {Code.OPTIONS._hd443_GHeart} [GHeart]Uses:287 288
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClip {Code.OPTIONS._hd443_GBubble} [GBubble]Uses:290
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClip {Code.OPTIONS._hd443_GWGameOver} [GWGameOver]Uses:292 188
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClipUses:294Used by:296 328
Symbol 296 MovieClip {Code.OPTIONS._hd443_TMusicOnn} [TMusicOnn]Uses:295
Symbol 297 GraphicUsed by:304
Symbol 298 BitmapUsed by:299
Symbol 299 GraphicUses:298Used by:300
Symbol 300 MovieClipUses:299Used by:304
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:301Used by:304
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClipUses:297 300 302 303Used by:324
Symbol 305 GraphicUsed by:306 329
Symbol 306 ButtonUses:305Used by:307
Symbol 307 MovieClipUses:306Used by:324
Symbol 308 GraphicUsed by:312
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClipUses:309Used by:312 323
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:308 310 311Used by:324
Symbol 313 GraphicUsed by:320
Symbol 314 BitmapUsed by:315
Symbol 315 GraphicUses:314Used by:316
Symbol 316 MovieClipUses:315Used by:320
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:320
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClipUses:313 316 318 319Used by:324
Symbol 321 GraphicUsed by:323
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:321 310 322Used by:324
Symbol 324 MovieClip {Code.OPTIONS._hd443_TIntroBg} [TIntroBg]Uses:304 307 312 320 323
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClip {Code.OPTIONS._hd443_GPlatform} [GPlatform]Uses:325
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClip {Code.OPTIONS._hd443_TMusicOff} [TMusicOff]Uses:295 327
Symbol 329 MovieClipUses:305Used by:338
Symbol 330 GraphicUsed by:338
Symbol 331 GraphicUsed by:338
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClipUses:332Used by:338
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClipUses:334Used by:338
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClipUses:336Used by:338
Symbol 338 MovieClip {Code.OPTIONS._hd443_TSplashScreen} [TSplashScreen]Uses:329 330 331 333 335 337
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClip {Code.OPTIONS._hd443_GRuchka} [GRuchka]Uses:339
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClip {Code.OPTIONS._hd443_GDoor} [GDoor]Uses:341
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClip {Code.OPTIONS._hd443_TPS1} [TPS1]Uses:343
Symbol 345 BitmapUsed by:346
Symbol 346 GraphicUses:345Used by:347
Symbol 347 MovieClip {Code.OPTIONS._hd443_TFlagFR} [TFlagFR]Uses:346
Symbol 348 GraphicUsed by:349
Symbol 349 MovieClip {Code.OPTIONS._hd443_GJumperUnactive} [GJumperUnactive]Uses:348

Instance Names

"button_intro"Symbol 307 MovieClip Frame 1Symbol 306 Button
"hitarea"Symbol 324 MovieClip {Code.OPTIONS._hd443_TIntroBg} [TIntroBg] Frame 1Symbol 307 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1457 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 1Symbol 3 as "OFComic"
ExportAssets (56)Timeline Frame 1Symbol 6 as "TBevel"
ExportAssets (56)Timeline Frame 1Symbol 8 as "SmallText"
ExportAssets (56)Timeline Frame 1Symbol 12 as "TPlastic"
ExportAssets (56)Timeline Frame 1Symbol 14 as "TGLamur2"
ExportAssets (56)Timeline Frame 1Symbol 16 as "TBigText"
ExportAssets (56)Timeline Frame 2Symbol 19 as "TFlagRU"
ExportAssets (56)Timeline Frame 2Symbol 20 as "Code.OPTIONS._hd443_TSActiveButton"
ExportAssets (56)Timeline Frame 2Symbol 24 as "GAlienBlob1"
ExportAssets (56)Timeline Frame 2Symbol 125 as "Logos"
ExportAssets (56)Timeline Frame 2Symbol 126 as "Code.OPTIONS._hd443_TSJumper"
ExportAssets (56)Timeline Frame 2Symbol 127 as "Code.OPTIONS._hd443_TSBonus"
ExportAssets (56)Timeline Frame 2Symbol 129 as "GWallB"
ExportAssets (56)Timeline Frame 2Symbol 131 as "GOsnova"
ExportAssets (56)Timeline Frame 2Symbol 134 as "TCursor"
ExportAssets (56)Timeline Frame 2Symbol 143 as "GPlayerBlobComplete"
ExportAssets (56)Timeline Frame 2Symbol 146 as "TTVFrame"
ExportAssets (56)Timeline Frame 2Symbol 148 as "TPS2"
ExportAssets (56)Timeline Frame 2Symbol 151 as "TFlagDE"
ExportAssets (56)Timeline Frame 2Symbol 152 as "TSButtonAqua"
ExportAssets (56)Timeline Frame 2Symbol 154 as "GFish"
ExportAssets (56)Timeline Frame 2Symbol 156 as "TSpeakerOnn"
ExportAssets (56)Timeline Frame 2Symbol 158 as "GJumper"
ExportAssets (56)Timeline Frame 2Symbol 161 as "GAlienBlob5"
ExportAssets (56)Timeline Frame 2Symbol 163 as "GBlobYellowSwim"
ExportAssets (56)Timeline Frame 2Symbol 164 as "Code.OPTIONS._hd443_TSBulb"
ExportAssets (56)Timeline Frame 2Symbol 166 as "TSpeakerOff"
ExportAssets (56)Timeline Frame 2Symbol 168 as "GKey"
ExportAssets (56)Timeline Frame 2Symbol 173 as "GMainMenu"
ExportAssets (56)Timeline Frame 2Symbol 176 as "TTV2Frame"
ExportAssets (56)Timeline Frame 2Symbol 179 as "TGameFrame"
ExportAssets (56)Timeline Frame 2Symbol 180 as "Code.OPTIONS._hd443_TSClock"
ExportAssets (56)Timeline Frame 2Symbol 189 as "GWWin"
ExportAssets (56)Timeline Frame 2Symbol 190 as "Code.OPTIONS._hd443_TSBlobBlow"
ExportAssets (56)Timeline Frame 2Symbol 193 as "TScaledFrame"
ExportAssets (56)Timeline Frame 2Symbol 196 as "GAlienBlob4"
ExportAssets (56)Timeline Frame 2Symbol 212 as "MoreGamesText"
ExportAssets (56)Timeline Frame 2Symbol 215 as "CursorHand"
ExportAssets (56)Timeline Frame 2Symbol 217 as "GGameBg"
ExportAssets (56)Timeline Frame 2Symbol 237 as "TInstructions"
ExportAssets (56)Timeline Frame 2Symbol 238 as "Code.OPTIONS._hd443_TSBg"
ExportAssets (56)Timeline Frame 2Symbol 240 as "GDoorOpened"
ExportAssets (56)Timeline Frame 2Symbol 246 as "TWComplete"
ExportAssets (56)Timeline Frame 2Symbol 249 as "TButtonAR"
ExportAssets (56)Timeline Frame 2Symbol 251 as "BG01"
ExportAssets (56)Timeline Frame 2Symbol 253 as "TButtonMount"
ExportAssets (56)Timeline Frame 2Symbol 234 as "GAlienBlob2"
ExportAssets (56)Timeline Frame 2Symbol 257 as "TBibaLogo"
ExportAssets (56)Timeline Frame 2Symbol 259 as "GTrap"
ExportAssets (56)Timeline Frame 2Symbol 261 as "TButtonAL"
ExportAssets (56)Timeline Frame 2Symbol 263 as "GActiveButton"
ExportAssets (56)Timeline Frame 2Symbol 266 as "GAlienBlob3"
ExportAssets (56)Timeline Frame 2Symbol 186 as "GBlobYellow"
ExportAssets (56)Timeline Frame 2Symbol 268 as "GWall"
ExportAssets (56)Timeline Frame 2Symbol 269 as "Code.OPTIONS._hd443_TSCollect"
ExportAssets (56)Timeline Frame 2Symbol 229 as "GBlobGreenSwim"
ExportAssets (56)Timeline Frame 2Symbol 272 as "TFlagENG"
ExportAssets (56)Timeline Frame 2Symbol 183 as "GBlobGreen"
ExportAssets (56)Timeline Frame 2Symbol 274 as "GWup"
ExportAssets (56)Timeline Frame 2Symbol 137 as "GPlayerBlobNormal"
ExportAssets (56)Timeline Frame 2Symbol 142 as "GPlayerEyes"
ExportAssets (56)Timeline Frame 2Symbol 279 as "GWater"
ExportAssets (56)Timeline Frame 2Symbol 282 as "CursorOpp"
ExportAssets (56)Timeline Frame 2Symbol 284 as "GBridgeBlock"
ExportAssets (56)Timeline Frame 2Symbol 286 as "TPS3"
ExportAssets (56)Timeline Frame 2Symbol 289 as "GHeart"
ExportAssets (56)Timeline Frame 2Symbol 291 as "GBubble"
ExportAssets (56)Timeline Frame 2Symbol 293 as "GWGameOver"
ExportAssets (56)Timeline Frame 2Symbol 296 as "TMusicOnn"
ExportAssets (56)Timeline Frame 2Symbol 324 as "TIntroBg"
ExportAssets (56)Timeline Frame 2Symbol 326 as "GPlatform"
ExportAssets (56)Timeline Frame 2Symbol 328 as "TMusicOff"
ExportAssets (56)Timeline Frame 2Symbol 338 as "TSplashScreen"
ExportAssets (56)Timeline Frame 2Symbol 340 as "GRuchka"
ExportAssets (56)Timeline Frame 2Symbol 342 as "GDoor"
ExportAssets (56)Timeline Frame 2Symbol 344 as "TPS1"
ExportAssets (56)Timeline Frame 2Symbol 244 as "TCloud"
ExportAssets (56)Timeline Frame 2Symbol 347 as "TFlagFR"
ExportAssets (56)Timeline Frame 2Symbol 349 as "GJumperUnactive"
SerialNumber (41)Timeline Frame 1

Labels

"Code__am323"Frame 1
"_ib85"Frame 2




http://swfchan.com/27/130970/info.shtml
Created: 21/2 -2019 19:11:27 Last modified: 21/2 -2019 19:11:27 Server time: 22/12 -2024 09:38:11