Frame 1
percent = Math.floor((getBytesLoaded() / getBytesTotal()) * 100);
Frame 2
if (percent == 100) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Frame 4
stop();
Frame 5
function pop() {
}
function resetSheet() {
var _local3 = 1;
for(;;){
if (_local3 >= 15) {
return(undefined);
}
var _local2 = 1;
while (_local2 < 11) {
_root[(("pr" + _local2) + "c") + _local3]._visible = false;
_local2++;
}
_local3++;
};
}
Math.randomBetween = function (a, b) {
return(a + Math.floor(Math.random() * ((b - a) + 1)));
};
pop.prototype = new MovieClip();
pop.prototype.onPress = function () {
if (this._currentframe == 1) {
this.gotoandstop(Math.randomBetween(2, 7));
}
};
pop.prototype.onRollOver = function () {
if (manicmode.getValue() || (Key.isDown(16))) {
if (this._currentframe == 1) {
this.gotoandstop(Math.randomBetween(2, 5));
}
}
};
Object.registerClass("Pop", pop);
var col = 1;
while (col < 15) {
var row = 1;
while (row < 11) {
var x = ((col * 33) - 13);
if ((row % 2) != 0) {
x = x + 17;
}
var y = ((row * 29) - 10);
_root.attachMovie("Pop", (("pr" + row) + "c") + col, (50 * row) + col, {_x:x, _y:y});
row++;
}
col++;
}
Frame 300
resetSheet();
Frame 355
stop();
Instance of Symbol 182 MovieClip in Frame 355
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 7 MovieClip 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");
Symbol 9 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "background");
Symbol 11 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 13 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 15 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "foregroundDisabled");
Symbol 17 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "check");
Symbol 18 MovieClip [fcb_states] Frame 1
stop();
Symbol 18 MovieClip [fcb_states] Frame 2
stop();
Symbol 18 MovieClip [fcb_states] Frame 3
stop();
Symbol 18 MovieClip [fcb_states] Frame 4
stop();
Symbol 18 MovieClip [fcb_states] Frame 5
stop();
Symbol 18 MovieClip [fcb_states] Frame 6
stop();
Symbol 21 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
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._width = (this.deadPreview._height = 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 _local3 in this.styleFormat_prm) {
this.setStyleProperty(_local3, this.styleFormat_prm[_local3]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length <= 0) ? true : (enabledFlag));
this.tabEnabled = (this.focusEnabled = enabledFlag);
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 _local2 in this.methodTable) {
this[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local4 = this.styleTable.focusRectInner.value;
var _local5 = this.styleTable.focusRectOuter.value;
if (_local4 == undefined) {
_local4 = 16777215 /* 0xFFFFFF */;
}
if (_local5 == undefined) {
_local5 = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, _local5);
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, _local4);
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 != "") {
var _local17 = parseInt(value);
if (!isNaN(_local17)) {
value = _local17;
}
var _local16 = ((arguments.length <= 2) ? false : (isGlobal));
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!_local16)) {
this.styleTable[propName].value = value;
if (!this.setCustomStyleProperty(propName, value)) {
if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var _local18 = propName.subString(4, propName.length);
this.textStyle[_local18] = value;
this.invalidate("setSize");
} else {
for (var _local15 in this.styleTable[propName].coloredMCs) {
var _local4 = new Color(this.styleTable[propName].coloredMCs[_local15]);
if (this.styleTable[propName].value == undefined) {
var _local5 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local4.setTransform(_local5);
} else {
_local4.setRGB(value);
}
}
}
}
this.styleTable[propName].useGlobal = _local16;
}
}
};
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 _local3 = new Color(skinMCRef);
_local3.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 _local3 in arguments[0]) {
this[_local3] = arguments[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local4 = 0;
for(;;){
if (_local4 >= arguments.length) {
return(undefined);
}
var _local3 = arguments[_local4];
this.listeners[arguments[_local4]] = _local3;
for (var _local5 in this) {
if (this.isAStyle(_local5)) {
_local3.updateStyleProperty(this, _local5.toString());
}
}
_local4++;
};
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
if (component.styleTable[_local4].useGlobal == this.isGlobal) {
component.styleTable[_local4].useGlobal = true;
var _local3 = (this.isGlobal ? undefined : (globalStyleFormat[_local4]));
component.setStyleProperty(_local4, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local6 = 0;
for (var _local5 in this.listeners) {
var _local3 = this.listeners[_local5];
if (arguments.length > 0) {
var _local4 = 0;
while (_local4 < arguments.length) {
if (this.isAStyle(arguments[_local4])) {
_local3.updateStyleProperty(this, arguments[_local4]);
}
_local4++;
}
} else {
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
_local3.updateStyleProperty(this, _local4.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 24 MovieClip [FLabelSymbol] Frame 1
#initclip 2
_global.FLabelClass = function () {
if (this.hostComponent == undefined) {
this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller));
}
if (this.customTextStyle == undefined) {
if (this.hostComponent.textStyle == undefined) {
this.hostComponent.textStyle = new TextFormat();
}
this.textStyle = this.hostComponent.textStyle;
this.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var _local2 = this.hostComponent.styleTable.embedFonts.value;
if (_local2 != undefined) {
this.labelField.embedFonts = _local2;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.text = label;
this.labelField._height = this.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
this.enable = enable;
var _local2 = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value;
if (_local2 == undefined) {
_local2 = (enable ? 0 : 8947848);
}
this.setColor(_local2);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 30 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 36 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 42 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame4, "shadow");
component.registerSkinElement(frame2, "darkshadow");
component.registerSkinElement(frame3, "highlight");
component.registerSkinElement(frame1, "highlight3D");
Symbol 48 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 49 MovieClip [fpb_states] Frame 1
stop();
Symbol 49 MovieClip [fpb_states] Frame 2
stop();
Symbol 49 MovieClip [fpb_states] Frame 3
stop();
Symbol 49 MovieClip [fpb_states] Frame 4
stop();
Symbol 70 MovieClip [Pop] Frame 1
stop();
Symbol 70 MovieClip [Pop] Frame 2
stop();
Symbol 70 MovieClip [Pop] Frame 3
stop();
Symbol 70 MovieClip [Pop] Frame 4
stop();
Symbol 70 MovieClip [Pop] Frame 5
stop();
Symbol 70 MovieClip [Pop] Frame 6
stop();
Symbol 70 MovieClip [Pop] Frame 7
stop();
Symbol 73 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 73 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 75 MovieClip [FPushButtonSymbol] Frame 1
#initclip 3
function FPushButtonClass() {
this.init();
}
FPushButtonClass.prototype = new FUIComponentClass();
Object.registerClass("FPushButtonSymbol", FPushButtonClass);
FPushButtonClass.prototype.init = function () {
super.setSize(this._width, this._height);
this.boundingBox_mc.unloadMovie();
this.attachMovie("fpb_states", "fpbState_mc", 1);
this.attachMovie("FLabelSymbol", "fLabel_mc", 2);
this.attachMovie("fpb_hitArea", "fpb_hitArea_mc", 3);
super.init();
this.btnState = false;
this.setClickHandler(this.clickHandler);
this._xscale = 100;
this._yscale = 100;
this.setSize(this.width, this.height);
if (this.label != undefined) {
this.setLabel(this.label);
}
this.ROLE_SYSTEM_PUSHBUTTON = 43;
this.STATE_SYSTEM_PRESSED = 8;
this.EVENT_OBJECT_STATECHANGE = 32778;
this.EVENT_OBJECT_NAMECHANGE = 32780;
this._accImpl.master = this;
this._accImpl.stub = false;
this._accImpl.get_accRole = this.get_accRole;
this._accImpl.get_accName = this.get_accName;
this._accImpl.get_accState = this.get_accState;
this._accImpl.get_accDefaultAction = this.get_accDefaultAction;
this._accImpl.accDoDefaultAction = this.accDoDefaultAction;
};
FPushButtonClass.prototype.setHitArea = function (w, h) {
var _local3 = this.fpb_hitArea_mc;
this.hitArea = _local3;
_local3._visible = false;
_local3._width = w;
_local3._height = ((arguments.length <= 1) ? (_local3._height) : (h));
};
FPushButtonClass.prototype.setSize = function (w, h) {
w = ((w >= 6) ? (w) : 6);
if (arguments.length > 1) {
if (h < 6) {
h = 6;
}
}
super.setSize(w, h);
this.setLabel(this.getLabel());
this.arrangeLabel();
this.setHitArea(w, h);
this.boundingBox_mc._width = w;
this.boundingBox_mc._height = h;
this.drawFrame();
if (this.focused) {
super.myOnSetFocus();
}
this.initContentPos("fLabel_mc");
};
FPushButtonClass.prototype.arrangeLabel = function () {
var _local2 = this.fLabel_mc;
var _local4 = this.height;
var _local5 = this.width - 2;
var _local3 = 1;
this.fLabel_mc.setSize(_local5 - (_local3 * 4));
_local2._x = _local3 * 3;
_local2._y = (_local4 / 2) - (_local2._height / 2);
};
FPushButtonClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FPushButtonClass.prototype.setLabel = function (label) {
this.fLabel_mc.setLabel(label);
this.txtFormat();
this.arrangeLabel();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE);
}
};
FPushButtonClass.prototype.getEnabled = function () {
return(this.enabled);
};
FPushButtonClass.prototype.setEnabled = function (enable) {
if (enable || (enable == undefined)) {
this.gotoFrame(1);
this.drawFrame();
this.flabel_mc.setEnabled(true);
this.enabled = true;
super.setEnabled(true);
return(undefined);
}
this.gotoFrame(4);
this.drawFrame();
this.flabel_mc.setEnabled(false);
this.enabled = false;
super.setEnabled(false);
};
FPushButtonClass.prototype.txtFormat = function () {
var _local3 = this.textStyle;
var _local4 = this.styleTable;
_local3.align = ((_local4.textAlign.value == undefined) ? ((_local3.align = "center")) : undefined);
_local3.leftMargin = ((_local4.textLeftMargin.value == undefined) ? ((_local3.leftMargin = 1)) : undefined);
_local3.rightMargin = ((_local4.textRightMargin.value == undefined) ? ((_local3.rightMargin = 1)) : undefined);
if (this.fLabel_mc._height > this.height) {
super.setSize(this.width, this.fLabel_mc._height);
} else {
super.setSize(this.width, this.height);
}
this.fLabel_mc.labelField.setTextFormat(this.textStyle);
this.setEnabled(this.enable);
};
FPushButtonClass.prototype.drawFrame = function () {
var _local3 = 1;
var _local6 = 0;
var _local4 = 0;
var _local9 = this.width;
var _local8 = this.height;
var _local12 = ["up_mc", "over_mc", "down_mc", "disabled_mc"];
var _local7 = _local12[this.fpbState_mc._currentframe - 1];
var _local5 = "frame";
var _local2 = 0;
for(;;){
if (_local2 >= 6) {
return(undefined);
}
_local6 = _local6 + ((_local2 % 2) * _local3);
_local4 = _local4 + ((_local2 % 2) * _local3);
_local9 = _local9 - (((_local2 + 1) % 2) * _local3);
_local8 = _local8 - (((_local2 + 1) % 2) * _local3);
var _local11 = Math.abs(_local6 - _local9) + (2 * _local3);
var _local10 = Math.abs(_local4 - _local8) + (2 * _local3);
this.fpbState_mc[_local7][_local5 + _local2]._width = _local11;
this.fpbState_mc[_local7][_local5 + _local2]._height = _local10;
this.fpbState_mc[_local7][_local5 + _local2]._x = _local6 - _local3;
this.fpbState_mc[_local7][_local5 + _local2]._y = _local4 - _local3;
_local2++;
};
};
FPushButtonClass.prototype.setClickHandler = function (chng, obj) {
this.handlerObj = ((arguments.length >= 2) ? (obj) : (this._parent));
this.clickHandler = chng;
};
FPushButtonClass.prototype.executeCallBack = function () {
this.handlerObj[this.clickHandler](this);
};
FPushButtonClass.prototype.initContentPos = function (mc) {
this.incrVal = 1;
this.initx = this[mc]._x - (this.getBtnState() * this.incrVal);
this.inity = this[mc]._y - (this.getBtnState() * this.incrVal);
this.togx = this.initx + this.incrVal;
this.togy = this.inity + this.incrVal;
};
FPushButtonClass.prototype.setBtnState = function (state) {
this.btnState = state;
if (state) {
this.fLabel_mc._x = this.togx;
this.fLabel_mc._y = this.togy;
return(undefined);
}
this.fLabel_mc._x = this.initx;
this.fLabel_mc._y = this.inity;
};
FPushButtonClass.prototype.getBtnState = function () {
return(this.btnState);
};
FPushButtonClass.prototype.myOnSetFocus = function () {
this.focused = true;
super.myOnSetFocus();
};
FPushButtonClass.prototype.onPress = function () {
this.pressFocus();
this.fpbState_mc.gotoAndStop(3);
this.drawFrame();
this.setBtnState(true);
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FPushButtonClass.prototype.onRelease = function () {
this.fpbState_mc.gotoAndStop(2);
this.drawFrame();
this.executeCallBack();
this.setBtnState(false);
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FPushButtonClass.prototype.onRollOver = function () {
this.fpbState_mc.gotoAndStop(2);
this.drawFrame();
};
FPushButtonClass.prototype.onRollOut = function () {
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onReleaseOutside = function () {
this.setBtnState(false);
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onDragOut = function () {
this.setBtnState(false);
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onDragOver = function () {
this.setBtnState(true);
this.fpbState_mc.gotoAndStop(3);
this.drawFrame();
};
FPushButtonClass.prototype.myOnKeyDown = function () {
if ((Key.getCode() == 32) && (this.pressOnce == undefined)) {
this.onPress();
this.pressOnce = 1;
}
};
FPushButtonClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.onRelease();
this.pressOnce = undefined;
}
};
FPushButtonClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_PUSHBUTTON);
};
FPushButtonClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FPushButtonClass.prototype.get_accState = function (childId) {
if (this.pressOnce) {
return(this.master.STATE_SYSTEM_PRESSED);
}
return(this.master.STATE_SYSTEM_DEFAULT);
};
FPushButtonClass.prototype.get_accDefaultAction = function (childId) {
return("Press");
};
FPushButtonClass.prototype.accDoDefaultAction = function (childId) {
this.master.onPress();
this.master.onRelease();
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 77 MovieClip [FCheckBoxSymbol] Frame 1
#initclip 4
function FCheckBoxClass() {
this.init();
}
FCheckBoxClass.prototype = new FUIComponentClass();
Object.registerClass("FCheckBoxSymbol", FCheckBoxClass);
FCheckBoxClass.prototype.init = function () {
super.setSize(this._width, this._height);
this.boundingBox_mc.unloadMovie();
this.attachMovie("fcb_hitArea", "fcb_hitArea_mc", 1);
this.attachMovie("fcb_states", "fcb_states_mc", 2);
this.attachMovie("FLabelSymbol", "fLabel_mc", 3);
super.init();
this.setChangeHandler(this.changeHandler);
this._xscale = 100;
this._yscale = 100;
this.setSize(this.width, this.height);
if (this.initialValue == undefined) {
this.setCheckState(false);
} else {
this.setCheckState(this.initialValue);
}
if (this.label != undefined) {
this.setLabel(this.label);
}
this.ROLE_SYSTEM_CHECKBUTTON = 44;
this.STATE_SYSTEM_CHECKED = 16;
this.EVENT_OBJECT_STATECHANGE = 32778;
this.EVENT_OBJECT_NAMECHANGE = 32780;
this._accImpl.master = this;
this._accImpl.stub = false;
this._accImpl.get_accRole = this.get_accRole;
this._accImpl.get_accName = this.get_accName;
this._accImpl.get_accState = this.get_accState;
this._accImpl.get_accDefaultAction = this.get_accDefaultAction;
this._accImpl.accDoDefaultAction = this.accDoDefaultAction;
};
FCheckBoxClass.prototype.setLabelPlacement = function (pos) {
this.setLabel(this.getLabel());
this.txtFormat(pos);
var _local8 = this.fLabel_mc._height / 2;
var _local7 = this.fcb_states_mc._height / 2;
var _local5 = _local7 - _local8;
var _local6 = this.fcb_states_mc._width;
var _local4 = this.fcb_states_mc;
var _local9 = this.fLabel_mc;
var _local2 = 0;
if (_local4._width > this.width) {
_local2 = 0;
} else {
_local2 = this.width - _local4._width;
}
this.fLabel_mc.setSize(_local2);
if ((pos == "right") || (pos == undefined)) {
this.labelPlacement = "right";
this.fcb_states_mc._x = 0;
this.fLabel_mc._x = _local6;
this.txtFormat("left");
} else if (pos == "left") {
this.labelPlacement = "left";
this.fLabel_mc._x = 0;
this.fcb_states_mc._x = this.width - _local6;
this.txtFormat("right");
}
this.fLabel_mc._y = _local5;
this.fcb_hitArea_mc._y = _local5;
};
FCheckBoxClass.prototype.txtFormat = function (pos) {
var _local3 = this.textStyle;
var _local4 = this.styleTable;
_local3.align = ((_local4.textAlign.value == undefined) ? ((_local3.align = pos)) : undefined);
_local3.leftMargin = ((_local4.textLeftMargin.value == undefined) ? ((_local3.leftMargin = 0)) : undefined);
_local3.rightMargin = ((_local4.textRightMargin.value == undefined) ? ((_local3.rightMargin = 0)) : undefined);
if (this.flabel_mc._height > this.height) {
super.setSize(this.width, this.flabel_mc._height);
} else {
super.setSize(this.width, this.height);
}
this.fLabel_mc.labelField.setTextFormat(this.textStyle);
this.setEnabled(this.enable);
};
FCheckBoxClass.prototype.setHitArea = function (w, h) {
var _local3 = this.fcb_hitArea_mc;
this.hitArea = _local3;
if (this.fcb_states_mc._width > w) {
_local3._width = this.fcb_states_mc._width;
} else {
_local3._width = w;
}
_local3._visible = false;
if (arguments.length > 1) {
_local3._height = h;
}
};
FCheckBoxClass.prototype.setSize = function (w) {
this.setLabel(this.getLabel());
this.setLabelPlacement(this.labelPlacement);
if (this.fcb_states_mc._height < this.flabel_mc.labelField._height) {
super.setSize(w, this.flabel_mc.labelField._height);
}
this.setHitArea(this.width, this.height);
this.setLabelPlacement(this.labelPlacement);
};
FCheckBoxClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this._width + 6, this._height - 1);
};
FCheckBoxClass.prototype.onPress = function () {
this.pressFocus();
_root.focusRect.removeMovieClip();
var _local3 = this.fcb_states_mc;
if (this.getValue()) {
_local3.gotoAndStop("checkedPress");
return(undefined);
}
_local3.gotoAndStop("press");
};
FCheckBoxClass.prototype.onRelease = function () {
this.fcb_states_mc.gotoAndStop("up");
this.setValue(!this.checked);
};
FCheckBoxClass.prototype.onReleaseOutside = function () {
var _local2 = this.fcb_states_mc;
if (this.getValue()) {
_local2.gotoAndStop("checkedEnabled");
return(undefined);
}
_local2.gotoAndStop("up");
};
FCheckBoxClass.prototype.onDragOut = function () {
var _local2 = this.fcb_states_mc;
if (this.getValue()) {
_local2.gotoAndStop("checkedEnabled");
return(undefined);
}
_local2.gotoAndStop("up");
};
FCheckBoxClass.prototype.onDragOver = function () {
var _local2 = this.fcb_states_mc;
if (this.getValue()) {
_local2.gotoAndStop("checkedPress");
return(undefined);
}
_local2.gotoAndStop("press");
};
FCheckBoxClass.prototype.setValue = function (checkedValue) {
if (checkedValue || (checkedValue == undefined)) {
this.setCheckState(checkedValue);
} else if (checkedValue == false) {
this.setCheckState(checkedValue);
}
this.executeCallBack();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FCheckBoxClass.prototype.setCheckState = function (checkedValue) {
var _local2 = this.fcb_states_mc;
if (this.enable) {
this.flabel_mc.setEnabled(true);
if (checkedValue || (checkedValue == undefined)) {
_local2.gotoAndStop("checkedEnabled");
this.enabled = true;
this.checked = true;
} else {
_local2.gotoAndStop("up");
this.enabled = true;
this.checked = false;
}
return(undefined);
}
this.flabel_mc.setEnabled(false);
if (checkedValue || (checkedValue == undefined)) {
_local2.gotoAndStop("checkedDisabled");
this.enabled = false;
this.checked = true;
return(undefined);
}
_local2.gotoAndStop("uncheckedDisabled");
this.enabled = false;
this.checked = false;
this.focusRect.removeMovieClip();
};
FCheckBoxClass.prototype.getValue = function () {
return(this.checked);
};
FCheckBoxClass.prototype.setEnabled = function (enable) {
if ((enable == true) || (enable == undefined)) {
this.enable = true;
super.setEnabled(true);
} else {
this.enable = false;
super.setEnabled(false);
}
this.setCheckState(this.checked);
};
FCheckBoxClass.prototype.getEnabled = function () {
return(this.enable);
};
FCheckBoxClass.prototype.setLabel = function (label) {
this.fLabel_mc.setLabel(label);
this.txtFormat();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE);
}
};
FCheckBoxClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FCheckBoxClass.prototype.setTextColor = function (color) {
this.fLabel_mc.labelField.textColor = color;
};
FCheckBoxClass.prototype.myOnKeyDown = function () {
if (((Key.getCode() == 32) && (this.pressOnce == undefined)) && (this.enabled == true)) {
this.setValue(!this.getValue());
this.pressOnce = true;
}
};
FCheckBoxClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.pressOnce = undefined;
}
};
FCheckBoxClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_CHECKBUTTON);
};
FCheckBoxClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FCheckBoxClass.prototype.get_accState = function (childId) {
if (this.master.getValue()) {
return(this.master.STATE_SYSTEM_CHECKED);
}
return(0);
};
FCheckBoxClass.prototype.get_accDefaultAction = function (childId) {
if (this.master.getValue()) {
return("UnCheck");
}
return("Check");
};
FCheckBoxClass.prototype.accDoDefaultAction = function (childId) {
this.master.setValue(!this.master.getValue());
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 78 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 92 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 93 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 94 Button
on (release) {
getURL ("http://www.bloggits.com", "_blank");
}
Symbol 116 MovieClip Frame 1
nCharacterCount = 13;
nFrameCount = 3;
nScaleSpeed = 10;
nAlphaSpeed = 3;
bDirection = 1;
nInterval = 5;
nMaxScale = 200;
nMinScale = 0;
function fun() {
i = 1;
for(;;){
if (nCharacterCount < i) {
return(undefined);
}
if (0 < nIsRun[i - 1]) {
var _local2 = i - 1;
__reg0 = (nIsRun[_local2] = __reg0[_local2] - 1);
} else if (nMode[i - 1]) {
this["c" + i]._xscale = this["c" + i]._xscale - nScaleSpeed;
this["c" + i]._yscale = this["c" + i]._yscale - nScaleSpeed;
this["c" + i]._alpha = this["c" + i]._alpha + nAlphaSpeed;
if (this["c" + i]._xscale < nMinScale) {
this["c" + i]._xscale = 0;
this["c" + i]._yscale = 0;
}
if (100 < this["c" + i]._alpha) {
nMode[i - 1] = false;
}
} else {
this["c" + i]._xscale = this["c" + i]._xscale + nScaleSpeed;
this["c" + i]._yscale = this["c" + i]._yscale + nScaleSpeed;
this["c" + i]._alpha = this["c" + i]._alpha - nAlphaSpeed;
if (nMaxScale < this["c" + i]._xscale) {
this["c" + i]._xscale = nMaxScale;
this["c" + i]._yscale = nMaxScale;
}
if (this["c" + i]._alpha < 0) {
nMode[i - 1] = true;
}
}
i++;
};
}
function again() {
gotoAndPlay (2);
}
nCharacter_x = new Array(nCharacterCount);
nCharacter_y = new Array(nCharacterCount);
nIsRun = new Array(nCharacterCount);
nMode = new Array(nCharacterCount);
nWhoRun = 1;
i = 1;
while (nCharacterCount >= i) {
this["c" + i]._alpha = 0;
this["c" + i]._xscale = 200;
this["c" + i]._yscale = 200;
nCharacter_x[i - 1] = this["c" + i]._x;
nCharacter_y[i - 1] = this["c" + i]._y;
nMode[i - 1] = true;
if (bDirection) {
if (i == 1) {
nIsRun[0] = 0;
} else {
nIsRun[i - 1] = nIsRun[i - 2];
var __local1 = (i - 1);
__reg0 = (nIsRun[__local1] = __reg0[__local1] + nInterval);
}
} else if (i == 1) {
nIsRun[nCharacterCount - 1] = 0;
} else {
nIsRun[nCharacterCount - i] = nIsRun[nCharacterCount - (i - 1)];
var __local2 = (nCharacterCount - i);
__reg0 = (nIsRun[__local2] = __reg0[__local2] + nInterval);
}
i++;
}
fun();
Symbol 116 MovieClip Frame 2
fun();
Symbol 116 MovieClip Frame 3
again();
Symbol 123 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 124 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 125 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 126 Button
on (release) {
getURL ("http://www.bloggits.com", "_blank");
}
Symbol 154 Button
on (release) {
gotoAndPlay (5);
}
Symbol 157 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 158 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 159 Button
on (release) {
getURL ("http://www.winterrowd.com", "_blank");
}
Symbol 160 Button
on (release) {
getURL ("http://www.bloggits.com", "_blank");
}
Symbol 185 Button
on (press) {
getURL ("http://twitter.com/home?status=Currently+playing+Bubble+Wrap+Maniac!+http://www.winterrowd.com/bubblewrap+The+best+games+via+@Winterrowd", "_blank");
}
Symbol 188 Button
on (press) {
getURL ("http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.winterrowd.com/bubblewrap", "_blank");
}
Symbol 193 Button
on (press) {
getURL ("http://www.facebook.com/sharer.php?u=http://www.winterrowd.com/bubblewrap&t=Bubble+Wrap+Maniac", "_blank");
}
Symbol 196 Button
on (release) {
getURL ("http://www.winterrowd.com/bubblewrap", "_top");
}