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

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

2483.swf

This is the info page for
Flash #107809

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


Text
reset

MORE GAMES

MEER SPELLEN

PLUS DE JEUX

MEHR SPIELE

WIĘCEJ GIER

FLER SPEL

ALTRI GIOCHI

MÁS JUEGOS

MAIS JOGOS

ДРУГИЕ ИГРЫ

PERMAINAN LAINNYA

DAHA FAZLA OYUN

LABIH BANYAK PERMAINAN

Y

A

L

P

My name is Nick and I’m a designer of houses for pets.
Help me to arrange a house for a thrifty hamster.

next

skip

Choose a group and a necessary item.
Place the item in one of the highlighted localities.
Click to delete or to change the order.
When the house is ready release the hamster having clicked on it.

Well done! The
hamster liked his
new home

Play again

Reset

Try again

It’s not comfortable
enough. Try to
improve something.

Click on me when
finished.

Result

Result

ActionScript [AS3]

Section 1
//TweenLite (gs.TweenLite) package gs { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.utils.*; public class TweenLite { public var started:Boolean; public var delay:Number; protected var _hasUpdate:Boolean; protected var _subTweens:Array; public var initted:Boolean; public var startTime:Number; public var forceActive:Boolean; public var duration:Number; protected var _specialVars:Object; public var target:Object; protected var _hst:Boolean; public var gc:Boolean; protected var _isDisplayObject:Boolean; public var tweens:Array; public var vars:Object; public var ease:Function; public var initTime:Number; public var combinedTimeScale:Number; private static var _timer:Timer = new Timer(2000); private static var _classInitted:Boolean; public static var defaultEase:Function = TweenLite.easeOut; public static var version:Number = 9.24; public static var masterList:Dictionary = new Dictionary(false); private static var _sprite:Sprite = new Sprite(); public static var currentTime:uint; public static var overwriteManager:Object; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ if (_arg1 == null){ return; }; if (!_classInitted){ currentTime = getTimer(); _sprite.addEventListener(Event.ENTER_FRAME, executeAll); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _timer.addEventListener("timer", killGarbage); _timer.start(); _classInitted = true; }; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); this.combinedTimeScale = ((_arg3.timeScale) || (1)); this.forceActive = (((_arg2 == 0)) && ((this.delay == 0))); this.target = _arg1; _isDisplayObject = (_arg1 is DisplayObject); if (!(this.vars.ease is Function)){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; this.ease = this.vars.ease; if (!isNaN(Number(this.vars.autoAlpha))){ this.vars.alpha = Number(this.vars.autoAlpha); this.vars.visible = (this.vars.alpha > 0); }; _specialVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars; this.tweens = []; _subTweens = []; _hst = (this.initted = false); this.initTime = currentTime; this.startTime = (this.initTime + (this.delay * 1000)); var _local4:int = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); if ((((masterList[_arg1] == undefined)) || (((!((_arg1 == null))) && ((_local4 == 1)))))){ masterList[_arg1] = []; }; masterList[_arg1].push(this); if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.forceActive))){ initTweenVals(); if (this.forceActive){ render((this.startTime + 1)); } else { render(this.startTime); }; }; } public function get enabled():Boolean{ return (!(this.gc)); } protected function addSubTween(_arg1:String, _arg2:Function, _arg3:Object, _arg4:Object, _arg5:Object=null):void{ var _local6:String; _subTweens[_subTweens.length] = {name:_arg1, proxy:_arg2, target:_arg3, info:_arg5}; for (_local6 in _arg4) { if (typeof(_arg4[_local6]) == "number"){ this.tweens[this.tweens.length] = [_arg3, _local6, _arg3[_local6], (_arg4[_local6] - _arg3[_local6]), _arg1]; } else { this.tweens[this.tweens.length] = [_arg3, _local6, _arg3[_local6], Number(_arg4[_local6]), _arg1]; }; }; _hst = true; } public function render(_arg1:uint):void{ var _local3:Number; var _local4:Object; var _local5:int; var _local2:Number = ((_arg1 - this.startTime) / 1000); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4[0][_local4[1]] = (_local4[2] + (_local3 * _local4[3])); _local5--; }; if (_hst){ _local5 = (_subTweens.length - 1); while (_local5 > -1) { _subTweens[_local5].proxy(_subTweens[_local5], _local2); _local5--; }; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } public function get active():Boolean{ if (this.forceActive){ return (true); }; if (this.gc){ return (false); }; if (currentTime >= this.startTime){ this.started = (this.forceActive = true); if (!this.initted){ initTweenVals(); }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; return (true); //unresolved jump }; return (false); } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function clear():void{ this.tweens = []; _subTweens = []; this.vars = {}; _hst = (_hasUpdate = false); } public function set enabled(_arg1:Boolean):void{ var _local2:Array; var _local3:Boolean; var _local4:int; if (_arg1){ if (masterList[this.target] == undefined){ masterList[this.target] = [this]; } else { _local2 = masterList[this.target]; _local4 = (_local2.length - 1); while (_local4 > -1) { if (_local2[_local4] == this){ _local3 = true; break; }; _local4--; }; if (!_local3){ masterList[this.target].push(this); }; }; } else { if ((this.target is DisplayObject)){ }; }; this.gc = !(_arg1); if (this.gc){ this.forceActive = false; } else { this.forceActive = this.started; }; } public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:String; var _local4:int; var _local5:Array; var _local6:ColorTransform; var _local7:ColorTransform; var _local8:Object; if (((!(_arg1)) && (overwriteManager.enabled))){ overwriteManager.manageOverwrites(this, masterList[this.target]); }; if ((this.target is Array)){ _local5 = ((this.vars.endArray) || ([])); _local4 = 0; while (_local4 < _local5.length) { if (((!((this.target[_local4] == _local5[_local4]))) && (!((this.target[_local4] == undefined))))){ this.tweens[this.tweens.length] = [this.target, _local4.toString(), this.target[_local4], (_local5[_local4] - this.target[_local4]), _local4.toString()]; }; _local4++; }; } else { if (((((!((typeof(_specialVars.tint) == "undefined"))) || ((this.vars.removeTint == true)))) && (_isDisplayObject))){ _local6 = this.target.transform.colorTransform; _local7 = new ColorTransform(); if (_specialVars.alpha != undefined){ _local7.alphaMultiplier = _specialVars.alpha; delete _specialVars.alpha; } else { _local7.alphaMultiplier = this.target.alpha; }; if (((!((this.vars.removeTint == true))) && (((((!((_specialVars.tint == null))) && (!((_specialVars.tint == ""))))) || ((_specialVars.tint == 0)))))){ _local7.color = _specialVars.tint; }; addSubTween("tint", tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local6, endColor:_local7}); }; if (((!((_specialVars.frame == null))) && (_isDisplayObject))){ addSubTween("frame", frameProxy, {frame:this.target.currentFrame}, {frame:_specialVars.frame}, {target:this.target}); }; if (((!(isNaN(this.vars.volume))) && (this.target.hasOwnProperty("soundTransform")))){ addSubTween("volume", volumeProxy, this.target.soundTransform, {volume:this.vars.volume}, {target:this.target}); }; if (((!((_specialVars.visible == null))) && (_isDisplayObject))){ addSubTween("visible", visibleProxy, {}, {}, {tween:this}); }; for (_local3 in _specialVars) { if ((((((((((((((((((((((((((((((((((((((_local3 == "ease")) || ((_local3 == "delay")))) || ((_local3 == "overwrite")))) || ((_local3 == "onComplete")))) || ((_local3 == "onCompleteParams")))) || ((_local3 == "runBackwards")))) || ((_local3 == "visible")))) || ((_local3 == "autoOverwrite")))) || ((_local3 == "persist")))) || ((_local3 == "onUpdate")))) || ((_local3 == "onUpdateParams")))) || ((_local3 == "autoAlpha")))) || ((((_local3 == "timeScale")) && (!((this.target is TweenLite))))))) || ((_local3 == "onStart")))) || ((_local3 == "onStartParams")))) || ((_local3 == "renderOnStart")))) || ((_local3 == "proxiedEase")))) || ((_local3 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local3) + " ")) == -1))))))){ } else { if (((!(((_isDisplayObject) && ((((((_local3 == "tint")) || ((_local3 == "removeTint")))) || ((_local3 == "frame"))))))) && (!((((_local3 == "volume")) && (this.target.hasOwnProperty("soundTransform"))))))){ if (typeof(_specialVars[_local3]) == "number"){ this.tweens[this.tweens.length] = [this.target, _local3, this.target[_local3], (_specialVars[_local3] - this.target[_local3]), _local3]; } else { this.tweens[this.tweens.length] = [this.target, _local3, this.target[_local3], Number(_specialVars[_local3]), _local3]; }; }; }; }; }; if (this.vars.runBackwards == true){ _local4 = (this.tweens.length - 1); while (_local4 > -1) { _local8 = this.tweens[_local4]; _local8[2] = (_local8[2] + _local8[3]); _local8[3] = (_local8[3] * -1); _local4--; }; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; this.initted = true; } public function killVars(_arg1:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, []); }; } public function complete(_arg1:Boolean=false):void{ if (!_arg1){ if (!this.initted){ initTweenVals(); }; this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale)); render(currentTime); return; }; if (this.vars.persist != true){ this.enabled = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function frameProxy(_arg1:Object, _arg2:Number):void{ _arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame)); } public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{ if (_arg1 != null){ if (_arg2){ _arg1.clear(); }; _arg1.enabled = false; }; } public static function visibleProxy(_arg1:Object, _arg2:Number):void{ var _local3:TweenLite = _arg1.info.tween; if (_local3.duration == _arg2){ if (((!((_local3.vars.runBackwards == true))) && ((_local3.ease == _local3.vars.ease)))){ _local3.target.visible = _local3.vars.visible; }; } else { if ((((_arg2 == 0)) && ((_local3.vars.runBackwards == true)))){ _local3.target.visible = _local3.vars.visible; } else { if (_local3.target.visible != true){ _local3.target.visible = true; }; }; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; var _local5:TweenLite; if (((!((_arg1 == null))) && (!((masterList[_arg1] == undefined))))){ _local3 = masterList[_arg1]; _local4 = (_local3.length - 1); while (_local4 > -1) { _local5 = _local3[_local4]; if (((_arg2) && (!(_local5.gc)))){ _local5.complete(false); }; _local5.clear(); _local4--; }; delete masterList[_arg1]; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function executeAll(_arg1:Event=null):void{ var _local4:Array; var _local5:int; var _local2:uint = (currentTime = getTimer()); var _local3:Dictionary = masterList; for each (_local4 in _local3) { _local5 = (_local4.length - 1); while (_local5 > -1) { if (((!((_local4[_local5] == null))) && (_local4[_local5].active))){ _local4[_local5].render(_local2); }; _local5--; }; }; } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function volumeProxy(_arg1:Object, _arg2:Number):void{ _arg1.info.target.soundTransform = _arg1.target; } public static function killGarbage(_arg1:TimerEvent):void{ var _local3:Object; var _local4:Array; var _local5:int; var _local2:Dictionary = masterList; for (_local3 in _local2) { _local4 = _local2[_local3]; _local5 = (_local4.length - 1); while (_local5 > -1) { if (_local4[_local5].gc){ _local4.splice(_local5, 1); }; _local5--; }; if (_local4.length == 0){ delete _local2[_local3]; }; }; } public static function tintProxy(_arg1:Object, _arg2:Number):void{ var _local3:Number = _arg1.target.progress; var _local4:Number = (1 - _local3); var _local5:Object = _arg1.info.color; var _local6:Object = _arg1.info.endColor; _arg1.info.target.transform.colorTransform = new ColorTransform(((_local5.redMultiplier * _local4) + (_local6.redMultiplier * _local3)), ((_local5.greenMultiplier * _local4) + (_local6.greenMultiplier * _local3)), ((_local5.blueMultiplier * _local4) + (_local6.blueMultiplier * _local3)), ((_local5.alphaMultiplier * _local4) + (_local6.alphaMultiplier * _local3)), ((_local5.redOffset * _local4) + (_local6.redOffset * _local3)), ((_local5.greenOffset * _local4) + (_local6.greenOffset * _local3)), ((_local5.blueOffset * _local4) + (_local6.blueOffset * _local3)), ((_local5.alphaOffset * _local4) + (_local6.alphaOffset * _local3))); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 2
//SoundContainer (managers.sound.SoundContainer) package managers.sound { import flash.media.*; public class SoundContainer { public var channel:SoundChannel; public var name:String; public var startTime:int;// = 0 public var sound:Sound; public var loops:int;// = 0 public var position:int;// = 0 public var muted:Boolean;// = false public var transform:SoundTransform; public var paused:Boolean;// = false private var _volume:Number;// = 1 public var type:int; public var pausedByAll:Boolean;// = false public function SoundContainer(_arg1:String, _arg2:Class, _arg3:int=0){ channel = new SoundChannel(); transform = new SoundTransform(1, 0); super(); name = _arg1; sound = new (_arg2); type = _arg3; } public function get volume():Number{ return (_volume); } public function set volume(_arg1:Number):void{ _volume = _arg1; transform.volume = (_volume * (muted) ? 0 : 1); if (channel){ channel.soundTransform = transform; }; } } }//package managers.sound
Section 3
//LinksManager (managers.LinksManager) package managers { import flash.display.*; import flash.net.*; import flash.external.*; public class LinksManager { private static var _isKongregate:Boolean = false; public static var domain:String; public static var initialized:Boolean = false; private static var _isGarbuz:Boolean = false; private static var _isLocal:Boolean = false; private static var allowNetworking:Boolean = true; private static var _isGameLicense:Boolean = false; private static var _showAdFlag:Boolean = false; private static var _isNewGrounds:Boolean = false; private static var stage:Stage; public static function get isGarbuz():Boolean{ return (_isGarbuz); } private static function setDomain(_arg1:String):void{ var _local2:int = (_arg1.indexOf("://") + 3); var _local3:int = _arg1.indexOf("/", _local2); domain = _arg1.substring(_local2, _local3); var _local4:Array = domain.split("."); if (_local4.length == 4){ domain = ((((_local4[1] + ".") + _local4[2]) + ".") + _local4[3]); } else { if (_local4.length == 3){ domain = ((_local4[1] + ".") + _local4[2]); } else { if (_local4.length == 2){ domain = ((_local4[0] + ".") + _local4[1]); }; }; }; domain = ((((domain.length > 0)) && ((domain.indexOf("file://") < 0)))) ? domain : "local"; } public static function init(_arg1:Stage):void{ initialized = true; stage = _arg1; var _local2:String = getDomain(); setDomain(_local2); _isGameLicense = (domain == "flashgamelicense.com"); _isGarbuz = (((domain == "garbuz-studio.com")) || ((domain == "garbuzgames.com"))); _isKongregate = (domain == "kongregate.com"); _isNewGrounds = (domain == "newgrounds.com"); _isLocal = (((domain == "local")) || ((domain == "localhost"))); _isLocal = true; if (((((((_isGarbuz) || (_isGameLicense))) || (_isKongregate))) || (_isNewGrounds))){ _isLocal = false; }; _isLocal = false; } public static function navigateBrand():void{ navigateToURL(new URLRequest(language.url1)); } public static function get showAdFlag():Boolean{ return (_showAdFlag); } public static function navigateGarbuzGames():void{ navigateToURL(new URLRequest("http://garbuzgames.com"), "_blank"); } public static function get isGameLicense():Boolean{ return (_isGameLicense); } public static function get isKongregate():Boolean{ return (_isKongregate); } public static function navigateGarbuzStudio():void{ navigateToURL(new URLRequest("http://garbuz-studio.com"), "_blank"); } public static function get isLocal():Boolean{ return (_isLocal); } public static function getDomain():String{ var url:String; var str:String; var ind:int; try { url = String(ExternalInterface.call("function(){ var afk = document.location.href; return afk; }")); if (url.toString() == "null"){ return (stage.loaderInfo.loaderURL); }; return (url); } catch(e:Error) { str = e.toString(); ind = str.lastIndexOf("://"); if (ind >= 0){ return (str.substring(ind)); }; }; return (stage.loaderInfo.loaderURL); } public static function navigateMoreGames():void{ navigateToURL(new URLRequest("http://garbuzgames.com"), "_blank"); } } }//package managers
Section 4
//SoundManager (managers.SoundManager) package managers { import flash.media.*; import managers.sound.*; import flash.utils.*; import gs.*; import flash.net.*; public class SoundManager { private var _muteMusic:Boolean;// = false private var soundTransform:SoundTransform; private var _volume:Number;// = 1 private var _effectsVolume:Number;// = 1 private var _soundsDict:Dictionary; private var _musicVolume:Number;// = 1 private var _sounds:Array; private var _muteEffects:Boolean;// = false private var _mute:Boolean;// = false private static var _instance:SoundManager; private static var _allowInstance:Boolean; public function SoundManager(){ this._soundsDict = new Dictionary(true); this._sounds = new Array(); } public function get isMuteMusic():Boolean{ return (_muteMusic); } public function get isMute():Boolean{ return (_mute); } public function getSoundObject(_arg1:String):Sound{ return (this._soundsDict[_arg1].sound); } public function muteMusic(_arg1:Boolean):void{ trace("muteMusic"); _muteMusic = _arg1; var _local2:int; while (_local2 < this._sounds.length) { if (this._sounds[_local2].type == 1){ this._sounds[_local2].muted = _muteMusic; this.setSoundVolume(this._sounds[_local2].name, (_muteMusic) ? 0 : _musicVolume); }; _local2++; }; } public function init():void{ var _local1:Array = [bgsound, hourseSound, showmenusound, buttonSound, dropSound]; var _local2:int; while (_local2 < _local1.length) { addLibrarySound(_local1[_local2], getQualifiedClassName(_local1[_local2])); _local2++; }; } public function isSoundPaused(_arg1:String):Boolean{ return (this._soundsDict[_arg1].paused); } public function getSoundDuration(_arg1:String):Number{ return (this._soundsDict[_arg1].sound.length); } public function mute(_arg1:Boolean):void{ _mute = _arg1; } public function get musicVolume():Number{ return (_musicVolume); } public function removeAllSounds():void{ var _local1:int; while (_local1 < this._sounds.length) { this._sounds[_local1] = null; _local1++; }; this._sounds = new Array(); this._soundsDict = new Dictionary(true); } public function getSoundPosition(_arg1:String):Number{ return (this._soundsDict[_arg1].channel.position); } public function set effectsVolume(_arg1:Number):void{ _effectsVolume = _arg1; var _local2:int; while (_local2 < this._sounds.length) { if (this._sounds[_local2].type == 0){ this.setSoundVolume(this._sounds[_local2].name, _effectsVolume); }; _local2++; }; } public function get isMuteEffects():Boolean{ return (_muteEffects); } public function getSoundContainer(_arg1:String):SoundContainer{ return (this._soundsDict[_arg1]); } public function muteEffects(_arg1:Boolean):void{ _muteEffects = _arg1; var _local2:int; while (_local2 < this._sounds.length) { if (this._sounds[_local2].type == 0){ this._sounds[_local2].muted = _muteEffects; this.setSoundVolume(this._sounds[_local2].name, (_muteEffects) ? 0 : _effectsVolume); }; _local2++; }; } public function muteAllSounds():void{ var _local1:int; while (_local1 < this._sounds.length) { this.setSoundVolume(this._sounds[_local1].name, 0); _local1++; }; } public function stopSound(_arg1:String):void{ var _local2:SoundContainer = this._soundsDict[_arg1]; _local2.paused = true; if (_local2.channel){ _local2.channel.stop(); _local2.position = _local2.channel.position; }; } public function get volume():Number{ return (_volume); } public function unmuteAllSounds():void{ var _local2:String; var _local3:Object; var _local4:SoundTransform; var _local1:int; while (_local1 < this._sounds.length) { _local2 = this._sounds[_local1].name; _local3 = this._soundsDict[_local2]; _local4 = _local3.channel.soundTransform; _local4.volume = _local3.volume; _local3.channel.soundTransform = _local4; _local1++; }; } public function set volume(_arg1:Number):void{ _volume = _arg1; } public function playSound(_arg1:String, _arg2:Number=-1, _arg3:Number=0, _arg4:int=0):void{ var _local5:SoundContainer = this._soundsDict[_arg1]; if ((((_local5.type == 0)) && (_muteEffects))){ return; }; if ((((_local5.type == 1)) && (_muteMusic))){ return; }; _local5.volume = ((_arg2)==-1) ? ((_local5.type)==0) ? _effectsVolume : _musicVolume : _arg2; _local5.startTime = _arg3; _local5.loops = _arg4; _local5.channel = _local5.sound.play(_arg3, _local5.loops, _local5.transform); _local5.paused = false; } public function get effectsVolume():Number{ return (_effectsVolume); } public function set musicVolume(_arg1:Number):void{ _musicVolume = _arg1; var _local2:int; while (_local2 < this._sounds.length) { if (this._sounds[_local2].type == 1){ this.setSoundVolume(this._sounds[_local2].name, _musicVolume); }; _local2++; }; } public function stopAllEffects():void{ var _local1:int; while (_local1 < this._sounds.length) { if (this._sounds[_local1].type == 0){ this.stopSound(this._sounds[_local1].name); }; _local1++; }; } public function get sounds():Array{ return (this._sounds); } public function setSoundVolume(_arg1:String, _arg2:Number):void{ var _local3:Object = this._soundsDict[_arg1]; _local3.volume = _arg2; } public function pauseSound(_arg1:String):void{ var _local2:Object = this._soundsDict[_arg1]; _local2.paused = true; _local2.position = _local2.channel.position; _local2.channel.stop(); } public function getSoundVolume(_arg1:String):Number{ return (this._soundsDict[_arg1].channel.soundTransform.volume); } public function addLibrarySound(_arg1, _arg2:String, _arg3:int=0):Boolean{ var _local4:int; while (_local4 < this._sounds.length) { if (this._sounds[_local4].name == _arg2){ return (false); }; _local4++; }; var _local5:SoundContainer = new SoundContainer(_arg2, _arg1, _arg3); this._soundsDict[_arg2] = _local5; this._sounds.push(_local5); return (true); } public function stopAllSounds(_arg1:Boolean=true):void{ var _local3:String; var _local2:int; while (_local2 < this._sounds.length) { _local3 = this._sounds[_local2].name; if (_arg1){ if (!this._soundsDict[_local3].paused){ this._soundsDict[_local3].pausedByAll = true; this.stopSound(_local3); }; } else { this.stopSound(_local3); }; _local2++; }; } public function removeSound(_arg1:String):void{ var _local2:int; while (_local2 < this._sounds.length) { if (this._sounds[_local2].name == _arg1){ this._sounds[_local2] = null; this._sounds.splice(_local2, 1); }; _local2++; }; delete this._soundsDict[_arg1]; } public function pauseAllSounds(_arg1:Boolean=true):void{ var _local3:String; var _local2:int; while (_local2 < this._sounds.length) { _local3 = this._sounds[_local2].name; if (_arg1){ if (!this._soundsDict[_local3].paused){ this._soundsDict[_local3].pausedByAll = true; this.pauseSound(_local3); }; } else { this.pauseSound(_local3); }; _local2++; }; } public function fadeSound(_arg1:String, _arg2:Number=0, _arg3:Number=1):void{ if (!this._soundsDict[_arg1]){ throw (new Error("no sound found")); }; TweenLite.to(this._soundsDict[_arg1], _arg3, {volume:_arg2}); } public function isSoundPausedByAll(_arg1:String):Boolean{ return (this._soundsDict[_arg1].pausedByAll); } public function playAllSounds(_arg1:Boolean=false):void{ var _local3:String; var _local2:int; while (_local2 < this._sounds.length) { _local3 = this._sounds[_local2].name; if (_arg1){ if (this._soundsDict[_local3].pausedByAll){ this._soundsDict[_local3].pausedByAll = false; this.playSound(_local3); }; } else { this.playSound(_local3); }; _local2++; }; } public function addExternalSound(_arg1:String, _arg2:String, _arg3:Number=1000, _arg4:Boolean=false):Boolean{ var _local5:int; while (_local5 < this._sounds.length) { if (this._sounds[_local5].name == _arg2){ return (false); }; _local5++; }; var _local6:Object = new Object(); var _local7:Sound = new Sound(new URLRequest(_arg1), new SoundLoaderContext(_arg3, _arg4)); _local6.name = _arg2; _local6.sound = _local7; _local6.channel = new SoundChannel(); _local6.position = 0; _local6.paused = true; _local6.volume = 1; _local6.startTime = 0; _local6.loops = 0; _local6.pausedByAll = false; this._soundsDict[_arg2] = _local6; this._sounds.push(_local6); return (true); } } }//package managers
Section 5
//EdgeMetrics (mx.core.EdgeMetrics) package mx.core { public class EdgeMetrics { public var top:Number; public var left:Number; public var bottom:Number; public var right:Number; mx_internal static const VERSION:String = "3.3.0.4852"; public static const 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 6
//FlexLoader (mx.core.FlexLoader) package mx.core { import flash.display.*; import mx.utils.*; public class FlexLoader extends Loader { mx_internal static const VERSION:String = "3.3.0.4852"; 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 7
//FlexShape (mx.core.FlexShape) package mx.core { import flash.display.*; import mx.utils.*; public class FlexShape extends Shape { mx_internal static const VERSION:String = "3.3.0.4852"; 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 8
//FlexVersion (mx.core.FlexVersion) package mx.core { import mx.resources.*; public class FlexVersion { public static const VERSION_2_0_1:uint = 33554433; public static const CURRENT_VERSION:uint = 50331648; public static const VERSION_3_0:uint = 50331648; public static const VERSION_2_0:uint = 33554432; public static const VERSION_ALREADY_READ:String = "versionAlreadyRead"; public static const VERSION_ALREADY_SET:String = "versionAlreadySet"; mx_internal static const VERSION:String = "3.3.0.4852"; private static var compatibilityVersionChanged:Boolean = false; private static var _compatibilityErrorFunction:Function; private static var _compatibilityVersion:uint = 50331648; private static var compatibilityVersionRead:Boolean = false; mx_internal static function changeCompatibilityVersionString(_arg1:String):void{ var _local2:Array = _arg1.split("."); var _local3:uint = parseInt(_local2[0]); var _local4:uint = parseInt(_local2[1]); var _local5:uint = parseInt(_local2[2]); _compatibilityVersion = (((_local3 << 24) + (_local4 << 16)) + _local5); } public static function set compatibilityVersion(_arg1:uint):void{ var _local2:String; if (_arg1 == _compatibilityVersion){ return; }; if (compatibilityVersionChanged){ if (compatibilityErrorFunction == null){ _local2 = ResourceManager.getInstance().getString("core", VERSION_ALREADY_SET); throw (new Error(_local2)); }; compatibilityErrorFunction(_arg1, VERSION_ALREADY_SET); }; if (compatibilityVersionRead){ if (compatibilityErrorFunction == null){ _local2 = ResourceManager.getInstance().getString("core", VERSION_ALREADY_READ); throw (new Error(_local2)); }; compatibilityErrorFunction(_arg1, VERSION_ALREADY_READ); }; _compatibilityVersion = _arg1; compatibilityVersionChanged = true; } public static function get compatibilityVersion():uint{ compatibilityVersionRead = true; return (_compatibilityVersion); } public static function set compatibilityErrorFunction(_arg1:Function):void{ _compatibilityErrorFunction = _arg1; } public static function set compatibilityVersionString(_arg1:String):void{ var _local2:Array = _arg1.split("."); var _local3:uint = parseInt(_local2[0]); var _local4:uint = parseInt(_local2[1]); var _local5:uint = parseInt(_local2[2]); compatibilityVersion = (((_local3 << 24) + (_local4 << 16)) + _local5); } public static function get compatibilityErrorFunction():Function{ return (_compatibilityErrorFunction); } public static function get compatibilityVersionString():String{ var _local1:uint = ((compatibilityVersion >> 24) & 0xFF); var _local2:uint = ((compatibilityVersion >> 16) & 0xFF); var _local3:uint = (compatibilityVersion & 0xFFFF); return (((((_local1.toString() + ".") + _local2.toString()) + ".") + _local3.toString())); } } }//package mx.core
Section 9
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 10
//IButton (mx.core.IButton) package mx.core { public interface IButton extends IUIComponent { function get emphasized():Boolean; function set emphasized(_arg1:Boolean):void; function callLater(_arg1:Function, _arg2:Array=null):void; } }//package mx.core
Section 11
//IChildList (mx.core.IChildList) package mx.core { import flash.geom.*; import flash.display.*; public interface IChildList { function get numChildren():int; function removeChild(_arg1:DisplayObject):DisplayObject; 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 setChildIndex(_arg1:DisplayObject, _arg2:int):void; function getChildAt(_arg1:int):DisplayObject; function addChild(_arg1:DisplayObject):DisplayObject; function contains(_arg1:DisplayObject):Boolean; } }//package mx.core
Section 12
//IContainer (mx.core.IContainer) package mx.core { import flash.geom.*; import flash.display.*; import mx.managers.*; import flash.media.*; import flash.text.*; public interface IContainer extends IUIComponent { function set hitArea(_arg1:Sprite):void; function swapChildrenAt(_arg1:int, _arg2:int):void; function getChildByName(_arg1:String):DisplayObject; function get doubleClickEnabled():Boolean; function get graphics():Graphics; function get useHandCursor():Boolean; function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject; function set mouseChildren(_arg1:Boolean):void; function set creatingContentPane(_arg1:Boolean):void; function get textSnapshot():TextSnapshot; function getChildIndex(_arg1:DisplayObject):int; function set doubleClickEnabled(_arg1:Boolean):void; function getObjectsUnderPoint(_arg1:Point):Array; function get creatingContentPane():Boolean; function setChildIndex(_arg1:DisplayObject, _arg2:int):void; function get soundTransform():SoundTransform; function set useHandCursor(_arg1:Boolean):void; function get numChildren():int; function contains(_arg1:DisplayObject):Boolean; function get verticalScrollPosition():Number; function set defaultButton(_arg1:IFlexDisplayObject):void; function swapChildren(_arg1:DisplayObject, _arg2:DisplayObject):void; function set horizontalScrollPosition(_arg1:Number):void; function get focusManager():IFocusManager; function startDrag(_arg1:Boolean=false, _arg2:Rectangle=null):void; function set mouseEnabled(_arg1:Boolean):void; function getChildAt(_arg1:int):DisplayObject; function set soundTransform(_arg1:SoundTransform):void; function get tabChildren():Boolean; function get tabIndex():int; function set focusRect(_arg1:Object):void; function get hitArea():Sprite; function get mouseChildren():Boolean; function removeChildAt(_arg1:int):DisplayObject; function get defaultButton():IFlexDisplayObject; function stopDrag():void; function set tabEnabled(_arg1:Boolean):void; function get horizontalScrollPosition():Number; function get focusRect():Object; function get viewMetrics():EdgeMetrics; function set verticalScrollPosition(_arg1:Number):void; function get dropTarget():DisplayObject; function get mouseEnabled():Boolean; function set tabChildren(_arg1:Boolean):void; function set buttonMode(_arg1:Boolean):void; function get tabEnabled():Boolean; function get buttonMode():Boolean; function removeChild(_arg1:DisplayObject):DisplayObject; function set tabIndex(_arg1:int):void; function addChild(_arg1:DisplayObject):DisplayObject; function areInaccessibleObjectsUnderPoint(_arg1:Point):Boolean; } }//package mx.core
Section 13
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.accessibility.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 14
//IFlexModuleFactory (mx.core.IFlexModuleFactory) package mx.core { public interface IFlexModuleFactory { function create(... _args):Object; function info():Object; } }//package mx.core
Section 15
//IInvalidating (mx.core.IInvalidating) package mx.core { public interface IInvalidating { function validateNow():void; function invalidateSize():void; function invalidateDisplayList():void; function invalidateProperties():void; } }//package mx.core
Section 16
//IProgrammaticSkin (mx.core.IProgrammaticSkin) package mx.core { public interface IProgrammaticSkin { function validateNow():void; function validateDisplayList():void; } }//package mx.core
Section 17
//IRawChildrenContainer (mx.core.IRawChildrenContainer) package mx.core { public interface IRawChildrenContainer { function get rawChildren():IChildList; } }//package mx.core
Section 18
//IRectangularBorder (mx.core.IRectangularBorder) package mx.core { import flash.geom.*; public interface IRectangularBorder extends IBorder { function get backgroundImageBounds():Rectangle; function get hasBackgroundImage():Boolean; function set backgroundImageBounds(_arg1:Rectangle):void; function layoutBackgroundImage():void; } }//package mx.core
Section 19
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 20
//ISWFBridgeGroup (mx.core.ISWFBridgeGroup) package mx.core { import flash.events.*; public interface ISWFBridgeGroup { function getChildBridgeProvider(_arg1:IEventDispatcher):ISWFBridgeProvider; function removeChildBridge(_arg1:IEventDispatcher):void; function get parentBridge():IEventDispatcher; function addChildBridge(_arg1:IEventDispatcher, _arg2:ISWFBridgeProvider):void; function set parentBridge(_arg1:IEventDispatcher):void; function containsBridge(_arg1:IEventDispatcher):Boolean; function getChildBridges():Array; } }//package mx.core
Section 21
//ISWFBridgeProvider (mx.core.ISWFBridgeProvider) package mx.core { import flash.events.*; public interface ISWFBridgeProvider { function get childAllowsParent():Boolean; function get swfBridge():IEventDispatcher; function get parentAllowsChild():Boolean; } }//package mx.core
Section 22
//IUIComponent (mx.core.IUIComponent) package mx.core { import flash.display.*; import mx.managers.*; public interface IUIComponent extends IFlexDisplayObject { function set focusPane(_arg1:Sprite):void; function get enabled():Boolean; function set enabled(_arg1:Boolean):void; function set isPopUp(_arg1:Boolean):void; function get explicitMinHeight():Number; function get percentWidth():Number; function get isPopUp():Boolean; function get owner():DisplayObjectContainer; function get percentHeight():Number; function get baselinePosition():Number; function owns(_arg1:DisplayObject):Boolean; function initialize():void; function get maxWidth():Number; function get minWidth():Number; function getExplicitOrMeasuredWidth():Number; function get explicitMaxWidth():Number; function get explicitMaxHeight():Number; function set percentHeight(_arg1:Number):void; function get minHeight():Number; function set percentWidth(_arg1:Number):void; function get document():Object; function get focusPane():Sprite; function getExplicitOrMeasuredHeight():Number; function set tweeningProperties(_arg1:Array):void; function set explicitWidth(_arg1:Number):void; function set measuredMinHeight(_arg1:Number):void; function get explicitMinWidth():Number; function get tweeningProperties():Array; function get maxHeight():Number; function set owner(_arg1:DisplayObjectContainer):void; function set includeInLayout(_arg1:Boolean):void; function setVisible(_arg1:Boolean, _arg2:Boolean=false):void; function parentChanged(_arg1:DisplayObjectContainer):void; function get explicitWidth():Number; function get measuredMinHeight():Number; function set measuredMinWidth(_arg1:Number):void; 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 set document(_arg1:Object):void; function get systemManager():ISystemManager; } }//package mx.core
Section 23
//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 24
//Singleton (mx.core.Singleton) package mx.core { public class Singleton { mx_internal static const VERSION:String = "3.3.0.4852"; private static var classMap:Object = {}; public static function registerClass(_arg1:String, _arg2:Class):void{ var _local3:Class = classMap[_arg1]; if (!_local3){ classMap[_arg1] = _arg2; }; } public static function getClass(_arg1:String):Class{ return (classMap[_arg1]); } public static function getInstance(_arg1:String):Object{ var _local2:Class = classMap[_arg1]; if (!_local2){ throw (new Error((("No class registered for interface '" + _arg1) + "'."))); }; return (_local2["getInstance"]()); } } }//package mx.core
Section 25
//UIComponentGlobals (mx.core.UIComponentGlobals) package mx.core { import flash.geom.*; import flash.display.*; 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; private static var _catchCallLaterExceptions:Boolean = false; public static function set catchCallLaterExceptions(_arg1:Boolean):void{ _catchCallLaterExceptions = _arg1; } public static function get designMode():Boolean{ return (designTime); } public static function set designMode(_arg1:Boolean):void{ designTime = _arg1; } public static function get catchCallLaterExceptions():Boolean{ return (_catchCallLaterExceptions); } } }//package mx.core
Section 26
//ModuleEvent (mx.events.ModuleEvent) package mx.events { import flash.events.*; import mx.core.*; import mx.modules.*; public class ModuleEvent extends ProgressEvent { public var errorText:String; private var _module:IModuleInfo; public static const READY:String = "ready"; public static const ERROR:String = "error"; public static const PROGRESS:String = "progress"; mx_internal static const VERSION:String = "3.3.0.4852"; public static const SETUP:String = "setup"; public static const UNLOAD:String = "unload"; public function ModuleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null, _arg7:IModuleInfo=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; this._module = _arg7; } public function get module():IModuleInfo{ if (_module){ return (_module); }; return ((target as IModuleInfo)); } override public function clone():Event{ return (new ModuleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText, module)); } } }//package mx.events
Section 27
//ResourceEvent (mx.events.ResourceEvent) package mx.events { import flash.events.*; import mx.core.*; public class ResourceEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "3.3.0.4852"; public static const COMPLETE:String = "complete"; public static const PROGRESS:String = "progress"; public static const ERROR:String = "error"; public function ResourceEvent(_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 ResourceEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 28
//StyleEvent (mx.events.StyleEvent) package mx.events { import flash.events.*; import mx.core.*; public class StyleEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "3.3.0.4852"; 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 29
//RectangularDropShadow (mx.graphics.RectangularDropShadow) package mx.graphics { import mx.core.*; import flash.geom.*; import flash.display.*; import flash.filters.*; import mx.utils.*; public class RectangularDropShadow { private var leftShadow:BitmapData; private var _tlRadius:Number;// = 0 private var _trRadius: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 bottomShadow:BitmapData; private var changed:Boolean;// = true mx_internal static const VERSION:String = "3.3.0.4852"; 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 _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); var _local6:int = (leftShadow) ? leftShadow.width : 0; var _local7:int = (rightShadow) ? rightShadow.width : 0; var _local8:int = (topShadow) ? topShadow.height : 0; var _local9:int = (bottomShadow) ? bottomShadow.height : 0; var _local10:int = (_local6 + _local7); var _local11:int = (_local8 + _local9); var _local12:Number = ((_arg5 + _local11) / 2); var _local13:Number = ((_arg4 + _local10) / 2); var _local14:Matrix = 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 brRadius():Number{ return (_brRadius); } public function get angle():Number{ return (_angle); } private function createShadowBitmaps():void{ var _local1:Number = ((Math.max(tlRadius, blRadius) + (2 * distance)) + Math.max(trRadius, brRadius)); var _local2:Number = ((Math.max(tlRadius, trRadius) + (2 * distance)) + Math.max(blRadius, brRadius)); if ((((_local1 < 0)) || ((_local2 < 0)))){ return; }; var _local3:Shape = new FlexShape(); var _local4:Graphics = _local3.graphics; _local4.beginFill(0xFFFFFF); GraphicsUtil.drawRoundRectComplex(_local4, 0, 0, _local1, _local2, tlRadius, trRadius, blRadius, brRadius); _local4.endFill(); var _local5:BitmapData = new BitmapData(_local1, _local2, true, 0); _local5.draw(_local3, new Matrix()); var _local6:DropShadowFilter = new DropShadowFilter(distance, angle, color, alpha); _local6.knockout = true; var _local7:Rectangle = new Rectangle(0, 0, _local1, _local2); var _local8:Rectangle = _local5.generateFilterRect(_local7, _local6); var _local9:Number = (_local7.left - _local8.left); var _local10:Number = (_local8.right - _local7.right); var _local11:Number = (_local7.top - _local8.top); var _local12:Number = (_local8.bottom - _local7.bottom); shadow = new BitmapData(_local8.width, _local8.height); shadow.applyFilter(_local5, _local7, new Point(_local9, _local11), _local6); var _local13:Point = new Point(0, 0); var _local14:Rectangle = 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 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 trRadius(_arg1:Number):void{ if (_trRadius != _arg1){ _trRadius = _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 30
//IFocusManager (mx.managers.IFocusManager) package mx.managers { import flash.events.*; import mx.core.*; import flash.display.*; public interface IFocusManager { function get focusPane():Sprite; function getFocus():IFocusManagerComponent; function deactivate():void; function set defaultButton(_arg1:IButton):void; function set focusPane(_arg1:Sprite):void; function set showFocusIndicator(_arg1:Boolean):void; function moveFocus(_arg1:String, _arg2:DisplayObject=null):void; function addSWFBridge(_arg1:IEventDispatcher, _arg2:DisplayObject):void; function removeSWFBridge(_arg1:IEventDispatcher):void; function get defaultButtonEnabled():Boolean; function findFocusManagerComponent(_arg1:InteractiveObject):IFocusManagerComponent; function get nextTabIndex():int; function get defaultButton():IButton; function get showFocusIndicator():Boolean; function setFocus(_arg1:IFocusManagerComponent):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function getNextFocusManagerComponent(_arg1:Boolean=false):IFocusManagerComponent; } }//package mx.managers
Section 31
//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 32
//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 33
//ILayoutManager (mx.managers.ILayoutManager) package mx.managers { import flash.events.*; public interface ILayoutManager extends IEventDispatcher { function validateNow():void; function validateClient(_arg1:ILayoutManagerClient, _arg2:Boolean=false):void; function isInvalid():Boolean; function invalidateDisplayList(_arg1:ILayoutManagerClient):void; function set usePhasedInstantiation(_arg1:Boolean):void; function invalidateSize(_arg1:ILayoutManagerClient):void; function get usePhasedInstantiation():Boolean; function invalidateProperties(_arg1:ILayoutManagerClient):void; } }//package mx.managers
Section 34
//ILayoutManagerClient (mx.managers.ILayoutManagerClient) package mx.managers { import flash.events.*; public interface ILayoutManagerClient extends IEventDispatcher { function get updateCompletePendingFlag():Boolean; function set updateCompletePendingFlag(_arg1:Boolean):void; function set initialized(_arg1:Boolean):void; function validateProperties():void; function validateDisplayList():void; function get nestLevel():int; function get initialized():Boolean; function get processedDescriptors():Boolean; function validateSize(_arg1:Boolean=false):void; function set nestLevel(_arg1:int):void; function set processedDescriptors(_arg1:Boolean):void; } }//package mx.managers
Section 35
//ISystemManager (mx.managers.ISystemManager) package mx.managers { import flash.events.*; import mx.core.*; import flash.geom.*; import flash.display.*; import flash.text.*; public interface ISystemManager extends IEventDispatcher, IChildList, IFlexModuleFactory { function set focusPane(_arg1:Sprite):void; function get toolTipChildren():IChildList; function useSWFBridge():Boolean; function isFontFaceEmbedded(_arg1:TextFormat):Boolean; function deployMouseShields(_arg1:Boolean):void; function get rawChildren():IChildList; function get topLevelSystemManager():ISystemManager; function dispatchEventFromSWFBridges(_arg1:Event, _arg2:IEventDispatcher=null, _arg3:Boolean=false, _arg4:Boolean=false):void; function getSandboxRoot():DisplayObject; function get swfBridgeGroup():ISWFBridgeGroup; function removeFocusManager(_arg1:IFocusManagerContainer):void; function addChildToSandboxRoot(_arg1:String, _arg2:DisplayObject):void; function get document():Object; function get focusPane():Sprite; function get loaderInfo():LoaderInfo; function addChildBridge(_arg1:IEventDispatcher, _arg2:DisplayObject):void; function getTopLevelRoot():DisplayObject; function removeChildBridge(_arg1:IEventDispatcher):void; function isDisplayObjectInABridgedApplication(_arg1:DisplayObject):Boolean; function get popUpChildren():IChildList; function get screen():Rectangle; function removeChildFromSandboxRoot(_arg1:String, _arg2:DisplayObject):void; function getDefinitionByName(_arg1:String):Object; function activate(_arg1:IFocusManagerContainer):void; function deactivate(_arg1:IFocusManagerContainer):void; function get cursorChildren():IChildList; function set document(_arg1:Object):void; function get embeddedFontList():Object; function set numModalWindows(_arg1:int):void; function isTopLevel():Boolean; function isTopLevelRoot():Boolean; function get numModalWindows():int; function addFocusManager(_arg1:IFocusManagerContainer):void; function get stage():Stage; function getVisibleApplicationRect(_arg1:Rectangle=null):Rectangle; } }//package mx.managers
Section 36
//SystemManagerGlobals (mx.managers.SystemManagerGlobals) package mx.managers { public class SystemManagerGlobals { public static var topLevelSystemManagers:Array = []; public static var changingListenersInOtherSystemManagers:Boolean; public static var bootstrapLoaderInfoURL:String; public static var showMouseCursor:Boolean; } }//package mx.managers
Section 37
//IModuleInfo (mx.modules.IModuleInfo) package mx.modules { import flash.events.*; import mx.core.*; import flash.system.*; import flash.utils.*; public interface IModuleInfo extends IEventDispatcher { function get ready():Boolean; function get loaded():Boolean; function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null, _arg3:ByteArray=null):void; function release():void; function get error():Boolean; function get data():Object; function publish(_arg1:IFlexModuleFactory):void; function get factory():IFlexModuleFactory; function set data(_arg1:Object):void; function get url():String; function get setup():Boolean; function unload():void; } }//package mx.modules
Section 38
//ModuleManager (mx.modules.ModuleManager) package mx.modules { import mx.core.*; public class ModuleManager { mx_internal static const VERSION:String = "3.3.0.4852"; 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.display.*; import flash.system.*; import mx.events.*; import flash.utils.*; import flash.net.*; class ModuleInfoProxy extends EventDispatcher implements IModuleInfo { private var _data:Object; private var info:ModuleInfo; private var referenced:Boolean;// = false private function ModuleInfoProxy(_arg1:ModuleInfo){ this.info = _arg1; _arg1.addEventListener(ModuleEvent.SETUP, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.ERROR, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.UNLOAD, moduleEventHandler, false, 0, true); } public function get loaded():Boolean{ return (info.loaded); } public function release():void{ if (referenced){ info.removeReference(); referenced = false; }; } public function get error():Boolean{ return (info.error); } public function get factory():IFlexModuleFactory{ return (info.factory); } public function publish(_arg1:IFlexModuleFactory):void{ info.publish(_arg1); } public function set data(_arg1:Object):void{ _data = _arg1; } public function get ready():Boolean{ return (info.ready); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null, _arg3:ByteArray=null):void{ var _local4: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){ _local4 = new ModuleEvent(ModuleEvent.PROGRESS); _local4.bytesLoaded = info.size; _local4.bytesTotal = info.size; dispatchEvent(_local4); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); }; }; } else { info.load(_arg1, _arg2, _arg3); }; }; } private function moduleEventHandler(_arg1:ModuleEvent):void{ dispatchEvent(_arg1); } public function get url():String{ return (info.url); } public function get data():Object{ return (_data); } 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 = (moduleList[_arg1] as ModuleInfo); if (!_local2){ _local2 = new ModuleInfo(_arg1); moduleList[_arg1] = _local2; }; return (new ModuleInfoProxy(_local2)); } public function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ var m:Object; var info:ModuleInfo; var domain:ApplicationDomain; var cls:Class; var object = _arg1; var className:String = getQualifiedClassName(object); for each (m in moduleList) { info = (m as ModuleInfo); 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 factoryInfo:FactoryInfo; private var limbo:Dictionary; private var _loaded:Boolean;// = false private var _ready:Boolean;// = false private var numReferences:int;// = 0 private var _url:String; private var _setup:Boolean;// = false private function ModuleInfo(_arg1:String){ _url = _arg1; } 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); loader.content.removeEventListener("error", moduleErrorHandler); }; } catch(error:Error) { }; if (_loaded){ try { loader.close(); } catch(error:Error) { }; }; try { loader.unload(); } catch(error:Error) { }; loader = null; }; } public function get size():int{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.bytesTotal : 0); } public function get loaded():Boolean{ return ((limbo) ? false : _loaded); } public function release():void{ if (((_ready) && (!(limbo)))){ limbo = new Dictionary(true); limbo[factoryInfo] = 1; factoryInfo = null; } else { unload(); }; } public function get error():Boolean{ return ((limbo) ? false : _error); } public function get factory():IFlexModuleFactory{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.factory : null); } public function completeHandler(_arg1:Event):void{ var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; _local2.bytesTotal = loader.contentLoaderInfo.bytesTotal; dispatchEvent(_local2); } 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); loader.content.addEventListener("error", moduleErrorHandler); 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 FactoryInfo); 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{ _error = true; var _local2:ModuleEvent = 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); } private function loadBytes(_arg1:ApplicationDomain, _arg2:ByteArray):void{ var _local3:LoaderContext = new LoaderContext(); _local3.applicationDomain = (_arg1) ? _arg1 : new ApplicationDomain(ApplicationDomain.currentDomain); if (("allowLoadBytesCodeExecution" in _local3)){ _local3["allowLoadBytesCodeExecution"] = true; }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); loader.loadBytes(_arg2, _local3); } public function removeReference():void{ numReferences--; if (numReferences == 0){ release(); }; } public function addReference():void{ numReferences++; } public function progressHandler(_arg1:ProgressEvent):void{ var _local2:ModuleEvent = 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, _arg3:ByteArray=null):void{ if (_loaded){ return; }; _loaded = true; limbo = null; if (_arg3){ loadBytes(_arg1, _arg3); return; }; if (_url.indexOf("published://") == 0){ return; }; var _local4:URLRequest = new URLRequest(_url); var _local5:LoaderContext = new LoaderContext(); _local5.applicationDomain = (_arg1) ? _arg1 : new ApplicationDomain(ApplicationDomain.currentDomain); _local5.securityDomain = _arg2; if ((((_arg2 == null)) && ((Security.sandboxType == Security.REMOTE)))){ _local5.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(_local4, _local5); } public function get url():String{ return (_url); } public function get applicationDomain():ApplicationDomain{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.applicationDomain : null); } public function moduleErrorHandler(_arg1:Event):void{ var _local2:ModuleEvent; _ready = true; factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal; clearLoader(); if ((_arg1 is ModuleEvent)){ _local2 = ModuleEvent(_arg1); } else { _local2 = new ModuleEvent(ModuleEvent.ERROR); }; dispatchEvent(_local2); } public function readyHandler(_arg1:Event):void{ _ready = true; factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal; clearLoader(); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); } 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(){ } }
Section 39
//ModuleManagerGlobals (mx.modules.ModuleManagerGlobals) package mx.modules { public class ModuleManagerGlobals { public static var managerSingleton:Object = null; } }//package mx.modules
Section 40
//IResourceBundle (mx.resources.IResourceBundle) package mx.resources { public interface IResourceBundle { function get content():Object; function get locale():String; function get bundleName():String; } }//package mx.resources
Section 41
//IResourceManager (mx.resources.IResourceManager) package mx.resources { import flash.events.*; import flash.system.*; public interface IResourceManager extends IEventDispatcher { function loadResourceModule(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher; function getBoolean(_arg1:String, _arg2:String, _arg3:String=null):Boolean; function getClass(_arg1:String, _arg2:String, _arg3:String=null):Class; function getLocales():Array; function removeResourceBundlesForLocale(_arg1:String):void; function getResourceBundle(_arg1:String, _arg2:String):IResourceBundle; function get localeChain():Array; function getInt(_arg1:String, _arg2:String, _arg3:String=null):int; function update():void; function set localeChain(_arg1:Array):void; function getUint(_arg1:String, _arg2:String, _arg3:String=null):uint; function addResourceBundle(_arg1:IResourceBundle):void; function getStringArray(_arg1:String, _arg2:String, _arg3:String=null):Array; function getBundleNamesForLocale(_arg1:String):Array; function removeResourceBundle(_arg1:String, _arg2:String):void; function getObject(_arg1:String, _arg2:String, _arg3:String=null); function getString(_arg1:String, _arg2:String, _arg3:Array=null, _arg4:String=null):String; function installCompiledResourceBundles(_arg1:ApplicationDomain, _arg2:Array, _arg3:Array):void; function unloadResourceModule(_arg1:String, _arg2:Boolean=true):void; function getPreferredLocaleChain():Array; function findResourceBundleWithResource(_arg1:String, _arg2:String):IResourceBundle; function initializeLocaleChain(_arg1:Array):void; function getNumber(_arg1:String, _arg2:String, _arg3:String=null):Number; } }//package mx.resources
Section 42
//IResourceModule (mx.resources.IResourceModule) package mx.resources { public interface IResourceModule { function get resourceBundles():Array; } }//package mx.resources
Section 43
//LocaleSorter (mx.resources.LocaleSorter) package mx.resources { import mx.core.*; public class LocaleSorter { mx_internal static const VERSION:String = "3.3.0.4852"; private static function normalizeLocale(_arg1:String):String{ return (_arg1.toLowerCase().replace(/-/g, "_")); } public static function sortLocalesByPreference(_arg1:Array, _arg2:Array, _arg3:String=null, _arg4:Boolean=false):Array{ var result:Array; var hasLocale:Object; var i:int; var j:int; var k:int; var l:int; var locale:String; var plocale:LocaleID; var appLocales = _arg1; var systemPreferences = _arg2; var ultimateFallbackLocale = _arg3; var addAll = _arg4; var promote:Function = function (_arg1:String):void{ if (typeof(hasLocale[_arg1]) != "undefined"){ result.push(appLocales[hasLocale[_arg1]]); delete hasLocale[_arg1]; }; }; result = []; hasLocale = {}; var locales:Array = trimAndNormalize(appLocales); var preferenceLocales:Array = trimAndNormalize(systemPreferences); addUltimateFallbackLocale(preferenceLocales, ultimateFallbackLocale); j = 0; while (j < locales.length) { hasLocale[locales[j]] = j; j = (j + 1); }; i = 0; l = preferenceLocales.length; while (i < l) { plocale = LocaleID.fromString(preferenceLocales[i]); promote(preferenceLocales[i]); promote(plocale.toString()); while (plocale.transformToParent()) { promote(plocale.toString()); }; plocale = LocaleID.fromString(preferenceLocales[i]); j = 0; while (j < l) { locale = preferenceLocales[j]; if (plocale.isSiblingOf(LocaleID.fromString(locale))){ promote(locale); }; j = (j + 1); }; j = 0; k = locales.length; while (j < k) { locale = locales[j]; if (plocale.isSiblingOf(LocaleID.fromString(locale))){ promote(locale); }; j = (j + 1); }; i = (i + 1); }; if (addAll){ j = 0; k = locales.length; while (j < k) { promote(locales[j]); j = (j + 1); }; }; return (result); } private static function addUltimateFallbackLocale(_arg1:Array, _arg2:String):void{ var _local3:String; if (((!((_arg2 == null))) && (!((_arg2 == ""))))){ _local3 = normalizeLocale(_arg2); if (_arg1.indexOf(_local3) == -1){ _arg1.push(_local3); }; }; } private static function trimAndNormalize(_arg1:Array):Array{ var _local2:Array = []; var _local3:int; while (_local3 < _arg1.length) { _local2.push(normalizeLocale(_arg1[_local3])); _local3++; }; return (_local2); } } }//package mx.resources class LocaleID { private var privateLangs:Boolean;// = false private var script:String;// = "" private var variants:Array; private var privates:Array; private var extensions:Object; private var lang:String;// = "" private var region:String;// = "" private var extended_langs:Array; public static const STATE_PRIMARY_LANGUAGE:int = 0; public static const STATE_REGION:int = 3; public static const STATE_EXTENDED_LANGUAGES:int = 1; public static const STATE_EXTENSIONS:int = 5; public static const STATE_SCRIPT:int = 2; public static const STATE_VARIANTS:int = 4; public static const STATE_PRIVATES:int = 6; private function LocaleID(){ extended_langs = []; variants = []; extensions = {}; privates = []; super(); } public function equals(_arg1:LocaleID):Boolean{ return ((toString() == _arg1.toString())); } public function canonicalize():void{ var _local1:String; for (_local1 in extensions) { if (extensions.hasOwnProperty(_local1)){ if (extensions[_local1].length == 0){ delete extensions[_local1]; } else { extensions[_local1] = extensions[_local1].sort(); }; }; }; extended_langs = extended_langs.sort(); variants = variants.sort(); privates = privates.sort(); if (script == ""){ script = LocaleRegistry.getScriptByLang(lang); }; if ((((script == "")) && (!((region == ""))))){ script = LocaleRegistry.getScriptByLangAndRegion(lang, region); }; if ((((region == "")) && (!((script == ""))))){ region = LocaleRegistry.getDefaultRegionForLangAndScript(lang, script); }; } public function toString():String{ var _local2:String; var _local1:Array = [lang]; Array.prototype.push.apply(_local1, extended_langs); if (script != ""){ _local1.push(script); }; if (region != ""){ _local1.push(region); }; Array.prototype.push.apply(_local1, variants); for (_local2 in extensions) { if (extensions.hasOwnProperty(_local2)){ _local1.push(_local2); Array.prototype.push.apply(_local1, extensions[_local2]); }; }; if (privates.length > 0){ _local1.push("x"); Array.prototype.push.apply(_local1, privates); }; return (_local1.join("_")); } public function isSiblingOf(_arg1:LocaleID):Boolean{ return ((((lang == _arg1.lang)) && ((script == _arg1.script)))); } public function transformToParent():Boolean{ var _local2:String; var _local3:Array; var _local4:String; if (privates.length > 0){ privates.splice((privates.length - 1), 1); return (true); }; var _local1:String; for (_local2 in extensions) { if (extensions.hasOwnProperty(_local2)){ _local1 = _local2; }; }; if (_local1){ _local3 = extensions[_local1]; if (_local3.length == 1){ delete extensions[_local1]; return (true); }; _local3.splice((_local3.length - 1), 1); return (true); }; if (variants.length > 0){ variants.splice((variants.length - 1), 1); return (true); }; if (script != ""){ if (LocaleRegistry.getScriptByLang(lang) != ""){ script = ""; return (true); }; if (region == ""){ _local4 = LocaleRegistry.getDefaultRegionForLangAndScript(lang, script); if (_local4 != ""){ region = _local4; script = ""; return (true); }; }; }; if (region != ""){ if (!(((script == "")) && ((LocaleRegistry.getScriptByLang(lang) == "")))){ region = ""; return (true); }; }; if (extended_langs.length > 0){ extended_langs.splice((extended_langs.length - 1), 1); return (true); }; return (false); } public static function fromString(_arg1:String):LocaleID{ var _local5:Array; var _local8:String; var _local9:int; var _local10:String; var _local2:LocaleID = new (LocaleID); var _local3:int = STATE_PRIMARY_LANGUAGE; var _local4:Array = _arg1.replace(/-/g, "_").split("_"); var _local6:int; var _local7:int = _local4.length; while (_local6 < _local7) { _local8 = _local4[_local6].toLowerCase(); if (_local3 == STATE_PRIMARY_LANGUAGE){ if (_local8 == "x"){ _local2.privateLangs = true; } else { if (_local8 == "i"){ _local2.lang = (_local2.lang + "i-"); } else { _local2.lang = (_local2.lang + _local8); _local3 = STATE_EXTENDED_LANGUAGES; }; }; } else { _local9 = _local8.length; if (_local9 == 0){ } else { _local10 = _local8.charAt(0).toLowerCase(); if ((((_local3 <= STATE_EXTENDED_LANGUAGES)) && ((_local9 == 3)))){ _local2.extended_langs.push(_local8); if (_local2.extended_langs.length == 3){ _local3 = STATE_SCRIPT; }; } else { if ((((_local3 <= STATE_SCRIPT)) && ((_local9 == 4)))){ _local2.script = _local8; _local3 = STATE_REGION; } else { if ((((_local3 <= STATE_REGION)) && ((((_local9 == 2)) || ((_local9 == 3)))))){ _local2.region = _local8; _local3 = STATE_VARIANTS; } else { if ((((_local3 <= STATE_VARIANTS)) && ((((((((_local10 >= "a")) && ((_local10 <= "z")))) && ((_local9 >= 5)))) || ((((((_local10 >= "0")) && ((_local10 <= "9")))) && ((_local9 >= 4)))))))){ _local2.variants.push(_local8); _local3 = STATE_VARIANTS; } else { if ((((_local3 < STATE_PRIVATES)) && ((_local9 == 1)))){ if (_local8 == "x"){ _local3 = STATE_PRIVATES; _local5 = _local2.privates; } else { _local3 = STATE_EXTENSIONS; _local5 = ((_local2.extensions[_local8]) || ([])); _local2.extensions[_local8] = _local5; }; } else { if (_local3 >= STATE_EXTENSIONS){ _local5.push(_local8); }; }; }; }; }; }; }; }; _local6++; }; _local2.canonicalize(); return (_local2); } } class LocaleRegistry { private static const SCRIPT_ID_BY_LANG:Object = {ab:5, af:1, am:2, ar:3, as:4, ay:1, be:5, bg:5, bn:4, bs:1, ca:1, ch:1, cs:1, cy:1, da:1, de:1, dv:6, dz:7, el:8, en:1, eo:1, es:1, et:1, eu:1, fa:3, fi:1, fj:1, fo:1, fr:1, frr:1, fy:1, ga:1, gl:1, gn:1, gu:9, gv:1, he:10, hi:11, hr:1, ht:1, hu:1, hy:12, id:1, in:1, is:1, it:1, iw:10, ja:13, ka:14, kk:5, kl:1, km:15, kn:16, ko:17, la:1, lb:1, ln:1, lo:18, lt:1, lv:1, mg:1, mh:1, mk:5, ml:19, mo:1, mr:11, ms:1, mt:1, my:20, na:1, nb:1, nd:1, ne:11, nl:1, nn:1, no:1, nr:1, ny:1, om:1, or:21, pa:22, pl:1, ps:3, pt:1, qu:1, rn:1, ro:1, ru:5, rw:1, sg:1, si:23, sk:1, sl:1, sm:1, so:1, sq:1, ss:1, st:1, sv:1, sw:1, ta:24, te:25, th:26, ti:2, tl:1, tn:1, to:1, tr:1, ts:1, uk:5, ur:3, ve:1, vi:1, wo:1, xh:1, yi:10, zu:1, cpe:1, dsb:1, frs:1, gsw:1, hsb:1, kok:11, mai:11, men:1, nds:1, niu:1, nqo:27, nso:1, son:1, tem:1, tkl:1, tmh:1, tpi:1, tvl:1, zbl:28}; private static const SCRIPTS:Array = ["", "latn", "ethi", "arab", "beng", "cyrl", "thaa", "tibt", "grek", "gujr", "hebr", "deva", "armn", "jpan", "geor", "khmr", "knda", "kore", "laoo", "mlym", "mymr", "orya", "guru", "sinh", "taml", "telu", "thai", "nkoo", "blis", "hans", "hant", "mong", "syrc"]; private static const DEFAULT_REGION_BY_LANG_AND_SCRIPT:Object = {bg:{5:"bg"}, ca:{1:"es"}, zh:{30:"tw", 29:"cn"}, cs:{1:"cz"}, da:{1:"dk"}, de:{1:"de"}, el:{8:"gr"}, en:{1:"us"}, es:{1:"es"}, fi:{1:"fi"}, fr:{1:"fr"}, he:{10:"il"}, hu:{1:"hu"}, is:{1:"is"}, it:{1:"it"}, ja:{13:"jp"}, ko:{17:"kr"}, nl:{1:"nl"}, nb:{1:"no"}, pl:{1:"pl"}, pt:{1:"br"}, ro:{1:"ro"}, ru:{5:"ru"}, hr:{1:"hr"}, sk:{1:"sk"}, sq:{1:"al"}, sv:{1:"se"}, th:{26:"th"}, tr:{1:"tr"}, ur:{3:"pk"}, id:{1:"id"}, uk:{5:"ua"}, be:{5:"by"}, sl:{1:"si"}, et:{1:"ee"}, lv:{1:"lv"}, lt:{1:"lt"}, fa:{3:"ir"}, vi:{1:"vn"}, hy:{12:"am"}, az:{1:"az", 5:"az"}, eu:{1:"es"}, mk:{5:"mk"}, af:{1:"za"}, ka:{14:"ge"}, fo:{1:"fo"}, hi:{11:"in"}, ms:{1:"my"}, kk:{5:"kz"}, ky:{5:"kg"}, sw:{1:"ke"}, uz:{1:"uz", 5:"uz"}, tt:{5:"ru"}, pa:{22:"in"}, gu:{9:"in"}, ta:{24:"in"}, te:{25:"in"}, kn:{16:"in"}, mr:{11:"in"}, sa:{11:"in"}, mn:{5:"mn"}, gl:{1:"es"}, kok:{11:"in"}, syr:{32:"sy"}, dv:{6:"mv"}, nn:{1:"no"}, sr:{1:"cs", 5:"cs"}, cy:{1:"gb"}, mi:{1:"nz"}, mt:{1:"mt"}, quz:{1:"bo"}, tn:{1:"za"}, xh:{1:"za"}, zu:{1:"za"}, nso:{1:"za"}, se:{1:"no"}, smj:{1:"no"}, sma:{1:"no"}, sms:{1:"fi"}, smn:{1:"fi"}, bs:{1:"ba"}}; private static const SCRIPT_BY_ID:Object = {latn:1, ethi:2, arab:3, beng:4, cyrl:5, thaa:6, tibt:7, grek:8, gujr:9, hebr:10, deva:11, armn:12, jpan:13, geor:14, khmr:15, knda:16, kore:17, laoo:18, mlym:19, mymr:20, orya:21, guru:22, sinh:23, taml:24, telu:25, thai:26, nkoo:27, blis:28, hans:29, hant:30, mong:31, syrc:32}; private static const SCRIPT_ID_BY_LANG_AND_REGION:Object = {zh:{cn:29, sg:29, tw:30, hk:30, mo:30}, mn:{cn:31, sg:5}, pa:{pk:3, in:22}, ha:{gh:1, ne:1}}; private function LocaleRegistry(){ } public static function getScriptByLangAndRegion(_arg1:String, _arg2:String):String{ var _local3:Object = SCRIPT_ID_BY_LANG_AND_REGION[_arg1]; if (_local3 == null){ return (""); }; var _local4:Object = _local3[_arg2]; if (_local4 == null){ return (""); }; return (SCRIPTS[int(_local4)].toLowerCase()); } public static function getScriptByLang(_arg1:String):String{ var _local2:Object = SCRIPT_ID_BY_LANG[_arg1]; if (_local2 == null){ return (""); }; return (SCRIPTS[int(_local2)].toLowerCase()); } public static function getDefaultRegionForLangAndScript(_arg1:String, _arg2:String):String{ var _local3:Object = DEFAULT_REGION_BY_LANG_AND_SCRIPT[_arg1]; var _local4:Object = SCRIPT_BY_ID[_arg2]; if ((((_local3 == null)) || ((_local4 == null)))){ return (""); }; return (((_local3[int(_local4)]) || (""))); } }
Section 44
//ResourceBundle (mx.resources.ResourceBundle) package mx.resources { import mx.core.*; import flash.system.*; import mx.utils.*; public class ResourceBundle implements IResourceBundle { mx_internal var _locale:String; private var _content:Object; mx_internal var _bundleName:String; mx_internal static const VERSION:String = "3.3.0.4852"; mx_internal static var backupApplicationDomain:ApplicationDomain; mx_internal static var locale:String; public function ResourceBundle(_arg1:String=null, _arg2:String=null){ _content = {}; super(); mx_internal::_locale = _arg1; mx_internal::_bundleName = _arg2; _content = getContent(); } protected function getContent():Object{ return ({}); } public function getString(_arg1:String):String{ return (String(_getObject(_arg1))); } public function get content():Object{ return (_content); } public function getBoolean(_arg1:String, _arg2:Boolean=true):Boolean{ var _local3:String = _getObject(_arg1).toLowerCase(); if (_local3 == "false"){ return (false); }; if (_local3 == "true"){ return (true); }; return (_arg2); } public function getStringArray(_arg1:String):Array{ var _local2:Array = _getObject(_arg1).split(","); var _local3:int = _local2.length; var _local4:int; while (_local4 < _local3) { _local2[_local4] = StringUtil.trim(_local2[_local4]); _local4++; }; return (_local2); } public function getObject(_arg1:String):Object{ return (_getObject(_arg1)); } private function _getObject(_arg1:String):Object{ var _local2:Object = content[_arg1]; if (!_local2){ throw (new Error(((("Key " + _arg1) + " was not found in resource bundle ") + bundleName))); }; return (_local2); } public function get locale():String{ return (mx_internal::_locale); } public function get bundleName():String{ return (mx_internal::_bundleName); } public function getNumber(_arg1:String):Number{ return (Number(_getObject(_arg1))); } private static function getClassByName(_arg1:String, _arg2:ApplicationDomain):Class{ var _local3:Class; if (_arg2.hasDefinition(_arg1)){ _local3 = (_arg2.getDefinition(_arg1) as Class); }; return (_local3); } public static function getResourceBundle(_arg1:String, _arg2:ApplicationDomain=null):ResourceBundle{ var _local3:String; var _local4:Class; var _local5:Object; var _local6:ResourceBundle; if (!_arg2){ _arg2 = ApplicationDomain.currentDomain; }; _local3 = (((mx_internal::locale + "$") + _arg1) + "_properties"); _local4 = getClassByName(_local3, _arg2); if (!_local4){ _local3 = (_arg1 + "_properties"); _local4 = getClassByName(_local3, _arg2); }; if (!_local4){ _local3 = _arg1; _local4 = getClassByName(_local3, _arg2); }; if (((!(_local4)) && (mx_internal::backupApplicationDomain))){ _local3 = (_arg1 + "_properties"); _local4 = getClassByName(_local3, mx_internal::backupApplicationDomain); if (!_local4){ _local3 = _arg1; _local4 = getClassByName(_local3, mx_internal::backupApplicationDomain); }; }; if (_local4){ _local5 = new (_local4); if ((_local5 is ResourceBundle)){ _local6 = ResourceBundle(_local5); return (_local6); }; }; throw (new Error(("Could not find resource bundle " + _arg1))); } } }//package mx.resources
Section 45
//ResourceManager (mx.resources.ResourceManager) package mx.resources { import mx.core.*; public class ResourceManager { mx_internal static const VERSION:String = "3.3.0.4852"; private static var implClassDependency:ResourceManagerImpl; private static var instance:IResourceManager; public static function getInstance():IResourceManager{ if (!instance){ try { instance = IResourceManager(Singleton.getInstance("mx.resources::IResourceManager")); } catch(e:Error) { instance = new ResourceManagerImpl(); }; }; return (instance); } } }//package mx.resources
Section 46
//ResourceManagerImpl (mx.resources.ResourceManagerImpl) package mx.resources { import flash.events.*; import mx.core.*; import flash.system.*; import mx.modules.*; import mx.events.*; import flash.utils.*; import mx.utils.*; public class ResourceManagerImpl extends EventDispatcher implements IResourceManager { private var resourceModules:Object; private var initializedForNonFrameworkApp:Boolean;// = false private var localeMap:Object; private var _localeChain:Array; mx_internal static const VERSION:String = "3.3.0.4852"; private static var instance:IResourceManager; public function ResourceManagerImpl(){ localeMap = {}; resourceModules = {}; super(); } public function get localeChain():Array{ return (_localeChain); } public function set localeChain(_arg1:Array):void{ _localeChain = _arg1; update(); } public function getStringArray(_arg1:String, _arg2:String, _arg3:String=null):Array{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (null); }; var _local5:* = _local4.content[_arg2]; var _local6:Array = String(_local5).split(","); var _local7:int = _local6.length; var _local8:int; while (_local8 < _local7) { _local6[_local8] = StringUtil.trim(_local6[_local8]); _local8++; }; return (_local6); } mx_internal function installCompiledResourceBundle(_arg1:ApplicationDomain, _arg2:String, _arg3:String):void{ var _local4:String; var _local5:String = _arg3; var _local6:int = _arg3.indexOf(":"); if (_local6 != -1){ _local4 = _arg3.substring(0, _local6); _local5 = _arg3.substring((_local6 + 1)); }; if (getResourceBundle(_arg2, _arg3)){ return; }; var _local7 = (((_arg2 + "$") + _local5) + "_properties"); if (_local4 != null){ _local7 = ((_local4 + ".") + _local7); }; var _local8:Class; if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; if (!_local8){ _local7 = _arg3; if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; }; if (!_local8){ _local7 = (_arg3 + "_properties"); if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; }; if (!_local8){ throw (new Error((((("Could not find compiled resource bundle '" + _arg3) + "' for locale '") + _arg2) + "'."))); }; var _local9:ResourceBundle = ResourceBundle(new (_local8)); _local9.mx_internal::_locale = _arg2; _local9.mx_internal::_bundleName = _arg3; addResourceBundle(_local9); } public function getString(_arg1:String, _arg2:String, _arg3:Array=null, _arg4:String=null):String{ var _local5:IResourceBundle = findBundle(_arg1, _arg2, _arg4); if (!_local5){ return (null); }; var _local6:String = String(_local5.content[_arg2]); if (_arg3){ _local6 = StringUtil.substitute(_local6, _arg3); }; return (_local6); } public function loadResourceModule(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher{ var moduleInfo:IModuleInfo; var resourceEventDispatcher:ResourceEventDispatcher; var timer:Timer; var timerHandler:Function; var url = _arg1; var updateFlag = _arg2; var applicationDomain = _arg3; var securityDomain = _arg4; moduleInfo = ModuleManager.getModule(url); resourceEventDispatcher = new ResourceEventDispatcher(moduleInfo); var readyHandler:Function = function (_arg1:ModuleEvent):void{ var _local2:* = _arg1.module.factory.create(); resourceModules[_arg1.module.url].resourceModule = _local2; if (updateFlag){ update(); }; }; moduleInfo.addEventListener(ModuleEvent.READY, readyHandler, false, 0, true); var errorHandler:Function = function (_arg1:ModuleEvent):void{ var _local3:ResourceEvent; var _local2:String = ("Unable to load resource module from " + url); if (resourceEventDispatcher.willTrigger(ResourceEvent.ERROR)){ _local3 = new ResourceEvent(ResourceEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.errorText = _local2; resourceEventDispatcher.dispatchEvent(_local3); } else { throw (new Error(_local2)); }; }; moduleInfo.addEventListener(ModuleEvent.ERROR, errorHandler, false, 0, true); resourceModules[url] = new ResourceModuleInfo(moduleInfo, readyHandler, errorHandler); timer = new Timer(0); timerHandler = function (_arg1:TimerEvent):void{ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.stop(); moduleInfo.load(applicationDomain, securityDomain); }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (resourceEventDispatcher); } public function getLocales():Array{ var _local2:String; var _local1:Array = []; for (_local2 in localeMap) { _local1.push(_local2); }; return (_local1); } public function removeResourceBundlesForLocale(_arg1:String):void{ delete localeMap[_arg1]; } public function getResourceBundle(_arg1:String, _arg2:String):IResourceBundle{ var _local3:Object = localeMap[_arg1]; if (!_local3){ return (null); }; return (_local3[_arg2]); } private function dumpResourceModule(_arg1):void{ var _local2:ResourceBundle; var _local3:String; for each (_local2 in _arg1.resourceBundles) { trace(_local2.locale, _local2.bundleName); for (_local3 in _local2.content) { }; }; } public function addResourceBundle(_arg1:IResourceBundle):void{ var _local2:String = _arg1.locale; var _local3:String = _arg1.bundleName; if (!localeMap[_local2]){ localeMap[_local2] = {}; }; localeMap[_local2][_local3] = _arg1; } public function getObject(_arg1:String, _arg2:String, _arg3:String=null){ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (undefined); }; return (_local4.content[_arg2]); } public function getInt(_arg1:String, _arg2:String, _arg3:String=null):int{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (0); }; var _local5:* = _local4.content[_arg2]; return (int(_local5)); } private function findBundle(_arg1:String, _arg2:String, _arg3:String):IResourceBundle{ supportNonFrameworkApps(); return (((_arg3)!=null) ? getResourceBundle(_arg3, _arg1) : findResourceBundleWithResource(_arg1, _arg2)); } private function supportNonFrameworkApps():void{ if (initializedForNonFrameworkApp){ return; }; initializedForNonFrameworkApp = true; if (getLocales().length > 0){ return; }; var _local1:ApplicationDomain = ApplicationDomain.currentDomain; if (!_local1.hasDefinition("_CompiledResourceBundleInfo")){ return; }; var _local2:Class = Class(_local1.getDefinition("_CompiledResourceBundleInfo")); var _local3:Array = _local2.compiledLocales; var _local4:Array = _local2.compiledResourceBundleNames; installCompiledResourceBundles(_local1, _local3, _local4); localeChain = _local3; } public function getBundleNamesForLocale(_arg1:String):Array{ var _local3:String; var _local2:Array = []; for (_local3 in localeMap[_arg1]) { _local2.push(_local3); }; return (_local2); } public function getPreferredLocaleChain():Array{ return (LocaleSorter.sortLocalesByPreference(getLocales(), getSystemPreferredLocales(), null, true)); } public function getNumber(_arg1:String, _arg2:String, _arg3:String=null):Number{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (NaN); }; var _local5:* = _local4.content[_arg2]; return (Number(_local5)); } public function update():void{ dispatchEvent(new Event(Event.CHANGE)); } public function getClass(_arg1:String, _arg2:String, _arg3:String=null):Class{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (null); }; var _local5:* = _local4.content[_arg2]; return ((_local5 as Class)); } public function removeResourceBundle(_arg1:String, _arg2:String):void{ delete localeMap[_arg1][_arg2]; if (getBundleNamesForLocale(_arg1).length == 0){ delete localeMap[_arg1]; }; } public function initializeLocaleChain(_arg1:Array):void{ localeChain = LocaleSorter.sortLocalesByPreference(_arg1, getSystemPreferredLocales(), null, true); } public function findResourceBundleWithResource(_arg1:String, _arg2:String):IResourceBundle{ var _local5:String; var _local6:Object; var _local7:ResourceBundle; if (!_localeChain){ return (null); }; var _local3:int = _localeChain.length; var _local4:int; while (_local4 < _local3) { _local5 = localeChain[_local4]; _local6 = localeMap[_local5]; if (!_local6){ } else { _local7 = _local6[_arg1]; if (!_local7){ } else { if ((_arg2 in _local7.content)){ return (_local7); }; }; }; _local4++; }; return (null); } public function getUint(_arg1:String, _arg2:String, _arg3:String=null):uint{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (0); }; var _local5:* = _local4.content[_arg2]; return (uint(_local5)); } private function getSystemPreferredLocales():Array{ var _local1:Array; if (Capabilities["languages"]){ _local1 = Capabilities["languages"]; } else { _local1 = [Capabilities.language]; }; return (_local1); } public function installCompiledResourceBundles(_arg1:ApplicationDomain, _arg2:Array, _arg3:Array):void{ var _local7:String; var _local8:int; var _local9:String; var _local4:int = (_arg2) ? _arg2.length : 0; var _local5:int = (_arg3) ? _arg3.length : 0; var _local6:int; while (_local6 < _local4) { _local7 = _arg2[_local6]; _local8 = 0; while (_local8 < _local5) { _local9 = _arg3[_local8]; mx_internal::installCompiledResourceBundle(_arg1, _local7, _local9); _local8++; }; _local6++; }; } public function getBoolean(_arg1:String, _arg2:String, _arg3:String=null):Boolean{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (false); }; var _local5:* = _local4.content[_arg2]; return ((String(_local5).toLowerCase() == "true")); } public function unloadResourceModule(_arg1:String, _arg2:Boolean=true):void{ throw (new Error("unloadResourceModule() is not yet implemented.")); } public static function getInstance():IResourceManager{ if (!instance){ instance = new (ResourceManagerImpl); }; return (instance); } } }//package mx.resources import flash.events.*; import mx.modules.*; import mx.events.*; class ResourceModuleInfo { public var resourceModule:IResourceModule; public var errorHandler:Function; public var readyHandler:Function; public var moduleInfo:IModuleInfo; private function ResourceModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.moduleInfo = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } } class ResourceEventDispatcher extends EventDispatcher { private function ResourceEventDispatcher(_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_progressHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.COMPLETE); dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } }
Section 47
//HaloBorder (mx.skins.halo.HaloBorder) package mx.skins.halo { import mx.core.*; import flash.display.*; import mx.styles.*; import mx.skins.*; import mx.graphics.*; import mx.utils.*; public class HaloBorder extends RectangularBorder { mx_internal var radiusObj:Object; mx_internal var backgroundHole:Object; mx_internal var radius:Number; mx_internal var bRoundedCorners:Boolean; mx_internal var backgroundColor:Object; private var dropShadow:RectangularDropShadow; protected var _borderMetrics:EdgeMetrics; mx_internal var backgroundAlphaName:String; mx_internal static const VERSION:String = "3.3.0.4852"; 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 styleChanged(_arg1:String):void{ if ((((((((((_arg1 == null)) || ((_arg1 == "styleName")))) || ((_arg1 == "borderStyle")))) || ((_arg1 == "borderThickness")))) || ((_arg1 == "borderSides")))){ _borderMetrics = null; }; invalidateDisplayList(); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ if (((isNaN(_arg1)) || (isNaN(_arg2)))){ return; }; super.updateDisplayList(_arg1, _arg2); backgroundColor = getBackgroundColor(); bRoundedCorners = false; backgroundAlphaName = "backgroundAlpha"; backgroundHole = null; radius = 0; radiusObj = null; drawBorder(_arg1, _arg2); drawBackground(_arg1, _arg2); } mx_internal function drawBorder(_arg1:Number, _arg2:Number):void{ var _local5:Number; var _local6:uint; var _local7:uint; var _local8:String; var _local9:Number; var _local10:uint; var _local11:Boolean; var _local12:uint; var _local13:Array; var _local14:Array; var _local15:uint; var _local16:uint; var _local17:uint; var _local18:uint; var _local19:Boolean; var _local20:Object; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Object; var _local27:Number; var _local28:Number; var _local29:IContainer; var _local30:EdgeMetrics; var _local31:Boolean; var _local32:Number; var _local33:Array; var _local34:uint; var _local35:Boolean; var _local36:Number; var _local3:String = getStyle("borderStyle"); var _local4:Array = getStyle("highlightAlphas"); var _local21:Boolean; var _local26:Graphics = graphics; _local26.clear(); if (_local3){ switch (_local3){ case "none": break; case "inset": _local7 = getStyle("borderColor"); _local22 = ColorUtil.adjustBrightness2(_local7, -40); _local23 = ColorUtil.adjustBrightness2(_local7, 25); _local24 = ColorUtil.adjustBrightness2(_local7, 40); _local25 = backgroundColor; if ((((_local25 === null)) || ((_local25 === "")))){ _local25 = _local7; }; draw3dBorder(_local23, _local22, _local24, Number(_local25), Number(_local25), Number(_local25)); break; case "outset": _local7 = getStyle("borderColor"); _local22 = ColorUtil.adjustBrightness2(_local7, -40); _local23 = ColorUtil.adjustBrightness2(_local7, -25); _local24 = ColorUtil.adjustBrightness2(_local7, 40); _local25 = backgroundColor; if ((((_local25 === null)) || ((_local25 === "")))){ _local25 = _local7; }; draw3dBorder(_local23, _local24, _local22, Number(_local25), Number(_local25), Number(_local25)); break; case "alert": case "default": if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _local27 = getStyle("backgroundAlpha"); _local5 = getStyle("borderAlpha"); backgroundAlphaName = "borderAlpha"; radius = getStyle("cornerRadius"); bRoundedCorners = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local28 = (bRoundedCorners) ? radius : 0; drawDropShadow(0, 0, _arg1, _arg2, radius, radius, _local28, _local28); if (!bRoundedCorners){ radiusObj = {}; }; _local29 = (parent as IContainer); if (_local29){ _local30 = _local29.viewMetrics; backgroundHole = {x:_local30.left, y:_local30.top, w:Math.max(0, ((_arg1 - _local30.left) - _local30.right)), h:Math.max(0, ((_arg2 - _local30.top) - _local30.bottom)), r:0}; if ((((backgroundHole.w > 0)) && ((backgroundHole.h > 0)))){ if (_local27 != _local5){ drawDropShadow(backgroundHole.x, backgroundHole.y, backgroundHole.w, backgroundHole.h, 0, 0, 0, 0); }; _local26.beginFill(Number(backgroundColor), _local27); _local26.drawRect(backgroundHole.x, backgroundHole.y, backgroundHole.w, backgroundHole.h); _local26.endFill(); }; }; backgroundColor = getStyle("borderColor"); }; break; case "dropdown": _local12 = 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(_local12)){ drawRoundRect(0, 0, (_arg1 + 1), _arg2, {tl:4, tr:0, br:0, bl:4}, _local12, 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))); }; backgroundColor = null; break; case "menuBorder": _local7 = getStyle("borderColor"); drawRoundRect(0, 0, _arg1, _arg2, 0, _local7, 1); drawDropShadow(1, 1, (_arg1 - 2), (_arg2 - 2), 0, 0, 0, 0); break; case "comboNonEdit": break; case "controlBar": if ((((_arg1 == 0)) || ((_arg2 == 0)))){ backgroundColor = null; break; }; _local14 = getStyle("footerColors"); _local31 = !((_local14 == null)); _local32 = getStyle("borderAlpha"); if (_local31){ _local26.lineStyle(0, ((_local14.length > 0)) ? _local14[1] : _local14[0], _local32); _local26.moveTo(0, 0); _local26.lineTo(_arg1, 0); _local26.lineStyle(0, 0, 0); if (((((parent) && (parent.parent))) && ((parent.parent is IStyleClient)))){ radius = IStyleClient(parent.parent).getStyle("cornerRadius"); _local32 = IStyleClient(parent.parent).getStyle("borderAlpha"); }; if (isNaN(radius)){ radius = 0; }; if (IStyleClient(parent.parent).getStyle("roundedBottomCorners").toString().toLowerCase() != "true"){ radius = 0; }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:radius, br:radius}, _local14, _local32, verticalGradientMatrix(0, 0, _arg1, _arg2)); if ((((_local14.length > 1)) && (!((_local14[0] == _local14[1]))))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:radius, br:radius}, [0xFFFFFF, 0xFFFFFF], _local4, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 2, (_arg1 - 2), (_arg2 - 3), {tl:0, tr:0, bl:(radius - 1), br:(radius - 1)}, _local14, _local32, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; }; backgroundColor = null; break; case "applicationControlBar": _local13 = getStyle("fillColors"); _local5 = getStyle("backgroundAlpha"); _local4 = getStyle("highlightAlphas"); _local33 = getStyle("fillAlphas"); _local11 = getStyle("docked"); _local34 = uint(backgroundColor); radius = getStyle("cornerRadius"); if (!radius){ radius = 0; }; drawDropShadow(0, 1, _arg1, (_arg2 - 1), radius, radius, radius, radius); if (((!((backgroundColor === null))) && (StyleManager.isValidStyleValue(backgroundColor)))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), radius, _local34, _local5, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), radius, _local13, _local33, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(0, 1, _arg1, ((_arg2 / 2) - 1), {tl:radius, tr:radius, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local4, verticalGradientMatrix(0, 0, _arg1, ((_arg2 / 2) - 1))); drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:radius, tr:radius, bl:0, br:0}, 0xFFFFFF, 0.3, null, GradientType.LINEAR, null, {x:0, y:2, w:_arg1, h:(_arg2 - 2), r:{tl:radius, tr:radius, bl:0, br:0}}); backgroundColor = null; break; default: _local7 = getStyle("borderColor"); _local9 = getStyle("borderThickness"); _local8 = getStyle("borderSides"); _local35 = true; radius = getStyle("cornerRadius"); bRoundedCorners = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local36 = Math.max((radius - _local9), 0); _local20 = {x:_local9, y:_local9, w:(_arg1 - (_local9 * 2)), h:(_arg2 - (_local9 * 2)), r:_local36}; if (!bRoundedCorners){ radiusObj = {tl:radius, tr:radius, bl:0, br:0}; _local20.r = {tl:_local36, tr:_local36, bl:0, br:0}; }; if (_local8 != "left top right bottom"){ _local20.r = {tl:_local36, tr:_local36, bl:(bRoundedCorners) ? _local36 : 0, br:(bRoundedCorners) ? _local36 : 0}; radiusObj = {tl:radius, tr:radius, bl:(bRoundedCorners) ? radius : 0, br:(bRoundedCorners) ? radius : 0}; _local8 = _local8.toLowerCase(); if (_local8.indexOf("left") == -1){ _local20.x = 0; _local20.w = (_local20.w + _local9); _local20.r.tl = 0; _local20.r.bl = 0; radiusObj.tl = 0; radiusObj.bl = 0; _local35 = false; }; if (_local8.indexOf("top") == -1){ _local20.y = 0; _local20.h = (_local20.h + _local9); _local20.r.tl = 0; _local20.r.tr = 0; radiusObj.tl = 0; radiusObj.tr = 0; _local35 = false; }; if (_local8.indexOf("right") == -1){ _local20.w = (_local20.w + _local9); _local20.r.tr = 0; _local20.r.br = 0; radiusObj.tr = 0; radiusObj.br = 0; _local35 = false; }; if (_local8.indexOf("bottom") == -1){ _local20.h = (_local20.h + _local9); _local20.r.bl = 0; _local20.r.br = 0; radiusObj.bl = 0; radiusObj.br = 0; _local35 = false; }; }; if ((((radius == 0)) && (_local35))){ drawDropShadow(0, 0, _arg1, _arg2, 0, 0, 0, 0); _local26.beginFill(_local7); _local26.drawRect(0, 0, _arg1, _arg2); _local26.drawRect(_local9, _local9, (_arg1 - (2 * _local9)), (_arg2 - (2 * _local9))); _local26.endFill(); } else { if (radiusObj){ drawDropShadow(0, 0, _arg1, _arg2, radiusObj.tl, radiusObj.tr, radiusObj.br, radiusObj.bl); drawRoundRect(0, 0, _arg1, _arg2, radiusObj, _local7, 1, null, null, null, _local20); radiusObj.tl = Math.max((radius - _local9), 0); radiusObj.tr = Math.max((radius - _local9), 0); radiusObj.bl = (bRoundedCorners) ? Math.max((radius - _local9), 0) : 0; radiusObj.br = (bRoundedCorners) ? Math.max((radius - _local9), 0) : 0; } else { drawDropShadow(0, 0, _arg1, _arg2, radius, radius, radius, radius); drawRoundRect(0, 0, _arg1, _arg2, radius, _local7, 1, null, null, null, _local20); radius = Math.max((getStyle("cornerRadius") - _local9), 0); }; }; }; }; } mx_internal function drawBackground(_arg1:Number, _arg2:Number):void{ var _local4:Number; var _local5:Number; var _local6:EdgeMetrics; var _local7:Graphics; var _local8:Number; var _local9:Number; var _local10:Array; var _local11:Number; if (((((((!((backgroundColor === null))) && (!((backgroundColor === ""))))) || (getStyle("mouseShield")))) || (getStyle("mouseShieldChildren")))){ _local4 = Number(backgroundColor); _local5 = 1; _local6 = getBackgroundColorMetrics(); _local7 = graphics; if (((((isNaN(_local4)) || ((backgroundColor === "")))) || ((backgroundColor === null)))){ _local5 = 0; _local4 = 0xFFFFFF; } else { _local5 = getStyle(backgroundAlphaName); }; if (((!((radius == 0))) || (backgroundHole))){ _local8 = _local6.bottom; if (radiusObj){ _local9 = (bRoundedCorners) ? radius : 0; radiusObj = {tl:radius, tr:radius, bl:_local9, br:_local9}; drawRoundRect(_local6.left, _local6.top, (width - (_local6.left + _local6.right)), (height - (_local6.top + _local8)), radiusObj, _local4, _local5, null, GradientType.LINEAR, null, backgroundHole); } else { drawRoundRect(_local6.left, _local6.top, (width - (_local6.left + _local6.right)), (height - (_local6.top + _local8)), radius, _local4, _local5, null, GradientType.LINEAR, null, backgroundHole); }; } else { _local7.beginFill(_local4, _local5); _local7.drawRect(_local6.left, _local6.top, ((_arg1 - _local6.right) - _local6.left), ((_arg2 - _local6.bottom) - _local6.top)); _local7.endFill(); }; }; var _local3:String = getStyle("borderStyle"); if ((((((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)) && ((((_local3 == "alert")) || ((_local3 == "default")))))) && ((getStyle("headerColors") == null)))){ _local10 = getStyle("highlightAlphas"); _local11 = (_local10) ? _local10[0] : 0.3; drawRoundRect(0, 0, _arg1, _arg2, {tl:radius, tr:radius, bl:0, br:0}, 0xFFFFFF, _local11, null, GradientType.LINEAR, null, {x:0, y:1, w:_arg1, h:(_arg2 - 1), r:{tl:radius, tr:radius, bl:0, br:0}}); }; } mx_internal function drawDropShadow(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{ var _local11:Number; var _local12:Boolean; if ((((((((getStyle("dropShadowEnabled") == false)) || ((getStyle("dropShadowEnabled") == "false")))) || ((_arg3 == 0)))) || ((_arg4 == 0)))){ return; }; var _local9:Number = getStyle("shadowDistance"); var _local10:String = 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); } mx_internal function getBackgroundColor():Object{ var _local2:Object; var _local1:IUIComponent = (parent as IUIComponent); if (((_local1) && (!(_local1.enabled)))){ _local2 = getStyle("backgroundDisabledColor"); if (((!((_local2 === null))) && (StyleManager.isValidStyleValue(_local2)))){ return (_local2); }; }; return (getStyle("backgroundColor")); } mx_internal function draw3dBorder(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ var _local7:Number = width; var _local8:Number = height; drawDropShadow(0, 0, width, height, 0, 0, 0, 0); var _local9:Graphics = 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(); } mx_internal function getBackgroundColorMetrics():EdgeMetrics{ return (borderMetrics); } mx_internal 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 public function get borderMetrics():EdgeMetrics{ var _local1:Number; var _local3:String; if (_borderMetrics){ return (_borderMetrics); }; var _local2:String = getStyle("borderStyle"); if ((((_local2 == "default")) || ((_local2 == "alert")))){ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _borderMetrics = new EdgeMetrics(0, 0, 0, 0); } else { return (EdgeMetrics.EMPTY); }; } 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); } } }//package mx.skins.halo
Section 48
//HaloFocusRect (mx.skins.halo.HaloFocusRect) package mx.skins.halo { import mx.core.*; import flash.display.*; import mx.styles.*; import mx.skins.*; import mx.utils.*; public class HaloFocusRect extends ProgrammaticSkin implements IStyleClient { private var _focusColor:Number; mx_internal static const VERSION:String = "3.3.0.4852"; public function get inheritingStyles():Object{ return (styleName.inheritingStyles); } public function set inheritingStyles(_arg1:Object):void{ } public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ } public function registerEffects(_arg1:Array):void{ } public function regenerateStyleCache(_arg1:Boolean):void{ } public function get styleDeclaration():CSSStyleDeclaration{ return (CSSStyleDeclaration(styleName)); } public function getClassStyleDeclarations():Array{ return ([]); } 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 get nonInheritingStyles():Object{ return (styleName.nonInheritingStyles); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; super.updateDisplayList(_arg1, _arg2); var _local3:String = getStyle("focusBlendMode"); var _local4:Number = getStyle("focusAlpha"); var _local5:Number = getStyle("focusColor"); var _local6:Number = getStyle("cornerRadius"); var _local7:Number = getStyle("focusThickness"); var _local8:String = getStyle("focusRoundedCorners"); var _local9:Number = getStyle("themeColor"); var _local10:Number = _local5; if (isNaN(_local10)){ _local10 = _local9; }; var _local11:Graphics = graphics; _local11.clear(); if (_local3){ 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)); } public function set styleDeclaration(_arg1:CSSStyleDeclaration):void{ } } }//package mx.skins.halo
Section 49
//Border (mx.skins.Border) package mx.skins { import mx.core.*; public class Border extends ProgrammaticSkin implements IBorder { mx_internal static const VERSION:String = "3.3.0.4852"; public function get borderMetrics():EdgeMetrics{ return (EdgeMetrics.EMPTY); } } }//package mx.skins
Section 50
//ProgrammaticSkin (mx.skins.ProgrammaticSkin) package mx.skins { import mx.core.*; import flash.geom.*; import flash.display.*; import mx.styles.*; import mx.managers.*; import mx.utils.*; public class ProgrammaticSkin extends FlexShape implements IFlexDisplayObject, IInvalidating, ILayoutManagerClient, ISimpleStyleClient, IProgrammaticSkin { private var _initialized:Boolean;// = false private var _height:Number; private var invalidateDisplayListFlag:Boolean;// = false private var _styleName:IStyleClient; private var _nestLevel:int;// = 0 private var _processedDescriptors:Boolean;// = false private var _updateCompletePendingFlag:Boolean;// = true private var _width:Number; mx_internal static const VERSION:String = "3.3.0.4852"; private static var tempMatrix:Matrix = new Matrix(); public function ProgrammaticSkin(){ _width = measuredWidth; _height = measuredHeight; } public function getStyle(_arg1:String){ return ((_styleName) ? _styleName.getStyle(_arg1) : null); } protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ } 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; } protected function horizontalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 0)); } override public function set height(_arg1:Number):void{ _height = _arg1; invalidateDisplayList(); } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; } public function validateDisplayList():void{ invalidateDisplayListFlag = false; updateDisplayList(width, height); } public function get measuredWidth():Number{ return (0); } override public function set width(_arg1:Number):void{ _width = _arg1; invalidateDisplayList(); } public function get measuredHeight():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 _local13:Number; var _local14:Array; var _local15:Object; var _local12:Graphics = 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 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; if (_width != _arg1){ _width = _arg1; _local3 = true; }; if (_height != _arg2){ _height = _arg2; _local3 = true; }; if (_local3){ invalidateDisplayList(); }; } public function styleChanged(_arg1:String):void{ invalidateDisplayList(); } override public function get width():Number{ return (_width); } public function invalidateProperties():void{ } 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 move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get styleName():Object{ return (_styleName); } public function validateNow():void{ if (invalidateDisplayListFlag){ validateDisplayList(); }; } public function invalidateSize():void{ } public function validateProperties():void{ } } }//package mx.skins
Section 51
//RectangularBorder (mx.skins.RectangularBorder) package mx.skins { import flash.events.*; import mx.core.*; import flash.geom.*; import flash.display.*; import mx.styles.*; import flash.system.*; import mx.resources.*; import flash.utils.*; import flash.net.*; public class RectangularBorder extends Border implements IRectangularBorder { private var backgroundImage:DisplayObject; private var backgroundImageHeight:Number; private var _backgroundImageBounds:Rectangle; private var backgroundImageStyle:Object; private var backgroundImageWidth:Number; private var resourceManager:IResourceManager; mx_internal static const VERSION:String = "3.3.0.4852"; public function RectangularBorder(){ resourceManager = ResourceManager.getInstance(); super(); addEventListener(Event.REMOVED, removedHandler); } public function layoutBackgroundImage():void{ var _local4:Number; var _local5:Number; var _local7:Number; var _local8:Number; var _local14:Number; var _local15:Graphics; var _local1:DisplayObject = parent; var _local2:EdgeMetrics = ((_local1 is IContainer)) ? IContainer(_local1).viewMetrics : borderMetrics; var _local3 = !((getStyle("backgroundAttachment") == "fixed")); if (_backgroundImageBounds){ _local4 = _backgroundImageBounds.width; _local5 = _backgroundImageBounds.height; } else { _local4 = ((width - _local2.left) - _local2.right); _local5 = ((height - _local2.top) - _local2.bottom); }; var _local6:Number = getBackgroundSize(); if (isNaN(_local6)){ _local7 = 1; _local8 = 1; } else { _local14 = (_local6 * 0.01); _local7 = ((_local14 * _local4) / backgroundImageWidth); _local8 = ((_local14 * _local5) / backgroundImageHeight); }; backgroundImage.scaleX = _local7; backgroundImage.scaleY = _local8; var _local9:Number = Math.round((0.5 * (_local4 - (backgroundImageWidth * _local7)))); var _local10:Number = Math.round((0.5 * (_local5 - (backgroundImageHeight * _local8)))); backgroundImage.x = _local2.left; backgroundImage.y = _local2.top; var _local11:Shape = Shape(backgroundImage.mask); _local11.x = _local2.left; _local11.y = _local2.top; if (((_local3) && ((_local1 is IContainer)))){ _local9 = (_local9 - IContainer(_local1).horizontalScrollPosition); _local10 = (_local10 - IContainer(_local1).verticalScrollPosition); }; backgroundImage.alpha = getStyle("backgroundAlpha"); backgroundImage.x = (backgroundImage.x + _local9); backgroundImage.y = (backgroundImage.y + _local10); var _local12:Number = ((width - _local2.left) - _local2.right); var _local13:Number = ((height - _local2.top) - _local2.bottom); if (((!((_local11.width == _local12))) || (!((_local11.height == _local13))))){ _local15 = _local11.graphics; _local15.clear(); _local15.beginFill(0xFFFFFF); _local15.drawRect(0, 0, _local12, _local13); _local15.endFill(); }; } public function set backgroundImageBounds(_arg1:Rectangle):void{ _backgroundImageBounds = _arg1; invalidateDisplayList(); } private function getBackgroundSize():Number{ var _local3:int; var _local1:Number = NaN; var _local2:Object = getStyle("backgroundSize"); if (((_local2) && ((_local2 is String)))){ _local3 = _local2.indexOf("%"); if (_local3 != -1){ _local1 = Number(_local2.substr(0, _local3)); }; }; return (_local1); } private function removedHandler(_arg1:Event):void{ var _local2:IChildList; if (backgroundImage){ _local2 = ((parent is IRawChildrenContainer)) ? IRawChildrenContainer(parent).rawChildren : IChildList(parent); _local2.removeChild(backgroundImage.mask); _local2.removeChild(backgroundImage); backgroundImage = null; }; } private function initBackgroundImage(_arg1:DisplayObject):void{ 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; }; }; var _local2:IChildList = ((parent is IRawChildrenContainer)) ? IRawChildrenContainer(parent).rawChildren : IChildList(parent); var _local3:Shape = new FlexShape(); _local3.name = "backgroundMask"; _local3.x = 0; _local3.y = 0; _local2.addChild(_local3); var _local4:int = _local2.getChildIndex(this); _local2.addChildAt(backgroundImage, (_local4 + 1)); backgroundImage.mask = _local3; } public function get backgroundImageBounds():Rectangle{ return (_backgroundImageBounds); } public function get hasBackgroundImage():Boolean{ return (!((backgroundImage == null))); } private function completeEventHandler(_arg1:Event):void{ if (!parent){ return; }; var _local2:DisplayObject = DisplayObject(LoaderInfo(_arg1.target).loader); initBackgroundImage(_local2); layoutBackgroundImage(); dispatchEvent(_arg1.clone()); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var cls:Class; var newStyleObj:DisplayObject; var loader:Loader; var loaderContext:LoaderContext; var message:String; var unscaledWidth = _arg1; var unscaledHeight = _arg2; if (!parent){ return; }; var newStyle:Object = getStyle("backgroundImage"); if (newStyle != backgroundImageStyle){ removedHandler(null); backgroundImageStyle = newStyle; 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){ message = resourceManager.getString("skins", "notLoaded", [newStyle]); throw (new Error(message)); }; }; }; }; if (backgroundImage){ layoutBackgroundImage(); }; } private function errorEventHandler(_arg1:Event):void{ } } }//package mx.skins
Section 52
//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; protected var overrides:Object; public var defaultFactory:Function; public var factory:Function; mx_internal var selectorRefCount:int;// = 0 private var styleManager:IStyleManager2; private var clones:Dictionary; mx_internal static const VERSION:String = "3.3.0.4852"; private static const NOT_A_COLOR:uint = 4294967295; private static const FILTERMAP_PROP:String = "__reserved__filterMap"; public function CSSStyleDeclaration(_arg1:String=null){ clones = new Dictionary(true); super(); if (_arg1){ styleManager = (Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2); styleManager.setStyleDeclaration(_arg1, this, false); }; } mx_internal function addStyleToProtoChain(_arg1:Object, _arg2:DisplayObject, _arg3:Object=null):Object{ var p:String; var emptyObjectFactory:Function; var filteredChain:Object; var filterObjectFactory:Function; var i:String; var chain = _arg1; var target = _arg2; var filterMap = _arg3; var nodeAddedToChain:Boolean; var originalChain:Object = chain; if (filterMap){ chain = {}; }; 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 (filterMap){ if (nodeAddedToChain){ filteredChain = {}; filterObjectFactory = function ():void{ }; filterObjectFactory.prototype = originalChain; filteredChain = new (filterObjectFactory); for (i in chain) { if (filterMap[i] != null){ filteredChain[filterMap[i]] = chain[i]; }; }; chain = filteredChain; chain[FILTERMAP_PROP] = filterMap; } else { chain = originalChain; }; }; 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); } public function clearStyle(_arg1:String):void{ setStyle(_arg1, undefined); } public function setStyle(_arg1:String, _arg2):void{ var _local7:int; var _local8:Object; var _local3:Object = getStyle(_arg1); var _local4:Boolean; 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); }; var _local5:Array = SystemManagerGlobals.topLevelSystemManagers; var _local6:int = _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 createProtoChainRoot():Object{ var _local1:Object = {}; if (defaultFactory != null){ defaultFactory.prototype = _local1; _local1 = new defaultFactory(); }; if (factory != null){ factory.prototype = _local1; _local1 = new factory(); }; clones[_local1] = 1; return (_local1); } 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; var _local6:Object; if (_arg2 === undefined){ clearStyleAttr(_arg1); return; }; if ((_arg2 is String)){ if (!styleManager){ styleManager = (Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2); }; _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) { _local6 = _local4[FILTERMAP_PROP]; if (_local6){ if (_local6[_arg1] != null){ _local4[_local6[_arg1]] = _arg2; }; } else { _local4[_arg1] = _arg2; }; }; } } }//package mx.styles
Section 53
//ISimpleStyleClient (mx.styles.ISimpleStyleClient) package mx.styles { public interface ISimpleStyleClient { function set styleName(_arg1:Object):void; function styleChanged(_arg1:String):void; function get styleName():Object; } }//package mx.styles
Section 54
//IStyleClient (mx.styles.IStyleClient) package mx.styles { public interface IStyleClient extends ISimpleStyleClient { function regenerateStyleCache(_arg1:Boolean):void; function get className():String; function clearStyle(_arg1:String):void; function getClassStyleDeclarations():Array; function get inheritingStyles():Object; function set nonInheritingStyles(_arg1:Object):void; function setStyle(_arg1:String, _arg2):void; function get styleDeclaration():CSSStyleDeclaration; function set styleDeclaration(_arg1:CSSStyleDeclaration):void; function get nonInheritingStyles():Object; function set inheritingStyles(_arg1:Object):void; function getStyle(_arg1:String); function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void; function registerEffects(_arg1:Array):void; } }//package mx.styles
Section 55
//IStyleManager (mx.styles.IStyleManager) package mx.styles { import flash.events.*; public interface IStyleManager { function isColorName(_arg1:String):Boolean; function registerParentDisplayListInvalidatingStyle(_arg1:String):void; function registerInheritingStyle(_arg1:String):void; function set stylesRoot(_arg1:Object):void; function get typeSelectorCache():Object; function styleDeclarationsChanged():void; function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void; function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean; function isSizeInvalidatingStyle(_arg1:String):Boolean; function get inheritingStyles():Object; function isValidStyleValue(_arg1):Boolean; function isParentSizeInvalidatingStyle(_arg1:String):Boolean; function getColorName(_arg1:Object):uint; function set typeSelectorCache(_arg1:Object):void; function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void; function getColorNames(_arg1:Array):void; function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher; function isInheritingStyle(_arg1:String):Boolean; function set inheritingStyles(_arg1:Object):void; function get stylesRoot():Object; function initProtoChainRoots():void; function registerColorName(_arg1:String, _arg2:uint):void; function registerParentSizeInvalidatingStyle(_arg1:String):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 56
//IStyleManager2 (mx.styles.IStyleManager2) package mx.styles { import flash.events.*; import flash.system.*; public interface IStyleManager2 extends IStyleManager { function get selectors():Array; function loadStyleDeclarations2(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher; } }//package mx.styles
Section 57
//IStyleModule (mx.styles.IStyleModule) package mx.styles { public interface IStyleModule { function unload():void; } }//package mx.styles
Section 58
//StyleManager (mx.styles.StyleManager) package mx.styles { import flash.events.*; import mx.core.*; import flash.system.*; public class StyleManager { mx_internal static const VERSION:String = "3.3.0.4852"; public static const NOT_A_COLOR:uint = 4294967295; private static var _impl:IStyleManager2; 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); } 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 isSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isSizeInvalidatingStyle(_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, _arg4:ApplicationDomain=null, _arg5:SecurityDomain=null):IEventDispatcher{ return (impl.loadStyleDeclarations2(_arg1, _arg2, _arg4, _arg5)); } private static function get impl():IStyleManager2{ if (!_impl){ _impl = IStyleManager2(Singleton.getInstance("mx.styles::IStyleManager2")); }; return (_impl); } 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 get selectors():Array{ return (impl.selectors); } 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 59
//StyleManagerImpl (mx.styles.StyleManagerImpl) package mx.styles { import flash.events.*; import mx.core.*; import flash.system.*; import mx.modules.*; import mx.events.*; import mx.resources.*; import mx.managers.*; import flash.utils.*; public class StyleManagerImpl implements IStyleManager2 { private var _stylesRoot:Object; private var _selectors:Object; private var styleModules:Object; private var _inheritingStyles:Object; private var resourceManager:IResourceManager; private var _typeSelectorCache:Object; mx_internal static const VERSION:String = "3.3.0.4852"; private static var parentSizeInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true, baseline: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:IStyleManager2; private static var parentDisplayListInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true, baseline: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(){ _selectors = {}; styleModules = {}; resourceManager = ResourceManager.getInstance(); _inheritingStyles = {}; _typeSelectorCache = {}; super(); } public function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ _arg2.selectorRefCount++; _selectors[_arg1] = _arg2; typeSelectorCache = {}; if (_arg3){ styleDeclarationsChanged(); }; } public function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ parentDisplayListInvalidatingStyles[_arg1] = true; } 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 function set typeSelectorCache(_arg1:Object):void{ _typeSelectorCache = _arg1; } public function isColorName(_arg1:String):Boolean{ return (!((colorNames[_arg1.toLowerCase()] === undefined))); } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function getColorNames(_arg1:Array):void{ var _local4:uint; if (!_arg1){ return; }; var _local2:int = _arg1.length; var _local3:int; 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 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 registerInheritingStyle(_arg1:String):void{ inheritingStyles[_arg1] = true; } public function set stylesRoot(_arg1:Object):void{ _stylesRoot = _arg1; } public function get typeSelectorCache():Object{ return (_typeSelectorCache); } public function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return ((parentDisplayListInvalidatingStyles[_arg1] == true)); } public function isSizeInvalidatingStyle(_arg1:String):Boolean{ return ((sizeInvalidatingStyles[_arg1] == true)); } public function styleDeclarationsChanged():void{ var _local4:Object; var _local1:Array = SystemManagerGlobals.topLevelSystemManagers; var _local2:int = _local1.length; var _local3:int; while (_local3 < _local2) { _local4 = _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{ return (loadStyleDeclarations2(_arg1, _arg2)); } public function get inheritingStyles():Object{ return (_inheritingStyles); } public function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ var _local4:IModuleInfo; var _local3:StyleModuleInfo = 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(); }; } 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 isInheritingStyle(_arg1:String):Boolean{ return ((inheritingStyles[_arg1] == true)); } public function get stylesRoot():Object{ return (_stylesRoot); } public function initProtoChainRoots():void{ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ delete _inheritingStyles["textDecoration"]; delete _inheritingStyles["leading"]; }; if (!stylesRoot){ stylesRoot = _selectors["global"].addStyleToProtoChain({}, null); }; } public function loadStyleDeclarations2(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher{ var module:IModuleInfo; var styleEventDispatcher:StyleEventDispatcher; var timer:Timer; var timerHandler:Function; var url = _arg1; var update = _arg2; var applicationDomain = _arg3; var securityDomain = _arg4; module = ModuleManager.getModule(url); var readyHandler:Function = function (_arg1:ModuleEvent):void{ var _local2:IStyleModule = 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); var errorHandler:Function = function (_arg1:ModuleEvent):void{ var _local3:StyleEvent; var _local2:String = resourceManager.getString("styles", "unableToLoad", [_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(); module.load(applicationDomain, securityDomain); }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (styleEventDispatcher); } public function registerSizeInvalidatingStyle(_arg1:String):void{ sizeInvalidatingStyles[_arg1] = true; } public function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ var _local3:CSSStyleDeclaration = getStyleDeclaration(_arg1); if (((_local3) && ((_local3.selectorRefCount > 0)))){ _local3.selectorRefCount--; }; delete _selectors[_arg1]; if (_arg2){ styleDeclarationsChanged(); }; } public function get selectors():Array{ var _local2:String; var _local1:Array = []; for (_local2 in _selectors) { _local1.push(_local2); }; return (_local1); } public static function getInstance():IStyleManager2{ 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_progressHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.COMPLETE); dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } } class StyleModuleInfo { public var errorHandler:Function; public var readyHandler:Function; public var module:IModuleInfo; public var styleModule:IStyleModule; private function StyleModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.module = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } }
Section 60
//ColorUtil (mx.utils.ColorUtil) package mx.utils { import mx.core.*; public class ColorUtil { mx_internal static const VERSION:String = "3.3.0.4852"; 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 = ((_arg1 >> 16) & 0xFF); var _local4:Number = ((_arg1 >> 8) & 0xFF); var _local5:Number = (_arg1 & 0xFF); var _local6:Number = ((_arg2 >> 16) & 0xFF); var _local7:Number = ((_arg2 >> 8) & 0xFF); var _local8:Number = (_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 = Math.max(Math.min((((_arg1 >> 16) & 0xFF) + _arg2), 0xFF), 0); var _local4:Number = Math.max(Math.min((((_arg1 >> 8) & 0xFF) + _arg2), 0xFF), 0); var _local5:Number = Math.max(Math.min(((_arg1 & 0xFF) + _arg2), 0xFF), 0); return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } } }//package mx.utils
Section 61
//GraphicsUtil (mx.utils.GraphicsUtil) package mx.utils { import mx.core.*; import flash.display.*; public class GraphicsUtil { mx_internal static const VERSION:String = "3.3.0.4852"; 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 = (_arg2 + _arg4); var _local11:Number = (_arg3 + _arg5); var _local12:Number = ((_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; var _local13:Number = (_arg9 * 0.292893218813453); var _local14:Number = (_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 62
//NameUtil (mx.utils.NameUtil) package mx.utils { import mx.core.*; import flash.display.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.3.0.4852"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var result:String; var o:DisplayObject; var s:String; var indices:Array; var displayObject = _arg1; try { o = displayObject; while (o != null) { if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){ break; }; s = o.name; if ((o is IRepeaterClient)){ indices = IRepeaterClient(o).instanceIndices; if (indices){ s = (s + (("[" + indices.join("][")) + "]")); }; }; result = ((result == null)) ? s : ((s + ".") + result); o = o.parent; }; } catch(e:SecurityError) { }; return (result); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 63
//StringUtil (mx.utils.StringUtil) package mx.utils { import mx.core.*; public class StringUtil { mx_internal static const VERSION:String = "3.3.0.4852"; public static function trim(_arg1:String):String{ if (_arg1 == null){ return (""); }; var _local2:int; while (isWhitespace(_arg1.charAt(_local2))) { _local2++; }; var _local3:int = (_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 _local4:Array; if (_arg1 == null){ return (""); }; var _local3:uint = _args.length; if ((((_local3 == 1)) && ((_args[0] is Array)))){ _local4 = (_args[0] as Array); _local3 = _local4.length; } else { _local4 = _args; }; var _local5:int; 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 64
//Component (ui.Component) package ui { import flash.events.*; import flash.display.*; import flash.filters.*; public class Component extends Sprite { protected var _height:Number;// = 0 protected var _width:Number;// = 0 private var Ronda:Class; public static const DRAW:String = "draw"; public function Component(_arg1:Sprite, _arg2:Sprite, _arg3:DisplayObjectContainer=null, _arg4:Number=0, _arg5:Number=0):void{ move(_arg4, _arg5); if (_arg3 != null){ _arg3.addChild(this); }; init(); } protected function addChildren():void{ } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(); } public function draw():void{ dispatchEvent(new Event(Component.DRAW)); } override public function get width():Number{ return (_width); } protected function init():void{ addChildren(); invalidate(); } public function move(_arg1:Number, _arg2:Number):void{ x = Math.round(_arg1); y = Math.round(_arg2); } override public function set y(_arg1:Number):void{ super.y = Math.round(_arg1); } protected function getShadow(_arg1:Number, _arg2:Boolean=false):DropShadowFilter{ return (new DropShadowFilter()); } override public function set x(_arg1:Number):void{ super.x = Math.round(_arg1); } override public function set width(_arg1:Number):void{ _width = _arg1; invalidate(); dispatchEvent(new Event(Event.RESIZE)); } private function onInvalidate(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, onInvalidate); draw(); } protected function invalidate():void{ addEventListener(Event.ENTER_FRAME, onInvalidate); } override public function set height(_arg1:Number):void{ _height = _arg1; invalidate(); dispatchEvent(new Event(Event.RESIZE)); } override public function get height():Number{ return (_height); } public static function initStage(_arg1:Stage):void{ _arg1.align = StageAlign.TOP_LEFT; _arg1.scaleMode = StageScaleMode.NO_SCALE; } } }//package ui
Section 65
//Slider (ui.Slider) package ui { import flash.events.*; import flash.geom.*; import flash.display.*; public class Slider extends Component { private var _back:Sprite; protected var _handle:Sprite; protected var _orientation:String; protected var _min:Number;// = 0 private var _backClick:Boolean;// = false protected var _max:Number;// = 100 protected var _value:Number;// = 0 public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; public function Slider(_arg1:Sprite, _arg2:Sprite, _arg3:String="horizontal", _arg4:DisplayObjectContainer=null, _arg5:Number=0, _arg6:Number=0){ _handle = new Sprite(); _back = new Sprite(); addEventListener(Event.ENTER_FRAME, update); _orientation = _arg3; super(_arg1, _arg2, _arg4, _arg5, _arg6); } override protected function addChildren():void{ _back = new Sprite(); addChild(_back); _handle = new SliderControl(); _handle.addEventListener(MouseEvent.MOUSE_DOWN, onDrag); _handle.buttonMode = true; _handle.useHandCursor = true; addChild(_handle); } private function onBackClick(_arg1:MouseEvent):void{ if (_orientation == HORIZONTAL){ _handle.x = (mouseX - (height / 2)); _handle.x = Math.max(_handle.x, 0); _handle.x = Math.min(_handle.x, (width - height)); _value = (((_handle.x / (width - height)) * (_max - _min)) + _min); } else { _handle.y = (mouseY - (width / 2)); _handle.y = Math.max(_handle.y, 0); _handle.y = Math.min(_handle.y, (height - width)); _value = (((((_height - _width) - _handle.y) / (height - width)) * (_max - _min)) + _min); }; dispatchEvent(new Event(Event.CHANGE)); } public function setSliderParams(_arg1:Number, _arg2:Number, _arg3:Number):void{ this.minimum = _arg1; this.maximum = _arg2; this.value = _arg3; } protected function drawBack():void{ if (_backClick){ _back.addEventListener(MouseEvent.MOUSE_DOWN, onBackClick); } else { _back.removeEventListener(MouseEvent.MOUSE_DOWN, onBackClick); }; } public function set value(_arg1:Number):void{ _value = _arg1; correctValue(); positionHandle(); } private function update(_arg1:Event):void{ } protected function onSlide(_arg1:MouseEvent):void{ var _local2:Number = _value; if (_orientation == HORIZONTAL){ _value = (((_handle.x / (width - height)) * (_max - _min)) + _min); } else { _value = (((((_height - _width) - _handle.y) / (height - width)) * (_max - _min)) + _min); }; if (_value != _local2){ dispatchEvent(new Event(Event.CHANGE)); }; } public function get minimum():Number{ return (_min); } override protected function init():void{ super.init(); if (_orientation == HORIZONTAL){ setSize(100, 20); } else { setSize(200, 100); }; } public function set maximum(_arg1:Number):void{ _max = _arg1; correctValue(); positionHandle(); } public function set backClick(_arg1:Boolean):void{ _backClick = _arg1; invalidate(); } protected function drawHandle():void{ if (_orientation == HORIZONTAL){ _handle.graphics.drawRect(1, 1, (_height - 2), (_height - 2)); } else { _handle.graphics.drawRect(1, 1, _width, _width); }; _handle.graphics.endFill(); positionHandle(); } override public function draw():void{ super.draw(); drawBack(); drawHandle(); } public function get maximum():Number{ return (_max); } public function get backClick():Boolean{ return (_backClick); } public function set minimum(_arg1:Number):void{ _min = _arg1; correctValue(); positionHandle(); } private function correctValue():void{ if (_max > _min){ _value = Math.min(_value, _max); _value = Math.max(_value, _min); } else { _value = Math.max(_value, _max); _value = Math.min(_value, _min); }; } protected function onDrop(_arg1:MouseEvent):void{ stage.removeEventListener(MouseEvent.MOUSE_UP, onDrop); stage.removeEventListener(MouseEvent.MOUSE_MOVE, onSlide); stopDrag(); } protected function positionHandle():void{ var _local1:Number; if (_orientation == HORIZONTAL){ _local1 = (width - height); _handle.x = (((_value - _min) / (_max - _min)) * _local1); } else { _local1 = (height - width); _handle.y = ((_height - _width) - (((_value - _min) / (_max - _min)) * _local1)); }; } public function get value():Number{ return (_value); } protected function onDrag(_arg1:MouseEvent):void{ stage.addEventListener(MouseEvent.MOUSE_UP, onDrop); stage.addEventListener(MouseEvent.MOUSE_MOVE, onSlide); if (_orientation == HORIZONTAL){ _handle.startDrag(false, new Rectangle(0, 0, (width - height), 0)); } else { _handle.startDrag(false, new Rectangle(0, 0, 0, (height - width))); }; } } }//package ui
Section 66
//_activeButtonStyleStyle (_activeButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".activeButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 67
//_activeTabStyleStyle (_activeTabStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeTabStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = 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 68
//_alertButtonStyleStyle (_alertButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _alertButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = 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 69
//_comboDropdownStyle (_comboDropdownStyle) package { import mx.core.*; import mx.styles.*; public class _comboDropdownStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".comboDropdown"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".comboDropdown", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.shadowDirection = "center"; this.fontWeight = "normal"; this.dropShadowEnabled = true; this.leading = 0; this.backgroundColor = 0xFFFFFF; this.shadowDistance = 1; this.cornerRadius = 0; this.borderThickness = 0; this.paddingLeft = 5; this.paddingRight = 5; }; }; } } }//package
Section 70
//_dataGridStylesStyle (_dataGridStylesStyle) package { import mx.core.*; import mx.styles.*; public class _dataGridStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = 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 71
//_dateFieldPopupStyle (_dateFieldPopupStyle) package { import mx.core.*; import mx.styles.*; public class _dateFieldPopupStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = 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.backgroundColor = 0xFFFFFF; this.borderThickness = 0; }; }; } } }//package
Section 72
//_errorTipStyle (_errorTipStyle) package { import mx.core.*; import mx.styles.*; public class _errorTipStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".errorTip"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".errorTip", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.borderStyle = "errorTipRight"; this.paddingTop = 4; this.borderColor = 13510953; this.color = 0xFFFFFF; this.fontSize = 9; this.shadowColor = 0; this.paddingLeft = 4; this.paddingBottom = 4; this.paddingRight = 4; }; }; } } }//package
Section 73
//_globalStyle (_globalStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _globalStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("global"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("global", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fillColor = 0xFFFFFF; this.kerning = false; this.iconColor = 0x111111; this.textRollOverColor = 2831164; this.horizontalAlign = "left"; this.shadowCapColor = 14015965; this.backgroundAlpha = 1; this.filled = true; this.textDecoration = "none"; this.roundedBottomCorners = true; this.fontThickness = 0; this.focusBlendMode = "normal"; this.fillColors = [0xFFFFFF, 0xCCCCCC, 0xFFFFFF, 0xEEEEEE]; this.horizontalGap = 8; this.borderCapColor = 9542041; this.buttonColor = 7305079; this.indentation = 17; this.selectionDisabledColor = 0xDDDDDD; this.closeDuration = 250; this.embedFonts = false; this.paddingTop = 0; this.letterSpacing = 0; this.focusAlpha = 0.4; this.bevel = true; this.fontSize = 10; this.shadowColor = 0xEEEEEE; this.borderAlpha = 1; this.paddingLeft = 0; this.fontWeight = "normal"; this.indicatorGap = 14; this.focusSkin = HaloFocusRect; this.dropShadowEnabled = false; this.leading = 2; this.borderSkin = HaloBorder; this.fontSharpness = 0; this.modalTransparencyDuration = 100; this.borderThickness = 1; this.backgroundSize = "auto"; this.borderStyle = "inset"; this.borderColor = 12040892; this.fontAntiAliasType = "advanced"; this.errorColor = 0xFF0000; this.shadowDistance = 2; this.horizontalGridLineColor = 0xF7F7F7; this.stroked = false; this.modalTransparencyColor = 0xDDDDDD; this.cornerRadius = 0; this.verticalAlign = "top"; this.textIndent = 0; this.fillAlphas = [0.6, 0.4, 0.75, 0.65]; this.verticalGridLineColor = 14015965; this.themeColor = 40447; this.version = "3.0.0"; this.shadowDirection = "center"; this.modalTransparency = 0.5; this.repeatInterval = 35; this.openDuration = 250; this.textAlign = "left"; this.fontFamily = "Verdana"; this.textSelectedColor = 2831164; this.paddingBottom = 0; this.strokeWidth = 1; this.fontGridFitType = "pixel"; this.horizontalGridLines = false; this.useRollOver = true; this.verticalGridLines = true; this.repeatDelay = 500; this.fontStyle = "normal"; this.dropShadowColor = 0; this.focusThickness = 2; this.verticalGap = 6; this.disabledColor = 11187123; this.paddingRight = 0; this.focusRoundedCorners = "tl tr bl br"; this.borderSides = "left top right bottom"; this.disabledIconColor = 0x999999; this.modalTransparencyBlur = 3; this.color = 734012; this.selectionDuration = 250; this.highlightAlphas = [0.3, 0]; }; }; } } }//package
Section 74
//_headerDateTextStyle (_headerDateTextStyle) package { import mx.core.*; import mx.styles.*; public class _headerDateTextStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".headerDateText"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDateText", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.textAlign = "center"; }; }; } } }//package
Section 75
//_headerDragProxyStyleStyle (_headerDragProxyStyleStyle) package { import mx.core.*; import mx.styles.*; public class _headerDragProxyStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = 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 76
//_linkButtonStyleStyle (_linkButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _linkButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".linkButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".linkButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 2; this.paddingLeft = 2; this.paddingBottom = 2; this.paddingRight = 2; }; }; } } }//package
Section 77
//_opaquePanelStyle (_opaquePanelStyle) package { import mx.core.*; import mx.styles.*; public class _opaquePanelStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".opaquePanel"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".opaquePanel", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.borderColor = 0xFFFFFF; this.backgroundColor = 0xFFFFFF; this.headerColors = [0xE7E7E7, 0xD9D9D9]; this.footerColors = [0xE7E7E7, 0xC7C7C7]; this.borderAlpha = 1; }; }; } } }//package
Section 78
//_plainStyle (_plainStyle) package { import mx.core.*; import mx.styles.*; public class _plainStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = 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.backgroundColor = 0xFFFFFF; this.backgroundImage = ""; this.horizontalAlign = "left"; this.paddingLeft = 0; this.paddingBottom = 0; this.paddingRight = 0; }; }; } } }//package
Section 79
//_popUpMenuStyle (_popUpMenuStyle) package { import mx.core.*; import mx.styles.*; public class _popUpMenuStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".popUpMenu"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".popUpMenu", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "normal"; this.textAlign = "left"; }; }; } } }//package
Section 80
//_richTextEditorTextAreaStyleStyle (_richTextEditorTextAreaStyleStyle) package { import mx.core.*; import mx.styles.*; public class _richTextEditorTextAreaStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".richTextEditorTextAreaStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".richTextEditorTextAreaStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 81
//_swatchPanelTextFieldStyle (_swatchPanelTextFieldStyle) package { import mx.core.*; import mx.styles.*; public class _swatchPanelTextFieldStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".swatchPanelTextField"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".swatchPanelTextField", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.borderStyle = "inset"; this.borderColor = 14015965; this.highlightColor = 12897484; this.backgroundColor = 0xFFFFFF; this.shadowCapColor = 14015965; this.shadowColor = 14015965; this.paddingLeft = 5; this.buttonColor = 7305079; this.borderCapColor = 9542041; this.paddingRight = 5; }; }; } } }//package
Section 82
//_textAreaHScrollBarStyleStyle (_textAreaHScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaHScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".textAreaHScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaHScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 83
//_textAreaVScrollBarStyleStyle (_textAreaVScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaVScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".textAreaVScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaVScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 84
//_todayStyleStyle (_todayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _todayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".todayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".todayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 0xFFFFFF; this.textAlign = "center"; }; }; } } }//package
Section 85
//_weekDayStyleStyle (_weekDayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _weekDayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".weekDayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".weekDayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.textAlign = "center"; }; }; } } }//package
Section 86
//_windowStatusStyle (_windowStatusStyle) package { import mx.core.*; import mx.styles.*; public class _windowStatusStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = 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 87
//_windowStylesStyle (_windowStylesStyle) package { import mx.core.*; import mx.styles.*; public class _windowStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = 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 88
//bad_hamster (bad_hamster) package { import flash.display.*; public dynamic class bad_hamster extends MovieClip { } }//package
Section 89
//badResult (badResult) package { import flash.display.*; public dynamic class badResult extends MovieClip { public var moregames:moregameBtn; public var tryagain:SimpleButton; } }//package
Section 90
//bgsound (bgsound) package { import flash.media.*; public dynamic class bgsound extends Sound { } }//package
Section 91
//buttonfon (buttonfon) package { import flash.display.*; public dynamic class buttonfon extends MovieClip { } }//package
Section 92
//buttonSound (buttonSound) package { import flash.media.*; public dynamic class buttonSound extends Sound { } }//package
Section 93
//d_eat_1 (d_eat_1) package { import flash.display.*; public dynamic class d_eat_1 extends MovieClip { } }//package
Section 94
//d_eat_10 (d_eat_10) package { import flash.display.*; public dynamic class d_eat_10 extends MovieClip { } }//package
Section 95
//d_eat_13 (d_eat_13) package { import flash.display.*; public dynamic class d_eat_13 extends MovieClip { } }//package
Section 96
//d_eat_15 (d_eat_15) package { import flash.display.*; public dynamic class d_eat_15 extends MovieClip { } }//package
Section 97
//d_eat_2 (d_eat_2) package { import flash.display.*; public dynamic class d_eat_2 extends MovieClip { } }//package
Section 98
//d_eat_21 (d_eat_21) package { import flash.display.*; public dynamic class d_eat_21 extends MovieClip { } }//package
Section 99
//d_eat_22 (d_eat_22) package { import flash.display.*; public dynamic class d_eat_22 extends MovieClip { } }//package
Section 100
//d_eat_5 (d_eat_5) package { import flash.display.*; public dynamic class d_eat_5 extends MovieClip { } }//package
Section 101
//d_eat_6 (d_eat_6) package { import flash.display.*; public dynamic class d_eat_6 extends MovieClip { } }//package
Section 102
//d_eat_7 (d_eat_7) package { import flash.display.*; public dynamic class d_eat_7 extends MovieClip { } }//package
Section 103
//d_eat14 (d_eat14) package { import flash.display.*; public dynamic class d_eat14 extends MovieClip { } }//package
Section 104
//d_gaav (d_gaav) package { import flash.display.*; public dynamic class d_gaav extends MovieClip { } }//package
Section 105
//d_game_0 (d_game_0) package { import flash.display.*; public dynamic class d_game_0 extends MovieClip { } }//package
Section 106
//d_game_10 (d_game_10) package { import flash.display.*; public dynamic class d_game_10 extends MovieClip { } }//package
Section 107
//d_game_11 (d_game_11) package { import flash.display.*; public dynamic class d_game_11 extends MovieClip { } }//package
Section 108
//d_game_12 (d_game_12) package { import flash.display.*; public dynamic class d_game_12 extends MovieClip { } }//package
Section 109
//d_game_13 (d_game_13) package { import flash.display.*; public dynamic class d_game_13 extends MovieClip { } }//package
Section 110
//d_game_14 (d_game_14) package { import flash.display.*; public dynamic class d_game_14 extends MovieClip { } }//package
Section 111
//d_game_15 (d_game_15) package { import flash.display.*; public dynamic class d_game_15 extends MovieClip { } }//package
Section 112
//d_game_16 (d_game_16) package { import flash.display.*; public dynamic class d_game_16 extends MovieClip { } }//package
Section 113
//d_game_17 (d_game_17) package { import flash.display.*; public dynamic class d_game_17 extends MovieClip { } }//package
Section 114
//d_game_18 (d_game_18) package { import flash.display.*; public dynamic class d_game_18 extends MovieClip { } }//package
Section 115
//d_game_19 (d_game_19) package { import flash.display.*; public dynamic class d_game_19 extends MovieClip { } }//package
Section 116
//d_game_3 (d_game_3) package { import flash.display.*; public dynamic class d_game_3 extends MovieClip { } }//package
Section 117
//d_game_5 (d_game_5) package { import flash.display.*; public dynamic class d_game_5 extends MovieClip { } }//package
Section 118
//d_game_6 (d_game_6) package { import flash.display.*; public dynamic class d_game_6 extends MovieClip { } }//package
Section 119
//d_game_7 (d_game_7) package { import flash.display.*; public dynamic class d_game_7 extends MovieClip { } }//package
Section 120
//d_game_9 (d_game_9) package { import flash.display.*; public dynamic class d_game_9 extends MovieClip { } }//package
Section 121
//d_kolesa_12 (d_kolesa_12) package { import flash.display.*; public dynamic class d_kolesa_12 extends MovieClip { } }//package
Section 122
//d_kolesa_15 (d_kolesa_15) package { import flash.display.*; public dynamic class d_kolesa_15 extends MovieClip { } }//package
Section 123
//d_kolesa_16 (d_kolesa_16) package { import flash.display.*; public dynamic class d_kolesa_16 extends MovieClip { } }//package
Section 124
//d_kolesa_17 (d_kolesa_17) package { import flash.display.*; public dynamic class d_kolesa_17 extends MovieClip { } }//package
Section 125
//d_kolesa_18 (d_kolesa_18) package { import flash.display.*; public dynamic class d_kolesa_18 extends MovieClip { } }//package
Section 126
//d_kolesa_20 (d_kolesa_20) package { import flash.display.*; public dynamic class d_kolesa_20 extends MovieClip { } }//package
Section 127
//d_kolesa_21 (d_kolesa_21) package { import flash.display.*; public dynamic class d_kolesa_21 extends MovieClip { } }//package
Section 128
//d_kolesa_22 (d_kolesa_22) package { import flash.display.*; public dynamic class d_kolesa_22 extends MovieClip { } }//package
Section 129
//d_kolesa_3 (d_kolesa_3) package { import flash.display.*; public dynamic class d_kolesa_3 extends MovieClip { } }//package
Section 130
//d_kolesa_6 (d_kolesa_6) package { import flash.display.*; public dynamic class d_kolesa_6 extends MovieClip { } }//package
Section 131
//d_pricrasu_11 (d_pricrasu_11) package { import flash.display.*; public dynamic class d_pricrasu_11 extends MovieClip { } }//package
Section 132
//d_pricrasu_13 (d_pricrasu_13) package { import flash.display.*; public dynamic class d_pricrasu_13 extends MovieClip { } }//package
Section 133
//d_pricrasu_14 (d_pricrasu_14) package { import flash.display.*; public dynamic class d_pricrasu_14 extends MovieClip { } }//package
Section 134
//d_pricrasu_15 (d_pricrasu_15) package { import flash.display.*; public dynamic class d_pricrasu_15 extends MovieClip { } }//package
Section 135
//d_pricrasu_16 (d_pricrasu_16) package { import flash.display.*; public dynamic class d_pricrasu_16 extends MovieClip { } }//package
Section 136
//d_pricrasu_18 (d_pricrasu_18) package { import flash.display.*; public dynamic class d_pricrasu_18 extends MovieClip { } }//package
Section 137
//d_pricrasu_19 (d_pricrasu_19) package { import flash.display.*; public dynamic class d_pricrasu_19 extends MovieClip { } }//package
Section 138
//d_pricrasu_2 (d_pricrasu_2) package { import flash.display.*; public dynamic class d_pricrasu_2 extends MovieClip { } }//package
Section 139
//d_pricrasu_20 (d_pricrasu_20) package { import flash.display.*; public dynamic class d_pricrasu_20 extends MovieClip { } }//package
Section 140
//d_pricrasu_23 (d_pricrasu_23) package { import flash.display.*; public dynamic class d_pricrasu_23 extends MovieClip { } }//package
Section 141
//d_pricrasu_25 (d_pricrasu_25) package { import flash.display.*; public dynamic class d_pricrasu_25 extends MovieClip { } }//package
Section 142
//d_pricrasu_26 (d_pricrasu_26) package { import flash.display.*; public dynamic class d_pricrasu_26 extends MovieClip { } }//package
Section 143
//d_pricrasu_27 (d_pricrasu_27) package { import flash.display.*; public dynamic class d_pricrasu_27 extends MovieClip { public var s_stina:d_pricrasu_9; } }//package
Section 144
//d_pricrasu_28 (d_pricrasu_28) package { import flash.display.*; public dynamic class d_pricrasu_28 extends MovieClip { public var s_stina:d_pricrasu_9; } }//package
Section 145
//d_pricrasu_3 (d_pricrasu_3) package { import flash.display.*; public dynamic class d_pricrasu_3 extends MovieClip { } }//package
Section 146
//d_pricrasu_30 (d_pricrasu_30) package { import flash.display.*; public dynamic class d_pricrasu_30 extends MovieClip { public var s_stina:d_pricrasu_9; } }//package
Section 147
//d_pricrasu_6 (d_pricrasu_6) package { import flash.display.*; public dynamic class d_pricrasu_6 extends MovieClip { } }//package
Section 148
//d_pricrasu_9 (d_pricrasu_9) package { import flash.display.*; public dynamic class d_pricrasu_9 extends MovieClip { } }//package
Section 149
//d_pricrasu100 (d_pricrasu100) package { import flash.display.*; public dynamic class d_pricrasu100 extends MovieClip { } }//package
Section 150
//d_prirasu_22 (d_prirasu_22) package { import flash.display.*; public dynamic class d_prirasu_22 extends MovieClip { } }//package
Section 151
//DropButton (DropButton) package { import flash.geom.*; import flash.display.*; public class DropButton extends Sprite { public var disp:DisplayObject; public var stName:String; private var buttonFonContainer:Sprite; private var ibuttonfon:MovieClip; private var dropSprite:Sprite; public var parentName:String; public var dropbutHeight:int;// = 60 public var dropbutWith:int;// = 60 public function DropButton(_arg1:DisplayObject){ dropSprite = new Sprite(); ibuttonfon = new dropListfon(); super(); this.disp = _arg1; _arg1.x = 0; _arg1.y = 0; parentName = _arg1.parent.name; addButtonfon(); dropSprite.addChild(_arg1); ScaleTo.scaleDisplay(_arg1, new Rectangle(0, 0, dropbutHeight, dropbutHeight)); var _local2:Rectangle = _arg1.getBounds(this); _arg1.x = ((_arg1.x - _local2.x) + ((dropbutWith - _arg1.width) * 0.5)); _arg1.y = ((_arg1.y - _local2.y) + ((dropbutHeight - _arg1.height) * 0.5)); addChild(dropSprite); } public function addButtonfon():void{ var _local1:Rectangle = disp.getBounds(this); buttonFonContainer = new Sprite(); buttonFonContainer.buttonMode = false; ScaleTo.scaleDisplay(ibuttonfon, new Rectangle(0, 0, 65, 65)); buttonFonContainer.addChild(ibuttonfon); dropSprite.addChild(buttonFonContainer); } } }//package
Section 152
//DropList (DropList) package { import flash.events.*; import flash.geom.*; import flash.display.*; import ui.*; public class DropList extends Sprite { public var dispFonList:DisplayObject; public var listSprite:Sprite; private var _listPanel:MovieClip; private var _slider:Slider; private var visibleListArray:Array; private var basicInterval:int;// = 0 private var eatList:Sprite; private var currentVisibleItemName:String; public var currentShadowObject:DisplayObject; public var api:InterierAPI; public var _fonContainer:Sprite; public var _slideSprite:Sprite; public var canDel:Boolean;// = false private var listname:String; private var pricrasuList:Sprite; public var dropList:Sprite; private var mainMc:MovieClip; private var kolesaList:Sprite; public var currentClickObject:DropObject; private var listElements:Array; public var dropMainSprite:Sprite; private var _back:Sprite; private var _handle:Sprite; private var gameToyList:Sprite; private var dublicateCreate:Boolean;// = false private var _dublicate:DropObject; public function DropList(_arg1:InterierAPI, _arg2:MovieClip){ dropList = new Sprite(); visibleListArray = new Array(); listElements = new Array(); mainMc = new mainData(); pricrasuList = new Sprite(); eatList = new Sprite(); gameToyList = new Sprite(); kolesaList = new Sprite(); dropMainSprite = new Sprite(); _fonContainer = new Sprite(); listSprite = new Sprite(); _listPanel = new listPanel(); dispFonList = _listPanel.getChildAt(0); _back = new Sprite(); _handle = new Sprite(); _slideSprite = new Sprite(); super(); this.api = _arg1; createElementArray(); listSprite.visible = false; _fonContainer.visible = false; addChild(_fonContainer); dispFonList.width = 70; dispFonList.height = 410; _fonContainer.x = 10; _fonContainer.y = -5; _fonContainer.addChild(dispFonList); addChild(_slideSprite); shSlider(); addListSprite(); var _local3:Sprite = new Sprite(); addChild(_local3); _local3.y = -12; _local3.scrollRect = new Rectangle(0, 0, 500, 370); _local3.addChild(listSprite); createDropList(); addEventListener(Event.ENTER_FRAME, update); addChild(dropMainSprite); } public function hideList():void{ _slider.visible = false; listSprite.visible = false; _fonContainer.visible = false; } private function addListSprite():void{ listSprite.x = 0; listSprite.y = 0; listSprite.addChild(pricrasuList); listSprite.addChild(eatList); listSprite.addChild(kolesaList); listSprite.addChild(gameToyList); } private function сangeFixObject(_arg1:MouseEvent):void{ } private function createSingleDropElement(_arg1:MovieClip):void{ var _local4:DisplayObject; var _local5:String; var _local6:DropButton; var _local2:int = _arg1.numChildren; var _local3:int; while (_local3 < _local2) { _local4 = _arg1.getChildAt(0); MovieClip(_local4).stop(); _local5 = _local4.parent.name.substr(2, (_local4.parent.name.length - 2)); _local6 = new DropButton(_local4); _local6.stName = _local4.name; _local6.y = basicInterval; if (_local5 == "kolesa"){ basicInterval = (basicInterval + 75); } else { basicInterval = (basicInterval + 74); }; _local6.addEventListener(MouseEvent.MOUSE_DOWN, createDublicate); switch (_local5){ case "pricrasu": _local6.buttonMode = true; pricrasuList.addChild(_local6); pricrasuList.visible = false; break; case "eat": _local6.buttonMode = true; eatList.addChild(_local6); eatList.visible = false; break; case "game": _local6.buttonMode = true; gameToyList.addChild(_local6); gameToyList.visible = false; break; case "kolesa": _local6.buttonMode = true; kolesaList.addChild(_local6); gameToyList.visible = false; break; }; _local3++; }; } private function showListFon():void{ _fonContainer.visible = true; _slider.visible = true; _slider.setSliderParams(-500, 0, 0); dropMainSprite.visible = true; listSprite.visible = true; dropMainSprite.x = 10; dropMainSprite.y = -5; } private function shSlider():void{ _slider = new Slider(_back, _handle, "vertical", _handle, 72, -50); _slider.visible = false; _slider.setSliderParams(-550, 0, 0); _slider.setSize(15, 365); _slideSprite.x = 0; _slideSprite.y = -120; _slideSprite.addChild(_slider); } private function cancelDublicate(_arg1:MouseEvent):void{ _arg1.currentTarget.stopDrag(); } public function changeVisible(_arg1:String):void{ showListFon(); currentVisibleItemName = _arg1; switch (_arg1){ case "img_eat": eatList.visible = true; pricrasuList.visible = false; kolesaList.visible = false; gameToyList.visible = false; break; case "img_pricrasu": pricrasuList.visible = true; gameToyList.visible = false; kolesaList.visible = false; eatList.visible = false; break; case "img_game": gameToyList.visible = true; kolesaList.visible = false; pricrasuList.visible = false; eatList.visible = false; break; case "img_kolesa": kolesaList.visible = true; gameToyList.visible = false; pricrasuList.visible = false; eatList.visible = false; break; }; } public function playDropSnd():void{ api.sndManager.playDropSound(); } private function update(_arg1:Event):void{ nextVisibleElement(); } public function createDropList():void{ var _local1:MovieClip; for each (_local1 in listElements) { listSprite.x = 0; listSprite.y = 0; basicInterval = 0; createSingleDropElement(_local1); }; } private function createElementArray():void{ var _local2:DisplayObject; var _local1:int; while (_local1 < mainMc.numChildren) { _local2 = mainMc.getChildAt(_local1); if (_local2.name.substr(0, 2) == "d_"){ listElements.push((_local2 as MovieClip)); }; _local1++; }; } private function createDublicate(_arg1:MouseEvent):void{ var _local2:MovieClip = MovieClip(DropButton(_arg1.currentTarget).disp); var _local3:String = DropButton(_arg1.currentTarget).parentName; var _local4:String = DropButton(_arg1.currentTarget).stName; api.createDubclicate(this, _local2, _local3, _local4); } private function removeDublicate(_arg1:MouseEvent):void{ _arg1.currentTarget.stopDrag(); if (((dublicateCreate) && ((api.currentList.numChildren > 0)))){ api.currentList.removeChild(_dublicate); }; dublicateCreate = false; } public function nextVisibleElement():void{ switch (currentVisibleItemName){ case "img_eat": listSprite.y = (0.42 * _slider.value); break; case "img_pricrasu": listSprite.y = (2.05 * _slider.value); break; case "img_game": listSprite.y = (0.85 * _slider.value); break; case "img_kolesa": listSprite.y = (0.3 * _slider.value); break; }; } } }//package
Section 153
//dropListfon (dropListfon) package { import flash.display.*; public dynamic class dropListfon extends MovieClip { } }//package
Section 154
//DropObject (DropObject) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.filters.*; public class DropObject extends Sprite { public var dublicateObjectSprite:Sprite; private var d_game:Array; public var pointToShow:Array; public var pointList:Sprite; public var mainmc:MovieClip; private var sh:Boolean;// = true public var mc:MovieClip; private var eat:Array; public var parentName:String; public var list:DropList; private var currentShadowObject:DisplayObject; private var d_kolesa:Array; private var _getData:GetData; private var pricrasu:Array; public var currentClickObject:DisplayObject; public var drop:DisplayObject; private var current:DisplayObject; public var currentSt:String; public var d_eatList:Array; public function DropObject(_arg1:DropList, _arg2:MovieClip){ dublicateObjectSprite = new Sprite(); d_eatList = [d_eat_1, d_eat_2, d_eat_5, d_eat_6, d_eat_7, d_eat_10, d_pricrasu_2, d_pricrasu_3, d_pricrasu_6, d_pricrasu_9, d_pricrasu_11, undefined, d_pricrasu_13, d_pricrasu_14, d_pricrasu_15, d_pricrasu_16, d_pricrasu_18, d_pricrasu_19, d_pricrasu_20, d_kolesa_3, d_kolesa_12, d_kolesa_6, d_game_0, d_game_3, d_game_5, d_game_6, d_game_7, d_game_9, d_game_10, d_game_11]; eat = [d_eat14, d_eat_13, d_eat_15, d_eat_21, d_eat_22]; pricrasu = [d_prirasu_22, d_pricrasu_23, d_pricrasu100, d_pricrasu_25, d_pricrasu_26, d_pricrasu_27, d_pricrasu_28, d_pricrasu_30]; d_game = [d_game_12, d_game_13, d_game_14, d_game_15, d_game_16, d_game_17, d_game_18, d_game_18, d_game_19, d_gaav]; d_kolesa = [d_kolesa_15, d_kolesa_16, d_kolesa_17, d_kolesa_18, d_kolesa_20, d_kolesa_21, d_kolesa_22]; mainmc = new point_Data(); pointList = new Sprite(); pointToShow = new Array(); _getData = new GetData(mainmc); super(); this.mc = _arg2; this.buttonMode = true; this.list = _arg1; _arg2.gotoAndStop(1); createDublicate(); } public function stopNewDrag(_arg1:MouseEvent=null, _arg2:DisplayObject=null):void{ list.playDropSnd(); if (_arg1 == null){ current = _arg2; } else { current = DisplayObject(_arg1.currentTarget); }; list.api.startcheckDistance = true; list.api.currenobjectName = parentName; list.api.showPoint = false; list.api.currentClickObject = current; list.currentClickObject = this; this.stopDrag(); Sprite(current).stopDrag(); currentClickObject = current; if (_arg1 != null){ _arg1.stopPropagation(); }; } public function highlightObject(_arg1:DisplayObject):void{ if (list.currentShadowObject != null){ list.currentShadowObject.filters = []; }; _arg1.filters = [new GlowFilter(0xFF0000, 1, 10, 10, 1.2, 1), new GlowFilter(0xFFFFFF, 5, 5, 1.2, 1)]; list.currentShadowObject = _arg1; } public function removeListner(_arg1:DisplayObject):void{ _arg1.removeEventListener(MouseEvent.MOUSE_UP, stopNewDrag); _arg1.removeEventListener(MouseEvent.MOUSE_DOWN, startNewDrag); _arg1.filters = []; } public function duplicateDisplayObject(_arg1:DisplayObject, _arg2:Boolean=false):DisplayObject{ var _local5:Rectangle; var _local3:Class = Object(_arg1).constructor; var _local4:DisplayObject = new (_local3); _local4.filters = _arg1.filters; _local4.cacheAsBitmap = _arg1.cacheAsBitmap; _local4.opaqueBackground = _arg1.opaqueBackground; if (_arg1.scale9Grid){ _local5 = _arg1.scale9Grid; _arg1.scale9Grid.x = (_local5.x / 20); _local5.y = (_local5.y / 20); _local5.width = (_local5.width / 20); _local5.height = (_local5.height / 20); _local4.scale9Grid = _local5; }; if (((_arg2) && (_arg1.parent))){ _arg1.parent.addChild(_local4); }; return (_local4); } public function createDublicate():void{ drop = duplicateDisplayObject(mc); drop.x = 0; drop.y = 0; MovieClip(drop).gotoAndStop(1); addChild(drop); drop.addEventListener(MouseEvent.MOUSE_DOWN, startNewDrag); drop.addEventListener(MouseEvent.MOUSE_UP, stopNewDrag); } public function startNewDrag(_arg1:MouseEvent=null, _arg2:DisplayObject=null):void{ if (_arg1 == null){ current = _arg2; } else { current = DisplayObject(_arg1.currentTarget); }; highlightObject(current); list.currentClickObject = this; list.api.startcheckDistance = false; list.api.currenobjectName = parentName; list.api.currentClick = this; list.api.currentClickObject = current; list.api.showPoint = true; list.hideList(); this.startDrag(); currentClickObject = this; list.canDel = true; if (_arg1 != null){ _arg1.stopPropagation(); }; } } }//package
Section 155
//dropSound (dropSound) package { import flash.media.*; public dynamic class dropSound extends Sound { } }//package
Section 156
//en_US$core_properties (en_US$core_properties) package { import mx.resources.*; public class en_US$core_properties extends ResourceBundle { public function en_US$core_properties(){ super("en_US", "core"); } override protected function getContent():Object{ var _local1:Object = {multipleChildSets_ClassAndInstance:"Multiple sets of visual children have been specified for this component (component definition and component instance).", truncationIndicator:"...", notExecuting:"Repeater is not executing.", versionAlreadyRead:"Compatibility version has already been read.", multipleChildSets_ClassAndSubclass:"Multiple sets of visual children have been specified for this component (base component definition and derived component definition).", viewSource:"View Source", badFile:"File does not exist.", stateUndefined:"Undefined state '{0}'.", versionAlreadySet:"Compatibility version has already been set."}; return (_local1); } } }//package
Section 157
//en_US$skins_properties (en_US$skins_properties) package { import mx.resources.*; public class en_US$skins_properties extends ResourceBundle { public function en_US$skins_properties(){ super("en_US", "skins"); } override protected function getContent():Object{ var _local1:Object = {notLoaded:"Unable to load '{0}'."}; return (_local1); } } }//package
Section 158
//en_US$styles_properties (en_US$styles_properties) package { import mx.resources.*; public class en_US$styles_properties extends ResourceBundle { public function en_US$styles_properties(){ super("en_US", "styles"); } override protected function getContent():Object{ var _local1:Object = {unableToLoad:"Unable to load style({0}): {1}."}; return (_local1); } } }//package
Section 159
//GetData (GetData) package { import flash.geom.*; import flash.display.*; public class GetData { public var currentData:MovieClip; public var pointArray:Array; public var dataArray:Array; public var staticElementsArray:Array; public var showPoint:Array; private var _pointData:MovieClip; public var showElement:Array; public function GetData(_arg1:MovieClip){ dataArray = new Array(); _pointData = new point_Data(); pointArray = new Array(); staticElementsArray = new Array(); showPoint = new Array(); showElement = new Array(); super(); currentData = _arg1; startParcing(); createPointArray(); } private function parcingMovieClip(_arg1:MovieClip, _arg2:String=""):DisplayObject{ var _local4:DisplayObject; var _local3:int; while (_local3 < _arg1.numChildren) { _local4 = _arg1.getChildAt(_local3); staticElementsArray.push(_local4); _local3++; }; return (_local4); } public function showElementbyName(_arg1:String):void{ var _local2:MovieClip; for each (_local2 in dataArray) { if (_local2.name == "d_pisok"){ parcingMovieClip(_local2); }; }; } public function getDatabyName(_arg1:String):DisplayObject{ var _local4:DisplayObject; var _local2:int; var _local3:int; while (_local3 < dataArray.length) { if (dataArray[_local3].name.search(_arg1) != -1){ _local4 = dataArray[_local3]; }; _local3++; }; return (_local4); } public function showPointbyName(_arg1:String):void{ var _local2:MovieClip; showPoint = []; for each (_local2 in dataArray) { if (_arg1.substr(2, (_arg1.length - 2)) == _local2.name.substr(2, (_local2.name.length - 2))){ showPoint.push(_local2); }; }; } public function getElementPosition(_arg1:String):void{ } public function getDataFroMoviClip(_arg1:MovieClip):void{ } public function createPointArray():void{ var _local2:DisplayObject; var _local1:int; while (_local1 < _pointData.numChildren) { _local2 = _pointData.getChildAt(_local1); pointArray.push(_local2); _local1++; }; } public function getElementByIndex(_arg1:String, _arg2:int=0):DisplayObject{ var _local4:MovieClip; var _local5:DisplayObject; var _local3:int; _arg2 = 0; while (_arg2 < dataArray.length) { if (dataArray[_arg2].name.search(_arg1) != -1){ _local4 = dataArray[_arg2]; _local5 = parcingMovieClip(_local4); }; _arg2++; }; return (_local5); } public function getPointByName(_arg1:String):Point{ var _local3:MovieClip; var _local2:Point = new Point(); for each (_local3 in dataArray) { if (_arg1.substr(2, (_arg1.length - 2)) == _local3.name.substr(2, (_local3.name.length - 2))){ _local2.x = _local3.x; _local2.y = _local3.y; }; }; return (_local2); } public function startParcing():void{ var _local2:DisplayObject; var _local1:int; while (_local1 < currentData.numChildren) { _local2 = currentData.getChildAt(_local1); dataArray.push(_local2); _local1++; }; } } }//package
Section 160
//goodhomak (goodhomak) package { import flash.display.*; public dynamic class goodhomak extends MovieClip { } }//package
Section 161
//goodResult (goodResult) package { import flash.display.*; public dynamic class goodResult extends MovieClip { public var moregames:moregameBtn; public var playagain:SimpleButton; } }//package
Section 162
//guide (guide) package { import flash.display.*; public dynamic class guide extends MovieClip { } }//package
Section 163
//homak_btn (homak_btn) package { import flash.display.*; public dynamic class homak_btn extends MovieClip { } }//package
Section 164
//hourseSound (hourseSound) package { import flash.media.*; public dynamic class hourseSound extends Sound { } }//package
Section 165
//IButton (IButton) package { import flash.geom.*; import flash.display.*; public class IButton extends Sprite { public var disp:DisplayObject; private var dispSprite:Sprite; public var ibuttonfon:DisplayObject; public var startPointY:int;// = 50 public var buttonFonContainer:Sprite; public var isStatic:Boolean;// = true public function IButton(_arg1:DisplayObject){ ibuttonfon = new buttonfon(); buttonFonContainer = new Sprite(); super(); this.disp = _arg1; MovieClip(_arg1).stop(); dispSprite = new Sprite(); addButtonfon(); _arg1.x = 0; _arg1.y = 0; dispSprite.addChild(_arg1); addChild(dispSprite); } public function addButtonfon():void{ var _local1:Rectangle = disp.getBounds(this); buttonFonContainer = new Sprite(); ScaleTo.scaleDisplay(ibuttonfon, new Rectangle(0, 0, 70, 70)); buttonFonContainer.addChild(ibuttonfon); dispSprite.addChild(buttonFonContainer); } public function setButtonPosition(_arg1:Point):void{ disp.x = _arg1.x; disp.y = _arg1.y; } public function setInterval(_arg1:int):void{ } } }//package
Section 166
//InterierAPI (InterierAPI) package { import flash.events.*; import flash.geom.*; import flash.display.*; public class InterierAPI extends Sprite { public var optionBoxSprite:Sprite; public var currenobjectName:String; public var sndManager:SoundInterier; private var currentsClick:DisplayObject; public var currentClick:DropObject; public var pointDisplay:Sprite; public var showPoint:Boolean;// = false public var _staticEl:StaticElement; public var _option:OptionPanel; public var _menuBox:MenuBox; public var currentClickObject:DisplayObject; public var mainMc:MovieClip; public var currentList:Sprite; public var resMenuSprite:Sprite; public var poinSprite:Sprite; public var menuBoxSprite:Sprite; public var pointDatalocal:MovieClip; private var e:MouseEvent; public var bgSprite:Sprite; public var startcheckDistance:Boolean;// = false private var _list:DropList; private var _dublicate:DropObject; public function InterierAPI(){ bgSprite = new Sprite(); menuBoxSprite = new Sprite(); optionBoxSprite = new Sprite(); mainMc = new mainData(); pointDatalocal = new point_Data(); pointDisplay = new Sprite(); resMenuSprite = new Sprite(); poinSprite = new Sprite(); currentList = new Sprite(); sndManager = new SoundInterier(); super(); sndManager.intiSound(); addChild(pointDisplay); addEventListener(Event.ENTER_FRAME, onEnterFrame); bgSprite.addEventListener(MouseEvent.CLICK, onBgclick); addEventListener(MouseEvent.MOUSE_UP, testEvent); } public function createDubclicate(_arg1:DropList, _arg2:MovieClip, _arg3:String, _arg4:String):void{ var _local7:MouseEvent; _dublicate = new DropObject(_arg1, _arg2); _dublicate.currentSt = _arg4; _dublicate.parentName = _arg3; var _local5:int = mouseX; var _local6:int = mouseY; _dublicate.x = _local5; _dublicate.y = _local6; currentList.addChild(_dublicate); _dublicate.startNewDrag(_local7, _dublicate.drop); } private function onBgclick(_arg1:MouseEvent):void{ if (_menuBox._dropList.currentClickObject != null){ _menuBox._dropList.currentClickObject.currentClickObject.filters = []; _menuBox._dropList.canDel = false; }; } public function setDefaultVisibleElement(_arg1:String):void{ var _local2:GetData = new GetData(mainMc); var _local3:DisplayObject = _local2.getDatabyName(_arg1); bgSprite.addChild(_local3); addChild(bgSprite); } public function changeFon():void{ _staticEl.nextElement(); } public function mutesound(_arg1:MouseEvent):void{ switch (sndManager.muteSnd){ case true: sndManager.muteSnd = false; break; case false: sndManager.muteSnd = true; break; }; } public function testEvent(_arg1:MouseEvent):void{ if (currentClick != null){ currentClick.stopNewDrag(null, currentClick); }; } public function removeListeners():void{ var _local2:DisplayObject; var _local3:DropObject; var _local1:int; while (_local1 < currentList.numChildren) { _local2 = currentList.getChildAt(_local1); _local3 = DropObject(_local2); _local3.removeListner(_local3.drop); _local1++; }; } public function showMenuBox(_arg1:Point):void{ _menuBox = new MenuBox(this); _menuBox.x = _arg1.x; _menuBox.y = _arg1.y; menuBoxSprite.addChild(_menuBox); } private function onEnterFrame(_arg1:Event):void{ } private function stoptipsWindow(_arg1:MouseEvent):void{ _option._homjakbtnk.gotoAndStop(2); } public function intitOptionPanel():void{ _option = new OptionPanel(this); _option.intitOptionPanel(); _option.x = 200; _option.y = 500; addChild(_option); addChild(resMenuSprite); addChild(menuBoxSprite); addEventListener(MouseEvent.CLICK, stoptipsWindow); } public function initApi():void{ } public function setStaticElement(_arg1:String):void{ _staticEl = new StaticElement(this, _arg1); addChild(_staticEl); } public function addDropList():void{ addChild(poinSprite); addChild(currentList); } } }//package
Section 167
//Intro (Intro) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.filters.*; import managers.*; public class Intro extends Sprite { private var shAnim:Boolean;// = false private var check:Boolean;// = false private var _guideanim:MovieClip; private var _introBg:MovieClip; private var mute:Boolean;// = false private var pointGet:Boolean; private var _morebtn:MovieClip; private var _soundvolume:MovieClip; private var _getingData:GetData; private var _PointList:Array; private var _setLocalMute:Boolean;// = false private var pointMc:MovieClip; private var localPointsArray:Array; private var _api:InterierAPI; private var pointList:Sprite; public var guideSprite:Sprite; private var start:Boolean;// = false private var distanse:Array; private var _tipsWindow:MovieClip; private var _getData:GetData; private var _playbtn:MovieClip; private var morebtn:MovieClip; public function Intro(){ _introBg = new startBg(); _playbtn = new playbtn(); _morebtn = new moregameBtn(); _tipsWindow = new tips(); _guideanim = new guide(); _soundvolume = new volume(); _api = new InterierAPI(); guideSprite = new Sprite(); pointMc = new point_Data(); _getData = new GetData(pointMc); pointList = new Sprite(); _getingData = new GetData(pointMc); _PointList = new Array(); super(); addChild(_introBg); initApi(); _api.sndManager.palyBgSound(); showSoundButton(); showMainMenu(); } public function checkDistanse(_arg1:DropObject):void{ var _local5:MovieClip; var _local7:DisplayObject; var _local8:DisplayObject; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:MovieClip; if (_arg1 == null){ return; }; if (_api.currentClick.currentSt.substr(0, 2) == "s_"){ localPointsArray = new Array(); localPointsArray = []; for each (_local7 in _PointList) { if (_api.currentClick.currentSt.substr(2, (_api.currenobjectName.length - 2)) == _local7.name.substr(2, (_local7.name.length - 2))){ localPointsArray.push(_local7); }; }; }; if (_api.currentClick.currentSt.substr(0, 2) != "s_"){ localPointsArray = new Array(); localPointsArray = []; for each (_local8 in _PointList) { if (_api.currenobjectName.substr(2, (_api.currenobjectName.length - 2)) == _local8.name.substr(2, (_local8.name.length - 2))){ localPointsArray.push(_local8); }; }; }; var _local2:int; var _local3:int; var _local4:int; distanse = new Array(); var _local6:int; while (_local6 < localPointsArray.length) { _local9 = 0; while (_local9 < localPointsArray.length) { _local13 = localPointsArray[_local6]; _local9++; }; _local10 = Math.round((_arg1.x - _local13.x)); _local11 = Math.round((_arg1.y - _local13.y)); _local12 = Math.round(Math.sqrt(((_local10 * _local10) + (_local11 * _local11)))); distanse.push(_local12); _local6++; }; _local2 = checkMinimumDistance(); fixObject(_local2, _arg1); } public function mutesound(_arg1:MouseEvent):void{ switch (_api.sndManager.muteSnd){ case true: _soundvolume.gotoAndStop(2); _api.sndManager.muteSnd = false; break; case false: _api.sndManager.palyBgSound(); _soundvolume.gotoAndStop(1); _api.sndManager.muteSnd = true; break; }; } private function shAnimGuide():void{ shAnim = true; guideSprite.x = 150; guideSprite.y = 90; ScaleTo.scaleDisplay(_guideanim, new Rectangle(0, 0, 600, 390)); guideSprite.addChild(_guideanim); } private function nextTip(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); if (start){ startGame(_arg1); return; }; shAnimGuide(); _tipsWindow.gotoAndStop(2); start = true; } public function fixObject(_arg1:int, _arg2:DropObject):void{ var _local4:MovieClip; var _local5:int; var _local6:int; var _local7:int; _api.startcheckDistance = false; var _local3:int; while (_local3 < localPointsArray.length) { _local4 = localPointsArray[_local3]; _local5 = Math.round((_arg2.x - _local4.x)); _local6 = Math.round((_arg2.y - _local4.y)); _local7 = Math.round(Math.sqrt(((_local5 * _local5) + (_local6 * _local6)))); if (_local7 == _arg1){ fixingObject(_local4, _arg2); return; }; _local3++; }; } public function startTips(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); removeChild(_introBg); startTipsGame(); _tipsWindow["nextbtn"].addEventListener(MouseEvent.CLICK, nextTip); _tipsWindow["skipbtn"].addEventListener(MouseEvent.CLICK, startGame); _tipsWindow.gotoAndStop(1); _tipsWindow.x = 10; _tipsWindow.y = 380; addChild(guideSprite); addChild(_tipsWindow); } public function showPoints(_arg1:String):void{ var _local2:int; var _local3:DisplayObject; var _local4:int; var _local5:DisplayObject; if (_api.currentClick.currentSt.substr(0, 2) == "s_"){ _getData.showPointbyName(_api.currentClick.currentSt); _local2 = 0; while (_local2 < _getData.showPoint.length) { _local3 = _getData.showPoint[_local2]; pointList.addChild(_local3); _local2++; }; _getData.showPointbyName(_api.currentClick.currentSt); } else { _local4 = 0; while (_local4 < _getData.showPoint.length) { _local5 = _getData.showPoint[_local4]; pointList.addChild(_local5); _local4++; }; _getData.showPointbyName(_arg1); }; } public function hidePoints():void{ while (pointList.numChildren) { pointList.removeChildAt(0); }; } private function update(_arg1:Event):void{ if (_api.showPoint){ hidePoints(); showPoints(_api.currenobjectName); }; if (!_api.showPoint){ hidePoints(); }; if (_api.startcheckDistance){ checkDistanse(_api.currentClick); }; } public function startTipsGame():void{ _api.visible = true; } public function showMainMenu():void{ morebtn = _introBg.morebtn; morebtn.buttonMode = true; morebtn["language"].gotoAndStop(parseFloat(language.language_nr)); morebtn["logo_mainscreen"].gotoAndStop(parseFloat(language.branding_nr)); _introBg["playBtn"].addEventListener(MouseEvent.CLICK, startTips); _introBg["morebtn"].addEventListener(MouseEvent.CLICK, moreGamesMenu); _playbtn.addEventListener(MouseEvent.CLICK, startTips); } public function showSoundButton():void{ _soundvolume.x = 660; _soundvolume.y = 10; _soundvolume.gotoAndStop(1); _soundvolume.buttonMode = true; _soundvolume.addEventListener(MouseEvent.CLICK, mutesound); addChild(_soundvolume); } public function set setLocalMute(_arg1:Boolean):void{ _setLocalMute = _arg1; } private function initApi():void{ _api.initApi(); _api.setDefaultVisibleElement("bg"); _api.setStaticElement("d_pisok"); _api._staticEl.nextElement(); _api.showMenuBox(new Point(100, 80)); _api.addDropList(); _api.intitOptionPanel(); _api._option.visible = false; _api._menuBox.canShowList = false; addChild(_api); _api._menuBox.filters = [new BlurFilter()]; _api.visible = false; addChild(pointList); pointList.addEventListener(MouseEvent.MOUSE_UP, _api.testEvent); } private function moreGamesMenu(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); LinksManager.navigateBrand(); } private function CreateAllPointList():void{ var _local2:DisplayObject; var _local1:int; while (_local1 < pointMc.numChildren) { _local2 = pointMc.getChildAt(_local1); if (_local2.name.substr(0, 2) == "p_"){ _PointList.push(_local2); }; _local1++; }; } public function startGame(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); _api._menuBox.createBuutonMode(); _api._menuBox.filters = []; removeChild(_soundvolume); _api._option.visible = true; removeChild(_tipsWindow); _api._menuBox.canShowList = true; if (shAnim){ guideSprite.removeChild(_guideanim); removeChild(guideSprite); }; CreateAllPointList(); addEventListener(Event.ENTER_FRAME, update); } private function fixingObject(_arg1:MovieClip, _arg2:DropObject):void{ _arg2.x = _arg1.x; _arg2.y = _arg1.y; _api.currentClick = null; _api.showPoint = false; } public function get setLocalMute():Boolean{ return (_setLocalMute); } private function checkMinimumDistance():int{ var _local1:int = distanse[0]; var _local2:int; while (_local2 < distanse.length) { if (distanse[_local2] < _local1){ _local1 = distanse[_local2]; }; _local2++; }; return (_local1); } } }//package
Section 168
//language (language) package { import flash.net.*; public class language { public static var localConnection:LocalConnection = new LocalConnection(); public static var _languageNum:uint = 0; public static var _languageBox:Array = new Array(); public static var SpillGroupUrl:Array = new Array(); public static var gamename:String = "hamster_paradise"; public static function get url2():String{ var _local1:int; while (_local1 < SpillGroupUrl.length) { if (localConnection.domain == SpillGroupUrl[_local1]){ return (_languageBox[_languageNum].url2); }; _local1++; }; return (_languageBox[_languageNum].url2); } public static function get language_nr():String{ return (_languageBox[_languageNum].language_nr); } public static function get portal():String{ return (_languageBox[_languageNum].portal); } public static function set Language(_arg1:Object):void{ var domainextention:int; var domainname:int; var languageVersion = _arg1; var returnDomain:Function = function (_arg1:String):String{ var _local2:String = new String(); var _local3:uint = 7; while (_local3 < _arg1.length) { if (_arg1.charAt(_local3) == "/"){ break; }; _local2 = (_local2 + _arg1.charAt(_local3)); _local3++; }; return (_local2); }; var hostingdomain = ""; var myList:String = localConnection.domain; var myArray:Array = myList.split("."); if (myArray.length <= 3){ domainextention = (myArray.length - 1); domainname = (myArray.length - 2); hostingdomain = ((myArray[domainname] + ".") + myArray[domainextention]); } else { hostingdomain = localConnection.domain; }; if (hostingdomain == "undefined.localhost"){ hostingdomain = "offline_play"; }; var language1:languageItem = new languageItem(); language1.url1 = ((("http://www.girlsgogames.com/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language1.url2 = ((("http://www.girlsgogames.com/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language1.language_nr = 1; language1.branding_nr = 29; language1.portal = "girl"; _languageBox.push(language1); var language2:languageItem = new languageItem(); language2.url1 = "http://www.game.com.cn/moregames/"; language2.url2 = "http://www.game.com.cn/moregames/"; language2.language_nr = 2; language2.branding_nr = 2; language2.portal = "game_com_cn"; _languageBox.push(language2); var language3:languageItem = new languageItem(); language3.url1 = ((("http://www.girlsgogames.nl/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language3.url2 = ((("http://www.girlsgogames.nl/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language3.language_nr = 3; language3.branding_nr = 39; language3.portal = "girl"; _languageBox.push(language3); var language4:languageItem = new languageItem(); language4.url1 = ((("http://www.girlsgogames.fr/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language4.url2 = ((("http://www.girlsgogames.fr/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language4.language_nr = 4; language4.branding_nr = 31; language4.portal = "girl"; _languageBox.push(language4); var language5:languageItem = new languageItem(); language5.url1 = ((("http://www.girlsgogames.de/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language5.url2 = ((("http://www.girlsgogames.de/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language5.language_nr = 5; language5.branding_nr = 33; language5.portal = "girl"; _languageBox.push(language5); var language6:languageItem = new languageItem(); language6.url1 = ((("http://www.girlsgogames.pl/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language6.url2 = ((("http://www.girlsgogames.pl/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language6.language_nr = 6; language6.branding_nr = 35; language6.portal = "girl"; _languageBox.push(language6); var language7:languageItem = new languageItem(); language7.url1 = ((("http://www.girlsgogames.se/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language7.url2 = ((("http://www.girlsgogames.se/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language7.language_nr = 7; language7.branding_nr = 40; language7.portal = "girl"; _languageBox.push(language7); var language8:languageItem = new languageItem(); language8.url1 = ((("http://www.girlsgogames.it/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language8.url2 = ((("http://www.girlsgogames.it/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language8.language_nr = 8; language8.branding_nr = 37; language8.portal = "girl"; _languageBox.push(language8); var language9:languageItem = new languageItem(); language9.url1 = ((("http://www.juegosdechicas.com/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language9.url2 = ((("http://www.juegosdechicas.com/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language9.language_nr = 9; language9.branding_nr = 36; language9.portal = "family"; _languageBox.push(language9); var language10:languageItem = new languageItem(); language10.url1 = ((("http://www.girlsgogames.com.br/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language10.url2 = ((("http://www.girlsgogames.com.br/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language10.language_nr = 11; language10.branding_nr = 30; language10.portal = "girl"; _languageBox.push(language10); var language11:languageItem = new languageItem(); language11.url1 = ((("http://www.games.co.id/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language11.url2 = ((("http://www.games.co.id/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language11.language_nr = 13; language11.branding_nr = 13; language11.portal = "tweens"; _languageBox.push(language11); var language12:languageItem = new languageItem(); language12.url1 = ((("http://www.girlsgogames.ru/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language12.url2 = ((("http://www.girlsgogames.ru/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language12.language_nr = 12; language12.branding_nr = 35; language12.portal = "girl"; _languageBox.push(language12); var language13:languageItem = new languageItem(); language13.url1 = ((("http://www.girlsgogames.co.uk/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language13.url2 = ((("http://www.girlsgogames.co.uk/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language13.language_nr = 16; language13.branding_nr = 32; language13.portal = "girl"; _languageBox.push(language13); var language14:languageItem = new languageItem(); language14.url1 = ((("http://www.ojogos.pt/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language14.url2 = ((("http://www.ojogos.pt/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language14.language_nr = 10; language14.branding_nr = 42; language14.portal = "family"; _languageBox.push(language14); var language15:languageItem = new languageItem(); language15.url1 = ((("http://www.egames.jp/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language15.url2 = ((("http://www.egames.jp/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language15.language_nr = 17; language15.branding_nr = 44; language15.portal = "tweens"; _languageBox.push(language15); var language16:languageItem = new languageItem(); language16.url1 = ((("http://www.girlsgogames.es/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language16.url2 = ((("http://www.girlsgogames.es/?utm_medium=brandedgames_internal&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language16.language_nr = 9; language16.branding_nr = 38; language16.portal = "girl"; _languageBox.push(language16); SpillGroupUrl.push("localhost"); SpillGroupUrl.push("www8.agame.com"); SpillGroupUrl.push("gamedev.dev.spilgames.com"); if ((((((languageVersion is Number)) || ((languageVersion is uint)))) || ((languageVersion is int)))){ _languageNum = (Number(languageVersion) - 1); }; } public static function get url1():String{ var _local1:int; while (_local1 < SpillGroupUrl.length) { if (localConnection.domain == SpillGroupUrl[_local1]){ return (_languageBox[_languageNum].url2); }; _local1++; }; return (_languageBox[_languageNum].url1); } public static function get branding_nr():String{ return (_languageBox[_languageNum].branding_nr); } } var _local1:* = (language.Language = 5); return (_local1); }//package class languageItem { public var url1:String; public var url2:String; public var language_nr:int; public var portal:String; public var branding_nr:int; private function languageItem(){ } }
Section 169
//listPanel (listPanel) package { import flash.display.*; public dynamic class listPanel extends MovieClip { } }//package
Section 170
//LoaderMc (LoaderMc) package { import flash.display.*; public dynamic class LoaderMc extends MovieClip { public var brandLogo:MovieClip; public var bar:MovieClip; } }//package
Section 171
//Main (Main) package { import flash.events.*; import flash.geom.*; import flash.display.*; public class Main extends Sprite { private var maskMc:Sprite; public var _api:InterierAPI; private var _intro:Intro; public function Main(_arg1:int):void{ _api = new InterierAPI(); _intro = new Intro(); maskMc = new Sprite(); super(); if (stage){ init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } private function init(_arg1:Event=null):void{ addChild(maskMc); maskMc.scrollRect = new Rectangle(0, 0, 700, 525); removeEventListener(Event.ADDED_TO_STAGE, init); maskMc.addChild(_intro); } } }//package
Section 172
//mainData (mainData) package { import flash.display.*; public dynamic class mainData extends MovieClip { public var bg:Symbol45; public var d_kolesa:MovieClip; public var d_pricrasu:MovieClip; public var d_game:MovieClip; public var d_pisok:MovieClip; public var d_eat:MovieClip; } }//package
Section 173
//MenuBox (MenuBox) package { import flash.events.*; import flash.geom.*; import flash.display.*; public class MenuBox extends Sprite { private var _mainData:MovieClip; private var _menuData:MovieClip; public var imgButtonContainer:Sprite; public var canShowList:Boolean;// = false public var _dropList:DropList; public var buttonInterval:int;// = 0 private var api:InterierAPI; public var fonContainer:Sprite; public function MenuBox(_arg1:InterierAPI){ _mainData = new mainData(); fonContainer = new Sprite(); imgButtonContainer = new Sprite(); _menuData = new mainData(); super(); this.api = _arg1; _dropList = new DropList(_arg1, _menuData); showMenu(); _dropList.x = 0; _dropList.y = 0; _dropList.listSprite.x = 430; _dropList.listSprite.y = -35; _dropList._slideSprite.x = 430; _dropList._slideSprite.y = 45; _dropList._fonContainer.x = 440; _dropList._fonContainer.y = -40; addChild(_dropList); _dropList.visible = false; } public function showMenu():void{ parcindImg(); } public function parcindImg():void{ var _local3:MovieClip; var _local1:GetData = new GetData(MovieClip(_mainData)); var _local2:int; while (_local2 < _local1.dataArray.length) { _local3 = _local1.dataArray[_local2]; createImgButton(_local3); _local2++; }; } private function createDropList(_arg1:MouseEvent):void{ _dropList.visible = true; if (canShowList){ if (IButton(_arg1.currentTarget).disp.name != "img_pisok"){ _dropList.changeVisible(IButton(_arg1.currentTarget).disp.name); } else { _dropList.hideList(); api._staticEl.nextElement(); }; }; } private function setElementPosition(_arg1:IButton, _arg2:String):void{ switch (_arg2){ case "img_game": _arg1.x = 550; _arg1.y = 90; imgButtonContainer.addChild(_arg1); break; case "img_kolesa": _arg1.x = 550; _arg1.y = 180; imgButtonContainer.addChild(_arg1); break; case "img_eat": _arg1.x = 550; _arg1.y = 260; imgButtonContainer.addChild(_arg1); break; case "img_pricrasu": _arg1.x = 550; _arg1.y = 340; imgButtonContainer.addChild(_arg1); break; }; imgButtonContainer.addChild(_arg1); } private function createImgButton(_arg1:MovieClip):void{ var _local3:DisplayObject; var _local4:IButton; _arg1.gotoAndPlay(1); var _local2:int; while (_local2 < _arg1.numChildren) { _local3 = _arg1.getChildAt(_local2); if (_local3.name.substr(0, 4) == "img_"){ ScaleTo.scaleDisplay(_local3, new Rectangle(0, 0, 65, 65)); _local4 = new IButton(_local3); if (_local3.parent.name == "img_pisok"){ _local4.isStatic = false; }; _local4.x = 550; _local4.y = 0; imgButtonContainer.addChild(_local4); _local4.addEventListener(MouseEvent.CLICK, createDropList); setElementPosition(_local4, _local3.name); _local4.addEventListener(MouseEvent.CLICK, createDropList); }; _local2++; }; addChild(imgButtonContainer); } public function createBuutonMode():void{ var _local1:int; while (_local1 < imgButtonContainer.numChildren) { Sprite(imgButtonContainer.getChildAt(_local1)).buttonMode = true; _local1++; }; } } }//package
Section 174
//moregameBtn (moregameBtn) package { import flash.display.*; public dynamic class moregameBtn extends MovieClip { public var language:MovieClip; public var logo_mainscreen:MovieClip; } }//package
Section 175
//OptionPanel (OptionPanel) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.filters.*; import managers.*; public class OptionPanel extends Sprite { private var _resulBtn:MovieClip; private var _badResul:MovieClip; public var optionSprite:Sprite; private var el:MouseEvent; public var _homjakbtnk:MovieClip; private var canDellHomak:Boolean;// = false public var optionView:DisplayObject; private var animatedojbectArray:Array; private var _badHomak:MovieClip; private var _optionPanel:MovieClip; private var movi:MovieClip; private var _api:InterierAPI; private var _homakGood:MovieClip; public var mainSprite:Sprite; private var badresult:Boolean;// = false private var i:int;// = 0 private var animationCount:int;// = 0 private var _moreGames:MovieClip; private var currentI:int; private var _goodResul:MovieClip; public function OptionPanel(_arg1:InterierAPI){ optionSprite = new Sprite(); _optionPanel = new Options(); mainSprite = new Sprite(); _homjakbtnk = new homak_btn(); _resulBtn = new resultbtn(); animatedojbectArray = new Array(); _homakGood = new goodhomak(); _badHomak = new bad_hamster(); _goodResul = new goodResult(); _badResul = new badResult(); super(); this._api = _arg1; addChild(mainSprite); } private function muteSnd(_arg1:MouseEvent):void{ switch (_api.sndManager.muteSnd){ case true: _optionPanel["volume_"].gotoAndStop(2); _api.sndManager.muteSnd = false; break; case false: _api.sndManager.palyBgSound(); _optionPanel["volume_"].gotoAndStop(1); _api.sndManager.muteSnd = true; break; }; } private function shResulBtn():void{ _homjakbtnk.visible = false; _resulBtn.x = -150; _resulBtn.y = -20; addChild(_resulBtn); _resulBtn.addEventListener(MouseEvent.CLICK, result); } private function up(_arg1:MouseEvent):void{ var _local2:DisplayObject; var _local3:Sprite; var _local4:int; var _local5:int; _api.sndManager.playButtonSnd(); _arg1.stopPropagation(); if (_api._menuBox._dropList.canDel){ _local2 = _api._menuBox._dropList.currentClickObject; _local3 = _api.currentList; _local4 = 0; while (_local4 < _local3.numChildren) { if (((((((_local2.hitTestObject(_local3.getChildAt(_local4))) && (!((_local3.getChildAt(_local4) == _local2))))) && (!((_local3.getChildIndex(_local2) == _local3.numChildren))))) && (!((_local4 == currentI))))){ _local5 = _local3.getChildIndex(_local2); _local3.swapChildrenAt(_local4, _local5); currentI = (_local4 - 1); }; _local4++; }; }; } private function result(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); showResultWindows(); } private function showResultWindows():void{ _api.sndManager.playWindowsShowSnd(); _api.currentList.filters = [new BlurFilter()]; _badHomak.filters = [new BlurFilter()]; _homakGood.filters = [new BlurFilter()]; removeChild(_resulBtn); if (badresult){ _badResul.x = 150; _badResul.y = 100; _api.resMenuSprite.addChild(_badResul); _moreGames = _badResul.moregames; _moreGames.buttonMode = true; _moreGames["language"].gotoAndStop(parseFloat(language.language_nr)); _moreGames["logo_mainscreen"].gotoAndStop(parseFloat(language.branding_nr)); _badResul["tryagain"].addEventListener(MouseEvent.CLICK, startNewGame); _moreGames.addEventListener(MouseEvent.CLICK, moreGames); } else { _goodResul.x = 150; _goodResul.y = 100; _api.resMenuSprite.addChild(_goodResul); _moreGames = _goodResul.moregames; _moreGames.buttonMode = true; _moreGames["language"].gotoAndStop(parseFloat(language.language_nr)); _moreGames["logo_mainscreen"].gotoAndStop(parseFloat(language.branding_nr)); _goodResul["playagain"].addEventListener(MouseEvent.CLICK, startNewGame); _moreGames.addEventListener(MouseEvent.CLICK, moreGames); }; } private function down(_arg1:MouseEvent):void{ var _local2:DisplayObject; var _local3:Sprite; var _local4:int; _api.sndManager.playButtonSnd(); _arg1.stopPropagation(); if (_api._menuBox._dropList.canDel){ _local2 = _api._menuBox._dropList.currentClickObject; _local3 = _api.currentList; _local4 = 0; while (_local4 < _local3.numChildren) { if (_local2.hitTestObject(_local3.getChildAt(_local4))){ _local3.swapChildrenAt(_local3.getChildIndex(_local2), _local4); return; }; _local4++; }; }; } private function showResul(_arg1:MouseEvent):void{ var _local2:int; var _local4:DisplayObject; var _local5:DisplayObject; while (_local2 < _api.currentList.numChildren) { _local4 = _api.currentList.getChildAt(_local2); Sprite(_local4).buttonMode = false; _local2++; }; _api._menuBox._dropList.canDel = false; _api.removeListeners(); shResulBtn(); _api.sndManager.playHourseSound(); animatedojbectArray = []; _api._menuBox.visible = false; _optionPanel.visible = false; var _local3:int; while (_local3 < _api.currentList.numChildren) { _local5 = _api.currentList.getChildAt(_local3); calculateTime(MovieClip(DropObject(_local5).drop)); _local3++; }; animationCount = animatedojbectArray.length; startAnimationSteck(); } private function updateAnimation(_arg1:Event):void{ if (animationCount == 0){ startAnimationSteck(); }; if (movi.currentFrame == movi.totalFrames){ i++; movi.gotoAndStop(1); startAnimationSteck(); animationCount--; }; } private function dell(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); _arg1.stopPropagation(); if (_api._menuBox._dropList.canDel){ _api.currentList.removeChild(_api._menuBox._dropList.currentClickObject); _api._menuBox._dropList.canDel = false; }; } public function reset(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); while (_api.currentList.numChildren) { _api.currentList.removeChildAt(0); }; _api._menuBox._dropList.canDel = false; } private function calculateTime(_arg1:MovieClip):void{ if (_arg1.totalFrames > 1){ animatedojbectArray.push(_arg1); }; } public function intitOptionPanel():void{ _optionPanel.x = 0; _optionPanel.y = 0; mainSprite.addChild(_optionPanel); _homjakbtnk.x = -150; _homjakbtnk.y = -30; Sprite(_homjakbtnk).buttonMode = true; mainSprite.addChild(_homjakbtnk); _homjakbtnk.gotoAndStop(1); _homjakbtnk.addEventListener(MouseEvent.CLICK, showResul); _optionPanel["volume_"].gotoAndStop(1); _optionPanel["volume_"].addEventListener(MouseEvent.CLICK, muteSnd); _optionPanel["dell"].addEventListener(MouseEvent.CLICK, dell); _optionPanel["up"].addEventListener(MouseEvent.CLICK, down); _optionPanel["down"].addEventListener(MouseEvent.CLICK, up); _optionPanel["reset"].addEventListener(MouseEvent.CLICK, reset); _optionPanel["volume_"].buttonMode = true; } private function startAnimationSteck():void{ if (_api.currentList.numChildren > 3){ badresult = false; if (i >= animatedojbectArray.length){ ScaleTo.scaleDisplay(_homakGood, new Rectangle(0, 0, 80, 80)); _homakGood.x = 350; _homakGood.y = 500; _api.currentList.addChild(_homakGood); canDellHomak = true; _homakGood.play(); removeEventListener(Event.ENTER_FRAME, updateAnimation); addEventListener(Event.ENTER_FRAME, homak); return; }; movi = animatedojbectArray[i]; if (((!((movi == null))) && ((movi.totalFrames > 2)))){ movi.play(); addEventListener(Event.ENTER_FRAME, updateAnimation); }; }; if (_api.currentList.numChildren <= 3){ _badHomak.x = 350; _badHomak.y = 480; _api.currentList.addChild(_badHomak); badresult = true; }; } private function moreGames(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); LinksManager.navigateBrand(); } private function homak(_arg1:Event):void{ if (_homakGood.currentFrame == _homakGood.totalFrames){ removeEventListener(Event.ENTER_FRAME, homak); canDellHomak = false; i = 0; _api.currentList.removeChild(_homakGood); startAnimationSteck(); }; } private function startNewGame(_arg1:MouseEvent):void{ _api.sndManager.playButtonSnd(); _api.currentList.filters = []; _badHomak.filters = []; _homakGood.filters = []; removeEventListener(Event.ENTER_FRAME, homak); removeEventListener(Event.ENTER_FRAME, updateAnimation); _api._menuBox.visible = true; _optionPanel.visible = true; _homjakbtnk.visible = true; while (_api.currentList.numChildren) { _api.currentList.removeChildAt(0); }; while (_api.resMenuSprite.numChildren) { _api.resMenuSprite.removeChildAt(0); }; } } }//package
Section 176
//Options (Options) package { import flash.display.*; public dynamic class Options extends MovieClip { public var dell:SimpleButton; public var down:SimpleButton; public var volume_:volume; public var up:SimpleButton; public var reset:SimpleButton; } }//package
Section 177
//playbtn (playbtn) package { import flash.display.*; public dynamic class playbtn extends MovieClip { public var playGame:SimpleButton; } }//package
Section 178
//point_Data (point_Data) package { import flash.display.*; public dynamic class point_Data extends MovieClip { public var p_game:MovieClip; public var bg:MovieClip; public var p_pisok:MovieClip; public var p_eat:MovieClip; public var p_stina:MovieClip; public var p_kolesa:MovieClip; public var p_pricrasu:MovieClip; } }//package
Section 179
//Preloader (Preloader) package { import flash.events.*; import flash.display.*; import flash.text.*; import managers.*; import flash.ui.*; import flash.utils.*; public class Preloader extends MovieClip { public var brandLogo:MovieClip; public var perTxt:TextField; public var mainBar:MovieClip; private var percentLoaded:Number; public var progresBar:MovieClip; private var garbBtn:SimpleButton; private var content:LoaderMc; private var tp:Number;// = 0 public var loclization:Number;// = 9 public function Preloader(){ content = new LoaderMc(); super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function onBrandClick(_arg1:MouseEvent):void{ LinksManager.navigateBrand(); } private function menuItemSelectHandler(_arg1:ContextMenuEvent):void{ LinksManager.navigateGarbuzGames(); } private function checkFrame(_arg1:Event):void{ var _local2:Number = Math.floor(((loaderInfo.bytesLoaded / loaderInfo.bytesTotal) * 100)); percentLoaded = _local2; refresh(); if (_local2 == 100){ removeEventListener(Event.ENTER_FRAME, checkFrame); start(); }; } private function onGarbClick(_arg1:MouseEvent):void{ LinksManager.navigateGarbuzGames(); } private function init(_arg1:Event):void{ LinksManager.init(stage); addChild(content); mainBar = content.bar; progresBar = content.bar["bar"]; progresBar.scaleX = 0; var _local2:ContextMenu = new ContextMenu(); _local2.hideBuiltInItems(); var _local3:ContextMenuBuiltInItems = _local2.builtInItems; _local3.print = true; _local3.quality = false; addEventListener(Event.ENTER_FRAME, checkFrame); language.Language = loclization; brandLogo = content["brandLogo"]; brandLogo.buttonMode = true; brandLogo.useHandCursor = true; brandLogo.gotoAndStop(parseFloat(language.branding_nr)); brandLogo.addEventListener(MouseEvent.CLICK, onBrandClick); } public function refresh():void{ progresBar.scaleX = (percentLoaded / 100); } private function onPreIoError(_arg1:IOErrorEvent):void{ } private function start():void{ if (LinksManager.isLocal){ return; }; while (numChildren) { removeChildAt(0); }; var _local1:Class = (getDefinitionByName("Main") as Class); var _local2:* = new _local1(loclization); addChild((_local2 as DisplayObject)); } private function onGarbuz(_arg1:MouseEvent):void{ LinksManager.navigateGarbuzGames(); } } }//package
Section 180
//resultbtn (resultbtn) package { import flash.display.*; public dynamic class resultbtn extends MovieClip { } }//package
Section 181
//ScaleTo (ScaleTo) package { import flash.geom.*; import flash.display.*; public class ScaleTo { public var scaleDisp:DisplayObject; public var scRec:Rectangle; public static var startPointY:int = 50; public static function scaleDisplay(_arg1:DisplayObject, _arg2:Rectangle):void{ var _local3:int = _arg2.height; var _local4:int = _arg2.width; var _local5:Number = 0; var _local6:Number = 0; var _local7:Number = 0; _local7 = (_local3 / _arg1.height); if (_local7 > (_local4 / _arg1.width)){ _local7 = (_local4 / _arg1.width); }; if (_local7 > 0){ _arg1.height = (_arg1.height * _local7); _arg1.width = (_arg1.width * _local7); }; } public static function setPosition(_arg1:DisplayObject, _arg2:int=0, _arg3:int=0):void{ _arg1.x = _arg2; _arg1.y = startPointY; startPointY = (startPointY + _arg3); } } }//package
Section 182
//showmenusound (showmenusound) package { import flash.media.*; public dynamic class showmenusound extends Sound { } }//package
Section 183
//SliderControl (SliderControl) package { import flash.display.*; public dynamic class SliderControl extends MovieClip { } }//package
Section 184
//SoundInterier (SoundInterier) package { import managers.*; public class SoundInterier { private var snd:SoundManager; private var _muteSnd:Boolean;// = true public function SoundInterier(){ snd = new SoundManager(); super(); } public function set muteSnd(_arg1:Boolean):void{ _muteSnd = _arg1; if (!muteSnd){ stopBgSond(); snd.stopAllSounds(); }; } public function playVoidSnd():void{ if (muteSnd){ }; } public function playButtonSnd():void{ if (muteSnd){ snd.playSound("buttonSound", 1, 0); }; } public function playHourseSound():void{ if (muteSnd){ snd.playSound("hourseSound", 0.5, 0); }; } public function playButtonSound():void{ if (muteSnd){ snd.playSound("buttonSound", 1, 0); }; } public function palyBgSound():void{ snd.playSound("bgsound", 1, 0, 1000); } public function intiSound():void{ snd.init(); } public function stopHourseSound():void{ if (muteSnd){ snd.stopSound("hourseSound"); }; } public function stopBgSond():void{ snd.stopSound("bgsound"); snd.stopAllSounds(); trace("stop sounds"); } public function playDropSound():void{ if (muteSnd){ snd.playSound("dropSound", 0.5, 0); }; } public function playWindowsShowSnd():void{ if (muteSnd){ snd.playSound("showmenusound", 0.5, 0); }; } public function get muteSnd():Boolean{ return (_muteSnd); } } }//package
Section 185
//startBg (startBg) package { import flash.display.*; public dynamic class startBg extends MovieClip { public var playBtn:playbtn; public var morebtn:moregameBtn; } }//package
Section 186
//StaticElement (StaticElement) package { import flash.geom.*; import flash.display.*; public class StaticElement extends Sprite { private var staticElementname:String; private var _getData:GetData; private var num:int;// = 0 private var pisokElementsSprite:Sprite; private var _dropData:MovieClip; private var api:InterierAPI; private var _pointData:MovieClip; public function StaticElement(_arg1:InterierAPI, _arg2:String){ _pointData = new point_Data(); _dropData = new mainData(); pisokElementsSprite = new Sprite(); _getData = new GetData(_dropData); super(); this.api = _arg1; staticElementname = _arg2; _getData.showElementbyName(_arg2); addChild(pisokElementsSprite); setElement(); } private function setElement():void{ var _local3:DisplayObject; var _local1:int = (getElementPosition().x + 45); var _local2:int = (getElementPosition().y + 10); for each (_local3 in _getData.staticElementsArray) { _local3.x = _local1; _local3.y = _local2; _local3.visible = false; pisokElementsSprite.addChild(_local3); }; } public function nextElement():void{ if (num != 0){ pisokElementsSprite.getChildAt((num - 1)).visible = false; }; if (pisokElementsSprite.numChildren == num){ num = 0; }; pisokElementsSprite.getChildAt(num).visible = true; num++; } private function getElementPosition():Point{ var _local1:GetData = new GetData(_pointData); var _local2:Point = _local1.getPointByName(staticElementname); return (_local2); } } }//package
Section 187
//Symbol45 (Symbol45) package { import flash.display.*; public dynamic class Symbol45 extends MovieClip { public var bg:MovieClip; } }//package
Section 188
//tips (tips) package { import flash.display.*; public dynamic class tips extends MovieClip { public var nextbtn:SimpleButton; public var skipbtn:SimpleButton; } }//package
Section 189
//volume (volume) package { import flash.display.*; public dynamic class volume extends MovieClip { } }//package

