Combined Code
movieClip 14 Defaults {
#initclip
Object.registerClass('Defaults', mx.skins.halo.Defaults);
#endinitclip
}
movieClip 15 UIObjectExtensions {
#initclip
Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions);
#endinitclip
}
movieClip 16 UIObject {
#initclip
Object.registerClass('UIObject', mx.core.UIObject);
#endinitclip
frame 1 {
stop();
}
}
movieClip 17 Border {
#initclip
Object.registerClass('Border', mx.skins.Border);
#endinitclip
frame 1 {
stop();
}
}
movieClip 18 RectBorder {
#initclip
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass('RectBorder', mx.skins.halo.RectBorder);
#endinitclip
frame 1 {
stop();
}
}
button 21 {
on (keyPress '<Tab>') {
this.tabHandler();
}
}
movieClip 22 {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--);
}
#endinitclip
frame 1 {
}
}
movieClip 24 BoundingBox {
}
movieClip 25 FocusRect {
#initclip
Object.registerClass('FocusRect', mx.skins.halo.FocusRect);
#endinitclip
}
movieClip 26 FocusManager {
#initclip
Object.registerClass('FocusManager', mx.managers.FocusManager);
#endinitclip
frame 1 {
stop();
}
}
movieClip 27 UIComponentExtensions {
#initclip
Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions);
#endinitclip
}
movieClip 28 UIComponent {
#initclip
Object.registerClass('UIComponent', mx.core.UIComponent);
#endinitclip
frame 1 {
stop();
}
}
movieClip 29 TextInput {
#initclip
Object.registerClass('TextInput', mx.controls.TextInput);
#endinitclip
frame 1 {
stop();
}
}
frame 1 {
stop();
onLoad = function () {
total = _root.getBytesTotal();
loaded = 0;
};
loading_bar.onEnterFrame = function () {
loaded = _root.getBytesLoaded();
loading_bar.gotoAndStop(percent);
percent = (loaded / total) * 100;
};
var hp = 30;
var day = 1;
var ivexp = 0;
var doexp = 0;
var isexp = 0;
var unlockiva = 0;
var unlockdom = 0;
var unlockisa = 0;
var gold = 30;
var blueberryrecipe = 0;
var cherryrecipe = 0;
var strawberryrecipe = 0;
var chocolaterecipe = 0;
var medicinerecipe = 0;
var limerecipe = 0;
var blueberry = 0;
var cherry = 0;
var strawberry = 0;
var chocolate = 0;
var medicine = 0;
var lime = 0;
var hblueberry = 0;
var hcherry = 0;
var hstrawberry = 0;
var hchocolate = 0;
var hmedicine = 0;
var hlime = 0;
var oswenlove = 0;
var allcakeforeverfree = 0;
var isamed = 0;
var snd = new Sound();
snd.attachSound('mtheme2');
var snd2 = new Sound();
snd2.attachSound('snap');
var snd3 = new Sound();
snd3.attachSound('evil');
var snd4 = new Sound();
snd4.attachSound('memory');
var snd5 = new Sound();
snd5.attachSound('love');
var snd6 = new Sound();
snd6.attachSound('nend');
var snd7 = new Sound();
snd7.attachSound('mtheme');
var snd8 = new Sound();
snd8.attachSound('tend');
}
frame 1 {
stopAllSounds();
}
movieClip 53 {
}
button 56 {
on (release) {
_root.gotoAndPlay('lolololauuuu');
}
}
movieClip 57 {
frame 100 {
stop();
}
}
movieClip 9 __Packages.mx.core.UIObject {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIObject) {
var v1 = function () {
super();
this.constructObject();
};
mx.core.UIObject = v1;
var v2 = new MovieClip();
mx.core.UIObject.prototype = v2;
v2.__get__width = function () {
return this._width;
};
v2.__get__height = function () {
return this._height;
};
v2.__get__left = function () {
return this._x;
};
v2.__get__x = function () {
return this._x;
};
v2.__get__top = function () {
return this._y;
};
v2.__get__y = function () {
return this._y;
};
v2.__get__right = function () {
return this._parent.width - (this._x + this.__get__width());
};
v2.__get__bottom = function () {
return this._parent.height - (this._y + this.__get__height());
};
v2.getMinHeight = function (Void) {
return this._minHeight;
};
v2.setMinHeight = function (h) {
this._minHeight = h;
};
v2.__get__minHeight = function () {
return this.getMinHeight();
};
v2.__set__minHeight = function (h) {
this.setMinHeight(h);
return this.__get__minHeight();
};
v2.getMinWidth = function (Void) {
return this._minWidth;
};
v2.setMinWidth = function (w) {
this._minWidth = w;
};
v2.__get__minWidth = function () {
return this.getMinWidth();
};
v2.__set__minWidth = function (w) {
this.setMinWidth(w);
return this.__get__minWidth();
};
v2.setVisible = function (x, noEvent) {
if (x != this._visible) {
this._visible = x;
if (noEvent != true) {
this.dispatchEvent({'type': x ? 'reveal' : 'hide'});
}
}
};
v2.__get__visible = function () {
return this._visible;
};
v2.__set__visible = function (x) {
this.setVisible(x, false);
return this.__get__visible();
};
v2.__get__scaleX = function () {
return this._xscale;
};
v2.__set__scaleX = function (x) {
this._xscale = x;
return this.__get__scaleX();
};
v2.__get__scaleY = function () {
return this._yscale;
};
v2.__set__scaleY = function (y) {
this._yscale = y;
return this.__get__scaleY();
};
v2.doLater = function (obj, fn) {
if (this.methodTable == undefined) {
this.methodTable = new Array();
}
this.methodTable.push({'obj': obj, 'fn': fn});
this.onEnterFrame = this.doLaterDispatcher;
};
v2.doLaterDispatcher = function (Void) {
delete this.onEnterFrame;
if (this.invalidateFlag) {
this.redraw();
}
var v3 = this.methodTable;
this.methodTable = new Array();
if (v3.length > 0) {
var v2;
v2 = v3.shift();
while (v2 != undefined) {
v2.obj[v2.fn]();
}
}
};
v2.cancelAllDoLaters = function (Void) {
delete this.onEnterFrame;
this.methodTable = new Array();
};
v2.invalidate = function (Void) {
this.invalidateFlag = true;
this.onEnterFrame = this.doLaterDispatcher;
};
v2.invalidateStyle = function (Void) {
this.invalidate();
};
v2.redraw = function (bAlways) {
if (this.invalidateFlag || bAlways) {
this.invalidateFlag = false;
var v2;
for (v2 in this.tfList) {
this.tfList[v2].draw();
}
this.draw();
this.dispatchEvent({'type': 'draw'});
}
};
v2.draw = function (Void) {};
v2.move = function (x, y, noEvent) {
var v3 = this._x;
var v2 = this._y;
this._x = x;
this._y = y;
if (noEvent != true) {
this.dispatchEvent({'type': 'move', 'oldX': v3, 'oldY': v2});
}
};
v2.setSize = function (w, h, noEvent) {
var v2 = this.__width;
var v3 = this.__height;
this.__width = w;
this.__height = h;
this.size();
if (noEvent != true) {
this.dispatchEvent({'type': 'resize', 'oldWidth': v2, 'oldHeight': v3});
}
};
v2.size = function (Void) {
this._width = this.__width;
this._height = this.__height;
};
v2.drawRect = function (x1, y1, x2, y2) {
this.moveTo(x1, y1);
this.lineTo(x2, y1);
this.lineTo(x2, y2);
this.lineTo(x1, y2);
this.lineTo(x1, y1);
};
v2.createLabel = function (name, depth, text) {
this.createTextField(name, depth, 0, 0, 0, 0);
var v2 = this[name];
v2._color = mx.core.UIObject.textColorList;
v2._visible = false;
v2.__text = text;
if (this.tfList == undefined) {
this.tfList = new Object();
}
this.tfList[name] = v2;
v2.invalidateStyle();
this.invalidate();
v2.styleName = this;
return v2;
};
v2.createObject = function (linkageName, id, depth, initobj) {
return this.attachMovie(linkageName, id, depth, initobj);
};
v2.createClassObject = function (className, id, depth, initobj) {
var v3 = className.symbolName == undefined;
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var v4 = this.createObject(className.symbolOwner.symbolName, id, depth, initobj);
if (v3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return v4;
};
v2.createEmptyObject = function (id, depth) {
return this.createClassObject(mx.core.UIObject, id, depth);
};
v2.destroyObject = function (id) {
var v2 = this[id];
if (v2.getDepth() < 0) {
var v4 = this.buildDepthTable();
var v5 = this.findNextAvailableDepth(0, v4, 'up');
var v3 = v5;
v2.swapDepths(v3);
}
v2.removeMovieClip();
delete this[id];
};
v2.getSkinIDName = function (tag) {
return this.idNames[tag];
};
v2.setSkin = function (tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return this.createObject(linkageName, this.getSkinIDName(tag), tag, initObj);
};
v2.createSkin = function (tag) {
var v2 = this.getSkinIDName(tag);
this.createEmptyObject(v2, tag);
return this[v2];
};
v2.createChildren = function (Void) {};
v2._createChildren = function (Void) {
this.createChildren();
this.childrenCreated = true;
};
v2.constructObject = function (Void) {
if (this._name == undefined) {
return undefined;
}
this.init();
this._createChildren();
this.createAccessibilityImplementation();
this._endInit();
if (this.validateNow) {
this.redraw(true);
} else {
this.invalidate();
}
};
v2.initFromClipParameters = function (Void) {
var v4 = false;
var v2;
for (v2 in this.clipParameters) {
if (this.hasOwnProperty(v2)) {
v4 = true;
this['def_' + v2] = this[v2];
delete this[v2];
}
}
if (v4) {
for (v2 in this.clipParameters) {
var v3 = this['def_' + v2];
if (v3 != undefined) {
this[v2] = v3;
}
}
}
};
v2.init = function (Void) {
this.__width = this._width;
this.__height = this._height;
if (this.initProperties == undefined) {
this.initFromClipParameters();
} else {
this.initProperties();
}
if (_global.cascadingStyles == true) {
this.stylecache = new Object();
}
};
v2.getClassStyleDeclaration = function (Void) {
var v4 = this;
var v3 = this.className;
while (v3 != undefined) {
if (this.ignoreClassStyleDeclaration[v3] == undefined) {
if (_global.styles[v3] != undefined) {
return _global.styles[v3];
}
}
v4 = v4.__proto__;
v3 = v4.className;
}
};
v2.setColor = function (color) {};
v2.__getTextFormat = function (tf, bAll) {
var v8 = this.stylecache.tf;
if (v8 != undefined) {
var v3;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
tf[v3] = v8[v3];
}
}
}
return false;
}
var v6 = false;
for (v3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) {
if (tf[v3] == undefined) {
var v5 = this._tf[v3];
if (v5 != undefined) {
tf[v3] = v5;
} else {
if (v3 == 'font' && this.fontFamily != undefined) {
tf[v3] = this.fontFamily;
} else {
if (v3 == 'size' && this.fontSize != undefined) {
tf[v3] = this.fontSize;
} else {
if (v3 == 'color' && this.color != undefined) {
tf[v3] = this.color;
} else {
if (v3 == 'leftMargin' && this.marginLeft != undefined) {
tf[v3] = this.marginLeft;
} else {
if (v3 == 'rightMargin' && this.marginRight != undefined) {
tf[v3] = this.marginRight;
} else {
if (v3 == 'italic' && this.fontStyle != undefined) {
tf[v3] = this.fontStyle == v3;
} else {
if (v3 == 'bold' && this.fontWeight != undefined) {
tf[v3] = this.fontWeight == v3;
} else {
if (v3 == 'align' && this.textAlign != undefined) {
tf[v3] = this.textAlign;
} else {
if (v3 == 'indent' && this.textIndent != undefined) {
tf[v3] = this.textIndent;
} else {
if (v3 == 'underline' && this.textDecoration != undefined) {
tf[v3] = this.textDecoration == v3;
} else {
if (v3 == 'embedFonts' && this.embedFonts != undefined) {
tf[v3] = this.embedFonts;
} else {
v6 = true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (v6) {
var v9 = this.styleName;
if (v9 != undefined) {
if (typeof v9 != 'string') {
v6 = v9.__getTextFormat(tf, true, this);
} else {
if (_global.styles[v9] != undefined) {
v6 = _global.styles[v9].__getTextFormat(tf, true, this);
}
}
}
}
if (v6) {
var v10 = this.getClassStyleDeclaration();
if (v10 != undefined) {
v6 = v10.__getTextFormat(tf, true, this);
}
}
if (v6) {
if (_global.cascadingStyles) {
if (this._parent != undefined) {
v6 = this._parent.__getTextFormat(tf, false);
}
}
}
if (v6) {
v6 = _global.style.__getTextFormat(tf, true, this);
}
return v6;
};
v2._getTextFormat = function (Void) {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2, true);
this.stylecache.tf = v2;
if (this.enabled == false) {
var v3 = this.getStyle('disabledColor');
v2.color = v3;
}
return v2;
};
v2.getStyleName = function (Void) {
var v2 = this.styleName;
if (v2 != undefined) {
if (typeof v2 != 'string') {
return v2.getStyleName();
} else {
return v2;
}
}
if (this._parent != undefined) {
return this._parent.getStyleName();
} else {
return undefined;
}
};
v2.getStyle = function (styleProp) {
var v3;
++_global.getStyleCounter;
if (this[styleProp] != undefined) {
return this[styleProp];
}
var v6 = this.styleName;
if (v6 != undefined) {
if (typeof v6 != 'string') {
v3 = v6.getStyle(styleProp);
} else {
var v7 = _global.styles[v6];
v3 = v7.getStyle(styleProp);
}
}
if (v3 != undefined) {
return v3;
}
v7 = this.getClassStyleDeclaration();
if (v7 != undefined) {
v3 = v7[styleProp];
}
if (v3 != undefined) {
return v3;
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || mx.styles.StyleManager.isColorStyle(styleProp)) {
var v5 = this.stylecache;
if (v5 != undefined) {
if (v5[styleProp] != undefined) {
return v5[styleProp];
}
}
if (this._parent != undefined) {
v3 = this._parent.getStyle(styleProp);
} else {
v3 = _global.style[styleProp];
}
if (v5 != undefined) {
v5[styleProp] = v3;
}
return v3;
}
}
if (v3 == undefined) {
v3 = _global.style[styleProp];
}
return v3;
};
v1.mergeClipParameters = function (o, p) {
for (var v3 in p) {
o[v3] = p[v3];
}
return true;
};
v1.symbolName = 'UIObject';
v1.symbolOwner = mx.core.UIObject;
v1.version = '2.0.2.126';
v1.textColorList = {'color': 1, 'disabledColor': 1};
v2.invalidateFlag = false;
v2.lineWidth = 1;
v2.lineColor = 0;
v2.tabEnabled = false;
v2.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1};
v2.addProperty('bottom', v2.__get__bottom, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('left', v2.__get__left, function () {});
v2.addProperty('minHeight', v2.__get__minHeight, v2.__set__minHeight);
v2.addProperty('minWidth', v2.__get__minWidth, v2.__set__minWidth);
v2.addProperty('right', v2.__get__right, function () {});
v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX);
v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY);
v2.addProperty('top', v2.__get__top, function () {});
v2.addProperty('visible', v2.__get__visible, v2.__set__visible);
v2.addProperty('width', v2.__get__width, function () {});
v2.addProperty('x', v2.__get__x, function () {});
v2.addProperty('y', v2.__get__y, function () {});
ASSetPropFlags(mx.core.UIObject.prototype, null, 1);
}
#endinitclip
}
movieClip 10 __Packages.mx.core.UIComponent {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.UIComponent) {
var v1 = function () {
super();
};
mx.core.UIComponent = v1;
var v2 = new mx.core.UIObject();
mx.core.UIComponent.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.setVisible = function (x, noEvent) {
super.setVisible(x, noEvent);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this.setEnabled(newValue);
this.invalidate();
delete this.stylecache.tf;
return newValue;
};
v2.setEnabled = function (enabled) {
this.invalidate();
};
v2.getFocus = function () {
var selFocus = Selection.getFocus();
return (selFocus === null) ? null : eval(selFocus);
};
v2.setFocus = function () {
Selection.setFocus(this);
};
v2.getFocusManager = function () {
var v2 = this;
while (v2 != undefined) {
if (v2.focusManager != undefined) {
return v2.focusManager;
}
v2 = v2._parent;
}
return undefined;
};
v2.onKillFocus = function (newFocus) {
this.removeEventListener('keyDown', this);
this.removeEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusOut'});
this.drawFocus(false);
};
v2.onSetFocus = function (oldFocus) {
this.addEventListener('keyDown', this);
this.addEventListener('keyUp', this);
this.dispatchEvent({'type': 'focusIn'});
if ((this.getFocusManager()).bDrawFocus != false) {
this.drawFocus(true);
}
};
v2.findFocusInChildren = function (o) {
if (o.focusTextField != undefined) {
return o.focusTextField;
}
if (o.tabEnabled == true) {
return o;
}
return undefined;
};
v2.findFocusFromObject = function (o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return undefined;
}
if (o._parent.tabEnabled == true) {
o = o._parent;
return o;
}
if (o._parent.tabChildren) {
o = this.findFocusInChildren(o._parent);
return o;
}
o = this.findFocusFromObject(o._parent);
}
return o;
};
v2.pressFocus = function () {
var v3 = this.findFocusFromObject(this);
var v2 = this.getFocus();
if (v3 != v2) {
v2.drawFocus(false);
if ((this.getFocusManager()).bDrawFocus != false) {
v3.drawFocus(true);
}
}
};
v2.releaseFocus = function () {
var v2 = this.findFocusFromObject(this);
if (v2 != this.getFocus()) {
v2.setFocus();
}
};
v2.isParent = function (o) {
while (o != undefined) {
if (o == this) {
return true;
}
o = o._parent;
}
return false;
};
v2.size = function () {};
v2.init = function () {
super.init();
this._xscale = 100;
this._yscale = 100;
this._focusrect = _global.useFocusRect == false;
this.watch('enabled', this.enabledChanged);
if (this.enabled == false) {
this.setEnabled(false);
}
};
v2.dispatchValueChangedEvent = function (value) {
this.dispatchEvent({'type': 'valueChanged', 'value': value});
};
v1.symbolName = 'UIComponent';
v1.symbolOwner = mx.core.UIComponent;
v1.version = '2.0.2.126';
v1.kStretch = 5000;
v2.focusEnabled = true;
v2.tabEnabled = true;
v2.origBorderStyles = {'themeColor': 16711680};
v2.clipParameters = {};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.core.UIComponent.prototype, null, 1);
}
#endinitclip
}
movieClip 11 __Packages.mx.controls.TextInput {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.TextInput) {
var v1 = function () {
super();
};
mx.controls.TextInput = v1;
var v2 = new mx.core.UIComponent();
mx.controls.TextInput.prototype = v2;
v2.addEventListener = function (event, handler) {
if (event == 'enter') {
this.addEnterEvents();
}
super.addEventListener(event, handler);
};
v2.enterOnKeyDown = function () {
if (Key.getAscii() == 13) {
this.owner.dispatchEvent({'type': 'enter'});
}
};
v2.addEnterEvents = function () {
if (this.enterListener == undefined) {
this.enterListener = new Object();
this.enterListener.owner = this;
this.enterListener.onKeyDown = this.enterOnKeyDown;
}
};
v2.init = function (Void) {
super.init();
this.label.styleName = this;
this.tabChildren = true;
this.tabEnabled = false;
this.focusTextField = this.label;
this._color = mx.core.UIObject.textColorList;
this.label.onSetFocus = function () {
this._parent.onSetFocus();
};
this.label.onKillFocus = function (n) {
this._parent.onKillFocus(n);
};
this.label.drawFocus = function (b) {
this._parent.drawFocus(b);
};
this.label.onChanged = this.onLabelChanged;
};
v2.setFocus = function () {
Selection.setFocus(this.label);
};
v2.onLabelChanged = function (Void) {
this._parent.dispatchEvent({'type': 'change'});
this._parent.dispatchValueChangedEvent(this.__get__text());
};
v2.createChildren = function (Void) {
super.createChildren();
if (this.border_mc == undefined) {
this.createClassObject(_global.styles.rectBorderClass, 'border_mc', 0, {'styleName': this});
}
this.border_mc.swapDepths(this.label);
this.label.autoSize = 'none';
};
v2.__get__html = function () {
return this.getHtml();
};
v2.__set__html = function (value) {
this.setHtml(value);
return this.__get__html();
};
v2.getHtml = function () {
return this.label.html;
};
v2.setHtml = function (value) {
if (value != this.label.html) {
this.label.html = value;
}
};
v2.__get__text = function () {
return this.getText();
};
v2.__set__text = function (t) {
this.setText(t);
return this.__get__text();
};
v2.getText = function () {
if (this.initializing) {
return this.initText;
}
if (this.label.html == true) {
return this.label.htmlText;
}
return this.label.text;
};
v2.setText = function (t) {
if (this.initializing) {
this.initText = t;
} else {
var v2 = this.label;
if (v2.html == true) {
v2.htmlText = t;
} else {
v2.text = t;
}
}
this.dispatchValueChangedEvent(t);
};
v2.size = function (Void) {
this.border_mc.setSize(this.__get__width(), this.__get__height());
var v2 = this.border_mc.__get__borderMetrics();
var v6 = v2.left + v2.right;
var v3 = v2.top + v2.bottom;
var v5 = v2.left;
var v4 = v2.top;
this.tfx = v5;
this.tfy = v4;
this.tfw = this.__get__width() - v6;
this.tfh = this.__get__height() - v3;
this.label.move(this.tfx, this.tfy);
this.label.setSize(this.tfw, this.tfh + 1);
};
v2.setEnabled = function (enable) {
this.label.type = (this.__editable == true || enable == false) ? 'input' : 'dynamic';
this.label.selectable = enable;
var v2 = this.getStyle(enable ? 'color' : 'disabledColor');
if (v2 == undefined) {
v2 = enable ? 0 : 8947848;
}
this.setColor(v2);
};
v2.setColor = function (col) {
this.label.textColor = col;
};
v2.onKillFocus = function (newFocus) {
if (this.enterListener != undefined) {
Key.removeListener(this.enterListener);
}
if (this.bind != undefined) {
this.updateModel(this.__get__text());
}
super.onKillFocus(newFocus);
};
v2.onSetFocus = function (oldFocus) {
var f = Selection.getFocus();
var o = eval(f);
if (o != this.label) {
Selection.setFocus(this.label);
return undefined;
}
if (this.enterListener != undefined) {
Key.addListener(this.enterListener);
}
super.onSetFocus(oldFocus);
};
v2.draw = function (Void) {
var v2 = this.label;
var v4 = this.getText();
if (this.initializing) {
this.initializing = false;
delete this.initText;
}
var v3 = this._getTextFormat();
v2.embedFonts = v3.embedFonts == true;
if (v3 != undefined) {
v2.setTextFormat(v3);
v2.setNewTextFormat(v3);
}
v2.multiline = false;
v2.wordWrap = false;
if (v2.html == true) {
v2.setTextFormat(v3);
v2.htmlText = v4;
} else {
v2.text = v4;
}
v2.type = (this.__editable == true || this.enabled == false) ? 'input' : 'dynamic';
this.size();
};
v2.setEditable = function (s) {
this.__editable = s;
this.label.type = s ? 'input' : 'dynamic';
};
v2.__get__maxChars = function () {
return this.label.maxChars;
};
v2.__set__maxChars = function (w) {
this.label.maxChars = w;
return this.__get__maxChars();
};
v2.__get__length = function () {
return this.label.length;
};
v2.__get__restrict = function () {
return this.label.restrict;
};
v2.__set__restrict = function (w) {
this.label.restrict = (w == '') ? null : w;
return this.__get__restrict();
};
v2.__get__hPosition = function () {
return this.label.hscroll;
};
v2.__set__hPosition = function (w) {
this.label.hscroll = w;
return this.__get__hPosition();
};
v2.__get__maxHPosition = function () {
return this.label.maxhscroll;
};
v2.__get__editable = function () {
return this.__editable;
};
v2.__set__editable = function (w) {
this.setEditable(w);
return this.__get__editable();
};
v2.__get__password = function () {
return this.label.password;
};
v2.__set__password = function (w) {
this.label.password = w;
return this.__get__password();
};
v2.__get__tabIndex = function () {
return this.label.tabIndex;
};
v2.__set__tabIndex = function (w) {
this.label.tabIndex = w;
return this.__get__tabIndex();
};
v2.__set___accProps = function (val) {
this.label._accProps = val;
return this.__get___accProps();
};
v2.__get___accProps = function () {
return this.label._accProps;
};
v1.symbolName = 'TextInput';
v1.symbolOwner = mx.controls.TextInput;
v1.version = '2.0.2.126';
v2.className = 'TextInput';
v2.initializing = true;
v2.clipParameters = {'text': 1, 'editable': 1, 'password': 1, 'maxChars': 1, 'restrict': 1};
v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextInput.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
v2._maxWidth = mx.core.UIComponent.kStretch;
v2.__editable = true;
v2.initText = '';
v2.addProperty('_accProps', v2.__get___accProps, v2.__set___accProps);
v2.addProperty('editable', v2.__get__editable, v2.__set__editable);
v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition);
v2.addProperty('html', v2.__get__html, v2.__set__html);
v2.addProperty('length', v2.__get__length, function () {});
v2.addProperty('maxChars', v2.__get__maxChars, v2.__set__maxChars);
v2.addProperty('maxHPosition', v2.__get__maxHPosition, function () {});
v2.addProperty('password', v2.__get__password, v2.__set__password);
v2.addProperty('restrict', v2.__get__restrict, v2.__set__restrict);
v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex);
v2.addProperty('text', v2.__get__text, v2.__set__text);
ASSetPropFlags(mx.controls.TextInput.prototype, null, 1);
}
#endinitclip
}
movieClip 30 __Packages.mx.skins.SkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.SkinElement) {
var v1 = function () {
super();
};
mx.skins.SkinElement = v1;
var v2 = new MovieClip();
mx.skins.SkinElement.prototype = v2;
v1.registerElement = function (name, className) {
Object.registerClass(name, (className == undefined) ? mx.skins.SkinElement : className);
_global.skinRegistry[name] = true;
};
v2.__set__visible = function (visible) {
this._visible = visible;
};
v2.move = function (x, y) {
this._x = x;
this._y = y;
};
v2.setSize = function (w, h) {
this._width = w;
this._height = h;
};
ASSetPropFlags(mx.skins.SkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 31 __Packages.mx.styles.CSSTextStyles {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSTextStyles) {
var v1 = function () {};
mx.styles.CSSTextStyles = v1;
var v2 = v1.prototype;
v1.addTextStyles = function (o, bColor) {
o.addProperty('textAlign', function () {
return this._tf.align;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty('fontWeight', function () {
return (this._tf.bold != undefined) ? (this._tf.bold ? 'bold' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == 'bold';
});
if (bColor) {
o.addProperty('color', function () {
return this._tf.color;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty('fontFamily', function () {
return this._tf.font;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty('textIndent', function () {
return this._tf.indent;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty('fontStyle', function () {
return (this._tf.italic != undefined) ? (this._tf.italic ? 'italic' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == 'italic';
});
o.addProperty('marginLeft', function () {
return this._tf.leftMargin;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty('marginRight', function () {
return this._tf.rightMargin;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty('fontSize', function () {
return this._tf.size;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty('textDecoration', function () {
return (this._tf.underline != undefined) ? (this._tf.underline ? 'underline' : 'none') : undefined;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == 'underline';
});
o.addProperty('embedFonts', function () {
return this._tf.embedFonts;
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
};
ASSetPropFlags(mx.styles.CSSTextStyles.prototype, null, 1);
}
#endinitclip
}
movieClip 32 __Packages.mx.styles.StyleManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.StyleManager) {
var v1 = function () {};
mx.styles.StyleManager = v1;
var v2 = v1.prototype;
v1.registerInheritingStyle = function (styleName) {
mx.styles.StyleManager.inheritingStyles[styleName] = true;
};
v1.isInheritingStyle = function (styleName) {
return mx.styles.StyleManager.inheritingStyles[styleName] == true;
};
v1.registerColorStyle = function (styleName) {
mx.styles.StyleManager.colorStyles[styleName] = true;
};
v1.isColorStyle = function (styleName) {
return mx.styles.StyleManager.colorStyles[styleName] == true;
};
v1.registerColorName = function (colorName, colorValue) {
mx.styles.StyleManager.colorNames[colorName] = colorValue;
};
v1.isColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName] != undefined;
};
v1.getColorName = function (colorName) {
return mx.styles.StyleManager.colorNames[colorName];
};
v1.inheritingStyles = {'color': true, 'direction': true, 'fontFamily': true, 'fontSize': true, 'fontStyle': true, 'fontWeight': true, 'textAlign': true, 'textIndent': true};
v1.colorStyles = {'barColor': true, 'trackColor': true, 'borderColor': true, 'buttonColor': true, 'color': true, 'dateHeaderColor': true, 'dateRollOverColor': true, 'disabledColor': true, 'fillColor': true, 'highlightColor': true, 'scrollTrackColor': true, 'selectedDateColor': true, 'shadowColor': true, 'strokeColor': true, 'symbolBackgroundColor': true, 'symbolBackgroundDisabledColor': true, 'symbolBackgroundPressedColor': true, 'symbolColor': true, 'symbolDisabledColor': true, 'themeColor': true, 'todayIndicatorColor': true, 'shadowCapColor': true, 'borderCapColor': true, 'focusColor': true};
v1.colorNames = {'black': 0, 'white': 16777215, 'red': 16711680, 'green': 65280, 'blue': 255, 'magenta': 16711935, 'yellow': 16776960, 'cyan': 65535, 'haloGreen': 8453965, 'haloBlue': 2881013, 'haloOrange': 16761344};
v1.TextFormatStyleProps = {'font': true, 'size': true, 'color': true, 'leftMargin': false, 'rightMargin': false, 'italic': true, 'bold': true, 'align': true, 'indent': true, 'underline': false, 'embedFonts': false};
v1.TextStyleMap = {'textAlign': true, 'fontWeight': true, 'color': true, 'fontFamily': true, 'textIndent': true, 'fontStyle': true, 'lineHeight': true, 'marginLeft': true, 'marginRight': true, 'fontSize': true, 'textDecoration': true, 'embedFonts': true};
ASSetPropFlags(mx.styles.StyleManager.prototype, null, 1);
}
#endinitclip
}
movieClip 33 __Packages.mx.styles.CSSStyleDeclaration {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSStyleDeclaration) {
var v1 = function () {};
mx.styles.CSSStyleDeclaration = v1;
var v2 = v1.prototype;
v2.__getTextFormat = function (tf, bAll) {
var v5 = false;
if (this._tf != undefined) {
var v2;
for (v2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v2]) {
if (tf[v2] == undefined) {
var v3 = this._tf[v2];
if (v3 != undefined) {
tf[v2] = v3;
} else {
v5 = true;
}
}
}
}
return v5;
}
v5 = true;
return v5;
};
v2.getStyle = function (styleProp) {
var v2 = this[styleProp];
var v3 = mx.styles.StyleManager.getColorName(v2);
return (v3 == undefined) ? v2 : v3;
};
v1.classConstruct = function () {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return true;
};
v1.classConstructed = mx.styles.CSSStyleDeclaration.classConstruct();
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
ASSetPropFlags(mx.styles.CSSStyleDeclaration.prototype, null, 1);
}
#endinitclip
}
movieClip 34 __Packages.mx.skins.Border {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.Border) {
var v1 = function () {
super();
};
mx.skins.Border = v1;
var v2 = new mx.core.UIObject();
mx.skins.Border.prototype = v2;
v2.init = function (Void) {
super.init();
};
v1.symbolName = 'Border';
v1.symbolOwner = mx.skins.Border;
v2.className = 'Border';
v2.tagBorder = 0;
v2.idNames = new Array('border_mc');
ASSetPropFlags(mx.skins.Border.prototype, null, 1);
}
#endinitclip
}
movieClip 35 __Packages.mx.skins.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.RectBorder) {
var v1 = function () {
super();
};
mx.skins.RectBorder = v1;
var v2 = new mx.skins.Border();
mx.skins.RectBorder.prototype = v2;
v2.__get__width = function () {
return this.__width;
};
v2.__get__height = function () {
return this.__height;
};
v2.init = function (Void) {
super.init();
};
v2.draw = function (Void) {
this.size();
};
v2.getBorderMetrics = function (Void) {
var v2 = this.offset;
if (this.__borderMetrics == undefined) {
this.__borderMetrics = {'left': v2, 'top': v2, 'right': v2, 'bottom': v2};
return this.__borderMetrics;
}
this.__borderMetrics.left = v2;
this.__borderMetrics.top = v2;
this.__borderMetrics.right = v2;
this.__borderMetrics.bottom = v2;
return this.__borderMetrics;
};
v2.__get__borderMetrics = function () {
return this.getBorderMetrics();
};
v2.drawBorder = function (Void) {};
v2.size = function (Void) {
this.drawBorder();
};
v2.setColor = function (Void) {
this.drawBorder();
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.RectBorder;
v1.version = '2.0.2.126';
v2.className = 'RectBorder';
v2.borderStyleName = 'borderStyle';
v2.borderColorName = 'borderColor';
v2.shadowColorName = 'shadowColor';
v2.highlightColorName = 'highlightColor';
v2.buttonColorName = 'buttonColor';
v2.backgroundColorName = 'backgroundColor';
v2.addProperty('borderMetrics', v2.__get__borderMetrics, function () {});
v2.addProperty('height', v2.__get__height, function () {});
v2.addProperty('width', v2.__get__width, function () {});
ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 36 __Packages.mx.events.EventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.EventDispatcher) {
var v1 = function () {};
mx.events.EventDispatcher = v1;
var v2 = v1.prototype;
v1._removeEventListener = function (queue, event, handler) {
if (queue != undefined) {
var v4 = queue.length;
var v1;
v1 = 0;
while (v1 < v4) {
var v2 = queue[v1];
if (v2 == handler) {
queue.splice(v1, 1);
return undefined;
}
++v1;
}
}
};
v1.initialize = function (object) {
if (mx.events.EventDispatcher._fEventDispatcher == undefined) {
mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener;
object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener;
object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent;
object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchQueue = function (queueObj, eventObj) {
var v7 = '__q_' + eventObj.type;
var v4 = queueObj[v7];
if (v4 != undefined) {
var v5;
for (v5 in v4) {
var v1 = v4[v5];
var v3 = typeof v1;
if (v3 == 'object' || v3 == 'movieclip') {
if (v1.handleEvent != undefined) {
v1.handleEvent(eventObj);
}
if (v1[eventObj.type] != undefined) {
if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) {
v1[eventObj.type](eventObj);
}
}
} else {
v1.apply(queueObj, [eventObj]);
}
}
}
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(this, eventObj);
};
v2.addEventListener = function (event, handler) {
var v3 = '__q_' + event;
if (this[v3] == undefined) {
this[v3] = new Array();
}
_global.ASSetPropFlags(this, v3, 1);
mx.events.EventDispatcher._removeEventListener(this[v3], event, handler);
this[v3].push(handler);
};
v2.removeEventListener = function (event, handler) {
var v2 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v2], event, handler);
};
v1._fEventDispatcher = undefined;
v1.exceptions = {'move': 1, 'draw': 1, 'load': 1};
ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 37 __Packages.mx.events.UIEventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.UIEventDispatcher) {
var v1 = function () {
super();
};
mx.events.UIEventDispatcher = v1;
var v2 = new mx.events.EventDispatcher();
mx.events.UIEventDispatcher.prototype = v2;
v1.addKeyEvents = function (obj) {
if (obj.keyHandler == undefined) {
obj.keyHandler = new Object();
var v1 = obj.keyHandler;
v1.owner = obj;
v1.onKeyDown = mx.events.UIEventDispatcher._fEventDispatcher.onKeyDown;
v1.onKeyUp = mx.events.UIEventDispatcher._fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
};
v1.removeKeyEvents = function (obj) {
Key.removeListener(obj.keyHandler);
};
v1.addLoadEvents = function (obj) {
if (obj.onLoad == undefined) {
obj.onLoad = mx.events.UIEventDispatcher._fEventDispatcher.onLoad;
obj.onUnload = mx.events.UIEventDispatcher._fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, 'onLoad');
}
}
};
v1.removeLoadEvents = function (obj) {
delete obj.onLoad;
delete obj.onUnload;
};
v1.initialize = function (obj) {
if (mx.events.UIEventDispatcher._fEventDispatcher == undefined) {
mx.events.UIEventDispatcher._fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = mx.events.UIEventDispatcher._fEventDispatcher.__addEventListener;
obj.__origAddEventListener = mx.events.UIEventDispatcher._fEventDispatcher.addEventListener;
obj.removeEventListener = mx.events.UIEventDispatcher._fEventDispatcher.removeEventListener;
obj.dispatchEvent = mx.events.UIEventDispatcher._fEventDispatcher.dispatchEvent;
obj.dispatchQueue = mx.events.UIEventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(mx.events.EventDispatcher, eventObj);
this.dispatchQueue(this, eventObj);
};
v2.onKeyDown = function (Void) {
this.owner.dispatchEvent({'type': 'keyDown', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onKeyUp = function (Void) {
this.owner.dispatchEvent({'type': 'keyUp', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)});
};
v2.onLoad = function (Void) {
if (this.__sentLoadEvent != true) {
this.dispatchEvent({'type': 'load'});
}
this.__sentLoadEvent = true;
};
v2.onUnload = function (Void) {
this.dispatchEvent({'type': 'unload'});
};
v2.__addEventListener = function (event, handler) {
this.__origAddEventListener(event, handler);
var v3 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v3) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v2 = v3[v5][0];
mx.events.UIEventDispatcher[v2](this);
}
}
};
v2.removeEventListener = function (event, handler) {
var v6 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v6], event, handler);
if (this[v6].length == 0) {
var v2 = mx.events.UIEventDispatcher.lowLevelEvents;
for (var v5 in v2) {
if (mx.events.UIEventDispatcher[v5][event] != undefined) {
var v3 = v2[v5][1];
mx.events.UIEventDispatcher[v2[v5][1]](this);
}
}
}
};
v1.keyEvents = {'keyDown': 1, 'keyUp': 1};
v1.loadEvents = {'load': 1, 'unload': 1};
v1.lowLevelEvents = {'keyEvents': ['addKeyEvents', 'removeKeyEvents'], 'loadEvents': ['addLoadEvents', 'removeLoadEvents']};
v1._fEventDispatcher = undefined;
ASSetPropFlags(mx.events.UIEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 38 __Packages.mx.skins.ColoredSkinElement {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.ColoredSkinElement) {
var v1 = function () {};
mx.skins.ColoredSkinElement = v1;
var v2 = v1.prototype;
v2.setColor = function (c) {
if (c != undefined) {
var v2 = new Color(this);
v2.setRGB(c);
}
};
v2.draw = function (Void) {
this.setColor(this.getStyle(this._color));
this.onEnterFrame = undefined;
};
v2.invalidateStyle = function (Void) {
this.onEnterFrame = this.draw;
};
v1.setColorStyle = function (p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mx.skins.ColoredSkinElement.mixins.setColor;
p.invalidateStyle = mx.skins.ColoredSkinElement.mixins.invalidateStyle;
p.draw = mx.skins.ColoredSkinElement.mixins.draw;
p.setColor(p.getStyle(colorStyle));
};
v1.mixins = new mx.skins.ColoredSkinElement();
ASSetPropFlags(mx.skins.ColoredSkinElement.prototype, null, 1);
}
#endinitclip
}
movieClip 39 __Packages.mx.core.ext.UIObjectExtensions {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ext) {
_global.mx.core.ext = new Object();
}
if (!_global.mx.core.ext.UIObjectExtensions) {
var v1 = function () {};
mx.core.ext.UIObjectExtensions = v1;
var v2 = v1.prototype;
v1.addGeometry = function (tf, ui) {
tf.addProperty('width', ui.__get__width, null);
tf.addProperty('height', ui.__get__height, null);
tf.addProperty('left', ui.__get__left, null);
tf.addProperty('x', ui.__get__x, null);
tf.addProperty('top', ui.__get__top, null);
tf.addProperty('y', ui.__get__y, null);
tf.addProperty('right', ui.__get__right, null);
tf.addProperty('bottom', ui.__get__bottom, null);
tf.addProperty('visible', ui.__get__visible, ui.__set__visible);
};
v1.Extensions = function () {
if (mx.core.ext.UIObjectExtensions.bExtended == true) {
return true;
}
mx.core.ext.UIObjectExtensions.bExtended = true;
var v6 = mx.core.UIObject.prototype;
var v9 = mx.skins.SkinElement.prototype;
mx.core.ext.UIObjectExtensions.addGeometry(v9, v6);
mx.events.UIEventDispatcher.initialize(v6);
var v13 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(v6);
var v5 = MovieClip.prototype;
v5.getTopLevel = v6.getTopLevel;
v5.createLabel = v6.createLabel;
v5.createObject = v6.createObject;
v5.createClassObject = v6.createClassObject;
v5.createEmptyObject = v6.createEmptyObject;
v5.destroyObject = v6.destroyObject;
_global.ASSetPropFlags(v5, 'getTopLevel', 1);
_global.ASSetPropFlags(v5, 'createLabel', 1);
_global.ASSetPropFlags(v5, 'createObject', 1);
_global.ASSetPropFlags(v5, 'createClassObject', 1);
_global.ASSetPropFlags(v5, 'createEmptyObject', 1);
_global.ASSetPropFlags(v5, 'destroyObject', 1);
v5.__getTextFormat = v6.__getTextFormat;
v5._getTextFormat = v6._getTextFormat;
v5.getStyleName = v6.getStyleName;
v5.getStyle = v6.getStyle;
_global.ASSetPropFlags(v5, '__getTextFormat', 1);
_global.ASSetPropFlags(v5, '_getTextFormat', 1);
_global.ASSetPropFlags(v5, 'getStyleName', 1);
_global.ASSetPropFlags(v5, 'getStyle', 1);
var v7 = TextField.prototype;
mx.core.ext.UIObjectExtensions.addGeometry(v7, v6);
v7.addProperty('enabled', function () {
return this.__enabled;
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
v7.move = v9.move;
v7.setSize = v9.setSize;
v7.invalidateStyle = function () {
this.invalidateFlag = true;
};
v7.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var v2 = this._getTextFormat();
this.setTextFormat(v2);
this.setNewTextFormat(v2);
this.embedFonts = v2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == '') {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
v7.setColor = function (color) {
this.textColor = color;
};
v7.getStyle = v5.getStyle;
v7.__getTextFormat = v6.__getTextFormat;
v7.setValue = function (v) {
this.text = v;
};
v7.getValue = function () {
return this.text;
};
v7.addProperty('value', function () {
return this.getValue();
}, function (v) {
this.setValue(v);
});
v7._getTextFormat = function () {
var v2 = this.stylecache.tf;
if (v2 != undefined) {
return v2;
}
v2 = new TextFormat();
this.__getTextFormat(v2);
this.stylecache.tf = v2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var v4 = this.getTextFormat();
this.enabledColor = v4.color;
}
var v3 = this.getStyle('disabledColor');
v2.color = v3;
return v2;
}
if (this.enabledColor != undefined) {
if (v2.color == undefined) {
v2.color = this.enabledColor;
}
}
return v2;
};
v7.getPreferredWidth = function () {
this.draw();
return this.textWidth + 4;
};
v7.getPreferredHeight = function () {
this.draw();
return this.textHeight + 4;
};
TextFormat.prototype.getTextExtent2 = function (s) {
var v3 = _root._getTextExtent;
if (v3 == undefined) {
_root.createTextField('_getTextExtent', -2, 0, 0, 1000, 100);
v3 = _root._getTextExtent;
v3._visible = false;
}
_root._getTextExtent.text = s;
var v4 = this.align;
this.align = 'left';
_root._getTextExtent.setTextFormat(this);
this.align = v4;
return {'width': v3.textWidth, 'height': v3.textHeight};
};
if (_global.style == undefined) {
_global.style = new mx.styles.CSSStyleDeclaration();
_global.cascadingStyles = true;
_global.styles = new Object();
_global.skinRegistry = new Object();
if (_global._origWidth == undefined) {
_global.origWidth = Stage.width;
_global.origHeight = Stage.height;
}
}
var v4 = _root;
while (v4._parent != undefined) {
v4 = v4._parent;
}
v4.addProperty('width', function () {
return Stage.width;
}, null);
v4.addProperty('height', function () {
return Stage.height;
}, null);
_global.ASSetPropFlags(v4, 'width', 1);
_global.ASSetPropFlags(v4, 'height', 1);
return true;
};
v1.bExtended = false;
v1.UIObjectExtended = mx.core.ext.UIObjectExtensions.Extensions();
v1.UIObjectDependency = mx.core.UIObject;
v1.SkinElementDependency = mx.skins.SkinElement;
v1.CSSTextStylesDependency = mx.styles.CSSTextStyles;
v1.UIEventDispatcherDependency = mx.events.UIEventDispatcher;
ASSetPropFlags(mx.core.ext.UIObjectExtensions.prototype, null, 1);
}
#endinitclip
}
movieClip 40 __Packages.mx.skins.halo.RectBorder {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.RectBorder) {
var v1 = function () {
super();
};
mx.skins.halo.RectBorder = v1;
var v2 = new mx.skins.RectBorder();
mx.skins.halo.RectBorder.prototype = v2;
v2.init = function (Void) {
this.borderWidths.default = 3;
super.init();
};
v2.getBorderMetrics = function (Void) {
if (this.offset == undefined) {
var v3 = this.getStyle(this.borderStyleName);
this.offset = this.borderWidths[v3];
}
if (this.getStyle(this.borderStyleName) == 'default' || this.getStyle(this.borderStyleName) == 'alert') {
this.__borderMetrics = {'left': 3, 'top': 1, 'right': 3, 'bottom': 3};
return this.__borderMetrics;
}
return super.getBorderMetrics();
};
v2.drawBorder = function (Void) {
var v6 = _global.styles[this.className];
if (v6 == undefined) {
v6 = _global.styles.RectBorder;
}
var v5 = this.getStyle(this.borderStyleName);
var v7 = this.getStyle(this.borderColorName);
if (v7 == undefined) {
v7 = v6[this.borderColorName];
}
var v8 = this.getStyle(this.backgroundColorName);
if (v8 == undefined) {
v8 = v6[this.backgroundColorName];
}
var v16 = this.getStyle('backgroundImage');
if (v5 != 'none') {
var v14 = this.getStyle(this.shadowColorName);
if (v14 == undefined) {
v14 = v6[this.shadowColorName];
}
var v13 = this.getStyle(this.highlightColorName);
if (v13 == undefined) {
v13 = v6[this.highlightColorName];
}
var v12 = this.getStyle(this.buttonColorName);
if (v12 == undefined) {
v12 = v6[this.buttonColorName];
}
var v11 = this.getStyle(this.borderCapColorName);
if (v11 == undefined) {
v11 = v6[this.borderCapColorName];
}
var v10 = this.getStyle(this.shadowCapColorName);
if (v10 == undefined) {
v10 = v6[this.shadowCapColorName];
}
}
this.offset = this.borderWidths[v5];
var v9 = this.offset;
var v3 = this.__get__width();
var v4 = this.__get__height();
this.clear();
this._color = undefined;
if (v5 == 'none') {
} else {
if (v5 == 'inset') {
this._color = this.colorList;
this.draw3dBorder(v11, v12, v7, v13, v14, v10);
} else {
if (v5 == 'outset') {
this._color = this.colorList;
this.draw3dBorder(v11, v7, v12, v14, v13, v10);
} else {
if (v5 == 'alert') {
var v15 = this.getStyle('themeColor');
this.drawRoundRect(0, 5, v3, v4 - 5, 5, 6184542, 10);
this.drawRoundRect(1, 4, v3 - 2, v4 - 5, 4, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, [0, 14342874], 100, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, v15, 50);
this.drawRoundRect(3, 1, v3 - 6, v4 - 4, 2, 16777215, 100);
} else {
if (v5 == 'default') {
this.drawRoundRect(0, 5, v3, v4 - 5, {'tl': 5, 'tr': 5, 'br': 0, 'bl': 0}, 6184542, 10);
this.drawRoundRect(1, 4, v3 - 2, v4 - 5, {'tl': 4, 'tr': 4, 'br': 0, 'bl': 0}, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(2, 0, v3 - 4, v4 - 2, {'tl': 3, 'tr': 3, 'br': 0, 'bl': 0}, [12897484, 11844796], 100, 0, 'radial');
this.drawRoundRect(3, 1, v3 - 6, v4 - 4, {'tl': 2, 'tr': 2, 'br': 0, 'bl': 0}, 16777215, 100);
} else {
if (v5 == 'dropDown') {
this.drawRoundRect(0, 0, v3 + 1, v4, {'tl': 4, 'tr': 0, 'br': 0, 'bl': 4}, [13290186, 7895160], 100, -10, 'linear');
this.drawRoundRect(1, 1, v3 - 1, v4 - 2, {'tl': 3, 'tr': 0, 'br': 0, 'bl': 3}, 16777215, 100);
} else {
if (v5 == 'menuBorder') {
var v15 = this.getStyle('themeColor');
this.drawRoundRect(4, 4, v3 - 2, v4 - 3, 0, [6184542, 6184542], 10, 0, 'radial');
this.drawRoundRect(4, 4, v3 - 1, v4 - 2, 0, 6184542, 10);
this.drawRoundRect(0, 0, v3 + 1, v4, 0, [0, 14342874], 100, 250, 'linear');
this.drawRoundRect(0, 0, v3 + 1, v4, 0, v15, 50);
this.drawRoundRect(2, 2, v3 - 3, v4 - 4, 0, 16777215, 100);
} else {
if (v5 == 'comboNonEdit') {
} else {
this.beginFill(v7);
this.drawRect(0, 0, v3, v4);
this.drawRect(1, 1, v3 - 1, v4 - 1);
this.endFill();
this._color = this.borderColorName;
}
}
}
}
}
}
}
}
if (v8 != undefined) {
this.beginFill(v8);
this.drawRect(v9, v9, this.__get__width() - v9, this.__get__height() - v9);
this.endFill();
}
};
v2.draw3dBorder = function (c1, c2, c3, c4, c5, c6) {
var v3 = this.__get__width();
var v2 = this.__get__height();
this.beginFill(c1);
this.drawRect(0, 0, v3, v2);
this.drawRect(1, 0, v3 - 1, v2);
this.endFill();
this.beginFill(c2);
this.drawRect(1, 0, v3 - 1, 1);
this.endFill();
this.beginFill(c3);
this.drawRect(1, v2 - 1, v3 - 1, v2);
this.endFill();
this.beginFill(c4);
this.drawRect(1, 1, v3 - 1, 2);
this.endFill();
this.beginFill(c5);
this.drawRect(1, v2 - 2, v3 - 1, v2 - 1);
this.endFill();
this.beginFill(c6);
this.drawRect(1, 2, v3 - 1, v2 - 2);
this.drawRect(2, 2, v3 - 2, v2 - 2);
this.endFill();
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
_global.styles.rectBorderClass = mx.skins.halo.RectBorder;
_global.skinRegistry.RectBorder = true;
return true;
};
v1.symbolName = 'RectBorder';
v1.symbolOwner = mx.skins.halo.RectBorder;
v1.version = '2.0.2.126';
v2.borderCapColorName = 'borderCapColor';
v2.shadowCapColorName = 'shadowCapColor';
v2.colorList = {'highlightColor': 0, 'borderColor': 0, 'buttonColor': 0, 'shadowColor': 0, 'borderCapColor': 0, 'shadowCapColor': 0};
v2.borderWidths = {'none': 0, 'solid': 1, 'inset': 2, 'outset': 2, 'alert': 3, 'dropDown': 2, 'menuBorder': 2, 'comboNonEdit': 2};
v1.classConstructed = mx.skins.halo.RectBorder.classConstruct();
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
ASSetPropFlags(mx.skins.halo.RectBorder.prototype, null, 1);
}
#endinitclip
}
movieClip 41 __Packages.mx.skins.halo.Defaults {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.Defaults) {
var v1 = function () {};
mx.skins.halo.Defaults = v1;
var v2 = v1.prototype;
v1.setThemeDefaults = function () {
var v2 = _global.style;
v2.themeColor = 8453965;
v2.disabledColor = 8684164;
v2.modalTransparency = 0;
v2.filled = true;
v2.stroked = true;
v2.strokeWidth = 1;
v2.strokeColor = 0;
v2.fillColor = 16777215;
v2.repeatInterval = 35;
v2.repeatDelay = 500;
v2.fontFamily = '_sans';
v2.fontSize = 12;
v2.selectionColor = 13500353;
v2.rollOverColor = 14942166;
v2.useRollOver = true;
v2.backgroundDisabledColor = 14540253;
v2.selectionDisabledColor = 14540253;
v2.selectionDuration = 200;
v2.openDuration = 250;
v2.borderStyle = 'inset';
v2.color = 734012;
v2.textSelectedColor = 24371;
v2.textRollOverColor = 2831164;
v2.textDisabledColor = 16777215;
v2.vGridLines = true;
v2.hGridLines = false;
v2.vGridLineColor = 6710886;
v2.hGridLineColor = 6710886;
v2.headerColor = 15395562;
v2.indentation = 17;
v2.folderOpenIcon = 'TreeFolderOpen';
v2.folderClosedIcon = 'TreeFolderClosed';
v2.defaultLeafIcon = 'TreeNodeIcon';
v2.disclosureOpenIcon = 'TreeDisclosureOpen';
v2.disclosureClosedIcon = 'TreeDisclosureClosed';
v2.popupDuration = 150;
v2.todayColor = 6710886;
_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.ScrollSelectList;
v2.backgroundColor = 16777215;
v2.borderColor = 13290186;
v2.borderStyle = 'inset';
_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.ComboBox;
v2.borderStyle = 'inset';
_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.NumericStepper;
v2.textAlign = 'center';
_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration();
v2 = _global.styles.RectBorder;
v2.borderColor = 14015965;
v2.buttonColor = 7305079;
v2.shadowColor = 15658734;
v2.highlightColor = 12897484;
v2.shadowCapColor = 14015965;
v2.borderCapColor = 9542041;
var v4 = new Object();
v4.borderColor = 16711680;
v4.buttonColor = 16711680;
v4.shadowColor = 16711680;
v4.highlightColor = 16711680;
v4.shadowCapColor = 16711680;
v4.borderCapColor = 16711680;
mx.core.UIComponent.prototype.origBorderStyles = v4;
var v3;
_global.styles.TextInput = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.TextInput;
v3.backgroundColor = 16777215;
v3.borderStyle = 'inset';
_global.styles.TextArea = _global.styles.TextInput;
_global.styles.Window = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Window;
v3.borderStyle = 'default';
_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.windowStyles;
v3.fontWeight = 'bold';
_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.dataGridStyles;
v3.fontWeight = 'bold';
_global.styles.Alert = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Alert;
v3.borderStyle = 'alert';
_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.ScrollView;
v3.borderStyle = 'inset';
_global.styles.View = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.View;
v3.borderStyle = 'none';
_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.ProgressBar;
v3.color = 11187123;
v3.fontWeight = 'bold';
_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.AccordionHeader;
v3.fontWeight = 'bold';
v3.fontSize = '11';
_global.styles.Accordion = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.Accordion;
v3.borderStyle = 'solid';
v3.backgroundColor = 16777215;
v3.borderColor = 9081738;
v3.headerHeight = 22;
v3.marginBottom = -1;
v3.marginTop = -1;
v3.marginRight = -1;
v3.marginLeft = -1;
v3.verticalGap = -1;
_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.DateChooser;
v3.borderColor = 9542041;
v3.headerColor = 16777215;
_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.CalendarLayout;
v3.fontSize = 10;
v3.textAlign = 'right';
v3.color = 2831164;
_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.WeekDayStyle;
v3.fontWeight = 'bold';
v3.fontSize = 11;
v3.textAlign = 'center';
v3.color = 2831164;
_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.TodayStyle;
v3.color = 16777215;
_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration();
v3 = _global.styles.HeaderDateText;
v3.fontSize = 12;
v3.fontWeight = 'bold';
v3.textAlign = 'center';
};
v2.drawRoundRect = function (x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof r == 'object') {
var v18 = r.br;
var v16 = r.bl;
var v15 = r.tl;
var v10 = r.tr;
} else {
var v10 = r;
var v15 = v10;
var v16 = v15;
var v18 = v16;
}
if (typeof c == 'object') {
if (typeof alpha != 'object') {
var v9 = [alpha, alpha];
} else {
var v9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var v14 = h * 0.7;
if (typeof rot != 'object') {
var v11 = {'matrixType': 'box', 'x': -v14, 'y': v14, 'w': w * 2, 'h': h * 4, 'r': rot * 0.0174532925199433};
} else {
var v11 = rot;
}
if (gradient == 'radial') {
this.beginGradientFill('radial', c, v9, ratios, v11);
} else {
this.beginGradientFill('linear', c, v9, ratios, v11);
}
} else {
if (c != undefined) {
this.beginFill(c, alpha);
}
}
r = v18;
var v13 = r - r * Math.SQRT1_2;
var v12 = r - r * 0.414213562373095;
this.moveTo(x + w, y + h - r);
this.lineTo(x + w, y + h - r);
this.curveTo(x + w, y + h - v12, x + w - v13, y + h - v13);
this.curveTo(x + w - v12, y + h, x + w - r, y + h);
r = v16;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x + r, y + h);
this.curveTo(x + v12, y + h, x + v13, y + h - v13);
this.curveTo(x, y + h - v12, x, y + h - r);
r = v15;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x, y + r);
this.curveTo(x, y + v12, x + v13, y + v13);
this.curveTo(x + v12, y, x + r, y);
r = v10;
v13 = r - r * Math.SQRT1_2;
v12 = r - r * 0.414213562373095;
this.lineTo(x + w - r, y);
this.curveTo(x + w - v12, y, x + w - v13, y + v13);
this.curveTo(x + w, y + v12, x + w, y + r);
this.lineTo(x + w, y + h - r);
if (c != undefined) {
this.endFill();
}
};
v1.classConstruct = function () {
mx.core.ext.UIObjectExtensions.Extensions();
mx.skins.halo.Defaults.setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return true;
};
v1.classConstructed = mx.skins.halo.Defaults.classConstruct();
v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
v1.UIObjectDependency = mx.core.UIObject;
ASSetPropFlags(mx.skins.halo.Defaults.prototype, null, 1);
}
#endinitclip
}
movieClip 42 __Packages.mx.managers.SystemManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.SystemManager) {
var v1 = function () {};
mx.managers.SystemManager = v1;
var v2 = v1.prototype;
v1.init = function (Void) {
if (mx.managers.SystemManager._initialized == false) {
mx.managers.SystemManager._initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
mx.managers.SystemManager._xAddEventListener = mx.managers.SystemManager.addEventListener;
mx.managers.SystemManager.addEventListener = mx.managers.SystemManager.__addEventListener;
mx.managers.SystemManager._xRemoveEventListener = mx.managers.SystemManager.removeEventListener;
mx.managers.SystemManager.removeEventListener = mx.managers.SystemManager.__removeEventListener;
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.removeFocusManager = function (f) {};
v1.onMouseDown = function (Void) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager._onMouseDown();
};
v1.onResize = function (Void) {
var v7 = Stage.width;
var v6 = Stage.height;
var v9 = _global.origWidth;
var v8 = _global.origHeight;
var v3 = Stage.align;
var v5 = (v9 - v7) / 2;
var v4 = (v8 - v6) / 2;
if (v3 == 'T') {
v4 = 0;
} else {
if (v3 == 'B') {
v4 = v8 - v6;
} else {
if (v3 == 'L') {
v5 = 0;
} else {
if (v3 == 'R') {
v5 = v9 - v7;
} else {
if (v3 == 'LT') {
v4 = 0;
v5 = 0;
} else {
if (v3 == 'TR') {
v4 = 0;
v5 = v9 - v7;
} else {
if (v3 == 'LB') {
v4 = v8 - v6;
v5 = 0;
} else {
if (v3 == 'RB') {
v4 = v8 - v6;
v5 = v9 - v7;
}
}
}
}
}
}
}
}
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.__screen = new Object();
}
mx.managers.SystemManager.__screen.x = v5;
mx.managers.SystemManager.__screen.y = v4;
mx.managers.SystemManager.__screen.width = v7;
mx.managers.SystemManager.__screen.height = v6;
_root.focusManager.relocate();
mx.managers.SystemManager.dispatchEvent({'type': 'resize'});
};
v1.__get__screen = function () {
mx.managers.SystemManager.init();
if (mx.managers.SystemManager.__screen == undefined) {
mx.managers.SystemManager.onResize();
}
return mx.managers.SystemManager.__screen;
};
v1._initialized = false;
v1.idleFrames = 0;
v1.isMouseDown = false;
v1.forms = new Array();
v1.addProperty('screen', v1.__get__screen, function () {});
ASSetPropFlags(mx.managers.SystemManager.prototype, null, 1);
}
#endinitclip
}
movieClip 43 __Packages.mx.controls.SimpleButton {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.controls) {
_global.mx.controls = new Object();
}
if (!_global.mx.controls.SimpleButton) {
var v1 = function () {
super();
};
mx.controls.SimpleButton = v1;
var v2 = new mx.core.UIComponent();
mx.controls.SimpleButton.prototype = v2;
v2.init = function (Void) {
super.init();
if (this.preset == undefined) {
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
}
this.useHandCursor = false;
};
v2.createChildren = function (Void) {
if (this.preset != undefined) {
var v2 = this[this.idNames[this.preset]];
this[this.refNames[this.preset]] = v2;
this.skinName = v2;
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
this.initializing = false;
} else {
if (this.__state == true) {
this.setStateVar(true);
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
}
}
}
};
v2.setIcon = function (tag, linkageName) {
return this.setSkin(tag + 8, linkageName);
};
v2.changeIcon = function (tag, linkageName) {
this.linkLength = linkageName.length;
var v2 = this.stateNames[tag] + 'Icon';
this[v2] = linkageName;
this[this.idNames[tag + 8]] = v2;
this.setStateVar(this.getState());
};
v2.changeSkin = function (tag, linkageName) {
var v2 = this.stateNames[tag] + 'Skin';
this[v2] = linkageName;
this[this.idNames[tag]] = v2;
this.setStateVar(this.getState());
};
v2.viewIcon = function (varName) {
var v4 = varName + 'Icon';
var v3 = this[v4];
if (typeof v3 == 'string') {
var v5 = v3;
if (this.__emphasized) {
if (this[v3 + 'Emphasized'].length > 0) {
v3 += 'Emphasized';
}
}
if (this[v3].length == 0) {
return undefined;
}
v3 = this.setIcon(this.tagMap[v5], this[v3]);
if (v3 == undefined && _global.isLivePreview) {
v3 = this.setIcon(0, 'ButtonIcon');
}
this[v4] = v3;
}
this.iconName._visible = false;
this.iconName = v3;
this.iconName._visible = true;
};
v2.removeIcons = function () {
var v3 = 0;
while (v3 < 2) {
var v2 = 8;
while (v2 < 16) {
this.destroyObject(this.idNames[v2]);
this[this.stateNames[v2 - 8] + 'Icon'] = '';
++v2;
}
++v3;
}
this.refresh();
};
v2.setSkin = function (tag, linkageName, initobj) {
if (initobj == undefined) {
var v3 = super.setSkin(tag, linkageName, {'styleName': this});
this.calcSize(tag, v3);
return v3;
}
var v3 = super.setSkin(tag, linkageName, initobj);
this.calcSize(tag, v3);
return v3;
};
v2.calcSize = function (Void) {
this.__width = this._width;
this.__height = this._height;
};
v2.viewSkin = function (varName, initObj) {
var v3 = varName + 'Skin';
var v2 = this[v3];
if (typeof v2 == 'string') {
var v4 = v2;
if (this.__emphasized) {
if (this[v2 + 'Emphasized'].length > 0) {
v2 += 'Emphasized';
}
}
if (this[v2].length == 0) {
return undefined;
}
v2 = this.setSkin(this.tagMap[v4], this[v2], (initObj != undefined) ? initObj : {'styleName': this});
this[v3] = v2;
}
this.skinName._visible = false;
this.skinName = v2;
this.skinName._visible = true;
};
v2.showEmphasized = function (e) {
if (e && !this.__emphatic) {
if (mx.controls.SimpleButton.emphasizedStyleDeclaration != undefined) {
this.__emphaticStyleName = this.styleName;
this.styleName = mx.controls.SimpleButton.emphasizedStyleDeclaration;
}
this.__emphatic = true;
} else {
if (this.__emphatic) {
this.styleName = this.__emphaticStyleName;
}
this.__emphatic = false;
}
};
v2.refresh = function (Void) {
var v2 = this.getState();
if (this.enabled == false) {
this.viewIcon('disabled');
this.viewSkin('disabled');
} else {
this.viewSkin(this.phase);
this.viewIcon(this.phase);
}
this.setView(this.phase == 'down');
this.iconName.enabled = this.enabled;
};
v2.setView = function (offset) {
if (this.iconName == undefined) {
return undefined;
}
var v2 = offset ? this.btnOffset : 0;
this.iconName._x = (this.__width - this.iconName._width) / 2 + v2;
this.iconName._y = (this.__height - this.iconName._height) / 2 + v2;
};
v2.setStateVar = function (state) {
if (state) {
if (this.trueOverSkin.length == 0) {
this.rolloverSkin = this.tus;
} else {
this.rolloverSkin = this.trs;
}
if (this.trueOverIcon.length == 0) {
this.rolloverIcon = this.tui;
} else {
this.rolloverIcon = this.tri;
}
this.upSkin = this.tus;
this.downSkin = this.tds;
this.disabledSkin = this.dts;
this.upIcon = this.tui;
this.downIcon = this.tdi;
this.disabledIcon = this.dti;
} else {
if (this.falseOverSkin.length == 0) {
this.rolloverSkin = this.fus;
} else {
this.rolloverSkin = this.frs;
}
if (this.falseOverIcon.length == 0) {
this.rolloverIcon = this.fui;
} else {
this.rolloverIcon = this.fri;
}
this.upSkin = this.fus;
this.downSkin = this.fds;
this.disabledSkin = this.dfs;
this.upIcon = this.fui;
this.downIcon = this.fdi;
this.disabledIcon = this.dfi;
}
this.__state = state;
};
v2.setState = function (state) {
if (state != this.__state) {
this.setStateVar(state);
this.invalidate();
}
};
v2.size = function (Void) {
this.refresh();
};
v2.draw = function (Void) {
if (this.initializing) {
this.initializing = false;
this.skinName.visible = true;
this.iconName.visible = true;
}
this.size();
};
v2.getState = function (Void) {
return this.__state;
};
v2.setToggle = function (val) {
this.__toggle = val;
if (this.__toggle == false) {
this.setState(false);
}
};
v2.getToggle = function (Void) {
return this.__toggle;
};
v2.__set__toggle = function (val) {
this.setToggle(val);
return this.__get__toggle();
};
v2.__get__toggle = function () {
return this.getToggle();
};
v2.__set__value = function (val) {
this.setSelected(val);
return this.__get__value();
};
v2.__get__value = function () {
return this.getSelected();
};
v2.__set__selected = function (val) {
this.setSelected(val);
return this.__get__selected();
};
v2.__get__selected = function () {
return this.getSelected();
};
v2.setSelected = function (val) {
if (this.__toggle) {
this.setState(val);
} else {
this.setState(this.initializing ? val : this.__state);
}
};
v2.getSelected = function () {
return this.__state;
};
v2.setEnabled = function (val) {
if (this.enabled != val) {
super.setEnabled(val);
this.invalidate();
}
};
v2.onPress = function (Void) {
this.pressFocus();
this.phase = 'down';
this.refresh();
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
this.interval = setInterval(this, 'onPressDelay', this.getStyle('repeatDelay'));
}
};
v2.onPressDelay = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
if (this.autoRepeat) {
clearInterval(this.interval);
this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval'));
}
};
v2.onPressRepeat = function (Void) {
this.dispatchEvent({'type': 'buttonDown'});
updateAfterEvent();
};
v2.onRelease = function (Void) {
this.releaseFocus();
this.phase = 'rollover';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
if (this.getToggle()) {
this.setState(!this.getState());
} else {
this.refresh();
}
this.dispatchEvent({'type': 'click'});
};
v2.onDragOut = function (Void) {
this.phase = 'up';
this.refresh();
this.dispatchEvent({'type': 'buttonDragOut'});
};
v2.onDragOver = function (Void) {
if (this.phase != 'up') {
this.onPress();
return undefined;
} else {
this.phase = 'down';
this.refresh();
}
};
v2.onReleaseOutside = function (Void) {
this.releaseFocus();
this.phase = 'up';
if (this.interval != undefined) {
clearInterval(this.interval);
delete this.interval;
}
};
v2.onRollOver = function (Void) {
this.phase = 'rollover';
this.refresh();
};
v2.onRollOut = function (Void) {
this.phase = 'up';
this.refresh();
};
v2.getLabel = function (Void) {
return this.fui.text;
};
v2.setLabel = function (val) {
if (typeof this.fui == 'string') {
this.createLabel('fui', 8, val);
this.fui.styleName = this;
} else {
this.fui.text = val;
}
var v4 = this.fui._getTextFormat();
var v2 = v4.getTextExtent2(val);
this.fui._width = v2.width + 5;
this.fui._height = v2.height + 5;
this.iconName = this.fui;
this.setView(this.__state);
};
v2.__get__emphasized = function () {
return this.__emphasized;
};
v2.__set__emphasized = function (val) {
this.__emphasized = val;
var v2 = 0;
while (v2 < 8) {
this[this.idNames[v2]] = this.stateNames[v2] + 'Skin';
if (typeof this[this.idNames[v2 + 8]] == 'movieclip') {
this[this.idNames[v2 + 8]] = this.stateNames[v2] + 'Icon';
}
++v2;
}
this.showEmphasized(this.__emphasized);
this.setStateVar(this.__state);
this.invalidateStyle();
return this.__get__emphasized();
};
v2.keyDown = function (e) {
if (e.code == 32) {
this.onPress();
}
};
v2.keyUp = function (e) {
if (e.code == 32) {
this.onRelease();
}
};
v2.onKillFocus = function (newFocus) {
super.onKillFocus();
if (this.phase != 'up') {
this.phase = 'up';
this.refresh();
}
};
v1.symbolName = 'SimpleButton';
v1.symbolOwner = mx.controls.SimpleButton;
v1.version = '2.0.2.126';
v2.className = 'SimpleButton';
v2.style3dInset = 4;
v2.btnOffset = 1;
v2.__toggle = false;
v2.__state = false;
v2.__emphasized = false;
v2.__emphatic = false;
v1.falseUp = 0;
v1.falseDown = 1;
v1.falseOver = 2;
v1.falseDisabled = 3;
v1.trueUp = 4;
v1.trueDown = 5;
v1.trueOver = 6;
v1.trueDisabled = 7;
v2.falseUpSkin = 'SimpleButtonUp';
v2.falseDownSkin = 'SimpleButtonIn';
v2.falseOverSkin = '';
v2.falseDisabledSkin = 'SimpleButtonUp';
v2.trueUpSkin = 'SimpleButtonIn';
v2.trueDownSkin = '';
v2.trueOverSkin = '';
v2.trueDisabledSkin = 'SimpleButtonIn';
v2.falseUpIcon = '';
v2.falseDownIcon = '';
v2.falseOverIcon = '';
v2.falseDisabledIcon = '';
v2.trueUpIcon = '';
v2.trueDownIcon = '';
v2.trueOverIcon = '';
v2.trueDisabledIcon = '';
v2.phase = 'up';
v2.fui = 'falseUpIcon';
v2.fus = 'falseUpSkin';
v2.fdi = 'falseDownIcon';
v2.fds = 'falseDownSkin';
v2.frs = 'falseOverSkin';
v2.fri = 'falseOverIcon';
v2.dfi = 'falseDisabledIcon';
v2.dfs = 'falseDisabledSkin';
v2.tui = 'trueUpIcon';
v2.tus = 'trueUpSkin';
v2.tdi = 'trueDownIcon';
v2.tds = 'trueDownSkin';
v2.trs = 'trueOverSkin';
v2.tri = 'trueOverIcon';
v2.dts = 'trueDisabledSkin';
v2.dti = 'trueDisabledIcon';
v2.rolloverSkin = mx.controls.SimpleButton.prototype.frs;
v2.rolloverIcon = mx.controls.SimpleButton.prototype.fri;
v2.upSkin = mx.controls.SimpleButton.prototype.fus;
v2.downSkin = mx.controls.SimpleButton.prototype.fds;
v2.disabledSkin = mx.controls.SimpleButton.prototype.dfs;
v2.upIcon = mx.controls.SimpleButton.prototype.fui;
v2.downIcon = mx.controls.SimpleButton.prototype.fdi;
v2.disabledIcon = mx.controls.SimpleButton.prototype.dfi;
v2.initializing = true;
v2.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti'];
v2.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled'];
v2.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin'];
v2.tagMap = {'falseUpSkin': 0, 'falseDownSkin': 1, 'falseOverSkin': 2, 'falseDisabledSkin': 3, 'trueUpSkin': 4, 'trueDownSkin': 5, 'trueOverSkin': 6, 'trueDisabledSkin': 7, 'falseUpIcon': 0, 'falseDownIcon': 1, 'falseOverIcon': 2, 'falseDisabledIcon': 3, 'trueUpIcon': 4, 'trueDownIcon': 5, 'trueOverIcon': 6, 'trueDisabledIcon': 7};
v2.addProperty('emphasized', v2.__get__emphasized, v2.__set__emphasized);
v2.addProperty('selected', v2.__get__selected, v2.__set__selected);
v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle);
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1);
}
#endinitclip
}
movieClip 44 __Packages.mx.managers.DepthManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.DepthManager) {
var v1 = function () {
MovieClip.prototype.createClassChildAtDepth = this.createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = this.createChildAtDepth;
MovieClip.prototype.setDepthTo = this.setDepthTo;
MovieClip.prototype.setDepthAbove = this.setDepthAbove;
MovieClip.prototype.setDepthBelow = this.setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = this.findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = this.shuffleDepths;
MovieClip.prototype.getDepthByFlag = this.getDepthByFlag;
MovieClip.prototype.buildDepthTable = this.buildDepthTable;
_global.ASSetPropFlags(MovieClip.prototype, 'createClassChildAtDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'createChildAtDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthTo', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthAbove', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'setDepthBelow', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'findNextAvailableDepth', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'shuffleDepths', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'getDepthByFlag', 1);
_global.ASSetPropFlags(MovieClip.prototype, 'buildDepthTable', 1);
};
mx.managers.DepthManager = v1;
var v2 = v1.prototype;
v1.sortFunction = function (a, b) {
if (a.getDepth() > b.getDepth()) {
return 1;
}
return -1;
};
v1.test = function (depth) {
if (depth == mx.managers.DepthManager.reservedDepth) {
return false;
} else {
return true;
}
};
v1.createClassObjectAtDepth = function (className, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v1.createObjectAtDepth = function (linkageName, depthSpace, initObj) {
var v1;
switch (depthSpace) {
case mx.managers.DepthManager.kCursor:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTopmost, initObj);
return v1;
case mx.managers.DepthManager.kTooltip:
v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTop, initObj);
return v1;
}
return v1;
};
v2.createClassChildAtDepth = function (className, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v6 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v6 = 'up';
}
var v5;
if (v3[v2] != undefined) {
v5 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v6);
}
var v4 = this.createClassObject(className, 'depthChild' + this._childCounter++, v2, initObj);
if (v5 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v5, v3, v6);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.createChildAtDepth = function (linkageName, depthFlag, initObj) {
if (this._childCounter == undefined) {
this._childCounter = 0;
}
var v3 = this.buildDepthTable();
var v2 = this.getDepthByFlag(depthFlag, v3);
var v6 = 'down';
if (depthFlag == mx.managers.DepthManager.kBottom) {
v6 = 'up';
}
var v5;
if (v3[v2] != undefined) {
v5 = v2;
v2 = this.findNextAvailableDepth(v2, v3, v6);
}
var v4 = this.createObject(linkageName, 'depthChild' + this._childCounter++, v2, initObj);
if (v5 != undefined) {
v3[v2] = v4;
this.shuffleDepths(v4, v5, v3, v6);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
v4._topmost = true;
}
return v4;
};
v2.setDepthTo = function (depthFlag) {
var v2 = this._parent.buildDepthTable();
var v3 = this._parent.getDepthByFlag(depthFlag, v2);
if (v2[v3] != undefined) {
this.shuffleDepths(this, v3, v2, undefined);
} else {
this.swapDepths(v3);
}
if (depthFlag == mx.managers.DepthManager.kTopmost) {
this._topmost = true;
} else {
delete this._topmost;
}
};
v2.setDepthAbove = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v2 = targetInstance.getDepth() + 1;
var v3 = this._parent.buildDepthTable();
if (v3[v2] != undefined && this.getDepth() < v2) {
v2 -= 1;
}
if (v2 > mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
if (v2 == mx.managers.DepthManager.highestDepth) {
this._parent.shuffleDepths(this, v2, v3, 'down');
} else {
if (v3[v2] != undefined) {
this._parent.shuffleDepths(this, v2, v3, undefined);
} else {
this.swapDepths(v2);
}
}
};
v2.setDepthBelow = function (targetInstance) {
if (targetInstance._parent != this._parent) {
return undefined;
}
var v6 = targetInstance.getDepth() - 1;
var v3 = this._parent.buildDepthTable();
if (v3[v6] != undefined && this.getDepth() > v6) {
v6 += 1;
}
var v4 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v5;
for (v5 in v3) {
var v2 = v3[v5];
if (v2._parent != undefined) {
v4 = Math.min(v4, v2.getDepth());
}
}
if (v6 < v4) {
v6 = v4;
}
if (v6 == v4) {
this._parent.shuffleDepths(this, v6, v3, 'up');
} else {
if (v3[v6] != undefined) {
this._parent.shuffleDepths(this, v6, v3, undefined);
} else {
this.swapDepths(v6);
}
}
};
v2.findNextAvailableDepth = function (targetDepth, depthTable, direction) {
var v5 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
if (targetDepth < v5) {
targetDepth = v5;
}
if (depthTable[targetDepth] == undefined) {
return targetDepth;
}
var v2 = targetDepth;
var v1 = targetDepth;
if (direction == 'down') {
while (depthTable[v1] != undefined) {
--v1;
}
return v1;
}
while (depthTable[v2] != undefined) {
++v2;
}
return v2;
};
v2.shuffleDepths = function (subject, targetDepth, depthTable, direction) {
var v9 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
var v8 = v9;
var v5;
for (v5 in depthTable) {
var v7 = depthTable[v5];
if (v7._parent != undefined) {
v9 = Math.min(v9, v7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = 'up';
} else {
direction = 'down';
}
}
var v1 = new Array();
for (v5 in depthTable) {
v7 = depthTable[v5];
if (v7._parent != undefined) {
v1.push(v7);
}
}
v1.sort(mx.managers.DepthManager.sortFunction);
if (direction == 'up') {
var v3;
var v11;
while (v1.length > 0) {
v3 = v1.pop();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
v11 = subject.getDepth();
v3 = v1.pop();
var v4 = v3.getDepth();
if (v11 > v4 + 1) {
if (v4 >= 0) {
subject.swapDepths(v4 + 1);
} else {
if (v11 > v8 && v4 < v8) {
subject.swapDepths(v8);
}
}
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
} else {
if (direction == 'down') {
var v3;
while (v1.length > 0) {
v3 = v1.shift();
if (v3 == subject) {
break;
}
}
while (v1.length > 0) {
var v11 = v3.getDepth();
v3 = v1.shift();
var v4 = v3.getDepth();
if (v11 < v4 - 1 && v4 > 0) {
subject.swapDepths(v4 - 1);
}
subject.swapDepths(v3);
if (v4 == targetDepth) {
break;
}
}
}
}
};
v2.getDepthByFlag = function (depthFlag, depthTable) {
var v2 = 0;
if (depthFlag == mx.managers.DepthManager.kTop || depthFlag == mx.managers.DepthManager.kNotopmost) {
var v5 = 0;
var v7 = false;
var v8;
for (v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
if (!v9._topmost) {
v2 = Math.max(v2, v9.getDepth());
} else {
if (!v7) {
v5 = v9.getDepth();
v7 = true;
} else {
v5 = Math.min(v5, v9.getDepth());
}
}
}
}
}
v2 += 20;
if (v7) {
if (v2 >= v5) {
v2 = v5 - 1;
}
}
} else {
if (depthFlag == mx.managers.DepthManager.kBottom) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.min(v2, v9.getDepth());
}
}
}
v2 -= 20;
} else {
if (depthFlag == mx.managers.DepthManager.kTopmost) {
for (var v8 in depthTable) {
var v9 = depthTable[v8];
var v3 = typeof v9;
if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) {
if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) {
v2 = Math.max(v2, v9.getDepth());
}
}
}
v2 += 100;
}
}
}
if (v2 >= mx.managers.DepthManager.highestDepth) {
v2 = mx.managers.DepthManager.highestDepth;
}
var v6 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers;
for (v9 in depthTable) {
var v4 = depthTable[v9];
if (v4._parent != undefined) {
v6 = Math.min(v6, v4.getDepth());
}
}
if (v2 <= v6) {
v2 = v6;
}
return v2;
};
v2.buildDepthTable = function (Void) {
var v5 = new Array();
var v4;
for (v4 in this) {
var v2 = this[v4];
var v3 = typeof v2;
if (v3 == 'movieclip' || v3 == 'object' && v2.__getTextFormat != undefined) {
if (v2._parent == this) {
v5[v2.getDepth()] = v2;
}
}
}
return v5;
};
v1.reservedDepth = 1048575;
v1.highestDepth = 1048574;
v1.lowestDepth = -16383;
v1.numberOfAuthortimeLayers = 383;
v1.kCursor = 101;
v1.kTooltip = 102;
v1.kTop = 201;
v1.kBottom = 202;
v1.kTopmost = 203;
v1.kNotopmost = 204;
v1.holder = _root.createEmptyMovieClip('reserved', mx.managers.DepthManager.reservedDepth);
v1.__depthManager = new mx.managers.DepthManager();
ASSetPropFlags(mx.managers.DepthManager.prototype, null, 1);
}
#endinitclip
}
movieClip 45 __Packages.mx.managers.FocusManager {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.FocusManager) {
var v1 = function () {
super();
};
mx.managers.FocusManager = v1;
var v2 = new mx.core.UIComponent();
mx.managers.FocusManager.prototype = v2;
v2.__get__defaultPushButton = function () {
return this.__defaultPushButton;
};
v2.__set__defaultPushButton = function (x) {
if (x != this.__defaultPushButton) {
this.__defaultPushButton.__set__emphasized(false);
this.__defaultPushButton = x;
this.defPushButton = x;
x.__set__emphasized(true);
}
return this.__get__defaultPushButton();
};
v2.getMaxTabIndex = function (o) {
var v3 = 0;
var v6;
for (v6 in o) {
var v2 = o[v6];
if (v2._parent == o) {
if (v2.tabIndex != undefined) {
if (v2.tabIndex > v3) {
v3 = v2.tabIndex;
}
}
if (v2.tabChildren == true) {
var v4 = this.getMaxTabIndex(v2);
if (v4 > v3) {
v3 = v4;
}
}
}
}
return v3;
};
v2.getNextTabIndex = function (Void) {
return this.getMaxTabIndex(this.form) + 1;
};
v2.__get__nextTabIndex = function () {
return this.getNextTabIndex();
};
v2.relocate = function (Void) {
var v2 = mx.managers.SystemManager.__get__screen();
this.move(v2.x - 1, v2.y - 1);
};
v2.init = function (Void) {
super.init();
this.tabEnabled = false;
this._height = 1;
this._width = 1;
this._y = -1;
this._x = -1;
this._alpha = 0;
this._parent.focusManager = this;
this._parent.tabChildren = true;
this._parent.tabEnabled = false;
this.form = this._parent;
this._parent.addEventListener('hide', this);
this._parent.addEventListener('reveal', this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(this.form);
this.tabCapture.tabIndex = 0;
this.watch('enabled', this.enabledChanged);
Selection.addListener(this);
this.lastMouse = new Object();
_global.ASSetPropFlags(this._parent, 'focusManager', 1);
_global.ASSetPropFlags(this._parent, 'tabChildren', 1);
_global.ASSetPropFlags(this._parent, 'tabEnabled', 1);
};
v2.enabledChanged = function (id, oldValue, newValue) {
this._visible = newValue;
return newValue;
};
v2.activate = function (Void) {
Key.addListener(this);
this._visible = true;
this.activated = this._visible;
if (this.lastFocus != undefined) {
this.bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
this.doLater(this, 'restoreFocus');
}
}
};
v2.deactivate = function (Void) {
Key.removeListener(this);
this._visible = false;
this.activated = this._visible;
var v2 = this.getSelectionFocus();
var v3 = this.getActualFocus(v2);
if (this.isOurFocus(v3)) {
this.lastSelFocus = v2;
this.lastFocus = v3;
}
this.cancelAllDoLaters();
};
v2.isOurFocus = function (o) {
if (o.focusManager == this) {
return true;
}
while (o != undefined) {
if (o.focusManager != undefined) {
return false;
}
if (o._parent == this._parent) {
return true;
}
o = o._parent;
}
return false;
};
v2.onSetFocus = function (o, n) {
if (n == null) {
if (this.activated) {
this.bNeedFocus = true;
}
} else {
var v2 = this.getFocus();
if (this.isOurFocus(v2)) {
this.bNeedFocus = false;
this.lastFocus = v2;
this.lastSelFocus = n;
}
}
};
v2.restoreFocus = function (Void) {
var v2 = this.lastSelFocus.hscroll;
if (v2 != undefined) {
var v5 = this.lastSelFocus.scroll;
var v4 = this.lastSelFocus.background;
}
this.lastFocus.setFocus();
var v3 = Selection;
Selection.setSelection(v3.lastBeginIndex, v3.lastEndIndex);
if (v2 != undefined) {
this.lastSelFocus.scroll = v5;
this.lastSelFocus.hscroll = v2;
this.lastSelFocus.background = v4;
}
};
v2.onUnload = function (Void) {
mx.managers.SystemManager.removeFocusManager(this.form);
};
v2.setFocus = function (o) {
if (o == null) {
Selection.setFocus(null);
} else {
if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
};
v2.getActualFocus = function (o) {
var v1 = o._parent;
while (v1 != undefined) {
if (v1.focusTextField != undefined) {
while (v1.focusTextField != undefined) {
o = v1;
v1 = v1._parent;
if (v1 == undefined) {
return undefined;
}
if (v1.focusTextField == undefined) {
return o;
}
}
}
if (v1.tabEnabled != true) {
return o;
}
o = v1;
v1 = o._parent;
}
return undefined;
};
v2.getSelectionFocus = function () {
var m = Selection.getFocus();
var o = eval(m);
return o;
};
v2.getFocus = function (Void) {
var v2 = this.getSelectionFocus();
return this.getActualFocus(v2);
};
v2.walkTree = function (p, index, groupName, dir, lookup, firstChild) {
var v5 = true;
var v11;
for (v11 in p) {
var v2 = p[v11];
if (v2._parent == p && v2.enabled != false && v2._visible != false && (v2.tabEnabled == true || v2.tabEnabled != false && (v2.onPress != undefined || v2.onRelease != undefined || v2.onReleaseOutside != undefined || v2.onDragOut != undefined || v2.onDragOver != undefined || v2.onRollOver != undefined || v2.onRollOut != undefined || v2 instanceof TextField))) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
if (v2 != this._lastTarget) {
if ((v2.groupName != undefined || groupName != undefined) && v2.groupName == groupName) {
continue;
}
if (v2 instanceof TextField && v2.selectable == false) {
continue;
}
if (v5 || v2.groupName != undefined && v2.groupName == this._firstNode.groupName && v2.selected == true) {
if (firstChild) {
this._firstNode = v2;
firstChild = false;
}
}
if (this._nextIsNext == true) {
if (v2.groupName != undefined && v2.groupName == this._nextNode.groupName && v2.selected == true || this._nextNode == undefined && (v2.groupName == undefined || v2.groupName != undefined && v2.groupName != groupName)) {
this._nextNode = v2;
}
}
if (v2.groupName == undefined || groupName != v2.groupName) {
if (this._lastx.groupName != undefined && v2.groupName == this._lastx.groupName && this._lastx.selected == true) {
} else {
this._lastx = v2;
}
}
} else {
this._prevNode = this._lastx;
this._needPrev = false;
this._nextIsNext = true;
}
if (v2.tabIndex != undefined) {
if (v2.tabIndex == index) {
if (this._foundList[v2._name] == undefined) {
if (this._needPrev) {
this._prevObj = v2;
this._needPrev = false;
}
this._nextObj = v2;
}
}
if (dir && v2.tabIndex > index) {
if (this._nextObj == undefined || this._nextObj.tabIndex > v2.tabIndex && (v2.groupName == undefined || this._nextObj.groupName == undefined || v2.groupName != this._nextObj.groupName) || this._nextObj.groupName != undefined && this._nextObj.groupName == v2.groupName && this._nextObj.selected != true && (v2.selected == true || this._nextObj.tabIndex > v2.tabIndex)) {
this._nextObj = v2;
}
} else {
if (!dir && v2.tabIndex < index) {
if (this._prevObj == undefined || this._prevObj.tabIndex < v2.tabIndex && (v2.groupName == undefined || this._prevObj.groupName == undefined || v2.groupName != this._prevObj.groupName) || this._prevObj.groupName != undefined && this._prevObj.groupName == v2.groupName && this._prevObj.selected != true && (v2.selected == true || this._prevObj.tabIndex < v2.tabIndex)) {
this._prevObj = v2;
}
}
}
if (this._firstObj == undefined || v2.tabIndex < this._firstObj.tabIndex && (v2.groupName == undefined || this._firstObj.groupName == undefined || v2.groupName != this._firstObj.groupName) || this._firstObj.groupName != undefined && this._firstObj.groupName == v2.groupName && this._firstObj.selected != true && (v2.selected == true || v2.tabIndex < this._firstObj.tabIndex)) {
this._firstObj = v2;
}
if (this._lastObj == undefined || v2.tabIndex > this._lastObj.tabIndex && (v2.groupName == undefined || this._lastObj.groupName == undefined || v2.groupName != this._lastObj.groupName) || this._lastObj.groupName != undefined && this._lastObj.groupName == v2.groupName && this._lastObj.selected != true && (v2.selected == true || v2.tabIndex > this._lastObj.tabIndex)) {
this._lastObj = v2;
}
}
if (v2.tabChildren) {
this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild);
}
v5 = false;
} else {
if (v2._parent == p && v2.tabChildren == true && v2._visible != false) {
if (v2 == this._lastTarget) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
if (this._prevNode == undefined) {
var v3 = this._lastx;
var v7 = false;
while (v3 != undefined) {
if (v3 == v2) {
v7 = true;
break;
}
v3 = v3._parent;
}
if (v7 == false) {
this._prevNode = this._lastx;
}
}
this._needPrev = false;
if (this._nextNode == undefined) {
this._nextIsNext = true;
}
} else {
if (!(v2.focusManager != undefined && v2.focusManager._parent == v2)) {
if (v2._searchKey == this._searchKey) {
continue;
}
v2._searchKey = this._searchKey;
this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild);
}
}
v5 = false;
}
}
}
this._lastNode = this._lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != this._parent) {
if (this._prevNode == undefined && dir) {
this._needPrev = true;
} else {
if (this._nextNode == undefined && !dir) {
this._nextIsNext = false;
}
}
this._lastTarget = this._lastTarget._parent;
this.getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
};
v2.getTabCandidate = function (o, index, groupName, dir, firstChild) {
var v2;
var v3 = true;
if (o == this._parent) {
v2 = o;
v3 = false;
} else {
v2 = o._parent;
if (v2 == undefined) {
v2 = o;
v3 = false;
}
}
this.walkTree(v2, index, groupName, dir, v3, firstChild);
};
v2.getTabCandidateFromChildren = function (o, index, groupName, dir, firstChild) {
this.walkTree(o, index, groupName, dir, false, firstChild);
};
v2.getFocusManagerFromObject = function (o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return o.focusManager;
}
o = o._parent;
}
return undefined;
};
v2.tabHandler = function (Void) {
this.bDrawFocus = true;
var v5 = this.getSelectionFocus();
var v4 = this.getActualFocus(v5);
if (v4 != v5) {
v5 = v4;
}
if (this.getFocusManagerFromObject(v5) != this) {
v5 == undefined;
}
if (v5 == undefined) {
v5 = this.form;
} else {
if (v5.tabIndex != undefined) {
if (this._foundList != undefined || this._foundList.tabIndex != v5.tabIndex) {
this._foundList = new Object();
this._foundList.tabIndex = v5.tabIndex;
}
this._foundList[v5._name] = v5;
}
}
var v3 = Key.isDown(16) != true;
this._searchKey = getTimer();
this._needPrev = true;
this._nextIsNext = false;
this._lastx = undefined;
this._firstNode = undefined;
this._lastNode = undefined;
this._nextNode = undefined;
this._prevNode = undefined;
this._firstObj = undefined;
this._lastObj = undefined;
this._nextObj = undefined;
this._prevObj = undefined;
this._lastTarget = v5;
var v6 = v5;
this.getTabCandidate(v6, (v5.tabIndex == undefined) ? 0 : v5.tabIndex, v5.groupName, v3, true);
var v2;
if (v3) {
if (this._nextObj != undefined) {
v2 = this._nextObj;
} else {
v2 = this._firstObj;
}
} else {
if (this._prevObj != undefined) {
v2 = this._prevObj;
} else {
v2 = this._lastObj;
}
}
if (v2.tabIndex != v5.tabIndex) {
this._foundList = new Object();
this._foundList.tabIndex = v2.tabIndex;
this._foundList[v2._name] = v2;
} else {
if (this._foundList == undefined) {
this._foundList = new Object();
this._foundList.tabIndex = v2.tabIndex;
}
this._foundList[v2._name] = v2;
}
if (v2 == undefined) {
if (v3 == false) {
if (this._nextNode != undefined) {
v2 = this._nextNode;
} else {
v2 = this._firstNode;
}
} else {
if (this._prevNode == undefined || v5 == this.form) {
v2 = this._lastNode;
} else {
v2 = this._prevNode;
}
}
}
if (v2 == undefined) {
return undefined;
}
this.lastTabFocus = v2;
this.setFocus(v2);
if (v2.emphasized != undefined) {
if (this.defPushButton != undefined) {
v5 = this.defPushButton;
this.defPushButton = v2;
v5.emphasized = false;
v2.emphasized = true;
}
} else {
if (this.defPushButton != undefined && this.defPushButton != this.__defaultPushButton) {
v5 = this.defPushButton;
this.defPushButton = this.__defaultPushButton;
v5.emphasized = false;
this.__defaultPushButton.__set__emphasized(true);
}
}
};
v2.onKeyDown = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
if (this.defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (this.__get__defaultPushButton() != undefined) {
this.doLater(this, 'sendDefaultPushButtonEvent');
}
}
}
};
v2.sendDefaultPushButtonEvent = function (Void) {
this.defPushButton.dispatchEvent({'type': 'click'});
};
v2.getMousedComponentFromChildren = function (x, y, o) {
for (var v7 in o) {
var v2 = o[v7];
if (v2._visible && v2.enabled && v2._parent == o && v2._searchKey != this._searchKey) {
v2._searchKey = this._searchKey;
if (v2.hitTest(x, y, true)) {
if (v2.onPress != undefined || v2.onRelease != undefined) {
return v2;
}
var v3 = this.getMousedComponentFromChildren(x, y, v2);
if (v3 != undefined) {
return v3;
}
return v2;
}
}
}
return undefined;
};
v2.mouseActivate = function (Void) {
if (!this.bNeedFocus) {
return undefined;
}
this._searchKey = getTimer();
var v2 = this.getMousedComponentFromChildren(this.lastMouse.x, this.lastMouse.y, this.form);
if (v2 instanceof mx.core.UIComponent) {
return undefined;
}
v2 = this.findFocusFromObject(v2);
if (v2 == this.lastFocus) {
return undefined;
}
if (v2 == undefined) {
this.doLater(this, 'restoreFocus');
return undefined;
}
var v3 = v2.hscroll;
if (v3 != undefined) {
var v6 = v2.scroll;
var v5 = v2.background;
}
this.setFocus(v2);
var v4 = Selection;
Selection.setSelection(v4.lastBeginIndex, v4.lastEndIndex);
if (v3 != undefined) {
v2.scroll = v6;
v2.hscroll = v3;
v2.background = v5;
}
};
v2._onMouseDown = function (Void) {
this.bDrawFocus = false;
if (this.lastFocus != undefined) {
this.lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var v3 = Selection;
v3.lastBeginIndex = Selection.getBeginIndex();
v3.lastEndIndex = Selection.getEndIndex();
this.lastMouse.x = _root._xmouse;
this.lastMouse.y = _root._ymouse;
_root.localToGlobal(this.lastMouse);
};
v2.onMouseUp = function (Void) {
if (this._visible) {
this.doLater(this, 'mouseActivate');
}
};
v2.handleEvent = function (e) {
if (e.type == 'reveal') {
mx.managers.SystemManager.activate(this.form);
} else {
mx.managers.SystemManager.deactivate(this.form);
}
};
v1.enableFocusManagement = function () {
if (!mx.managers.FocusManager.initialized) {
mx.managers.FocusManager.initialized = true;
Object.registerClass('FocusManager', mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--);
}
}
};
v1.symbolName = 'FocusManager';
v1.symbolOwner = mx.managers.FocusManager;
v1.version = '2.0.2.126';
v2.className = 'FocusManager';
v2.bNeedFocus = false;
v2.bDrawFocus = false;
v2.defaultPushButtonEnabled = true;
v2.activated = true;
v1.initialized = false;
v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
v2.addProperty('defaultPushButton', v2.__get__defaultPushButton, v2.__set__defaultPushButton);
v2.addProperty('nextTabIndex', v2.__get__nextTabIndex, function () {});
ASSetPropFlags(mx.managers.FocusManager.prototype, null, 1);
}
#endinitclip
}
movieClip 46 __Packages.mx.skins.halo.FocusRect {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.skins) {
_global.mx.skins = new Object();
}
if (!_global.mx.skins.halo) {
_global.mx.skins.halo = new Object();
}
if (!_global.mx.skins.halo.FocusRect) {
var v1 = function () {
super();
this.boundingBox_mc._visible = false;
this.boundingBox_mc._height = 0;
this.boundingBox_mc._width = 0;
};
mx.skins.halo.FocusRect = v1;
var v2 = new mx.skins.SkinElement();
mx.skins.halo.FocusRect.prototype = v2;
v2.draw = function (o) {
o.adjustFocusRect();
};
v2.setSize = function (w, h, r, a, rectCol) {
this._yscale = 100;
this._xscale = 100;
this.clear();
if (typeof r == 'object') {
r.br = r.br > 2 ? r.br - 2 : 0;
r.bl = r.bl > 2 ? r.bl - 2 : 0;
r.tr = r.tr > 2 ? r.tr - 2 : 0;
r.tl = r.tl > 2 ? r.tl - 2 : 0;
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(0, 0, w, h, r);
this.drawRoundRect(2, 2, w - 4, h - 4, r);
this.endFill();
r.br = r.br > 1 ? r.br + 1 : 0;
r.bl = r.bl > 1 ? r.bl + 1 : 0;
r.tr = r.tr > 1 ? r.tr + 1 : 0;
r.tl = r.tl > 1 ? r.tl + 1 : 0;
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(1, 1, w - 2, h - 2, r);
r.br = r.br > 1 ? r.br - 1 : 0;
r.bl = r.bl > 1 ? r.bl - 1 : 0;
r.tr = r.tr > 1 ? r.tr - 1 : 0;
r.tl = r.tl > 1 ? r.tl - 1 : 0;
this.drawRoundRect(2, 2, w - 4, h - 4, r);
this.endFill();
} else {
var v5;
if (r != 0) {
v5 = r - 2;
} else {
v5 = 0;
}
this.beginFill(rectCol, a * 0.3);
this.drawRoundRect(0, 0, w, h, r);
this.drawRoundRect(2, 2, w - 4, h - 4, v5);
this.endFill();
this.beginFill(rectCol, a * 0.3);
if (r != 0) {
v5 = r - 2;
r -= 1;
} else {
v5 = 0;
r = 0;
}
this.drawRoundRect(1, 1, w - 2, h - 2, r);
this.drawRoundRect(2, 2, w - 4, h - 4, v5);
this.endFill();
}
};
v2.handleEvent = function (e) {
if (e.type == 'unload') {
this._visible = true;
} else {
if (e.type == 'resize') {
e.target.adjustFocusRect();
} else {
if (e.type == 'move') {
e.target.adjustFocusRect();
}
}
}
};
v1.classConstruct = function () {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var v2 = this._parent.focus_mc;
if (!focused) {
v2._visible = false;
this.removeEventListener('unload', v2);
this.removeEventListener('move', v2);
this.removeEventListener('resize', v2);
} else {
if (v2 == undefined) {
v2 = this._parent.createChildAtDepth('FocusRect', mx.managers.DepthManager.kTop);
v2.tabEnabled = false;
this._parent.focus_mc = v2;
} else {
v2._visible = true;
}
v2.draw(this);
if (v2.getDepth() < this.getDepth()) {
v2.setDepthAbove(this);
}
this.addEventListener('unload', v2);
this.addEventListener('move', v2);
this.addEventListener('resize', v2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var v2 = this.getStyle('themeColor');
if (v2 == undefined) {
v2 = 8453965;
}
var v3 = this._parent.focus_mc;
v3.setSize(this.width + 4, this.height + 4, 0, 100, v2);
v3.move(this.x - 2, this.y - 2);
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect;
mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return true;
};
v1.classConstructed = mx.skins.halo.FocusRect.classConstruct();
v1.DefaultsDependency = mx.skins.halo.Defaults;
v1.UIComponentDependency = mx.core.UIComponent;
ASSetPropFlags(mx.skins.halo.FocusRect.prototype, null, 1);
}
#endinitclip
}
movieClip 47 __Packages.mx.managers.OverlappedWindows {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.managers) {
_global.mx.managers = new Object();
}
if (!_global.mx.managers.OverlappedWindows) {
var v1 = function () {};
mx.managers.OverlappedWindows = v1;
var v2 = v1.prototype;
v1.checkIdle = function (Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({'type': 'idle'});
} else {
++mx.managers.SystemManager.idleFrames;
}
};
v1.__addEventListener = function (e, o, l) {
if (e == 'idle') {
if (mx.managers.SystemManager.interval == undefined) {
mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100);
}
}
mx.managers.SystemManager._xAddEventListener(e, o, l);
};
v1.__removeEventListener = function (e, o, l) {
if (e == 'idle') {
if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) {
clearInterval(mx.managers.SystemManager.interval);
}
} else {
mx.managers.SystemManager._xRemoveEventListener(e, o, l);
}
};
v1.onMouseDown = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var v5 = _root;
var v3;
var v8 = _root._xmouse;
var v7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var v6 = mx.managers.SystemManager.forms.length;
var v4;
v4 = 0;
while (v4 < v6) {
var v2 = mx.managers.SystemManager.forms[v4];
if (v2._visible) {
if (v2.hitTest(v8, v7)) {
if (v3 == undefined) {
v3 = v2.getDepth();
v5 = v2;
} else {
if (v3 < v2.getDepth()) {
v3 = v2.getDepth();
v5 = v2;
}
}
}
}
++v4;
}
if (v5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(v5);
}
}
}
var v9 = mx.managers.SystemManager.form;
v9.focusManager._onMouseDown();
};
v1.onMouseMove = function (Void) {
mx.managers.SystemManager.idleFrames = 0;
};
v1.onMouseUp = function (Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
};
v1.activate = function (f) {
if (mx.managers.SystemManager.form != undefined) {
if (mx.managers.SystemManager.form != f && mx.managers.SystemManager.forms.length > 1) {
var v1 = mx.managers.SystemManager.form;
v1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
};
v1.deactivate = function (f) {
if (mx.managers.SystemManager.form != undefined) {
if (mx.managers.SystemManager.form == f && mx.managers.SystemManager.forms.length > 1) {
var v5 = mx.managers.SystemManager.form;
v5.focusManager.deactivate();
var v3 = mx.managers.SystemManager.forms.length;
var v1;
var v2;
v1 = 0;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1] == f) {
v1 += 1;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1]._visible == true) {
v2 = mx.managers.SystemManager.forms[v1];
}
++v1;
}
mx.managers.SystemManager.form = v2;
break;
} else {
if (mx.managers.SystemManager.forms[v1]._visible == true) {
v2 = mx.managers.SystemManager.forms[v1];
}
}
++v1;
}
v5 = mx.managers.SystemManager.form;
v5.focusManager.activate();
}
}
};
v1.addFocusManager = function (f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
};
v1.removeFocusManager = function (f) {
var v3 = mx.managers.SystemManager.forms.length;
var v1;
v1 = 0;
while (v1 < v3) {
if (mx.managers.SystemManager.forms[v1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(v1, 1);
return undefined;
}
++v1;
}
};
v1.enableOverlappedWindows = function () {
if (!mx.managers.OverlappedWindows.initialized) {
mx.managers.OverlappedWindows.initialized = true;
mx.managers.SystemManager.checkIdle = mx.managers.OverlappedWindows.checkIdle;
mx.managers.SystemManager.__addEventListener = mx.managers.OverlappedWindows.__addEventListener;
mx.managers.SystemManager.__removeEventListener = mx.managers.OverlappedWindows.__removeEventListener;
mx.managers.SystemManager.onMouseDown = mx.managers.OverlappedWindows.onMouseDown;
mx.managers.SystemManager.onMouseMove = mx.managers.OverlappedWindows.onMouseMove;
mx.managers.SystemManager.onMouseUp = mx.managers.OverlappedWindows.onMouseUp;
mx.managers.SystemManager.activate = mx.managers.OverlappedWindows.activate;
mx.managers.SystemManager.deactivate = mx.managers.OverlappedWindows.deactivate;
mx.managers.SystemManager.addFocusManager = mx.managers.OverlappedWindows.addFocusManager;
mx.managers.SystemManager.removeFocusManager = mx.managers.OverlappedWindows.removeFocusManager;
}
};
v1.initialized = false;
v1.SystemManagerDependency = mx.managers.SystemManager;
ASSetPropFlags(mx.managers.OverlappedWindows.prototype, null, 1);
}
#endinitclip
}
movieClip 48 __Packages.mx.styles.CSSSetStyle {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.styles) {
_global.mx.styles = new Object();
}
if (!_global.mx.styles.CSSSetStyle) {
var v1 = function () {};
mx.styles.CSSSetStyle = v1;
var v2 = v1.prototype;
v2._setStyle = function (styleProp, newValue) {
this[styleProp] = newValue;
if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) {
if (styleProp == 'color') {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
}
_level0.changeTextStyleInChildren(styleProp);
return undefined;
}
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
if (styleProp == 'themeColor') {
var v7 = mx.styles.StyleManager.colorNames.haloBlue;
var v6 = mx.styles.StyleManager.colorNames.haloGreen;
var v8 = mx.styles.StyleManager.colorNames.haloOrange;
var v4 = {};
v4[v7] = 12188666;
v4[v6] = 13500353;
v4[v8] = 16766319;
var v5 = {};
v5[v7] = 13958653;
v5[v6] = 14942166;
v5[v8] = 16772787;
var v9 = v4[newValue];
var v10 = v5[newValue];
if (v9 == undefined) {
v9 = newValue;
}
if (v10 == undefined) {
v10 = newValue;
}
this.setStyle('selectionColor', v9);
this.setStyle('rollOverColor', v10);
}
_level0.changeColorStyleInChildren(this.styleName, styleProp, newValue);
} else {
if (styleProp == 'backgroundColor' && isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
_level0.notifyStyleChangeInChildren(this.styleName, styleProp, newValue);
}
};
v2.changeTextStyleInChildren = function (styleProp) {
var v4 = getTimer();
var v5;
for (v5 in this) {
var v2 = this[v5];
if (v2._parent == this) {
if (v2.searchKey != v4) {
if (v2.stylecache != undefined) {
delete v2.stylecache.tf;
delete v2.stylecache[styleProp];
}
v2.invalidateStyle(styleProp);
v2.changeTextStyleInChildren(styleProp);
v2.searchKey = v4;
}
}
}
};
v2.changeColorStyleInChildren = function (sheetName, colorStyle, newValue) {
var v6 = getTimer();
var v7;
for (v7 in this) {
var v2 = this[v7];
if (v2._parent == this) {
if (v2.searchKey != v6) {
if (v2.getStyleName() == sheetName || sheetName == undefined || sheetName == '_global') {
if (v2.stylecache != undefined) {
delete v2.stylecache[colorStyle];
}
if (typeof v2._color == 'string') {
if (v2._color == colorStyle) {
var v4 = v2.getStyle(colorStyle);
if (colorStyle == 'color') {
if (this.stylecache.tf.color != undefined) {
this.stylecache.tf.color = v4;
}
}
v2.setColor(v4);
}
} else {
if (v2._color[colorStyle] != undefined) {
if (typeof v2 != 'movieclip') {
v2._parent.invalidateStyle();
} else {
v2.invalidateStyle(colorStyle);
}
}
}
}
v2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
v2.searchKey = v6;
}
}
}
};
v2.notifyStyleChangeInChildren = function (sheetName, styleProp, newValue) {
var v5 = getTimer();
var v6;
for (v6 in this) {
var v2 = this[v6];
if (v2._parent == this) {
if (v2.searchKey != v5) {
if (v2.styleName == sheetName || v2.styleName != undefined && typeof v2.styleName == 'movieclip' || sheetName == undefined) {
if (v2.stylecache != undefined) {
delete v2.stylecache[styleProp];
delete v2.stylecache.tf;
}
delete v2.enabledColor;
v2.invalidateStyle(styleProp);
}
v2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
v2.searchKey = v5;
}
}
}
};
v2.setStyle = function (styleProp, newValue) {
if (this.stylecache != undefined) {
delete this.stylecache[styleProp];
delete this.stylecache.tf;
}
this[styleProp] = newValue;
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
if (styleProp == 'themeColor') {
var v10 = mx.styles.StyleManager.colorNames.haloBlue;
var v9 = mx.styles.StyleManager.colorNames.haloGreen;
var v11 = mx.styles.StyleManager.colorNames.haloOrange;
var v6 = {};
v6[v10] = 12188666;
v6[v9] = 13500353;
v6[v11] = 16766319;
var v7 = {};
v7[v10] = 13958653;
v7[v9] = 14942166;
v7[v11] = 16772787;
var v12 = v6[newValue];
var v13 = v7[newValue];
if (v12 == undefined) {
v12 = newValue;
}
if (v13 == undefined) {
v13 = newValue;
}
this.setStyle('selectionColor', v12);
this.setStyle('rollOverColor', v13);
}
if (typeof this._color == 'string') {
if (this._color == styleProp) {
if (styleProp == 'color') {
if (this.stylecache.tf.color != undefined) {
this.stylecache.tf.color = newValue;
}
}
this.setColor(newValue);
}
} else {
if (this._color[styleProp] != undefined) {
this.invalidateStyle(styleProp);
}
}
this.changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if (styleProp == 'backgroundColor' && isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return undefined;
}
}
this.invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || styleProp == 'styleName') {
var v8;
var v5 = newValue;
if (styleProp == 'styleName') {
v8 = (typeof newValue == 'string') ? _global.styles[newValue] : v5;
v5 = v8.themeColor;
if (v5 != undefined) {
v8.selectionColor = v5;
v8.rollOverColor = v8.selectionColor;
}
}
this.notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
};
v1.enableRunTimeCSS = function () {};
v1.classConstruct = function () {
var v2 = MovieClip.prototype;
var v3 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = v3._setStyle;
v2.changeTextStyleInChildren = v3.changeTextStyleInChildren;
v2.changeColorStyleInChildren = v3.changeColorStyleInChildren;
v2.notifyStyleChangeInChildren = v3.notifyStyleChangeInChildren;
v2.setStyle = v3.setStyle;
_global.ASSetPropFlags(v2, 'changeTextStyleInChildren', 1);
_global.ASSetPropFlags(v2, 'changeColorStyleInChildren', 1);
_global.ASSetPropFlags(v2, 'notifyStyleChangeInChildren', 1);
_global.ASSetPropFlags(v2, 'setStyle', 1);
var v4 = TextField.prototype;
v4.setStyle = v2.setStyle;
v4.changeTextStyleInChildren = v3.changeTextStyleInChildren;
return true;
};
v1.classConstructed = mx.styles.CSSSetStyle.classConstruct();
v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
ASSetPropFlags(mx.styles.CSSSetStyle.prototype, null, 1);
}
#endinitclip
}
movieClip 49 __Packages.mx.core.ext.UIComponentExtensions {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.core) {
_global.mx.core = new Object();
}
if (!_global.mx.core.ext) {
_global.mx.core.ext = new Object();
}
if (!_global.mx.core.ext.UIComponentExtensions) {
var v1 = function () {};
mx.core.ext.UIComponentExtensions = v1;
var v2 = v1.prototype;
v1.Extensions = function () {
if (mx.core.ext.UIComponentExtensions.bExtended == true) {
return true;
}
mx.core.ext.UIComponentExtensions.bExtended = true;
TextField.prototype.setFocus = function () {
Selection.setFocus(this);
};
TextField.prototype.onSetFocus = function (oldFocus) {
if (this.tabEnabled != false) {
if ((this.getFocusManager()).bDrawFocus) {
this.drawFocus(true);
}
}
};
TextField.prototype.onKillFocus = function (oldFocus) {
if (this.tabEnabled != false) {
this.drawFocus(false);
}
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager;
mx.managers.OverlappedWindows.enableOverlappedWindows();
mx.styles.CSSSetStyle.enableRunTimeCSS();
mx.managers.FocusManager.enableFocusManagement();
};
v1.bExtended = false;
v1.UIComponentExtended = mx.core.ext.UIComponentExtensions.Extensions();
v1.UIComponentDependency = mx.core.UIComponent;
v1.FocusManagerDependency = mx.managers.FocusManager;
v1.OverlappedWindowsDependency = mx.managers.OverlappedWindows;
ASSetPropFlags(mx.core.ext.UIComponentExtensions.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
}
movieClip 64 {
}
button 67 {
on (release) {
_root.gotoAndPlay('titleohboy');
}
}
movieClip 68 {
frame 76 {
stop();
}
}
frame 3 {
stop();
}
movieClip 73 {
frame 33 {
stop();
}
}
button 77 {
on (release) {
nextFrame();
}
}
button 82 {
on (release) {
_root.gotoAndPlay('creditkun');
}
}
frame 4 {
stop();
}
movieClip 84 {
frame 20 {
stop();
}
}
button 85 {
on (release) {
nextFrame();
}
}
frame 5 {
_root.snd7.start(0, 10);
}
frame 5 {
stop();
}
movieClip 87 {
frame 17 {
stop();
}
}
movieClip 90 {
frame 17 {
stop();
}
}
frame 6 {
stop();
}
frame 7 {
stop();
}
button 92 {
on (release) {
_root.gotoAndPlay('instructionshelp');
}
}
frame 8 {
stop();
}
movieClip 95 {
frame 20 {
stop();
}
}
frame 9 {
stop();
}
button 102 {
on (release) {
nextFrame();
}
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
movieClip 176 {
frame 17 {
stop();
}
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
button 233 {
on (release) {
_root.gotoAndPlay('instructionmenu');
}
}
button 234 {
on (release) {
_root.gotoAndPlay('mapmenurealdeal');
}
}
frame 68 {
stop();
}
button 243 {
on (release) {
_root.gotoAndPlay('instruction1');
}
}
button 244 {
on (release) {
_root.gotoAndPlay('instruction2');
}
}
button 245 {
on (release) {
_root.gotoAndPlay('instruction3');
}
}
button 246 {
on (release) {
_root.gotoAndPlay('instruction4');
}
}
button 247 {
on (release) {
_root.gotoAndPlay('branwenbedroomnormal');
}
}
frame 69 {
stop();
}
button 249 {
on (release) {
_root.gotoAndPlay('instructionmenu');
}
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
button 259 {
on (release) {
_root.gotoAndPlay('statroom');
}
}
button 264 {
on (release) {
_root.gotoAndPlay('cheatroom');
}
}
button 269 {
on (release) {
_root.gotoAndPlay('bakeroom1');
}
}
button 274 {
on (release) {
_root.gotoAndPlay('instructionmenu');
}
}
button 279 {
on (release) {
day += 1;
gotoAndPlay('daypassmenu');
}
}
button 284 {
on (release) {
_root.gotoAndPlay('inventoryroom');
}
}
button 286 {
on (release) {
if (unlockisa == 0) {
gotoAndPlay('isanomenu2');
} else {
if (isamed < 10) {
gotoAndPlay('isanomenu1');
} else {
if (isamed >= 10) {
gotoAndPlay('isamenurealdeal');
}
}
}
}
}
button 287 {
on (release) {
if (oswenlove == 0) {
gotoAndPlay('ellynmorningmenu0');
}
if (oswenlove == 1) {
gotoAndPlay('ellynmorningmenu1');
}
if (oswenlove == 2) {
gotoAndPlay('ellynmorningmenu0');
}
}
}
button 295 {
on (release) {
_root.snd7.stop();
}
}
button 300 {
on (release) {
_root.snd7.start(0, 20);
}
}
frame 74 {
stop();
}
frame 75 {
stop();
}
instance cheat of movieClip 29 TextInput {
onClipEvent (construct) {
editable = true;
password = false;
text = 'here';
maxChars = null;
restrict = '';
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
}
button 311 {
on (release) {
if (_root.cheat.text == 'introducingthepunchingbag') {
_root.unlockdom = 1;
_root.gotoAndPlay('cheatcodeaccepted');
} else {
if (_root.cheat.text == 'andyoudontevengetakiss') {
_root.unlockisa = 1;
_root.gotoAndPlay('cheatcodeaccepted');
} else {
_root.gotoAndPlay('wrongcheatcode');
}
}
}
}
frame 76 {
stop();
}
button 312 {
on (release) {
_root.gotoAndPlay('cheatroom');
}
}
frame 77 {
stop();
}
frame 78 {
stop();
}
button 320 {
on (release) {
_root.gotoAndPlay('bakeroom2');
}
}
button 321 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (strawberryrecipe >= 1) {
hp -= 5;
hstrawberry += 1;
gotoAndPlay('cakeget');
} else {
gotoAndPlay('norecipebranwentimetobuy');
}
}
}
}
button 322 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (cherryrecipe >= 1) {
hp -= 5;
hcherry += 1;
gotoAndPlay('cakeget');
} else {
gotoAndPlay('norecipebranwentimetobuy');
}
}
}
}
button 323 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (blueberryrecipe >= 1) {
hp -= 5;
hblueberry += 1;
gotoAndPlay('cakeget');
} else {
gotoAndPlay('norecipebranwentimetobuy');
}
}
}
}
button 324 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (chocolaterecipe >= 1) {
hp -= 5;
hchocolate += 1;
gotoAndPlay('cakeget');
} else {
gotoAndPlay('norecipebranwentimetobuy');
}
}
}
}
button 325 {
on (release) {
_root.gotoAndPlay('branwenbedroomnormal');
}
}
frame 79 {
stop();
}
button 329 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (medicinerecipe >= 1) {
hp -= 5;
hmedicine += 1;
gotoAndPlay('cakeget');
} else {
gotoAndPlay('norecipebranwentimetobuy');
}
}
}
}
button 330 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (limerecipe >= 1) {
hp -= 5;
hlime += 1;
gotoAndPlay('cakeget');
} else {
gotoAndPlay('norecipebranwentimetobuy');
}
}
}
}
button 331 {
on (release) {
_root.gotoAndPlay('bakeroom1');
}
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
button 341 {
on (release) {
if (day == 15) {
hp += 30;
gotoAndPlay('oswenconfession');
} else {
if (day < 30) {
hp += 30;
gotoAndPlay('branwenbedroomnormal');
} else {
if (day > 30) {
gotoAndPlay('badbadbadending');
}
}
}
}
}
frame 83 {
stop();
}
button 359 {
on (release) {
_root.gotoAndPlay('inventoryroom2');
}
}
frame 84 {
stop();
}
button 376 {
on (release) {
_root.gotoAndPlay('inventoryroom');
}
}
frame 85 {
stop();
}
button 378 {
on (release) {
_root.gotoAndPlay('inthebeginning');
}
}
frame 86 {
stop();
}
frame 87 {
stop();
}
frame 88 {
stop();
}
button 382 {
on (release) {
_root.gotoAndPlay('mapmenurealdeal');
}
}
frame 89 {
stop();
}
button 387 {
on (release) {
var randomNumber = Math.floor(Math.random() * 7);
if (randomNumber == 0) {
gotoAndPlay('edia1');
}
if (randomNumber == 1) {
gotoAndPlay('edia2');
}
if (randomNumber == 2) {
gotoAndPlay('edia3');
}
if (randomNumber == 3) {
gotoAndPlay('edia4');
}
if (randomNumber == 4) {
gotoAndPlay('edia5');
}
if (randomNumber == 5) {
gotoAndPlay('edia6');
}
if (randomNumber == 6) {
gotoAndPlay('edia7');
}
}
}
button 392 {
on (release) {
var randomNumber = Math.floor(Math.random() * 4);
if (randomNumber == 0) {
gotoAndPlay('branwenjob1');
}
if (randomNumber == 1) {
gotoAndPlay('branwenjob2');
}
if (randomNumber == 2) {
gotoAndPlay('branwenjob3');
}
if (randomNumber == 3) {
gotoAndPlay('branwenjob4');
}
}
}
movieClip 395 {
}
frame 90 {
stop();
}
button 401 {
on (release) {
_root.gotoAndPlay('mapmenurealdeal');
}
}
button 402 {
on (release) {
var randomNumber = Math.floor(Math.random() * 4);
if (randomNumber == 0) {
gotoAndPlay('edia8');
}
if (randomNumber == 1) {
gotoAndPlay('edia9');
}
if (randomNumber == 2) {
gotoAndPlay('edia10');
}
if (randomNumber == 3) {
gotoAndPlay('edia11');
}
}
}
button 403 {
on (release) {
var randomNumber = Math.floor(Math.random() * 4);
if (randomNumber == 0) {
gotoAndPlay('branwenjob5');
}
if (randomNumber == 1) {
gotoAndPlay('branwenjob6');
}
if (randomNumber == 2) {
gotoAndPlay('branwenjob7');
}
if (randomNumber == 3) {
gotoAndPlay('branwenjob8');
}
}
}
frame 91 {
stop();
}
button 408 {
on (release) {
_root.gotoAndPlay('ellynmorningmenu0');
}
}
frame 92 {
stop();
}
frame 93 {
stop();
}
frame 94 {
stop();
}
frame 95 {
stop();
}
frame 96 {
stop();
}
frame 97 {
stop();
}
frame 98 {
stop();
}
button 424 {
on (release) {
_root.gotoAndPlay('ellynmorningmenu1');
}
}
frame 99 {
stop();
}
frame 100 {
stop();
}
frame 101 {
stop();
}
frame 102 {
stop();
}
button 429 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (hp > 0) {
gold += 10;
hp -= 10;
gotoAndPlay('ellynmorningmenu0');
}
}
}
}
frame 103 {
stop();
}
button 432 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (hp > 0) {
gold += 5;
hp -= 10;
gotoAndPlay('ellynmorningmenu0');
}
}
}
}
frame 104 {
stop();
}
button 434 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (hp > 0) {
gold += 10;
hp -= 10;
gotoAndPlay('ellynmorningmenu0');
}
}
}
}
frame 105 {
stop();
}
button 436 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (hp > 0) {
gold += 30;
hp -= 10;
gotoAndPlay('ellynmorningmenu0');
}
}
}
}
frame 107 {
stop();
}
button 438 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (hp > 0) {
gold += 20;
hp -= 10;
gotoAndPlay('ellynmorningmenu1');
}
}
}
}
frame 108 {
stop();
}
button 440 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (hp > 0) {
gold += 40;
hp -= 10;
gotoAndPlay('ellynmorningmenu1');
}
}
}
}
frame 109 {
stop();
}
button 442 {
on (release) {
if (hp <= 0) {
gotoAndPlay('gotobed');
} else {
if (hp > 0) {
gold += 15;
hp -= 10;
gotoAndPlay('ellynmorningmenu1');
}
}
}
}
frame 110 {
stop();
}
frame 111 {
stop();
}
button 452 {
on (release) {
var randomNumber = Math.floor(Math.random() * 4);
if (randomNumber == 0) {
gotoAndPlay('oswenconvo1');
}
if (randomNumber == 1) {
gotoAndPlay('oswenconvo2');
}
if (randomNumber == 2) {
gotoAndPlay('oswenconvo3');
}
if (randomNumber == 3) {
gotoAndPlay('oswenconvo4');
}
}
}
button 457 {
on (release) {
_root.gotoAndPlay('buycatalogue1');
}
}
movieClip 460 {
}
frame 112 {
stop();
}
button 465 {
on (release) {
var randomNumber = Math.floor(Math.random() * 4);
if (randomNumber == 0) {
gotoAndPlay('oswenconvo5');
}
if (randomNumber == 1) {
gotoAndPlay('oswenconvo6');
}
if (randomNumber == 2) {
gotoAndPlay('oswenconvo7');
}
if (randomNumber == 3) {
gotoAndPlay('oswenconvo8');
}
}
}
frame 113 {
stop();
}
button 471 {
on (release) {
var randomNumber = Math.floor(Math.random() * 4);
if (randomNumber == 0) {
gotoAndPlay('oswenconvo9');
}
if (randomNumber == 1) {
gotoAndPlay('oswenconvo10');
}
if (randomNumber == 2) {
gotoAndPlay('oswenconvo11');
}
if (randomNumber == 3) {
gotoAndPlay('oswenconvo12');
}
}
}
button 472 {
on (release) {
_root.gotoAndPlay('freeitemcatalogue1');
}
}
frame 114 {
stop();
}
button 479 {
on (release) {
_root.gotoAndPlay('oswenmomrning0');
}
}
frame 115 {
stop();
}
frame 116 {
stop();
}
frame 117 {
stop();
}
frame 119 {
stop();
}
button 492 {
on (release) {
_root.gotoAndPlay('oswenmomrning1');
}
}
frame 120 {
stop();
}
frame 121 {
stop();
}
frame 122 {
stop();
}
frame 124 {
stop();
}
button 503 {
on (release) {
_root.gotoAndPlay('oswenmomrning2');
}
}
frame 125 {
stop();
}
frame 126 {
stop();
}
frame 127 {
stop();
}
frame 129 {
stop();
}
frame 130 {
stop();
}
frame 131 {
stop();
}
frame 132 {
stop();
}
frame 133 {
stop();
}
frame 134 {
stop();
}
frame 135 {
stop();
}
button 520 {
on (release) {
gold -= 30;
gotoAndPlay('oswenmomrning2');
}
}
frame 136 {
stop();
}
button 522 {
on (release) {
if (allcakeforeverfree == 1) {
cherry += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 30) {
gold -= 30;
cherry += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 30) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 524 {
on (release) {
if (allcakeforeverfree == 1) {
strawberry += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 30) {
gold -= 30;
strawberry += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 30) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 525 {
on (release) {
if (allcakeforeverfree == 1) {
chocolate += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 30) {
gold -= 30;
chocolate += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 30) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 526 {
on (release) {
if (allcakeforeverfree == 1) {
blueberry += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 30) {
gold -= 30;
blueberry += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 30) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 527 {
on (release) {
if (allcakeforeverfree == 1) {
chocolate += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 30) {
gold -= 30;
lime += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 30) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 528 {
on (release) {
if (allcakeforeverfree == 1) {
medicine += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 30) {
gold -= 30;
medicine += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 30) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 529 {
on (release) {
if (oswenlove == 0) {
gotoAndPlay('oswenmomrning0');
}
if (oswenlove == 1) {
gotoAndPlay('oswenmomrning1');
}
if (oswenlove == 2) {
gotoAndPlay('oswenmomrning2');
}
}
}
button 530 {
on (release) {
_root.gotoAndPlay('buycatalogue2');
}
}
frame 137 {
stop();
}
button 532 {
on (release) {
if (allcakeforeverfree == 1) {
bluberryrecipe += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 50) {
gold -= 50;
bluberryrecipe += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 50) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 533 {
on (release) {
if (allcakeforeverfree == 1) {
chocolaterecipe += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 50) {
gold -= 50;
chocolaterecipe += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 50) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 534 {
on (release) {
if (allcakeforeverfree == 1) {
limerecipe += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 50) {
gold -= 50;
limerecipe += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 50) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 535 {
on (release) {
if (allcakeforeverfree == 1) {
medicinerecipe += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 50) {
gold -= 50;
medicinerecipe += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 50) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 536 {
on (release) {
if (allcakeforeverfree == 1) {
cherryrecipe += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 50) {
gold -= 50;
cherryrecipe += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 50) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 537 {
on (release) {
if (allcakeforeverfree == 1) {
strawberryrecipe += 1;
gotoAndPlay('weddingteaselol');
} else {
if (gold >= 50) {
gold -= 50;
strawberryrecipe += 1;
gotoAndPlay('thankyouforbuying');
} else {
if (gold < 50) {
gotoAndPlay('nomoneynocake');
}
}
}
}
}
button 538 {
on (release) {
_root.gotoAndPlay('buycatalogue1');
}
}
frame 140 {
stop();
}
button 540 {
on (release) {
cherry += 1;
gotoAndPlay('freecakesbroken');
}
}
button 541 {
on (release) {
strawberry += 1;
gotoAndPlay('freecakesbroken');
}
}
button 542 {
on (release) {
chocolate += 1;
gotoAndPlay('freecakesbroken');
}
}
button 543 {
on (release) {
blueberry += 1;
gotoAndPlay('freecakesbroken');
}
}
button 544 {
on (release) {
lime += 1;
gotoAndPlay('freecakesbroken');
}
}
button 545 {
on (release) {
medicine += 1;
gotoAndPlay('freecakesbroken');
}
}
button 546 {
on (release) {
_root.gotoAndPlay('freeitemcatalogue2');
}
}
frame 141 {
stop();
}
button 548 {
on (release) {
blueberryrecipe += 1;
gotoAndPlay('freecakesbroken');
}
}
button 549 {
on (release) {
chocolaterecipe += 1;
gotoAndPlay('freecakesbroken');
}
}
button 550 {
on (release) {
limerecipe += 1;
gotoAndPlay('freecakesbroken');
}
}
button 551 {
on (release) {
medicinerecipe += 1;
gotoAndPlay('freecakesbroken');
}
}
button 552 {
on (release) {
cherryrecipe += 1;
gotoAndPlay('freecakesbroken');
}
}
button 553 {
on (release) {
strawberryrecipe += 1;
gotoAndPlay('freecakesbroken');
}
}
button 554 {
on (release) {
_root.gotoAndPlay('freeitemcatalogue1');
}
}
frame 142 {
stop();
}
frame 144 {
stop();
}
frame 145 {
stop();
}
frame 146 {
stop();
}
frame 147 {
stop();
}
frame 148 {
stop();
}
frame 149 {
stop();
}
frame 150 {
stop();
}
frame 151 {
stop();
}
frame 152 {
stop();
}
frame 153 {
stop();
}
frame 154 {
stop();
}
frame 155 {
stop();
}
frame 156 {
stop();
}
frame 157 {
stop();
}
frame 158 {
stop();
}
frame 159 {
stop();
}
frame 160 {
stop();
}
frame 161 {
stop();
}
frame 162 {
stop();
}
button 597 {
on (release) {
oswenlove += 1;
gotoAndPlay('oswenget');
}
}
button 598 {
on (release) {
oswenlove += 2;
gotoAndPlay('oswenlose');
}
}
frame 163 {
stop();
}
frame 164 {
stop();
}
frame 165 {
stop();
}
frame 166 {
stop();
}
button 608 {
on (release) {
_root.gotoAndPlay('whatisdoneisdone');
}
}
frame 168 {
stop();
}
frame 169 {
stop();
}
frame 170 {
stop();
}
frame 171 {
stop();
}
frame 172 {
stop();
}
frame 174 {
stop();
}
button 623 {
on (release) {
if (oswenlove == 0) {
gotoAndPlay('ellynmorningmenu0');
} else {
if (oswenlove == 1) {
gotoAndPlay('ellynmorningmenu1');
} else {
if (oswenlove == 2) {
gotoAndPlay('ellynmorningmenu0');
}
}
}
}
}
button 627 {
on (release) {
_root.gotoAndPlay('cantgoinpalacenope');
}
}
button 631 {
on (release) {
if (unlockdom <= 0) {
gotoAndPlay('domnomenu1');
} else {
if (unlockisa >= 1) {
gotoAndPlay('fakaroo');
} else {
if (ivexp < 50) {
gotoAndPlay('domnomenu1');
} else {
if (ivexp >= 50) {
gotoAndPlay('dommenurealdeal');
}
}
}
}
}
}
button 635 {
on (release) {
if (unlockisa >= 1) {
gotoAndPlay('noivanmenu');
} else {
if (doexp >= 170) {
gotoAndPlay('noivanmenu');
} else {
if (ivexp >= 150) {
gotoAndPlay('ivanmenurealdeal2');
} else {
if (ivexp < 150) {
gotoAndPlay('ivanmenurealdeal1');
}
}
}
}
}
}
button 639 {
on (release) {
if (oswenlove == 0) {
gotoAndPlay('oswenmomrning0');
} else {
if (oswenlove == 1) {
gotoAndPlay('oswenmomrning1');
} else {
if (oswenlove == 2) {
gotoAndPlay('oswenmomrning2');
}
}
}
}
}
movieClip 642 {
}
movieClip 645 {
}
frame 175 {
stop();
}
button 654 {
on (release) {
_root.gotoAndPlay('sleepdom');
}
}
button 655 {
on (release) {
_root.gotoAndPlay('sleepgar');
}
}
button 658 {
on (release) {
_root.gotoAndPlay('mapmenurealdeal');
}
}
frame 177 {
stop();
}
button 667 {
on (release) {
if (hp < 10) {
gotoAndPlay('almostdead');
} else {
if (ivexp == 0) {
gotoAndPlay('IVD1');
} else {
if (ivexp == 10) {
gotoAndPlay('IVD2');
} else {
if (ivexp == 20) {
gotoAndPlay('IVD3');
} else {
if (ivexp == 30) {
gotoAndPlay('IVD4');
} else {
if (ivexp == 40) {
gotoAndPlay('IVD5');
} else {
if (ivexp == 50) {
gotoAndPlay('IVD6');
} else {
if (ivexp == 60) {
gotoAndPlay('IVD7');
} else {
if (ivexp == 70) {
gotoAndPlay('IVD8');
} else {
if (ivexp == 80) {
gotoAndPlay('IVD9');
} else {
if (ivexp == 90) {
gotoAndPlay('IVD10');
} else {
if (ivexp == 100) {
gotoAndPlay('IVD11');
} else {
if (ivexp == 110) {
gotoAndPlay('IVD12');
} else {
if (ivexp == 120) {
gotoAndPlay('IVD13');
} else {
if (ivexp == 130) {
gotoAndPlay('IVD14');
} else {
if (ivexp == 140) {
gotoAndPlay('IVD15');
} else {
if (ivexp == 150) {
gotoAndPlay('IVD16');
} else {
if (ivexp == 160) {
gotoAndPlay('IVD17');
} else {
if (ivexp == 170) {
gotoAndPlay('IVD18');
} else {
if (ivexp == 180) {
gotoAndPlay('IVD19');
} else {
if (ivexp == 190) {
gotoAndPlay('IVD20');
} else {
if (ivexp == 200) {
gotoAndPlay('IVD21');
} else {
if (ivexp == 210) {
gotoAndPlay('IVD22');
} else {
if (ivexp == 220) {
gotoAndPlay('IVD23');
} else {
if (ivexp == 230) {
gotoAndPlay('IVD24');
} else {
if (ivexp == 240) {
gotoAndPlay('IVD25');
} else {
if (ivexp == 250) {
gotoAndPlay('IVD26');
} else {
if (ivexp == 260) {
gotoAndPlay('IVD27');
} else {
if (ivexp == 270) {
gotoAndPlay('IVD28');
} else {
if (ivexp == 280) {
gotoAndPlay('IVD29');
} else {
if (ivexp == 290) {
gotoAndPlay('IVD30');
} else {
if (ivexp == 300) {
gotoAndPlay('IVD31');
} else {
if (ivexp == 310) {
gotoAndPlay('IVD32');
} else {
if (ivexp == 320) {
gotoAndPlay('IVD33');
} else {
if (ivexp == 330) {
gotoAndPlay('IVD34');
} else {
if (ivexp == 340) {
gotoAndPlay('IVD35');
} else {
if (ivexp == 350) {
gotoAndPlay('IVD36');
} else {
if (ivexp == 360) {
gotoAndPlay('IVD37');
} else {
if (ivexp == 370) {
gotoAndPlay('IVD38');
} else {
if (ivexp == 380) {
gotoAndPlay('IVD39');
} else {
if (ivexp == 390) {
gotoAndPlay('IVD401');
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 672 {
on (release) {
_root.gotoAndPlay('IVnogift');
}
}
movieClip 677 {
}
frame 178 {
stop();
}
button 683 {
on (release) {
_root.gotoAndPlay('mapmenurealdeal');
}
}
frame 179 {
stop();
}
button 685 {
on (release) {
if (hp < 10) {
gotoAndPlay('almostdead');
} else {
if (ivexp == 0) {
gotoAndPlay('IVD1');
} else {
if (ivexp == 10) {
gotoAndPlay('IVD2');
} else {
if (ivexp == 20) {
gotoAndPlay('IVD3');
} else {
if (ivexp == 30) {
gotoAndPlay('IVD4');
} else {
if (ivexp == 40) {
gotoAndPlay('IVD5');
} else {
if (ivexp == 50) {
gotoAndPlay('IVD6');
} else {
if (ivexp == 60) {
gotoAndPlay('IVD7');
} else {
if (ivexp == 70) {
gotoAndPlay('IVD8');
} else {
if (ivexp == 80) {
gotoAndPlay('IVD9');
} else {
if (ivexp == 90) {
gotoAndPlay('IVD10');
} else {
if (ivexp == 100) {
gotoAndPlay('IVD11');
} else {
if (ivexp == 110) {
gotoAndPlay('IVD12');
} else {
if (ivexp == 120) {
gotoAndPlay('IVD13');
} else {
if (ivexp == 130) {
gotoAndPlay('IVD14');
} else {
if (ivexp == 140) {
gotoAndPlay('IVD15');
} else {
if (ivexp == 150) {
gotoAndPlay('IVD16');
} else {
if (ivexp == 160) {
gotoAndPlay('IVD17');
} else {
if (ivexp == 170) {
gotoAndPlay('IVD18');
} else {
if (ivexp == 180) {
gotoAndPlay('IVD19');
} else {
if (ivexp == 190) {
gotoAndPlay('IVD20');
} else {
if (ivexp == 200) {
gotoAndPlay('IVD21');
} else {
if (ivexp == 210) {
gotoAndPlay('IVD22');
} else {
if (ivexp == 220) {
gotoAndPlay('IVD23');
} else {
if (ivexp == 230) {
gotoAndPlay('IVD24');
} else {
if (ivexp == 240) {
gotoAndPlay('IVD25');
} else {
if (ivexp == 250) {
gotoAndPlay('IVD26');
} else {
if (ivexp == 260) {
gotoAndPlay('IVD27');
} else {
if (ivexp == 270) {
gotoAndPlay('IVD28');
} else {
if (ivexp == 280) {
gotoAndPlay('IVD29');
} else {
if (ivexp == 290) {
gotoAndPlay('IVD30');
} else {
if (ivexp == 300) {
gotoAndPlay('IVD31');
} else {
if (ivexp == 310) {
gotoAndPlay('IVD32');
} else {
if (ivexp == 320) {
gotoAndPlay('IVD33');
} else {
if (ivexp == 330) {
gotoAndPlay('IVD34');
} else {
if (ivexp == 340) {
gotoAndPlay('IVD35');
} else {
if (ivexp == 350) {
gotoAndPlay('IVD36');
} else {
if (ivexp == 360) {
gotoAndPlay('IVD37');
} else {
if (ivexp == 370) {
gotoAndPlay('IVD38');
} else {
if (ivexp == 380) {
gotoAndPlay('IVD39');
} else {
if (ivexp == 390) {
gotoAndPlay('IVD401');
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 686 {
on (release) {
_root.gotoAndPlay('ivagiftmenu1');
}
}
frame 180 {
stop();
}
button 694 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD1g');
}
}
button 695 {
on (release) {
hp -= 10;
gotoAndPlay('IVD1b');
}
}
frame 181 {
stop();
}
button 700 {
on (release) {
_root.gotoAndPlay('ivanmenurealdeal1');
}
}
frame 182 {
stop();
}
frame 183 {
stop();
}
button 706 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD2g');
}
}
button 707 {
on (release) {
hp -= 10;
gotoAndPlay('IVD2b');
}
}
frame 184 {
stop();
}
frame 185 {
stop();
}
frame 186 {
stop();
}
button 719 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD3g');
}
}
button 720 {
on (release) {
hp -= 10;
gotoAndPlay('IVD3b');
}
}
frame 187 {
stop();
}
frame 188 {
stop();
}
frame 189 {
stop();
}
button 730 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD4g');
}
}
button 731 {
on (release) {
hp -= 10;
gotoAndPlay('IVD4b');
}
}
frame 190 {
stop();
}
frame 191 {
stop();
}
frame 192 {
stop();
}
button 741 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD5g');
}
}
button 742 {
on (release) {
hp -= 10;
gotoAndPlay('IVD5b');
}
}
frame 193 {
stop();
}
button 747 {
on (release) {
_root.gotoAndPlay('meetdom');
}
}
frame 194 {
stop();
}
frame 195 {
stop();
}
button 755 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD6g');
}
}
button 756 {
on (release) {
hp -= 10;
gotoAndPlay('IVD6b');
}
}
frame 196 {
stop();
}
button 759 {
on (release) {
blueberry += 1;
_root.gotoAndPlay('ivanmenurealdeal1');
}
}
frame 197 {
stop();
}
frame 198 {
stop();
}
button 763 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD7g');
}
}
button 764 {
on (release) {
hp -= 10;
gotoAndPlay('IVD7b');
}
}
frame 199 {
stop();
}
frame 200 {
stop();
}
frame 201 {
stop();
}
button 770 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD8g');
}
}
button 771 {
on (release) {
hp -= 10;
gotoAndPlay('IVD8b');
}
}
frame 202 {
stop();
}
frame 203 {
stop();
}
frame 204 {
stop();
}
button 781 {
on (release) {
hp -= 10;
gotoAndPlay('IVD9b');
}
}
button 782 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD9g');
}
}
frame 205 {
stop();
}
frame 206 {
stop();
}
frame 207 {
stop();
}
button 792 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD10g');
}
}
button 793 {
on (release) {
hp -= 10;
gotoAndPlay('IVD10b');
}
}
frame 208 {
stop();
}
frame 209 {
stop();
}
frame 210 {
stop();
}
button 804 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD11g');
}
}
button 805 {
on (release) {
hp -= 10;
gotoAndPlay('IVD11b');
}
}
frame 211 {
stop();
}
frame 212 {
stop();
}
frame 213 {
stop();
}
button 815 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD12g');
}
}
button 816 {
on (release) {
hp -= 10;
gotoAndPlay('IVD12b');
}
}
frame 214 {
stop();
}
frame 215 {
stop();
}
frame 216 {
stop();
}
button 822 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD13g');
}
}
button 823 {
on (release) {
hp -= 10;
gotoAndPlay('IVD13b');
}
}
frame 217 {
stop();
}
frame 218 {
stop();
}
frame 219 {
stop();
}
button 831 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD14g');
}
}
button 832 {
on (release) {
hp -= 10;
gotoAndPlay('IVD14b');
}
}
frame 220 {
stop();
}
frame 221 {
stop();
}
frame 222 {
stop();
}
button 840 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD15g');
}
}
button 841 {
on (release) {
hp -= 10;
gotoAndPlay('IVD15b');
}
}
frame 223 {
stop();
}
frame 224 {
stop();
}
button 848 {
on (release) {
hp -= 10;
gotoAndPlay('IVD16b');
}
}
button 849 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD16g');
}
}
frame 225 {
stop();
}
button 854 {
on (release) {
_root.gotoAndPlay('ivanmenurealdeal2');
}
}
frame 226 {
stop();
}
frame 227 {
stop();
}
button 862 {
on (release) {
hp -= 10;
gotoAndPlay('IVD17b');
}
}
button 863 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD17g');
}
}
frame 228 {
stop();
}
frame 229 {
stop();
}
frame 230 {
stop();
}
button 869 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD18g');
}
}
button 870 {
on (release) {
hp -= 10;
gotoAndPlay('IVD18b');
}
}
frame 231 {
stop();
}
frame 232 {
stop();
}
frame 233 {
stop();
}
button 876 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD19g');
}
}
button 877 {
on (release) {
hp -= 10;
gotoAndPlay('IVD19b');
}
}
frame 234 {
stop();
}
frame 235 {
stop();
}
frame 236 {
stop();
}
button 885 {
on (release) {
hp -= 10;
gotoAndPlay('IVD20b');
}
}
button 886 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD20g');
}
}
frame 237 {
stop();
}
frame 238 {
stop();
}
frame 239 {
stop();
}
button 892 {
on (release) {
hp -= 10;
gotoAndPlay('IVD21b');
}
}
button 893 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD21g');
}
}
frame 240 {
stop();
}
frame 241 {
stop();
}
frame 242 {
stop();
}
button 901 {
on (release) {
hp -= 10;
gotoAndPlay('IVD22b');
}
}
button 902 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD22g');
}
}
frame 243 {
stop();
}
frame 244 {
stop();
}
frame 245 {
stop();
}
button 908 {
on (release) {
hp -= 10;
gotoAndPlay('IVD23b');
}
}
button 909 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD23g');
}
}
frame 246 {
stop();
}
button 912 {
on (release) {
hmedicine += 1;
_root.gotoAndPlay('ivanmenurealdeal2');
}
}
frame 247 {
stop();
}
frame 248 {
stop();
}
button 918 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD24g');
}
}
button 919 {
on (release) {
hp -= 10;
gotoAndPlay('IVD24b');
}
}
frame 249 {
stop();
}
frame 250 {
stop();
}
frame 251 {
stop();
}
button 927 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD25g');
}
}
button 928 {
on (release) {
hp -= 10;
gotoAndPlay('IVD25b');
}
}
frame 252 {
stop();
}
frame 253 {
stop();
}
frame 254 {
stop();
}
button 934 {
on (release) {
if (lime >= 1) {
ivexp += 10;
hp -= 10;
lime -= 1;
gotoAndPlay('IVD26g');
} else {
if (hlime >= 1) {
ivexp += 10;
hp -= 10;
hlime -= 1;
gotoAndPlay('IVD26g');
} else {
if (lime < 1) {
hp -= 10;
gotoAndPlay('IVD26nocake');
}
}
}
}
}
button 935 {
on (release) {
hp -= 10;
gotoAndPlay('IVD26b');
}
}
frame 255 {
stop();
}
frame 256 {
stop();
}
frame 257 {
stop();
}
frame 258 {
stop();
}
button 942 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD27g');
}
}
button 943 {
on (release) {
hp -= 10;
gotoAndPlay('IVD27b');
}
}
frame 259 {
stop();
}
frame 260 {
stop();
}
frame 261 {
stop();
}
button 952 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD28g');
}
}
button 953 {
on (release) {
hp -= 10;
gotoAndPlay('IVD28b');
}
}
frame 262 {
stop();
}
frame 263 {
stop();
}
frame 264 {
stop();
}
button 961 {
on (release) {
hp -= 10;
gotoAndPlay('IVD29b');
}
}
button 962 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD29g');
}
}
frame 265 {
stop();
}
frame 266 {
stop();
}
button 966 {
on (release) {
hp -= 10;
gotoAndPlay('IVD30b');
}
}
button 967 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD30g');
}
}
frame 267 {
stop();
}
frame 268 {
stop();
}
frame 269 {
stop();
}
button 977 {
on (release) {
hp -= 10;
gotoAndPlay('IVD31b');
}
}
button 978 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD31g');
}
}
frame 270 {
stop();
}
frame 271 {
stop();
}
button 981 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD32g');
}
}
button 982 {
on (release) {
hp -= 10;
gotoAndPlay('IVD32b');
}
}
frame 272 {
stop();
}
frame 273 {
stop();
}
frame 274 {
stop();
}
button 988 {
on (release) {
hp -= 10;
gotoAndPlay('IVD33b');
}
}
button 989 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD33g');
}
}
frame 275 {
stop();
}
frame 276 {
stop();
}
frame 277 {
stop();
}
button 995 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD34g');
}
}
button 996 {
on (release) {
hp -= 10;
gotoAndPlay('IVD34b');
}
}
frame 278 {
stop();
}
frame 279 {
stop();
}
frame 280 {
stop();
}
button 1004 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD35g');
}
}
button 1005 {
on (release) {
hp -= 10;
gotoAndPlay('IVD35b');
}
}
frame 281 {
stop();
}
frame 282 {
stop();
}
frame 283 {
stop();
}
button 1013 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD36g');
}
}
button 1014 {
on (release) {
hp -= 10;
gotoAndPlay('IVD36b');
}
}
frame 284 {
stop();
}
movieClip 1016 {
frame 31 {
stop();
}
}
button 1017 {
on (release) {
_root.gotoAndPlay('ivanmenurealdeal2');
}
}
frame 285 {
stop();
}
frame 286 {
stop();
}
button 1021 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD37g');
}
}
button 1022 {
on (release) {
hp -= 10;
gotoAndPlay('IVD37b');
}
}
frame 287 {
stop();
}
frame 288 {
stop();
}
button 1028 {
on (release) {
allcakeforeverfree = 1;
gotoAndPlay('ivanmenurealdeal2');
}
}
frame 289 {
stop();
}
button 1031 {
on (release) {
hp -= 10;
gotoAndPlay('IVD38b');
}
}
button 1032 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD38g');
}
}
frame 290 {
stop();
}
frame 291 {
stop();
}
frame 292 {
stop();
}
button 1038 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD39b');
}
}
button 1039 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD39g');
}
}
frame 293 {
stop();
}
frame 294 {
stop();
}
frame 295 {
stop();
}
frame 296 {
stop();
}
button 1048 {
on (release) {
hp -= 10;
gotoAndPlay('IVD40b');
}
}
button 1049 {
on (release) {
ivexp += 10;
hp -= 10;
gotoAndPlay('IVD40g');
}
}
frame 297 {
stop();
}
button 1052 {
on (release) {
_root.gotoAndPlay('ivfinalroute');
}
}
frame 298 {
stop();
}
button 1054 {
on (release) {
hp -= 10;
gotoAndPlay('CD2g');
}
}
frame 300 {
stop();
}
frame 301 {
stop();
}
frame 302 {
stop();
}
frame 303 {
stop();
}
frame 304 {
stop();
}
frame 305 {
stop();
}
frame 306 {
stop();
}
frame 307 {
stop();
}
frame 308 {
stop();
}
frame 309 {
stop();
}
button 1069 {
on (release) {
if (strawberry >= 1) {
strawberry -= 1;
gotoAndPlay('IVGT2');
} else {
if (hstrawberry >= 1) {
hstrawberry -= 1;
gotoAndPlay('IVGT2');
} else {
if (strawberry < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
}
button 1070 {
on (release) {
if (cherry >= 1) {
cherry -= 1;
gotoAndPlay('IVGT3');
} else {
if (hcherry >= 1) {
hcherry -= 1;
gotoAndPlay('IVGT3');
} else {
if (cherry < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
}
button 1071 {
on (release) {
if (blueberry >= 1) {
blueberry -= 1;
gotoAndPlay('IVGT1');
} else {
if (hblueberry >= 1) {
hblueberry -= 1;
gotoAndPlay('IVGT1');
} else {
if (blueberry < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
}
button 1072 {
on (release) {
if (chocolate >= 1) {
chocolate -= 1;
gotoAndPlay('IVGT4');
} else {
if (hchocolate >= 1) {
hchocolate -= 1;
gotoAndPlay('IVGT4');
} else {
if (chocolate < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
}
frame 310 {
stop();
}
button 1076 {
on (release) {
_root.gotoAndPlay('ivagiftmenu1');
}
}
button 1077 {
on (release) {
if (medicine < 1) {
medicine -= 1;
gotoAndPlay('IVGT6');
} else {
if (hmedicine >= 1) {
hmedicine -= 1;
gotoAndPlay('IVGT6');
} else {
if (medicine < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
}
button 1078 {
on (release) {
if (blueberryrecipe >= 1) {
blueberryrecipe -= 1;
gotoAndPlay('IVGT7');
} else {
if (blueberryrecipe < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
button 1079 {
on (release) {
if (lime >= 1) {
lime -= 1;
gotoAndPlay('IVGT5');
} else {
if (hlime >= 1) {
hlime -= 1;
gotoAndPlay('IVGT5');
} else {
if (lime < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
}
button 1080 {
on (release) {
if (strawberryrecipe >= 1) {
strawberryrecipe -= 1;
gotoAndPlay('IVGT7');
} else {
if (strawberryrecipe < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
frame 311 {
stop();
}
button 1086 {
on (release) {
if (cherryrecipe >= 1) {
cherryrecipe -= 1;
gotoAndPlay('IVGT7');
} else {
if (cherryrecipe < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
button 1087 {
on (release) {
if (limerecipe >= 1) {
limerecipe -= 1;
gotoAndPlay('IVGT7');
} else {
if (limerecipe < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
button 1088 {
on (release) {
if (chocolaterecipe >= 1) {
chocolaterecipe -= 1;
gotoAndPlay('IVGT7');
} else {
if (chocolaterecipe < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
button 1089 {
on (release) {
if (medicinerecipe >= 1) {
medicinerecipe -= 1;
gotoAndPlay('IVGT7');
} else {
if (medicinerecipe < 1) {
gotoAndPlay('nogiftforivan');
}
}
}
}
button 1090 {
on (release) {
_root.gotoAndPlay('ivagiftmenu2');
}
}
frame 313 {
stop();
}
frame 314 {
stop();
}
movieClip 1094 {
frame 17 {
stop();
}
}
frame 315 {
stop();
}
frame 316 {
stop();
}
frame 317 {
stop();
}
frame 318 {
stop();
}
frame 319 {
stop();
}
frame 320 {
stop();
}
frame 321 {
stop();
}
frame 322 {
stop();
}
frame 323 {
stopAllSounds();
}
frame 323 {
stop();
}
frame 324 {
stop();
}
frame 325 {
stop();
}
frame 326 {
stop();
}
frame 327 {
stop();
}
frame 328 {
stop();
}
frame 329 {
stop();
}
frame 330 {
stop();
}
frame 331 {
stop();
}
frame 332 {
stop();
}
frame 333 {
stop();
}
frame 334 {
stop();
}
frame 335 {
stop();
}
frame 336 {
stop();
}
frame 337 {
_root.snd7.start(0, 10);
}
frame 337 {
stop();
}
frame 338 {
stop();
}
frame 339 {
stop();
}
frame 340 {
stop();
}
frame 341 {
stop();
}
frame 342 {
stop();
}
frame 343 {
stop();
}
frame 344 {
stop();
}
movieClip 1167 {
frame 9 {
stop();
}
}
frame 345 {
stopAllSounds();
}
frame 345 {
stop();
}
frame 346 {
stop();
}
frame 347 {
stop();
}
frame 348 {
stop();
}
frame 349 {
stop();
}
frame 350 {
stop();
}
frame 351 {
stop();
}
movieClip 1182 {
frame 17 {
stop();
}
}
frame 352 {
_root.snd.start(0, 10);
}
frame 352 {
stop();
}
frame 353 {
stop();
}
frame 354 {
stop();
}
frame 355 {
stop();
}
frame 356 {
stop();
}
frame 357 {
stop();
}
frame 358 {
stop();
}
frame 359 {
stop();
}
frame 360 {
stop();
}
frame 361 {
stop();
}
frame 362 {
stop();
}
frame 363 {
stop();
}
frame 364 {
stop();
}
frame 365 {
stop();
}
frame 366 {
stop();
}
frame 367 {
stopAllSounds();
}
frame 367 {
stop();
}
frame 368 {
_root.snd7.start(0, 10);
}
frame 368 {
stop();
}
movieClip 1213 {
frame 10 {
stop();
}
}
frame 369 {
stop();
}
frame 370 {
stop();
}
frame 371 {
stop();
}
frame 372 {
stopAllSounds();
}
frame 372 {
stop();
}
frame 373 {
stop();
}
frame 374 {
_root.snd7.start(0, 10);
}
frame 374 {
stop();
}
movieClip 1231 {
frame 10 {
stop();
}
}
frame 375 {
stop();
}
frame 376 {
stop();
}
frame 377 {
stop();
}
frame 378 {
stop();
}
frame 379 {
stop();
}
frame 380 {
stop();
}
frame 381 {
stop();
}
frame 382 {
stopAllSounds();
}
frame 382 {
stop();
}
frame 383 {
_root.snd.start(0, 10);
}
frame 383 {
stop();
}
frame 384 {
stop();
}
frame 385 {
stop();
}
frame 386 {
stop();
}
frame 387 {
stop();
}
frame 388 {
stop();
}
frame 389 {
stop();
}
frame 390 {
stop();
}
frame 391 {
stop();
}
frame 392 {
stop();
}
frame 393 {
stop();
}
frame 394 {
stop();
}
frame 395 {
stop();
}
frame 396 {
stop();
}
frame 397 {
stop();
}
frame 398 {
stop();
}
frame 399 {
stop();
}
frame 400 {
stop();
}
frame 401 {
stop();
}
frame 402 {
stop();
}
movieClip 1282 {
frame 17 {
stop();
}
}
frame 403 {
stop();
}
frame 404 {
stop();
}
frame 405 {
stop();
}
frame 406 {
stop();
}
frame 407 {
stop();
}
frame 408 {
stop();
}
frame 409 {
stop();
}
frame 410 {
stop();
}
frame 411 {
stop();
}
frame 412 {
stop();
}
frame 413 {
stop();
}
frame 414 {
stop();
}
frame 415 {
stop();
}
frame 416 {
stop();
}
frame 417 {
stop();
}
frame 418 {
stop();
}
frame 419 {
stop();
}
frame 420 {
stop();
}
frame 421 {
stop();
}
frame 422 {
stop();
}
frame 423 {
stop();
}
frame 424 {
stopAllSounds();
}
frame 424 {
stop();
}
frame 425 {
_root.snd7.start(0, 10);
}
frame 425 {
stop();
}
movieClip 1319 {
frame 10 {
stop();
}
}
frame 426 {
stop();
}
frame 427 {
stop();
}
frame 428 {
stop();
}
frame 429 {
stop();
}
frame 430 {
stop();
}
frame 431 {
stopAllSounds();
}
frame 431 {
stop();
}
frame 432 {
_root.snd.start(0, 10);
}
frame 432 {
stop();
}
movieClip 1329 {
frame 17 {
stop();
}
}
frame 433 {
stop();
}
frame 434 {
stop();
}
movieClip 1331 {
frame 17 {
stop();
}
}
frame 435 {
stop();
}
frame 436 {
stop();
}
frame 437 {
stop();
}
frame 438 {
stop();
}
frame 439 {
stop();
}
frame 440 {
stop();
}
frame 441 {
stop();
}
frame 442 {
stop();
}
frame 443 {
stop();
}
frame 444 {
stop();
}
frame 445 {
stop();
}
frame 446 {
stop();
}
movieClip 1353 {
frame 17 {
stop();
}
}
frame 447 {
stop();
}
frame 448 {
stop();
}
frame 449 {
stop();
}
frame 450 {
stop();
}
frame 451 {
stop();
}
frame 452 {
stop();
}
frame 453 {
stop();
}
frame 454 {
stop();
}
frame 455 {
stop();
}
frame 456 {
stop();
}
frame 457 {
stop();
}
frame 458 {
stop();
}
frame 459 {
stop();
}
frame 460 {
stop();
}
frame 461 {
stop();
}
frame 462 {
stop();
}
frame 463 {
stop();
}
frame 464 {
stop();
}
frame 465 {
stop();
}
frame 466 {
stop();
}
frame 467 {
stop();
}
frame 468 {
stop();
}
frame 469 {
stopAllSounds();
}
frame 469 {
stop();
}
frame 470 {
stop();
}
frame 471 {
stop();
}
frame 472 {
stop();
}
frame 473 {
stop();
}
frame 474 {
stop();
}
frame 475 {
stop();
}
frame 476 {
stop();
}
frame 477 {
stop();
}
frame 478 {
stop();
}
frame 479 {
stop();
}
frame 480 {
stop();
}
frame 481 {
stop();
}
frame 482 {
stop();
}
frame 483 {
stop();
}
frame 484 {
stop();
}
frame 485 {
stop();
}
movieClip 1443 {
frame 10 {
stop();
}
}
frame 486 {
stop();
}
movieClip 1445 {
frame 10 {
stop();
}
}
frame 487 {
stop();
}
frame 488 {
stop();
}
frame 489 {
_root.snd6.start(0, 10);
}
frame 489 {
stop();
}
movieClip 1447 {
frame 17 {
stop();
}
}
frame 490 {
stop();
}
frame 491 {
stop();
}
frame 492 {
stop();
}
frame 493 {
stop();
}
frame 494 {
stop();
}
frame 495 {
stop();
}
frame 496 {
stop();
}
frame 497 {
stop();
}
frame 498 {
stop();
}
frame 499 {
stop();
}
frame 500 {
stop();
}
frame 501 {
stop();
}
frame 502 {
stop();
}
frame 503 {
stop();
}
frame 504 {
stop();
}
frame 505 {
stop();
}
frame 506 {
stop();
}
frame 507 {
stop();
}
frame 508 {
stop();
}
frame 509 {
stop();
}
frame 510 {
stop();
}
frame 511 {
stop();
}
frame 512 {
stop();
}
frame 513 {
stop();
}
frame 514 {
stop();
}
frame 515 {
stop();
}
movieClip 1519 {
frame 33 {
stop();
}
}
frame 516 {
stop();
}
button 1521 {
on (release) {
_root.gotoAndPlay('inthebeginning');
}
}
frame 518 {
stop();
}
frame 519 {
stop();
}
button 1527 {
on (release) {
_root.gotoAndPlay('whyyoudothistome');
}
}
button 1528 {
on (release) {
_root.gotoAndPlay('whyyoudothistome');
}
}
movieClip 1534 {
}
frame 520 {
stop();
}
button 1539 {
on (release) {
if (hp < 10) {
gotoAndPlay('almostdead');
} else {
if (ivexp >= 150) {
gotoAndPlay('isawakedom');
} else {
if (doexp == 0) {
gotoAndPlay('DOD1');
} else {
if (doexp == 10) {
gotoAndPlay('DOD2');
} else {
if (doexp == 20) {
gotoAndPlay('DOD3');
} else {
if (doexp == 30) {
gotoAndPlay('DOD4');
} else {
if (doexp == 40) {
gotoAndPlay('DOD5');
} else {
if (doexp == 50) {
gotoAndPlay('DOD61');
} else {
if (doexp == 60) {
gotoAndPlay('DOD7');
} else {
if (doexp == 70) {
gotoAndPlay('DOD8');
} else {
if (doexp == 80) {
gotoAndPlay('DOD9');
} else {
if (doexp == 90) {
gotoAndPlay('DOD10');
} else {
if (doexp == 100) {
gotoAndPlay('DOD11');
} else {
if (doexp == 110) {
gotoAndPlay('DOD12');
} else {
if (doexp == 120) {
gotoAndPlay('DOD13');
} else {
if (doexp == 130) {
gotoAndPlay('DOD14');
} else {
if (doexp == 140) {
gotoAndPlay('DOD15');
} else {
if (doexp == 150) {
gotoAndPlay('DOD16');
} else {
if (doexp == 160) {
gotoAndPlay('DOD171');
} else {
if (doexp == 170) {
gotoAndPlay('DOD18');
} else {
if (doexp == 180) {
gotoAndPlay('DOD191');
} else {
if (doexp == 190) {
gotoAndPlay('DOD20');
} else {
if (doexp == 200) {
gotoAndPlay('DOD21');
} else {
if (doexp == 210) {
gotoAndPlay('DOD22');
} else {
if (doexp == 220) {
gotoAndPlay('DOD23');
} else {
if (doexp == 230) {
gotoAndPlay('DOD24');
} else {
if (doexp == 240) {
gotoAndPlay('DOD25');
} else {
if (doexp == 250) {
gotoAndPlay('DOD26');
} else {
if (doexp == 260) {
gotoAndPlay('DOD27');
} else {
if (doexp == 270) {
gotoAndPlay('DOD28');
} else {
if (doexp == 280) {
gotoAndPlay('DOD29');
} else {
if (doexp == 290) {
gotoAndPlay('DOD30');
} else {
if (doexp == 300) {
gotoAndPlay('DOD31');
} else {
if (doexp == 310) {
gotoAndPlay('DOD32');
} else {
if (doexp == 320) {
gotoAndPlay('DOD33');
} else {
if (doexp == 330) {
gotoAndPlay('DOD34');
} else {
if (doexp == 340) {
gotoAndPlay('DOD35');
} else {
if (doexp == 350) {
gotoAndPlay('DOD36');
} else {
if (doexp == 360) {
gotoAndPlay('DOD37');
} else {
if (doexp == 370) {
gotoAndPlay('DOD38');
} else {
if (doexp == 380) {
gotoAndPlay('DOD39');
} else {
if (doexp == 390) {
gotoAndPlay('DOD40');
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
button 1540 {
on (release) {
if (doexp >= 170) {
gotoAndPlay('domgiftmenu1');
} else {
if (doexp < 170) {
gotoAndPlay('DOnogift');
}
}
}
}
frame 521 {
stop();
}
button 1547 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD1g');
}
}
button 1548 {
on (release) {
hp -= 10;
gotoAndPlay('DOD1b');
}
}
frame 522 {
stop();
}
button 1553 {
on (release) {
_root.gotoAndPlay('dommenurealdeal');
}
}
frame 523 {
stop();
}
frame 524 {
stop();
}
button 1560 {
on (release) {
if (gold >= 40) {
hp -= 10;
gold -= 40;
gotoAndPlay('DOD2b');
} else {
if (gold < 40) {
hp -= 10;
gotoAndPlay('DOD2nomoney');
}
}
}
}
button 1561 {
on (release) {
if (gold >= 40) {
doexp += 10;
hp -= 10;
gold -= 40;
gotoAndPlay('DOD2g');
} else {
if (gold < 40) {
hp -= 10;
gotoAndPlay('DOD2nomoney');
}
}
}
}
frame 525 {
stop();
}
frame 526 {
stop();
}
frame 527 {
stop();
}
frame 528 {
stop();
}
button 1573 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD3g');
}
}
button 1574 {
on (release) {
hp -= 10;
gotoAndPlay('DOD3b');
}
}
frame 529 {
stop();
}
frame 530 {
stop();
}
frame 531 {
stop();
}
button 1585 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD4g');
}
}
button 1586 {
on (release) {
hp -= 10;
gotoAndPlay('DOD4b');
}
}
frame 532 {
stop();
}
frame 533 {
stop();
}
frame 534 {
stop();
}
button 1594 {
on (release) {
hp -= 10;
gotoAndPlay('DOD5b');
}
}
button 1595 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD5g');
}
}
frame 535 {
stop();
}
frame 536 {
stop();
}
frame 537 {
stop();
}
frame 538 {
stop();
}
button 1606 {
on (release) {
hp -= 10;
gotoAndPlay('DOD6b');
}
}
button 1607 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD6g');
}
}
frame 539 {
stop();
}
button 1612 {
on (release) {
gold += 40;
gotoAndPlay('dommenurealdeal');
}
}
frame 540 {
stop();
}
frame 541 {
stop();
}
button 1618 {
on (release) {
hp -= 10;
gotoAndPlay('DOD7b');
}
}
button 1619 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD7g');
}
}
frame 542 {
stop();
}
frame 543 {
stop();
}
frame 544 {
stop();
}
frame 545 {
stop();
}
button 1626 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD8g');
}
}
button 1627 {
on (release) {
hp -= 10;
gotoAndPlay('DOD8b');
}
}
frame 546 {
stop();
}
frame 547 {
stop();
}
frame 548 {
stop();
}
button 1635 {
on (release) {
hp -= 10;
gotoAndPlay('DOD9b');
}
}
button 1636 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD9g');
}
}
frame 549 {
stop();
}
frame 550 {
stop();
}
frame 551 {
stop();
}
button 1643 {
on (release) {
hp -= 10;
gotoAndPlay('DOD10b');
}
}
button 1644 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD10g');
}
}
frame 552 {
stop();
}
frame 553 {
stop();
}
frame 554 {
stop();
}
button 1656 {
on (release) {
hp -= 10;
gotoAndPlay('DOD11b');
}
}
button 1657 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD11g');
}
}
frame 555 {
stop();
}
frame 556 {
stop();
}
frame 557 {
stop();
}
button 1667 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD12g');
}
}
button 1668 {
on (release) {
hp -= 10;
gotoAndPlay('DOD12b');
}
}
frame 558 {
stop();
}
frame 559 {
stop();
}
frame 560 {
stop();
}
button 1676 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD13g');
}
}
button 1677 {
on (release) {
hp -= 10;
gotoAndPlay('DOD13b');
}
}
frame 561 {
stop();
}
frame 562 {
stop();
}
frame 563 {
stop();
}
button 1685 {
on (release) {
hp -= 10;
gotoAndPlay('DOD14b');
}
}
button 1686 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD14g');
}
}
frame 564 {
stop();
}
frame 565 {
stop();
}
frame 566 {
stop();
}
button 1692 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD15g');
}
}
button 1693 {
on (release) {
hp -= 10;
gotoAndPlay('DOD15b');
}
}
frame 567 {
stop();
}
frame 568 {
stop();
}
frame 569 {
stop();
}
button 1699 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD16g');
}
}
button 1700 {
on (release) {
hp -= 10;
gotoAndPlay('DOD16b');
}
}
frame 570 {
stop();
}
frame 571 {
stop();
}
frame 572 {
stop();
}
frame 573 {
stop();
}
button 1708 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD17g');
}
}
button 1709 {
on (release) {
hp -= 10;
gotoAndPlay('DOD17b');
}
}
frame 574 {
stop();
}
frame 575 {
stop();
}
button 1715 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD18g');
}
}
button 1716 {
on (release) {
hp -= 10;
gotoAndPlay('DOD18b');
}
}
frame 576 {
stop();
}
frame 577 {
stop();
}
frame 578 {
stop();
}
frame 579 {
stop();
}
button 1726 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD19g');
}
}
button 1727 {
on (release) {
hp -= 10;
gotoAndPlay('DOD19b');
}
}
frame 580 {
stop();
}
frame 581 {
stop();
}
frame 582 {
stop();
}
button 1733 {
on (release) {
hp -= 10;
gotoAndPlay('DOD20b');
}
}
button 1734 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD20g');
}
}
frame 583 {
stop();
}
frame 584 {
stop();
}
frame 585 {
stop();
}
button 1742 {
on (release) {
hp -= 10;
gotoAndPlay('DOD21b');
}
}
button 1743 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD21g');
}
}
frame 586 {
stop();
}
frame 587 {
stop();
}
frame 588 {
stop();
}
button 1751 {
on (release) {
hp -= 10;
gotoAndPlay('DOD22b');
}
}
button 1752 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD22g');
}
}
frame 589 {
stop();
}
frame 590 {
stop();
}
frame 591 {
stop();
}
button 1760 {
on (release) {
hp -= 10;
gotoAndPlay('DOD23b');
}
}
button 1761 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD23g');
}
}
frame 592 {
stop();
}
frame 593 {
stop();
}
frame 594 {
stop();
}
button 1767 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD24g');
}
}
button 1768 {
on (release) {
hp -= 10;
gotoAndPlay('DOD24b');
}
}
frame 595 {
stop();
}
frame 596 {
stop();
}
frame 597 {
stop();
}
button 1774 {
on (release) {
hp -= 10;
gotoAndPlay('DOD25b');
}
}
button 1775 {
on (release) {
blueberry += 1;
doexp += 10;
hp -= 10;
gotoAndPlay('DOD25g');
}
}
frame 598 {
stop();
}
button 1778 {
on (release) {
blueberry += 1;
gotoAndPlay('dommenurealdeal');
}
}
frame 599 {
stop();
}
frame 600 {
stop();
}
button 1782 {
on (release) {
hp -= 10;
gotoAndPlay('DOD26b');
}
}
button 1783 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD26g');
}
}
frame 601 {
stop();
}
frame 602 {
stop();
}
frame 603 {
stop();
}
button 1790 {
on (release) {
hp -= 10;
gotoAndPlay('DOD27b');
}
}
button 1791 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD27g');
}
}
frame 604 {
stop();
}
frame 605 {
stop();
}
frame 606 {
stop();
}
button 1797 {
on (release) {
hp -= 10;
gotoAndPlay('DOD28b');
}
}
button 1798 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD28g');
}
}
frame 607 {
stop();
}
frame 608 {
stop();
}
frame 609 {
stop();
}
button 1808 {
on (release) {
hp -= 10;
gotoAndPlay('DOD29b');
}
}
button 1809 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD29g');
}
}
frame 610 {
stop();
}
frame 611 {
stop();
}
frame 612 {
stop();
}
button 1819 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD30g');
}
}
button 1820 {
on (release) {
hp -= 10;
gotoAndPlay('DOD30b');
}
}
frame 613 {
stop();
}
frame 614 {
stop();
}
frame 615 {
stop();
}
button 1826 {
on (release) {
hp -= 10;
gotoAndPlay('DOD31b');
}
}
button 1827 {
on (release) {
if (hblueberry >= 3) {
doexp += 10;
hp -= 10;
hblueberry -= 3;
gotoAndPlay('DOD31g');
} else {
if (hblueberry < 3) {
hp -= 10;
gotoAndPlay('DOD31nocake');
}
}
}
}
frame 616 {
stop();
}
button 1830 {
on (release) {
_root.gotoAndPlay('domeevent2');
}
}
frame 617 {
stop();
}
frame 618 {
stop();
}
frame 619 {
stop();
}
button 1835 {
on (release) {
hp -= 10;
gotoAndPlay('DOD32b');
}
}
button 1836 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD32g');
}
}
frame 620 {
stop();
}
frame 621 {
stop();
}
frame 622 {
stop();
}
button 1842 {
on (release) {
hp -= 10;
gotoAndPlay('DOD33b');
}
}
button 1843 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD33g');
}
}
frame 623 {
stop();
}
button 1846 {
on (release) {
gold += 5000;
gotoAndPlay('dommenurealdeal');
}
}
frame 624 {
stop();
}
frame 625 {
stop();
}
button 1850 {
on (release) {
_root.gotoAndPlay('badbadbadending2');
}
}
button 1851 {
on (release) {
doexp += 10;
hp -= 10;
gold -= 5000;
gotoAndPlay('DOD34g');
}
}
frame 626 {
stop();
}
frame 627 {
stop();
}
button 1856 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD35g');
}
}
button 1857 {
on (release) {
hp -= 10;
gotoAndPlay('DOD35b');
}
}
frame 628 {
stop();
}
frame 629 {
stop();
}
frame 630 {
stop();
}
button 1863 {
on (release) {
hp -= 10;
gotoAndPlay('DOD36b');
}
}
button 1864 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD36g');
}
}
frame 631 {
stop();
}
frame 632 {
stop();
}
frame 633 {
stop();
}
button 1873 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD37g');
}
}
button 1874 {
on (release) {
hp -= 10;
gotoAndPlay('DOD37b');
}
}
frame 634 {
stop();
}
frame 635 {
stop();
}
frame 636 {
stop();
}
button 1882 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD38g');
}
}
button 1883 {
on (release) {
hp -= 10;
gotoAndPlay('DOD38b');
}
}
frame 637 {
stop();
}
frame 638 {
stop();
}
frame 639 {
stop();
}
button 1889 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD39g');
}
}
button 1890 {
on (release) {
hp -= 10;
gotoAndPlay('DOD39b');
}
}
frame 640 {
stop();
}
button 1893 {
on (release) {
blueberryrecipe += 1;
cherryrecipe += 1;
strawberryrecipe += 1;
limerecipe += 1;
chocolaterecipe += 1;
medicinerecipe += 1;
blueberry += 1;
cherry += 1;
strawberry += 1;
lime += 1;
chocolate += 1;
medicine += 1;
gotoAndPlay('dommenurealdeal');
}
}
frame 641 {
stop();
}
frame 642 {
stop();
}
button 1897 {
on (release) {
doexp += 10;
hp -= 10;
gotoAndPlay('DOD40g');
}
}
button 1898 {
on (release) {
hp -= 10;
gotoAndPlay('DOD40b');
}
}
frame 643 {
stop();
}
frame 644 {
stop();
}
button 1903 {
on (release) {
if (doexp >= 40) {
doexp -= 10;
gotoAndPlay('asura');
} else {
if (doexp < 40) {
gotoAndPlay('asura');
}
}
}
}
frame 646 {
stop();
}
frame 647 {
stop();
}
frame 648 {
stop();
}
frame 649 {
stop();
}
frame 650 {
stop();
}
frame 651 {
stop();
}
frame 652 {
stop();
}
frame 653 {
stop();
}
frame 654 {
stop();
}
frame 655 {
stop();
}
button 1914 {
on (release) {
if (strawberry >= 1) {
strawberry -= 1;
gotoAndPlay('DOGT2');
} else {
if (hstrawberry >= 1) {
hstrawberry -= 1;
gotoAndPlay('DOGT2');
} else {
if (strawberry < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
}
button 1915 {
on (release) {
if (cherry >= 1) {
cherry -= 1;
gotoAndPlay('DOGT3');
} else {
if (hcherry >= 1) {
hcherry -= 1;
gotoAndPlay('IDOGT3');
} else {
if (cherry < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
}
button 1916 {
on (release) {
if (blueberry >= 1) {
blueberry -= 1;
gotoAndPlay('DOGT1');
} else {
if (hblueberry >= 1) {
hblueberry -= 1;
gotoAndPlay('DOGT1');
} else {
if (blueberry < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
}
button 1917 {
on (release) {
if (chocolate >= 1) {
chocolate -= 1;
gotoAndPlay('DOGT4');
} else {
if (hchocolate >= 1) {
hchocolate -= 1;
gotoAndPlay('DOGT4');
} else {
if (chocolate < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
}
frame 656 {
stop();
}
button 1918 {
on (release) {
_root.gotoAndPlay('domgiftmenu1');
}
}
button 1919 {
on (release) {
if (medicine >= 1) {
medicine -= 1;
gotoAndPlay('DOGT6');
} else {
if (hmedicine >= 1) {
hmedicine -= 1;
gotoAndPlay('DOGT6');
} else {
if (medicine < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
}
button 1920 {
on (release) {
if (blueberryrecipe >= 1) {
gotoAndPlay('DOGT7');
} else {
if (blueberryrecipe < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
button 1921 {
on (release) {
if (lime >= 1) {
lime -= 1;
gotoAndPlay('DOGT5');
} else {
if (hlime >= 1) {
hlime -= 1;
gotoAndPlay('DOGT5');
} else {
if (lime < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
}
button 1922 {
on (release) {
if (strawberryrecipe >= 1) {
gotoAndPlay('DOGT7');
} else {
if (strawberryrecipe < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
frame 657 {
stop();
}
button 1923 {
on (release) {
if (cherryrecipe >= 1) {
gotoAndPlay('DOGT7');
} else {
if (cherryrecipe < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
button 1924 {
on (release) {
if (limerecipe >= 1) {
gotoAndPlay('DOGT7');
} else {
if (limerecipe < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
button 1925 {
on (release) {
if (chocolaterecipe >= 1) {
gotoAndPlay('DOGT7');
} else {
if (chocolaterecipe < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
button 1926 {
on (release) {
if (medicinerecipe >= 1) {
gotoAndPlay('DOGT7');
} else {
if (medicinerecipe < 1) {
gotoAndPlay('nogiftfordominicus');
}
}
}
}
button 1927 {
on (release) {
_root.gotoAndPlay('domgiftmenu2');
}
}
frame 658 {
stop();
}
frame 659 {
stop();
}
button 1929 {
on (release) {
_root.gotoAndPlay('fakaroo');
}
}
frame 661 {
stop();
}
frame 662 {
stop();
}
frame 663 {
stop();
}
frame 664 {
stop();
}
frame 665 {
stop();
}
frame 666 {
stopAllSounds();
}
frame 666 {
stop();
}
frame 667 {
stop();
}
frame 668 {
stop();
}
frame 669 {
stop();
}
frame 670 {
stop();
}
frame 671 {
stop();
}
frame 672 {
stop();
}
movieClip 1954 {
frame 17 {
stop();
}
}
frame 673 {
stop();
}
frame 674 {
_root.snd7.start(0, 10);
}
frame 674 {
stop();
}
frame 675 {
stop();
}
frame 676 {
stop();
}
frame 677 {
stop();
}
frame 678 {
stop();
}
frame 679 {
stop();
}
frame 680 {
stop();
}
frame 681 {
stop();
}
frame 682 {
stop();
}
frame 683 {
_root.snd7.start(0, 10);
}
frame 683 {
stop();
}
frame 684 {
stop();
}
frame 685 {
stop();
}
frame 686 {
stop();
}
frame 687 {
stop();
}
movieClip 1981 {
frame 19 {
stop();
}
}
frame 688 {
stopAllSounds();
}
frame 688 {
stop();
}
frame 689 {
_root.snd.start(0, 10);
}
frame 689 {
stop();
}
movieClip 1983 {
frame 17 {
stop();
}
}
frame 690 {
stop();
}
frame 691 {
stop();
}
frame 692 {
stop();
}
frame 693 {
stop();
}
frame 694 {
stop();
}
frame 695 {
stop();
}
frame 696 {
stop();
}
frame 697 {
stop();
}
frame 698 {
stop();
}
frame 699 {
stop();
}
frame 700 {
stop();
}
frame 701 {
stop();
}
frame 702 {
stop();
}
frame 703 {
stop();
}
frame 704 {
stop();
}
frame 705 {
stop();
}
frame 706 {
stop();
}
frame 707 {
stop();
}
frame 708 {
stop();
}
frame 709 {
stop();
}
frame 710 {
stop();
}
frame 711 {
stop();
}
frame 712 {
stop();
}
frame 713 {
stop();
}
frame 714 {
stop();
}
frame 715 {
stop();
}
frame 716 {
stop();
}
frame 717 {
stop();
}
frame 718 {
stop();
}
frame 719 {
stop();
}
frame 720 {
stop();
}
frame 721 {
stop();
}
frame 722 {
stop();
}
movieClip 2040 {
}
frame 723 {
stop();
}
frame 724 {
stop();
}
frame 725 {
stop();
}
frame 726 {
stop();
}
frame 727 {
stopAllSounds();
}
frame 727 {
stop();
}
movieClip 2050 {
frame 17 {
stop();
}
}
frame 728 {
_root.snd.start(0, 10);
}
frame 728 {
stop();
}
frame 729 {
stop();
}
frame 730 {
stop();
}
frame 731 {
stop();
}
frame 732 {
stop();
}
frame 733 {
stop();
}
frame 734 {
stop();
}
frame 735 {
stop();
}
frame 736 {
stop();
}
frame 737 {
stop();
}
frame 738 {
stop();
}
frame 739 {
stop();
}
frame 740 {
stop();
}
frame 741 {
stop();
}
frame 742 {
stop();
}
frame 743 {
stop();
}
frame 744 {
stop();
}
frame 745 {
stop();
}
frame 746 {
stop();
}
frame 747 {
stop();
}
frame 748 {
stop();
}
frame 749 {
stop();
}
frame 750 {
stop();
}
frame 751 {
stop();
}
frame 752 {
stop();
}
frame 753 {
stop();
}
frame 754 {
stopAllSounds();
}
frame 754 {
stop();
}
movieClip 2097 {
}
frame 755 {
stop();
}
frame 756 {
stop();
}
frame 757 {
stop();
}
frame 758 {
stop();
}
frame 759 {
stop();
}
frame 760 {
stop();
}
frame 761 {
_root.snd6.start(0, 10);
}
frame 761 {
stop();
}
movieClip 2106 {
frame 17 {
stop();
}
}
frame 762 {
stop();
}
frame 763 {
stop();
}
frame 764 {
stop();
}
frame 765 {
stop();
}
frame 766 {
stop();
}
frame 767 {
stop();
}
frame 768 {
stop();
}
frame 769 {
stop();
}
frame 770 {
stop();
}
frame 771 {
stop();
}
frame 772 {
stop();
}
frame 773 {
stop();
}
frame 774 {
stop();
}
frame 775 {
stop();
}
frame 776 {
stop();
}
frame 777 {
stop();
}
frame 778 {
stop();
}
movieClip 2141 {
frame 12 {
stop();
}
}
frame 779 {
stop();
}
frame 780 {
stop();
}
frame 781 {
stop();
}
frame 782 {
stop();
}
movieClip 2150 {
frame 25 {
stop();
}
}
frame 783 {
stop();
}
frame 785 {
stop();
}
button 2154 {
on (release) {
hmedicine -= 1;
isamed += 1;
gotoAndPlay('isanomenu1');
}
}
frame 786 {
stop();
}
frame 787 {
stop();
}
frame 788 {
stop();
}
frame 789 {
stop();
}
frame 790 {
stop();
}
frame 791 {
stop();
}
frame 792 {
stop();
}
frame 793 {
stop();
}
frame 794 {
stop();
}
frame 795 {
stop();
}
frame 796 {
stop();
}
frame 797 {
stop();
}
button 2169 {
on (release) {
_root.gotoAndPlay('givegifttocoma');
}
}
button 2170 {
on (release) {
_root.gotoAndPlay('isagiftmenu4');
}
}
frame 798 {
stop();
}
frame 799 {
stop();
}
button 2177 {
on (release) {
_root.gotoAndPlay('isagiftmenu1');
}
}
button 2178 {
on (release) {
if (hp < 10) {
gotoAndPlay('almostdead');
} else {
if (isexp == 0) {
gotoAndPlay('ISD1');
} else {
if (isexp == 10) {
gotoAndPlay('ISD2');
} else {
if (isexp == 20) {
gotoAndPlay('ISD3');
} else {
if (isexp == 30) {
gotoAndPlay('ISD4');
} else {
if (isexp == 40) {
gotoAndPlay('ISD5');
} else {
if (isexp == 50) {
gotoAndPlay('ISD6');
} else {
if (isexp == 60) {
gotoAndPlay('ISD7');
} else {
if (isexp == 70) {
gotoAndPlay('ISD8');
} else {
if (isexp == 80) {
gotoAndPlay('ISD9');
} else {
if (isexp == 90) {
gotoAndPlay('ISD10');
} else {
if (isexp == 100) {
gotoAndPlay('ISD11');
} else {
if (isexp == 110) {
gotoAndPlay('ISD12');
} else {
if (isexp == 120) {
gotoAndPlay('ISD13');
} else {
if (isexp == 130) {
gotoAndPlay('ISD14');
} else {
if (isexp == 140) {
gotoAndPlay('ISD15');
} else {
if (isexp == 150) {
gotoAndPlay('ISD16');
} else {
if (isexp == 160) {
gotoAndPlay('ISD171');
} else {
if (isexp == 170) {
gotoAndPlay('ISD18');
} else {
if (isexp == 180) {
gotoAndPlay('ISD19');
} else {
if (isexp == 190) {
gotoAndPlay('ISD20');
} else {
if (isexp == 200) {
gotoAndPlay('ISD21');
} else {
if (isexp == 210) {
gotoAndPlay('ISD22');
} else {
if (isexp == 220) {
gotoAndPlay('ISD23');
} else {
if (isexp == 230) {
gotoAndPlay('ISD24');
} else {
if (isexp == 240) {
gotoAndPlay('ISD25');
} else {
if (isexp == 250) {
gotoAndPlay('ISD26');
} else {
if (isexp == 260) {
gotoAndPlay('ISD27');
} else {
if (isexp == 270) {
gotoAndPlay('ISD28');
} else {
if (isexp == 280) {
gotoAndPlay('ISD29');
} else {
if (isexp == 290) {
gotoAndPlay('ISD30');
} else {
if (isexp == 300) {
gotoAndPlay('ISD31');
} else {
if (isexp == 310) {
gotoAndPlay('ISD32');
} else {
if (isexp == 320) {
gotoAndPlay('ISD33');
} else {
if (isexp == 330) {
gotoAndPlay('ISD34');
} else {
if (isexp == 340) {
gotoAndPlay('ISD35');
} else {
if (isexp == 350) {
gotoAndPlay('ISD36');
} else {
if (isexp == 360) {
gotoAndPlay('ISD37');
} else {
if (isexp == 370) {
gotoAndPlay('ISD38');
} else {
if (isexp == 380) {
gotoAndPlay('ISD39');
} else {
if (isexp == 390) {
gotoAndPlay('ISD40');
} else {
if (isexp == 400) {
gotoAndPlay('ISD41');
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 2181 {
}
frame 800 {
stop();
}
button 2188 {
on (release) {
hp -= 10;
gotoAndPlay('ISD1b');
}
}
button 2189 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD1g');
}
}
frame 801 {
stop();
}
button 2194 {
on (release) {
_root.gotoAndPlay('isamenurealdeal');
}
}
frame 802 {
stop();
}
frame 803 {
stop();
}
button 2202 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD2g');
}
}
frame 804 {
stop();
}
frame 805 {
stop();
}
frame 806 {
stop();
}
button 2212 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD3g');
}
}
button 2213 {
on (release) {
hp -= 10;
gotoAndPlay('ISD3b');
}
}
frame 807 {
stop();
}
frame 808 {
stop();
}
frame 809 {
stop();
}
button 2221 {
on (release) {
hp -= 10;
gotoAndPlay('ISD4b');
}
}
button 2222 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD4g');
}
}
frame 810 {
stop();
}
frame 811 {
stop();
}
frame 812 {
stop();
}
button 2232 {
on (release) {
hp -= 10;
gotoAndPlay('ISD5b');
}
}
button 2233 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD5g');
}
}
frame 813 {
stop();
}
frame 814 {
stop();
}
frame 815 {
stop();
}
button 2241 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD6g');
}
}
button 2242 {
on (release) {
hp -= 10;
gotoAndPlay('ISD6b');
}
}
frame 816 {
stop();
}
frame 817 {
stop();
}
frame 818 {
stop();
}
button 2250 {
on (release) {
hp -= 10;
gotoAndPlay('ISD7b');
}
}
button 2251 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD7g');
}
}
frame 819 {
stop();
}
frame 820 {
stop();
}
frame 821 {
stop();
}
button 2261 {
on (release) {
hp -= 10;
gotoAndPlay('ISD8b');
}
}
button 2262 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD8g');
}
}
frame 822 {
stop();
}
frame 823 {
stop();
}
frame 824 {
stop();
}
button 2274 {
on (release) {
hp -= 10;
gotoAndPlay('ISD9b');
}
}
button 2275 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD9g');
}
}
frame 825 {
stop();
}
frame 826 {
stop();
}
frame 827 {
stop();
}
button 2285 {
on (release) {
hp -= 10;
gotoAndPlay('ISD10b');
}
}
button 2286 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD10g');
}
}
frame 828 {
stop();
}
frame 829 {
stop();
}
frame 830 {
stop();
}
button 2294 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD11g');
}
}
button 2295 {
on (release) {
hp -= 10;
gotoAndPlay('ISD11b');
}
}
frame 831 {
stop();
}
frame 832 {
stop();
}
button 2299 {
on (release) {
gold += 30;
_root.gotoAndPlay('isamenurealdeal');
}
}
frame 833 {
stop();
}
button 2304 {
on (release) {
if (hchocolate >= 1) {
hp -= 10;
isexp += 10;
hchocolate -= 1;
gotoAndPlay('ISD12g');
} else {
if (hchocolate < 1) {
gotoAndPlay('ISD12b');
}
}
}
}
frame 834 {
stop();
}
frame 835 {
stop();
}
frame 836 {
stop();
}
button 2312 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD13g');
}
}
button 2313 {
on (release) {
hp -= 10;
gotoAndPlay('ISD13b');
}
}
frame 837 {
stop();
}
frame 838 {
stop();
}
frame 839 {
stop();
}
button 2321 {
on (release) {
hp -= 10;
gotoAndPlay('ISD14b');
}
}
button 2322 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD14g');
}
}
frame 840 {
stop();
}
frame 841 {
stop();
}
frame 842 {
stop();
}
button 2330 {
on (release) {
hp -= 10;
gotoAndPlay('ISD15b');
}
}
button 2331 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD15g');
}
}
frame 843 {
stop();
}
frame 844 {
stop();
}
frame 845 {
stop();
}
button 2339 {
on (release) {
hp -= 10;
gotoAndPlay('ISD16b');
}
}
button 2340 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD16g');
}
}
frame 846 {
stop();
}
frame 847 {
stop();
}
frame 848 {
stop();
}
frame 849 {
stop();
}
button 2348 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD17g');
}
}
button 2349 {
on (release) {
hp -= 10;
gotoAndPlay('ISD17b');
}
}
frame 850 {
stop();
}
button 2352 {
on (release) {
_root.gotoAndPlay('isaevent1');
}
}
frame 851 {
stop();
}
frame 852 {
stop();
}
button 2358 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD18g');
}
}
button 2359 {
on (release) {
hp -= 10;
gotoAndPlay('ISD18b');
}
}
frame 853 {
stop();
}
frame 854 {
stop();
}
frame 855 {
stop();
}
button 2367 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD19g');
}
}
button 2368 {
on (release) {
hp -= 10;
gotoAndPlay('ISD19b');
}
}
frame 856 {
stop();
}
frame 857 {
stop();
}
frame 858 {
stop();
}
button 2376 {
on (release) {
hp -= 10;
gotoAndPlay('ISD20b');
}
}
button 2377 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD20g');
}
}
frame 859 {
stop();
}
frame 860 {
stop();
}
frame 861 {
stop();
}
button 2386 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD21g');
}
}
button 2387 {
on (release) {
hp -= 10;
gotoAndPlay('ISD21b');
}
}
frame 862 {
stop();
}
frame 863 {
stop();
}
frame 864 {
stop();
}
button 2393 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD22g');
}
}
button 2394 {
on (release) {
hp -= 10;
gotoAndPlay('ISD22b');
}
}
frame 865 {
stop();
}
frame 866 {
stop();
}
frame 867 {
stop();
}
button 2400 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD23g');
}
}
frame 868 {
stop();
}
frame 869 {
stop();
}
frame 870 {
stop();
}
button 2407 {
on (release) {
hp -= 10;
gotoAndPlay('ISD24b');
}
}
button 2408 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD24g');
}
}
frame 871 {
stop();
}
frame 872 {
stop();
}
frame 873 {
stop();
}
button 2416 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD25g');
}
}
button 2417 {
on (release) {
hp -= 10;
gotoAndPlay('ISD25b');
}
}
frame 874 {
stop();
}
button 2420 {
on (release) {
hblueberry += 1;
gotoAndPlay('isamenurealdeal');
}
}
frame 875 {
stop();
}
button 2424 {
on (release) {
_root.gotoAndPlay('isamenurealdeal');
}
}
frame 876 {
stop();
}
button 2427 {
on (release) {
hp -= 10;
gotoAndPlay('ISD26b');
}
}
button 2428 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD26g');
}
}
frame 877 {
stop();
}
frame 878 {
stop();
}
frame 879 {
stop();
}
button 2434 {
on (release) {
hp -= 10;
gotoAndPlay('ISD27b');
}
}
button 2435 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD27g');
}
}
frame 880 {
stop();
}
frame 881 {
stop();
}
frame 882 {
stop();
}
button 2441 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD28g');
}
}
button 2442 {
on (release) {
hp -= 10;
gotoAndPlay('ISD28b');
}
}
frame 883 {
stop();
}
frame 884 {
stop();
}
frame 885 {
stop();
}
button 2448 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD29g');
}
}
button 2449 {
on (release) {
hp -= 10;
gotoAndPlay('ISD29b');
}
}
frame 886 {
stop();
}
frame 887 {
stop();
}
frame 888 {
stop();
}
button 2459 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD30g');
}
}
button 2460 {
on (release) {
hp -= 10;
gotoAndPlay('ISD30b');
}
}
frame 889 {
stop();
}
frame 890 {
stop();
}
button 2464 {
on (release) {
hp -= 10;
gotoAndPlay('ISD31b');
}
}
button 2465 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD31g');
}
}
frame 891 {
stop();
}
frame 892 {
stop();
}
frame 893 {
stop();
}
button 2473 {
on (release) {
hp -= 10;
gotoAndPlay('ISD32b');
}
}
button 2474 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD32g');
}
}
frame 894 {
stop();
}
frame 895 {
stop();
}
frame 896 {
stop();
}
button 2480 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD33g');
}
}
button 2481 {
on (release) {
hp -= 10;
gotoAndPlay('ISD33b');
}
}
frame 897 {
stop();
}
frame 898 {
stop();
}
frame 899 {
stop();
}
button 2489 {
on (release) {
hp -= 10;
gotoAndPlay('ISD34b');
}
}
button 2490 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD34g');
}
}
frame 900 {
stop();
}
frame 901 {
stop();
}
frame 902 {
stop();
}
button 2496 {
on (release) {
hp -= 10;
gotoAndPlay('ISD35b');
}
}
button 2497 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD35g');
}
}
frame 903 {
stop();
}
frame 904 {
stop();
}
frame 905 {
stop();
}
button 2505 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD36g');
}
}
button 2506 {
on (release) {
hp -= 10;
gotoAndPlay('ISD36b');
}
}
frame 906 {
stop();
}
button 2509 {
on (release) {
_root.gotoAndPlay('isaevent2');
}
}
frame 907 {
stop();
}
frame 908 {
stop();
}
button 2513 {
on (release) {
hp -= 10;
gotoAndPlay('ISD37b');
}
}
button 2514 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD37g');
}
}
frame 909 {
stop();
}
frame 910 {
stop();
}
frame 911 {
stop();
}
button 2522 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD38g');
}
}
button 2523 {
on (release) {
hp -= 10;
gotoAndPlay('ISD38b');
}
}
frame 912 {
stop();
}
frame 913 {
stop();
}
frame 914 {
stop();
}
button 2531 {
on (release) {
hp -= 10;
gotoAndPlay('ISD39b');
}
}
button 2532 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD39g');
}
}
frame 915 {
stop();
}
frame 916 {
stop();
}
frame 917 {
stop();
}
button 2538 {
on (release) {
hp -= 10;
gotoAndPlay('ISD40b');
}
}
button 2539 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD40g');
}
}
frame 918 {
stop();
}
frame 919 {
stop();
}
frame 920 {
stop();
}
button 2545 {
on (release) {
isexp += 10;
hp -= 10;
gotoAndPlay('ISD41g');
}
}
button 2546 {
on (release) {
hp -= 10;
gotoAndPlay('ISD41b');
}
}
frame 921 {
stop();
}
button 2549 {
on (release) {
_root.gotoAndPlay('isaevent3');
}
}
frame 922 {
stop();
}
frame 924 {
stop();
}
frame 925 {
stop();
}
frame 926 {
stop();
}
frame 927 {
stop();
}
frame 928 {
stop();
}
frame 929 {
stop();
}
frame 930 {
stop();
}
frame 931 {
stop();
}
button 2559 {
on (release) {
_root.gotoAndPlay('isamenurealdeal');
}
}
frame 932 {
stop();
}
frame 933 {
stop();
}
frame 934 {
stop();
}
frame 935 {
stop();
}
frame 936 {
stop();
}
frame 937 {
stop();
}
frame 938 {
stop();
}
frame 939 {
stop();
}
frame 940 {
stop();
}
frame 941 {
stop();
}
frame 942 {
stop();
}
frame 943 {
stop();
}
button 2571 {
on (release) {
if (strawberry >= 1) {
strawberry -= 1;
gotoAndPlay('ISGT2');
} else {
if (hstrawberry >= 1) {
hstrawberry -= 1;
gotoAndPlay('ISGT13');
} else {
if (strawberry < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
}
button 2572 {
on (release) {
if (cherry >= 1) {
cherry -= 1;
gotoAndPlay('ISGT3');
} else {
if (hcherry >= 1) {
hcherry -= 1;
gotoAndPlay('ISGT13');
} else {
if (cherry < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
}
button 2573 {
on (release) {
if (blueberry >= 1) {
blueberry -= 1;
gotoAndPlay('ISGT1');
} else {
if (hblueberry >= 1) {
hblueberry -= 1;
gotoAndPlay('ISGT13');
} else {
if (blueberry < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
}
button 2574 {
on (release) {
if (chocolate >= 1) {
chocolate -= 1;
gotoAndPlay('ISGT4');
} else {
if (hchocolate >= 1) {
hchocolate -= 1;
gotoAndPlay('ISGT13');
} else {
if (chocolate < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
}
frame 944 {
stop();
}
button 2575 {
on (release) {
_root.gotoAndPlay('isagiftmenu1');
}
}
button 2577 {
on (release) {
if (medicine < 1) {
medicine -= 1;
gotoAndPlay('ISGTT6');
} else {
if (hmedicine >= 1) {
hmedicine -= 1;
gotoAndPlay('ISGT13');
} else {
if (medicine < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
}
button 2578 {
on (release) {
if (blueberryrecipe >= 1) {
hmedicine += 1;
gotoAndPlay('ISGT7');
} else {
if (blueberryrecipe < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
button 2579 {
on (release) {
if (lime >= 1) {
lime -= 1;
gotoAndPlay('IVGT5');
} else {
if (hlime >= 1) {
hlime -= 1;
gotoAndPlay('ISGT13');
} else {
if (lime < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
}
button 2580 {
on (release) {
if (strawberryrecipe >= 1) {
hstrawberry += 1;
gotoAndPlay('IVGT8');
} else {
if (strawberryrecipe < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
frame 945 {
stop();
}
button 2581 {
on (release) {
_root.gotoAndPlay('isagiftmenu2');
}
}
button 2582 {
on (release) {
if (cherryrecipe >= 1) {
hcherry += 1;
gotoAndPlay('IVGT9');
} else {
if (cherryrecipe < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
button 2583 {
on (release) {
if (limerecipe >= 1) {
gotoAndPlay('IVGT11');
} else {
if (limerecipe < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
button 2584 {
on (release) {
if (chocolaterecipe >= 1) {
hchocolate += 1;
gotoAndPlay('IVGT10');
} else {
if (chocolaterecipe < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
button 2585 {
on (release) {
if (medicinerecipe >= 1) {
hblueberry += 1;
gotoAndPlay('IVGT12');
} else {
if (medicinerecipe < 1) {
gotoAndPlay('nogiftforisador');
}
}
}
}
frame 947 {
stop();
}
button 2586 {
on (release) {
_root.gotoAndPlay('nocakestogiveisa');
}
}
button 2587 {
on (release) {
_root.gotoAndPlay('isanomenu1');
}
}
frame 948 {
stop();
}
button 2589 {
on (release) {
_root.gotoAndPlay('isagiftmenu4');
}
}
button 2590 {
on (release) {
if (hmedicine < 1) {
gotoAndPlay('nomoremedicinecakes');
} else {
if (isamed == 0) {
gotoAndPlay('med1');
} else {
if (isamed == 1) {
gotoAndPlay('med2');
} else {
if (isamed == 2) {
gotoAndPlay('med3');
} else {
if (isamed == 3) {
gotoAndPlay('med4');
} else {
if (isamed == 4) {
gotoAndPlay('med5');
} else {
if (isamed == 5) {
gotoAndPlay('med6');
} else {
if (isamed == 6) {
gotoAndPlay('med7');
} else {
if (isamed == 7) {
gotoAndPlay('med8');
} else {
if (isamed == 8) {
gotoAndPlay('med9');
} else {
if (isamed == 9) {
gotoAndPlay('med10');
}
}
}
}
}
}
}
}
}
}
}
}
}
frame 949 {
stop();
}
button 2592 {
on (release) {
_root.gotoAndPlay('isagiftmenu5');
}
}
frame 951 {
stop();
}
button 2594 {
on (release) {
hmedicine -= 1;
isamed += 1;
gotoAndPlay('karlakarla');
}
}
frame 952 {
stop();
}
frame 953 {
stop();
}
frame 954 {
stop();
}
frame 955 {
stop();
}
frame 956 {
stop();
}
frame 957 {
stop();
}
frame 958 {
stop();
}
button 2603 {
on (release) {
_root.gotoAndPlay('lolol');
}
}
movieClip 2604 {
frame 21 {
stop();
}
}
frame 959 {
stop();
}
frame 960 {
stop();
}
frame 961 {
stop();
}
frame 962 {
stop();
}
frame 963 {
stop();
}
frame 964 {
stop();
}
frame 965 {
stop();
}
frame 966 {
stop();
}
frame 967 {
stop();
}
frame 968 {
stop();
}
frame 969 {
stop();
}
button 2627 {
on (release) {
_root.gotoAndPlay('lolol2');
}
}
frame 970 {
stop();
}
movieClip 2630 {
frame 23 {
stop();
}
}
frame 971 {
stop();
}
frame 972 {
stopAllSounds();
}
frame 972 {
stop();
}
movieClip 2633 {
frame 20 {
stop();
}
}
frame 973 {
_root.snd.start(0, 10);
}
frame 973 {
stop();
}
frame 974 {
stop();
}
frame 975 {
stop();
}
frame 976 {
stop();
}
frame 977 {
stop();
}
frame 978 {
stop();
}
frame 979 {
stop();
}
frame 980 {
stopAllSounds();
}
frame 980 {
stop();
}
frame 981 {
stop();
}
frame 982 {
stop();
}
frame 983 {
stop();
}
frame 984 {
stop();
}
frame 985 {
stop();
}
frame 986 {
stop();
}
frame 987 {
stop();
}
frame 988 {
stop();
}
frame 989 {
stop();
}
movieClip 2662 {
frame 20 {
stop();
}
}
frame 990 {
stop();
}
movieClip 2664 {
frame 20 {
stop();
}
}
frame 991 {
_root.snd3.start(0, 10);
}
frame 991 {
stop();
}
movieClip 2671 {
}
frame 992 {
stop();
}
movieClip 2673 {
frame 15 {
stop();
}
}
frame 993 {
stop();
}
movieClip 2676 {
frame 15 {
stop();
}
}
frame 994 {
stop();
}
movieClip 2679 {
frame 15 {
stop();
}
}
frame 995 {
stop();
}
movieClip 2682 {
frame 15 {
stop();
}
}
frame 996 {
stop();
}
movieClip 2685 {
frame 15 {
stop();
}
}
frame 997 {
stop();
}
movieClip 2688 {
frame 15 {
stop();
}
}
frame 998 {
stop();
}
movieClip 2691 {
frame 15 {
stop();
}
}
frame 999 {
stop();
}
button 2702 {
on (release) {
_root.gotoAndPlay('lolol4');
}
}
movieClip 2703 {
frame 18 {
stop();
}
}
frame 1000 {
stopAllSounds();
}
frame 1000 {
stop();
}
frame 1001 {
stop();
}
frame 1002 {
_root.snd4.start(0, 10);
}
frame 1002 {
stop();
}
frame 1003 {
stop();
}
frame 1004 {
stop();
}
frame 1005 {
stop();
}
frame 1006 {
stop();
}
frame 1007 {
stop();
}
frame 1008 {
stop();
}
frame 1009 {
stop();
}
frame 1010 {
stop();
}
frame 1011 {
stop();
}
frame 1012 {
stop();
}
frame 1013 {
stop();
}
frame 1014 {
stop();
}
frame 1015 {
stop();
}
frame 1016 {
stop();
}
frame 1017 {
stop();
}
movieClip 2747 {
frame 17 {
stop();
}
}
frame 1018 {
stop();
}
movieClip 2750 {
frame 20 {
stop();
}
}
frame 1019 {
stop();
}
frame 1020 {
stop();
}
frame 1021 {
stop();
}
frame 1022 {
stop();
}
frame 1023 {
stop();
}
frame 1024 {
stop();
}
frame 1025 {
stop();
}
frame 1026 {
stop();
}
frame 1027 {
stop();
}
frame 1028 {
stop();
}
frame 1029 {
stop();
}
frame 1030 {
stop();
}
movieClip 2778 {
frame 17 {
stop();
}
}
frame 1031 {
stop();
}
frame 1032 {
stop();
}
frame 1033 {
stop();
}
frame 1034 {
stop();
}
frame 1035 {
stop();
}
frame 1036 {
stop();
}
frame 1037 {
stopAllSounds();
}
frame 1037 {
stop();
}
frame 1038 {
stop();
}
frame 1039 {
stop();
}
frame 1040 {
stop();
}
frame 1041 {
stop();
}
frame 1042 {
stop();
}
frame 1043 {
_root.snd7.start(0, 10);
}
frame 1043 {
stop();
}
movieClip 2807 {
frame 17 {
stop();
}
}
frame 1044 {
stop();
}
frame 1045 {
stop();
}
frame 1046 {
stop();
}
frame 1047 {
stop();
}
frame 1048 {
stop();
}
movieClip 2817 {
frame 33 {
stop();
}
}
frame 1049 {
stopAllSounds();
}
frame 1049 {
stop();
}
frame 1050 {
stop();
}
movieClip 2820 {
frame 18 {
stop();
}
}
frame 1051 {
stop();
}
frame 1052 {
stop();
}
frame 1053 {
stop();
}
frame 1054 {
stop();
}
frame 1055 {
stop();
}
frame 1056 {
stop();
}
frame 1057 {
stop();
}
frame 1058 {
stop();
}
frame 1059 {
stop();
}
movieClip 2838 {
frame 17 {
stop();
}
}
frame 1060 {
stop();
}
movieClip 2840 {
frame 17 {
stop();
}
}
frame 1061 {
_root.snd4.start(0, 10);
}
frame 1061 {
stop();
}
frame 1062 {
stop();
}
frame 1063 {
stop();
}
frame 1064 {
stop();
}
frame 1065 {
stop();
}
frame 1066 {
stop();
}
frame 1067 {
stop();
}
frame 1068 {
stop();
}
frame 1069 {
stop();
}
frame 1070 {
stop();
}
frame 1071 {
stop();
}
frame 1072 {
stop();
}
frame 1073 {
stop();
}
frame 1074 {
stop();
}
frame 1075 {
stop();
}
frame 1076 {
stop();
}
frame 1077 {
stop();
}
frame 1078 {
stop();
}
frame 1079 {
stop();
}
frame 1080 {
stop();
}
frame 1081 {
stop();
}
frame 1082 {
stop();
}
frame 1083 {
stop();
}
frame 1084 {
stop();
}
frame 1085 {
stop();
}
frame 1086 {
stop();
}
frame 1087 {
stop();
}
frame 1088 {
stop();
}
frame 1089 {
stop();
}
frame 1090 {
stop();
}
frame 1091 {
stop();
}
frame 1092 {
stop();
}
frame 1093 {
stop();
}
frame 1094 {
stop();
}
frame 1095 {
stop();
}
frame 1096 {
stop();
}
frame 1097 {
stop();
}
frame 1098 {
stop();
}
frame 1099 {
stop();
}
frame 1100 {
stop();
}
frame 1101 {
stop();
}
frame 1102 {
stop();
}
frame 1103 {
stop();
}
frame 1104 {
stopAllSounds();
}
frame 1104 {
stop();
}
frame 1105 {
stop();
}
frame 1106 {
stop();
}
frame 1107 {
stop();
}
button 2938 {
on (release) {
_root.gotoAndPlay('evi');
}
}
movieClip 2939 {
frame 36 {
stop();
}
}
frame 1108 {
_root.snd5.start(0, 10);
}
frame 1108 {
stop();
}
frame 1109 {
stop();
}
frame 1110 {
stop();
}
frame 1111 {
stop();
}
frame 1112 {
stop();
}
frame 1113 {
stop();
}
frame 1114 {
stop();
}
frame 1115 {
stop();
}
frame 1116 {
stop();
}
frame 1117 {
stop();
}
frame 1118 {
stop();
}
movieClip 2952 {
frame 17 {
stop();
}
}
frame 1119 {
stop();
}
frame 1120 {
stop();
}
frame 1121 {
stop();
}
frame 1122 {
stop();
}
frame 1123 {
stop();
}
frame 1124 {
stop();
}
frame 1125 {
stop();
}
frame 1126 {
stop();
}
frame 1127 {
stop();
}
frame 1128 {
stop();
}
frame 1129 {
stop();
}
frame 1130 {
stopAllSounds();
}
frame 1130 {
stop();
}
button 2972 {
on (release) {
nextFrame();
}
}
frame 1131 {
_root.snd7.start(0, 10);
}
frame 1131 {
stop();
}
frame 1132 {
stop();
}
frame 1133 {
stop();
}
movieClip 2975 {
frame 17 {
stop();
}
}
frame 1134 {
stop();
}
frame 1135 {
stop();
}
frame 1136 {
stop();
}
frame 1137 {
stop();
}
frame 1138 {
stop();
}
frame 1139 {
stop();
}
frame 1140 {
stop();
}
frame 1141 {
stop();
}
frame 1142 {
stop();
}
frame 1143 {
stop();
}
frame 1144 {
stopAllSounds();
}
frame 1144 {
stop();
}
frame 1145 {
stop();
}
frame 1146 {
stop();
}
frame 1147 {
stop();
}
frame 1148 {
stop();
}
frame 1149 {
stop();
}
frame 1150 {
stop();
}
frame 1151 {
stop();
}
movieClip 3002 {
frame 17 {
stop();
}
}
frame 1152 {
stop();
}
frame 1153 {
stop();
}
frame 1154 {
stop();
}
frame 1155 {
stop();
}
frame 1156 {
_root.snd.start(0, 10);
}
frame 1156 {
stop();
}
button 3007 {
on (release) {
_root.gotoAndPlay('sleepell');
}
}
button 3008 {
on (release) {
_root.gotoAndPlay('sleeppal1');
}
}
button 3009 {
on (release) {
_root.gotoAndPlay('sleeposw');
}
}
frame 1157 {
stop();
}
button 3013 {
on (release) {
_root.gotoAndPlay('sleepmenu');
}
}
button 3014 {
on (release) {
_root.gotoAndPlay('sleepnotalk1');
}
}
button 3015 {
on (release) {
_root.gotoAndPlay('sleepnotalk1');
}
}
frame 1158 {
stop();
}
button 3017 {
on (release) {
_root.gotoAndPlay('sleepdom');
}
}
frame 1159 {
stop();
}
button 3020 {
on (release) {
_root.gotoAndPlay('sleepnotalk2');
}
}
button 3021 {
on (release) {
_root.gotoAndPlay('sleepnotalk2');
}
}
frame 1160 {
stop();
}
button 3022 {
on (release) {
_root.gotoAndPlay('sleeposw');
}
}
frame 1161 {
stop();
}
button 3025 {
on (release) {
_root.gotoAndPlay('sleepbran');
}
}
button 3026 {
on (release) {
_root.gotoAndPlay('sleepnotalk3');
}
}
button 3027 {
on (release) {
_root.gotoAndPlay('sleepnotalk3');
}
}
frame 1162 {
stop();
}
button 3029 {
on (release) {
_root.gotoAndPlay('sleepell');
}
}
frame 1163 {
stop();
}
button 3030 {
on (release) {
_root.gotoAndPlay('sleepisa');
}
}
button 3031 {
on (release) {
_root.gotoAndPlay('sleepell');
}
}
frame 1164 {
stop();
}
button 3032 {
on (release) {
_root.gotoAndPlay('sleepnotalk4');
}
}
button 3033 {
on (release) {
_root.gotoAndPlay('sleepnotalk4');
}
}
frame 1165 {
stop();
}
button 3035 {
on (release) {
_root.gotoAndPlay('sleepisa');
}
}
frame 1166 {
stop();
}
frame 1167 {
stop();
}
button 3038 {
on (release) {
_root.gotoAndPlay('sleeppal2');
}
}
frame 1168 {
stop();
}
button 3041 {
on (release) {
_root.gotoAndPlay('sleeppal1');
}
}
button 3042 {
on (release) {
_root.gotoAndPlay('sleeppal3');
}
}
frame 1169 {
stop();
}
frame 1170 {
stopAllSounds();
}
frame 1170 {
stop();
}
frame 1171 {
stop();
}
frame 1172 {
stop();
}
frame 1173 {
stop();
}
frame 1174 {
stop();
}
frame 1175 {
stop();
}
frame 1176 {
_root.snd3.start(0, 10);
}
frame 1176 {
stop();
}
frame 1177 {
stop();
}
frame 1178 {
stop();
}
frame 1179 {
stop();
}
frame 1180 {
stop();
}
frame 1181 {
stop();
}
frame 1182 {
stop();
}
frame 1183 {
stop();
}
frame 1184 {
stop();
}
frame 1185 {
stop();
}
frame 1186 {
stop();
}
frame 1187 {
stop();
}
frame 1188 {
stop();
}
frame 1189 {
stop();
}
frame 1190 {
stop();
}
frame 1191 {
stop();
}
frame 1192 {
stop();
}
frame 1193 {
stop();
}
frame 1194 {
stop();
}
movieClip 3115 {
frame 17 {
stop();
}
}
frame 1195 {
stop();
}
frame 1196 {
stopAllSounds();
}
frame 1196 {
stop();
}
frame 1197 {
stop();
}
frame 1198 {
stop();
}
frame 1199 {
stop();
}
frame 1200 {
stop();
}
frame 1201 {
stop();
}
frame 1202 {
stop();
}
frame 1203 {
stop();
}
movieClip 3128 {
frame 9 {
stop();
}
}
frame 1204 {
stop();
}
frame 1205 {
stop();
}
frame 1206 {
stop();
}
frame 1207 {
_root.snd8.start(0, 10);
}
frame 1207 {
stop();
}
frame 1208 {
stop();
}
frame 1209 {
stop();
}
frame 1210 {
stop();
}
frame 1211 {
stop();
}
frame 1212 {
stop();
}
frame 1213 {
stop();
}
frame 1214 {
stop();
}
frame 1215 {
stop();
}
frame 1216 {
stop();
}
frame 1217 {
stop();
}
frame 1218 {
stop();
}
frame 1219 {
stop();
}
frame 1220 {
stopAllSounds();
}
frame 1220 {
stop();
}
frame 1221 {
_root.snd8.start(0, 10);
}
frame 1221 {
stop();
}
frame 1222 {
stop();
}
frame 1223 {
stop();
}
frame 1224 {
stop();
}
frame 1225 {
stop();
}
frame 1226 {
stop();
}
frame 1227 {
stop();
}
frame 1228 {
stop();
}
frame 1229 {
stop();
}
frame 1230 {
stop();
}
frame 1231 {
stop();
}
frame 1232 {
stop();
}
frame 1233 {
stop();
}
frame 1234 {
stop();
}
frame 1235 {
stop();
}
frame 1236 {
stop();
}
frame 1237 {
stop();
}
frame 1238 {
stop();
}
frame 1239 {
stop();
}
frame 1240 {
stop();
}
frame 1241 {
stop();
}
frame 1242 {
stop();
}
frame 1243 {
stop();
}
frame 1244 {
stop();
}
movieClip 3216 {
frame 30 {
stop();
}
}
frame 1245 {
stop();
}
button 3218 {
on (release) {
_root.gotoAndPlay('titleohboy');
}
}