Combined Code
movieClip 3 {
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 9 {
}
button 10 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 12 {
}
movieClip 14 {
}
// unknown tag 88 length 68
movieClip 18 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._yscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
v3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return undefined;
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof clip[childName] == 'movieclip') {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.33333333333334;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
}
frame 72 {
startMovie();
}
}
movieClip 303 __Packages.mx.core.UIObject {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIObject) {
var v1 = function () {
super();
this.constructObject();
};
mx.core.UIObject = v1;
mx.core.UIObject extends MovieClip;
var v2 = v1.prototype;
v2.__get__width = function () {
return this._width;
};
v2.__get__height = function () {
return this._height;
};
v2.__get__left = function () {
return this._x;
};
v2.__get__x = function () {
return this._x;
};
v2.__get__top = function () {
return this._y;
};
v2.__get__y = function () {
return this._y;
};
v2.__get__right = function () {
return this._parent.width - (this._x + this.__get__width());
};
v2.__get__bottom = function () {
return this._parent.height - (this._y + this.__get__height());
};
v2.getMinHeight = function (Void) {
return this._minHeight;
};
v2.setMinHeight = function (h) {
this._minHeight = h;
};
v2.__get__minHeight = function () {
return this.getMinHeight();
};
v2.__set__minHeight = function (h) {
this.setMinHeight(h);
return this.__get__minHeight();
};
v2.getMinWidth = function (Void) {
return this._minWidth;
};
v2.setMinWidth = function (w) {
this._minWidth = w;
};
v2.__get__minWidth = function () {
return this.getMinWidth();
};
v2.__set__minWidth = function (w) {
this.setMinWidth(w);
return this.__get__minWidth();
};
v2.setVisible = function (x, noEvent) {
if (x != this._visible) {
this._visible = x;
if (noEvent != true) {
this.dispatchEvent({'type': x ? 'reveal' : 'hide'});
}
}
};
v2.__get__visible = function () {
return this._visible;
};
v2.__set__visible = function (x) {
this.setVisible(x, false);
return this.__get__visible();
};
v2.__get__scaleX = function () {
return this._xscale;
};
v2.__set__scaleX = function (x) {
this._xscale = x;
return this.__get__scaleX();
};
v2.__get__scaleY = function () {
return this._yscale;
};
v2.__set__scaleY = function (y) {
this._yscale = y;
return this.__get__scaleY();
};
v2.doLater = function (obj, fn) {
if (this.methodTable == undefined) {
this.methodTable = new Array();
}
this.methodTable.push({'obj': obj, 'fn': fn});
this.onEnterFrame = this.doLaterDispatcher;
};
v2.doLaterDispatcher = function (Void) {
delete this.onEnterFrame;
if (this.invalidateFlag) {
this.redraw();
}
var v3 = this.methodTable;
this.methodTable = new Array();
if (v3.length > 0) {
var v2;
v2 = v3.shift();
while (v2 != undefined) {
v2.obj[v2.fn]();
}
}
};
v2.cancelAllDoLaters = function (Void) {
delete this.onEnterFrame;
this.methodTable = new Array();
};
v2.invalidate = function (Void) {
this.invalidateFlag = true;
this.onEnterFrame = this.doLaterDispatcher;
};
v2.invalidateStyle = function (Void) {
this.invalidate();
};
v2.redraw = function (bAlways) {
if (this.invalidateFlag || bAlways) {
this.invalidateFlag = false;
var v2;
for (v2 in this.tfList) {
this.tfList[v2].draw();
}
this.draw();
this.dispatchEvent({'type': 'draw'});
}
};
v2.draw = function (Void) {};
v2.move = function (x, y, noEvent) {
var v3 = this._x;
var v2 = this._y;
this._x = x;
this._y = y;
if (noEvent != true) {
this.dispatchEvent({'type': 'move', 'oldX': v3, 'oldY': v2});
}
};
v2.setSize = function (w, h, noEvent) {
var v3 = this.__width;
var v2 = this.__height;
this.__width = w;
this.__height = h;
this.size();
if (noEvent != true) {
this.dispatchEvent({'type': 'resize', 'oldWidth': v3, 'oldHeight': v2});
}
};
v2.size = function (Void) {
this._width = this.__width;
this._height = this.__height;
};
v2.drawRect = function (x1, y1, x2, y2) {
this.moveTo(x1, y1);
this.lineTo(x2, y1);
this.lineTo(x2, y2);
this.lineTo(x1, y2);
this.lineTo(x1, y1);
};
v2.createLabel = function (name, depth, text) {
this.createTextField(name, depth, 0, 0, 0, 0);
var v2 = this[name];
v2._color = mx.core.UIObject.textColorList;
v2._visible = false;
v2.__text = text;
if (this.tfList == undefined) {
this.tfList = new Object();
}
this.tfList[name] = v2;
v2.invalidateStyle();
this.invalidate();
v2.styleName = this;
return v2;
};
v2.createObject = function (linkageName, id, depth, initobj) {
return this.attachMovie(linkageName, id, depth, initobj);
};
v2.createClassObject = function (className, id, depth, initobj) {
var v3 = className.symbolName == undefined;
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var v4 = mx.core.UIObject(this.createObject(className.symbolOwner.symbolName, id, depth, initobj));
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return v4;
};
v2.createEmptyObject = function (id, depth) {
return this.createClassObject(mx.core.UIObject, id, depth);
};
v2.destroyObject = function (id) {
var v2 = this[id];
if (v2.getDepth() < 0) {
var v4 = this.buildDepthTable();
var v5 = this.findNextAvailableDepth(0, v4, 'up');
var v3 = v5;
v2.swapDepths(v3);
}
v2.removeMovieClip();
delete this[id];
};
v2.getSkinIDName = function (tag) {
return this.idNames[tag];
};
v2.setSkin = function (tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return this.createObject(linkageName, this.getSkinIDName(tag), tag, initObj);
};
v2.createSkin = function (tag) {
var v2 = this.getSkinIDName(tag);
this.createEmptyObject(v2, tag);
return this[v2];
};
v2.createChildren = function (Void) {};
v2._createChildren = function (Void) {
this.createChildren();
this.childrenCreated = true;
};
v2.constructObject = function (Void) {
if (this._name == undefined) {
return undefined;
}
this.init();
this._createChildren();
this.createAccessibilityImplementation();
this._endInit();
if (this.validateNow) {
this.redraw(true);
} else {
this.invalidate();
}
};
v2.initFromClipParameters = function (Void) {
var v4 = false;
var v2;
for (v2 in this.clipParameters) {
if (this.hasOwnProperty(v2)) {
v4 = true;
this['def_' + v2] = this[v2];
delete this[v2];
}
}
if (v4) {
for (v2 in this.clipParameters) {
var v3 = this['def_' + v2];
if (v3 != undefined) {
this[v2] = v3;
}
}
}
};
v2.init = function (Void) {
this.__width = this._width;
this.__height = this._height;
if (this.initProperties == undefined) {
this.initFromClipParameters();
} else {
this.initProperties();
}
if (_global.cascadingStyles == true) {
this.stylecache = new Object();
}
};
v2.getClassStyleDeclaration = function (Void) {
var v4 = this;
var v3 = this.className;
while (v3 != undefined) {
if (this.ignoreClassStyleDeclaration[v3] == undefined) {
if (_global.styles[v3] != undefined) {
return _global.styles[v3];
}
}
v4 = v4.__proto__;
v3 = v4.className;
}
};
v2.setColor = function (color) {};
v2.__getTextFormat = function (tf, bAll) {
var v8 = this.stylecache.tf;
if (v8 != undefined) {
var v3;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
tf[v3] = v8[v3];
}
}
}
return false;
}
var v6 = false;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
var v5 = this._tf[v3];
if (v5 != undefined) {
tf[v3] = v5;
} else {
if (v3 == 'font' && this.fontFamily != undefined) {
tf[v3] = this.fontFamily;
} else {
if (v3 == 'size' && this.fontSize != undefined) {
tf[v3] = this.fontSize;
} else {
if (v3 == 'color' && this.color != undefined) {
tf[v3] = this.color;
} else {
if (v3 == 'leftMargin' && this.marginLeft != undefined) {
tf[v3] = this.marginLeft;
} else {
if (v3 == 'rightMargin' && this.marginRight != undefined) {
tf[v3] = this.marginRight;
} else {
if (v3 == 'italic' && this.fontStyle != undefined) {
tf[v3] = this.fontStyle == v3;
} else {
if (v3 == 'bold' && this.fontWeight != undefined) {
tf[v3] = this.fontWeight == v3;
} else {
if (v3 == 'align' && this.textAlign != undefined) {
tf[v3] = this.textAlign;
} else {
if (v3 == 'indent' && this.textIndent != undefined) {
tf[v3] = this.textIndent;
} else {
if (v3 == 'underline' && this.textDecoration != undefined) {
tf[v3] = this.textDecoration == v3;
} else {
if (v3 == 'embedFonts' && this.embedFonts != undefined) {
tf[v3] = this.embedFonts;
} else {
v6 = true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (v6) {
var v9 = this.styleName;
if (v9 != undefined) {
if (typeof v9 != 'string') {
v6 = v9.__getTextFormat(tf, true, this);
} else {
if (_global.styles[v9] != undefined) {
v6 = _global.styles[v9].__getTextFormat(tf, true, this);
}
}
}
}
if (v6) {
var v10 = this.getClassStyleDeclaration();
if (v10 != undefined) {
v6 = v10.__getTextFormat(tf, true, this);
}
}
if (v6) {
if (_global.cascadingStyles) {
if (this._parent != undefined) {
v6 = this._parent.__getTextFormat(tf, false);
}
}
}
if (v6) {
v6 = _global.style.__getTextFormat(tf, true, this);
}
return v6;
};
v2._getTextFormat = function (Void) {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2, true);
this.stylecache.tf = v2;
if (this.enabled == false) {
var v3 = this.getStyle('disabledColor');
v2.color = v3;
}
return v2;
};
v2.getStyleName = function (Void) {
var v2 = this.styleName;
if (v2 != undefined) {
if (typeof v2 != 'string') {
return v2.getStyleName();
} else {
return v2;
}
}
if (this._parent != undefined) {
return this._parent.getStyleName();
} else {
return undefined;
}
};
v2.getStyle = function (styleProp) {
var v3;
++_global.getStyleCounter;
if (this[styleProp] != undefined) {
return this[styleProp];
}
var v6 = this.styleName;
if (v6 != undefined) {
if (typeof v6 != 'string') {
v3 = v6.getStyle(styleProp);
} else {
var v7 = _global.styles[v6];
v3 = v7.getStyle(styleProp);
}
}
if (v3 != undefined) {
return v3;
}
v7 = this.getClassStyleDeclaration();
if (v7 != undefined) {
v3 = v7[styleProp];
}
if (v3 != undefined) {
return v3;
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || mx.styles.StyleManager.isColorStyle(styleProp)) {
var v5 = this.stylecache;
if (v5 != undefined) {
if (v5[styleProp] != undefined) {
return v5[styleProp];
}
}
if (this._parent != undefined) {
v3 = this._parent.getStyle(styleProp);
} else {
v3 = _global.style[styleProp];
}
if (v5 != undefined) {
v5[styleProp] = v3;
}
return v3;
}
}
if (v3 == undefined) {
v3 = _global.style[styleProp];
}
return v3;
};
v1.mergeClipParameters = function (o, p) {
for (var v3 in p) {
o[v3] = p[v3];
}
return true;
};
v1.symbolName = 'UIObject';
v1.symbolOwner = mx.core.UIObject;
v1.version = '2.0.2.127';
v1.textColorList = {'color': 1, 'disabledColor': 1};
v2.invalidateFlag = false;
v2.lineWidth = 1;
v2.lineColor = 0;
v2.tabEnabled = false;
v2.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1};
v2.addProperty('bottom', v2.__get__bottom, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('left', v2.__get__left, function () {});
v2.addProperty('minHeight', v2.__get__minHeight, v2.__set__minHeight);
v2.addProperty('minWidth', v2.__get__minWidth, v2.__set__minWidth);
v2.addProperty('right', v2.__get__right, function () {});
v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX);
v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY);
v2.addProperty('top', v2.__get__top, function () {});
v2.addProperty('visible', v2.__get__visible, v2.__set__visible);
v2.addProperty('width', v2.__get__width, function () {});
v2.addProperty('x', v2.__get__x, function () {});
v2.addProperty('y', v2.__get__y, function () {});
ASSetPropFlags(mx.core.UIObject.prototype, null, 1);
}
#endinitclip
}
movieClip 304 __Packages.mx.skins.SkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.SkinElement) {
var v1 = function () {
super();
};
mx.skins.SkinElement = v1;
mx.skins.SkinElement extends MovieClip;
var v2 = v1.prototype;
v1.registerElement = function (name, className) {
Object.registerClass(name, (className == undefined) ? mx.skins.SkinElement : className);
_global.skinRegistry[name] = true;
};
v2.__set__visible = function (visible) {
this._visible = visible;
};
v2.move = function (x, y) {
this._x = x;
this._y = y;
};
v2.setSize = function (w, h) {
this._width = w;
this._height = h;
};
ASSetPropFlags(mx.skins.SkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 305 __Packages.mx.styles.CSSTextStyles {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSTextStyles) {
var v1 = function () {};
mx.styles.CSSTextStyles = v1;
var v2 = v1.prototype;
v1.addTextStyles = function (o, bColor) {
o.addProperty('textAlign', function () {
return this._tf.align;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty('fontWeight', function () {
return (this._tf.bold != undefined) ? (this._tf.bold ? 'bold' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == 'bold';
});
if (bColor) {
o.addProperty('color', function () {
return this._tf.color;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty('fontFamily', function () {
return this._tf.font;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty('textIndent', function () {
return this._tf.indent;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty('fontStyle', function () {
return (this._tf.italic != undefined) ? (this._tf.italic ? 'italic' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == 'italic';
});
o.addProperty('marginLeft', function () {
return this._tf.leftMargin;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty('marginRight', function () {
return this._tf.rightMargin;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty('fontSize', function () {
return this._tf.size;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty('textDecoration', function () {
return (this._tf.underline != undefined) ? (this._tf.underline ? 'underline' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == 'underline';
});
o.addProperty('embedFonts', function () {
return this._tf.embedFonts;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
};
ASSetPropFlags(mx.styles.CSSTextStyles.prototype, null, 1);
}
#endinitclip
}
movieClip 306 __Packages.mx.styles.CSSStyleDeclaration {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSStyleDeclaration) {
var v1 = function () {};
mx.styles.CSSStyleDeclaration = v1;
var v2 = v1.prototype;
v2.__getTextFormat = function (tf, bAll) {
var v5 = false;
if (this._tf != undefined) {
var v2;
for (v2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v2]) {
if (tf[v2] == undefined) {
var v3 = this._tf[v2];
if (v3 != undefined) {
tf[v2] = v3;
} else {
v5 = true;
}
}
}
}
return v5;
}
v5 = true;
return v5;
};
v2.getStyle = function (styleProp) {
var v2 = this[styleProp];
var v3 = mx.styles.StyleManager.getColorName(v2);
return (v3 == undefined) ? v2 : v3;
};
v1.classConstruct = function () {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return true;
};
v1.classConstructed = mx.styles.CSSStyleDeclaration.classConstruct();
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
ASSetPropFlags(mx.styles.CSSStyleDeclaration.prototype, null, 1);
}
#endinitclip
}
movieClip 307 __Packages.mx.styles.StyleManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.StyleManager) {
var v1 = function () {};
mx.styles.StyleManager = v1;
var v2 = v1.prototype;
v1.registerInheritingStyle = function (styleName) {
mx.styles.StyleManager.inheritingStyles[styleName] = true;
};
v1.isInheritingStyle = function (styleName) {
return mx.styles.StyleManager.inheritingStyles[styleName] == true;
};
v1.registerColorStyle = function (styleName) {
mx.styles.StyleManager.colorStyles[styleName] = true;
};
v1.isColorStyle = function (styleName) {
return mx.styles.StyleManager.colorStyles[styleName] == true;
};
v1.registerColorName = function (colorName, colorValue) {
mx.styles.StyleManager.colorNames[colorName] = colorValue;
};
v1.isColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName] != undefined;
};
v1.getColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName];
};
v1.inheritingStyles = {'color': true, 'direction': true, 'fontFamily': true, 'fontSize': true, 'fontStyle': true, 'fontWeight': true, 'textAlign': true, 'textIndent': true};
v1.colorStyles = {'barColor': true, 'trackColor': true, 'borderColor': true, 'buttonColor': true, 'color': true, 'dateHeaderColor': true, 'dateRollOverColor': true, 'disabledColor': true, 'fillColor': true, 'highlightColor': true, 'scrollTrackColor': true, 'selectedDateColor': true, 'shadowColor': true, 'strokeColor': true, 'symbolBackgroundColor': true, 'symbolBackgroundDisabledColor': true, 'symbolBackgroundPressedColor': true, 'symbolColor': true, 'symbolDisabledColor': true, 'themeColor': true, 'todayIndicatorColor': true, 'shadowCapColor': true, 'borderCapColor': true, 'focusColor': true};
v1.colorNames = {'black': 0, 'white': 16777215, 'red': 16711680, 'green': 65280, 'blue': 255, 'magenta': 16711935, 'yellow': 16776960, 'cyan': 65535, 'haloGreen': 8453965, 'haloBlue': 2881013, 'haloOrange': 16761344};
v1.TextFormatStyleProps = {'font': true, 'size': true, 'color': true, 'leftMargin': false, 'rightMargin': false, 'italic': true, 'bold': true, 'align': true, 'indent': true, 'underline': false, 'embedFonts': false};
v1.TextStyleMap = {'textAlign': true, 'fontWeight': true, 'color': true, 'fontFamily': true, 'textIndent': true, 'fontStyle': true, 'lineHeight': true, 'marginLeft': true, 'marginRight': true, 'fontSize': true, 'textDecoration': true, 'embedFonts': true};
ASSetPropFlags(mx.styles.StyleManager.prototype, null, 1);
}
#endinitclip
}
movieClip 308 __Packages.mx.core.UIComponent {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIComponent) {
var v1 = function () {
super();
};
mx.core.UIComponent = v1;
mx.core.UIComponent extends mx.core.UIObject;
var v2 = v1.prototype;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.setVisible = function (x, noEvent) {
super.setVisible(x, noEvent);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this.setEnabled(newValue);
this.invalidate();
delete this.stylecache.tf;
return newValue;
};
v2.setEnabled = function (enabled) {
this.invalidate();
};
v2.getFocus = function () {
var selFocus = Selection.getFocus();
return (selFocus === null) ? null : eval(selFocus);
};
v2.setFocus = function () {
Selection.setFocus(this);
};
v2.getFocusManager = function () {
var v2 = this;
while (v2 != undefined) {
if (v2.focusManager != undefined) {
return v2.focusManager;
}
v2 = v2._parent;
}
return undefined;
};
v2.onKillFocus = function (newFocus) {
this.removeEventListener('keyDown', this);
this.removeEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusOut'});
this.drawFocus(false);
};
v2.onSetFocus = function (oldFocus) {
this.addEventListener('keyDown', this);
this.addEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusIn'});
if ((this.getFocusManager()).bDrawFocus != false) {
this.drawFocus(true);
}
};
v2.findFocusInChildren = function (o) {
if (o.focusTextField != undefined) {
return o.focusTextField;
}
if (o.tabEnabled == true) {
return o;
}
return undefined;
};
v2.findFocusFromObject = function (o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return undefined;
}
if (o._parent.tabEnabled == true) {
o = o._parent;
return o;
}
if (o._parent.tabChildren) {
o = this.findFocusInChildren(o._parent);
return o;
}
o = this.findFocusFromObject(o._parent);
}
return o;
};
v2.pressFocus = function () {
var v3 = this.findFocusFromObject(this);
var v2 = this.getFocus();
if (v3 != v2) {
v2.drawFocus(false);
if ((this.getFocusManager()).bDrawFocus != false) {
v3.drawFocus(true);
}
}
};
v2.releaseFocus = function () {
var v2 = this.findFocusFromObject(this);
if (v2 != this.getFocus()) {
v2.setFocus();
}
};
v2.isParent = function (o) {
while (o != undefined) {
if (o == this) {
return true;
}
o = o._parent;
}
return false;
};
v2.size = function () {};
v2.init = function () {
super.init();
this._xscale = 100;
this._yscale = 100;
this._focusrect = _global.useFocusRect == false;
this.watch('enabled', this.enabledChanged);
if (this.enabled == false) {
this.setEnabled(false);
}
};
v2.dispatchValueChangedEvent = function (value) {
this.dispatchEvent({'type': 'valueChanged', 'value': value});
};
v1.symbolName = 'UIComponent';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.127';
v1.kStretch = 5000;
v2.focusEnabled = true;
v2.tabEnabled = true;
v2.origBorderStyles = {'themeColor': 16711680};
v2.clipParameters = {};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.core.UIComponent.prototype, null, 1);
}
#endinitclip
}
movieClip 309 __Packages.mx.core.View {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.View) {
var v1 = function () {
super();
};
mx.core.View = v1;
mx.core.View extends mx.core.UIComponent;
var v2 = v1.prototype;
v2.init = function () {
super.init();
this.tabChildren = true;
this.tabEnabled = false;
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
v2.size = function () {
this.border_mc.move(0, 0);
this.border_mc.setSize(this.__get__width(), this.__get__height());
this.doLayout();
};
v2.draw = function () {
this.size();
};
v2.__get__numChildren = function () {
var v3 = mx.core.View.childNameBase;
var v2 = 0;
while (!false) {
if (this[v3 + v2] == undefined) {
return v2;
}
++v2;
}
return -1;
};
v2.__get__tabIndex = function () {
return this.tabEnabled ? this.__tabIndex : undefined;
};
v2.__set__tabIndex = function (n) {
this.__tabIndex = n;
return this.__get__tabIndex();
};
v2.addLayoutObject = function (object) {};
v2.createChild = function (className, instanceName, initProps) {
if (this.depth == undefined) {
this.depth = 1;
}
var v2;
if (typeof className == 'string') {
v2 = this.createObject(className, instanceName, this.depth++, initProps);
} else {
v2 = this.createClassObject(className, instanceName, this.depth++, initProps);
}
if (v2 == undefined) {
v2 = this.loadExternal(className, this._loadExternalClass, instanceName, this.depth++, initProps);
this.addLayoutObject(v2);
return v2;
}
this[mx.core.View.childNameBase + this.__get__numChildren()] = v2;
v2._complete = true;
this.childLoaded(v2);
this.addLayoutObject(v2);
return v2;
};
v2.getChildAt = function (childIndex) {
return this[mx.core.View.childNameBase + childIndex];
};
v2.destroyChildAt = function (childIndex) {
if (!(childIndex >= 0 && childIndex < this.__get__numChildren())) {
return undefined;
}
var v4 = mx.core.View.childNameBase + childIndex;
var v6 = this.__get__numChildren();
var v3;
for (v3 in this) {
if (v3 == v4) {
v4 = '';
this.destroyObject(v3);
break;
}
}
var v2 = Number(childIndex);
while (v2 < v6 - 1) {
this[mx.core.View.childNameBase + v2] = this[mx.core.View.childNameBase + (v2 + 1)];
++v2;
}
delete this[mx.core.View.childNameBase + (v6 - 1)];
--this.depth;
};
v2.initLayout = function () {
if (!this.hasBeenLayedOut) {
this.doLayout();
}
};
v2.doLayout = function () {
this.hasBeenLayedOut = true;
};
v2.createChildren = function () {
if (this.border_mc == undefined) {
this.border_mc = this.createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {'styleName': this});
}
this.doLater(this, 'initLayout');
};
v2.convertToUIObject = function (obj) {};
v2.childLoaded = function (obj) {
this.convertToUIObject(obj);
};
v1.extension = function () {
mx.core.ExternalContent.enableExternalContent();
};
v1.symbolName = 'View';
v1.symbolOwner = mx.core.View;
v1.version = '2.0.2.127';
v2.className = 'View';
v1.childNameBase = '_child';
v2.hasBeenLayedOut = false;
v2._loadExternalClass = 'UIComponent';
v2.addProperty('numChildren', v2.__get__numChildren, function () {});
v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex);
ASSetPropFlags(mx.core.View.prototype, null, 1);
}
#endinitclip
}
movieClip 310 __Packages.mx.skins.Border {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.Border) {
var v1 = function () {
super();
};
mx.skins.Border = v1;
mx.skins.Border extends mx.core.UIObject;
var v2 = v1.prototype;
v2.init = function (Void) {
super.init();
};
v1.symbolName = 'Border';
v1.symbolOwner = mx.skins.Border;
v2.className = 'Border';
v2.tagBorder = 0;
v2.idNames = new Array('border_mc');
ASSetPropFlags(mx.skins.Border.prototype, null, 1);
}
#endinitclip
}
movieClip 311 __Packages.mx.skins.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.RectBorder) {
var v1 = function () {
super();
};
mx.skins.RectBorder = v1;
mx.skins.RectBorder extends mx.skins.Border;
var v2 = v1.prototype;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
};
v2.draw = function (Void) {
this.size();
};
v2.getBorderMetrics = function (Void) {
var v2 = this.offset;
if (this.__borderMetrics == undefined) {
this.__borderMetrics = {'left': v2, 'top': v2, 'right': v2, 'bottom': v2};
return this.__borderMetrics;
}
this.__borderMetrics.left = v2;
this.__borderMetrics.top = v2;
this.__borderMetrics.right = v2;
this.__borderMetrics.bottom = v2;
return this.__borderMetrics;
};
v2.__get__borderMetrics = function () {
return this.getBorderMetrics();
};
v2.drawBorder = function (Void) {};
v2.size = function (Void) {
this.drawBorder();
};
v2.setColor = function (Void) {
this.drawBorder();
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.RectBorder;
v1.version = '2.0.2.127';
v2.className = 'RectBorder';
v2.borderStyleName = 'borderStyle';
v2.borderColorName = 'borderColor';
v2.shadowColorName = 'shadowColor';
v2.highlightColorName = 'highlightColor';
v2.buttonColorName = 'buttonColor';
v2.backgroundColorName = 'backgroundColor';
v2.addProperty('borderMetrics', v2.__get__borderMetrics, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 312 __Packages.mx.managers.DepthManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.DepthManager) {
var v1 = function () {
MovieClip.prototype.createClassChildAtDepth = this.createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = this.createChildAtDepth;
MovieClip.prototype.setDepthTo = this.setDepthTo;
MovieClip.prototype.setDepthAbove = this.setDepthAbove;
MovieClip.prototype.setDepthBelow = this.setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = this.findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = this.shuffleDepths;
MovieClip.prototype.getDepthByFlag = this.getDepthByFlag;
MovieClip.prototype.buildDepthTable = this.buildDepthTable;
_global.ASSetPropFlags(MovieClip.prototype, 'createClassChildAtDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'createChildAtDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthTo', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthAbove', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthBelow', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'findNextAvailableDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'shuffleDepths', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'getDepthByFlag', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'buildDepthTable', 1);
};
mx.managers.DepthManager = v1;
var v2 = v1.prototype;
v1.sortFunction = function (a, b) {
if (a.getDepth() > b.getDepth()) {
return 1;
}
return -1;
};
v1.test = function (depth) {
if (depth == mx.managers.DepthManager.reservedDepth) {
return false;
} else {
return true;
}
};
v1.createClassObjectAtDepth = function (className, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v1.createObjectAtDepth = function (linkageName, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v2.createClassChildAtDepth = function (className, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v5 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v5 = 'up';
}
var v6;
if (v3[v2] != undefined) {
v6 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v5);
}
var v4 = this.createClassObject(className, 'depthChild' + this._childCounter++, v2, initObj);
if (v6 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v6, v3, v5);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.createChildAtDepth = function (linkageName, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v5 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v5 = 'up';
}
var v6;
if (v3[v2] != undefined) {
v6 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v5);
}
var v4 = this.createObject(linkageName, 'depthChild' + this._childCounter++, v2, initObj);
if (v6 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v6, v3, v5);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.setDepthTo = function (depthFlag) {
var v2 = this._parent.buildDepthTable();
var v3 = this._parent.getDepthByFlag(depthFlag, v2);
if (v2[v3] != undefined) {
this.shuffleDepths(MovieClip(this), v3, v2, undefined);
} else {
this.swapDepths(v3);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
this._topmost = true;
} else {
delete this._topmost;
}
};
v2.setDepthAbove = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v2 = targetInstance.getDepth() + 1;
var v3 = this._parent.buildDepthTable();
if (v3[v2] != undefined && this.getDepth() < v2) {
v2 -= 1;
}
if (v2 > mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
if (v2 == mx.managers.DepthManager.highestDepth) {
this._parent.shuffleDepths(this, v2, v3, 'down');
} else {
if (v3[v2] != undefined) {
this._parent.shuffleDepths(this, v2, v3, undefined);
} else {
this.swapDepths(v2);
}
}
};
v2.setDepthBelow = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v6 = targetInstance.getDepth() - 1;
var v3 = this._parent.buildDepthTable();
if (v3[v6] != undefined && this.getDepth() > v6) {
v6 += 1;
}
var v4 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v5;
for (v5 in v3) {
var v2 = v3[v5];
if (v2._parent != undefined) {
v4 = Math.min(v4, v2.getDepth());
}
}
if (v6 < v4) {
v6 = v4;
}
if (v6 == v4) {
this._parent.shuffleDepths(this, v6, v3, 'up');
} else {
if (v3[v6] != undefined) {
this._parent.shuffleDepths(this, v6, v3, undefined);
} else {
this.swapDepths(v6);
}
}
};
v2.findNextAvailableDepth = function (targetDepth, depthTable, direction) {
var v5 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
if (targetDepth < v5) {
targetDepth = v5;
}
if (depthTable[targetDepth] == undefined) {
return targetDepth;
}
var v1 = targetDepth;
var v2 = targetDepth;
if (direction == 'down') {
while (depthTable[v2] != undefined) {
--v2;
}
return v2;
}
while (depthTable[v1] != undefined) {
++v1;
}
return v1;
};
v2.shuffleDepths = function (subject, targetDepth, depthTable, direction) {
var v9 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v8 = v9;
var v5;
for (v5 in depthTable) {
var v7 = depthTable[v5];
if (v7._parent != undefined) {
v9 = Math.min(v9, v7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = 'up';
} else {
direction = 'down';
}
}
var v1 = new Array();
for (v5 in depthTable) {
v7 = depthTable[v5];
if (v7._parent != undefined) {
v1.push(v7);
}
}
v1.sort(mx.managers.DepthManager.sortFunction);
if (direction == 'up') {
var v3;
var v11;
while (v1.length > 0) {
v3 = v1.pop();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
v11 = subject.getDepth();
v3 = v1.pop();
var v4 = v3.getDepth();
if (v11 > v4 + 1) {
if (v4 >= 0) {
subject.swapDepths(v4 + 1);
} else {
if (v11 > v8 && v4 < v8) {
subject.swapDepths(v8);
}
}
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
} else {
if (direction == 'down') {
var v3;
while (v1.length > 0) {
v3 = v1.shift();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
var v11 = v3.getDepth();
v3 = v1.shift();
var v4 = v3.getDepth();
if (v11 < v4 - 1 && v4 > 0) {
subject.swapDepths(v4 - 1);
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
}
}
};
v2.getDepthByFlag = function (depthFlag, depthTable) {
var v2 = 0;
if (depthFlag == mx.managers.DepthManager.kTop || depthFlag == mx.managers.DepthManager.kNotopmost) {
var v5 = 0;
var v7 = false;
var v8;
for (v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
if (!v9._topmost) {
v2 = Math.max(v2, v9.getDepth());
} else {
if (!v7) {
v5 = v9.getDepth();
v7 = true;
} else {
v5 = Math.min(v5, v9.getDepth());
}
}
}
}
}
v2 += 20;
if (v7) {
if (v2 >= v5) {
v2 = v5 - 1;
}
}
} else {
if (depthFlag == mx.managers.DepthManager.kBottom) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.min(v2, v9.getDepth());
}
}
}
v2 -= 20;
} else {
if (depthFlag == mx.managers.DepthManager.kTopmost) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.max(v2, v9.getDepth());
}
}
}
v2 += 100;
}
}
}
if (v2 >= mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
var v6 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
for (v9 in depthTable) {
var v4 = depthTable[v9];
if (v4._parent != undefined) {
v6 = Math.min(v6, v4.getDepth());
}
}
if (v2 <= v6) {
v2 = v6;
}
return v2;
};
v2.buildDepthTable = function (Void) {
var v5 = new Array();
var v4;
for (v4 in this) {
var v2 = this[v4];
var v3 = typeof v2;
if (v3 == 'movieclip' || v3 == 'object' && v2.__getTextFormat != undefined) {
if (v2._parent == this) {
v5[v2.getDepth()] = v2;
}
}
}
return v5;
};
v1.reservedDepth = 1048575;
v1.highestDepth = 1048574;
v1.lowestDepth = -16383;
v1.numberOfAuthortimeLayers = 383;
v1.kCursor = 101;
v1.kTooltip = 102;
v1.kTop = 201;
v1.kBottom = 202;
v1.kTopmost = 203;
v1.kNotopmost = 204;
v1.holder = _root.createEmptyMovieClip('reserved', mx.managers.DepthManager.reservedDepth);
v1.__depthManager = new mx.managers.DepthManager();
ASSetPropFlags(mx.managers.DepthManager.prototype, null, 1);
}
#endinitclip
}
movieClip 313 __Packages.mx.core.ExternalContent {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ExternalContent) {
var v1 = function () {};
mx.core.ExternalContent = v1;
var v2 = v1.prototype;
v2.loadExternal = function (url, placeholderClassName, instanceName, depth, initProps) {
var v2;
v2 = this.createObject(placeholderClassName, instanceName, depth, initProps);
this[mx.core.View.childNameBase + this.numChildren] = v2;
if (this.prepList == undefined) {
this.prepList = new Object();
}
this.prepList[instanceName] = {'obj': v2, 'url': url, 'complete': false, 'initProps': initProps};
this.prepareToLoadMovie(v2);
return v2;
};
v2.prepareToLoadMovie = function (obj) {
obj.unloadMovie();
this.doLater(this, 'waitForUnload');
};
v2.waitForUnload = function () {
var v3;
for (v3 in this.prepList) {
var v2 = this.prepList[v3];
if (v2.obj.getBytesTotal() == 0) {
if (this.loadList == undefined) {
this.loadList = new Object();
}
this.loadList[v3] = v2;
v2.obj.loadMovie(v2.url);
delete this.prepList[v3];
this.doLater(this, 'checkLoadProgress');
} else {
this.doLater(this, 'waitForUnload');
}
}
};
v2.checkLoadProgress = function () {
var v8 = false;
var v3;
for (v3 in this.loadList) {
var v2 = this.loadList[v3];
v2.loaded = v2.obj.getBytesLoaded();
v2.total = v2.obj.getBytesTotal();
if (v2.total > 0) {
v2.obj._visible = false;
this.dispatchEvent({'type': 'progress', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
if (v2.loaded == v2.total) {
if (this.loadedList == undefined) {
this.loadedList = new Object();
}
this.loadedList[v3] = v2;
delete this.loadList[v3];
this.doLater(this, 'contentLoaded');
}
} else {
if (v2.total == -1) {
if (v2.failedOnce != undefined) {
++v2.failedOnce;
if (v2.failedOnce > 3) {
this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
delete this.loadList[v3];
false;
}
} else {
v2.failedOnce = 0;
}
}
}
v8 = true;
}
if (v8) {
this.doLater(this, 'checkLoadProgress');
}
};
v2.contentLoaded = function () {
var v4;
for (v4 in this.loadedList) {
var v2 = this.loadedList[v4];
v2.obj._visible = true;
v2.obj._complete = true;
var v3;
for (v3 in v2.initProps) {
v2.obj[v3] = v2.initProps[v3];
}
this.childLoaded(v2.obj);
this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total});
delete this.loadedList[v4];
false;
}
};
v2.convertToUIObject = function (obj) {
if (obj.setSize == undefined) {
var v2 = mx.core.UIObject.prototype;
obj.addProperty('width', v2.__get__width, null);
obj.addProperty('height', v2.__get__height, null);
obj.addProperty('left', v2.__get__left, null);
obj.addProperty('x', v2.__get__x, null);
obj.addProperty('top', v2.__get__top, null);
obj.addProperty('y', v2.__get__y, null);
obj.addProperty('right', v2.__get__right, null);
obj.addProperty('bottom', v2.__get__bottom, null);
obj.addProperty('visible', v2.__get__visible, v2.__set__visible);
obj.move = mx.core.UIObject.prototype.move;
obj.setSize = mx.core.UIObject.prototype.setSize;
obj.size = mx.core.UIObject.prototype.size;
mx.events.UIEventDispatcher.initialize(obj);
}
};
v1.enableExternalContent = function () {};
v1.classConstruct = function () {
var v1 = mx.core.View.prototype;
var v2 = mx.core.ExternalContent.prototype;
v1.loadExternal = v2.loadExternal;
v1.prepareToLoadMovie = v2.prepareToLoadMovie;
v1.waitForUnload = v2.waitForUnload;
v1.checkLoadProgress = v2.checkLoadProgress;
v1.contentLoaded = v2.contentLoaded;
v1.convertToUIObject = v2.convertToUIObject;
return true;
};
v1.classConstructed = mx.core.ExternalContent.classConstruct();
v1.ViewDependency = mx.core.View;
ASSetPropFlags(mx.core.ExternalContent.prototype, null, 1);
}
#endinitclip
}
movieClip 314 __Packages.mx.events.EventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.EventDispatcher) {
var v1 = function () {};
mx.events.EventDispatcher = v1;
var v2 = v1.prototype;
v1._removeEventListener = function (queue, event, handler) {
if (queue != undefined) {
var v4 = queue.length;
var v1;
v1 = 0;
while (v1 < v4) {
var v2 = queue[v1];
if (v2 == handler) {
queue.splice(v1, 1);
return undefined;
}
++v1;
}
}
};
v1.initialize = function (object) {
if (mx.events.EventDispatcher._fEventDispatcher == undefined) {
mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener;
object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener;
object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent;
object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchQueue = function (queueObj, eventObj) {
var v7 = '__q_' + eventObj.type;
var v4 = queueObj[v7];
if (v4 != undefined) {
var v5;
for (v5 in v4) {
var v1 = v4[v5];
var v3 = typeof v1;
if (v3 == 'object' || v3 == 'movieclip') {
if (v1.handleEvent != undefined) {
v1.handleEvent(eventObj);
}
if (v1[eventObj.type] != undefined) {
if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) {
v1[eventObj.type](eventObj);
}
}
} else {
v1.apply(queueObj, [eventObj]);
}
}
}
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(this, eventObj);
};
v2.addEventListener = function (event, handler) {
var v3 = '__q_' + event;
if (this[v3] == undefined) {
this[v3] = new Array();
}
_global.ASSetPropFlags(this, v3, 1);
mx.events.EventDispatcher._removeEventListener(this[v3], event, handler);
this[v3].push(handler);
};
v2.removeEventListener = function (event, handler) {
var v2 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v2], event, handler);
};
v1._fEventDispatcher = undefined;
v1.exceptions = {'move': 1, 'draw': 1, 'load': 1};
ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 315 __Packages.mx.events.UIEventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.UIEventDispatcher) {
var v1 = function () {
super();
};
mx.events.UIEventDispatcher = v1;
mx.events.UIEventDispatcher extends mx.events.EventDispatcher;
var v2 = v1.prototype;
v1.addKeyEvents = function (obj) {
if (obj.keyHandler == undefined) {
obj.keyHandler = new Object();
var v1 = obj.keyHandler;
v1.owner = obj;
v1.onKeyDown = mx.events.UIEventDispatcher._fEventDispatcher.onKeyDown;
v1.onKeyUp = mx.events.UIEventDispatcher._fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
};
v1.removeKeyEvents = function (obj) {
Key.removeListener(obj.keyHandler);
};
v1.addLoadEvents = function (obj) {
if (obj.onLoad == undefined) {
obj.onLoad = mx.events.UIEventDispatcher._fEventDispatcher.onLoad;
obj.onUnload = mx.events.UIEventDispatcher._fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, 'onLoad');
}
}
};
v1.removeLoadEvents = function (obj) {
delete obj.onLoad;
delete obj.onUnload;
};
v1.initialize = function (obj) {
if (mx.events.UIEventDispatcher._fEventDispatcher == undefined) {
mx.events.UIEventDispatcher._fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = mx.events.UIEventDispatcher._fEventDispatcher.__addEventListener;
obj.__origAddEventListener = mx.events.UIEventDispatcher._fEventDispatcher.addEventListener;
obj.removeEventListener = mx.events.UIEventDispatcher._fEventDispatcher.removeEventListener;
obj.dispatchEvent = mx.events.UIEventDispatcher._fEventDispatcher.dispatchEvent;
obj.dispatchQueue = mx.events.UIEventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(mx.events.EventDispatcher, eventObj);
this.dispatchQueue(this, eventObj);
};
v2.onKeyDown = function (Void) {
this.owner.dispatchEvent({'type': 'keyDown', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onKeyUp = function (Void) {
this.owner.dispatchEvent({'type': 'keyUp', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onLoad = function (Void) {
if (this.__sentLoadEvent != true) {
this.dispatchEvent({'type': 'load'});
}
this.__sentLoadEvent = true;
};
v2.onUnload = function (Void) {
this.dispatchEvent({'type': 'unload'});
};
v2.__addEventListener = function (event, handler) {
this.__origAddEventListener(event, handler);
var v3 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v3) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v2 = v3[v5][0];
mx.events.UIEventDispatcher[v2](this);
}
}
};
v2.removeEventListener = function (event, handler) {
var v6 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v6], event, handler);
if (this[v6].length == 0) {
var v2 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v2) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v3 = v2[v5][1];
mx.events.UIEventDispatcher[v2[v5][1]](this);
}
}
}
};
v1.keyEvents = {'keyDown': 1, 'keyUp': 1};
v1.loadEvents = {'load': 1, 'unload': 1};
v1.lowLevelEvents = {'keyEvents': ['addKeyEvents', 'removeKeyEvents'], 'loadEvents': ['addLoadEvents', 'removeLoadEvents']};
v1._fEventDispatcher = undefined;
ASSetPropFlags(mx.events.UIEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 316 __Packages.mx.core.ScrollView {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ScrollView) {
var v1 = function () {
super();
};
mx.core.ScrollView = v1;
mx.core.ScrollView extends mx.core.View;
var v2 = v1.prototype;
v2.getHScrollPolicy = function (Void) {
return this.__hScrollPolicy;
};
v2.setHScrollPolicy = function (policy) {
this.__hScrollPolicy = policy.toLowerCase();
if (this.__width == undefined) {
return undefined;
}
this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding);
};
v2.__get__hScrollPolicy = function () {
return this.getHScrollPolicy();
};
v2.__set__hScrollPolicy = function (policy) {
this.setHScrollPolicy(policy);
return this.__get__hScrollPolicy();
};
v2.getVScrollPolicy = function (Void) {
return this.__vScrollPolicy;
};
v2.setVScrollPolicy = function (policy) {
this.__vScrollPolicy = policy.toLowerCase();
if (this.__width == undefined) {
return undefined;
}
this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding);
};
v2.__get__vScrollPolicy = function () {
return this.getVScrollPolicy();
};
v2.__set__vScrollPolicy = function (policy) {
this.setVScrollPolicy(policy);
return this.__get__vScrollPolicy();
};
v2.__get__hPosition = function () {
return this.getHPosition();
};
v2.__set__hPosition = function (pos) {
this.setHPosition(pos);
return this.__get__hPosition();
};
v2.getHPosition = function (Void) {
return this.__hPosition;
};
v2.setHPosition = function (pos) {
this.hScroller.__set__scrollPosition(pos);
this.__hPosition = pos;
};
v2.__get__vPosition = function () {
return this.getVPosition();
};
v2.__set__vPosition = function (pos) {
this.setVPosition(pos);
return this.__get__vPosition();
};
v2.getVPosition = function (Void) {
return this.__vPosition;
};
v2.setVPosition = function (pos) {
this.vScroller.__set__scrollPosition(pos);
this.__vPosition = pos;
};
v2.__get__maxVPosition = function () {
var v2 = this.vScroller.maxPos;
return (v2 == undefined) ? 0 : v2;
};
v2.__get__maxHPosition = function () {
return this.getMaxHPosition();
};
v2.__set__maxHPosition = function (pos) {
this.setMaxHPosition(pos);
return this.__get__maxHPosition();
};
v2.getMaxHPosition = function (Void) {
if (this.__maxHPosition != undefined) {
return this.__maxHPosition;
}
var v2 = this.hScroller.maxPos;
return (v2 == undefined) ? 0 : v2;
};
v2.setMaxHPosition = function (pos) {
this.__maxHPosition = pos;
};
v2.setScrollProperties = function (colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
var v3 = this.getViewMetrics();
if (hPadding == undefined) {
hPadding = 0;
}
if (wPadding == undefined) {
wPadding = 0;
}
this.propsInited = true;
delete this.scrollAreaChanged;
this.heightPadding = hPadding;
this.widthPadding = wPadding;
if (colWidth == 0) {
colWidth = 1;
}
if (rwHeight == 0) {
rwHeight = 1;
}
var v4 = Math.ceil((this.__width - v3.left - v3.right - this.widthPadding) / colWidth);
if (this.__hScrollPolicy == 'on' || v4 < colCount && this.__hScrollPolicy == 'auto') {
if (this.hScroller == undefined || this.specialHScrollCase) {
delete this.specialHScrollCase;
this.hScroller = mx.controls.scrollClasses.ScrollBar(this.createObject('HScrollBar', 'hSB', 1001));
this.hScroller.__set__lineScrollSize(20);
this.hScroller.scrollHandler = this.scrollProxy;
this.hScroller.__set__scrollPosition(this.__hPosition);
this.scrollAreaChanged = true;
}
if (this.numberOfCols != colCount || this.columnWidth != colWidth || this.viewableColumns != v4 || this.scrollAreaChanged) {
this.hScroller.setScrollProperties(v4, 0, colCount - v4);
this.viewableColumns = v4;
this.numberOfCols = colCount;
this.columnWidth = colWidth;
}
} else {
if ((this.__hScrollPolicy == 'auto' || this.__hScrollPolicy == 'off') && this.hScroller != undefined) {
this.hScroller.removeMovieClip();
delete this.hScroller;
this.scrollAreaChanged = true;
}
}
if (this.heightPadding == undefined) {
this.heightPadding = 0;
}
var v5 = Math.ceil((this.__height - v3.top - v3.bottom - this.heightPadding) / rwHeight);
var v8 = (this.__height - v3.top - v3.bottom) % rwHeight != 0;
if (this.__vScrollPolicy == 'on' || v5 < rwCount + v8 && this.__vScrollPolicy == 'auto') {
if (this.vScroller == undefined) {
this.vScroller = mx.controls.scrollClasses.ScrollBar(this.createObject('VScrollBar', 'vSB', 1002));
this.vScroller.scrollHandler = this.scrollProxy;
this.vScroller.__set__scrollPosition(this.__vPosition);
this.scrollAreaChanged = true;
this.rowH = 0;
}
if (this.rowC != rwCount || this.rowH != rwHeight || this.viewableRows + v8 != v5 + this.oldRndUp || this.scrollAreaChanged) {
this.vScroller.setScrollProperties(v5, 0, rwCount - v5 + v8);
this.viewableRows = v5;
this.rowC = rwCount;
this.rowH = rwHeight;
this.oldRndUp = v8;
}
} else {
if ((this.__vScrollPolicy == 'auto' || this.__vScrollPolicy == 'off') && this.vScroller != undefined) {
this.vScroller.removeMovieClip();
delete this.vScroller;
this.scrollAreaChanged = true;
}
}
this.numberOfCols = colCount;
this.columnWidth = colWidth;
if (this.scrollAreaChanged) {
this.doLayout();
var v2 = this.__viewMetrics;
var v12 = (this.owner != undefined) ? this.owner : this;
v12.layoutContent(v2.left, v2.top, this.columnWidth * this.numberOfCols - v2.left - v2.right, this.rowC * this.rowH, this.__width - v2.left - v2.right, this.__height - v2.top - v2.bottom);
}
if (!this.enabled) {
this.setEnabled(false);
}
};
v2.getViewMetrics = function (Void) {
var v2 = this.__viewMetrics;
var v3 = this.border_mc.__get__borderMetrics();
v2.left = v3.left;
v2.right = v3.right;
if (this.vScroller != undefined) {
v2.right += this.vScroller.minWidth;
}
v2.top = v3.top;
if (this.hScroller == undefined && (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == true)) {
this.hScroller = mx.controls.scrollClasses.ScrollBar(this.createObject('FHScrollBar', 'hSB', 1001));
this.specialHScrollCase = true;
}
v2.bottom = v3.bottom;
if (this.hScroller != undefined) {
v2.bottom += this.hScroller.minHeight;
}
return v2;
};
v2.doLayout = function (Void) {
var v10 = this.__get__width();
var v8 = this.__get__height();
delete this.invLayout;
this.__viewMetrics = this.getViewMetrics();
var v3 = this.__viewMetrics;
var v2 = v3.left;
var v9 = v3.right;
var v5 = v3.top;
var v11 = v3.bottom;
var v7 = this.hScroller;
var v6 = this.vScroller;
v7.setSize(v10 - v2 - v9, v7.minHeight + 0);
v7.move(v2, v8 - v11);
v6.setSize(v6.minWidth + 0, v8 - v5 - v11);
v6.move(v10 - v9, v5);
var v4 = this.mask_mc;
v4._width = v10 - v2 - v9;
v4._height = v8 - v5 - v11;
v4._x = v2;
v4._y = v5;
};
v2.createChild = function (id, name, props) {
var v2 = super.createChild(id, name, props);
return v2;
};
v2.init = function (Void) {
super.init();
this.__viewMetrics = new Object();
if (_global.__SVMouseWheelManager == undefined) {
_global.__SVMouseWheelManager = new Object();
var v4 = _global.__SVMouseWheelManager;
v4.onMouseWheel = this.__onMouseWheel;
Mouse.addListener(v4);
}
};
v2.__onMouseWheel = function (delta, scrollTarget) {
var v4 = scrollTarget;
var v1;
while (v4 != undefined) {
if (v4 instanceof mx.core.ScrollView) {
v1 = v4;
false;
}
v4 = v4._parent;
}
if (v1 != undefined) {
v4 = delta <= 0 ? 1 : -1;
var v2 = v1.vScroller.lineScrollSize;
if (v2 == undefined) {
v2 = 0;
}
v2 = Math.max(Math.abs(delta), v2);
var v3 = v1.vPosition + v2 * v4;
v1.vPosition = Math.max(0, Math.min(v3, v1.maxVPosition));
v1.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': v1.vPosition});
}
};
v2.createChildren = function (Void) {
super.createChildren();
if (this.mask_mc == undefined) {
this.mask_mc = this.createObject('BoundingBox', 'mask_mc', this.MASK_DEPTH);
}
this.mask_mc._visible = false;
};
v2.invalidate = function (Void) {
super.invalidate();
};
v2.draw = function (Void) {
this.size();
};
v2.size = function (Void) {
super.size();
};
v2.scrollProxy = function (docObj) {
this._parent.onScroll(docObj);
};
v2.onScroll = function (docObj) {
var v3 = docObj.target;
var v2 = v3.scrollPosition;
if (v3 == this.vScroller) {
var v4 = 'vertical';
var v5 = '__vPosition';
} else {
var v4 = 'horizontal';
var v5 = '__hPosition';
}
this[v5] = v2;
this.dispatchEvent({'type': 'scroll', 'direction': v4, 'position': v2});
};
v2.setEnabled = function (v) {
this.hScroller.enabled = v;
this.vScroller.enabled = this.hScroller.enabled;
};
v2.childLoaded = function (obj) {
super.childLoaded(obj);
obj.setMask(this.mask_mc);
};
v1.symbolName = 'ScrollView';
v1.symbolOwner = mx.core.ScrollView;
v1.version = '2.0.2.127';
v2.className = 'ScrollView';
v2.__vScrollPolicy = 'auto';
v2.__hScrollPolicy = 'off';
v2.__vPosition = 0;
v2.__hPosition = 0;
v2.numberOfCols = 0;
v2.rowC = 0;
v2.columnWidth = 1;
v2.rowH = 0;
v2.heightPadding = 0;
v2.widthPadding = 0;
v2.MASK_DEPTH = 10000;
v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition);
v2.addProperty('hScrollPolicy', v2.__get__hScrollPolicy, v2.__set__hScrollPolicy);
v2.addProperty('maxHPosition', v2.__get__maxHPosition, v2.__set__maxHPosition);
v2.addProperty('maxVPosition', v2.__get__maxVPosition, function () {});
v2.addProperty('vPosition', v2.__get__vPosition, v2.__set__vPosition);
v2.addProperty('vScrollPolicy', v2.__get__vScrollPolicy, v2.__set__vScrollPolicy);
ASSetPropFlags(mx.core.ScrollView.prototype, null, 1);
}
#endinitclip
}
movieClip 317 __Packages.mx.controls.scrollClasses.ScrollBar {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.scrollClasses) {
_global.mx.controls.scrollClasses = new Object();
}
if (!_global.mx.controls.scrollClasses.ScrollBar) {
var v1 = function () {
super();
};
mx.controls.scrollClasses.ScrollBar = v1;
mx.controls.scrollClasses.ScrollBar extends mx.core.UIComponent;
var v2 = v1.prototype;
v2.__get__scrollPosition = function () {
return this._scrollPosition;
};
v2.__set__scrollPosition = function (pos) {
this._scrollPosition = pos;
if (this.isScrolling != true) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
var v3 = (pos - this.minPos) * (this.scrollTrack_mc.height - this.scrollThumb_mc._height) / (this.maxPos - this.minPos) + this.scrollTrack_mc.top;
this.scrollThumb_mc.move(0, v3);
}
return this.__get__scrollPosition();
};
v2.__get__pageScrollSize = function () {
return this.largeScroll;
};
v2.__set__pageScrollSize = function (lScroll) {
this.largeScroll = lScroll;
return this.__get__pageScrollSize();
};
v2.__set__lineScrollSize = function (sScroll) {
this.smallScroll = sScroll;
return this.__get__lineScrollSize();
};
v2.__get__lineScrollSize = function () {
return this.smallScroll;
};
v2.__get__virtualHeight = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
this._scrollPosition = 0;
this.tabEnabled = false;
this.focusEnabled = false;
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
v2.createChildren = function (Void) {
if (this.scrollTrack_mc == undefined) {
this.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrack, this.scrollTrackName);
}
this.scrollTrack_mc.visible = false;
var v3 = new Object();
v3.enabled = false;
v3.preset = mx.controls.SimpleButton.falseDisabled;
v3.initProperties = 0;
v3.autoRepeat = true;
v3.tabEnabled = false;
var v2;
if (this.upArrow_mc == undefined) {
v2 = this.createButton(this.upArrowName, 'upArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDUpArrow, v3);
}
v2.buttonDownHandler = this.onUpArrow;
v2.clickHandler = this.onScrollChanged;
this._minHeight = v2.height;
this._minWidth = v2.width;
if (this.downArrow_mc == undefined) {
v2 = this.createButton(this.downArrowName, 'downArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDDownArrow, v3);
}
v2.buttonDownHandler = this.onDownArrow;
v2.clickHandler = this.onScrollChanged;
this._minHeight += v2.height;
};
v2.createButton = function (linkageName, id, skinID, o) {
if (skinID == mx.controls.scrollClasses.ScrollBar.skinIDUpArrow) {
o.falseUpSkin = this.upArrowUpName;
o.falseDownSkin = this.upArrowDownName;
o.falseOverSkin = this.upArrowOverName;
var v3 = this.createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return v3;
}
o.falseUpSkin = this.downArrowUpName;
o.falseDownSkin = this.downArrowDownName;
o.falseOverSkin = this.downArrowOverName;
var v3 = this.createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return v3;
};
v2.createThumb = function (Void) {
var v2 = new Object();
v2.validateNow = true;
v2.tabEnabled = false;
v2.leftSkin = this.thumbTopName;
v2.middleSkin = this.thumbMiddleName;
v2.rightSkin = this.thumbBottomName;
v2.gripSkin = this.thumbGripName;
this.createClassObject(mx.controls.scrollClasses.ScrollThumb, 'scrollThumb_mc', mx.controls.scrollClasses.ScrollBar.skinIDThumb, v2);
};
v2.setScrollProperties = function (pSize, mnPos, mxPos, ls) {
var v4;
var v2 = this.scrollTrack_mc;
this.pageSize = pSize;
this.largeScroll = (ls != undefined && ls > 0) ? ls : pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this._scrollPosition = Math.max(this.minPos, this._scrollPosition);
this._scrollPosition = Math.min(this.maxPos, this._scrollPosition);
if (this.maxPos - this.minPos > 0 && this.enabled) {
var v5 = this._scrollPosition;
if (!this.initializing) {
this.upArrow_mc.enabled = true;
this.downArrow_mc.enabled = true;
}
v2.onDragOver = this.startTrackScroller;
v2.onPress = v2.onDragOver;
v2.onRelease = this.releaseScrolling;
v2.stopScrolling = this.stopScrolling;
v2.onDragOut = v2.stopScrolling;
v2.onReleaseOutside = this.releaseScrolling;
v2.useHandCursor = false;
if (this.scrollThumb_mc == undefined) {
this.createThumb();
}
var v3 = this.scrollThumb_mc;
if (this.scrollTrackOverName.length > 0) {
v2.onRollOver = this.trackOver;
v2.onRollOut = this.trackOut;
}
v4 = (this.pageSize / (this.maxPos - this.minPos + this.pageSize)) * v2.height;
if (v4 < v3.minHeight) {
if (v2.height < v3.minHeight) {
v3.__set__visible(false);
} else {
v4 = v3.minHeight;
v3.__set__visible(true);
v3.setSize(this._minWidth, v3.minHeight + 0);
}
} else {
v3.__set__visible(true);
v3.setSize(this._minWidth, v4);
}
v3.setRange(this.upArrow_mc.__get__height() + 0, this.__get__virtualHeight() - this.downArrow_mc.__get__height() - v3.__get__height(), this.minPos, this.maxPos);
v5 = Math.min(v5, this.maxPos);
this.__set__scrollPosition(Math.max(v5, this.minPos));
} else {
this.scrollThumb_mc.__set__visible(false);
if (!this.initializing) {
this.upArrow_mc.enabled = false;
this.downArrow_mc.enabled = false;
}
delete v2.onPress;
delete v2.onDragOver;
delete v2.onRelease;
delete v2.onDragOut;
delete v2.onRollOver;
delete v2.onRollOut;
delete v2.onReleaseOutside;
}
if (this.initializing) {
this.scrollThumb_mc.__set__visible(false);
}
};
v2.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll);
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
this.scrollTrack_mc.visible = true;
this.upArrow_mc.__set__visible(true);
this.downArrow_mc.__set__visible(true);
}
this.size();
};
v2.size = function (Void) {
if (this._height == 1) {
return undefined;
}
if (this.upArrow_mc == undefined) {
return undefined;
}
var v3 = this.upArrow_mc.__get__height();
var v2 = this.downArrow_mc.__get__height();
this.upArrow_mc.move(0, 0);
var v4 = this.scrollTrack_mc;
v4._y = v3;
v4._height = this.__get__virtualHeight() - v3 - v2;
this.downArrow_mc.move(0, this.__get__virtualHeight() - v2);
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll);
};
v2.dispatchScrollEvent = function (detail) {
this.dispatchEvent({'type': 'scroll', 'detail': detail});
};
v2.isScrollBarKey = function (k) {
if (k == 36) {
if (this.__get__scrollPosition() != 0) {
this.__set__scrollPosition(0);
this.dispatchScrollEvent(this.minMode);
}
return true;
return false;
}
if (k == 35) {
if (this.__get__scrollPosition() < this.maxPos) {
this.__set__scrollPosition(this.maxPos);
this.dispatchScrollEvent(this.maxMode);
}
return true;
}
return false;
};
v2.scrollIt = function (inc, mode) {
var v3 = this.smallScroll;
if (inc != 'Line') {
v3 = (this.largeScroll == 0) ? this.pageSize : this.largeScroll;
}
var v2 = this._scrollPosition + mode * v3;
if (v2 > this.maxPos) {
v2 = this.maxPos;
} else {
if (v2 < this.minPos) {
v2 = this.minPos;
}
}
if (this.__get__scrollPosition() != v2) {
this.__set__scrollPosition(v2);
var v4 = mode < 0 ? this.minusMode : this.plusMode;
this.dispatchScrollEvent(inc + v4);
}
};
v2.startTrackScroller = function (Void) {
this._parent.pressFocus();
if (this._parent.scrollTrackDownName.length > 0) {
if (this._parent.scrollTrackDown_mc == undefined) {
this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackDown, this.scrollTrackDownName);
} else {
this._parent.scrollTrackDown_mc.visible = true;
}
}
this._parent.trackScroller();
this._parent.scrolling = setInterval(this._parent, 'scrollInterval', this.getStyle('repeatDelay'), 'Page', -1);
};
v2.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == 'Page') {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, 'scrollInterval', this.getStyle('repeatInterval'), inc, mode);
};
v2.trackScroller = function (Void) {
if (this.scrollThumb_mc._y + this.scrollThumb_mc.__get__height() < this._ymouse) {
this.scrollIt('Page', 1);
} else {
if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt('Page', -1);
}
}
};
v2.dispatchScrollChangedEvent = function (Void) {
this.dispatchEvent({'type': 'scrollChanged'});
};
v2.stopScrolling = function (Void) {
clearInterval(this._parent.scrolling);
this._parent.scrollTrackDown_mc.visible = false;
};
v2.releaseScrolling = function (Void) {
this._parent.releaseFocus();
this.stopScrolling();
this._parent.dispatchScrollChangedEvent();
};
v2.trackOver = function (Void) {
if (this._parent.scrollTrackOverName.length > 0) {
if (this._parent.scrollTrackOver_mc == undefined) {
this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackOver, this.scrollTrackOverName);
} else {
this._parent.scrollTrackOver_mc.visible = true;
}
}
};
v2.trackOut = function (Void) {
this._parent.scrollTrackOver_mc.visible = false;
};
v2.onUpArrow = function (Void) {
this._parent.scrollIt('Line', -1);
};
v2.onDownArrow = function (Void) {
this._parent.scrollIt('Line', 1);
};
v2.onScrollChanged = function (Void) {
this._parent.dispatchScrollChangedEvent();
};
v1.symbolOwner = mx.core.UIComponent;
v2.className = 'ScrollBar';
v2.minPos = 0;
v2.maxPos = 0;
v2.pageSize = 0;
v2.largeScroll = 0;
v2.smallScroll = 1;
v2._scrollPosition = 0;
v2.scrollTrackName = 'ScrollTrack';
v2.scrollTrackOverName = '';
v2.scrollTrackDownName = '';
v2.upArrowName = 'BtnUpArrow';
v2.upArrowUpName = 'ScrollUpArrowUp';
v2.upArrowOverName = 'ScrollUpArrowOver';
v2.upArrowDownName = 'ScrollUpArrowDown';
v2.downArrowName = 'BtnDownArrow';
v2.downArrowUpName = 'ScrollDownArrowUp';
v2.downArrowOverName = 'ScrollDownArrowOver';
v2.downArrowDownName = 'ScrollDownArrowDown';
v2.thumbTopName = 'ScrollThumbTopUp';
v2.thumbMiddleName = 'ScrollThumbMiddleUp';
v2.thumbBottomName = 'ScrollThumbBottomUp';
v2.thumbGripName = 'ScrollThumbGripUp';
v1.skinIDTrack = 0;
v1.skinIDTrackOver = 1;
v1.skinIDTrackDown = 2;
v1.skinIDUpArrow = 3;
v1.skinIDDownArrow = 4;
v1.skinIDThumb = 5;
v2.idNames = new Array('scrollTrack_mc', 'scrollTrackOver_mc', 'scrollTrackDown_mc', 'upArrow_mc', 'downArrow_mc');
v2.clipParameters = {'minPos': 1, 'maxPos': 1, 'pageSize': 1, 'scrollPosition': 1, 'lineScrollSize': 1, 'pageScrollSize': 1, 'visible': 1, 'enabled': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
v2.initializing = true;
v2.addProperty('lineScrollSize', v2.__get__lineScrollSize, v2.__set__lineScrollSize);
v2.addProperty('pageScrollSize', v2.__get__pageScrollSize, v2.__set__pageScrollSize);
v2.addProperty('scrollPosition', v2.__get__scrollPosition, v2.__set__scrollPosition);
v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {});
ASSetPropFlags(mx.controls.scrollClasses.ScrollBar.prototype, null, 1);
}
#endinitclip
}
movieClip 318 __Packages.mx.skins.CustomBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.CustomBorder) {
var v1 = function () {
super();
};
mx.skins.CustomBorder = v1;
mx.skins.CustomBorder extends mx.skins.Border;
var v2 = v1.prototype;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
};
v2.createChildren = function (Void) {};
v2.draw = function (Void) {
if (this.l_mc == undefined) {
var v2 = this.setSkin(mx.skins.CustomBorder.tagL, this.leftSkin);
if (this.horizontal) {
this.minHeight = this.l_mc._height;
this.minWidth = this.l_mc._width;
} else {
this.minHeight = this.l_mc._height;
this.minWidth = this.l_mc._width;
}
}
if (this.m_mc == undefined) {
this.setSkin(mx.skins.CustomBorder.tagM, this.middleSkin);
if (this.horizontal) {
this.minHeight = this.m_mc._height;
this.minWidth += this.m_mc._width;
} else {
this.minHeight += this.m_mc._height;
this.minWidth = this.m_mc._width;
}
}
if (this.r_mc == undefined) {
this.setSkin(mx.skins.CustomBorder.tagR, this.rightSkin);
if (this.horizontal) {
this.minHeight = this.r_mc._height;
this.minWidth += this.r_mc._width;
} else {
this.minHeight += this.r_mc._height;
this.minWidth = this.r_mc._width;
}
}
this.size();
};
v2.size = function (Void) {
this.l_mc.move(0, 0);
if (this.horizontal) {
this.r_mc.move(this.__get__width() - this.r_mc.width, 0);
this.m_mc.move(this.l_mc.width, 0);
this.m_mc.setSize(this.r_mc.x - this.m_mc.x, this.m_mc.height);
} else {
this.r_mc.move(0, this.__get__height() - this.r_mc.height, 0);
this.m_mc.move(0, this.l_mc.height);
this.m_mc.setSize(this.m_mc.width, this.r_mc.y - this.m_mc.y);
}
};
v1.symbolName = 'CustomBorder';
v1.symbolOwner = mx.skins.CustomBorder;
v1.version = '2.0.2.127';
v2.className = 'CustomBorder';
v1.tagL = 0;
v1.tagM = 1;
v1.tagR = 2;
v2.idNames = new Array('l_mc', 'm_mc', 'r_mc');
v2.leftSkin = 'F3PieceLeft';
v2.middleSkin = 'F3PieceMiddle';
v2.rightSkin = 'F3PieceRight';
v2.horizontal = true;
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.skins.CustomBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 319 __Packages.mx.controls.scrollClasses.ScrollThumb {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.scrollClasses) {
_global.mx.controls.scrollClasses = new Object();
}
if (!_global.mx.controls.scrollClasses.ScrollThumb) {
var v1 = function () {
super();
};
mx.controls.scrollClasses.ScrollThumb = v1;
mx.controls.scrollClasses.ScrollThumb extends mx.skins.CustomBorder;
var v2 = v1.prototype;
v2.createChildren = function (Void) {
super.createChildren();
this.useHandCursor = false;
};
v2.setRange = function (_ymin, _ymax, _datamin, _datamax) {
this.ymin = _ymin;
this.ymax = _ymax;
this.datamin = _datamin;
this.datamax = _datamax;
};
v2.dragThumb = function (Void) {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove += this._y;
if (this.scrollMove < this.ymin) {
this.scrollMove = this.ymin;
} else {
if (this.scrollMove > this.ymax) {
this.scrollMove = this.ymax;
}
}
this._parent.isScrolling = true;
this._y = this.scrollMove;
var v2 = Math.round((this.datamax - this.datamin) * (this._y - this.ymin) / (this.ymax - this.ymin)) + this.datamin;
this._parent.scrollPosition = v2;
this._parent.dispatchScrollEvent('ThumbTrack');
updateAfterEvent();
};
v2.stopDragThumb = function (Void) {
this._parent.isScrolling = false;
this._parent.dispatchScrollEvent('ThumbPosition');
this._parent.dispatchScrollChangedEvent();
delete this.onMouseMove;
};
v2.onPress = function (Void) {
this._parent.pressFocus();
this.lastY = this._ymouse;
this.onMouseMove = this.dragThumb;
super.onPress();
};
v2.onRelease = function (Void) {
this._parent.releaseFocus();
this.stopDragThumb();
super.onRelease();
};
v2.onReleaseOutside = function (Void) {
this._parent.releaseFocus();
this.stopDragThumb();
super.onReleaseOutside();
};
v2.draw = function () {
super.draw();
if (this.grip_mc == undefined) {
this.setSkin(3, this.gripSkin);
}
};
v2.size = function () {
super.size();
this.grip_mc.move((this.__get__width() - this.grip_mc.width) / 2, (this.__get__height() - this.grip_mc.height) / 2);
};
v1.symbolOwner = mx.skins.CustomBorder.symbolOwner;
v2.className = 'ScrollThumb';
v2.btnOffset = 0;
v2.horizontal = false;
v2.idNames = new Array('l_mc', 'm_mc', 'r_mc', 'grip_mc');
ASSetPropFlags(mx.controls.scrollClasses.ScrollThumb.prototype, null, 1);
}
#endinitclip
}
movieClip 320 __Packages.mx.controls.SimpleButton {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.SimpleButton) {
var v1 = function () {
super();
};
mx.controls.SimpleButton = v1;
mx.controls.SimpleButton extends mx.core.UIComponent;
var v2 = v1.prototype;
v2.init = function (Void) {
super.init();
if (this.preset == undefined) {
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
}
this.useHandCursor = false;
};
v2.createChildren = function (Void) {
if (this.preset != undefined) {
var v2 = this[this.idNames[this.preset]];
this[this.refNames[this.preset]] = v2;
this.skinName = v2;
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
this.initializing = false;
} else {
if (this.__state == true) {
this.setStateVar(true);
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
}
}
};
v2.setIcon = function (tag, linkageName) {
return this.setSkin(tag + 8, linkageName);
};
v2.changeIcon = function (tag, linkageName) {
this.linkLength = linkageName.length;
var v2 = this.stateNames[tag] + 'Icon';
this[v2] = linkageName;
this[this.idNames[tag + 8]] = v2;
this.setStateVar(this.getState());
};
v2.changeSkin = function (tag, linkageName) {
var v2 = this.stateNames[tag] + 'Skin';
this[v2] = linkageName;
this[this.idNames[tag]] = v2;
this.setStateVar(this.getState());
};
v2.viewIcon = function (varName) {
var v4 = varName + 'Icon';
var v3 = this[v4];
if (typeof v3 == 'string') {
var v5 = v3;
if (this.__emphasized) {
if (this[v3 + 'Emphasized'].length > 0) {
v3 += 'Emphasized';
}
}
if (this[v3].length == 0) {
return undefined;
}
v3 = this.setIcon(this.tagMap[v5], this[v3]);
if (v3 == undefined && _global.isLivePreview) {
v3 = this.setIcon(0, 'ButtonIcon');
}
this[v4] = v3;
}
this.iconName._visible = false;
this.iconName = v3;
this.iconName._visible = true;
};
v2.removeIcons = function () {
var v3 = 0;
while (v3 < 2) {
var v2 = 8;
while (v2 < 16) {
this.destroyObject(this.idNames[v2]);
this[this.stateNames[v2 - 8] + 'Icon'] = '';
++v2;
}
++v3;
}
this.refresh();
};
v2.setSkin = function (tag, linkageName, initobj) {
if (initobj == undefined) {
var v3 = super.setSkin(tag, linkageName, {'styleName': this});
this.calcSize(tag, v3);
return v3;
}
var v3 = super.setSkin(tag, linkageName, initobj);
this.calcSize(tag, v3);
return v3;
};
v2.calcSize = function (Void) {
this.__width = this._width;
this.__height = this._height;
};
v2.viewSkin = function (varName, initObj) {
var v3 = varName + 'Skin';
var v2 = this[v3];
if (typeof v2 == 'string') {
var v4 = v2;
if (this.__emphasized) {
if (this[v2 + 'Emphasized'].length > 0) {
v2 += 'Emphasized';
}
}
if (this[v2].length == 0) {
return undefined;
}
v2 = this.setSkin(this.tagMap[v4], this[v2], (initObj != undefined) ? initObj : {'styleName': this});
this[v3] = v2;
}
this.skinName._visible = false;
this.skinName = v2;
this.skinName._visible = true;
};
v2.showEmphasized = function (e) {
if (e && !this.__emphatic) {
if (mx.controls.SimpleButton.emphasizedStyleDeclaration != undefined) {
this.__emphaticStyleName = this.styleName;
this.styleName = mx.controls.SimpleButton.emphasizedStyleDeclaration;
}
this.__emphatic = true;
} else {
if (this.__emphatic) {
this.styleName = this.__emphaticStyleName;
}
this.__emphatic = false;
}
};
v2.refresh = function (Void) {
var v2 = this.getState();
if (this.enabled == false) {
this.viewIcon('disabled');
this.viewSkin('disabled');
} else {
this.viewSkin(this.phase);
this.viewIcon(this.phase);
}
this.setView(this.phase == 'down');
this.iconName.enabled = this.enabled;
};
v2.setView = function (offset) {
if (this.iconName == undefined) {
return undefined;
}
var v2 = offset ? this.btnOffset : 0;
this.iconName._x = (this.__width - this.iconName._width) / 2 + v2;
this.iconName._y = (this.__height - this.iconName._height) / 2 + v2;
};
v2.setStateVar = function (state) {
if (state) {
if (this.trueOverSkin.length == 0) {
this.rolloverSkin = this.tus;
} else {
this.rolloverSkin = this.trs;
}
if (this.trueOverIcon.length == 0) {
this.rolloverIcon = this.tui;
} else {
this.rolloverIcon = this.tri;
}
this.upSkin = this.tus;
this.downSkin = this.tds;
this.disabledSkin = this.dts;
this.upIcon = this.tui;
this.downIcon = this.tdi;
this.disabledIcon = this.dti;
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
} else {
this.rolloverSkin = this.frs;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
} else {
this.rolloverIcon = this.fri;
}
this.upSkin = this.fus;
this.downSkin = this.fds;
this.disabledSkin = this.dfs;
this.upIcon = this.fui;
this.downIcon = this.fdi;
this.disabledIcon = this.dfi;
}
this.__state = state;
};
v2.setState = function (state) {
if (state != this.__state) {
this.setStateVar(state);
this.invalidate();
}
};
v2.size = function (Void) {
this.refresh();
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
this.skinName.visible = true;
this.iconName.visible = true;
}
this.size();
};
v2.getState = function (Void) {
return this.__state;
};
v2.setToggle = function (val) {
this.__toggle = val;
if (this.__toggle == false) {
this.setState(false);
}
};
v2.getToggle = function (Void) {
return this.__toggle;
};
v2.__set__toggle = function (val) {
this.setToggle(val);
return this.__get__toggle();
};
v2.__get__toggle = function () {
return this.getToggle();
};
v2.__set__value = function (val) {
this.setSelected(val);
return this.__get__value();
};
v2.__get__value = function () {
return this.getSelected();
};
v2.__set__selected = function (val) {
this.setSelected(val);
return this.__get__selected();
};
v2.__get__selected = function () {
return this.getSelected();
};
v2.setSelected = function (val) {
if (this.__toggle) {
this.setState(val);
} else {
this.setState(this.initializing ? val : this.__state);
}
};
v2.getSelected = function () {
return this.__state;
};
v2.setEnabled = function (val) {
if (this.enabled != val) {
super.setEnabled(val);
this.invalidate();
}
};
v2.onPress = function (Void) {
this.pressFocus();
this.phase = 'down';
this.refresh();
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
this.interval = setInterval(this, 'onPressDelay', this.getStyle('repeatDelay'));
}
};
v2.onPressDelay = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
clearInterval(this.interval);
this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval'));
}
};
v2.onPressRepeat = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
updateAfterEvent();
};
v2.onRelease = function (Void) {
this.releaseFocus();
this.phase = 'rollover';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
if (this.getToggle()) {
this.setState(!this.getState());
} else {
this.refresh();
}
this.dispatchEvent({'type': 'click'});
};
v2.onDragOut = function (Void) {
this.phase = 'up';
this.refresh();
this.dispatchEvent({'type': 'buttonDragOut'});
};
v2.onDragOver = function (Void) {
if (this.phase != 'up') {
this.onPress();
return undefined;
} else {
this.phase = 'down';
this.refresh();
}
};
v2.onReleaseOutside = function (Void) {
this.releaseFocus();
this.phase = 'up';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
};
v2.onRollOver = function (Void) {
this.phase = 'rollover';
this.refresh();
};
v2.onRollOut = function (Void) {
this.phase = 'up';
this.refresh();
};
v2.getLabel = function (Void) {
return this.fui.text;
};
v2.setLabel = function (val) {
if (typeof this.fui == 'string') {
this.createLabel('fui', 8, val);
this.fui.styleName = this;
} else {
this.fui.text = val;
}
var v4 = this.fui._getTextFormat();
var v2 = v4.getTextExtent2(val);
this.fui._width = v2.width + 5;
this.fui._height = v2.height + 5;
this.iconName = this.fui;
this.setView(this.__state);
};
v2.__get__emphasized = function () {
return this.__emphasized;
};
v2.__set__emphasized = function (val) {
this.__emphasized = val;
var v2 = 0;
while (v2 < 8) {
this[this.idNames[v2]] = this.stateNames[v2] + 'Skin';
if (typeof this[this.idNames[v2 + 8]] == 'movieclip') {
this[this.idNames[v2 + 8]] = this.stateNames[v2] + 'Icon';
}
++v2;
}
this.showEmphasized(this.__emphasized);
this.setStateVar(this.__state);
this.invalidateStyle();
return this.__get__emphasized();
};
v2.keyDown = function (e) {
if (e.code == 32) {
this.onPress();
}
};
v2.keyUp = function (e) {
if (e.code == 32) {
this.onRelease();
}
};
v2.onKillFocus = function (newFocus) {
super.onKillFocus();
if (this.phase != 'up') {
this.phase = 'up';
this.refresh();
}
};
v1.symbolName = 'SimpleButton';
v1.symbolOwner = mx.controls.SimpleButton;
v1.version = '2.0.2.127';
v2.className = 'SimpleButton';
v2.style3dInset = 4;
v2.btnOffset = 1;
v2.__toggle = false;
v2.__state = false;
v2.__emphasized = false;
v2.__emphatic = false;
v1.falseUp = 0;
v1.falseDown = 1;
v1.falseOver = 2;
v1.falseDisabled = 3;
v1.trueUp = 4;
v1.trueDown = 5;
v1.trueOver = 6;
v1.trueDisabled = 7;
v2.falseUpSkin = 'SimpleButtonUp';
v2.falseDownSkin = 'SimpleButtonIn';
v2.falseOverSkin = '';
v2.falseDisabledSkin = 'SimpleButtonUp';
v2.trueUpSkin = 'SimpleButtonIn';
v2.trueDownSkin = '';
v2.trueOverSkin = '';
v2.trueDisabledSkin = 'SimpleButtonIn';
v2.falseUpIcon = '';
v2.falseDownIcon = '';
v2.falseOverIcon = '';
v2.falseDisabledIcon = '';
v2.trueUpIcon = '';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = '';
v2.phase = 'up';
v2.fui = 'falseUpIcon';
v2.fus = 'falseUpSkin';
v2.fdi = 'falseDownIcon';
v2.fds = 'falseDownSkin';
v2.frs = 'falseOverSkin';
v2.fri = 'falseOverIcon';
v2.dfi = 'falseDisabledIcon';
v2.dfs = 'falseDisabledSkin';
v2.tui = 'trueUpIcon';
v2.tus = 'trueUpSkin';
v2.tdi = 'trueDownIcon';
v2.tds = 'trueDownSkin';
v2.trs = 'trueOverSkin';
v2.tri = 'trueOverIcon';
v2.dts = 'trueDisabledSkin';
v2.dti = 'trueDisabledIcon';
v2.rolloverSkin = mx.controls.SimpleButton.prototype.frs;
v2.rolloverIcon = mx.controls.SimpleButton.prototype.fri;
v2.upSkin = mx.controls.SimpleButton.prototype.fus;
v2.downSkin = mx.controls.SimpleButton.prototype.fds;
v2.disabledSkin = mx.controls.SimpleButton.prototype.dfs;
v2.upIcon = mx.controls.SimpleButton.prototype.fui;
v2.downIcon = mx.controls.SimpleButton.prototype.fdi;
v2.disabledIcon = mx.controls.SimpleButton.prototype.dfi;
v2.initializing = true;
v2.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti'];
v2.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled'];
v2.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin'];
v2.tagMap = {'falseUpSkin': 0, 'falseDownSkin': 1, 'falseOverSkin': 2, 'falseDisabledSkin': 3, 'trueUpSkin': 4, 'trueDownSkin': 5, 'trueOverSkin': 6, 'trueDisabledSkin': 7, 'falseUpIcon': 0, 'falseDownIcon': 1, 'falseOverIcon': 2, 'falseDisabledIcon': 3, 'trueUpIcon': 4, 'trueDownIcon': 5, 'trueOverIcon': 6, 'trueDisabledIcon': 7};
v2.addProperty('emphasized', v2.__get__emphasized, v2.__set__emphasized);
v2.addProperty('selected', v2.__get__selected, v2.__set__selected);
v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle);
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1);
}
#endinitclip
}
movieClip 321 __Packages.mx.containers.Window {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.containers) {
_global.mx.containers = new Object();
}
if (!_global.mx.containers.Window) {
var v1 = function () {
super();
};
mx.containers.Window = v1;
mx.containers.Window extends mx.core.ScrollView;
var v2 = v1.prototype;
v2.__set__contentPath = function (scrollableContent) {
if (!this.initializing) {
if (scrollableContent == undefined) {
this.destroyChildAt(0);
} else {
if (this[mx.core.View.childNameBase + 0] != undefined) {
this.destroyChildAt(0);
}
this.createChild(scrollableContent, 'content', {'styleName': this});
}
}
this.__contentPath = scrollableContent;
return this.__get__contentPath();
};
v2.__get__contentPath = function () {
return this.__contentPath;
};
v2.init = function (Void) {
super.init();
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
v2.delegateClick = function (obj) {
this._parent.dispatchEvent({'type': 'click'});
};
v2.startDragging = function (Void) {
if (this.modalWindow == undefined) {
var v2 = this._parent.createChildAtDepth('BoundingBox', mx.managers.DepthManager.kTop, {'_visible': false});
this.swapDepths(v2);
v2.removeMovieClip();
}
this.regX = this._xmouse;
this.regY = this._ymouse;
this.onMouseMove = this.dragTracking;
};
v2.stopDragging = function (Void) {
delete this.onMouseMove;
};
v2.dragTracking = function () {
var v5 = this._parent._xmouse - this.regX;
var v4 = this._parent._ymouse - this.regY;
var v3 = 5;
var v2 = mx.managers.SystemManager.__get__screen();
if (v5 < v2.x - this.regX + v3) {
v5 = v2.x - this.regX + v3;
}
if (v5 > v2.width + v2.x - (this.regX + v3)) {
v5 = v2.width + v2.x - (this.regX + v3);
}
if (v4 < v2.y - this.regY + v3) {
v4 = v2.y - this.regY + v3;
}
if (v4 > v2.height + v2.y - (this.regY + v3)) {
v4 = v2.height + v2.y - (this.regY + v3);
}
this.move(v5, v4);
updateAfterEvent();
};
v2.createChildren = function (Void) {
super.createChildren();
if (this.back_mc == undefined) {
this.createClassObject(mx.core.UIObject, 'back_mc', 1);
this.back_mc.createObject(this.skinTitleBackground, 'back_mc', 0);
}
this.back_mc.visible = false;
this.depth = 3;
var v6 = new Object();
this.back_mc.useHandCursor = false;
this.back_mc.onPress = function () {
if (this._parent.enabled) {
this._parent.startDragging();
}
};
this.back_mc.onRelease = function () {
var v2 = this._parent;
v2.stopDragging();
};
this.back_mc.onReleaseOutside = this.back_mc.onRelease;
this.back_mc.onRollOut = this.back_mc.onRelease;
this.back_mc.onDragOut = this.back_mc.onRelease;
this.back_mc.tabEnabled = false;
if (this.back_mc.title_mc == undefined) {
this.back_mc.createLabel('title_mc', 1, this.__get__title());
var v4 = this.back_mc.title_mc;
if (this.titleStyleDeclaration == undefined) {
v4.fontSize = 10;
v4.color = 16777215;
v4.fontWeight = 'bold';
} else {
v4.styleName = this.titleStyleDeclaration;
}
v4.invalidateStyle();
} else {
this.back_mc.title_mc.text = this.title;
}
var v3 = new Object();
v3.falseUpSkin = this.skinCloseUp;
v3.falseOverSkin = this.skinCloseOver;
v3.falseDownSkin = this.skinCloseDown;
v3.falseDisabledSkin = this.skinCloseDisabled;
v3.tabEnabled = false;
this.createClassObject(mx.controls.SimpleButton, 'button_mc', 2, v3);
this.button_mc.clickHandler = this.delegateClick;
this.button_mc.__set__visible(false);
if (this.validateNow) {
this.redraw(true);
} else {
this.invalidate();
}
};
v2.__get__title = function () {
return this._title;
};
v2.__set__title = function (s) {
this._title = s;
this.back_mc.title_mc.text = s;
if (!this.initializing) {
this.draw();
}
return this.__get__title();
};
v2.setEnabled = function (enable) {
super.setEnabled(enable);
this.button_mc.enabled = enable;
this._child0.enabled = enable;
};
v2.getComponentCount = function (Void) {
return 1;
};
v2.getComponentRect = function (container) {
if (container == 1) {
var v3 = this.border_mc.__get__borderMetrics();
var v2 = new Object();
v2.x = v3.left;
v2.y = v3.top + this.back_mc.height;
v2.width = this.__get__width() - v2.x - v3.right;
v2.height = this.__get__height() - v2.y - v3.bottom;
return v2;
}
return undefined;
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
if (this.__contentPath != undefined) {
this.__set__contentPath(this.__contentPath);
}
this._child0.visible = true;
this.border_mc.__set__visible(true);
this.back_mc.visible = true;
}
this.size();
};
v2.getViewMetrics = function (Void) {
var v3 = super.getViewMetrics();
v3.top += this.back_mc.height;
return v3;
};
v2.doLayout = function (Void) {
super.doLayout();
var v3 = this.border_mc.__get__borderMetrics();
v3.right += (this.vScroller.__get__visible() == true) ? this.vScroller.__get__width() : 0;
v3.bottom += (this.hScroller.__get__visible() == true) ? this.hScroller.__get__height() : 0;
var v4 = v3.left;
var v6 = v3.top;
this.back_mc.move(v4, v6);
this.back_mc.back_mc.setSize(this.__get__width() - v4 - v3.right, this.back_mc.height);
this._child0.move(v4, v6 + this.back_mc.height);
if (this._child0.size != mx.core.UIObject.prototype.size) {
this._child0.setSize(this.__get__width() - v4 - v3.right, this.__get__height() - v6 - this.back_mc.height - v3.bottom);
}
this.button_mc.__set__visible(this.closeButton == true);
this.button_mc.move(this.__get__width() - v4 - v4 - this.button_mc.__get__width(), (this.back_mc.height - this.button_mc.__get__height()) / 2 + v6);
var v7 = this.back_mc.title_mc.textHeight;
var v5 = (this.back_mc.height - v7 - 4) / 2;
this.back_mc.title_mc.move(v5, v5 - 1);
this.back_mc.title_mc.setSize(this.__get__width() - v5 - v5, v7 + 4);
};
v2.createChild = function (id, name, props) {
this.loadingChild = true;
var v3 = super.createChild(id, name, props);
this.loadingChild = false;
return v3;
};
v2.childLoaded = function (obj) {
super.childLoaded(obj);
if (this.loadingChild) {
this.dispatchEvent({'type': 'complete', 'current': obj.getBytesLoaded(), 'total': obj.getBytesTotal()});
}
};
v1.symbolName = 'Window';
v1.symbolOwner = mx.containers.Window;
v1.version = '2.0.2.127';
v2.className = 'Window';
v1.skinIDBorder = 0;
v1.skinIDTitleBackground = 1;
v1.skinIDForm = 2;
v2.idNames = new Array('border_mc', 'back_mc', 'content');
v2.skinTitleBackground = 'TitleBackground';
v2.skinCloseUp = 'CloseButtonUp';
v2.skinCloseOver = 'CloseButtonOver';
v2.skinCloseDown = 'CloseButtonDown';
v2.skinCloseDisabled = 'CloseButtonDisabled';
v2.clipParameters = {'title': 1, 'contentPath': 1, 'closeButton': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.containers.Window.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters);
v2.initializing = true;
v2.loadingChild = false;
v2.addProperty('contentPath', v2.__get__contentPath, v2.__set__contentPath);
v2.addProperty('title', v2.__get__title, v2.__set__title);
ASSetPropFlags(mx.containers.Window.prototype, null, 1);
}
#endinitclip
}
movieClip 322 __Packages.mx.managers.SystemManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.SystemManager) {
var v1 = function () {};
mx.managers.SystemManager = v1;
var v2 = v1.prototype;
v1.init = function (Void) {
if (mx.managers.SystemManager._initialized == false) {
mx.managers.SystemManager._initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
mx.managers.SystemManager._xAddEventListener = mx.managers.SystemManager.addEventListener;
mx.managers.SystemManager.addEventListener = mx.managers.SystemManager.__addEventListener;
mx.managers.SystemManager._xRemoveEventListener = mx.managers.SystemManager.removeEventListener;
mx.managers.SystemManager.removeEventListener = mx.managers.SystemManager.__removeEventListener;
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.removeFocusManager = function (f) {};
v1.onMouseDown = function (Void) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager._onMouseDown();
};
v1.onResize = function (Void) {
var v7 = Stage.width;
var v6 = Stage.height;
var v9 = _global.origWidth;
var v8 = _global.origHeight;
var v3 = Stage.align;
var v5 = (v9 - v7) / 2;
var v4 = (v8 - v6) / 2;
if (v3 == 'T') {
v4 = 0;
} else {
if (v3 == 'B') {
v4 = v8 - v6;
} else {
if (v3 == 'L') {
v5 = 0;
} else {
if (v3 == 'R') {
v5 = v9 - v7;
} else {
if (v3 == 'LT') {
v4 = 0;
v5 = 0;
} else {
if (v3 == 'TR') {
v4 = 0;
v5 = v9 - v7;
} else {
if (v3 == 'LB') {
v4 = v8 - v6;
v5 = 0;
} else {
if (v3 == 'RB') {
v4 = v8 - v6;
v5 = v9 - v7;
}
}
}
}
}
}
}
}
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.__screen = new Object();
}
mx.managers.SystemManager.__screen.x = v5;
mx.managers.SystemManager.__screen.y = v4;
mx.managers.SystemManager.__screen.width = v7;
mx.managers.SystemManager.__screen.height = v6;
_root.focusManager.relocate();
mx.managers.SystemManager.dispatchEvent({'type': 'resize'});
};
v1.__get__screen = function () {
mx.managers.SystemManager.init();
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.onResize();
}
return mx.managers.SystemManager.__screen;
};
v1._initialized = false;
v1.idleFrames = 0;
v1.isMouseDown = false;
v1.forms = new Array();
v1.addProperty('screen', v1.__get__screen, function () {});
ASSetPropFlags(mx.managers.SystemManager.prototype, null, 1);
}
#endinitclip
}
movieClip 323 __Packages.mx.controls.Alert {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.Alert) {
var v1 = function () {
super();
};
mx.controls.Alert = v1;
mx.controls.Alert extends mx.containers.Window;
var v2 = v1.prototype;
v1.show = function (text, title, flags, parent, listener, icon, defButton) {
var v2 = new Object();
var v6 = (flags & mx.controls.Alert.NONMODAL) ? false : true;
if (parent == undefined) {
v2.parent = _root;
parent = v2.parent;
} else {
v2.parent = parent;
}
v2.okButton = (flags & mx.controls.Alert.OK) ? true : false;
v2.cancelButton = (flags & mx.controls.Alert.CANCEL) ? true : false;
v2.yesButton = (flags & mx.controls.Alert.YES) ? true : false;
v2.noButton = (flags & mx.controls.Alert.NO) ? true : false;
v2.defButton = defButton;
if (v2.okButton == false && v2.cancelButton == false && v2.yesButton == false && v2.noButton == false) {
v2.okButton = true;
v2.defButton = mx.controls.Alert.OK;
}
v2.title = title;
v2.text = text;
v2.icon = icon;
v2.style = mx.controls.Alert.style;
v2.skinTitleBackground = mx.controls.Alert.titleBackground;
v2.titleStyleDeclaration = mx.controls.Alert.titleStyleDeclaration;
v2.validateNow = true;
var v4 = mx.managers.PopUpManager.createPopUp(parent, mx.controls.Alert, v6, v2);
if (v4 == undefined) {
trace('Failed to create a new alert, probably because there is no Alert in the Library');
}
v4.addEventListener('click', listener);
return v4;
};
v2.init = function (Void) {
super.init();
this.__set__visible(false);
};
v2.createChildren = function (Void) {
if (mx.controls.Alert.messageStyleDeclaration != undefined) {
this.styleName = mx.controls.Alert.messageStyleDeclaration;
}
var v3 = mx.controls.alertClasses.AlertForm;
this.__set__contentPath(v3);
super.createChildren();
};
v2.getViewMetrics = function (Void) {
var v2 = super.getViewMetrics();
return v2;
};
v2.doLayout = function (Void) {
super.doLayout();
};
v2.draw = function (Void) {
var v9 = this.initializing;
super.draw();
if (v9) {
var v5 = new Object();
v5.x = this.parent._x;
v5.y = this.parent._y;
this.parent.localToGlobal(v5);
var v7 = this.parent.width;
var v8 = this.parent.height;
if (this.parent == _root && this.parent._parent == undefined || v7 == undefined) {
var v6 = mx.managers.SystemManager.__get__screen();
v7 = v6.width;
v8 = v6.height;
v5.x = v6.x;
v5.y = v6.y;
}
if (_global.isLivePreview) {
return undefined;
}
v5.x += (v7 - this.__get__width()) / 2;
v5.y += (v8 - this.__get__height()) / 2;
this.parent.globalToLocal(v5);
this.move(v5.x, v5.y);
if (this._child0.defButtonName != undefined) {
this._child0[this._child0.defButtonName].setFocus();
} else {
this._child0.buttons[0].setFocus();
}
}
};
v2.size = function (Void) {
if (_global.isLivePreview) {
this.__width = this.width;
this.__height = this.height;
} else {
var v4 = this._child0.getSize();
if (isNaN(v4.width) || v4.width < 20) {
v4.width = 96;
}
if (isNaN(v4.height) || v4.height < 20) {
v4.height = 66;
}
var v5 = this.border_mc.__get__borderMetrics();
if (!this.allowSize) {
this.__width = v4.width + 2 * v5.left;
this.__height = v4.height + v5.top + v5.bottom + this.back_mc.height;
this.allowSize = false;
}
}
super.size();
};
v2.setSize = function (w, h) {
this.__width = w;
this.__height = h;
this.allowSize = true;
this.initializing = this.allowSize;
this.invalidate();
};
v1.symbolOwner = mx.containers.Window;
v1.version = '2.0.2.127';
v1.buttonWidth = 50;
v1.buttonHeight = 22;
v1.okLabel = 'OK';
v1.yesLabel = 'Yes';
v1.noLabel = 'No';
v1.cancelLabel = 'Cancel';
v1.buttonUp = 'ButtonSkin';
v1.buttonDown = 'ButtonSkin';
v1.buttonOver = 'ButtonSkin';
v1.titleBackground = 'TitleBackground';
v1.buttonUpEmphasized = 'ButtonSkin';
v1.buttonOverEmphasized = 'ButtonSkin';
v1.buttonDownEmphasized = 'ButtonSkin';
v2.className = 'Alert';
v2.allowSize = false;
v1.NONMODAL = 32768;
v1.YES = 1;
v1.NO = 2;
v1.OK = 4;
v1.CANCEL = 8;
v1.P = _root;
ASSetPropFlags(mx.controls.Alert.prototype, null, 1);
}
#endinitclip
}
movieClip 324 __Packages.mx.managers.PopUpManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.PopUpManager) {
var v1 = function () {};
mx.managers.PopUpManager = v1;
var v2 = v1.prototype;
v1.createModalWindow = function (parent, o, broadcastOutsideEvents) {
var v2 = parent.createChildAtDepth('Modal', mx.managers.DepthManager.kTopmost);
v2.setDepthBelow(o);
o.modalID = v2._name;
v2._alpha = _global.style.modalTransparency;
v2.tabEnabled = false;
if (broadcastOutsideEvents) {
v2.onPress = mx.managers.PopUpManager.mixins.onPress;
} else {
v2.onPress = mx.managers.PopUpManager.mixins.nullFunction;
}
v2.onRelease = mx.managers.PopUpManager.mixins.nullFunction;
v2.resize = mx.managers.PopUpManager.mixins.resize;
mx.managers.SystemManager.init();
mx.managers.SystemManager.addEventListener('resize', v2);
v2.resize();
v2.useHandCursor = false;
v2.popUp = o;
o.modalWindow = v2;
o.deletePopUp = mx.managers.PopUpManager.mixins.deletePopUp;
o.setVisible = mx.managers.PopUpManager.mixins.setVisible;
o.getVisible = mx.managers.PopUpManager.mixins.getVisible;
o.addProperty('visible', o.getVisible, o.setVisible);
};
v1.createPopUp = function (parent, className, modal, initobj, broadcastOutsideEvents) {
if (mx.managers.PopUpManager.mixins == undefined) {
mx.managers.PopUpManager.mixins = new mx.managers.PopUpManager();
}
if (broadcastOutsideEvents == undefined) {
broadcastOutsideEvents = false;
}
var v5 = parent._root;
if (v5 == undefined) {
v5 = _root;
}
while (parent != v5) {
parent = parent._parent;
}
initobj.popUp = true;
var v4 = parent.createClassChildAtDepth(className, (broadcastOutsideEvents || modal) ? mx.managers.DepthManager.kTopmost : mx.managers.DepthManager.kTop, initobj);
var v2 = _root;
var v6 = v2.focusManager != undefined;
while (v2._parent != undefined) {
v2 = v2._parent._root;
if (v2.focusManager != undefined) {
v6 = true;
break;
}
}
if (v6) {
v4.createObject('FocusManager', 'focusManager', -1);
if (v4._visible == false) {
mx.managers.SystemManager.deactivate(v4);
}
}
if (modal) {
mx.managers.PopUpManager.createModalWindow(parent, v4, broadcastOutsideEvents);
return v4;
}
if (broadcastOutsideEvents) {
v4.mouseListener = new Object();
v4.mouseListener.owner = v4;
v4.mouseListener.onMouseDown = mx.managers.PopUpManager.mixins.onMouseDown;
Mouse.addListener(v4.mouseListener);
}
v4.deletePopUp = mx.managers.PopUpManager.mixins.deletePopUp;
return v4;
};
v2.onPress = function (Void) {
var v3 = this.popUp._root;
if (v3 == undefined) {
v3 = _root;
}
if (this.popUp.hitTest(v3._xmouse, v3._ymouse, false)) {
return undefined;
}
this.popUp.dispatchEvent({'type': 'mouseDownOutside'});
};
v2.nullFunction = function (Void) {};
v2.resize = function (Void) {
var v2 = mx.managers.SystemManager.__get__screen();
this.setSize(v2.width, v2.height);
this.move(v2.x, v2.y);
};
v2.deletePopUp = function (Void) {
if (this.modalWindow != undefined) {
this._parent.destroyObject(this.modalWindow._name);
}
this._parent.destroyObject(this._name);
};
v2.setVisible = function (v, noEvent) {
super.setVisible(v, noEvent);
this.modalWindow._visible = v;
};
v2.getVisible = function (Void) {
return this._visible;
};
v2.onMouseDown = function (Void) {
var v3 = this.owner._root;
if (v3 == undefined) {
v3 = _root;
}
var v4 = new Object();
v4.x = v3._xmouse;
v4.y = v3._ymouse;
v3.localToGlobal(v4);
if (this.owner.hitTest(v4.x, v4.y, false)) {
} else {
this.owner.mouseDownOutsideHandler(this.owner);
}
};
v1.version = '2.0.2.127';
v1.mixins = undefined;
ASSetPropFlags(mx.managers.PopUpManager.prototype, null, 1);
}
#endinitclip
}
movieClip 325 __Packages.mx.controls.alertClasses.AlertForm {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.alertClasses) {
_global.mx.controls.alertClasses = new Object();
}
if (!_global.mx.controls.alertClasses.AlertForm) {
var v1 = function () {
super();
};
mx.controls.alertClasses.AlertForm = v1;
mx.controls.alertClasses.AlertForm extends mx.core.UIComponent;
var v2 = v1.prototype;
v2.init = function (Void) {
super.init();
};
v2.setDefaultButton = function () {
this._parent.focusManager.defaultPushButton = this[this.defButtonName];
};
v2.createChildren = function (Void) {
this.tabChildren = true;
this.tabEnabled = false;
if (this.text_mc == undefined) {
this.createClassObject(mx.controls.TextArea, 'text_mc', 0, {'styleName': this, 'borderStyle': 'none', 'readOnly': true});
}
this.text_mc.tabEnabled = false;
this.text_mc.tabChildren = false;
this.text_mc.hScrollPolicy = 'off';
this.text_mc.vScrollPolicy = 'off';
this.text_mc.label.selectable = false;
if (this.textMeasure_mc == undefined) {
this.createTextField('textMeasure_mc', -1, 0, 0, 0, 0);
}
this.textMeasure_mc._visible = false;
this.textMeasure_mc.multiline = true;
this.textMeasure_mc.wordWrap = true;
this.textMeasure_mc.autoSize = 'left';
if (this.icon_mc == undefined && this._parent.icon != undefined) {
this.setSkin(1, this._parent.icon);
}
this.buttons = new Array();
var v2 = this._parent.defButton;
if (this._parent.okButton) {
this.createButton('okButton', mx.controls.Alert.okLabel, mx.controls.Alert.OK);
if (v2 == mx.controls.Alert.OK) {
this.defButtonName = 'okButton';
}
}
if (this._parent.yesButton) {
this.createButton('yesButton', mx.controls.Alert.yesLabel, mx.controls.Alert.YES);
if (v2 == mx.controls.Alert.YES) {
this.defButtonName = 'yesButton';
}
}
if (this._parent.noButton) {
this.createButton('noButton', mx.controls.Alert.noLabel, mx.controls.Alert.NO);
if (v2 == mx.controls.Alert.NO) {
this.defButtonName = 'noButton';
}
}
if (this._parent.cancelButton) {
this.createButton('cancelButton', mx.controls.Alert.cancelLabel, mx.controls.Alert.CANCEL);
if (v2 == mx.controls.Alert.CANCEL) {
this.defButtonName = 'cancelButton';
}
}
if (this.defButtonName != undefined) {
this[this.defButtonName].emphasized = true;
this[this.defButtonName].redraw(true);
this.doLater(this, 'setDefaultButton');
}
};
v2.createButton = function (name, title, detail) {
var v3 = mx.controls.Alert.buttonStyleDeclaration;
var v2 = mx.controls.Button(this.createClassChildAtDepth(mx.controls.Button, mx.managers.DepthManager.kTop, {'falseUpSkin': mx.controls.Alert.buttonUp, 'falseDownSkin': mx.controls.Alert.buttonDown, 'falseOverSkin': mx.controls.Alert.buttonOver, 'falseOverSkinEmphasized': mx.controls.Alert.buttonOverEmphasized, 'falseUpSkinEmphasized': mx.controls.Alert.buttonUpEmphasized, 'falseDownSkinEmphasized': mx.controls.Alert.buttonDownEmphasized, 'styleName': (v3 == undefined) ? this : mx.controls.Alert.buttonStyleDeclaration, 'validateNow': true}));
v2.setLabel(title);
v2.setSize(mx.controls.Alert.buttonWidth, mx.controls.Alert.buttonHeight);
this.buttons.push(v2);
v2.clickHandler = this.onClick;
v2.detail = detail;
this[name] = v2;
};
v2.getSize = function (Void) {
var v2 = new Object();
v2.height = this.buttons[0].height + 24;
var v8 = this._parent.back_mc.title_mc._getTextFormat();
this.extent = v8.getTextExtent2(this._parent.title);
v2.width = Math.max(Math.max(2, this.buttons.length) * (this.buttons[0].width + 8), this.extent.width + 4 + 8);
var v6 = this.text_mc._getTextFormat();
this.extent = v6.getTextExtent2(this._parent.text);
this.textMeasure_mc._width = 2 * v2.width;
this.textMeasure_mc.setNewTextFormat(this.text_mc._getTextFormat());
this.textMeasure_mc.text = this._parent.text;
v2.height += this.textMeasure_mc.textHeight + 8;
var v4 = Math.ceil(this.textMeasure_mc.textHeight / this.extent.height);
if (v4 > 1) {
this.extent.width = 2 * v2.width;
this.text_mc.__set__wordWrap(true);
}
var v3 = Math.min(this.extent.width + 4 + 8, 2 * v2.width);
var v7 = v2.width;
v2.width = Math.max(v3, v2.width) + 8;
if (this.icon_mc != undefined) {
this.extent.width += this.icon_mc.width + 8;
v3 = Math.min(this.extent.width + 4 + 8, 2 * v7);
v2.width = Math.max(v3, v2.width) + 8;
var v5 = this.icon_mc.height - v4 * (this.extent.height + 4);
if (v5 > 0) {
v2.height += v5;
}
}
return v2;
};
v2.draw = function (Void) {
this.size();
this._parent.visible = true;
};
v2.size = function (Void) {
var v4 = this.__get__height() - this.buttons[0].height - 8;
var v3 = this.buttons.length * (this.buttons[0].width + 8) - 8;
v3 = (this.__get__width() - v3) / 2;
var v2 = 0;
while (v2 < this.buttons.length) {
this.buttons[v2].move(v3, v4);
this.buttons[v2].tabIndex = v2 + 1;
v3 += this.buttons[v2].width + 8;
++v2;
}
v4 -= 8;
v3 = Math.max((this.__get__width() - this.extent.width - 4) / 2, 8);
if (this.icon_mc != undefined) {
this.icon_mc.move(v3, (this.__get__height() - this.buttons[0].height - this.icon_mc.height) / 2);
v3 += this.icon_mc.width + 8;
}
this.text_mc.move(v3, 8);
this.text_mc.setSize(this.__get__width() - v3 - 8, v4 - 8);
if (this._parent.text == undefined) {
this.text_mc.__set__text('');
} else {
this.text_mc.__set__text(this._parent.text);
}
};
v2.onClick = function (evt) {
var v2 = mx.controls.Alert(this._parent._parent);
v2.__set__visible(false);
v2.dispatchEvent({'type': 'click', 'detail': this.detail});
v2.deletePopUp();
};
v1.symbolOwner = mx.core.UIComponent;
v2.idNames = ['text_mc', 'icon_mc'];
v2.defButtonName = undefined;
ASSetPropFlags(mx.controls.alertClasses.AlertForm.prototype, null, 1);
}
#endinitclip
}
movieClip 326 __Packages.mx.controls.TextArea {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.TextArea) {
var v1 = function () {
super();
};
mx.controls.TextArea = v1;
mx.controls.TextArea extends mx.core.ScrollView;
var v2 = v1.prototype;
v2.__get__maxChars = function () {
return this.label.maxChars;
};
v2.__set__maxChars = function (x) {
this.label.maxChars = x;
return this.__get__maxChars();
};
v2.__get__length = function () {
return this.label.length;
};
v2.__get__restrict = function () {
return this.label.restrict;
};
v2.__set__restrict = function (s) {
this.label.restrict = (s == '') ? null : s;
return this.__get__restrict();
};
v2.__get__wordWrap = function () {
return this.label.wordWrap;
};
v2.__set__wordWrap = function (s) {
this.label.wordWrap = s;
this.invalidate();
return this.__get__wordWrap();
};
v2.__get__editable = function () {
return this.__editable;
};
v2.__set__editable = function (x) {
this.__editable = x;
this.label.type = x ? 'input' : 'dynamic';
return this.__get__editable();
};
v2.__get__password = function () {
return this.label.password;
};
v2.__set__password = function (s) {
this.label.password = s;
return this.__get__password();
};
v2.__get__html = function () {
return this.getHtml();
};
v2.__set__html = function (value) {
this.setHtml(value);
return this.__get__html();
};
v2.getHtml = function () {
return this.label.html;
};
v2.setHtml = function (value) {
if (value != this.label.html) {
this.label.html = value;
}
};
v2.__get__text = function () {
return this.getText();
};
v2.__set__text = function (t) {
this.setText(t);
return this.__get__text();
};
v2.getText = function () {
if (this.initializing) {
return this.initText;
}
var v2 = this.label;
if (v2.html == true) {
return v2.htmlText;
}
return v2.text;
};
v2.setText = function (t) {
if (this.initializing) {
this.initText = t;
} else {
var v2 = this.label;
if (v2.html == true) {
v2.htmlText = t;
} else {
v2.text = t;
}
this.invalidate();
}
this.dispatchValueChangedEvent(t);
};
v2.__get__hPosition = function () {
return this.getHPosition();
};
v2.__set__hPosition = function (pos) {
this.setHPosition(pos);
this.label.hscroll = pos;
this.label.background = false;
return this.__get__hPosition();
};
v2.__get__vPosition = function () {
return this.getVPosition();
};
v2.__set__vPosition = function (pos) {
this.setVPosition(pos);
this.label.scroll = pos + 1;
this.label.background = false;
return this.__get__vPosition();
};
v2.__get__maxVPosition = function () {
var v2 = this.label.maxscroll - 1;
return (v2 == undefined) ? 0 : v2;
};
v2.__get__maxHPosition = function () {
var v2 = this.label.maxhscroll;
return (v2 == undefined) ? 0 : v2;
};
v2.init = function (Void) {
super.init();
this.label.styleName = this;
this._color = mx.core.UIObject.textColorList;
this.focusTextField = this.label;
this.label.owner = this;
this.label.onSetFocus = function (x) {
this._parent.onSetFocus(x);
};
this.label.onKillFocus = function (x) {
this._parent.onKillFocus(x);
};
this.label.drawFocus = function (b) {
this._parent.drawFocus(b);
};
this.label.onChanged = function () {
this.owner.adjustScrollBars();
this.owner.dispatchEvent({'type': 'change'});
this.owner.dispatchValueChangedEvent(this.owner.text);
};
this.label.onScroller = function () {
this.owner.hPosition = this.hscroll;
this.owner.vPosition = this.scroll - 1;
};
if (this.__get__text() == undefined) {
this.__set__text('');
}
};
v2.createChildren = function (Void) {
super.createChildren();
this.label.autoSize = 'none';
};
v2.layoutContent = function (x, y, totalW, totalH, displayW, displayH) {
var v2 = this.label;
if (this.tfx != x || this.tfy != y || this.tfw != displayW || this.tfh != displayH) {
this.tfx = x;
this.tfy = y;
this.tfw = displayW;
this.tfh = displayH;
v2.move(this.tfx, this.tfy);
v2.setSize(this.tfw, this.tfh);
this.doLater(this, 'adjustScrollBars');
}
};
v2.scrollChanged = function (Void) {
var v2 = Selection;
if (v2.lastBeginIndex != undefined) {
this.restoreSelection();
}
this.label.background = false;
};
v2.onScroll = function (docObj) {
var v3 = this.label;
super.onScroll(docObj);
v3.hscroll = this.__get__hPosition() + 0;
v3.scroll = this.__get__vPosition() + 1;
this._vpos = v3.scroll;
this._hpos = v3.hscroll;
v3.background = false;
if (this.hookedV != true) {
this.vScroller.addEventListener('scrollChanged', this);
this.hookedV = true;
}
if (this.hookedH != true) {
this.hScroller.addEventListener('scrollChanged', this);
this.hookedH = true;
}
};
v2.size = function (Void) {
var v3 = this.getViewMetrics();
var v7 = v3.left + v3.right;
var v4 = v3.top + v3.bottom;
var v6 = v3.left;
var v5 = v3.top;
this.tfx = v6;
this.tfy = v5;
this.tfw = this.__get__width() - v7;
this.tfh = this.__get__height() - v4;
super.size();
this.label.move(this.tfx, this.tfy);
this.label.setSize(this.tfw, this.tfh);
if (this.__get__height() <= 40) {
this.hScrollPolicy = 'off';
this.vScrollPolicy = 'off';
}
this.doLater(this, 'adjustScrollBars');
};
v2.setEnabled = function (enable) {
this.vScroller.enabled = enable;
this.hScroller.enabled = enable;
this.label.type = (this.__get__editable() == false || enable == false) ? 'dynamic' : 'input';
this.label.selectable = enable;
var v3 = this.getStyle(enable ? 'color' : 'disabledColor');
if (v3 == undefined) {
v3 = enable ? 0 : 8947848;
}
this.setColor(v3);
};
v2.setColor = function (col) {
this.label.textColor = col;
};
v2.setFocus = function (Void) {
Selection.setFocus(this.label);
};
v2.onSetFocus = function (x) {
var f = Selection.getFocus();
var o = eval(f);
if (o != this.label) {
Selection.setFocus(this.label);
return undefined;
}
(this.getFocusManager()).defaultPushButtonEnabled = false;
this.addEventListener('keyDown', this);
super.onSetFocus(x);
};
v2.onKillFocus = function (x) {
(this.getFocusManager()).defaultPushButtonEnabled = true;
this.removeEventListener('keyDown', this);
super.onKillFocus(x);
};
v2.restoreSelection = function (x) {
var v2 = Selection;
Selection.setSelection(v2.lastBeginIndex, v2.lastEndIndex);
this.label.scroll = this._vpos;
this.label.hscroll = this._hpos;
};
v2.getLineOffsets = function (Void) {
var v16 = this._getTextFormat();
var v18 = v16.getTextExtent2(this.label.text);
var v5 = _root._getTextExtent;
v5.setNewTextFormat(TextFormat(v16));
var v14 = this.label.wordWrap;
var v9 = 0;
var v7 = this.label._width - 2 - 2;
var v12 = new Array();
var v17 = new String(this.label.text);
var v15 = v17.split('\r');
var v11 = 0;
while (v11 < v15.length) {
v12.push(v9);
var v4 = v15[v11];
v5.text = v4;
var v13 = Math.ceil(v5.textWidth / v7);
var v10 = Math.floor(v4.length / v13);
var v3;
for (;;) {
if (!(v14 && v5.textWidth > v7)) break;
v3 = v4.indexOf(' ', v10);
var v6;
if (v3 == -1) {
v3 = v4.lastIndexOf(' ');
if (v3 == -1) {
v3 = v10;
}
}
v6 = v4.substr(0, v3);
v5.text = v6;
if (v5.textWidth > v7) {
while (v5.textWidth > v7) {
var v8 = v3;
v3 = v4.lastIndexOf(' ', v3 - 1);
if (v3 == -1) {
v3 = v8 - 1;
}
v6 = v4.substr(0, v3);
v5.text = v6;
}
} else {
if (v5.textWidth < v7) {
var v8 = v3;
while (v5.textWidth < v7) {
v8 = v3;
v3 = v4.indexOf(' ', v3 + 1);
if (v3 == -1) {
if (v4.indexOf(' ', 0) != -1) {
break;
} else {
v3 = v8 + 1;
}
}
v6 = v4.substr(0, v3);
v5.text = v6;
}
v3 = v8;
}
}
v9 += v3;
v12.push(v9 + 1);
v4 = v4.substr(v3);
if (v4.charAt(0) == ' ') {
v4 = v4.substr(1, v4.length - 1);
v9 += 1;
}
v5.text = v4;
}
v9 += v4.length + 1;
++v11;
}
return v12;
};
v2.keyDown = function (e) {
var v5 = e.code;
if (v5 == 34) {
var v6 = this.label.bottomScroll - this.label.scroll + 1;
var v3 = this.getLineOffsets();
var v2 = Math.min(this.label.bottomScroll + 1, this.label.maxscroll);
if (v2 == this.label.maxscroll) {
var v4 = this.label.length;
Selection.setSelection(v4, v4);
} else {
this.label.scroll = v2;
Selection.setSelection(v3[v2 - 1], v3[v2 - 1]);
}
} else {
if (v5 == 33) {
var v6 = this.label.bottomScroll - this.label.scroll + 1;
var v3 = this.getLineOffsets();
var v2 = this.label.scroll - 1;
if (v2 < 1) {
Selection.setSelection(0, 0);
} else {
Selection.setSelection(v3[v2 - 1], v3[v2 - 1]);
this.label.scroll = Math.max(v2 - v6, 1);
}
}
}
};
v2.draw = function (Void) {
var v2 = this.label;
var v4 = this.getText();
if (this.initializing) {
this.initializing = false;
delete this.initText;
}
var v3 = this._getTextFormat();
v2.embedFonts = v3.embedFonts == true;
if (v3 != undefined) {
v2.setTextFormat(v3);
v2.setNewTextFormat(v3);
}
v2.multiline = true;
v2.wordWrap = this.__get__wordWrap() == true;
if (v2.html == true) {
v2.setTextFormat(v3);
v2.htmlText = v4;
} else {
v2.text = v4;
}
v2.type = (this.__get__editable() == true) ? 'input' : 'dynamic';
this.size();
v2.background = false;
};
v2.adjustScrollBars = function () {
var v2 = this.label;
var v4 = v2.bottomScroll - v2.scroll + 1;
var v3 = v4 + v2.maxscroll - 1;
if (v3 < 1) {
v3 = 1;
}
var v5 = 0;
if (v2.textWidth + 5 > v2._width) {
if (!v2.wordWrap) {
v5 = v2._width + v2.maxhscroll;
}
} else {
v2.hscroll = 0;
v2.background = false;
}
if (v2.height / v4 != Math.round(v2.height / v4)) {
--v3;
}
this.setScrollProperties(v5, 1, v3, v2.height / v4);
};
v2.setScrollProperties = function (colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
super.setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding);
if (this.vScroller == undefined) {
this.hookedV = false;
}
if (this.hScroller == undefined) {
this.hookedH = false;
}
};
v2.__get__tabIndex = function () {
return this.label.tabIndex;
};
v2.__set__tabIndex = function (w) {
this.label.tabIndex = w;
return this.__get__tabIndex();
};
v2.__set___accProps = function (val) {
this.label._accProps = val;
return this.__get___accProps();
};
v2.__get___accProps = function () {
return this.label._accProps;
};
v2.__get__styleSheet = function () {
return this.label.styleSheet;
};
v2.__set__styleSheet = function (v) {
this.label.styleSheet = v;
return this.__get__styleSheet();
};
v1.symbolName = 'TextArea';
v1.symbolOwner = mx.controls.TextArea;
v1.version = '2.0.2.127';
v2.className = 'TextArea';
v2.initializing = true;
v2.clipParameters = {'text': 1, 'wordWrap': 1, 'editable': 1, 'maxChars': 1, 'restrict': 1, 'html': 1, 'password': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextArea.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters);
v2.__vScrollPolicy = 'auto';
v2.__hScrollPolicy = 'auto';
v2.__editable = true;
v2.addProperty('_accProps', v2.__get___accProps, v2.__set___accProps);
v2.addProperty('editable', v2.__get__editable, v2.__set__editable);
v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition);
v2.addProperty('html', v2.__get__html, v2.__set__html);
v2.addProperty('length', v2.__get__length, function () {});
v2.addProperty('maxChars', v2.__get__maxChars, v2.__set__maxChars);
v2.addProperty('maxHPosition', v2.__get__maxHPosition, function () {});
v2.addProperty('maxVPosition', v2.__get__maxVPosition, function () {});
v2.addProperty('password', v2.__get__password, v2.__set__password);
v2.addProperty('restrict', v2.__get__restrict, v2.__set__restrict);
v2.addProperty('styleSheet', v2.__get__styleSheet, v2.__set__styleSheet);
v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex);
v2.addProperty('text', v2.__get__text, v2.__set__text);
v2.addProperty('vPosition', v2.__get__vPosition, v2.__set__vPosition);
v2.addProperty('wordWrap', v2.__get__wordWrap, v2.__set__wordWrap);
ASSetPropFlags(mx.controls.TextArea.prototype, null, 1);
}
#endinitclip
}
movieClip 327 __Packages.mx.controls.Button {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.Button) {
var v1 = function () {
super();
};
mx.controls.Button = v1;
mx.controls.Button extends mx.controls.SimpleButton;
var v2 = v1.prototype;
v2.init = function (Void) {
super.init();
};
v2.draw = function () {
if (this.initializing) {
this.labelPath.visible = true;
}
super.draw();
if (this.initIcon != undefined) {
this._setIcon(this.initIcon);
}
delete this.initIcon;
};
v2.onRelease = function (Void) {
super.onRelease();
};
v2.createChildren = function (Void) {
super.createChildren();
};
v2.setSkin = function (tag, linkageName, initobj) {
return super.setSkin(tag, linkageName, initobj);
};
v2.viewSkin = function (varName) {
var v3 = this.getState() ? 'true' : 'false';
v3 += this.enabled ? this.phase : 'disabled';
super.viewSkin(varName, {'styleName': this, 'borderStyle': v3});
};
v2.invalidateStyle = function (c) {
this.labelPath.invalidateStyle(c);
super.invalidateStyle(c);
};
v2.setColor = function (c) {
var v2 = 0;
while (v2 < 8) {
this[this.idNames[v2]].redraw(true);
++v2;
}
};
v2.setEnabled = function (enable) {
this.labelPath.enabled = enable;
super.setEnabled(enable);
};
v2.calcSize = function (tag, ref) {
if (this.__width == undefined || this.__height == undefined) {
return undefined;
}
if (tag < 7) {
ref.setSize(this.__width, this.__height, true);
}
};
v2.size = function (Void) {
this.setState(this.getState());
this.setHitArea(this.__width, this.__height);
var v3 = 0;
while (v3 < 8) {
var v4 = this.idNames[v3];
if (typeof this[v4] == 'movieclip') {
this[v4].setSize(this.__width, this.__height, true);
}
++v3;
}
super.size();
};
v2.__set__labelPlacement = function (val) {
this.__labelPlacement = val;
this.invalidate();
return this.__get__labelPlacement();
};
v2.__get__labelPlacement = function () {
return this.__labelPlacement;
};
v2.getLabelPlacement = function (Void) {
return this.__labelPlacement;
};
v2.setLabelPlacement = function (val) {
this.__labelPlacement = val;
this.invalidate();
};
v2.getBtnOffset = function (Void) {
if (this.getState()) {
var v2 = this.btnOffset;
return v2;
}
if (this.phase == 'down') {
v2 = this.btnOffset;
return v2;
}
v2 = 0;
return v2;
};
v2.setView = function (offset) {
var v16 = offset ? this.btnOffset : 0;
var v12 = this.getLabelPlacement();
var v7 = 0;
var v6 = 0;
var v11 = 0;
var v8 = 0;
var v5 = 0;
var v4 = 0;
var v3 = this.labelPath;
var v2 = this.iconName;
var v15 = v3.textWidth;
var v14 = v3.textHeight;
var v9 = this.__width - this.borderW - this.borderW;
var v10 = this.__height - this.borderW - this.borderW;
if (v2 != undefined) {
v7 = v2._width;
v6 = v2._height;
}
if (v12 == 'left' || v12 == 'right') {
if (v3 != undefined) {
v11 = Math.min(v9 - v7, v15 + 5);
v3._width = v11;
v8 = Math.min(v10, v14 + 5);
v3._height = v8;
}
if (v12 == 'right') {
v5 = v7;
if (this.centerContent) {
v5 += (v9 - v11 - v7) / 2;
}
v2._x = v5 - v7;
} else {
v5 = v9 - v11 - v7;
if (this.centerContent) {
v5 /= 2;
}
v2._x = v5 + v11;
}
v4 = 0;
v2._y = v4;
if (this.centerContent) {
v2._y = (v10 - v6) / 2;
v4 = (v10 - v8) / 2;
}
if (!this.centerContent) {
v2._y += Math.max(0, (v8 - v6) / 2);
}
} else {
if (v3 != undefined) {
v11 = Math.min(v9, v15 + 5);
v3._width = v11;
v8 = Math.min(v10 - v6, v14 + 5);
v3._height = v8;
}
v5 = (v9 - v11) / 2;
v2._x = (v9 - v7) / 2;
if (v12 == 'top') {
v4 = v10 - v8 - v6;
if (this.centerContent) {
v4 /= 2;
}
v2._y = v4 + v8;
} else {
v4 = v6;
if (this.centerContent) {
v4 += (v10 - v8 - v6) / 2;
}
v2._y = v4 - v6;
}
}
var v13 = this.borderW + v16;
v3._x = v5 + v13;
v3._y = v4 + v13;
v2._x += v13;
v2._y += v13;
};
v2.__set__label = function (lbl) {
this.setLabel(lbl);
return this.__get__label();
};
v2.setLabel = function (label) {
if (label == '') {
this.labelPath.removeTextField();
this.refresh();
return undefined;
}
if (this.labelPath == undefined) {
var v2 = this.createLabel('labelPath', 200, label);
v2._width = v2.textWidth + 5;
v2._height = v2.textHeight + 5;
if (this.initializing) {
v2.visible = false;
}
} else {
delete this.labelPath.__text;
this.labelPath.text = label;
this.refresh();
}
};
v2.getLabel = function (Void) {
return (this.labelPath.__text != undefined) ? this.labelPath.__text : this.labelPath.text;
};
v2.__get__label = function () {
return this.getLabel();
};
v2._getIcon = function (Void) {
return this._iconLinkageName;
};
v2.__get__icon = function () {
if (this.initializing) {
return this.initIcon;
}
return this._iconLinkageName;
};
v2._setIcon = function (linkage) {
if (this.initializing) {
if (linkage == '') {
return undefined;
}
this.initIcon = linkage;
} else {
if (linkage == '') {
this.removeIcons();
return undefined;
}
super.changeIcon(0, linkage);
super.changeIcon(1, linkage);
super.changeIcon(3, linkage);
super.changeIcon(4, linkage);
super.changeIcon(5, linkage);
this._iconLinkageName = linkage;
this.refresh();
}
};
v2.__set__icon = function (linkage) {
this._setIcon(linkage);
return this.__get__icon();
};
v2.setHitArea = function (w, h) {
if (this.hitArea_mc == undefined) {
this.createEmptyObject('hitArea_mc', 100);
}
var v2 = this.hitArea_mc;
v2.clear();
v2.beginFill(16711680);
v2.drawRect(0, 0, w, h);
v2.endFill();
v2.setVisible(false);
};
v1.symbolName = 'Button';
v1.symbolOwner = mx.controls.Button;
v2.className = 'Button';
v1.version = '2.0.2.127';
v2.btnOffset = 0;
v2._color = 'buttonColor';
v2.__label = 'default value';
v2.__labelPlacement = 'right';
v2.falseUpSkin = 'ButtonSkin';
v2.falseDownSkin = 'ButtonSkin';
v2.falseOverSkin = 'ButtonSkin';
v2.falseDisabledSkin = 'ButtonSkin';
v2.trueUpSkin = 'ButtonSkin';
v2.trueDownSkin = 'ButtonSkin';
v2.trueOverSkin = 'ButtonSkin';
v2.trueDisabledSkin = 'ButtonSkin';
v2.falseUpIcon = '';
v2.falseDownIcon = '';
v2.falseOverIcon = '';
v2.falseDisabledIcon = '';
v2.trueUpIcon = '';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = '';
v2.clipParameters = {'labelPlacement': 1, 'icon': 1, 'toggle': 1, 'selected': 1, 'label': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters);
v2.centerContent = true;
v2.borderW = 1;
v2.addProperty('icon', v2.__get__icon, v2.__set__icon);
v2.addProperty('label', v2.__get__label, v2.__set__label);
v2.addProperty('labelPlacement', v2.__get__labelPlacement, v2.__set__labelPlacement);
ASSetPropFlags(mx.controls.Button.prototype, null, 1);
}
#endinitclip
}
// unknown tag 88 length 63
movieClip 21 {
}
movieClip 23 {
}
movieClip 24 {
}
movieClip 28 {
}
movieClip 34 {
}
frame 201 {
stop();
}
button 35 {
on (release) {
gotoAndPlay(1882);
}
}
button 40 {
on (release) {
gotoAndPlay(202);
}
}
frame 202 {
stop();
}
button 44 {
on (press) {
gotoAndPlay(203);
}
}
button 46 {
on (press) {
gotoAndPlay(1882);
}
}
button 49 {
on (press) {
gotoAndPlay(203);
}
}
button 52 {
on (press) {
gotoAndPlay(203);
}
}
frame 203 {
stop();
}
button 59 {
on (release) {
gotoAndPlay(1882);
}
}
button 62 {
on (press) {
gotoAndPlay(204);
}
}
frame 204 {
stop();
}
button 68 {
on (press) {
gotoAndPlay(205);
}
}
button 69 {
on (press) {
gotoAndPlay(1882);
}
}
button 70 {
on (press) {
gotoAndPlay(205);
}
}
frame 205 {
stop();
}
button 76 {
on (press) {
gotoAndPlay(206);
}
}
frame 206 {
stop();
}
button 80 {
on (press) {
gotoAndPlay(207);
}
}
button 84 {
on (press) {
gotoAndPlay(1882);
}
}
button 86 {
on (press) {
gotoAndPlay(502);
}
}
frame 501 {
gotoAndPlay(401);
}
frame 502 {
stop();
}
button 122 {
on (press) {
gotoAndPlay(1882);
}
}
button 125 {
on (press) {
gotoAndPlay(503);
}
}
frame 503 {
stop();
}
button 129 {
on (press) {
gotoAndPlay(504);
}
}
button 130 {
on (press) {
gotoAndPlay(504);
}
}
frame 504 {
stop();
}
frame 707 {
stop();
}
button 149 {
on (press) {
gotoAndPlay(708);
}
}
frame 708 {
stop();
}
button 151 {
on (press) {
gotoAndPlay(709);
}
}
frame 709 {
stop();
var rootMenu = new ContextMenu();
rootMenu.hideBuiltInItems();
_root.menu = rootMenu;
_root.onEnterFrame = function () {
if (Key.isDown(2)) {
mx.controls.Alert.show('You Didn\'t Think You Could Cheat Me, Did You?');
}
};
}
button 154 {
on (rollOver) {
gotoAndPlay(1882);
}
}
button 157 {
on (press, rollOut) {
gotoAndPlay(1882);
}
}
button 159 {
on (rollOver) {
gotoAndPlay(710);
}
}
frame 710 {
stop();
}
button 160 {
on (rollOver) {
gotoAndPlay(1882);
}
}
button 163 {
on (press) {
gotoAndPlay(711);
}
}
frame 711 {
stop();
}
button 166 {
on (press) {
gotoAndPlay(712);
}
}
button 170 {
on (press) {
gotoAndPlay(1882);
}
}
button 171 {
on (keyPress '<Left>') {
gotoAndPlay(802);
}
}
frame 801 {
stop();
}
frame 802 {
stopAllSounds;
}
movieClip 173 {
}
movieClip 178 {
}
movieClip 181 {
}
frame 871 {
stop();
}
button 182 {
on (keyPress '<Space>') {
gotoAndPlay(872);
}
}
button 183 {
on (keyPress '<Space>') {
gotoAndPlay(872);
}
}
frame 901 {
stop();
}
button 184 {
on (keyPress '<Space>') {
gotoAndPlay(902);
}
}
button 186 {
on (release) {
gotoAndPlay(1882);
}
}
button 187 {
on (press) {
gotoAndPlay(1802);
}
}
button 190 {
on (press) {
gotoAndPlay(1802);
}
}
button 193 {
on (press) {
gotoAndPlay(1882);
}
}
movieClip 197 {
}
movieClip 198 {
}
button 203 {
on (press) {
gotoAndPlay(1802);
}
}
button 204 {
on (press) {
gotoAndPlay(1802);
}
}
button 206 {
on (press) {
gotoAndPlay(1802);
}
}
button 212 {
on (press) {
gotoAndPlay(1802);
}
}
button 217 {
on (press) {
gotoAndPlay(1882);
}
}
button 249 {
on (press) {
gotoAndPlay(1882);
}
}
button 252 {
on (press) {
gotoAndPlay(902);
}
}
button 254 {
on (press) {
gotoAndPlay(1802);
}
}
button 255 {
on (press) {
gotoAndPlay(1802);
}
}
movieClip 258 {
}
movieClip 259 {
}
button 261 {
on (press) {
gotoAndPlay(1802);
}
}
button 277 {
on (press) {
gotoAndPlay(1802);
}
}
button 281 {
on (press) {
gotoAndPlay(1802);
}
}
frame 1801 {
stopAllSounds();
gotoAndPlay(1882);
}
button 286 {
on (press) {
gotoAndPlay(1803);
}
}
movieClip 289 {
}
frame 1881 {
gotoAndPlay(1803);
}
frame 1882 {
stop();
stopAllSounds();
}
button 295 {
on (release) {
gotoAndPlay(1883);
}
}
button 296 {
on (release) {
gotoAndPlay(101);
}
}
frame 1883 {
stop();
}
button 301 {
on (release) {
gotoAndPlay(101);
}
}