Combined Code
movieClip 2 {
}
movieClip 3 float2 {
}
movieClip 4 float1 {
}
movieClip 5 float0 {
}
movieClip 7 flake {
}
movieClip 8 {
}
movieClip 9 empty {
instance process of movieClip 8 {
onClipEvent (enterFrame) {
var i = 0;
while (i < this._parent.count) {
this._parent[i].dropFlake();
++i;
}
}
}
}
movieClip 10 snowflake {
frame 1 {
this._x = random(-200) + 100;
this._y = 0;
y = (random(20) + 20) / 20;
x = (random(20) + 20) / 40;
_xscale = random(50) + 50;
_yscale = random(_xscale / 2) + _xscale / 2;
_rotation = random(20) - 10;
}
frame 2 {
_y = _y + y;
_x = _x + _parent.windSpeed * x;
if (_y > _parent.snowFallHeight) {
gotoAndPlay(1);
} else {
if (_x > _parent.snowFallWidth) {
_x = _x - _parent.snowFallWidth;
} else {
if (_x < 0) {
_x = _parent.snowFallWidth + _x;
}
}
}
}
frame 3 {
gotoAndPlay(2);
}
}
movieClip 11 FUIComponentSymbol {
#initclip
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._height = 1;
this.deadPreview._width = 1;
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var v3 in this.styleFormat_prm) {
this.setStyleProperty(v3, this.styleFormat_prm[v3]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = arguments.length > 0 ? enabledFlag : true;
this.focusEnabled = enabledFlag;
this.tabEnabled = this.focusEnabled;
if (!this.enable && this.focused) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return this.enable;
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = (obj == undefined) ? this._parent : obj;
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var v2 in this.methodTable) {
this[v2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var v4 = this.styleTable.focusRectInner.value;
var v5 = this.styleTable.focusRectOuter.value;
if (v4 == undefined) {
v4 = 16777215;
}
if (v5 == undefined) {
v5 = 0;
}
this.createEmptyMovieClip('focusRect', 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, v5);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, v4);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo(x + w - 1, y + 1);
this.focusRect.lineTo(x + w - 1, y + h - 1);
this.focusRect.lineTo(x + 1, y + h - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == '') {
return undefined;
}
var v17 = parseInt(value);
if (!isNaN(v17)) {
value = v17;
}
var v16 = arguments.length > 2 ? isGlobal : false;
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || !v16) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else {
if (propName == 'embedFonts') {
this.invalidate('setSize');
} else {
if (propName.subString(0, 4) == 'text') {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var v18 = propName.subString(4, propName.length);
this.textStyle[v18] = value;
this.invalidate('setSize');
} else {
for (var v15 in this.styleTable[propName].coloredMCs) {
var v4 = new Color(this.styleTable[propName].coloredMCs[v15]);
if (this.styleTable[propName].value == undefined) {
var v5 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '0'};
v4.setTransform(v5);
} else {
v4.setRGB(value);
}
}
}
}
}
this.styleTable[propName].useGlobal = v16;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var v4 = new Color(skinMCRef);
v4.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {'listeners': true, 'isGlobal': true, 'isAStyle': true, 'addListener': true, 'removeListener': true, 'nonStyles': true, 'applyChanges': true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var v3 in arguments[0]) {
this[v3] = arguments[0][v3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var v3 = 0;
while (v3 < arguments.length) {
var v4 = arguments[v3];
this.listeners[arguments[v3]] = v4;
for (var v5 in this) {
if (this.isAStyle(v5)) {
v4.updateStyleProperty(this, v5.toString());
}
}
++v3;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var v4 in this) {
if (this.isAStyle(v4)) {
if (component.styleTable[v4].useGlobal == this.isGlobal) {
component.styleTable[v4].useGlobal = true;
var v3 = this.isGlobal ? undefined : globalStyleFormat[v4];
component.setStyleProperty(v4, v3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var v6 = 0;
for (var v5 in this.listeners) {
var v3 = this.listeners[v5];
if (arguments.length > 0) {
var v4 = 0;
while (v4 < arguments.length) {
if (this.isAStyle(arguments[v4])) {
v3.updateStyleProperty(this, arguments[v4]);
}
++v4;
}
} else {
for (var v4 in this) {
if (this.isAStyle(v4)) {
v3.updateStyleProperty(this, v4.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return this.nonStyles[name] ? false : true;
};
#endinitclip
frame 1 {
}
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 17 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 24 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(arrow_mc, 'arrow');
component.registerSkinElement(face_mc, 'face');
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
component.registerSkinElement(highlight3D_mc, 'highlight3D');
}
}
movieClip 25 {
}
movieClip 26 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 31 {
}
movieClip 33 {
}
movieClip 34 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(arrow_mc, 'arrow');
component.registerSkinElement(face_mc, 'face');
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
component.registerSkinElement(highlight3D_mc, 'highlight3D');
}
}
movieClip 35 {
}
movieClip 36 {
}
movieClip 37 {
}
movieClip 38 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 43 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(arrow_mc, 'foregroundDisabled');
component.registerSkinElement(face_mc, 'face');
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
component.registerSkinElement(highlight3D_mc, 'highlight3D');
}
}
movieClip 44 UpArrow {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 46 {
}
movieClip 48 {
}
movieClip 49 {
}
movieClip 50 {
}
movieClip 51 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
component.registerSkinElement(highlight3D_mc, 'highlight3D');
}
}
movieClip 52 {
}
movieClip 53 {
}
movieClip 55 {
}
movieClip 56 {
}
movieClip 57 {
}
movieClip 58 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(face_mc, 'face');
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
component.registerSkinElement(highlight3D_mc, 'highlight3D');
}
}
movieClip 59 {
}
movieClip 61 {
}
movieClip 62 {
}
movieClip 63 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, 'highlight3D');
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
}
}
movieClip 64 ScrollThumb {
frame 1 {
stop();
}
}
movieClip 65 {
}
movieClip 67 {
}
movieClip 68 {
}
movieClip 69 {
}
movieClip 70 {
}
movieClip 71 {
}
movieClip 72 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(arrow_mc, 'arrow');
component.registerSkinElement(face_mc, 'face');
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
component.registerSkinElement(highlight3D_mc, 'highlight3D');
}
}
movieClip 73 {
}
movieClip 74 {
}
movieClip 75 {
}
movieClip 76 {
}
movieClip 77 {
}
movieClip 79 {
}
movieClip 80 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(arrow_mc, 'arrow');
component.registerSkinElement(face_mc, 'face');
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
component.registerSkinElement(highlight3D_mc, 'highlight3D');
}
}
movieClip 81 {
}
movieClip 82 {
}
movieClip 83 {
}
movieClip 84 {
}
movieClip 85 {
}
movieClip 87 {
}
movieClip 88 {
frame 1 {
var component = _parent._parent;
component.registerSkinElement(arrow_mc, 'foregroundDisabled');
component.registerSkinElement(face_mc, 'face');
component.registerSkinElement(shadow_mc, 'shadow');
component.registerSkinElement(darkshadow_mc, 'darkshadow');
component.registerSkinElement(highlight_mc, 'highlight');
component.registerSkinElement(highlight3D_mc, 'highlight3D');
}
}
movieClip 89 DownArrow {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 92 bubbleMc {
}
button 95 {
on (release) {
_root.gotoAndStop('art5');
}
}
movieClip 97 Symbol 1 {
frame 1 {
stop();
}
}
movieClip 126 {
}
movieClip 127 {
}
movieClip 128 {
instance of movieClip 127 {
onClipEvent (enterFrame) {
if (_root.gameplaying == false) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 132 {
}
movieClip 134 sin {
}
movieClip 136 {
}
movieClip 137 {
frame 1 {
var component = _parent;
component.registerSkinElement(track_mc, 'scrollTrack');
}
}
movieClip 138 FScrollBarSymbol {
#initclip
FScrollBarClass = function () {
if (this._height == 4) {
return undefined;
}
this.init();
this.largeScroll = 0;
this.pageSize = 0;
this.maxPos = 0;
this.minPos = 0;
this.smallScroll = 1;
this.width = this.horizontal ? this._width : this._height;
this._yscale = 100;
this._xscale = 100;
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && !flag) {
this._xscale = 100;
this._rotation = 0;
} else {
if (flag && !this.horizontal) {
this._xscale = -100;
this._rotation = -90;
}
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return undefined;
}
this.pageSize = 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.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onDragOut = null;
this.downArrow_mc.onRelease = this.downArrow_mc.onDragOut;
this.downArrow_mc.onPress = this.downArrow_mc.onDragOut;
this.upArrow_mc.onDragOut = null;
this.upArrow_mc.onRelease = this.upArrow_mc.onDragOut;
this.upArrow_mc.onPress = this.upArrow_mc.onDragOut;
this.scrollTrack_mc.onRelease = null;
this.scrollTrack_mc.onPress = this.scrollTrack_mc.onRelease;
this.scrollTrack_mc.onRollOut = null;
this.scrollTrack_mc.onDragOut = this.scrollTrack_mc.onRollOut;
this.scrollTrack_mc.useHandCursor = false;
} else {
var v2 = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onDragOver = this.startUpScroller;
this.upArrow_mc.onPress = this.upArrow_mc.onDragOver;
this.upArrow_mc.onDragOut = this.stopScrolling;
this.upArrow_mc.onRelease = this.upArrow_mc.onDragOut;
this.downArrow_mc.onDragOver = this.startDownScroller;
this.downArrow_mc.onPress = this.downArrow_mc.onDragOver;
this.downArrow_mc.onDragOut = this.stopScrolling;
this.downArrow_mc.onRelease = this.downArrow_mc.onDragOut;
this.scrollTrack_mc.onDragOver = this.startTrackScroller;
this.scrollTrack_mc.onPress = this.scrollTrack_mc.onDragOver;
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie('ScrollThumb', 'scrollThumb_mc', 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb;
this.scrollThumb_mc.onRelease = this.scrollThumb_mc.onReleaseOutside;
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / (this.maxPos - this.minPos + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = this.thumbHeight - this.thumbTop_mc._height - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = this.midHeight * 100 / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
v2 = Math.min(v2, this.maxPos);
this.setScrollPosition(Math.max(v2, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return this.scrollPosition;
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (pos - this.minPos) * this.trackHeight / (this.maxPos - this.minPos) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var v3 = this.enable;
if (enabledFlag && !v3) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else {
if (!enabledFlag && v3) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return undefined;
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = 100 * this.width / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie('UpArrow', 'upArrow_mc', 1);
this.attachMovie('DownArrow', 'downArrow_mc', 2);
this.upArrow_mc.controller = this;
this.downArrow_mc.controller = this.upArrow_mc.controller;
this.downArrow_mc.useHandCursor = false;
this.upArrow_mc.useHandCursor = this.downArrow_mc.useHandCursor;
this.upArrow_mc._y = 0;
this.upArrow_mc._x = 0;
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - 2 * this.downArrow_mc._height;
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var v3 = this.smallScroll;
if (inc != 'one') {
v3 = (this.largeScroll == 0) ? this.pageSize : this.largeScroll;
}
var v2 = this.getScrollPosition() + mode * v3;
if (v2 > this.maxPos) {
v2 = this.maxPos;
} else {
if (v2 < this.minPos) {
v2 = this.minPos;
}
}
this.setScrollPosition(v2);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove += this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else {
if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
}
this._y = this.scrollMove;
var v2 = this.controller;
v2.scrollPosition = Math.round((v2.maxPos - v2.minPos) * (this._y - v2.scrollTop) / v2.trackHeight) + v2.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, 'scrollInterval', 500, 'page', -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == 'page') {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, 'scrollInterval', 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if (this.scrollThumb_mc._y + this.thumbHeight < this._ymouse) {
this.scrollIt('page', 1);
} else {
if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt('page', -1);
}
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt('one', -1);
this.controller.scrolling = setInterval(this.controller, 'scrollInterval', 500, 'one', -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt('one', 1);
this.controller.scrolling = setInterval(this.controller, 'scrollInterval', 500, 'one', 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[this.horizontal ? 'hScroller' : 'vScroller'];
if (this.textField.hScroller != undefined && this.textField.vScroller != undefined) {
this.textField.unwatch('text');
this.textField.unwatch('htmltext');
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return undefined;
}
this.textField = tF;
this.textField[this.horizontal ? 'hScroller' : 'vScroller'] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch('text', this.callback);
this.textField.watch('htmlText', this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, 'onTextChanged', 50);
this.vScroller.synchScroll = setInterval(this.vScroller, 'onTextChanged', 50);
return newVal;
};
FScrollBarClass.prototype.onTextChanged = function () {
if (!this.enable || this.textField == undefined) {
return undefined;
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var v3 = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(v3, this.textField.maxhscroll));
} else {
var v3 = this.textField.scroll;
var v2 = this.textField.bottomScroll - this.textField.scroll;
this.setScrollProperties(v2, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(v3, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else {
if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
}
};
Object.registerClass('FScrollBarSymbol', FScrollBarClass);
#endinitclip
frame 1 {
}
}
button 144 {
on (release) {
com.newgrounds.API.loadNewgrounds();
}
}
movieClip 157 {
}
button 163 {
on (release) {
nextFrame();
}
}
button 164 {
on (release) {
prevFrame();
}
}
button 168 {
on (release) {
selectPeriod('Today');
}
}
button 171 {
on (release) {
selectPeriod('This Week');
}
}
button 174 {
on (release) {
selectPeriod('This Month');
}
}
button 177 {
on (release) {
selectPeriod('This Year');
}
}
button 180 {
on (release) {
selectPeriod('All-Time');
}
}
movieClip 181 {
frame 1 {
function selectPeriod(p) {
_parent.loadScores(10, p);
period = p;
gotoAndStop(1);
}
stop();
}
}
movieClip 182 Score Board (NewgroundsAPI) {
#initclip
Object.registerClass('Score Board (NewgroundsAPI)', com.newgrounds.components.ScoreTable);
#endinitclip
frame 1 {
loadScores(10);
}
}
movieClip 210 {
frame 1 {
label -20368:
label -4626:
label -1250:
Unknown action: 0xfc
function () {
= (2410 % 511) * true;
if (!'') {
} else {}
return ;
}
var = -65 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( == 301) {
+= 165;
true;
}
if ( != 533) break;
for (;;) {
-= 94;
if ( == 849) {
-= 245;
}
if ( == 475) {
+= 58;
// An attempt to read a value from empty stack
if (undefined) break;
goto 354;
-= 94;
label 354:
}
if ( == 853) {
-= 564;
// An attempt to read a value from empty stack
if (!undefined) {
goto 437;
}
-= 117;
label 437:
}
if ( == 921) {
-= 446;
// An attempt to read a value from empty stack
!undefined;
}
if ( == 499) {
+= 354;
true;
}
if ( == 439) {
-= 257;
break;
goto 1574;
}
if ( == 519) {
+= 46;
// An attempt to read a value from empty stack
if (!undefined) {
goto 681;
}
+= 284;
label 681:
}
if ( != 172) break;
+= 1;
if ( == 422) {
+= 77;
}
if ( == 565) {
+= 284;
goto -4626;
}
if ( == 288) {
-= 135;
goto -1250;
}
if ( == 95) {
+= 826;
// An attempt to read a value from empty stack
eval(undefined);
}
if ( != 153) break;
+= 346;
if ( != 289) goto 1064;
-= 117;
goto -20368;
label 1064:
if ( != 182) goto 1115;
-= 182;
label 1115:
+= 346;
-= 396;
-= 438;
var eval(true) = '';
if ( != 173) goto 1338;
+= 325;
label 1338:
+= 435;
for (;;) {
-= 38;
-= 178;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Unknown action: 0xfc
'';
1;
!= 169;
}
}
movieClip 212 {
frame 10 {
stop();
}
}
movieClip 214 {
frame 37 {
_parent.setGotoFrame('done');
stop();
}
}
movieClip 216 {
}
movieClip 218 NewgroundsAPIAsset_Medal_Icon_Placeholder {
}
movieClip 226 NewgroundsAPIAsset_Medal_Popup {
frame 1 {
label -18653:
Unknown action: 0xfc
function () {
= (2071 % 511) * true;
if (!'') {
} else {}
return ;
}
var = 453 + ();
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
for (;;) {
if ( == 480) {
+= 299;
true;
}
if ( != 17) break;
for (;;) {
+= 666;
if ( != 342) break;
+= 146;
// An attempt to read a value from empty stack
if ( == 895) {
-= 137;
}
if ( == 963) {
-= 68;
goto -18653;
}
if ( == 117) {
+= 225;
}
if ( == 2) {
+= 756;
}
if ( != 925) break;
+= 38;
if (eval(undefined)) goto 561;
goto 584;
label 561:
-= 68;
label 584:
if ( == 779) {
-= 704;
// An attempt to read a value from empty stack
if (!undefined) {
} else {
+= 288;
}
}
if ( == 455) {
+= 470;
true;