Frame 1
Stage.showMenu = false;
protocol = _url.substr(0, _url.indexOf(":"));
if (protocol == "file") {
play();
} else if (protocol == "http") {
doubleSlash = _url.indexOf("//");
server = _url.substr(doubleSlash + 2, (_url.indexOf("/", doubleSlash + 2) - doubleSlash) - 2);
server = server.toUpperCase();
if (server.indexOf("WWW.") != -1) {
server = server.substr(server.indexOf("WWW.") + 4, server.length);
}
if (((server.indexOf("JOHNNYBDESIGN.COM") != -1) or (server.indexOf("NEWGROUNDS.COM") != -1)) or (server.indexOf("UPLOADS.UNGROUNDED.NET") != -1)) {
_root.server = "15";
play();
} else {
gotoAndStop (15);
}
}
box1 = prefix;
Frame 2
ifFrameLoaded (87) {
gotoAndPlay (18);
}
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
percent_done = int((loaded_bytes / total_bytes) * 100);
Frame 3
gotoAndPlay (2);
Frame 15
stop();
Frame 16
prevFrame();
Frame 17
prevFrame();
Frame 84
stop();
Frame 85
stop();
Frame 86
stop();
Frame 87
function bored1() {
bored = Number(bored) + 1;
if (bored > 20) {
bored = "20";
}
}
function bored2() {
bored = Number(bored) + 2;
if (bored > 20) {
bored = "20";
}
}
function faim() {
hungry = Number(hungry) + 2;
if (hungry > 20) {
hungry = "20";
}
}
function love() {
gotoAndStop (15);
}
function unbored() {
bored = Number(bored) - 2;
if (bored < 1) {
bored = "1";
}
}
function temps() {
_root.hp = Number(_root.hp) - 20;
_root.time = Number(_root.time) + 2;
}
function testvictory() {
if ((tick1 eq 0) && (_root.relf5 > 100)) {
tellTarget ("_root.engine") {
gotoAndPlay ("win1");
};
}
if ((tick2 eq 0) && (_root.money > 1000000)) {
tellTarget ("_root.engine") {
gotoAndStop ("win2");
};
}
if (((tick3 eq 0) && (_root.writing > 100)) && (_root.culture > 30)) {
tellTarget ("_root.engine") {
gotoAndStop ("win3");
};
}
if ((tick4 eq 0) && (_root.sciences > 100)) {
tellTarget ("_root.engine") {
gotoAndStop ("win4");
};
}
if (((tick4 eq 0) && (_root.arts > 100)) && (_root.social > 30)) {
tellTarget ("_root.engine") {
gotoAndStop ("win5");
};
}
if (((tick5 eq 0) && (_root.singing > 100)) && (_root.social > 30)) {
tellTarget ("_root.engine") {
gotoAndStop ("win5");
};
}
if ((tick6 eq 0) && (_root.philosophy > 100)) {
tellTarget ("_root.engine") {
gotoAndStop ("win6");
};
}
}
zip = new Sound(this);
zip.attachSound("zipper");
cashy = new Sound(this);
cashy.attachSound("cashier");
page = new Sound(this);
page.attachSound("pager");
pop = new Sound(this);
pop.attachSound("popper");
Symbol 7 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller;
component.registerSkinElement(highlight_mc, "selection");
stop();
Symbol 7 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled");
stop();
Symbol 7 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused");
stop();
Symbol 10 MovieClip [FLabelSymbol] Frame 1
#initclip 3
_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 val = this.hostComponent.styleTable.embedFonts.value;
if (val != undefined) {
this.labelField.embedFonts = val;
}
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 tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value;
if (tmpColor == undefined) {
tmpColor = (enable ? 0 : 8947848);
}
this.setColor(tmpColor);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 11 MovieClip [FListItemSymbol] Frame 1
#initclip 10
function FListItemClass() {
this.init();
}
FListItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FListItemSymbol", FListItemClass);
#endinitclip
Symbol 14 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 15 MovieClip [FScrollBarSymbol] Frame 1
#initclip 5
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var tmp = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
tmp = Math.min(tmp, this.maxPos);
this.setScrollPosition(Math.max(tmp, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var wasEnabled = this.enable;
if (enabledFlag && (!wasEnabled)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (wasEnabled)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var delt = this.smallScroll;
if (inc != "one") {
delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var newPos = (this.getScrollPosition() + (mode * delt));
if (newPos > this.maxPos) {
newPos = this.maxPos;
} else if (newPos < this.minPos) {
newPos = this.minPos;
}
this.setScrollPosition(newPos);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var c = this.controller;
c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var pos = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxhscroll));
} else {
var pos = this.textField.scroll;
var pageSize = (this.textField.bottomScroll - this.textField.scroll);
this.setScrollProperties(pageSize, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 16 MovieClip [DataProviderSymbol] Frame 1
#initclip 1
_global.DataProviderClass = function () {
this.init();
};
DataProviderClass.prototype.init = function () {
this.items = new Array();
this.uniqueID = 0;
this.views = new Array();
};
DataProviderClass.prototype.addView = function (viewRef) {
this.views.push(viewRef);
var eventObj = {event:"updateAll"};
viewRef.modelChanged(eventObj);
};
DataProviderClass.prototype.addItemAt = function (index, value) {
if (index < this.getLength()) {
this.items.splice(index, 0, "tmp");
}
this.items[index] = new Object();
if (typeof(value) == "object") {
this.items[index] = value;
} else {
this.items[index].label = value;
}
this.items[index].__ID__ = this.uniqueID++;
var eventObj = {event:"addRows", firstRow:index, lastRow:index};
this.updateViews(eventObj);
};
DataProviderClass.prototype.addItem = function (value) {
this.addItemAt(this.getLength(), value);
};
DataProviderClass.prototype.removeItemAt = function (index) {
var tmpItm = this.items[index];
this.items.splice(index, 1);
var eventObj = {event:"deleteRows", firstRow:index, lastRow:index};
this.updateViews(eventObj);
return(tmpItm);
};
DataProviderClass.prototype.removeAll = function () {
this.items = new Array();
this.updateViews({event:"deleteRows", firstRow:0, lastRow:this.getLength() - 1});
};
DataProviderClass.prototype.replaceItemAt = function (index, itemObj) {
if ((index < 0) || (index >= this.getLength())) {
return(undefined);
}
var tmpID = this.getItemID(index);
if (typeof(itemObj) == "object") {
this.items[index] = itemObj;
} else {
this.items[index].label = itemObj;
}
this.items[index].__ID__ = tmpID;
this.updateViews({event:"updateRows", firstRow:index, lastRow:index});
};
DataProviderClass.prototype.getLength = function () {
return(this.items.length);
};
DataProviderClass.prototype.getItemAt = function (index) {
return(this.items[index]);
};
DataProviderClass.prototype.getItemID = function (index) {
return(this.items[index].__ID__);
};
DataProviderClass.prototype.sortItemsBy = function (fieldName, order) {
this.items.sortOn(fieldName);
if (order == "DESC") {
this.items.reverse();
}
this.updateViews({event:"sort"});
};
DataProviderClass.prototype.updateViews = function (eventObj) {
var i = 0;
while (i < this.views.length) {
this.views[i].modelChanged(eventObj);
i++;
}
};
#endinitclip
Symbol 17 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 8
function FSelectableItemClass() {
this.init();
}
FSelectableItemClass.prototype = new FUIComponentClass();
FSelectableItemClass.prototype.init = function () {
if (this._name != "itemAsset") {
this.highlighted = false;
this.layoutContent(100);
}
};
FSelectableItemClass.prototype.drawItem = function (itmObj, selected) {
this.displayContent(itmObj, selected);
if ((this.highlighted != selected) || ((this.controller.focused != this.oldFocus) && (selected))) {
this.setHighlighted(selected);
}
this.oldFocus = this.controller.focused;
};
FSelectableItemClass.prototype.setSize = function (width, height) {
var LOWEST_DEPTH = -16384;
this.width = width;
this.layoutContent(width);
this.attachMovie("FHighlightSymbol", "highlight_mc", LOWEST_DEPTH);
this.highlight_mc._x = 0.5;
this.highlight_mc._width = width - 0.5;
this.highlight_mc._height = height;
this.highlight_mc.controller = this;
this.highlight_mc._alpha = 0;
this.highlight_mc.trackAsMenu = true;
this.highlight_mc.onPress = function () {
if (this.controller.enable) {
this.controller.controller.clickHandler(this.controller.itemNum);
}
};
this.highlight_mc.onDragOver = function () {
if (this.controller.controller.focused) {
this.onPress();
}
};
this.highlight_mc.useHandCursor = false;
this.highlight_mc.trackAsMenu = true;
};
FSelectableItemClass.prototype.setEnabled = function (enabledFlag) {
this.enable = enabledFlag;
this.fLabel_mc.setEnabled(enabledFlag);
this.highlight_mc.gotoAndStop((enabledFlag ? "unfocused" : "disabled"));
};
FSelectableItemClass.prototype.layoutContent = function (width) {
this.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:this.controller});
this.fLabel_mc._x = 2;
this.fLabel_mc._y = 0;
this.fLabel_mc.setSize(width - 2);
this.fLabel_mc.labelField.selectable = false;
};
FSelectableItemClass.prototype.displayContent = function (itmObj, selected) {
var tmpLabel = "";
if (itmObj.label != undefined) {
tmpLabel = itmObj.label;
} else if (typeof(itmObj) == "object") {
for (var i in itmObj) {
if (i != "__ID__") {
tmpLabel = (itmObj[i] + ", ") + tmpLabel;
}
}
tmpLabel = tmpLabel.substring(0, tmpLabel.length - 2);
} else {
tmpLabel = itmObj;
}
if (this.fLabel_mc.labelField.text != tmpLabel) {
this.fLabel_mc.setLabel(tmpLabel);
}
var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value));
if (clr == undefined) {
clr = (selected ? 16777215 : 0);
}
this.fLabel_mc.setColor(clr);
};
FSelectableItemClass.prototype.getItemIndex = function () {
return(this.controller.getScrollPosition() + this.itemNum);
};
FSelectableItemClass.prototype.getItemModel = function () {
return(this.controller.getItemAt(this.getItemIndex()));
};
FSelectableItemClass.prototype.getHostDataProvider = function () {
return(this.controller.dataProvider);
};
FSelectableItemClass.prototype.setHighlighted = function (flag) {
fade = this.controller.styleTable.fadeRate.value;
if (((fade == undefined) || (fade == 0)) || (!flag)) {
this.highlight_mc._alpha = (flag ? 100 : 0);
delete this.onEnterFrame;
} else {
this.fadeN = fade;
this.fadeX = 1;
this.highLight_mc._alpha = 20;
this.onEnterFrame = function () {
this.highLight_mc._alpha = (60 * Math.sqrt((this.fadeX++) / this.fadeN)) + 40;
if (this.fadeX > this.fadeN) {
delete this.onEnterFrame;
}
};
}
this.highlighted = flag;
};
#endinitclip
Symbol 18 MovieClip [FSelectableListSymbol] Frame 1
#initclip 4
function FSelectableListClass() {
this.init();
}
FSelectableListClass.prototype = new FUIComponentClass();
FSelectableListClass.prototype.init = function () {
super.init();
this.enable = true;
this.selected = new Array();
this.topDisplayed = (this.numDisplayed = 0);
this.lastSelected = 0;
this.tabChildren = false;
if (this._name != undefined) {
this.dataProvider = new DataProviderClass();
this.dataProvider.addView(this);
}
};
FSelectableListClass.prototype.addItemAt = function (index, label, data) {
if ((index < 0) || (!this.enable)) {
return(undefined);
}
this.dataProvider.addItemAt(index, {label:label, data:data});
};
FSelectableListClass.prototype.addItem = function (label, data) {
if (!this.enable) {
return(undefined);
}
this.dataProvider.addItem({label:label, data:data});
};
FSelectableListClass.prototype.removeItemAt = function (index) {
this.selectHolder = this.getSelectedIndex();
var item = this.getItemAt(index);
this.dataProvider.removeItemAt(index);
return(item);
};
FSelectableListClass.prototype.removeAll = function () {
this.dataProvider.removeAll();
};
FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) {
this.dataProvider.replaceItemAt(index, {label:newLabel, data:newData});
};
FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) {
this.lastSelID = this.dataProvider.getItemID(this.lastSelected);
this.dataProvider.sortItemsBy(fieldName, order);
};
FSelectableListClass.prototype.getLength = function () {
return(this.dataProvider.getLength());
};
FSelectableListClass.prototype.getSelectedIndex = function () {
for (var uniqueID in this.selected) {
var tmpInd = this.selected[uniqueID].sIndex;
if (tmpInd != undefined) {
return(tmpInd);
}
}
};
FSelectableListClass.prototype.getSelectedItem = function () {
return(this.getItemAt(this.getSelectedIndex()));
};
FSelectableListClass.prototype.getItemAt = function (index) {
return(this.dataProvider.getItemAt(index));
};
FSelectableListClass.prototype.getEnabled = function () {
return(this.enable);
};
FSelectableListClass.prototype.getValue = function () {
var item = this.getSelectedItem();
return(((item.data == undefined) ? (item.label) : (item.data)));
};
FSelectableListClass.prototype.setSelectedIndex = function (index, flag) {
if (((index >= 0) && (index < this.getLength())) && (this.enable)) {
this.clearSelected();
this.selectItem(index, true);
this.lastSelected = index;
this.invalidate("updateControl");
if (flag != false) {
this.executeCallBack();
}
}
};
FSelectableListClass.prototype.setDataProvider = function (obj) {
this.setScrollPosition(0);
this.clearSelected();
if (obj instanceof Array) {
this.dataProvider = new DataProviderClass();
var i = 0;
while (i < obj.length) {
var value = ((typeof(obj[i]) == "string") ? ({label:obj[i]}) : (obj[i]));
this.dataProvider.addItem(value);
i++;
}
} else {
this.dataProvider = obj;
}
this.dataProvider.addView(this);
};
FSelectableListClass.prototype.setItemSymbol = function (linkID) {
this.tmpPos = this.getScrollPosition();
this.itemSymbol = linkID;
this.invalidate("setSize");
this.setScrollPosition(this.tmpPos);
};
FSelectableListClass.prototype.setEnabled = function (enabledFlag) {
this.cleanUI();
super.setEnabled(enabledFlag);
this.enable = enabledFlag;
this.boundingBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled"));
var limit = Math.min(this.numDisplayed, this.getLength());
var i = 0;
while (i < limit) {
this.container_mc[("fListItem" + i) + "_mc"].setEnabled(this.enable);
i++;
}
if (this.enable) {
this.invalidate("updateControl");
}
};
FSelectableListClass.prototype.updateControl = function () {
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + i), this.isSelected(this.topDisplayed + i));
i++;
}
};
FSelectableListClass.prototype.setSize = function (w, h) {
super.setSize(w, h);
this.boundingBox_mc._xscale = (this.boundingBox_mc._yscale = 100);
this.boundingBox_mc._xscale = (this.width * 100) / this.boundingBox_mc._width;
this.boundingBox_mc._yscale = (this.height * 100) / this.boundingBox_mc._height;
var i = 0;
while (i < this.numDisplayed) {
this.container_mc.attachMovie(this.itemSymbol, ("fListItem" + i) + "_mc", 10 + i, {controller:this, itemNum:i});
var item_mc = this.container_mc[("fListItem" + i) + "_mc"];
var offset = ((this.scrollOffset == undefined) ? 0 : (this.scrollOffset));
item_mc.setSize(this.width - offset, this.itmHgt);
item_mc._y = (this.itmHgt - 2) * i;
i++;
}
this.updateControl();
};
FSelectableListClass.prototype.modelChanged = function (eventObj) {
var firstRow = eventObj.firstRow;
var lastRow = eventObj.lastRow;
var event = eventObj.event;
if (event == "addRows") {
for (var i in this.selected) {
if ((this.selected[i].sIndex != undefined) && (this.selected[i].sIndex >= firstRow)) {
this.selected[i].sIndex = this.selected[i].sIndex + ((lastRow - firstRow) + 1);
this.setSelectedIndex(this.selected[i].sIndex, false);
}
}
} else if (event == "deleteRows") {
if (firstRow == lastRow) {
var index = firstRow;
if (this.selectHolder == index) {
this.selectionDeleted = true;
}
if (((this.topDisplayed + this.numDisplayed) >= this.getLength()) && (this.topDisplayed > 0)) {
this.topDisplayed--;
if (this.selectionDeleted && ((index - 1) >= 0)) {
this.setSelectedIndex(index - 1, false);
}
} else if (this.selectionDeleted) {
var len = this.getLength();
if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) {
this.setSelectedIndex(index - 1, false);
} else {
this.setSelectedIndex(index, false);
}
}
for (var i in this.selected) {
if (this.selected[i].sIndex > firstRow) {
this.selected[i].sIndex--;
}
}
} else {
this.clearSelected();
this.topDisplayed = 0;
}
} else if (event == "sort") {
var len = this.getLength();
var i = 0;
while (i < len) {
if (this.isSelected(i)) {
var id = this.dataProvider.getItemID(i);
if (id == this.lastSelID) {
this.lastSelected = i;
}
this.selected[String(id)].sIndex = i;
}
i++;
}
}
this.invalidate("updateControl");
};
FSelectableListClass.prototype.measureItmHgt = function () {
this.attachMovie(this.itemSymbol, "tmpItem_mc", 0, {controller:this});
this.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false);
this.itmHgt = this.tmpItem_mc._height;
this.tmpItem_mc.removeMovieClip();
};
FSelectableListClass.prototype.selectItem = function (index, selectedFlag) {
if (selectedFlag && (!this.isSelected(index))) {
this.selected[String(this.dataProvider.getItemID(index))] = {sIndex:index};
} else if (!selectedFlag) {
delete this.selected[String(this.dataProvider.getItemID(index))];
}
};
FSelectableListClass.prototype.isSelected = function (index) {
return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined);
};
FSelectableListClass.prototype.clearSelected = function () {
for (var uniqueID in this.selected) {
var index = this.selected[uniqueID].sIndex;
if (((index != undefined) && (this.topDisplayed <= index)) && (index < (this.topDisplayed + this.numDisplayed))) {
this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), false);
}
}
delete this.selected;
this.selected = new Array();
};
FSelectableListClass.prototype.selectionHandler = function (itemNum) {
var tmpInd = (this.topDisplayed + itemNum);
if (this.getItemAt(tmpInd == undefined)) {
this.changeFlag = false;
return(undefined);
}
this.changeFlag = true;
this.clearSelected();
this.selectItem(tmpInd, true);
this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(tmpInd), this.isSelected(tmpInd));
};
FSelectableListClass.prototype.moveSelBy = function (incr) {
var itmNum = this.getSelectedIndex();
var newItm = (itmNum + incr);
newItm = Math.max(0, newItm);
newItm = Math.min(this.getLength() - 1, newItm);
if (newItm == itmNum) {
return(undefined);
}
if ((itmNum < this.topDisplayed) || (itmNum >= (this.topDisplayed + this.numDisplayed))) {
this.setScrollPosition(itmNum);
}
if ((newItm >= (this.topDisplayed + this.numDisplayed)) || (newItm < this.topDisplayed)) {
this.setScrollPosition(this.topDisplayed + incr);
}
this.selectionHandler(newItm - this.topDisplayed);
};
FSelectableListClass.prototype.clickHandler = function (itmNum) {
this.focusRect.removeMovieClip();
if (!this.focused) {
this.pressFocus();
}
this.selectionHandler(itmNum);
this.onMouseUp = this.releaseHandler;
};
FSelectableListClass.prototype.releaseHandler = function () {
if (this.changeFlag) {
this.executeCallBack();
}
this.changeFlag = false;
this.onMouseUp = undefined;
};
FSelectableListClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("enabled");
i++;
}
};
FSelectableListClass.prototype.myOnKillFocus = function () {
super.myOnKillFocus();
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("unfocused");
i++;
}
};
#endinitclip
Instance of Symbol 16 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 18 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 17 MovieClip [FSelectableItemSymbol] "ItemAsset" in Symbol 18 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 19 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 6
function FScrollSelectListClass() {
this.init();
}
FScrollSelectListClass.prototype = new FSelectableListClass();
FScrollSelectListClass.prototype.getScrollPosition = function () {
return(this.topDisplayed);
};
FScrollSelectListClass.prototype.setScrollPosition = function (pos) {
if (this.enable) {
pos = Math.min(pos, this.getLength() - this.numDisplayed);
pos = Math.max(pos, 0);
this.scrollBar_mc.setScrollPosition(pos);
}
};
FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) {
this.permaScrollBar = !flag;
this.setSize(this.width, this.height);
};
FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.scrollBar_mc.setEnabled(this.enable);
};
FScrollSelectListClass.prototype.setSize = function (w, h) {
var pos = this.getScrollPosition();
super.setSize(w, h);
if (this.scrollBar_mc != undefined) {
this.removed = true;
}
this.scrollBar_mc = undefined;
this.initScrollBar();
this.setScrollPosition(pos);
};
FScrollSelectListClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
this.invalidate("initScrollBar");
};
FScrollSelectListClass.prototype.initScrollBar = function () {
if ((!this.permaScrollBar) && (this.getLength() <= this.numDisplayed)) {
if (this.removed) {
this.scrollBar_mc.removeMovieClip();
this.scrollBar_mc = undefined;
this.scrollOffset = undefined;
this.invalidate("setSize");
}
} else {
if (this.scrollBar_mc == undefined) {
this.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:this.styleTable});
this.scrollBar_mc = this.container_mc.scrollBar_mc;
this.scrollBar_mc.setChangeHandler("scrollHandler", this);
this.scrollBar_mc.setSize(this.height);
this.scrollBar_mc._x = this.width - this.scrollBar_mc._width;
this.scrollBar_mc._y = 0;
this.scrollBar_mc.setLargeScroll(this.numDisplayed - 1);
this.scrollOffset = this.scrollBar_mc._width;
this.invalidate("setSize");
}
this.scrollBar_mc.setScrollProperties(this.numDisplayed, 0, this.getLength() - this.numDisplayed);
}
};
FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) {
var pos = scrollBar.getScrollPosition();
this.topDisplayed = pos;
if (this.lastPosition != pos) {
this.updateControl();
}
this.lastPosition = pos;
};
FScrollSelectListClass.prototype.clickHandler = function (itmNum) {
super.clickHandler(itmNum);
if ((this.dragScrolling == undefined) && (this.scrollBar_mc != undefined)) {
this.dragScrolling = setInterval(this, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.releaseHandler = function () {
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
super.releaseHandler();
};
FScrollSelectListClass.prototype.dragScroll = function () {
clearInterval(this.dragScrolling);
if (this.container_mc._ymouse < 0) {
this.setScrollPosition(this.getScrollPosition() - 1);
this.selectionHandler(0);
this.scrollInterval = Math.max(25, (-23.8 * (-this.container_mc._ymouse)) + 500);
this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval);
} else if (this.container_mc._ymouse > ((this.itmHgt - 2) * this.numDisplayed)) {
this.setScrollPosition(this.getScrollPosition() + 1);
this.selectionHandler(this.numDisplayed - 1);
this.scrollInterval = Math.max(25, (-23.8 * Math.abs((this.container_mc._ymouse - ((this.itmHgt - 2) * this.numDisplayed)) - 2)) + 500);
this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval);
} else {
this.dragScrolling = setInterval(this, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.myOnKeyDown = function () {
if (this.focused) {
this.keyCodes = new Array(40, 38, 34, 33, 36, 35);
this.keyIncrs = new Array(1, -1, this.numDisplayed - 1, -(this.numDisplayed - 1), -this.getLength(), this.getLength());
var i = 0;
while (i < this.keyCodes.length) {
if (Key.isDown(this.keyCodes[i])) {
this.moveSelBy(this.keyIncrs[i]);
return(undefined);
}
i++;
}
this.findInputText();
}
};
FScrollSelectListClass.prototype.findInputText = function () {
var tmpCode = Key.getAscii();
if ((tmpCode >= 33) && (tmpCode <= 126)) {
this.findString(String.fromCharCode(tmpCode));
}
};
FScrollSelectListClass.prototype.findString = function (str) {
if (this.getLength() == 0) {
return(undefined);
}
var itemNum = this.getSelectedIndex();
var jump = 0;
var i = (itemNum + 1);
while (i != itemNum) {
var itmStr = this.getItemAt(i).label.substring(0, str.length);
if ((str == itmStr) || (str.toUpperCase() == itmStr.toUpperCase())) {
var jump = (i - itemNum);
break;
}
if (i >= (this.getLength() - 1)) {
i = -1;
}
i++;
}
if (jump != 0) {
this.moveSelBy(jump);
}
};
#endinitclip
Instance of Symbol 15 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 19 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
onClipEvent (load) {
this._width = (this._height = 1);
}
Instance of Symbol 18 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 19 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 23 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 23 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 26 MovieClip [FListBoxSymbol] Frame 1
#initclip 9
function FListBoxClass() {
this.itemSymbol = "FListItemSymbol";
this.init();
this.permaScrollBar = true;
var i = 0;
while (i < this.labels.length) {
this.addItem(this.labels[i], this.data[i]);
i++;
}
this.boundingBox_mc.gotoAndStop(1);
this.width = this._width;
this.height = this._height;
this._yscale = (this._xscale = 100);
this.setSize(this.width, this.height);
if (this.changeHandler.length > 0) {
this.setChangeHandler(this.changeHandler);
}
}
FListBoxClass.prototype = new FScrollSelectListClass();
Object.registerClass("FListBoxSymbol", FListBoxClass);
FListBoxClass.prototype.getSelectedIndices = function () {
var tmpArray = new Array();
for (var i in this.selected) {
tmpArray.push(this.selected[i].sIndex);
}
return(((tmpArray.length > 0) ? (tmpArray) : undefined));
};
FListBoxClass.prototype.getSelectedItems = function () {
var indices = this.getSelectedIndices();
var tmpArray = new Array();
var i = 0;
while (i < indices.length) {
tmpArray.push(this.getItemAt(indices[i]));
i++;
}
return(((tmpArray.length > 0) ? (tmpArray) : undefined));
};
FListBoxClass.prototype.getSelectMultiple = function () {
return(this.selectMultiple);
};
FListBoxClass.prototype.getRowCount = function () {
return(this.numDisplayed);
};
FListBoxClass.prototype.setSelectedIndices = function (indexArray) {
this.clearSelected();
var i = 0;
while (i < indexArray.length) {
this.selectItem(indexArray[i], true);
i++;
}
this.updateControl();
};
FListBoxClass.prototype.setSelectMultiple = function (flag) {
this.selectMultiple = flag;
};
FListBoxClass.prototype.setRowCount = function (count) {
var hgt = ((count * (this.itmHgt - 2)) + 2);
this.setSize(this.width, hgt);
};
FListBoxClass.prototype.setWidth = function (wdt) {
this.setSize(wdt, this.height);
};
FListBoxClass.prototype.setSize = function (w, h) {
if (!this.enable) {
return(undefined);
}
w = Math.max(w, 20);
h = Math.max(h, 40);
this.container_mc.removeMovieClip();
this.container_mc = this.createEmptyMovieClip("container", 3);
this.measureItmHgt();
this.numDisplayed = Math.floor(h / (this.itmHgt - 2));
this.height = (this.numDisplayed * (this.itmHgt - 2)) + 2;
super.setSize(w, this.height);
};
FListBoxClass.prototype.removeItemAt = function (index) {
this.selectHolder = this.getSelectedIndices();
return(super.removeItemAt(index));
};
FListBoxClass.prototype.selectionHandler = function (itemNum) {
if (this.clickFilter) {
var index = (this.topDisplayed + itemNum);
if (this.getItemAt(index) == undefined) {
this.changeFlag = false;
return(undefined);
}
this.changeFlag = true;
if (((!this.selectMultiple) && (!Key.isDown(17))) || ((!Key.isDown(16)) && (!Key.isDown(17)))) {
this.clearSelected();
this.selectItem(index, true);
this.lastSelected = index;
this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(index), this.isSelected(index));
} else if (Key.isDown(16) && (this.selectMultiple)) {
if (this.lastSelected == -1) {
this.lastSelected = index;
}
var incr = ((this.lastSelected < index) ? 1 : -1);
this.clearSelected();
var i = this.lastSelected;
while (i != index) {
this.selectItem(i, true);
if ((i >= this.topDisplayed) && (i < (this.topDisplayed + this.numDisplayed))) {
this.container_mc[("fListItem" + (i - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(i), this.isSelected(i));
}
i = i + incr;
}
this.selectItem(index, true);
this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), this.isSelected(index));
} else if (key.isDown(17)) {
var selectedFlag = this.isSelected(index);
if (!this.selectMultiple) {
this.clearSelected();
}
if (!((!this.selectMultiple) && (selectedFlag))) {
this.selectItem(index, !selectedFlag);
this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + itemNum), this.isSelected(this.topDisplayed + itemNum));
}
this.lastSelected = index;
}
} else {
this.clickFilter = true;
}
};
FListBoxClass.prototype.moveSelBy = function (itemNum) {
super.moveSelBy(itemNum);
this.releaseHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 19 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 26 MovieClip [FListBoxSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 27 MovieClip [FUIComponentSymbol] Frame 1
#initclip 2
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 i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
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 funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
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, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
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 myColor = new Color(skinMCRef);
myColor.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 i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 40 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 50 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 59 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 60 MovieClip [UpArrow] Frame 1
stop();
Symbol 60 MovieClip [UpArrow] Frame 2
stop();
Symbol 60 MovieClip [UpArrow] Frame 3
stop();
Symbol 67 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 74 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 79 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 80 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 88 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 96 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 104 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 105 MovieClip [DownArrow] Frame 1
stop();
Symbol 105 MovieClip [DownArrow] Frame 2
stop();
Symbol 105 MovieClip [DownArrow] Frame 3
stop();
Symbol 109 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.writing = Number(_root.writing) + 2;
_root.culture = Number(_root.culture) + 1;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 114 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.gardening = Number(_root.gardening) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 118 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.social = Number(_root.social) + 2;
_root.fashion = Number(_root.fashion) + 1;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 122 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.fashion = Number(_root.fashion) + 2;
_root.beauty = Number(_root.beauty) + 1;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 126 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.sports = Number(_root.sports) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 130 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.arts = Number(_root.arts) + 2;
_root.happy = Number(_root.happy) + 1;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 134 Button
on (release) {
_root.page.start();
_root.temps();
_root.hungry = Number(_root.hungry) + 4;
if (_root.hungry > 20) {
_root.hungry = "20";
}
_root.bored1();
_root.cooking = Number(_root.cooking) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 138 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.maths = Number(_root.maths) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 141 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.culture = Number(_root.culture) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 145 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.secondlang = Number(_root.secondlang) + 1;
_root.culture = Number(_root.culture) + 2;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 149 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.music = Number(_root.music) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 153 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.arts = Number(_root.arts) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 157 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.comp = Number(_root.comp) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 160 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored1();
_root.sciences = Number(_root.sciences) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 166 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.sports = Number(_root.sports) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 171 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.arts = Number(_root.arts) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 176 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.writing = Number(_root.writing) + 1;
_root.sciences = Number(_root.sciences) + 2;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 181 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.social = Number(_root.social) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 183 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.music = Number(_root.music) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 188 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.beauty = Number(_root.beauty) + 1;
_root.fashion = Number(_root.fashion) + 2;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 192 Button
on (release) {
_root.pop.start();
_root.temps();
_root.hungry = Number(_root.hungry) + 4;
if (_root.hungry > 20) {
_root.hungry = "20";
}
_root.bored1();
_root.cooking = Number(_root.cooking) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 196 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.happy = Number(_root.happy) + 2;
_root.writing = Number(_root.writing) + 1;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 200 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.arts = Number(_root.arts) + 1;
_root.happy = Number(_root.happy) + 2;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 203 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.culture = Number(_root.culture) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 208 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.writing = Number(_root.writing) + 1;
_root.arts = Number(_root.arts) + 1;
_root.culture = Number(_root.culture) + 1;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 212 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.gardening = Number(_root.gardening) + 3;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 221 Button
on (release) {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.secondlang = Number(_root.secondlang) + 1;
_root.culture = Number(_root.culture) + 2;
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 228 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (2);
};
}
Symbol 234 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (3);
};
}
Symbol 239 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (4);
};
}
Symbol 241 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (7);
};
}
Symbol 246 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (5);
};
}
Symbol 251 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (6);
};
}
Symbol 256 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (8);
};
}
Symbol 260 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (9);
};
}
Symbol 264 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (11);
};
}
Symbol 268 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (12);
};
}
Symbol 271 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (14);
};
}
Symbol 276 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (15);
};
}
Symbol 280 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (16);
};
}
Symbol 285 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (13);
};
}
Symbol 288 Button
on (release) {
tellTarget ("_root.engine.shops") {
gotoAndStop (10);
};
}
Symbol 293 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.history = Number(_root.history) + 5;
_root.culture = Number(_root.culture) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 296 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.geography = Number(_root.geography) + 5;
_root.culture = Number(_root.culture) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 300 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.arts = Number(_root.arts) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 303 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.music = Number(_root.music) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 305 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.maths = Number(_root.maths) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 309 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.writing = Number(_root.writing) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 311 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.secondlang = Number(_root.secondlang) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 314 Button
on (release) {
_root.page.start();
_root.temps();
_root.hungry = Number(_root.hungry) + 4;
if (_root.hungry > 20) {
_root.hungry = "20";
}
_root.unbored();
_root.physics = Number(_root.physics) + 5;
_root.sciences = Number(_root.sciences) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 317 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.philosophy = Number(_root.philosophy) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 319 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.biology = Number(_root.biology) + 5;
_root.sciences = Number(_root.sciences) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 323 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.comp = Number(_root.comp) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 326 Button
on (release) {
_root.page.start();
_root.temps();
_root.faim();
_root.bored2();
_root.chemistry = Number(_root.chemistry) + 5;
_root.sciences = Number(_root.sciences) + 5;
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 331 MovieClip [FScrollPaneSymbol] Frame 1
#initclip 7
function FScrollPaneClass() {
function boolToString(str) {
if (str == "false") {
return(false);
}
if (str == "true") {
return(true);
}
return(str);
}
this.init();
this.width = this._width;
this.height = this._height;
this._xscale = (this._yscale = 100);
this.contentWidth = (this.contentHeight = 0);
if (this.hScroll == undefined) {
this.hScroll = (this.vScroll = "auto");
this.dragContent = false;
}
this.offset = new Object();
this.vScroll = boolToString(this.vScroll);
this.hScroll = boolToString(this.hScroll);
this.attachMovie("FScrollBarSymbol", "hScrollBar_mc", 100, {hostStyle:this.styleTable});
this.hScrollBar_mc.setHorizontal(true);
this.hScrollBar_mc.setSmallScroll(5);
this.hScrollBar_mc.setChangeHandler("onScroll", this);
this.attachMovie("FScrollBarSymbol", "vScrollBar_mc", 99, {hostStyle:this.styleTable});
this.vScrollBar_mc.setSmallScroll(5);
this.vScrollBar_mc.setChangeHandler("onScroll", this);
this.setSize(this.width, this.height);
if (this.scrollContent != "") {
this.setScrollContent(this.scrollContent);
}
this.setDragContent(this.dragContent);
}
FScrollPaneClass.prototype = new FUIComponentClass();
Object.registerClass("FScrollPaneSymbol", FScrollPaneClass);
FScrollPaneClass.prototype.getScrollContent = function () {
return(this.content_mc);
};
FScrollPaneClass.prototype.getPaneWidth = function () {
return(this.width);
};
FScrollPaneClass.prototype.getPaneHeight = function () {
return(this.height);
};
FScrollPaneClass.prototype.getScrollPosition = function () {
var xPos = ((this.hScrollBar_mc == undefined) ? 0 : (this.hScrollBar_mc.getScrollPosition()));
var yPos = ((this.vScrollBar_mc == undefined) ? 0 : (this.vScrollBar_mc.getScrollPosition()));
return({x:xPos, y:yPos});
};
FScrollPaneClass.prototype.setScrollContent = function (target) {
this.offset.x = 0;
this.offset.y = 0;
if (this.content_mc != undefined) {
if (target != this.content_mc) {
this.content_mc._visible = false;
this.content_mc.removeMovieClip();
this.content_mc.unloadMovie();
}
}
if (typeof(target) == "string") {
this.attachMovie(target, "tmp_mc", 3);
this.content_mc = this.tmp_mc;
} else if (target == undefined) {
this.content_mc.unloadMovie();
} else {
this.content_mc = target;
}
this.localToGlobal(this.offset);
this.content_mc._parent.globalToLocal(this.offset);
this.content_mc._x = this.offset.x;
this.content_mc._y = this.offset.y;
var contentBounds = this.content_mc.getBounds(this);
this.offset.x = -contentBounds.xMin;
this.offset.y = -contentBounds.yMin;
this.localToGlobal(this.offset);
this.content_mc._parent.globalToLocal(this.offset);
this.content_mc._x = this.offset.x;
this.content_mc._y = this.offset.y;
this.contentWidth = this.content_mc._width;
this.contentHeight = this.content_mc._height;
this.content_mc.setMask(this.mask_mc);
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setSize = function (w, h) {
if (((arguments.length < 2) || (isNaN(w))) || (isNaN(h))) {
return(undefined);
}
super.setSize(w, h);
this.width = Math.max(w, 60);
this.height = Math.max(h, 60);
this.boundingBox_mc._xscale = 100;
this.boundingBox_mc._yscale = 100;
this.boundingBox_mc._width = this.width;
this.boundingBox_mc._height = this.height;
this.setHandV();
this.initScrollBars();
if (this.mask_mc == undefined) {
this.attachMovie("FBoundingBoxSymbol", "mask_mc", 3000);
}
this.mask_mc._xscale = 100;
this.mask_mc._yscale = 100;
this.mask_mc._width = this.hWidth;
this.mask_mc._height = this.vHeight;
this.mask_mc._alpha = 0;
};
FScrollPaneClass.prototype.setScrollPosition = function (x, y) {
x = Math.max(this.hScrollBar_mc.minPos, x);
x = Math.min(this.hScrollBar_mc.maxPos, x);
y = Math.max(this.vScrollBar_mc.minPos, y);
y = Math.min(this.vScrollBar_mc.maxPos, y);
this.hScrollBar_mc.setScrollPosition(x);
this.vScrollBar_mc.setScrollPosition(y);
};
FScrollPaneClass.prototype.refreshPane = function () {
this.setScrollContent(this.content_mc);
};
FScrollPaneClass.prototype.loadScrollContent = function (url, handler, location) {
this.content_mc.removeMovieClip();
this.content_mc.unloadMovie();
this.content_mc._visible = 0;
this.loadContent.duplicateMovieClip("loadTemp", 3);
this.dupeFlag = true;
this.contentLoaded = function () {
this.loadReady = false;
this.content_mc = this.loadTemp;
this.refreshPane();
this.executeCallBack();
};
this.setChangeHandler(handler, location);
this.loadTemp.loadMovie(url);
};
FScrollPaneClass.prototype.setHScroll = function (prop) {
this.hScroll = prop;
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setVScroll = function (prop) {
this.vScroll = prop;
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setDragContent = function (dragFlag) {
if (dragFlag) {
this.boundingBox_mc.useHandCursor = true;
this.boundingBox_mc.onPress = function () {
this._parent.startDragLoop();
};
this.boundingBox_mc.tabEnabled = false;
this.boundingBox_mc.onRelease = (this.boundingBox_mc.onReleaseOutside = function () {
this._parent.pressFocus();
this._parent.onMouseMove = null;
});
} else {
delete this.boundingBox_mc.onPress;
this.boundingBox_mc.useHandCursor = false;
}
};
FScrollPaneClass.prototype.setSmallScroll = function (x, y) {
this.hScrollBar_mc.setSmallScroll(x);
this.vScrollBar_mc.setSmallScroll(y);
};
FScrollPaneClass.prototype.setHandV = function () {
if ((((this.contentHeight - this.height) > 2) && (this.vScroll != false)) || (this.vScroll == true)) {
this.hWidth = this.width - this.vScrollBar_mc._width;
} else {
this.hWidth = this.width;
}
if ((((this.contentWidth - this.width) > 2) && (this.hScroll != false)) || (this.hScroll == true)) {
this.vHeight = this.height - this.hScrollBar_mc._height;
} else {
this.vHeight = this.height;
}
};
FScrollPaneClass.prototype.startDragLoop = function () {
this.tabFocused = false;
this.myOnSetFocus();
this.lastX = this._xmouse;
this.lastY = this._ymouse;
this.onMouseMove = function () {
this.scrollXMove = this.lastX - this._xmouse;
this.scrollYMove = this.lastY - this._ymouse;
this.scrollXMove = this.scrollXMove + this.hScrollBar_mc.getScrollPosition();
this.scrollYMove = this.scrollYMove + this.vScrollBar_mc.getScrollPosition();
this.setScrollPosition(this.scrollXMove, this.scrollYMove);
if ((this.scrollXMove < this.hScrollBar_mc.maxPos) && (this.scrollXMove > this.hScrollBar_mc.minPos)) {
this.lastX = this._xmouse;
}
if ((this.scrollYMove < this.vScrollBar_mc.maxPos) && (this.scrollYMove > this.vScrollBar_mc.minPos)) {
this.lastY = this._ymouse;
}
this.updateAfterEvent();
};
};
FScrollPaneClass.prototype.initScrollBars = function () {
this.hScrollBar_mc._y = this.height - this.hScrollBar_mc._height;
this.hScrollBar_mc.setSize(this.hWidth);
this.hScrollBar_mc.setScrollProperties(this.hWidth, 0, this.contentWidth - this.hWidth);
this.vScrollBar_mc._visible = ((this.hWidth == this.width) ? false : true);
this.vScrollBar_mc._x = this.width - this.vScrollBar_mc._width;
this.vScrollBar_mc.setSize(this.vHeight);
this.vScrollBar_mc.setScrollProperties(this.vHeight, 0, this.contentHeight - this.vHeight);
this.hScrollBar_mc._visible = ((this.vHeight == this.height) ? false : true);
};
FScrollPaneClass.prototype.onScroll = function (component) {
var pos = component.getScrollPosition();
var XorY = ((component._name == "hScrollBar_mc") ? "x" : "y");
if (component._name == "hScrollBar_mc") {
this.content_mc._x = (-pos) + this.offset.x;
} else {
this.content_mc._y = (-pos) + this.offset.y;
}
};
FScrollPaneClass.prototype.myOnKeyDown = function () {
var posX = this.hScrollBar_mc.getScrollPosition();
var posY = this.vScrollBar_mc.getScrollPosition();
if (this.hScrollBar_mc.maxPos > this.hScrollBar_mc.minPos) {
if (Key.isDown(37)) {
this.setScrollPosition(posX - 3, posY);
} else if (Key.isDown(39)) {
this.setScrollPosition(posX + 3, posY);
}
}
if (this.vScrollBar_mc.maxPos > this.vScrollBar_mc.minPos) {
if (Key.isDown(38)) {
this.setScrollPosition(posX, posY - 3);
} else if (Key.isDown(40)) {
this.setScrollPosition(posX, posY + 3);
} else if (Key.isDown(34)) {
this.setScrollPosition(posX, posY + this.vScrollBar_mc.pageSize);
} else if (Key.isDown(33)) {
this.setScrollPosition(posX, posY - this.vScrollBar_mc.pageSize);
}
}
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 15 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 331 MovieClip [FScrollPaneSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
Instance of Symbol 328 MovieClip "loadContent" in Symbol 331 MovieClip [FScrollPaneSymbol] Frame 1
onClipEvent (load) {
if (this._parent.loadReady) {
this._parent.contentLoaded();
delete this._parent.loadReady;
} else if (this._name != "loadContent") {
this._parent.loadReady = true;
}
}
Symbol 344 MovieClip Frame 1
gotoAndStop (4);
Symbol 344 MovieClip Frame 4
stop();
vol = "100";
faceof = new Sound(this);
faceof.attachSound("faceo");
faceof.start(0, 999);
faceof.setVolume(vol);
Symbol 344 MovieClip Frame 5
this.onEnterFrame = function () {
if (vol > 0) {
faceof.setVolume(vol--);
}
if (vol <= 0) {
faceof.stop();
this.removeMovieClip();
}
};
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 7
stop();
choco.stop();
jazz.stop();
pub.stop();
voli = "100";
highw = new Sound(this);
highw.attachSound("highway");
highw.start(0, 999);
highw.setVolume(voli);
Symbol 348 MovieClip Frame 8
highw.stop();
choco = new Sound(this);
choco.attachSound("chocho");
choco.start(0, 999);
Symbol 348 MovieClip Frame 9
highw.stop();
jazz = new Sound(this);
jazz.attachSound("jazza");
jazz.start(0, 999);
Symbol 348 MovieClip Frame 10
highw.stop();
pub = new Sound(this);
pub.attachSound("pubby");
pub.start(0, 999);
Symbol 353 Button
on (release) {
getURL ("http://johnnybdesign.com", "_blank");
}
Symbol 356 Button
on (release) {
gotoAndStop (87);
}
Symbol 358 Button
on (release) {
gotoAndStop (86);
}
Symbol 360 Button
on (release) {
nextFrame();
}
Symbol 367 Button
on (release) {
prevFrame();
}
Symbol 372 Button
on (release) {
gotoAndStop (84);
}
Symbol 389 MovieClip Frame 1
gotoAndStop (3);
Symbol 389 MovieClip Frame 2
gotoAndStop (8);
Symbol 389 MovieClip Frame 3
_root.charname = "Todd";
_root.charsex = "1";
_root.charframe = "3";
stop();
Symbol 389 MovieClip Frame 4
_root.charname = "John";
_root.charsex = "1";
_root.charframe = "4";
stop();
Symbol 389 MovieClip Frame 5
_root.charname = "Wade";
_root.charsex = "1";
_root.charframe = "5";
stop();
Symbol 389 MovieClip Frame 6
_root.charname = "Mary";
_root.charsex = "2";
_root.charframe = "6";
stop();
Symbol 389 MovieClip Frame 7
_root.charname = "Jane";
_root.charsex = "2";
_root.charframe = "7";
stop();
Symbol 389 MovieClip Frame 8
_root.charname = "Alice";
_root.charsex = "2";
_root.charframe = "8";
stop();
Symbol 389 MovieClip Frame 9
gotoAndStop (3);
Symbol 392 Button
on (release) {
tellTarget ("me") {
nextFrame();
};
}
Symbol 393 Button
on (release) {
tellTarget ("me") {
prevFrame();
};
}
Symbol 397 Button
on (release) {
tellTarget ("_root.faceofmc") {
nextFrame();
};
nextFrame();
if (_root.charsex eq 1) {
_root.f1 = "Alice";
_root.f2 = "Jane";
_root.f3 = "Mary";
_root.f4 = "Lily";
_root.f5 = "Vanessa";
} else {
_root.f1 = "Wade";
_root.f2 = "John";
_root.f3 = "Todd";
_root.f4 = "Alex";
_root.f5 = "Will";
}
}
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 2
stop();
Symbol 420 MovieClip Frame 3
stop();
Symbol 423 Button
on (release) {
if (_root.beer > 0) {
_root.beer = Number(_root.beer) - 1;
_root.caref1 = Number(_root.caref1) + 2;
}
}
Symbol 426 Button
on (release) {
if (_root.liquor > 0) {
_root.liquor = Number(_root.liquor) - 1;
_root.caref1 = Number(_root.caref1) + 2;
}
}
Symbol 429 Button
on (release) {
if (_root.plush > 0) {
_root.plush = Number(_root.plush) - 1;
_root.caref1 = Number(_root.caref1) + 5;
}
}
Symbol 431 Button
on (release) {
if (_root.flowers > 0) {
_root.flowers = Number(_root.flowers) - 1;
_root.caref1 = Number(_root.caref1) + 3;
}
}
Symbol 433 Button
on (release) {
if (_root.neck > 0) {
_root.neck = Number(_root.neck) - 1;
_root.caref1 = Number(_root.caref1) + 10;
}
}
Symbol 436 Button
on (release) {
if (_root.ring > 0) {
_root.ring = Number(_root.ring) - 1;
_root.caref1 = Number(_root.caref1) + 20;
}
}
Symbol 439 Button
on (release) {
if (_root.watch > 0) {
_root.watch = Number(_root.watch) - 1;
_root.caref1 = Number(_root.caref1) + 6;
}
}
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 2
stop();
Symbol 451 Button
on (release) {
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
if (_root.relf1 < 11) {
tellTarget ("outcome") {
gotoAndStop (2);
};
} else if (_root.relf1 < 21) {
_root.talkie = Number(random(2) + 3);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf1 < 51) {
_root.talkie = Number(random(4) + 4);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf1 < 100) {
_root.talkie = Number(random(4) + 7);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else {
tellTarget ("outcome") {
gotoAndStop (12);
};
}
}
Symbol 453 Button
on (release) {
if (_root.levelf1 > 3) {
tellTarget ("_root.engine.meetgoth.gift") {
gotoAndStop (2);
};
} else {
tellTarget ("giftmsg") {
play();
};
}
setProperty("_root.engine.meetgoth.giftbtn", _visible , "0");
}
Symbol 455 Button
on (release) {
prevFrame();
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 2
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 2;
Symbol 470 MovieClip Frame 3
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 4
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 5
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 6
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 7
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 8
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 9
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 10
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 11
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 470 MovieClip Frame 12
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref1 = Number(_root.caref1) + 4;
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
if (_root.engine._currentframe eq 36) {
tellTarget ("background") {
gotoAndStop (1);
};
} else if (_root.engine._currentframe eq 13) {
tellTarget ("background") {
gotoAndStop (2);
};
} else {
tellTarget ("background") {
gotoAndStop (3);
};
}
stop();
if (_root.relf1 < 5) {
_root.levelf1 = "1";
} else if (_root.relf1 < 11) {
_root.levelf1 = "2";
} else if (_root.relf1 < 21) {
_root.levelf1 = "3";
} else if (_root.relf1 < 51) {
_root.levelf1 = "4";
} else if (_root.relf1 < 100) {
_root.levelf1 = "5";
} else {
_root.levelf1 = "6";
}
tellTarget (luvmeter) {
gotoAndStop(_root.levelf1);
};
hbutton.useHandCursor = false;
if (_root.jealf1 eq 0) {
setProperty("_root.engine.meetgoth.jeal", _visible , "0");
}
if (_root.charsex eq 1) {
setProperty("guy", _visible , "0");
} else {
setProperty("gal", _visible , "0");
}
Symbol 477 MovieClip Frame 2
_root.relf1 = (Number(_root.statsf1) + Number(_root.caref1)) + Number(_root.clothesf1);
_root.relf2 = (Number(_root.statsf2) + Number(_root.caref2)) + Number(_root.clothesf2);
_root.relf3 = (Number(_root.statsf3) + Number(_root.caref3)) + Number(_root.clothesf3);
_root.relf4 = (Number(_root.statsf4) + Number(_root.caref4)) + Number(_root.clothesf4);
_root.relf5 = (((Number(_root.statsf5) + Number(_root.caref5)) + Number(_root.clothesf5)) - 24) + Number(_root.reput);
_root.reputc = (((Number(_root.relf1) + Number(_root.relf2)) + Number(_root.relf3)) + Number(_root.relf4)) / 12;
if (_root.reputc > 30) {
_root.reput = "30";
} else {
_root.reput = _root.reputc;
}
if (_root.relf5 < 0) {
_root.relf5 = "0";
}
_root.stats1 = (((Number(_root.writing) + Number(_root.singing)) + Number(_root.beauty)) + Number(_root.music)) / 3;
if (_root.stats1 < 30) {
_root.statsf1 = _root.stats1;
} else {
_root.statsf1 = "30";
}
_root.stats2 = (((Number(_root.comp) + Number(_root.sciences)) + Number(_root.beauty)) + Number(_root.gardening)) / 3;
if (_root.stats2 < 30) {
_root.statsf2 = _root.stats2;
} else {
_root.statsf2 = "30";
}
_root.stats3 = (((Number(_root.cooking) + Number(_root.sports)) + Number(_root.beauty)) + Number(_root.social)) / 3;
if (_root.stats3 < 30) {
_root.statsf3 = _root.stats3;
} else {
_root.statsf1 = "30";
}
_root.stats4 = (((Number(_root.knitting) + Number(_root.arts)) + Number(_root.beauty)) + Number(_root.philosophy)) / 3;
if (_root.stats4 < 30) {
_root.statsf4 = _root.stats4;
} else {
_root.statsf4 = "30";
}
_root.stats5 = (((Number(_root.culture) + Number(_root.fashion)) + Number(_root.beauty)) + Number(_root.secondlang)) / 3;
if (_root.stats5 < 30) {
_root.statsf5 = _root.stats5;
} else {
_root.statsf5 = "30";
}
if (Number((((_root.caref2 + _root.caref3) + _root.caref4) + _root.caref5) - _root.caref1) > 200) {
if (_root.levelf1 > 2) {
_root.jealf1 = "1";
}
}
if ((((_root.caref1 > _root.caref2) || (_root.caref3 > _root.caref2)) || (_root.caref4 > _root.caref2)) || (_root.caref5 > _root.caref2)) {
if (_root.caref2 > 20) {
_root.jealf2 = "1";
}
}
if ((((_root.levelf1 >= 4) || (_root.levelf2 >= 4)) || (_root.levelf4 >= 4)) || (_root.levelf5 >= 4)) {
if ((_root.levelf3 > 2) || (_root.levelf3 < 5)) {
_root.jealf3 = "1";
}
}
if ((((_root.caref1 > _root.caref4) || (_root.caref2 > _root.caref4)) || (_root.caref3 > _root.caref4)) || (_root.caref5 > _root.caref4)) {
if (_root.relf4 > 100) {
_root.jealf4 = "1";
}
}
Symbol 479 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 2
stop();
Symbol 479 MovieClip Frame 3
stop();
Symbol 484 Button
on (release) {
if (_root.beer > 0) {
_root.beer = Number(_root.beer) - 1;
_root.caref4 = Number(_root.caref4) + 2;
}
}
Symbol 485 Button
on (release) {
if (_root.liquor > 0) {
_root.liquor = Number(_root.liquor) - 1;
_root.caref4 = Number(_root.caref4) + 4;
}
}
Symbol 486 Button
on (release) {
if (_root.plush > 0) {
_root.plush = Number(_root.plush) - 1;
_root.caref4 = Number(_root.caref4) + 3;
}
}
Symbol 487 Button
on (release) {
if (_root.flowers > 0) {
_root.flowers = Number(_root.flowers) - 1;
_root.caref4 = Number(_root.caref4) + 6;
}
}
Symbol 488 Button
on (release) {
if (_root.neck > 0) {
_root.neck = Number(_root.neck) - 1;
_root.caref4 = Number(_root.caref4) + 10;
}
}
Symbol 489 Button
on (release) {
if (_root.ring > 0) {
_root.ring = Number(_root.ring) - 1;
_root.caref4 = Number(_root.caref4) + 20;
}
}
Symbol 490 Button
on (release) {
if (_root.watch > 0) {
_root.watch = Number(_root.watch) - 1;
_root.caref4 = Number(_root.caref4) + 10;
}
}
Symbol 498 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 2
stop();
Symbol 499 Button
on (release) {
setProperty("_root.engine.meetartist.talkbtn", _visible , "0");
if (_root.relf4 < 11) {
tellTarget ("outcome") {
gotoAndStop (2);
};
} else if (_root.relf4 < 21) {
_root.talkie = Number(random(2) + 3);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf4 < 51) {
_root.talkie = Number(random(4) + 4);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf4 < 100) {
_root.talkie = Number(random(4) + 7);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else {
tellTarget ("outcome") {
gotoAndStop (12);
};
}
}
Symbol 500 Button
on (release) {
if (_root.levelf4 > 3) {
tellTarget ("gift") {
gotoAndStop (2);
};
} else {
tellTarget ("giftmsg") {
play();
};
}
setProperty("_root.engine.meetartist.giftbtn", _visible , "0");
}
Symbol 501 Button
on (release) {
prevFrame();
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 2
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 2;
Symbol 512 MovieClip Frame 3
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 4
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 5
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 6
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 7
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 8
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 9
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 10
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 11
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 512 MovieClip Frame 12
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref4 = Number(_root.caref4) + 4;
Symbol 513 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 2
if (_root.engine._currentframe eq 36) {
tellTarget ("background") {
gotoAndStop (1);
};
} else if (_root.engine._currentframe eq 13) {
tellTarget ("background") {
gotoAndStop (2);
};
} else {
tellTarget ("background") {
gotoAndStop (3);
};
}
stop();
if (_root.relf4 < 5) {
_root.levelf4 = "1";
} else if (_root.relf4 < 11) {
_root.levelf4 = "2";
} else if (_root.relf4 < 21) {
_root.levelf4 = "3";
} else if (_root.relf4 < 51) {
_root.levelf4 = "4";
} else if (_root.relf4 < 100) {
_root.levelf4 = "5";
} else {
_root.levelf4 = "6";
}
tellTarget (luvmeter) {
gotoAndStop(_root.levelf4);
};
hbutton.useHandCursor = false;
if (_root.jealf4 eq 0) {
setProperty("_root.engine.meetartist.jeal", _visible , "0");
}
if (_root.charsex eq 1) {
setProperty("guy", _visible , "0");
} else {
setProperty("gal", _visible , "0");
}
Symbol 515 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 2
stop();
Symbol 515 MovieClip Frame 3
stop();
Symbol 516 Button
on (release) {
if (_root.beer > 0) {
_root.beer = Number(_root.beer) - 1;
_root.caref2 = Number(_root.caref2) + 2;
}
}
Symbol 517 Button
on (release) {
if (_root.liquor > 0) {
_root.liquor = Number(_root.liquor) - 1;
_root.caref2 = Number(_root.caref2) + 3;
}
}
Symbol 518 Button
on (release) {
if (_root.plush > 0) {
_root.plush = Number(_root.plush) - 1;
_root.caref2 = Number(_root.caref2) + 5;
}
}
Symbol 519 Button
on (release) {
if (_root.flowers > 0) {
_root.flowers = Number(_root.flowers) - 1;
root.caref2 = Number(_root.caref2) + 5;
}
}
Symbol 520 Button
on (release) {
if (_root.neck > 0) {
_root.neck = Number(_root.neck) - 1;
_root.caref2 = Number(_root.caref2) + 10;
}
}
Symbol 521 Button
on (release) {
if (_root.ring > 0) {
_root.ring = Number(_root.ring) - 1;
_root.caref2 = Number(_root.caref2) + 20;
}
}
Symbol 522 Button
on (release) {
if (_root.watch > 0) {
_root.watch = Number(_root.watch) - 1;
_root.caref2 = Number(_root.caref2) + 12;
}
}
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 2
stop();
Symbol 531 Button
on (release) {
setProperty("_root.engine.meetnerd.talkbtn", _visible , "0");
if (_root.relf2 < 11) {
tellTarget ("outcome") {
gotoAndStop (2);
};
} else if (_root.relf2 < 21) {
_root.talkie = Number(random(2) + 3);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf2 < 51) {
_root.talkie = Number(random(4) + 4);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf2 < 100) {
_root.talkie = Number(random(4) + 7);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else {
tellTarget ("outcome") {
gotoAndStop (12);
};
}
}
Symbol 532 Button
on (release) {
if (_root.levelf2 > 3) {
tellTarget ("gift") {
gotoAndStop (2);
};
} else {
tellTarget ("giftmsg") {
play();
};
}
setProperty("_root.engine.meetgoth.giftbtn", _visible , "0");
}
Symbol 533 Button
on (release) {
prevFrame();
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 543 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 2
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 2;
Symbol 543 MovieClip Frame 3
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 4
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 5
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 6
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 7
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 8
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 9
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 10
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 11
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 543 MovieClip Frame 12
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref2 = Number(_root.caref2) + 4;
Symbol 544 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 2
if (_root.engine._currentframe eq 36) {
tellTarget ("background") {
gotoAndStop (1);
};
} else if (_root.engine._currentframe eq 13) {
tellTarget ("background") {
gotoAndStop (2);
};
} else {
tellTarget ("background") {
gotoAndStop (3);
};
}
stop();
if (_root.relf2 < 5) {
_root.levelf2 = "1";
} else if (_root.relf2 < 11) {
_root.levelf2 = "2";
} else if (_root.relf2 < 21) {
_root.levelf2 = "3";
} else if (_root.relf2 < 51) {
_root.levelf2 = "4";
} else if (_root.relf2 < 100) {
_root.levelf2 = "5";
} else {
_root.levelf2 = "6";
}
tellTarget (luvmeter) {
gotoAndStop(_root.levelf2);
};
hbutton.useHandCursor = false;
if (_root.jealf2 eq 0) {
setProperty("_root.engine.meetnerd.jeal", _visible , "0");
}
if (_root.charsex eq 1) {
setProperty("guy", _visible , "0");
} else {
setProperty("gal", _visible , "0");
}
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
stop();
Symbol 549 MovieClip Frame 3
stop();
Symbol 550 Button
on (release) {
if (_root.beer > 0) {
_root.beer = Number(_root.beer) - 1;
_root.caref3 = Number(_root.caref3) + 4;
}
}
Symbol 551 Button
on (release) {
if (_root.liquor > 0) {
_root.liquor = Number(_root.liquor) - 1;
_root.caref3 = Number(_root.caref3) + 2;
}
}
Symbol 552 Button
on (release) {
if (_root.plush > 0) {
_root.plush = Number(_root.plush) - 1;
_root.caref3 = Number(_root.caref3) + 3;
}
}
Symbol 553 Button
on (release) {
if (_root.flowers > 0) {
_root.flowers = Number(_root.flowers) - 1;
_root.caref3 = Number(_root.caref3) + 5;
}
}
Symbol 554 Button
on (release) {
if (_root.neck > 0) {
_root.neck = Number(_root.neck) - 1;
_root.caref3 = Number(_root.caref3) + 10;
}
}
Symbol 555 Button
on (release) {
if (_root.ring > 0) {
_root.ring = Number(_root.ring) - 1;
_root.caref3 = Number(_root.caref3) + 20;
}
}
Symbol 556 Button
on (release) {
if (_root.watch > 0) {
_root.watch = Number(_root.watch) - 1;
_root.caref3 = Number(_root.caref3) + 10;
}
}
Symbol 564 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 2
stop();
Symbol 565 Button
on (release) {
setProperty("_root.engine.meetsport.talkbtn", _visible , "0");
if (_root.relf3 < 11) {
tellTarget ("outcome") {
gotoAndStop (2);
};
} else if (_root.relf3 < 21) {
_root.talkie = Number(random(2) + 3);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf3 < 51) {
_root.talkie = Number(random(4) + 4);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf3 < 100) {
_root.talkie = Number(random(4) + 7);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else {
tellTarget ("outcome") {
gotoAndStop (12);
};
}
}
Symbol 566 Button
on (release) {
if (_root.levelf3 > 3) {
tellTarget ("gift") {
gotoAndStop (2);
};
} else {
tellTarget ("giftmsg") {
play();
};
}
setProperty("_root.engine.meetsport.giftbtn", _visible , "0");
}
Symbol 567 Button
on (release) {
prevFrame();
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 579 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 2
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 2;
Symbol 579 MovieClip Frame 3
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 4
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 5
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 6
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 7
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 8
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 9
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 10
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 11
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 579 MovieClip Frame 12
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref3 = Number(_root.caref3) + 4;
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 2
if (_root.engine._currentframe eq 36) {
tellTarget ("background") {
gotoAndStop (1);
};
} else if (_root.engine._currentframe eq 17) {
tellTarget ("background") {
gotoAndStop (2);
};
} else {
tellTarget ("background") {
gotoAndStop (3);
};
}
stop();
if (_root.relf3 < 5) {
_root.levelf3 = "1";
} else if (_root.relf3 < 11) {
_root.levelf3 = "2";
} else if (_root.relf3 < 21) {
_root.levelf3 = "3";
} else if (_root.relf3 < 51) {
_root.levelf3 = "4";
} else if (_root.relf3 < 100) {
_root.levelf3 = "5";
} else {
_root.levelf3 = "6";
}
tellTarget (luvmeter) {
gotoAndStop(_root.levelf3);
};
hbutton.useHandCursor = false;
if (_root.jealf3 eq 0) {
setProperty("_root.engine.meetsport.jeal", _visible , "0");
}
if (_root.charsex eq 1) {
setProperty("guy", _visible , "0");
} else {
setProperty("gal", _visible , "0");
}
Symbol 582 MovieClip Frame 1
stop();
Symbol 582 MovieClip Frame 2
stop();
Symbol 582 MovieClip Frame 3
stop();
Symbol 587 Button
on (release) {
if (_root.beer > 0) {
_root.beer = Number(_root.beer) - 1;
_root.caref5 = Number(_root.caref5) + 2;
}
}
Symbol 588 Button
on (release) {
if (_root.liquor > 0) {
_root.liquor = Number(_root.liquor) - 1;
_root.caref5 = Number(_root.caref5) + 5;
}
}
Symbol 589 Button
on (release) {
if (_root.plush > 0) {
_root.plush = Number(_root.plush) - 1;
_root.caref5 = Number(_root.caref5) + 5;
}
}
Symbol 590 Button
on (release) {
if (_root.flowers > 0) {
_root.flowers = Number(_root.flowers) - 1;
_root.caref5 = Number(_root.caref5) + 5;
}
}
Symbol 591 Button
on (release) {
if (_root.neck > 0) {
_root.neck = Number(_root.neck) - 1;
_root.caref5 = Number(_root.caref5) + 10;
}
}
Symbol 592 Button
on (release) {
if (_root.ring > 0) {
_root.ring = Number(_root.ring) - 1;
_root.caref5 = Number(_root.caref5) + 20;
}
}
Symbol 593 Button
on (release) {
if (_root.watch > 0) {
_root.watch = Number(_root.watch) - 1;
_root.caref5 = Number(_root.caref5) + 8;
}
}
Symbol 601 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 2
stop();
Symbol 602 Button
on (release) {
setProperty("_root.engine.meetqueen.talkbtn", _visible , "0");
if (_root.relf5 < 11) {
tellTarget ("outcome") {
gotoAndStop (2);
};
} else if (_root.relf5 < 21) {
_root.talkie = Number(random(2) + 3);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf5 < 51) {
_root.talkie = Number(random(4) + 4);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else if (_root.relf5 < 100) {
_root.talkie = Number(random(4) + 7);
tellTarget ("outcome") {
gotoAndStop(_root.talkie);
};
} else {
tellTarget ("outcome") {
gotoAndStop (12);
};
}
}
Symbol 603 Button
on (release) {
if (_root.levelf5 > 3) {
tellTarget ("gift") {
gotoAndStop (2);
};
} else {
tellTarget ("giftmsg") {
play();
};
}
setProperty("_root.engine.meetqueen.giftbtn", _visible , "0");
}
Symbol 604 Button
on (release) {
prevFrame();
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 608 MovieClip Frame 1
stop();
Symbol 608 MovieClip Frame 2
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 2;
Symbol 608 MovieClip Frame 3
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 4
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 5
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 6
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 7
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 8
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 9
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 10
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 11
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 608 MovieClip Frame 12
setProperty("_root.engine.meetgoth.talkbtn", _visible , "0");
_root.caref5 = Number(_root.caref5) + 4;
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 2
if (_root.engine._currentframe eq 15) {
tellTarget ("background") {
gotoAndStop (1);
};
} else if (_root.engine._currentframe eq 16) {
tellTarget ("background") {
gotoAndStop (2);
};
} else {
tellTarget ("background") {
gotoAndStop (3);
};
}
stop();
if (_root.relf5 < 5) {
_root.levelf5 = "1";
} else if (_root.relf5 < 11) {
_root.levelf5 = "2";
} else if (_root.relf5 < 21) {
_root.levelf5 = "3";
} else if (_root.relf5 < 51) {
_root.levelf5 = "4";
} else if (_root.relf5 < 100) {
_root.levelf5 = "5";
} else {
_root.levelf5 = "6";
}
tellTarget (luvmeter) {
gotoAndStop(_root.levelf5);
};
hbutton.useHandCursor = false;
if (_root.charsex eq 1) {
setProperty("guy", _visible , "0");
} else {
setProperty("gal", _visible , "0");
}
Symbol 611 MovieClip Frame 1
stop();
Symbol 611 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 613 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 615 MovieClip Frame 1
stop();
Symbol 615 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 617 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 621 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 623 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 625 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 634 Button
on (release) {
tellTarget ("_root.engine.status") {
gotoAndStop ("stats");
};
}
Symbol 638 Button
on (release) {
tellTarget ("_root.engine.status") {
gotoAndStop ("friends");
};
}
Symbol 642 Button
on (release) {
tellTarget ("_root.engine.status") {
gotoAndStop ("education");
};
}
Symbol 646 Button
on (release) {
tellTarget ("_root.engine.status") {
gotoAndStop ("career");
};
}
Symbol 651 Button
on (release) {
tellTarget ("_root.engine.status") {
gotoAndStop ("skills");
};
}
Symbol 708 MovieClip Frame 1
stop();
Symbol 708 MovieClip Frame 2
stop();
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 2
stop();
Symbol 721 MovieClip Frame 3
stop();
Symbol 721 MovieClip Frame 4
stop();
Symbol 721 MovieClip Frame 5
stop();
Symbol 798 MovieClip Frame 1
stop();
tellTarget ("boredbar") {
gotoAndStop(_root.bored);
};
tellTarget ("hungrybar") {
gotoAndStop(_root.hungry);
};
tellTarget ("me") {
gotoAndStop(_root.charframe);
};
if (_root.server != 15) {
_root.love();
}
Symbol 798 MovieClip Frame 2
stop();
if (_root.jealf1 eq 0) {
setProperty("_root.engine.status.jeal1", _visible , "0");
}
if (_root.jealf2 eq 0) {
setProperty("_root.engine.status.jeal2", _visible , "0");
}
if (_root.jealf3 eq 0) {
setProperty("_root.engine.status.jeal3", _visible , "0");
}
if (_root.jealf4 eq 0) {
setProperty("_root.engine.status.jeal4", _visible , "0");
}
var i = 1;
while (i < 6) {
rel = eval ("_root.relf" + i);
if (rel < 5) {
_root.levelfi = "1";
} else if (rel < 11) {
_root.levelfi = "2";
} else if (rel < 21) {
_root.levelfi = "3";
} else if (rel < 51) {
_root.levelfi = "4";
} else if (rel < 100) {
_root.levelfi = "5";
} else {
_root.levelfi = "6";
}
luvmeter = "lmeter" + i;
tellTarget (luvmeter) {
gotoAndStop(_root.levelfi);
};
i++;
}
if (_root.charsex eq 1) {
tellTarget ("_root.engine.status.inset") {
gotoAndStop (1);
};
} else {
tellTarget ("_root.engine.status.inset") {
gotoAndStop (2);
};
}
if (_root.reputc < 5) {
tellTarget ("_root.engine.status.reputmc") {
gotoAndStop (1);
};
} else if (_root.reputmc < 12) {
tellTarget ("_root.engine.status.reputmc") {
gotoAndStop (2);
};
} else if (_root.reputmc < 20) {
tellTarget ("_root.engine.status.reputmc") {
gotoAndStop (3);
};
} else if (_root.reputmc < 30) {
tellTarget ("_root.engine.status.reputmc") {
gotoAndStop (4);
};
} else {
tellTarget ("_root.engine.status.reputmc") {
gotoAndStop (5);
};
}
Symbol 798 MovieClip Frame 3
stop();
Symbol 798 MovieClip Frame 4
stop();
Symbol 798 MovieClip Frame 5
stop();
Symbol 803 Button
on (release) {
gotoAndStop (4);
}
Symbol 806 Button
on (release) {
gotoAndStop (3);
}
Symbol 814 Button
on (release) {
if ((_root.time >= 13) || (_root.time <= 1)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("pub");
};
}
} else {
tellTarget ("_root.engine.openbar") {
play();
};
}
}
on (rollOver) {
tellTarget ("_root.engine.captionpub") {
gotoAndStop (3);
};
}
on (rollOut, dragOut) {
tellTarget ("_root.engine.captionpub") {
gotoAndStop (2);
};
}
Symbol 819 Button
on (release) {
if ((_root.time >= 19) && (_root.time <= 23)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("opera");
};
}
} else {
tellTarget ("_root.engine.openopera") {
play();
};
}
}
on (rollOver) {
tellTarget ("_root.engine.captionopera") {
gotoAndStop (3);
};
}
on (rollOut, dragOut) {
tellTarget ("_root.engine.captionopera") {
gotoAndStop (2);
};
}
Symbol 822 Button
on (release) {
if (((_root.time >= 9) && (_root.time <= 17)) && (_root.dayno < 6)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("school");
};
}
} else {
tellTarget ("_root.engine.openschool") {
play();
};
}
}
on (rollOver) {
tellTarget ("_root.engine.captionschool") {
gotoAndStop (3);
};
}
on (rollOut, dragOut) {
tellTarget ("_root.engine.captionschool") {
gotoAndStop (2);
};
}
Symbol 826 Button
on (release) {
if ((_root.time >= 13) || (_root.time <= 1)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("lounge");
};
}
} else {
tellTarget ("_root.engine.openbar") {
play();
};
}
}
on (rollOver) {
tellTarget ("_root.engine.captionlounge") {
gotoAndStop (3);
};
}
on (rollOut, dragOut) {
tellTarget ("_root.engine.captionlounge") {
gotoAndStop (2);
};
}
Symbol 827 Button
on (release) {
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 830 Button
on (release) {
if ((_root.time >= 9) && (_root.time <= 21)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.temps();
_root.faim();
tellTarget ("_root.engine") {
gotoAndStop ("mall");
};
}
} else {
tellTarget ("_root.engine.openmall") {
play();
};
}
}
on (rollOver) {
tellTarget ("_root.engine.captionmall") {
gotoAndStop (3);
};
}
on (rollOut, dragOut) {
tellTarget ("_root.engine.captionmall") {
gotoAndStop (2);
};
}
Symbol 833 Button
on (release) {
if ((_root.time >= 11) && (_root.time <= 23)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("movie");
};
}
} else {
tellTarget ("_root.engine.openmovie") {
play();
};
}
}
on (rollOver) {
tellTarget ("_root.engine.captionmovie") {
gotoAndStop (3);
};
}
on (rollOut, dragOut) {
tellTarget ("_root.engine.captionmovie") {
gotoAndStop (2);
};
}
Symbol 836 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("resto");
};
}
}
Symbol 840 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("work");
};
}
}
Symbol 844 Button
on (release) {
if ((_root.time >= 6) && (_root.time <= 23)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("gym");
};
}
} else {
tellTarget ("_root.engine.opengym") {
play();
};
}
}
on (rollOver) {
tellTarget ("_root.engine.captiongym") {
gotoAndStop (3);
};
}
on (rollOut, dragOut) {
tellTarget ("_root.engine.captiongym") {
gotoAndStop (2);
};
}
Symbol 848 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("park");
};
}
}
Symbol 851 MovieClip Frame 1
stop();
Symbol 851 MovieClip Frame 2
this.onEnterFrame = function () {
this._alpha = this._alpha + ((-this._alpha) / 3);
};
Symbol 851 MovieClip Frame 3
this.onEnterFrame = function () {
this._alpha = this._alpha + ((100 - this._alpha) / 3);
};
Symbol 853 MovieClip Frame 1
stop();
Symbol 853 MovieClip Frame 2
this.onEnterFrame = function () {
this._alpha = this._alpha + ((-this._alpha) / 3);
};
Symbol 853 MovieClip Frame 3
this.onEnterFrame = function () {
this._alpha = this._alpha + ((100 - this._alpha) / 3);
};
Symbol 855 MovieClip Frame 1
stop();
Symbol 855 MovieClip Frame 2
this.onEnterFrame = function () {
this._alpha = this._alpha + ((-this._alpha) / 3);
};
Symbol 855 MovieClip Frame 3
this.onEnterFrame = function () {
this._alpha = this._alpha + ((100 - this._alpha) / 3);
};
Symbol 857 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 2
this.onEnterFrame = function () {
this._alpha = this._alpha + ((-this._alpha) / 3);
};
Symbol 857 MovieClip Frame 3
this.onEnterFrame = function () {
this._alpha = this._alpha + ((100 - this._alpha) / 3);
};
Symbol 859 MovieClip Frame 1
stop();
Symbol 859 MovieClip Frame 2
this.onEnterFrame = function () {
this._alpha = this._alpha + ((-this._alpha) / 3);
};
Symbol 859 MovieClip Frame 3
this.onEnterFrame = function () {
this._alpha = this._alpha + ((100 - this._alpha) / 3);
};
Symbol 861 MovieClip Frame 1
stop();
Symbol 861 MovieClip Frame 2
this.onEnterFrame = function () {
this._alpha = this._alpha + ((-this._alpha) / 3);
};
Symbol 861 MovieClip Frame 3
this.onEnterFrame = function () {
this._alpha = this._alpha + ((100 - this._alpha) / 3);
};
Symbol 865 Button
on (release) {
tellTarget ("_root.engine") {
gotoAndStop ("stats");
};
}
Symbol 873 MovieClip Frame 1
tellTarget ("_root.engine.header.boredbar") {
gotoAndStop(_root.bored);
};
tellTarget ("_root.engine.header.hungrybar") {
gotoAndStop(_root.hungry);
};
Symbol 874 MovieClip Frame 1
if (_root.time > 24) {
_root.time = Number(_root.time) - 24;
_root.dayno = Number(_root.dayno) + 1;
_root.daynotot = Number(_root.daynotot) + 1;
if (_root.dayno eq 8) {
_root.dayno = "1";
}
if (_root.caref1 > 0) {
_root.caref1 = Number(_root.caref1) - 1;
}
if (_root.caref2 > 0) {
_root.caref2 = Number(_root.caref2) - 1;
}
if (_root.caref3 > 0) {
_root.caref3 = Number(_root.caref3) - 1;
}
if (_root.caref4 > 0) {
_root.caref4 = Number(_root.caref4) - 1;
}
if (_root.caref5 > 0) {
_root.caref5 = Number(_root.caref5) - 1;
}
}
if (_root.dayno eq 1) {
_root.day = "Mon";
}
if (_root.dayno eq 2) {
_root.day = "Tue";
}
if (_root.dayno eq 3) {
_root.day = "Wed";
}
if (_root.dayno eq 4) {
_root.day = "Thu";
}
if (_root.dayno eq 5) {
_root.day = "Fri";
}
if (_root.dayno eq 6) {
_root.day = "Sat";
}
if (_root.dayno eq 7) {
_root.day = "Sun";
}
Symbol 883 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("tv");
};
}
}
Symbol 887 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("craft");
};
}
}
Symbol 891 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("phone");
};
}
}
Symbol 895 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("read");
};
}
}
Symbol 899 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("comp");
};
}
}
Symbol 904 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndStop ("dressing");
};
}
}
Symbol 908 Button
on (release) {
tellTarget ("_root.engine") {
gotoAndStop ("city");
};
}
Symbol 912 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else {
_root.temps();
_root.cooking = Number(_root.cooking) + 1;
_root.satisf = Math.floor(Number(_root.cooking) / 10);
_root.hungry = (Number(_root.hungry) - 6) - Number(_root.satisf);
if (_root.hungry < 1) {
_root.hungry = "1";
}
}
}
Symbol 917 Button
on (release) {
if (_root.time >= 18) {
tellTarget ("_root.engine") {
gotoAndPlay ("sleep2");
};
} else {
tellTarget ("_root.engine") {
gotoAndPlay ("sleep");
};
}
}
Symbol 921 Button
on (release) {
tellTarget ("_root.engine.nap") {
play();
};
_root.hp = Number(_root.hp) + 20;
_root.time = Number(_root.time) + 2;
}
Symbol 922 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 2
Bbutton.useHandCursor = false;
Symbol 923 Button
on (release) {
gotoAndStop (4);
}
Symbol 930 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
nextFrame();
}
}
Symbol 937 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.temps();
_root.faim();
_root.bored1();
_root.comp = Number(_root.comp) + 3;
}
}
Symbol 943 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.temps();
_root.bored1();
_root.faim();
_root.writing = Number(_root.writing) + 3;
}
}
Symbol 949 Button
on (release) {
_root.faim();
_root.bored2();
_root.temps();
_root.social = Number(_root.social) + 3;
prevFrame();
}
Symbol 955 Button
on (release) {
_root.temps();
_root.faim();
_root.caref5 = Number(_root.caref5) + 2;
tellTarget ("_root.engine.screen") {
prevFrame();
};
}
Symbol 956 MovieClip Frame 1
stop();
Symbol 956 MovieClip Frame 2
stop();
Symbol 959 Button
on (release) {
_root.temps();
_root.faim();
_root.caref1 = Number(_root.caref1) + 2;
tellTarget ("_root.engine.screen") {
prevFrame();
};
}
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 2
stop();
Symbol 963 Button
on (release) {
_root.temps();
_root.faim();
_root.caref2 = Number(_root.caref2) + 2;
tellTarget ("_root.engine.screen") {
prevFrame();
};
}
Symbol 964 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 2
stop();
Symbol 967 Button
on (release) {
_root.temps();
_root.faim();
_root.caref3 = Number(_root.caref3) + 2;
tellTarget ("_root.engine.screen") {
prevFrame();
};
}
Symbol 968 MovieClip Frame 1
stop();
Symbol 968 MovieClip Frame 2
stop();
Symbol 971 Button
on (release) {
_root.temps();
_root.faim();
_root.caref4 = Number(_root.caref4) + 2;
tellTarget ("_root.engine.screen") {
prevFrame();
};
}
Symbol 972 MovieClip Frame 1
stop();
Symbol 972 MovieClip Frame 2
stop();
Symbol 974 Button
on (release) {
prevFrame();
}
Symbol 975 MovieClip Frame 1
stop();
Symbol 975 MovieClip Frame 2
stop();
if (_root.relf1 > 20) {
_root.chat1 = "1";
tellTarget ("bulletf1") {
gotoAndStop (2);
};
} else {
_root.chat1 = "0";
}
if (_root.relf2 > 20) {
_root.chat2 = "1";
tellTarget ("bulletf2") {
gotoAndStop (2);
};
} else {
_root.chat2 = "0";
}
if (_root.relf3 > 20) {
_root.chat3 = "1";
tellTarget ("bulletf3") {
gotoAndStop (2);
};
} else {
_root.chat3 = "0";
}
if (_root.relf4 > 20) {
_root.chat4 = "1";
tellTarget ("bulletf4") {
gotoAndStop (2);
};
} else {
_root.chat4 = "0";
}
if (_root.relf5 > 20) {
_root.chat5 = "1";
tellTarget ("bulletf5") {
gotoAndStop (2);
};
} else {
_root.chat5 = "0";
}
Symbol 977 Button
on (release) {
if (_root.money < 20) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.guit = Number(_root.guit) + 1;
_root.bguit = "1";
_root.money = Number(_root.money) - 20;
setProperty("_root.engine.shops.buttonguit20", _visible , "0");
}
}
Symbol 980 Button
on (release) {
if (_root.money < 100) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.guit = Number(_root.guit) + 2;
_root.eguit = "1";
_root.money = Number(_root.money) - 100;
setProperty("_root.engine.shops.buttonguit100", _visible , "0");
}
}
Symbol 981 Button
on (release) {
gotoAndStop (1);
setProperty("_root.engine.exitbtn", _visible , "100");
}
Symbol 983 Button
on (release) {
if (_root.money < 40) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.yarn = Number(_root.yarn) + 1;
_root.money = Number(_root.money) - 40;
if (_root.yarn eq 3) {
setProperty("_root.engine.shops.buttonwool", _visible , "0");
}
}
}
Symbol 986 Button
on (release) {
if (_root.money < 30) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.plush = Number(_root.plush) + 1;
_root.money = Number(_root.money) - 30;
}
}
Symbol 988 Button
on (release) {
if (_root.money < 20) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.flowers = Number(_root.flowers) + 1;
_root.money = Number(_root.money) - 20;
}
}
Symbol 990 Button
on (release) {
if (_root.money < 20) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.cooking = Number(_root.cooking) + 5;
_root.cb1 = "1";
_root.money = Number(_root.money) - 20;
setProperty("_root.engine.shops.buttoncook20", _visible , "0");
}
}
Symbol 993 Button
on (release) {
if (_root.money < 50) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.cooking = Number(_root.cooking) + 5;
_root.cb2 = "1";
_root.money = Number(_root.money) - 50;
setProperty("_root.engine.shops.buttoncook50", _visible , "0");
}
}
Symbol 995 Button
on (release) {
if (_root.money < 50) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.pandb = Number(_root.pandb) + 1;
_root.money = Number(_root.money) - 50;
if (_root.pandb eq 2) {
setProperty("_root.engine.shops.buttonpaint", _visible , "0");
}
}
}
Symbol 998 Button
on (release) {
if (_root.money < 50) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.candt = Number(_root.candt) + 1;
_root.money = Number(_root.money) - 50;
if (_root.candt eq 2) {
setProperty("_root.engine.shops.buttonclay", _visible , "0");
}
}
}
Symbol 1001 Button
on (release) {
if (_root.money < 20) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.pandp = Number(_root.pandp) + 1;
_root.money = Number(_root.money) - 20;
if (_root.pandp eq 3) {
setProperty("_root.engine.shops.buttonplant", _visible , "0");
}
}
}
Symbol 1004 Button
on (release) {
if (_root.money < 100) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.neck = Number(_root.neck) + 1;
_root.money = Number(_root.money) - 100;
}
}
Symbol 1007 Button
on (release) {
if (_root.money < 500) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.ring = Number(_root.ring) + 1;
_root.money = Number(_root.money) - 500;
}
}
Symbol 1009 Button
on (release) {
if (_root.money < 20) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.beer = Number(_root.beer) + 1;
_root.money = Number(_root.money) - 20;
}
}
Symbol 1012 Button
on (release) {
if (_root.money < 40) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.liquor = Number(_root.liquor) + 1;
_root.money = Number(_root.money) - 40;
}
}
Symbol 1014 Button
on (release) {
if (_root.money < 60) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.hipc = "1";
_root.money = Number(_root.money) - 60;
setProperty("_root.engine.shops.buttonhip", _visible , "0");
}
}
Symbol 1016 Button
on (release) {
if (_root.money < 250) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.exec = "1";
_root.money = Number(_root.money) - 250;
setProperty("_root.engine.shops.buttonexe", _visible , "0");
}
}
Symbol 1018 Button
on (release) {
if (_root.money < 120) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.watch = Number(_root.watch) + 1;
_root.money = Number(_root.money) - 120;
}
}
Symbol 1020 Button
on (release) {
if (_root.money < 80) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.gotc = "1";
_root.money = Number(_root.money) - 80;
setProperty("_root.engine.shops.buttongot", _visible , "0");
}
}
Symbol 1023 Button
on (release) {
if (_root.money < 80) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.emoc = "1";
_root.money = Number(_root.money) - 80;
setProperty("_root.engine.shops.buttonemo", _visible , "0");
}
}
Symbol 1025 Button
on (release) {
if (_root.money < 120) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.spoc = "1";
_root.money = Number(_root.money) - 120;
setProperty("_root.engine.shops.buttonsport", _visible , "0");
}
}
Symbol 1027 Button
on (release) {
if (_root.money < 180) {
tellTarget ("_root.engine.msgmoney") {
play();
};
} else {
_root.cashy.start();
_root.clac = "1";
_root.money = Number(_root.money) - 180;
setProperty("_root.engine.shops.buttonclass", _visible , "0");
}
}
Symbol 1028 MovieClip Frame 1
stop();
Symbol 1028 MovieClip Frame 2
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.bguit eq 1) {
setProperty("buttonguit20", _visible , "0");
}
if (_root.eguit eq 1) {
setProperty("buttonguit100", _visible , "0");
}
Symbol 1028 MovieClip Frame 3
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.yarn > 2) {
setProperty("buttonwool", _visible , "0");
}
Symbol 1028 MovieClip Frame 4
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
Symbol 1028 MovieClip Frame 5
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
Symbol 1028 MovieClip Frame 6
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.cb1 eq 1) {
setProperty("buttoncook20", _visible , "0");
}
if (_root.cb2 eq 1) {
setProperty("buttoncook50", _visible , "0");
}
Symbol 1028 MovieClip Frame 7
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.pandb > 1) {
setProperty("buttonpaint", _visible , "0");
}
if (_root.candt > 1) {
setProperty("buttonclay", _visible , "0");
}
Symbol 1028 MovieClip Frame 8
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.pandp > 2) {
setProperty("buttonplant", _visible , "0");
}
Symbol 1028 MovieClip Frame 9
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
Symbol 1028 MovieClip Frame 10
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
Symbol 1028 MovieClip Frame 11
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.hipc eq 1) {
setProperty("buttonhip", _visible , "0");
}
Symbol 1028 MovieClip Frame 12
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.exec eq 1) {
setProperty("buttonexe", _visible , "0");
}
Symbol 1028 MovieClip Frame 13
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
Symbol 1028 MovieClip Frame 14
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.gotc eq 1) {
setProperty("buttongot", _visible , "0");
}
if (_root.emoc eq 1) {
setProperty("buttonemo", _visible , "0");
}
Symbol 1028 MovieClip Frame 15
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.spoc eq 1) {
setProperty("buttonsport", _visible , "0");
}
Symbol 1028 MovieClip Frame 16
hbutton.useHandCursor = false;
setProperty("_root.engine.exitbtn", _visible , "0");
if (_root.clac eq 1) {
setProperty("buttonclass", _visible , "0");
}
Symbol 1029 Button
on (release) {
gotoAndStop (3);
}
Symbol 1034 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored1();
_root.beauty = Number(_root.beauty) + 2;
}
}
Symbol 1037 Button
on (release) {
_root.zip.start();
_root.clothesf1 = "5";
_root.clothesf2 = "5";
_root.clothesf3 = "5";
_root.clothesf4 = "10";
_root.clothesf5 = "0";
}
Symbol 1040 Button
on (release) {
_root.zip.start();
_root.clothesf1 = "0";
_root.clothesf2 = "10";
_root.clothesf3 = "5";
_root.clothesf4 = "10";
_root.clothesf5 = "5";
}
Symbol 1046 Button
on (release) {
_root.zip.start();
_root.clothesf1 = "10";
_root.clothesf2 = "-10";
_root.clothesf3 = "-10";
_root.clothesf4 = "5";
_root.clothesf5 = "0";
}
Symbol 1049 Button
on (release) {
_root.zip.start();
_root.clothesf1 = "-10";
_root.clothesf2 = "5";
_root.clothesf3 = "-10";
_root.clothesf4 = "0";
_root.clothesf5 = "10";
}
Symbol 1052 Button
on (release) {
_root.zip.start();
_root.clothesf1 = "0";
_root.clothesf2 = "-10";
_root.clothesf3 = "10";
_root.clothesf4 = "0";
_root.clothesf5 = "-10";
}
Symbol 1055 Button
on (release) {
_root.zip.start();
_root.clothesf1 = "10";
_root.clothesf2 = "-10";
_root.clothesf3 = "-10";
_root.clothesf4 = "5";
_root.clothesf5 = "0";
}
Symbol 1057 Button
on (release) {
if (_root.candt eq 0) {
tellTarget ("_root.engine.supplymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else {
_root.temps();
_root.faim();
_root.unbored();
_root.arts = Number(_root.arts) + Number(_root.candt);
}
}
Symbol 1058 Button
on (release) {
if (_root.pandb eq 0) {
tellTarget ("_root.engine.supplymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else {
_root.temps();
_root.faim();
_root.unbored();
_root.arts = Number(_root.arts) + Number(_root.pandb);
}
}
Symbol 1059 Button
on (release) {
if (_root.guit eq 0) {
tellTarget ("_root.engine.supplymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else {
_root.temps();
_root.faim();
_root.unbored();
_root.music = Number(_root.music) + Number(_root.guit);
}
}
Symbol 1060 Button
on (release) {
if (_root.yarn eq 0) {
tellTarget ("_root.engine.supplymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else {
_root.temps();
_root.faim();
_root.unbored();
_root.knitting = Number(_root.knitting) + Number(_root.yarn);
}
}
Symbol 1061 Button
on (release) {
if (_root.pandp eq 0) {
tellTarget ("_root.engine.supplymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else {
_root.temps();
_root.faim();
_root.unbored();
_root.gardening = Number(_root.gardening) + Number(_root.pandp);
}
}
Symbol 1062 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.temps();
_root.faim();
_root.unbored();
_root.singing = Number(_root.singing) + 2;
}
}
Symbol 1073 Button
on (release) {
_root.temps();
_root.faim();
_root.unbored();
_root.caref1 = Number(_root.caref1) + 4;
gotoAndStop(home);
}
Symbol 1074 Button
on (release) {
_root.temps();
_root.faim();
_root.unbored();
_root.caref2 = Number(_root.caref2) + 4;
gotoAndStop(home);
}
Symbol 1075 Button
on (release) {
_root.temps();
_root.faim();
_root.unbored();
_root.caref3 = Number(_root.caref3) + 4;
gotoAndStop(home);
}
Symbol 1076 Button
on (release) {
_root.temps();
_root.faim();
_root.unbored();
_root.caref4 = Number(_root.caref4) + 4;
gotoAndStop(home);
}
Symbol 1077 Button
on (release) {
_root.temps();
_root.faim();
_root.unbored();
_root.caref5 = Number(_root.caref5) + 4;
gotoAndStop(home);
}
Symbol 1086 Button
on (release) {
if (_root.money > 9) {
_root.temps();
_root.faim();
_root.unbored();
_root.money = Number(_root.money) - 10;
_root.writing = Number(_root.writing) + 2;
meet = random(2);
if (meet eq 0) {
tellTarget ("_root.engine.meetnerd") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
} else {
tellTarget ("_root.engine.msgmoney") {
play();
};
}
}
Symbol 1088 Button
on (release) {
if (_root.money > 9) {
_root.temps();
_root.faim();
_root.unbored();
_root.money = Number(_root.money) - 10;
_root.culture = Number(_root.culture) + 2;
meet = random(2);
if (meet eq 0) {
tellTarget ("_root.engine.meetgoth") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
} else {
tellTarget ("_root.engine.msgmoney") {
play();
};
}
}
Symbol 1090 Button
on (release) {
if (_root.money > 9) {
_root.temps();
_root.faim();
_root.unbored();
_root.money = Number(_root.money) - 10;
_root.arts = Number(_root.arts) + 2;
meet = random(2);
if (meet eq 0) {
tellTarget ("_root.engine.meetartist") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
} else {
tellTarget ("_root.engine.msgmoney") {
play();
};
}
}
Symbol 1097 Button
on (release) {
_root.temps();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.corate) * 2);
_root.coexp = Number(_root.coexp) + 2;
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 1104 Button
on (release) {
if (_root.money > 9) {
_root.temps();
_root.unbored();
_root.money = Number(_root.money) - 10;
_root.cooking = Number(_root.cooking) + 1;
_root.hungry = "1";
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
}
Symbol 1108 Button
on (release) {
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.oprate) * 2);
_root.opexp = Number(_root.opexp) + 2;
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 1114 Button
on (release) {
if (_root.money > 19) {
_root.temps();
_root.faim();
_root.unbored();
_root.money = Number(_root.money) - 20;
_root.singing = Number(_root.singing) + 2;
meet = random(2);
if (meet eq 0) {
tellTarget ("_root.engine.meetnerd") {
play();
};
} else if (meet eq 1) {
tellTarget ("_root.engine.meetqueen") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
} else {
tellTarget ("_root.engine.msgmoney") {
play();
};
}
}
Symbol 1129 Button
on (release) {
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.barate) * 2);
_root.baexp = Number(_root.baexp) + 2;
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 1134 Button
on (release) {
if (_root.money > 19) {
_root.temps();
_root.faim();
_root.unbored();
_root.money = Number(_root.money) - 20;
_root.social = Number(_root.social) + 2;
meet = random(2);
if (meet eq 0) {
tellTarget ("_root.engine.meetartist") {
play();
};
} else if (meet eq 1) {
tellTarget ("_root.engine.meetqueen") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
} else {
tellTarget ("_root.engine.msgmoney") {
play();
};
}
}
Symbol 1138 Button
on (release) {
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.prrate) * 2);
_root.prexp = Number(_root.prexp) + 2;
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
Symbol 1144 Button
on (release) {
if (_root.money > 9) {
_root.temps();
if (_root.hungry eq 20) {
_root.temps();
}
_root.hungry = Number(_root.hungry) + 4;
if (_root.hungry > 20) {
_root.hungry = "20";
}
_root.unbored();
_root.sports = Number(_root.sports) + 1;
_root.beauty = Number(_root.beauty) + 1;
_root.money = Number(_root.money) - 10;
meet = random(2);
if (meet eq 0) {
tellTarget ("_root.engine.meetsport") {
play();
};
} else if (meet eq 1) {
tellTarget ("_root.engine.meetqueen") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
} else {
tellTarget ("_root.engine.msgmoney") {
play();
};
}
}
Symbol 1153 Button
on (release) {
if (_root.money > 19) {
_root.temps();
if (_root.hungry eq 20) {
_root.temps();
}
_root.faim();
_root.unbored();
_root.money = Number(_root.money) - 20;
_root.social = Number(_root.social) + 2;
_root.meet = random(3);
if (_root.meet eq 0) {
tellTarget ("_root.engine.meetgoth") {
play();
};
} else if (_root.meet eq 1) {
tellTarget ("_root.engine.meetsport") {
play();
};
} else {
tellTarget ("_root.engine") {
gotoAndPlay ("city");
};
}
} else {
tellTarget ("_root.engine.msgmoney") {
play();
};
}
}
Symbol 1159 Button
on (release) {
if ((_root.time >= 9) && (_root.time <= 21)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.garate) * 2);
_root.gaexp = Number(_root.gaexp) + 2;
}
} else {
tellTarget ("_root.engine.openmall") {
play();
};
}
}
Symbol 1164 Button
on (release) {
if (((_root.time >= 9) && (_root.time <= 17)) && (_root.dayno < 6)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.brrate) * 2);
_root.brexp = Number(_root.brexp) + 2;
}
} else {
tellTarget ("_root.engine.openschool") {
play();
};
}
}
Symbol 1167 Button
on (release) {
if (((_root.time >= 9) && (_root.time <= 17)) && (_root.dayno < 6)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.ilrate) * 2);
_root.ilexp = Number(_root.ilexp) + 2;
}
} else {
tellTarget ("_root.engine.openschool") {
play();
};
}
}
Symbol 1170 Button
on (release) {
if ((_root.time >= 9) && (_root.time <= 21)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.clrate) * 2);
_root.clexp = Number(_root.clexp) + 2;
}
} else {
tellTarget ("_root.engine.openmall") {
play();
};
}
}
Symbol 1173 Button
on (release) {
if ((_root.time >= 9) && (_root.time <= 21)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.morate) * 2);
_root.moexp = Number(_root.moexp) + 2;
}
} else {
tellTarget ("_root.engine.openmall") {
play();
};
}
}
Symbol 1174 Button
on (release) {
if ((_root.time >= 13) || (_root.time <= 1)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.barate) * 2);
_root.baexp = Number(_root.baexp) + 2;
}
} else {
tellTarget ("_root.engine.openbar") {
play();
};
}
}
Symbol 1175 Button
on (release) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.corate) * 2);
_root.coexp = Number(_root.coexp) + 2;
}
}
Symbol 1178 Button
on (release) {
if (((_root.time >= 9) && (_root.time <= 17)) && (_root.dayno < 6)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.trrate) * 2);
_root.trexp = Number(_root.trexp) + 2;
}
} else {
tellTarget ("_root.engine.openschool") {
play();
};
}
}
Symbol 1179 Button
on (release) {
if ((_root.time >= 6) && (_root.time <= 23)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.prrate) * 2);
_root.prexp = Number(_root.prexp) + 2;
}
} else {
tellTarget ("_root.engine.openmall") {
play();
};
}
}
Symbol 1182 Button
on (release) {
if (((_root.time >= 9) && (_root.time <= 17)) && (_root.dayno < 6)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.birate) * 2);
_root.biexp = Number(_root.biexp) + 2;
}
} else {
tellTarget ("_root.engine.openschool") {
play();
};
}
}
Symbol 1185 Button
on (release) {
if ((_root.time >= 13) || (_root.time <= 1)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.murate) * 2);
_root.muexp = Number(_root.muexp) + 2;
}
} else {
tellTarget ("_root.engine.openbar") {
play();
};
}
}
Symbol 1188 Button
on (release) {
if ((_root.time >= 9) && (_root.time <= 21)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.jorate) * 2);
_root.joexp = Number(_root.joexp) + 2;
}
} else {
tellTarget ("_root.engine.openmall") {
play();
};
}
}
Symbol 1191 Button
on (release) {
if (((_root.time >= 9) && (_root.time <= 17)) && (_root.dayno < 6)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.farate) * 2);
_root.faexp = Number(_root.faexp) + 2;
}
} else {
tellTarget ("_root.engine.openschool") {
play();
};
}
}
Symbol 1194 Button
on (release) {
if (((_root.time >= 9) && (_root.time <= 17)) && (_root.dayno < 6)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.werate) * 2);
_root.weexp = Number(_root.weexp) + 2;
}
} else {
tellTarget ("_root.engine.openschool") {
play();
};
}
}
Symbol 1195 Button
on (release) {
if ((_root.time >= 13) || (_root.time <= 1)) {
if (_root.hp eq 0) {
tellTarget ("_root.engine.sleepymsg") {
play();
};
} else if (_root.hungry eq 20) {
tellTarget ("_root.engine.hungrymsg") {
play();
};
} else {
_root.pop.start();
_root.temps();
_root.faim();
_root.bored2();
_root.money = Number(_root.money) + (Number(_root.oprate) * 2);
_root.opexp = Number(_root.opexp) + 2;
}
} else {
tellTarget ("_root.engine.openbar") {
play();
};
}
}
Symbol 1228 Button
on (release) {
tellTarget ("_root.engine") {
gotoAndStop ("home");
};
}
Symbol 1261 MovieClip Frame 1
stop();
_root.time = "9";
_root.dayno = "1";
_root.daynotot = "1";
_root.hp = "100";
_root.bored = "1";
_root.hungry = "1";
_root.relf1 = "0";
_root.relf2 = "0";
_root.relf3 = "0";
_root.relf4 = "0";
_root.relf5 = "0";
_root.guit = "0";
_root.bguit = "0";
_root.eguit = "0";
_root.cb1 = "0";
_root.cb2 = "0";
_root.plush = "0";
_root.flowers = "0";
_root.yarn = "0";
_root.pandb = "0";
_root.candt = "0";
_root.pandp = "0";
_root.hipc = "0";
_root.gotc = "0";
_root.emoc = "0";
_root.clac = "0";
_root.exec = "0";
_root.spoc = "0";
_root.watch = "0";
_root.beer = "0";
_root.liquor = "0";
_root.plush = "0";
_root.flowers = "0";
_root.neck = "0";
_root.ring = "0";
_root.clothesf1 = "0";
_root.clothesf2 = "0";
_root.clothesf3 = "0";
_root.clothesf4 = "0";
_root.clothesf5 = "0";
_root.statsf1 = "0";
_root.statsf2 = "0";
_root.statsf3 = "0";
_root.statsf4 = "0";
_root.statsf5 = "0";
_root.caref1 = "0";
_root.caref2 = "0";
_root.caref3 = "0";
_root.caref4 = "0";
_root.caref5 = "0";
_root.jealf1 = "0";
_root.jealf2 = "0";
_root.jealf3 = "0";
_root.jealf4 = "0";
_root.jealf5 = "0";
_root.tick1 = "0";
_root.tick2 = "0";
_root.tick3 = "0";
_root.tick4 = "0";
_root.tick5 = "0";
_root.tick6 = "0";
Symbol 1261 MovieClip Frame 2
stop();
Symbol 1261 MovieClip Frame 3
stop();
tellTarget ("_root.engine.citymap") {
gotoAndStop(_root.time);
};
tellTarget ("_root.trackmc") {
gotoAndStop ("highwaystart");
};
Symbol 1261 MovieClip Frame 4
stop();
Symbol 1261 MovieClip Frame 5
stop();
Instance of Symbol 331 MovieClip [FScrollPaneSymbol] in Symbol 1261 MovieClip Frame 5
//component parameters
onClipEvent (initialize) {
scrollContent = "tvshows";
hScroll = false;
vScroll = "auto";
dragContent = false;
}
Symbol 1261 MovieClip Frame 6
stop();
Instance of Symbol 331 MovieClip [FScrollPaneSymbol] in Symbol 1261 MovieClip Frame 6
//component parameters
onClipEvent (initialize) {
scrollContent = "books";
hScroll = "auto";
vScroll = false;
dragContent = false;
}
Symbol 1261 MovieClip Frame 7
stop();
Symbol 1261 MovieClip Frame 8
stop();
tellTarget ("_root.trackmc") {
gotoAndStop ("jazzstart");
};
Instance of Symbol 331 MovieClip [FScrollPaneSymbol] in Symbol 1261 MovieClip Frame 8
//component parameters
onClipEvent (initialize) {
scrollContent = "shoplist";
hScroll = false;
vScroll = "auto";
dragContent = false;
}
Symbol 1261 MovieClip Frame 9
stop();
Instance of Symbol 331 MovieClip [FScrollPaneSymbol] in Symbol 1261 MovieClip Frame 9
//component parameters
onClipEvent (initialize) {
scrollContent = "schoollist";
hScroll = false;
vScroll = "auto";
dragContent = false;
}
Symbol 1261 MovieClip Frame 10
stop();
if (_root.hipc eq 0) {
setProperty("_root.engine.c1", _visible , "0");
}
if (_root.emoc eq 0) {
setProperty("_root.engine.c2", _visible , "0");
}
if (_root.exec eq 0) {
setProperty("_root.engine.c3", _visible , "0");
}
if (_root.gotc eq 0) {
setProperty("_root.engine.c4", _visible , "0");
}
if (_root.spoc eq 0) {
setProperty("_root.engine.c5", _visible , "0");
}
if (_root.clac eq 0) {
setProperty("_root.engine.c6", _visible , "0");
}
Symbol 1261 MovieClip Frame 11
stop();
Symbol 1261 MovieClip Frame 12
stop();
if (_root.relf1 < 50) {
setProperty("phone1", _visible , "0");
}
if (_root.relf2 < 50) {
setProperty("phone2", _visible , "0");
}
if (_root.relf3 < 50) {
setProperty("phone3", _visible , "0");
}
if (_root.relf4 < 50) {
setProperty("phone4", _visible , "0");
}
if (_root.relf5 < 50) {
setProperty("phone5", _visible , "0");
}
tellTarget ("pf1") {
gotoAndStop(_root.f1);
};
tellTarget ("pf2") {
gotoAndStop(_root.f2);
};
tellTarget ("pf3") {
gotoAndStop(_root.f3);
};
tellTarget ("pf4") {
gotoAndStop(_root.f4);
};
tellTarget ("pf5") {
gotoAndStop(_root.f5);
};
Symbol 1261 MovieClip Frame 13
stop();
Symbol 1261 MovieClip Frame 14
stop();
tellTarget ("_root.trackmc") {
gotoAndStop ("jazzstart");
};
_root.corate = Number(_root.cooking) + Math.floor(Number(_root.coexp) / 10);
if (_root.corate > 18) {
_root.corate = "18";
}
Symbol 1261 MovieClip Frame 15
stop();
_root.oprate = Number(_root.singing) + Math.floor(Number(_root.opexp) / 10);
Symbol 1261 MovieClip Frame 16
stop();
_root.barate = ((Number(_root.social) / 2) + (Number(_root.beauty) / 2)) + Math.floor(Number(_root.baexp) / 10);
if (_root.barate > 25) {
_root.barate = "25";
}
tellTarget ("_root.trackmc") {
gotoAndStop ("chocostart");
};
Symbol 1261 MovieClip Frame 17
stop();
_root.prrate = (Number(_root.sports) / 2) + Math.floor(Number(_root.prexp) / 10);
tellTarget ("_root.trackmc") {
gotoAndStop ("chocostart");
};
Symbol 1261 MovieClip Frame 18
stop();
tellTarget ("_root.trackmc") {
gotoAndStop ("pubstart");
};
_root.barate = ((Number(_root.social) / 2) + (Number(_root.beauty) / 2)) + Math.floor(Number(_root.baexp) / 10);
if (_root.barate > 25) {
_root.barate = "25";
}
Symbol 1261 MovieClip Frame 19
stop();
_root.oprate = Number(_root.singing) + Math.floor(Number(_root.opexp) / 10);
_root.werate = ((Number(_root.comp) / 2) + (Number(_root.arts) / 2)) + Math.floor(Number(_root.weexp) / 10);
if (_root.werate > 25) {
_root.werate = "25";
}
_root.jorate = ((Number(_root.culture) / 2) + (Number(_root.writing) / 2)) + Math.floor(Number(_root.joexp) / 10);
_root.farate = ((Number(_root.fashion) / 2) + (Number(_root.arts) / 2)) + Math.floor(Number(_root.faexp) / 10);
_root.murate = (Number(_root.music) / 2) + Math.floor(Number(_root.muexp) / 10);
_root.prrate = (Number(_root.sports) / 2) + Math.floor(Number(_root.prexp) / 10);
_root.barate = ((Number(_root.social) / 2) + (Number(_root.beauty) / 2)) + Math.floor(Number(_root.baexp) / 10);
if (_root.barate > 25) {
_root.barate = "25";
}
_root.trrate = Number(_root.secondlang) + Math.floor(Number(_root.trexp) / 10);
_root.corate = Number(_root.cooking) + Math.floor(Number(_root.coexp) / 10);
if (_root.corate > 18) {
_root.corate = "18";
}
_root.birate = Number(_root.sciences) + Math.floor(Number(_root.biexp) / 10);
if (_root.birate > 50) {
_root.birate = "50";
}
_root.clrate = 10 + Math.floor(Number(_root.clexp) / 10);
_root.brrate = Number(_root.maths) + Math.floor(Number(_root.brexp) / 10);
_root.morate = ((Number(_root.beauty) / 2) + (Number(_root.fashion) / 2)) + Math.floor(Number(_root.moexp) / 10);
_root.ilrate = (Number(_root.arts) / 2) + Math.floor(Number(_root.ilexp) / 10);
if (_root.ilrate > 25) {
_root.ilrate = "25";
}
_root.garate = (Number(_root.gardening) / 2) + Math.floor(Number(_root.gaexp) / 10);
if (_root.garate > 25) {
_root.garate = "25";
}
Symbol 1261 MovieClip Frame 35
gotoAndStop (4);
_root.bored = Number(_root.bored) - 2;
if (_root.bored < 1) {
_root.bored = "1";
}
_root.hp = "100";
_root.time = Number(_root.time) + 8;
_root.testvictory();
Symbol 1261 MovieClip Frame 36
stop();
tellTarget ("_root.engine.parkgrnd") {
gotoAndStop(_root.time);
};
_root.temps();
_root.faim();
_root.unbored();
meet = random(2);
if ((_root.dayno >= 6) && (meet eq 0)) {
tellTarget ("_root.engine.meetnerd") {
play();
};
}
if ((_root.dayno >= 6) && (meet eq 1)) {
tellTarget ("_root.engine.meetsport") {
play();
};
}
if ((((_root.dayno < 6) && (meet eq 0)) && (_root.time > 5)) && (_root.time < 18)) {
tellTarget ("_root.engine.meetartist") {
play();
};
}
if (((_root.dayno < 6) && (meet eq 0)) && (_root.time >= 20)) {
tellTarget ("_root.engine.meetgoth") {
play();
};
}
Symbol 1261 MovieClip Frame 81
gotoAndStop (4);
_root.bored = Number(_root.bored) - 2;
if (_root.bored < 1) {
_root.bored = "1";
}
_root.hp = "100";
_root.time = Number(_root.time) + 8;
_root.testvictory();
Symbol 1261 MovieClip Frame 83
stop();
_root.tick1 = "1";
Symbol 1261 MovieClip Frame 84
stop();
_root.tick2 = "1";
Symbol 1261 MovieClip Frame 85
stop();
_root.tick3 = "1";
Symbol 1261 MovieClip Frame 86
stop();
_root.tick4 = "1";
Symbol 1261 MovieClip Frame 87
stop();
_root.tick5 = "1";
Symbol 1261 MovieClip Frame 88
stop();
_root.tick6 = "1";