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

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

jungle_game_v1.25.swf

This is the info page for
Flash #95636

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 { } // unknown tag 88 length 246 button 9 { on (release) { _root.mainGame.pauseGame(false); } } button 11 { on (release) { _root.mainGame.gotoAndStop('AVATAR'); _root.mainGame.removePauseClip(); } } movieClip 12 pauseBox { frame 1 { blocker.onPress = function () {}; blocker.useHandCursor = false; } } movieClip 14 { } movieClip 17 { } movieClip 18 { frame 1 { if (_root.soundEnabled) { _root.mainGame.soundScream2.gotoAndPlay(2); } } frame 11 { if (_root.soundEnabled) { _root.mainGame.soundScream.gotoAndPlay(2); } } frame 39 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manTripMC'); } } movieClip 20 { } movieClip 22 { } movieClip 24 { } movieClip 26 { frame 1 { if (_root.soundEnabled) { _root.mainGame.soundScream2.gotoAndPlay(2); } } frame 11 { if (_root.soundEnabled) { _root.mainGame.soundScream.gotoAndPlay(2); } } frame 39 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manTripMC'); } } movieClip 29 { } movieClip 30 { } movieClip 32 { } movieClip 33 { } movieClip 35 { } movieClip 36 { frame 1 { if (_root.soundEnabled) { _root.mainGame.soundScream2.gotoAndPlay(2); } } frame 11 { if (_root.soundEnabled) { _root.mainGame.soundScream.gotoAndPlay(2); } } frame 39 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manTripMC'); } } movieClip 37 manTrip { frame 1 { stop(); switch (_root.mainGame.whichGuy) { case 1: gotoAndStop('ASIAN'); break; case 2: gotoAndStop('WHITE'); break; case 3: gotoAndStop('BLACK'); } } } movieClip 38 { } movieClip 40 { } movieClip 42 { frame 5 { if (_root.soundEnabled) { _root.mainGame.soundScream3.gotoAndPlay(2); } } frame 45 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manFallMC'); } } movieClip 45 { } movieClip 47 { } movieClip 48 { } movieClip 49 { frame 4 { if (_root.soundEnabled) { _root.mainGame.soundScream3.gotoAndPlay(2); } } frame 45 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manFallMC'); } } movieClip 51 { } movieClip 53 { } movieClip 55 { } movieClip 56 { } movieClip 57 { frame 4 { if (_root.soundEnabled) { _root.mainGame.soundScream3.gotoAndPlay(2); } } frame 45 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manFallMC'); } } movieClip 58 manFallIntoPit { frame 1 { stop(); switch (_root.mainGame.whichGuy) { case 1: gotoAndStop('ASIAN'); break; case 2: gotoAndStop('WHITE'); break; case 3: gotoAndStop('BLACK'); } } } movieClip 59 { frame 1 { if (_root.soundEnabled) { _root.mainGame.soundScream2.gotoAndPlay(2); } } frame 10 { if (_root.soundEnabled) { _root.mainGame.soundScream.gotoAndPlay(2); } } frame 43 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manFallMC'); } } movieClip 61 { frame 1 { if (_root.soundEnabled) { _root.mainGame.soundScream2.gotoAndPlay(2); } } frame 10 { if (_root.soundEnabled) { _root.mainGame.soundScream.gotoAndPlay(2); } } frame 43 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manFallMC'); } } movieClip 63 { } movieClip 64 { } movieClip 65 { } movieClip 66 { frame 1 { if (_root.soundEnabled) { _root.mainGame.soundScream2.gotoAndPlay(2); } } frame 10 { if (_root.soundEnabled) { _root.mainGame.soundScream.gotoAndPlay(2); } } frame 43 { stop(); _root.mainGame.guyCrashed(); _root.mainGame.removeClip('manFallMC'); } } movieClip 67 manFall { frame 1 { stop(); switch (_root.mainGame.whichGuy) { case 1: gotoAndStop('ASIAN'); break; case 2: gotoAndStop('WHITE'); break; case 3: gotoAndStop('BLACK'); } } } movieClip 72 BoundingBox { } movieClip 73 Defaults { #initclip Object.registerClass('Defaults', mx.skins.halo.Defaults); #endinitclip } movieClip 74 UIObjectExtensions { #initclip Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions); #endinitclip } movieClip 75 UIObject { #initclip Object.registerClass('UIObject', mx.core.UIObject); #endinitclip frame 1 { stop(); } } button 78 { on (keyPress '<Tab>') { this.tabHandler(); } } movieClip 79 { #initclip Object.registerClass('FocusManager', mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--); } #endinitclip frame 1 { } } movieClip 80 FocusRect { #initclip Object.registerClass('FocusRect', mx.skins.halo.FocusRect); #endinitclip } movieClip 81 FocusManager { #initclip Object.registerClass('FocusManager', mx.managers.FocusManager); #endinitclip frame 1 { stop(); } } movieClip 82 UIComponentExtensions { #initclip Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions); #endinitclip } movieClip 83 UIComponent { #initclip Object.registerClass('UIComponent', mx.core.UIComponent); #endinitclip frame 1 { stop(); } } movieClip 86 FrameRate { #initclip Object.registerClass('FrameRate', flextnet.components.FrameRate); #endinitclip frame 1 { stop(); } } movieClip 107 CheckFalseDisabled { } movieClip 109 CheckThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 111 CheckFalseDown { } movieClip 112 CheckFalseOver { } movieClip 114 CheckFalseUp { } movieClip 116 CheckTrueDisabled { } movieClip 117 CheckTrueDown { } movieClip 118 CheckTrueOver { } movieClip 119 CheckTrueUp { } movieClip 120 CheckBoxAssets { #initclip mx.controls.CheckBox.prototype.adjustFocusRect = function () { var v4 = this._parent.focus_mc; var v2 = this.iconName; var v3 = this.getStyle('themeColor'); if (v3 == undefined) { v3 = 8453965; } var v8 = v2._width + 4; var v5 = v2._height + 4; v4.setSize(v8, v5, 0, 100, v3); var v7 = v2._x; var v6 = v2._y; v4.move(this.x - 2 + v7, this.y + v6 - 2); }; #endinitclip frame 1 { } } movieClip 122 BrdrShdw { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'shadowColor'); } } movieClip 124 BrdrFace { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'buttonColor'); } } movieClip 125 SimpleButtonDown { } movieClip 127 BrdrBlk { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'borderColor'); } } movieClip 129 BrdrHilght { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor'); } } movieClip 130 SimpleButtonIn { } movieClip 131 SimpleButtonUp { } movieClip 132 SimpleButton { #initclip Object.registerClass('SimpleButton', mx.controls.SimpleButton); #endinitclip frame 1 { stop(); } } movieClip 133 Border { #initclip Object.registerClass('Border', mx.skins.Border); #endinitclip frame 1 { stop(); } } movieClip 134 RectBorder { #initclip mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder)); Object.registerClass('RectBorder', mx.skins.halo.RectBorder); #endinitclip frame 1 { stop(); } } movieClip 135 ButtonSkin { #initclip Object.registerClass('ButtonSkin', mx.skins.halo.ButtonSkin); #endinitclip } movieClip 136 Button { #initclip Object.registerClass('Button', mx.controls.Button); #endinitclip frame 1 { stop(); } instance of movieClip 132 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 137 CheckBox { #initclip Object.registerClass('CheckBox', mx.controls.CheckBox); #endinitclip frame 1 { stop(); } instance of movieClip 136 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 147 TextInput { #initclip Object.registerClass('TextInput', mx.controls.TextInput); #endinitclip frame 1 { stop(); } } movieClip 148 ComboBase { #initclip mx.controls.listclasses.DataSelector.Initialize((Object(mx.controls.ComboBase)).prototype); Object.registerClass('ComboBase', mx.controls.ComboBase); #endinitclip frame 1 { stop(); } instance of movieClip 132 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 147 TextInput { onClipEvent (initialize) { editable = true; password = false; text = ''; maxChars = null; restrict = 'null'; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 149 DataProvider { #initclip Object.registerClass('DataProvider', mx.controls.listclasses.DataProvider); #endinitclip frame 1 { stop(); } } movieClip 150 DataSelector { #initclip Object.registerClass('DataSelector', mx.controls.listclasses.DataSelector); #endinitclip frame 1 { stop(); } } movieClip 151 SelectableRow { #initclip Object.registerClass('SelectableRow', mx.controls.listclasses.SelectableRow); #endinitclip frame 1 { stop(); } } movieClip 152 CustomBorder { #initclip Object.registerClass('CustomBorder', mx.skins.CustomBorder); mx.skins.SkinElement.registerElement('CustomBorder', mx.skins.CustomBorder); #endinitclip frame 1 { } } movieClip 155 ScrollTrack { } movieClip 162 ScrollDownArrowDisabled { } movieClip 164 ScrollThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 166 ScrollThemeColor2 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 167 ScrollDownArrowDown { } movieClip 168 ScrollDownArrowOver { } movieClip 169 ScrollDownArrowUp { } movieClip 175 ScrollThumbBottomDisabled { } movieClip 177 ThumbThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 179 ThumbThemeColor3 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 180 ScrollThumbBottomDown { } movieClip 181 ScrollThumbBottomOver { } movieClip 182 ScrollThumbBottomUp { } movieClip 184 ScrollThumbGripDisabled { } movieClip 186 ThumbThemeColor2 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 187 ScrollThumbGripDown { } movieClip 188 ScrollThumbGripOver { } movieClip 189 ScrollThumbGripUp { } movieClip 191 ScrollThumbMiddleDisabled { } movieClip 192 ScrollThumbMiddleDown { } movieClip 193 { } movieClip 195 { } movieClip 196 ScrollThumbMiddleOver { } movieClip 197 ScrollThumbMiddleUp { } movieClip 198 ScrollThumbTopDisabled { } movieClip 199 ScrollThumbTopDown { } movieClip 200 ScrollThumbTopOver { } movieClip 201 ScrollThumbTopUp { } movieClip 202 ScrollTrackDisabled { } movieClip 203 ScrollUpArrowDisabled { } movieClip 204 ScrollUpArrowDown { } movieClip 205 ScrollUpArrowOver { } movieClip 206 ScrollUpArrowUp { } movieClip 207 BtnDownArrow { #initclip Object.registerClass('BtnDownArrow', mx.controls.SimpleButton); #endinitclip } movieClip 208 BtnUpArrow { #initclip Object.registerClass('BtnUpArrow', mx.controls.SimpleButton); #endinitclip } movieClip 209 ScrollBarAssets { } movieClip 210 HScrollBar { #initclip Object.registerClass('HScrollBar', mx.controls.HScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 136 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 132 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 211 VScrollBar { #initclip Object.registerClass('VScrollBar', mx.controls.VScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 136 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 132 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 212 View { #initclip Object.registerClass('View', mx.core.View); #endinitclip frame 1 { stop(); } } movieClip 213 ScrollView { #initclip Object.registerClass('ScrollView', mx.core.ScrollView); #endinitclip frame 1 { stop(); } instance of movieClip 210 HScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 211 VScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 214 ScrollSelectList { #initclip Object.registerClass('ScrollSelectList', mx.controls.listclasses.ScrollSelectList); #endinitclip frame 1 { stop(); } } movieClip 215 List { #initclip Object.registerClass('List', mx.controls.List); #endinitclip frame 1 { stop(); } } movieClip 218 { } movieClip 220 ComboDownArrowUp { } movieClip 221 ComboDownArrowDisabled { #initclip Object.registerClass('ComboDownArrowDisabled', mx.controls.SimpleButton); #endinitclip } movieClip 223 ComboThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 224 ComboDownArrowDown { } movieClip 225 ComboDownArrowOver { } movieClip 226 ComboAssets { #initclip mx.controls.ComboBox.prototype.downArrowUpName = 'ComboDownArrowUp'; mx.controls.ComboBox.prototype.downArrowDownName = 'ComboDownArrowDown'; mx.controls.ComboBox.prototype.downArrowOverName = 'ComboDownArrowOver'; mx.controls.ComboBox.prototype.downArrowDisabledName = 'ComboDownArrowDisabled'; mx.controls.ComboBox.prototype.wrapDownArrowButton = false; mx.controls.ComboBox.prototype.dropDownBorderStyle = 'solid'; mx.controls.ComboBox.prototype.adjustFocusRect = function () { var v2 = this.getStyle('themeColor'); if (v2 == undefined) { v2 = 8453965; } var v3 = this._parent.focus_mc; v3.setSize(this.width + 4, this.height + 4, {'bl': 0, 'tl': 0, 'tr': 5, 'br': 5}, 100, v2); v3.move(this.x - 2, this.y - 2); }; #endinitclip frame 1 { } } movieClip 227 ComboBox { #initclip Object.registerClass('ComboBox', mx.controls.ComboBox); #endinitclip frame 1 { stop(); } instance of movieClip 215 List { onClipEvent (initialize) { multipleSelection = false; rowHeight = 20; } } } frame 1 { stop(); var pc = 0; this.onEnterFrame = function () { pc = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); preloader.gotoAndStop(pc); if (pc == 100 && !isNAN(pc)) { delete this.onEnterFrame; play(); } }; } movieClip 244 { } movieClip 257 { } movieClip 722 __Packages.mx.transitions.OnEnterFrameBeacon { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.OnEnterFrameBeacon) { var v1 = function () {}; mx.transitions.OnEnterFrameBeacon = v1; var v2 = v1.prototype; v1.init = function () { var v4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(v4); var v3 = _root.createEmptyMovieClip('__OnEnterFrameBeacon', 9876); v3.onEnterFrame = function () { _global.MovieClip.broadcastMessage('onEnterFrame'); }; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.OnEnterFrameBeacon.prototype, null, 1); } #endinitclip } movieClip 723 __Packages.mx.transitions.BroadcasterMX { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.BroadcasterMX) { var v1 = function () {}; mx.transitions.BroadcasterMX = v1; var v2 = v1.prototype; v1.initialize = function (o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } }; v2.addListener = function (o) { this.removeListener(o); if (this.broadcastMessage == undefined) { this.broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return this._listeners.push(o); }; v2.removeListener = function (o) { var v2 = this._listeners; var v3 = v2.length; while (v3--) { if (v2[v3] == o) { v2.splice(v3, 1); if (!v2.length) { this.broadcastMessage = undefined; } return true; } } return false; }; v2.broadcastMessage = function () { var v5 = String(arguments.shift()); var v4 = this._listeners.concat(); var v6 = v4.length; var v3 = 0; while (v3 < v6) { v4[v3][v5].apply(v4[v3], arguments); ++v3; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.BroadcasterMX.prototype, null, 1); } #endinitclip } movieClip 724 __Packages.mx.transitions.Tween { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.Tween) { var v1 = function (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return undefined; } this.obj = obj; this.prop = prop; this.begin = begin; this.__set__position(begin); this.__set__duration(duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.__set__finish(finish); this._listeners = []; this.addListener(this); this.start(); }; mx.transitions.Tween = v1; var v2 = v1.prototype; v2.__set__time = function (t) { this.prevTime = this._time; if (t > this.__get__duration()) { if (this.looping) { this.rewind(t - this._duration); this.update(); this.broadcastMessage('onMotionLooped', this); } else { if (this.useSeconds) { this._time = this._duration; this.update(); } this.stop(); this.broadcastMessage('onMotionFinished', this); } } else { if (t < 0) { this.rewind(); this.update(); } else { this._time = t; this.update(); } } return this.__get__time(); }; v2.__get__time = function () { return this._time; }; v2.__set__duration = function (d) { this._duration = (d == null || d <= 0) ? _global.Infinity : d; return this.__get__duration(); }; v2.__get__duration = function () { return this._duration; }; v2.__set__FPS = function (fps) { var v2 = this.isPlaying; this.stopEnterFrame(); this._fps = fps; if (v2) { this.startEnterFrame(); } return this.__get__FPS(); }; v2.__get__FPS = function () { return this._fps; }; v2.__set__position = function (p) { this.setPosition(p); return this.__get__position(); }; v2.setPosition = function (p) { this.prevPos = this._pos; this._pos = p; this.obj[this.prop] = this._pos; this.broadcastMessage('onMotionChanged', this, this._pos); updateAfterEvent(); }; v2.__get__position = function () { return this.getPosition(); }; v2.getPosition = function (t) { if (t == undefined) { t = this._time; } return this.func(t, this.begin, this.change, this._duration); }; v2.__set__finish = function (f) { this.change = f - this.begin; return this.__get__finish(); }; v2.__get__finish = function () { return this.begin + this.change; }; v2.continueTo = function (finish, duration) { this.begin = this.position; this.__set__finish(finish); if (duration != undefined) { this.__set__duration(duration); } this.start(); }; v2.yoyo = function () { this.continueTo(this.begin, this.__get__time()); }; v2.startEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.addListener(this); } else { this._intervalID = setInterval(this, 'onEnterFrame', 1000 / this._fps); } this.isPlaying = true; }; v2.stopEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(this._intervalID); } this.isPlaying = false; }; v2.start = function () { this.rewind(); this.startEnterFrame(); this.broadcastMessage('onMotionStarted', this); }; v2.stop = function () { this.stopEnterFrame(); this.broadcastMessage('onMotionStopped', this); }; v2.resume = function () { this.fixTime(); this.startEnterFrame(); this.broadcastMessage('onMotionResumed', this); }; v2.rewind = function (t) { this._time = (t == undefined) ? 0 : t; this.fixTime(); this.update(); }; v2.fforward = function () { this.__set__time(this._duration); this.fixTime(); }; v2.nextFrame = function () { if (this.useSeconds) { this.__set__time((getTimer() - this._startTime) / 1000); } else { this.__set__time(this._time + 1); } }; v2.onEnterFrame = function () { this.nextFrame(); }; v2.prevFrame = function () { if (!this.useSeconds) { this.__set__time(this._time - 1); } }; v2.toString = function () { return '[Tween]'; }; v2.fixTime = function () { if (this.useSeconds) { this._startTime = getTimer() - this._time * 1000; } }; v2.update = function () { this.__set__position(this.getPosition(this._time)); }; v1.version = '1.1.0.52'; v1.__initBeacon = mx.transitions.OnEnterFrameBeacon.init(); v1.__initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); v2.func = function (t, b, c, d) { return c * t / d + b; }; v2.addProperty('FPS', v2.__get__FPS, v2.__set__FPS); v2.addProperty('duration', v2.__get__duration, v2.__set__duration); v2.addProperty('finish', v2.__get__finish, v2.__set__finish); v2.addProperty('position', v2.__get__position, v2.__set__position); v2.addProperty('time', v2.__get__time, v2.__set__time); ASSetPropFlags(mx.transitions.Tween.prototype, null, 1); } #endinitclip } movieClip 725 __Packages.mx.transitions.easing.Bounce { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.easing) { _global.mx.transitions.easing = new Object(); } if (!_global.mx.transitions.easing.Bounce) { var v1 = function () {}; mx.transitions.easing.Bounce = v1; var v2 = v1.prototype; v1.easeOut = function (t, b, c, d) { t /= d; if (t < 0.3636363636363637) { return c * (7.5625 * t * t) + b; } else { if (t < 0.7272727272727273) { t -= 0.5454545454545454; return c * (7.5625 * t * t + 0.75) + b; } else { if (t < 0.9090909090909091) { t -= 0.8181818181818182; return c * (7.5625 * t * t + 0.9375) + b; } else { t -= 0.9545454545454546; return c * (7.5625 * t * t + 0.984375) + b; } } } }; v1.easeIn = function (t, b, c, d) { return c - mx.transitions.easing.Bounce.easeOut(d - t, 0, c, d) + b; }; v1.easeInOut = function (t, b, c, d) { if (t < d / 2) { return mx.transitions.easing.Bounce.easeIn(t * 2, 0, c, d) * 0.5 + b; } else { return mx.transitions.easing.Bounce.easeOut(t * 2 - d, 0, c, d) * 0.5 + c * 0.5 + b; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.easing.Bounce.prototype, null, 1); } #endinitclip } movieClip 726 __Packages.mx.transitions.easing.Regular { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.easing) { _global.mx.transitions.easing = new Object(); } if (!_global.mx.transitions.easing.Regular) { var v1 = function () {}; mx.transitions.easing.Regular = v1; var v2 = v1.prototype; v1.easeIn = function (t, b, c, d) { t /= d; return c * t * t + b; }; v1.easeOut = function (t, b, c, d) { t /= d; return -c * t * (t - 2) + b; }; v1.easeInOut = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * t * t + b; } return (-c / 2) * (--t * (t - 2) - 1) + b; }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.easing.Regular.prototype, null, 1); } #endinitclip } movieClip 727 __Packages.com.greensock.core.TweenCore { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.core) { _global.com.greensock.core = new Object(); } if (!_global.com.greensock.core.TweenCore) { var v1 = function (duration, vars) { this.vars = vars || {}; this.cachedTotalDuration = duration || 0; this.cachedDuration = this.cachedTotalDuration; this._delay = Number(this.vars.delay) || 0; this.cachedTimeScale = this.vars.timeScale || 1; this.active = Boolean(duration == 0 && this._delay == 0 && this.vars.immediateRender != false); this.cachedTime = 0; this.cachedTotalTime = 0; this.data = this.vars.data; this.cachedReversed = false; this.cachedPaused = this.cachedReversed; this.cacheIsDirty = this.cachedReversed; this.initted = this.cachedReversed; this.gc = this.cachedReversed; this._rawPrevTime = -1; if (!com.greensock.core.TweenCore._classInitted) { if (com.greensock.TweenLite.rootFrame == undefined && com.greensock.TweenLite.initClass != undefined) { com.greensock.TweenLite.initClass(); com.greensock.core.TweenCore._classInitted = true; } else { return undefined; } } var v2 = this.vars.timeline instanceof com.greensock.core.SimpleTimeline ? this.vars.timeline : ((this.vars.useFrames == true) ? com.greensock.TweenLite.rootFramesTimeline : com.greensock.TweenLite.rootTimeline); v2.insert(this, v2.cachedTotalTime); if (this.vars.reversed) { this.cachedReversed = true; } if (this.vars.paused) { this.__set__paused(true); } }; com.greensock.core.TweenCore = v1; var v2 = v1.prototype; v2.play = function () { this.__set__reversed(false); this.__set__paused(false); }; v2.pause = function () { this.__set__paused(true); }; v2.resume = function () { this.__set__paused(false); }; v2.restart = function (includeDelay, suppressEvents) { this.__set__reversed(false); this.__set__paused(false); this.setTotalTime(includeDelay ? -this._delay : 0, Boolean(suppressEvents != false)); }; v2.reverse = function (forceResume) { this.__set__reversed(true); if (forceResume != false) { this.__set__paused(false); } else { if (this.gc) { this.setEnabled(true, false); } } }; v2.renderTime = function (time, suppressEvents, force) {}; v2.complete = function (skipRender, suppressEvents) { if (!skipRender) { this.renderTime(this.__get__totalDuration(), suppressEvents, false); return undefined; } if (this.timeline.autoRemoveChildren) { this.setEnabled(false, false); } else { this.active = false; } if (!suppressEvents) { if (this.vars.onComplete && this.cachedTotalTime >= this.cachedTotalDuration && !this.cachedReversed) { this.vars.onComplete.apply(this.vars.onCompleteScope, this.vars.onCompleteParams); } else { if (this.cachedReversed && this.cachedTotalTime == 0 && this.vars.onReverseComplete) { this.vars.onReverseComplete.apply(this.vars.onReverseCompleteScope, this.vars.onReverseCompleteParams); } } } }; v2.invalidate = function () {}; v2.setEnabled = function (enabled, ignoreTimeline) { this.gc = !enabled; if (enabled) { this.active = Boolean(!this.cachedPaused && this.cachedTotalTime > 0 && this.cachedTotalTime < this.cachedTotalDuration); if (ignoreTimeline != true && this.cachedOrphan) { this.timeline.insert(this, this.cachedStartTime - this._delay); } return false; } this.active = false; if (ignoreTimeline != true && !this.cachedOrphan) { this.timeline.remove(this, true); } return false; }; v2.kill = function () { this.setEnabled(false, false); }; v2.setDirtyCache = function (includeSelf) { var v2 = (includeSelf != false) ? this : this.timeline; while (v2) { v2.cacheIsDirty = true; v2 = v2.timeline; } }; v2.setTotalTime = function (time, suppressEvents) { if (this.timeline) { var v3 = this.cachedPaused ? this.cachedPauseTime : this.timeline.cachedTotalTime; if (this.cachedReversed) { var v4 = this.cacheIsDirty ? this.__get__totalDuration() : this.cachedTotalDuration; this.cachedStartTime = v3 - (v4 - time) / this.cachedTimeScale; } else { this.cachedStartTime = v3 - time / this.cachedTimeScale; } if (!this.timeline.cacheIsDirty) { this.setDirtyCache(false); } if (this.cachedTotalTime != time) { this.renderTime(time, suppressEvents, false); } } }; v2.__get__delay = function () { return this._delay; }; v2.__set__delay = function (n) { this.startTime += n - this._delay; this._delay = n; return this.__get__delay(); }; v2.__get__duration = function () { return this.cachedDuration; }; v2.__set__duration = function (n) { var v2 = n / this.cachedDuration; this.cachedTotalDuration = n; this.cachedDuration = this.cachedTotalDuration; if (this.active && !this.cachedPaused && n != 0) { this.setTotalTime(this.cachedTotalTime * v2, true); } this.setDirtyCache(false); return this.__get__duration(); }; v2.__get__totalDuration = function () { return this.cachedTotalDuration; }; v2.__set__totalDuration = function (n) { this.__set__duration(n); return this.__get__totalDuration(); }; v2.__get__currentTime = function () { return this.cachedTime; }; v2.__set__currentTime = function (n) { this.setTotalTime(n, false); return this.__get__currentTime(); }; v2.__get__totalTime = function () { return this.cachedTotalTime; }; v2.__set__totalTime = function (n) { this.setTotalTime(n, false); return this.__get__totalTime(); }; v2.__get__startTime = function () { return this.cachedStartTime; }; v2.__set__startTime = function (n) { if (this.timeline != undefined && (n != this.cachedStartTime || this.gc)) { this.timeline.insert(this, n - this._delay); } else { this.cachedStartTime = n; } return this.__get__startTime(); }; v2.__get__reversed = function () { return this.cachedReversed; }; v2.__set__reversed = function (b) { if (b != this.cachedReversed) { this.cachedReversed = b; this.setTotalTime(this.cachedTotalTime, true); } return this.__get__reversed(); }; v2.__get__paused = function () { return this.cachedPaused; }; v2.__set__paused = function (b) { if (b != this.cachedPaused && this.timeline) { if (b) { this.cachedPauseTime = this.timeline.rawTime; } else { this.cachedStartTime += this.timeline.__get__rawTime() - this.cachedPauseTime; this.cachedPauseTime = NaN; this.setDirtyCache(false); } this.cachedPaused = b; this.active = Boolean(!this.cachedPaused && this.cachedTotalTime > 0 && this.cachedTotalTime < this.cachedTotalDuration); } if (!b && this.gc) { this.setTotalTime(this.cachedTotalTime, false); this.setEnabled(true, false); } return this.__get__paused(); }; v1.version = 1.64; v2.addProperty('currentTime', v2.__get__currentTime, v2.__set__currentTime); v2.addProperty('delay', v2.__get__delay, v2.__set__delay); v2.addProperty('duration', v2.__get__duration, v2.__set__duration); v2.addProperty('paused', v2.__get__paused, v2.__set__paused); v2.addProperty('reversed', v2.__get__reversed, v2.__set__reversed); v2.addProperty('startTime', v2.__get__startTime, v2.__set__startTime); v2.addProperty('totalDuration', v2.__get__totalDuration, v2.__set__totalDuration); v2.addProperty('totalTime', v2.__get__totalTime, v2.__set__totalTime); ASSetPropFlags(com.greensock.core.TweenCore.prototype, null, 1); } #endinitclip } movieClip 728 __Packages.com.greensock.core.SimpleTimeline { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.core) { _global.com.greensock.core = new Object(); } if (!_global.com.greensock.core.SimpleTimeline) { var v1 = function (vars) { super(0, vars); }; com.greensock.core.SimpleTimeline = v1; com.greensock.core.SimpleTimeline extends com.greensock.core.TweenCore; var v2 = v1.prototype; v2.insert = function (tween, time) { if (time == undefined) { time = 0; } if (!tween.cachedOrphan && tween.timeline != undefined) { tween.timeline.remove(tween, true); } tween.timeline = this; tween.cachedStartTime = Number(time) + tween.__get__delay(); if (tween.gc) { tween.setEnabled(true, true); } if (tween.cachedPaused) { tween.cachedPauseTime = tween.cachedStartTime + (this.__get__rawTime() - tween.cachedStartTime) / tween.cachedTimeScale; } if (this._lastChild) { this._lastChild.nextNode = tween; tween.prevNode = this._lastChild; this._lastChild = tween; tween.nextNode = undefined; tween.cachedOrphan = false; return tween; } this._firstChild = tween; tween.prevNode = this._lastChild; this._lastChild = tween; tween.nextNode = undefined; tween.cachedOrphan = false; return tween; }; v2.remove = function (tween, skipDisable) { if (tween.cachedOrphan) { return undefined; } else { if (skipDisable != true) { tween.setEnabled(false, true); } } if (tween.nextNode) { tween.nextNode.prevNode = tween.prevNode; } else { if (this._lastChild == tween) { this._lastChild = tween.prevNode; } } if (tween.prevNode) { tween.prevNode.nextNode = tween.nextNode; } else { if (this._firstChild == tween) { this._firstChild = tween.nextNode; } } tween.cachedOrphan = true; }; v2.renderTime = function (time, suppressEvents, force) { var v2 = this._firstChild; var v4; var v5; this.cachedTotalTime = time; this.cachedTime = time; while (v2) { v5 = v2.nextNode; if (v2.active || time >= v2.cachedStartTime && !v2.cachedPaused && !v2.gc) { if (!v2.cachedReversed) { v2.renderTime((time - v2.cachedStartTime) * v2.cachedTimeScale, suppressEvents, false); } else { v4 = v2.cacheIsDirty ? v2.__get__totalDuration() : v2.cachedTotalDuration; v2.renderTime(v4 - (time - v2.cachedStartTime) * v2.cachedTimeScale, suppressEvents, false); } } v2 = v5; } }; v2.__get__rawTime = function () { return this.cachedTotalTime; }; v2.addProperty('rawTime', v2.__get__rawTime, function () {}); ASSetPropFlags(com.greensock.core.SimpleTimeline.prototype, null, 1); } #endinitclip } movieClip 729 __Packages.com.greensock.TweenLite { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.TweenLite) { var v1 = function (target, duration, vars) { super(duration, vars); if (com.greensock.TweenLite._timingClip.onEnterFrame != com.greensock.TweenLite.updateAll) { com.greensock.TweenLite.jumpStart(_root); } this.ratio = 0; this.target = target; this._targetID = com.greensock.TweenLite.getID(target, true); if (this.vars.timeScale != undefined && this.target instanceof com.greensock.core.TweenCore) { this.cachedTimeScale = 1; } this.propTweenLookup = {}; this._ease = com.greensock.TweenLite.defaultEase; this._overwrite = (vars.overwrite == undefined || !com.greensock.TweenLite.overwriteManager.enabled && vars.overwrite > 1) ? com.greensock.TweenLite.overwriteManager.mode : Number(vars.overwrite); var v5 = com.greensock.TweenLite.masterList[this._targetID].tweens; if (v5.length == 0) { v5[0] = this; } else { if (this._overwrite == 1) { var v4 = v5.length; while (--v4 > -1) { if (!v5[v4].gc) { v5[v4].setEnabled(false, false); } } com.greensock.TweenLite.masterList[this._targetID].tweens = [this]; } else { v5[v5.length] = this; } } if (this.active || this.vars.immediateRender) { this.renderTime(0, false, true); } }; com.greensock.TweenLite = v1; com.greensock.TweenLite extends com.greensock.core.TweenCore; var v2 = v1.prototype; v1.initClass = function () { com.greensock.TweenLite.rootFrame = 0; com.greensock.TweenLite.rootTimeline = new com.greensock.core.SimpleTimeline(null); com.greensock.TweenLite.rootFramesTimeline = new com.greensock.core.SimpleTimeline(null); com.greensock.TweenLite.rootFramesTimeline.autoRemoveChildren = true; com.greensock.TweenLite.rootTimeline.autoRemoveChildren = com.greensock.TweenLite.rootFramesTimeline.autoRemoveChildren; com.greensock.TweenLite.rootTimeline.cachedStartTime = getTimer() * 0.001; com.greensock.TweenLite.rootFramesTimeline.cachedTotalTime = 0; com.greensock.TweenLite.rootTimeline.cachedTotalTime = 0; com.greensock.TweenLite.rootFramesTimeline.cachedStartTime = com.greensock.TweenLite.rootFrame; if (com.greensock.TweenLite.overwriteManager == undefined) { com.greensock.TweenLite.overwriteManager = {'mode': 1, 'enabled': false}; } com.greensock.TweenLite.jumpStart(_root); }; v2.init = function () { if (this.vars.onInit) { this.vars.onInit.apply(null, this.vars.onInitParams); } var v2; var v5; var v3; var v6; var v7; if (typeof this.vars.ease == 'function') { this._ease = this.vars.ease; } if (this.vars.easeParams != undefined) { this.vars.proxiedEase = this._ease; this._ease = this.easeProxy; } this.cachedPT1 = undefined; this.propTweenLookup = {}; for (v2 in this.vars) { if (com.greensock.TweenLite._reservedProps[v2] && !(v2 == 'timeScale' && this.target instanceof com.greensock.core.TweenCore)) { } else { if (com.greensock.TweenLite.plugins[v2] && v3.onInitTween(this.target, this.vars[v2], this)) { this.cachedPT1 = new com.greensock.core.PropTween(v3, 'changeFactor', 0, 1, (v3.overwriteProps.length == 1) ? v3.overwriteProps[0] : '_MULTIPLE_', true, this.cachedPT1); if (this.cachedPT1.name == '_MULTIPLE_') { v5 = v3.overwriteProps.length; while (--v5 > -1) { this.propTweenLookup[v3.overwriteProps[v5]] = this.cachedPT1; } } else { this.propTweenLookup[this.cachedPT1.name] = this.cachedPT1; } if (v3.priority) { this.cachedPT1.priority = v3.priority; v6 = true; } if (v3.onDisable || v3.onEnable) { this._notifyPluginsOfEnabled = true; } this._hasPlugins = true; } else { this.cachedPT1 = new com.greensock.core.PropTween(this.target, v2, Number(this.target[v2]), (typeof this.vars[v2] == 'number') ? Number(this.vars[v2]) - this.target[v2] : Number(this.vars[v2]), v2, false, this.cachedPT1); this.propTweenLookup[v2] = this.cachedPT1; } } } if (v6) { com.greensock.TweenLite.onPluginEvent('onInitAllProps', this); } if (this.vars.runBackwards) { var v4 = this.cachedPT1; while (v4) { v4.start += v4.change; v4.change = -v4.change; v4 = v4.nextNode; } } this._hasUpdate = Boolean(typeof this.vars.onUpdate == 'function'); if (this._overwrittenProps) { this.killVars(this._overwrittenProps); if (this.cachedPT1 == undefined) { this.setEnabled(false, false); } } if (this._overwrite > 1 && this.cachedPT1 && v7 && v7.length > 1) { if (com.greensock.TweenLite.overwriteManager.manageOverwrites(this, this.propTweenLookup, v7, this._overwrite)) { this.init(); } } this.initted = true; }; v2.renderTime = function (time, suppressEvents, force) { var v4; var v5 = this.cachedTime; if (time >= this.cachedDuration) { this.cachedTime = this.cachedDuration; this.cachedTotalTime = this.cachedTime; this.ratio = 1; v4 = true; if (this.cachedDuration == 0) { if ((time == 0 || this._rawPrevTime < 0) && this._rawPrevTime != time) { force = true; } this._rawPrevTime = time; } } else { if (time <= 0) { this.ratio = 0; this.cachedTime = 0; this.cachedTotalTime = 0; if (time < 0) { this.active = false; if (this.cachedDuration == 0) { if (this._rawPrevTime >= 0) { force = true; v4 = true; } this._rawPrevTime = time; } } if (this.cachedReversed && v5 != 0) { v4 = true; } } else { this.cachedTime = time; this.cachedTotalTime = this.cachedTime; this.ratio = this._ease(time, 0, 1, this.cachedDuration); } } if (this.cachedTime == v5 && !force) { return undefined; } else { if (!this.initted) { this.init(); if (!v4 && this.cachedTime) { this.ratio = this._ease(this.cachedTime, 0, 1, this.cachedDuration); } } } if (!this.active && !this.cachedPaused) { this.active = true; } if (v5 == 0 && this.vars.onStart && (this.cachedTime != 0 || this.cachedDuration == 0) && !suppressEvents) { this.vars.onStart.apply(this.vars.onStartScope, this.vars.onStartParams); } var v2 = this.cachedPT1; while (v2) { v2.target[v2.property] = v2.start + this.ratio * v2.change; v2 = v2.nextNode; } if (this._hasUpdate && !suppressEvents) { this.vars.onUpdate.apply(this.vars.onUpdateScope, this.vars.onUpdateParams); } if (v4 && !this.gc) { if (this._hasPlugins && this.cachedPT1) { com.greensock.TweenLite.onPluginEvent('onComplete', this); } this.complete(true, suppressEvents); } }; v2.killVars = function (vars, permanent) { if (this._overwrittenProps == undefined) { this._overwrittenProps = {}; } var v3; var v2; var v5; for (v3 in vars) { if (this.propTweenLookup[v3]) { v2 = this.propTweenLookup[v3]; if (v2.isPlugin && v2.name == '_MULTIPLE_') { v2.target.killProps(vars); if (v2.target.overwriteProps.length == 0) { v2.name = ''; } if (v3 != v2.target.propName || v2.name == '') { delete this.propTweenLookup[v3]; } } if (v2.name != '_MULTIPLE_') { if (v2.nextNode) { v2.nextNode.prevNode = v2.prevNode; } if (v2.prevNode) { v2.prevNode.nextNode = v2.nextNode; } else { if (this.cachedPT1 == v2) { this.cachedPT1 = v2.nextNode; } } if (v2.isPlugin && v2.target.onDisable) { v2.target.onDisable(); if (v2.target.activeDisable) { v5 = true; } } delete this.propTweenLookup[v3]; } } if (permanent != false && vars != this._overwrittenProps) { this._overwrittenProps[v3] = 1; } } return v5; }; v2.invalidate = function () { if (this._notifyPluginsOfEnabled) { com.greensock.TweenLite.onPluginEvent('onDisable', this); } this.cachedPT1 = undefined; this._overwrittenProps = undefined; this._notifyPluginsOfEnabled = false; this.active = this._notifyPluginsOfEnabled; this.initted = this._notifyPluginsOfEnabled; this._hasUpdate = this._notifyPluginsOfEnabled; this.propTweenLookup = {}; }; v2.setEnabled = function (enabled, ignoreTimeline) { if (enabled) { var v3 = com.greensock.TweenLite.masterList[this._targetID].tweens; if (v3) { v3[v3.length] = this; } else { com.greensock.TweenLite.masterList[this._targetID] = {'target': this.target, 'tweens': [this]}; } } super.setEnabled(enabled, ignoreTimeline); if (this._notifyPluginsOfEnabled && this.cachedPT1) { return com.greensock.TweenLite.onPluginEvent(enabled ? 'onEnable' : 'onDisable', this); } return false; }; v2.easeProxy = function (t, b, c, d) { return this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)); }; v1.to = function (target, duration, vars) { return new com.greensock.TweenLite(target, duration, vars); }; v1.from = function (target, duration, vars) { vars.runBackwards = true; if (vars.immediateRender != false) { vars.immediateRender = true; } return new com.greensock.TweenLite(target, duration, vars); }; v1.delayedCall = function (delay, onComplete, onCompleteParams, onCompleteScope, useFrames) { return new com.greensock.TweenLite(onComplete, 0, {'delay': delay, 'onComplete': onComplete, 'onCompleteParams': onCompleteParams, 'onCompleteScope': onCompleteScope, 'immediateRender': false, 'useFrames': useFrames, 'overwrite': 0}); }; v1.updateAll = function () { com.greensock.TweenLite.rootTimeline.renderTime((getTimer() * 0.001 - com.greensock.TweenLite.rootTimeline.cachedStartTime) * com.greensock.TweenLite.rootTimeline.cachedTimeScale, false, false); ++com.greensock.TweenLite.rootFrame; com.greensock.TweenLite.rootFramesTimeline.renderTime((com.greensock.TweenLite.rootFrame - com.greensock.TweenLite.rootFramesTimeline.cachedStartTime) * com.greensock.TweenLite.rootFramesTimeline.cachedTimeScale, false, false); if (!(com.greensock.TweenLite.rootFrame % 60)) { var v3 = com.greensock.TweenLite.masterList; var v2; var v1; for (var v4 in v3) { v1 = v3[v4].tweens; v2 = v1.length; while (--v2 > -1) { if (v1[v2].gc) { v1.splice(v2, 1); } } if (v1.length == 0) { delete v3[v4]; } } } }; v1.killTweensOf = function (target, complete, vars) { var v6 = com.greensock.TweenLite.getID(target, true); var v4 = com.greensock.TweenLite.masterList[v6].tweens; var v3; var v1; if (v4 != undefined) { v3 = v4.length; while (--v3 > -1) { v1 = v4[v3]; if (!v1.gc) { if (complete == true) { v1.complete(false, false); } if (vars != undefined) { v1.killVars(vars); } if (vars == undefined || v1.cachedPT1 == undefined && v1.initted) { v1.setEnabled(false, false); } } } if (vars == undefined) { delete com.greensock.TweenLite.masterList[v6]; } } }; v1.getID = function (target, lookup) { var v2; if (lookup) { var v1 = com.greensock.TweenLite.masterList; if (typeof target == 'movieclip') { if (v1[String(target)] != undefined) { return String(target); } else { v2 = String(target); com.greensock.TweenLite.masterList[v2] = {'target': target, 'tweens': []}; return v2; } ++com.greensock.TweenLite._cnt; v2 = 't' + com.greensock.TweenLite._cnt; com.greensock.TweenLite.masterList[v2] = {'target': target, 'tweens': []}; return v2; } for (var v3 in v1) { if (v1[v3].target == target) { return v3; } } } ++com.greensock.TweenLite._cnt; v2 = 't' + com.greensock.TweenLite._cnt; com.greensock.TweenLite.masterList[v2] = {'target': target, 'tweens': []}; return v2; }; v1.easeOut = function (t, b, c, d) { t /= d; return -1 * t * (t - 2); }; v1.findSubloadedSWF = function (mc) { for (var v3 in mc) { if (typeof mc[v3] == 'movieclip') { if (mc[v3]._url != _root._url && mc[v3].getBytesLoaded() != undefined) { return mc[v3]; } else { if (com.greensock.TweenLite.findSubloadedSWF(mc[v3]) != undefined) { return com.greensock.TweenLite.findSubloadedSWF(mc[v3]); } } } } return undefined; }; v1.jumpStart = function (root) { if (com.greensock.TweenLite._timingClip != undefined) { com.greensock.TweenLite._timingClip.removeMovieClip(); } var v2 = (root.getBytesLoaded() == undefined) ? com.greensock.TweenLite.findSubloadedSWF(root) : root; var v1 = 999; while (v2.getInstanceAtDepth(v1) != undefined) { ++v1; } com.greensock.TweenLite._timingClip = v2.createEmptyMovieClip('__tweenLite' + ((String(com.greensock.TweenLite.version)).split('.')).join('_'), v1); com.greensock.TweenLite._timingClip.onEnterFrame = com.greensock.TweenLite.updateAll; com.greensock.TweenLite.to({}, 0, {}); com.greensock.TweenLite.rootTimeline.cachedTotalTime = (getTimer() * 0.001 - com.greensock.TweenLite.rootTimeline.cachedStartTime) * com.greensock.TweenLite.rootTimeline.cachedTimeScale; com.greensock.TweenLite.rootTimeline.cachedTime = com.greensock.TweenLite.rootTimeline.cachedTotalTime; }; v1.version = 11.65; v1.plugins = {}; v1.killDelayedCallsTo = com.greensock.TweenLite.killTweensOf; v1.defaultEase = com.greensock.TweenLite.easeOut; v1.masterList = {}; v1._cnt = -16000; v1._reservedProps = {'ease': 1, 'delay': 1, 'overwrite': 1, 'onComplete': 1, 'onCompleteParams': 1, 'useFrames': 1, 'runBackwards': 1, 'startAt': 1, 'onUpdate': 1, 'onUpdateParams': 1, 'onStart': 1, 'onStartParams': 1, 'onReverseComplete': 1, 'onReverseCompleteParams': 1, 'onRepeat': 1, 'onRepeatParams': 1, 'proxiedEase': 1, 'easeParams': 1, 'yoyo': 1, 'onCompleteListener': 1, 'onUpdateListener': 1, 'onStartListener': 1, 'orientToBezier': 1, 'timeScale': 1, 'immediateRender': 1, 'repeat': 1, 'repeatDelay': 1, 'timeline': 1, 'data': 1, 'paused': 1}; ASSetPropFlags(com.greensock.TweenLite.prototype, null, 1); } #endinitclip } movieClip 730 __Packages.com.greensock.core.PropTween { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.core) { _global.com.greensock.core = new Object(); } if (!_global.com.greensock.core.PropTween) { var v1 = function (target, property, start, change, name, isPlugin, nextNode, priority) { this.target = target; this.property = property; this.start = start; this.change = change; this.name = name; this.isPlugin = isPlugin; if (nextNode) { nextNode.prevNode = this; this.nextNode = nextNode; } this.priority = priority || 0; }; com.greensock.core.PropTween = v1; var v2 = v1.prototype; ASSetPropFlags(com.greensock.core.PropTween.prototype, null, 1); } #endinitclip } movieClip 731 __Packages.com.greensock.plugins.TweenPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.TweenPlugin) { var v1 = function () { this._tweens = []; this._changeFactor = 0; }; com.greensock.plugins.TweenPlugin = v1; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this.addTween(target, this.propName, target[this.propName], value, this.propName); return true; }; v2.addTween = function (object, propName, start, end, overwriteProp) { if (end != undefined) { var v3 = (typeof end == 'number') ? Number(end) - start : Number(end); if (v3 != 0) { this._tweens[this._tweens.length] = new com.greensock.core.PropTween(object, propName, start, v3, overwriteProp || propName); } } }; v2.updateTweens = function (changeFactor) { var v3 = this._tweens.length; var v2; if (this.round) { var v4; while (--v3 > -1) { v2 = this._tweens[v3]; v4 = v2.start + v2.change * changeFactor; if (v4 > 0) { v2.target[v2.property] = v4 + 0.5 >> 0; } else { v2.target[v2.property] = v4 - 0.5 >> 0; } } } else { while (--v3 > -1) { v2 = this._tweens[v3]; v2.target[v2.property] = v2.start + v2.change * changeFactor; } } }; v2.__get__changeFactor = function () { return this._changeFactor; }; v2.__set__changeFactor = function (n) { this.updateTweens(n); this._changeFactor = n; return this.__get__changeFactor(); }; v2.killProps = function (lookup) { var v2 = this.overwriteProps.length; while (--v2 > -1) { if (lookup[this.overwriteProps[v2]]) { this.overwriteProps.splice(v2, 1); } } v2 = this._tweens.length; while (--v2 > -1) { if (lookup[this._tweens[v2].name]) { this._tweens.splice(v2, 1); } } }; v1.onTweenEvent = function (type, tween) { var v1 = tween.cachedPT1; var v5; if (type == 'onInitAllProps') { var v3 = []; var v2 = 0; while (v1) { v3[v2++] = v1; v1 = v1.nextNode; } v3.sortOn('priority', Array.NUMERIC | Array.DESCENDING); while (--v2 > -1) { v3[v2].nextNode = v3[v2 + 1]; v3[v2].prevNode = v3[v2 - 1]; } tween.cachedPT1 = v3[0]; v1 = tween.cachedPT1; } while (v1) { if (v1.isPlugin && v1.target[type]) { if (v1.target.activeDisable) { v5 = true; } v1.target[type](); } v1 = v1.nextNode; } return v5; }; v1.activate = function (plugins) { com.greensock.TweenLite.onPluginEvent = com.greensock.plugins.TweenPlugin.onTweenEvent; var v1 = plugins.length; var v3; while (v1--) { if (plugins[v1].API == 1) { v3 = new plugins[v1](); com.greensock.TweenLite.plugins[v3.propName] = plugins[v1]; } } return true; }; v1.VERSION = 1.4; v1.API = 1; v2.priority = 0; v2.addProperty('changeFactor', v2.__get__changeFactor, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.TweenPlugin.prototype, null, 1); } #endinitclip } movieClip 732 __Packages.com.greensock.plugins.VisiblePlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.VisiblePlugin) { var v1 = function () { super(); this.propName = '_visible'; this.overwriteProps = ['_visible']; }; com.greensock.plugins.VisiblePlugin = v1; com.greensock.plugins.VisiblePlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this._target = target; this._tween = tween; this._initVal = Boolean(this._target._visible); this._visible = Boolean(value); return true; }; v2.__set__changeFactor = function (n) { if (n == 1 && (this._tween.cachedDuration == this._tween.cachedTime || this._tween.cachedTime == 0)) { this._target._visible = this._visible; } else { this._target._visible = this._initVal; } return this.__get__changeFactor(); }; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.VisiblePlugin.prototype, null, 1); } #endinitclip } movieClip 733 __Packages.com.greensock.plugins.AutoAlphaPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.AutoAlphaPlugin) { var v1 = function () { super(); this.propName = 'autoAlpha'; this.overwriteProps = ['_alpha', '_visible']; }; com.greensock.plugins.AutoAlphaPlugin = v1; com.greensock.plugins.AutoAlphaPlugin extends com.greensock.plugins.VisiblePlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this._target = target; this.addTween(target, '_alpha', target._alpha, value, '_alpha'); return true; }; v2.killProps = function (lookup) { super.killProps(lookup); this._ignoreVisible = Boolean(lookup._visible != undefined); }; v2.__set__changeFactor = function (n) { this.updateTweens(n); if (!this._ignoreVisible) { this._target._visible = Boolean(this._target._alpha != 0); } return this.__get__changeFactor(); }; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.AutoAlphaPlugin.prototype, null, 1); } #endinitclip } movieClip 734 __Packages.com.greensock.plugins.EndArrayPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.EndArrayPlugin) { var v1 = function () { super(); this.propName = 'endArray'; this.overwriteProps = ['endArray']; this._info = []; }; com.greensock.plugins.EndArrayPlugin = v1; com.greensock.plugins.EndArrayPlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (!(target instanceof Array) || !(value instanceof Array)) { return false; } this.init([target][0], [value][0]); return true; }; v2.init = function (start, end) { this._a = start; var v2 = end.length; while (v2--) { if (start[v2] != end[v2] && start[v2] != undefined) { this._info[this._info.length] = new com.greensock.plugins.helpers.ArrayTweenInfo(v2, this._a[v2], end[v2] - this._a[v2]); } } }; v2.__set__changeFactor = function (n) { var v3 = this._info.length; var v2; if (this.round) { while (v3--) { v2 = this._info[v3]; this._a[v2.index] = Math.round(v2.start + v2.change * n); } } else { while (v3--) { v2 = this._info[v3]; this._a[v2.index] = v2.start + v2.change * n; } } return this.__get__changeFactor(); }; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.EndArrayPlugin.prototype, null, 1); } #endinitclip } movieClip 735 __Packages.com.greensock.plugins.helpers.ArrayTweenInfo { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.helpers) { _global.com.greensock.plugins.helpers = new Object(); } if (!_global.com.greensock.plugins.helpers.ArrayTweenInfo) { var v1 = function (index, start, change) { this.index = index; this.start = start; this.change = change; }; com.greensock.plugins.helpers.ArrayTweenInfo = v1; var v2 = v1.prototype; ASSetPropFlags(com.greensock.plugins.helpers.ArrayTweenInfo.prototype, null, 1); } #endinitclip } movieClip 736 __Packages.com.greensock.plugins.FramePlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.FramePlugin) { var v1 = function () { super(); this.propName = 'frame'; this.overwriteProps = ['frame']; this.round = true; }; com.greensock.plugins.FramePlugin = v1; com.greensock.plugins.FramePlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (typeof target != 'movieclip' || isNaN(value)) { return false; } this._target = MovieClip(target); this.frame = this._target._currentframe; this.addTween(this, 'frame', this.frame, value, 'frame'); return true; }; v2.__set__changeFactor = function (n) { this.updateTweens(n); this._target.gotoAndStop(this.frame); return this.__get__changeFactor(); }; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.FramePlugin.prototype, null, 1); } #endinitclip } movieClip 737 __Packages.com.greensock.plugins.TintPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.TintPlugin) { var v1 = function () { super(); this.propName = 'tint'; this.overwriteProps = ['tint']; }; com.greensock.plugins.TintPlugin = v1; com.greensock.plugins.TintPlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (typeof target != 'movieclip' && !(target instanceof TextField)) { return false; } var v2 = (tween.vars._alpha != undefined) ? tween.vars._alpha : ((tween.vars.autoAlpha != undefined) ? tween.vars.autoAlpha : target._alpha); var v4 = Number(value); if (!(value == null || tween.vars.removeTint == true)) { var v6 = {'rb': v4 >> 16, 'gb': v4 >> 8 & 255, 'bb': v4 & 255, 'ra': 0, 'ga': 0, 'ba': 0, 'aa': v2}; this._ignoreAlpha = true; this.init(target, v6); return true; } var v6 = {'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0, 'ra': v2, 'ga': v2, 'ba': v2, 'aa': v2}; this._ignoreAlpha = true; this.init(target, v6); return true; }; v2.init = function (target, end) { this._color = new Color(target); this._ct = this._color.getTransform(); var v5; var v2; for (v2 in end) { if (this._ct[v2] != end[v2]) { this._tweens[this._tweens.length] = new com.greensock.core.PropTween(this._ct, v2, this._ct[v2], end[v2] - this._ct[v2], 'tint', false); } } }; v2.__set__changeFactor = function (n) { var v3 = this._tweens.length; var v2; while (v3--) { v2 = this._tweens[v3]; v2.target[v2.property] = v2.start + v2.change * n; } if (this._ignoreAlpha) { var v5 = this._color.getTransform(); this._ct.aa = v5.aa; this._ct.ab = v5.ab; } this._color.setTransform(this._ct); return this.__get__changeFactor(); }; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.TintPlugin.prototype, null, 1); } #endinitclip } movieClip 738 __Packages.com.greensock.plugins.RemoveTintPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.RemoveTintPlugin) { var v1 = function () { super(); this.propName = 'removeTint'; }; com.greensock.plugins.RemoveTintPlugin = v1; com.greensock.plugins.RemoveTintPlugin extends com.greensock.plugins.TintPlugin; var v2 = v1.prototype; v1.API = 1; ASSetPropFlags(com.greensock.plugins.RemoveTintPlugin.prototype, null, 1); } #endinitclip } movieClip 739 __Packages.com.greensock.plugins.VolumePlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.VolumePlugin) { var v1 = function () { super(); this.propName = 'volume'; this.overwriteProps = ['volume']; }; com.greensock.plugins.VolumePlugin = v1; com.greensock.plugins.VolumePlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (isNaN(value) || typeof target != 'movieclip' && !(target instanceof Sound)) { return false; } if (typeof target != 'movieclip') { this._sound = Sound(target); this.volume = this._sound.getVolume(); this.addTween(this, 'volume', this.volume, value, 'volume'); return true; } this._sound = new Sound(target); this.volume = this._sound.getVolume(); this.addTween(this, 'volume', this.volume, value, 'volume'); return true; }; v2.__set__changeFactor = function (n) { this.updateTweens(n); this._sound.setVolume(this.volume); return this.__get__changeFactor(); }; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.VolumePlugin.prototype, null, 1); } #endinitclip } movieClip 740 __Packages.com.greensock.plugins.FilterPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.FilterPlugin) { var v1 = function () { super(); }; com.greensock.plugins.FilterPlugin = v1; com.greensock.plugins.FilterPlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.initFilter = function (props, defaultFilter, propNames) { var v6 = this._target.filters; var v2; var v3; var v5; var v7 = props instanceof flash.filters.BitmapFilter ? {} : props; this._index = -1; if (v7.index != undefined) { this._index = v7.index; } else { v3 = v6.length; while (v3--) { if (v6[v3] instanceof this._type) { this._index = v3; break; } } } if (this._index == -1 || v6[this._index] == undefined || v7.addFilter == true) { this._index = (v7.index != undefined) ? v7.index : v6.length; v6[this._index] = defaultFilter; this._target.filters = v6; } this._filter = v6[this._index]; if (v7.remove == true) { this._remove = true; this.onComplete = this.onCompleteTween; } v3 = propNames.length; while (v3--) { v2 = propNames[v3]; if (props[v2] != undefined && this._filter[v2] != props[v2]) { if (v2 == 'color' || v2 == 'highlightColor' || v2 == 'shadowColor') { v5 = new com.greensock.plugins.HexColorsPlugin(); v5.initColor(this._filter, v2, this._filter[v2], props[v2]); this._tweens[this._tweens.length] = new com.greensock.core.PropTween(v5, 'changeFactor', 0, 1, this.propName); } else { if (v2 == 'quality' || v2 == 'inner' || v2 == 'knockout' || v2 == 'hideObject') { this._filter[v2] = props[v2]; } else { this.addTween(this._filter, v2, this._filter[v2], props[v2], this.propName); } } } } }; v2.onCompleteTween = function () { if (this._remove) { var v3 = this._target.filters; if (!(v3[this._index] instanceof this._type)) { var v2 = v3.length; while (v2--) { if (v3[v2] instanceof this._type) { v3.splice(v2, 1); break; } } } else { v3.splice(this._index, 1); } this._target.filters = v3; } }; v2.__set__changeFactor = function (n) { var v2 = this._tweens.length; var v3; var v4 = this._target.filters; while (v2--) { v3 = this._tweens[v2]; v3.target[v3.property] = v3.start + v3.change * n; } if (!(v4[this._index] instanceof this._type)) { this._index = v4.length; v2 = this._index; while (v2--) { if (v4[v2] instanceof this._type) { this._index = v2; break; } } } v4[this._index] = this._filter; this._target.filters = v4; return this.__get__changeFactor(); }; v1.VERSION = 2.03; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.FilterPlugin.prototype, null, 1); } #endinitclip } movieClip 741 __Packages.com.greensock.plugins.HexColorsPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.HexColorsPlugin) { var v1 = function () { super(); this.propName = 'hexColors'; this.overwriteProps = []; this._colors = []; }; com.greensock.plugins.HexColorsPlugin = v1; com.greensock.plugins.HexColorsPlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { for (var v4 in value) { this.initColor(target, v4, Number(target[v4]), Number(value[v4])); } return true; }; v2.initColor = function (target, propName, start, end) { if (start != end) { var v3 = start >> 16; var v5 = start >> 8 & 255; var v2 = start & 255; this._colors[this._colors.length] = [target, propName, v3, (end >> 16) - v3, v5, (end >> 8 & 255) - v5, v2, (end & 255) - v2]; this.overwriteProps[this.overwriteProps.length] = propName; } }; v2.killProps = function (lookup) { var v3 = this._colors.length; while (v3--) { if (lookup[this._colors[v3][1]] != undefined) { this._colors.splice(v3, 1); } } super.killProps(lookup); }; v2.__set__changeFactor = function (n) { var v4 = this._colors.length; var v2; while (v4--) { v2 = this._colors[v4]; v2[0][v2[1]] = v2[2] + n * v2[3] << 16 | v2[4] + n * v2[5] << 8 | v2[6] + n * v2[7]; } return this.__get__changeFactor(); }; v1.API = 1; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.HexColorsPlugin.prototype, null, 1); } #endinitclip } movieClip 742 __Packages.com.greensock.plugins.BevelFilterPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.BevelFilterPlugin) { var v1 = function () { super(); this.propName = 'bevelFilter'; this.overwriteProps = ['bevelFilter']; }; com.greensock.plugins.BevelFilterPlugin = v1; com.greensock.plugins.BevelFilterPlugin extends com.greensock.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this._target = target; this._type = flash.filters.BevelFilter; this.initFilter(value, new flash.filters.BevelFilter(0, 0, 16777215, 0.5, 0, 0.5, 2, 2, 0, value.quality || 2), com.greensock.plugins.BevelFilterPlugin._propNames); return true; }; v1.API = 1; v1._propNames = ['distance', 'angle', 'highlightColor', 'highlightAlpha', 'shadowColor', 'shadowAlpha', 'blurX', 'blurY', 'strength', 'quality']; ASSetPropFlags(com.greensock.plugins.BevelFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 743 __Packages.com.greensock.plugins.BezierPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.BezierPlugin) { var v1 = function () { super(); this.propName = 'bezier'; this.overwriteProps = []; this._future = {}; }; com.greensock.plugins.BezierPlugin = v1; com.greensock.plugins.BezierPlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (!(value instanceof Array)) { return false; } this.init(tween, [value][0], false); return true; }; v2.init = function (tween, beziers, through) { this._target = tween.target; var v7 = tween.vars; if (v7.orientToBezier == true) { this._orientData = [['_x', '_y', '_rotation', 0, 0.01]]; this._orient = true; } else { if (v7.orientToBezier instanceof Array) { this._orientData = v7.orientToBezier; this._orient = true; } } var v3 = {}; var v4; var v2; var v8; v4 = 0; while (v4 < beziers.length) { for (v2 in beziers[v4]) { if (v3[v2] == undefined) { v3[v2] = [tween.target[v2]]; } if (typeof beziers[v4][v2] == 'number') { v3[v2].push(beziers[v4][v2]); } else { v3[v2].push(tween.target[v2] + Number(beziers[v4][v2])); } } ++v4; } for (v2 in v3) { this.overwriteProps[this.overwriteProps.length] = v2; if (v7[v2] != undefined) { if (typeof v7[v2] == 'number') { v3[v2].push(v7[v2]); } else { v3[v2].push(tween.target[v2] + Number(v7[v2])); } v8 = {}; v8[v2] = true; tween.killVars(v8, false); delete v7[v2]; } } this._beziers = com.greensock.plugins.BezierPlugin.parseBeziers(v3, through); }; v1.parseBeziers = function (props, through) { var v2; var v1; var v3; var v4; var v6 = {}; if (through == true) { for (v4 in props) { v1 = props[v4]; v3 = []; v6[v4] = v3; if (v1.length > 2) { v3[v3.length] = [v1[0], v1[1] - (v1[2] - v1[0]) / 4, v1[1]]; v2 = 1; while (v2 < v1.length - 1) { v3[v3.length] = [v1[v2], v1[v2] + (v1[v2] - v3[v2 - 1][1]), v1[v2 + 1]]; ++v2; } } else { v3[v3.length] = [v1[0], (v1[0] + v1[1]) / 2, v1[1]]; } } return v6; } for (v4 in props) { v1 = props[v4]; v3 = []; v6[v4] = v3; if (v1.length > 3) { v3[v3.length] = [v1[0], v1[1], (v1[1] + v1[2]) / 2]; v2 = 2; while (v2 < v1.length - 2) { v3[v3.length] = [v3[v2 - 2][2], v1[v2], (v1[v2] + v1[v2 + 1]) / 2]; ++v2; } v3[v3.length] = [v3[v3.length - 1][2], v1[v1.length - 2], v1[v1.length - 1]]; } else { if (v1.length == 3) { v3[v3.length] = [v1[0], v1[1], v1[2]]; } else { if (v1.length == 2) { v3[v3.length] = [v1[0], (v1[0] + v1[1]) / 2, v1[1]]; } } } } return v6; }; v2.killProps = function (lookup) { for (var v4 in this._beziers) { if (lookup[v4] != undefined) { delete this._beziers[v4]; } } super.killProps(lookup); }; v2.__set__changeFactor = function (n) { var v3; var v5; var v4; var v6; var v7; var v15; var v16; if (n == 1) { for (v5 in this._beziers) { v3 = this._beziers[v5].length - 1; this._target[v5] = this._beziers[v5][v3][2]; } } else { for (v5 in this._beziers) { v7 = this._beziers[v5].length; if (n < 0) { v3 = 0; } else { if (n >= 1) { v3 = v7 - 1; } else { v3 = v7 * n >> 0; } } v6 = (n - v3 * (1 / v7)) * v7; v4 = this._beziers[v5][v3]; if (this.round) { this._target[v5] = Math.round(v4[0] + v6 * (2 * (1 - v6) * (v4[1] - v4[0]) + v6 * (v4[2] - v4[0]))); } else { this._target[v5] = v4[0] + v6 * (2 * (1 - v6) * (v4[1] - v4[0]) + v6 * (v4[2] - v4[0])); } } } if (this._orient == true) { v3 = this._orientData.length; var v9 = {}; var v11; var v10; var v2; var v12; while (v3-- > 0) { v2 = this._orientData[v3]; v9[v2[0]] = this._target[v2[0]]; v9[v2[1]] = this._target[v2[1]]; } var v13 = this._target; var v14 = this.round; this._target = this._future; this.round = false; this._orient = false; v3 = this._orientData.length; while (v3-- > 0) { v2 = this._orientData[v3]; this.__set__changeFactor(n + (v2[4] || 0.01)); v12 = v2[3] || 0; v11 = this._future[v2[0]] - v9[v2[0]]; v10 = this._future[v2[1]] - v9[v2[1]]; v13[v2[2]] = Math.atan2(v10, v11) * com.greensock.plugins.BezierPlugin._RAD2DEG + v12; } this._target = v13; this.round = v14; this._orient = true; } return this.__get__changeFactor(); }; v1.API = 1; v1._RAD2DEG = 57.29577951308232; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.BezierPlugin.prototype, null, 1); } #endinitclip } movieClip 744 __Packages.com.greensock.plugins.BezierThroughPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.BezierThroughPlugin) { var v1 = function () { super(); this.propName = 'bezierThrough'; }; com.greensock.plugins.BezierThroughPlugin = v1; com.greensock.plugins.BezierThroughPlugin extends com.greensock.plugins.BezierPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (!(value instanceof Array)) { return false; } this.init(tween, [value][0], true); return true; }; v1.API = 1; ASSetPropFlags(com.greensock.plugins.BezierThroughPlugin.prototype, null, 1); } #endinitclip } movieClip 745 __Packages.com.greensock.plugins.BlurFilterPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.BlurFilterPlugin) { var v1 = function () { super(); this.propName = 'blurFilter'; this.overwriteProps = ['blurFilter']; }; com.greensock.plugins.BlurFilterPlugin = v1; com.greensock.plugins.BlurFilterPlugin extends com.greensock.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this._target = target; this._type = flash.filters.BlurFilter; this.initFilter(value, new flash.filters.BlurFilter(0, 0, value.quality || 2), com.greensock.plugins.BlurFilterPlugin._propNames); return true; }; v1.API = 1; v1._propNames = ['blurX', 'blurY', 'quality']; ASSetPropFlags(com.greensock.plugins.BlurFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 746 __Packages.com.greensock.plugins.ColorMatrixFilterPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.ColorMatrixFilterPlugin) { var v1 = function () { super(); this.propName = 'colorMatrixFilter'; this.overwriteProps = ['colorMatrixFilter']; }; com.greensock.plugins.ColorMatrixFilterPlugin = v1; com.greensock.plugins.ColorMatrixFilterPlugin extends com.greensock.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this._target = target; this._type = flash.filters.ColorMatrixFilter; var v3 = value; this.initFilter({'remove': value.remove, 'index': value.index, 'addFilter': value.addFilter}, new flash.filters.ColorMatrixFilter(com.greensock.plugins.ColorMatrixFilterPlugin._idMatrix.slice()), com.greensock.plugins.ColorMatrixFilterPlugin._propNames); this._matrix = (flash.filters.ColorMatrixFilter(this._filter)).matrix; var v2 = []; if (v3.matrix != undefined && v3.matrix instanceof Array) { v2 = v3.matrix; this._matrixTween = new com.greensock.plugins.EndArrayPlugin(); this._matrixTween.init(this._matrix, v2); return true; } if (v3.relative == true) { v2 = this._matrix.slice(); } else { v2 = com.greensock.plugins.ColorMatrixFilterPlugin._idMatrix.slice(); } v2 = com.greensock.plugins.ColorMatrixFilterPlugin.setBrightness(v2, v3.brightness); v2 = com.greensock.plugins.ColorMatrixFilterPlugin.setContrast(v2, v3.contrast); v2 = com.greensock.plugins.ColorMatrixFilterPlugin.setHue(v2, v3.hue); v2 = com.greensock.plugins.ColorMatrixFilterPlugin.setSaturation(v2, v3.saturation); v2 = com.greensock.plugins.ColorMatrixFilterPlugin.setThreshold(v2, v3.threshold); if (!isNaN(v3.colorize)) { v2 = com.greensock.plugins.ColorMatrixFilterPlugin.colorize(v2, v3.colorize, v3.amount); } this._matrixTween = new com.greensock.plugins.EndArrayPlugin(); this._matrixTween.init(this._matrix, v2); return true; }; v2.__set__changeFactor = function (n) { this._matrixTween.__set__changeFactor(n); (flash.filters.ColorMatrixFilter(this._filter)).matrix = this._matrix; super.__set__changeFactor(n); return this.__get__changeFactor(); }; v1.colorize = function (m, color, amount) { if (isNaN(color)) { return m; var v3 = (color >> 16 & 255) / 255; var v5 = (color >> 8 & 255) / 255; var v2 = (color & 255) / 255; var v4 = 1 - amount; var v7 = [v4 + amount * v3 * com.greensock.plugins.ColorMatrixFilterPlugin._lumR, amount * v3 * com.greensock.plugins.ColorMatrixFilterPlugin._lumG, amount * v3 * com.greensock.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, amount * v5 * com.greensock.plugins.ColorMatrixFilterPlugin._lumR, v4 + amount * v5 * com.greensock.plugins.ColorMatrixFilterPlugin._lumG, amount * v5 * com.greensock.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, amount * v2 * com.greensock.plugins.ColorMatrixFilterPlugin._lumR, amount * v2 * com.greensock.plugins.ColorMatrixFilterPlugin._lumG, v4 + amount * v2 * com.greensock.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, 0, 0, 0, 1, 0]; return com.greensock.plugins.ColorMatrixFilterPlugin.applyMatrix(v7, m); } if (isNaN(amount)) { amount = 1; } var v3 = (color >> 16 & 255) / 255; var v5 = (color >> 8 & 255) / 255; var v2 = (color & 255) / 255; var v4 = 1 - amount; var v7 = [v4 + amount * v3 * com.greensock.plugins.ColorMatrixFilterPlugin._lumR, amount * v3 * com.greensock.plugins.ColorMatrixFilterPlugin._lumG, amount * v3 * com.greensock.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, amount * v5 * com.greensock.plugins.ColorMatrixFilterPlugin._lumR, v4 + amount * v5 * com.greensock.plugins.ColorMatrixFilterPlugin._lumG, amount * v5 * com.greensock.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, amount * v2 * com.greensock.plugins.ColorMatrixFilterPlugin._lumR, amount * v2 * com.greensock.plugins.ColorMatrixFilterPlugin._lumG, v4 + amount * v2 * com.greensock.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, 0, 0, 0, 1, 0]; return com.greensock.plugins.ColorMatrixFilterPlugin.applyMatrix(v7, m); }; v1.setThreshold = function (m, n) { if (isNaN(n)) { return m; } var v2 = [com.greensock.plugins.ColorMatrixFilterPlugin._lumR * 256, com.greensock.plugins.ColorMatrixFilterPlugin._lumG * 256, com.greensock.plugins.ColorMatrixFilterPlugin._lumB * 256, 0, -256 * n, com.greensock.plugins.ColorMatrixFilterPlugin._lumR * 256, com.greensock.plugins.ColorMatrixFilterPlugin._lumG * 256, com.greensock.plugins.ColorMatrixFilterPlugin._lumB * 256, 0, -256 * n, com.greensock.plugins.ColorMatrixFilterPlugin._lumR * 256, com.greensock.plugins.ColorMatrixFilterPlugin._lumG * 256, com.greensock.plugins.ColorMatrixFilterPlugin._lumB * 256, 0, -256 * n, 0, 0, 0, 1, 0]; return com.greensock.plugins.ColorMatrixFilterPlugin.applyMatrix(v2, m); }; v1.setHue = function (m, n) { if (isNaN(n)) { return m; } n *= 0.0174532925199433; var v1 = Math.cos(n); var v2 = Math.sin(n); var v4 = [com.greensock.plugins.ColorMatrixFilterPlugin._lumR + v1 * (1 - com.greensock.plugins.ColorMatrixFilterPlugin._lumR) + v2 * -com.greensock.plugins.ColorMatrixFilterPlugin._lumR, com.greensock.plugins.ColorMatrixFilterPlugin._lumG + v1 * -com.greensock.plugins.ColorMatrixFilterPlugin._lumG + v2 * -com.greensock.plugins.ColorMatrixFilterPlugin._lumG, com.greensock.plugins.ColorMatrixFilterPlugin._lumB + v1 * -com.greensock.plugins.ColorMatrixFilterPlugin._lumB + v2 * (1 - com.greensock.plugins.ColorMatrixFilterPlugin._lumB), 0, 0, com.greensock.plugins.ColorMatrixFilterPlugin._lumR + v1 * -com.greensock.plugins.ColorMatrixFilterPlugin._lumR + v2 * 0.143, com.greensock.plugins.ColorMatrixFilterPlugin._lumG + v1 * (1 - com.greensock.plugins.ColorMatrixFilterPlugin._lumG) + v2 * 0.14, com.greensock.plugins.ColorMatrixFilterPlugin._lumB + v1 * -com.greensock.plugins.ColorMatrixFilterPlugin._lumB + v2 * -0.283, 0, 0, com.greensock.plugins.ColorMatrixFilterPlugin._lumR + v1 * -com.greensock.plugins.ColorMatrixFilterPlugin._lumR + v2 * -(1 - com.greensock.plugins.ColorMatrixFilterPlugin._lumR), com.greensock.plugins.ColorMatrixFilterPlugin._lumG + v1 * -com.greensock.plugins.ColorMatrixFilterPlugin._lumG + v2 * com.greensock.plugins.ColorMatrixFilterPlugin._lumG, com.greensock.plugins.ColorMatrixFilterPlugin._lumB + v1 * (1 - com.greensock.plugins.ColorMatrixFilterPlugin._lumB) + v2 * com.greensock.plugins.ColorMatrixFilterPlugin._lumB, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; return com.greensock.plugins.ColorMatrixFilterPlugin.applyMatrix(v4, m); }; v1.setBrightness = function (m, n) { if (isNaN(n)) { return m; } n = n * 100 - 100; return com.greensock.plugins.ColorMatrixFilterPlugin.applyMatrix([1, 0, 0, 0, n, 0, 1, 0, 0, n, 0, 0, 1, 0, n, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], m); }; v1.setSaturation = function (m, n) { if (isNaN(n)) { return m; } var v4 = 1 - n; var v2 = v4 * com.greensock.plugins.ColorMatrixFilterPlugin._lumR; var v5 = v4 * com.greensock.plugins.ColorMatrixFilterPlugin._lumG; var v1 = v4 * com.greensock.plugins.ColorMatrixFilterPlugin._lumB; var v6 = [v2 + n, v5, v1, 0, 0, v2, v5 + n, v1, 0, 0, v2, v5, v1 + n, 0, 0, 0, 0, 0, 1, 0]; return com.greensock.plugins.ColorMatrixFilterPlugin.applyMatrix(v6, m); }; v1.setContrast = function (m, n) { if (isNaN(n)) { return m; } n += 0.01; var v2 = [n, 0, 0, 0, 128 * (1 - n), 0, n, 0, 0, 128 * (1 - n), 0, 0, n, 0, 128 * (1 - n), 0, 0, 0, 1, 0]; return com.greensock.plugins.ColorMatrixFilterPlugin.applyMatrix(v2, m); }; v1.applyMatrix = function (m, m2) { if (!(m instanceof Array) || !(m2 instanceof Array)) { return m2; } var v7 = []; var v2 = 0; var v5 = 0; var v6; var v1; v6 = 0; while (v6 < 4) { v1 = 0; while (v1 < 5) { if (v1 == 4) { v5 = m[v2 + 4]; } else { v5 = 0; } v7[v2 + v1] = m[v2] * m2[v1] + m[v2 + 1] * m2[v1 + 5] + m[v2 + 2] * m2[v1 + 10] + m[v2 + 3] * m2[v1 + 15] + v5; ++v1; } v2 += 5; ++v6; } return v7; }; v1.API = 1; v1._propNames = []; v1._idMatrix = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; v1._lumR = 0.212671; v1._lumG = 0.71516; v1._lumB = 0.072169; v2.addProperty('changeFactor', function () {}, v2.__set__changeFactor); ASSetPropFlags(com.greensock.plugins.ColorMatrixFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 747 __Packages.com.greensock.plugins.ColorTransformPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.ColorTransformPlugin) { var v1 = function () { super(); this.propName = 'colorTransform'; }; com.greensock.plugins.ColorTransformPlugin = v1; com.greensock.plugins.ColorTransformPlugin extends com.greensock.plugins.TintPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (typeof target != 'movieclip' && !(target instanceof TextField)) { return false; } var v7 = new Color(target); var v2 = v7.getTransform(); if (value.redMultiplier != undefined) { v2.ra = value.redMultiplier * 100; } if (value.greenMultiplier != undefined) { v2.ga = value.greenMultiplier * 100; } if (value.blueMultiplier != undefined) { v2.ba = value.blueMultiplier * 100; } if (value.alphaMultiplier != undefined) { v2.aa = value.alphaMultiplier * 100; } if (value.redOffset != undefined) { v2.rb = value.redOffset; } if (value.greenOffset != undefined) { v2.gb = value.greenOffset; } if (value.blueOffset != undefined) { v2.bb = value.blueOffset; } if (value.alphaOffset != undefined) { v2.ab = value.alphaOffset; } if (!isNaN(value.tint) || !isNaN(value.color)) { var v4 = !isNaN(value.tint) ? value.tint : value.color; if (v4 != null) { v2.rb = Number(v4) >> 16; v2.gb = Number(v4) >> 8 & 255; v2.bb = Number(v4) & 255; v2.ra = 0; v2.ga = 0; v2.ba = 0; } } if (!isNaN(value.tintAmount)) { var v5 = value.tintAmount / (1 - (v2.ra + v2.ga + v2.ba) / 300); v2.rb *= v5; v2.gb *= v5; v2.bb *= v5; v2.ba = (1 - value.tintAmount) * 100; v2.ga = v2.ba; v2.ra = v2.ba; } else { if (!isNaN(value.exposure)) { v2.bb = 255 * (value.exposure - 1); v2.gb = v2.bb; v2.rb = v2.bb; v2.ba = 100; v2.ga = 100; v2.ra = 100; } else { if (!isNaN(value.brightness)) { v2.bb = Math.max(0, (value.brightness - 1) * 255); v2.gb = v2.bb; v2.rb = v2.bb; v2.ba = (1 - Math.abs(value.brightness - 1)) * 100; v2.ga = v2.ba; v2.ra = v2.ba; } } } if (tween.vars._alpha != undefined && value.alphaMultiplier == undefined) { v2.aa = tween.vars._alpha; tween.killVars({'alpha': 1}); } this.init(target, v2); return true; }; v1.API = 1; ASSetPropFlags(com.greensock.plugins.ColorTransformPlugin.prototype, null, 1); } #endinitclip } movieClip 748 __Packages.com.greensock.plugins.DropShadowFilterPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.DropShadowFilterPlugin) { var v1 = function () { super(); this.propName = 'dropShadowFilter'; this.overwriteProps = ['dropShadowFilter']; }; com.greensock.plugins.DropShadowFilterPlugin = v1; com.greensock.plugins.DropShadowFilterPlugin extends com.greensock.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this._target = target; this._type = flash.filters.DropShadowFilter; this.initFilter(value, new flash.filters.DropShadowFilter(0, 45, 0, 0, 0, 0, 1, value.quality || 2, value.inner, value.knockout, value.hideObject), com.greensock.plugins.DropShadowFilterPlugin._propNames); return true; }; v1.API = 1; v1._propNames = ['distance', 'angle', 'color', 'alpha', 'blurX', 'blurY', 'strength', 'quality', 'inner', 'knockout', 'hideObject']; ASSetPropFlags(com.greensock.plugins.DropShadowFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 749 __Packages.com.greensock.plugins.FrameLabelPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.FrameLabelPlugin) { var v1 = function () { super(); this.propName = 'frameLabel'; }; com.greensock.plugins.FrameLabelPlugin = v1; com.greensock.plugins.FrameLabelPlugin extends com.greensock.plugins.FramePlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (typeof tween.target != 'movieclip') { return false; } this._target = MovieClip(target); this.frame = this._target._currentframe; var v2 = this._target.duplicateMovieClip('tempMC' + Math.round(Math.random() * 999999), this._target._parent.getNextHighestDepth()); v2.gotoAndStop(value); var v3 = v2._currentframe; v2.removeMovieClip(); if (this.frame != v3) { this.addTween(this, 'frame', this.frame, v3, 'frame'); } return true; }; v1.API = 1; ASSetPropFlags(com.greensock.plugins.FrameLabelPlugin.prototype, null, 1); } #endinitclip } movieClip 750 __Packages.com.greensock.plugins.GlowFilterPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.GlowFilterPlugin) { var v1 = function () { super(); this.propName = 'glowFilter'; this.overwriteProps = ['glowFilter']; }; com.greensock.plugins.GlowFilterPlugin = v1; com.greensock.plugins.GlowFilterPlugin extends com.greensock.plugins.FilterPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this._target = target; this._type = flash.filters.GlowFilter; this.initFilter(value, new flash.filters.GlowFilter(16777215, 0, 0, 0, value.strength || 1, value.quality || 2, value.inner, value.knockout), com.greensock.plugins.GlowFilterPlugin._propNames); return true; }; v1.API = 1; v1._propNames = ['color', 'alpha', 'blurX', 'blurY', 'strength', 'quality', 'inner', 'knockout']; ASSetPropFlags(com.greensock.plugins.GlowFilterPlugin.prototype, null, 1); } #endinitclip } movieClip 751 __Packages.com.greensock.plugins.RoundPropsPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.RoundPropsPlugin) { var v1 = function () { super(); this.propName = 'roundProps'; this.overwriteProps = ['roundProps']; this.round = true; this.priority = -1; this.onInitAllProps = this._initAllProps; }; com.greensock.plugins.RoundPropsPlugin = v1; com.greensock.plugins.RoundPropsPlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { this._tween = tween; var v2 = value; this.overwriteProps = this.overwriteProps.concat(v2); return true; }; v2._initAllProps = function () { var v3; var v4; var v6 = this._tween.vars.roundProps; var v2; var v5 = v6.length; while (--v5 > -1) { v3 = v6[v5]; v2 = this._tween.cachedPT1; while (v2) { if (v2.name == v3) { if (v2.isPlugin) { v2.target.round = true; } else { this.add(v2.target, v3, v2.start, v2.change); this._removePropTween(v2); this._tween.propTweenLookup[v3] = this._tween.propTweenLookup.roundProps; } } else { if (v2.isPlugin && v2.name == '_MULTIPLE_' && !v2.target.round) { v4 = ' ' + v2.target.overwriteProps.join(' ') + ' '; if (v4.indexOf(' ' + v3 + ' ') != -1) { v2.target.round = true; } } } v2 = v2.nextNode; } } }; v2._removePropTween = function (propTween) { if (propTween.nextNode) { propTween.nextNode.prevNode = propTween.prevNode; } if (propTween.prevNode) { propTween.prevNode.nextNode = propTween.nextNode; } else { if (this._tween.cachedPT1 == propTween) { this._tween.cachedPT1 = propTween.nextNode; } } if (propTween.isPlugin && propTween.target.onDisable) { propTween.target.onDisable(); } }; v2.add = function (object, propName, start, change) { this.addTween(object, propName, start, start + change, propName); this.overwriteProps[this.overwriteProps.length] = propName; }; v1.API = 1; ASSetPropFlags(com.greensock.plugins.RoundPropsPlugin.prototype, null, 1); } #endinitclip } movieClip 752 __Packages.com.greensock.plugins.ShortRotationPlugin { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.plugins) { _global.com.greensock.plugins = new Object(); } if (!_global.com.greensock.plugins.ShortRotationPlugin) { var v1 = function () { super(); this.propName = 'shortRotation'; this.overwriteProps = []; }; com.greensock.plugins.ShortRotationPlugin = v1; com.greensock.plugins.ShortRotationPlugin extends com.greensock.plugins.TweenPlugin; var v2 = v1.prototype; v2.onInitTween = function (target, value, tween) { if (typeof value == 'number') { return false; } for (var v4 in value) { this.initRotation(target, v4, target[v4], (typeof value[v4] == 'number') ? Number(value[v4]) : target[v4] + Number(value[v4])); } return true; }; v2.initRotation = function (target, propName, start, end) { var v2 = (end - start) % 360; if (v2 != v2 % 180) { v2 = v2 < 0 ? v2 + 360 : v2 - 360; } this.addTween(target, propName, start, start + v2, propName); this.overwriteProps[this.overwriteProps.length] = propName; }; v1.API = 1; ASSetPropFlags(com.greensock.plugins.ShortRotationPlugin.prototype, null, 1); } #endinitclip } movieClip 753 __Packages.com.greensock.OverwriteManager { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.OverwriteManager) { var v1 = function () {}; com.greensock.OverwriteManager = v1; var v2 = v1.prototype; v1.init = function (defaultMode) { if (com.greensock.TweenLite.version < 11.6) { trace('Warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com.'); } com.greensock.TweenLite.overwriteManager = com.greensock.OverwriteManager; if (defaultMode != undefined) { com.greensock.OverwriteManager.mode = defaultMode; com.greensock.OverwriteManager.enabled = true; return com.greensock.OverwriteManager.mode; } com.greensock.OverwriteManager.mode = 2; com.greensock.OverwriteManager.enabled = true; return com.greensock.OverwriteManager.mode; }; v1.manageOverwrites = function (tween, props, targetTweens, mode) { var v3; var v10; var v1; if (mode >= 4) { var v17 = targetTweens.length; v3 = 0; while (v3 < v17) { v1 = targetTweens[v3]; if (v1 != tween) { if (v1.setEnabled(false, false)) { v10 = true; } } else { if (mode == 5) { break; } } ++v3; } return v10; } var v5 = tween.cachedStartTime + 1.0e-010; var v9 = []; var v13 = []; var v15 = 0; var v12 = 0; v3 = targetTweens.length; while (--v3 > -1) { v1 = targetTweens[v3]; if (v1 == tween || v1.gc || !v1.initted && v5 - v1.cachedStartTime <= 2.0e-010) { } else { if (v1.timeline != tween.timeline) { if (!com.greensock.OverwriteManager.getGlobalPaused(v1)) { v13[v15++] = v1; } } else { if (v1.cachedStartTime <= v5 && v1.cachedStartTime + v1.__get__totalDuration() + 1.0e-010 > v5 && !v1.cachedPaused && !(tween.cachedDuration == 0 && v5 - v1.cachedStartTime <= 2.0e-010)) { v9[v12++] = v1; } } } } if (v15 != 0) { var v6 = tween.cachedTimeScale; var v7 = v5; var v4; var v11; var v2; v2 = tween.timeline; while (v2) { v6 *= v2.cachedTimeScale; v7 += v2.cachedStartTime; v2 = v2.timeline; } v5 = v6 * v7; v3 = v15; while (--v3 > -1) { v4 = v13[v3]; v6 = v4.cachedTimeScale; v7 = v4.cachedStartTime; v2 = v4.timeline; while (v2) { v6 *= v2.cachedTimeScale; v7 += v2.cachedStartTime; v2 = v2.timeline; } v11 = v6 * v7; if (v11 <= v5 && (v11 + v4.__get__totalDuration() * v6 + 1.0e-010 > v5 || v4.cachedDuration == 0)) { v9[v12++] = v4; } } } if (v12 == 0) { return v10; } v3 = v12; if (mode == 2) { while (--v3 > -1) { v1 = v9[v3]; if (v1.killVars(props)) { v10 = true; } if (v1.cachedPT1 == undefined && v1.initted) { v1.setEnabled(false, false); } } return v10; } while (--v3 > -1) { if (v9[v3].setEnabled(false, false)) { v10 = true; } } return v10; }; v1.getGlobalPaused = function (tween) { while (tween) { if (tween.cachedPaused) { return true; } tween = tween.timeline; } return false; }; v1.version = 6.1; v1.NONE = 0; v1.ALL_IMMEDIATE = 1; v1.AUTO = 2; v1.CONCURRENT = 3; v1.ALL_ONSTART = 4; v1.PREEXISTING = 5; ASSetPropFlags(com.greensock.OverwriteManager.prototype, null, 1); } #endinitclip } movieClip 754 __Packages.com.greensock.TweenMax { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.greensock) { _global.com.greensock = new Object(); } if (!_global.com.greensock.TweenMax) { var v1 = function (target, duration, vars) { super(target, duration, vars); if (com.greensock.TweenLite.version < 11.2) { trace('TweenMax warning: Please update your TweenLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com.'); } this._cyclesComplete = 0; this.yoyo = Boolean(this.vars.yoyo); this._repeat = this.vars.repeat || 0; this._repeatDelay = this.vars.repeatDelay || 0; this.cacheIsDirty = true; if (this.vars.timeScale != undefined && !(this.target instanceof com.greensock.core.TweenCore)) { this.cachedTimeScale = this.vars.timeScale; } }; com.greensock.TweenMax = v1; com.greensock.TweenMax extends com.greensock.TweenLite; var v2 = v1.prototype; v2.init = function () { if (this.vars.startAt) { this.vars.startAt.overwrite = 0; this.vars.startAt.immediateRender = true; var v3 = new com.greensock.TweenMax(this.target, 0, this.vars.startAt); } super.init(); }; v2.invalidate = function () { this.yoyo = Boolean(this.vars.yoyo); this._repeat = this.vars.repeat || 0; this._repeatDelay = this.vars.repeatDelay || 0; this.setDirtyCache(true); super.invalidate(); }; v2.updateTo = function (vars, resetDuration) { var v8 = this.ratio; if (resetDuration && this.timeline != undefined && this.cachedStartTime < this.timeline.cachedTime) { this.cachedStartTime = this.timeline.cachedTime; this.setDirtyCache(false); if (this.gc) { this.setEnabled(true, false); } else { this.timeline.insert(this, this.cachedStartTime - this._delay); } } for (var v6 in vars) { this.vars[v6] = vars[v6]; } if (this.initted) { this.initted = false; if (!resetDuration) { if (this._notifyPluginsOfEnabled && this.cachedPT1) { com.greensock.TweenLite.onPluginEvent('onDisable', this); } this.init(); if (!resetDuration && this.cachedTime > 0 && this.cachedTime < this.cachedDuration) { var v5 = 1 / (1 - v8); var v2 = this.cachedPT1; var v3; while (v2) { v3 = v2.start + v2.change; v2.change *= v5; v2.start = v3 - v2.change; v2 = v2.nextNode; } } } } }; v2.setDestination = function (property, value, adjustStartValues) { var v2 = {}; v2[property] = value; this.updateTo(v2, Boolean(adjustStartValues != false)); }; v2.killProperties = function (names) { var v3 = {}; var v2 = names.length; while (--v2 > -1) { v3[names[v2]] = true; } this.killVars(v3); }; v2.renderTime = function (time, suppressEvents, force) { var v9 = this.cacheIsDirty ? this.__get__totalDuration() : this.cachedTotalDuration; var v7 = this.cachedTime; var v5; var v11; var v6; if (time >= v9) { this.cachedTotalTime = v9; this.cachedTime = this.cachedDuration; this.ratio = 1; v5 = true; if (this.cachedDuration == 0) { if ((time == 0 || this._rawPrevTime < 0) && this._rawPrevTime != time) { force = true; } this._rawPrevTime = time; } } else { if (time <= 0) { if (time < 0) { this.active = false; if (this.cachedDuration == 0) { if (this._rawPrevTime >= 0) { force = true; v5 = true; } this._rawPrevTime = time; } } else { if (time == 0 && !this.initted) { force = true; } } this.ratio = 0; this.cachedTime = 0; this.cachedTotalTime = 0; if (this.cachedReversed && v7 != 0) { v5 = true; } } else { this.cachedTime = time; this.cachedTotalTime = this.cachedTime; v6 = true; } } if (this._repeat != 0) { var v4 = this.cachedDuration + this._repeatDelay; if (v5) { if (this.yoyo && this._repeat % 2) { this.ratio = 0; this.cachedTime = 0; } } else { if (time > 0) { var v12 = this._cyclesComplete; this._cyclesComplete = this.cachedTotalTime / v4 >> 0; if (this._cyclesComplete == this.cachedTotalTime / v4) { --this._cyclesComplete; } if (v12 != this._cyclesComplete) { v11 = true; } this.cachedTime = (this.cachedTotalTime / v4 - this._cyclesComplete) * v4; if (this.yoyo && this._cyclesComplete % 2) { this.cachedTime = this.cachedDuration - this.cachedTime; } else { if (this.cachedTime >= this.cachedDuration) { this.cachedTime = this.cachedDuration; this.ratio = 1; v6 = false; } } if (this.cachedTime <= 0) { this.ratio = 0; this.cachedTime = 0; v6 = false; } } else { this._cyclesComplete = 0; } } } if (v7 == this.cachedTime && !force) { return undefined; } else { if (!this.initted) { this.init(); } } if (!this.active && !this.cachedPaused) { this.active = true; } if (v6) { this.ratio = this._ease(this.cachedTime, 0, 1, this.cachedDuration); } if (v7 == 0 && this.vars.onStart && (this.cachedTotalTime != 0 || this.cachedDuration == 0) && !suppressEvents) { this.vars.onStart.apply(this.vars.onStartScope, this.vars.onStartParams); } var v2 = this.cachedPT1; while (v2) { v2.target[v2.property] = v2.start + this.ratio * v2.change; v2 = v2.nextNode; } if (this._hasUpdate && !suppressEvents) { this.vars.onUpdate.apply(this.vars.onUpdateScope, this.vars.onUpdateParams); } if (v5 && !this.gc) { if (this._hasPlugins && this.cachedPT1) { com.greensock.TweenLite.onPluginEvent('onComplete', this); } this.complete(true, suppressEvents); } else { if (v11 && !suppressEvents && !this.gc) { if (this.vars.onRepeat) { this.vars.onRepeat.apply(this.vars.onRepeatScope, this.vars.onRepeatParams); } } } }; v1.to = function (target, duration, vars) { return new com.greensock.TweenMax(target, duration, vars); }; v1.from = function (target, duration, vars) { vars.runBackwards = true; if (vars.immediateRender != false) { vars.immediateRender = true; } return new com.greensock.TweenMax(target, duration, vars); }; v1.fromTo = function (target, duration, fromVars, toVars) { toVars.startAt = fromVars; if (fromVars.immediateRender) { toVars.immediateRender = true; } return new com.greensock.TweenMax(target, duration, toVars); }; v1.allTo = function (targets, duration, vars, stagger, onCompleteAll, onCompleteAllParams, onCompleteAllScope) { var v2; var v3; var v1; if (stagger == undefined) { stagger = 0; } var v7 = targets.length; var v6 = []; var v5 = vars.delay || 0; var onCompleteProxy = vars.onComplete; var onCompleteParamsProxy = vars.onCompleteParams; var onCompleteScopeProxy = vars.onCompleteScope; var v9 = v7 - 1; v2 = 0; while (v2 < v7) { v3 = {}; for (v1 in vars) { v3[v1] = vars[v1]; } v3.delay = v5; if (v2 == v9 && onCompleteAll != undefined) { v3.onComplete = function () { if (onCompleteProxy != undefined) { onCompleteProxy.apply(onCompleteScopeProxy, onCompleteParamsProxy); } onCompleteAll.apply(onCompleteAllScope, onCompleteAllParams); }; } v6[v2] = new com.greensock.TweenMax(targets[v2], duration, v3); v5 += stagger; ++v2; } return v6; }; v1.allFrom = function (targets, duration, vars, stagger, onCompleteAll, onCompleteAllParams, onCompleteAllScope) { vars.runBackwards = true; if (vars.immediateRender != false) { vars.immediateRender = true; } return com.greensock.TweenMax.allTo(targets, duration, vars, stagger, onCompleteAll, onCompleteAllParams, onCompleteAllScope); }; v1.allFromTo = function (targets, duration, fromVars, toVars, stagger, onCompleteAll, onCompleteAllParams, onCompleteAllScope) { toVars.startAt = fromVars; if (fromVars.immediateRender) { toVars.immediateRender = true; } return com.greensock.TweenMax.allTo(targets, duration, toVars, stagger, onCompleteAll, onCompleteAllParams, onCompleteAllScope); }; v1.delayedCall = function (delay, onComplete, onCompleteParams, onCompleteScope, useFrames) { return new com.greensock.TweenMax(onComplete, 0, {'delay': delay, 'onComplete': onComplete, 'onCompleteParams': onCompleteParams, 'onCompleteScope': onCompleteScope, 'immediateRender': false, 'useFrames': useFrames, 'overwrite': 0}); }; v1.getTweensOf = function (target) { var v2 = com.greensock.TweenLite.masterList[target].tweens; var v3 = []; if (v2) { var v1 = v2.length; while (--v1 > -1) { if (!v2[v1].gc) { v3[v3.length] = v2[v1]; } } } return v3; }; v1.isTweening = function (target) { var v3 = com.greensock.TweenMax.getTweensOf(target); var v2 = v3.length; var v1; while (--v2 > -1) { v1 = v3[v2]; if (v1.active || v1.cachedStartTime == v1.timeline.cachedTime && v1.timeline.active) { return true; } } return false; }; v1.getAllTweens = function () { var v5 = com.greensock.TweenLite.masterList; var v4 = 0; var v3 = []; var v2; var v1; for (var v6 in v5) { v2 = v5[v6].tweens; v1 = v2.length; while (--v1 > -1) { if (!v2[v1].gc) { v3[v4++] = v2[v1]; } } } return v3; }; v1.killAll = function (complete, tweens, delayedCalls) { if (tweens == undefined) { tweens = true; } if (delayedCalls == undefined) { delayedCalls = true; } var v2 = com.greensock.TweenMax.getAllTweens(); var v3; var v1 = v2.length; while (--v1 > -1) { v3 = v2[v1].target == v2[v1].vars.onComplete; if (v3 == delayedCalls || v3 != tweens) { if (complete == true) { v2[v1].complete(false, false); } else { v2[v1].setEnabled(false, false); } } } }; v1.killChildTweensOf = function (parent, complete) { var v3 = com.greensock.TweenMax.getAllTweens(); var v4; var v1; var v2 = v3.length; while (--v2 > -1) { v4 = v3[v2].target; if (v4 instanceof MovieClip) { v1 = v4._parent; while (v1) { if (v1 == parent) { if (complete == true) { v3[v2].complete(false, false); } else { v3[v2].setEnabled(false, false); } } v1 = v1._parent; } } } }; v1.pauseAll = function (tweens, delayedCalls) { com.greensock.TweenMax.changePause(true, tweens, delayedCalls); }; v1.resumeAll = function (tweens, delayedCalls) { com.greensock.TweenMax.changePause(false, tweens, delayedCalls); }; v1.changePause = function (pause, tweens, delayedCalls) { if (tweens == undefined) { tweens = true; } if (delayedCalls == undefined) { delayedCalls = true; } var v2 = com.greensock.TweenMax.getAllTweens(); var v3; var v1 = v2.length; while (--v1 > -1) { v3 = Boolean(v2[v1].target == v2[v1].vars.onComplete); if (v3 == delayedCalls || v3 != tweens) { v2[v1].paused = pause; } } }; v2.__get__currentProgress = function () { return this.cachedTime / this.__get__duration(); }; v2.__set__currentProgress = function (n) { if (this._cyclesComplete == 0) { this.setTotalTime(this.__get__duration() * n, false); } else { this.setTotalTime(this.__get__duration() * n + this._cyclesComplete * this.cachedDuration, false); } return this.__get__currentProgress(); }; v2.__get__totalProgress = function () { return this.cachedTotalTime / this.__get__totalDuration(); }; v2.__set__totalProgress = function (n) { this.setTotalTime(this.__get__totalDuration() * n, false); return this.__get__totalProgress(); }; v2.__get__currentTime = function () { return this.cachedTime; }; v2.__set__currentTime = function (n) { if (this._cyclesComplete == 0) { } else { if (this.yoyo && this._cyclesComplete % 2 == 1) { n = this.__get__duration() - n + this._cyclesComplete * (this.cachedDuration + this._repeatDelay); } else { n += this._cyclesComplete * (this.__get__duration() + this._repeatDelay); } } this.setTotalTime(n, false); return this.__get__currentTime(); }; v2.__get__totalDuration = function () { if (this.cacheIsDirty) { this.cachedTotalDuration = (this._repeat == -1) ? 999999999999.0 : this.cachedDuration * (this._repeat + 1) + this._repeatDelay * this._repeat; this.cacheIsDirty = false; } return this.cachedTotalDuration; }; v2.__set__totalDuration = function (n) { if (this._repeat == -1) { return undefined; } this.__set__duration((n - this._repeat * this._repeatDelay) / (this._repeat + 1)); return this.__get__totalDuration(); }; v2.__get__timeScale = function () { return this.cachedTimeScale; }; v2.__set__timeScale = function (n) { if (n == 0) { n = 0.0001; } var v3 = (this.cachedPauseTime || this.cachedPauseTime == 0) ? this.cachedPauseTime : this.timeline.cachedTotalTime; this.cachedStartTime = v3 - (v3 - this.cachedStartTime) * this.cachedTimeScale / n; this.cachedTimeScale = n; this.setDirtyCache(false); return this.__get__timeScale(); }; v2.__get__repeat = function () { return this._repeat; }; v2.__set__repeat = function (n) { this._repeat = n; this.setDirtyCache(true); return this.__get__repeat(); }; v2.__get__repeatDelay = function () { return this._repeatDelay; }; v2.__set__repeatDelay = function (n) { this._repeatDelay = n; this.setDirtyCache(true); return this.__get__repeatDelay(); }; v1.__get__globalTimeScale = function () { return (com.greensock.TweenLite.rootTimeline == undefined) ? 1 : com.greensock.TweenLite.rootTimeline.cachedTimeScale; }; v1.__set__globalTimeScale = function (n) { if (n == 0) { n = 0.0001; } if (com.greensock.TweenLite.rootTimeline == undefined) { com.greensock.TweenLite.to({}, 0, {}); } var v1 = com.greensock.TweenLite.rootTimeline; var v2 = getTimer() * 0.001; v1.cachedStartTime = v2 - (v2 - v1.cachedStartTime) * v1.cachedTimeScale / n; v1 = com.greensock.TweenLite.rootFramesTimeline; v2 = com.greensock.TweenLite.rootFrame; v1.cachedStartTime = v2 - (v2 - v1.cachedStartTime) * v1.cachedTimeScale / n; com.greensock.TweenLite.rootTimeline.cachedTimeScale = n; com.greensock.TweenLite.rootFramesTimeline.cachedTimeScale = com.greensock.TweenLite.rootTimeline.cachedTimeScale; return com.greensock.TweenMax.__get__globalTimeScale(); }; v1.version = 11.65; v1._activatedPlugins = com.greensock.plugins.TweenPlugin.activate([com.greensock.plugins.AutoAlphaPlugin, com.greensock.plugins.EndArrayPlugin, com.greensock.plugins.FramePlugin, com.greensock.plugins.RemoveTintPlugin, com.greensock.plugins.TintPlugin, com.greensock.plugins.VisiblePlugin, com.greensock.plugins.VolumePlugin, com.greensock.plugins.BevelFilterPlugin, com.greensock.plugins.BezierPlugin, com.greensock.plugins.BezierThroughPlugin, com.greensock.plugins.BlurFilterPlugin, com.greensock.plugins.ColorMatrixFilterPlugin, com.greensock.plugins.ColorTransformPlugin, com.greensock.plugins.DropShadowFilterPlugin, com.greensock.plugins.FrameLabelPlugin, com.greensock.plugins.GlowFilterPlugin, com.greensock.plugins.HexColorsPlugin, com.greensock.plugins.RoundPropsPlugin, com.greensock.plugins.ShortRotationPlugin, {}]); v1._overwriteMode = com.greensock.OverwriteManager.enabled ? com.greensock.OverwriteManager.mode : com.greensock.OverwriteManager.init(2); v1.killTweensOf = com.greensock.TweenLite.killTweensOf; v1.killDelayedCallsTo = com.greensock.TweenLite.killTweensOf; v2.addProperty('currentProgress', v2.__get__currentProgress, v2.__set__currentProgress); v2.addProperty('currentTime', v2.__get__currentTime, v2.__set__currentTime); v1.addProperty('globalTimeScale', v1.__get__globalTimeScale, v1.__set__globalTimeScale); v2.addProperty('repeat', v2.__get__repeat, v2.__set__repeat); v2.addProperty('repeatDelay', v2.__get__repeatDelay, v2.__set__repeatDelay); v2.addProperty('timeScale', v2.__get__timeScale, v2.__set__timeScale); v2.addProperty('totalDuration', v2.__get__totalDuration, v2.__set__totalDuration); v2.addProperty('totalProgress', v2.__get__totalProgress, v2.__set__totalProgress); ASSetPropFlags(com.greensock.TweenMax.prototype, null, 1); } #endinitclip } movieClip 68 __Packages.mx.core.UIObject { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.UIObject) { var v1 = function () { super(); this.constructObject(); }; mx.core.UIObject = v1; var v2 = new MovieClip(); mx.core.UIObject.prototype = v2; v2.__get__width = function () { return this._width; }; v2.__get__height = function () { return this._height; }; v2.__get__left = function () { return this._x; }; v2.__get__x = function () { return this._x; }; v2.__get__top = function () { return this._y; }; v2.__get__y = function () { return this._y; }; v2.__get__right = function () { return this._parent.width - (this._x + this.__get__width()); }; v2.__get__bottom = function () { return this._parent.height - (this._y + this.__get__height()); }; v2.getMinHeight = function (Void) { return this._minHeight; }; v2.setMinHeight = function (h) { this._minHeight = h; }; v2.__get__minHeight = function () { return this.getMinHeight(); }; v2.__set__minHeight = function (h) { this.setMinHeight(h); return this.__get__minHeight(); }; v2.getMinWidth = function (Void) { return this._minWidth; }; v2.setMinWidth = function (w) { this._minWidth = w; }; v2.__get__minWidth = function () { return this.getMinWidth(); }; v2.__set__minWidth = function (w) { this.setMinWidth(w); return this.__get__minWidth(); }; v2.setVisible = function (x, noEvent) { if (x != this._visible) { this._visible = x; if (noEvent != true) { this.dispatchEvent({'type': x ? 'reveal' : 'hide'}); } } }; v2.__get__visible = function () { return this._visible; }; v2.__set__visible = function (x) { this.setVisible(x, false); return this.__get__visible(); }; v2.__get__scaleX = function () { return this._xscale; }; v2.__set__scaleX = function (x) { this._xscale = x; return this.__get__scaleX(); }; v2.__get__scaleY = function () { return this._yscale; }; v2.__set__scaleY = function (y) { this._yscale = y; return this.__get__scaleY(); }; v2.doLater = function (obj, fn) { if (this.methodTable == undefined) { this.methodTable = new Array(); } this.methodTable.push({'obj': obj, 'fn': fn}); this.onEnterFrame = this.doLaterDispatcher; }; v2.doLaterDispatcher = function (Void) { delete this.onEnterFrame; if (this.invalidateFlag) { this.redraw(); } var v3 = this.methodTable; this.methodTable = new Array(); if (v3.length > 0) { var v2; v2 = v3.shift(); while (v2 != undefined) { v2.obj[v2.fn](); } } }; v2.cancelAllDoLaters = function (Void) { delete this.onEnterFrame; this.methodTable = new Array(); }; v2.invalidate = function (Void) { this.invalidateFlag = true; this.onEnterFrame = this.doLaterDispatcher; }; v2.invalidateStyle = function (Void) { this.invalidate(); }; v2.redraw = function (bAlways) { if (this.invalidateFlag || bAlways) { this.invalidateFlag = false; var v2; for (v2 in this.tfList) { this.tfList[v2].draw(); } this.draw(); this.dispatchEvent({'type': 'draw'}); } }; v2.draw = function (Void) {}; v2.move = function (x, y, noEvent) { var v3 = this._x; var v2 = this._y; this._x = x; this._y = y; if (noEvent != true) { this.dispatchEvent({'type': 'move', 'oldX': v3, 'oldY': v2}); } }; v2.setSize = function (w, h, noEvent) { var v2 = this.__width; var v3 = this.__height; this.__width = w; this.__height = h; this.size(); if (noEvent != true) { this.dispatchEvent({'type': 'resize', 'oldWidth': v2, 'oldHeight': v3}); } }; v2.size = function (Void) { this._width = this.__width; this._height = this.__height; }; v2.drawRect = function (x1, y1, x2, y2) { this.moveTo(x1, y1); this.lineTo(x2, y1); this.lineTo(x2, y2); this.lineTo(x1, y2); this.lineTo(x1, y1); }; v2.createLabel = function (name, depth, text) { this.createTextField(name, depth, 0, 0, 0, 0); var v2 = this[name]; v2._color = mx.core.UIObject.textColorList; v2._visible = false; v2.__text = text; if (this.tfList == undefined) { this.tfList = new Object(); } this.tfList[name] = v2; v2.invalidateStyle(); this.invalidate(); v2.styleName = this; return v2; }; v2.createObject = function (linkageName, id, depth, initobj) { return this.attachMovie(linkageName, id, depth, initobj); }; v2.createClassObject = function (className, id, depth, initobj) { var v3 = className.symbolName == undefined; if (v3) { Object.registerClass(className.symbolOwner.symbolName, className); } var v4 = this.createObject(className.symbolOwner.symbolName, id, depth, initobj); if (v3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return v4; }; v2.createEmptyObject = function (id, depth) { return this.createClassObject(mx.core.UIObject, id, depth); }; v2.destroyObject = function (id) { var v2 = this[id]; if (v2.getDepth() < 0) { var v4 = this.buildDepthTable(); var v5 = this.findNextAvailableDepth(0, v4, 'up'); var v3 = v5; v2.swapDepths(v3); } v2.removeMovieClip(); delete this[id]; }; v2.getSkinIDName = function (tag) { return this.idNames[tag]; }; v2.setSkin = function (tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return this.createObject(linkageName, this.getSkinIDName(tag), tag, initObj); }; v2.createSkin = function (tag) { var v2 = this.getSkinIDName(tag); this.createEmptyObject(v2, tag); return this[v2]; }; v2.createChildren = function (Void) {}; v2._createChildren = function (Void) { this.createChildren(); this.childrenCreated = true; }; v2.constructObject = function (Void) { if (this._name == undefined) { return undefined; } this.init(); this._createChildren(); this.createAccessibilityImplementation(); this._endInit(); if (this.validateNow) { this.redraw(true); } else { this.invalidate(); } }; v2.initFromClipParameters = function (Void) { var v4 = false; var v2; for (v2 in this.clipParameters) { if (this.hasOwnProperty(v2)) { v4 = true; this['def_' + v2] = this[v2]; delete this[v2]; } } if (v4) { for (v2 in this.clipParameters) { var v3 = this['def_' + v2]; if (v3 != undefined) { this[v2] = v3; } } } }; v2.init = function (Void) { this.__width = this._width; this.__height = this._height; if (this.initProperties == undefined) { this.initFromClipParameters(); } else { this.initProperties(); } if (_global.cascadingStyles == true) { this.stylecache = new Object(); } }; v2.getClassStyleDeclaration = function (Void) { var v4 = this; var v3 = this.className; while (v3 != undefined) { if (this.ignoreClassStyleDeclaration[v3] == undefined) { if (_global.styles[v3] != undefined) { return _global.styles[v3]; } } v4 = v4.__proto__; v3 = v4.className; } }; v2.setColor = function (color) {}; v2.__getTextFormat = function (tf, bAll) { var v8 = this.stylecache.tf; if (v8 != undefined) { var v3; for (v3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) { if (tf[v3] == undefined) { tf[v3] = v8[v3]; } } } return false; } var v6 = false; for (v3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) { if (tf[v3] == undefined) { var v5 = this._tf[v3]; if (v5 != undefined) { tf[v3] = v5; } else { if (v3 == 'font' && this.fontFamily != undefined) { tf[v3] = this.fontFamily; } else { if (v3 == 'size' && this.fontSize != undefined) { tf[v3] = this.fontSize; } else { if (v3 == 'color' && this.color != undefined) { tf[v3] = this.color; } else { if (v3 == 'leftMargin' && this.marginLeft != undefined) { tf[v3] = this.marginLeft; } else { if (v3 == 'rightMargin' && this.marginRight != undefined) { tf[v3] = this.marginRight; } else { if (v3 == 'italic' && this.fontStyle != undefined) { tf[v3] = this.fontStyle == v3; } else { if (v3 == 'bold' && this.fontWeight != undefined) { tf[v3] = this.fontWeight == v3; } else { if (v3 == 'align' && this.textAlign != undefined) { tf[v3] = this.textAlign; } else { if (v3 == 'indent' && this.textIndent != undefined) { tf[v3] = this.textIndent; } else { if (v3 == 'underline' && this.textDecoration != undefined) { tf[v3] = this.textDecoration == v3; } else { if (v3 == 'embedFonts' && this.embedFonts != undefined) { tf[v3] = this.embedFonts; } else { v6 = true; } } } } } } } } } } } } } } } if (v6) { var v9 = this.styleName; if (v9 != undefined) { if (typeof v9 != 'string') { v6 = v9.__getTextFormat(tf, true, this); } else { if (_global.styles[v9] != undefined) { v6 = _global.styles[v9].__getTextFormat(tf, true, this); } } } } if (v6) { var v10 = this.getClassStyleDeclaration(); if (v10 != undefined) { v6 = v10.__getTextFormat(tf, true, this); } } if (v6) { if (_global.cascadingStyles) { if (this._parent != undefined) { v6 = this._parent.__getTextFormat(tf, false); } } } if (v6) { v6 = _global.style.__getTextFormat(tf, true, this); } return v6; }; v2._getTextFormat = function (Void) { var v2 = this.stylecache.tf; if (v2 != undefined) { return v2; } v2 = new TextFormat(); this.__getTextFormat(v2, true); this.stylecache.tf = v2; if (this.enabled == false) { var v3 = this.getStyle('disabledColor'); v2.color = v3; } return v2; }; v2.getStyleName = function (Void) { var v2 = this.styleName; if (v2 != undefined) { if (typeof v2 != 'string') { return v2.getStyleName(); } else { return v2; } } if (this._parent != undefined) { return this._parent.getStyleName(); } else { return undefined; } }; v2.getStyle = function (styleProp) { var v3; ++_global.getStyleCounter; if (this[styleProp] != undefined) { return this[styleProp]; } var v6 = this.styleName; if (v6 != undefined) { if (typeof v6 != 'string') { v3 = v6.getStyle(styleProp); } else { var v7 = _global.styles[v6]; v3 = v7.getStyle(styleProp); } } if (v3 != undefined) { return v3; } v7 = this.getClassStyleDeclaration(); if (v7 != undefined) { v3 = v7[styleProp]; } if (v3 != undefined) { return v3; } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || mx.styles.StyleManager.isColorStyle(styleProp)) { var v5 = this.stylecache; if (v5 != undefined) { if (v5[styleProp] != undefined) { return v5[styleProp]; } } if (this._parent != undefined) { v3 = this._parent.getStyle(styleProp); } else { v3 = _global.style[styleProp]; } if (v5 != undefined) { v5[styleProp] = v3; } return v3; } } if (v3 == undefined) { v3 = _global.style[styleProp]; } return v3; }; v1.mergeClipParameters = function (o, p) { for (var v3 in p) { o[v3] = p[v3]; } return true; }; v1.symbolName = 'UIObject'; v1.symbolOwner = mx.core.UIObject; v1.version = '2.0.2.127'; v1.textColorList = {'color': 1, 'disabledColor': 1}; v2.invalidateFlag = false; v2.lineWidth = 1; v2.lineColor = 0; v2.tabEnabled = false; v2.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1}; v2.addProperty('bottom', v2.__get__bottom, function () {}); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('left', v2.__get__left, function () {}); v2.addProperty('minHeight', v2.__get__minHeight, v2.__set__minHeight); v2.addProperty('minWidth', v2.__get__minWidth, v2.__set__minWidth); v2.addProperty('right', v2.__get__right, function () {}); v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX); v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY); v2.addProperty('top', v2.__get__top, function () {}); v2.addProperty('visible', v2.__get__visible, v2.__set__visible); v2.addProperty('width', v2.__get__width, function () {}); v2.addProperty('x', v2.__get__x, function () {}); v2.addProperty('y', v2.__get__y, function () {}); ASSetPropFlags(mx.core.UIObject.prototype, null, 1); } #endinitclip } movieClip 69 __Packages.mx.core.UIComponent { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.UIComponent) { var v1 = function () { super(); }; mx.core.UIComponent = v1; var v2 = new mx.core.UIObject(); mx.core.UIComponent.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.setVisible = function (x, noEvent) { super.setVisible(x, noEvent); }; v2.enabledChanged = function (id, oldValue, newValue) { this.setEnabled(newValue); this.invalidate(); delete this.stylecache.tf; return newValue; }; v2.setEnabled = function (enabled) { this.invalidate(); }; v2.getFocus = function () { var selFocus = Selection.getFocus(); return (selFocus === null) ? null : eval(selFocus); }; v2.setFocus = function () { Selection.setFocus(this); }; v2.getFocusManager = function () { var v2 = this; while (v2 != undefined) { if (v2.focusManager != undefined) { return v2.focusManager; } v2 = v2._parent; } return undefined; }; v2.onKillFocus = function (newFocus) { this.removeEventListener('keyDown', this); this.removeEventListener('keyUp', this); this.dispatchEvent({'type': 'focusOut'}); this.drawFocus(false); }; v2.onSetFocus = function (oldFocus) { this.addEventListener('keyDown', this); this.addEventListener('keyUp', this); this.dispatchEvent({'type': 'focusIn'}); if ((this.getFocusManager()).bDrawFocus != false) { this.drawFocus(true); } }; v2.findFocusInChildren = function (o) { if (o.focusTextField != undefined) { return o.focusTextField; } if (o.tabEnabled == true) { return o; } return undefined; }; v2.findFocusFromObject = function (o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return undefined; } if (o._parent.tabEnabled == true) { o = o._parent; return o; } if (o._parent.tabChildren) { o = this.findFocusInChildren(o._parent); return o; } o = this.findFocusFromObject(o._parent); } return o; }; v2.pressFocus = function () { var v3 = this.findFocusFromObject(this); var v2 = this.getFocus(); if (v3 != v2) { v2.drawFocus(false); if ((this.getFocusManager()).bDrawFocus != false) { v3.drawFocus(true); } } }; v2.releaseFocus = function () { var v2 = this.findFocusFromObject(this); if (v2 != this.getFocus()) { v2.setFocus(); } }; v2.isParent = function (o) { while (o != undefined) { if (o == this) { return true; } o = o._parent; } return false; }; v2.size = function () {}; v2.init = function () { super.init(); this._xscale = 100; this._yscale = 100; this._focusrect = _global.useFocusRect == false; this.watch('enabled', this.enabledChanged); if (this.enabled == false) { this.setEnabled(false); } }; v2.dispatchValueChangedEvent = function (value) { this.dispatchEvent({'type': 'valueChanged', 'value': value}); }; v1.symbolName = 'UIComponent'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.127'; v1.kStretch = 5000; v2.focusEnabled = true; v2.tabEnabled = true; v2.origBorderStyles = {'themeColor': 16711680}; v2.clipParameters = {}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.core.UIComponent.prototype, null, 1); } #endinitclip } movieClip 70 __Packages.flextnet.components.FrameRate { #initclip if (!_global.flextnet) { _global.flextnet = new Object(); } if (!_global.flextnet.components) { _global.flextnet.components = new Object(); } if (!_global.flextnet.components.FrameRate) { var v1 = function () { super(); }; flextnet.components.FrameRate = v1; flextnet.components.FrameRate extends mx.core.UIComponent; var v2 = v1.prototype; v2.init = function () { super.init(); this.boundingBox_mc._visible = false; this.boundingBox_mc._width = 0; this.boundingBox_mc._height = 0; }; v2.createChildren = function () { this.display = this.createLabel('display_txt', 0, '0'); this.display.autoSize = 'left'; this.display.selectable = false; this.container_mc = this.createEmptyMovieClip('cnter', 2); this.container_mc.cmp = this; this.container_mc.onEnterFrame = function () { this.cmp.updateScene(); }; this.avg_display = this.createLabel('avg_display_txt', 1, ''); this.avg_display.autoSize = 'left'; this.avg_display.selectable = false; this.size(); }; v2.updateScene = function () { var v6 = getTimer(); var v4 = v6 - this.lastTime; this.lastTime = v6; this.avg_display._visible = this.__showAverage; if (v4 != 0) { var v7 = 1000 / v4; var v2 = Math.pow(10, this.__decimalPlaces); var v3 = Math.round(v7 * v2) / v2; this.display.text = v3; this.totalElapsed += v4; ++this.frameCount; if (this.__showAverage) { var v5 = this.totalElapsed / this.frameCount; v5 = 1000 / v5; v3 = Math.round(v5 * v2) / v2; this.avg_display.text = v3; this.avg_display._y = this.display._y + this.display._height; } } }; v2.draw = function () { super.draw(); }; v2.size = function () { super.size(); this.invalidate(); }; v2.reset = function () { this.totalElapsed = 0; this.frameCount = 0; }; v2.__set__showAverage = function (val) { this.__showAverage = val; this.avg_display._visible = val; return this.__get__showAverage(); }; v2.__get__showAverage = function () { return this.__showAverage; }; v2.__set__decimalPlaces = function (val) { this.__decimalPlaces = Math.floor(Math.max(val, 0)); this.__decimalPlaces = Math.min(this.__decimalPlaces, 4); return this.__get__decimalPlaces(); }; v2.__get__decimalPlaces = function () { return this.__decimalPlaces; }; v2.__set__font_Size = function (val) { if (val >= 8 && val <= 96) { this.setStyle('fontSize', val); } return this.__get__font_Size(); }; v2.__get__font_Size = function () { return this.getStyle('fontSize'); }; v2.__set__font_Color = function (val) { this.setStyle('color', val); return this.__get__font_Color(); }; v2.__get__font_Color = function () { return this.getStyle('color'); }; v2.__set__font_Family = function (val) { this.setStyle('fontFamily', val); return this.__get__font_Family(); }; v2.__get__font_Family = function () { return this.getStyle('fontFamily'); }; v2.__set__font_Weight = function (val) { this.setStyle('fontWeight', val); return this.__get__font_Weight(); }; v2.__get__font_Weight = function () { return this.getStyle('fontWeight'); }; v2.__set__embed_Fonts = function (val) { this.setStyle('embedFonts', val); return this.__get__embed_Fonts(); }; v2.__get__embed_Fonts = function () { return this.getStyle('embedFonts'); }; v1.symbolName = 'FrameRate'; v1.symbolOwner = flextnet.components.FrameRate; v1.version = '1.3.0.0'; v2.className = 'FrameRate'; v2.lastTime = 0; v2.totalElapsed = 0; v2.frameCount = 0; v2.__showAverage = false; v2.__decimalPlaces = 2; v2.addProperty('decimalPlaces', v2.__get__decimalPlaces, v2.__set__decimalPlaces); v2.addProperty('embed_Fonts', v2.__get__embed_Fonts, v2.__set__embed_Fonts); v2.addProperty('font_Color', v2.__get__font_Color, v2.__set__font_Color); v2.addProperty('font_Family', v2.__get__font_Family, v2.__set__font_Family); v2.addProperty('font_Size', v2.__get__font_Size, v2.__set__font_Size); v2.addProperty('font_Weight', v2.__get__font_Weight, v2.__set__font_Weight); v2.addProperty('showAverage', v2.__get__showAverage, v2.__set__showAverage); ASSetPropFlags(flextnet.components.FrameRate.prototype, null, 1); } #endinitclip } movieClip 87 __Packages.mx.skins.SkinElement { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.SkinElement) { var v1 = function () { super(); }; mx.skins.SkinElement = v1; var v2 = new MovieClip(); mx.skins.SkinElement.prototype = v2; v1.registerElement = function (name, className) { Object.registerClass(name, (className == undefined) ? mx.skins.SkinElement : className); _global.skinRegistry[name] = true; }; v2.__set__visible = function (visible) { this._visible = visible; }; v2.move = function (x, y) { this._x = x; this._y = y; }; v2.setSize = function (w, h) { this._width = w; this._height = h; }; ASSetPropFlags(mx.skins.SkinElement.prototype, null, 1); } #endinitclip } movieClip 88 __Packages.mx.styles.CSSTextStyles { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.styles) { _global.mx.styles = new Object(); } if (!_global.mx.styles.CSSTextStyles) { var v1 = function () {}; mx.styles.CSSTextStyles = v1; var v2 = v1.prototype; v1.addTextStyles = function (o, bColor) { o.addProperty('textAlign', function () { return this._tf.align; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.align = x; }); o.addProperty('fontWeight', function () { return (this._tf.bold != undefined) ? (this._tf.bold ? 'bold' : 'none') : undefined; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.bold = x == 'bold'; }); if (bColor) { o.addProperty('color', function () { return this._tf.color; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.color = x; }); } o.addProperty('fontFamily', function () { return this._tf.font; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.font = x; }); o.addProperty('textIndent', function () { return this._tf.indent; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.indent = x; }); o.addProperty('fontStyle', function () { return (this._tf.italic != undefined) ? (this._tf.italic ? 'italic' : 'none') : undefined; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.italic = x == 'italic'; }); o.addProperty('marginLeft', function () { return this._tf.leftMargin; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.leftMargin = x; }); o.addProperty('marginRight', function () { return this._tf.rightMargin; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.rightMargin = x; }); o.addProperty('fontSize', function () { return this._tf.size; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.size = x; }); o.addProperty('textDecoration', function () { return (this._tf.underline != undefined) ? (this._tf.underline ? 'underline' : 'none') : undefined; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.underline = x == 'underline'; }); o.addProperty('embedFonts', function () { return this._tf.embedFonts; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.embedFonts = x; }); }; ASSetPropFlags(mx.styles.CSSTextStyles.prototype, null, 1); } #endinitclip } movieClip 89 __Packages.mx.styles.StyleManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.styles) { _global.mx.styles = new Object(); } if (!_global.mx.styles.StyleManager) { var v1 = function () {}; mx.styles.StyleManager = v1; var v2 = v1.prototype; v1.registerInheritingStyle = function (styleName) { mx.styles.StyleManager.inheritingStyles[styleName] = true; }; v1.isInheritingStyle = function (styleName) { return mx.styles.StyleManager.inheritingStyles[styleName] == true; }; v1.registerColorStyle = function (styleName) { mx.styles.StyleManager.colorStyles[styleName] = true; }; v1.isColorStyle = function (styleName) { return mx.styles.StyleManager.colorStyles[styleName] == true; }; v1.registerColorName = function (colorName, colorValue) { mx.styles.StyleManager.colorNames[colorName] = colorValue; }; v1.isColorName = function (colorName) { return mx.styles.StyleManager.colorNames[colorName] != undefined; }; v1.getColorName = function (colorName) { return mx.styles.StyleManager.colorNames[colorName]; }; v1.inheritingStyles = {'color': true, 'direction': true, 'fontFamily': true, 'fontSize': true, 'fontStyle': true, 'fontWeight': true, 'textAlign': true, 'textIndent': true}; v1.colorStyles = {'barColor': true, 'trackColor': true, 'borderColor': true, 'buttonColor': true, 'color': true, 'dateHeaderColor': true, 'dateRollOverColor': true, 'disabledColor': true, 'fillColor': true, 'highlightColor': true, 'scrollTrackColor': true, 'selectedDateColor': true, 'shadowColor': true, 'strokeColor': true, 'symbolBackgroundColor': true, 'symbolBackgroundDisabledColor': true, 'symbolBackgroundPressedColor': true, 'symbolColor': true, 'symbolDisabledColor': true, 'themeColor': true, 'todayIndicatorColor': true, 'shadowCapColor': true, 'borderCapColor': true, 'focusColor': true}; v1.colorNames = {'black': 0, 'white': 16777215, 'red': 16711680, 'green': 65280, 'blue': 255, 'magenta': 16711935, 'yellow': 16776960, 'cyan': 65535, 'haloGreen': 8453965, 'haloBlue': 2881013, 'haloOrange': 16761344}; v1.TextFormatStyleProps = {'font': true, 'size': true, 'color': true, 'leftMargin': false, 'rightMargin': false, 'italic': true, 'bold': true, 'align': true, 'indent': true, 'underline': false, 'embedFonts': false}; v1.TextStyleMap = {'textAlign': true, 'fontWeight': true, 'color': true, 'fontFamily': true, 'textIndent': true, 'fontStyle': true, 'lineHeight': true, 'marginLeft': true, 'marginRight': true, 'fontSize': true, 'textDecoration': true, 'embedFonts': true}; ASSetPropFlags(mx.styles.StyleManager.prototype, null, 1); } #endinitclip } movieClip 90 __Packages.mx.styles.CSSStyleDeclaration { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.styles) { _global.mx.styles = new Object(); } if (!_global.mx.styles.CSSStyleDeclaration) { var v1 = function () {}; mx.styles.CSSStyleDeclaration = v1; var v2 = v1.prototype; v2.__getTextFormat = function (tf, bAll) { var v5 = false; if (this._tf != undefined) { var v2; for (v2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v2]) { if (tf[v2] == undefined) { var v3 = this._tf[v2]; if (v3 != undefined) { tf[v2] = v3; } else { v5 = true; } } } } return v5; } v5 = true; return v5; }; v2.getStyle = function (styleProp) { var v2 = this[styleProp]; var v3 = mx.styles.StyleManager.getColorName(v2); return (v3 == undefined) ? v2 : v3; }; v1.classConstruct = function () { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return true; }; v1.classConstructed = mx.styles.CSSStyleDeclaration.classConstruct(); v1.CSSTextStylesDependency = mx.styles.CSSTextStyles; ASSetPropFlags(mx.styles.CSSStyleDeclaration.prototype, null, 1); } #endinitclip } movieClip 91 __Packages.mx.events.EventDispatcher { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.events) { _global.mx.events = new Object(); } if (!_global.mx.events.EventDispatcher) { var v1 = function () {}; mx.events.EventDispatcher = v1; var v2 = v1.prototype; v1._removeEventListener = function (queue, event, handler) { if (queue != undefined) { var v4 = queue.length; var v1; v1 = 0; while (v1 < v4) { var v2 = queue[v1]; if (v2 == handler) { queue.splice(v1, 1); return undefined; } ++v1; } } }; v1.initialize = function (object) { if (mx.events.EventDispatcher._fEventDispatcher == undefined) { mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener; object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener; object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent; object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue; }; v2.dispatchQueue = function (queueObj, eventObj) { var v7 = '__q_' + eventObj.type; var v4 = queueObj[v7]; if (v4 != undefined) { var v5; for (v5 in v4) { var v1 = v4[v5]; var v3 = typeof v1; if (v3 == 'object' || v3 == 'movieclip') { if (v1.handleEvent != undefined) { v1.handleEvent(eventObj); } if (v1[eventObj.type] != undefined) { if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) { v1[eventObj.type](eventObj); } } } else { v1.apply(queueObj, [eventObj]); } } } }; v2.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + 'Handler'](eventObj); this.dispatchQueue(this, eventObj); }; v2.addEventListener = function (event, handler) { var v3 = '__q_' + event; if (this[v3] == undefined) { this[v3] = new Array(); } _global.ASSetPropFlags(this, v3, 1); mx.events.EventDispatcher._removeEventListener(this[v3], event, handler); this[v3].push(handler); }; v2.removeEventListener = function (event, handler) { var v2 = '__q_' + event; mx.events.EventDispatcher._removeEventListener(this[v2], event, handler); }; v1._fEventDispatcher = undefined; v1.exceptions = {'move': 1, 'draw': 1, 'load': 1}; ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1); } #endinitclip } movieClip 92 __Packages.mx.events.UIEventDispatcher { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.events) { _global.mx.events = new Object(); } if (!_global.mx.events.UIEventDispatcher) { var v1 = function () { super(); }; mx.events.UIEventDispatcher = v1; var v2 = new mx.events.EventDispatcher(); mx.events.UIEventDispatcher.prototype = v2; v1.addKeyEvents = function (obj) { if (obj.keyHandler == undefined) { obj.keyHandler = new Object(); var v1 = obj.keyHandler; v1.owner = obj; v1.onKeyDown = mx.events.UIEventDispatcher._fEventDispatcher.onKeyDown; v1.onKeyUp = mx.events.UIEventDispatcher._fEventDispatcher.onKeyUp; } Key.addListener(obj.keyHandler); }; v1.removeKeyEvents = function (obj) { Key.removeListener(obj.keyHandler); }; v1.addLoadEvents = function (obj) { if (obj.onLoad == undefined) { obj.onLoad = mx.events.UIEventDispatcher._fEventDispatcher.onLoad; obj.onUnload = mx.events.UIEventDispatcher._fEventDispatcher.onUnload; if (obj.getBytesTotal() == obj.getBytesLoaded()) { obj.doLater(obj, 'onLoad'); } } }; v1.removeLoadEvents = function (obj) { delete obj.onLoad; delete obj.onUnload; }; v1.initialize = function (obj) { if (mx.events.UIEventDispatcher._fEventDispatcher == undefined) { mx.events.UIEventDispatcher._fEventDispatcher = new mx.events.UIEventDispatcher(); } obj.addEventListener = mx.events.UIEventDispatcher._fEventDispatcher.__addEventListener; obj.__origAddEventListener = mx.events.UIEventDispatcher._fEventDispatcher.addEventListener; obj.removeEventListener = mx.events.UIEventDispatcher._fEventDispatcher.removeEventListener; obj.dispatchEvent = mx.events.UIEventDispatcher._fEventDispatcher.dispatchEvent; obj.dispatchQueue = mx.events.UIEventDispatcher._fEventDispatcher.dispatchQueue; }; v2.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + 'Handler'](eventObj); this.dispatchQueue(mx.events.EventDispatcher, eventObj); this.dispatchQueue(this, eventObj); }; v2.onKeyDown = function (Void) { this.owner.dispatchEvent({'type': 'keyDown', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)}); }; v2.onKeyUp = function (Void) { this.owner.dispatchEvent({'type': 'keyUp', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)}); }; v2.onLoad = function (Void) { if (this.__sentLoadEvent != true) { this.dispatchEvent({'type': 'load'}); } this.__sentLoadEvent = true; }; v2.onUnload = function (Void) { this.dispatchEvent({'type': 'unload'}); }; v2.__addEventListener = function (event, handler) { this.__origAddEventListener(event, handler); var v3 = mx.events.UIEventDispatcher.lowLevelEvents; for (var v5 in v3) { if (mx.events.UIEventDispatcher[v5][event] != undefined) { var v2 = v3[v5][0]; mx.events.UIEventDispatcher[v2](this); } } }; v2.removeEventListener = function (event, handler) { var v6 = '__q_' + event; mx.events.EventDispatcher._removeEventListener(this[v6], event, handler); if (this[v6].length == 0) { var v2 = mx.events.UIEventDispatcher.lowLevelEvents; for (var v5 in v2) { if (mx.events.UIEventDispatcher[v5][event] != undefined) { var v3 = v2[v5][1]; mx.events.UIEventDispatcher[v2[v5][1]](this); } } } }; v1.keyEvents = {'keyDown': 1, 'keyUp': 1}; v1.loadEvents = {'load': 1, 'unload': 1}; v1.lowLevelEvents = {'keyEvents': ['addKeyEvents', 'removeKeyEvents'], 'loadEvents': ['addLoadEvents', 'removeLoadEvents']}; v1._fEventDispatcher = undefined; ASSetPropFlags(mx.events.UIEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 93 __Packages.mx.skins.ColoredSkinElement { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.ColoredSkinElement) { var v1 = function () {}; mx.skins.ColoredSkinElement = v1; var v2 = v1.prototype; v2.setColor = function (c) { if (c != undefined) { var v2 = new Color(this); v2.setRGB(c); } }; v2.draw = function (Void) { this.setColor(this.getStyle(this._color)); this.onEnterFrame = undefined; }; v2.invalidateStyle = function (Void) { this.onEnterFrame = this.draw; }; v1.setColorStyle = function (p, colorStyle) { if (p._color == undefined) { p._color = colorStyle; } p.setColor = mx.skins.ColoredSkinElement.mixins.setColor; p.invalidateStyle = mx.skins.ColoredSkinElement.mixins.invalidateStyle; p.draw = mx.skins.ColoredSkinElement.mixins.draw; p.setColor(p.getStyle(colorStyle)); }; v1.mixins = new mx.skins.ColoredSkinElement(); ASSetPropFlags(mx.skins.ColoredSkinElement.prototype, null, 1); } #endinitclip } movieClip 94 __Packages.mx.core.ext.UIObjectExtensions { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ext) { _global.mx.core.ext = new Object(); } if (!_global.mx.core.ext.UIObjectExtensions) { var v1 = function () {}; mx.core.ext.UIObjectExtensions = v1; var v2 = v1.prototype; v1.addGeometry = function (tf, ui) { tf.addProperty('width', ui.__get__width, null); tf.addProperty('height', ui.__get__height, null); tf.addProperty('left', ui.__get__left, null); tf.addProperty('x', ui.__get__x, null); tf.addProperty('top', ui.__get__top, null); tf.addProperty('y', ui.__get__y, null); tf.addProperty('right', ui.__get__right, null); tf.addProperty('bottom', ui.__get__bottom, null); tf.addProperty('visible', ui.__get__visible, ui.__set__visible); }; v1.Extensions = function () { if (mx.core.ext.UIObjectExtensions.bExtended == true) { return true; } mx.core.ext.UIObjectExtensions.bExtended = true; var v6 = mx.core.UIObject.prototype; var v9 = mx.skins.SkinElement.prototype; mx.core.ext.UIObjectExtensions.addGeometry(v9, v6); mx.events.UIEventDispatcher.initialize(v6); var v13 = mx.skins.ColoredSkinElement; mx.styles.CSSTextStyles.addTextStyles(v6); var v5 = MovieClip.prototype; v5.getTopLevel = v6.getTopLevel; v5.createLabel = v6.createLabel; v5.createObject = v6.createObject; v5.createClassObject = v6.createClassObject; v5.createEmptyObject = v6.createEmptyObject; v5.destroyObject = v6.destroyObject; _global.ASSetPropFlags(v5, 'getTopLevel', 1); _global.ASSetPropFlags(v5, 'createLabel', 1); _global.ASSetPropFlags(v5, 'createObject', 1); _global.ASSetPropFlags(v5, 'createClassObject', 1); _global.ASSetPropFlags(v5, 'createEmptyObject', 1); _global.ASSetPropFlags(v5, 'destroyObject', 1); v5.__getTextFormat = v6.__getTextFormat; v5._getTextFormat = v6._getTextFormat; v5.getStyleName = v6.getStyleName; v5.getStyle = v6.getStyle; _global.ASSetPropFlags(v5, '__getTextFormat', 1); _global.ASSetPropFlags(v5, '_getTextFormat', 1); _global.ASSetPropFlags(v5, 'getStyleName', 1); _global.ASSetPropFlags(v5, 'getStyle', 1); var v7 = TextField.prototype; mx.core.ext.UIObjectExtensions.addGeometry(v7, v6); v7.addProperty('enabled', function () { return this.__enabled; }, function (x) { this.__enabled = x; this.invalidateStyle(); }); v7.move = v9.move; v7.setSize = v9.setSize; v7.invalidateStyle = function () { this.invalidateFlag = true; }; v7.draw = function () { if (this.invalidateFlag) { this.invalidateFlag = false; var v2 = this._getTextFormat(); this.setTextFormat(v2); this.setNewTextFormat(v2); this.embedFonts = v2.embedFonts == true; if (this.__text != undefined) { if (this.text == '') { this.text = this.__text; } delete this.__text; } this._visible = true; } }; v7.setColor = function (color) { this.textColor = color; }; v7.getStyle = v5.getStyle; v7.__getTextFormat = v6.__getTextFormat; v7.setValue = function (v) { this.text = v; }; v7.getValue = function () { return this.text; }; v7.addProperty('value', function () { return this.getValue(); }, function (v) { this.setValue(v); }); v7._getTextFormat = function () { var v2 = this.stylecache.tf; if (v2 != undefined) { return v2; } v2 = new TextFormat(); this.__getTextFormat(v2); this.stylecache.tf = v2; if (this.__enabled == false) { if (this.enabledColor == undefined) { var v4 = this.getTextFormat(); this.enabledColor = v4.color; } var v3 = this.getStyle('disabledColor'); v2.color = v3; return v2; } if (this.enabledColor != undefined) { if (v2.color == undefined) { v2.color = this.enabledColor; } } return v2; }; v7.getPreferredWidth = function () { this.draw(); return this.textWidth + 4; }; v7.getPreferredHeight = function () { this.draw(); return this.textHeight + 4; }; TextFormat.prototype.getTextExtent2 = function (s) { var v3 = _root._getTextExtent; if (v3 == undefined) { _root.createTextField('_getTextExtent', -2, 0, 0, 1000, 100); v3 = _root._getTextExtent; v3._visible = false; } _root._getTextExtent.text = s; var v4 = this.align; this.align = 'left'; _root._getTextExtent.setTextFormat(this); this.align = v4; return {'width': v3.textWidth, 'height': v3.textHeight}; }; if (_global.style == undefined) { _global.style = new mx.styles.CSSStyleDeclaration(); _global.cascadingStyles = true; _global.styles = new Object(); _global.skinRegistry = new Object(); if (_global._origWidth == undefined) { _global.origWidth = Stage.width; _global.origHeight = Stage.height; } } var v4 = _root; while (v4._parent != undefined) { v4 = v4._parent; } v4.addProperty('width', function () { return Stage.width; }, null); v4.addProperty('height', function () { return Stage.height; }, null); _global.ASSetPropFlags(v4, 'width', 1); _global.ASSetPropFlags(v4, 'height', 1); return true; }; v1.bExtended = false; v1.UIObjectExtended = mx.core.ext.UIObjectExtensions.Extensions(); v1.UIObjectDependency = mx.core.UIObject; v1.SkinElementDependency = mx.skins.SkinElement; v1.CSSTextStylesDependency = mx.styles.CSSTextStyles; v1.UIEventDispatcherDependency = mx.events.UIEventDispatcher; ASSetPropFlags(mx.core.ext.UIObjectExtensions.prototype, null, 1); } #endinitclip } movieClip 95 __Packages.mx.skins.halo.Defaults { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.Defaults) { var v1 = function () {}; mx.skins.halo.Defaults = v1; var v2 = v1.prototype; v1.setThemeDefaults = function () { var v2 = _global.style; v2.themeColor = 8453965; v2.disabledColor = 8684164; v2.modalTransparency = 0; v2.filled = true; v2.stroked = true; v2.strokeWidth = 1; v2.strokeColor = 0; v2.fillColor = 16777215; v2.repeatInterval = 35; v2.repeatDelay = 500; v2.fontFamily = '_sans'; v2.fontSize = 12; v2.selectionColor = 13500353; v2.rollOverColor = 14942166; v2.useRollOver = true; v2.backgroundDisabledColor = 14540253; v2.selectionDisabledColor = 14540253; v2.selectionDuration = 200; v2.openDuration = 250; v2.borderStyle = 'inset'; v2.color = 734012; v2.textSelectedColor = 24371; v2.textRollOverColor = 2831164; v2.textDisabledColor = 16777215; v2.vGridLines = true; v2.hGridLines = false; v2.vGridLineColor = 6710886; v2.hGridLineColor = 6710886; v2.headerColor = 15395562; v2.indentation = 17; v2.folderOpenIcon = 'TreeFolderOpen'; v2.folderClosedIcon = 'TreeFolderClosed'; v2.defaultLeafIcon = 'TreeNodeIcon'; v2.disclosureOpenIcon = 'TreeDisclosureOpen'; v2.disclosureClosedIcon = 'TreeDisclosureClosed'; v2.popupDuration = 150; v2.todayColor = 6710886; _global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration(); v2 = _global.styles.ScrollSelectList; v2.backgroundColor = 16777215; v2.borderColor = 13290186; v2.borderStyle = 'inset'; _global.styles.ComboBox = new mx.styles.CSSStyleDeclaration(); v2 = _global.styles.ComboBox; v2.borderStyle = 'inset'; _global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration(); v2 = _global.styles.NumericStepper; v2.textAlign = 'center'; _global.styles.RectBorder = new mx.styles.CSSStyleDeclaration(); v2 = _global.styles.RectBorder; v2.borderColor = 14015965; v2.buttonColor = 7305079; v2.shadowColor = 15658734; v2.highlightColor = 12897484; v2.shadowCapColor = 14015965; v2.borderCapColor = 9542041; var v4 = new Object(); v4.borderColor = 16711680; v4.buttonColor = 16711680; v4.shadowColor = 16711680; v4.highlightColor = 16711680; v4.shadowCapColor = 16711680; v4.borderCapColor = 16711680; mx.core.UIComponent.prototype.origBorderStyles = v4; var v3; _global.styles.TextInput = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.TextInput; v3.backgroundColor = 16777215; v3.borderStyle = 'inset'; _global.styles.TextArea = _global.styles.TextInput; _global.styles.Window = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.Window; v3.borderStyle = 'default'; _global.styles.windowStyles = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.windowStyles; v3.fontWeight = 'bold'; _global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.dataGridStyles; v3.fontWeight = 'bold'; _global.styles.Alert = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.Alert; v3.borderStyle = 'alert'; _global.styles.ScrollView = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.ScrollView; v3.borderStyle = 'inset'; _global.styles.View = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.View; v3.borderStyle = 'none'; _global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.ProgressBar; v3.color = 11187123; v3.fontWeight = 'bold'; _global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.AccordionHeader; v3.fontWeight = 'bold'; v3.fontSize = '11'; _global.styles.Accordion = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.Accordion; v3.borderStyle = 'solid'; v3.backgroundColor = 16777215; v3.borderColor = 9081738; v3.headerHeight = 22; v3.marginBottom = -1; v3.marginTop = -1; v3.marginRight = -1; v3.marginLeft = -1; v3.verticalGap = -1; _global.styles.DateChooser = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.DateChooser; v3.borderColor = 9542041; v3.headerColor = 16777215; _global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.CalendarLayout; v3.fontSize = 10; v3.textAlign = 'right'; v3.color = 2831164; _global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.WeekDayStyle; v3.fontWeight = 'bold'; v3.fontSize = 11; v3.textAlign = 'center'; v3.color = 2831164; _global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.TodayStyle; v3.color = 16777215; _global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.HeaderDateText; v3.fontSize = 12; v3.fontWeight = 'bold'; v3.textAlign = 'center'; }; v2.drawRoundRect = function (x, y, w, h, r, c, alpha, rot, gradient, ratios) { if (typeof r == 'object') { var v18 = r.br; var v16 = r.bl; var v15 = r.tl; var v10 = r.tr; } else { var v10 = r; var v15 = v10; var v16 = v15; var v18 = v16; } if (typeof c == 'object') { if (typeof alpha != 'object') { var v9 = [alpha, alpha]; } else { var v9 = alpha; } if (ratios == undefined) { ratios = [0, 255]; } var v14 = h * 0.7; if (typeof rot != 'object') { var v11 = {'matrixType': 'box', 'x': -v14, 'y': v14, 'w': w * 2, 'h': h * 4, 'r': rot * 0.0174532925199433}; } else { var v11 = rot; } if (gradient == 'radial') { this.beginGradientFill('radial', c, v9, ratios, v11); } else { this.beginGradientFill('linear', c, v9, ratios, v11); } } else { if (c != undefined) { this.beginFill(c, alpha); } } r = v18; var v13 = r - r * Math.SQRT1_2; var v12 = r - r * 0.414213562373095; this.moveTo(x + w, y + h - r); this.lineTo(x + w, y + h - r); this.curveTo(x + w, y + h - v12, x + w - v13, y + h - v13); this.curveTo(x + w - v12, y + h, x + w - r, y + h); r = v16; v13 = r - r * Math.SQRT1_2; v12 = r - r * 0.414213562373095; this.lineTo(x + r, y + h); this.curveTo(x + v12, y + h, x + v13, y + h - v13); this.curveTo(x, y + h - v12, x, y + h - r); r = v15; v13 = r - r * Math.SQRT1_2; v12 = r - r * 0.414213562373095; this.lineTo(x, y + r); this.curveTo(x, y + v12, x + v13, y + v13); this.curveTo(x + v12, y, x + r, y); r = v10; v13 = r - r * Math.SQRT1_2; v12 = r - r * 0.414213562373095; this.lineTo(x + w - r, y); this.curveTo(x + w - v12, y, x + w - v13, y + v13); this.curveTo(x + w, y + v12, x + w, y + r); this.lineTo(x + w, y + h - r); if (c != undefined) { this.endFill(); } }; v1.classConstruct = function () { mx.core.ext.UIObjectExtensions.Extensions(); mx.skins.halo.Defaults.setThemeDefaults(); mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return true; }; v1.classConstructed = mx.skins.halo.Defaults.classConstruct(); v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; v1.UIObjectDependency = mx.core.UIObject; ASSetPropFlags(mx.skins.halo.Defaults.prototype, null, 1); } #endinitclip } movieClip 96 __Packages.mx.controls.SimpleButton { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.SimpleButton) { var v1 = function () { super(); }; mx.controls.SimpleButton = v1; var v2 = new mx.core.UIComponent(); mx.controls.SimpleButton.prototype = v2; v2.init = function (Void) { super.init(); if (this.preset == undefined) { this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; } this.useHandCursor = false; }; v2.createChildren = function (Void) { if (this.preset != undefined) { var v2 = this[this.idNames[this.preset]]; this[this.refNames[this.preset]] = v2; this.skinName = v2; if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } this.initializing = false; } else { if (this.__state == true) { this.setStateVar(true); } else { if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } } } }; v2.setIcon = function (tag, linkageName) { return this.setSkin(tag + 8, linkageName); }; v2.changeIcon = function (tag, linkageName) { this.linkLength = linkageName.length; var v2 = this.stateNames[tag] + 'Icon'; this[v2] = linkageName; this[this.idNames[tag + 8]] = v2; this.setStateVar(this.getState()); }; v2.changeSkin = function (tag, linkageName) { var v2 = this.stateNames[tag] + 'Skin'; this[v2] = linkageName; this[this.idNames[tag]] = v2; this.setStateVar(this.getState()); }; v2.viewIcon = function (varName) { var v4 = varName + 'Icon'; var v3 = this[v4]; if (typeof v3 == 'string') { var v5 = v3; if (this.__emphasized) { if (this[v3 + 'Emphasized'].length > 0) { v3 += 'Emphasized'; } } if (this[v3].length == 0) { return undefined; } v3 = this.setIcon(this.tagMap[v5], this[v3]); if (v3 == undefined && _global.isLivePreview) { v3 = this.setIcon(0, 'ButtonIcon'); } this[v4] = v3; } this.iconName._visible = false; this.iconName = v3; this.iconName._visible = true; }; v2.removeIcons = function () { var v3 = 0; while (v3 < 2) { var v2 = 8; while (v2 < 16) { this.destroyObject(this.idNames[v2]); this[this.stateNames[v2 - 8] + 'Icon'] = ''; ++v2; } ++v3; } this.refresh(); }; v2.setSkin = function (tag, linkageName, initobj) { if (initobj == undefined) { var v3 = super.setSkin(tag, linkageName, {'styleName': this}); this.calcSize(tag, v3); return v3; } var v3 = super.setSkin(tag, linkageName, initobj); this.calcSize(tag, v3); return v3; }; v2.calcSize = function (Void) { this.__width = this._width; this.__height = this._height; }; v2.viewSkin = function (varName, initObj) { var v3 = varName + 'Skin'; var v2 = this[v3]; if (typeof v2 == 'string') { var v4 = v2; if (this.__emphasized) { if (this[v2 + 'Emphasized'].length > 0) { v2 += 'Emphasized'; } } if (this[v2].length == 0) { return undefined; } v2 = this.setSkin(this.tagMap[v4], this[v2], (initObj != undefined) ? initObj : {'styleName': this}); this[v3] = v2; } this.skinName._visible = false; this.skinName = v2; this.skinName._visible = true; }; v2.showEmphasized = function (e) { if (e && !this.__emphatic) { if (mx.controls.SimpleButton.emphasizedStyleDeclaration != undefined) { this.__emphaticStyleName = this.styleName; this.styleName = mx.controls.SimpleButton.emphasizedStyleDeclaration; } this.__emphatic = true; } else { if (this.__emphatic) { this.styleName = this.__emphaticStyleName; } this.__emphatic = false; } }; v2.refresh = function (Void) { var v2 = this.getState(); if (this.enabled == false) { this.viewIcon('disabled'); this.viewSkin('disabled'); } else { this.viewSkin(this.phase); this.viewIcon(this.phase); } this.setView(this.phase == 'down'); this.iconName.enabled = this.enabled; }; v2.setView = function (offset) { if (this.iconName == undefined) { return undefined; } var v2 = offset ? this.btnOffset : 0; this.iconName._x = (this.__width - this.iconName._width) / 2 + v2; this.iconName._y = (this.__height - this.iconName._height) / 2 + v2; }; v2.setStateVar = function (state) { if (state) { if (this.trueOverSkin.length == 0) { this.rolloverSkin = this.tus; } else { this.rolloverSkin = this.trs; } if (this.trueOverIcon.length == 0) { this.rolloverIcon = this.tui; } else { this.rolloverIcon = this.tri; } this.upSkin = this.tus; this.downSkin = this.tds; this.disabledSkin = this.dts; this.upIcon = this.tui; this.downIcon = this.tdi; this.disabledIcon = this.dti; } else { if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } else { this.rolloverSkin = this.frs; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } else { this.rolloverIcon = this.fri; } this.upSkin = this.fus; this.downSkin = this.fds; this.disabledSkin = this.dfs; this.upIcon = this.fui; this.downIcon = this.fdi; this.disabledIcon = this.dfi; } this.__state = state; }; v2.setState = function (state) { if (state != this.__state) { this.setStateVar(state); this.invalidate(); } }; v2.size = function (Void) { this.refresh(); }; v2.draw = function (Void) { if (this.initializing) { this.initializing = false; this.skinName.visible = true; this.iconName.visible = true; } this.size(); }; v2.getState = function (Void) { return this.__state; }; v2.setToggle = function (val) { this.__toggle = val; if (this.__toggle == false) { this.setState(false); } }; v2.getToggle = function (Void) { return this.__toggle; }; v2.__set__toggle = function (val) { this.setToggle(val); return this.__get__toggle(); }; v2.__get__toggle = function () { return this.getToggle(); }; v2.__set__value = function (val) { this.setSelected(val); return this.__get__value(); }; v2.__get__value = function () { return this.getSelected(); }; v2.__set__selected = function (val) { this.setSelected(val); return this.__get__selected(); }; v2.__get__selected = function () { return this.getSelected(); }; v2.setSelected = function (val) { if (this.__toggle) { this.setState(val); } else { this.setState(this.initializing ? val : this.__state); } }; v2.getSelected = function () { return this.__state; }; v2.setEnabled = function (val) { if (this.enabled != val) { super.setEnabled(val); this.invalidate(); } }; v2.onPress = function (Void) { this.pressFocus(); this.phase = 'down'; this.refresh(); this.dispatchEvent({'type': 'buttonDown'}); if (this.autoRepeat) { this.interval = setInterval(this, 'onPressDelay', this.getStyle('repeatDelay')); } }; v2.onPressDelay = function (Void) { this.dispatchEvent({'type': 'buttonDown'}); if (this.autoRepeat) { clearInterval(this.interval); this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval')); } }; v2.onPressRepeat = function (Void) { this.dispatchEvent({'type': 'buttonDown'}); updateAfterEvent(); }; v2.onRelease = function (Void) { this.releaseFocus(); this.phase = 'rollover'; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } if (this.getToggle()) { this.setState(!this.getState()); } else { this.refresh(); } this.dispatchEvent({'type': 'click'}); }; v2.onDragOut = function (Void) { this.phase = 'up'; this.refresh(); this.dispatchEvent({'type': 'buttonDragOut'}); }; v2.onDragOver = function (Void) { if (this.phase != 'up') { this.onPress(); return undefined; } else { this.phase = 'down'; this.refresh(); } }; v2.onReleaseOutside = function (Void) { this.releaseFocus(); this.phase = 'up'; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } }; v2.onRollOver = function (Void) { this.phase = 'rollover'; this.refresh(); }; v2.onRollOut = function (Void) { this.phase = 'up'; this.refresh(); }; v2.getLabel = function (Void) { return this.fui.text; }; v2.setLabel = function (val) { if (typeof this.fui == 'string') { this.createLabel('fui', 8, val); this.fui.styleName = this; } else { this.fui.text = val; } var v4 = this.fui._getTextFormat(); var v2 = v4.getTextExtent2(val); this.fui._width = v2.width + 5; this.fui._height = v2.height + 5; this.iconName = this.fui; this.setView(this.__state); }; v2.__get__emphasized = function () { return this.__emphasized; }; v2.__set__emphasized = function (val) { this.__emphasized = val; var v2 = 0; while (v2 < 8) { this[this.idNames[v2]] = this.stateNames[v2] + 'Skin'; if (typeof this[this.idNames[v2 + 8]] == 'movieclip') { this[this.idNames[v2 + 8]] = this.stateNames[v2] + 'Icon'; } ++v2; } this.showEmphasized(this.__emphasized); this.setStateVar(this.__state); this.invalidateStyle(); return this.__get__emphasized(); }; v2.keyDown = function (e) { if (e.code == 32) { this.onPress(); } }; v2.keyUp = function (e) { if (e.code == 32) { this.onRelease(); } }; v2.onKillFocus = function (newFocus) { super.onKillFocus(); if (this.phase != 'up') { this.phase = 'up'; this.refresh(); } }; v1.symbolName = 'SimpleButton'; v1.symbolOwner = mx.controls.SimpleButton; v1.version = '2.0.2.127'; v2.className = 'SimpleButton'; v2.style3dInset = 4; v2.btnOffset = 1; v2.__toggle = false; v2.__state = false; v2.__emphasized = false; v2.__emphatic = false; v1.falseUp = 0; v1.falseDown = 1; v1.falseOver = 2; v1.falseDisabled = 3; v1.trueUp = 4; v1.trueDown = 5; v1.trueOver = 6; v1.trueDisabled = 7; v2.falseUpSkin = 'SimpleButtonUp'; v2.falseDownSkin = 'SimpleButtonIn'; v2.falseOverSkin = ''; v2.falseDisabledSkin = 'SimpleButtonUp'; v2.trueUpSkin = 'SimpleButtonIn'; v2.trueDownSkin = ''; v2.trueOverSkin = ''; v2.trueDisabledSkin = 'SimpleButtonIn'; v2.falseUpIcon = ''; v2.falseDownIcon = ''; v2.falseOverIcon = ''; v2.falseDisabledIcon = ''; v2.trueUpIcon = ''; v2.trueDownIcon = ''; v2.trueOverIcon = ''; v2.trueDisabledIcon = ''; v2.phase = 'up'; v2.fui = 'falseUpIcon'; v2.fus = 'falseUpSkin'; v2.fdi = 'falseDownIcon'; v2.fds = 'falseDownSkin'; v2.frs = 'falseOverSkin'; v2.fri = 'falseOverIcon'; v2.dfi = 'falseDisabledIcon'; v2.dfs = 'falseDisabledSkin'; v2.tui = 'trueUpIcon'; v2.tus = 'trueUpSkin'; v2.tdi = 'trueDownIcon'; v2.tds = 'trueDownSkin'; v2.trs = 'trueOverSkin'; v2.tri = 'trueOverIcon'; v2.dts = 'trueDisabledSkin'; v2.dti = 'trueDisabledIcon'; v2.rolloverSkin = mx.controls.SimpleButton.prototype.frs; v2.rolloverIcon = mx.controls.SimpleButton.prototype.fri; v2.upSkin = mx.controls.SimpleButton.prototype.fus; v2.downSkin = mx.controls.SimpleButton.prototype.fds; v2.disabledSkin = mx.controls.SimpleButton.prototype.dfs; v2.upIcon = mx.controls.SimpleButton.prototype.fui; v2.downIcon = mx.controls.SimpleButton.prototype.fdi; v2.disabledIcon = mx.controls.SimpleButton.prototype.dfi; v2.initializing = true; v2.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti']; v2.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled']; v2.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin']; v2.tagMap = {'falseUpSkin': 0, 'falseDownSkin': 1, 'falseOverSkin': 2, 'falseDisabledSkin': 3, 'trueUpSkin': 4, 'trueDownSkin': 5, 'trueOverSkin': 6, 'trueDisabledSkin': 7, 'falseUpIcon': 0, 'falseDownIcon': 1, 'falseOverIcon': 2, 'falseDisabledIcon': 3, 'trueUpIcon': 4, 'trueDownIcon': 5, 'trueOverIcon': 6, 'trueDisabledIcon': 7}; v2.addProperty('emphasized', v2.__get__emphasized, v2.__set__emphasized); v2.addProperty('selected', v2.__get__selected, v2.__set__selected); v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle); v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1); } #endinitclip } movieClip 97 __Packages.mx.managers.DepthManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.DepthManager) { var v1 = function () { MovieClip.prototype.createClassChildAtDepth = this.createClassChildAtDepth; MovieClip.prototype.createChildAtDepth = this.createChildAtDepth; MovieClip.prototype.setDepthTo = this.setDepthTo; MovieClip.prototype.setDepthAbove = this.setDepthAbove; MovieClip.prototype.setDepthBelow = this.setDepthBelow; MovieClip.prototype.findNextAvailableDepth = this.findNextAvailableDepth; MovieClip.prototype.shuffleDepths = this.shuffleDepths; MovieClip.prototype.getDepthByFlag = this.getDepthByFlag; MovieClip.prototype.buildDepthTable = this.buildDepthTable; _global.ASSetPropFlags(MovieClip.prototype, 'createClassChildAtDepth', 1); _global.ASSetPropFlags(MovieClip.prototype, 'createChildAtDepth', 1); _global.ASSetPropFlags(MovieClip.prototype, 'setDepthTo', 1); _global.ASSetPropFlags(MovieClip.prototype, 'setDepthAbove', 1); _global.ASSetPropFlags(MovieClip.prototype, 'setDepthBelow', 1); _global.ASSetPropFlags(MovieClip.prototype, 'findNextAvailableDepth', 1); _global.ASSetPropFlags(MovieClip.prototype, 'shuffleDepths', 1); _global.ASSetPropFlags(MovieClip.prototype, 'getDepthByFlag', 1); _global.ASSetPropFlags(MovieClip.prototype, 'buildDepthTable', 1); }; mx.managers.DepthManager = v1; var v2 = v1.prototype; v1.sortFunction = function (a, b) { if (a.getDepth() > b.getDepth()) { return 1; } return -1; }; v1.test = function (depth) { if (depth == mx.managers.DepthManager.reservedDepth) { return false; } else { return true; } }; v1.createClassObjectAtDepth = function (className, depthSpace, initObj) { var v1; switch (depthSpace) { case mx.managers.DepthManager.kCursor: v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTopmost, initObj); return v1; case mx.managers.DepthManager.kTooltip: v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTop, initObj); return v1; } return v1; }; v1.createObjectAtDepth = function (linkageName, depthSpace, initObj) { var v1; switch (depthSpace) { case mx.managers.DepthManager.kCursor: v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTopmost, initObj); return v1; case mx.managers.DepthManager.kTooltip: v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTop, initObj); return v1; } return v1; }; v2.createClassChildAtDepth = function (className, depthFlag, initObj) { if (this._childCounter == undefined) { this._childCounter = 0; } var v3 = this.buildDepthTable(); var v2 = this.getDepthByFlag(depthFlag, v3); var v6 = 'down'; if (depthFlag == mx.managers.DepthManager.kBottom) { v6 = 'up'; } var v5; if (v3[v2] != undefined) { v5 = v2; v2 = this.findNextAvailableDepth(v2, v3, v6); } var v4 = this.createClassObject(className, 'depthChild' + this._childCounter++, v2, initObj); if (v5 != undefined) { v3[v2] = v4; this.shuffleDepths(v4, v5, v3, v6); } if (depthFlag == mx.managers.DepthManager.kTopmost) { v4._topmost = true; } return v4; }; v2.createChildAtDepth = function (linkageName, depthFlag, initObj) { if (this._childCounter == undefined) { this._childCounter = 0; } var v3 = this.buildDepthTable(); var v2 = this.getDepthByFlag(depthFlag, v3); var v6 = 'down'; if (depthFlag == mx.managers.DepthManager.kBottom) { v6 = 'up'; } var v5; if (v3[v2] != undefined) { v5 = v2; v2 = this.findNextAvailableDepth(v2, v3, v6); } var v4 = this.createObject(linkageName, 'depthChild' + this._childCounter++, v2, initObj); if (v5 != undefined) { v3[v2] = v4; this.shuffleDepths(v4, v5, v3, v6); } if (depthFlag == mx.managers.DepthManager.kTopmost) { v4._topmost = true; } return v4; }; v2.setDepthTo = function (depthFlag) { var v2 = this._parent.buildDepthTable(); var v3 = this._parent.getDepthByFlag(depthFlag, v2); if (v2[v3] != undefined) { this.shuffleDepths(this, v3, v2, undefined); } else { this.swapDepths(v3); } if (depthFlag == mx.managers.DepthManager.kTopmost) { this._topmost = true; } else { delete this._topmost; } }; v2.setDepthAbove = function (targetInstance) { if (targetInstance._parent != this._parent) { return undefined; } var v2 = targetInstance.getDepth() + 1; var v3 = this._parent.buildDepthTable(); if (v3[v2] != undefined && this.getDepth() < v2) { v2 -= 1; } if (v2 > mx.managers.DepthManager.highestDepth) { v2 = mx.managers.DepthManager.highestDepth; } if (v2 == mx.managers.DepthManager.highestDepth) { this._parent.shuffleDepths(this, v2, v3, 'down'); } else { if (v3[v2] != undefined) { this._parent.shuffleDepths(this, v2, v3, undefined); } else { this.swapDepths(v2); } } }; v2.setDepthBelow = function (targetInstance) { if (targetInstance._parent != this._parent) { return undefined; } var v6 = targetInstance.getDepth() - 1; var v3 = this._parent.buildDepthTable(); if (v3[v6] != undefined && this.getDepth() > v6) { v6 += 1; } var v4 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers; var v5; for (v5 in v3) { var v2 = v3[v5]; if (v2._parent != undefined) { v4 = Math.min(v4, v2.getDepth()); } } if (v6 < v4) { v6 = v4; } if (v6 == v4) { this._parent.shuffleDepths(this, v6, v3, 'up'); } else { if (v3[v6] != undefined) { this._parent.shuffleDepths(this, v6, v3, undefined); } else { this.swapDepths(v6); } } }; v2.findNextAvailableDepth = function (targetDepth, depthTable, direction) { var v5 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers; if (targetDepth < v5) { targetDepth = v5; } if (depthTable[targetDepth] == undefined) { return targetDepth; } var v2 = targetDepth; var v1 = targetDepth; if (direction == 'down') { while (depthTable[v1] != undefined) { --v1; } return v1; } while (depthTable[v2] != undefined) { ++v2; } return v2; }; v2.shuffleDepths = function (subject, targetDepth, depthTable, direction) { var v9 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers; var v8 = v9; var v5; for (v5 in depthTable) { var v7 = depthTable[v5]; if (v7._parent != undefined) { v9 = Math.min(v9, v7.getDepth()); } } if (direction == undefined) { if (subject.getDepth() > targetDepth) { direction = 'up'; } else { direction = 'down'; } } var v1 = new Array(); for (v5 in depthTable) { v7 = depthTable[v5]; if (v7._parent != undefined) { v1.push(v7); } } v1.sort(mx.managers.DepthManager.sortFunction); if (direction == 'up') { var v3; var v11; while (v1.length > 0) { v3 = v1.pop(); if (v3 == subject) { break; } } while (v1.length > 0) { v11 = subject.getDepth(); v3 = v1.pop(); var v4 = v3.getDepth(); if (v11 > v4 + 1) { if (v4 >= 0) { subject.swapDepths(v4 + 1); } else { if (v11 > v8 && v4 < v8) { subject.swapDepths(v8); } } } subject.swapDepths(v3); if (v4 == targetDepth) { break; } } } else { if (direction == 'down') { var v3; while (v1.length > 0) { v3 = v1.shift(); if (v3 == subject) { break; } } while (v1.length > 0) { var v11 = v3.getDepth(); v3 = v1.shift(); var v4 = v3.getDepth(); if (v11 < v4 - 1 && v4 > 0) { subject.swapDepths(v4 - 1); } subject.swapDepths(v3); if (v4 == targetDepth) { break; } } } } }; v2.getDepthByFlag = function (depthFlag, depthTable) { var v2 = 0; if (depthFlag == mx.managers.DepthManager.kTop || depthFlag == mx.managers.DepthManager.kNotopmost) { var v5 = 0; var v7 = false; var v8; for (v8 in depthTable) { var v9 = depthTable[v8]; var v3 = typeof v9; if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) { if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) { if (!v9._topmost) { v2 = Math.max(v2, v9.getDepth()); } else { if (!v7) { v5 = v9.getDepth(); v7 = true; } else { v5 = Math.min(v5, v9.getDepth()); } } } } } v2 += 20; if (v7) { if (v2 >= v5) { v2 = v5 - 1; } } } else { if (depthFlag == mx.managers.DepthManager.kBottom) { for (var v8 in depthTable) { var v9 = depthTable[v8]; var v3 = typeof v9; if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) { if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) { v2 = Math.min(v2, v9.getDepth()); } } } v2 -= 20; } else { if (depthFlag == mx.managers.DepthManager.kTopmost) { for (var v8 in depthTable) { var v9 = depthTable[v8]; var v3 = typeof v9; if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) { if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) { v2 = Math.max(v2, v9.getDepth()); } } } v2 += 100; } } } if (v2 >= mx.managers.DepthManager.highestDepth) { v2 = mx.managers.DepthManager.highestDepth; } var v6 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers; for (v9 in depthTable) { var v4 = depthTable[v9]; if (v4._parent != undefined) { v6 = Math.min(v6, v4.getDepth()); } } if (v2 <= v6) { v2 = v6; } return v2; }; v2.buildDepthTable = function (Void) { var v5 = new Array(); var v4; for (v4 in this) { var v2 = this[v4]; var v3 = typeof v2; if (v3 == 'movieclip' || v3 == 'object' && v2.__getTextFormat != undefined) { if (v2._parent == this) { v5[v2.getDepth()] = v2; } } } return v5; }; v1.reservedDepth = 1048575; v1.highestDepth = 1048574; v1.lowestDepth = -16383; v1.numberOfAuthortimeLayers = 383; v1.kCursor = 101; v1.kTooltip = 102; v1.kTop = 201; v1.kBottom = 202; v1.kTopmost = 203; v1.kNotopmost = 204; v1.holder = _root.createEmptyMovieClip('reserved', mx.managers.DepthManager.reservedDepth); v1.__depthManager = new mx.managers.DepthManager(); ASSetPropFlags(mx.managers.DepthManager.prototype, null, 1); } #endinitclip } movieClip 98 __Packages.mx.managers.SystemManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.SystemManager) { var v1 = function () {}; mx.managers.SystemManager = v1; var v2 = v1.prototype; v1.init = function (Void) { if (mx.managers.SystemManager._initialized == false) { mx.managers.SystemManager._initialized = true; mx.events.EventDispatcher.initialize(mx.managers.SystemManager); Mouse.addListener(mx.managers.SystemManager); Stage.addListener(mx.managers.SystemManager); mx.managers.SystemManager._xAddEventListener = mx.managers.SystemManager.addEventListener; mx.managers.SystemManager.addEventListener = mx.managers.SystemManager.__addEventListener; mx.managers.SystemManager._xRemoveEventListener = mx.managers.SystemManager.removeEventListener; mx.managers.SystemManager.removeEventListener = mx.managers.SystemManager.__removeEventListener; } }; v1.addFocusManager = function (f) { mx.managers.SystemManager.form = f; f.focusManager.activate(); }; v1.removeFocusManager = function (f) {}; v1.onMouseDown = function (Void) { var v1 = mx.managers.SystemManager.form; v1.focusManager._onMouseDown(); }; v1.onResize = function (Void) { var v7 = Stage.width; var v6 = Stage.height; var v9 = _global.origWidth; var v8 = _global.origHeight; var v3 = Stage.align; var v5 = (v9 - v7) / 2; var v4 = (v8 - v6) / 2; if (v3 == 'T') { v4 = 0; } else { if (v3 == 'B') { v4 = v8 - v6; } else { if (v3 == 'L') { v5 = 0; } else { if (v3 == 'R') { v5 = v9 - v7; } else { if (v3 == 'LT') { v4 = 0; v5 = 0; } else { if (v3 == 'TR') { v4 = 0; v5 = v9 - v7; } else { if (v3 == 'LB') { v4 = v8 - v6; v5 = 0; } else { if (v3 == 'RB') { v4 = v8 - v6; v5 = v9 - v7; } } } } } } } } if (mx.managers.SystemManager.__screen == undefined) { mx.managers.SystemManager.__screen = new Object(); } mx.managers.SystemManager.__screen.x = v5; mx.managers.SystemManager.__screen.y = v4; mx.managers.SystemManager.__screen.width = v7; mx.managers.SystemManager.__screen.height = v6; _root.focusManager.relocate(); mx.managers.SystemManager.dispatchEvent({'type': 'resize'}); }; v1.__get__screen = function () { mx.managers.SystemManager.init(); if (mx.managers.SystemManager.__screen == undefined) { mx.managers.SystemManager.onResize(); } return mx.managers.SystemManager.__screen; }; v1._initialized = false; v1.idleFrames = 0; v1.isMouseDown = false; v1.forms = new Array(); v1.addProperty('screen', v1.__get__screen, function () {}); ASSetPropFlags(mx.managers.SystemManager.prototype, null, 1); } #endinitclip } movieClip 99 __Packages.mx.managers.FocusManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.FocusManager) { var v1 = function () { super(); }; mx.managers.FocusManager = v1; var v2 = new mx.core.UIComponent(); mx.managers.FocusManager.prototype = v2; v2.__get__defaultPushButton = function () { return this.__defaultPushButton; }; v2.__set__defaultPushButton = function (x) { if (x != this.__defaultPushButton) { this.__defaultPushButton.__set__emphasized(false); this.__defaultPushButton = x; this.defPushButton = x; x.__set__emphasized(true); } return this.__get__defaultPushButton(); }; v2.getMaxTabIndex = function (o) { var v3 = 0; var v6; for (v6 in o) { var v2 = o[v6]; if (v2._parent == o) { if (v2.tabIndex != undefined) { if (v2.tabIndex > v3) { v3 = v2.tabIndex; } } if (v2.tabChildren == true) { var v4 = this.getMaxTabIndex(v2); if (v4 > v3) { v3 = v4; } } } } return v3; }; v2.getNextTabIndex = function (Void) { return this.getMaxTabIndex(this.form) + 1; }; v2.__get__nextTabIndex = function () { return this.getNextTabIndex(); }; v2.relocate = function (Void) { var v2 = mx.managers.SystemManager.__get__screen(); this.move(v2.x - 1, v2.y - 1); }; v2.init = function (Void) { super.init(); this.tabEnabled = false; this._height = 1; this._width = 1; this._y = -1; this._x = -1; this._alpha = 0; this._parent.focusManager = this; this._parent.tabChildren = true; this._parent.tabEnabled = false; this.form = this._parent; this._parent.addEventListener('hide', this); this._parent.addEventListener('reveal', this); mx.managers.SystemManager.init(); mx.managers.SystemManager.addFocusManager(this.form); this.tabCapture.tabIndex = 0; this.watch('enabled', this.enabledChanged); Selection.addListener(this); this.lastMouse = new Object(); _global.ASSetPropFlags(this._parent, 'focusManager', 1); _global.ASSetPropFlags(this._parent, 'tabChildren', 1); _global.ASSetPropFlags(this._parent, 'tabEnabled', 1); }; v2.enabledChanged = function (id, oldValue, newValue) { this._visible = newValue; return newValue; }; v2.activate = function (Void) { Key.addListener(this); this._visible = true; this.activated = this._visible; if (this.lastFocus != undefined) { this.bNeedFocus = true; if (!mx.managers.SystemManager.isMouseDown) { this.doLater(this, 'restoreFocus'); } } }; v2.deactivate = function (Void) { Key.removeListener(this); this._visible = false; this.activated = this._visible; var v2 = this.getSelectionFocus(); var v3 = this.getActualFocus(v2); if (this.isOurFocus(v3)) { this.lastSelFocus = v2; this.lastFocus = v3; } this.cancelAllDoLaters(); }; v2.isOurFocus = function (o) { if (o.focusManager == this) { return true; } while (o != undefined) { if (o.focusManager != undefined) { return false; } if (o._parent == this._parent) { return true; } o = o._parent; } return false; }; v2.onSetFocus = function (o, n) { if (n == null) { if (this.activated) { this.bNeedFocus = true; } } else { var v2 = this.getFocus(); if (this.isOurFocus(v2)) { this.bNeedFocus = false; this.lastFocus = v2; this.lastSelFocus = n; } } }; v2.restoreFocus = function (Void) { var v2 = this.lastSelFocus.hscroll; if (v2 != undefined) { var v5 = this.lastSelFocus.scroll; var v4 = this.lastSelFocus.background; } this.lastFocus.setFocus(); var v3 = Selection; Selection.setSelection(v3.lastBeginIndex, v3.lastEndIndex); if (v2 != undefined) { this.lastSelFocus.scroll = v5; this.lastSelFocus.hscroll = v2; this.lastSelFocus.background = v4; } }; v2.onUnload = function (Void) { mx.managers.SystemManager.removeFocusManager(this.form); }; v2.setFocus = function (o) { if (o == null) { Selection.setFocus(null); } else { if (o.setFocus == undefined) { Selection.setFocus(o); } else { o.setFocus(); } } }; v2.getActualFocus = function (o) { var v1 = o._parent; while (v1 != undefined) { if (v1.focusTextField != undefined) { while (v1.focusTextField != undefined) { o = v1; v1 = v1._parent; if (v1 == undefined) { return undefined; } if (v1.focusTextField == undefined) { return o; } } } if (v1.tabEnabled != true) { return o; } o = v1; v1 = o._parent; } return undefined; }; v2.getSelectionFocus = function () { var m = Selection.getFocus(); var o = eval(m); return o; }; v2.getFocus = function (Void) { var v2 = this.getSelectionFocus(); return this.getActualFocus(v2); }; v2.walkTree = function (p, index, groupName, dir, lookup, firstChild) { var v5 = true; var v11; for (v11 in p) { var v2 = p[v11]; if (v2._parent == p && v2.enabled != false && v2._visible != false && (v2.tabEnabled == true || v2.tabEnabled != false && (v2.onPress != undefined || v2.onRelease != undefined || v2.onReleaseOutside != undefined || v2.onDragOut != undefined || v2.onDragOver != undefined || v2.onRollOver != undefined || v2.onRollOut != undefined || v2 instanceof TextField))) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; if (v2 != this._lastTarget) { if ((v2.groupName != undefined || groupName != undefined) && v2.groupName == groupName) { continue; } if (v2 instanceof TextField && v2.selectable == false) { continue; } if (v5 || v2.groupName != undefined && v2.groupName == this._firstNode.groupName && v2.selected == true) { if (firstChild) { this._firstNode = v2; firstChild = false; } } if (this._nextIsNext == true) { if (v2.groupName != undefined && v2.groupName == this._nextNode.groupName && v2.selected == true || this._nextNode == undefined && (v2.groupName == undefined || v2.groupName != undefined && v2.groupName != groupName)) { this._nextNode = v2; } } if (v2.groupName == undefined || groupName != v2.groupName) { if (this._lastx.groupName != undefined && v2.groupName == this._lastx.groupName && this._lastx.selected == true) { } else { this._lastx = v2; } } } else { this._prevNode = this._lastx; this._needPrev = false; this._nextIsNext = true; } if (v2.tabIndex != undefined) { if (v2.tabIndex == index) { if (this._foundList[v2._name] == undefined) { if (this._needPrev) { this._prevObj = v2; this._needPrev = false; } this._nextObj = v2; } } if (dir && v2.tabIndex > index) { if (this._nextObj == undefined || this._nextObj.tabIndex > v2.tabIndex && (v2.groupName == undefined || this._nextObj.groupName == undefined || v2.groupName != this._nextObj.groupName) || this._nextObj.groupName != undefined && this._nextObj.groupName == v2.groupName && this._nextObj.selected != true && (v2.selected == true || this._nextObj.tabIndex > v2.tabIndex)) { this._nextObj = v2; } } else { if (!dir && v2.tabIndex < index) { if (this._prevObj == undefined || this._prevObj.tabIndex < v2.tabIndex && (v2.groupName == undefined || this._prevObj.groupName == undefined || v2.groupName != this._prevObj.groupName) || this._prevObj.groupName != undefined && this._prevObj.groupName == v2.groupName && this._prevObj.selected != true && (v2.selected == true || this._prevObj.tabIndex < v2.tabIndex)) { this._prevObj = v2; } } } if (this._firstObj == undefined || v2.tabIndex < this._firstObj.tabIndex && (v2.groupName == undefined || this._firstObj.groupName == undefined || v2.groupName != this._firstObj.groupName) || this._firstObj.groupName != undefined && this._firstObj.groupName == v2.groupName && this._firstObj.selected != true && (v2.selected == true || v2.tabIndex < this._firstObj.tabIndex)) { this._firstObj = v2; } if (this._lastObj == undefined || v2.tabIndex > this._lastObj.tabIndex && (v2.groupName == undefined || this._lastObj.groupName == undefined || v2.groupName != this._lastObj.groupName) || this._lastObj.groupName != undefined && this._lastObj.groupName == v2.groupName && this._lastObj.selected != true && (v2.selected == true || v2.tabIndex > this._lastObj.tabIndex)) { this._lastObj = v2; } } if (v2.tabChildren) { this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild); } v5 = false; } else { if (v2._parent == p && v2.tabChildren == true && v2._visible != false) { if (v2 == this._lastTarget) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; if (this._prevNode == undefined) { var v3 = this._lastx; var v7 = false; while (v3 != undefined) { if (v3 == v2) { v7 = true; break; } v3 = v3._parent; } if (v7 == false) { this._prevNode = this._lastx; } } this._needPrev = false; if (this._nextNode == undefined) { this._nextIsNext = true; } } else { if (!(v2.focusManager != undefined && v2.focusManager._parent == v2)) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild); } } v5 = false; } } } this._lastNode = this._lastx; if (lookup) { if (p._parent != undefined) { if (p != this._parent) { if (this._prevNode == undefined && dir) { this._needPrev = true; } else { if (this._nextNode == undefined && !dir) { this._nextIsNext = false; } } this._lastTarget = this._lastTarget._parent; this.getTabCandidate(p._parent, index, groupName, dir, true); } } } }; v2.getTabCandidate = function (o, index, groupName, dir, firstChild) { var v2; var v3 = true; if (o == this._parent) { v2 = o; v3 = false; } else { v2 = o._parent; if (v2 == undefined) { v2 = o; v3 = false; } } this.walkTree(v2, index, groupName, dir, v3, firstChild); }; v2.getTabCandidateFromChildren = function (o, index, groupName, dir, firstChild) { this.walkTree(o, index, groupName, dir, false, firstChild); }; v2.getFocusManagerFromObject = function (o) { while (o != undefined) { if (o.focusManager != undefined) { return o.focusManager; } o = o._parent; } return undefined; }; v2.tabHandler = function (Void) { this.bDrawFocus = true; var v5 = this.getSelectionFocus(); var v4 = this.getActualFocus(v5); if (v4 != v5) { v5 = v4; } if (this.getFocusManagerFromObject(v5) != this) { v5 == undefined; } if (v5 == undefined) { v5 = this.form; } else { if (v5.tabIndex != undefined) { if (this._foundList != undefined || this._foundList.tabIndex != v5.tabIndex) { this._foundList = new Object(); this._foundList.tabIndex = v5.tabIndex; } this._foundList[v5._name] = v5; } } var v3 = Key.isDown(16) != true; this._searchKey = getTimer(); this._needPrev = true; this._nextIsNext = false; this._lastx = undefined; this._firstNode = undefined; this._lastNode = undefined; this._nextNode = undefined; this._prevNode = undefined; this._firstObj = undefined; this._lastObj = undefined; this._nextObj = undefined; this._prevObj = undefined; this._lastTarget = v5; var v6 = v5; this.getTabCandidate(v6, (v5.tabIndex == undefined) ? 0 : v5.tabIndex, v5.groupName, v3, true); var v2; if (v3) { if (this._nextObj != undefined) { v2 = this._nextObj; } else { v2 = this._firstObj; } } else { if (this._prevObj != undefined) { v2 = this._prevObj; } else { v2 = this._lastObj; } } if (v2.tabIndex != v5.tabIndex) { this._foundList = new Object(); this._foundList.tabIndex = v2.tabIndex; this._foundList[v2._name] = v2; } else { if (this._foundList == undefined) { this._foundList = new Object(); this._foundList.tabIndex = v2.tabIndex; } this._foundList[v2._name] = v2; } if (v2 == undefined) { if (v3 == false) { if (this._nextNode != undefined) { v2 = this._nextNode; } else { v2 = this._firstNode; } } else { if (this._prevNode == undefined || v5 == this.form) { v2 = this._lastNode; } else { v2 = this._prevNode; } } } if (v2 == undefined) { return undefined; } this.lastTabFocus = v2; this.setFocus(v2); if (v2.emphasized != undefined) { if (this.defPushButton != undefined) { v5 = this.defPushButton; this.defPushButton = v2; v5.emphasized = false; v2.emphasized = true; } } else { if (this.defPushButton != undefined && this.defPushButton != this.__defaultPushButton) { v5 = this.defPushButton; this.defPushButton = this.__defaultPushButton; v5.emphasized = false; this.__defaultPushButton.__set__emphasized(true); } } }; v2.onKeyDown = function (Void) { mx.managers.SystemManager.idleFrames = 0; if (this.defaultPushButtonEnabled) { if (Key.getCode() == 13) { if (this.__get__defaultPushButton() != undefined) { this.doLater(this, 'sendDefaultPushButtonEvent'); } } } }; v2.sendDefaultPushButtonEvent = function (Void) { this.defPushButton.dispatchEvent({'type': 'click'}); }; v2.getMousedComponentFromChildren = function (x, y, o) { for (var v7 in o) { var v2 = o[v7]; if (v2._visible && v2.enabled && v2._parent == o && v2._searchKey != this._searchKey) { v2._searchKey = this._searchKey; if (v2.hitTest(x, y, true)) { if (v2.onPress != undefined || v2.onRelease != undefined) { return v2; } var v3 = this.getMousedComponentFromChildren(x, y, v2); if (v3 != undefined) { return v3; } return v2; } } } return undefined; }; v2.mouseActivate = function (Void) { if (!this.bNeedFocus) { return undefined; } this._searchKey = getTimer(); var v2 = this.getMousedComponentFromChildren(this.lastMouse.x, this.lastMouse.y, this.form); if (v2 instanceof mx.core.UIComponent) { return undefined; } v2 = this.findFocusFromObject(v2); if (v2 == this.lastFocus) { return undefined; } if (v2 == undefined) { this.doLater(this, 'restoreFocus'); return undefined; } var v3 = v2.hscroll; if (v3 != undefined) { var v6 = v2.scroll; var v5 = v2.background; } this.setFocus(v2); var v4 = Selection; Selection.setSelection(v4.lastBeginIndex, v4.lastEndIndex); if (v3 != undefined) { v2.scroll = v6; v2.hscroll = v3; v2.background = v5; } }; v2._onMouseDown = function (Void) { this.bDrawFocus = false; if (this.lastFocus != undefined) { this.lastFocus.drawFocus(false); } mx.managers.SystemManager.idleFrames = 0; var v3 = Selection; v3.lastBeginIndex = Selection.getBeginIndex(); v3.lastEndIndex = Selection.getEndIndex(); this.lastMouse.x = _root._xmouse; this.lastMouse.y = _root._ymouse; _root.localToGlobal(this.lastMouse); }; v2.onMouseUp = function (Void) { if (this._visible) { this.doLater(this, 'mouseActivate'); } }; v2.handleEvent = function (e) { if (e.type == 'reveal') { mx.managers.SystemManager.activate(this.form); } else { mx.managers.SystemManager.deactivate(this.form); } }; v1.enableFocusManagement = function () { if (!mx.managers.FocusManager.initialized) { mx.managers.FocusManager.initialized = true; Object.registerClass('FocusManager', mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--); } } }; v1.symbolName = 'FocusManager'; v1.symbolOwner = mx.managers.FocusManager; v1.version = '2.0.2.127'; v2.className = 'FocusManager'; v2.bNeedFocus = false; v2.bDrawFocus = false; v2.defaultPushButtonEnabled = true; v2.activated = true; v1.initialized = false; v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; v2.addProperty('defaultPushButton', v2.__get__defaultPushButton, v2.__set__defaultPushButton); v2.addProperty('nextTabIndex', v2.__get__nextTabIndex, function () {}); ASSetPropFlags(mx.managers.FocusManager.prototype, null, 1); } #endinitclip } movieClip 100 __Packages.mx.skins.halo.FocusRect { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.FocusRect) { var v1 = function () { super(); this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; mx.skins.halo.FocusRect = v1; var v2 = new mx.skins.SkinElement(); mx.skins.halo.FocusRect.prototype = v2; v2.draw = function (o) { o.adjustFocusRect(); }; v2.setSize = function (w, h, r, a, rectCol) { this._yscale = 100; this._xscale = 100; this.clear(); if (typeof r == 'object') { r.br = r.br > 2 ? r.br - 2 : 0; r.bl = r.bl > 2 ? r.bl - 2 : 0; r.tr = r.tr > 2 ? r.tr - 2 : 0; r.tl = r.tl > 2 ? r.tl - 2 : 0; this.beginFill(rectCol, a * 0.3); this.drawRoundRect(0, 0, w, h, r); this.drawRoundRect(2, 2, w - 4, h - 4, r); this.endFill(); r.br = r.br > 1 ? r.br + 1 : 0; r.bl = r.bl > 1 ? r.bl + 1 : 0; r.tr = r.tr > 1 ? r.tr + 1 : 0; r.tl = r.tl > 1 ? r.tl + 1 : 0; this.beginFill(rectCol, a * 0.3); this.drawRoundRect(1, 1, w - 2, h - 2, r); r.br = r.br > 1 ? r.br - 1 : 0; r.bl = r.bl > 1 ? r.bl - 1 : 0; r.tr = r.tr > 1 ? r.tr - 1 : 0; r.tl = r.tl > 1 ? r.tl - 1 : 0; this.drawRoundRect(2, 2, w - 4, h - 4, r); this.endFill(); } else { var v5; if (r != 0) { v5 = r - 2; } else { v5 = 0; } this.beginFill(rectCol, a * 0.3); this.drawRoundRect(0, 0, w, h, r); this.drawRoundRect(2, 2, w - 4, h - 4, v5); this.endFill(); this.beginFill(rectCol, a * 0.3); if (r != 0) { v5 = r - 2; r -= 1; } else { v5 = 0; r = 0; } this.drawRoundRect(1, 1, w - 2, h - 2, r); this.drawRoundRect(2, 2, w - 4, h - 4, v5); this.endFill(); } }; v2.handleEvent = function (e) { if (e.type == 'unload') { this._visible = true; } else { if (e.type == 'resize') { e.target.adjustFocusRect(); } else { if (e.type == 'move') { e.target.adjustFocusRect(); } } } }; v1.classConstruct = function () { mx.core.UIComponent.prototype.drawFocus = function (focused) { var v2 = this._parent.focus_mc; if (!focused) { v2._visible = false; this.removeEventListener('unload', v2); this.removeEventListener('move', v2); this.removeEventListener('resize', v2); } else { if (v2 == undefined) { v2 = this._parent.createChildAtDepth('FocusRect', mx.managers.DepthManager.kTop); v2.tabEnabled = false; this._parent.focus_mc = v2; } else { v2._visible = true; } v2.draw(this); if (v2.getDepth() < this.getDepth()) { v2.setDepthAbove(this); } this.addEventListener('unload', v2); this.addEventListener('move', v2); this.addEventListener('resize', v2); } }; mx.core.UIComponent.prototype.adjustFocusRect = function () { var v2 = this.getStyle('themeColor'); if (v2 == undefined) { v2 = 8453965; } var v3 = this._parent.focus_mc; v3.setSize(this.width + 4, this.height + 4, 0, 100, v2); v3.move(this.x - 2, this.y - 2); }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect; mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return true; }; v1.classConstructed = mx.skins.halo.FocusRect.classConstruct(); v1.DefaultsDependency = mx.skins.halo.Defaults; v1.UIComponentDependency = mx.core.UIComponent; ASSetPropFlags(mx.skins.halo.FocusRect.prototype, null, 1); } #endinitclip } movieClip 101 __Packages.mx.managers.OverlappedWindows { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.OverlappedWindows) { var v1 = function () {}; mx.managers.OverlappedWindows = v1; var v2 = v1.prototype; v1.checkIdle = function (Void) { if (mx.managers.SystemManager.idleFrames > 10) { mx.managers.SystemManager.dispatchEvent({'type': 'idle'}); } else { ++mx.managers.SystemManager.idleFrames; } }; v1.__addEventListener = function (e, o, l) { if (e == 'idle') { if (mx.managers.SystemManager.interval == undefined) { mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100); } } mx.managers.SystemManager._xAddEventListener(e, o, l); }; v1.__removeEventListener = function (e, o, l) { if (e == 'idle') { if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) { clearInterval(mx.managers.SystemManager.interval); } } else { mx.managers.SystemManager._xRemoveEventListener(e, o, l); } }; v1.onMouseDown = function (Void) { mx.managers.SystemManager.idleFrames = 0; mx.managers.SystemManager.isMouseDown = true; var v5 = _root; var v3; var v8 = _root._xmouse; var v7 = _root._ymouse; if (mx.managers.SystemManager.form.modalWindow == undefined) { if (mx.managers.SystemManager.forms.length > 1) { var v6 = mx.managers.SystemManager.forms.length; var v4; v4 = 0; while (v4 < v6) { var v2 = mx.managers.SystemManager.forms[v4]; if (v2._visible) { if (v2.hitTest(v8, v7)) { if (v3 == undefined) { v3 = v2.getDepth(); v5 = v2; } else { if (v3 < v2.getDepth()) { v3 = v2.getDepth(); v5 = v2; } } } } ++v4; } if (v5 != mx.managers.SystemManager.form) { mx.managers.SystemManager.activate(v5); } } } var v9 = mx.managers.SystemManager.form; v9.focusManager._onMouseDown(); }; v1.onMouseMove = function (Void) { mx.managers.SystemManager.idleFrames = 0; }; v1.onMouseUp = function (Void) { mx.managers.SystemManager.isMouseDown = false; mx.managers.SystemManager.idleFrames = 0; }; v1.activate = function (f) { if (mx.managers.SystemManager.form != undefined) { if (mx.managers.SystemManager.form != f && mx.managers.SystemManager.forms.length > 1) { var v1 = mx.managers.SystemManager.form; v1.focusManager.deactivate(); } } mx.managers.SystemManager.form = f; f.focusManager.activate(); }; v1.deactivate = function (f) { if (mx.managers.SystemManager.form != undefined) { if (mx.managers.SystemManager.form == f && mx.managers.SystemManager.forms.length > 1) { var v5 = mx.managers.SystemManager.form; v5.focusManager.deactivate(); var v3 = mx.managers.SystemManager.forms.length; var v1; var v2; v1 = 0; while (v1 < v3) { if (mx.managers.SystemManager.forms[v1] == f) { v1 += 1; while (v1 < v3) { if (mx.managers.SystemManager.forms[v1]._visible == true) { v2 = mx.managers.SystemManager.forms[v1]; } ++v1; } mx.managers.SystemManager.form = v2; break; } else { if (mx.managers.SystemManager.forms[v1]._visible == true) { v2 = mx.managers.SystemManager.forms[v1]; } } ++v1; } v5 = mx.managers.SystemManager.form; v5.focusManager.activate(); } } }; v1.addFocusManager = function (f) { mx.managers.SystemManager.forms.push(f); mx.managers.SystemManager.activate(f); }; v1.removeFocusManager = function (f) { var v3 = mx.managers.SystemManager.forms.length; var v1; v1 = 0; while (v1 < v3) { if (mx.managers.SystemManager.forms[v1] == f) { if (mx.managers.SystemManager.form == f) { mx.managers.SystemManager.deactivate(f); } mx.managers.SystemManager.forms.splice(v1, 1); return undefined; } ++v1; } }; v1.enableOverlappedWindows = function () { if (!mx.managers.OverlappedWindows.initialized) { mx.managers.OverlappedWindows.initialized = true; mx.managers.SystemManager.checkIdle = mx.managers.OverlappedWindows.checkIdle; mx.managers.SystemManager.__addEventListener = mx.managers.OverlappedWindows.__addEventListener; mx.managers.SystemManager.__removeEventListener = mx.managers.OverlappedWindows.__removeEventListener; mx.managers.SystemManager.onMouseDown = mx.managers.OverlappedWindows.onMouseDown; mx.managers.SystemManager.onMouseMove = mx.managers.OverlappedWindows.onMouseMove; mx.managers.SystemManager.onMouseUp = mx.managers.OverlappedWindows.onMouseUp; mx.managers.SystemManager.activate = mx.managers.OverlappedWindows.activate; mx.managers.SystemManager.deactivate = mx.managers.OverlappedWindows.deactivate; mx.managers.SystemManager.addFocusManager = mx.managers.OverlappedWindows.addFocusManager; mx.managers.SystemManager.removeFocusManager = mx.managers.OverlappedWindows.removeFocusManager; } }; v1.initialized = false; v1.SystemManagerDependency = mx.managers.SystemManager; ASSetPropFlags(mx.managers.OverlappedWindows.prototype, null, 1); } #endinitclip } movieClip 102 __Packages.mx.styles.CSSSetStyle { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.styles) { _global.mx.styles = new Object(); } if (!_global.mx.styles.CSSSetStyle) { var v1 = function () {}; mx.styles.CSSSetStyle = v1; var v2 = v1.prototype; v2._setStyle = function (styleProp, newValue) { this[styleProp] = newValue; if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) { if (styleProp == 'color') { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } } _level0.changeTextStyleInChildren(styleProp); return undefined; } if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } if (styleProp == 'themeColor') { var v7 = mx.styles.StyleManager.colorNames.haloBlue; var v6 = mx.styles.StyleManager.colorNames.haloGreen; var v8 = mx.styles.StyleManager.colorNames.haloOrange; var v4 = {}; v4[v7] = 12188666; v4[v6] = 13500353; v4[v8] = 16766319; var v5 = {}; v5[v7] = 13958653; v5[v6] = 14942166; v5[v8] = 16772787; var v9 = v4[newValue]; var v10 = v5[newValue]; if (v9 == undefined) { v9 = newValue; } if (v10 == undefined) { v10 = newValue; } this.setStyle('selectionColor', v9); this.setStyle('rollOverColor', v10); } _level0.changeColorStyleInChildren(this.styleName, styleProp, newValue); } else { if (styleProp == 'backgroundColor' && isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } _level0.notifyStyleChangeInChildren(this.styleName, styleProp, newValue); } }; v2.changeTextStyleInChildren = function (styleProp) { var v4 = getTimer(); var v5; for (v5 in this) { var v2 = this[v5]; if (v2._parent == this) { if (v2.searchKey != v4) { if (v2.stylecache != undefined) { delete v2.stylecache.tf; delete v2.stylecache[styleProp]; } v2.invalidateStyle(styleProp); v2.changeTextStyleInChildren(styleProp); v2.searchKey = v4; } } } }; v2.changeColorStyleInChildren = function (sheetName, colorStyle, newValue) { var v6 = getTimer(); var v7; for (v7 in this) { var v2 = this[v7]; if (v2._parent == this) { if (v2.searchKey != v6) { if (v2.getStyleName() == sheetName || sheetName == undefined || sheetName == '_global') { if (v2.stylecache != undefined) { delete v2.stylecache[colorStyle]; } if (typeof v2._color == 'string') { if (v2._color == colorStyle) { var v4 = v2.getStyle(colorStyle); if (colorStyle == 'color') { if (this.stylecache.tf.color != undefined) { this.stylecache.tf.color = v4; } } v2.setColor(v4); } } else { if (v2._color[colorStyle] != undefined) { if (typeof v2 != 'movieclip') { v2._parent.invalidateStyle(); } else { v2.invalidateStyle(colorStyle); } } } } v2.changeColorStyleInChildren(sheetName, colorStyle, newValue); v2.searchKey = v6; } } } }; v2.notifyStyleChangeInChildren = function (sheetName, styleProp, newValue) { var v5 = getTimer(); var v6; for (v6 in this) { var v2 = this[v6]; if (v2._parent == this) { if (v2.searchKey != v5) { if (v2.styleName == sheetName || v2.styleName != undefined && typeof v2.styleName == 'movieclip' || sheetName == undefined) { if (v2.stylecache != undefined) { delete v2.stylecache[styleProp]; delete v2.stylecache.tf; } delete v2.enabledColor; v2.invalidateStyle(styleProp); } v2.notifyStyleChangeInChildren(sheetName, styleProp, newValue); v2.searchKey = v5; } } } }; v2.setStyle = function (styleProp, newValue) { if (this.stylecache != undefined) { delete this.stylecache[styleProp]; delete this.stylecache.tf; } this[styleProp] = newValue; if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } if (styleProp == 'themeColor') { var v10 = mx.styles.StyleManager.colorNames.haloBlue; var v9 = mx.styles.StyleManager.colorNames.haloGreen; var v11 = mx.styles.StyleManager.colorNames.haloOrange; var v6 = {}; v6[v10] = 12188666; v6[v9] = 13500353; v6[v11] = 16766319; var v7 = {}; v7[v10] = 13958653; v7[v9] = 14942166; v7[v11] = 16772787; var v12 = v6[newValue]; var v13 = v7[newValue]; if (v12 == undefined) { v12 = newValue; } if (v13 == undefined) { v13 = newValue; } this.setStyle('selectionColor', v12); this.setStyle('rollOverColor', v13); } if (typeof this._color == 'string') { if (this._color == styleProp) { if (styleProp == 'color') { if (this.stylecache.tf.color != undefined) { this.stylecache.tf.color = newValue; } } this.setColor(newValue); } } else { if (this._color[styleProp] != undefined) { this.invalidateStyle(styleProp); } } this.changeColorStyleInChildren(undefined, styleProp, newValue); } else { if (styleProp == 'backgroundColor' && isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } this.invalidateStyle(styleProp); } if (mx.styles.StyleManager.isInheritingStyle(styleProp) || styleProp == 'styleName') { var v8; var v5 = newValue; if (styleProp == 'styleName') { v8 = (typeof newValue == 'string') ? _global.styles[newValue] : v5; v5 = v8.themeColor; if (v5 != undefined) { v8.selectionColor = v5; v8.rollOverColor = v8.selectionColor; } } this.notifyStyleChangeInChildren(undefined, styleProp, newValue); } }; v1.enableRunTimeCSS = function () {}; v1.classConstruct = function () { var v2 = MovieClip.prototype; var v3 = mx.styles.CSSSetStyle.prototype; mx.styles.CSSStyleDeclaration.prototype.setStyle = v3._setStyle; v2.changeTextStyleInChildren = v3.changeTextStyleInChildren; v2.changeColorStyleInChildren = v3.changeColorStyleInChildren; v2.notifyStyleChangeInChildren = v3.notifyStyleChangeInChildren; v2.setStyle = v3.setStyle; _global.ASSetPropFlags(v2, 'changeTextStyleInChildren', 1); _global.ASSetPropFlags(v2, 'changeColorStyleInChildren', 1); _global.ASSetPropFlags(v2, 'notifyStyleChangeInChildren', 1); _global.ASSetPropFlags(v2, 'setStyle', 1); var v4 = TextField.prototype; v4.setStyle = v2.setStyle; v4.changeTextStyleInChildren = v3.changeTextStyleInChildren; return true; }; v1.classConstructed = mx.styles.CSSSetStyle.classConstruct(); v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; ASSetPropFlags(mx.styles.CSSSetStyle.prototype, null, 1); } #endinitclip } movieClip 103 __Packages.mx.core.ext.UIComponentExtensions { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ext) { _global.mx.core.ext = new Object(); } if (!_global.mx.core.ext.UIComponentExtensions) { var v1 = function () {}; mx.core.ext.UIComponentExtensions = v1; var v2 = v1.prototype; v1.Extensions = function () { if (mx.core.ext.UIComponentExtensions.bExtended == true) { return true; } mx.core.ext.UIComponentExtensions.bExtended = true; TextField.prototype.setFocus = function () { Selection.setFocus(this); }; TextField.prototype.onSetFocus = function (oldFocus) { if (this.tabEnabled != false) { if ((this.getFocusManager()).bDrawFocus) { this.drawFocus(true); } } }; TextField.prototype.onKillFocus = function (oldFocus) { if (this.tabEnabled != false) { this.drawFocus(false); } }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager; mx.managers.OverlappedWindows.enableOverlappedWindows(); mx.styles.CSSSetStyle.enableRunTimeCSS(); mx.managers.FocusManager.enableFocusManagement(); }; v1.bExtended = false; v1.UIComponentExtended = mx.core.ext.UIComponentExtensions.Extensions(); v1.UIComponentDependency = mx.core.UIComponent; v1.FocusManagerDependency = mx.managers.FocusManager; v1.OverlappedWindowsDependency = mx.managers.OverlappedWindows; ASSetPropFlags(mx.core.ext.UIComponentExtensions.prototype, null, 1); } #endinitclip } movieClip 104 __Packages.mx.controls.Button { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.Button) { var v1 = function () { super(); }; mx.controls.Button = v1; var v2 = new mx.controls.SimpleButton(); mx.controls.Button.prototype = v2; v2.init = function (Void) { super.init(); }; v2.draw = function () { if (this.initializing) { this.labelPath.visible = true; } super.draw(); if (this.initIcon != undefined) { this._setIcon(this.initIcon); } delete this.initIcon; }; v2.onRelease = function (Void) { super.onRelease(); }; v2.createChildren = function (Void) { super.createChildren(); }; v2.setSkin = function (tag, linkageName, initobj) { return super.setSkin(tag, linkageName, initobj); }; v2.viewSkin = function (varName) { var v3 = this.getState() ? 'true' : 'false'; v3 += this.enabled ? this.phase : 'disabled'; super.viewSkin(varName, {'styleName': this, 'borderStyle': v3}); }; v2.invalidateStyle = function (c) { this.labelPath.invalidateStyle(c); super.invalidateStyle(c); }; v2.setColor = function (c) { var v2 = 0; while (v2 < 8) { this[this.idNames[v2]].redraw(true); ++v2; } }; v2.setEnabled = function (enable) { this.labelPath.enabled = enable; super.setEnabled(enable); }; v2.calcSize = function (tag, ref) { if (this.__width == undefined || this.__height == undefined) { return undefined; } if (tag < 7) { ref.setSize(this.__width, this.__height, true); } }; v2.size = function (Void) { this.setState(this.getState()); this.setHitArea(this.__width, this.__height); var v3 = 0; while (v3 < 8) { var v4 = this.idNames[v3]; if (typeof this[v4] == 'movieclip') { this[v4].setSize(this.__width, this.__height, true); } ++v3; } super.size(); }; v2.__set__labelPlacement = function (val) { this.__labelPlacement = val; this.invalidate(); return this.__get__labelPlacement(); }; v2.__get__labelPlacement = function () { return this.__labelPlacement; }; v2.getLabelPlacement = function (Void) { return this.__labelPlacement; }; v2.setLabelPlacement = function (val) { this.__labelPlacement = val; this.invalidate(); }; v2.getBtnOffset = function (Void) { if (this.getState()) { var v2 = this.btnOffset; return v2; } if (this.phase == 'down') { v2 = this.btnOffset; return v2; } v2 = 0; return v2; }; v2.setView = function (offset) { var v16 = offset ? this.btnOffset : 0; var v12 = this.getLabelPlacement(); var v7 = 0; var v6 = 0; var v9 = 0; var v8 = 0; var v5 = 0; var v4 = 0; var v3 = this.labelPath; var v2 = this.iconName; var v15 = v3.textWidth; var v14 = v3.textHeight; var v10 = this.__width - this.borderW - this.borderW; var v11 = this.__height - this.borderW - this.borderW; if (v2 != undefined) { v7 = v2._width; v6 = v2._height; } if (v12 == 'left' || v12 == 'right') { if (v3 != undefined) { v9 = Math.min(v10 - v7, v15 + 5); v3._width = v9; v8 = Math.min(v11, v14 + 5); v3._height = v8; } if (v12 == 'right') { v5 = v7; if (this.centerContent) { v5 += (v10 - v9 - v7) / 2; } v2._x = v5 - v7; } else { v5 = v10 - v9 - v7; if (this.centerContent) { v5 /= 2; } v2._x = v5 + v9; } v4 = 0; v2._y = v4; if (this.centerContent) { v2._y = (v11 - v6) / 2; v4 = (v11 - v8) / 2; } if (!this.centerContent) { v2._y += Math.max(0, (v8 - v6) / 2); } } else { if (v3 != undefined) { v9 = Math.min(v10, v15 + 5); v3._width = v9; v8 = Math.min(v11 - v6, v14 + 5); v3._height = v8; } v5 = (v10 - v9) / 2; v2._x = (v10 - v7) / 2; if (v12 == 'top') { v4 = v11 - v8 - v6; if (this.centerContent) { v4 /= 2; } v2._y = v4 + v8; } else { v4 = v6; if (this.centerContent) { v4 += (v11 - v8 - v6) / 2; } v2._y = v4 - v6; } } var v13 = this.borderW + v16; v3._x = v5 + v13; v3._y = v4 + v13; v2._x += v13; v2._y += v13; }; v2.__set__label = function (lbl) { this.setLabel(lbl); return this.__get__label(); }; v2.setLabel = function (label) { if (label == '') { this.labelPath.removeTextField(); this.refresh(); return undefined; } if (this.labelPath == undefined) { var v2 = this.createLabel('labelPath', 200, label); v2._width = v2.textWidth + 5; v2._height = v2.textHeight + 5; if (this.initializing) { v2.visible = false; } } else { delete this.labelPath.__text; this.labelPath.text = label; this.refresh(); } }; v2.getLabel = function (Void) { return (this.labelPath.__text != undefined) ? this.labelPath.__text : this.labelPath.text; }; v2.__get__label = function () { return this.getLabel(); }; v2._getIcon = function (Void) { return this._iconLinkageName; }; v2.__get__icon = function () { if (this.initializing) { return this.initIcon; } return this._iconLinkageName; }; v2._setIcon = function (linkage) { if (this.initializing) { if (linkage == '') { return undefined; } this.initIcon = linkage; } else { if (linkage == '') { this.removeIcons(); return undefined; } super.changeIcon(0, linkage); super.changeIcon(1, linkage); super.changeIcon(3, linkage); super.changeIcon(4, linkage); super.changeIcon(5, linkage); this._iconLinkageName = linkage; this.refresh(); } }; v2.__set__icon = function (linkage) { this._setIcon(linkage); return this.__get__icon(); }; v2.setHitArea = function (w, h) { if (this.hitArea_mc == undefined) { this.createEmptyObject('hitArea_mc', 100); } var v2 = this.hitArea_mc; v2.clear(); v2.beginFill(16711680); v2.drawRect(0, 0, w, h); v2.endFill(); v2.setVisible(false); }; v1.symbolName = 'Button'; v1.symbolOwner = mx.controls.Button; v2.className = 'Button'; v1.version = '2.0.2.127'; v2.btnOffset = 0; v2._color = 'buttonColor'; v2.__label = 'default value'; v2.__labelPlacement = 'right'; v2.falseUpSkin = 'ButtonSkin'; v2.falseDownSkin = 'ButtonSkin'; v2.falseOverSkin = 'ButtonSkin'; v2.falseDisabledSkin = 'ButtonSkin'; v2.trueUpSkin = 'ButtonSkin'; v2.trueDownSkin = 'ButtonSkin'; v2.trueOverSkin = 'ButtonSkin'; v2.trueDisabledSkin = 'ButtonSkin'; v2.falseUpIcon = ''; v2.falseDownIcon = ''; v2.falseOverIcon = ''; v2.falseDisabledIcon = ''; v2.trueUpIcon = ''; v2.trueDownIcon = ''; v2.trueOverIcon = ''; v2.trueDisabledIcon = ''; v2.clipParameters = {'labelPlacement': 1, 'icon': 1, 'toggle': 1, 'selected': 1, 'label': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters); v2.centerContent = true; v2.borderW = 1; v2.addProperty('icon', v2.__get__icon, v2.__set__icon); v2.addProperty('label', v2.__get__label, v2.__set__label); v2.addProperty('labelPlacement', v2.__get__labelPlacement, v2.__set__labelPlacement); ASSetPropFlags(mx.controls.Button.prototype, null, 1); } #endinitclip } movieClip 105 __Packages.mx.controls.CheckBox { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.CheckBox) { var v1 = function () { super(); }; mx.controls.CheckBox = v1; var v2 = new mx.controls.Button(); mx.controls.CheckBox.prototype = v2; v2.onRelease = function () { super.onRelease(); }; v2.init = function () { super.init(); }; v2.size = function () { super.size(); }; v2.__get__emphasized = function () { return undefined; }; v2.calcPreferredHeight = function () { var v5 = this._getTextFormat(); var v3 = (v5.getTextExtent2(this.labelPath.text)).height; var v4 = this.iconName._height; var v2 = 0; if (this.__labelPlacement == 'left' || this.__labelPlacement == 'right') { v2 = Math.max(v3, v4); return Math.max(14, v2); } v2 = v3 + v4; return Math.max(14, v2); }; v2.__set__toggle = function (v) { return this.__get__toggle(); }; v2.__get__toggle = function () {}; v2.__set__icon = function (v) { return this.__get__icon(); }; v2.__get__icon = function () {}; v1.symbolName = 'CheckBox'; v1.symbolOwner = mx.controls.CheckBox; v1.version = '2.0.2.127'; v2.className = 'CheckBox'; v2.ignoreClassStyleDeclaration = {'Button': 1}; v2.btnOffset = 0; v2.__toggle = true; v2.__selected = false; v2.__labelPlacement = 'right'; v2.__label = 'CheckBox'; v2.falseUpSkin = ''; v2.falseDownSkin = ''; v2.falseOverSkin = ''; v2.falseDisabledSkin = ''; v2.trueUpSkin = ''; v2.trueDownSkin = ''; v2.trueOverSkin = ''; v2.trueDisabledSkin = ''; v2.falseUpIcon = 'CheckFalseUp'; v2.falseDownIcon = 'CheckFalseDown'; v2.falseOverIcon = 'CheckFalseOver'; v2.falseDisabledIcon = 'CheckFalseDisabled'; v2.trueUpIcon = 'CheckTrueUp'; v2.trueDownIcon = 'CheckTrueDown'; v2.trueOverIcon = 'CheckTrueOver'; v2.trueDisabledIcon = 'CheckTrueDisabled'; v2.clipParameters = {'label': 1, 'labelPlacement': 1, 'selected': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.CheckBox.prototype.clipParameters, mx.controls.Button.prototype.clipParameters); v2.centerContent = false; v2.borderW = 0; v2.addProperty('emphasized', v2.__get__emphasized, function () {}); v2.addProperty('icon', v2.__get__icon, v2.__set__icon); v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle); ASSetPropFlags(mx.controls.CheckBox.prototype, null, 1); } #endinitclip } movieClip 138 __Packages.mx.skins.Border { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.Border) { var v1 = function () { super(); }; mx.skins.Border = v1; var v2 = new mx.core.UIObject(); mx.skins.Border.prototype = v2; v2.init = function (Void) { super.init(); }; v1.symbolName = 'Border'; v1.symbolOwner = mx.skins.Border; v2.className = 'Border'; v2.tagBorder = 0; v2.idNames = new Array('border_mc'); ASSetPropFlags(mx.skins.Border.prototype, null, 1); } #endinitclip } movieClip 139 __Packages.mx.skins.RectBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.RectBorder) { var v1 = function () { super(); }; mx.skins.RectBorder = v1; var v2 = new mx.skins.Border(); mx.skins.RectBorder.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.init = function (Void) { super.init(); }; v2.draw = function (Void) { this.size(); }; v2.getBorderMetrics = function (Void) { var v2 = this.offset; if (this.__borderMetrics == undefined) { this.__borderMetrics = {'left': v2, 'top': v2, 'right': v2, 'bottom': v2}; return this.__borderMetrics; } this.__borderMetrics.left = v2; this.__borderMetrics.top = v2; this.__borderMetrics.right = v2; this.__borderMetrics.bottom = v2; return this.__borderMetrics; }; v2.__get__borderMetrics = function () { return this.getBorderMetrics(); }; v2.drawBorder = function (Void) {}; v2.size = function (Void) { this.drawBorder(); }; v2.setColor = function (Void) { this.drawBorder(); }; v1.symbolName = 'RectBorder'; v1.symbolOwner = mx.skins.RectBorder; v1.version = '2.0.2.127'; v2.className = 'RectBorder'; v2.borderStyleName = 'borderStyle'; v2.borderColorName = 'borderColor'; v2.shadowColorName = 'shadowColor'; v2.highlightColorName = 'highlightColor'; v2.buttonColorName = 'buttonColor'; v2.backgroundColorName = 'backgroundColor'; v2.addProperty('borderMetrics', v2.__get__borderMetrics, function () {}); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1); } #endinitclip } movieClip 140 __Packages.mx.skins.halo.RectBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.RectBorder) { var v1 = function () { super(); }; mx.skins.halo.RectBorder = v1; var v2 = new mx.skins.RectBorder(); mx.skins.halo.RectBorder.prototype = v2; v2.init = function (Void) { this.borderWidths.default = 3; super.init(); }; v2.getBorderMetrics = function (Void) { if (this.offset == undefined) { var v3 = this.getStyle(this.borderStyleName); this.offset = this.borderWidths[v3]; } if (this.getStyle(this.borderStyleName) == 'default' || this.getStyle(this.borderStyleName) == 'alert') { this.__borderMetrics = {'left': 3, 'top': 1, 'right': 3, 'bottom': 3}; return this.__borderMetrics; } return super.getBorderMetrics(); }; v2.drawBorder = function (Void) { var v6 = _global.styles[this.className]; if (v6 == undefined) { v6 = _global.styles.RectBorder; } var v5 = this.getStyle(this.borderStyleName); var v7 = this.getStyle(this.borderColorName); if (v7 == undefined) { v7 = v6[this.borderColorName]; } var v8 = this.getStyle(this.backgroundColorName); if (v8 == undefined) { v8 = v6[this.backgroundColorName]; } var v16 = this.getStyle('backgroundImage'); if (v5 != 'none') { var v14 = this.getStyle(this.shadowColorName); if (v14 == undefined) { v14 = v6[this.shadowColorName]; } var v13 = this.getStyle(this.highlightColorName); if (v13 == undefined) { v13 = v6[this.highlightColorName]; } var v12 = this.getStyle(this.buttonColorName); if (v12 == undefined) { v12 = v6[this.buttonColorName]; } var v11 = this.getStyle(this.borderCapColorName); if (v11 == undefined) { v11 = v6[this.borderCapColorName]; } var v10 = this.getStyle(this.shadowCapColorName); if (v10 == undefined) { v10 = v6[this.shadowCapColorName]; } } this.offset = this.borderWidths[v5]; var v9 = this.offset; var v3 = this.__get__width(); var v4 = this.__get__height(); this.clear(); this._color = undefined; if (v5 == 'none') { } else { if (v5 == 'inset') { this._color = this.colorList; this.draw3dBorder(v11, v12, v7, v13, v14, v10); } else { if (v5 == 'outset') { this._color = this.colorList; this.draw3dBorder(v11, v7, v12, v14, v13, v10); } else { if (v5 == 'alert') { var v15 = this.getStyle('themeColor'); this.drawRoundRect(0, 5, v3, v4 - 5, 5, 6184542, 10); this.drawRoundRect(1, 4, v3 - 2, v4 - 5, 4, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, v15, 50); this.drawRoundRect(3, 1, v3 - 6, v4 - 4, 2, 16777215, 100); } else { if (v5 == 'default') { this.drawRoundRect(0, 5, v3, v4 - 5, {'tl': 5, 'tr': 5, 'br': 0, 'bl': 0}, 6184542, 10); this.drawRoundRect(1, 4, v3 - 2, v4 - 5, {'tl': 4, 'tr': 4, 'br': 0, 'bl': 0}, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, {'tl': 3, 'tr': 3, 'br': 0, 'bl': 0}, [12897484, 11844796], 100, 0, 'radial'); this.drawRoundRect(3, 1, v3 - 6, v4 - 4, {'tl': 2, 'tr': 2, 'br': 0, 'bl': 0}, 16777215, 100); } else { if (v5 == 'dropDown') { this.drawRoundRect(0, 0, v3 + 1, v4, {'tl': 4, 'tr': 0, 'br': 0, 'bl': 4}, [13290186, 7895160], 100, -10, 'linear'); this.drawRoundRect(1, 1, v3 - 1, v4 - 2, {'tl': 3, 'tr': 0, 'br': 0, 'bl': 3}, 16777215, 100); } else { if (v5 == 'menuBorder') { var v15 = this.getStyle('themeColor'); this.drawRoundRect(4, 4, v3 - 2, v4 - 3, 0, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(4, 4, v3 - 1, v4 - 2, 0, 6184542, 10); this.drawRoundRect(0, 0, v3 + 1, v4, 0, [0, 14342874], 100, 250, 'linear'); this.drawRoundRect(0, 0, v3 + 1, v4, 0, v15, 50); this.drawRoundRect(2, 2, v3 - 3, v4 - 4, 0, 16777215, 100); } else { if (v5 == 'comboNonEdit') { } else { this.beginFill(v7); this.drawRect(0, 0, v3, v4); this.drawRect(1, 1, v3 - 1, v4 - 1); this.endFill(); this._color = this.borderColorName; } } } } } } } } if (v8 != undefined) { this.beginFill(v8); this.drawRect(v9, v9, this.__get__width() - v9, this.__get__height() - v9); this.endFill(); } }; v2.draw3dBorder = function (c1, c2, c3, c4, c5, c6) { var v3 = this.__get__width(); var v2 = this.__get__height(); this.beginFill(c1); this.drawRect(0, 0, v3, v2); this.drawRect(1, 0, v3 - 1, v2); this.endFill(); this.beginFill(c2); this.drawRect(1, 0, v3 - 1, 1); this.endFill(); this.beginFill(c3); this.drawRect(1, v2 - 1, v3 - 1, v2); this.endFill(); this.beginFill(c4); this.drawRect(1, 1, v3 - 1, 2); this.endFill(); this.beginFill(c5); this.drawRect(1, v2 - 2, v3 - 1, v2 - 1); this.endFill(); this.beginFill(c6); this.drawRect(1, 2, v3 - 1, v2 - 2); this.drawRect(2, 2, v3 - 2, v2 - 2); this.endFill(); }; v1.classConstruct = function () { mx.core.ext.UIObjectExtensions.Extensions(); _global.styles.rectBorderClass = mx.skins.halo.RectBorder; _global.skinRegistry.RectBorder = true; return true; }; v1.symbolName = 'RectBorder'; v1.symbolOwner = mx.skins.halo.RectBorder; v1.version = '2.0.2.127'; v2.borderCapColorName = 'borderCapColor'; v2.shadowCapColorName = 'shadowCapColor'; v2.colorList = {'highlightColor': 0, 'borderColor': 0, 'buttonColor': 0, 'shadowColor': 0, 'borderCapColor': 0, 'shadowCapColor': 0}; v2.borderWidths = {'none': 0, 'solid': 1, 'inset': 2, 'outset': 2, 'alert': 3, 'dropDown': 2, 'menuBorder': 2, 'comboNonEdit': 2}; v1.classConstructed = mx.skins.halo.RectBorder.classConstruct(); v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; ASSetPropFlags(mx.skins.halo.RectBorder.prototype, null, 1); } #endinitclip } movieClip 141 __Packages.mx.skins.halo.ButtonSkin { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.ButtonSkin) { var v1 = function () { super(); }; mx.skins.halo.ButtonSkin = v1; var v2 = new mx.skins.RectBorder(); mx.skins.halo.ButtonSkin.prototype = v2; v2.init = function () { super.init(); }; v2.size = function () { this.drawHaloRect(this.__get__width(), this.__get__height()); }; v2.drawHaloRect = function (w, h) { var v6 = this.getStyle('borderStyle'); var v4 = this.getStyle('themeColor'); var v5 = this._parent.emphasized; this.clear(); switch (v6) { case 'falseup': if (v5) { this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 75); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 75); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100); } else { this.drawRoundRect(0, 0, w, h, 5, 9542041, 100); this.drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, 'radial'); this.drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, 'radial'); this.drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100); } break; case 'falsedown': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, v4, 20); break; case 'falserollover': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 50); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 50); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case 'falsedisabled': this.drawRoundRect(0, 0, w, h, 5, 13159628, 100); this.drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); this.drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); this.drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); break; case 'trueup': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 10066329, 100); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16250871, 100); break; case 'truedown': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 10066329, 100); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, v4, 20); break; case 'truerollover': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 50); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 40); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 40); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case 'truedisabled': this.drawRoundRect(0, 0, w, h, 5, 13159628, 100); this.drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); this.drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); this.drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); } }; v1.classConstruct = function () { mx.core.ext.UIObjectExtensions.Extensions(); _global.skinRegistry.ButtonSkin = true; return true; }; v1.symbolName = 'ButtonSkin'; v1.symbolOwner = mx.skins.halo.ButtonSkin; v2.className = 'ButtonSkin'; v2.backgroundColorName = 'buttonColor'; v1.classConstructed = mx.skins.halo.ButtonSkin.classConstruct(); v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; ASSetPropFlags(mx.skins.halo.ButtonSkin.prototype, null, 1); } #endinitclip } movieClip 142 __Packages.mx.controls.listclasses.DataSelector { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.listclasses) { _global.mx.controls.listclasses = new Object(); } if (!_global.mx.controls.listclasses.DataSelector) { var v1 = function () { super(); }; mx.controls.listclasses.DataSelector = v1; var v2 = new Object(); mx.controls.listclasses.DataSelector.prototype = v2; v1.Initialize = function (obj) { var v3 = mx.controls.listclasses.DataSelector.mixinProps; var v4 = v3.length; obj = obj.prototype; var v1 = 0; while (v1 < v4) { obj[v3[v1]] = mx.controls.listclasses.DataSelector.mixins[v3[v1]]; ++v1; } mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'dataProvider', true); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'length', false); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'value', false); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedIndex', true); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedIndices', true); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedItems', false); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedItem', true); return true; }; v2.createProp = function (obj, propName, setter) { var p = (propName.charAt(0)).toUpperCase() + propName.substr(1); var v2 = null; var v4 = function (Void) { return this['get' + p](); }; if (setter) { v2 = function (val) { this['set' + p](val); }; } obj.addProperty(propName, v4, v2); }; v2.setDataProvider = function (dP) { if (this.__vPosition != 0) { this.setVPosition(0); } this.clearSelected(); this.__dataProvider.removeEventListener(this); this.__dataProvider = dP; dP.addEventListener('modelChanged', this); dP.addView(this); this.modelChanged({'eventName': 'updateAll'}); }; v2.getDataProvider = function (Void) { return this.__dataProvider; }; v2.addItemAt = function (index, label, data) { if (index < 0 || !this.enabled) { return undefined; } var v2 = this.__dataProvider; if (v2 == undefined) { this.__dataProvider = new Array(); v2 = this.__dataProvider; v2.addEventListener('modelChanged', this); index = 0; } if (typeof label == 'object' || typeof v2.getItemAt(0) == 'string') { v2.addItemAt(index, label); } else { v2.addItemAt(index, {'label': label, 'data': data}); } }; v2.addItem = function (label, data) { this.addItemAt(this.__dataProvider.length, label, data); }; v2.removeItemAt = function (index) { return this.__dataProvider.removeItemAt(index); }; v2.removeAll = function (Void) { this.__dataProvider.removeAll(); }; v2.replaceItemAt = function (index, newLabel, newData) { if (typeof newLabel == 'object') { this.__dataProvider.replaceItemAt(index, newLabel); } else { this.__dataProvider.replaceItemAt(index, {'label': newLabel, 'data': newData}); } }; v2.sortItemsBy = function (fieldName, order) { this.lastSelID = this.__dataProvider.getItemID(this.lastSelected); this.__dataProvider.sortItemsBy(fieldName, order); }; v2.sortItems = function (compareFunc, order) { this.lastSelID = this.__dataProvider.getItemID(this.lastSelected); this.__dataProvider.sortItems(compareFunc, order); }; v2.getLength = function (Void) { return this.__dataProvider.length; }; v2.getItemAt = function (index) { return this.__dataProvider.getItemAt(index); }; v2.modelChanged = function (eventObj) { var v3 = eventObj.firstItem; var v6 = eventObj.lastItem; var v7 = eventObj.eventName; if (v7 == undefined) { v7 = eventObj.event; v3 = eventObj.firstRow; v6 = eventObj.lastRow; if (v7 == 'addRows') { eventObj.eventName = 'addItems'; v7 = 'addItems'; } else { if (v7 == 'deleteRows') { eventObj.eventName = 'removeItems'; v7 = 'removeItems'; } else { if (v7 == 'updateRows') { eventObj.eventName = 'updateItems'; v7 = 'updateItems'; } } } } if (v7 == 'addItems') { for (var v2 in this.selected) { var v5 = this.selected[v2]; if (v5 != undefined && v5 >= v3) { this.selected[v2] += v6 - v3 + 1; } } } else { if (v7 == 'removeItems') { if (this.__dataProvider.length == 0) { delete this.selected; } else { var v9 = eventObj.removedIDs; var v10 = v9.length; var v2 = 0; while (v2 < v10) { var v4 = v9[v2]; if (this.selected[v4] != undefined) { delete this.selected[v4]; } ++v2; } for (v2 in this.selected) { if (this.selected[v2] >= v3) { this.selected[v2] -= v6 - v3 + 1; } } } } else { if (v7 == 'sort') { if (typeof this.__dataProvider.getItemAt(0) != 'object') { delete this.selected; } else { var v10 = this.__dataProvider.length; var v2 = 0; while (v2 < v10) { if (this.isSelected(v2)) { var v4 = this.__dataProvider.getItemID(v2); if (v4 == this.lastSelID) { this.lastSelected = v2; } this.selected[v4] = v2; } ++v2; } } } else { if (v7 == 'filterModel') { this.setVPosition(0); } } } } this.invUpdateControl = true; this.invalidate(); }; v2.getValue = function (Void) { var v2 = this.getSelectedItem(); if (typeof v2 != 'object') { return v2; } return (v2.data == undefined) ? v2.label : v2.data; }; v2.getSelectedIndex = function (Void) { for (var v3 in this.selected) { var v2 = this.selected[v3]; if (v2 != undefined) { return v2; } } }; v2.setSelectedIndex = function (index) { if (index >= 0 && index < this.__dataProvider.length && this.enabled) { delete this.selected; this.selectItem(index, true); this.lastSelected = index; this.invUpdateControl = true; this.invalidate(); } else { if (index == undefined) { this.clearSelected(); } } }; v2.getSelectedIndices = function (Void) { var v2 = new Array(); for (var v3 in this.selected) { v2.push(this.selected[v3]); } v2.reverse(); return v2.length > 0 ? v2 : undefined; }; v2.setSelectedIndices = function (indexArray) { if (this.multipleSelection != true) { return undefined; } delete this.selected; var v3 = 0; while (v3 < indexArray.length) { var v2 = indexArray[v3]; if (v2 >= 0 && v2 < this.__dataProvider.length) { this.selectItem(v2, true); } ++v3; } this.invUpdateControl = true; this.updateControl(); }; v2.getSelectedItems = function (Void) { var v3 = this.getSelectedIndices(); var v4 = new Array(); var v2 = 0; while (v2 < v3.length) { v4.push(this.getItemAt(v3[v2])); ++v2; } return v4.length > 0 ? v4 : undefined; }; v2.getSelectedItem = function (Void) { return this.__dataProvider.getItemAt(this.getSelectedIndex()); }; v2.selectItem = function (index, selectedFlag) { if (this.selected == undefined) { this.selected = new Object(); } var v2 = this.__dataProvider.getItemID(index); if (v2 == undefined) { return undefined; } if (selectedFlag && !this.isSelected(index)) { this.selected[v2] = index; } else { if (!selectedFlag) { delete this.selected[v2]; } } }; v2.isSelected = function (index) { var v2 = this.__dataProvider.getItemID(index); if (v2 == undefined) { return false; } return this.selected[v2] != undefined; }; v2.clearSelected = function (transition) { var v3 = 0; for (var v4 in this.selected) { var v2 = this.selected[v4]; if (v2 != undefined && this.__vPosition <= v2 && v2 < this.__vPosition + this.__rowCount) { this.rows[v2 - this.__vPosition].drawRow(this.rows[v2 - this.__vPosition].item, 'normal', transition && v3 % 3 == 0); } ++v3; } delete this.selected; }; v1.mixins = new mx.controls.listclasses.DataSelector(); v1.mixinProps = ['setDataProvider', 'getDataProvider', 'addItem', 'addItemAt', 'removeAll', 'removeItemAt', 'replaceItemAt', 'sortItemsBy', 'sortItems', 'getLength', 'getItemAt', 'modelChanged', 'calcPreferredWidthFromData', 'calcPreferredHeightFromData', 'getValue', 'getSelectedIndex', 'getSelectedItem', 'getSelectedIndices', 'getSelectedItems', 'selectItem', 'isSelected', 'clearSelected', 'setSelectedIndex', 'setSelectedIndices']; ASSetPropFlags(mx.controls.listclasses.DataSelector.prototype, null, 1); } #endinitclip } movieClip 143 __Packages.mx.controls.ComboBase { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.ComboBase) { var v1 = function () { super(); this.getValue = this._getValue; }; mx.controls.ComboBase = v1; var v2 = new mx.core.UIComponent(); mx.controls.ComboBase.prototype = v2; v2.init = function () { super.init(); this.tabEnabled = !this._editable; this.tabChildren = this._editable; this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; v2.createChildren = function () { var v3 = new Object(); v3.styleName = this; if (this.downArrow_mc == undefined) { v3.falseUpSkin = this.downArrowUpName; v3.falseOverSkin = this.downArrowOverName; v3.falseDownSkin = this.downArrowDownName; v3.falseDisabledSkin = this.downArrowDisabledName; v3.validateNow = true; v3.tabEnabled = false; this.createClassObject(mx.controls.SimpleButton, 'downArrow_mc', 19, v3); this.downArrow_mc.buttonDownHandler = this.onDownArrow; this.downArrow_mc.useHandCursor = false; this.downArrow_mc.onPressWas = this.downArrow_mc.onPress; this.downArrow_mc.onPress = function () { this.trackAsMenuWas = this.trackAsMenu; this.trackAsMenu = true; if (!this._editable) { this._parent.text_mc.trackAsMenu = this.trackAsMenu; } this.onPressWas(); }; this.downArrow_mc.onDragOutWas = this.downArrow_mc.onDragOut; this.downArrow_mc.onDragOut = function () { this.trackAsMenuWas = this.trackAsMenu; this.trackAsMenu = false; if (!this._editable) { this._parent.text_mc.trackAsMenu = this.trackAsMenu; } this.onDragOutWas(); }; this.downArrow_mc.onDragOverWas = this.downArrow_mc.onDragOver; this.downArrow_mc.onDragOver = function () { this.trackAsMenu = this.trackAsMenuWas; if (!this._editable) { this._parent.text_mc.trackAsMenu = this.trackAsMenu; } this.onDragOverWas(); }; } if (this.border_mc == undefined) { v3.tabEnabled = false; this.createClassObject(_global.styles.rectBorderClass, 'border_mc', 17, v3); this.border_mc.move(0, 0); this.__border = this.border_mc; } v3.borderStyle = 'none'; v3.readOnly = !this._editable; v3.tabEnabled = this._editable; if (this.text_mc == undefined) { this.createClassObject(mx.controls.TextInput, 'text_mc', 18, v3); this.text_mc.move(0, 0); this.text_mc.addEnterEvents(); this.text_mc.enterHandler = this._enterHandler; this.text_mc.changeHandler = this._changeHandler; this.text_mc.oldOnSetFocus = this.text_mc.onSetFocus; this.text_mc.onSetFocus = function () { this.oldOnSetFocus(); this._parent.onSetFocus(); }; this.text_mc.__set__restrict('^'); this.text_mc.oldOnKillFocus = this.text_mc.onKillFocus; this.text_mc.onKillFocus = function (n) { this.oldOnKillFocus(n); this._parent.onKillFocus(n); }; this.text_mc.drawFocus = function (b) { this._parent.drawFocus(b); }; delete this.text_mc.borderStyle; } this.focusTextField = this.text_mc; this.text_mc.owner = this; this.layoutChildren(this.__width, this.__height); }; v2.onKillFocus = function () { super.onKillFocus(); Key.removeListener(this.text_mc); (this.getFocusManager()).defaultPushButtonEnabled = true; }; v2.onSetFocus = function () { super.onSetFocus(); (this.getFocusManager()).defaultPushButtonEnabled = false; Key.addListener(this.text_mc); }; v2.setFocus = function () { if (this._editable) { Selection.setFocus(this.text_mc); } else { Selection.setFocus(this); } }; v2.setSize = function (w, h, noEvent) { super.setSize(w, (h == undefined) ? this.__get__height() : h, noEvent); }; v2.setEnabled = function (enabledFlag) { super.setEnabled(enabledFlag); this.downArrow_mc.enabled = enabledFlag; this.text_mc.enabled = enabledFlag; }; v2.setEditable = function (e) { this._editable = e; if (this.wrapDownArrowButton == false) { if (e) { this.border_mc.borderStyle = 'inset'; this.text_mc.borderStyle = 'inset'; mx.controls.ComboBase.symbolName = 'ComboBox'; this.invalidateStyle(); } else { this.border_mc.borderStyle = 'comboNonEdit'; this.text_mc.borderStyle = 'dropDown'; mx.controls.ComboBase.symbolName = 'DropDown'; this.invalidateStyle(); } } this.tabEnabled = !e; this.tabChildren = e; this.text_mc.tabEnabled = e; if (e) { delete this.text_mc.onPress; delete this.text_mc.onRelease; delete this.text_mc.onReleaseOutside; delete this.text_mc.onDragOut; delete this.text_mc.onDragOver; delete this.text_mc.onRollOver; delete this.text_mc.onRollOut; } else { this.text_mc.onPress = function () { this._parent.downArrow_mc.onPress(); }; this.text_mc.onRelease = function () { this._parent.downArrow_mc.onRelease(); }; this.text_mc.onReleaseOutside = function () { this._parent.downArrow_mc.onReleaseOutside(); }; this.text_mc.onDragOut = function () { this._parent.downArrow_mc.onDragOut(); }; this.text_mc.onDragOver = function () { this._parent.downArrow_mc.onDragOver(); }; this.text_mc.onRollOver = function () { this._parent.downArrow_mc.onRollOver(); }; this.text_mc.onRollOut = function () { this._parent.downArrow_mc.onRollOut(); }; this.text_mc.useHandCursor = false; } }; v2.__get__editable = function () { return this._editable; }; v2.__set__editable = function (e) { this.setEditable(e); return this.__get__editable(); }; v2._getValue = function () { return this._editable ? this.text_mc.getText() : this.DSgetValue(); }; v2.draw = function () { this.downArrow_mc.draw(); this.border_mc.draw(); }; v2.size = function () { this.layoutChildren(this.__width, this.__height); }; v2.setTheme = function (t) { this.downArrowUpName = t + 'downArrow' + 'Up_mc'; this.downArrowDownName = t + 'downArrow' + 'Down_mc'; this.downArrowDisabledName = t + 'downArrow' + 'Disabled_mc'; }; v2.__get__text = function () { return this.text_mc.getText(); }; v2.__set__text = function (t) { this.setText(t); return this.__get__text(); }; v2.setText = function (t) { this.text_mc.setText(t); }; v2.__get__textField = function () { return this.text_mc; }; v2.__get__restrict = function () { return this.text_mc.__get__restrict(); }; v2.__set__restrict = function (w) { this.text_mc.__set__restrict(w); return this.__get__restrict(); }; v2.invalidateStyle = function () { this.downArrow_mc.invalidateStyle(); this.text_mc.invalidateStyle(); this.border_mc.invalidateStyle(); }; v2.layoutChildren = function (w, h) { if (this.downArrow_mc == undefined) { return undefined; } if (this.wrapDownArrowButton) { var v2 = this.border_mc.__get__borderMetrics(); this.downArrow_mc._height = h - v2.top - v2.bottom; this.downArrow_mc._width = this.downArrow_mc._height; this.downArrow_mc.move(w - this.downArrow_mc._width - v2.right, v2.top); this.border_mc.setSize(w, h); this.text_mc.setSize(w - this.downArrow_mc._width, h); } else { this.downArrow_mc.move(w - this.downArrow_mc._width, 0); this.border_mc.setSize(w - this.downArrow_mc.width, h); this.text_mc.setSize(w - this.downArrow_mc._width, h); this.downArrow_mc._height = this.height; } }; v2._changeHandler = function (obj) {}; v2._enterHandler = function (obj) { var v2 = this._parent; obj.target = v2; v2.dispatchEvent(obj); }; v2.__get__tabIndex = function () { return this.text_mc.__get__tabIndex(); }; v2.__set__tabIndex = function (w) { this.text_mc.__set__tabIndex(w); return this.__get__tabIndex(); }; v1.mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.ComboBase); v1.symbolName = 'ComboBase'; v1.symbolOwner = mx.controls.ComboBase; v1.version = '2.0.2.127'; v2._editable = false; v2.downArrowUpName = 'ScrollDownArrowUp'; v2.downArrowDownName = 'ScrollDownArrowDown'; v2.downArrowOverName = 'ScrollDownArrowOver'; v2.downArrowDisabledName = 'ScrollDownArrowDisabled'; v2.wrapDownArrowButton = true; v2.DSgetValue = mx.controls.listclasses.DataSelector.prototype.getValue; v2.multipleSelection = false; v2.addProperty('editable', v2.__get__editable, v2.__set__editable); v2.addProperty('restrict', v2.__get__restrict, v2.__set__restrict); v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex); v2.addProperty('text', v2.__get__text, v2.__set__text); v2.addProperty('textField', v2.__get__textField, function () {}); ASSetPropFlags(mx.controls.ComboBase.prototype, null, 1); } #endinitclip } movieClip 144 __Packages.mx.controls.ComboBox { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.ComboBox) { var v1 = function () { super(); }; mx.controls.ComboBox = v1; var v2 = new mx.controls.ComboBase(); mx.controls.ComboBox.prototype = v2; v2.init = function () { super.init(); }; v2.createChildren = function () { super.createChildren(); this.__set__editable(this.editable); if (this.__labels.length > 0) { var v6 = new Array(); var v3 = 0; while (v3 < (this.__get__labels()).length) { v6.addItem({'label': (this.__get__labels())[v3], 'data': this.data[v3]}); ++v3; } this.setDataProvider(v6); } this.__set__dropdownWidth((typeof this.__dropdownWidth == 'number') ? this.__dropdownWidth : this.__width); if (!this._editable) { this.selectedIndex = 0; } this.initializing = false; }; v2.onKillFocus = function (n) { if (this._showingDropdown && n != null) { this.displayDropdown(false); } super.onKillFocus(); }; v2.getDropdown = function () { if (this.initializing) { return undefined; } if (!this.hasDropdown()) { var v3 = new Object(); v3.styleName = this; if (this.dropdownBorderStyle != undefined) { v3.borderStyle = this.dropdownBorderStyle; } v3._visible = false; this.__dropdown = mx.managers.PopUpManager.createPopUp(this, mx.controls.List, false, v3, true); this.__dropdown.scroller.mask.removeMovieClip(); if (this.dataProvider == undefined) { this.dataProvider = new Array(); } this.__dropdown.setDataProvider(this.dataProvider); this.__dropdown.selectMultiple = false; this.__dropdown.rowCount = this.__rowCount; this.__dropdown.selectedIndex = this.selectedIndex; this.__dropdown.vScrollPolicy = 'auto'; this.__dropdown.labelField = this.__labelField; this.__dropdown.labelFunction = this.__labelFunction; this.__dropdown.owner = this; this.__dropdown.changeHandler = this._changeHandler; this.__dropdown.scrollHandler = this._scrollHandler; this.__dropdown.itemRollOverHandler = this._itemRollOverHandler; this.__dropdown.itemRollOutHandler = this._itemRollOutHandler; this.__dropdown.resizeHandler = this._resizeHandler; this.__dropdown.mouseDownOutsideHandler = function (eventObj) { var v3 = this.owner; var v4 = new Object(); v4.x = v3._root._xmouse; v4.y = v3._root._ymouse; v3._root.localToGlobal(v4); if (v3.hitTest(v4.x, v4.y, false)) { } else { if (!this.wrapDownArrowButton && this.owner.downArrow_mc.hitTest(_root._xmouse, _root._ymouse, false)) { } else { v3.displayDropdown(false); } } }; this.__dropdown.onTweenUpdate = function (v) { this._y = v; }; this.__dropdown.setSize(this.__dropdownWidth, this.__dropdown.height); this.createObject('BoundingBox', 'mask', 20); this.mask._y = this.border_mc.height; this.mask._width = this.__dropdownWidth; this.mask._height = this.__dropdown.height; this.mask._visible = false; this.__dropdown.setMask(this.mask); } return this.__dropdown; }; v2.setSize = function (w, h, noEvent) { super.setSize(w, h, noEvent); this.__dropdownWidth = w; this.__dropdown.rowHeight = h; this.__dropdown.setSize(this.__dropdownWidth, this.__dropdown.height); }; v2.setEditable = function (e) { super.setEditable(e); if (e) { this.text_mc.setText(''); } else { this.text_mc.setText(this.__get__selectedLabel()); } }; v2.__get__labels = function () { return this.__labels; }; v2.__set__labels = function (lbls) { this.__labels = lbls; this.setDataProvider(lbls); return this.__get__labels(); }; v2.getLabelField = function () { return this.__labelField; }; v2.__get__labelField = function () { return this.getLabelField(); }; v2.setLabelField = function (s) { this.__labelField = s; this.__dropdown.labelField = this.__labelField; this.text_mc.setText(this.__get__selectedLabel()); }; v2.__set__labelField = function (s) { this.setLabelField(s); return this.__get__labelField(); }; v2.getLabelFunction = function () { return this.__labelFunction; }; v2.__get__labelFunction = function () { return this.getLabelFunction(); }; v2.__set__labelFunction = function (f) { this.__labelFunction = f; this.__dropdown.labelFunction = this.__labelFunction; this.text_mc.setText(this.__get__selectedLabel()); return this.__get__labelFunction(); }; v2.setSelectedItem = function (v) { super.setSelectedItem(v); this.__dropdown.selectedItem = v; this.text_mc.setText(this.__get__selectedLabel()); }; v2.setSelectedIndex = function (v) { super.setSelectedIndex(v); this.__dropdown.selectedIndex = v; if (v != undefined) { this.text_mc.setText(this.__get__selectedLabel()); } this.dispatchValueChangedEvent(this.getValue()); }; v2.setRowCount = function (count) { if (isNaN(count)) { return undefined; } this.__rowCount = count; this.__dropdown.setRowCount(count); }; v2.__get__rowCount = function () { return Math.max(1, Math.min(this.length, this.__rowCount)); }; v2.__set__rowCount = function (v) { this.setRowCount(v); return this.__get__rowCount(); }; v2.setDropdownWidth = function (w) { this.__dropdownWidth = w; this.__dropdown.setSize(w, this.__dropdown.height); }; v2.__get__dropdownWidth = function () { return this.__dropdownWidth; }; v2.__set__dropdownWidth = function (v) { this.setDropdownWidth(v); return this.__get__dropdownWidth(); }; v2.__get__dropdown = function () { return this.getDropdown(); }; v2.setDataProvider = function (dp) { super.setDataProvider(dp); this.__dropdown.setDataProvider(dp); if (!this._editable) { this.selectedIndex = 0; } }; v2.open = function () { this.displayDropdown(true); }; v2.close = function () { this.displayDropdown(false); }; v2.__get__selectedLabel = function () { var v2 = this.selectedItem; if (v2 == undefined) { return ''; } else { if (this.__get__labelFunction() != undefined) { return (this.__get__labelFunction())(v2); } else { if (typeof v2 != 'object') { return v2; } else { if (v2[this.__get__labelField()] != undefined) { return v2[this.__get__labelField()]; } else { if (v2.label != undefined) { return v2.label; } else { var v3 = ' '; for (var v4 in v2) { if (v4 != '__ID__') { v3 = v2[v4] + ', ' + v3; } } v3 = v3.substring(0, v3.length - 3); return v3; } } } } } }; v2.hasDropdown = function () { return this.__dropdown != undefined && this.__dropdown.valueOf() != undefined; }; v2.tweenEndShow = function (value) { this._y = value; this.isPressed = true; this.owner.dispatchEvent({'type': 'open', 'target': this.owner}); }; v2.tweenEndHide = function (value) { this._y = value; this.__set__visible(false); this.owner.dispatchEvent({'type': 'close', 'target': this.owner}); }; v2.displayDropdown = function (show) { if (show == this._showingDropdown) { return undefined; } var v3 = new Object(); v3.x = 0; v3.y = this.height; this.localToGlobal(v3); if (show) { this.__selectedIndexOnDropdown = this.selectedIndex; this.__initialSelectedIndexOnDropdown = this.selectedIndex; this.getDropdown(); var v2 = this.__dropdown; v2.isPressed = true; v2.rowCount = this.rowCount; v2.visible = show; v2._parent.globalToLocal(v3); v2.onTweenEnd = this.tweenEndShow; var v5; var v8; if (v3.y + v2.height > Stage.height) { v5 = v3.y - this.__get__height(); v8 = v5 - v2.height; this.mask._y = -v2.height; } else { v5 = v3.y - v2.height; v8 = v3.y; this.mask._y = this.border_mc.height; } var v6 = v2.selectedIndex; if (v6 == undefined) { v6 = 0; } var v4 = v2.vPosition; v4 = v6 - 1; v4 = Math.min(Math.max(v4, 0), v2.length - v2.rowCount); v2.vPosition = v4; v2.move(v3.x, v5); v2.tween = new mx.effects.Tween(this.__dropdown, v5, v8, this.getStyle('openDuration')); } else { this.__dropdown._parent.globalToLocal(v3); delete this.__dropdown.dragScrolling; this.__dropdown.onTweenEnd = this.tweenEndHide; this.__dropdown.tween = new mx.effects.Tween(this.__dropdown, this.__dropdown._y, v3.y - this.__dropdown.height, this.getStyle('openDuration')); if (this.__initialSelectedIndexOnDropdown != this.selectedIndex) { this.dispatchChangeEvent(undefined, this.__initialSelectedIndexOnDropdown, this.selectedIndex); } } var v9 = this.getStyle('openEasing'); if (v9 != undefined) { this.__dropdown.tween.easingEquation = v9; } this._showingDropdown = show; }; v2.onDownArrow = function () { this._parent.displayDropdown(!this._parent._showingDropdown); }; v2.keyDown = function (e) { if (e.ctrlKey && e.code == 40) { this.displayDropdown(true); } else { if (e.ctrlKey && e.code == 38) { this.displayDropdown(false); this.dispatchChangeEvent(undefined, this.__selectedIndexOnDropdown, this.selectedIndex); } else { if (e.code == 27) { this.displayDropdown(false); } else { if (e.code == 13) { if (this._showingDropdown) { this.selectedIndex = this.__dropdown.selectedIndex; this.displayDropdown(false); } } else { if (!this._editable || e.code == 38 || e.code == 40 || e.code == 33 || e.code == 34) { this.selectedIndex = +this.selectedIndex; this.bInKeyDown = true; var v3 = this.__get__dropdown(); v3.keyDown(e); this.bInKeyDown = false; this.selectedIndex = this.__dropdown.selectedIndex; } } } } } }; v2.invalidateStyle = function (styleProp) { this.__dropdown.invalidateStyle(styleProp); super.invalidateStyle(styleProp); }; v2.changeTextStyleInChildren = function (styleProp) { if ((this.__get__dropdown()).stylecache != undefined) { delete (this.__get__dropdown()).stylecache[styleProp]; delete (this.__get__dropdown()).stylecache.tf; } this.__dropdown.changeTextStyleInChildren(styleProp); super.changeTextStyleInChildren(styleProp); }; v2.changeColorStyleInChildren = function (sheetName, styleProp, newValue) { if ((this.__get__dropdown()).stylecache != undefined) { delete (this.__get__dropdown()).stylecache[styleProp]; delete (this.__get__dropdown()).stylecache.tf; } this.__dropdown.changeColorStyleInChildren(sheetName, styleProp, newValue); super.changeColorStyleInChildren(sheetName, styleProp, newValue); }; v2.notifyStyleChangeInChildren = function (sheetName, styleProp, newValue) { if ((this.__get__dropdown()).stylecache != undefined) { delete (this.__get__dropdown()).stylecache[styleProp]; delete (this.__get__dropdown()).stylecache.tf; } this.__dropdown.notifyStyleChangeInChildren(sheetName, styleProp, newValue); super.notifyStyleChangeInChildren(sheetName, styleProp, newValue); }; v2.onUnload = function () { this.__dropdown.removeMovieClip(); }; v2._resizeHandler = function () { var v2 = this.owner; v2.mask._width = this.width; v2.mask._height = this.height; }; v2._changeHandler = function (obj) { var v2 = this.owner; var v3 = v2.selectedIndex; obj.target = v2; if (this == this.owner.text_mc) { v2.selectedIndex = undefined; v2.dispatchChangeEvent(obj, -1, -2); } else { v2.selectedIndex = this.selectedIndex; if (!v2._showingDropdown) { v2.dispatchChangeEvent(obj, v3, v2.selectedIndex); } else { if (!v2.bInKeyDown) { v2.displayDropdown(false); } } } }; v2._scrollHandler = function (obj) { var v2 = this.owner; obj.target = v2; v2.dispatchEvent(obj); }; v2._itemRollOverHandler = function (obj) { var v2 = this.owner; obj.target = v2; v2.dispatchEvent(obj); }; v2._itemRollOutHandler = function (obj) { var v2 = this.owner; obj.target = v2; v2.dispatchEvent(obj); }; v2.modelChanged = function (eventObj) { super.modelChanged(eventObj); if (0 == this.__dataProvider.length) { this.text_mc.setText(''); delete this.selected; } else { if (this.__dataProvider.length == eventObj.lastItem - eventObj.firstItem + 1 && eventObj.eventName == 'addItems') { this.selectedIndex = 0; } } }; v2.dispatchChangeEvent = function (obj, prevValue, newValue) { var v2; if (prevValue != newValue) { if (obj != undefined && obj.type == 'change') { v2 = obj; } else { v2 = {'type': 'change'}; } this.dispatchEvent(v2); } }; v1.symbolName = 'ComboBox'; v1.symbolOwner = mx.controls.ComboBox; v1.version = '2.0.2.127'; v2.clipParameters = {'labels': 1, 'data': 1, 'editable': 1, 'rowCount': 1, 'dropdownWidth': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.ComboBox.prototype.clipParameters, mx.controls.ComboBase.prototype.clipParameters); v2.className = 'ComboBox'; v2._showingDropdown = false; v2.__rowCount = 5; v2.dropdownBorderStyle = undefined; v2.initializing = true; v2.__labelField = 'label'; v2.bInKeyDown = false; v2.addProperty('dropdown', v2.__get__dropdown, function () {}); v2.addProperty('dropdownWidth', v2.__get__dropdownWidth, v2.__set__dropdownWidth); v2.addProperty('labelField', v2.__get__labelField, v2.__set__labelField); v2.addProperty('labelFunction', v2.__get__labelFunction, v2.__set__labelFunction); v2.addProperty('labels', v2.__get__labels, v2.__set__labels); v2.addProperty('rowCount', v2.__get__rowCount, v2.__set__rowCount); v2.addProperty('selectedLabel', v2.__get__selectedLabel, function () {}); ASSetPropFlags(mx.controls.ComboBox.prototype, null, 1); } #endinitclip } movieClip 228 __Packages.mx.controls.TextInput { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.TextInput) { var v1 = function () { super(); }; mx.controls.TextInput = v1; var v2 = new mx.core.UIComponent(); mx.controls.TextInput.prototype = v2; v2.addEventListener = function (event, handler) { if (event == 'enter') { this.addEnterEvents(); } super.addEventListener(event, handler); }; v2.enterOnKeyDown = function () { if (Key.getAscii() == 13) { this.owner.dispatchEvent({'type': 'enter'}); } }; v2.addEnterEvents = function () { if (this.enterListener == undefined) { this.enterListener = new Object(); this.enterListener.owner = this; this.enterListener.onKeyDown = this.enterOnKeyDown; } }; v2.init = function (Void) { super.init(); this.label.styleName = this; this.tabChildren = true; this.tabEnabled = false; this.focusTextField = this.label; this._color = mx.core.UIObject.textColorList; this.label.onSetFocus = function () { this._parent.onSetFocus(); }; this.label.onKillFocus = function (n) { this._parent.onKillFocus(n); }; this.label.drawFocus = function (b) { this._parent.drawFocus(b); }; this.label.onChanged = this.onLabelChanged; }; v2.setFocus = function () { Selection.setFocus(this.label); }; v2.onLabelChanged = function (Void) { this._parent.dispatchEvent({'type': 'change'}); this._parent.dispatchValueChangedEvent(this.__get__text()); }; v2.createChildren = function (Void) { super.createChildren(); if (this.border_mc == undefined) { this.createClassObject(_global.styles.rectBorderClass, 'border_mc', 0, {'styleName': this}); } this.border_mc.swapDepths(this.label); this.label.autoSize = 'none'; }; v2.__get__html = function () { return this.getHtml(); }; v2.__set__html = function (value) { this.setHtml(value); return this.__get__html(); }; v2.getHtml = function () { return this.label.html; }; v2.setHtml = function (value) { if (value != this.label.html) { this.label.html = value; } }; v2.__get__text = function () { return this.getText(); }; v2.__set__text = function (t) { this.setText(t); return this.__get__text(); }; v2.getText = function () { if (this.initializing) { return this.initText; } if (this.label.html == true) { return this.label.htmlText; } return this.label.text; }; v2.setText = function (t) { if (this.initializing) { this.initText = t; } else { var v2 = this.label; if (v2.html == true) { v2.htmlText = t; } else { v2.text = t; } } this.dispatchValueChangedEvent(t); }; v2.size = function (Void) { this.border_mc.setSize(this.__get__width(), this.__get__height()); var v2 = this.border_mc.__get__borderMetrics(); var v6 = v2.left + v2.right; var v3 = v2.top + v2.bottom; var v5 = v2.left; var v4 = v2.top; this.tfx = v5; this.tfy = v4; this.tfw = this.__get__width() - v6; this.tfh = this.__get__height() - v3; this.label.move(this.tfx, this.tfy); this.label.setSize(this.tfw, this.tfh + 1); }; v2.setEnabled = function (enable) { this.label.type = (this.__editable == true || enable == false) ? 'input' : 'dynamic'; this.label.selectable = enable; var v2 = this.getStyle(enable ? 'color' : 'disabledColor'); if (v2 == undefined) { v2 = enable ? 0 : 8947848; } this.setColor(v2); }; v2.setColor = function (col) { this.label.textColor = col; }; v2.onKillFocus = function (newFocus) { if (this.enterListener != undefined) { Key.removeListener(this.enterListener); } if (this.bind != undefined) { this.updateModel(this.__get__text()); } super.onKillFocus(newFocus); }; v2.onSetFocus = function (oldFocus) { var f = Selection.getFocus(); var o = eval(f); if (o != this.label) { Selection.setFocus(this.label); return undefined; } if (this.enterListener != undefined) { Key.addListener(this.enterListener); } super.onSetFocus(oldFocus); }; v2.draw = function (Void) { var v2 = this.label; var v4 = this.getText(); if (this.initializing) { this.initializing = false; delete this.initText; } var v3 = this._getTextFormat(); v2.embedFonts = v3.embedFonts == true; if (v3 != undefined) { v2.setTextFormat(v3); v2.setNewTextFormat(v3); } v2.multiline = false; v2.wordWrap = false; if (v2.html == true) { v2.setTextFormat(v3); v2.htmlText = v4; } else { v2.text = v4; } v2.type = (this.__editable == true || this.enabled == false) ? 'input' : 'dynamic'; this.size(); }; v2.setEditable = function (s) { this.__editable = s; this.label.type = s ? 'input' : 'dynamic'; }; v2.__get__maxChars = function () { return this.label.maxChars; }; v2.__set__maxChars = function (w) { this.label.maxChars = w; return this.__get__maxChars(); }; v2.__get__length = function () { return this.label.length; }; v2.__get__restrict = function () { return this.label.restrict; }; v2.__set__restrict = function (w) { this.label.restrict = (w == '') ? null : w; return this.__get__restrict(); }; v2.__get__hPosition = function () { return this.label.hscroll; }; v2.__set__hPosition = function (w) { this.label.hscroll = w; return this.__get__hPosition(); }; v2.__get__maxHPosition = function () { return this.label.maxhscroll; }; v2.__get__editable = function () { return this.__editable; }; v2.__set__editable = function (w) { this.setEditable(w); return this.__get__editable(); }; v2.__get__password = function () { return this.label.password; }; v2.__set__password = function (w) { this.label.password = w; return this.__get__password(); }; v2.__get__tabIndex = function () { return this.label.tabIndex; }; v2.__set__tabIndex = function (w) { this.label.tabIndex = w; return this.__get__tabIndex(); }; v2.__set___accProps = function (val) { this.label._accProps = val; return this.__get___accProps(); }; v2.__get___accProps = function () { return this.label._accProps; }; v1.symbolName = 'TextInput'; v1.symbolOwner = mx.controls.TextInput; v1.version = '2.0.2.127'; v2.className = 'TextInput'; v2.initializing = true; v2.clipParameters = {'text': 1, 'editable': 1, 'password': 1, 'maxChars': 1, 'restrict': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextInput.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); v2._maxWidth = mx.core.UIComponent.kStretch; v2.__editable = true; v2.initText = ''; v2.addProperty('_accProps', v2.__get___accProps, v2.__set___accProps); v2.addProperty('editable', v2.__get__editable, v2.__set__editable); v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition); v2.addProperty('html', v2.__get__html, v2.__set__html); v2.addProperty('length', v2.__get__length, function () {}); v2.addProperty('maxChars', v2.__get__maxChars, v2.__set__maxChars); v2.addProperty('maxHPosition', v2.__get__maxHPosition, function () {}); v2.addProperty('password', v2.__get__password, v2.__set__password); v2.addProperty('restrict', v2.__get__restrict, v2.__set__restrict); v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex); v2.addProperty('text', v2.__get__text, v2.__set__text); ASSetPropFlags(mx.controls.TextInput.prototype, null, 1); } #endinitclip } movieClip 229 __Packages.mx.managers.PopUpManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.PopUpManager) { var v1 = function () {}; mx.managers.PopUpManager = v1; var v2 = v1.prototype; v1.createModalWindow = function (parent, o, broadcastOutsideEvents) { var v2 = parent.createChildAtDepth('Modal', mx.managers.DepthManager.kTopmost); v2.setDepthBelow(o); o.modalID = v2._name; v2._alpha = _global.style.modalTransparency; v2.tabEnabled = false; if (broadcastOutsideEvents) { v2.onPress = mx.managers.PopUpManager.mixins.onPress; } else { v2.onPress = mx.managers.PopUpManager.mixins.nullFunction; } v2.onRelease = mx.managers.PopUpManager.mixins.nullFunction; v2.resize = mx.managers.PopUpManager.mixins.resize; mx.managers.SystemManager.init(); mx.managers.SystemManager.addEventListener('resize', v2); v2.resize(); v2.useHandCursor = false; v2.popUp = o; o.modalWindow = v2; o.deletePopUp = mx.managers.PopUpManager.mixins.deletePopUp; o.setVisible = mx.managers.PopUpManager.mixins.setVisible; o.getVisible = mx.managers.PopUpManager.mixins.getVisible; o.addProperty('visible', o.getVisible, o.setVisible); }; v1.createPopUp = function (parent, className, modal, initobj, broadcastOutsideEvents) { if (mx.managers.PopUpManager.mixins == undefined) { mx.managers.PopUpManager.mixins = new mx.managers.PopUpManager(); } if (broadcastOutsideEvents == undefined) { broadcastOutsideEvents = false; } var v5 = parent._root; if (v5 == undefined) { v5 = _root; } while (parent != v5) { parent = parent._parent; } initobj.popUp = true; var v4 = parent.createClassChildAtDepth(className, (broadcastOutsideEvents || modal) ? mx.managers.DepthManager.kTopmost : mx.managers.DepthManager.kTop, initobj); var v2 = _root; var v6 = v2.focusManager != undefined; while (v2._parent != undefined) { v2 = v2._parent._root; if (v2.focusManager != undefined) { v6 = true; break; } } if (v6) { v4.createObject('FocusManager', 'focusManager', -1); if (v4._visible == false) { mx.managers.SystemManager.deactivate(v4); } } if (modal) { mx.managers.PopUpManager.createModalWindow(parent, v4, broadcastOutsideEvents); return v4; } if (broadcastOutsideEvents) { v4.mouseListener = new Object(); v4.mouseListener.owner = v4; v4.mouseListener.onMouseDown = mx.managers.PopUpManager.mixins.onMouseDown; Mouse.addListener(v4.mouseListener); } v4.deletePopUp = mx.managers.PopUpManager.mixins.deletePopUp; return v4; }; v2.onPress = function (Void) { var v3 = this.popUp._root; if (v3 == undefined) { v3 = _root; } if (this.popUp.hitTest(v3._xmouse, v3._ymouse, false)) { return undefined; } this.popUp.dispatchEvent({'type': 'mouseDownOutside'}); }; v2.nullFunction = function (Void) {}; v2.resize = function (Void) { var v2 = mx.managers.SystemManager.__get__screen(); this.setSize(v2.width, v2.height); this.move(v2.x, v2.y); }; v2.deletePopUp = function (Void) { if (this.modalWindow != undefined) { this._parent.destroyObject(this.modalWindow._name); } this._parent.destroyObject(this._name); }; v2.setVisible = function (v, noEvent) { super.setVisible(v, noEvent); this.modalWindow._visible = v; }; v2.getVisible = function (Void) { return this._visible; }; v2.onMouseDown = function (Void) { var v3 = this.owner._root; if (v3 == undefined) { v3 = _root; } var v4 = new Object(); v4.x = v3._xmouse; v4.y = v3._ymouse; v3.localToGlobal(v4); if (this.owner.hitTest(v4.x, v4.y, false)) { } else { this.owner.mouseDownOutsideHandler(this.owner); } }; v1.version = '2.0.2.127'; v1.mixins = undefined; ASSetPropFlags(mx.managers.PopUpManager.prototype, null, 1); } #endinitclip } movieClip 230 __Packages.mx.core.View { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.View) { var v1 = function () { super(); }; mx.core.View = v1; var v2 = new mx.core.UIComponent(); mx.core.View.prototype = v2; v2.init = function () { super.init(); this.tabChildren = true; this.tabEnabled = false; this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; v2.size = function () { this.border_mc.move(0, 0); this.border_mc.setSize(this.__get__width(), this.__get__height()); this.doLayout(); }; v2.draw = function () { this.size(); }; v2.__get__numChildren = function () { var v3 = mx.core.View.childNameBase; var v2 = 0; while (!false) { if (this[v3 + v2] == undefined) { return v2; } ++v2; } return -1; }; v2.__get__tabIndex = function () { return this.tabEnabled ? this.__tabIndex : undefined; }; v2.__set__tabIndex = function (n) { this.__tabIndex = n; return this.__get__tabIndex(); }; v2.addLayoutObject = function (object) {}; v2.createChild = function (className, instanceName, initProps) { if (this.depth == undefined) { this.depth = 1; } var v2; if (typeof className == 'string') { v2 = this.createObject(className, instanceName, this.depth++, initProps); } else { v2 = this.createClassObject(className, instanceName, this.depth++, initProps); } if (v2 == undefined) { v2 = this.loadExternal(className, this._loadExternalClass, instanceName, this.depth++, initProps); this.addLayoutObject(v2); return v2; } this[mx.core.View.childNameBase + this.__get__numChildren()] = v2; v2._complete = true; this.childLoaded(v2); this.addLayoutObject(v2); return v2; }; v2.getChildAt = function (childIndex) { return this[mx.core.View.childNameBase + childIndex]; }; v2.destroyChildAt = function (childIndex) { if (!(childIndex >= 0 && childIndex < this.__get__numChildren())) { return undefined; } var v4 = mx.core.View.childNameBase + childIndex; var v6 = this.__get__numChildren(); var v3; for (v3 in this) { if (v3 == v4) { v4 = ''; this.destroyObject(v3); break; } } var v2 = Number(childIndex); while (v2 < v6 - 1) { this[mx.core.View.childNameBase + v2] = this[mx.core.View.childNameBase + (v2 + 1)]; ++v2; } delete this[mx.core.View.childNameBase + (v6 - 1)]; --this.depth; }; v2.initLayout = function () { if (!this.hasBeenLayedOut) { this.doLayout(); } }; v2.doLayout = function () { this.hasBeenLayedOut = true; }; v2.createChildren = function () { if (this.border_mc == undefined) { this.border_mc = this.createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {'styleName': this}); } this.doLater(this, 'initLayout'); }; v2.convertToUIObject = function (obj) {}; v2.childLoaded = function (obj) { this.convertToUIObject(obj); }; v1.extension = function () { mx.core.ExternalContent.enableExternalContent(); }; v1.symbolName = 'View'; v1.symbolOwner = mx.core.View; v1.version = '2.0.2.127'; v2.className = 'View'; v1.childNameBase = '_child'; v2.hasBeenLayedOut = false; v2._loadExternalClass = 'UIComponent'; v2.addProperty('numChildren', v2.__get__numChildren, function () {}); v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex); ASSetPropFlags(mx.core.View.prototype, null, 1); } #endinitclip } movieClip 231 __Packages.mx.core.ExternalContent { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ExternalContent) { var v1 = function () {}; mx.core.ExternalContent = v1; var v2 = v1.prototype; v2.loadExternal = function (url, placeholderClassName, instanceName, depth, initProps) { var v2; v2 = this.createObject(placeholderClassName, instanceName, depth, initProps); this[mx.core.View.childNameBase + this.numChildren] = v2; if (this.prepList == undefined) { this.prepList = new Object(); } this.prepList[instanceName] = {'obj': v2, 'url': url, 'complete': false, 'initProps': initProps}; this.prepareToLoadMovie(v2); return v2; }; v2.prepareToLoadMovie = function (obj) { obj.unloadMovie(); this.doLater(this, 'waitForUnload'); }; v2.waitForUnload = function () { var v3; for (v3 in this.prepList) { var v2 = this.prepList[v3]; if (v2.obj.getBytesTotal() == 0) { if (this.loadList == undefined) { this.loadList = new Object(); } this.loadList[v3] = v2; v2.obj.loadMovie(v2.url); delete this.prepList[v3]; this.doLater(this, 'checkLoadProgress'); } else { this.doLater(this, 'waitForUnload'); } } }; v2.checkLoadProgress = function () { var v8 = false; var v3; for (v3 in this.loadList) { var v2 = this.loadList[v3]; v2.loaded = v2.obj.getBytesLoaded(); v2.total = v2.obj.getBytesTotal(); if (v2.total > 0) { v2.obj._visible = false; this.dispatchEvent({'type': 'progress', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); if (v2.loaded == v2.total) { if (this.loadedList == undefined) { this.loadedList = new Object(); } this.loadedList[v3] = v2; delete this.loadList[v3]; this.doLater(this, 'contentLoaded'); } } else { if (v2.total == -1) { if (v2.failedOnce != undefined) { ++v2.failedOnce; if (v2.failedOnce > 3) { this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); delete this.loadList[v3]; false; } } else { v2.failedOnce = 0; } } } v8 = true; } if (v8) { this.doLater(this, 'checkLoadProgress'); } }; v2.contentLoaded = function () { var v4; for (v4 in this.loadedList) { var v2 = this.loadedList[v4]; v2.obj._visible = true; v2.obj._complete = true; var v3; for (v3 in v2.initProps) { v2.obj[v3] = v2.initProps[v3]; } this.childLoaded(v2.obj); this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); delete this.loadedList[v4]; false; } }; v2.convertToUIObject = function (obj) { if (obj.setSize == undefined) { var v2 = mx.core.UIObject.prototype; obj.addProperty('width', v2.__get__width, null); obj.addProperty('height', v2.__get__height, null); obj.addProperty('left', v2.__get__left, null); obj.addProperty('x', v2.__get__x, null); obj.addProperty('top', v2.__get__top, null); obj.addProperty('y', v2.__get__y, null); obj.addProperty('right', v2.__get__right, null); obj.addProperty('bottom', v2.__get__bottom, null); obj.addProperty('visible', v2.__get__visible, v2.__set__visible); obj.move = mx.core.UIObject.prototype.move; obj.setSize = mx.core.UIObject.prototype.setSize; obj.size = mx.core.UIObject.prototype.size; mx.events.UIEventDispatcher.initialize(obj); } }; v1.enableExternalContent = function () {}; v1.classConstruct = function () { var v1 = mx.core.View.prototype; var v2 = mx.core.ExternalContent.prototype; v1.loadExternal = v2.loadExternal; v1.prepareToLoadMovie = v2.prepareToLoadMovie; v1.waitForUnload = v2.waitForUnload; v1.checkLoadProgress = v2.checkLoadProgress; v1.contentLoaded = v2.contentLoaded; v1.convertToUIObject = v2.convertToUIObject; return true; }; v1.classConstructed = mx.core.ExternalContent.classConstruct(); v1.ViewDependency = mx.core.View; ASSetPropFlags(mx.core.ExternalContent.prototype, null, 1); } #endinitclip } movieClip 232 __Packages.mx.skins.CustomBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.CustomBorder) { var v1 = function () { super(); }; mx.skins.CustomBorder = v1; var v2 = new mx.skins.Border(); mx.skins.CustomBorder.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.init = function (Void) { super.init(); }; v2.createChildren = function (Void) {}; v2.draw = function (Void) { if (this.l_mc == undefined) { var v2 = this.setSkin(mx.skins.CustomBorder.tagL, this.leftSkin); if (this.horizontal) { this.minHeight = this.l_mc._height; this.minWidth = this.l_mc._width; } else { this.minHeight = this.l_mc._height; this.minWidth = this.l_mc._width; } } if (this.m_mc == undefined) { this.setSkin(mx.skins.CustomBorder.tagM, this.middleSkin); if (this.horizontal) { this.minHeight = this.m_mc._height; this.minWidth += this.m_mc._width; } else { this.minHeight += this.m_mc._height; this.minWidth = this.m_mc._width; } } if (this.r_mc == undefined) { this.setSkin(mx.skins.CustomBorder.tagR, this.rightSkin); if (this.horizontal) { this.minHeight = this.r_mc._height; this.minWidth += this.r_mc._width; } else { this.minHeight += this.r_mc._height; this.minWidth = this.r_mc._width; } } this.size(); }; v2.size = function (Void) { this.l_mc.move(0, 0); if (this.horizontal) { this.r_mc.move(this.__get__width() - this.r_mc.width, 0); this.m_mc.move(this.l_mc.width, 0); this.m_mc.setSize(this.r_mc.x - this.m_mc.x, this.m_mc.height); } else { this.r_mc.move(0, this.__get__height() - this.r_mc.height, 0); this.m_mc.move(0, this.l_mc.height); this.m_mc.setSize(this.m_mc.width, this.r_mc.y - this.m_mc.y); } }; v1.symbolName = 'CustomBorder'; v1.symbolOwner = mx.skins.CustomBorder; v1.version = '2.0.2.127'; v2.className = 'CustomBorder'; v1.tagL = 0; v1.tagM = 1; v1.tagR = 2; v2.idNames = new Array('l_mc', 'm_mc', 'r_mc'); v2.leftSkin = 'F3PieceLeft'; v2.middleSkin = 'F3PieceMiddle'; v2.rightSkin = 'F3PieceRight'; v2.horizontal = true; v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.skins.CustomBorder.prototype, null, 1); } #endinitclip } movieClip 233 __Packages.mx.controls.scrollClasses.ScrollThumb { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.scrollClasses) { _global.mx.controls.scrollClasses = new Object(); } if (!_global.mx.controls.scrollClasses.ScrollThumb) { var v1 = function () { super(); }; mx.controls.scrollClasses.ScrollThumb = v1; var v2 = new mx.skins.CustomBorder(); mx.controls.scrollClasses.ScrollThumb.prototype = v2; v2.createChildren = function (Void) { super.createChildren(); this.useHandCursor = false; }; v2.setRange = function (_ymin, _ymax, _datamin, _datamax) { this.ymin = _ymin; this.ymax = _ymax; this.datamin = _datamin; this.datamax = _datamax; }; v2.dragThumb = function (Void) { this.scrollMove = this._ymouse - this.lastY; this.scrollMove += this._y; if (this.scrollMove < this.ymin) { this.scrollMove = this.ymin; } else { if (this.scrollMove > this.ymax) { this.scrollMove = this.ymax; } } this._parent.isScrolling = true; this._y = this.scrollMove; var v2 = Math.round((this.datamax - this.datamin) * (this._y - this.ymin) / (this.ymax - this.ymin)) + this.datamin; this._parent.scrollPosition = v2; this._parent.dispatchScrollEvent('ThumbTrack'); updateAfterEvent(); }; v2.stopDragThumb = function (Void) { this._parent.isScrolling = false; this._parent.dispatchScrollEvent('ThumbPosition'); this._parent.dispatchScrollChangedEvent(); delete this.onMouseMove; }; v2.onPress = function (Void) { this._parent.pressFocus(); this.lastY = this._ymouse; this.onMouseMove = this.dragThumb; super.onPress(); }; v2.onRelease = function (Void) { this._parent.releaseFocus(); this.stopDragThumb(); super.onRelease(); }; v2.onReleaseOutside = function (Void) { this._parent.releaseFocus(); this.stopDragThumb(); super.onReleaseOutside(); }; v2.draw = function () { super.draw(); if (this.grip_mc == undefined) { this.setSkin(3, this.gripSkin); } }; v2.size = function () { super.size(); this.grip_mc.move((this.__get__width() - this.grip_mc.width) / 2, (this.__get__height() - this.grip_mc.height) / 2); }; v1.symbolOwner = mx.skins.CustomBorder.symbolOwner; v2.className = 'ScrollThumb'; v2.btnOffset = 0; v2.horizontal = false; v2.idNames = new Array('l_mc', 'm_mc', 'r_mc', 'grip_mc'); ASSetPropFlags(mx.controls.scrollClasses.ScrollThumb.prototype, null, 1); } #endinitclip } movieClip 234 __Packages.mx.controls.scrollClasses.ScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.scrollClasses) { _global.mx.controls.scrollClasses = new Object(); } if (!_global.mx.controls.scrollClasses.ScrollBar) { var v1 = function () { super(); }; mx.controls.scrollClasses.ScrollBar = v1; var v2 = new mx.core.UIComponent(); mx.controls.scrollClasses.ScrollBar.prototype = v2; v2.__get__scrollPosition = function () { return this._scrollPosition; }; v2.__set__scrollPosition = function (pos) { this._scrollPosition = pos; if (this.isScrolling != true) { pos = Math.min(pos, this.maxPos); pos = Math.max(pos, this.minPos); var v3 = (pos - this.minPos) * (this.scrollTrack_mc.height - this.scrollThumb_mc._height) / (this.maxPos - this.minPos) + this.scrollTrack_mc.top; this.scrollThumb_mc.move(0, v3); } return this.__get__scrollPosition(); }; v2.__get__pageScrollSize = function () { return this.largeScroll; }; v2.__set__pageScrollSize = function (lScroll) { this.largeScroll = lScroll; return this.__get__pageScrollSize(); }; v2.__set__lineScrollSize = function (sScroll) { this.smallScroll = sScroll; return this.__get__lineScrollSize(); }; v2.__get__lineScrollSize = function () { return this.smallScroll; }; v2.__get__virtualHeight = function () { return this.__height; }; v2.init = function (Void) { super.init(); this._scrollPosition = 0; this.tabEnabled = false; this.focusEnabled = false; this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; v2.createChildren = function (Void) { if (this.scrollTrack_mc == undefined) { this.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrack, this.scrollTrackName); } this.scrollTrack_mc.visible = false; var v3 = new Object(); v3.enabled = false; v3.preset = mx.controls.SimpleButton.falseDisabled; v3.initProperties = 0; v3.autoRepeat = true; v3.tabEnabled = false; var v2; if (this.upArrow_mc == undefined) { v2 = this.createButton(this.upArrowName, 'upArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDUpArrow, v3); } v2.buttonDownHandler = this.onUpArrow; v2.clickHandler = this.onScrollChanged; this._minHeight = v2.height; this._minWidth = v2.width; if (this.downArrow_mc == undefined) { v2 = this.createButton(this.downArrowName, 'downArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDDownArrow, v3); } v2.buttonDownHandler = this.onDownArrow; v2.clickHandler = this.onScrollChanged; this._minHeight += v2.height; }; v2.createButton = function (linkageName, id, skinID, o) { if (skinID == mx.controls.scrollClasses.ScrollBar.skinIDUpArrow) { o.falseUpSkin = this.upArrowUpName; o.falseDownSkin = this.upArrowDownName; o.falseOverSkin = this.upArrowOverName; var v3 = this.createObject(linkageName, id, skinID, o); this[id].visible = false; this[id].useHandCursor = false; return v3; } o.falseUpSkin = this.downArrowUpName; o.falseDownSkin = this.downArrowDownName; o.falseOverSkin = this.downArrowOverName; var v3 = this.createObject(linkageName, id, skinID, o); this[id].visible = false; this[id].useHandCursor = false; return v3; }; v2.createThumb = function (Void) { var v2 = new Object(); v2.validateNow = true; v2.tabEnabled = false; v2.leftSkin = this.thumbTopName; v2.middleSkin = this.thumbMiddleName; v2.rightSkin = this.thumbBottomName; v2.gripSkin = this.thumbGripName; this.createClassObject(mx.controls.scrollClasses.ScrollThumb, 'scrollThumb_mc', mx.controls.scrollClasses.ScrollBar.skinIDThumb, v2); }; v2.setScrollProperties = function (pSize, mnPos, mxPos, ls) { var v4; var v2 = this.scrollTrack_mc; this.pageSize = pSize; this.largeScroll = (ls != undefined && ls > 0) ? ls : pSize; this.minPos = Math.max(mnPos, 0); this.maxPos = Math.max(mxPos, 0); this._scrollPosition = Math.max(this.minPos, this._scrollPosition); this._scrollPosition = Math.min(this.maxPos, this._scrollPosition); if (this.maxPos - this.minPos > 0 && this.enabled) { var v5 = this._scrollPosition; if (!this.initializing) { this.upArrow_mc.enabled = true; this.downArrow_mc.enabled = true; } v2.onDragOver = this.startTrackScroller; v2.onPress = v2.onDragOver; v2.onRelease = this.releaseScrolling; v2.stopScrolling = this.stopScrolling; v2.onDragOut = v2.stopScrolling; v2.onReleaseOutside = this.releaseScrolling; v2.useHandCursor = false; if (this.scrollThumb_mc == undefined) { this.createThumb(); } var v3 = this.scrollThumb_mc; if (this.scrollTrackOverName.length > 0) { v2.onRollOver = this.trackOver; v2.onRollOut = this.trackOut; } v4 = (this.pageSize / (this.maxPos - this.minPos + this.pageSize)) * v2.height; if (v4 < v3.minHeight) { if (v2.height < v3.minHeight) { v3.__set__visible(false); } else { v4 = v3.minHeight; v3.__set__visible(true); v3.setSize(this._minWidth, v3.minHeight + 0); } } else { v3.__set__visible(true); v3.setSize(this._minWidth, v4); } v3.setRange(this.upArrow_mc.__get__height() + 0, this.__get__virtualHeight() - this.downArrow_mc.__get__height() - v3.__get__height(), this.minPos, this.maxPos); v5 = Math.min(v5, this.maxPos); this.__set__scrollPosition(Math.max(v5, this.minPos)); } else { this.scrollThumb_mc.__set__visible(false); if (!this.initializing) { this.upArrow_mc.enabled = false; this.downArrow_mc.enabled = false; } delete v2.onPress; delete v2.onDragOver; delete v2.onRelease; delete v2.onDragOut; delete v2.onRollOver; delete v2.onRollOut; delete v2.onReleaseOutside; } if (this.initializing) { this.scrollThumb_mc.__set__visible(false); } }; v2.setEnabled = function (enabledFlag) { super.setEnabled(enabledFlag); this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll); }; v2.draw = function (Void) { if (this.initializing) { this.initializing = false; this.scrollTrack_mc.visible = true; this.upArrow_mc.__set__visible(true); this.downArrow_mc.__set__visible(true); } this.size(); }; v2.size = function (Void) { if (this._height == 1) { return undefined; } if (this.upArrow_mc == undefined) { return undefined; } var v3 = this.upArrow_mc.__get__height(); var v2 = this.downArrow_mc.__get__height(); this.upArrow_mc.move(0, 0); var v4 = this.scrollTrack_mc; v4._y = v3; v4._height = this.__get__virtualHeight() - v3 - v2; this.downArrow_mc.move(0, this.__get__virtualHeight() - v2); this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll); }; v2.dispatchScrollEvent = function (detail) { this.dispatchEvent({'type': 'scroll', 'detail': detail}); }; v2.isScrollBarKey = function (k) { if (k == 36) { if (this.__get__scrollPosition() != 0) { this.__set__scrollPosition(0); this.dispatchScrollEvent(this.minMode); } return true; return false; } if (k == 35) { if (this.__get__scrollPosition() < this.maxPos) { this.__set__scrollPosition(this.maxPos); this.dispatchScrollEvent(this.maxMode); } return true; } return false; }; v2.scrollIt = function (inc, mode) { var v3 = this.smallScroll; if (inc != 'Line') { v3 = (this.largeScroll == 0) ? this.pageSize : this.largeScroll; } var v2 = this._scrollPosition + mode * v3; if (v2 > this.maxPos) { v2 = this.maxPos; } else { if (v2 < this.minPos) { v2 = this.minPos; } } if (this.__get__scrollPosition() != v2) { this.__set__scrollPosition(v2); var v4 = mode < 0 ? this.minusMode : this.plusMode; this.dispatchScrollEvent(inc + v4); } }; v2.startTrackScroller = function (Void) { this._parent.pressFocus(); if (this._parent.scrollTrackDownName.length > 0) { if (this._parent.scrollTrackDown_mc == undefined) { this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackDown, this.scrollTrackDownName); } else { this._parent.scrollTrackDown_mc.visible = true; } } this._parent.trackScroller(); this._parent.scrolling = setInterval(this._parent, 'scrollInterval', this.getStyle('repeatDelay'), 'Page', -1); }; v2.scrollInterval = function (inc, mode) { clearInterval(this.scrolling); if (inc == 'Page') { this.trackScroller(); } else { this.scrollIt(inc, mode); } this.scrolling = setInterval(this, 'scrollInterval', this.getStyle('repeatInterval'), inc, mode); }; v2.trackScroller = function (Void) { if (this.scrollThumb_mc._y + this.scrollThumb_mc.__get__height() < this._ymouse) { this.scrollIt('Page', 1); } else { if (this.scrollThumb_mc._y > this._ymouse) { this.scrollIt('Page', -1); } } }; v2.dispatchScrollChangedEvent = function (Void) { this.dispatchEvent({'type': 'scrollChanged'}); }; v2.stopScrolling = function (Void) { clearInterval(this._parent.scrolling); this._parent.scrollTrackDown_mc.visible = false; }; v2.releaseScrolling = function (Void) { this._parent.releaseFocus(); this.stopScrolling(); this._parent.dispatchScrollChangedEvent(); }; v2.trackOver = function (Void) { if (this._parent.scrollTrackOverName.length > 0) { if (this._parent.scrollTrackOver_mc == undefined) { this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackOver, this.scrollTrackOverName); } else { this._parent.scrollTrackOver_mc.visible = true; } } }; v2.trackOut = function (Void) { this._parent.scrollTrackOver_mc.visible = false; }; v2.onUpArrow = function (Void) { this._parent.scrollIt('Line', -1); }; v2.onDownArrow = function (Void) { this._parent.scrollIt('Line', 1); }; v2.onScrollChanged = function (Void) { this._parent.dispatchScrollChangedEvent(); }; v1.symbolOwner = mx.core.UIComponent; v2.className = 'ScrollBar'; v2.minPos = 0; v2.maxPos = 0; v2.pageSize = 0; v2.largeScroll = 0; v2.smallScroll = 1; v2._scrollPosition = 0; v2.scrollTrackName = 'ScrollTrack'; v2.scrollTrackOverName = ''; v2.scrollTrackDownName = ''; v2.upArrowName = 'BtnUpArrow'; v2.upArrowUpName = 'ScrollUpArrowUp'; v2.upArrowOverName = 'ScrollUpArrowOver'; v2.upArrowDownName = 'ScrollUpArrowDown'; v2.downArrowName = 'BtnDownArrow'; v2.downArrowUpName = 'ScrollDownArrowUp'; v2.downArrowOverName = 'ScrollDownArrowOver'; v2.downArrowDownName = 'ScrollDownArrowDown'; v2.thumbTopName = 'ScrollThumbTopUp'; v2.thumbMiddleName = 'ScrollThumbMiddleUp'; v2.thumbBottomName = 'ScrollThumbBottomUp'; v2.thumbGripName = 'ScrollThumbGripUp'; v1.skinIDTrack = 0; v1.skinIDTrackOver = 1; v1.skinIDTrackDown = 2; v1.skinIDUpArrow = 3; v1.skinIDDownArrow = 4; v1.skinIDThumb = 5; v2.idNames = new Array('scrollTrack_mc', 'scrollTrackOver_mc', 'scrollTrackDown_mc', 'upArrow_mc', 'downArrow_mc'); v2.clipParameters = {'minPos': 1, 'maxPos': 1, 'pageSize': 1, 'scrollPosition': 1, 'lineScrollSize': 1, 'pageScrollSize': 1, 'visible': 1, 'enabled': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); v2.initializing = true; v2.addProperty('lineScrollSize', v2.__get__lineScrollSize, v2.__set__lineScrollSize); v2.addProperty('pageScrollSize', v2.__get__pageScrollSize, v2.__set__pageScrollSize); v2.addProperty('scrollPosition', v2.__get__scrollPosition, v2.__set__scrollPosition); v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {}); ASSetPropFlags(mx.controls.scrollClasses.ScrollBar.prototype, null, 1); } #endinitclip } movieClip 235 __Packages.mx.core.ScrollView { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ScrollView) { var v1 = function () { super(); }; mx.core.ScrollView = v1; var v2 = new mx.core.View(); mx.core.ScrollView.prototype = v2; v2.getHScrollPolicy = function (Void) { return this.__hScrollPolicy; }; v2.setHScrollPolicy = function (policy) { this.__hScrollPolicy = policy.toLowerCase(); if (this.__width == undefined) { return undefined; } this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding); }; v2.__get__hScrollPolicy = function () { return this.getHScrollPolicy(); }; v2.__set__hScrollPolicy = function (policy) { this.setHScrollPolicy(policy); return this.__get__hScrollPolicy(); }; v2.getVScrollPolicy = function (Void) { return this.__vScrollPolicy; }; v2.setVScrollPolicy = function (policy) { this.__vScrollPolicy = policy.toLowerCase(); if (this.__width == undefined) { return undefined; } this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding); }; v2.__get__vScrollPolicy = function () { return this.getVScrollPolicy(); }; v2.__set__vScrollPolicy = function (policy) { this.setVScrollPolicy(policy); return this.__get__vScrollPolicy(); }; v2.__get__hPosition = function () { return this.getHPosition(); }; v2.__set__hPosition = function (pos) { this.setHPosition(pos); return this.__get__hPosition(); }; v2.getHPosition = function (Void) { return this.__hPosition; }; v2.setHPosition = function (pos) { this.hScroller.__set__scrollPosition(pos); this.__hPosition = pos; }; v2.__get__vPosition = function () { return this.getVPosition(); }; v2.__set__vPosition = function (pos) { this.setVPosition(pos); return this.__get__vPosition(); }; v2.getVPosition = function (Void) { return this.__vPosition; }; v2.setVPosition = function (pos) { this.vScroller.__set__scrollPosition(pos); this.__vPosition = pos; }; v2.__get__maxVPosition = function () { var v2 = this.vScroller.maxPos; return (v2 == undefined) ? 0 : v2; }; v2.__get__maxHPosition = function () { return this.getMaxHPosition(); }; v2.__set__maxHPosition = function (pos) { this.setMaxHPosition(pos); return this.__get__maxHPosition(); }; v2.getMaxHPosition = function (Void) { if (this.__maxHPosition != undefined) { return this.__maxHPosition; } var v2 = this.hScroller.maxPos; return (v2 == undefined) ? 0 : v2; }; v2.setMaxHPosition = function (pos) { this.__maxHPosition = pos; }; v2.setScrollProperties = function (colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) { var v3 = this.getViewMetrics(); if (hPadding == undefined) { hPadding = 0; } if (wPadding == undefined) { wPadding = 0; } this.propsInited = true; delete this.scrollAreaChanged; this.heightPadding = hPadding; this.widthPadding = wPadding; if (colWidth == 0) { colWidth = 1; } if (rwHeight == 0) { rwHeight = 1; } var v5 = Math.ceil((this.__width - v3.left - v3.right - this.widthPadding) / colWidth); if (this.__hScrollPolicy == 'on' || v5 < colCount && this.__hScrollPolicy == 'auto') { if (this.hScroller == undefined || this.specialHScrollCase) { delete this.specialHScrollCase; this.hScroller = this.createObject('HScrollBar', 'hSB', 1001); this.hScroller.__set__lineScrollSize(20); this.hScroller.scrollHandler = this.scrollProxy; this.hScroller.__set__scrollPosition(this.__hPosition); this.scrollAreaChanged = true; } if (this.numberOfCols != colCount || this.columnWidth != colWidth || this.viewableColumns != v5 || this.scrollAreaChanged) { this.hScroller.setScrollProperties(v5, 0, colCount - v5); this.viewableColumns = v5; this.numberOfCols = colCount; this.columnWidth = colWidth; } } else { if ((this.__hScrollPolicy == 'auto' || this.__hScrollPolicy == 'off') && this.hScroller != undefined) { this.hScroller.removeMovieClip(); delete this.hScroller; this.scrollAreaChanged = true; } } if (this.heightPadding == undefined) { this.heightPadding = 0; } var v4 = Math.ceil((this.__height - v3.top - v3.bottom - this.heightPadding) / rwHeight); var v8 = (this.__height - v3.top - v3.bottom) % rwHeight != 0; if (this.__vScrollPolicy == 'on' || v4 < rwCount + v8 && this.__vScrollPolicy == 'auto') { if (this.vScroller == undefined) { this.vScroller = this.createObject('VScrollBar', 'vSB', 1002); this.vScroller.scrollHandler = this.scrollProxy; this.vScroller.__set__scrollPosition(this.__vPosition); this.scrollAreaChanged = true; this.rowH = 0; } if (this.rowC != rwCount || this.rowH != rwHeight || this.viewableRows + v8 != v4 + this.oldRndUp || this.scrollAreaChanged) { this.vScroller.setScrollProperties(v4, 0, rwCount - v4 + v8); this.viewableRows = v4; this.rowC = rwCount; this.rowH = rwHeight; this.oldRndUp = v8; } } else { if ((this.__vScrollPolicy == 'auto' || this.__vScrollPolicy == 'off') && this.vScroller != undefined) { this.vScroller.removeMovieClip(); delete this.vScroller; this.scrollAreaChanged = true; } } this.numberOfCols = colCount; this.columnWidth = colWidth; if (this.scrollAreaChanged) { this.doLayout(); var v2 = this.__viewMetrics; var v12 = (this.owner != undefined) ? this.owner : this; v12.layoutContent(v2.left, v2.top, this.columnWidth * this.numberOfCols - v2.left - v2.right, this.rowC * this.rowH, this.__width - v2.left - v2.right, this.__height - v2.top - v2.bottom); } if (!this.enabled) { this.setEnabled(false); } }; v2.getViewMetrics = function (Void) { var v2 = this.__viewMetrics; var v3 = this.border_mc.__get__borderMetrics(); v2.left = v3.left; v2.right = v3.right; if (this.vScroller != undefined) { v2.right += this.vScroller.minWidth; } v2.top = v3.top; if (this.hScroller == undefined && (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == true)) { this.hScroller = this.createObject('FHScrollBar', 'hSB', 1001); this.specialHScrollCase = true; } v2.bottom = v3.bottom; if (this.hScroller != undefined) { v2.bottom += this.hScroller.minHeight; } return v2; }; v2.doLayout = function (Void) { var v10 = this.__get__width(); var v8 = this.__get__height(); delete this.invLayout; this.__viewMetrics = this.getViewMetrics(); var v3 = this.__viewMetrics; var v2 = v3.left; var v9 = v3.right; var v5 = v3.top; var v11 = v3.bottom; var v7 = this.hScroller; var v6 = this.vScroller; v7.setSize(v10 - v2 - v9, v7.minHeight + 0); v7.move(v2, v8 - v11); v6.setSize(v6.minWidth + 0, v8 - v5 - v11); v6.move(v10 - v9, v5); var v4 = this.mask_mc; v4._width = v10 - v2 - v9; v4._height = v8 - v5 - v11; v4._x = v2; v4._y = v5; }; v2.createChild = function (id, name, props) { var v2 = super.createChild(id, name, props); return v2; }; v2.init = function (Void) { super.init(); this.__viewMetrics = new Object(); if (_global.__SVMouseWheelManager == undefined) { _global.__SVMouseWheelManager = new Object(); var v4 = _global.__SVMouseWheelManager; v4.onMouseWheel = this.__onMouseWheel; Mouse.addListener(v4); } }; v2.__onMouseWheel = function (delta, scrollTarget) { var v4 = scrollTarget; var v1; while (v4 != undefined) { if (v4 instanceof mx.core.ScrollView) { v1 = v4; false; } v4 = v4._parent; } if (v1 != undefined) { v4 = delta <= 0 ? 1 : -1; var v2 = v1.vScroller.lineScrollSize; if (v2 == undefined) { v2 = 0; } v2 = Math.max(Math.abs(delta), v2); var v3 = v1.vPosition + v2 * v4; v1.vPosition = Math.max(0, Math.min(v3, v1.maxVPosition)); v1.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': v1.vPosition}); } }; v2.createChildren = function (Void) { super.createChildren(); if (this.mask_mc == undefined) { this.mask_mc = this.createObject('BoundingBox', 'mask_mc', this.MASK_DEPTH); } this.mask_mc._visible = false; }; v2.invalidate = function (Void) { super.invalidate(); }; v2.draw = function (Void) { this.size(); }; v2.size = function (Void) { super.size(); }; v2.scrollProxy = function (docObj) { this._parent.onScroll(docObj); }; v2.onScroll = function (docObj) { var v3 = docObj.target; var v2 = v3.scrollPosition; if (v3 == this.vScroller) { var v4 = 'vertical'; var v5 = '__vPosition'; } else { var v4 = 'horizontal'; var v5 = '__hPosition'; } this[v5] = v2; this.dispatchEvent({'type': 'scroll', 'direction': v4, 'position': v2}); }; v2.setEnabled = function (v) { this.hScroller.enabled = v; this.vScroller.enabled = this.hScroller.enabled; }; v2.childLoaded = function (obj) { super.childLoaded(obj); obj.setMask(this.mask_mc); }; v1.symbolName = 'ScrollView'; v1.symbolOwner = mx.core.ScrollView; v1.version = '2.0.2.127'; v2.className = 'ScrollView'; v2.__vScrollPolicy = 'auto'; v2.__hScrollPolicy = 'off'; v2.__vPosition = 0; v2.__hPosition = 0; v2.numberOfCols = 0; v2.rowC = 0; v2.columnWidth = 1; v2.rowH = 0; v2.heightPadding = 0; v2.widthPadding = 0; v2.MASK_DEPTH = 10000; v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition); v2.addProperty('hScrollPolicy', v2.__get__hScrollPolicy, v2.__set__hScrollPolicy); v2.addProperty('maxHPosition', v2.__get__maxHPosition, v2.__set__maxHPosition); v2.addProperty('maxVPosition', v2.__get__maxVPosition, function () {}); v2.addProperty('vPosition', v2.__get__vPosition, v2.__set__vPosition); v2.addProperty('vScrollPolicy', v2.__get__vScrollPolicy, v2.__set__vScrollPolicy); ASSetPropFlags(mx.core.ScrollView.prototype, null, 1); } #endinitclip } movieClip 236 __Packages.mx.controls.listclasses.DataProvider { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.listclasses) { _global.mx.controls.listclasses = new Object(); } if (!_global.mx.controls.listclasses.DataProvider) { var v1 = function (obj) { super(); }; mx.controls.listclasses.DataProvider = v1; var v2 = new Object(); mx.controls.listclasses.DataProvider.prototype = v2; v1.Initialize = function (obj) { var v4 = mx.controls.listclasses.DataProvider.mixinProps; var v6 = v4.length; obj = obj.prototype; var v3 = 0; while (v3 < v6) { obj[v4[v3]] = mx.controls.listclasses.DataProvider.mixins[v4[v3]]; _global.ASSetPropFlags(obj, v4[v3], 1); ++v3; } mx.events.EventDispatcher.initialize(obj); _global.ASSetPropFlags(obj, 'addEventListener', 1); _global.ASSetPropFlags(obj, 'removeEventListener', 1); _global.ASSetPropFlags(obj, 'dispatchEvent', 1); _global.ASSetPropFlags(obj, 'dispatchQueue', 1); Object.prototype.LargestID = 0; Object.prototype.getID = function () { if (this.__ID__ == undefined) { this.__ID__ = Object.prototype.LargestID++; _global.ASSetPropFlags(this, '__ID__', 1); } return this.__ID__; }; _global.ASSetPropFlags(Object.prototype, 'LargestID', 1); _global.ASSetPropFlags(Object.prototype, 'getID', 1); return true; }; v2.addItemAt = function (index, value) { if (index < this.length) { this.splice(index, 0, value); } else { if (index > this.length) { trace('Cannot add an item past the end of the DataProvider'); return undefined; } } this[index] = value; this.updateViews('addItems', index, index); }; v2.addItem = function (value) { this.addItemAt(this.length, value); }; v2.addItemsAt = function (index, newItems) { index = Math.min(this.length, index); newItems.unshift(index, 0); this.splice.apply(this, newItems); newItems.splice(0, 2); this.updateViews('addItems', index, index + newItems.length - 1); }; v2.removeItemsAt = function (index, len) { var v3 = new Array(); var v2 = 0; while (v2 < len) { v3.push(this.getItemID(index + v2)); ++v2; } var v6 = this.splice(index, len); this.dispatchEvent({'type': 'modelChanged', 'eventName': 'removeItems', 'firstItem': index, 'lastItem': index + len - 1, 'removedItems': v6, 'removedIDs': v3}); }; v2.removeItemAt = function (index) { var v2 = this[index]; this.removeItemsAt(index, 1); return v2; }; v2.removeAll = function (Void) { this.splice(0); this.updateViews('removeItems', 0, this.length - 1); }; v2.replaceItemAt = function (index, itemObj) { if (index < 0 || index >= this.length) { return undefined; } var v3 = this.getItemID(index); this[index] = itemObj; this[index].__ID__ = v3; this.updateViews('updateItems', index, index); }; v2.getItemAt = function (index) { return this[index]; }; v2.getItemID = function (index) { var v2 = this[index]; if (typeof v2 != 'object' && v2 != undefined) { return index; } else { return v2.getID(); } }; v2.sortItemsBy = function (fieldName, order) { if (typeof order == 'string') { this.sortOn(fieldName); if (order.toUpperCase() == 'DESC') { this.reverse(); } } else { this.sortOn(fieldName, order); } this.updateViews('sort'); }; v2.sortItems = function (compareFunc, optionFlags) { this.sort(compareFunc, optionFlags); this.updateViews('sort'); }; v2.editField = function (index, fieldName, newData) { this[index][fieldName] = newData; this.dispatchEvent({'type': 'modelChanged', 'eventName': 'updateField', 'firstItem': index, 'lastItem': index, 'fieldName': fieldName}); }; v2.getEditingData = function (index, fieldName) { return this[index][fieldName]; }; v2.updateViews = function (event, first, last) { this.dispatchEvent({'type': 'modelChanged', 'eventName': event, 'firstItem': first, 'lastItem': last}); }; v1.mixinProps = ['addView', 'addItem', 'addItemAt', 'removeAll', 'removeItemAt', 'replaceItemAt', 'getItemAt', 'getItemID', 'sortItemsBy', 'sortItems', 'updateViews', 'addItemsAt', 'removeItemsAt', 'getEditingData', 'editField']; v1.evtDipatcher = mx.events.EventDispatcher; v1.mixins = new mx.controls.listclasses.DataProvider(); ASSetPropFlags(mx.controls.listclasses.DataProvider.prototype, null, 1); } #endinitclip } movieClip 237 __Packages.mx.controls.listclasses.ScrollSelectList { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.listclasses) { _global.mx.controls.listclasses = new Object(); } if (!_global.mx.controls.listclasses.ScrollSelectList) { var v1 = function () { super(); }; mx.controls.listclasses.ScrollSelectList = v1; var v2 = new mx.core.ScrollView(); mx.controls.listclasses.ScrollSelectList.prototype = v2; v2.layoutContent = function (x, y, w, h) { delete this.invLayoutContent; var v4 = Math.ceil(h / this.__rowHeight); this.roundUp = h % this.__rowHeight != 0; var v12 = v4 - this.__rowCount; if (v12 < 0) { var v3 = v4; while (v3 < this.__rowCount) { this.rows[v3].removeMovieClip(); delete this.rows[v3]; ++v3; } this.topRowZ += v12; } else { if (v12 > 0) { if (this.rows == undefined) { this.rows = new Array(); } var v3 = this.__rowCount; while (v3 < v4) { this.rows[v3] = this.listContent.createObject(this.__rowRenderer, 'listRow' + this.topRowZ++, this.topRowZ, {'owner': this, 'styleName': this, 'rowIndex': v3}); var v2 = this.rows[v3]; v2._x = x; v2._y = Math.round(v3 * this.__rowHeight + y); v2.setSize(w, this.__rowHeight); v2.drawRow(this.__dataProvider.getItemAt(this.__vPosition + v3), this.getStateAt(this.__vPosition + v3)); v2.lastY = v2._y; ++v3; } } } if (w != this.tW) { var v11 = v12 > 0 ? this.__rowCount : v4; v3 = 0; while (v3 < v11) { this.rows[v3].setSize(w, this.__rowHeight); ++v3; } } if (this.layoutX != x || this.layoutY != y) { v3 = 0; while (v3 < v4) { this.rows[v3]._x = x; this.rows[v3]._y = Math.round(v3 * this.__rowHeight + y); ++v3; } } this.__rowCount = v4; this.layoutX = x; this.layoutY = y; this.tW = w; this.tH = h; }; v2.getRowHeight = function (Void) { return this.__rowHeight; }; v2.setRowHeight = function (v) { this.__rowHeight = v; this.invRowHeight = true; this.invalidate(); }; v2.__get__rowHeight = function () { return this.getRowHeight(); }; v2.__set__rowHeight = function (w) { this.setRowHeight(w); return this.__get__rowHeight(); }; v2.setRowCount = function (v) { this.__rowCount = v; }; v2.getRowCount = function (Void) { if (this.__rowCount != 0) { var v2 = this.__rowCount; return v2; } var v2 = Math.ceil(this.__height / this.__rowHeight); return v2; }; v2.__get__rowCount = function () { return this.getRowCount(); }; v2.__set__rowCount = function (w) { this.setRowCount(w); return this.__get__rowCount(); }; v2.setEnabled = function (v) { super.setEnabled(v); this.invUpdateControl = true; this.invalidate(); }; v2.setCellRenderer = function (cR) { this.__cellRenderer = cR; var v2 = 0; while (v2 < this.rows.length) { this.rows[v2].setCellRenderer(true); ++v2; } this.invUpdateControl = true; this.invalidate(); }; v2.__set__cellRenderer = function (cR) { this.setCellRenderer(cR); return this.__get__cellRenderer(); }; v2.__get__cellRenderer = function () { return this.__cellRenderer; }; v2.__set__labelField = function (field) { this.setLabelField(field); return this.__get__labelField(); }; v2.setLabelField = function (field) { this.__labelField = field; this.invUpdateControl = true; this.invalidate(); }; v2.__get__labelField = function () { return this.__labelField; }; v2.__set__labelFunction = function (func) { this.setLabelFunction(func); return this.__get__labelFunction(); }; v2.setLabelFunction = function (func) { this.__labelFunction = func; this.invUpdateControl = true; this.invalidate(); }; v2.__get__labelFunction = function () { return this.__labelFunction; }; v2.__set__iconField = function (field) { this.setIconField(field); return this.__get__iconField(); }; v2.setIconField = function (field) { this.__iconField = field; this.invUpdateControl = true; this.invalidate(); }; v2.__get__iconField = function () { return this.__iconField; }; v2.__set__iconFunction = function (func) { this.setIconFunction(func); return this.__get__iconFunction(); }; v2.setIconFunction = function (func) { this.__iconFunction = func; this.invUpdateControl = true; this.invalidate(); }; v2.__get__iconFunction = function () { return this.__iconFunction; }; v2.setVPosition = function (pos) { if (pos < 0) { return undefined; } if (pos > 0 && pos > this.getLength() - this.__rowCount + this.roundUp) { return undefined; } var v8 = pos - this.__vPosition; if (v8 == 0) { return undefined; } this.__vPosition = pos; var v10 = v8 > 0; v8 = Math.abs(v8); if (v8 >= this.__rowCount) { this.updateControl(); } else { var v4 = new Array(); var v9 = this.__rowCount - v8; var v12 = v8 * this.__rowHeight; var v11 = v9 * this.__rowHeight; var v6 = v10 ? 1 : -1; var v3 = 0; while (v3 < this.__rowCount) { if (v3 < v8 && v10 || v3 >= v9 && !v10) { this.rows[v3]._y += Math.round(v6 * v11); var v5 = v3 + v6 * v9; var v7 = this.__vPosition + v5; v4[v5] = this.rows[v3]; v4[v5].rowIndex = v5; v4[v5].drawRow(this.__dataProvider.getItemAt(v7), this.getStateAt(v7), false); } else { this.rows[v3]._y -= Math.round(v6 * v12); var v5 = v3 - v6 * v8; v4[v5] = this.rows[v3]; v4[v5].rowIndex = v5; } ++v3; } this.rows = v4; v3 = 0; while (v3 < this.__rowCount) { this.rows[v3].swapDepths(this.baseRowZ + v3); ++v3; } } this.lastPosition = pos; super.setVPosition(pos); }; v2.setPropertiesAt = function (index, obj) { var v2 = this.__dataProvider.getItemID(index); if (v2 == undefined) { return undefined; } if (this.propertyTable == undefined) { this.propertyTable = new Object(); } this.propertyTable[v2] = obj; this.rows[index - this.__vPosition].drawRow(this.__dataProvider.getItemAt(index), this.getStateAt(index)); }; v2.getPropertiesAt = function (index) { var v2 = this.__dataProvider.getItemID(index); if (v2 == undefined) { return undefined; } return this.propertyTable[v2]; }; v2.getPropertiesOf = function (obj) { var v2 = obj.getID(); if (v2 == undefined) { return undefined; } return this.propertyTable[v2]; }; v2.getStyle = function (styleProp) { var v2 = super.getStyle(styleProp); var v3 = mx.styles.StyleManager.colorNames[v2]; if (v3 != undefined) { v2 = v3; } return v2; }; v2.updateControl = function (Void) { var v2 = 0; while (v2 < this.__rowCount) { this.rows[v2].drawRow(this.__dataProvider.getItemAt(v2 + this.__vPosition), this.getStateAt(v2 + this.__vPosition)); ++v2; } delete this.invUpdateControl; }; v2.getStateAt = function (index) { return this.isSelected(index) ? 'selected' : 'normal'; }; v2.selectRow = function (rowIndex, transition, allowChangeEvent) { if (!this.selectable) { return undefined; } var v3 = this.__vPosition + rowIndex; var v8 = this.__dataProvider.getItemAt(v3); var v5 = this.rows[rowIndex]; if (v8 == undefined) { return undefined; } if (transition == undefined) { transition = true; } if (allowChangeEvent == undefined) { allowChangeEvent = this.wasKeySelected; } this.changeFlag = true; if (!this.multipleSelection && !Key.isDown(17) || !Key.isDown(16) && !Key.isDown(17)) { this.clearSelected(transition); this.selectItem(v3, true); this.lastSelected = v3; v5.drawRow(v5.item, this.getStateAt(v3), transition); } else { if (Key.isDown(16) && this.multipleSelection) { if (this.lastSelected == undefined) { this.lastSelected = v3; } var v4 = this.lastSelected < v3 ? 1 : -1; this.clearSelected(false); var v2 = this.lastSelected; while (v2 != v3) { this.selectItem(v2, true); if (v2 >= this.__vPosition && v2 < this.__vPosition + this.__rowCount) { this.rows[v2 - this.__vPosition].drawRow(this.rows[v2 - this.__vPosition].item, 'selected', false); } v2 += v4; } this.selectItem(v3, true); v5.drawRow(v5.item, 'selected', transition); } else { if (Key.isDown(17)) { var v7 = this.isSelected(v3); if (!this.multipleSelection || this.wasKeySelected) { this.clearSelected(transition); } if (!(!this.multipleSelection && v7)) { this.selectItem(v3, !v7); var v9 = !v7 ? 'selected' : 'normal'; v5.drawRow(v5.item, v9, transition); } this.lastSelected = v3; } } } if (allowChangeEvent) { this.dispatchEvent({'type': 'change'}); } delete this.wasKeySelected; }; v2.dragScroll = function (Void) { clearInterval(this.dragScrolling); if (this._ymouse < 0) { this.setVPosition(this.__vPosition - 1); this.selectRow(0, false); var v2 = Math.min(-this._ymouse - 30, 0); this.scrollInterval = 0.593 * v2 * v2 + 1 + this.minScrollInterval; this.dragScrolling = setInterval(this, 'dragScroll', this.scrollInterval); this.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': this.__vPosition}); } else { if (this._ymouse > this.__height) { var v3 = this.__vPosition; this.setVPosition(this.__vPosition + 1); if (v3 != this.__vPosition) { this.selectRow(this.__rowCount - 1 - this.roundUp, false); } var v2 = Math.min(this._ymouse - this.__height - 30, 0); this.scrollInterval = 0.593 * v2 * v2 + 1 + this.minScrollInterval; this.dragScrolling = setInterval(this, 'dragScroll', this.scrollInterval); this.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': this.__vPosition}); } else { this.dragScrolling = setInterval(this, 'dragScroll', 15); } } updateAfterEvent(); }; v2.__onMouseUp = function (Void) { clearInterval(this.dragScrolling); delete this.dragScrolling; delete this.dragScrolling; delete this.isPressed; delete this.onMouseUp; if (!this.selectable) { return undefined; } if (this.changeFlag) { this.dispatchEvent({'type': 'change'}); } delete this.changeFlag; }; v2.moveSelBy = function (incr) { if (!this.selectable) { this.setVPosition(this.__vPosition + incr); return undefined; } var v3 = this.getSelectedIndex(); if (v3 == undefined) { v3 = -1; } var v2 = v3 + incr; v2 = Math.max(0, v2); v2 = Math.min(this.getLength() - 1, v2); if (v2 == v3) { return undefined; } if (v3 < this.__vPosition || v3 >= this.__vPosition + this.__rowCount) { this.setVPosition(v3); } if (v2 >= this.__vPosition + this.__rowCount - this.roundUp || v2 < this.__vPosition) { this.setVPosition(this.__vPosition + incr); } this.wasKeySelected = true; this.selectRow(v2 - this.__vPosition, false); }; v2.keyDown = function (e) { if (this.selectable) { if (this.findInputText()) { return undefined; } } if (e.code == 40) { this.moveSelBy(1); } else { if (e.code == 38) { this.moveSelBy(-1); } else { if (e.code == 34) { if (this.selectable) { var v3 = this.getSelectedIndex(); if (v3 == undefined) { v3 = 0; } this.setVPosition(v3); } this.moveSelBy(this.__rowCount - 1 - this.roundUp); } else { if (e.code == 33) { if (this.selectable) { var v3 = this.getSelectedIndex(); if (v3 == undefined) { v3 = 0; } this.setVPosition(v3); } this.moveSelBy(1 - this.__rowCount + this.roundUp); } else { if (e.code == 36) { this.moveSelBy(-this.__dataProvider.length); } else { if (e.code == 35) { this.moveSelBy(this.__dataProvider.length); } } } } } } }; v2.findInputText = function (Void) { var v2 = Key.getAscii(); if (v2 >= 33 && v2 <= 126) { this.findString(String.fromCharCode(v2)); return true; } }; v2.findString = function (str) { if (this.__dataProvider.length == 0) { return undefined; } var v4 = this.getSelectedIndex(); if (v4 == undefined) { v4 = 0; } var v6 = 0; var v3 = v4 + 1; while (v3 != v4) { var v2 = this.__dataProvider.getItemAt(v3); if (v2 instanceof XMLNode) { v2 = v2.attributes[this.__labelField]; } else { if (typeof v2 != 'string') { v2 = String(v2[this.__labelField]); } } v2 = v2.substring(0, str.length); if (str == v2 || str.toUpperCase() == v2.toUpperCase()) { v6 = v3 - v4; break; } if (v3 >= this.getLength() - 1) { v3 = -1; } ++v3; } if (v6 != 0) { this.moveSelBy(v6); } }; v2.onRowPress = function (rowIndex) { if (!this.enabled) { return undefined; } this.isPressed = true; this.dragScrolling = setInterval(this, 'dragScroll', 15); this.onMouseUp = this.__onMouseUp; if (!this.selectable) { return undefined; } this.selectRow(rowIndex); }; v2.onRowRelease = function (rowIndex) {}; v2.onRowRollOver = function (rowIndex) { if (!this.enabled) { return undefined; } var v2 = this.rows[rowIndex].item; if (this.getStyle('useRollOver') && v2 != undefined) { this.rows[rowIndex].drawRow(v2, 'highlighted', false); } this.dispatchEvent({'type': 'itemRollOver', 'index': rowIndex + this.__vPosition}); }; v2.onRowRollOut = function (rowIndex) { if (!this.enabled) { return undefined; } if (this.getStyle('useRollOver')) { this.rows[rowIndex].drawRow(this.rows[rowIndex].item, this.getStateAt(rowIndex + this.__vPosition), false); } this.dispatchEvent({'type': 'itemRollOut', 'index': rowIndex + this.__vPosition}); }; v2.onRowDragOver = function (rowIndex) { if (!this.enabled || this.isPressed != true || !this.selectable) { return undefined; } if (this.dropEnabled) { } else { if (this.dragScrolling) { this.selectRow(rowIndex, false); } else { this.onMouseUp = this.__onMouseUp; this.onRowPress(rowIndex); } } }; v2.onRowDragOut = function (rowIndex) { if (!this.enabled) { return undefined; } if (this.dragEnabled) { } else { this.onRowRollOut(rowIndex); } }; v2.init = function (Void) { super.init(); this.tabEnabled = true; this.tabChildren = false; if (this.__dataProvider == undefined) { this.__dataProvider = new Array(); this.__dataProvider.addEventListener('modelChanged', this); } this.topRowZ = 10; this.baseRowZ = 10; }; v2.createChildren = function (Void) { super.createChildren(); this.listContent = this.createEmptyMovieClip('content_mc', this.CONTENTDEPTH); this.invLayoutContent = true; this.invalidate(); }; v2.draw = function (Void) { if (this.invRowHeight) { delete this.invRowHeight; this.__rowCount = 0; this.listContent.removeMovieClip(); this.listContent = this.createEmptyMovieClip('content_mc', this.CONTENTDEPTH); } if (this.invUpdateControl) { this.updateControl(); } this.border_mc.draw(); }; v2.invalidateStyle = function (propName) { if (this.isRowStyle[propName]) { this.invUpdateControl = true; this.invalidate(); } else { var v3 = 0; while (v3 < this.__rowCount) { this.rows[v3].invalidateStyle(propName); ++v3; } } super.invalidateStyle(propName); }; v1.mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.listclasses.ScrollSelectList); v1.mixIt2 = mx.controls.listclasses.DataProvider.Initialize(Array); v2.CONTENTDEPTH = 100; v2.__hPosition = 0; v2.__rowRenderer = 'SelectableRow'; v2.__rowHeight = 22; v2.__rowCount = 0; v2.__labelField = 'label'; v2.minScrollInterval = 30; v2.dropEnabled = false; v2.dragEnabled = false; v2.className = 'ScrollSelectList'; v2.isRowStyle = {'styleName': true, 'backgroundColor': true, 'selectionColor': true, 'rollOverColor': true, 'selectionDisabledColor': true, 'backgroundDisabledColor': true, 'textColor': true, 'textSelectedColor': true, 'textRollOverColor': true, 'textDisabledColor': true, 'alternatingRowColors': true, 'defaultIcon': true}; v2.roundUp = 0; v2.selectable = true; v2.multipleSelection = false; v2.addProperty('cellRenderer', v2.__get__cellRenderer, v2.__set__cellRenderer); v2.addProperty('iconField', v2.__get__iconField, v2.__set__iconField); v2.addProperty('iconFunction', v2.__get__iconFunction, v2.__set__iconFunction); v2.addProperty('labelField', v2.__get__labelField, v2.__set__labelField); v2.addProperty('labelFunction', v2.__get__labelFunction, v2.__set__labelFunction); v2.addProperty('rowCount', v2.__get__rowCount, v2.__set__rowCount); v2.addProperty('rowHeight', v2.__get__rowHeight, v2.__set__rowHeight); ASSetPropFlags(mx.controls.listclasses.ScrollSelectList.prototype, null, 1); } #endinitclip } movieClip 238 __Packages.mx.controls.List { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.List) { var v1 = function () { super(); }; mx.controls.List = v1; var v2 = new mx.controls.listclasses.ScrollSelectList(); mx.controls.List.prototype = v2; v2.setEnabled = function (v) { super.setEnabled(v); this.border_mc.backgroundColorName = v ? 'backgroundColor' : 'backgroundDisabledColor'; this.border_mc.invalidate(); }; v2.__get__labels = function () { return this.__labels; }; v2.__set__labels = function (lbls) { this.__labels = lbls; this.setDataProvider(lbls); return this.__get__labels(); }; v2.setVPosition = function (pos) { pos = Math.min(this.__dataProvider.length - this.__get__rowCount() + this.roundUp, pos); pos = Math.max(0, pos); super.setVPosition(pos); }; v2.setHPosition = function (pos) { pos = Math.max(Math.min(this.__maxHPosition, pos), 0); super.setHPosition(pos); this.hScroll(pos); }; v2.setMaxHPosition = function (pos) { this.__maxHPosition = pos; this.invScrollProps = true; this.invalidate(); }; v2.setHScrollPolicy = function (policy) { if (policy.toLowerCase() == 'auto' && !this.autoHScrollAble) { return undefined; } super.setHScrollPolicy(policy); if (policy == 'off') { this.setHPosition(0); this.setVPosition(Math.min(this.__dataProvider.length - this.__get__rowCount() + this.roundUp, this.__vPosition)); } }; v2.setRowCount = function (rC) { if (isNaN(rC)) { return undefined; } var v2 = this.getViewMetrics(); this.setSize(this.__width, this.__rowHeight * rC + v2.top + v2.bottom); }; v2.layoutContent = function (x, y, tW, tH, dW, dH) { this.totalWidth = tW; this.totalHeight = tH; this.displayWidth = dW; var v4 = (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == 'auto') ? Math.max(tW, dW) : dW; super.layoutContent(x, y, v4, dH); }; v2.modelChanged = function (eventObj) { super.modelChanged(eventObj); var v3 = eventObj.eventName; if (v3 == 'addItems' || v3 == 'removeItems' || v3 == 'updateAll' || v3 == 'filterModel') { this.invScrollProps = true; this.invalidate('invScrollProps'); } }; v2.onScroll = function (eventObj) { var v3 = eventObj.target; if (v3 == this.vScroller) { this.setVPosition(v3.scrollPosition); } else { this.hScroll(v3.scrollPosition); } super.onScroll(eventObj); }; v2.hScroll = function (pos) { this.__hPosition = pos; this.listContent._x = -pos; }; v2.init = function (Void) { super.init(); if ((this.__get__labels()).length > 0) { var v6 = new Array(); var v3 = 0; while (v3 < (this.__get__labels()).length) { v6.addItem({'label': (this.__get__labels())[v3], 'data': this.data[v3]}); ++v3; } this.setDataProvider(v6); } this.__maxHPosition = 0; }; v2.createChildren = function (Void) { super.createChildren(); this.listContent.setMask(this.mask_mc); this.border_mc.move(0, 0); this.border_mc.setSize(this.__width, this.__height); }; v2.getRowCount = function (Void) { var v2 = this.getViewMetrics(); return (this.__rowCount == 0) ? Math.ceil((this.__height - v2.top - v2.bottom) / this.__rowHeight) : this.__rowCount; }; v2.size = function (Void) { super.size(); this.configureScrolling(); var v3 = this.getViewMetrics(); this.layoutContent(v3.left, v3.top, this.__width + this.__maxHPosition, this.totalHeight, this.__width - v3.left - v3.right, this.__height - v3.top - v3.bottom); }; v2.draw = function (Void) { if (this.invRowHeight) { this.invScrollProps = true; super.draw(); this.listContent.setMask(this.mask_mc); this.invLayoutContent = true; } if (this.invScrollProps) { this.configureScrolling(); delete this.invScrollProps; } if (this.invLayoutContent) { var v3 = this.getViewMetrics(); this.layoutContent(v3.left, v3.top, this.__width + this.__maxHPosition, this.totalHeight, this.__width - v3.left - v3.right, this.__height - v3.top - v3.bottom); } super.draw(); }; v2.configureScrolling = function (Void) { var v2 = this.__dataProvider.length; if (this.__vPosition > Math.max(0, v2 - this.getRowCount() + this.roundUp)) { this.setVPosition(Math.max(0, Math.min(v2 - this.getRowCount() + this.roundUp, this.__vPosition))); } var v3 = this.getViewMetrics(); var v4 = (this.__hScrollPolicy != 'off') ? this.__maxHPosition + this.__width - v3.left - v3.right : this.__width - v3.left - v3.right; if (v2 == undefined) { v2 = 0; } this.setScrollProperties(v4, 1, v2, this.__rowHeight); if (this.oldVWidth != v4) { this.invLayoutContent = true; } this.oldVWidth = v4; }; v1.symbolOwner = mx.controls.List; v1.symbolName = 'List'; v2.className = 'List'; v1.version = '2.0.2.127'; v2.clipParameters = {'rowHeight': 1, 'enabled': 1, 'visible': 1, 'labels': 1}; v2.scrollDepth = 1; v2.__vScrollPolicy = 'on'; v2.autoHScrollAble = false; v2.addProperty('labels', v2.__get__labels, v2.__set__labels); ASSetPropFlags(mx.controls.List.prototype, null, 1); } #endinitclip } movieClip 239 __Packages.mx.effects.Tween { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.effects) { _global.mx.effects = new Object(); } if (!_global.mx.effects.Tween) { var v1 = function (listenerObj, init, end, dur) { super(); if (listenerObj == undefined) { return undefined; } if (typeof init != 'number') { this.arrayMode = true; } this.listener = listenerObj; this.initVal = init; this.endVal = end; if (dur != undefined) { this.duration = dur; } this.startTime = getTimer(); if (this.duration == 0) { this.endTween(); } else { mx.effects.Tween.AddTween(this); } }; mx.effects.Tween = v1; var v2 = new Object(); mx.effects.Tween.prototype = v2; v1.AddTween = function (tween) { tween.ID = mx.effects.Tween.ActiveTweens.length; mx.effects.Tween.ActiveTweens.push(tween); if (mx.effects.Tween.IntervalToken == undefined) { mx.effects.Tween.Dispatcher.DispatchTweens = mx.effects.Tween.DispatchTweens; mx.effects.Tween.IntervalToken = setInterval(mx.effects.Tween.Dispatcher, 'DispatchTweens', mx.effects.Tween.Interval); } }; v1.RemoveTweenAt = function (index) { var v2 = mx.effects.Tween.ActiveTweens; if (index >= v2.length || index < 0 || index == undefined) { return undefined; } v2.splice(index, 1); var v4 = v2.length; var v1 = index; while (v1 < v4) { --v2[v1].ID; ++v1; } if (v4 == 0) { clearInterval(mx.effects.Tween.IntervalToken); delete mx.effects.Tween.IntervalToken; } }; v1.DispatchTweens = function (Void) { var v2 = mx.effects.Tween.ActiveTweens; var v3 = v2.length; var v1 = 0; while (v1 < v3) { v2[v1].doInterval(); ++v1; } updateAfterEvent(); }; v2.doInterval = function () { var v2 = getTimer() - this.startTime; var v3 = this.getCurVal(v2); if (v2 >= this.duration) { this.endTween(); } else { if (this.updateFunc != undefined) { this.listener[this.updateFunc](v3); } else { this.listener.onTweenUpdate(v3); } } }; v2.getCurVal = function (curTime) { if (this.arrayMode) { var v3 = new Array(); var v2 = 0; while (v2 < this.initVal.length) { v3[v2] = this.easingEquation(curTime, this.initVal[v2], this.endVal[v2] - this.initVal[v2], this.duration); ++v2; } return v3; } else { return this.easingEquation(curTime, this.initVal, this.endVal - this.initVal, this.duration); } }; v2.endTween = function () { if (this.endFunc != undefined) { this.listener[this.endFunc](this.endVal); } else { this.listener.onTweenEnd(this.endVal); } mx.effects.Tween.RemoveTweenAt(this.ID); }; v2.setTweenHandlers = function (update, end) { this.updateFunc = update; this.endFunc = end; }; v2.easingEquation = function (t, b, c, d) { return (c / 2) * (Math.sin(Math.PI * (t / d - 0.5)) + 1) + b; }; v1.ActiveTweens = new Array(); v1.Interval = 10; v1.Dispatcher = new Object(); v2.duration = 3000; ASSetPropFlags(mx.effects.Tween.prototype, null, 1); } #endinitclip } movieClip 240 __Packages.mx.controls.listclasses.SelectableRow { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.listclasses) { _global.mx.controls.listclasses = new Object(); } if (!_global.mx.controls.listclasses.SelectableRow) { var v1 = function () { super(); }; mx.controls.listclasses.SelectableRow = v1; var v2 = new mx.core.UIComponent(); mx.controls.listclasses.SelectableRow.prototype = v2; v2.setValue = function (itmObj, state) { var v7 = this.__height; var v2 = this.cell; var v5 = this.owner; var v8 = this.itemToString(itmObj); if (v2.getValue() != v8) { v2.setValue(v8, itmObj, state); } var v4 = (v5.getPropertiesAt(this.rowIndex + v5.__vPosition)).icon; if (v4 == undefined) { v4 = v5.__iconFunction(itmObj); if (v4 == undefined) { v4 = itmObj[v5.__iconField]; if (v4 == undefined) { v4 = v5.getStyle('defaultIcon'); } } } var v3 = this.icon_mc; if (v4 != undefined && itmObj != undefined) { v3 = this.createObject(v4, 'icon_mc', 20); v3._x = 2; v3._y = (v7 - v3._height) / 2; v2._x = 4 + v3._width; } else { v3.removeMovieClip(); v2._x = 2; } var v9 = (v3 == undefined) ? 0 : v3._width; v2.setSize(this.__width - v9, Math.min(v7, v2.getPreferredHeight())); v2._y = (v7 - v2._height) / 2; }; v2.size = function (Void) { var v3 = this.backGround; var v2 = this.cell; var v4 = this.__height; var v5 = this.__width; var v6 = (this.icon_mc == undefined) ? 0 : this.icon_mc._width; v2.setSize(v5 - v6, Math.min(v4, v2.getPreferredHeight())); v2._y = (v4 - v2._height) / 2; this.icon_mc._y = (v4 - this.icon_mc._height) / 2; v3._x = 0; v3._width = v5; v3._height = v4; this.drawRowFill(v3, this.normalColor); this.drawRowFill(this.highlight, this.highlightColor); }; v2.setCellRenderer = function (forceSizing) { var v3 = this.owner.__cellRenderer; var v4; if (this.cell != undefined) { v4 = this.cell._x; this.cell.removeMovieClip(); this.cell.removeTextField(); } var v2; if (v3 == undefined) { this.cell = this.createLabel('cll', 0, {'styleName': this}); v2 = this.cell; v2.styleName = this.owner; v2.selectable = false; v2.tabEnabled = false; v2.background = false; v2.border = false; } else { if (typeof v3 == 'string') { this.cell = this.createObject(v3, 'cll', 0, {'styleName': this}); v2 = this.cell; } else { this.cell = this.createClassObject(v3, 'cll', 0, {'styleName': this}); v2 = this.cell; } } v2.owner = this; v2.listOwner = this.owner; v2.getCellIndex = this.getCellIndex; v2.getDataLabel = this.getDataLabel; if (v4 != undefined) { v2._x = v4; } if (forceSizing) { this.size(); } }; v2.getCellIndex = function (Void) { return {'columnIndex': 0, 'itemIndex': this.owner.rowIndex + this.listOwner.__vPosition}; }; v2.getDataLabel = function () { return this.listOwner.labelField; }; v2.init = function (Void) { super.init(); this.tabEnabled = false; }; v2.createChildren = function (Void) { this.setCellRenderer(false); this.setupBG(); this.setState(this.state, false); }; v2.drawRow = function (itmObj, state, transition) { this.item = itmObj; this.setState(state, transition); this.setValue(itmObj, state, transition); }; v2.itemToString = function (itmObj) { if (itmObj == undefined) { return ' '; } var v2 = this.owner.__labelFunction(itmObj); if (v2 == undefined) { v2 = itmObj instanceof XMLNode ? itmObj.attributes[this.owner.__labelField] : itmObj[this.owner.__labelField]; if (v2 == undefined) { v2 = ' '; if (typeof itmObj == 'object') { for (var v4 in itmObj) { if (v4 != '__ID__') { v2 = itmObj[v4] + ', ' + v2; } } v2 = v2.substring(0, v2.length - 2); return v2; } v2 = itmObj; } } return v2; }; v2.setupBG = function (Void) { this.backGround = this.createEmptyMovieClip('bG_mc', mx.controls.listclasses.SelectableRow.LOWEST_DEPTH); var v2 = this.backGround; this.drawRowFill(v2, this.normalColor); this.highlight = this.createEmptyMovieClip('tran_mc', mx.controls.listclasses.SelectableRow.LOWEST_DEPTH + 10); v2.owner = this; v2.grandOwner = this.owner; v2.onPress = this.bGOnPress; v2.onRelease = this.bGOnRelease; v2.onRollOver = this.bGOnRollOver; v2.onRollOut = this.bGOnRollOut; v2.onDragOver = this.bGOnDragOver; v2.onDragOut = this.bGOnDragOut; v2.useHandCursor = false; v2.trackAsMenu = true; v2.drawRect = this.drawRect; this.highlight.drawRect = this.drawRect; }; v2.drawRowFill = function (mc, newClr) { mc.clear(); mc.beginFill(newClr); mc.drawRect(1, 0, this.__width, this.__height); mc.endFill(); mc._width = this.__width; mc._height = this.__height; }; v2.setState = function (newState, transition) { var v2 = this.highlight; var v8 = this.backGround; var v4 = this.__height; var v3 = this.owner; if (!v3.enabled) { if (newState == 'selected' || this.state == 'selected') { this.highlightColor = v3.getStyle('selectionDisabledColor'); this.drawRowFill(v2, this.highlightColor); v2._visible = true; v2._y = 0; v2._height = v4; } else { v2._visible = false; this.normalColor = v3.getStyle('backgroundDisabledColor'); this.drawRowFill(v8, this.normalColor); } this.cell.__enabled = false; this.cell.setColor(v3.getStyle('disabledColor')); } else { this.cell.__enabled = true; if (transition && (newState == this.state || newState == 'highlighted' && this.state == 'selected')) { this.isChangedToSelected = true; return undefined; } var v6 = v3.getStyle('selectionDuration'); var v7 = 0; if (this.isChangedToSelected && newState == 'selected') { transition = false; } var v10 = transition && v6 != 0; if (newState == 'normal') { v7 = v3.getStyle('color'); this.normalColor = this.getNormalColor(); this.drawRowFill(v8, this.normalColor); if (v10) { v6 /= 2; v2._height = v4; v2._width = this.__width; v2._y = 0; this.bGTween = new mx.effects.Tween(this, v4 + 2, v4 * 0.2, v6, 5); } else { v2._visible = false; } delete this.isChangedToSelected; } else { this.highlightColor = v3.getStyle((newState == 'highlighted') ? 'rollOverColor' : 'selectionColor'); this.drawRowFill(v2, this.highlightColor); v2._visible = true; v7 = v3.getStyle((newState == 'highlighted') ? 'textRollOverColor' : 'textSelectedColor'); if (v10) { v2._height = v4 * 0.5; v2._y = (v4 - v2._height) / 2; this.bGTween = new mx.effects.Tween(this, v2._height, v4 + 2, v6, 5); var v9 = v3.getStyle('selectionEasing'); if (v9 != undefined) { this.bGTween.easingEquation = v9; } } else { v2._y = 0; v2._height = v4; } } this.cell.setColor(v7); } this.state = newState; }; v2.onTweenUpdate = function (val) { this.highlight._height = val; this.highlight._y = (this.__height - val) / 2; }; v2.onTweenEnd = function (val) { this.onTweenUpdate(val); this.highlight._visible = this.state != 'normal'; }; v2.getNormalColor = function (Void) { var v3; var v2 = this.owner; if (!this.owner.enabled) { v3 = v2.getStyle('backgroundDisabledColor'); return v3; } var v5 = this.rowIndex + v2.__vPosition; if (this.rowIndex == undefined) { v3 = (v2.getPropertiesOf(this.item)).backgroundColor; } else { v3 = (v2.getPropertiesAt(v5)).backgroundColor; } if (v3 == undefined) { var v4 = v2.getStyle('alternatingRowColors'); if (v4 == undefined) { v3 = v2.getStyle('backgroundColor'); return v3; } v3 = v4[v5 % v4.length]; } return v3; }; v2.invalidateStyle = function (propName) { this.cell.invalidateStyle(propName); super.invalidateStyle(propName); }; v2.bGOnPress = function (Void) { this.grandOwner.pressFocus(); this.grandOwner.onRowPress(this.owner.rowIndex); }; v2.bGOnRelease = function (Void) { this.grandOwner.releaseFocus(); this.grandOwner.onRowRelease(this.owner.rowIndex); }; v2.bGOnRollOver = function (Void) { this.grandOwner.onRowRollOver(this.owner.rowIndex); }; v2.bGOnRollOut = function (Void) { this.grandOwner.onRowRollOut(this.owner.rowIndex); }; v2.bGOnDragOver = function (Void) { this.grandOwner.onRowDragOver(this.owner.rowIndex); }; v2.bGOnDragOut = function (Void) { this.grandOwner.onRowDragOut(this.owner.rowIndex); }; v1.LOWEST_DEPTH = -16384; v2.state = 'normal'; v2.disabledColor = 15263976; v2.normalColor = 16777215; ASSetPropFlags(mx.controls.listclasses.SelectableRow.prototype, null, 1); } #endinitclip } movieClip 241 __Packages.mx.controls.HScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.HScrollBar) { var v1 = function () { super(); }; mx.controls.HScrollBar = v1; var v2 = new mx.controls.scrollClasses.ScrollBar(); mx.controls.HScrollBar.prototype = v2; v2.getMinWidth = function (Void) { return this._minHeight; }; v2.getMinHeight = function (Void) { return this._minWidth; }; v2.init = function (Void) { super.init(); this._xscale = -100; this._rotation = -90; }; v2.__get__virtualHeight = function () { return this.__width; }; v2.isScrollBarKey = function (k) { if (k == 37) { this.scrollIt('Line', -1); return true; return super.isScrollBarKey(k); } if (k == 39) { this.scrollIt('Line', 1); return true; } return super.isScrollBarKey(k); }; v1.symbolName = 'HScrollBar'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.127'; v2.className = 'HScrollBar'; v2.minusMode = 'Left'; v2.plusMode = 'Right'; v2.minMode = 'AtLeft'; v2.maxMode = 'AtRight'; v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {}); ASSetPropFlags(mx.controls.HScrollBar.prototype, null, 1); } #endinitclip } movieClip 242 __Packages.mx.controls.VScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.VScrollBar) { var v1 = function () { super(); }; mx.controls.VScrollBar = v1; var v2 = new mx.controls.scrollClasses.ScrollBar(); mx.controls.VScrollBar.prototype = v2; v2.init = function (Void) { super.init(); }; v2.isScrollBarKey = function (k) { if (k == 38) { this.scrollIt('Line', -1); return true; return super.isScrollBarKey(k); } if (k == 40) { this.scrollIt('Line', 1); return true; return super.isScrollBarKey(k); } if (k == 33) { this.scrollIt('Page', -1); return true; return super.isScrollBarKey(k); } if (k == 34) { this.scrollIt('Page', 1); return true; } return super.isScrollBarKey(k); }; v1.symbolName = 'VScrollBar'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.127'; v2.className = 'VScrollBar'; v2.minusMode = 'Up'; v2.plusMode = 'Down'; v2.minMode = 'AtTop'; v2.maxMode = 'AtBottom'; ASSetPropFlags(mx.controls.VScrollBar.prototype, null, 1); } #endinitclip } frame 2 { function bitOR(a, b) { var v1 = a & 1 | b & 1; var v2 = a >>> 1 | b >>> 1; return v2 << 1 | v1; } function bitXOR(a, b) { var v1 = a & 1 ^ b & 1; var v2 = a >>> 1 ^ b >>> 1; return v2 << 1 | v1; } function bitAND(a, b) { var v1 = a & 1 & (b & 1); var v2 = a >>> 1 & b >>> 1; return v2 << 1 | v1; } function addme(x, y) { var v1 = (x & 65535) + (y & 65535); var v2 = (x >> 16) + (y >> 16) + (v1 >> 16); return v2 << 16 | v1 & 65535; } function rhex(num) { str = ''; j = 0; while (j <= 3) { str += hex_chr.charAt(num >> j * 8 + 4 & 15) + hex_chr.charAt(num >> j * 8 & 15); ++j; } return str; } function str2blks_MD5(str) { nblk = (str.length + 8 >> 6) + 1; blks = new Array(nblk * 16); i = 0; while (i < nblk * 16) { blks[i] = 0; ++i; } i = 0; while (i < str.length) { blks[i >> 2] |= str.charCodeAt(i) << ((str.length * 8 + i) % 4) * 8; ++i; } blks[i >> 2] |= 128 << ((str.length * 8 + i) % 4) * 8; var v2 = str.length * 8; blks[nblk * 16 - 2] = v2 & 255; blks[nblk * 16 - 2] |= (v2 >>> 8 & 255) << 8; blks[nblk * 16 - 2] |= (v2 >>> 16 & 255) << 16; blks[nblk * 16 - 2] |= (v2 >>> 24 & 255) << 24; return blks; } function rol(num, cnt) { return num << cnt | num >>> 32 - cnt; } function cmn(q, a, b, x, s, t) { return addme(rol(addme(addme(a, q), addme(x, t)), s), b); } function ff(a, b, c, d, x, s, t) { return cmn(bitOR(bitAND(b, c), bitAND(~b, d)), a, b, x, s, t); } function gg(a, b, c, d, x, s, t) { return cmn(bitOR(bitAND(b, d), bitAND(c, ~d)), a, b, x, s, t); } function hh(a, b, c, d, x, s, t) { return cmn(bitXOR(bitXOR(b, c), d), a, b, x, s, t); } function ii(a, b, c, d, x, s, t) { return cmn(bitXOR(c, bitOR(b, ~d)), a, b, x, s, t); } function calcMD5(str) { x = str2blks_MD5(str); a = 1732584193; b = -271733879; c = -1732584194; d = 271733878; var v1; i = 0; while (i < x.length) { olda = a; oldb = b; oldc = c; oldd = d; v1 = 0; a = ff(a, b, c, d, x[i + 0], 7, -680876936); d = ff(d, a, b, c, x[i + 1], 12, -389564586); c = ff(c, d, a, b, x[i + 2], 17, 606105819); b = ff(b, c, d, a, x[i + 3], 22, -1044525330); a = ff(a, b, c, d, x[i + 4], 7, -176418897); d = ff(d, a, b, c, x[i + 5], 12, 1200080426); c = ff(c, d, a, b, x[i + 6], 17, -1473231341); b = ff(b, c, d, a, x[i + 7], 22, -45705983); a = ff(a, b, c, d, x[i + 8], 7, 1770035416); d = ff(d, a, b, c, x[i + 9], 12, -1958414417); c = ff(c, d, a, b, x[i + 10], 17, -42063); b = ff(b, c, d, a, x[i + 11], 22, -1990404162); a = ff(a, b, c, d, x[i + 12], 7, 1804603682); d = ff(d, a, b, c, x[i + 13], 12, -40341101); c = ff(c, d, a, b, x[i + 14], 17, -1502002290); b = ff(b, c, d, a, x[i + 15], 22, 1236535329); a = gg(a, b, c, d, x[i + 1], 5, -165796510); d = gg(d, a, b, c, x[i + 6], 9, -1069501632); c = gg(c, d, a, b, x[i + 11], 14, 643717713); b = gg(b, c, d, a, x[i + 0], 20, -373897302); a = gg(a, b, c, d, x[i + 5], 5, -701558691); d = gg(d, a, b, c, x[i + 10], 9, 38016083); c = gg(c, d, a, b, x[i + 15], 14, -660478335); b = gg(b, c, d, a, x[i + 4], 20, -405537848); a = gg(a, b, c, d, x[i + 9], 5, 568446438); d = gg(d, a, b, c, x[i + 14], 9, -1019803690); c = gg(c, d, a, b, x[i + 3], 14, -187363961); b = gg(b, c, d, a, x[i + 8], 20, 1163531501); a = gg(a, b, c, d, x[i + 13], 5, -1444681467); d = gg(d, a, b, c, x[i + 2], 9, -51403784); c = gg(c, d, a, b, x[i + 7], 14, 1735328473); b = gg(b, c, d, a, x[i + 12], 20, -1926607734); a = hh(a, b, c, d, x[i + 5], 4, -378558); d = hh(d, a, b, c, x[i + 8], 11, -2022574463); c = hh(c, d, a, b, x[i + 11], 16, 1839030562); b = hh(b, c, d, a, x[i + 14], 23, -35309556); a = hh(a, b, c, d, x[i + 1], 4, -1530992060); d = hh(d, a, b, c, x[i + 4], 11, 1272893353); c = hh(c, d, a, b, x[i + 7], 16, -155497632); b = hh(b, c, d, a, x[i + 10], 23, -1094730640); a = hh(a, b, c, d, x[i + 13], 4, 681279174); d = hh(d, a, b, c, x[i + 0], 11, -358537222); c = hh(c, d, a, b, x[i + 3], 16, -722521979); b = hh(b, c, d, a, x[i + 6], 23, 76029189); a = hh(a, b, c, d, x[i + 9], 4, -640364487); d = hh(d, a, b, c, x[i + 12], 11, -421815835); c = hh(c, d, a, b, x[i + 15], 16, 530742520); b = hh(b, c, d, a, x[i + 2], 23, -995338651); a = ii(a, b, c, d, x[i + 0], 6, -198630844); d = ii(d, a, b, c, x[i + 7], 10, 1126891415); c = ii(c, d, a, b, x[i + 14], 15, -1416354905); b = ii(b, c, d, a, x[i + 5], 21, -57434055); a = ii(a, b, c, d, x[i + 12], 6, 1700485571); d = ii(d, a, b, c, x[i + 3], 10, -1894986606); c = ii(c, d, a, b, x[i + 10], 15, -1051523); b = ii(b, c, d, a, x[i + 1], 21, -2054922799); a = ii(a, b, c, d, x[i + 8], 6, 1873313359); d = ii(d, a, b, c, x[i + 15], 10, -30611744); c = ii(c, d, a, b, x[i + 6], 15, -1560198380); b = ii(b, c, d, a, x[i + 13], 21, 1309151649); a = ii(a, b, c, d, x[i + 4], 6, -145523070); d = ii(d, a, b, c, x[i + 11], 10, -1120210379); c = ii(c, d, a, b, x[i + 2], 15, 718787259); b = ii(b, c, d, a, x[i + 9], 21, -343485551); a = addme(a, olda); b = addme(b, oldb); c = addme(c, oldc); d = addme(d, oldd); i += 16; } return rhex(a) + rhex(b) + rhex(c) + rhex(d); } function trackThis(tPage, tParams) { if (_root.tracking != 'on') { trace('trackThis tracking disabled.'); return undefined; } if (flash.external.ExternalInterface.available) { flash.external.ExternalInterface.call(tPage, tParams); } } function floodLightTrack(src, type, cat) { if (_root.tracking != 'on') { trace('floodlight tracking disabled.'); return undefined; } var v5 = Math.floor(Math.random() * 100000000) + '?'; var v3 = 'http://fls.doubleclick.net/activityi;src=' + src + ';type=' + type + ';cat=' + cat + ';ord=1;num='; var v4 = v3 + v5; var v2 = 'f = function() { if (document.getElementById("DCLK_FLDiv")) { var flDiv = document.getElementById("DCLK_FLDiv"); }'; v2 += 'else{var flDiv = document.body.appendChild(document.createElement("div"));'; v2 += 'void(flDiv.id = "DCLK_FLDiv"); void(flDiv.style.display= "none"); }'; v2 += 'var DCLK_FLIframe = document.createElement("iframe"); void(DCLK_FLIframe.id = "DCLK_FLIframe_' + Math.floor(Math.random() * 10000) + '");'; v2 += 'void(DCLK_FLIframe.src="' + v4 + '"); void(flDiv.appendChild(DCLK_FLIframe)); }'; if (flash.external.ExternalInterface.available) { flash.external.ExternalInterface.call(v2); } } var hex_chr = '0123456789abcdef'; if (_root.server) { _root.SITE_URL = _root.server; } else { _root.SITE_URL = 'http://69.167.162.138/JUNGLE_GAME/'; } } frame 15 { stop(); var soundEnabled = true; } movieClip 260 { } movieClip 261 { } button 265 { on (release) { _root.trackThis('_page.metrics.trackFlash', {'pagename': 'home'}); mainGame.stopAllTimers(); mainGame.gotoAndStop('HOME'); } } button 269 { on (release) { _root.floodLightTrack('937423', 'norel417', 'produ652'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'amazon_allproducts', 'type': 'e', 'url': 'http://www.amazon.com/gp/feature.html?docId=1000671661&tag=philips397-20'}); getURL('http://www.amazon.com/gp/feature.html?docId=1000671661&tag=philips397-20', '_blank'); } } button 273 { on (release) { mainGame.stopAllTimers(); mainGame.gotoAndStop('LANDING'); } } button 277 { on (release) { _root.floodLightTrack('937423', 'norel417', 'defor897'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'coupon', 'type': 'e', 'url': 'http://coupons2.smartsource.com/smartsource/index.jsp?Link=4RUB7K2NFA7QC'}); getURL('http://coupons2.smartsource.com/smartsource/index.jsp?Link=4RUB7K2NFA7QC', '_blank'); } } button 281 { on (release) { _root.floodLightTrack('937423', 'norel417', 'defor103'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'mail-in_rebate', 'type': 'd', 'events': 'event16,event17', 'url': 'http://69.167.162.138/JUNGLE_GAME/rebate.pdf'}); getURL('http://69.167.162.138/JUNGLE_GAME/rebate.pdf', '_blank'); } } button 285 { on (release) { mainGame.stopAllTimers(); mainGame.gotoAndStop('CHARITY'); } } button 289 { on (release) { _root.trackThis('_page.metrics.trackFlash', {'pagename': 'rules', 'type': 'd', 'events': 'event16,event17', 'url': 'http://69.167.162.138/JUNGLE_GAME/rules.pdf'}); getURL('http://69.167.162.138/JUNGLE_GAME/rules.pdf', '_blank'); } } movieClip 292 { } button 293 { on (release) { _root.floodLightTrack('937423', 'norel417', 'faceb782'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'facebook', 'type': 'o', 'events': 'event14,event15', 'eVar3': 'D=ch+":facebook"'}); getURL('http://www.facebook.com/sharer.php?u=http://www.shaveeverywhere.com?c=3', '_blank'); } } movieClip 296 { } button 297 { on (release) { _root.floodLightTrack('937423', 'norel417', 'twitt127'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'twitter', 'type': 'o', 'events': 'event14,event15', 'eVar3': 'D=ch+":twitter"'}); getURL('http://twitter.com/intent/tweet?text=Every%20time%20you%20play%20the%20It's%20a%20Jungle%20Out%20There%20Game%20Philips%20Norelco%20donates%2025%20cents%20to%20plant%20trees,%20up%20to%20$75,000.%20http://bit.ly/3wgLb0', '_blank'); } } button 304 { on (release) { gotoAndStop('LANDING'); } } // unknown tag 88 length 170 // unknown tag 88 length 256 button 315 { on (release) { _root.floodLightTrack('937423', 'norel417', 'vaccu886'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'amazon_trimmer', 'type': 'e', 'url': 'http://www.amazon.com/gp/product/B003U8ESI4/ref=as_li_ss_tl?ie=UTF8&tag=philips389-20&linkCode=as2&camp=217145&creative=399349'}); getURL('http://www.amazon.com/gp/product/B003U8ESI4/ref=as_li_ss_tl?ie=UTF8&tag=philips389-20&linkCode=as2&camp=217145&creative=399349', '_blank'); } } button 317 { on (release) { _root.floodLightTrack('937423', 'norel417', 'bodyg867'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'amazon_bodygroompro', 'type': 'e', 'url': 'http://www.amazon.com/gp/product/B0037HP9OA/ref=as_li_ss_tl?ie=UTF8&tag=philips390-20&linkCode=as2&camp=217145&creative=399349'}); getURL('http://www.amazon.com/gp/product/B0037HP9OA/ref=as_li_ss_tl?ie=UTF8&tag=philips390-20&linkCode=as2&camp=217145&creative=399349', '_blank'); } } button 321 { on (release) { _root.floodLightTrack('937423', 'norel417', 'defor897'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'coupon', 'type': 'e', 'url': 'http://coupons2.smartsource.com/smartsource/index.jsp?Link=4RUB7K2NFA7QC'}); getURL('http://coupons2.smartsource.com/smartsource/index.jsp?Link=4RUB7K2NFA7QC', '_blank'); } } button 323 { on (release) { _root.floodLightTrack('937423', 'norel417', 'defor103'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'mail-in_rebate', 'type': 'd', 'events': 'event16,event17', 'url': 'http://69.167.162.138/JUNGLE_GAME/rebate.pdf'}); getURL('http://69.167.162.138/JUNGLE_GAME/rebate.pdf', '_blank'); } } button 326 { on (release) { getURL('http://www.usa.philips.com/c/mens-grooming/18665/cat/', '_blank'); } } button 331 { on (release) { _root.floodLightTrack('937423', 'norel417', 'gamep192'); gotoAndStop('ANIMATION1'); } } button 338 { on (release) { _root.trackThis('_page.metrics.trackFlash', {'pagename': 'rules', 'type': 'd', 'events': 'event16,event17', 'url': 'http://69.167.162.138/JUNGLE_GAME/rules.pdf'}); getURL('http://69.167.162.138/JUNGLE_GAME/rules.pdf', '_blank'); } } // unknown tag 88 length 563 // unknown tag 88 length 548 button 351 { on (release) { _root.floodLightTrack('937423', 'norel417', 'gamep192'); gotoAndStop('LANDING'); } } movieClip 353 { } movieClip 355 { } button 359 { on (release) { animationOver(); } } movieClip 365 { } movieClip 366 { frame 1 { stop(); } } movieClip 369 { } movieClip 370 { frame 1 { stop(); } } movieClip 373 { } movieClip 374 { frame 1 { stop(); } } movieClip 375 { } button 382 { on (release) { _parent.gotoAndPlay('GAME'); } } button 387 { on (release) { _parent.gotoAndStop('LEVEL2'); } } button 403 { on (release) { _root.floodLightTrack('937423', 'norel417', 'enter812'); gotoAndStop('FORMS'); } } button 405 { on (release) { _root.floodLightTrack('937423', 'norel417', 'playa029'); _parent.gotoAndStop('AVATAR'); } } // unknown tag 88 length 716 button 431 { on (release) { _root.floodLightTrack('937423', 'norel417', 'viewl926'); gotoAndStop('BOARD'); } } button 434 { on (release) { _root.floodLightTrack('937423', 'norel417', 'faceb782'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'facebook', 'type': 'o', 'events': 'event14,event15', 'eVar3': 'D=ch+":facebook"'}); getURL('http://www.facebook.com/sharer.php?u=http://www.shaveeverywhere.com', '_blank'); } } button 437 { on (release) { _root.floodLightTrack('937423', 'norel417', 'buyno562'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'amazon', 'type': 'e', 'url': 'http://www.amazon.com/gp/feature.html?docId=1000671661&tag=philips397-20', 'events': 'event46', 'eVar25': 'D=pageName+":buy"'}); getURL('http://www.amazon.com/gp/feature.html?docId=1000671661&tag=philips397-20', '_blank'); } } movieClip 476 { frame 1 { self = this; myLv = new LoadVars(); myLv.onLoad = function (success) { submitButton._visible = true; workingAnimation._visible = false; input_fname.enabled = true; input_lname.enabled = true; input_email2.enabled = true; input_email.enabled = true; combo_month.enabled = true; combo_day.enabled = true; combo_year.enabled = true; if (success) { if (this.err == 1) { userMsg.text = 'Please choose a different user name.'; return undefined; } if (this.success == 1) { gotoAndStop('SHOW'); var v3 = 0; while (v3 < 11) { self['un' + v3].text = this['un' + v3]; self['score' + v3].text = _parent._parent.commify(this['score' + v3]); ++v3; } } else { _parent.gotoAndStop('THANKS'); } } else { _parent.gotoAndStop('THANKS'); } }; var cKiller = (new Date()).getTime(); myLv.cKiller = cKiller; myLv.sendAndLoad('http://69.167.162.138/JUNGLE_GAME/scores.php', myLv, 'POST'); } frame 9 { stop(); } } movieClip 477 { frame 1 { stop(); } frame 2 { stop(); score1.text = _parent.commify(_parent.userPoints); } frame 4 { stop(); if (_parent.currentLevel == 1) { score1.text = _parent.commify(_parent.userPoints); score2.text = '0'; score3.text = _parent.commify(_parent.userPoints); } else { score1.text = _parent.commify(_parent.level1Points); score2.text = _parent.commify(_parent.userPoints - _parent.level1Points); score3.text = _parent.commify(_parent.userPoints); } if (_parent.gameTrackingID > 0) { myLv = new LoadVars(); myLv.onLoad = function (success) {}; var cKiller = (new Date()).getTime(); myLv.cKiller = cKiller; myLv.hash = _root.calcMD5(cKiller + 'xx123x1'); myLv.tmode = 'end'; myLv.trackID = _parent.gameTrackingID; myLv.score = _parent.userPoints; myLv.level = _parent.currentLevel; myLv.completed = _parent.gameTrackingCompletedLevel; myLv.sendAndLoad(_root.SITE_URL + 'game_tracker.php', myLv, 'POST'); } } frame 5 { stop(); combo_month.dataProvider = [{'data': null, 'label': 'Month'}, {'data': 1, 'label': 'January'}, {'data': 2, 'label': 'February'}, {'data': 3, 'label': 'March'}, {'data': 4, 'label': 'April'}, {'data': 5, 'label': 'May'}, {'data': 6, 'label': 'June'}, {'data': 7, 'label': 'July'}, {'data': 8, 'label': 'August'}, {'data': 9, 'label': 'September'}, {'data': 10, 'label': 'October'}, {'data': 11, 'label': 'November'}, {'data': 12, 'label': 'December'}]; combo_day.addItem({'data': null, 'label': 'Day'}); var i = 1; while (i < 32) { combo_day.addItem({'data': i, 'label': i}); ++i; } combo_year.addItem({'data': null, 'label': 'Year'}); var i = 2010; while (i > 1901) { combo_year.addItem({'data': i, 'label': i}); --i; } userMsg.text = ''; userMsg2.text = ''; workingAnimation._visible = false; workingAnimation2._visible = false; submitButton1.onRelease = function () { trace(check_optin.value); var v7 = combo_month.selectedItem.data; var v5 = combo_day.selectedItem.data; var v9 = combo_year.selectedItem.data; var v8 = new Date(v9, v7 - 1, v5); var v10 = new Date(); var v4 = new Date(); v4.setTime(v10.getTime() - v8.getTime()); var v6 = v4.getFullYear() - 1970; if (v6 < 18) { gotoAndStop('TOOYOUNG'); return undefined; } if (!input_fname.text | !input_lname.text | !input_email.text | !input_username.text | !combo_month.selectedItem.data | !combo_day.selectedItem.data | !combo_year.selectedItem.data) { userMsg.text = 'Please fill out form completely, then click SUBMIT.'; return undefined; } if (input_email.text.indexOf(' ') != -1 || input_email.text.indexOf('@') == -1 || input_email.text.indexOf('.') == -1 || input_email.text.length < 6 || input_email.text.lastIndexOf('.') < input_email.text.indexOf('@')) { userMsg.text = 'The email address does not appear to be valid.'; return undefined; } submitButton1._visible = false; workingAnimation._visible = true; userMsg.text = ''; input_fname.enabled = false; input_lname.enabled = false; input_username.enabled = false; input_email.enabled = false; combo_month.enabled = false; combo_day.enabled = false; combo_year.enabled = false; check_optin.enabled = false; myLv = new LoadVars(); myLv.onLoad = function (success) { submitButton1._visible = true; workingAnimation._visible = false; input_fname.enabled = true; input_lname.enabled = true; input_username.enabled = true; input_email.enabled = true; combo_month.enabled = true; combo_day.enabled = true; combo_year.enabled = true; check_optin.enabled = true; if (success) { if (this.err == 1) { userMsg.text = 'Please choose a different user name.'; return undefined; } if (this.dup == 1) { userMsg.text = 'Please use the Returning Users form.'; return undefined; } if (this.success == 1) { gotoAndStop('THANKS'); } else { userMsg.text = 'There was a problem saving data. Try again.'; } } else { userMsg.text = 'There was a problem connecting. Try again.'; } }; var v11 = input_email.text + _root.hc + _parent.userPoints + 'xx123x1'; trace(v11); myLv.hash = _root.calcMD5(input_email.text + _root.hc + _parent.userPoints + 'xx123x1'); myLv.returning = '0'; myLv.fname = input_fname.text; myLv.lname = input_lname.text; myLv.dob = combo_year.selectedItem.data + '/' + combo_month.selectedItem.data + '/' + combo_day.selectedItem.data; myLv.email = input_email.text; myLv.username = input_username.text; myLv.optin = check_optin.value; myLv.score = _parent.userPoints; var v12 = (new Date()).getTime(); myLv.cKiller = v12; myLv.sendAndLoad(_root.SITE_URL + 'enter.php', myLv, 'POST'); }; submitButton2.onRelease = function () { if (!input_email3.text) { userMsg2.text = 'Please fill out form completely, then click SUBMIT.'; return undefined; } if (input_email3.text.indexOf(' ') != -1 || input_email3.text.indexOf('@') == -1 || input_email3.text.indexOf('.') == -1 || input_email3.text.length < 6 || input_email3.text.lastIndexOf('.') < input_email3.text.indexOf('@')) { userMsg2.text = 'The email address does not appear to be valid.'; return undefined; } submitButton2._visible = false; workingAnimation2._visible = true; userMsg2.text = ''; input_email3.enabled = false; myLv = new LoadVars(); myLv.onLoad = function (success) { submitButton2._visible = true; workingAnimation2._visible = false; input_email3.enabled = true; if (success) { if (this.success == 1) { gotoAndStop('THANKS'); } else { userMsg2.text = 'Your email address was not found. Please submit the \'New Users\' form on the left side of this page.'; } } else { userMsg2.text = 'There was a problem connecting. Try again.'; } }; var v4 = input_email3.text + _root.hc + _parent.userPoints + 'xx123x1'; trace(v4); myLv.hash = _root.calcMD5(input_email3.text + _root.hc + _parent.userPoints + 'xx123x1'); myLv.returning = '1'; myLv.email = input_email3.text; myLv.score = _parent.userPoints; var v5 = (new Date()).getTime(); myLv.cKiller = v5; myLv.sendAndLoad(_root.SITE_URL + 'enter.php', myLv, 'POST'); }; } instance input_fname of movieClip 147 TextInput { onClipEvent (construct) { editable = true; password = false; text = ''; maxChars = 25; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance input_lname of movieClip 147 TextInput { onClipEvent (construct) { editable = true; password = false; text = ''; maxChars = 50; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance input_email of movieClip 147 TextInput { onClipEvent (construct) { editable = true; password = false; text = ''; maxChars = 255; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance input_username of movieClip 147 TextInput { onClipEvent (construct) { editable = true; password = false; text = ''; maxChars = 12; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance input_email3 of movieClip 147 TextInput { onClipEvent (construct) { editable = true; password = false; text = ''; maxChars = 255; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance combo_month of movieClip 227 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance combo_day of movieClip 227 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance combo_year of movieClip 227 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance check_optin of movieClip 137 CheckBox { onClipEvent (construct) { label = ''; labelPlacement = 'right'; selected = false; } } frame 22 { _root.trackThis('_page.metrics.trackFlash', {'pagename': 'play:registration', 'type': 'o', 'url': 'flash', 'eVar4': 'D=pageName', 'events': 'event11'}); } } movieClip 481 { } movieClip 482 { frame 1 { function startTimer() { bgTimer = setInterval(loopIt, 3000); } function stopTimer() { clearInterval(bgTimer); } function loopIt() { var v1 = {'x': self['bg' + currentBg]._x, 'y': self['bg' + currentBg]._y}; self.localToGlobal(v1); if (v1.x < -1127) { self['bg' + currentBg]._x = currentNextX; currentNextX += 1110; if (currentBg == 1) { currentBg = 2; } else { currentBg = 1; } } } self = this; var bgTimer; var currentBg = 1; var currentNextX = 2220; } } movieClip 485 { } movieClip 486 { frame 1 { function startTimer() { bgTimer = setInterval(loopIt, 1000); } function stopTimer() { clearInterval(bgTimer); } function loopIt() { var v1 = {'x': self['bg' + currentBg]._x, 'y': self['bg' + currentBg]._y}; self.localToGlobal(v1); if (v1.x < -1266) { self['bg' + currentBg]._x = currentNextX; currentNextX += 1250; if (currentBg == 1) { currentBg = 2; } else { currentBg = 1; } } } self = this; var bgTimer; var currentBg = 1; var currentNextX = 2500; } } movieClip 491 { } movieClip 493 { } movieClip 496 { } movieClip 497 { frame 1 { var disableHitTest = false; var reactionType = 2; } } movieClip 499 { } movieClip 503 { } movieClip 504 { frame 1 { var disableHitTest = false; var reactionType = 1; } } movieClip 508 { } movieClip 509 { frame 1 { var disableHitTest = false; var reactionType = 1; if (_root.soundEnabled) { _root.mainGame.soundSpider.gotoAndPlay(2); } } frame 20 { gotoAndPlay(2); } } movieClip 512 { } movieClip 513 { frame 1 { function continueToNextFrame() { self.play(); } var disableHitTest = false; var reactionType = 1; stop(); var self = this; setTimeout(continueToNextFrame, Math.ceil(Math.random() * 15) * 100); } frame 44 { if (_root.soundEnabled) { _root.mainGame.soundSpider2.gotoAndPlay(2); } } frame 91 { stop(); } } movieClip 517 { frame 1 { var disableHitTest = false; var reactionType = 4; } } movieClip 519 { frame 1 { var disableHitTest = false; var reactionType = 3; } frame 44 { gotoAndPlay(2); } } movieClip 522 { frame 1 { var disableHitTest = false; var reactionType = 5; } } movieClip 525 { frame 1 { var disableHitTest = false; var reactionType = 6; } } movieClip 527 { frame 1 { var disableHitTest = false; var reactionType = 2; } } movieClip 529 { frame 1 { var disableHitTest = false; var reactionType = 2; } } movieClip 531 { frame 1 { var disableHitTest = false; var reactionType = 2; } } movieClip 532 { frame 1 { function trackTheseInstanceNames(instanceNames) { instanceNamesToHitTest = instanceNames; } function hitTestObjects() { for (var v6 in instanceNamesToHitTest) { var v2 = self[instanceNamesToHitTest[v6]]; var v3 = {'x': v2._x, 'y': v2._y}; self.localToGlobal(v3); if (v3.x > 200 && v3.x < 400) { if (v2.disableHitTest == false) { if (v2.hitPoint.hitTest(_root.mainGame.theGuy.theGuy.hitPoint)) { v2.disableHitTest = true; _root.mainGame.objectHit(v2); } } } else {} } } function setSceneIndicator(t) { sceneMsg.text = t; } stop(); var instanceNamesToHitTest = new Array(); var self = this; } frame 2 { var tempArray = new Array('rock1'); trackTheseInstanceNames(tempArray); } frame 3 { var tempArray = new Array('rock1', 'rock2', 'rock3'); trackTheseInstanceNames(tempArray); } frame 4 { var tempArray = new Array('snake1', 'bat1new'); trackTheseInstanceNames(tempArray); } frame 5 { var tempArray = new Array('spider1', 'bat1'); trackTheseInstanceNames(tempArray); } frame 6 { var tempArray = new Array('bat1'); trackTheseInstanceNames(tempArray); } frame 7 { var tempArray = new Array('vine1', 'pit1'); trackTheseInstanceNames(tempArray); } frame 8 { function swingVine() { vine2.gotoAndPlay(1); } var tempArray = new Array('vine1', 'pit1', 'vine2', 'pit2'); trackTheseInstanceNames(tempArray); setTimeout(swingVine, 800); } frame 10 { var tempArray = new Array('coin1', 'coin2', 'coin3', 'coin4', 'rock1'); trackTheseInstanceNames(tempArray); } frame 13 { _parent._parent.tutorialHasEnded(); } frame 14 { _parent._parent.scenesLeft = 10; } frame 14 { var tempArray = new Array('rock1c', 'coin1c', 'coin2c', 'coin3c', 'coin4c'); trackTheseInstanceNames(tempArray); } frame 15 { var tempArray = new Array('coin1', 'snake1', 'snake2'); trackTheseInstanceNames(tempArray); } frame 16 { var tempArray = new Array('bat1a', 'coin1a', 'bat2a', 'coin2a', 'coin3a'); trackTheseInstanceNames(tempArray); } frame 17 { var tempArray = new Array('vine1', 'pit1', 'coin1', 'coin2', 'coin3', 'coin4', 'snake1'); trackTheseInstanceNames(tempArray); } frame 18 { var tempArray = new Array('rock1a', 'coin1a', 'coin2a', 'coin3a', 'coin4a', 'rock1c', 'coin1c', 'coin2c', 'coin3c', 'coin4c'); trackTheseInstanceNames(tempArray); } frame 19 { var tempArray = new Array('rock1c', 'coin1c', 'coin2c', 'coin3c', 'coin4c'); trackTheseInstanceNames(tempArray); } frame 20 { var tempArray = new Array('rock1d', 'rock2d', 'snake1d'); trackTheseInstanceNames(tempArray); } frame 21 { var tempArray = new Array('bate', 'rocke', 'spidere', 'coin1e', 'coin2e', 'coin3e', 'coin4e', 'coin5e', 'coin6e'); trackTheseInstanceNames(tempArray); } frame 22 { var tempArray = new Array('coin1x', 'coin2x', 'coin3x', 'spider1x', 'spider2x', 'spider3x', 'spider4x', 'spider5x'); trackTheseInstanceNames(tempArray); } frame 23 { var tempArray = new Array('coin1y', 'coin2y', 'coin3y', 'snake1y', 'roack1y', 'rock2y'); trackTheseInstanceNames(tempArray); } frame 24 { var tempArray = new Array('coin1z', 'coin2z', 'coin3z', 'snake1z', 'roack1z', 'rock2z', 'bat1z'); trackTheseInstanceNames(tempArray); } frame 25 { var tempArray = new Array('coin1aa', 'coin2aa', 'coin3aa', 'snake1aa', 'roack1aa', 'bat1aa'); trackTheseInstanceNames(tempArray); } frame 26 { var tempArray = new Array('coin1bb', 'coin2bb', 'coin3bb', 'roack1bb', 'bat1bb'); trackTheseInstanceNames(tempArray); } frame 27 { var tempArray = new Array('coin1cc', 'coin2cc', 'coin3cc', 'roack1cc', 'bat1cc'); trackTheseInstanceNames(tempArray); } frame 28 { var tempArray = new Array('coin1dd', 'coin2dd', 'coin3dd', 'roack1dd', 'bat1dd'); trackTheseInstanceNames(tempArray); } frame 29 { var tempArray = new Array('coin1ee', 'coin2ee', 'coin3ee', 'roack1ee', 'bat1ee'); trackTheseInstanceNames(tempArray); } frame 30 { var tempArray = new Array('coin1ff', 'coin2ff', 'coin3ff', 'roack1ff', 'snake1ff'); trackTheseInstanceNames(tempArray); } frame 31 { var tempArray = new Array('coin1gg', 'coin2gg', 'coin3gg', 'roack1gg', 'snake1gg'); trackTheseInstanceNames(tempArray); } frame 34 { _parent._parent.endOfLevel(); } frame 36 { var tempArray = new Array('coin1a', 'coin2a', 'coin3a', 'bat1a', 'spider1a', 'vine1a'); trackTheseInstanceNames(tempArray); } frame 37 { var tempArray = new Array('rock1b', 'rock2b', 'rock3b', 'coin1b', 'coin2b', 'coin3b', 'coin4b'); trackTheseInstanceNames(tempArray); } frame 38 { var tempArray = new Array('snake1c', 'snake2c', 'coin1c', 'coin2c', 'coin3c', 'vine1c'); trackTheseInstanceNames(tempArray); } frame 39 { var tempArray = new Array('bat1d', 'bat2d', 'rock1d'); trackTheseInstanceNames(tempArray); } frame 40 { var tempArray = new Array('coin1e', 'coin2e', 'coin3e', 'coin4e', 'coin5e', 'snake1e', 'snake2e'); trackTheseInstanceNames(tempArray); } frame 41 { var tempArray = new Array('coin1f', 'coin2f', 'coin3f', 'vine1f', 'snake1f', 'pit1f'); trackTheseInstanceNames(tempArray); } frame 42 { var tempArray = new Array('coin1g', 'coin2g', 'coin3g', 'coin4g', 'bat1g', 'bat2g', 'spider1g'); trackTheseInstanceNames(tempArray); } frame 43 { var tempArray = new Array('coin1h', 'coin2h', 'coin3h', 'coin4h', 'coin5g', 'coin6h', 'coin7h', 'coin8h', 'coin9h', 'coin10h', 'coin11h', 'coin12h', 'rock1h', 'rock2h', 'rock3h'); trackTheseInstanceNames(tempArray); } frame 44 { var tempArray = new Array('coin1i', 'coin2i', 'rock1i', 'rock2i'); trackTheseInstanceNames(tempArray); } frame 45 { var tempArray = new Array('coin1j', 'coin2j', 'coin3j', 'coin4j', 'coin5j', 'coin6j', 'pit1j', 'pit2j', 'snake1j'); trackTheseInstanceNames(tempArray); } frame 46 { var tempArray = new Array('coin1k', 'coin2k', 'coin3k', 'coin4k', 'coin5k', 'coin6k', 'snake1k', 'snake2k', 'snake3k'); trackTheseInstanceNames(tempArray); } frame 47 { var tempArray = new Array('coin1l', 'coin2l', 'coin3l', 'coin4l', 'coin5l', 'coin6l', 'bat1l', 'bat2l', 'bat3l', 'bat4l', 'bat5l'); trackTheseInstanceNames(tempArray); } frame 48 { var tempArray = new Array('coin1m', 'coin2m', 'coin3m', 'coin4m', 'coin5m', 'coin6m', 'spider1m', 'spider2m', 'spider3m', 'spider4m'); trackTheseInstanceNames(tempArray); } frame 49 { var tempArray = new Array('spider1n', 'spider2n', 'coin1n', 'coin2n', 'coin3n', 'coin4n', 'coin5n', 'coin6n'); trackTheseInstanceNames(tempArray); } frame 50 { var tempArray = new Array('snake1o', 'snake2o', 'coin1o', 'coin2o', 'coin3o', 'coin4o', 'coin5o', 'coin6o'); trackTheseInstanceNames(tempArray); } frame 51 { var tempArray = new Array('coin1p', 'coin2p', 'coin3p', 'coin4p', 'coin5p', 'coin6p', 'rock1p', 'rock2p'); trackTheseInstanceNames(tempArray); } frame 52 { var tempArray = new Array('rockj', 'rockj2', 'coin1j', 'coin2j', 'coin3j', 'coin4j', 'coin5j', 'coin6j'); trackTheseInstanceNames(tempArray); } frame 53 { var tempArray = new Array('coin1q', 'coin2q', 'coin3q', 'coin4q', 'coin5q', 'coin6q', 'bat1q', 'bat2q'); trackTheseInstanceNames(tempArray); } frame 54 { var tempArray = new Array('coin1r', 'coin2r', 'coin3r', 'coin4r', 'coin5r', 'coin6r', 'snake1r', 'snake2r'); trackTheseInstanceNames(tempArray); } frame 57 { _parent._parent.endOfLevel(); } frame 90 { var tempArray = new Array('rock1s', 'rock2s', 'rock3s', 'rock4s', 'rock5s'); trackTheseInstanceNames(tempArray); } frame 91 { var tempArray = new Array('coin1t', 'coin2t', 'coin3t', 'coin4t', 'coin5t', 'coin6t', 'coin7t', 'coin8t', 'coin9t'); trackTheseInstanceNames(tempArray); } frame 92 { var tempArray = new Array('coin1u', 'coin2u', 'coin3u', 'coin4u', 'coin5u', 'coin6u', 'bat1u', 'spider1u'); trackTheseInstanceNames(tempArray); } frame 93 { var tempArray = new Array('coin1v', 'vine1v', 'pit1v'); trackTheseInstanceNames(tempArray); } frame 94 { var tempArray = new Array('snake1w', 'snake2w', 'coin1w', 'coin2w', 'coin3w', 'coin4w', 'coin5w', 'coin6w', 'bat1w'); trackTheseInstanceNames(tempArray); } frame 95 { var tempArray = new Array('bat1x', 'bat2x', 'bat3x', 'bat4x', 'bat5x', 'bat6x', 'coin1x', 'coin2x', 'coin3x'); trackTheseInstanceNames(tempArray); } frame 96 { var tempArray = new Array('snake1y', 'snake2y', 'coin1y', 'coin2y', 'rock1y', 'rock2y'); trackTheseInstanceNames(tempArray); } frame 97 { var tempArray = new Array('bat1z', 'bat2z', 'bat3z', 'bat4z', 'bat5z', 'bat6z'); trackTheseInstanceNames(tempArray); } frame 98 { var tempArray = new Array('coin1aa', 'coin2aa', 'coin3aa', 'coin4aa', 'coin5aa', 'coin6aa', 'snake1aa', 'snake2aa', 'snake3aa', 'snake4aa'); trackTheseInstanceNames(tempArray); } frame 99 { var tempArray = new Array('vine1bb', 'vine2bb', 'pit1bb', 'pit2bb'); trackTheseInstanceNames(tempArray); } frame 101 { _parent._parent.endOfLevel(); } frame 103 { var tempArray = new Array('coin1o', 'coin2o', 'vine1o', 'vine2o', 'rock1o'); trackTheseInstanceNames(tempArray); } frame 104 { var tempArray = new Array('spider1p', 'spider2p', 'spider3p', 'spider4p', 'coin1p', 'coin2p', 'coin3p'); trackTheseInstanceNames(tempArray); } frame 105 { var tempArray = new Array('coin1q', 'coin2q', 'coin3q', 'coin4q', 'coin5q', 'coin6q', 'coin7q', 'coin8q', 'coin9q', 'coin10q', 'coin11q', 'coin12q'); trackTheseInstanceNames(tempArray); } frame 106 { var tempArray = new Array('snake1r', 'snake2r', 'coin1r', 'coin2r', 'coin3r'); trackTheseInstanceNames(tempArray); } frame 107 { var tempArray = new Array('bat1s', 'bat2s', 'bat3s', 'bat4s', 'bat5s', 'bat6s'); trackTheseInstanceNames(tempArray); } frame 108 { var tempArray = new Array('bat1l', 'bat2l', 'bat3l'); trackTheseInstanceNames(tempArray); } frame 109 { var tempArray = new Array('vine1l', 'pit1l'); trackTheseInstanceNames(tempArray); } frame 110 { var tempArray = new Array('coin1m', 'coin2m', 'coin3m', 'coin4m', 'coin5m', 'coin6m', 'coin7m', 'coin8m', 'coin9m', 'coin10m'); trackTheseInstanceNames(tempArray); } frame 111 { var tempArray = new Array('coin1n', 'coin2n', 'coin3n', 'coin4n', 'coin5n', 'coin6n', 'rock1n', 'rock2n', 'rock3n'); trackTheseInstanceNames(tempArray); } frame 112 { var tempArray = new Array('coin1t', 'coin2t', 'coin3t', 'coin4t', 'coin5t', 'coin6t', 'coin7t', 'coin8t', 'coin9t', 'coin10t'); trackTheseInstanceNames(tempArray); } frame 113 { var tempArray = new Array('vine1u', 'pit1u'); trackTheseInstanceNames(tempArray); } frame 114 { var tempArray = new Array('vinef', 'pitf', 'coinf'); trackTheseInstanceNames(tempArray); } frame 115 { var tempArray = new Array('coin1g', 'coin2g', 'coin3g'); trackTheseInstanceNames(tempArray); } frame 116 { var tempArray = new Array('coinh', 'bath', 'vineh'); trackTheseInstanceNames(tempArray); } frame 117 { var tempArray = new Array('coin1i', 'coin2i', 'coin3i', 'coin4i', 'coin5i', 'coin6i'); trackTheseInstanceNames(tempArray); } frame 119 { var tempArray = new Array('coin1k', 'coin2k', 'coin3k', 'snakek'); trackTheseInstanceNames(tempArray); } frame 120 { var tempArray = new Array('coin1w', 'coin2w', 'coin3w', 'coin4w', 'coin5w', 'coin6w', 'pit1w'); trackTheseInstanceNames(tempArray); } } movieClip 533 { frame 1 { function goToFrame(x) { bg1.gotoAndStop(x); bg2.gotoAndStop(x + 1); } function getOtherBg(tempCurrBg) { if (tempCurrBg == 1) { return 2; } else { return 1; } } function skipToNextScene() { var v1 = currentBg; self['bg' + v1].gotoAndStop(self['bg' + v1]._currentframe + 1); self['bg' + v1].setSceneIndicator(self['bg' + v1]._currentframe); v1 = getOtherBg(v1); self['bg' + v1].gotoAndStop(self['bg' + v1]._currentframe + 1); self['bg' + v1].setSceneIndicator(self['bg' + v1]._currentframe); } function skipToPrevScene() { var v1 = currentBg; self['bg' + v1].gotoAndStop(self['bg' + v1]._currentframe - 1); self['bg' + v1].setSceneIndicator(self['bg' + v1]._currentframe); v1 = getOtherBg(v1); self['bg' + v1].gotoAndStop(self['bg' + v1]._currentframe - 1); self['bg' + v1].setSceneIndicator(self['bg' + v1]._currentframe); } function skipTutorial() { var v1 = currentBg; self['bg' + v1].gotoAndStop(12); v1 = getOtherBg(v1); self['bg' + v1].gotoAndStop(13); } function startTimer() { bgTimer = setInterval(loopIt, 1200); hitTestIntervalID = setInterval(bg1.hitTestObjects, 180); hitTestIntervalID2 = setInterval(bg2.hitTestObjects, 180); } function stopTimer() { clearInterval(bgTimer); clearInterval(hitTestIntervalID); clearInterval(hitTestIntervalID2); } function loopIt() { var v3 = {'x': self['bg' + currentBg]._x, 'y': self['bg' + currentBg]._y}; self.localToGlobal(v3); if (v3.x < -1282) { self['bg' + currentBg]._x = currentNextX; currentNextX += 1200; var v2 = self['bg' + currentBg]._currentframe; --_parent.scenesLeft; if (_parent.currentLevel == 1) { if (_parent.scenesLeft < 1) { if (v2 < 32) { var v4 = 32; } else { var v4 = v2 + 2; } } else { if (v2 > 21 && v2 < 32) { var v4 = Math.ceil(Math.random() * 8) + 21; } else { var v4 = v2 + 2; } } } else { if (_parent.scenesLeft < 1) { if (v2 < 55) { var v4 = 55; } else { var v4 = v2 + 2; } } else { if (v2 > 44 && v2 < 56) { var v4 = Math.ceil(Math.random() * 9) + 44; } else { var v4 = v2 + 2; } } } self['bg' + currentBg].gotoAndStop(v4); self['bg' + currentBg].setSceneIndicator(self['bg' + currentBg]._currentframe); currentBg = getOtherBg(currentBg); } } self = this; var bgTimer; var hitTestIntervalID; var hitTestIntervalID2; var currentBg = 1; bg1.setSceneIndicator('Scene 1'); var currentNextX = 2400; } } movieClip 535 { } movieClip 537 { } movieClip 539 { } movieClip 541 { } movieClip 543 { } movieClip 544 { } movieClip 546 { } movieClip 548 { } movieClip 549 { frame 1 { stop(); } frame 11 { stop(); } frame 21 { stop(); } frame 31 { stop(); } } movieClip 551 { } movieClip 553 { } movieClip 555 { } movieClip 556 { } movieClip 558 { } movieClip 560 { } movieClip 561 { } movieClip 563 { } movieClip 565 { } movieClip 567 { } movieClip 569 { } movieClip 571 { } movieClip 573 { } movieClip 575 { } movieClip 577 { } movieClip 578 { } movieClip 579 { } movieClip 581 { } movieClip 583 { } movieClip 585 { } movieClip 587 { } movieClip 589 { } movieClip 591 { } movieClip 592 { frame 1 { stop(); } frame 11 { stop(); } frame 21 { stop(); } frame 31 { stop(); } } movieClip 595 { } movieClip 597 { } movieClip 599 { } movieClip 600 { } movieClip 601 { } movieClip 604 { } movieClip 605 { } movieClip 608 { } movieClip 609 { } movieClip 612 { } movieClip 613 { } movieClip 616 { } movieClip 617 { } movieClip 618 { } movieClip 621 { } movieClip 622 { } movieClip 625 { } movieClip 626 { } movieClip 627 { frame 1 { stop(); } frame 11 { stop(); } frame 21 { stop(); } frame 31 { stop(); } } movieClip 628 { frame 1 { stop(); } frame 10 { stop(); } frame 19 { stop(); } } button 632 { on (release) { skipTutorialPressed(); } } movieClip 634 { } movieClip 637 { } movieClip 639 { } movieClip 642 { } movieClip 645 { } movieClip 646 { } movieClip 648 { } movieClip 649 { frame 1 { stop(); } } // unknown tag 88 length 195 movieClip 656 { frame 1 { stop(); } } movieClip 658 { frame 1 { function updateScore(userPoints) { scoreText.text = _parent._parent.commify(userPoints); } stop(); } } movieClip 660 { frame 1 { function updateScore(userPoints) { scoreText.text = _parent._parent.commify(userPoints); } stop(); } } button 661 { on (press) { _parent.pauseGame(true); } } movieClip 662 { } movieClip 665 { frame 1 { stop(); } frame 13 { stop(); } } movieClip 668 { frame 1 { stop(); } frame 24 { stop(); } } movieClip 671 { frame 1 { stop(); } frame 23 { stop(); } } movieClip 674 { frame 1 { stop(); } frame 23 { stop(); } } movieClip 677 { frame 1 { stop(); } frame 23 { stop(); } } movieClip 680 { frame 1 { stop(); } frame 23 { stop(); } } movieClip 683 { frame 1 { stop(); } frame 23 { stop(); } } movieClip 686 { frame 1 { stop(); } frame 100 { stop(); } } movieClip 688 { frame 1 { stop(); } frame 28 { stop(); } } movieClip 689 { frame 1 { stop(); _root.buttomStuff.gotoAndStop(1); var xsound = new Sound(); xsound.onSoundComplete = function () { xsound.start(); }; var xsound2 = new Sound(); xsound2.onSoundComplete = function () { xsound2.start(); }; xsound.loadSound(_root.SITE_URL + 'bg_loop.mp3', true); xsound.setVolume(20); soundLoaded = true; xsound2.loadSound(_root.SITE_URL + 'bg_mx_loop.mp3', true); xsound2.stop(); xsound2.setVolume(45); } frame 7 { stop(); _root.floodLightTrack('937423', 'norel417', 'gamep191'); } frame 16 { stop(); _root.floodLightTrack('937423', 'norel417', 'chari370'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'charity_info'}); } frame 25 { function animationOver() { animationHolder.unloadMovie(); gotoAndStop('AVATAR'); } stop(); xsound2.start(); self = this; var mclListener = new Object(); mclListener.onLoadInit = function (target_mc) { workingAnimation.stop(); }; var image_mcl = new MovieClipLoader(); image_mcl.addListener(mclListener); image_mcl.loadClip(_root.SITE_URL + 'animations/jungle_game_seq.swf', animationHolder); } frame 32 { function showGuys() { var v1 = new mx.transitions.Tween(guy1, '_alpha', mx.transitions.easing.Regular.easeIn, 0, 100, 0.2, true); v1 = new mx.transitions.Tween(guy2, '_alpha', mx.transitions.easing.Regular.easeIn, 0, 100, 0.2, true); v1 = new mx.transitions.Tween(guy3, '_alpha', mx.transitions.easing.Regular.easeIn, 0, 100, 0.2, true); v1 = new mx.transitions.Tween(guy1, '_xscale', mx.transitions.easing.Bounce.easeOut, 75, 85, 0.3, true); v1 = new mx.transitions.Tween(guy1, '_yscale', mx.transitions.easing.Bounce.easeOut, 75, 85, 0.3, true); v1 = new mx.transitions.Tween(guy2, '_xscale', mx.transitions.easing.Bounce.easeOut, 75, 95, 0.3, true); v1 = new mx.transitions.Tween(guy2, '_yscale', mx.transitions.easing.Bounce.easeOut, 75, 95, 0.3, true); v1 = new mx.transitions.Tween(guy3, '_xscale', mx.transitions.easing.Bounce.easeOut, 75, 85, 0.3, true); v1 = new mx.transitions.Tween(guy3, '_yscale', mx.transitions.easing.Bounce.easeOut, 75, 85, 0.3, true); } function moveGuyForward(mc) { tween1.stop(); tween2.stop(); tween3.stop(); tween1 = new mx.transitions.Tween(mc, '_xscale', mx.transitions.easing.Bounce.easeOut, mc._xscale, 95, 0.3, true); tween2 = new mx.transitions.Tween(mc, '_yscale', mx.transitions.easing.Bounce.easeOut, mc._yscale, 95, 0.3, true); tween3 = new mx.transitions.Tween(mc.shadowClip, '_alpha', mx.transitions.easing.Regular.easeIn, mc.shadowClip._alpha, 0, 0.1, true); mc.gotoAndStop(2); } function moveGuyBackwards(mc) { tween1b = new mx.transitions.Tween(mc, '_xscale', mx.transitions.easing.Regular.easeIn, mc._xscale, 85, 0.1, true); tween2b = new mx.transitions.Tween(mc, '_yscale', mx.transitions.easing.Regular.easeIn, mc._yscale, 85, 0.1, true); tween3b = new mx.transitions.Tween(mc.shadowClip, '_alpha', mx.transitions.easing.Regular.easeIn, mc.shadowClip._alpha, 30, 0.1, true); mc.gotoAndStop(1); } _root.trackThis('_page.metrics.trackFlash', {'pagename': 'jungle_game:play', 'type': 'o', 'url': 'flash'}); var gameTrackingID = 0; var gameTrackingCompletedLevel = 0; _root.buttomStuff.gotoAndStop('PRODUCT1'); var currentLevel = 1; var userPoints = 0; var level1Points = 0; var livesLeft = 2; xsound2.stop(); var whichGuy; var tween1; var tween2; var tween3; guy1._alpha = 0; guy2._alpha = 0; guy3._alpha = 0; setTimeout(showGuys, 200); guy1.shadowClip._alpha = 30; guy2.shadowClip._alpha = 30; guy3.shadowClip._alpha = 30; square1.onRollOver = function () { moveGuyForward(guy1); moveGuyBackwards(guy2); moveGuyBackwards(guy2); guy1.swapDepths(guy2); }; square1.onRollOut = function () { moveGuyBackwards(guy1); guy2.swapDepths(guy1); }; square1.onRelease = function () { whichGuy = 2; gotoAndPlay('LEVEL1'); }; square2.onRollOver = function () { moveGuyForward(guy2); moveGuyBackwards(guy1); moveGuyBackwards(guy3); }; square2.onRollOut = function () { moveGuyBackwards(guy2); }; square2.onRelease = function () { whichGuy = 1; gotoAndPlay('LEVEL1'); }; square3.onRollOver = function () { moveGuyForward(guy3); moveGuyBackwards(guy1); moveGuyBackwards(guy2); guy3.swapDepths(guy2); }; square3.onRollOut = function () { moveGuyBackwards(guy3); guy2.swapDepths(guy3); }; square3.onRelease = function () { whichGuy = 3; gotoAndPlay('LEVEL1'); }; } frame 40 { function showLevel1Box() { popOutBox(levelBox); } function popOutBox(mc) { var v2 = new mx.transitions.Tween(mc, '_xscale', mx.transitions.easing.Bounce.easeOut, mc._xscale, 100, 0.3, true); v2 = new mx.transitions.Tween(mc, '_yscale', mx.transitions.easing.Bounce.easeOut, mc._yscale, 100, 0.3, true); v2 = new mx.transitions.Tween(mc, '_alpha', mx.transitions.easing.Regular.easeOut, 80, 100, 0.3, true); } stop(); levelBox.gotoAndStop(1); levelBox._alpha = 0; levelBox._xscale = 90; levelBox._yscale = levelBox._xscale; setTimeout(showLevel1Box, 300); } frame 47 { function mainLoop() { bgFar._x -= bgFarSpeed; } function mainLoop2() { bgMid._x -= bgMidSpeed; } function mainLoop3() { bgFront._x -= bgFrontSpeed; } function stopBackgrounds() { var v1 = new mx.transitions.Tween(bgFront, '_x', mx.transitions.easing.Regular.easeOut, bgFront._x, bgFront._x - 100, 0.8, true); v1 = new mx.transitions.Tween(bgMid, '_x', mx.transitions.easing.Regular.easeOut, bgMid._x, bgMid._x - 60, 0.8, true); v1 = new mx.transitions.Tween(bgFar, '_x', mx.transitions.easing.Regular.easeOut, bgFar._x, bgFar._x - 20, 0.8, true); } function outOfLives() { guyIsActive = false; stopAllTimers(); stopBackgrounds(); gotoAndStop('OVER'); } function endOfLevel() { guyIsActive = false; theGuy.theGuy.gotoAndStop('RUNNING'); stopAllTimers(); stopBackgrounds(); var v1 = new mx.transitions.Tween(theGuy, '_x', mx.transitions.easing.Regular.easeIn, theGuy._x + 5, 983, 1.6, true); v1.onMotionFinished = function () { if (currentLevel == 1) { gotoAndStop('ANIMATION2'); gameTrackingCompletedLevel = 1; } else { gameTrackingCompletedLevel = 2; gotoAndStop('ANIMATION3'); } }; } function stopAllTimers() { clearInterval(mainLoopInterval1ID); clearInterval(mainLoopInterval2ID); clearInterval(mainLoopInterval3ID); clearInterval(mainLoopInterval4ID); clearInterval(progressPointsIntervalID); bgFront.stopTimer(); bgMid.stopTimer(); bgFar.stopTimer(); clearInterval(coinBonusIntervalID); areTimersRunning = false; } function changeMainLoopInterval() { trace(currentMainLoopInterval); clearInterval(mainLoopInterval2ID); mainLoopInterval2ID = setInterval(mainLoop2, currentMainLoopInterval); } function startAllTimers() { mainLoopInterval1ID = setInterval(mainLoop, 66); mainLoopInterval2ID = setInterval(mainLoop2, 66); mainLoopInterval3ID = setInterval(mainLoop3, 30); progressPointsIntervalID = setInterval(addProgressPoint, 500); bgFront.startTimer(); bgMid.startTimer(); bgFar.startTimer(); coinBonusIntervalID = setInterval(clearCoinsIn2Seconds, 2000); areTimersRunning = true; } function addProgressPoint() { if (isTutorialActive) { return undefined; } userPoints += 1; updateScore(userPoints); } function pauseGame(sw) { if (sw) { gameIsPaused = true; theGuy.theGuy.theGuy.stop(); guyIsActive = false; this.attachMovie('pauseBox', 'pauseBoxMC', this.getNextHighestDepth()); stopAllTimers(); } else { gameIsPaused = false; theGuy.theGuy.theGuy.play(); guyIsActive = true; trace('un pause'); removePauseClip(); theGuy.theGuy.gotoAndStop('RUNNING'); startAllTimers(); } } function removePauseClip() { removeMovieClip('pauseBoxMC'); } function showTutorialScenes(sw) { if (sw == true) { skipTutorialButton._visible = true; isTutorialActive = true; } else { skipTutorialButton._visible = false; isTutorialActive = false; } } function skipTutorialPressed() { showTutorialScenes(false); bgFront.skipTutorial(); showTopUI(); } function tutorialHasEnded() { if (isTutorialActive) { showTopUI(); showTutorialScenes(false); } } function showTopUI() { updateScore(userPoints); updateLives(livesLeft); topUI.uiLivesLeft.theGuy.gotoAndStop(whichGuy); topUI._alpha = 0; topUI._visible = true; var v1 = new mx.transitions.Tween(topUI, '_alpha', mx.transitions.easing.Regular.easeOut, 0, 100, 1.2, true); } function updateScore(userPoints) { topUI.uiScore.updateScore(userPoints); } function updateLives(livesLeft) { topUI.uiLivesLeft.gotoAndStop(livesLeft + 1); } function startLevel(level) { switch (whichGuy) { case 1: theGuy.gotoAndStop('ASIAN'); break; case 2: theGuy.gotoAndStop('WHITE'); break; case 3: theGuy.gotoAndStop('BLACK'); } if (level == 1) { showTutorialScenes(true); bgFarSpeed = 1; bgMidSpeed = 7; bgFrontSpeed = 10; scenesLeft = 99; bgFront.goToFrame(1); } else { if (level == 2) { skipTutorialPressed(); bgFarSpeed = 2; bgMidSpeed = 9; bgFrontSpeed = 12; scenesLeft = 21; bgFront.goToFrame(35); } } startAllTimers(); guyIsActive = true; theGuy.theGuy.gotoAndStop('RUNNING'); var v2 = new mx.transitions.Tween(theGuy, '_x', mx.transitions.easing.Regular.easeOut, -107, initialGuyX, 1.2, true); curtainTween._visible = true; var curtainTween = new mx.transitions.Tween(theCurtain, '_alpha', mx.transitions.easing.Regular.easeOut, theCurtain._alpha, 0, 1.2, true); curtainTween.onMotionFinished = function () { curtainTween._visible = false; }; } function commify(my_number) { var v3 = my_number.toString(); var v4 = new Array(); var v2; var v1 = v3.length; while (v1 > 0) { v2 = Math.max(v1 - 3, 0); v4.unshift(v3.slice(v2, v1)); v1 = v2; } return v4.join(','); } function guyJump(jumpType) { jumpOnMouseUp = false; if (guyHasCrashed || guyIsJumping || guyIsGliding || gameIsPaused) { return undefined; } if (guyIsSwinging) { abortSwingTracking(); } guyIsJumping = true; if (_root.soundEnabled && jumpType == 2) { soundJump.gotoAndPlay(2); } if (jumpType == 1) { var v3 = 50; var v2 = 0.23; } else { var v3 = 100; var v2 = 0.33; } theGuy.theGuy.gotoAndStop('JUMPING'); com.greensock.TweenMax.killTweensOf(theGuy); com.greensock.TweenMax.to(theGuy, v2, {'_y': theGuy._y - v3, 'ease': Expo.easeOut, 'onComplete': jumpDown}); } function jumpDown() { if (jumpType == 1) { var v1 = 0.15; } else { var v1 = 0.15; } com.greensock.TweenMax.to(theGuy, 1, {'_x': initialGuyX, 'ease': Quint.easeOut}); com.greensock.TweenMax.to(theGuy, v1, {'_y': 154, 'delay': 0.06, 'ease': Quint.easeIn, 'onComplete': endJump}); } function endJump() { theGuy.theGuy.gotoAndStop('RUNNING'); theGuy.theGuy.theGuy.gotoAndPlay(7); guyIsJumping = false; } function stopJump() { com.greensock.TweenMax.killTweensOf(theGuy); clearTimeout(jumpTimer); guyIsJumping = false; } function removeClip(clipName) { removeMovieClip(_root.mainGame.bgFront[clipName]); } function objectHit(theObject) { if (guyIsInvinsible) { return undefined; } switch (theObject.reactionType) { case 1: stopJump(); guyHasCrashed = true; theGuy.theGuy.gotoAndStop('INVISIBLE'); bgFront.attachMovie('manFall', 'manFallMC', bgFront.getNextHighestDepth(), {'_x': initialGuyX - bgFront._x - 60, '_y': 100}); break; case 2: stopJump(); guyHasCrashed = true; theGuy.theGuy.gotoAndStop('INVISIBLE'); bgFront.attachMovie('manTrip', 'manTripMC', bgFront.getNextHighestDepth(), {'_x': initialGuyX - bgFront._x - 60, '_y': 100}); break; case 3: startSwingTracking(theObject); break; case 4: stopJump(); guyHasCrashed = true; theGuy.theGuy.gotoAndStop('INVISIBLE'); bgFront.attachMovie('manFallIntoPit', 'manFallIntoPitMC', bgFront.getNextHighestDepth(), {'_x': initialGuyX - bgFront._x - 20, '_y': 230}); break; case 5: theObject._alpha = 0; collectedCoinSilver(); break; case 6: theObject._alpha = 0; collectedCoinGold(); } } function switchToTheCorrectGuy(mc) { switch (whichGuy) { case 1: mc.gotoAndStop('ASIAN'); break; case 2: mc.gotoAndStop('WHITE'); break; case 3: mc.gotoAndStop('BLACK'); } } function clearCoinsIn2Seconds() { coinsIn2Seconds = 0; } function collectedCoinSilver() { if (_root.soundEnabled) { soundCoin.gotoAndPlay(2); } if (isTutorialActive) { return undefined; } userPoints += 10; updateScore(userPoints); if (coinsIn2Seconds++ > 3) { userPoints += 30; clearCoinsIn2Seconds(); if (_root.soundEnabled) { soundCoinBonus.gotoAndPlay(2); } } } function collectedCoinGold() { if (_root.soundEnabled) { soundCoin.gotoAndPlay(2); } if (isTutorialActive) { return undefined; } userPoints += 25; updateScore(userPoints); if (coinsIn2Seconds++ > 2) { userPoints += 55; clearCoinsIn2Seconds(); if (_root.soundEnabled) { soundCoinBonus.gotoAndPlay(2); } } } function guyCrashed() { if (!isTutorialActive) { --livesLeft; if (livesLeft < 0) { outOfLives(); return undefined; } updateLives(livesLeft); } theGuy._x = initialGuyX; theGuy._y = 154; theGuy.theGuy.gotoAndStop('RUNNING'); theGuy.theGuy.theGuy.gotoAndStop(1); guyHasCrashed = false; guyIsInvinsible = true; blinkCounter = 0; setTimeout(blinkGuy, 200); } function blinkGuy() { if (theGuy._alpha) { theGuy._alpha = 0; } else { theGuy._alpha = 200; } if (blinkCounter++ > 7) { reSpawn(); } else { setTimeout(blinkGuy, 200); } } function reSpawn() { theGuy.theGuy.theGuy.play(); guyIsInvinsible = false; theGuy._alpha = 100; } function startSwingTracking(theObject) { if (guyIsJumping) { stopJump(); } if (guyIsSwinging) { return undefined; } theGuy.theGuy.gotoAndStop('SWINGING'); guyIsSwinging = true; swingVineObstacleObject = theObject; if (_root.soundEnabled) { soundVine.gotoAndPlay(2); } swingTrackIntervalID = setInterval(trackSwing, 2); } function trackSwing() { var v2 = {'x': swingVineObstacleObject.trackDot._x, 'y': swingVineObstacleObject.trackDot._y}; swingVineObstacleObject.localToGlobal(v2); theGuy._x = v2.x - 75; theGuy._y = swingVineObstacleObject.trackDot._y - 310; if (theGuy._x < -200) { clearInterval(swingTrackIntervalID); guyIsSwinging = false; if (_root.soundEnabled) { soundScream3.gotoAndPlay(2); } guyCrashed(); } } function abortSwingTracking() { clearInterval(swingTrackIntervalID); guyIsSwinging = false; com.greensock.TweenMax.to(theGuy, 1, {'_x': initialGuyX, 'ease': Quint.easeOut}); } xsound2.start(); skipTutorialButton._visible = false; topUI._visible = false; theCurtain._visible = true; theCurtain._alpha = 100; if (currentLevel == 1) { myLv = new LoadVars(); myLv.onLoad = function (success) { if (success) { gameTrackingID = this.trackID; } }; var so = SharedObject.getLocal('ugt'); if (so.data.uid != null) { var uid = so.data.uid; } else { var uid = (new Date()).getTime(); uid = uid + '-' + Math.floor(Math.random() * 9999); so.data.uid = uid; so.flush(); } trace('uid = ' + uid); var cKiller = (new Date()).getTime(); myLv.cKiller = cKiller; myLv.tmode = 'start'; myLv.hash = _root.calcMD5(cKiller + 'xx123x1'); myLv.uid = uid; myLv.sendAndLoad(_root.SITE_URL + 'game_tracker.php', myLv, 'POST'); } var guyIsJumping = false; var guyIsActive = false; var jumpOnMouseUp = false; var jumpTimer; var initialGuyX = 213; var guyHasCrashed = false; var guyIsInvinsible = false; var mainLoopInterval1ID; var mainLoopInterval2ID; var mainLoopInterval3ID; var mainLoopInterval4ID; var coinBonusIntervalID; var progressPointsIntervalID; var blinkCounter; var swingTrackIntervalID = 0; var swingVineObstacleObject; var coinsIn2Seconds = 1; var guyIsSwinging = false; var guyIsGliding = false; var showTutorial; var bgFarSpeed; var bgMidSpeed; var bgFrontSpeed; var gameIsPaused = false; var scenesLeft; var isTutorialActive = false; var areTimersRunning = false; var keyListener = new Object(); keyListener.onKeyDown = function () { if (Key.isDown(39)) { } if (Key.isDown(37)) { } if (Key.isDown(40)) { } if (Key.isDown(38)) { } }; Key.addListener(keyListener); this.onMouseDown = function () { if (guyHasCrashed) { return undefined; } if (!guyIsActive) { return undefined; } jumpOnMouseUp = true; jumpTimer = setTimeout(guyJump, 70, 2); }; this.onMouseUp = function () { clearTimeout(jumpTimer); if (jumpOnMouseUp) { guyJump(1); } }; var lastLoopTime; var currentMainLoopInterval = 66; } frame 48 { stop(); startLevel(currentLevel); } frame 55 { stop(); levelBox.gotoAndStop(2); curtainTween._visible = true; var curtainTween = new mx.transitions.Tween(theCurtain, '_alpha', mx.transitions.easing.Regular.easeOut, 100, 0, 1.2, true); _root.buttomStuff.gotoAndStop('PRODUCT2'); } frame 62 { function animationOver() { animationHolder.unloadMovie(); gotoAndStop('POST1'); } stop(); var mclListener = new Object(); mclListener.onLoadInit = function (target_mc) { workingAnimation.stop(); }; var image_mcl = new MovieClipLoader(); image_mcl.addListener(mclListener); image_mcl.loadClip(_root.SITE_URL + 'animations/jungle_game_seq2.swf', animationHolder); } frame 68 { stop(); level1Points = userPoints; currentLevel = 2; levelBox.gotoAndStop(3); curtainTween._visible = true; var curtainTween = new mx.transitions.Tween(theCurtain, '_alpha', mx.transitions.easing.Regular.easeOut, 100, 0, 1.2, true); } frame 75 { function animationOver() { animationHolder.unloadMovie(); gotoAndStop('OVER'); } stop(); var mclListener = new Object(); mclListener.onLoadInit = function (target_mc) { workingAnimation.stop(); }; var image_mcl = new MovieClipLoader(); image_mcl.addListener(mclListener); image_mcl.loadClip(_root.SITE_URL + 'animations/jungle_game_seq3.swf', animationHolder); } frame 82 { xsound2.stop(); stop(); level2Points = userPoints; levelBox.gotoAndStop(4); curtainTween._visible = true; var curtainTween = new mx.transitions.Tween(theCurtain, '_alpha', mx.transitions.easing.Regular.easeOut, 100, 0, 1.2, true); } } // unknown tag 88 length 63 button 705 { on (release) { _parent.mainGame.stopAllTimers(); _parent.mainGame.gotoAndStop('CHARITY'); } } button 711 { on (release) { _root.floodLightTrack('937423', 'norel417', 'vaccu886'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'amazon_trimmer', 'type': 'e', 'url': 'http://www.amazon.com/gp/product/B003U8ESI4/ref=as_li_ss_tl?ie=UTF8&tag=philips389-20&linkCode=as2&camp=217145&creative=399349'}); getURL('http://www.amazon.com/gp/product/B003U8ESI4/ref=as_li_ss_tl?ie=UTF8&tag=philips389-20&linkCode=as2&camp=217145&creative=399349', '_blank'); } } button 713 { on (release) { _root.floodLightTrack('937423', 'norel417', 'vaccu886'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'amazon_trimmer', 'type': 'e', 'url': 'http://www.amazon.com/gp/product/B003U8ESI4/ref=as_li_ss_tl?ie=UTF8&tag=philips389-20&linkCode=as2&camp=217145&creative=399349'}); getURL('http://www.amazon.com/gp/product/B003U8ESI4/ref=as_li_ss_tl?ie=UTF8&tag=philips389-20&linkCode=as2&camp=217145&creative=399349', '_blank'); } } button 717 { on (release) { _root.floodLightTrack('937423', 'norel417', 'bodyg867'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'amazon_bodygroompro', 'type': 'e', 'url': 'http://www.amazon.com/gp/product/B0037HP9OA/ref=as_li_ss_tl?ie=UTF8&tag=philips390-20&linkCode=as2&camp=217145&creative=399349'}); getURL('http://www.amazon.com/gp/product/B0037HP9OA/ref=as_li_ss_tl?ie=UTF8&tag=philips390-20&linkCode=as2&camp=217145&creative=399349', '_blank'); } } button 718 { on (release) { _root.floodLightTrack('937423', 'norel417', 'bodyg867'); _root.trackThis('_page.metrics.trackFlash', {'pagename': 'amazon_bodygroompro', 'type': 'e', 'url': 'http://www.amazon.com/gp/product/B0037HP9OA/ref=as_li_ss_tl?ie=UTF8&tag=philips390-20&linkCode=as2&camp=217145&creative=399349'}); getURL('http://www.amazon.com/gp/product/B0037HP9OA/ref=as_li_ss_tl?ie=UTF8&tag=philips390-20&linkCode=as2&camp=217145&creative=399349', '_blank'); } } movieClip 721 { frame 1 { stop(); } }




http://swfchan.com/20/95636/info.shtml
Created: 24/3 -2019 10:07:44 Last modified: 24/3 -2019 10:07:44 Server time: 03/05 -2024 10:49:08