Library Items

Symbol 1 GraphicUsed by:156
Symbol 2 GraphicUsed by:6
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:6
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:2 4 5Used by:156 618
Symbol 7 GraphicUsed by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:7 8 9Used by:156
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:156
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:156
Symbol 15 GraphicUsed by:18
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:18 614 634
Symbol 18 MovieClipUses:15 17Used by:156
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:156 630
Symbol 21 GraphicUsed by:24
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:24
Symbol 24 MovieClipUses:21 23Used by:25
Symbol 25 MovieClipUses:24Used by:148
Symbol 26 GraphicUsed by:37
Symbol 27 GraphicUsed by:37
Symbol 28 GraphicUsed by:37
Symbol 29 GraphicUsed by:37
Symbol 30 GraphicUsed by:37
Symbol 31 GraphicUsed by:37
Symbol 32 GraphicUsed by:37
Symbol 33 GraphicUsed by:37
Symbol 34 GraphicUsed by:37
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:37
Symbol 37 MovieClipUses:26 27 28 29 30 31 32 33 34 36Used by:148 601
Symbol 38 GraphicUsed by:41
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:41
Symbol 41 MovieClipUses:38 40Used by:148
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:45 522
Symbol 45 MovieClipUses:42 44Used by:148
Symbol 46 GraphicUsed by:49
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 MovieClipUses:46 48Used by:148 601
Symbol 50 GraphicUsed by:53
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:53 524
Symbol 53 MovieClipUses:50 52Used by:148
Symbol 54 GraphicUsed by:57
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:57
Symbol 57 MovieClipUses:54 56Used by:148
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:148 601
Symbol 60 GraphicUsed by:63
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:63
Symbol 63 MovieClipUses:60 62Used by:148 601
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:148 601
Symbol 66 GraphicUsed by:69
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:69 530
Symbol 69 MovieClipUses:66 68Used by:148
Symbol 70 GraphicUsed by:73
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClipUses:70 72Used by:148
Symbol 74 GraphicUsed by:77
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:77
Symbol 77 MovieClipUses:74 76Used by:148
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:148
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:148
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:148
Symbol 84 GraphicUsed by:87
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:87 101 546 558
Symbol 87 MovieClipUses:84 86Used by:148
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:148
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:148
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:148
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:148 601
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:148
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:148
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100 86Used by:148
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:148
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:148
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:148
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:108Used by:148
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:148
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112Used by:148
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:148
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:148
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:148
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:148
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:148
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:148 601
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:148
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:148
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:148
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:148
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:148 601
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:148
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:138Used by:148
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:148
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:148
Symbol 144 GraphicUsed by:147
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClipUses:145Used by:147
Symbol 147 MovieClipUses:144 146Used by:148
Symbol 148 MovieClipUses:25 37 41 45 49 53 57 59 63 65 69 73 77 79 81 83 87 89 91 93 95 97 99 101 103 105 107 109 111 113 115 117 119 121 123 125 127 129 131 133 135 137 139 141 143 147Used by:156
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:155
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:151Used by:155
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:155
Symbol 155 MovieClipUses:150 152 154Used by:156
Symbol 156 MovieClip {LoaderMc} [LoaderMc]Uses:1 6 10 12 14 18 20 148 155
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClipUses:157Used by:163
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:159Used by:163
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:163
Symbol 163 MovieClipUses:158 160 162Used by:382
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClip {d_eat_2} [d_eat_2]Uses:164Used by:210
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClip {d_eat_7} [d_eat_7]Uses:166Used by:176 177 210
Symbol 168 GraphicUsed by:172
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:172 175
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClip {d_eat_5} [d_eat_5]Uses:168 170 171Used by:210
Symbol 173 GraphicUsed by:175
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClip {d_eat_6} [d_eat_6]Uses:173 170 174Used by:210
Symbol 176 MovieClip {d_eat_10} [d_eat_10]Uses:167Used by:210
Symbol 177 MovieClip {d_eat_13} [d_eat_13]Uses:167Used by:210
Symbol 178 GraphicUsed by:206
Symbol 179 GraphicUsed by:206
Symbol 180 GraphicUsed by:206
Symbol 181 GraphicUsed by:206
Symbol 182 GraphicUsed by:206
Symbol 183 GraphicUsed by:206
Symbol 184 GraphicUsed by:206
Symbol 185 GraphicUsed by:206
Symbol 186 GraphicUsed by:206
Symbol 187 GraphicUsed by:206
Symbol 188 GraphicUsed by:206
Symbol 189 GraphicUsed by:206
Symbol 190 GraphicUsed by:206
Symbol 191 GraphicUsed by:206
Symbol 192 GraphicUsed by:206
Symbol 193 GraphicUsed by:206
Symbol 194 GraphicUsed by:206
Symbol 195 GraphicUsed by:206
Symbol 196 GraphicUsed by:206
Symbol 197 GraphicUsed by:206
Symbol 198 GraphicUsed by:206
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:199Used by:206
Symbol 201 GraphicUsed by:206
Symbol 202 GraphicUsed by:206
Symbol 203 GraphicUsed by:206
Symbol 204 GraphicUsed by:206
Symbol 205 GraphicUsed by:206
Symbol 206 MovieClip {d_eat_21} [d_eat_21]Uses:178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 200 201 202 203 204 205Used by:210
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClip {d_eat_1} [d_eat_1]Uses:207Used by:209
Symbol 209 MovieClip {d_eat_22} [d_eat_22]Uses:208Used by:210
Symbol 210 MovieClipUses:165 167 172 175 176 177 206 209Used by:382
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClip {d_pricrasu_2} [d_pricrasu_2]Uses:211Used by:297
Symbol 213 GraphicUsed by:216
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClipUses:214Used by:216
Symbol 216 MovieClip {d_pricrasu_3} [d_pricrasu_3]Uses:213 215Used by:297
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClip {d_pricrasu_6} [d_pricrasu_6]Uses:217Used by:297
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219Used by:241 296
Symbol 221 GraphicUsed by:241 296
Symbol 222 GraphicUsed by:241 296
Symbol 223 GraphicUsed by:241 296
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:241 296
Symbol 226 GraphicUsed by:241
Symbol 227 GraphicUsed by:241
Symbol 228 GraphicUsed by:241 296
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:241 296
Symbol 231 GraphicUsed by:241 296
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:241 296
Symbol 234 GraphicUsed by:241 296
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClipUses:235Used by:241 296
Symbol 237 GraphicUsed by:241 296
Symbol 238 GraphicUsed by:241 296
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:241 296
Symbol 241 MovieClip {d_pricrasu_11} [d_pricrasu_11]Uses:220 221 222 223 225 226 227 228 230 231 233 234 236 237 238 240Used by:297
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClip {d_pricrasu_14} [d_pricrasu_14]Uses:242Used by:297
Symbol 244 GraphicUsed by:247
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:247 249
Symbol 247 MovieClip {d_pricrasu_15} [d_pricrasu_15]Uses:244 246Used by:297
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClip {d_pricrasu_16} [d_pricrasu_16]Uses:248 246Used by:297
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClip {d_pricrasu_18} [d_pricrasu_18]Uses:250Used by:297
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClip {d_pricrasu_20} [d_pricrasu_20]Uses:252Used by:297
Symbol 254 GraphicUsed by:258
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:258 285
Symbol 257 GraphicUsed by:258 285
Symbol 258 MovieClip {d_pricrasu_13} [d_pricrasu_13]Uses:254 256 257Used by:259
Symbol 259 MovieClip {d_pricrasu100} [d_pricrasu100]Uses:258Used by:297
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:260Used by:272 275 278
Symbol 262 GraphicUsed by:272 275 278
Symbol 263 GraphicUsed by:272 275 278
Symbol 264 GraphicUsed by:272 275 278
Symbol 265 GraphicUsed by:272 275 278 285
Symbol 266 GraphicUsed by:272 275 278 285
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:267Used by:272 275 278 285
Symbol 269 GraphicUsed by:272 275 278 285
Symbol 270 GraphicUsed by:272
Symbol 271 GraphicUsed by:272
Symbol 272 MovieClip {d_pricrasu_19} [d_pricrasu_19]Uses:261 262 263 264 265 266 268 269 270 271Used by:297
Symbol 273 GraphicUsed by:275
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClip {d_prirasu_22} [d_prirasu_22]Uses:261 262 263 264 265 266 268 269 273 274Used by:297
Symbol 276 GraphicUsed by:278
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClip {d_pricrasu_23} [d_pricrasu_23]Uses:261 262 263 264 265 266 268 269 276 277Used by:297
Symbol 279 GraphicUsed by:285
Symbol 280 GraphicUsed by:285
Symbol 281 GraphicUsed by:285
Symbol 282 GraphicUsed by:285
Symbol 283 GraphicUsed by:285
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClip {d_pricrasu_26} [d_pricrasu_26]Uses:279 256 257 265 266 268 280 269 281 282 283 284Used by:297
Symbol 286 GraphicUsed by:289
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClip {d_pricrasu_9} [d_pricrasu_9]Uses:287Used by:289 291 293
Symbol 289 MovieClip {d_pricrasu_27} [d_pricrasu_27]Uses:286 288Used by:297
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClip {d_pricrasu_28} [d_pricrasu_28]Uses:290 288Used by:297
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClip {d_pricrasu_30} [d_pricrasu_30]Uses:292 288Used by:297
Symbol 294 GraphicUsed by:296
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClip {d_pricrasu_25} [d_pricrasu_25]Uses:220 221 222 223 225 294 295 228 230 231 233 234 236 237 238 240Used by:297
Symbol 297 MovieClipUses:212 216 218 241 243 247 249 251 253 259 272 275 278 285 289 291 293 296Used by:382
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClip {d_game_0} [d_game_0]Uses:298Used by:330
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClip {d_game_10} [d_game_10]Uses:300Used by:330
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClip {d_game_9} [d_game_9]Uses:302Used by:304 305
Symbol 304 MovieClip {d_game_12} [d_game_12]Uses:303Used by:330
Symbol 305 MovieClip {d_game_13} [d_game_13]Uses:303Used by:330
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClip {d_game_6} [d_game_6]Uses:306Used by:308 309
Symbol 308 MovieClip {d_game_14} [d_game_14]Uses:307Used by:330
Symbol 309 MovieClip {d_game_15} [d_game_15]Uses:307Used by:330
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClip {d_game_5} [d_game_5]Uses:310Used by:312 313
Symbol 312 MovieClip {d_game_16} [d_game_16]Uses:311Used by:330
Symbol 313 MovieClip {d_game_17} [d_game_17]Uses:311Used by:330
Symbol 314 GraphicUsed by:322
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:322 325 668
Symbol 317 GraphicUsed by:322
Symbol 318 GraphicUsed by:322
Symbol 319 GraphicUsed by:322
Symbol 320 GraphicUsed by:322
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClip {d_game_18} [d_game_18]Uses:314 316 317 318 319 320 321Used by:330
Symbol 323 GraphicUsed by:325
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClip {d_game_3} [d_game_3]Uses:323 316 324Used by:326
Symbol 326 MovieClip {d_game_19} [d_game_19]Uses:325Used by:330
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClip {d_game_7} [d_game_7]Uses:327Used by:329
Symbol 329 MovieClip {d_gaav} [d_gaav]Uses:328Used by:330
Symbol 330 MovieClipUses:299 301 304 305 308 309 312 313 322 326 329Used by:382
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClip {d_kolesa_3} [d_kolesa_3]Uses:331Used by:333 334
Symbol 333 MovieClip {d_kolesa_15} [d_kolesa_15]Uses:332Used by:366
Symbol 334 MovieClip {d_kolesa_16} [d_kolesa_16]Uses:332Used by:366
Symbol 335 GraphicUsed by:338
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClip {d_kolesa_6} [d_kolesa_6]Uses:336Used by:338 340
Symbol 338 MovieClip {d_kolesa_17} [d_kolesa_17]Uses:335 337Used by:366
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClip {d_kolesa_18} [d_kolesa_18]Uses:339 337Used by:366
Symbol 341 GraphicUsed by:345
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClipUses:342Used by:345 359
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClipUses:341 343 344Used by:363 364 365
Symbol 346 GraphicUsed by:349
Symbol 347 GraphicUsed by:349
Symbol 348 GraphicUsed by:349
Symbol 349 MovieClipUses:346 347 348Used by:363 364 365
Symbol 350 GraphicUsed by:359
Symbol 351 GraphicUsed by:359
Symbol 352 GraphicUsed by:355
Symbol 353 GraphicUsed by:355
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClipUses:352 353 354Used by:357
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClipUses:355 356Used by:359
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClipUses:350 343 351 357 358Used by:363 364 365
Symbol 360 GraphicUsed by:362
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:360 361Used by:363 364 365
Symbol 363 MovieClip {d_kolesa_20} [d_kolesa_20]Uses:345 349 359 362Used by:366
Symbol 364 MovieClip {d_kolesa_21} [d_kolesa_21]Uses:345 349 359 362Used by:366
Symbol 365 MovieClip {d_kolesa_22} [d_kolesa_22]Uses:345 349 359 362Used by:366
Symbol 366 MovieClipUses:333 334 338 340 363 364 365Used by:382
Symbol 367 GraphicUsed by:371
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClipUses:368Used by:370
Symbol 370 MovieClipUses:369Used by:371
Symbol 371 MovieClipUses:367 370Used by:372
Symbol 372 MovieClipUses:371Used by:378 385
Symbol 373 GraphicUsed by:377
Symbol 374 ShapeTweeningUsed by:377
Symbol 375 ShapeTweeningUsed by:377
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClipUses:373 374 375 376Used by:378 383
Symbol 378 MovieClip {Symbol45} [Symbol45]Uses:372 377Used by:382
Symbol 379 GraphicUsed by:380
Symbol 380 MovieClipUses:379Used by:381
Symbol 381 MovieClip {buttonfon} [buttonfon]Uses:380Used by:382
Symbol 382 MovieClip {mainData} [mainData]Uses:163 210 297 330 366 378 381
Symbol 383 MovieClipUses:377Used by:384
Symbol 384 MovieClipUses:383Used by:385
Symbol 385 MovieClip {point_Data} [point_Data]Uses:372 384
Symbol 386 GraphicUsed by:490
Symbol 387 GraphicUsed by:391
Symbol 388 GraphicUsed by:389
Symbol 389 MovieClipUses:388Used by:390
Symbol 390 MovieClipUses:389Used by:391
Symbol 391 MovieClipUses:387 390Used by:392
Symbol 392 MovieClipUses:391Used by:490
Symbol 393 GraphicUsed by:490
Symbol 394 GraphicUsed by:397
Symbol 395 FontUsed by:396
Symbol 396 TextUses:395Used by:397
Symbol 397 MovieClipUses:394 396Used by:490
Symbol 398 GraphicUsed by:401 404 407
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:401
Symbol 401 MovieClipUses:398 400Used by:490
Symbol 402 GraphicUsed by:403
Symbol 403 MovieClipUses:402Used by:404
Symbol 404 MovieClipUses:398 403Used by:490
Symbol 405 GraphicUsed by:406
Symbol 406 MovieClipUses:405Used by:407
Symbol 407 MovieClipUses:398 406Used by:490
Symbol 408 GraphicUsed by:412
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClipUses:409Used by:412 490
Symbol 411 GraphicUsed by:412
Symbol 412 MovieClipUses:408 410 411Used by:490
Symbol 413 GraphicUsed by:414
Symbol 414 MovieClipUses:413Used by:490
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClipUses:415Used by:490
Symbol 417 GraphicUsed by:418
Symbol 418 MovieClipUses:417Used by:419
Symbol 419 MovieClipUses:418Used by:490
Symbol 420 GraphicUsed by:421
Symbol 421 MovieClipUses:420Used by:422
Symbol 422 MovieClipUses:421Used by:490
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClipUses:423Used by:490
Symbol 425 GraphicUsed by:426
Symbol 426 MovieClipUses:425Used by:490
Symbol 427 GraphicUsed by:428
Symbol 428 MovieClipUses:427Used by:490
Symbol 429 GraphicUsed by:490
Symbol 430 GraphicUsed by:490
Symbol 431 GraphicUsed by:455
Symbol 432 GraphicUsed by:455
Symbol 433 GraphicUsed by:455
Symbol 434 GraphicUsed by:455
Symbol 435 GraphicUsed by:455
Symbol 436 GraphicUsed by:455
Symbol 437 GraphicUsed by:455
Symbol 438 GraphicUsed by:455
Symbol 439 GraphicUsed by:455
Symbol 440 GraphicUsed by:455
Symbol 441 GraphicUsed by:455
Symbol 442 GraphicUsed by:455
Symbol 443 GraphicUsed by:455
Symbol 444 GraphicUsed by:455
Symbol 445 GraphicUsed by:455
Symbol 446 GraphicUsed by:455
Symbol 447 GraphicUsed by:455
Symbol 448 GraphicUsed by:455
Symbol 449 GraphicUsed by:455
Symbol 450 GraphicUsed by:455
Symbol 451 GraphicUsed by:455
Symbol 452 GraphicUsed by:455
Symbol 453 GraphicUsed by:455
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454Used by:490
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:456Used by:490
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClipUses:458Used by:460 661
Symbol 460 MovieClipUses:459Used by:490
Symbol 461 GraphicUsed by:465
Symbol 462 ShapeTweeningUsed by:465
Symbol 463 ShapeTweeningUsed by:465
Symbol 464 GraphicUsed by:465
Symbol 465 MovieClipUses:461 462 463 464Used by:466
Symbol 466 MovieClipUses:465Used by:467
Symbol 467 MovieClipUses:466Used by:490
Symbol 468 GraphicUsed by:490
Symbol 469 GraphicUsed by:490
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:470Used by:490
Symbol 472 GraphicUsed by:473
Symbol 473 MovieClipUses:472Used by:474 490
Symbol 474 MovieClipUses:473Used by:490
Symbol 475 GraphicUsed by:490
Symbol 476 GraphicUsed by:490
Symbol 477 GraphicUsed by:490
Symbol 478 GraphicUsed by:490
Symbol 479 GraphicUsed by:480
Symbol 480 MovieClipUses:479Used by:490
Symbol 481 GraphicUsed by:490
Symbol 482 GraphicUsed by:490
Symbol 483 GraphicUsed by:490
Symbol 484 GraphicUsed by:490
Symbol 485 GraphicUsed by:490
Symbol 486 GraphicUsed by:490
Symbol 487 GraphicUsed by:490
Symbol 488 GraphicUsed by:490
Symbol 489 GraphicUsed by:490
Symbol 490 MovieClipUses:386 392 393 397 401 404 407 412 414 416 419 422 424 426 428 429 410 430 455 457 460 467 468 469 471 473 474 475 476 477 478 480 481 482 483 484 485 486 487 488 489Used by:492
Symbol 491 GraphicUsed by:492
Symbol 492 MovieClip {guide} [guide]Uses:490 491
Symbol 493 GraphicUsed by:494
Symbol 494 MovieClipUses:493Used by:602
Symbol 495 FontUsed by:496 498 499 500 501 502 503 504 505 506 507 508 509
Symbol 496 TextUses:495Used by:511
Symbol 497 GraphicUsed by:511
Symbol 498 TextUses:495Used by:511
Symbol 499 TextUses:495Used by:511
Symbol 500 TextUses:495Used by:511
Symbol 501 TextUses:495Used by:511
Symbol 502 TextUses:495Used by:511
Symbol 503 TextUses:495Used by:511
Symbol 504 TextUses:495Used by:511
Symbol 505 TextUses:495Used by:511
Symbol 506 TextUses:495Used by:511
Symbol 507 TextUses:495Used by:511
Symbol 508 TextUses:495Used by:511
Symbol 509 TextUses:495Used by:511
Symbol 510 GraphicUsed by:511
Symbol 511 MovieClipUses:496 497 498 499 500 501 502 503 504 505 506 507 508 509 510Used by:602
Symbol 512 GraphicUsed by:515
Symbol 513 GraphicUsed by:514
Symbol 514 MovieClipUses:513Used by:515
Symbol 515 MovieClipUses:512 514Used by:516
Symbol 516 MovieClipUses:515Used by:601
Symbol 517 GraphicUsed by:520
Symbol 518 GraphicUsed by:519
Symbol 519 MovieClipUses:518Used by:520
Symbol 520 MovieClipUses:517 519Used by:601
Symbol 521 GraphicUsed by:522
Symbol 522 MovieClipUses:521 44Used by:601
Symbol 523 GraphicUsed by:524
Symbol 524 MovieClipUses:523 52Used by:601
Symbol 525 GraphicUsed by:528
Symbol 526 GraphicUsed by:527
Symbol 527 MovieClipUses:526Used by:528
Symbol 528 MovieClipUses:525 527Used by:601
Symbol 529 GraphicUsed by:530
Symbol 530 MovieClipUses:529 68Used by:601
Symbol 531 GraphicUsed by:534
Symbol 532 GraphicUsed by:533
Symbol 533 MovieClipUses:532Used by:534
Symbol 534 MovieClipUses:531 533Used by:601
Symbol 535 GraphicUsed by:538
Symbol 536 GraphicUsed by:537
Symbol 537 MovieClipUses:536Used by:538
Symbol 538 MovieClipUses:535 537Used by:601
Symbol 539 GraphicUsed by:540
Symbol 540 MovieClipUses:539Used by:601
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClipUses:541Used by:601
Symbol 543 GraphicUsed by:544
Symbol 544 MovieClipUses:543Used by:601
Symbol 545 GraphicUsed by:546
Symbol 546 MovieClipUses:545 86Used by:601
Symbol 547 GraphicUsed by:548
Symbol 548 MovieClipUses:547Used by:601
Symbol 549 GraphicUsed by:550
Symbol 550 MovieClipUses:549Used by:601
Symbol 551 GraphicUsed by:552
Symbol 552 MovieClipUses:551Used by:601
Symbol 553 GraphicUsed by:554
Symbol 554 MovieClipUses:553Used by:601
Symbol 555 GraphicUsed by:556
Symbol 556 MovieClipUses:555Used by:601
Symbol 557 GraphicUsed by:558
Symbol 558 MovieClipUses:557 86Used by:601
Symbol 559 GraphicUsed by:560
Symbol 560 MovieClipUses:559Used by:601
Symbol 561 GraphicUsed by:562
Symbol 562 MovieClipUses:561Used by:601
Symbol 563 GraphicUsed by:564
Symbol 564 MovieClipUses:563Used by:601
Symbol 565 GraphicUsed by:566
Symbol 566 MovieClipUses:565Used by:601
Symbol 567 GraphicUsed by:568
Symbol 568 MovieClipUses:567Used by:601
Symbol 569 GraphicUsed by:570
Symbol 570 MovieClipUses:569Used by:601
Symbol 571 GraphicUsed by:572
Symbol 572 MovieClipUses:571Used by:601
Symbol 573 GraphicUsed by:574
Symbol 574 MovieClipUses:573Used by:601
Symbol 575 GraphicUsed by:576
Symbol 576 MovieClipUses:575Used by:601
Symbol 577 GraphicUsed by:578
Symbol 578 MovieClipUses:577Used by:601
Symbol 579 GraphicUsed by:580
Symbol 580 MovieClipUses:579Used by:601
Symbol 581 GraphicUsed by:582
Symbol 582 MovieClipUses:581Used by:601
Symbol 583 GraphicUsed by:584
Symbol 584 MovieClipUses:583Used by:601
Symbol 585 GraphicUsed by:586
Symbol 586 MovieClipUses:585Used by:601
Symbol 587 GraphicUsed by:588
Symbol 588 MovieClipUses:587Used by:601
Symbol 589 GraphicUsed by:590
Symbol 590 MovieClipUses:589Used by:601
Symbol 591 GraphicUsed by:592
Symbol 592 MovieClipUses:591Used by:601
Symbol 593 GraphicUsed by:594
Symbol 594 MovieClipUses:593Used by:601
Symbol 595 GraphicUsed by:596
Symbol 596 MovieClipUses:595Used by:601
Symbol 597 GraphicUsed by:600
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:598Used by:600
Symbol 600 MovieClipUses:597 599Used by:601
Symbol 601 MovieClipUses:516 37 520 522 49 524 528 59 63 65 530 534 538 540 542 544 546 548 550 552 95 554 556 558 560 562 564 566 568 570 572 574 576 578 580 125 582 584 586 588 135 590 592 594 596 600Used by:602
Symbol 602 MovieClip {moregameBtn} [moregameBtn]Uses:494 511 601Used by:630 681 708
Symbol 603 GraphicUsed by:618
Symbol 604 GraphicUsed by:606
Symbol 605 GraphicUsed by:606
Symbol 606 MovieClipUses:604 605Used by:618
Symbol 607 GraphicUsed by:610
Symbol 608 GraphicUsed by:610 673 701
Symbol 609 GraphicUsed by:610
Symbol 610 MovieClipUses:607 608 609Used by:618 638 659
Symbol 611 GraphicUsed by:612
Symbol 612 MovieClipUses:611Used by:618
Symbol 613 GraphicUsed by:614
Symbol 614 MovieClipUses:613 17Used by:618
Symbol 615 GraphicUsed by:616
Symbol 616 MovieClipUses:615Used by:618
Symbol 617 GraphicUsed by:618
Symbol 618 MovieClipUses:603 606 6 610 612 614 616 617Used by:630
Symbol 619 GraphicUsed by:628
Symbol 620 FontUsed by:621 622 623 624 637 640 643 646 674 677 693 702 707 733 735
Symbol 621 TextUses:620Used by:626 628
Symbol 622 TextUses:620Used by:626 628
Symbol 623 TextUses:620Used by:626 628
Symbol 624 TextUses:620Used by:626 628
Symbol 625 GraphicUsed by:628
Symbol 626 ButtonUses:621 622 623 624Used by:628
Symbol 627 GraphicUsed by:628
Symbol 628 ButtonUses:619 621 622 623 624 625 626 627Used by:629
Symbol 629 MovieClip {playbtn} [playbtn]Uses:628Used by:630
Symbol 630 MovieClip {startBg} [startBg]Uses:618 629 20 602
Symbol 631 GraphicUsed by:634
Symbol 632 GraphicUsed by:634
Symbol 633 GraphicUsed by:634
Symbol 634 MovieClip {volume} [volume]Uses:631 17 632 633Used by:698
Symbol 635 GraphicUsed by:638 659
Symbol 636 FontUsed by:637 707
Symbol 637 TextUses:620 636Used by:638
Symbol 638 MovieClipUses:635 610 637Used by:660
Symbol 639 GraphicUsed by:642 645
Symbol 640 TextUses:620Used by:641 642
Symbol 641 MovieClipUses:640Used by:642
Symbol 642 ButtonUses:639 641 640Used by:660
Symbol 643 TextUses:620Used by:644 645
Symbol 644 MovieClipUses:643Used by:645
Symbol 645 ButtonUses:639 644 643Used by:660
Symbol 646 TextUses:620Used by:659
Symbol 647 GraphicUsed by:658 684
Symbol 648 GraphicUsed by:649 684
Symbol 649 MovieClipUses:648Used by:658 684
Symbol 650 GraphicUsed by:658 684
Symbol 651 GraphicUsed by:658 687 690
Symbol 652 GraphicUsed by:653 687
Symbol 653 MovieClipUses:652Used by:658 687
Symbol 654 GraphicUsed by:658 687
Symbol 655 GraphicUsed by:656 690
Symbol 656 MovieClipUses:655Used by:658 690
Symbol 657 GraphicUsed by:658 690
Symbol 658 MovieClipUses:647 649 650 651 653 654 656 657Used by:659
Symbol 659 MovieClipUses:635 610 646 658Used by:660
Symbol 660 MovieClip {tips} [tips]Uses:638 642 645 659
Symbol 661 MovieClip {listPanel} [listPanel]Uses:459
Symbol 662 GraphicUsed by:663
Symbol 663 MovieClip {d_eat14} [d_eat14]Uses:662
Symbol 664 GraphicUsed by:665
Symbol 665 MovieClip {d_eat_15} [d_eat_15]Uses:664
Symbol 666 GraphicUsed by:668
Symbol 667 GraphicUsed by:668
Symbol 668 MovieClip {d_game_11} [d_game_11]Uses:666 316 667
Symbol 669 MovieClip {d_kolesa_12} [d_kolesa_12]
Symbol 670 GraphicUsed by:675 708
Symbol 671 GraphicUsed by:673
Symbol 672 GraphicUsed by:673
Symbol 673 MovieClipUses:671 608 672Used by:675
Symbol 674 TextUses:620Used by:675
Symbol 675 MovieClipUses:670 673 674Used by:681
Symbol 676 GraphicUsed by:680 706
Symbol 677 TextUses:620Used by:678 680
Symbol 678 MovieClipUses:677Used by:680
Symbol 679 GraphicUsed by:680
Symbol 680 ButtonUses:676 677 678 679Used by:681
Symbol 681 MovieClip {goodResult} [goodResult]Uses:675 680 602
Symbol 682 GraphicUsed by:684
Symbol 683 GraphicUsed by:684
Symbol 684 ButtonUses:647 649 650 682 683 648Used by:698
Symbol 685 GraphicUsed by:687
Symbol 686 GraphicUsed by:687
Symbol 687 ButtonUses:651 653 654 685 686 652Used by:698
Symbol 688 GraphicUsed by:690
Symbol 689 GraphicUsed by:690
Symbol 690 ButtonUses:651 656 657 688 689 655Used by:698
Symbol 691 MovieClipUsed by:698
Symbol 692 GraphicUsed by:697 736
Symbol 693 TextUses:620Used by:695 697
Symbol 694 GraphicUsed by:697 736
Symbol 695 ButtonUses:693Used by:697
Symbol 696 GraphicUsed by:697 736
Symbol 697 ButtonUses:692 693 694 695 696Used by:698
Symbol 698 MovieClip {Options} [Options]Uses:684 687 690 634 691 697
Symbol 699 GraphicUsed by:701
Symbol 700 GraphicUsed by:701
Symbol 701 MovieClipUses:699 608 700Used by:708
Symbol 702 TextUses:620Used by:704 706
Symbol 703 GraphicUsed by:706
Symbol 704 MovieClipUses:702Used by:706
Symbol 705 GraphicUsed by:706
Symbol 706 ButtonUses:676 702 703 704 705Used by:708
Symbol 707 TextUses:620 636Used by:708
Symbol 708 MovieClip {badResult} [badResult]Uses:670 701 706 707 602
Symbol 709 GraphicUsed by:717
Symbol 710 GraphicUsed by:717
Symbol 711 GraphicUsed by:717
Symbol 712 GraphicUsed by:717
Symbol 713 GraphicUsed by:717
Symbol 714 GraphicUsed by:717
Symbol 715 GraphicUsed by:717
Symbol 716 GraphicUsed by:717
Symbol 717 MovieClipUses:709 710 711 712 713 714 715 716Used by:718
Symbol 718 MovieClip {bad_hamster} [bad_hamster]Uses:717
Symbol 719 GraphicUsed by:727
Symbol 720 GraphicUsed by:727
Symbol 721 GraphicUsed by:727
Symbol 722 GraphicUsed by:727
Symbol 723 GraphicUsed by:727
Symbol 724 GraphicUsed by:727
Symbol 725 GraphicUsed by:727
Symbol 726 GraphicUsed by:727
Symbol 727 MovieClipUses:719 720 721 722 723 724 725 726Used by:732
Symbol 728 GraphicUsed by:731
Symbol 729 FontUsed by:730
Symbol 730 TextUses:729Used by:731
Symbol 731 MovieClipUses:728 730Used by:732
Symbol 732 MovieClip {homak_btn} [homak_btn]Uses:727 731
Symbol 733 TextUses:620Used by:734 736
Symbol 734 ButtonUses:733Used by:736
Symbol 735 TextUses:620Used by:736
Symbol 736 ButtonUses:692 733 694 734 696 735Used by:737
Symbol 737 MovieClip {resultbtn} [resultbtn]Uses:736
Symbol 738 GraphicUsed by:897
Symbol 739 GraphicUsed by:897
Symbol 740 GraphicUsed by:897
Symbol 741 GraphicUsed by:897
Symbol 742 GraphicUsed by:897
Symbol 743 GraphicUsed by:897
Symbol 744 GraphicUsed by:897
Symbol 745 GraphicUsed by:897
Symbol 746 GraphicUsed by:897
Symbol 747 GraphicUsed by:897
Symbol 748 GraphicUsed by:897
Symbol 749 GraphicUsed by:897
Symbol 750 GraphicUsed by:897
Symbol 751 GraphicUsed by:897
Symbol 752 GraphicUsed by:897
Symbol 753 GraphicUsed by:897
Symbol 754 GraphicUsed by:897
Symbol 755 GraphicUsed by:897
Symbol 756 GraphicUsed by:897
Symbol 757 GraphicUsed by:897
Symbol 758 GraphicUsed by:897
Symbol 759 GraphicUsed by:897
Symbol 760 GraphicUsed by:897
Symbol 761 GraphicUsed by:897
Symbol 762 GraphicUsed by:897
Symbol 763 GraphicUsed by:897
Symbol 764 GraphicUsed by:897
Symbol 765 GraphicUsed by:897
Symbol 766 GraphicUsed by:897
Symbol 767 GraphicUsed by:897
Symbol 768 GraphicUsed by:897
Symbol 769 GraphicUsed by:897
Symbol 770 GraphicUsed by:897
Symbol 771 GraphicUsed by:897
Symbol 772 GraphicUsed by:897
Symbol 773 GraphicUsed by:897
Symbol 774 GraphicUsed by:897
Symbol 775 GraphicUsed by:897
Symbol 776 GraphicUsed by:897
Symbol 777 GraphicUsed by:897
Symbol 778 GraphicUsed by:897
Symbol 779 GraphicUsed by:897
Symbol 780 GraphicUsed by:897
Symbol 781 GraphicUsed by:897
Symbol 782 GraphicUsed by:897
Symbol 783 GraphicUsed by:897
Symbol 784 GraphicUsed by:897
Symbol 785 GraphicUsed by:897
Symbol 786 GraphicUsed by:897
Symbol 787 GraphicUsed by:897
Symbol 788 GraphicUsed by:897
Symbol 789 GraphicUsed by:897
Symbol 790 GraphicUsed by:897
Symbol 791 GraphicUsed by:897
Symbol 792 GraphicUsed by:897
Symbol 793 GraphicUsed by:897
Symbol 794 GraphicUsed by:897
Symbol 795 GraphicUsed by:897
Symbol 796 GraphicUsed by:897
Symbol 797 GraphicUsed by:897
Symbol 798 GraphicUsed by:897
Symbol 799 GraphicUsed by:897
Symbol 800 GraphicUsed by:897
Symbol 801 GraphicUsed by:897
Symbol 802 GraphicUsed by:897
Symbol 803 GraphicUsed by:897
Symbol 804 GraphicUsed by:897
Symbol 805 GraphicUsed by:897
Symbol 806 GraphicUsed by:897
Symbol 807 GraphicUsed by:897
Symbol 808 GraphicUsed by:897
Symbol 809 GraphicUsed by:897
Symbol 810 GraphicUsed by:897
Symbol 811 GraphicUsed by:897
Symbol 812 GraphicUsed by:897
Symbol 813 GraphicUsed by:897
Symbol 814 GraphicUsed by:897
Symbol 815 GraphicUsed by:897
Symbol 816 GraphicUsed by:897
Symbol 817 GraphicUsed by:897
Symbol 818 GraphicUsed by:897
Symbol 819 GraphicUsed by:897
Symbol 820 GraphicUsed by:897
Symbol 821 GraphicUsed by:897
Symbol 822 GraphicUsed by:897
Symbol 823 GraphicUsed by:897
Symbol 824 GraphicUsed by:897
Symbol 825 GraphicUsed by:897
Symbol 826 GraphicUsed by:897
Symbol 827 GraphicUsed by:897
Symbol 828 GraphicUsed by:897
Symbol 829 GraphicUsed by:897
Symbol 830 GraphicUsed by:897
Symbol 831 GraphicUsed by:897
Symbol 832 GraphicUsed by:897
Symbol 833 GraphicUsed by:897
Symbol 834 GraphicUsed by:897
Symbol 835 GraphicUsed by:897
Symbol 836 GraphicUsed by:897
Symbol 837 GraphicUsed by:897
Symbol 838 GraphicUsed by:897
Symbol 839 GraphicUsed by:897
Symbol 840 GraphicUsed by:897
Symbol 841 GraphicUsed by:897
Symbol 842 GraphicUsed by:897
Symbol 843 GraphicUsed by:897
Symbol 844 GraphicUsed by:897
Symbol 845 GraphicUsed by:897
Symbol 846 GraphicUsed by:897
Symbol 847 GraphicUsed by:897
Symbol 848 GraphicUsed by:897
Symbol 849 GraphicUsed by:897
Symbol 850 GraphicUsed by:897
Symbol 851 GraphicUsed by:897
Symbol 852 GraphicUsed by:897
Symbol 853 GraphicUsed by:897
Symbol 854 GraphicUsed by:897
Symbol 855 GraphicUsed by:897
Symbol 856 GraphicUsed by:897
Symbol 857 GraphicUsed by:897
Symbol 858 GraphicUsed by:897
Symbol 859 GraphicUsed by:897
Symbol 860 GraphicUsed by:897
Symbol 861 GraphicUsed by:897
Symbol 862 GraphicUsed by:897
Symbol 863 GraphicUsed by:897
Symbol 864 GraphicUsed by:897
Symbol 865 GraphicUsed by:897
Symbol 866 GraphicUsed by:897
Symbol 867 GraphicUsed by:897
Symbol 868 GraphicUsed by:897
Symbol 869 GraphicUsed by:897
Symbol 870 GraphicUsed by:897
Symbol 871 GraphicUsed by:897
Symbol 872 GraphicUsed by:897
Symbol 873 GraphicUsed by:897
Symbol 874 GraphicUsed by:897
Symbol 875 GraphicUsed by:897
Symbol 876 GraphicUsed by:897
Symbol 877 GraphicUsed by:897
Symbol 878 GraphicUsed by:897
Symbol 879 GraphicUsed by:897
Symbol 880 GraphicUsed by:897
Symbol 881 GraphicUsed by:897
Symbol 882 GraphicUsed by:897
Symbol 883 GraphicUsed by:897
Symbol 884 GraphicUsed by:897
Symbol 885 GraphicUsed by:897
Symbol 886 GraphicUsed by:897
Symbol 887 GraphicUsed by:897
Symbol 888 GraphicUsed by:897
Symbol 889 GraphicUsed by:897
Symbol 890 GraphicUsed by:897
Symbol 891 GraphicUsed by:897
Symbol 892 GraphicUsed by:897
Symbol 893 GraphicUsed by:897
Symbol 894 GraphicUsed by:897
Symbol 895 GraphicUsed by:897
Symbol 896 GraphicUsed by:897
Symbol 897 MovieClip {goodhomak} [goodhomak]Uses:738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896
Symbol 898 Sound {buttonSound} [buttonSound]
Symbol 899 Sound {bgsound} [bgsound]
Symbol 900 Sound {hourseSound} [hourseSound]
Symbol 901 Sound {showmenusound} [showmenusound]
Symbol 902 Sound {dropSound} [dropSound]
Symbol 903 GraphicUsed by:904
Symbol 904 MovieClip {SliderControl} [SliderControl]Uses:903
Symbol 905 GraphicUsed by:906
Symbol 906 MovieClip {dropListfon} [dropListfon]Uses:905

