Combined Code
movieClip 1 __Packages.mx.core.UIObject {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
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};
ASSetPropFlags(mx.core.UIObject.prototype, null, 1);
_global.mx.core.UIObject;
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 () {
});
#endinitclip
}
movieClip 2 __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;
} else {
if (o._parent.tabChildren) {
o = this.findFocusInChildren(o._parent);
} else {
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);
ASSetPropFlags(mx.core.UIComponent.prototype, null, 1);
v1.addProperty('height', v1.__get__height, function () {
});
v1.addProperty('width', v1.__get__width, function () {
});
}
#endinitclip
}
movieClip 3 __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);
} else {
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);
1;
null;
mx.core;
'View';
}
// An attempt to read a value from empty stack
// An attempt to read a value from empty stack
// An attempt to read a value from empty stack
// An attempt to read a value from empty stack
ASSetPropFlags(undefined[undefined].prototype, undefined, undefined);
#endinitclip
}
movieClip 4 __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;
ASSetPropFlags(mx.controls.Loader.prototype, null, 1);
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);
}
#endinitclip
}
movieClip 6 BoundingBox {
}
movieClip 7 Defaults {
#initclip
Object.registerClass('Defaults', mx.skins.halo.Defaults);
#endinitclip
}
movieClip 8 UIObjectExtensions {
#initclip
Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions);
#endinitclip
}
movieClip 9 UIObject {
#initclip
Object.registerClass('UIObject', mx.core.UIObject);
#endinitclip
frame 1 {
stop();
}
}
button 12 {
on (keyPress '<Tab>') {
this.tabHandler();
}
}
movieClip 13 FocusRect {
#initclip
Object.registerClass('FocusRect', mx.skins.halo.FocusRect);
#endinitclip
}
movieClip 14 FocusManager {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
#endinitclip
frame 1 {
stop();
}
}
movieClip 15 UIComponentExtensions {
#initclip
Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions);
#endinitclip
}
movieClip 16 UIComponent {
#initclip
Object.registerClass('UIComponent', mx.core.UIComponent);
#endinitclip
frame 1 {
stop();
}
}
movieClip 17 Border {
#initclip
Object.registerClass('Border', mx.skins.Border);
#endinitclip
frame 1 {
stop();
}
}
movieClip 18 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 19 View {
#initclip
Object.registerClass('View', mx.core.View);
#endinitclip
frame 1 {
stop();
}
}
movieClip 20 Loader {
#initclip
Object.registerClass('Loader', mx.controls.Loader);
#endinitclip
frame 1 {
stop();
}
}
movieClip 21 __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 22 __Packages.mx.styles.CSSTextStyles {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
mx.styles.CSSTextStyles = function () {
};
var v1 = mx.styles.CSSTextStyles.prototype;
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) {
function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
};
function () {
return this._tf.color;
};
'color';
3;
o;
'addProperty';