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

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

Urban Legends Series - Origins.swf

This is the info page for
Flash #238834

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


ActionScript [AS1/AS2]
Combined Code
movieClip 4 BoundingBox { } movieClip 5 Defaults { #initclip Object.registerClass('Defaults', mx.skins.halo.Defaults); #endinitclip } movieClip 6 UIObjectExtensions { #initclip Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions); #endinitclip } movieClip 7 UIObject { #initclip Object.registerClass('UIObject', mx.core.UIObject); #endinitclip frame 1 { stop(); } } button 10 { on (keyPress '<Tab>') { this.tabHandler(); } } movieClip 11 FocusRect { #initclip Object.registerClass('FocusRect', mx.skins.halo.FocusRect); #endinitclip } movieClip 12 FocusManager { #initclip Object.registerClass('FocusManager', mx.managers.FocusManager); #endinitclip frame 1 { stop(); } } movieClip 13 UIComponentExtensions { #initclip Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions); #endinitclip } movieClip 14 UIComponent { #initclip Object.registerClass('UIComponent', mx.core.UIComponent); #endinitclip frame 1 { stop(); } } movieClip 17 ProgBarCapThemeColor { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 19 ProgBarRight { } movieClip 22 ProgBarLeft { } movieClip 25 ProgBarMiddleThemeColor { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 27 ProgBarMiddle { } movieClip 30 ProgBarIndThemeColor { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 31 ProgBarIndMiddleThemeColor { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 33 ProgIndBar { } movieClip 35 ProgTrackLeft { } movieClip 37 ProgTrackMiddle { } movieClip 39 ProgTrackRight { } movieClip 40 ProgressBarAssets { } movieClip 41 ProgressBar { #initclip Object.registerClass('ProgressBar', mx.controls.ProgressBar); #endinitclip frame 1 { stop(); } } movieClip 62 Border { #initclip Object.registerClass('Border', mx.skins.Border); #endinitclip frame 1 { stop(); } } movieClip 63 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 64 View { #initclip Object.registerClass('View', mx.core.View); #endinitclip frame 1 { stop(); } } movieClip 65 Loader { #initclip Object.registerClass('Loader', mx.controls.Loader); #endinitclip frame 1 { stop(); } } frame 1 { objTime = new Date(); varStartSeconds = objTime.getSeconds(); varStartMinutes = objTime.getMinutes(); varStartHours = objTime.getHours(); varStartDays = objTime.getDay(); } movieClip 1 __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) { mx.core.UIObject = function () { super(); this.constructObject(); }; var v1 = new MovieClip(); mx.core.UIObject.prototype = v1; v1.__get__width = function () { return this._width; }; v1.__get__height = function () { return this._height; }; v1.__get__left = function () { return this._x; }; v1.__get__x = function () { return this._x; }; v1.__get__top = function () { return this._y; }; v1.__get__y = function () { return this._y; }; v1.__get__right = function () { return this._parent.width - (this._x + this.__get__width()); }; v1.__get__bottom = function () { return this._parent.height - (this._y + this.__get__height()); }; v1.getMinHeight = function (Void) { return this._minHeight; }; v1.setMinHeight = function (h) { this._minHeight = h; }; v1.__get__minHeight = function () { return this.getMinHeight(); }; v1.__set__minHeight = function (h) { this.setMinHeight(h); return this.__get__minHeight(); }; v1.getMinWidth = function (Void) { return this._minWidth; }; v1.setMinWidth = function (w) { this._minWidth = w; }; v1.__get__minWidth = function () { return this.getMinWidth(); }; v1.__set__minWidth = function (w) { this.setMinWidth(w); return this.__get__minWidth(); }; v1.setVisible = function (x, noEvent) { if (x != this._visible) { this._visible = x; if (noEvent != true) { this.dispatchEvent({'type': x ? 'reveal' : 'hide'}); } } }; v1.__get__visible = function () { return this._visible; }; v1.__set__visible = function (x) { this.setVisible(x, false); return this.__get__visible(); }; v1.__get__scaleX = function () { return this._xscale; }; v1.__set__scaleX = function (x) { this._xscale = x; return this.__get__scaleX(); }; v1.__get__scaleY = function () { return this._yscale; }; v1.__set__scaleY = function (y) { this._yscale = y; return this.__get__scaleY(); }; v1.doLater = function (obj, fn) { if (this.methodTable == undefined) { this.methodTable = new Array(); } this.methodTable.push({'obj': obj, 'fn': fn}); this.onEnterFrame = this.doLaterDispatcher; }; v1.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](); } } }; v1.cancelAllDoLaters = function (Void) { delete this.onEnterFrame; this.methodTable = new Array(); }; v1.invalidate = function (Void) { this.invalidateFlag = true; this.onEnterFrame = this.doLaterDispatcher; }; v1.invalidateStyle = function (Void) { this.invalidate(); }; v1.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'}); } }; v1.draw = function (Void) {}; v1.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}); } }; v1.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}); } }; v1.size = function (Void) { this._width = this.__width; this._height = this.__height; }; v1.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); }; v1.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; }; v1.createObject = function (linkageName, id, depth, initobj) { return this.attachMovie(linkageName, id, depth, initobj); }; v1.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; }; v1.createEmptyObject = function (id, depth) { return this.createClassObject(mx.core.UIObject, id, depth); }; v1.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]; }; v1.getSkinIDName = function (tag) { return this.idNames[tag]; }; v1.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); }; v1.createSkin = function (tag) { var v2 = this.getSkinIDName(tag); this.createEmptyObject(v2, tag); return this[v2]; }; v1.createChildren = function (Void) {}; v1._createChildren = function (Void) { this.createChildren(); this.childrenCreated = true; }; v1.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(); } }; v1.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; } } } }; v1.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(); } }; v1.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; } }; v1.setColor = function (color) {}; v1.__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; }; v1._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; }; v1.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; } }; v1.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; }; mx.core.UIObject.mergeClipParameters = function (o, p) { for (var v3 in p) { o[v3] = p[v3]; } return true; }; mx.core.UIObject.symbolName = 'UIObject'; mx.core.UIObject.symbolOwner = mx.core.UIObject; mx.core.UIObject.symbolOwner.version = '2.0.0.377'; mx.core.UIObject.symbolOwner.textColorList = {'color': 1, 'disabledColor': 1}; v1.invalidateFlag = false; v1.lineWidth = 1; v1.lineColor = 0; v1.tabEnabled = false; v1.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1}; v1.addProperty('bottom', v1.__get__bottom, function () {}); v1.addProperty('height', v1.__get__height, function () {}); v1.addProperty('left', v1.__get__left, function () {}); v1.addProperty('minHeight', v1.__get__minHeight, v1.__set__minHeight); v1.addProperty('minWidth', v1.__get__minWidth, v1.__set__minWidth); v1.addProperty('right', v1.__get__right, function () {}); v1.addProperty('scaleX', v1.__get__scaleX, v1.__set__scaleX); v1.addProperty('scaleY', v1.__get__scaleY, v1.__set__scaleY); v1.addProperty('top', v1.__get__top, function () {}); v1.addProperty('visible', v1.__get__visible, v1.__set__visible); v1.addProperty('width', v1.__get__width, function () {}); v1.addProperty('x', v1.__get__x, function () {}); v1.addProperty('y', v1.__get__y, function () {}); ASSetPropFlags(mx.core.UIObject.prototype, null, 1); } #endinitclip } movieClip 2 __Packages.mx.controls.ProgressBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.ProgressBar) { mx.controls.ProgressBar = function () { super(); }; var v1 = new mx.core.UIObject(); mx.controls.ProgressBar.prototype = v1; v1.init = function (Void) { super.init(); this.tabEnabled = false; this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; v1.createChildren = function (Void) { if (this.progTrackLeft_mc == undefined) { this.setSkin(this.skinIDProgTrackLeft, this.progTrackLeftName); } if (this.progTrackMiddle_mc == undefined) { this.setSkin(this.skinIDProgTrackMiddle, this.progTrackMiddleName); } if (this.progTrackRight_mc == undefined) { this.setSkin(this.skinIDProgTrackRight, this.progTrackRightName); } if (this.progBarLeft_mc == undefined) { this.setSkin(this.skinIDProgBarLeft, this.progBarLeftName); } if (this.progBarMiddle_mc == undefined) { this.setSkin(this.skinIDProgBarMiddle, this.progBarMiddleName); } if (this.progBarRight_mc == undefined) { this.setSkin(this.skinIDProgBarRight, this.progBarRightName); } if (this.progIndBar_mc == undefined) { this.setSkin(this.skinIDProgIndBar, this.progIndBarName); this.progIndBar_mc._visible = false; } if (this.mask_mc == undefined) { this.mask_mc = this.createObject('BoundingBox', 'mask_mc', this.skinIDMask); this.mask_mc._visible = false; this.progIndBar_mc.setMask(this.mask_mc); } if (this.labelPath == undefined) { this.labelPath = this.createLabel('labelPath', this.skinIDLabel); this.labelPath.tabEnabled = false; this.labelPath.selectable = false; this.labelPath.styleName = this; } this.setSize(this.__width, this.__height); }; v1.size = function (Void) { this.invalidate(); }; v1.draw = function (Void) { if (this.__source == undefined && this.__stringSource != undefined) { this.setSource(this.__stringSource); this.__stringSource = undefined; } var v14 = this.__width; var v22 = this.__height; var v5 = this.progBarLeft_mc._width > this.progTrackLeft_mc._width ? this.progBarLeft_mc._width : this.progTrackLeft_mc._width; var v6 = this.progBarLeft_mc._height > this.progTrackLeft_mc._height ? this.progBarLeft_mc._height : this.progTrackLeft_mc._height; var v15 = this.progBarRight_mc._width > this.progTrackRight_mc._width ? this.progBarRight_mc._width : this.progTrackRight_mc._width; var v7 = v14; var v8 = 0; var v9 = 0; if (this.__labelPlacement == 'top') { v8 = v22 - v6; } if (this.__label != undefined && this.__label != '') { this.labelPath._visible = false; var v11 = 1; var v20 = 1; var v18 = 5; var v26 = 4; var v12 = this.__value - this.__minimum; if (v12 < 0) { v12 = 0; } var v13 = this.__maximum - this.__minimum; if (v13 < 0) { v13 = 0; } if (this.__labelPlacement == 'left' || this.__labelPlacement == 'right') { var v4 = this.__label; if (!this.__indeterminate) { v4 = this.replace(v4, '%1', String(Math.floor(v13 / this.__conversion))); v4 = this.replace(v4, '%2', String(Math.floor(v13 / this.__conversion))); v4 = this.replace(v4, '%3', String(100)); v4 = this.replace(v4, '%%', '%'); } else { v4 = this.replace(v4, '%1', String(Math.floor(v12 / this.__conversion))); v4 = this.replace(v4, '%2', '??'); v4 = this.replace(v4, '%3', ''); v4 = this.replace(v4, '%%', ''); } this.labelPath.text = v4; v7 = v14 - (this.labelPath.textWidth + v18 + v11); if (v7 < v5 + v15) { v7 = 0; } if (this.__labelPlacement == 'left') { v9 = v14 - v7; } } var v3 = this.__label; if (!this.__indeterminate) { v3 = this.replace(v3, '%1', String(Math.floor(v12 / this.__conversion))); v3 = this.replace(v3, '%2', String(Math.floor(v13 / this.__conversion))); v3 = this.replace(v3, '%3', String(Math.floor(this.__get__percentComplete()))); v3 = this.replace(v3, '%%', '%'); } else { v3 = this.replace(v3, '%1', String(Math.floor(v12 / this.__conversion))); v3 = this.replace(v3, '%2', '??'); v3 = this.replace(v3, '%3', ''); v3 = this.replace(v3, '%%', ''); } this.labelPath.text = v3; var v10 = 0; if (this.__labelPlacement == 'left' || this.__labelPlacement == 'right') { v10 = v14 - v7 - v11; } else { v10 = v14 - v11; } if (v10 < this.labelPath.textWidth + v18) { this.labelPath._width = v10; } else { this.labelPath._width = this.labelPath.textWidth + v18; } if (this.__labelPlacement == 'left' || this.__labelPlacement == 'right' || this.__labelPlacement == 'center') { v10 = v22; } else { v10 = v22 - v20 - v6; } if (v10 < this.labelPath.textHeight + v26) { this.labelPath._height = v10; } else { this.labelPath._height = this.labelPath.textHeight + v26; } if (this.__labelPlacement == 'left') { this.labelPath._x = v11; } else { if (this.__labelPlacement == 'right') { this.labelPath._x = v7 + v11; } else { this.labelPath._x = v11; } } if (this.__labelPlacement == 'center' || this.__labelPlacement == 'left' || this.__labelPlacement == 'right') { this.labelPath._y = v6 / 2 - this.labelPath.height / 2; } else { if (this.__labelPlacement == 'top') { this.labelPath._y = v8 - v20 - this.labelPath.height; } else { this.labelPath._y = v6 + v20; } } this.labelPath._visible = true; } else { this.labelPath.text = ''; this.labelPath._visible = false; } if (v7 >= v5 + v15) { var v2 = this.progTrackLeft_mc.getBounds(this.progTrackLeft_mc); var v42 = -v2.xMin; var v41 = -v2.yMin; this.progTrackLeft_mc.move(v9 + v5 - this.progTrackLeft_mc._width + v42, v8 + (v6 - this.progTrackLeft_mc._height) / 2 + v41); v2 = this.progTrackMiddle_mc.getBounds(this.progTrackMiddle_mc); var v38 = -v2.xMin; var v35 = -v2.yMin; this.progTrackMiddle_mc.setSize(v7 - v5 - v15, this.progTrackMiddle_mc._height); this.progTrackMiddle_mc.move(v9 + v5 + v38, v8 + (v6 - this.progTrackLeft_mc._height) / 2 + v35); v2 = this.progTrackRight_mc.getBounds(this.progTrackRight_mc); var v31 = -v2.xMin; var v32 = -v2.yMin; this.progTrackRight_mc.move(v9 + v5 + this.progTrackMiddle_mc._width + v31, v8 + (v6 - this.progTrackRight_mc._height) / 2 + v32); var v21 = v7 - v5 - v15; var v16 = v21 * this.__get__percentComplete() / 100; var v17 = 0; if (this.__indeterminate == true) { v16 = v21; this.mask_mc._width = v16; this.mask_mc._height = this.progIndBar_mc._height; this.mask_mc._x = v9 + v5; this.mask_mc._y = v8 + (v6 - this.progIndBar_mc._height) / 2; this.progIndBar_mc._width = v7 * 200 / 150; var v28 = this.progIndBar_mc._x; v2 = this.progIndBar_mc.getBounds(this.progIndBar_mc); var v30 = -v2.xMin; var v29 = -v2.yMin; var v19 = v9 + v5 + v30; var v23 = this.progIndBar_mc._width * 50 / 200; var v25 = this.progIndBar_mc._width * 20 / 200; var v24 = 3; var v27 = v23; if (this.__direction == 'left') { v23 = this.progIndBar_mc._width * 30 / 200; v25 = 0; v24 = -3; v27 = v25; } if (v28 <= v19 - v23 || v28 >= v19 - v25) { this.progIndBar_mc._x = v19 - v27 + v24; } else { this.progIndBar_mc._x += v24; } this.progIndBar_mc._y = v8 + (v6 - this.progIndBar_mc._height) / 2 + v29; this.progIndBar_mc._visible = true; this.invalidate(); } else { this.progIndBar_mc._visible = false; if (this.__direction == 'left') { v17 = v21 - v16; } } v2 = this.progBarMiddle_mc.getBounds(this.progBarMiddle_mc); var v40 = -v2.xMin; var v39 = -v2.yMin; this.progBarMiddle_mc.setSize(v16, this.progBarMiddle_mc._height); this.progBarMiddle_mc.move(v17 + v9 + v5 + v40, v8 + (v6 - this.progBarLeft_mc._height) / 2 + v39); v2 = this.progBarLeft_mc.getBounds(this.progBarLeft_mc); var v36 = -v2.xMin; var v33 = -v2.yMin; this.progBarLeft_mc.move(v17 + v9 + v5 - this.progBarLeft_mc._width + v36, v8 + (v6 - this.progBarLeft_mc._height) / 2 + v33); v2 = this.progBarRight_mc.getBounds(this.progBarRight_mc); var v34 = -v2.xMin; var v37 = -v2.yMin; this.progBarRight_mc.move(v17 + v9 + v5 + this.progBarMiddle_mc._width + v34, v8 + (v6 - this.progBarRight_mc._height) / 2 + v37); this.progTrackLeft_mc._visible = true; this.progTrackMiddle_mc._visible = true; this.progTrackRight_mc._visible = true; this.progBarLeft_mc._visible = true; this.progBarMiddle_mc._visible = true; this.progBarRight_mc._visible = true; } else { this.progTrackLeft_mc._visible = false; this.progTrackMiddle_mc._visible = false; this.progTrackRight_mc._visible = false; this.progBarLeft_mc._visible = false; this.progBarMiddle_mc._visible = false; this.progBarRight_mc._visible = false; } }; v1.replace = function (str, from, to) { var v1 = str.split(from); var v2 = v1.join(to); return v2; }; v1.getMode = function (Void) { return this.__mode; }; v1.setMode = function (val) { if (val == 'polled' || val == 'manual') { this.__mode = val; } else { delete this.__mode; } this.invalidate(); }; v1.getDirection = function (Void) { return this.__direction; }; v1.setDirection = function (val) { if (val == 'left') { this.__direction = val; } else { delete this.__direction; } this.invalidate(); }; v1.getLabelPlacement = function (Void) { return this.__labelPlacement; }; v1.setLabelPlacement = function (val) { if (val == 'top' || val == 'center' || val == 'left' || val == 'right') { this.__labelPlacement = val; } else { delete this.__labelPlacement; } this.invalidate(); }; v1.getIndeterminate = function (Void) { return this.__indeterminate; }; v1.setIndeterminate = function (val) { if (val == true) { this.__indeterminate = true; } else { delete this.__indeterminate; } this.invalidate(); }; v1.getLabel = function (Void) { return this.__label; }; v1.setLabel = function (val) { this.__label = val; this.invalidate(); }; v1.getConversion = function (Void) { return this.__conversion; }; v1.setConversion = function (val) { if (!_global.isNaN(val) && Number(val) > 0) { this.__conversion = Number(val); this.invalidate(); } }; v1.getSource = function (Void) { return this.__source; }; v1.setSource = function (val) { if (typeof val == 'string') { this.__stringSource = val; val = eval(val); } if (val != null && val != undefined && val != '') { this.__source = val; if (this.__mode == 'event') { if (this.__source.addEventListener) { this.__source.addEventListener('progress', this); this.__source.addEventListener('complete', this); } else { this.__source = undefined; } } if (this.__mode == 'polled') { this.si = setInterval(this, 'update', this.__interval); } } else { if (this.__source != null) { delete this.__source; clearInterval(this.si); delete this.si; } } }; v1.update = function (Void) { var v2 = this.__source; var v3 = v2.getBytesLoaded(); var v4 = v2.getBytesTotal(); this._setProgress(v3, v4); if (this.__get__percentComplete() >= 100 && this.__value > 0) { clearInterval(this.si); } }; v1.progress = function (pEvent) { var v2 = pEvent.target; var v3 = v2.bytesLoaded; var v4 = v2.bytesTotal; this._setProgress(v3, v4); }; v1.complete = function (pEvent) {}; v1._setProgress = function (completed, total) { if (!_global.isNaN(completed) && !_global.isNaN(total)) { this.__value = Number(completed); this.__maximum = Number(total); if (this.__mode != 'event') { this.dispatchEvent({'type': 'progress', 'current': completed, 'total': total}); if (this.__value == this.__maximum && this.__value > 0) { this.dispatchEvent({'type': 'complete', 'current': completed, 'total': total}); } } this.invalidate(); } }; v1.setProgress = function (completed, total) { if (this.__mode == 'manual') { this._setProgress(completed, total); } }; v1.getPercentComplete = function (Void) { if (this.__value < this.__minimum || this.__maximum < this.__minimum) { return 0; } var v3 = 100 * (this.__value - this.__minimum) / (this.__maximum - this.__minimum); if (_global.isNaN(v3) || v3 < 0) { return 0; } else { if (v3 > 100) { return 100; } else { return v3; } } }; v1.getMaximum = function (Void) { return this.__maximum; }; v1.setMaximum = function (val) { if (!_global.isNaN(val) && this.__mode == 'manual') { this.__maximum = Number(val); this.invalidate(); } }; v1.getMinimum = function (Void) { return this.__minimum; }; v1.setMinimum = function (val) { if (!_global.isNaN(val) && this.__mode == 'manual') { this.__minimum = Number(val); this.invalidate(); } }; v1.getVal = function (Void) { return this.__value; }; v1.__get__mode = function () { return this.getMode(); }; v1.__set__mode = function (x) { this.setMode(x); return this.__get__mode(); }; v1.__get__source = function () { return this.getSource(); }; v1.__set__source = function (x) { this.setSource(x); return this.__get__source(); }; v1.__get__direction = function () { return this.getDirection(); }; v1.__set__direction = function (x) { this.setDirection(x); return this.__get__direction(); }; v1.__get__label = function () { return this.getLabel(); }; v1.__set__label = function (x) { this.setLabel(x); return this.__get__label(); }; v1.__get__labelPlacement = function () { return this.getLabelPlacement(); }; v1.__set__labelPlacement = function (x) { this.setLabelPlacement(x); return this.__get__labelPlacement(); }; v1.__get__indeterminate = function () { return this.getIndeterminate(); }; v1.__set__indeterminate = function (x) { this.setIndeterminate(x); return this.__get__indeterminate(); }; v1.__get__conversion = function () { return this.getConversion(); }; v1.__set__conversion = function (x) { this.setConversion(x); return this.__get__conversion(); }; v1.__get__percentComplete = function () { return this.getPercentComplete(); }; v1.__get__maximum = function () { return this.getMaximum(); }; v1.__set__maximum = function (x) { this.setMaximum(x); return this.__get__maximum(); }; v1.__get__minimum = function () { return this.getMinimum(); }; v1.__set__minimum = function (x) { this.setMinimum(x); return this.__get__minimum(); }; v1.__get__value = function () { return this.getVal(); }; mx.controls.ProgressBar.symbolName = 'ProgressBar'; mx.controls.ProgressBar.symbolOwner = Object(mx.controls.ProgressBar); v1.className = 'ProgressBar'; mx.controls.ProgressBar.version = '2.0.0.377'; v1.__mode = 'event'; v1.__direction = 'right'; v1.__labelPlacement = 'bottom'; v1.__label = 'LOADING %3%% '; v1.__conversion = 1; v1.__maximum = 0; v1.__minimum = 0; v1.__value = 0; v1.__indeterminate = false; v1.progTrackLeftName = 'ProgTrackLeft'; v1.progTrackMiddleName = 'ProgTrackMiddle'; v1.progTrackRightName = 'ProgTrackRight'; v1.progBarLeftName = 'ProgBarLeft'; v1.progBarMiddleName = 'ProgBarMiddle'; v1.progBarRightName = 'ProgBarRight'; v1.progIndBarName = 'ProgIndBar'; v1.idNames = new Array('progTrackLeft_mc', 'progTrackMiddle_mc', 'progTrackRight_mc', 'progBarLeft_mc', 'progBarMiddle_mc', 'progBarRight_mc', 'progIndBar_mc'); v1.skinIDProgTrackLeft = 0; v1.skinIDProgTrackMiddle = 1; v1.skinIDProgTrackRight = 2; v1.skinIDProgBarLeft = 3; v1.skinIDProgBarMiddle = 4; v1.skinIDProgBarRight = 5; v1.skinIDProgIndBar = 6; v1.skinIDMask = 100; v1.skinIDLabel = 200; v1.__interval = 30; v1.__leave = 2; v1.clipParameters = {'mode': 1, 'source': 1, 'direction': 1, 'label': 1, 'labelPlacement': 1, 'conversion': 1}; mx.controls.ProgressBar.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.ProgressBar.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); v1.addProperty('conversion', v1.__get__conversion, v1.__set__conversion); v1.addProperty('direction', v1.__get__direction, v1.__set__direction); v1.addProperty('indeterminate', v1.__get__indeterminate, v1.__set__indeterminate); v1.addProperty('label', v1.__get__label, v1.__set__label); v1.addProperty('labelPlacement', v1.__get__labelPlacement, v1.__set__labelPlacement); v1.addProperty('maximum', v1.__get__maximum, v1.__set__maximum); v1.addProperty('minimum', v1.__get__minimum, v1.__set__minimum); v1.addProperty('mode', v1.__get__mode, v1.__set__mode); v1.addProperty('percentComplete', v1.__get__percentComplete, function () {}); v1.addProperty('source', v1.__get__source, v1.__set__source); v1.addProperty('value', v1.__get__value, function () {}); ASSetPropFlags(mx.controls.ProgressBar.prototype, null, 1); } #endinitclip } movieClip 42 __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) { mx.skins.SkinElement = function () { super(); }; var v1 = new MovieClip(); mx.skins.SkinElement.prototype = v1; mx.skins.SkinElement.registerElement = function (name, className) { Object.registerClass(name, (className == undefined) ? mx.skins.SkinElement : className); _global.skinRegistry[name] = true; }; v1.__set__visible = function (visible) { this._visible = visible; }; v1.move = function (x, y) { this._x = x; this._y = y; }; v1.setSize = function (w, h) { this._width = w; this._height = h; }; ASSetPropFlags(mx.skins.SkinElement.prototype, null, 1); } #endinitclip } movieClip 43 __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) { mx.styles.CSSTextStyles = function () {}; var v1 = mx.styles.CSSTextStyles.prototype; mx.styles.CSSTextStyles.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 44 __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) { mx.styles.StyleManager = function () {}; var v1 = mx.styles.StyleManager.prototype; mx.styles.StyleManager.registerInheritingStyle = function (styleName) { mx.styles.StyleManager.inheritingStyles[styleName] = true; }; mx.styles.StyleManager.isInheritingStyle = function (styleName) { return mx.styles.StyleManager.inheritingStyles[styleName] == true; }; mx.styles.StyleManager.registerColorStyle = function (styleName) { mx.styles.StyleManager.colorStyles[styleName] = true; }; mx.styles.StyleManager.isColorStyle = function (styleName) { return mx.styles.StyleManager.colorStyles[styleName] == true; }; mx.styles.StyleManager.registerColorName = function (colorName, colorValue) { mx.styles.StyleManager.colorNames[colorName] = colorValue; }; mx.styles.StyleManager.isColorName = function (colorName) { return mx.styles.StyleManager.colorNames[colorName] != undefined; }; mx.styles.StyleManager.getColorName = function (colorName) { return mx.styles.StyleManager.colorNames[colorName]; }; mx.styles.StyleManager.inheritingStyles = {'color': true, 'direction': true, 'fontFamily': true, 'fontSize': true, 'fontStyle': true, 'fontWeight': true, 'textAlign': true, 'textIndent': true}; mx.styles.StyleManager.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}; mx.styles.StyleManager.colorNames = {'black': 0, 'white': 16777215, 'red': 16711680, 'green': 65280, 'blue': 255, 'magenta': 16711935, 'yellow': 16776960, 'cyan': 65535, 'haloGreen': 8453965, 'haloBlue': 2881013, 'haloOrange': 16761344}; mx.styles.StyleManager.TextFormatStyleProps = {'font': true, 'size': true, 'color': true, 'leftMargin': false, 'rightMargin': false, 'italic': true, 'bold': true, 'align': true, 'indent': true, 'underline': false, 'embedFonts': false}; mx.styles.StyleManager.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 45 __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) { mx.styles.CSSStyleDeclaration = function () {}; var v1 = mx.styles.CSSStyleDeclaration.prototype; v1.__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; }; v1.getStyle = function (styleProp) { var v2 = this[styleProp]; var v3 = mx.styles.StyleManager.getColorName(v2); return (v3 == undefined) ? v2 : v3; }; mx.styles.CSSStyleDeclaration.classConstruct = function () { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return true; }; mx.styles.CSSStyleDeclaration.classConstructed = mx.styles.CSSStyleDeclaration.classConstruct(); mx.styles.CSSStyleDeclaration.CSSTextStylesDependency = mx.styles.CSSTextStyles; ASSetPropFlags(mx.styles.CSSStyleDeclaration.prototype, null, 1); } #endinitclip } movieClip 46 __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) { mx.core.UIComponent = function () { super(); }; var v1 = new mx.core.UIObject(); mx.core.UIComponent.prototype = v1; v1.__get__width = function () { return this.__width; }; v1.__get__height = function () { return this.__height; }; v1.setVisible = function (x, noEvent) { super.setVisible(x, noEvent); }; v1.enabledChanged = function (id, oldValue, newValue) { this.setEnabled(newValue); this.invalidate(); delete this.stylecache.tf; return newValue; }; v1.setEnabled = function (enabled) { this.invalidate(); }; v1.getFocus = function () { var selFocus = Selection.getFocus(); return (selFocus === null) ? null : eval(selFocus); }; v1.setFocus = function () { Selection.setFocus(this); }; v1.getFocusManager = function () { var v2 = this; while (v2 != undefined) { if (v2.focusManager != undefined) { return v2.focusManager; } v2 = v2._parent; } return undefined; }; v1.onKillFocus = function (newFocus) { this.removeEventListener('keyDown', this); this.removeEventListener('keyUp', this); this.dispatchEvent({'type': 'focusOut'}); this.drawFocus(false); }; v1.onSetFocus = function (oldFocus) { this.addEventListener('keyDown', this); this.addEventListener('keyUp', this); this.dispatchEvent({'type': 'focusIn'}); if ((this.getFocusManager()).bDrawFocus != false) { this.drawFocus(true); } }; v1.findFocusInChildren = function (o) { if (o.focusTextField != undefined) { return o.focusTextField; } if (o.tabEnabled == true) { return o; } return undefined; }; v1.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; }; v1.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); } } }; v1.releaseFocus = function () { var v2 = this.findFocusFromObject(this); if (v2 != this.getFocus()) { v2.setFocus(); } }; v1.isParent = function (o) { while (o != undefined) { if (o == this) { return true; } o = o._parent; } return false; }; v1.size = function () {}; v1.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); } }; v1.dispatchValueChangedEvent = function (value) { this.dispatchEvent({'type': 'valueChanged', 'value': value}); }; mx.core.UIComponent.symbolName = 'UIComponent'; mx.core.UIComponent.symbolOwner = mx.core.UIComponent; mx.core.UIComponent.symbolOwner.version = '2.0.0.377'; mx.core.UIComponent.symbolOwner.kStretch = 5000; v1.focusEnabled = true; v1.tabEnabled = true; v1.origBorderStyles = {'themeColor': 16711680}; v1.clipParameters = {}; mx.core.UIComponent.symbolOwner.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); v1.addProperty('height', v1.__get__height, function () {}); v1.addProperty('width', v1.__get__width, function () {}); ASSetPropFlags(mx.core.UIComponent.prototype, null, 1); } #endinitclip } movieClip 47 __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) { mx.events.EventDispatcher = function () {}; var v1 = mx.events.EventDispatcher.prototype; mx.events.EventDispatcher._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; } } }; mx.events.EventDispatcher.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; }; v1.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[eventObj.type](eventObj); } else { v1.handleEvent(eventObj); } } else { v1.apply(queueObj, [eventObj]); } } } }; v1.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + 'Handler'](eventObj); this.dispatchQueue(this, eventObj); }; v1.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); }; v1.removeEventListener = function (event, handler) { var v2 = '__q_' + event; mx.events.EventDispatcher._removeEventListener(this[v2], event, handler); }; mx.events.EventDispatcher._fEventDispatcher = undefined; ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1); } #endinitclip } movieClip 48 __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) { mx.events.UIEventDispatcher = function () { super(); }; var v1 = new mx.events.EventDispatcher(); mx.events.UIEventDispatcher.prototype = v1; mx.events.UIEventDispatcher.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); }; mx.events.UIEventDispatcher.removeKeyEvents = function (obj) { Key.removeListener(obj.keyHandler); }; mx.events.UIEventDispatcher.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'); } } }; mx.events.UIEventDispatcher.removeLoadEvents = function (obj) { delete obj.onLoad; delete obj.onUnload; }; mx.events.UIEventDispatcher.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; }; v1.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); }; v1.onKeyDown = function (Void) { this.owner.dispatchEvent({'type': 'keyDown', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)}); }; v1.onKeyUp = function (Void) { this.owner.dispatchEvent({'type': 'keyUp', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)}); }; v1.onLoad = function (Void) { if (this.__sentLoadEvent != true) { this.dispatchEvent({'type': 'load'}); } this.__sentLoadEvent = true; }; v1.onUnload = function (Void) { this.dispatchEvent({'type': 'unload'}); }; v1.__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); } } }; v1.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); } } } }; mx.events.UIEventDispatcher.keyEvents = {'keyDown': 1, 'keyUp': 1}; mx.events.UIEventDispatcher.loadEvents = {'load': 1, 'unload': 1}; mx.events.UIEventDispatcher.lowLevelEvents = {'keyEvents': ['addKeyEvents', 'removeKeyEvents'], 'loadEvents': ['addLoadEvents', 'removeLoadEvents']}; mx.events.UIEventDispatcher._fEventDispatcher = undefined; ASSetPropFlags(mx.events.UIEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 49 __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) { mx.skins.ColoredSkinElement = function () {}; var v1 = mx.skins.ColoredSkinElement.prototype; v1.setColor = function (c) { if (c != undefined) { var v2 = new Color(this); v2.setRGB(c); } }; v1.draw = function (Void) { this.setColor(this.getStyle(this._color)); this.onEnterFrame = undefined; }; v1.invalidateStyle = function (Void) { this.onEnterFrame = this.draw; }; mx.skins.ColoredSkinElement.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)); }; mx.skins.ColoredSkinElement.mixins = new mx.skins.ColoredSkinElement(); ASSetPropFlags(mx.skins.ColoredSkinElement.prototype, null, 1); } #endinitclip } movieClip 50 __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) { mx.core.ext.UIObjectExtensions = function () {}; var v1 = mx.core.ext.UIObjectExtensions.prototype; mx.core.ext.UIObjectExtensions.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); }; mx.core.ext.UIObjectExtensions.Extensions = function () { if (mx.core.ext.UIObjectExtensions.bExtended == true) { return true; } mx.core.ext.UIObjectExtensions.bExtended = true; var v4 = mx.core.UIObject.prototype; var v8 = mx.skins.SkinElement.prototype; mx.core.ext.UIObjectExtensions.addGeometry(v8, v4); mx.events.UIEventDispatcher.initialize(v4); var v12 = mx.skins.ColoredSkinElement; mx.styles.CSSTextStyles.addTextStyles(v4); var v5 = MovieClip.prototype; v5.getTopLevel = v4.getTopLevel; v5.createLabel = v4.createLabel; v5.createObject = v4.createObject; v5.createClassObject = v4.createClassObject; v5.createEmptyObject = v4.createEmptyObject; v5.destroyObject = v4.destroyObject; v5.__getTextFormat = v4.__getTextFormat; v5._getTextFormat = v4._getTextFormat; v5.getStyleName = v4.getStyleName; v5.getStyle = v4.getStyle; var v6 = TextField.prototype; mx.core.ext.UIObjectExtensions.addGeometry(v6, v4); v6.addProperty('enabled', function () { return this.__enabled; }, function (x) { this.__enabled = x; this.invalidateStyle(); }); v6.move = v8.move; v6.setSize = v8.setSize; v6.invalidateStyle = function () { this.invalidateFlag = true; }; v6.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; } }; v6.setColor = function (color) { this.textColor = color; }; v6.getStyle = v5.getStyle; v6.__getTextFormat = v4.__getTextFormat; v6.setValue = function (v) { this.text = v; }; v6.getValue = function () { return this.text; }; v6.addProperty('value', function () { return this.getValue(); }, function (v) { this.setValue(v); }); v6._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; }; v6.getPreferredWidth = function () { this.draw(); return this.textWidth + 4; }; v6.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(); _global.origWidth = Stage.width; _global.origHeight = Stage.height; } _root.addProperty('width', function () { return Stage.width; }, null); _root.addProperty('height', function () { return Stage.height; }, null); return true; }; mx.core.ext.UIObjectExtensions.bExtended = false; mx.core.ext.UIObjectExtensions.UIObjectExtended = mx.core.ext.UIObjectExtensions.Extensions(); mx.core.ext.UIObjectExtensions.UIObjectDependency = mx.core.UIObject; mx.core.ext.UIObjectExtensions.SkinElementDependency = mx.skins.SkinElement; mx.core.ext.UIObjectExtensions.CSSTextStylesDependency = mx.styles.CSSTextStyles; mx.core.ext.UIObjectExtensions.UIEventDispatcherDependency = mx.events.UIEventDispatcher; ASSetPropFlags(mx.core.ext.UIObjectExtensions.prototype, null, 1); } #endinitclip } movieClip 51 __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) { mx.skins.halo.Defaults = function () {}; var v1 = mx.skins.halo.Defaults.prototype; mx.skins.halo.Defaults.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'; }; v1.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(); } }; mx.skins.halo.Defaults.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; }; mx.skins.halo.Defaults.classConstructed = mx.skins.halo.Defaults.classConstruct(); mx.skins.halo.Defaults.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; mx.skins.halo.Defaults.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; mx.skins.halo.Defaults.UIObjectDependency = mx.core.UIObject; ASSetPropFlags(mx.skins.halo.Defaults.prototype, null, 1); } #endinitclip } movieClip 52 __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) { mx.managers.DepthManager = 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; }; var v1 = mx.managers.DepthManager.prototype; mx.managers.DepthManager.sortFunction = function (a, b) { if (a.getDepth() > b.getDepth()) { return 1; } return -1; }; mx.managers.DepthManager.test = function (depth) { if (depth == mx.managers.DepthManager.reservedDepth) { return false; } else { return true; } }; mx.managers.DepthManager.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; }; mx.managers.DepthManager.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; }; v1.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; }; v1.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; }; v1.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; } }; v1.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); } } }; v1.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); } } }; v1.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; }; v1.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; } } } } }; v1.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; }; v1.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; }; mx.managers.DepthManager.reservedDepth = 1048575; mx.managers.DepthManager.highestDepth = 1048574; mx.managers.DepthManager.lowestDepth = -16383; mx.managers.DepthManager.numberOfAuthortimeLayers = 383; mx.managers.DepthManager.kCursor = 101; mx.managers.DepthManager.kTooltip = 102; mx.managers.DepthManager.kTop = 201; mx.managers.DepthManager.kBottom = 202; mx.managers.DepthManager.kTopmost = 203; mx.managers.DepthManager.kNotopmost = 204; mx.managers.DepthManager.holder = _root.createEmptyMovieClip('reserved', mx.managers.DepthManager.reservedDepth); mx.managers.DepthManager.__depthManager = new mx.managers.DepthManager(); ASSetPropFlags(mx.managers.DepthManager.prototype, null, 1); } #endinitclip } movieClip 53 __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) { mx.controls.SimpleButton = function () { super(); }; var v1 = new mx.core.UIComponent(); mx.controls.SimpleButton.prototype = v1; v1.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; }; v1.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; } } } }; v1.setIcon = function (tag, linkageName) { return this.setSkin(tag + 8, linkageName); }; v1.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()); }; v1.changeSkin = function (tag, linkageName) { var v2 = this.stateNames[tag] + 'Skin'; this[v2] = linkageName; this[this.idNames[tag]] = v2; this.setStateVar(this.getState()); }; v1.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; }; v1.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(); }; v1.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; }; v1.calcSize = function (Void) { this.__width = this._width; this.__height = this._height; }; v1.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; }; v1.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; } }; v1.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; }; v1.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; }; v1.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; }; v1.setState = function (state) { if (state != this.__state) { this.setStateVar(state); this.invalidate(); } }; v1.size = function (Void) { this.refresh(); }; v1.draw = function (Void) { if (this.initializing) { this.initializing = false; this.skinName.visible = true; this.iconName.visible = true; } this.size(); }; v1.getState = function (Void) { return this.__state; }; v1.setToggle = function (val) { this.__toggle = val; if (this.__toggle == false) { this.setState(false); } }; v1.getToggle = function (Void) { return this.__toggle; }; v1.__set__toggle = function (val) { this.setToggle(val); return this.__get__toggle(); }; v1.__get__toggle = function () { return this.getToggle(); }; v1.__set__value = function (val) { this.setSelected(val); return this.__get__value(); }; v1.__get__value = function () { return this.getSelected(); }; v1.__set__selected = function (val) { this.setSelected(val); return this.__get__selected(); }; v1.__get__selected = function () { return this.getSelected(); }; v1.setSelected = function (val) { if (this.__toggle) { this.setState(val); } else { this.setState(this.__state); } }; v1.getSelected = function () { return this.__state; }; v1.setEnabled = function (val) { if (this.enabled != val) { super.setEnabled(val); this.invalidate(); } }; v1.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')); } }; v1.onPressDelay = function (Void) { this.dispatchEvent({'type': 'buttonDown'}); if (this.autoRepeat) { clearInterval(this.interval); this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval')); } }; v1.onPressRepeat = function (Void) { this.dispatchEvent({'type': 'buttonDown'}); updateAfterEvent(); }; v1.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'}); }; v1.onDragOut = function (Void) { this.phase = 'up'; this.refresh(); this.dispatchEvent({'type': 'buttonDragOut'}); }; v1.onDragOver = function (Void) { if (this.phase != 'up') { this.onPress(); return undefined; } else { this.phase = 'down'; this.refresh(); } }; v1.onReleaseOutside = function (Void) { this.releaseFocus(); this.phase = 'up'; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } }; v1.onRollOver = function (Void) { this.phase = 'rollover'; this.refresh(); }; v1.onRollOut = function (Void) { this.phase = 'up'; this.refresh(); }; v1.getLabel = function (Void) { return this.fui.text; }; v1.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); }; v1.__get__emphasized = function () { return this.__emphasized; }; v1.__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(); }; v1.keyDown = function (e) { if (e.code == 32) { this.onPress(); } }; v1.keyUp = function (e) { if (e.code == 32) { this.onRelease(); } }; v1.onKillFocus = function (newFocus) { super.onKillFocus(); if (this.phase != 'up') { this.phase = 'up'; this.refresh(); } }; mx.controls.SimpleButton.symbolName = 'SimpleButton'; mx.controls.SimpleButton.symbolOwner = mx.controls.SimpleButton; mx.controls.SimpleButton.symbolOwner.version = '2.0.0.377'; v1.className = 'SimpleButton'; v1.style3dInset = 4; v1.btnOffset = 1; v1.__toggle = false; v1.__state = false; v1.__emphasized = false; v1.__emphatic = false; mx.controls.SimpleButton.symbolOwner.falseUp = 0; mx.controls.SimpleButton.symbolOwner.falseDown = 1; mx.controls.SimpleButton.symbolOwner.falseOver = 2; mx.controls.SimpleButton.symbolOwner.falseDisabled = 3; mx.controls.SimpleButton.symbolOwner.trueUp = 4; mx.controls.SimpleButton.symbolOwner.trueDown = 5; mx.controls.SimpleButton.symbolOwner.trueOver = 6; mx.controls.SimpleButton.symbolOwner.trueDisabled = 7; v1.falseUpSkin = 'SimpleButtonUp'; v1.falseDownSkin = 'SimpleButtonIn'; v1.falseOverSkin = ''; v1.falseDisabledSkin = 'SimpleButtonUp'; v1.trueUpSkin = 'SimpleButtonIn'; v1.trueDownSkin = ''; v1.trueOverSkin = ''; v1.trueDisabledSkin = 'SimpleButtonIn'; v1.falseUpIcon = ''; v1.falseDownIcon = ''; v1.falseOverIcon = ''; v1.falseDisabledIcon = ''; v1.trueUpIcon = ''; v1.trueDownIcon = ''; v1.trueOverIcon = ''; v1.trueDisabledIcon = ''; v1.phase = 'up'; v1.fui = 'falseUpIcon'; v1.fus = 'falseUpSkin'; v1.fdi = 'falseDownIcon'; v1.fds = 'falseDownSkin'; v1.frs = 'falseOverSkin'; v1.fri = 'falseOverIcon'; v1.dfi = 'falseDisabledIcon'; v1.dfs = 'falseDisabledSkin'; v1.tui = 'trueUpIcon'; v1.tus = 'trueUpSkin'; v1.tdi = 'trueDownIcon'; v1.tds = 'trueDownSkin'; v1.trs = 'trueOverSkin'; v1.tri = 'trueOverIcon'; v1.dts = 'trueDisabledSkin'; v1.dti = 'trueDisabledIcon'; v1.rolloverSkin = mx.controls.SimpleButton.prototype.frs; v1.rolloverIcon = mx.controls.SimpleButton.prototype.fri; v1.upSkin = mx.controls.SimpleButton.prototype.fus; v1.downSkin = mx.controls.SimpleButton.prototype.fds; v1.disabledSkin = mx.controls.SimpleButton.prototype.dfs; v1.upIcon = mx.controls.SimpleButton.prototype.fui; v1.downIcon = mx.controls.SimpleButton.prototype.fdi; v1.disabledIcon = mx.controls.SimpleButton.prototype.dfi; v1.initializing = true; v1.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti']; v1.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled']; v1.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin']; v1.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}; v1.addProperty('emphasized', v1.__get__emphasized, v1.__set__emphasized); v1.addProperty('selected', v1.__get__selected, v1.__set__selected); v1.addProperty('toggle', v1.__get__toggle, v1.__set__toggle); v1.addProperty('value', v1.__get__value, v1.__set__value); ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1); } #endinitclip } movieClip 54 __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) { mx.managers.SystemManager = function () {}; var v1 = mx.managers.SystemManager.prototype; mx.managers.SystemManager.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; } }; mx.managers.SystemManager.addFocusManager = function (f) { mx.managers.SystemManager.form = f; f.focusManager.activate(); }; mx.managers.SystemManager.removeFocusManager = function (f) {}; mx.managers.SystemManager.onMouseDown = function (Void) { var v1 = mx.managers.SystemManager.form; v1.focusManager._onMouseDown(); }; mx.managers.SystemManager.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'}); }; mx.managers.SystemManager.__get__screen = function () { mx.managers.SystemManager.init(); if (mx.managers.SystemManager.__screen == undefined) { mx.managers.SystemManager.onResize(); } return mx.managers.SystemManager.__screen; }; mx.managers.SystemManager._initialized = false; mx.managers.SystemManager.idleFrames = 0; mx.managers.SystemManager.isMouseDown = false; mx.managers.SystemManager.forms = new Array(); mx.managers.SystemManager.addProperty('screen', mx.managers.SystemManager.__get__screen, function () {}); ASSetPropFlags(mx.managers.SystemManager.prototype, null, 1); } #endinitclip } movieClip 55 __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) { mx.managers.FocusManager = function () { super(); }; var v1 = new mx.core.UIComponent(); mx.managers.FocusManager.prototype = v1; v1.__get__defaultPushButton = function () { return this.__defaultPushButton; }; v1.__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(); }; v1.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; }; v1.getNextTabIndex = function (Void) { return this.getMaxTabIndex(this.form) + 1; }; v1.__get__nextTabIndex = function () { return this.getNextTabIndex(); }; v1.relocate = function (Void) { var v2 = mx.managers.SystemManager.__get__screen(); this.move(v2.x - 1, v2.y - 1); }; v1.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); }; v1.enabledChanged = function (id, oldValue, newValue) { this._visible = newValue; return newValue; }; v1.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'); } } }; v1.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(); }; v1.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; }; v1.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; } } }; v1.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; } }; v1.onUnload = function (Void) { mx.managers.SystemManager.removeFocusManager(this.form); }; v1.setFocus = function (o) { if (o == null) { Selection.setFocus(null); } else { if (o.setFocus == undefined) { Selection.setFocus(o); } else { o.setFocus(); } } }; v1.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; }; v1.getSelectionFocus = function () { var m = Selection.getFocus(); var o = eval(m); return o; }; v1.getFocus = function (Void) { var v2 = this.getSelectionFocus(); return this.getActualFocus(v2); }; v1.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); } } } }; v1.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); }; v1.getTabCandidateFromChildren = function (o, index, groupName, dir, firstChild) { this.walkTree(o, index, groupName, dir, false, firstChild); }; v1.getFocusManagerFromObject = function (o) { while (o != undefined) { if (o.focusManager != undefined) { return o.focusManager; } o = o._parent; } return undefined; }; v1.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); } } }; v1.onKeyDown = function (Void) { mx.managers.SystemManager.idleFrames = 0; if (this.defaultPushButtonEnabled) { if (Key.getCode() == 13) { if (this.__get__defaultPushButton() != undefined) { this.doLater(this, 'sendDefaultPushButtonEvent'); } } } }; v1.sendDefaultPushButtonEvent = function (Void) { this.defPushButton.dispatchEvent({'type': 'click'}); }; v1.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; }; v1.mouseActivate = function (Void) { if (!this.bNeedFocus) { return undefined; } this._searchKey = getTimer(); var v2 = this.getMousedComponentFromChildren(this.lastXMouse, this.lastYMouse, 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; } }; v1._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.lastXMouse = _root._xmouse; this.lastYMouse = _root._ymouse; }; v1.onMouseUp = function (Void) { if (this._visible) { this.doLater(this, 'mouseActivate'); } }; v1.handleEvent = function (e) { if (e.type == 'reveal') { mx.managers.SystemManager.activate(this.form); } else { mx.managers.SystemManager.deactivate(this.form); } }; mx.managers.FocusManager.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--); } } }; mx.managers.FocusManager.symbolName = 'FocusManager'; mx.managers.FocusManager.symbolOwner = mx.managers.FocusManager; mx.managers.FocusManager.symbolOwner.version = '2.0.0.377'; v1.className = 'FocusManager'; v1.bNeedFocus = false; v1.bDrawFocus = false; v1.defaultPushButtonEnabled = true; v1.activated = true; mx.managers.FocusManager.symbolOwner.initialized = false; mx.managers.FocusManager.symbolOwner.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; v1.addProperty('defaultPushButton', v1.__get__defaultPushButton, v1.__set__defaultPushButton); v1.addProperty('nextTabIndex', v1.__get__nextTabIndex, function () {}); ASSetPropFlags(mx.managers.FocusManager.prototype, null, 1); } #endinitclip } movieClip 56 __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) { mx.skins.halo.FocusRect = function () { super(); this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; var v1 = new mx.skins.SkinElement(); mx.skins.halo.FocusRect.prototype = v1; v1.draw = function (o) { o.adjustFocusRect(); }; v1.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(); } }; v1.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(); } } } }; mx.skins.halo.FocusRect.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; }; mx.skins.halo.FocusRect.classConstructed = mx.skins.halo.FocusRect.classConstruct(); mx.skins.halo.FocusRect.DefaultsDependency = mx.skins.halo.Defaults; mx.skins.halo.FocusRect.UIComponentDependency = mx.core.UIComponent; ASSetPropFlags(mx.skins.halo.FocusRect.prototype, null, 1); } #endinitclip } movieClip 57 __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) { mx.managers.OverlappedWindows = function () {}; var v1 = mx.managers.OverlappedWindows.prototype; mx.managers.OverlappedWindows.checkIdle = function (Void) { if (mx.managers.SystemManager.idleFrames > 10) { mx.managers.SystemManager.dispatchEvent({'type': 'idle'}); } else { ++mx.managers.SystemManager.idleFrames; } }; mx.managers.OverlappedWindows.__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); }; mx.managers.OverlappedWindows.__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); } }; mx.managers.OverlappedWindows.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(); }; mx.managers.OverlappedWindows.onMouseMove = function (Void) { mx.managers.SystemManager.idleFrames = 0; }; mx.managers.OverlappedWindows.onMouseUp = function (Void) { mx.managers.SystemManager.isMouseDown = false; mx.managers.SystemManager.idleFrames = 0; }; mx.managers.OverlappedWindows.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(); }; mx.managers.OverlappedWindows.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(); } } }; mx.managers.OverlappedWindows.addFocusManager = function (f) { mx.managers.SystemManager.forms.push(f); mx.managers.SystemManager.activate(f); }; mx.managers.OverlappedWindows.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; } }; mx.managers.OverlappedWindows.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; } }; mx.managers.OverlappedWindows.initialized = false; mx.managers.OverlappedWindows.SystemManagerDependency = mx.managers.SystemManager; ASSetPropFlags(mx.managers.OverlappedWindows.prototype, null, 1); } #endinitclip } movieClip 58 __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) { mx.styles.CSSSetStyle = function () {}; var v1 = mx.styles.CSSSetStyle.prototype; v1._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); } }; v1.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; } } } }; v1.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; } } } }; v1.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; } } } }; v1.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); } }; mx.styles.CSSSetStyle.enableRunTimeCSS = function () {}; mx.styles.CSSSetStyle.classConstruct = function () { var v2 = MovieClip.prototype; var v1 = mx.styles.CSSSetStyle.prototype; mx.styles.CSSStyleDeclaration.prototype.setStyle = v1._setStyle; v2.changeTextStyleInChildren = v1.changeTextStyleInChildren; v2.changeColorStyleInChildren = v1.changeColorStyleInChildren; v2.notifyStyleChangeInChildren = v1.notifyStyleChangeInChildren; v2.setStyle = v1.setStyle; var v3 = TextField.prototype; v3.setStyle = v2.setStyle; v3.changeTextStyleInChildren = v1.changeTextStyleInChildren; return true; }; mx.styles.CSSSetStyle.classConstructed = mx.styles.CSSSetStyle.classConstruct(); mx.styles.CSSSetStyle.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; ASSetPropFlags(mx.styles.CSSSetStyle.prototype, null, 1); } #endinitclip } movieClip 59 __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) { mx.core.ext.UIComponentExtensions = function () {}; var v1 = mx.core.ext.UIComponentExtensions.prototype; mx.core.ext.UIComponentExtensions.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(); }; mx.core.ext.UIComponentExtensions.bExtended = false; mx.core.ext.UIComponentExtensions.UIComponentExtended = mx.core.ext.UIComponentExtensions.Extensions(); mx.core.ext.UIComponentExtensions.UIComponentDependency = mx.core.UIComponent; mx.core.ext.UIComponentExtensions.FocusManagerDependency = mx.managers.FocusManager; mx.core.ext.UIComponentExtensions.OverlappedWindowsDependency = mx.managers.OverlappedWindows; ASSetPropFlags(mx.core.ext.UIComponentExtensions.prototype, null, 1); } #endinitclip } movieClip 60 __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) { mx.core.View = function () { super(); }; var v1 = new mx.core.UIComponent(); mx.core.View.prototype = v1; v1.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; }; v1.size = function () { this.border_mc.move(0, 0); this.border_mc.setSize(this.__get__width(), this.__get__height()); this.doLayout(); }; v1.draw = function () { this.size(); }; v1.__get__numChildren = function () { var v3 = mx.core.View.childNameBase; var v2 = 0; while (!false) { if (this[v3 + v2] == undefined) { return v2; } ++v2; } return -1; }; v1.__get__tabIndex = function () { return this.tabEnabled ? this.__tabIndex : undefined; }; v1.__set__tabIndex = function (n) { this.__tabIndex = n; return this.__get__tabIndex(); }; v1.addLayoutObject = function (object) {}; v1.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; }; v1.getChildAt = function (childIndex) { return this[mx.core.View.childNameBase + childIndex]; }; v1.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; }; v1.initLayout = function () { if (!this.hasBeenLayedOut) { this.doLayout(); } }; v1.doLayout = function () { this.hasBeenLayedOut = true; }; v1.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'); }; v1.convertToUIObject = function (obj) {}; v1.childLoaded = function (obj) { this.convertToUIObject(obj); }; mx.core.View.extension = function () { mx.core.ExternalContent.enableExternalContent(); }; mx.core.View.symbolName = 'View'; mx.core.View.symbolOwner = mx.core.View; mx.core.View.symbolOwner.version = '2.0.0.377'; v1.className = 'View'; mx.core.View.symbolOwner.childNameBase = '_child'; v1.hasBeenLayedOut = false; v1._loadExternalClass = 'UIComponent'; v1.addProperty('numChildren', v1.__get__numChildren, function () {}); v1.addProperty('tabIndex', v1.__get__tabIndex, v1.__set__tabIndex); ASSetPropFlags(mx.core.View.prototype, null, 1); } #endinitclip } movieClip 61 __Packages.mx.controls.Loader { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.Loader) { mx.controls.Loader = function () { super(); }; var v1 = new mx.core.View(); mx.controls.Loader.prototype = v1; v1.init = function () { super.init(); }; v1.setSize = function (w, h, noEvent) { this._origWidth = w; this._origHeight = h; super.setSize(w, h, noEvent); }; v1.draw = function () { this.size(); }; v1.size = function () { super.size(); if (this.__scaleContent) { this.doScaleContent(); } else { this.doScaleLoader(); } }; v1.createChildren = function () { super.createChildren(); if (this.__autoLoad) { this.load(); } }; v1.getAutoLoad = function () { return this.__autoLoad; }; v1.__get__autoLoad = function () { return this.getAutoLoad(); }; v1.setAutoLoad = function (b) { if (this.__autoLoad != b) { this.__autoLoad = b; if (this.__autoLoad && !this[mx.core.View.childNameBase + 0]._complete) { this.load(); } } }; v1.__set__autoLoad = function (b) { this.setAutoLoad(b); return this.__get__autoLoad(); }; v1.getBytesLoaded = function () { return this.__bytesLoaded; }; v1.__get__bytesLoaded = function () { return this.getBytesLoaded(); }; v1.getBytesTotal = function () { return this.__bytesTotal; }; v1.__get__bytesTotal = function () { return this.getBytesTotal(); }; v1.getContent = function () { return this.contentHolder; }; v1.__get__content = function () { return this.getContent(); }; v1.getContentPath = function () { return this.__contentPath; }; v1.__get__contentPath = function () { return this.getContentPath(); }; v1.setContentPath = function (url) { if (this.__contentPath != url) { this.__contentPath = url; if (this.childrenCreated) { if (this.__autoLoad) { this.load(); } } } }; v1.__set__contentPath = function (c) { this.setContentPath(c); return this.__get__contentPath(); }; v1.getPercentLoaded = function () { var v2 = 100 * (this.__bytesLoaded / this.__bytesTotal); if (isNaN(v2)) { v2 = 0; } return v2; }; v1.__get__percentLoaded = function () { return this.getPercentLoaded(); }; v1.__get__scaleContent = function () { return this.getScaleContent(); }; v1.getScaleContent = function () { return this.__scaleContent; }; v1.setScaleContent = function (b) { if (this.__scaleContent != b) { this.__scaleContent = b; if (this.__scaleContent) { this.doScaleContent(); } else { this.doScaleLoader(); } } }; v1.__set__scaleContent = function (b) { this.setScaleContent(b); return this.__get__scaleContent(); }; v1.load = function (url) { if (url != undefined) { this.__contentPath = url; } if (this[mx.core.View.childNameBase + 0] != undefined) { if (this[mx.core.View.childNameBase + 0]._complete) { this.setSize(this._origWidth, this._origHeight); } this.destroyChildAt(0); } if (this.__contentPath == undefined || this.__contentPath == '') { return undefined; } this.createChild(this.__contentPath, 'contentHolder'); }; v1.childLoaded = function (obj) { super.childLoaded(obj); obj._rotation = 0; this._origWidth = this.__width; this._origHeight = this.__height; if (this.__scaleContent) { this.doScaleContent(); } else { this.doScaleLoader(); } }; v1.dispatchEvent = function (obj) { if (obj.type == 'progress' || obj.type == 'complete') { obj.target = this; this.__bytesTotal = obj.total; this.__bytesLoaded = obj.current; } super.dispatchEvent(obj); }; v1.doScaleContent = function () { if (!this[mx.core.View.childNameBase + 0]._complete) { return undefined; } this.unScaleContent(); var v2 = this.border_mc.__get__borderMetrics(); var v7 = this._origWidth - v2.left - v2.right; var v6 = this._origHeight - v2.top - v2.bottom; var v9 = v2.left; var v8 = v2.top; var v5 = v7 / this.contentHolder._width; var v3 = v6 / this.contentHolder._height; var v4; if (v5 > v3) { v9 = v2.left + Math.floor((v7 - this.contentHolder._width * v3) / 2); v4 = v3; } else { v8 = v2.top + Math.floor((v6 - this.contentHolder._height * v5) / 2); v4 = v5; } v4 *= 100; this.contentHolder._yscale = v4; this.contentHolder._xscale = this.contentHolder._yscale; this.contentHolder._x = v9; this.contentHolder._y = v8; if (this.__width != this._origWidth || this.__height != this._origHeight) { this.setSize(this._origWidth, this._origHeight); } }; v1.doScaleLoader = function () { if (!this[mx.core.View.childNameBase + 0]._complete) { return undefined; } this.unScaleContent(); var v2 = this.border_mc.__get__borderMetrics(); var v4 = this.contentHolder._width + v2.left + v2.right; var v3 = this.contentHolder._height + v2.top + v2.bottom; if (this.__width != v4 || this.__height != v3) { this.setSize(v4, v3); } this.contentHolder._x = v2.left; this.contentHolder._y = v2.top; }; v1.unScaleContent = function () { this.contentHolder._yscale = 100; this.contentHolder._xscale = 100; this.contentHolder._y = 0; this.contentHolder._x = 0; }; mx.controls.Loader.symbolName = 'Loader'; mx.controls.Loader.symbolOwner = mx.controls.Loader; mx.controls.Loader.symbolOwner.version = '2.0.0.377'; v1.className = 'Loader'; v1.clipParameters = {'autoLoad': 1, 'scaleContent': 1, 'contentPath': 1}; mx.controls.Loader.symbolOwner.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Loader.prototype.clipParameters, mx.core.View.prototype.clipParameters); v1.__autoLoad = true; v1.__bytesLoaded = undefined; v1.__bytesTotal = undefined; v1.__contentPath = undefined; v1.__scaleContent = true; v1.addProperty('autoLoad', v1.__get__autoLoad, v1.__set__autoLoad); v1.addProperty('bytesLoaded', v1.__get__bytesLoaded, function () {}); v1.addProperty('bytesTotal', v1.__get__bytesTotal, function () {}); v1.addProperty('content', v1.__get__content, function () {}); v1.addProperty('contentPath', v1.__get__contentPath, v1.__set__contentPath); v1.addProperty('percentLoaded', v1.__get__percentLoaded, function () {}); v1.addProperty('scaleContent', v1.__get__scaleContent, v1.__set__scaleContent); ASSetPropFlags(mx.controls.Loader.prototype, null, 1); } #endinitclip } movieClip 66 __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) { mx.skins.Border = function () { super(); }; var v1 = new mx.core.UIObject(); mx.skins.Border.prototype = v1; v1.init = function (Void) { super.init(); }; mx.skins.Border.symbolName = 'Border'; mx.skins.Border.symbolOwner = mx.skins.Border; v1.className = 'Border'; v1.tagBorder = 0; v1.idNames = new Array('border_mc'); ASSetPropFlags(mx.skins.Border.prototype, null, 1); } #endinitclip } movieClip 67 __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) { mx.skins.RectBorder = function () { super(); }; var v1 = new mx.skins.Border(); mx.skins.RectBorder.prototype = v1; v1.__get__width = function () { return this.__width; }; v1.__get__height = function () { return this.__height; }; v1.init = function (Void) { super.init(); }; v1.draw = function (Void) { this.size(); }; v1.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; }; v1.__get__borderMetrics = function () { return this.getBorderMetrics(); }; v1.drawBorder = function (Void) {}; v1.size = function (Void) { this.drawBorder(); }; v1.setColor = function (Void) { this.drawBorder(); }; mx.skins.RectBorder.symbolName = 'RectBorder'; mx.skins.RectBorder.symbolOwner = mx.skins.RectBorder; mx.skins.RectBorder.symbolOwner.version = '2.0.0.377'; v1.className = 'RectBorder'; v1.borderStyleName = 'borderStyle'; v1.borderColorName = 'borderColor'; v1.shadowColorName = 'shadowColor'; v1.highlightColorName = 'highlightColor'; v1.buttonColorName = 'buttonColor'; v1.backgroundColorName = 'backgroundColor'; v1.addProperty('borderMetrics', v1.__get__borderMetrics, function () {}); v1.addProperty('height', v1.__get__height, function () {}); v1.addProperty('width', v1.__get__width, function () {}); ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1); } #endinitclip } movieClip 68 __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) { mx.core.ExternalContent = function () {}; var v1 = mx.core.ExternalContent.prototype; v1.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; }; v1.prepareToLoadMovie = function (obj) { obj.unloadMovie(); this.doLater(this, 'waitForUnload'); }; v1.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'); } } }; v1.checkLoadProgress = function () { 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; } } else {} } this.doLater(this, 'checkLoadProgress'); } }; v1.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; } }; v1.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); } }; mx.core.ExternalContent.enableExternalContent = function () {}; mx.core.ExternalContent.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; }; mx.core.ExternalContent.classConstructed = mx.core.ExternalContent.classConstruct(); mx.core.ExternalContent.ViewDependency = mx.core.View; ASSetPropFlags(mx.core.ExternalContent.prototype, null, 1); } #endinitclip } movieClip 69 __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) { mx.skins.halo.RectBorder = function () { super(); }; var v1 = new mx.skins.RectBorder(); mx.skins.halo.RectBorder.prototype = v1; v1.init = function (Void) { this.borderWidths.default = 3; super.init(); }; v1.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(); }; v1.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(); } }; v1.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(); }; mx.skins.halo.RectBorder.classConstruct = function () { mx.core.ext.UIObjectExtensions.Extensions(); _global.styles.rectBorderClass = mx.skins.halo.RectBorder; _global.skinRegistry.RectBorder = true; return true; }; mx.skins.halo.RectBorder.symbolName = 'RectBorder'; mx.skins.halo.RectBorder.symbolOwner = mx.skins.halo.RectBorder; mx.skins.halo.RectBorder.symbolOwner.version = '2.0.0.377'; v1.borderCapColorName = 'borderCapColor'; v1.shadowCapColorName = 'shadowCapColor'; v1.colorList = {'highlightColor': 0, 'borderColor': 0, 'buttonColor': 0, 'shadowColor': 0, 'borderCapColor': 0, 'shadowCapColor': 0}; v1.borderWidths = {'none': 0, 'solid': 1, 'inset': 2, 'outset': 2, 'alert': 3, 'dropDown': 2, 'menuBorder': 2, 'comboNonEdit': 2}; mx.skins.halo.RectBorder.symbolOwner.classConstructed = mx.skins.halo.RectBorder.classConstruct(); mx.skins.halo.RectBorder.symbolOwner.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; ASSetPropFlags(mx.skins.halo.RectBorder.prototype, null, 1); } #endinitclip } frame 2 { objNewTime = new Date(); varBytes = _root.getBytesLoaded(); varKbytes = Math.round((_root.getBytesLoaded() / 1024) * 100) / 100; varTotalBytes = Math.round((_root.getBytesTotal() / 1024) * 100) / 100; if (varBytes > 1024) { txtBytes = varKbytes add ' Kbytes of ' add varTotalBytes add ' Kbytes'; } else { txtBytes = varBytes add ' Bytes of ' add varTotalBytes add ' Kbytes'; } txtPercentage = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) add '%'; varElapsedSeconds = objNewTime.getSeconds() - varStartSeconds; varElapsedMinutes = objNewTime.getMinutes() - varStartMinutes; varElapsedHours = objNewTime.getHours() - varStartHours; varElapsedDays = objNewTime.getDay() - varStartDays; varElapsedTime = varElapsedDays * 24 * 60 * 60 + varElapsedHours * 60 * 60 + varElapsedMinutes * 60 + varElapsedSeconds; if (varElapsedTime > 1) { txtElapsed = varElapsedTime add ' Seconds'; } else { txtElapsed = varElapsedTime add ' Second'; } varSpeed = Math.round((_root.getBytesLoaded() / varElapsedTime / 1024) * 10) / 10; txtSpeed = varSpeed add ' Kbytes/Second'; varRemaining = Math.round((_root.getBytesTotal() - _root.getBytesLoaded()) / varSpeed * 1024); if (varRemaining > 1) { txtRemaining = varRemaining add ' Seconds'; } else { txtRemaining = varRemaining add ' Second'; } varMove = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 458.8); _root.mcLoad._x = -59.4 + varMove; } frame 3 { if (_root.getBytesLoaded() == _root.getBytesTotal()) { gotoAndPlay(4); } else { gotoAndPlay(2); } } movieClip 129 { } movieClip 251 { } movieClip 258 { } movieClip 361 { frame 21 { gotoAndPlay(2); } } movieClip 391 { } movieClip 441 { } movieClip 444 { } movieClip 449 { } movieClip 492 { } frame 3982 { with (this.TC.tctrue) { gotoandplay('c1'); } } movieClip 569 { } movieClip 576 { } movieClip 577 { frame 1 { min_wait = '40'; max_wait = '180'; wait_count = Number(random(max_wait - min_wait)) + Number(min_wait); max_view = '20'; max_drift = '.4'; tellTarget ('lines') { gotoAndPlay(Number(random(6)) + 1); } } frame 2 { } frame 3 { gotoAndPlay('master'); } frame 4 { view -= 1; if (!view) { _x = '-10'; gotoAndPlay('master'); } _x = Number(_x) + Number(drift); } frame 5 { gotoAndPlay('slave'); } } movieClip 598 { frame 1 { stop(); } } movieClip 599 { frame 1 { if (_name eq 'speck_master') { min_wait = '10'; max_wait = '60'; max_view = '4'; wait_count = Number(random(max_wait - min_wait)) + Number(min_wait); gotoAndPlay('master'); } view_count = '0'; } frame 2 { view -= 1; if (!view) { removeMovieClip(''); } } frame 3 { gotoAndPlay('slave'); } frame 4 { } frame 5 { gotoAndPlay('master'); } } movieClip 600 { frame 1 { stage_width = '550'; stage_height = '400'; stop(); } } movieClip 612 { frame 46 { gotoAndPlay('c1'); } frame 92 { gotoAndPlay('c2'); } frame 138 { gotoAndPlay('c3'); } frame 184 { gotoAndPlay('c4'); } frame 230 { gotoAndPlay('c5'); } frame 276 { gotoAndPlay('c6'); } frame 322 { gotoAndPlay('c7'); } frame 368 { gotoAndPlay('c8'); } frame 414 { gotoAndPlay('c9'); } } movieClip 613 { } frame 4083 { with (this.TC.tctrue) { gotoAndPlay('c2'); } } frame 4352 { with (this.TC.tctrue) { gotoAndPlay('c3'); } } frame 4566 { with (this.TC.tctrue) { gotoAndPlay('c4'); } } frame 4813 { with (this.TC.tctrue) { gotoAndPlay('c5'); } } frame 4985 { with (this.TC.tctrue) { gotoAndPlay('c6'); } } frame 5203 { with (this.TC.tctrue) { gotoAndPlay('c7'); } } frame 5539 { with (this.TC.tctrue) { gotoAndPlay('c8'); } } frame 5663 { with (this.TC.tctrue) { gotoAndPlay('c9'); } } movieClip 629 { } movieClip 635 { } movieClip 743 { } movieClip 750 { } frame 8568 { stop(); } button 762 { on (release) { gotoAndPlay(4); } } button 763 { on (release) { getURL('http://www.jkcinema.com', ''); } }




http://swfchan.com/48/238834/info.shtml
Created: 2/1 -2021 05:41:05 Last modified: 2/1 -2021 05:41:05 Server time: 19/04 -2024 09:11:31