Instance Names

"brandLogo"Symbol 148 MovieClip Frame 1Symbol 25 MovieClip
"bar"Symbol 155 MovieClip Frame 1Symbol 154 MovieClip
"brandLogo"Symbol 156 MovieClip {LoaderMc} [LoaderMc] Frame 1Symbol 148 MovieClip
"bar"Symbol 156 MovieClip {LoaderMc} [LoaderMc] Frame 1Symbol 155 MovieClip
"img_pisok"Symbol 163 MovieClip Frame 1Symbol 160 MovieClip
"img_eat"Symbol 210 MovieClip Frame 1Symbol 206 MovieClip {d_eat_21} [d_eat_21]
"s_stina"Symbol 289 MovieClip {d_pricrasu_27} [d_pricrasu_27] Frame 1Symbol 288 MovieClip {d_pricrasu_9} [d_pricrasu_9]
"s_stina"Symbol 291 MovieClip {d_pricrasu_28} [d_pricrasu_28] Frame 1Symbol 288 MovieClip {d_pricrasu_9} [d_pricrasu_9]
"s_stina"Symbol 293 MovieClip {d_pricrasu_30} [d_pricrasu_30] Frame 1Symbol 288 MovieClip {d_pricrasu_9} [d_pricrasu_9]
"s_stina"Symbol 297 MovieClip Frame 1Symbol 212 MovieClip {d_pricrasu_2} [d_pricrasu_2]
"s_stina"Symbol 297 MovieClip Frame 1Symbol 216 MovieClip {d_pricrasu_3} [d_pricrasu_3]
"s_stina"Symbol 297 MovieClip Frame 1Symbol 243 MovieClip {d_pricrasu_14} [d_pricrasu_14]
"img_pricrasu"Symbol 297 MovieClip Frame 1Symbol 272 MovieClip {d_pricrasu_19} [d_pricrasu_19]
"s_stina"Symbol 297 MovieClip Frame 1Symbol 289 MovieClip {d_pricrasu_27} [d_pricrasu_27]
"s_stina"Symbol 297 MovieClip Frame 1Symbol 291 MovieClip {d_pricrasu_28} [d_pricrasu_28]
"s_stina"Symbol 297 MovieClip Frame 1Symbol 293 MovieClip {d_pricrasu_30} [d_pricrasu_30]
"s_stina"Symbol 297 MovieClip Frame 1Symbol 212 MovieClip {d_pricrasu_2} [d_pricrasu_2]
"img_game"Symbol 330 MovieClip Frame 1Symbol 322 MovieClip {d_game_18} [d_game_18]
"img_kolesa"Symbol 366 MovieClip Frame 1Symbol 364 MovieClip {d_kolesa_21} [d_kolesa_21]
"bg"Symbol 378 MovieClip {Symbol45} [Symbol45] Frame 1Symbol 372 MovieClip
"d_pisok"Symbol 382 MovieClip {mainData} [mainData] Frame 1Symbol 163 MovieClip
"d_eat"Symbol 382 MovieClip {mainData} [mainData] Frame 1Symbol 210 MovieClip
"d_pricrasu"Symbol 382 MovieClip {mainData} [mainData] Frame 1Symbol 297 MovieClip
"d_game"Symbol 382 MovieClip {mainData} [mainData] Frame 1Symbol 330 MovieClip
"d_kolesa"Symbol 382 MovieClip {mainData} [mainData] Frame 1Symbol 366 MovieClip
"bg"Symbol 382 MovieClip {mainData} [mainData] Frame 1Symbol 378 MovieClip {Symbol45} [Symbol45]
"bg"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 372 MovieClip
"p_kolesa"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_kolesa"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_kolesa"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_pricrasu"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_pricrasu"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_pricrasu"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_pricrasu"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_pricrasu"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_pricrasu"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_stina"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_stina"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_stina"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_stina"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_eat"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_eat"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_eat"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_eat"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_eat"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_eat"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_game"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_game"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_game"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_game"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_game"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_game"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_game"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"p_pisok"Symbol 385 MovieClip {point_Data} [point_Data] Frame 1Symbol 384 MovieClip
"bg"Symbol 490 MovieClip Frame 1Symbol 392 MovieClip
"img"Symbol 490 MovieClip Frame 1Symbol 416 MovieClip
"img_eat"Symbol 490 MovieClip Frame 1Symbol 426 MovieClip
"img"Symbol 490 MovieClip Frame 1Symbol 416 MovieClip
"language"Symbol 602 MovieClip {moregameBtn} [moregameBtn] Frame 1Symbol 511 MovieClip
"logo_mainscreen"Symbol 602 MovieClip {moregameBtn} [moregameBtn] Frame 1Symbol 601 MovieClip
"playGame"Symbol 629 MovieClip {playbtn} [playbtn] Frame 1Symbol 628 Button
"playBtn"Symbol 630 MovieClip {startBg} [startBg] Frame 1Symbol 629 MovieClip {playbtn} [playbtn]
"morebtn"Symbol 630 MovieClip {startBg} [startBg] Frame 1Symbol 602 MovieClip {moregameBtn} [moregameBtn]
"nextbtn"Symbol 660 MovieClip {tips} [tips] Frame 1Symbol 642 Button
"skipbtn"Symbol 660 MovieClip {tips} [tips] Frame 1Symbol 645 Button
"playagain"Symbol 681 MovieClip {goodResult} [goodResult] Frame 1Symbol 680 Button
"moregames"Symbol 681 MovieClip {goodResult} [goodResult] Frame 1Symbol 602 MovieClip {moregameBtn} [moregameBtn]
"dell"Symbol 698 MovieClip {Options} [Options] Frame 1Symbol 684 Button
"up"Symbol 698 MovieClip {Options} [Options] Frame 1Symbol 687 Button
"down"Symbol 698 MovieClip {Options} [Options] Frame 1Symbol 690 Button
"volume_"Symbol 698 MovieClip {Options} [Options] Frame 1Symbol 634 MovieClip {volume} [volume]
"reset"Symbol 698 MovieClip {Options} [Options] Frame 1Symbol 697 Button
"tryagain"Symbol 708 MovieClip {badResult} [badResult] Frame 1Symbol 706 Button
"moregames"Symbol 708 MovieClip {badResult} [badResult] Frame 1Symbol 602 MovieClip {moregameBtn} [moregameBtn]

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1463 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 156 as "LoaderMc"
ExportAssets (56)Timeline Frame 2Symbol 382 as "mainData"
ExportAssets (56)Timeline Frame 2Symbol 385 as "point_Data"
ExportAssets (56)Timeline Frame 2Symbol 492 as "guide"
ExportAssets (56)Timeline Frame 2Symbol 602 as "moregameBtn"
ExportAssets (56)Timeline Frame 2Symbol 630 as "startBg"
ExportAssets (56)Timeline Frame 2Symbol 629 as "playbtn"
ExportAssets (56)Timeline Frame 2Symbol 634 as "volume"
ExportAssets (56)Timeline Frame 2Symbol 660 as "tips"
ExportAssets (56)Timeline Frame 2Symbol 381 as "buttonfon"
ExportAssets (56)Timeline Frame 2Symbol 378 as "Symbol45"
ExportAssets (56)Timeline Frame 2Symbol 661 as "listPanel"
ExportAssets (56)Timeline Frame 2Symbol 329 as "d_gaav"
ExportAssets (56)Timeline Frame 2Symbol 663 as "d_eat14"
ExportAssets (56)Timeline Frame 2Symbol 293 as "d_pricrasu_30"
ExportAssets (56)Timeline Frame 2Symbol 337 as "d_kolesa_6"
ExportAssets (56)Timeline Frame 2Symbol 259 as "d_pricrasu100"
ExportAssets (56)Timeline Frame 2Symbol 332 as "d_kolesa_3"
ExportAssets (56)Timeline Frame 2Symbol 209 as "d_eat_22"
ExportAssets (56)Timeline Frame 2Symbol 206 as "d_eat_21"
ExportAssets (56)Timeline Frame 2Symbol 364 as "d_kolesa_21"
ExportAssets (56)Timeline Frame 2Symbol 365 as "d_kolesa_22"
ExportAssets (56)Timeline Frame 2Symbol 275 as "d_prirasu_22"
ExportAssets (56)Timeline Frame 2Symbol 311 as "d_game_5"
ExportAssets (56)Timeline Frame 2Symbol 325 as "d_game_3"
ExportAssets (56)Timeline Frame 2Symbol 303 as "d_game_9"
ExportAssets (56)Timeline Frame 2Symbol 307 as "d_game_6"
ExportAssets (56)Timeline Frame 2Symbol 208 as "d_eat_1"
ExportAssets (56)Timeline Frame 2Symbol 363 as "d_kolesa_20"
ExportAssets (56)Timeline Frame 2Symbol 328 as "d_game_7"
ExportAssets (56)Timeline Frame 2Symbol 176 as "d_eat_10"
ExportAssets (56)Timeline Frame 2Symbol 165 as "d_eat_2"
ExportAssets (56)Timeline Frame 2Symbol 288 as "d_pricrasu_9"
ExportAssets (56)Timeline Frame 2Symbol 172 as "d_eat_5"
ExportAssets (56)Timeline Frame 2Symbol 167 as "d_eat_7"
ExportAssets (56)Timeline Frame 2Symbol 313 as "d_game_17"
ExportAssets (56)Timeline Frame 2Symbol 253 as "d_pricrasu_20"
ExportAssets (56)Timeline Frame 2Symbol 322 as "d_game_18"
ExportAssets (56)Timeline Frame 2Symbol 177 as "d_eat_13"
ExportAssets (56)Timeline Frame 2Symbol 175 as "d_eat_6"
ExportAssets (56)Timeline Frame 2Symbol 326 as "d_game_19"
ExportAssets (56)Timeline Frame 2Symbol 665 as "d_eat_15"
ExportAssets (56)Timeline Frame 2Symbol 305 as "d_game_13"
ExportAssets (56)Timeline Frame 2Symbol 278 as "d_pricrasu_23"
ExportAssets (56)Timeline Frame 2Symbol 308 as "d_game_14"
ExportAssets (56)Timeline Frame 2Symbol 340 as "d_kolesa_18"
ExportAssets (56)Timeline Frame 2Symbol 285 as "d_pricrasu_26"
ExportAssets (56)Timeline Frame 2Symbol 309 as "d_game_15"
ExportAssets (56)Timeline Frame 2Symbol 312 as "d_game_16"
ExportAssets (56)Timeline Frame 2Symbol 296 as "d_pricrasu_25"
ExportAssets (56)Timeline Frame 2Symbol 291 as "d_pricrasu_28"
ExportAssets (56)Timeline Frame 2Symbol 289 as "d_pricrasu_27"
ExportAssets (56)Timeline Frame 2Symbol 301 as "d_game_10"
ExportAssets (56)Timeline Frame 2Symbol 668 as "d_game_11"
ExportAssets (56)Timeline Frame 2Symbol 304 as "d_game_12"
ExportAssets (56)Timeline Frame 2Symbol 669 as "d_kolesa_12"
ExportAssets (56)Timeline Frame 2Symbol 334 as "d_kolesa_16"
ExportAssets (56)Timeline Frame 2Symbol 338 as "d_kolesa_17"
ExportAssets (56)Timeline Frame 2Symbol 333 as "d_kolesa_15"
ExportAssets (56)Timeline Frame 2Symbol 212 as "d_pricrasu_2"
ExportAssets (56)Timeline Frame 2Symbol 216 as "d_pricrasu_3"
ExportAssets (56)Timeline Frame 2Symbol 218 as "d_pricrasu_6"
ExportAssets (56)Timeline Frame 2Symbol 241 as "d_pricrasu_11"
ExportAssets (56)Timeline Frame 2Symbol 299 as "d_game_0"
ExportAssets (56)Timeline Frame 2Symbol 247 as "d_pricrasu_15"
ExportAssets (56)Timeline Frame 2Symbol 243 as "d_pricrasu_14"
ExportAssets (56)Timeline Frame 2Symbol 258 as "d_pricrasu_13"
ExportAssets (56)Timeline Frame 2Symbol 272 as "d_pricrasu_19"
ExportAssets (56)Timeline Frame 2Symbol 251 as "d_pricrasu_18"
ExportAssets (56)Timeline Frame 2Symbol 249 as "d_pricrasu_16"
ExportAssets (56)Timeline Frame 2Symbol 681 as "goodResult"
ExportAssets (56)Timeline Frame 2Symbol 698 as "Options"
ExportAssets (56)Timeline Frame 2Symbol 708 as "badResult"
ExportAssets (56)Timeline Frame 2Symbol 718 as "bad_hamster"
ExportAssets (56)Timeline Frame 2Symbol 732 as "homak_btn"
ExportAssets (56)Timeline Frame 2Symbol 737 as "resultbtn"
ExportAssets (56)Timeline Frame 2Symbol 897 as "goodhomak"
ExportAssets (56)Timeline Frame 2Symbol 898 as "buttonSound"
ExportAssets (56)Timeline Frame 2Symbol 899 as "bgsound"
ExportAssets (56)Timeline Frame 2Symbol 900 as "hourseSound"
ExportAssets (56)Timeline Frame 2Symbol 901 as "showmenusound"
ExportAssets (56)Timeline Frame 2Symbol 902 as "dropSound"
ExportAssets (56)Timeline Frame 2Symbol 904 as "SliderControl"
ExportAssets (56)Timeline Frame 2Symbol 906 as "dropListfon"
SerialNumber (41)Timeline Frame 1

Labels

"Preloader"Frame 1
"Main"Frame 2




http://swfchan.com/22/107809/info.shtml
Created: 16/3 -2019 03:34:42 Last modified: 16/3 -2019 03:34:42 Server time: 14/11 -2024 22:48:00