Frame 1
Stage.showMenu = false;
System.useCodepage = true;
Frame 58
function delBtn() {
delete btnGame.onRelease;
delete btnGame.onRollOver;
delete btnGame.onRollOut;
delete btnGame.onDragOut;
delete btnHelp.onRelease;
delete btnHelp.onRollOver;
delete btnHelp.onRollOut;
delete btnHelp.onDragOut;
}
stop();
btnGame.onRollOver = function () {
this.gotoAndStop("show");
};
btnGame.onRollOut = (btnGame.onDragOut = function () {
this.gotoAndStop("hide");
});
btnGame.onRelease = function () {
beep.gotoAndPlay("show");
delBtn();
gotoAndPlay ("fade_out");
};
btnHelp.onRollOver = function () {
this.gotoAndStop("show");
};
btnHelp.onRollOut = (btnGame.onDragOut = function () {
this.gotoAndStop("hide");
});
btnHelp.onRelease = function () {
beep.gotoAndPlay("show");
delBtn();
help.gotoAndStop("show_t");
};
Frame 92
load.play();
stop();
Frame 108
optBtn.onRollOver = function () {
this.gotoAndStop("over");
};
optBtn.onRollOut = (optBtn.onDragOut = function () {
this.gotoAndStop("hide");
});
optBtn.onRelease = function () {
this.gotoAndStop("hide");
if (isActPlay != true) {
if (game_movie.isOption != true) {
game_movie.isHelp = false;
game_movie.isAct = false;
help.gotoAndStop("hide");
act.gotoAndStop("hide");
mapBtn._visible = false;
game_movie.isOption = true;
option.gotoAndStop("show");
} else {
mapBtn._visible = true;
game_movie.isOption = false;
option.gotoAndStop("hide");
}
}
};
var my_sound = new Sound();
my_sound.attachSound("logoff_id");
my_sound.start(0, 9999);
my_sound.setVolume(40);
my_color = new Color("btnBgm");
btnBgm.gotoAndStop("hide");
sound_icon.gotoAndStop("show");
btnBgm.onRollOver = function () {
my_color.setRGB("0xFFFFFF");
if (isSound != false) {
this.gotoAndStop("show");
} else {
this.gotoAndStop("hide");
}
};
btnBgm.onRollOut = (btnBgm.onDragOut = function () {
my_color.setRGB("0x808080");
if (isSound != false) {
this.gotoAndStop("hide");
} else {
this.gotoAndStop("show");
}
});
btnBgm.onRelease = function () {
if (isSound != false) {
isSound = false;
my_sound.stop();
this.gotoAndStop("hide");
sound_icon.gotoAndStop("hide");
} else {
isSound = true;
my_sound.start(0, 9999);
my_sound.setVolume(40);
this.gotoAndStop("show");
sound_icon.gotoAndStop("show");
}
};
Frame 129
stop();
Frame 136
my_sound.stop();
Instance of Symbol 103 MovieClip [FComboBoxSymbol] "phone1" in Frame 164
//component parameters
onClipEvent (initialize) {
editable = false;
rowCount = 8;
changeHandler = "";
}
Frame 166
function dataSend() {
recVars = new LoadVars();
recVars.onLoad = function (success) {
error_code = (success + " / ") + this.error_num;
if (success) {
dataProcess();
} else {
trace("error");
}
};
sendVars = new LoadVars();
sendVars.user_name = user_name.text;
sendVars.hphone = (((phone1.getvalue() + "-") + phone2.text) + "-") + phone3.text;
sendVars.email = email.text;
sendVars.rnd = random(9999);
sendVars.sendAndLoad("andwelt_update.jsp", recVars, "POST");
}
function dataProcess() {
if (String(recVars.error_num) == "0") {
check.gotoAndPlay("success");
} else {
check.msg = "\uB370\uC774\uD130 \uC800\uC7A5\uC911 \uC624\uB958\uAC00 \uC0DD\uACBC\uC2B5\uB2C8\uB2E4.\n\uC7A0\uC2DC\uD6C4 \uB2E4\uC2DC \uB4F1\uB85D\uD574 \uC8FC\uC138\uC694.";
check.gotoAndStop("error");
}
}
stop();
user_name.text = "";
phone2.text = "";
phone3.text = "";
email.text = "";
Selection.setFocus(user_name);
phone_array = ["", "010", "011", "016", "017", "018", "019"];
phone1.setDataProvider(phone_array);
phone1.setRowCount(7);
eventBtn.onRollOver = function () {
this.gotoAndStop("over");
};
eventBtn.onRollOut = (eventBtn.onDragOut = function () {
this.gotoAndStop("up");
});
eventBtn.onPress = function () {
this.gotoAndStop("down");
};
eventBtn.onRelease = function () {
this.gotoAndStop("up");
check.go_frm = "error";
if (user_name.text != "") {
if (phone1.getvalue() != "") {
if (phone2.text != "") {
if (phone3.text != "") {
if (email.text != "") {
if ((email.text.indexOf("@") != -1) && (email.text.indexOf(".") != -1)) {
check.go_frm = "send";
} else {
check.go_focus = "email";
check.msg = "\uC774\uBA54\uC77C \uD615\uC2DD\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.";
}
} else {
check.go_focus = "email";
check.msg = "\uC774\uBA54\uC77C\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.";
}
} else {
check.go_focus = "phone3";
check.msg = "\uD734\uB300\uD3F0 \uBC88\uD638\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694.";
}
} else {
check.go_focus = "phone2";
check.msg = "\uD734\uB300\uD3F0 \uBC88\uD638\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694.";
}
} else {
check.go_focus = "phone1";
check.msg = "\uD734\uB300\uD3F0 \uBC88\uD638\uB97C \uC785\uB825\uD574 \uC8FC\uC138\uC694.";
}
} else {
check.go_focus = "user_name";
check.msg = "\uC774\uB984\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.";
}
check.gotoAndPlay("show");
};
Symbol 4 MovieClip [FLabelSymbol] Frame 1
#initclip 4
_global.FLabelClass = function () {
var _local1 = this;
if (_local1.hostComponent == undefined) {
_local1.hostComponent = ((_local1._parent.controller == undefined) ? (_local1._parent) : (_local1._parent.controller));
}
if (_local1.customTextStyle == undefined) {
if (_local1.hostComponent.textStyle == undefined) {
_local1.hostComponent.textStyle = new TextFormat();
}
_local1.textStyle = _local1.hostComponent.textStyle;
_local1.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var _local1 = this;
var _local2 = _local1.hostComponent.styleTable.embedFonts.value;
if (_local2 != undefined) {
_local1.labelField.embedFonts = _local2;
}
_local1.labelField.setNewTextFormat(_local1.textStyle);
_local1.labelField.text = label;
_local1.labelField._height = _local1.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
var _local2 = this;
var _local3 = enable;
_local2.enable = _local3;
var _local1 = _local2.hostComponent.styleTable[(_local3 ? "textColor" : "textDisabled")].value;
if (_local1 == undefined) {
_local1 = (_local3 ? 0 : 8947848);
}
_local2.setColor(_local1);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 7 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller;
component.registerSkinElement(highlight_mc, "selection");
stop();
Symbol 7 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled");
stop();
Symbol 7 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused");
stop();
Symbol 8 MovieClip [FUIComponentSymbol] Frame 1
#initclip 2
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
var _local1 = this;
var _local3 = _global;
_local1.enable = true;
_local1.focused = false;
_local1.useHandCursor = false;
_local1._accImpl = new Object();
_local1._accImpl.stub = true;
_local1.styleTable = new Array();
if (_local3.globalStyleFormat == undefined) {
_local3.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_local3._focusControl = new Object();
_local3._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_local3._focusControl);
}
if (_local1._name != undefined) {
_local1._focusrect = false;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
_local1.tabChildren = false;
_local1.tabFocused = true;
if (_local1.hostStyle == undefined) {
globalStyleFormat.addListener(_local1);
} else {
_local1.styleTable = _local1.hostStyle;
}
_local1.deadPreview._visible = false;
_local1.deadPreview._width = (_local1.deadPreview._height = 1);
_local1.methodTable = new Object();
_local1.keyListener = new Object();
_local1.keyListener.controller = _local1;
_local1.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
_local1.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local2 in _local1.styleFormat_prm) {
_local1.setStyleProperty(_local2, _local1.styleFormat_prm[_local2]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.enable = ((arguments.length > 0) ? (enabledFlag) : true);
_local1.tabEnabled = (_local1.focusEnabled = enabledFlag);
if ((!_local1.enable) && (_local1.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
var _local1 = this;
_local1.handlerObj = ((obj == undefined) ? (_local1._parent) : (obj));
_local1.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
var _local1 = this;
_local1.methodTable[methodName] = true;
_local1.onEnterFrame = _local1.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
var _local1 = this;
if (_local1.methodTable.setSize) {
_local1.setSize(_local1.width, _local1.height);
} else {
_local1.cleanUINotSize();
}
_local1.methodTable = new Object();
delete _local1.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
var _local1 = this;
for (var _local2 in _local1.methodTable) {
_local1[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local1 = this;
var _local2 = y;
var _local3 = x;
var inner = _local1.styleTable.focusRectInner.value;
var outer = _local1.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
_local1.createEmptyMovieClip("focusRect", 1000);
_local1.focusRect.controller = _local1;
_local1.focusRect.lineStyle(1, outer);
_local1.focusRect.moveTo(_local3, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2);
_local1.focusRect.lineStyle(1, inner);
_local1.focusRect.moveTo(_local3 + 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, _local2 + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
var _local1 = this;
_local1.tabFocused = false;
_local1.focusRect.removeMovieClip();
Selection.setFocus(_local1);
};
FUIComponentClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
var _local1 = this;
_local1.focused = true;
Key.addListener(_local1.keyListener);
if (_local1.tabFocused) {
_local1.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
var _local1 = this;
_local1.tabFocused = true;
_local1.focused = false;
_local1.focusRect.removeMovieClip();
Key.removeListener(_local1.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local1 = this;
var _local2 = propName;
if (value == "") {
} else {
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].useGlobal || (!global)) {
_local1.styleTable[_local2].value = value;
if (_local1.setCustomStyleProperty(_local2, value)) {
} else if (_local2 == "embedFonts") {
_local1.invalidate("setSize");
} else if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var textProp = _local2.subString(4, _local2.length);
_local1.textStyle[textProp] = value;
_local1.invalidate("setSize");
} else {
for (var j in _local1.styleTable[_local2].coloredMCs) {
var _local3 = new Color(_local1.styleTable[_local2].coloredMCs[j]);
if (_local1.styleTable[_local2].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local3.setTransform(myTObj);
} else {
_local3.setRGB(value);
}
}
}
_local1.styleTable[_local2].useGlobal = global;
}
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
var _local1 = this;
var _local2 = propName;
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].coloredMCs == undefined) {
_local1.styleTable[_local2].coloredMCs = new Object();
}
_local1.styleTable[_local2].coloredMCs[skinMCRef] = skinMCRef;
if (_local1.styleTable[_local2].value != undefined) {
var _local3 = new Color(skinMCRef);
_local3.setRGB(_local1.styleTable[_local2].value);
}
};
_global.FStyleFormat = function () {
var _local1 = arguments;
var _local2 = this;
_local2.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
_local2.listeners = new Object();
_local2.isGlobal = false;
if (_local1.length > 0) {
for (var _local3 in _local1[0]) {
_local2[_local3] = _local1[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local1 = this;
var _local2 = 0;
while (_local2 < arguments.length) {
var _local3 = arguments[_local2];
_local1.listeners[arguments[_local2]] = _local3;
for (var i in _local1) {
if (_local1.isAStyle(i)) {
_local3.updateStyleProperty(_local1, i.toString());
}
}
_local2++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
var _local1 = this;
var _local2 = component;
_local1.listeners[_local2] = undefined;
for (var prop in _local1) {
if (_local1.isAStyle(prop)) {
if (_local2.styleTable[prop].useGlobal == _local1.isGlobal) {
_local2.styleTable[prop].useGlobal = true;
var _local3 = (_local1.isGlobal ? undefined : (globalStyleFormat[prop]));
_local2.setStyleProperty(prop, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local1 = this;
var _local2 = arguments;
var count = 0;
for (var i in _local1.listeners) {
var _local3 = _local1.listeners[i];
if (_local2.length > 0) {
var j = 0;
while (j < _local2.length) {
if (_local1.isAStyle(_local2[j])) {
_local3.updateStyleProperty(_local1, _local2[j]);
}
j++;
}
} else {
for (var j in _local1) {
if (_local1.isAStyle(j)) {
_local3.updateStyleProperty(_local1, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 21 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 31 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 40 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 41 MovieClip [UpArrow] Frame 1
stop();
Symbol 41 MovieClip [UpArrow] Frame 2
stop();
Symbol 41 MovieClip [UpArrow] Frame 3
stop();
Symbol 48 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 55 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 60 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 61 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 69 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 77 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 85 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 86 MovieClip [DownArrow] Frame 1
stop();
Symbol 86 MovieClip [DownArrow] Frame 2
stop();
Symbol 86 MovieClip [DownArrow] Frame 3
stop();
Symbol 89 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 90 MovieClip [FScrollBarSymbol] Frame 1
#initclip 6
FScrollBarClass = function () {
var _local1 = this;
if (_local1._height == 4) {
} else {
_local1.init();
_local1.minPos = (_local1.maxPos = (_local1.pageSize = (_local1.largeScroll = 0)));
_local1.smallScroll = 1;
_local1.width = (_local1.horizontal ? (_local1._width) : (_local1._height));
_local1._xscale = (_local1._yscale = 100);
_local1.setScrollPosition(0);
_local1.tabEnabled = false;
if (_local1._targetInstanceName.length > 0) {
_local1.setScrollTarget(_local1._parent[_local1._targetInstanceName]);
}
_local1.tabChildren = false;
_local1.setSize(_local1.width);
}
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.horizontal && (!_local2)) {
_local1._xscale = 100;
_local1._rotation = 0;
} else if (_local2 && (!_local1.horizontal)) {
_local1._xscale = -100;
_local1._rotation = -90;
}
_local1.horizontal = _local2;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.pageSize = pSize;
_local1.minPos = Math.max(mnPos, 0);
_local1.maxPos = Math.max(mxPos, 0);
_local1.scrollPosition = Math.max(_local1.minPos, _local1.scrollPosition);
_local1.scrollPosition = Math.min(_local1.maxPos, _local1.scrollPosition);
if ((_local1.maxPos - _local1.minPos) <= 0) {
_local1.scrollThumb_mc.removeMovieClip();
_local1.upArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = null));
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = null));
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onRelease = null);
_local1.scrollTrack_mc.onDragOut = (_local1.scrollTrack_mc.onRollOut = null);
_local1.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = _local1.getScrollPosition();
_local1.upArrow_mc.gotoAndStop(1);
_local1.downArrow_mc.gotoAndStop(1);
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onDragOver = _local1.startUpScroller);
_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = _local1.stopScrolling);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onDragOver = _local1.startDownScroller);
_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = _local1.stopScrolling);
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onDragOver = _local1.startTrackScroller);
_local1.scrollTrack_mc.onRelease = _local1.stopScrolling;
_local1.scrollTrack_mc.onDragOut = _local1.stopScrolling;
_local1.scrollTrack_mc.onRollOut = _local1.stopScrolling;
_local1.scrollTrack_mc.useHandCursor = false;
_local1.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
_local1.scrollThumb_mc._x = 0;
_local1.scrollThumb_mc._y = _local1.upArrow_mc._height;
_local1.scrollThumb_mc.onPress = _local1.startDragThumb;
_local1.scrollThumb_mc.controller = _local1;
_local1.scrollThumb_mc.onRelease = (_local1.scrollThumb_mc.onReleaseOutside = _local1.stopDragThumb);
_local1.scrollThumb_mc.useHandCursor = false;
_local1.thumbHeight = (_local1.pageSize / ((_local1.maxPos - _local1.minPos) + _local1.pageSize)) * _local1.trackSize;
_local1.thumbMid_mc = _local1.scrollThumb_mc.mc_sliderMid;
_local1.thumbTop_mc = _local1.scrollThumb_mc.mc_sliderTop;
_local1.thumbBot_mc = _local1.scrollThumb_mc.mc_sliderBot;
_local1.thumbHeight = Math.max(_local1.thumbHeight, 6);
_local1.midHeight = (_local1.thumbHeight - _local1.thumbTop_mc._height) - _local1.thumbBot_mc._height;
_local1.thumbMid_mc._yScale = (_local1.midHeight * 100) / _local1.thumbMid_mc._height;
_local1.thumbMid_mc._y = _local1.thumbTop_mc._height;
_local1.thumbBot_mc._y = _local1.thumbTop_mc._height + _local1.midHeight;
_local1.scrollTop = _local1.scrollThumb_mc._y;
_local1.trackHeight = _local1.trackSize - _local1.thumbHeight;
_local1.scrollBot = _local1.trackHeight + _local1.scrollTop;
_local2 = Math.min(_local2, _local1.maxPos);
_local1.setScrollPosition(Math.max(_local2, _local1.minPos));
}
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
var _local1 = this;
var _local2 = pos;
_local1.scrollPosition = _local2;
if (_local1.scrollThumb_mc != undefined) {
_local2 = Math.min(_local2, _local1.maxPos);
_local2 = Math.max(_local2, _local1.minPos);
}
_local1.scrollThumb_mc._y = (((_local2 - _local1.minPos) * _local1.trackHeight) / (_local1.maxPos - _local1.minPos)) + _local1.scrollTop;
_local1.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
var _local3 = _local1.enable;
if (_local2 && (!_local3)) {
_local1.enable = _local2;
if (_local1.textField != undefined) {
_local1.setScrollTarget(_local1.textField);
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.cachedMinPos, _local1.cachedMaxPos);
_local1.setScrollPosition(_local1.cachedPos);
}
_local1.clickFilter = undefined;
} else if ((!_local2) && (_local3)) {
_local1.textField.removeListener(_local1);
_local1.cachedPos = _local1.getScrollPosition();
_local1.cachedMinPos = _local1.minPos;
_local1.cachedMaxPos = _local1.maxPos;
if (_local1.clickFilter == undefined) {
_local1.setScrollProperties(_local1.pageSize, 0, 0);
} else {
_local1.clickFilter = true;
}
_local1.enable = _local2;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
var _local1 = this;
if (_local1._height == 1) {
} else {
_local1.width = hgt;
_local1.scrollTrack_mc._yscale = 100;
_local1.scrollTrack_mc._yscale = (100 * _local1.width) / _local1.scrollTrack_mc._height;
if (_local1.upArrow_mc == undefined) {
_local1.attachMovie("UpArrow", "upArrow_mc", 1);
_local1.attachMovie("DownArrow", "downArrow_mc", 2);
_local1.downArrow_mc.controller = (_local1.upArrow_mc.controller = _local1);
_local1.upArrow_mc.useHandCursor = (_local1.downArrow_mc.useHandCursor = false);
_local1.upArrow_mc._x = (_local1.upArrow_mc._y = 0);
_local1.downArrow_mc._x = 0;
}
_local1.scrollTrack_mc.controller = _local1;
_local1.downArrow_mc._y = _local1.width - _local1.downArrow_mc._height;
_local1.trackSize = _local1.width - (2 * _local1.downArrow_mc._height);
if (_local1.textField != undefined) {
_local1.onTextChanged();
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.minPos, _local1.maxPos);
}
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local1 = this;
var _local3 = _local1.smallScroll;
if (inc != "one") {
_local3 = ((_local1.largeScroll == 0) ? (_local1.pageSize) : (_local1.largeScroll));
}
var _local2 = _local1.getScrollPosition() + (mode * _local3);
if (_local2 > _local1.maxPos) {
_local2 = _local1.maxPos;
} else if (_local2 < _local1.minPos) {
_local2 = _local1.minPos;
}
_local1.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
var _local1 = this;
_local1.lastY = _local1._ymouse;
_local1.onMouseMove = _local1.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
var _local1 = this;
_local1.scrollMove = _local1._ymouse - _local1.lastY;
_local1.scrollMove = _local1.scrollMove + _local1._y;
if (_local1.scrollMove < _local1.controller.scrollTop) {
_local1.scrollMove = _local1.controller.scrollTop;
} else if (_local1.scrollMove > _local1.controller.scrollBot) {
_local1.scrollMove = _local1.controller.scrollBot;
}
_local1._y = _local1.scrollMove;
var _local2 = _local1.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (_local1._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
_local1.controller.isScrolling = true;
updateAfterEvent();
_local1.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
var _local1 = this;
_local1.controller.trackScroller();
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
var _local1 = this;
var _local2 = inc;
clearInterval(_local1.scrolling);
if (_local2 == "page") {
_local1.trackScroller();
} else {
_local1.scrollIt(_local2, mode);
}
_local1.scrolling = setInterval(_local1, "scrollInterval", 35, _local2, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
var _local1 = this;
if ((_local1.scrollThumb_mc._y + _local1.thumbHeight) < _local1._ymouse) {
_local1.scrollIt("page", 1);
} else if (_local1.scrollThumb_mc._y > _local1._ymouse) {
_local1.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(1);
_local1.controller.upArrow_mc.gotoAndStop(1);
clearInterval(_local1.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
var _local1 = this;
_local1.controller.upArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", -1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", 1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
var _local1 = this;
var _local2 = tF;
if (_local2 == undefined) {
_local1.textField.removeListener(_local1);
delete _local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")];
if ((_local1.textField.hScroller != undefined) && (_local1.textField.vScroller != undefined)) {
_local1.textField.unwatch("text");
_local1.textField.unwatch("htmltext");
}
}
_local1.textField = undefined;
if (!(_local2 instanceof TextField)) {
} else {
_local1.textField = _local2;
_local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")] = _local1;
_local1.onTextChanged();
_local1.onChanged = function () {
this.onTextChanged();
};
_local1.onScroller = function () {
var _local1 = this;
if (!_local1.isScrolling) {
if (!_local1.horizontal) {
_local1.setScrollPosition(_local1.textField.scroll);
} else {
_local1.setScrollPosition(_local1.textField.hscroll);
}
}
};
_local1.textField.addListener(_local1);
_local1.textField.watch("text", _local1.callback);
_local1.textField.watch("htmlText", _local1.callback);
}
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
var _local1 = this;
clearInterval(_local1.hScroller.synchScroll);
clearInterval(_local1.vScroller.synchScroll);
_local1.hScroller.synchScroll = setInterval(_local1.hScroller, "onTextChanged", 50);
_local1.vScroller.synchScroll = setInterval(_local1.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
var _local1 = this;
if ((!_local1.enable) || (_local1.textField == undefined)) {
} else {
clearInterval(_local1.synchScroll);
if (_local1.horizontal) {
var _local2 = _local1.textField.hscroll;
_local1.setScrollProperties(_local1.textField._width, 0, _local1.textField.maxhscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxhscroll));
} else {
var _local2 = _local1.textField.scroll;
var _local3 = _local1.textField.bottomScroll - _local1.textField.scroll;
_local1.setScrollProperties(_local3, 1, _local1.textField.maxscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxscroll));
}
}
};
FScrollBarClass.prototype.executeCallBack = function () {
var _local1 = this;
if (_local1.textField == undefined) {
super.executeCallBack();
} else if (_local1.horizontal) {
_local1.textField.hscroll = _local1.getScrollPosition();
} else {
_local1.textField.scroll = _local1.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 91 MovieClip [DataProviderSymbol] Frame 1
#initclip 3
_global.DataProviderClass = function () {
this.init();
};
DataProviderClass.prototype.init = function () {
var _local1 = this;
_local1.items = new Array();
_local1.uniqueID = 0;
_local1.views = new Array();
};
DataProviderClass.prototype.addView = function (viewRef) {
this.views.push(viewRef);
var _local1 = {event:"updateAll"};
viewRef.modelChanged(_local1);
};
DataProviderClass.prototype.addItemAt = function (index, value) {
var _local1 = index;
var _local2 = this;
var _local3 = value;
if (_local1 < _local2.getLength()) {
_local2.items.splice(_local1, 0, "tmp");
}
_local2.items[_local1] = new Object();
if (typeof(_local3) == "object") {
_local2.items[_local1] = _local3;
} else {
_local2.items[_local1].label = _local3;
}
_local2.items[_local1].__ID__ = _local2.uniqueID++;
var eventObj = {event:"addRows", firstRow:_local1, lastRow:_local1};
_local2.updateViews(eventObj);
};
DataProviderClass.prototype.addItem = function (value) {
this.addItemAt(this.getLength(), value);
};
DataProviderClass.prototype.removeItemAt = function (index) {
var _local1 = index;
var _local2 = this;
var tmpItm = _local2.items[_local1];
_local2.items.splice(_local1, 1);
var _local3 = {event:"deleteRows", firstRow:_local1, lastRow:_local1};
_local2.updateViews(_local3);
return(tmpItm);
};
DataProviderClass.prototype.removeAll = function () {
var _local1 = this;
_local1.items = new Array();
_local1.updateViews({event:"deleteRows", firstRow:0, lastRow:_local1.getLength() - 1});
};
DataProviderClass.prototype.replaceItemAt = function (index, itemObj) {
var _local1 = index;
var _local2 = this;
if ((_local1 < 0) || (_local1 >= _local2.getLength())) {
} else {
var _local3 = _local2.getItemID(_local1);
if (typeof(itemObj) == "object") {
_local2.items[_local1] = itemObj;
} else {
_local2.items[_local1].label = itemObj;
}
_local2.items[_local1].__ID__ = _local3;
_local2.updateViews({event:"updateRows", firstRow:_local1, lastRow:_local1});
}
};
DataProviderClass.prototype.getLength = function () {
return(this.items.length);
};
DataProviderClass.prototype.getItemAt = function (index) {
return(this.items[index]);
};
DataProviderClass.prototype.getItemID = function (index) {
return(this.items[index].__ID__);
};
DataProviderClass.prototype.sortItemsBy = function (fieldName, order) {
var _local1 = this;
_local1.items.sortOn(fieldName);
if (order == "DESC") {
_local1.items.reverse();
}
_local1.updateViews({event:"sort"});
};
DataProviderClass.prototype.updateViews = function (eventObj) {
var _local2 = this;
var _local3 = eventObj;
var _local1 = 0;
while (_local1 < _local2.views.length) {
_local2.views[_local1].modelChanged(_local3);
_local1++;
}
};
#endinitclip
Symbol 92 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 8
function FSelectableItemClass() {
this.init();
}
FSelectableItemClass.prototype = new FUIComponentClass();
FSelectableItemClass.prototype.init = function () {
var _local1 = this;
if (_local1._name != "itemAsset") {
_local1.highlighted = false;
_local1.layoutContent(100);
}
};
FSelectableItemClass.prototype.drawItem = function (itmObj, selected) {
var _local1 = this;
var _local2 = selected;
_local1.displayContent(itmObj, _local2);
if ((_local1.highlighted != _local2) || ((_local1.controller.focused != _local1.oldFocus) && (_local2))) {
_local1.setHighlighted(_local2);
}
_local1.oldFocus = _local1.controller.focused;
};
FSelectableItemClass.prototype.setSize = function (width, height) {
var _local1 = this;
var _local3 = width;
var _local2 = -16384;
_local1.width = _local3;
_local1.layoutContent(_local3);
_local1.attachMovie("FHighlightSymbol", "highlight_mc", _local2);
_local1.highlight_mc._x = 0.5;
_local1.highlight_mc._width = _local3 - 0.5;
_local1.highlight_mc._height = height;
_local1.highlight_mc.controller = _local1;
_local1.highlight_mc._alpha = 0;
_local1.highlight_mc.trackAsMenu = true;
_local1.highlight_mc.onPress = function () {
var _local1 = this;
if (_local1.controller.enable) {
_local1.controller.controller.clickHandler(_local1.controller.itemNum);
}
};
_local1.highlight_mc.onDragOver = function () {
if (this.controller.controller.focused) {
this.onPress();
}
};
_local1.highlight_mc.useHandCursor = false;
_local1.highlight_mc.trackAsMenu = true;
};
FSelectableItemClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
_local1.enable = _local2;
_local1.fLabel_mc.setEnabled(_local2);
_local1.highlight_mc.gotoAndStop((_local2 ? "unfocused" : "disabled"));
};
FSelectableItemClass.prototype.layoutContent = function (width) {
var _local1 = this;
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:_local1.controller});
_local1.fLabel_mc._x = 2;
_local1.fLabel_mc._y = 0;
_local1.fLabel_mc.setSize(width - 2);
_local1.fLabel_mc.labelField.selectable = false;
};
FSelectableItemClass.prototype.displayContent = function (itmObj, selected) {
var _local2 = itmObj;
var _local1 = "";
if (_local2.label != undefined) {
_local1 = _local2.label;
} else if (typeof(_local2) == "object") {
for (var _local3 in _local2) {
if (_local3 != "__ID__") {
_local1 = (_local2[_local3] + ", ") + _local1;
}
}
_local1 = _local1.substring(0, _local1.length - 2);
} else {
_local1 = _local2;
}
if (this.fLabel_mc.labelField.text != _local1) {
this.fLabel_mc.setLabel(_local1);
}
var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value));
if (clr == undefined) {
clr = (selected ? 16777215 : 0);
}
this.fLabel_mc.setColor(clr);
};
FSelectableItemClass.prototype.getItemIndex = function () {
return(this.controller.getScrollPosition() + this.itemNum);
};
FSelectableItemClass.prototype.getItemModel = function () {
return(this.controller.getItemAt(this.getItemIndex()));
};
FSelectableItemClass.prototype.getHostDataProvider = function () {
return(this.controller.dataProvider);
};
FSelectableItemClass.prototype.setHighlighted = function (flag) {
var _local1 = this;
var _local2 = flag;
fade = _local1.controller.styleTable.fadeRate.value;
if (((fade == undefined) || (fade == 0)) || (!_local2)) {
_local1.highlight_mc._alpha = (_local2 ? 100 : 0);
delete _local1.onEnterFrame;
} else {
_local1.fadeN = fade;
_local1.fadeX = 1;
_local1.highLight_mc._alpha = 20;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.highLight_mc._alpha = (60 * Math.sqrt((_local1.fadeX++) / _local1.fadeN)) + 40;
if (_local1.fadeX > _local1.fadeN) {
delete _local1.onEnterFrame;
}
};
}
_local1.highlighted = _local2;
};
#endinitclip
Symbol 93 MovieClip [FSelectableListSymbol] Frame 1
#initclip 5
function FSelectableListClass() {
this.init();
}
FSelectableListClass.prototype = new FUIComponentClass();
FSelectableListClass.prototype.init = function () {
var _local1 = this;
super.init();
_local1.enable = true;
_local1.selected = new Array();
_local1.topDisplayed = (_local1.numDisplayed = 0);
_local1.lastSelected = 0;
_local1.tabChildren = false;
if (_local1._name != undefined) {
_local1.dataProvider = new DataProviderClass();
_local1.dataProvider.addView(_local1);
}
};
FSelectableListClass.prototype.addItemAt = function (index, label, data) {
if ((index < 0) || (!this.enable)) {
return(undefined);
}
this.dataProvider.addItemAt(index, {label:label, data:data});
};
FSelectableListClass.prototype.addItem = function (label, data) {
if (!this.enable) {
return(undefined);
}
this.dataProvider.addItem({label:label, data:data});
};
FSelectableListClass.prototype.removeItemAt = function (index) {
var _local1 = this;
_local1.selectHolder = _local1.getSelectedIndex();
var _local2 = _local1.getItemAt(index);
_local1.dataProvider.removeItemAt(index);
return(_local2);
};
FSelectableListClass.prototype.removeAll = function () {
this.dataProvider.removeAll();
};
FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) {
this.dataProvider.replaceItemAt(index, {label:newLabel, data:newData});
};
FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) {
var _local1 = this;
_local1.lastSelID = _local1.dataProvider.getItemID(_local1.lastSelected);
_local1.dataProvider.sortItemsBy(fieldName, order);
};
FSelectableListClass.prototype.getLength = function () {
return(this.dataProvider.getLength());
};
FSelectableListClass.prototype.getSelectedIndex = function () {
var _local2 = this;
for (var _local3 in _local2.selected) {
var _local1 = _local2.selected[_local3].sIndex;
if (_local1 != undefined) {
return(_local1);
}
}
return(undefined);
};
FSelectableListClass.prototype.getSelectedItem = function () {
return(this.getItemAt(this.getSelectedIndex()));
};
FSelectableListClass.prototype.getItemAt = function (index) {
return(this.dataProvider.getItemAt(index));
};
FSelectableListClass.prototype.getEnabled = function () {
return(this.enable);
};
FSelectableListClass.prototype.getValue = function () {
var _local1 = this.getSelectedItem();
if (_local1.data != undefined) {
return(_local1.data);
}
return(_local1.label);
};
FSelectableListClass.prototype.setSelectedIndex = function (index, flag) {
var _local1 = this;
var _local2 = index;
if (((_local2 >= 0) && (_local2 < _local1.getLength())) && (_local1.enable)) {
_local1.clearSelected();
_local1.selectItem(_local2, true);
_local1.lastSelected = _local2;
_local1.invalidate("updateControl");
if (flag != false) {
_local1.executeCallBack();
}
}
};
FSelectableListClass.prototype.setDataProvider = function (obj) {
var _local2 = obj;
this.setScrollPosition(0);
this.clearSelected();
if (_local2 instanceof Array) {
this.dataProvider = new DataProviderClass();
var _local1 = 0;
while (_local1 < _local2.length) {
var _local3 = ((typeof(_local2[_local1]) == "string") ? ({label:_local2[_local1]}) : (_local2[_local1]));
this.dataProvider.addItem(_local3);
_local1++;
}
} else {
this.dataProvider = _local2;
}
this.dataProvider.addView(this);
};
FSelectableListClass.prototype.setItemSymbol = function (linkID) {
var _local1 = this;
_local1.tmpPos = _local1.getScrollPosition();
_local1.itemSymbol = linkID;
_local1.invalidate("setSize");
_local1.setScrollPosition(_local1.tmpPos);
};
FSelectableListClass.prototype.setEnabled = function (enabledFlag) {
var _local2 = this;
_local2.cleanUI();
super.setEnabled(enabledFlag);
_local2.enable = enabledFlag;
_local2.boundingBox_mc.gotoAndStop((_local2.enable ? "enabled" : "disabled"));
var _local3 = Math.min(_local2.numDisplayed, _local2.getLength());
var _local1 = 0;
while (_local1 < _local3) {
_local2.container_mc[("fListItem" + _local1) + "_mc"].setEnabled(_local2.enable);
_local1++;
}
if (_local2.enable) {
_local2.invalidate("updateControl");
}
};
FSelectableListClass.prototype.updateControl = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.container_mc[("fListItem" + _local1) + "_mc"].drawItem(_local2.getItemAt(_local2.topDisplayed + _local1), _local2.isSelected(_local2.topDisplayed + _local1));
_local1++;
}
};
FSelectableListClass.prototype.setSize = function (w, h) {
var _local1 = this;
super.setSize(w, h);
_local1.boundingBox_mc._xscale = (_local1.boundingBox_mc._yscale = 100);
_local1.boundingBox_mc._xscale = (_local1.width * 100) / _local1.boundingBox_mc._width;
_local1.boundingBox_mc._yscale = (_local1.height * 100) / _local1.boundingBox_mc._height;
var _local2 = 0;
while (_local2 < _local1.numDisplayed) {
_local1.container_mc.attachMovie(_local1.itemSymbol, ("fListItem" + _local2) + "_mc", 10 + _local2, {controller:_local1, itemNum:_local2});
var _local3 = _local1.container_mc[("fListItem" + _local2) + "_mc"];
var offset = ((_local1.scrollOffset == undefined) ? 0 : (_local1.scrollOffset));
_local3.setSize(_local1.width - offset, _local1.itmHgt);
_local3._y = (_local1.itmHgt - 2) * _local2;
_local2++;
}
_local1.updateControl();
};
FSelectableListClass.prototype.modelChanged = function (eventObj) {
var _local1 = this;
var firstRow = eventObj.firstRow;
var lastRow = eventObj.lastRow;
var event = eventObj.event;
if (event == "addRows") {
for (var _local2 in _local1.selected) {
if ((_local1.selected[_local2].sIndex != undefined) && (_local1.selected[_local2].sIndex >= firstRow)) {
_local1.selected[_local2].sIndex = _local1.selected[_local2].sIndex + ((lastRow - firstRow) + 1);
_local1.setSelectedIndex(_local1.selected[_local2].sIndex, false);
}
}
} else if (event == "deleteRows") {
if (firstRow == lastRow) {
var index = firstRow;
if (_local1.selectHolder == index) {
_local1.selectionDeleted = true;
}
if (((_local1.topDisplayed + _local1.numDisplayed) >= _local1.getLength()) && (_local1.topDisplayed > 0)) {
_local1.topDisplayed--;
if (_local1.selectionDeleted && ((index - 1) >= 0)) {
_local1.setSelectedIndex(index - 1, false);
}
} else if (_local1.selectionDeleted) {
var len = _local1.getLength();
if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) {
_local1.setSelectedIndex(index - 1, false);
} else {
_local1.setSelectedIndex(index, false);
}
}
for (var _local2 in _local1.selected) {
if (_local1.selected[_local2].sIndex > firstRow) {
_local1.selected[_local2].sIndex--;
}
}
} else {
_local1.clearSelected();
_local1.topDisplayed = 0;
}
} else if (event == "sort") {
var len = _local1.getLength();
var _local2 = 0;
while (_local2 < len) {
if (_local1.isSelected(_local2)) {
var _local3 = _local1.dataProvider.getItemID(_local2);
if (_local3 == _local1.lastSelID) {
_local1.lastSelected = _local2;
}
_local1.selected[String(_local3)].sIndex = _local2;
}
_local2++;
}
}
_local1.invalidate("updateControl");
};
FSelectableListClass.prototype.measureItmHgt = function () {
var _local1 = this;
_local1.attachMovie(_local1.itemSymbol, "tmpItem_mc", 0, {controller:_local1});
_local1.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false);
_local1.itmHgt = _local1.tmpItem_mc._height;
_local1.tmpItem_mc.removeMovieClip();
};
FSelectableListClass.prototype.selectItem = function (index, selectedFlag) {
var _local1 = this;
var _local2 = index;
if (selectedFlag && (!_local1.isSelected(_local2))) {
_local1.selected[String(_local1.dataProvider.getItemID(_local2))] = {sIndex:_local2};
} else if (!selectedFlag) {
delete _local1.selected[String(_local1.dataProvider.getItemID(_local2))];
}
};
FSelectableListClass.prototype.isSelected = function (index) {
return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined);
};
FSelectableListClass.prototype.clearSelected = function () {
var _local1 = this;
for (var _local3 in _local1.selected) {
var _local2 = _local1.selected[_local3].sIndex;
if (((_local2 != undefined) && (_local1.topDisplayed <= _local2)) && (_local2 < (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.container_mc[("fListItem" + (_local2 - _local1.topDisplayed)) + "_mc"].drawItem(_local1.getItemAt(_local2), false);
}
}
delete _local1.selected;
_local1.selected = new Array();
};
FSelectableListClass.prototype.selectionHandler = function (itemNum) {
var _local1 = this;
var _local2 = _local1.topDisplayed + itemNum;
if (_local1.getItemAt(_local2 == undefined)) {
_local1.changeFlag = false;
} else {
_local1.changeFlag = true;
_local1.clearSelected();
_local1.selectItem(_local2, true);
_local1.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(_local1.getItemAt(_local2), _local1.isSelected(_local2));
}
};
FSelectableListClass.prototype.moveSelBy = function (incr) {
var _local1 = this;
var _local3 = _local1.getSelectedIndex();
var _local2 = _local3 + incr;
_local2 = Math.max(0, _local2);
_local2 = Math.min(_local1.getLength() - 1, _local2);
if (_local2 == _local3) {
} else {
if ((_local3 < _local1.topDisplayed) || (_local3 >= (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.setScrollPosition(_local3);
}
if ((_local2 >= (_local1.topDisplayed + _local1.numDisplayed)) || (_local2 < _local1.topDisplayed)) {
_local1.setScrollPosition(_local1.topDisplayed + incr);
}
_local1.selectionHandler(_local2 - _local1.topDisplayed);
}
};
FSelectableListClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
_local1.focusRect.removeMovieClip();
if (!_local1.focused) {
_local1.pressFocus();
}
_local1.selectionHandler(itmNum);
_local1.onMouseUp = _local1.releaseHandler;
};
FSelectableListClass.prototype.releaseHandler = function () {
var _local1 = this;
if (_local1.changeFlag) {
_local1.executeCallBack();
}
_local1.changeFlag = false;
_local1.onMouseUp = undefined;
};
FSelectableListClass.prototype.myOnSetFocus = function () {
var _local2 = this;
super.myOnSetFocus();
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.container_mc[("fListItem" + _local1) + "_mc"].highlight_mc.gotoAndStop("enabled");
_local1++;
}
};
FSelectableListClass.prototype.myOnKillFocus = function () {
var _local2 = this;
super.myOnKillFocus();
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.container_mc[("fListItem" + _local1) + "_mc"].highlight_mc.gotoAndStop("unfocused");
_local1++;
}
};
#endinitclip
Instance of Symbol 91 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 93 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 92 MovieClip [FSelectableItemSymbol] "ItemAsset" in Symbol 93 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 94 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 7
function FScrollSelectListClass() {
this.init();
}
FScrollSelectListClass.prototype = new FSelectableListClass();
FScrollSelectListClass.prototype.getScrollPosition = function () {
return(this.topDisplayed);
};
FScrollSelectListClass.prototype.setScrollPosition = function (pos) {
var _local1 = pos;
var _local2 = this;
if (_local2.enable) {
_local1 = Math.min(_local1, _local2.getLength() - _local2.numDisplayed);
_local1 = Math.max(_local1, 0);
_local2.scrollBar_mc.setScrollPosition(_local1);
}
};
FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) {
var _local1 = this;
_local1.permaScrollBar = !flag;
_local1.setSize(_local1.width, _local1.height);
};
FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.scrollBar_mc.setEnabled(this.enable);
};
FScrollSelectListClass.prototype.setSize = function (w, h) {
var _local1 = this;
var _local2 = _local1.getScrollPosition();
super.setSize(w, h);
if (_local1.scrollBar_mc != undefined) {
_local1.removed = true;
}
_local1.scrollBar_mc = undefined;
_local1.initScrollBar();
_local1.setScrollPosition(_local2);
};
FScrollSelectListClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
this.invalidate("initScrollBar");
};
FScrollSelectListClass.prototype.initScrollBar = function () {
var _local1 = this;
if ((!_local1.permaScrollBar) && (_local1.getLength() <= _local1.numDisplayed)) {
if (_local1.removed) {
_local1.scrollBar_mc.removeMovieClip();
_local1.scrollBar_mc = undefined;
_local1.scrollOffset = undefined;
_local1.invalidate("setSize");
}
} else {
if (_local1.scrollBar_mc == undefined) {
_local1.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:_local1.styleTable});
_local1.scrollBar_mc = _local1.container_mc.scrollBar_mc;
_local1.scrollBar_mc.setChangeHandler("scrollHandler", _local1);
_local1.scrollBar_mc.setSize(_local1.height);
_local1.scrollBar_mc._x = _local1.width - _local1.scrollBar_mc._width;
_local1.scrollBar_mc._y = 0;
_local1.scrollBar_mc.setLargeScroll(_local1.numDisplayed - 1);
_local1.scrollOffset = _local1.scrollBar_mc._width;
_local1.invalidate("setSize");
}
_local1.scrollBar_mc.setScrollProperties(_local1.numDisplayed, 0, _local1.getLength() - _local1.numDisplayed);
}
};
FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) {
var _local2 = this;
var _local1 = scrollBar.getScrollPosition();
_local2.topDisplayed = _local1;
if (_local2.lastPosition != _local1) {
_local2.updateControl();
}
_local2.lastPosition = _local1;
};
FScrollSelectListClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
super.clickHandler(itmNum);
if ((_local1.dragScrolling == undefined) && (_local1.scrollBar_mc != undefined)) {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.releaseHandler = function () {
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
super.releaseHandler();
};
FScrollSelectListClass.prototype.dragScroll = function () {
var _local1 = this;
clearInterval(_local1.dragScrolling);
if (_local1.container_mc._ymouse < 0) {
_local1.setScrollPosition(_local1.getScrollPosition() - 1);
_local1.selectionHandler(0);
_local1.scrollInterval = Math.max(25, (-23.8 * (-_local1.container_mc._ymouse)) + 500);
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
} else if (_local1.container_mc._ymouse > ((_local1.itmHgt - 2) * _local1.numDisplayed)) {
_local1.setScrollPosition(_local1.getScrollPosition() + 1);
_local1.selectionHandler(_local1.numDisplayed - 1);
_local1.scrollInterval = Math.max(25, (-23.8 * Math.abs((_local1.container_mc._ymouse - ((_local1.itmHgt - 2) * _local1.numDisplayed)) - 2)) + 500);
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
} else {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.myOnKeyDown = function () {
var _local2 = this;
if (_local2.focused) {
_local2.keyCodes = new Array(40, 38, 34, 33, 36, 35);
_local2.keyIncrs = new Array(1, -1, _local2.numDisplayed - 1, -(_local2.numDisplayed - 1), -_local2.getLength(), _local2.getLength());
var _local1 = 0;
while (_local1 < _local2.keyCodes.length) {
if (Key.isDown(_local2.keyCodes[_local1])) {
_local2.moveSelBy(_local2.keyIncrs[_local1]);
return;
}
_local1++;
}
_local2.findInputText();
}
};
FScrollSelectListClass.prototype.findInputText = function () {
var _local1 = Key.getAscii();
if ((_local1 >= 33) && (_local1 <= 126)) {
this.findString(String.fromCharCode(_local1));
}
};
FScrollSelectListClass.prototype.findString = function (str) {
if (this.getLength() == 0) {
} else {
var _local3 = this.getSelectedIndex();
var jump = 0;
var _local1 = _local3 + 1;
while (_local1 != _local3) {
var _local2 = this.getItemAt(_local1).label.substring(0, str.length);
if ((str == _local2) || (str.toUpperCase() == _local2.toUpperCase())) {
var jump = (_local1 - _local3);
break;
}
if (_local1 >= (this.getLength() - 1)) {
_local1 = -1;
}
_local1++;
}
if (jump != 0) {
this.moveSelBy(jump);
}
}
};
#endinitclip
Instance of Symbol 90 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 94 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
onClipEvent (load) {
this._width = (this._height = 1);
}
Instance of Symbol 93 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 94 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 95 MovieClip [FComboBoxItemSymbol] Frame 1
#initclip 10
function FComboBoxItemClass() {
this.init();
}
FComboBoxItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FComboBoxItemSymbol", FComboBoxItemClass);
FComboBoxItemClass.prototype.setSize = function (w, h) {
var _local1 = this;
super.setSize(w, h);
_local1.highlight_mc.onRollOver = function () {
this.controller.controller.selectionHandler(this.controller.itemNum);
};
};
#endinitclip
Symbol 100 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 100 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 103 MovieClip [FComboBoxSymbol] Frame 1
#initclip 9
function FComboBoxClass() {
var _local1 = this;
_global._popUpLevel = ((_global._popUpLevel == undefined) ? 20000 : (_global._popUpLevel + 1));
_local1.superHolder = _root.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
var _local3 = _local1.superHolder.createEmptyMovieClip("testCont", 20000);
var testBox = _local3.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
if (testBox._name == undefined) {
_local1.superHolder.removeMovieClip();
_local1.superHolder = _local1._parent.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
} else {
_local3.removeMovieClip();
}
if (_local1.rowCount == undefined) {
_local1.rowCount = 8;
_local1.editable = false;
}
_local1.itemSymbol = "FComboBoxItemSymbol";
_local1.init();
_local1.permaScrollBar = false;
_local1.proxyBox_mc.gotoAndStop(1);
_local1.width = _local1._width;
_local1.height = (_local1.proxyBox_mc._height * _local1._yscale) / 100;
var _local2 = 0;
while (_local2 < _local1.labels.length) {
_local1.addItem(_local1.labels[_local2], _local1.data[_local2]);
_local2++;
}
_local1.lastSelected = 0;
_local1.selectItem(0);
_local1._xscale = (_local1._yscale = 100);
_local1.opened = false;
_local1.setSize(_local1.width);
_local1.highlightTop(false);
if (_local1.changeHandler.length > 0) {
_local1.setChangeHandler(_local1.changeHandler);
}
_local1.onUnload = function () {
this.superHolder.removeMovieClip();
};
_local1.setSelectedIndex(0, false);
_local1.value = "";
_local1.focusEnabled = true;
_local1.changeFlag = false;
}
FComboBoxClass.prototype = new FScrollSelectListClass();
Object.registerClass("FComboBoxSymbol", FComboBoxClass);
FComboBoxClass.prototype.modelChanged = function (eventObj) {
var _local1 = this;
super.modelChanged(eventObj);
var _local2 = eventObj.event;
if ((_local2 == "addRows") || (_local2 == "deleteRows")) {
var diff = ((eventObj.lastRow - eventObj.firstRow) + 1);
var mode = ((_local2 == "addRows") ? 1 : -1);
var _local3 = _local1.getLength();
var lenBefore = (_local3 - (mode * diff));
if ((_local1.rowCount > lenBefore) || (_local1.rowCount > _local3)) {
_local1.invalidate("setSize");
}
if (_local1.getSelectedIndex() == undefined) {
_local1.setSelectedIndex(0, false);
}
} else if (_local2 == "updateAll") {
_local1.invalidate("setSize");
}
};
FComboBoxClass.prototype.removeAll = function () {
var _local1 = this;
if (!_local1.enable) {
} else {
super.removeAll();
if (_local1.editable) {
_local1.value = "";
}
_local1.invalidate("setSize");
}
};
FComboBoxClass.prototype.setSize = function (w) {
var _local1 = this;
var _local2 = w;
if ((((_local2 == undefined) || (typeof(_local2) != "number")) || (_local2 <= 0)) || (!_local1.enable)) {
} else {
_local1.proxyBox_mc._width = _local2;
_local1.container_mc.removeMovieClip();
_local1.measureItmHgt();
_local1.container_mc = _local1.superHolder.createEmptyMovieClip("container", 3);
_local1.container_mc.tabChildren = false;
_local1.setPopUpLocation(_local1.container_mc);
_local1.container_mc.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
_local1.boundingBox_mc = _local1.container_mc.boundingBox_mc;
_local1.boundingBox_mc.component = _local1;
_local1.registerSkinElement(_local1.boundingBox_mc.boundingBox, "background");
_local1.proxyBox_mc._height = _local1.itmHgt;
_local1.numDisplayed = Math.min(_local1.rowCount, _local1.getLength());
if (_local1.numDisplayed < 3) {
_local1.numDisplayed = Math.min(3, _local1.getLength());
}
_local1.height = (_local1.numDisplayed * (_local1.itmHgt - 2)) + 2;
super.setSize(_local2, _local1.height);
_local1.attachMovie("DownArrow", "downArrow", 10);
_local1.downArrow._y = 0;
_local1.downArrow._width = _local1.itmHgt;
_local1.downArrow._height = _local1.itmHgt;
_local1.downArrow._x = _local1.proxyBox_mc._width - _local1.downArrow._width;
_local1.setEditable(_local1.editable);
_local1.container_mc._visible = _local1.opened;
_local1.highlightTop(false);
_local1.fader = _local1.superHolder.attachMovie("FBoundingBoxSymbol", "faderX", 4);
_local1.registerSkinElement(_local1.fader.boundingBox, "background");
_local1.fader._width = _local1.width;
_local1.fader._height = _local1.height;
_local1.fader._visible = false;
}
};
FComboBoxClass.prototype.setDataProvider = function (dp) {
super.setDataProvider(dp);
this.invalidate("setSize");
this.setSelectedIndex(0);
};
FComboBoxClass.prototype.getValue = function () {
if (this.editable) {
return(this.fLabel_mc.getLabel());
}
return(super.getValue());
};
FComboBoxClass.prototype.getRowCount = function () {
return(this.rowCount);
};
FComboBoxClass.prototype.setRowCount = function (count) {
var _local1 = this;
var _local3 = count;
_local1.rowCount = ((_local1.getLength() > _local3) ? (Math.max(_local3, 3)) : (_local3));
_local1.setSize(_local1.width);
var _local2 = _local1.getLength();
if ((_local2 - _local1.getScrollPosition()) < _local1.rowCount) {
_local1.setScrollPosition(_local2 - Math.min(_local1.rowCount, _local2));
_local1.invalidate("updateControl");
}
};
FComboBoxClass.prototype.setEditable = function (editableFlag) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.editable = editableFlag;
if (!_local1.editable) {
_local1.onPress = _local1.pressHandler;
_local1.useHandCursor = false;
_local1.trackAsMenu = true;
_local1.attachMovie("FComboBoxItemSymbol", "fLabel_mc", 5, {controller:_local1, itemNum:-1});
_local1.fLabel_mc.onRollOver = undefined;
_local1.fLabel_mc.setSize((_local1.width - _local1.itmHgt) + 1, _local1.itmHgt);
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
_local1.highlightTop(false);
} else {
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 5);
_local1.fLabel_txt = _local1.fLabel_mc.labelField;
_local1.fLabel_txt.type = "input";
_local1.fLabel_txt._x = 4;
_local1.fLabel_txt.onSetFocus = _local1.onLabelFocus;
_local1.fLabel_mc.setSize((_local1.width - _local1.itmHgt) - 3);
delete _local1.onPress;
_local1.fLabel_txt.onKillFocus = function () {
this._parent._parent.myOnKillFocus();
};
_local1.fLabel_mc.setLabel(_local1.value);
_local1.fLabel_txt.onChanged = function () {
this._parent._parent.findInputText();
};
_local1.downArrow.onPress = _local1.buttonPressHandler;
_local1.downArrow.useHandCursor = false;
_local1.downArrow.trackAsMenu = true;
}
}
};
FComboBoxClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
_local2 = (((_local2 == undefined) || (typeof(_local2) != "boolean")) ? true : (_local2));
super.setEnabled(_local2);
_local1.registerSkinElement(_local1.boundingBox_mc.boundingBox, "background");
_local1.proxyBox_mc.gotoAndStop((_local1.enable ? "enabled" : "disabled"));
_local1.downArrow.gotoAndStop((_local1.enable ? 1 : 3));
if (_local1.editable) {
_local1.fLabel_txt.type = (_local2 ? "input" : "dynamic");
_local1.fLabel_txt.selectable = _local2;
} else if (_local2) {
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
_local1.setSelectedIndex(_local1.getSelectedIndex(), false);
}
_local1.fLabel_mc.setEnabled(_local1.enable);
_local1.fLabel_txt.onSetFocus = (_local2 ? (_local1.onLabelFocus) : undefined);
};
FComboBoxClass.prototype.setSelectedIndex = function (index, flag) {
var _local1 = this;
super.setSelectedIndex(index, flag);
if (!_local1.editable) {
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
} else {
_local1.value = ((flag != undefined) ? "" : (_local1.getSelectedItem().label));
_local1.fLabel_mc.setLabel(_local1.value);
}
_local1.invalidate("updateControl");
};
FComboBoxClass.prototype.setValue = function (value) {
var _local1 = this;
if (_local1.editable) {
_local1.fLabel_mc.setLabel(value);
_local1.value = value;
}
};
FComboBoxClass.prototype.pressHandler = function () {
var _local1 = this;
_local1.focusRect.removeMovieClip();
if (_local1.enable) {
if (!_local1.opened) {
_local1.onMouseUp = _local1.releaseHandler;
} else {
_local1.onMouseUp = undefined;
}
_local1.changeFlag = false;
if (!_local1.focused) {
_local1.pressFocus();
_local1.clickFilter = (_local1.editable ? false : true);
}
if (!_local1.clickFilter) {
_local1.openOrClose(!_local1.opened);
} else {
_local1.clickFilter = false;
}
}
};
FComboBoxClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
if (!_local1.focused) {
if (_local1.editable) {
_local1.fLabel_txt.onKillFocus = undefined;
}
_local1.pressFocus();
}
super.clickHandler(itmNum);
_local1.selectionHandler(itmNum);
_local1.onMouseUp = _local1.releaseHandler;
};
FComboBoxClass.prototype.highlightTop = function (flag) {
var _local1 = this;
if (!_local1.editable) {
_local1.fLabel_mc.drawItem(_local1.topLabel, flag);
}
};
FComboBoxClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
this.fLabel_mc.highlight_mc.gotoAndStop("enabled");
this.highlightTop(true);
};
FComboBoxClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1._height + 4);
};
FComboBoxClass.prototype.myOnKillFocus = function () {
var _local1 = this;
if (Selection.getFocus().indexOf("labelField") != -1) {
} else {
super.myOnKillFocus();
delete _local1.fLabel_txt.onKeyDown;
_local1.openOrClose(false);
_local1.highlightTop(false);
}
};
FComboBoxClass.prototype.setPopUpLocation = function (mcRef) {
var _local1 = this;
var _local3 = mcRef;
_local3._x = _local1._x;
var _local2 = {x:_local1._x, y:_local1._y + _local1.proxyBox_mc._height};
_local1._parent.localToGlobal(_local2);
_local3._parent.globalToLocal(_local2);
_local3._x = _local2.x;
_local3._y = _local2.y;
if ((_local1.height + _local3._y) >= Stage.height) {
_local1.upward = true;
_local3._y = (_local2.y - _local1.height) - _local1.proxyBox_mc._height;
} else {
_local1.upward = false;
}
};
FComboBoxClass.prototype.openOrClose = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.getLength() == 0) {
} else {
_local1.setPopUpLocation(_local1.container_mc);
if ((_local1.lastSelected != -1) && ((_local1.lastSelected < _local1.topDisplayed) || (_local1.lastSelected > (_local1.topDisplayed + _local1.numDisplayed)))) {
super.moveSelBy(_local1.lastSelected - _local1.getSelectedIndex());
}
if (!_local2) {
(_local1.downArrow.gotoAndStop(1));// not popped
} else {
(_local1.downArrow.gotoAndStop(2));// not popped
}
if (_local2 == _local1.opened) {
} else {
_local1.highlightTop(!_local2);
_local1.fadeRate = _local1.styleTable.popUpFade.value;
if (((!_local2) || (_local1.fadeRate == undefined)) || (_local1.fadeRate == 0)) {
_local1.opened = (_local1.container_mc._visible = _local2);
} else {
_local1.setPopUpLocation(_local1.fader);
_local1.time = 0;
_local1.const = 85 / Math.sqrt(_local1.fadeRate);
_local1.fader._alpha = 85;
_local1.container_mc._visible = (_local1.fader._visible = true);
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.fader._alpha = 100 - ((_local1.const * Math.sqrt(++_local1.time)) + 15);
if (_local1.time >= _local1.fadeRate) {
_local1.fader._visible = false;
delete _local1.onEnterFrame;
_local1.opened = true;
}
};
}
}
}
};
FComboBoxClass.prototype.fireChange = function () {
var _local1 = this;
_local1.lastSelected = _local1.getSelectedIndex();
if (!_local1.editable) {
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, true);
} else {
_local1.value = _local1.getSelectedItem().label;
_local1.fLabel_mc.setLabel(_local1.value);
}
_local1.executeCallback();
};
FComboBoxClass.prototype.releaseHandler = function () {
var _local1 = this;
var _local2 = _root;
var _local3 = _local1.boundingBox_mc.hitTest(_local2._xmouse, _local2._ymouse);
if (_local1.changeFlag) {
if (_local3) {
_local1.fireChange();
}
_local1.openOrClose(!_local1.opened);
} else if (_local3) {
_local1.openOrClose(false);
} else {
_local1.onMouseDown = function () {
var _local1 = this;
var _local2 = _root;
if ((!_local1.boundingBox_mc.hitTest(_local2._xmouse, _local2._ymouse)) && (!_local1.hitTest(_local2._xmouse, _local2._ymouse))) {
_local1.onMouseDown = undefined;
_local1.openOrClose(false);
}
};
}
_local1.changeFlag = false;
_local1.onMouseUp = undefined;
clearInterval(_local1.dragScrolling);
_local1.dragScrolling = undefined;
};
FComboBoxClass.prototype.moveSelBy = function (itemNum) {
var _local1 = this;
if (itemNum != 0) {
super.moveSelBy(itemNum);
if (_local1.editable) {
_local1.setValue(_local1.getSelectedItem().label);
}
if (!_local1.opened) {
if (_local1.changeFlag && (!_local1.isSelected(_local1.lastSelected))) {
_local1.fireChange();
}
}
}
};
FComboBoxClass.prototype.myOnKeyDown = function () {
var _local1 = this;
if (!_local1.focused) {
} else {
if (_local1.editable && (Key.isDown(13))) {
_local1.setValue(_local1.fLabel_mc.getLabel());
_local1.executeCallback();
_local1.openOrClose(false);
} else if ((Key.isDown(13) || (Key.isDown(32) && (!_local1.editable))) && (_local1.opened)) {
if (_local1.getSelectedIndex() != _local1.lastSelected) {
_local1.fireChange();
}
_local1.openOrClose(false);
_local1.fLabel_txt.hscroll = 0;
}
super.myOnKeyDown();
}
};
FComboBoxClass.prototype.findInputText = function () {
if (!this.editable) {
super.findInputText();
}
};
FComboBoxClass.prototype.onLabelFocus = function () {
var _local1 = this;
_local1._parent._parent.tabFocused = false;
_local1._parent._parent.focused = true;
_local1.onKeyDown = function () {
this._parent._parent.myOnKeyDown();
};
Key.addListener(_local1);
};
FComboBoxClass.prototype.buttonPressHandler = function () {
this._parent.pressHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 94 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 103 MovieClip [FComboBoxSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 10
gotoAndStop ("hide");
Symbol 118 MovieClip Frame 1
this._alpha = 0;
Symbol 121 MovieClip Frame 1
main.useHandCursor = false;
main.onRelease = function () {
};
Symbol 1212 MovieClip [__Packages.mx.behaviors.DepthControl] Frame 0
class mx.behaviors.DepthControl extends Object
{
function DepthControl () {
super();
}
static function sendToBack(target) {
var _local1 = target;
var _local2 = false;
while (_local2 == false) {
sendBackward(_local1);
_local2 = _local1 == getInstanceAtLowest(_local1._parent);
}
}
static function bringToFront(target) {
var _local1 = target;
var _local2 = false;
while (_local2 == false) {
bringForward(_local1);
_local2 = _local1 == getInstanceAtHighest(_local1._parent);
}
}
static function sendBackward(target) {
var _local1 = target;
var dOrder = trackDepths(_local1._parent);
if (_local1 != getInstanceAtLowest(_local1._parent)) {
_local1.swapDepths(getInstanceLowerThan(_local1));
}
}
static function bringForward(target) {
var _local1 = target;
if (_local1 != getInstanceAtHighest(_local1._parent)) {
_local1.swapDepths(getInstanceHigherThan(_local1));
}
}
static function trackDepths(mcParent) {
var _local1 = mcParent;
var dOrder = [];
for (var i in _local1) {
if (typeof(_local1[i]) == "movieclip") {
dOrder.push({mc:_local1[i], depth:_local1[i].getDepth()});
}
}
dOrder.sort(orderFunc);
return(dOrder);
}
static function orderFunc(a, b) {
var _local2 = Number(a.depth);
var _local1 = Number(b.depth);
if (_local2 > _local1) {
return(-1);
}
if (_local1 > _local2) {
return(1);
}
return(0);
}
static function getInstanceAtLowest(targetParent) {
var _local1 = trackDepths(targetParent);
return(_local1[_local1.length - 1].mc);
}
static function getInstanceAtHighest(targetParent) {
var _local1 = trackDepths(targetParent);
return(_local1[0].mc);
}
static function getInstanceLowerThan(target) {
var _local3 = target;
var _local2 = trackDepths(_local3._parent);
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1].mc == _local3) {
break;
}
_local1++;
}
return(_local2[_local1 + 1].mc);
}
static function getInstanceHigherThan(target) {
var _local3 = target;
var _local2 = trackDepths(_local3._parent);
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1].mc == _local3) {
break;
}
_local1++;
}
return(_local2[_local1 - 1].mc);
}
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
num = _name.slice(7, 8);
if (num == "1") {
txt = "\uBBF8\uC158 \uB0B4\uC6A9";
} else {
txt = "\uAC8C\uC784 \uADDC\uCE59";
}
Symbol 159 MovieClip Frame 1
stop();
click_btn = "1";
tabBtn_1.gotoAndStop("down");
mx.behaviors.DepthControl.bringToFront(tabBtn_1);
i = 1;
while (i <= 2) {
eval ("tabBtn_" + i).num = i;
eval ("tabBtn_" + i).onRollOver = function () {
this.gotoAndStop("over");
};
eval ("tabBtn_" + i).onRollOut = (eval ("tabBtn_" + i).onDragOut = function () {
if (click_btn != this.num) {
this.gotoAndStop("up");
}
});
eval ("tabBtn_" + i).onRelease = function () {
if (click_btn != this.num) {
eval ("tabBtn_" + click_btn).gotoAndStop("up");
click_btn = this.num;
mx.behaviors.DepthControl.bringToFront(this);
this.gotoAndStop("down");
gotoAndStop("page" + this.num);
}
};
i++;
}
Symbol 161 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 6
area.useHandCursor = false;
area.onRelease = function () {
};
btnGame.onRollOver = function () {
this.gotoAndStop("show");
};
btnGame.onRollOut = (btnGame.onDragOut = function () {
this.gotoAndStop("hide");
});
btnGame.onRelease = function () {
var _local1 = _parent;
_local1.beep.gotoAndPlay("show");
_local1.mapBtn._visible = true;
gotoAndStop ("hide");
_local1.gotoAndPlay("fade_out");
};
Symbol 162 MovieClip Frame 11
area.useHandCursor = false;
area.onRelease = function () {
};
btnGame.onRollOver = function () {
this.gotoAndStop("show");
};
btnGame.onRollOut = (btnGame.onDragOut = function () {
this.gotoAndStop("hide");
});
btnGame.onRelease = function () {
var _local1 = _parent;
_local1.beep.gotoAndPlay("show");
_local1.mapBtn._visible = true;
_local1.game_movie.isHelp = false;
gotoAndStop ("hide");
};
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
function cal_remain(start, now, total, loaded) {
var _local2;
var _local3;
var _local1;
_local2 = now - start;
_local3 = loaded / _local2;
_local1 = ((total - loaded) / _local3) / 1000;
return(_local1);
}
total = _parent.getBytesTotal();
total_txt = Math.round(total / 1000);
start = getTimer();
Symbol 175 MovieClip Frame 3
bar._x = Math.floor((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 620);
per._x = bar._x - 7;
loaded = _parent.getBytesLoaded();
load_txt = Math.round(loaded / 1000);
percent = Math.floor((loaded / total) * 100) + " %";
now = getTimer();
remainedTime = cal_remain(start, now, total, loaded);
Symbol 175 MovieClip Frame 4
if (_parent.getBytesTotal() > _parent.getBytesLoaded()) {
gotoAndPlay(_currentframe - 1);
} else {
_parent.gotoAndPlay("load_out");
}
Symbol 184 MovieClip Frame 1
this._alpha = 0;
Symbol 209 MovieClip Frame 1
stop();
area.onRollOver = (area.onDragOver = function () {
gotoAndStop ("over");
});
area.onRollOut = (area.onDragOut = function () {
if (_parent._parent.game_movie.isAct != true) {
gotoAndStop ("up");
}
});
area.onRelease = function () {
var _local1 = _parent;
if (_local1._parent.isActPlay != true) {
if (_local1._parent.game_movie.isAct != true) {
_local1._parent.game_movie.isHelp = false;
_local1._parent.game_movie.isOption = false;
_local1._parent.help.gotoAndStop("hide");
_local1._parent.option.gotoAndStop("hide");
_local1._parent.error.gotoAndStop("hide");
_local1._parent.mapBtn._visible = true;
_local1._parent.game_movie.isAct = true;
_local1._parent.act.gotoAndStop("act" + _local1._parent.now_item);
} else {
_local1._parent.game_movie.isAct = false;
_local1._parent.act.gotoAndStop("hide");
}
}
};
Symbol 236 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
error.useHandCursor = false;
error.onRelease = function () {
var _local1 = _parent;
_local1._parent._parent.error.msg = _local1._parent["error" + _name.slice(1, 4)];
_local1._parent._parent.error.gotoAndStop("show");
};
Symbol 244 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
open.useHandCursor = false;
open.onRelease = function () {
var _local1 = _parent;
if (_local1._parent._parent.energy_state != false) {
num = _local1._name.slice(1, 3);
if ((_local1._parent["item" + num] == "true") || (_local1._parent["item" + num] == _local1._parent._parent.now_item)) {
if (_local1.isOpen != true) {
_local1.isOpen = true;
if (_local1._parent["pick" + num] != true) {
_local1.gotoAndStop("show_t");
} else {
_local1.gotoAndStop("show_f");
}
} else {
_local1.isOpen = false;
_local1.gotoAndStop("hide");
}
} else {
_local1._parent._parent.error.msg = _local1._parent["error" + num];
if (num != "09") {
_local1._parent._parent.error.gotoAndStop("show");
} else {
_local1._parent._parent.error.gotoAndPlay("show2");
}
}
} else {
_local1._parent._parent.error.msg = "\"\uD6C4~ \uB108\uBB34 \uCD94\uC6CC\uC11C \uC6C0\uC9C1\uC77C \uD798\uC870\uCC28 \uC5C6\uB294\uB370...\"";
_local1._parent._parent.error.gotoAndPlay("show2");
}
};
Symbol 261 MovieClip Frame 1
open.useHandCursor = false;
open.onRelease = function () {
var _local1 = _parent;
if (_local1.isOpen != true) {
_local1.isOpen = true;
if (_local1._parent["pick" + _local1._name.slice(1, 3)] != true) {
_local1.gotoAndStop("show_t");
} else {
_local1.gotoAndStop("show_f");
}
} else {
_local1.isOpen = false;
_local1.gotoAndStop("hide_s");
}
};
Symbol 262 MovieClip Frame 1
pickUp.onRelease = function () {
var _local1 = _parent;
num = _local1._name.slice(1, 3);
if (num == "00") {
if (_local1._parent.pick05 == true) {
if (_local1._parent._parent.now_item == "11") {
trace("\uC544\uC774\uD15C \uD68D\uB4DD: " + num);
_local1._parent._parent.now_item = num;
_local1._parent._parent.item_view.gotoAndStop("item" + num);
_local1._parent["pick" + num] = true;
_local1.gotoAndStop("show_s");
} else {
_local1._parent._parent.error.msg = "\uBCF4\uC548 \uD574\uC81C\uC6A9 \uC544\uC774\uD15C\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.\n\uD574\uB2F9 \uC544\uC774\uD15C\uC744 \uCC3E\uC544 \uC0AC\uC6A9\uD574 \uC8FC\uC138\uC694.";
_local1._parent._parent.error.gotoAndStop("show");
}
} else {
_local1.pass = "";
_local1._parent._parent.error.msg = "\uC774 \uC7A5\uCE58 \uC0AC\uC6A9\uC804\uC5D0 \uBA3C\uC800 PDA\uB97C \uCC3E\uC544\uC11C\n\uBCF8\uBD80\uB85C \uC790\uB8CC\uB97C \uC804\uC1A1\uD558\uC5EC\uC57C \uD569\uB2C8\uB2E4.";
_local1._parent._parent.error.gotoAndStop("show");
}
} else if (num == "09") {
if (_local1._parent._parent.now_item == "06") {
_local1._parent.item11 = "true";
_local1._parent.item13 = "true";
_local1._parent.item20 = "true";
trace("\uC544\uC774\uD15C \uD68D\uB4DD: " + num);
_local1._parent._parent.now_item = num;
_local1._parent._parent.item_view.gotoAndStop("item" + num);
_local1._parent["pick" + num] = true;
_local1.gotoAndStop("show_s");
} else {
_local1._parent._parent.error.msg = "\uC2DC\uC2A4\uD15C \uC218\uB9AC\uC5D0 \uC801\uD569\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n\uB2E4\uB978 \uC544\uC774\uD15C\uC744 \uC0AC\uC6A9\uD574 \uBCF4\uC138\uC694.";
_local1._parent._parent.error.gotoAndStop("show");
}
} else {
if (_local1._parent["area" + num] == "take1") {
_local1._parent.array_num = ((_local1._parent.array_num == null) ? 1 : (_local1._parent.array_num + 1));
_local1._parent._parent["take_" + _local1._parent.array_num].this_item = num;
_local1._parent._parent["take_" + _local1._parent.array_num].gotoAndStop("item" + num);
_local1._parent._parent["take_" + _local1._parent._parent.save_take].clickBtn.gotoAndStop("up");
_local1._parent._parent.option.save_take = "";
_local1._parent._parent.save_take = _local1._parent.array_num;
_local1._parent._parent["take_" + _local1._parent._parent.save_take].clickBtn.gotoAndStop("down");
} else {
_local1._parent._parent["take_" + _local1._parent._parent.save_take].clickBtn.gotoAndStop("up");
_local1._parent._parent.save_take = "";
_local1._parent._parent.option.save_take = num;
_local1._parent._parent.optBtn.gotoAndPlay("show");
}
if (num == "05") {
_local1._parent._parent.act.gotoAndStop("act" + num);
}
_local1._parent._parent.tot_item = ((_local1._parent._parent.tot_item == null) ? 1 : (_local1._parent._parent.tot_item + 1));
if (_local1._parent._parent.tot_item == 3) {
_local1._parent._parent.energy_state = false;
_local1._parent._parent.energy.gotoAndPlay("show");
}
trace("\uC544\uC774\uD15C \uD68D\uB4DD: " + num);
_local1._parent._parent.now_item = num;
_local1._parent._parent.item_view.gotoAndStop("item" + num);
_local1._parent["pick" + num] = true;
_local1.gotoAndStop("show_s");
}
};
Symbol 267 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 1
stop();
num = _name.slice(4, 6);
if (num == "98") {
num = "*";
} else if (num == "99") {
num = "#";
}
pickUp.onPress = function () {
gotoAndStop ("down");
};
pickUp.onReleaseOutside = function () {
gotoAndStop ("up");
};
pickUp.onRelease = function () {
var _local1 = _parent;
gotoAndStop ("up");
if (_local1.pass.length < 7) {
_local1.pass = _local1.pass + num;
}
};
Symbol 498 MovieClip Frame 1
this._alpha = 0;
Symbol 502 MovieClip Frame 1
stop();
pickUp.onPress = function () {
gotoAndStop ("down");
};
pickUp.onReleaseOutside = function () {
gotoAndStop ("up");
};
pickUp.onRelease = function () {
var _local1 = _parent;
gotoAndStop ("up");
if (_local1._parent.pick05 == true) {
if (_local1._parent.pick00 == true) {
if (_local1.pass == _local1._parent.password) {
_local1._parent._parent.act.gotoAndStop("act00");
_local1.gotoAndStop("show_f");
} else {
_local1.pass = "";
_local1._parent._parent.error.msg = "\uBE44\uBC00\uBC88\uD638\uAC00 \uD2C0\uB838\uC2B5\uB2C8\uB2E4\n\uB2E4\uC2DC \uD55C\uBC88 \uD655\uC778\uD6C4 \uB20C\uB7EC\uC8FC\uC138\uC694.";
_local1._parent._parent.error.gotoAndStop("show");
}
} else {
_local1.pass = "";
_local1._parent._parent.error.msg = "\uD655\uC778 \uBC84\uD2BC\uC744 \uB204\uB974\uAE30 \uC804\uC5D0\n\uC7A5\uCE58\uC758 \uBCF4\uC548\uC744 \uBA3C\uC800 \uD574\uC81C \uC2DC\uCF30\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694.";
_local1._parent._parent.error.gotoAndStop("show");
}
} else {
_local1.pass = "";
_local1._parent._parent.error.msg = "\uC6B0\uC120 \uBCF8\uBD80\uB85C PDA\uC758 \uC790\uB8CC\uB97C \uC804\uC1A1\uD558\uACE0,\n\uC7A5\uCE58\uC758 \uBCF4\uC548\uC744 \uD574\uC81C \uC2DC\uD0A4\uD6C4 \uC0AC\uC6A9\uD558\uC138\uC694.";
_local1._parent._parent.error.gotoAndStop("show");
}
};
Symbol 506 MovieClip Frame 1
stop();
pickUp.onPress = function () {
gotoAndStop ("down");
};
pickUp.onReleaseOutside = function () {
gotoAndStop ("up");
};
pickUp.onRelease = function () {
var _local1 = _parent;
gotoAndStop ("up");
if (_local1.pass.length > 0) {
_local1.pass = _local1.pass.slice(0, _local1.pass.length - 1);
}
};
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 6
pass = "";
area.useHandCursor = false;
area.onRelease = function () {
};
Symbol 509 MovieClip Frame 11
pass = "";
area.useHandCursor = false;
area.onRelease = function () {
};
Symbol 600 MovieClip Frame 1
light.onRelease = function () {
var _local1 = _parent;
if (_local1._parent.isLight != true) {
_local1._parent.isLight = true;
_local1.gotoAndStop("hide_s");
} else {
_local1._parent.isLight = false;
_local1.gotoAndStop("show_t");
}
};
Symbol 604 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 1
stop();
Symbol 688 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 1
stop();
Symbol 896 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 1
stop();
Symbol 952 MovieClip Frame 1
function setAvt() {
var _local1 = _parent;
_local1.map.avata._x = _local1.map["p" + this_cmr]._x;
_local1.map.avata._y = _local1.map["p" + this_cmr]._y;
_local1.map.avata.angle._rotation = (this_frm - 1) * -45;
}
function delBtn() {
delete view_l.onRelease;
delete view_r.onRelease;
i = 1;
while (i <= 8) {
delete eval ("move_" + i).onRelease;
i++;
}
}
function setBtn() {
isPlay = null;
delete this.onEnterFrame;
setAvt();
view_l.useHandCursor = false;
view_l.onRollOver = function () {
this.gotoAndStop("show");
};
view_l.onRollOut = (view_l.onDragOut = function () {
this.gotoAndStop("hide");
});
view_l.onRelease = function () {
if (isLight) {
isPlay = true;
prev_frm = this_frm;
this_frm = (((this_frm + 1) + 7) % 8) + 1;
delBtn();
frmMove();
} else {
_parent.error.msg = error_light;
_parent.error.gotoAndPlay("show2");
}
};
view_r.useHandCursor = false;
view_r.onRollOver = function () {
this.gotoAndStop("show");
};
view_r.onRollOut = (view_r.onDragOut = function () {
this.gotoAndStop("hide");
});
view_r.onRelease = function () {
if (isLight) {
if (this_frm == 1) {
gotoAndStop((("c" + this_cmr) + "_") + 9);
}
isPlay = false;
prev_frm = this_frm;
this_frm = (((this_frm - 1) + 7) % 8) + 1;
delBtn();
frmMove();
} else {
_parent.error.msg = error_light;
_parent.error.gotoAndPlay("show2");
}
};
i = 1;
while (i <= 8) {
eval ("move_" + i).num = i;
eval ("move_" + i).useHandCursor = false;
eval ("move_" + i).onRollOver = function () {
if (isLight) {
this.gotoAndStop("show");
}
};
eval ("move_" + i).onRollOut = (eval ("move_" + i).onDragOut = function () {
if (isLight) {
this.gotoAndStop("hide");
}
});
eval ("move_" + i).onRelease = function () {
if (isLight) {
delBtn();
frmSize(100, this.num);
}
};
i++;
}
}
function setEnd() {
if (isPlay == true) {
gotoAndStop((("c" + this_cmr) + "_") + 1);
} else {
stop();
}
}
function frmMove() {
var _local1 = this;
add_angle = 7;
_local1.onEnterFrame = function () {
if (isPlay == true) {
_parent.map.avata.angle._rotation = _parent.map.avata.angle._rotation - add_angle;
this.nextFrame();
} else {
_parent.map.avata.angle._rotation = _parent.map.avata.angle._rotation + add_angle;
this.prevFrame();
}
};
}
function frmSize(this_scale, num) {
_parent.walk.gotoAndStop("show");
last_scale = 130;
gap_scale = 3;
next_cmr = eval ("goFrm" + this_cmr)[num - 1];
tab_num = Math.floor((last_scale - 100) / gap_scale) + 3;
add_x = Math.floor(_parent.map["p" + next_cmr]._x - _parent.map["p" + this_cmr]._x) / tab_num;
add_y = Math.floor(_parent.map["p" + next_cmr]._y - _parent.map["p" + this_cmr]._y) / tab_num;
this.onEnterFrame = function () {
if (this_scale <= last_scale) {
_parent.map.avata._x = _parent.map.avata._x + add_x;
_parent.map.avata._y = _parent.map.avata._y + add_y;
this_scale = this_scale + gap_scale;
this[(("c" + this_cmr) + "_") + this_frm]._xscale = this_scale;
this[(("c" + this_cmr) + "_") + this_frm]._yscale = this_scale;
} else {
delSize(num);
}
};
}
function delSize(num) {
_parent.walk.gotoAndStop("hide");
delete this.onEnterFrame;
this_cmr = eval ("goFrm" + this_cmr)[num - 1];
this_frm = num;
gotoAndStop((("c" + this_cmr) + "_") + this_frm);
}
password = String(random(9999));
if (password < 10) {
password = password + "000";
} else if (password < 100) {
password = password + "00";
} else if (password < 1000) {
password = password + "0";
}
trace("\uD328\uC2A4\uC6CC\uB4DC: " + password);
goFrm1 = [0, 0, 0, 0, 2, 4, 3, 0];
goFrm2 = [1, 0, 0, 0, 0, 0, 4, 3];
goFrm3 = [0, 0, 1, 2, 4, 6, 5, 0];
goFrm4 = [3, 1, 2, 0, 0, 0, 6, 5];
goFrm5 = [0, 0, 3, 4, 6, 0, 0, 0];
goFrm6 = [5, 3, 4, 0, 0, 0, 0, 0];
area01 = "take1";
area02 = "take2";
area03 = "take1";
area04 = "take2";
area05 = "take2";
area06 = "take1";
area07 = "take2";
area08 = "take2";
area11 = "take1";
area12 = "take1";
area13 = "take2";
area14 = "take1";
pick02 = true;
pick08 = true;
item00 = "true";
item01 = "true";
item02 = "08";
item03 = "02";
item04 = "03";
item05 = "13";
item06 = "02";
item07 = "true";
item08 = "07";
item09 = "08";
item11 = "09";
item12 = "true";
item13 = "09";
item14 = "04";
item20 = "09";
error_light = "\"\uBC29\uC548\uC774 \uB108\uBB34 \uC5B4\uB450\uC6CC\uC11C \uC6C0\uC9C1\uC77C\uC218\uAC00 \uC5C6\uB294\uB370... \uC804\uB4F1\uC744 \uCF1C\uC57C\uACA0\uAD70!\"";
error02 = "\uC678\uBD80\uC758 \uBE44\uB2D0\uC774 \uB108\uBB34 \uC9C8\uACA8\uC11C \uBCFC\uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n \uBE44\uB2D0\uC744 \uCC22\uC744 \uB3C4\uAD6C\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.";
error03 = "\uB108\uBB34 \uC5B4\uB450\uC6CC\uC11C \uBCFC\uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uC8FC\uC704\uB97C \uBC1D\uD600\uC904 \uB3C4\uAD6C\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.";
error04 = "\uC5F4\uC218 \uC5C6\uAC8C \uC7A0\uACA8\uC788\uC2B5\uB2C8\uB2E4.\n\uB098\uBB34\uC0C1\uC790\uB97C \uC5F4\uC218\uC788\uB294 \uB3C4\uAD6C\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.";
error05 = "\uC7A0\uACA8 \uC788\uC5B4\uC11C \uC5F4\uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uC11C\uB958\uD568 \uC11C\uB78D\uC758 \uD30C\uB780\uC0C9 \uC5F4\uC1E0\uAC00 \uD544\uC694 \uD569\uB2C8\uB2E4.";
error06 = "\uC8FC\uC704\uAC00 \uC5B4\uB450\uC6CC\uC11C \uC548 \uBCF4\uC785\uB2C8\uB2E4.\n\uC8FC\uC704\uB97C \uBC1D\uD600\uC904 \uB3C4\uAD6C\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.";
error08 = "\uC790\uBB3C\uC1E0\uAC00 \uCC44\uC6CC\uC838 \uC788\uC2B5\uB2C8\uB2E4.\n\uC790\uBB3C\uC1E0\uB97C \uC5F4\uC218 \uC788\uB294 \uC5F4\uC1E0\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.";
error09 = "\"\uC2DC\uC2A4\uD15C \uC81C\uC5B4\uAE30 \uAC19\uC740\uB370 \uC5F4\uB9AC\uC9C0 \uC54A\uB294\uAD70. FX 1.0\uC5D0 \uC788\uB294 \uC8FC\uBA38\uB2C8\uCE7C\uC744 \uC774\uC6A9\uD558\uBA74 \uB420\uAC83 \uAC19\uC740\uB370...\"";
error11 = "\uC2DC\uC2A4\uD15C \uACE0\uC7A5\uC73C\uB85C \uC778\uD574 \uBB38\uC744 \uC5F4\uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uC2DC\uC2A4\uD15C \uC81C\uC5B4\uAE30\uB97C \uC218\uB9AC\uD6C4 \uC0AC\uC6A9\uD558\uC138\uC694.";
error13 = "\uC2DC\uC2A4\uD15C \uC81C\uC5B4\uAE30\uAC00 \uACE0\uC7A5 \uC785\uB2C8\uB2E4.\n \uBA3C\uC800 \uC2DC\uC2A4\uD15C \uC81C\uC5B4\uAE30\uC758 \uC218\uB9AC\uAC00 \uD544\uC694 \uD569\uB2C8\uB2E4.";
error14 = "\uC11C\uB958\uD568 \uC11C\uB78D\uC774 \uC7A0\uACA8 \uC788\uC2B5\uB2C8\uB2E4.\n\uC6B0\uC120 \uC11C\uB78D\uC758 \uAC80\uC740\uC0C9 \uC5F4\uC1E0\uAC00 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.";
error20 = "\uC2DC\uC2A4\uD15C \uC81C\uC5B4\uAE30\uB97C \uACE0\uCE58\uC9C0 \uC54A\uC73C\uBA74 \uC5F4\uC218 \uC5C6\uC2B5\uB2C8\uB2E4.";
error91 = "\uB108\uBB34 \uBA40\uB9AC \uB5A8\uC5B4\uC838 \uC788\uC2B5\uB2C8\uB2E4.\n\uC870\uAE08 \uB354 \uAC00\uAE4C\uC6B4 \uACF3\uC5D0\uC11C \uC0AC\uC6A9\uD558\uC138\uC694.";
error92 = "\uC774 \uC0AC\uBB3C\uC740 \uC0AC\uC6A9\uD560\uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uB2E4\uB978\uAC83\uC744 \uC0B4\uD3B4\uBCF4\uB3C4\uB85D \uD558\uC138\uC694.";
error93 = "\uAC15\uD654\uC720\uB9AC\uB85C \uB9C9\uD600 \uC788\uC5B4\uC11C \uB098\uAC08\uC218 \uC5C6\uC2B5\uB2C8\uB2E4.";
error94 = "\uC774\uC6A9\uD560\uC218 \uC788\uB294 \uC0AC\uBB3C\uC774 \uBCF4\uC774\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n\uB2E4\uB978\uACF3\uC744 \uC880\uB354 \uC0B4\uD3B4\uBCF4\uC138\uC694.";
error95 = "\uC544\uC9C1 \uBC24\uC774\uC9C0\uB9CC \uC544\uCE68\uAE4C\uC9C0 \uC2DC\uAC04\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uB2E8\uC11C\uB97C \uBAA8\uC544 \uBE68\uB9AC \uD0C8\uCD9C\uD558\uC138\uC694.";
error96 = "\uBB38\uC774 \uC7A0\uACA8 \uC788\uC5B4 \uB098\uAC08\uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uC624\uB978\uCABD\uC758 \uC2DC\uAC74 \uC7A5\uCE58\uB97C \uD574\uC81C \uC2DC\uD0A4\uC154\uC57C \uD569\uB2C8\uB2E4.";
isMap = true;
_parent.map.gotoAndStop("show");
Symbol 952 MovieClip Frame 2
this_cmr = 3;
this_frm = 8;
gotoAndStop((("c" + this_cmr) + "_") + this_frm);
Symbol 952 MovieClip Frame 6
setBtn();
stop();
Symbol 952 MovieClip Frame 12
setBtn();
stop();
Symbol 952 MovieClip Frame 18
setBtn();
stop();
Symbol 952 MovieClip Frame 24
setBtn();
stop();
Symbol 952 MovieClip Frame 30
setBtn();
stop();
Symbol 952 MovieClip Frame 36
setBtn();
stop();
Symbol 952 MovieClip Frame 42
setBtn();
stop();
Symbol 952 MovieClip Frame 48
setBtn();
stop();
Symbol 952 MovieClip Frame 54
setEnd();
stop();
Symbol 952 MovieClip Frame 60
setBtn();
stop();
Symbol 952 MovieClip Frame 66
setBtn();
stop();
Symbol 952 MovieClip Frame 72
setBtn();
stop();
Symbol 952 MovieClip Frame 78
setBtn();
stop();
Symbol 952 MovieClip Frame 84
setBtn();
stop();
Symbol 952 MovieClip Frame 90
setBtn();
stop();
Symbol 952 MovieClip Frame 96
setBtn();
stop();
Symbol 952 MovieClip Frame 102
setBtn();
stop();
Symbol 952 MovieClip Frame 108
setEnd();
stop();
Symbol 952 MovieClip Frame 114
setBtn();
stop();
Symbol 952 MovieClip Frame 120
setBtn();
stop();
Symbol 952 MovieClip Frame 126
setBtn();
stop();
Symbol 952 MovieClip Frame 132
setBtn();
stop();
Symbol 952 MovieClip Frame 138
setBtn();
stop();
Symbol 952 MovieClip Frame 144
setBtn();
stop();
Symbol 952 MovieClip Frame 150
setBtn();
stop();
Symbol 952 MovieClip Frame 156
setBtn();
stop();
if (isLight != true) {
c00.gotoAndStop("show_f");
}
Symbol 952 MovieClip Frame 162
setEnd();
stop();
Symbol 952 MovieClip Frame 168
setBtn();
stop();
Symbol 952 MovieClip Frame 174
setBtn();
stop();
Symbol 952 MovieClip Frame 180
setBtn();
stop();
Symbol 952 MovieClip Frame 186
setBtn();
stop();
Symbol 952 MovieClip Frame 192
setBtn();
stop();
Symbol 952 MovieClip Frame 198
setBtn();
stop();
Symbol 952 MovieClip Frame 204
setBtn();
stop();
Symbol 952 MovieClip Frame 210
setBtn();
stop();
Symbol 952 MovieClip Frame 216
setEnd();
stop();
Symbol 952 MovieClip Frame 222
setBtn();
stop();
Symbol 952 MovieClip Frame 228
setBtn();
stop();
Symbol 952 MovieClip Frame 234
setBtn();
stop();
Symbol 952 MovieClip Frame 240
setBtn();
stop();
Symbol 952 MovieClip Frame 246
setBtn();
stop();
Symbol 952 MovieClip Frame 252
setBtn();
stop();
Symbol 952 MovieClip Frame 258
setBtn();
stop();
Symbol 952 MovieClip Frame 264
setBtn();
stop();
Symbol 952 MovieClip Frame 270
setEnd();
stop();
Symbol 952 MovieClip Frame 276
setBtn();
stop();
Symbol 952 MovieClip Frame 282
setBtn();
stop();
Symbol 952 MovieClip Frame 288
setBtn();
stop();
Symbol 952 MovieClip Frame 294
setBtn();
stop();
Symbol 952 MovieClip Frame 300
setBtn();
stop();
Symbol 952 MovieClip Frame 306
setBtn();
stop();
Symbol 952 MovieClip Frame 312
setBtn();
stop();
Symbol 952 MovieClip Frame 318
setBtn();
stop();
Symbol 952 MovieClip Frame 324
setEnd();
stop();
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 6
_parent.game_movie.setAvt();
Symbol 973 Button
on (release) {
gotoAndStop ("hide");
}
Symbol 975 MovieClip Frame 1
stop();
Symbol 975 MovieClip Frame 6
_parent.act.gotoAndStop("hide");
txt._y = txt._y + Math.round((64 - txt.textHeight) / 2);
area.useHandCursor = false;
area.onRelease = function () {
gotoAndStop ("hide");
};
Symbol 975 MovieClip Frame 11
_parent.act.gotoAndStop("hide");
area.useHandCursor = false;
area.onRelease = function () {
};
Symbol 975 MovieClip Frame 12
stop();
txt._y = txt._y + Math.round((48 - txt.textHeight) / 2);
Symbol 982 MovieClip Frame 1
stop();
Symbol 1064 MovieClip Frame 1
stop();
i = 1;
while (i <= 9) {
eval ("click0" + i).num = i;
eval ("click0" + i).onRollOver = function () {
if (_parent.click_num != this.num) {
this.gotoAndStop("over");
}
};
eval ("click0" + i).onRollOut = (eval ("click0" + i).onDragOut = function () {
if (_parent.click_num != this.num) {
this.gotoAndStop("up");
}
});
eval ("click0" + i).onPress = function () {
this.gotoAndStop("down");
if (_parent.click_num != this.num) {
eval ("click0" + _parent.click_num).gotoAndStop("up");
}
_parent.click_num = this.num;
gotoAndStop("fx0" + this.num);
};
i++;
}
if (_parent.click_num == null) {
_parent.click_num = 1;
}
gotoAndStop("fx0" + _parent.click_num);
eval ("click0" + _parent.click_num).gotoAndStop("down");
Symbol 1069 MovieClip Frame 1
area.onRelease = function () {
var _local1 = _parent;
_local1._parent._parent.now_item = _local1.this_item;
_local1._parent._parent.item_view.gotoAndStop("item" + _local1.this_item);
_local1._parent._parent.mapBtn._visible = true;
_local1._parent._parent["take_" + _local1._parent._parent.save_take].clickBtn.gotoAndStop("up");
_local1._parent._parent.save_take = "";
_local1._parent.save_take = _local1.this_item;
_local1._parent._parent.game_movie.isOption = false;
_local1._parent.gotoAndStop("hide");
};
Symbol 1082 MovieClip Frame 1
stop();
Symbol 1083 MovieClip Frame 1
stop();
Symbol 1083 MovieClip Frame 6
area.useHandCursor = false;
item_num = ["02", "13", "05", "07", "08", "04"];
i = 0;
while (i <= 5) {
if (_parent.game_movie["pick" + item_num[i]] == true) {
eval ("take_" + (i + 1)).this_item = item_num[i];
eval ("take_" + (i + 1)).gotoAndStop("item" + item_num[i]);
if (save_take == eval ("take_" + (i + 1)).this_item) {
save_item = i + 1;
eval ("take_" + (i + 1)).clickBtn.gotoAndStop("down");
} else {
eval ("take_" + (i + 1)).clickBtn.gotoAndStop("up");
}
}
i++;
}
btnGame.onRollOver = function () {
this.gotoAndStop("show");
};
btnGame.onRollOut = (btnGame.onDragOut = function () {
this.gotoAndStop("hide");
});
btnGame.onRelease = function () {
var _local1 = _parent;
_local1.beep.gotoAndPlay("show");
_local1.mapBtn._visible = true;
_local1.game_movie.isOption = false;
gotoAndStop ("hide");
};
Symbol 1092 MovieClip Frame 1
pass.text = _parent._parent.game_movie.password.slice(0, 2);
Symbol 1096 MovieClip Frame 1
pass.text = _parent._parent.game_movie.password.slice(2, 4);
Symbol 1101 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 1
_parent.isActPlay = false;
stop();
Symbol 1102 MovieClip Frame 6
_parent.isActPlay = true;
loadMovie ("./act1.swf", "target_movie");
area.useHandCursor = false;
area.onRelease = function () {
};
Symbol 1102 MovieClip Frame 11
_parent.isActPlay = true;
loadMovie ("./act2.swf", "target_movie");
area.useHandCursor = false;
area.onRelease = function () {
};
Symbol 1102 MovieClip Frame 16
_parent.isActPlay = true;
loadMovie ("./act3.swf", "target_movie");
area.useHandCursor = false;
area.onRelease = function () {
};
Symbol 1102 MovieClip Frame 21
area.useHandCursor = false;
area.onRelease = function () {
_parent.game_movie.isAct = false;
_parent.item_view.viewBtn.gotoAndStop("up");
gotoAndStop ("hide");
};
Symbol 1102 MovieClip Frame 26
area.useHandCursor = false;
area.onRelease = function () {
_parent.game_movie.isAct = false;
_parent.item_view.viewBtn.gotoAndStop("up");
gotoAndStop ("hide");
};
Symbol 1102 MovieClip Frame 31
_parent.isActPlay = true;
area.useHandCursor = false;
area.onRelease = function () {
};
Symbol 1102 MovieClip Frame 40
stop();
_parent.isSound = false;
_parent.my_sound.stop();
_parent.btnBgm.gotoAndStop("show");
_parent.sound_icon.gotoAndStop("hide");
btnGame.onRollOver = function () {
this.gotoAndStop("show");
};
btnGame.onRollOut = (btnGame.onDragOut = function () {
this.gotoAndStop("hide");
});
btnGame.onRelease = function () {
var _local1 = _parent;
_local1.beep.gotoAndPlay("show");
_local1.tot_item = 0;
_local1.energy_state = true;
gotoAndStop ("hide");
_local1.gotoAndPlay("retry");
};
Symbol 1104 MovieClip Frame 1
stop();
Symbol 1104 MovieClip Frame 6
stop();
Symbol 1115 MovieClip Frame 1
stop();
Symbol 1115 MovieClip Frame 23
gotoAndStop ("hide");
Symbol 1118 MovieClip Frame 1
stop();
area.onRelease = function () {
var _local1 = _parent;
if (_local1._parent.isActPlay != true) {
if (_local1._parent.now_item != _local1.this_item) {
_local1._parent.game_movie.isAct = false;
_local1._parent.act.gotoAndStop("hide");
}
_local1._parent.now_item = _local1.this_item;
_local1._parent.item_view.gotoAndStop("item" + _local1.this_item);
_local1._parent.option["take_" + _local1._parent.option.save_item].clickBtn.gotoAndStop("up");
_local1._parent["take_" + _local1._parent.save_take].clickBtn.gotoAndStop("up");
_local1._parent.option.save_take = "";
_local1._parent.save_take = _local1._name.slice(5, 6);
gotoAndStop ("down");
}
};
Symbol 1131 MovieClip Frame 1
stop();
Symbol 1140 MovieClip Frame 1
stop();
Symbol 1140 MovieClip Frame 41
if (_parent.energy_state == false) {
gotoAndPlay ("e_down");
} else {
gotoAndPlay ("e_up");
}
Symbol 1140 MovieClip Frame 47
per_bar.bar._height = per_bar.bar._height - 1;
_parent.percent.text = per_bar.bar._height + "%";
if (per_bar.bar._height == 0) {
_parent.game_movie.isOption = false;
_parent.game_movie.isHelp = false;
_parent.option.gotoAndStop("hide");
_parent.help.gotoAndStop("hide");
_parent.error.gotoAndStop("hide");
_parent.act.gotoAndPlay("act99");
gotoAndPlay ("hide");
} else {
if (per_bar.bar._height == 60) {
_parent.error.msg = "\"\uC628\uB3C4\uAC00 \uB0AE\uC544\uC838 \uCCB4\uB825\uC774 \uB5A8\uC5B4\uC9C0\uACE0 \uC788\uC5B4... \uBE68\uB9AC FX 1.0\uC758 \uC5D0\uC5B4\uBC34\uD2F0\uC9C0 \uAE30\uB2A5\uC744 \uD65C\uC131\uD654 \uD574\uC57C\uB3FC.\"";
_parent.error.gotoAndPlay("show2");
}
gotoAndPlay ("e_down");
}
Symbol 1140 MovieClip Frame 50
per_bar.bar._height = ((per_bar.bar._height < 100) ? (per_bar.bar._height + 1) : 100);
_parent.percent.text = per_bar.bar._height + "%";
if (per_bar.bar._height == 100) {
gotoAndPlay ("hide");
} else {
gotoAndPlay ("e_up");
}
Symbol 1145 Button
on (release) {
if (isActPlay != true) {
game_movie.isOption = false;
game_movie.isHelp = false;
option.gotoAndStop("hide");
help.gotoAndStop("hide");
error.gotoAndStop("hide");
if (energy_state == false) {
energy_state = true;
energy.gotoAndStop("hide");
act.gotoAndStop("act");
} else {
error.msg = "\uB5A8\uC5B4\uC9C4 \uCCB4\uC628\uC758 \uC0C1\uC2B9 \uD6A8\uACFC\uB97C \uC8FC\uB294\nFX 1.0\uC758 \uC5D0\uC5B4\uBC34\uD2F0\uC9C0 \uD6A8\uACFC \uBC84\uD2BC\uC785\uB2C8\uB2E4.";
error.gotoAndStop("show");
}
}
}
Symbol 1149 MovieClip Frame 1
stop();
Instance of Symbol 184 MovieClip in Symbol 1149 MovieClip Frame 1
onClipEvent (load) {
mypass = "56485748";
}
onClipEvent (keyUp) {
if (Key.getCode() == 229) {
if (pass == mypass) {
addNum++;
nextFR = ((addNum - 1) % 4) + 1;
stopAllSounds();
_parent.gotoAndPlay("game_exit");
}
pass = undefined;
} else {
pass = pass + String(Key.getCode());
}
}
Symbol 1151 MovieClip Frame 4
bar._height = random(100);
Symbol 1152 MovieClip Frame 1
stop();
Symbol 1158 Button
on (release) {
if (game_movie.isOption != true) {
if (game_movie.isMap != true) {
game_movie.isMap = true;
map.gotoAndStop("show");
} else {
game_movie.isMap = false;
map.gotoAndStop("hide");
}
}
}
Symbol 1159 Button
on (release) {
if (isActPlay != true) {
if (game_movie.isOption != true) {
if (game_movie.isMap != true) {
game_movie.isMap = true;
map.gotoAndStop("show");
} else {
game_movie.isMap = false;
map.gotoAndStop("hide");
}
}
}
}
Symbol 1162 Button
on (release) {
if (game_movie.isHelp != true) {
game_movie.isOption = false;
option.gotoAndStop("hide");
mapBtn._visible = false;
game_movie.isHelp = true;
help.gotoAndStop("show_f");
} else {
mapBtn._visible = true;
game_movie.isHelp = false;
help.gotoAndStop("hide");
}
}
Symbol 1163 Button
on (release) {
if (isActPlay != true) {
if (game_movie.isHelp != true) {
game_movie.isOption = false;
game_movie.isAct = false;
option.gotoAndStop("hide");
act.gotoAndStop("hide");
mapBtn._visible = false;
game_movie.isHelp = true;
help.gotoAndStop("show_f");
} else {
mapBtn._visible = true;
game_movie.isHelp = false;
help.gotoAndStop("hide");
}
}
}
Symbol 1204 MovieClip Frame 1
stop();
Symbol 1207 Button
on (release) {
trace(go_focus);
Selection.setFocus("_parent." + go_focus);
gotoAndStop ("hide");
}
Symbol 1211 MovieClip Frame 1
stop();
Symbol 1211 MovieClip Frame 6
area.useHandCursor = false;
area.onRelease = function () {
};
Symbol 1211 MovieClip Frame 14
gotoAndPlay(go_frm);
Symbol 1211 MovieClip Frame 15
txt._y = txt._y + Math.round((48 - txt.textHeight) / 2);
Symbol 1211 MovieClip Frame 20
stop();
Symbol 1211 MovieClip Frame 26
_parent.dataSend();
stop();
Symbol 1211 MovieClip Frame 65
stop();
_parent.gotoAndStop("ready");