Frame 2
Object.prototype.inherits = function (superClass, argObj) {
var _local1 = this;
_local1.tmp_Base = superClass;
_local1.tmp_Base(argObj);
delete _local1.tmp_Base;
};
ASSetPropFlags(Object.prototype, ["inherits"], 1);
Object.locateClass = function (className) {
var _local1 = className;
if (typeof(_local1) == "string") {
if (typeof(this[_local1]) == "function") {
return(this[_local1]);
}
if (typeof(Object.classPath[_local1]) == "function") {
return(Object.classPath[_local1]);
}
if (typeof(_root[_local1]) == "function") {
return(_root[_local1]);
}
if (typeof(_level0[_local1]) == "function") {
return(_level0[_local1]);
}
if (typeof(_parent[_local1]) == "function") {
return(_parent[_local1]);
}
return(null);
}
if (typeof(_local1) == "function") {
return(_local1);
}
return(null);
};
MovieClip.prototype.mcExtends = function (superClass, argObj) {
var _local3 = superClass;
if (typeof(_local3) == "string") {
_local3 = Object.locateClass(_local3);
}
if (typeof(_local3) == "function") {
this.__proto__ = _local3.prototype;
if (this.getBytesTotal() == undefined) {
var _local2 = this.__proto__;
var _local1 = _local2.__proto__.__proto__;
while (_local1 != null) {
_local1 = _local1.__proto__;
_local2 = _local2.__proto__;
}
_local2.__proto__ = MovieClip.prototype;
}
this.inherits(_local3, argObj);
}
};
ASSetPropFlags(MovieClip.prototype, ["mcExtends"], 1);
MovieClip.prototype.showProps = function () {
var _local1 = this;
for (var _local2 in _local1) {
if (typeof(_local1[_local2]) == "function") {
}
}
};
ASSetPropFlags(MovieClip.prototype, ["showProps"], 1);
Object.classPath = this;
_root.gameData = new Array();
_root.gameData.submitResultsURL = "http://hiscores.3form.net/legacyscoreboard.aspx";
_root.gameData.getResultsURL = "http://hiscores.3form.net/legacyscoreboard.aspx";
_root.gameData.postMethod = "GET";
_root.gameData.submitDebug = 0;
_root.gameData.gameID = "3formMansion";
_root.gameData.addPropertyFrequency = 2000;
_root.gameData.noPropertyspaces = 2;
_root.gameData.startingPricePercentage = 25;
_root.gameData.appearTime = 10000;
_root.gameData.secondsAvailable = 1000;
_root.gameData.startingCash = 100000 /* 0x0186A0 */;
_root.gameData.updateFrequency = 6;
_root.gameData.appearAnimationLength = 1000;
_root.gameData.noInstructionScreens = 4;
_root.gameData.maxFluctuationFrequency = 20000;
_root.gameData.minFluctuationFrequency = 13000;
_root.gameData.maxPriceMultiple = 4;
_root.gameData.minPriceMultiple = 2;
_root.gameData.averageStartingPrices = new Array();
_root.gameData.averageStartingPrices[10] = 30000;
_root.gameData.averageStartingPrices[20] = 35000;
_root.gameData.averageStartingPrices[40] = 100000 /* 0x0186A0 */;
_root.gameData.averageStartingPrices[50] = 150000 /* 0x0249F0 */;
_root.gameData.averageStartingPrices[60] = 250000 /* 0x03D090 */;
_root.gameData.averageStartingPrices[65] = 500000 /* 0x07A120 */;
_root.gameData.averageStartingPrices[70] = 1250000 /* 0x1312D0 */;
_root.gameData.averageStartingPrices[80] = 1600000 /* 0x186A00 */;
_root.gameData.averageStartingPrices[90] = 1900000 /* 0x1CFDE0 */;
_root.gameData.averageStartingPrices[100] = 3000000 /* 0x2DC6C0 */;
_root.gameData.averageStartingPrices[110] = 10000000 /* 0x989680 */;
stop();
Frame 3
stop();
Frame 5
stop();
Symbol 11 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 14 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "background");
Symbol 17 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 19 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 22 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "foregroundDisabled");
Symbol 25 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "check");
Symbol 26 MovieClip [fcb_states] Frame 1
stop();
Symbol 26 MovieClip [fcb_states] Frame 2
stop();
Symbol 26 MovieClip [fcb_states] Frame 3
stop();
Symbol 26 MovieClip [fcb_states] Frame 4
stop();
Symbol 26 MovieClip [fcb_states] Frame 5
stop();
Symbol 26 MovieClip [fcb_states] Frame 6
stop();
Symbol 29 MovieClip [FLabelSymbol] Frame 1
#initclip 2
_global.FLabelClass = function () {
var _local1 = this;
if (_local1.hostComponent == undefined) {
_local1.hostComponent = ((_local1._parent.controller == undefined) ? (_local1._parent) : (_local1._parent.controller));
}
if (_local1.customTextStyle == undefined) {
if (_local1.hostComponent.textStyle == undefined) {
_local1.hostComponent.textStyle = new TextFormat();
}
_local1.textStyle = _local1.hostComponent.textStyle;
_local1.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var _local1 = this;
var _local2 = _local1.hostComponent.styleTable.embedFonts.value;
if (_local2 != undefined) {
_local1.labelField.embedFonts = _local2;
}
_local1.labelField.setNewTextFormat(_local1.textStyle);
_local1.labelField.text = label;
_local1.labelField._height = _local1.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
var _local2 = this;
var _local3 = enable;
_local2.enable = _local3;
var _local1 = _local2.hostComponent.styleTable[(_local3 ? "textColor" : "textDisabled")].value;
if (_local1 == undefined) {
_local1 = (_local3 ? 0 : 8947848);
}
_local2.setColor(_local1);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 30 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
var _local1 = this;
var _local3 = _global;
_local1.enable = true;
_local1.focused = false;
_local1.useHandCursor = false;
_local1._accImpl = new Object();
_local1._accImpl.stub = true;
_local1.styleTable = new Array();
if (_local3.globalStyleFormat == undefined) {
_local3.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_local3._focusControl = new Object();
_local3._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_local3._focusControl);
}
if (_local1._name != undefined) {
_local1._focusrect = false;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
_local1.tabChildren = false;
_local1.tabFocused = true;
if (_local1.hostStyle == undefined) {
globalStyleFormat.addListener(_local1);
} else {
_local1.styleTable = _local1.hostStyle;
}
_local1.deadPreview._visible = false;
_local1.deadPreview._width = (_local1.deadPreview._height = 1);
_local1.methodTable = new Object();
_local1.keyListener = new Object();
_local1.keyListener.controller = _local1;
_local1.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
_local1.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local2 in _local1.styleFormat_prm) {
_local1.setStyleProperty(_local2, _local1.styleFormat_prm[_local2]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.enable = ((arguments.length > 0) ? (enabledFlag) : true);
_local1.tabEnabled = (_local1.focusEnabled = enabledFlag);
if ((!_local1.enable) && (_local1.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
var _local1 = this;
_local1.handlerObj = ((obj == undefined) ? (_local1._parent) : (obj));
_local1.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
var _local1 = this;
_local1.methodTable[methodName] = true;
_local1.onEnterFrame = _local1.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
var _local1 = this;
if (_local1.methodTable.setSize) {
_local1.setSize(_local1.width, _local1.height);
} else {
_local1.cleanUINotSize();
}
_local1.methodTable = new Object();
delete _local1.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
var _local1 = this;
for (var _local2 in _local1.methodTable) {
_local1[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local1 = this;
var _local2 = y;
var _local3 = x;
var inner = _local1.styleTable.focusRectInner.value;
var outer = _local1.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
_local1.createEmptyMovieClip("focusRect", 1000);
_local1.focusRect.controller = _local1;
_local1.focusRect.lineStyle(1, outer);
_local1.focusRect.moveTo(_local3, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2);
_local1.focusRect.lineStyle(1, inner);
_local1.focusRect.moveTo(_local3 + 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, _local2 + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
var _local1 = this;
_local1.tabFocused = false;
_local1.focusRect.removeMovieClip();
Selection.setFocus(_local1);
};
FUIComponentClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
var _local1 = this;
_local1.focused = true;
Key.addListener(_local1.keyListener);
if (_local1.tabFocused) {
_local1.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
var _local1 = this;
_local1.tabFocused = true;
_local1.focused = false;
_local1.focusRect.removeMovieClip();
Key.removeListener(_local1.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local1 = this;
var _local2 = propName;
if (value == "") {
} else {
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].useGlobal || (!global)) {
_local1.styleTable[_local2].value = value;
if (_local1.setCustomStyleProperty(_local2, value)) {
} else if (_local2 == "embedFonts") {
_local1.invalidate("setSize");
} else if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var textProp = _local2.subString(4, _local2.length);
_local1.textStyle[textProp] = value;
_local1.invalidate("setSize");
} else {
for (var j in _local1.styleTable[_local2].coloredMCs) {
var _local3 = new Color(_local1.styleTable[_local2].coloredMCs[j]);
if (_local1.styleTable[_local2].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local3.setTransform(myTObj);
} else {
_local3.setRGB(value);
}
}
}
_local1.styleTable[_local2].useGlobal = global;
}
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
var _local1 = this;
var _local2 = propName;
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].coloredMCs == undefined) {
_local1.styleTable[_local2].coloredMCs = new Object();
}
_local1.styleTable[_local2].coloredMCs[skinMCRef] = skinMCRef;
if (_local1.styleTable[_local2].value != undefined) {
var _local3 = new Color(skinMCRef);
_local3.setRGB(_local1.styleTable[_local2].value);
}
};
_global.FStyleFormat = function () {
var _local1 = arguments;
var _local2 = this;
_local2.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
_local2.listeners = new Object();
_local2.isGlobal = false;
if (_local1.length > 0) {
for (var _local3 in _local1[0]) {
_local2[_local3] = _local1[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local1 = this;
var _local2 = 0;
while (_local2 < arguments.length) {
var _local3 = arguments[_local2];
_local1.listeners[arguments[_local2]] = _local3;
for (var i in _local1) {
if (_local1.isAStyle(i)) {
_local3.updateStyleProperty(_local1, i.toString());
}
}
_local2++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
var _local1 = this;
var _local2 = component;
_local1.listeners[_local2] = undefined;
for (var prop in _local1) {
if (_local1.isAStyle(prop)) {
if (_local2.styleTable[prop].useGlobal == _local1.isGlobal) {
_local2.styleTable[prop].useGlobal = true;
var _local3 = (_local1.isGlobal ? undefined : (globalStyleFormat[prop]));
_local2.setStyleProperty(prop, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local1 = this;
var _local2 = arguments;
var count = 0;
for (var i in _local1.listeners) {
var _local3 = _local1.listeners[i];
if (_local2.length > 0) {
var j = 0;
while (j < _local2.length) {
if (_local1.isAStyle(_local2[j])) {
_local3.updateStyleProperty(_local1, _local2[j]);
}
j++;
}
} else {
for (var j in _local1) {
if (_local1.isAStyle(j)) {
_local3.updateStyleProperty(_local1, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 33 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 33 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 36 MovieClip [FCheckBoxSymbol] Frame 1
#initclip 3
function FCheckBoxClass() {
this.init();
}
FCheckBoxClass.prototype = new FUIComponentClass();
Object.registerClass("FCheckBoxSymbol", FCheckBoxClass);
FCheckBoxClass.prototype.init = function () {
var _local1 = this;
super.setSize(_local1._width, _local1._height);
_local1.boundingBox_mc.unloadMovie();
_local1.attachMovie("fcb_hitArea", "fcb_hitArea_mc", 1);
_local1.attachMovie("fcb_states", "fcb_states_mc", 2);
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 3);
super.init();
_local1.setChangeHandler(_local1.changeHandler);
_local1._xscale = 100;
_local1._yscale = 100;
_local1.setSize(_local1.width, _local1.height);
if (_local1.initialValue == undefined) {
_local1.setCheckState(false);
} else {
_local1.setCheckState(_local1.initialValue);
}
if (_local1.label != undefined) {
_local1.setLabel(_local1.label);
}
_local1.ROLE_SYSTEM_CHECKBUTTON = 44;
_local1.STATE_SYSTEM_CHECKED = 16;
_local1.EVENT_OBJECT_STATECHANGE = 32778;
_local1.EVENT_OBJECT_NAMECHANGE = 32780;
_local1._accImpl.master = _local1;
_local1._accImpl.stub = false;
_local1._accImpl.get_accRole = _local1.get_accRole;
_local1._accImpl.get_accName = _local1.get_accName;
_local1._accImpl.get_accState = _local1.get_accState;
_local1._accImpl.get_accDefaultAction = _local1.get_accDefaultAction;
_local1._accImpl.accDoDefaultAction = _local1.accDoDefaultAction;
};
FCheckBoxClass.prototype.setLabelPlacement = function (pos) {
var _local1 = this;
var _local3 = pos;
_local1.setLabel(_local1.getLabel());
_local1.txtFormat(_local3);
var halfLabelH = (_local1.fLabel_mc._height / 2);
var halfFrameH = (_local1.fcb_states_mc._height / 2);
var vertCenter = (halfFrameH - halfLabelH);
var checkWidth = _local1.fcb_states_mc._width;
var frame = _local1.fcb_states_mc;
var label = _local1.fLabel_mc;
var _local2 = 0;
if (frame._width > _local1.width) {
_local2 = 0;
} else {
_local2 = _local1.width - frame._width;
}
_local1.fLabel_mc.setSize(_local2);
if ((_local3 == "right") || (_local3 == undefined)) {
_local1.labelPlacement = "right";
_local1.fcb_states_mc._x = 0;
_local1.fLabel_mc._x = checkWidth;
_local1.txtFormat("left");
} else if (_local3 == "left") {
_local1.labelPlacement = "left";
_local1.fLabel_mc._x = 0;
_local1.fcb_states_mc._x = _local1.width - checkWidth;
_local1.txtFormat("right");
}
_local1.fLabel_mc._y = vertCenter;
_local1.fcb_hitArea_mc._y = vertCenter;
};
FCheckBoxClass.prototype.txtFormat = function (pos) {
var _local1 = this;
var _local2 = _local1.textStyle;
var _local3 = _local1.styleTable;
_local2.align = ((_local3.textAlign.value == undefined) ? ((_local2.align = pos)) : undefined);
_local2.leftMargin = ((_local3.textLeftMargin.value == undefined) ? ((_local2.leftMargin = 0)) : undefined);
_local2.rightMargin = ((_local3.textRightMargin.value == undefined) ? ((_local2.rightMargin = 0)) : undefined);
if (_local1.flabel_mc._height > _local1.height) {
super.setSize(_local1.width, _local1.flabel_mc._height);
} else {
super.setSize(_local1.width, _local1.height);
}
_local1.fLabel_mc.labelField.setTextFormat(_local1.textStyle);
_local1.setEnabled(_local1.enable);
};
FCheckBoxClass.prototype.setHitArea = function (w, h) {
var _local2 = this;
var _local1 = _local2.fcb_hitArea_mc;
_local2.hitArea = _local1;
if (_local2.fcb_states_mc._width > w) {
_local1._width = _local2.fcb_states_mc._width;
} else {
_local1._width = w;
}
_local1._visible = false;
if (arguments.length > 1) {
_local1._height = h;
}
};
FCheckBoxClass.prototype.setSize = function (w) {
var _local1 = this;
_local1.setLabel(_local1.getLabel());
_local1.setLabelPlacement(_local1.labelPlacement);
if (_local1.fcb_states_mc._height < _local1.flabel_mc.labelField._height) {
super.setSize(w, _local1.flabel_mc.labelField._height);
}
_local1.setHitArea(_local1.width, _local1.height);
_local1.setLabelPlacement(_local1.labelPlacement);
};
FCheckBoxClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1._width + 6, _local1._height - 1);
};
FCheckBoxClass.prototype.onPress = function () {
var _local2 = this;
_local2.pressFocus();
_root.focusRect.removeMovieClip();
var _local1 = _local2.fcb_states_mc;
if (_local2.getValue()) {
_local1.gotoAndStop("checkedPress");
} else {
_local1.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.onRelease = function () {
var _local1 = this;
_local1.fcb_states_mc.gotoAndStop("up");
_local1.setValue(!_local1.checked);
};
FCheckBoxClass.prototype.onReleaseOutside = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedEnabled");
} else {
_local1.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOut = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedEnabled");
} else {
_local1.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOver = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedPress");
} else {
_local1.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.setValue = function (checkedValue) {
var _local1 = this;
var _local2 = checkedValue;
if (_local2 || (_local2 == undefined)) {
_local1.setCheckState(_local2);
} else if (_local2 == false) {
_local1.setCheckState(_local2);
}
_local1.executeCallBack();
if (Accessibility.isActive()) {
Accessibility.sendEvent(_local1, 0, _local1.EVENT_OBJECT_STATECHANGE, true);
}
};
FCheckBoxClass.prototype.setCheckState = function (checkedValue) {
var _local1 = this;
var _local3 = checkedValue;
var _local2 = _local1.fcb_states_mc;
if (_local1.enable) {
_local1.flabel_mc.setEnabled(true);
if (_local3 || (_local3 == undefined)) {
_local2.gotoAndStop("checkedEnabled");
_local1.enabled = true;
_local1.checked = true;
} else {
_local2.gotoAndStop("up");
_local1.enabled = true;
_local1.checked = false;
}
} else {
_local1.flabel_mc.setEnabled(false);
if (_local3 || (_local3 == undefined)) {
_local2.gotoAndStop("checkedDisabled");
_local1.enabled = false;
_local1.checked = true;
} else {
_local2.gotoAndStop("uncheckedDisabled");
_local1.enabled = false;
_local1.checked = false;
_local1.focusRect.removeMovieClip();
}
}
};
FCheckBoxClass.prototype.getValue = function () {
return(this.checked);
};
FCheckBoxClass.prototype.setEnabled = function (enable) {
var _local1 = this;
if ((enable == true) || (enable == undefined)) {
_local1.enable = true;
Super.setEnabled(true);
} else {
_local1.enable = false;
Super.setEnabled(false);
}
_local1.setCheckState(_local1.checked);
};
FCheckBoxClass.prototype.getEnabled = function () {
return(this.enable);
};
FCheckBoxClass.prototype.setLabel = function (label) {
var _local1 = this;
_local1.fLabel_mc.setLabel(label);
_local1.txtFormat();
if (Accessibility.isActive()) {
Accessibility.sendEvent(_local1, 0, _local1.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 () {
var _local1 = this;
if (((Key.getCode() == 32) && (_local1.pressOnce == undefined)) && (_local1.enabled == true)) {
_local1.setValue(!_local1.getValue());
_local1.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 50 MovieClip Frame 1
function updateLoader() {
var _local1 = _root;
bytesLoadedPercentage = (_local1.getBytesLoaded() / _local1.getBytesTotal()) * 100;
kbLoaded = Math.Floor(_local1.getBytesLoaded() / 1024);
kbTotal = Math.Floor(_local1.getBytesTotal() / 1024);
load._xScale = bytesLoadedPercentage + 1;
if (bytesLoadedPercentage >= 99) {
_local1.play();
}
}
Instance of Symbol 49 MovieClip in Symbol 50 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.updateLoader();
}
Symbol 57 MovieClip Frame 130
_root.play();
Symbol 65 MovieClip [Loss Display] Frame 20
this.removeMovieClip();
Symbol 71 MovieClip [Profit display] Frame 20
this.removeMovieClip();
Symbol 77 MovieClip [Tax display] Frame 20
this.removeMovieClip();
Symbol 81 MovieClip [Too Much Display] Frame 20
this.removeMovieClip();
Symbol 124 Button
on (release) {
nextInstructionScreen();
}
Symbol 126 Button
on (release) {
instructionScreen = 5;
nextInstructionScreen();
}
Symbol 152 Button
on (release) {
this.sellOrBuy();
}
Symbol 157 MovieClip Frame 1
function Property() {
var _local1 = this;
var _local2 = _root;
_local1.class = "Property";
_local1.currentValue = 0;
_local1.bought = 0;
_local1.inView = 0;
_local1._visible = 0;
_local1.init = function () {
var _local1 = this;
success = _local1._parent.registerProperty(_local1._name);
if (!success) {
}
if (_local1._name eq "mansion") {
_local1.setPriceValues();
_local1.inView = 1;
}
};
_local1.buy = function () {
gotoAndPlay ("Buy");
this.bought = 1;
this.priceWhenBought = currentValue;
};
_local1.sell = function () {
var _local1 = this;
gotoAndPlay ("Sell");
_local1.inView = 0;
_local1.bought = 0;
profit = Math.floor((currentValue - _local1.priceWhenBought) / 1000);
if (profit >= 0) {
_local1.addFloater("Profit", profit);
} else {
_local1.addFloater("Loss", profit * -1);
}
};
_local1.appear = function () {
var _local1 = this;
var _local2 = _root;
if (_local1.inView == 0) {
gotoAndPlay ("Appear");
_local1.inView = 1;
_local1._visible = 1;
_local1.timeAppeared = getTimer() + _local2.gameData.appearAnimationLength;
currentValue = _local2.gameData.averageStartingPrices[averageStartingPrice] + Math.floor(Math.random() * _local2.gameData.startingPricePercentage);
_local1.setPriceValues();
}
};
_local1.disappear = function () {
gotoAndPlay ("Disappear");
this.inView = 0;
};
_local1.setPriceValues = function () {
var _local1 = this;
var _local2 = _root;
basePrice = _local2.gameData.averageStartingPrices[averageStartingPrice];
priceMultiple = _local2.gameData.minPriceMultiple + (Math.random() * (_local2.gameData.maxPriceMultiple - _local2.gameData.minPriceMultiple));
if (_local1._name == "mansion") {
priceMultiple = 1.1;
}
_local1.maxPrice = basePrice * priceMultiple;
_local1.minPrice = basePrice / priceMultiple;
_local1.priceRange = (priceRange = _local1.maxPrice - _local1.minPrice);
_local1.frequency = Math.floor(_local2.gameData.minFluctuationFrequency + (Math.random() * (_local2.gameData.maxFluctuationFrequency - _local2.gameData.minFluctuationFrequency)));
};
_local1.updatePrice = function () {
var _local1 = this;
timeSinceAppeared = getTimer() - _local1.timeAppeared;
_local1.currentValue = _local1.minPrice + ((priceRange / 2) * (1 + Math.sin((timeSinceAppeared * Math.PI) / _local1.frequency)));
_local1.currentValueInThousands = Math.floor(_local1.currentValue / 1000);
if ((_local1.lastPrice < _local1.currentValue) && (lastMovement ne "Up")) {
priceDisplay.gotoAndStop("Up");
lastMovement = "Up";
}
if ((_local1.lastPrice >= _local1.currentValue) && (lastMovement ne "Down")) {
priceDisplay.gotoAndPlay("Down");
lastMovement = "Down";
}
_local1.lastPrice = _local1.currentValue;
_local1.currentValueInThousands++;
};
_local1.checkDisappear = function () {
var _local1 = this;
if ((_local1.inView && (!_local1.bought)) && (getTimer() > (_local1.timeAppeared + _root.gameData.appearTime))) {
_local1.disappear();
}
};
_local1.sellOrBuy = function () {
if (bought) {
_parent.sellProperty(this);
} else {
_parent.buyProperty(this);
}
};
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.inView == 1) {
_local1.updateCounter++;
if (_local1.updateCounter == _root.gameData.updateFrequency) {
_local1.updatePrice();
_local1.updateCounter = 0;
_local1.checkDisappear();
}
}
};
_local1.addFloater = function (type, value) {
attachMovie(type + " display", "floater", 10);
floater._y = floater._y - 45;
floater.value = value;
};
_local1.init();
}
this.mcExtends(this.Property, 10);
this._visible = 1;
Symbol 157 MovieClip Frame 2
stop();
Symbol 165 Button
on (release) {
this.sellOrBuy();
}
Symbol 179 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 41
gotoAndPlay ("Down");
Symbol 181 MovieClip Frame 1
stop();
function Property() {
var _local1 = this;
var _local2 = _root;
_local1.class = "Property";
_local1.currentValue = 0;
_local1.bought = 0;
_local1.inView = 0;
_local1._visible = 0;
_local1.init = function () {
var _local1 = this;
success = _local1._parent.registerProperty(_local1._name);
if (!success) {
}
if (_local1._name eq "mansion") {
_local1.setPriceValues();
_local1.inView = 1;
}
};
_local1.buy = function () {
gotoAndPlay ("Buy");
this.bought = 1;
this.priceWhenBought = currentValue;
};
_local1.sell = function () {
var _local1 = this;
gotoAndPlay ("Sell");
_local1.inView = 0;
_local1.bought = 0;
profit = Math.floor((currentValue - _local1.priceWhenBought) / 1000);
if (profit >= 0) {
_local1.addFloater("Profit", profit);
} else {
_local1.addFloater("Loss", profit * -1);
}
};
_local1.appear = function () {
var _local1 = this;
var _local2 = _root;
if (_local1.inView == 0) {
gotoAndPlay ("Appear");
_local1.inView = 1;
_local1._visible = 1;
_local1.timeAppeared = getTimer() + _local2.gameData.appearAnimationLength;
currentValue = _local2.gameData.averageStartingPrices[averageStartingPrice] + Math.floor(Math.random() * _local2.gameData.startingPricePercentage);
_local1.setPriceValues();
}
};
_local1.disappear = function () {
gotoAndPlay ("Disappear");
this.inView = 0;
};
_local1.setPriceValues = function () {
var _local1 = this;
var _local2 = _root;
basePrice = _local2.gameData.averageStartingPrices[averageStartingPrice];
priceMultiple = _local2.gameData.minPriceMultiple + (Math.random() * (_local2.gameData.maxPriceMultiple - _local2.gameData.minPriceMultiple));
if (_local1._name == "mansion") {
priceMultiple = 1.1;
}
_local1.maxPrice = basePrice * priceMultiple;
_local1.minPrice = basePrice / priceMultiple;
_local1.priceRange = (priceRange = _local1.maxPrice - _local1.minPrice);
_local1.frequency = Math.floor(_local2.gameData.minFluctuationFrequency + (Math.random() * (_local2.gameData.maxFluctuationFrequency - _local2.gameData.minFluctuationFrequency)));
};
_local1.updatePrice = function () {
var _local1 = this;
timeSinceAppeared = getTimer() - _local1.timeAppeared;
_local1.currentValue = _local1.minPrice + ((priceRange / 2) * (1 + Math.sin((timeSinceAppeared * Math.PI) / _local1.frequency)));
_local1.currentValueInThousands = Math.floor(_local1.currentValue / 1000);
if ((_local1.lastPrice < _local1.currentValue) && (lastMovement ne "Up")) {
priceDisplay.gotoAndStop("Up");
lastMovement = "Up";
}
if ((_local1.lastPrice >= _local1.currentValue) && (lastMovement ne "Down")) {
priceDisplay.gotoAndPlay("Down");
lastMovement = "Down";
}
_local1.lastPrice = _local1.currentValue;
_local1.currentValueInThousands++;
};
_local1.checkDisappear = function () {
var _local1 = this;
if ((_local1.inView && (!_local1.bought)) && (getTimer() > (_local1.timeAppeared + _root.gameData.appearTime))) {
_local1.disappear();
}
};
_local1.sellOrBuy = function () {
if (bought) {
_parent.sellProperty(this);
} else {
_parent.buyProperty(this);
}
};
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.inView == 1) {
_local1.updateCounter++;
if (_local1.updateCounter == _root.gameData.updateFrequency) {
_local1.updatePrice();
_local1.updateCounter = 0;
_local1.checkDisappear();
}
}
};
_local1.addFloater = function (type, value) {
attachMovie(type + " display", "floater", 10);
floater._y = floater._y - 45;
floater.value = value;
};
_local1.init();
}
this.mcExtends(this.Property, 10);
Symbol 181 MovieClip Frame 32
stop();
Symbol 181 MovieClip Frame 42
stop();
Symbol 181 MovieClip Frame 75
stop();
this._visible = 0;
Symbol 186 MovieClip Frame 1
stop();
function Property() {
var _local1 = this;
var _local2 = _root;
_local1.class = "Property";
_local1.currentValue = 0;
_local1.bought = 0;
_local1.inView = 0;
_local1._visible = 0;
_local1.init = function () {
var _local1 = this;
success = _local1._parent.registerProperty(_local1._name);
if (!success) {
}
if (_local1._name eq "mansion") {
_local1.setPriceValues();
_local1.inView = 1;
}
};
_local1.buy = function () {
gotoAndPlay ("Buy");
this.bought = 1;
this.priceWhenBought = currentValue;
};
_local1.sell = function () {
var _local1 = this;
gotoAndPlay ("Sell");
_local1.inView = 0;
_local1.bought = 0;
profit = Math.floor((currentValue - _local1.priceWhenBought) / 1000);
if (profit >= 0) {
_local1.addFloater("Profit", profit);
} else {
_local1.addFloater("Loss", profit * -1);
}
};
_local1.appear = function () {
var _local1 = this;
var _local2 = _root;
if (_local1.inView == 0) {
gotoAndPlay ("Appear");
_local1.inView = 1;
_local1._visible = 1;
_local1.timeAppeared = getTimer() + _local2.gameData.appearAnimationLength;
currentValue = _local2.gameData.averageStartingPrices[averageStartingPrice] + Math.floor(Math.random() * _local2.gameData.startingPricePercentage);
_local1.setPriceValues();
}
};
_local1.disappear = function () {
gotoAndPlay ("Disappear");
this.inView = 0;
};
_local1.setPriceValues = function () {
var _local1 = this;
var _local2 = _root;
basePrice = _local2.gameData.averageStartingPrices[averageStartingPrice];
priceMultiple = _local2.gameData.minPriceMultiple + (Math.random() * (_local2.gameData.maxPriceMultiple - _local2.gameData.minPriceMultiple));
if (_local1._name == "mansion") {
priceMultiple = 1.1;
}
_local1.maxPrice = basePrice * priceMultiple;
_local1.minPrice = basePrice / priceMultiple;
_local1.priceRange = (priceRange = _local1.maxPrice - _local1.minPrice);
_local1.frequency = Math.floor(_local2.gameData.minFluctuationFrequency + (Math.random() * (_local2.gameData.maxFluctuationFrequency - _local2.gameData.minFluctuationFrequency)));
};
_local1.updatePrice = function () {
var _local1 = this;
timeSinceAppeared = getTimer() - _local1.timeAppeared;
_local1.currentValue = _local1.minPrice + ((priceRange / 2) * (1 + Math.sin((timeSinceAppeared * Math.PI) / _local1.frequency)));
_local1.currentValueInThousands = Math.floor(_local1.currentValue / 1000);
if ((_local1.lastPrice < _local1.currentValue) && (lastMovement ne "Up")) {
priceDisplay.gotoAndStop("Up");
lastMovement = "Up";
}
if ((_local1.lastPrice >= _local1.currentValue) && (lastMovement ne "Down")) {
priceDisplay.gotoAndPlay("Down");
lastMovement = "Down";
}
_local1.lastPrice = _local1.currentValue;
_local1.currentValueInThousands++;
};
_local1.checkDisappear = function () {
var _local1 = this;
if ((_local1.inView && (!_local1.bought)) && (getTimer() > (_local1.timeAppeared + _root.gameData.appearTime))) {
_local1.disappear();
}
};
_local1.sellOrBuy = function () {
if (bought) {
_parent.sellProperty(this);
} else {
_parent.buyProperty(this);
}
};
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.inView == 1) {
_local1.updateCounter++;
if (_local1.updateCounter == _root.gameData.updateFrequency) {
_local1.updatePrice();
_local1.updateCounter = 0;
_local1.checkDisappear();
}
}
};
_local1.addFloater = function (type, value) {
attachMovie(type + " display", "floater", 10);
floater._y = floater._y - 45;
floater.value = value;
};
_local1.init();
}
this.mcExtends(this.Property, 10);
Symbol 186 MovieClip Frame 32
stop();
Symbol 186 MovieClip Frame 42
stop();
Symbol 186 MovieClip Frame 75
stop();
this._visible = 0;
Symbol 196 MovieClip Frame 1
stop();
function Property() {
var _local1 = this;
var _local2 = _root;
_local1.class = "Property";
_local1.currentValue = 0;
_local1.bought = 0;
_local1.inView = 0;
_local1._visible = 0;
_local1.init = function () {
var _local1 = this;
success = _local1._parent.registerProperty(_local1._name);
if (!success) {
}
if (_local1._name eq "mansion") {
_local1.setPriceValues();
_local1.inView = 1;
}
};
_local1.buy = function () {
gotoAndPlay ("Buy");
this.bought = 1;
this.priceWhenBought = currentValue;
};
_local1.sell = function () {
var _local1 = this;
gotoAndPlay ("Sell");
_local1.inView = 0;
_local1.bought = 0;
profit = Math.floor((currentValue - _local1.priceWhenBought) / 1000);
if (profit >= 0) {
_local1.addFloater("Profit", profit);
} else {
_local1.addFloater("Loss", profit * -1);
}
};
_local1.appear = function () {
var _local1 = this;
var _local2 = _root;
if (_local1.inView == 0) {
gotoAndPlay ("Appear");
_local1.inView = 1;
_local1._visible = 1;
_local1.timeAppeared = getTimer() + _local2.gameData.appearAnimationLength;
currentValue = _local2.gameData.averageStartingPrices[averageStartingPrice] + Math.floor(Math.random() * _local2.gameData.startingPricePercentage);
_local1.setPriceValues();
}
};
_local1.disappear = function () {
gotoAndPlay ("Disappear");
this.inView = 0;
};
_local1.setPriceValues = function () {
var _local1 = this;
var _local2 = _root;
basePrice = _local2.gameData.averageStartingPrices[averageStartingPrice];
priceMultiple = _local2.gameData.minPriceMultiple + (Math.random() * (_local2.gameData.maxPriceMultiple - _local2.gameData.minPriceMultiple));
if (_local1._name == "mansion") {
priceMultiple = 1.1;
}
_local1.maxPrice = basePrice * priceMultiple;
_local1.minPrice = basePrice / priceMultiple;
_local1.priceRange = (priceRange = _local1.maxPrice - _local1.minPrice);
_local1.frequency = Math.floor(_local2.gameData.minFluctuationFrequency + (Math.random() * (_local2.gameData.maxFluctuationFrequency - _local2.gameData.minFluctuationFrequency)));
};
_local1.updatePrice = function () {
var _local1 = this;
timeSinceAppeared = getTimer() - _local1.timeAppeared;
_local1.currentValue = _local1.minPrice + ((priceRange / 2) * (1 + Math.sin((timeSinceAppeared * Math.PI) / _local1.frequency)));
_local1.currentValueInThousands = Math.floor(_local1.currentValue / 1000);
if ((_local1.lastPrice < _local1.currentValue) && (lastMovement ne "Up")) {
priceDisplay.gotoAndStop("Up");
lastMovement = "Up";
}
if ((_local1.lastPrice >= _local1.currentValue) && (lastMovement ne "Down")) {
priceDisplay.gotoAndPlay("Down");
lastMovement = "Down";
}
_local1.lastPrice = _local1.currentValue;
_local1.currentValueInThousands++;
};
_local1.checkDisappear = function () {
var _local1 = this;
if ((_local1.inView && (!_local1.bought)) && (getTimer() > (_local1.timeAppeared + _root.gameData.appearTime))) {
_local1.disappear();
}
};
_local1.sellOrBuy = function () {
if (bought) {
_parent.sellProperty(this);
} else {
_parent.buyProperty(this);
}
};
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.inView == 1) {
_local1.updateCounter++;
if (_local1.updateCounter == _root.gameData.updateFrequency) {
_local1.updatePrice();
_local1.updateCounter = 0;
_local1.checkDisappear();
}
}
};
_local1.addFloater = function (type, value) {
attachMovie(type + " display", "floater", 10);
floater._y = floater._y - 45;
floater.value = value;
};
_local1.init();
}
this.mcExtends(this.Property, 10);
Symbol 196 MovieClip Frame 32
stop();
Symbol 196 MovieClip Frame 42
stop();
Symbol 196 MovieClip Frame 75
stop();
this._visible = 0;
Symbol 201 MovieClip Frame 1
stop();
function Property() {
var _local1 = this;
var _local2 = _root;
_local1.class = "Property";
_local1.currentValue = 0;
_local1.bought = 0;
_local1.inView = 0;
_local1._visible = 0;
_local1.init = function () {
var _local1 = this;
success = _local1._parent.registerProperty(_local1._name);
if (!success) {
}
if (_local1._name eq "mansion") {
_local1.setPriceValues();
_local1.inView = 1;
}
};
_local1.buy = function () {
gotoAndPlay ("Buy");
this.bought = 1;
this.priceWhenBought = currentValue;
};
_local1.sell = function () {
var _local1 = this;
gotoAndPlay ("Sell");
_local1.inView = 0;
_local1.bought = 0;
profit = Math.floor((currentValue - _local1.priceWhenBought) / 1000);
if (profit >= 0) {
_local1.addFloater("Profit", profit);
} else {
_local1.addFloater("Loss", profit * -1);
}
};
_local1.appear = function () {
var _local1 = this;
var _local2 = _root;
if (_local1.inView == 0) {
gotoAndPlay ("Appear");
_local1.inView = 1;
_local1._visible = 1;
_local1.timeAppeared = getTimer() + _local2.gameData.appearAnimationLength;
currentValue = _local2.gameData.averageStartingPrices[averageStartingPrice] + Math.floor(Math.random() * _local2.gameData.startingPricePercentage);
_local1.setPriceValues();
}
};
_local1.disappear = function () {
gotoAndPlay ("Disappear");
this.inView = 0;
};
_local1.setPriceValues = function () {
var _local1 = this;
var _local2 = _root;
basePrice = _local2.gameData.averageStartingPrices[averageStartingPrice];
priceMultiple = _local2.gameData.minPriceMultiple + (Math.random() * (_local2.gameData.maxPriceMultiple - _local2.gameData.minPriceMultiple));
if (_local1._name == "mansion") {
priceMultiple = 1.1;
}
_local1.maxPrice = basePrice * priceMultiple;
_local1.minPrice = basePrice / priceMultiple;
_local1.priceRange = (priceRange = _local1.maxPrice - _local1.minPrice);
_local1.frequency = Math.floor(_local2.gameData.minFluctuationFrequency + (Math.random() * (_local2.gameData.maxFluctuationFrequency - _local2.gameData.minFluctuationFrequency)));
};
_local1.updatePrice = function () {
var _local1 = this;
timeSinceAppeared = getTimer() - _local1.timeAppeared;
_local1.currentValue = _local1.minPrice + ((priceRange / 2) * (1 + Math.sin((timeSinceAppeared * Math.PI) / _local1.frequency)));
_local1.currentValueInThousands = Math.floor(_local1.currentValue / 1000);
if ((_local1.lastPrice < _local1.currentValue) && (lastMovement ne "Up")) {
priceDisplay.gotoAndStop("Up");
lastMovement = "Up";
}
if ((_local1.lastPrice >= _local1.currentValue) && (lastMovement ne "Down")) {
priceDisplay.gotoAndPlay("Down");
lastMovement = "Down";
}
_local1.lastPrice = _local1.currentValue;
_local1.currentValueInThousands++;
};
_local1.checkDisappear = function () {
var _local1 = this;
if ((_local1.inView && (!_local1.bought)) && (getTimer() > (_local1.timeAppeared + _root.gameData.appearTime))) {
_local1.disappear();
}
};
_local1.sellOrBuy = function () {
if (bought) {
_parent.sellProperty(this);
} else {
_parent.buyProperty(this);
}
};
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.inView == 1) {
_local1.updateCounter++;
if (_local1.updateCounter == _root.gameData.updateFrequency) {
_local1.updatePrice();
_local1.updateCounter = 0;
_local1.checkDisappear();
}
}
};
_local1.addFloater = function (type, value) {
attachMovie(type + " display", "floater", 10);
floater._y = floater._y - 45;
floater.value = value;
};
_local1.init();
}
this.mcExtends(this.Property, 10);
Symbol 201 MovieClip Frame 32
stop();
Symbol 201 MovieClip Frame 42
stop();
Symbol 201 MovieClip Frame 75
stop();
this._visible = 0;
Symbol 210 MovieClip Frame 1
stop();
function Property() {
var _local1 = this;
var _local2 = _root;
_local1.class = "Property";
_local1.currentValue = 0;
_local1.bought = 0;
_local1.inView = 0;
_local1._visible = 0;
_local1.init = function () {
var _local1 = this;
success = _local1._parent.registerProperty(_local1._name);
if (!success) {
}
if (_local1._name eq "mansion") {
_local1.setPriceValues();
_local1.inView = 1;
}
};
_local1.buy = function () {
gotoAndPlay ("Buy");
this.bought = 1;
this.priceWhenBought = currentValue;
};
_local1.sell = function () {
var _local1 = this;
gotoAndPlay ("Sell");
_local1.inView = 0;
_local1.bought = 0;
profit = Math.floor((currentValue - _local1.priceWhenBought) / 1000);
if (profit >= 0) {
_local1.addFloater("Profit", profit);
} else {
_local1.addFloater("Loss", profit * -1);
}
};
_local1.appear = function () {
var _local1 = this;
var _local2 = _root;
if (_local1.inView == 0) {
gotoAndPlay ("Appear");
_local1.inView = 1;
_local1._visible = 1;
_local1.timeAppeared = getTimer() + _local2.gameData.appearAnimationLength;
currentValue = _local2.gameData.averageStartingPrices[averageStartingPrice] + Math.floor(Math.random() * _local2.gameData.startingPricePercentage);
_local1.setPriceValues();
}
};
_local1.disappear = function () {
gotoAndPlay ("Disappear");
this.inView = 0;
};
_local1.setPriceValues = function () {
var _local1 = this;
var _local2 = _root;
basePrice = _local2.gameData.averageStartingPrices[averageStartingPrice];
priceMultiple = _local2.gameData.minPriceMultiple + (Math.random() * (_local2.gameData.maxPriceMultiple - _local2.gameData.minPriceMultiple));
if (_local1._name == "mansion") {
priceMultiple = 1.1;
}
_local1.maxPrice = basePrice * priceMultiple;
_local1.minPrice = basePrice / priceMultiple;
_local1.priceRange = (priceRange = _local1.maxPrice - _local1.minPrice);
_local1.frequency = Math.floor(_local2.gameData.minFluctuationFrequency + (Math.random() * (_local2.gameData.maxFluctuationFrequency - _local2.gameData.minFluctuationFrequency)));
};
_local1.updatePrice = function () {
var _local1 = this;
timeSinceAppeared = getTimer() - _local1.timeAppeared;
_local1.currentValue = _local1.minPrice + ((priceRange / 2) * (1 + Math.sin((timeSinceAppeared * Math.PI) / _local1.frequency)));
_local1.currentValueInThousands = Math.floor(_local1.currentValue / 1000);
if ((_local1.lastPrice < _local1.currentValue) && (lastMovement ne "Up")) {
priceDisplay.gotoAndStop("Up");
lastMovement = "Up";
}
if ((_local1.lastPrice >= _local1.currentValue) && (lastMovement ne "Down")) {
priceDisplay.gotoAndPlay("Down");
lastMovement = "Down";
}
_local1.lastPrice = _local1.currentValue;
_local1.currentValueInThousands++;
};
_local1.checkDisappear = function () {
var _local1 = this;
if ((_local1.inView && (!_local1.bought)) && (getTimer() > (_local1.timeAppeared + _root.gameData.appearTime))) {
_local1.disappear();
}
};
_local1.sellOrBuy = function () {
if (bought) {
_parent.sellProperty(this);
} else {
_parent.buyProperty(this);
}
};
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.inView == 1) {
_local1.updateCounter++;
if (_local1.updateCounter == _root.gameData.updateFrequency) {
_local1.updatePrice();
_local1.updateCounter = 0;
_local1.checkDisappear();
}
}
};
_local1.addFloater = function (type, value) {
attachMovie(type + " display", "floater", 10);
floater._y = floater._y - 45;
floater.value = value;
};
_local1.init();
}
this.mcExtends(this.Property, 10);
Symbol 210 MovieClip Frame 32
stop();
Symbol 210 MovieClip Frame 42
stop();
Symbol 210 MovieClip Frame 75
stop();
this._visible = 0;
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (keyDown) {
_parent._parent[_parent.functionToRun].call(_parent._parent);
}
Symbol 230 MovieClip Frame 1
function CountDownTimer() {
var _local1 = this;
_local1.class = "CountDownTimer";
_local1.timeStarted = getTimer();
_local1.secondsToCount = _root.gameData.secondsAvailable;
}
this.getSecondsLeft = function () {
secondsElapsed = (getTimer() - this.timeStarted) / 1000;
secondsLeft = this.secondsToCount - secondsElapsed;
return(secondsLeft);
};
this.getWarningStatus = function () {
if (this.getSecondsLeft() <= this.warningPeriod) {
warningStatus = 1;
} else {
warningStatus = 0;
}
return(warningStatus);
};
this.getFormattedTimeLeft = function () {
totalSecondsLeft = this.getSecondsLeft();
if (totalSecondsLeft < 0) {
totalSecondsLeft = 0;
}
formattedTimeLeft = new Array();
formattedTimeLeft.minutes = int(totalSecondsLeft / 60);
formattedTimeLeft.seconds = int(totalSecondsLeft - (formattedTimeLeft.minutes * 60));
if (formattedTimeLeft.minutes < 10) {
formattedTimeLeft.minutes = "0" + formattedTimeLeft.minutes;
}
if (formattedTimeLeft.seconds < 10) {
formattedTimeLeft.seconds = "0" + formattedTimeLeft.seconds;
}
return(formattedTimeLeft);
};
this.isRunOut = function () {
if (this.getSecondsLeft() < 0) {
runOut = 1;
} else {
runOut = 0;
}
return(runOut);
};
this.onLoad(load);
this.reset = 1;
lastSecondsLeft = false;
this.timerFinished = function () {
_parent[this.functionToRun].apply(this, null);
_parent.die();
};
this.updateDisplay = function () {
var _local1 = this;
timeLeft = _local1.getFormattedTimeLeft();
_local1.TimerText.timerSecondsDisplay = timeLeft.seconds;
_local1.TimerText.timerMinutesDisplay = timeLeft.minutes;
};
this.checkStatus = function () {
var _local1 = this;
if (_local1.getWarningStatus()) {
gotoAndStop ("Warning Frame");
} else {
gotoAndStop ("Normal");
}
if (_local1.isRunOut()) {
_local1.timerFinished();
}
};
this.onEnterFrame = function () {
this.checkStatus();
this.updateDisplay();
};
this.mcExtends(this.CountDownTimer, 10);
Symbol 236 Button
on (release) {
this.init();
}
Symbol 238 Button
on (release) {
nextInstructionScreen();
}
Symbol 243 MovieClip Frame 237
stop();
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
counter = 0;
priceRange = 10000;
this.minPrice = 10000;
this.frequency = 100;
}
onClipEvent (enterFrame) {
this.currentValue = this.minPrice + ((priceRange / 2) * (1 + Math.sin((counter * Math.PI) / this.frequency)));
this.currentValueInThousands = Math.floor(this.currentValue / 1000);
if (this.lastPrice < this.currentValue) {
priceDisplay.priceIndArrow._rotation = 180;
} else {
priceDisplay.priceIndArrow._rotation = 0;
}
this.lastPrice = this.currentValue;
counter++;
}
Symbol 246 MovieClip Frame 304
stop();
Symbol 256 Button
on (release) {
instructionScreen = 0;
nextInstructionScreen();
}
Symbol 257 Button
on (release) {
nextInstructionScreen();
}
Symbol 259 MovieClip Frame 1
function CountDownTimer() {
var _local1 = this;
_local1.class = "CountDownTimer";
_local1.timeStarted = getTimer();
_local1.secondsToCount = _root.gameData.secondsAvailable;
}
this.getSecondsLeft = function () {
secondsElapsed = (getTimer() - this.timeStarted) / 1000;
secondsLeft = this.secondsToCount - secondsElapsed;
return(secondsLeft);
};
this.getWarningStatus = function () {
if (this.getSecondsLeft() <= this.warningPeriod) {
warningStatus = 1;
} else {
warningStatus = 0;
}
return(warningStatus);
};
this.getFormattedTimeLeft = function () {
totalSecondsLeft = this.getSecondsLeft();
if (totalSecondsLeft < 0) {
totalSecondsLeft = 0;
}
formattedTimeLeft = new Array();
formattedTimeLeft.minutes = int(totalSecondsLeft / 60);
formattedTimeLeft.seconds = int(totalSecondsLeft - (formattedTimeLeft.minutes * 60));
if (formattedTimeLeft.minutes < 10) {
formattedTimeLeft.minutes = "0" + formattedTimeLeft.minutes;
}
if (formattedTimeLeft.seconds < 10) {
formattedTimeLeft.seconds = "0" + formattedTimeLeft.seconds;
}
return(formattedTimeLeft);
};
this.isRunOut = function () {
if (this.getSecondsLeft() < 0) {
runOut = 1;
} else {
runOut = 0;
}
return(runOut);
};
this.onLoad(load);
this.reset = 1;
lastSecondsLeft = false;
this.timerFinished = function () {
_parent[this.functionToRun].apply(this, null);
_parent.die();
};
this.updateDisplay = function () {
var _local1 = this;
timeLeft = _local1.getFormattedTimeLeft();
_local1.TimerText.timerSecondsDisplay = timeLeft.seconds;
_local1.TimerText.timerMinutesDisplay = timeLeft.minutes;
};
this.checkStatus = function () {
var _local1 = this;
if (_local1.getWarningStatus()) {
gotoAndStop ("Warning Frame");
} else {
gotoAndStop ("Normal");
}
if (_local1.isRunOut()) {
_local1.timerFinished();
}
};
this.onEnterFrame = function () {
this.checkStatus();
this.updateDisplay();
};
this.mcExtends(this.CountDownTimer, 10);
Symbol 261 MovieClip Frame 1
function CountDownTimer() {
var _local1 = this;
_local1.class = "CountDownTimer";
_local1.timeStarted = getTimer();
_local1.secondsToCount = _root.gameData.secondsAvailable;
}
this.getSecondsLeft = function () {
secondsElapsed = (getTimer() - this.timeStarted) / 1000;
secondsLeft = this.secondsToCount - secondsElapsed;
return(secondsLeft);
};
this.getWarningStatus = function () {
if (this.getSecondsLeft() <= this.warningPeriod) {
warningStatus = 1;
} else {
warningStatus = 0;
}
return(warningStatus);
};
this.getFormattedTimeLeft = function () {
totalSecondsLeft = this.getSecondsLeft();
if (totalSecondsLeft < 0) {
totalSecondsLeft = 0;
}
formattedTimeLeft = new Array();
formattedTimeLeft.minutes = int(totalSecondsLeft / 60);
formattedTimeLeft.seconds = int(totalSecondsLeft - (formattedTimeLeft.minutes * 60));
if (formattedTimeLeft.minutes < 10) {
formattedTimeLeft.minutes = "0" + formattedTimeLeft.minutes;
}
if (formattedTimeLeft.seconds < 10) {
formattedTimeLeft.seconds = "0" + formattedTimeLeft.seconds;
}
return(formattedTimeLeft);
};
this.isRunOut = function () {
if (this.getSecondsLeft() < 0) {
runOut = 1;
} else {
runOut = 0;
}
return(runOut);
};
this.onLoad(load);
this.reset = 1;
lastSecondsLeft = false;
this.timerFinished = function () {
_parent[this.functionToRun].apply(this, null);
_parent.die();
};
this.updateDisplay = function () {
var _local1 = this;
timeLeft = _local1.getFormattedTimeLeft();
_local1.TimerText.timerSecondsDisplay = timeLeft.seconds;
_local1.TimerText.timerMinutesDisplay = timeLeft.minutes;
};
this.checkStatus = function () {
var _local1 = this;
if (_local1.getWarningStatus()) {
gotoAndStop ("Warning Frame");
} else {
gotoAndStop ("Normal");
}
if (_local1.isRunOut()) {
_local1.timerFinished();
}
};
this.onEnterFrame = function () {
this.checkStatus();
this.updateDisplay();
};
this.mcExtends(this.CountDownTimer, 10);
Symbol 270 Button
on (release) {
nextLevel();
}
Symbol 286 Button
on (release) {
_parent.submitAndLoadHighScores();
}
Instance of Symbol 289 MovieClip "submitError" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 298 Button
on (release) {
init();
}
Symbol 301 Button
on (release) {
this.init();
}
Symbol 338 MovieClip Frame 2
function Game() {
var _local1 = this;
var _local2 = _root;
_local1.class = "Game";
_local1.cash = _local2.gameData.startingCash;
_local1.updateDisplay();
_local1.properties = new Array();
_local1.propertiesBought = new Array();
cantAffordSound = new Sound();
cantAffordSound.attachSound("Cant Afford Sound");
_local1.instructionScreen = 0;
_local1.init = function () {
var _local1 = this;
gotoAndPlay (3);
_local1.cash = _root.gameData.startingCash;
_local1.updateDisplay();
_local1.properties = new Array();
_local1.propertiesBought = new Array();
_local1.playing = 0;
};
_local1.quit = function () {
gotoAndPlay (1);
};
_local1.nextInstructionScreen = function () {
var _local1 = this;
if (_local1.instructionScreen > _root.gameData.noInstructionScreens) {
_local1.playLevel();
} else {
gotoAndPlay("Instructions " + _local1.instructionScreen);
_local1.instructionScreen++;
}
};
_local1.registerProperty = function (iName) {
this.properties.push(iName);
return(1);
};
_local1.playLevel = function () {
gotoAndPlay ("Play");
this.playing = 1;
this.timeStarted = getTimer();
};
_local1.updateTimer = function () {
msPerMonth = 1000;
timePassed = getTimer() - this.timeStarted;
monthsPassed = timePassed / msPerMonth;
timeTaken = Math.floor(monthsPassed);
yearsPassed = Math.floor(monthsPassed / 12);
remainderMonthsPassed = Math.floor(monthsPassed % 12);
timeTaken = ((yearsPassed + " yrs : ") + remainderMonthsPassed) + " mnths";
};
_local1.timeOut = function () {
gotoAndPlay ("Time Out");
};
_local1.win = function () {
this.playing = 0;
};
_local1.submitData = function () {
var _local1 = _root;
_local1.levelNo = this.levelNo;
_local1.getURL(_local1.gameData.submitDataURL, "_self", "GET");
};
_local1.winGame = function () {
var _local1 = this;
gameText = ((("It took you " + yearsPassed) + " years and ") + remainderMonthsPassed) + " months to buy the mansion.\n\n Reckon you can do it quicker? Try again to see if you can!";
_local1.playing = 0;
_local1.gotoAndStop("Win");
};
_local1.buyProperty = function (property) {
var _local1 = property;
var _local2 = this;
propertyPrice = _local1.currentvalue;
if (_local2.cash < propertyPrice) {
_local2.displayMessage("You don't have enough money to buy that");
cantAffordSound.start();
_local1.addFloater("Too Much", 0);
} else if (_local1._name eq "mansion") {
_local2.winGame();
} else {
_local1.buy();
_local2.cash = _local2.cash - propertyPrice;
}
};
_local1.sellProperty = function (property) {
propertyPrice = property.currentvalue;
property.sell();
this.cash = this.cash + propertyPrice;
};
_local1.displayMessage = function (message) {
playerMessage = message;
};
_local1.checkAddProperty = function () {
if ((getTimer() - timeLastAdded) > _root.gameData.addPropertyFrequency) {
this.addProperty();
timeLastAdded = getTimer();
}
};
_local1.updateAssetsDisplay = function () {
var _local1 = this;
assetCounter = 0;
noProperties = _local1.properties.length;
counter = 0;
while (counter < _local1.properties.length) {
propertyName = properties[counter];
property = _local1[propertyName];
if (property.bought == 1) {
assetCounter = assetCounter + property.currentValue;
}
counter++;
}
_local1.totalAssets = assetCounter;
};
_local1.addProperty = function () {
var _local1 = this;
noProperties = _local1.properties.length;
propertyFound = 0;
do {
propertyNumber = Math.floor(Math.random() * noProperties);
propertyName = properties[propertyNumber];
propertyToAdd = _local1[propertyName];
if (propertyToAdd.inView == 0) {
propertyFound = 1;
}
} while (propertyFound == 0);
propertyToAdd.appear();
};
_local1.updateDisplay = function () {
this.cashInK = Math.Floor(this.cash / 1000);
};
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.playing == 1) {
_local1.checkAddProperty();
_local1.updateDisplay();
_local1.updateTimer();
}
if (awaitingHighScores == 1) {
checkHighScores();
}
};
_local1.submitAndLoadHighScores = function () {
var _local1 = _root;
if (!awaitingHighScores) {
if ((results.username eq "") || (results.useremail eq "")) {
results.submitError._visible = 1;
} else {
gotoAndPlay ("Loading High Scores");
results.score = timePassed;
if (results.optInBox.myValue) {
results.useroptin = "true";
} else {
results.useroptin = "false";
}
results.gamename = _local1.gameData.gameID;
if (_local1.gameData.submitDebug) {
results.getURL(_local1.gameData.submitResultsURL, "results", "GET");
} else {
results.loadVariables(_local1.gameData.submitResultsURL, "GET");
}
awaitingHighScores = 1;
}
}
};
_local1.submitResults = function () {
var _local1 = _root;
if ((results.name eq "") || (results.email eq "")) {
results.submitError._visible = 1;
} else {
results.score = (Math.floor(yearsPassed) + ".") + Math.floor(monthsPassed);
results.optIn = results.optInBox.getValue();
results.gameID = _local1.gameData.gameID;
if (_local1.gameData.submitDebug) {
results.getURL(_local1.gameData.submitResultsURL, "results", "POST");
} else {
results.loadVariables(_local1.gameData.submitResultsURL, "POST");
}
awaitingHighScores = 1;
loadHighScores();
}
};
_local1.loadHighScores = function () {
var _local1 = _root;
gotoAndPlay ("Loading High Scores");
if (_local1.gameData.submitDebug) {
results.getURL(_local1.gameData.getResultsURL, "results", "POST");
} else {
results.loadVariables(_local1.gameData.getResultsURL, "POST");
}
};
_local1.displayHighScores = function () {
results.score1 = scoreToTime(results.score1);
results.score2 = scoreToTime(results.score2);
results.score3 = scoreToTime(results.score3);
results.score4 = scoreToTime(results.score4);
results.score5 = scoreToTime(results.score5);
results.score6 = scoreToTime(results.score6);
results.score7 = scoreToTime(results.score7);
results.score8 = scoreToTime(results.score8);
results.score9 = scoreToTime(results.score9);
results.score10 = scoreToTime(results.score10);
gotoAndPlay ("High Scores");
awaitingHighScores = 0;
};
_local1.scoreToTime = function (actualScore) {
msPerMonth = 1000;
timePassed = actualScore;
amonthsPassed = timePassed / msPerMonth;
atimeTaken = Math.floor(amonthsPassed);
ayearsPassed = Math.floor(amonthsPassed / 12);
aremainderMonthsPassed = Math.floor(amonthsPassed % 12);
atimeTaken = ((ayearsPassed + "y :") + aremainderMonthsPassed) + "m";
return(atimeTaken);
};
_local1.checkHighScores = function () {
if (results.position10) {
displayHighScores();
}
};
}
this.mcExtends(this.Game, 10);
Symbol 338 MovieClip Frame 16
stop();
Symbol 338 MovieClip Frame 17
stop();
Instance of Symbol 157 MovieClip "mansion" in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 110;
varName = "defaultValue";
}
Instance of Symbol 181 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 70;
varName = "defaultValue";
}
Instance of Symbol 181 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 80;
varName = "defaultValue";
}
Instance of Symbol 181 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 100;
varName = "defaultValue";
}
Instance of Symbol 181 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 100;
varName = "defaultValue";
}
Instance of Symbol 181 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 80;
varName = "defaultValue";
}
Instance of Symbol 181 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 70;
varName = "defaultValue";
}
Instance of Symbol 186 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 70;
varName = "defaultValue";
}
Instance of Symbol 186 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 80;
varName = "defaultValue";
}
Instance of Symbol 186 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 90;
varName = "defaultValue";
}
Instance of Symbol 186 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 90;
varName = "defaultValue";
}
Instance of Symbol 186 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 80;
varName = "defaultValue";
}
Instance of Symbol 186 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 70;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 65;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 65;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 65;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 65;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 201 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 40;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 40;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 40;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 20;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 10;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 10;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 10;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 10;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 10;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 60;
varName = "defaultValue";
}
Instance of Symbol 196 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 50;
varName = "defaultValue";
}
Instance of Symbol 210 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 10;
varName = "defaultValue";
}
Instance of Symbol 186 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
averageStartingPrice = 70;
varName = "defaultValue";
}
Instance of Symbol 215 MovieClip in Symbol 338 MovieClip Frame 17
//component parameters
onClipEvent (initialize) {
functionToRun = "nextLevel";
}
Symbol 338 MovieClip Frame 26
stop();
Symbol 338 MovieClip Frame 35
stop();
Symbol 338 MovieClip Frame 45
stop();
Symbol 338 MovieClip Frame 55
stop();
Symbol 338 MovieClip Frame 78
stop();
Symbol 338 MovieClip Frame 88
stop();
Instance of Symbol 215 MovieClip in Symbol 338 MovieClip Frame 124
//component parameters
onClipEvent (initialize) {
functionToRun = "nextLevel";
}
Symbol 338 MovieClip Frame 129
stop();
Instance of Symbol 215 MovieClip in Symbol 338 MovieClip Frame 130
//component parameters
onClipEvent (initialize) {
functionToRun = "submitData";
}
Symbol 338 MovieClip Frame 139
stop();
Symbol 338 MovieClip Frame 141
stop();
Symbol 338 MovieClip Frame 148
stop();
Symbol 338 MovieClip Frame 158
stop();