Frame 1
function gameStart() {
for (var _local2 in this.layer_itemList) {
this.goPoisition(this.layer_itemList[_local2].substr(6));
this.moveToLayer(this.layer_itemList[_local2]);
}
this.layer_itemList.splice(0);
for (var _local2 in this.layer_aroundList) {
this.goPoisition(this.layer_aroundList[_local2]);
}
this.layer_aroundList.splice(0);
this.loadEnd = false;
this.loadEndCount = 0;
this.falseWords = new Array();
this.falseWords2 = new Array();
this.item_list = new Array();
this.item_list_Dclick = new Array();
this.item_list_btn = new Array();
this.subitem_list_btn.hairstyle = new Array();
this.subitem_list_btn.makeup = new Array();
this.subitem_list_btn.etc = new Array();
this.subitem_list_btn.accessory = new Array();
this.this_subitem.hairstyle = 0;
this.this_subitem.makeup = 0;
this.this_subitem.etc = 0;
this.this_subitem.accessory = 0;
this.subitem = new Array("hairstyle", "makeup", "etc", "accessory");
this.frameItem = new Array();
this.subitem_name.hairstyle = "\uD5E4\uC5B4\uC2A4\uD0C0\uC77C";
this.subitem_name.makeup = "\uBA54\uC774\uD06C\uC5C5";
this.subitem_name.etc = "\uC18C\uD488";
this.subitem_name.accessory = "\uC561\uC138\uC11C\uB9AC";
this.subitem_depth.hairstyle = 0;
this.subitem_depth.makeup = 0;
this.subitem_depth.etc = 0;
this.subitem_depth.accessory = 0;
this.select_subitem = "hairstyle";
this.move_subitem = false;
this.thisOn_item;
this.Dclick = new Array();
this.loadingCount.clothes = 0;
this.loadingCount.subitem = 0;
this.loadingCount.btnitem = 0;
this.loadingCount.makeup = 0;
this.loadingCount.mc = 0;
this.loadingCount.layer = 0;
this.allMcCount = 0;
this.box_item_w = 79;
this.box_item_h = 84;
this.layer_item_w = 35;
this.layer_item_h = 50;
this.layer_itemList = new Array();
this.layer_aroundList = new Array();
this.layer_itemDepth = new Array();
this.layerMove_info = new Array();
this.visibleList = new Array();
this.visibleMCList = new Array();
this.comd = false;
this.printNow = false;
this.myLoader = new styleLoader(this);
this.startEFrame();
}
function tipPrint() {
this.attachMovie("btn_close_big", "btn_close_big", this.getNextHighestDepth(), {_x:Stage.width - 26, _y:25});
this.attachMovie("btn_print", "btn_tipprint", this.getNextHighestDepth(), {_x:Stage.width - 26, _y:68});
this.btn_close_big.onRelease = (this.btn_close_big.onReleaseOutside = function () {
this._parent.tip._visible = false;
removeMovieClip(this._parent.btn_tipprint);
removeMovieClip(this);
});
this.btn_tipprint.onRollOver = function () {
this.help_text = "\uCD94\uCC9C\uC2A4\uD0C0\uC77C \uC778\uC1C4";
this.gotoAndStop(2);
this.this_help.gotoAndPlay(2);
};
this.btn_tipprint.onRollOut = function () {
this.this_help.gotoAndPlay(1);
this.gotoAndStop(1);
this.btn_open = 1;
};
this.btn_tipprint.onPress = function () {
this.gotoAndStop(3);
};
this.btn_tipprint.onRelease = (this.btn_tipprint.onReleaseOutside = function () {
this.gotoAndStop(1);
print (this._parent.tip, "bmovie");
});
}
function printf() {
this.preView();
if (this.comd == true) {
this.comd = false;
} else {
attachMovie("win_login_plz", "win_print_plz", this._parent.getNextHighestDepth() + 4, {_x:Stage.width / 4, _y:Stage.width / 2});
this.mc_myModel.attachMovie("bg_printr", "bg_printr", this._parent.getNextHighestDepth() + 3, {_x:0, _y:0});
this.win_print_plz.btn_close._visible = false;
this.win_print_plz.btn_done._visible = true;
this.win_print_plz.btn_cancel._visible = true;
this.win_print_plz.text_info.text = "\uC624\uB978\uCABD \uBAA8\uB378\uC744 \uCD9C\uB825\uD569\uB2C8\uB2E4.";
this.win_print_plz.btn_done.onRollOut = function () {
this.gotoAndStop(1);
};
this.win_print_plz.btn_done.onRollOver = function () {
this.gotoAndStop(2);
};
this.win_print_plz.btn_done.onPress = function () {
this.gotoAndStop(3);
};
this.win_print_plz.btn_done.onRelease = (this.win_print_plz.btn_done.onReleaseOutside = function () {
this.gotoAndStop(1);
if (this._parent._parent.printNow == false) {
var _local3 = 0;
var _local2 = new PrintJob();
if (_local2.start()) {
if (_local2.addPage(this._parent._parent.mc_myModel, {xMin:390, xMax:780, yMin:0, yMax:500}, {printAsBitmap:true}, 1)) {
_local3++;
}
}
if (_local3 > 0) {
_local2.send();
this._parent._parent.win_print_plz.text_info.text = "\uAC8C\uC784\uD654\uBA74\uC73C\uB85C \uB3CC\uC544\uAC11\uB2C8\uB2E4.";
this._parent._parent.printNow = true;
this._parent._parent.win_print_plz.btn_done._visible = false;
this._parent._parent.win_print_plz.btn_cancel._visible = false;
this._parent._parent.win_print_plz.btn_close._visible = true;
}
} else {
this._parent._parent.printNow = false;
this._parent._parent.printf();
removeMovieClip(this._parent._parent.mc_myModel.bg_printr);
removeMovieClip(this._parent._parent.win_print_plz);
}
});
this.win_print_plz.btn_cancel.onRollOut = function () {
this.gotoAndStop(1);
};
this.win_print_plz.btn_cancel.onRollOver = function () {
this.gotoAndStop(2);
};
this.win_print_plz.btn_cancel.onPress = function () {
this.gotoAndStop(3);
};
this.win_print_plz.btn_cancel.onRelease = (this.win_print_plz.btn_cancel.onReleaseOutside = function () {
this.gotoAndStop(1);
this._parent._parent.printNow = false;
this._parent._parent.printf();
removeMovieClip(this._parent._parent.mc_myModel.bg_printr);
removeMovieClip(this._parent._parent.win_print_plz);
});
this.win_print_plz.btn_close.onRollOut = function () {
this.gotoAndStop(1);
};
this.win_print_plz.btn_close.onRollOver = function () {
this.gotoAndStop(2);
};
this.win_print_plz.btn_close.onPress = function () {
this.gotoAndStop(3);
};
this.win_print_plz.btn_close.onRelease = (this.win_print_plz.btn_close.onReleaseOutside = function () {
this.gotoAndStop(1);
this._parent._parent.printNow = false;
this._parent._parent.printf();
removeMovieClip(this._parent._parent.mc_myModel.bg_printr);
removeMovieClip(this._parent._parent.win_print_plz);
});
this.comd = true;
}
}
function formView() {
this.preView();
if (this.comd == true) {
this.comd = false;
} else {
this.comd = true;
}
}
function preView() {
for (var _local3 in this) {
if (this[_local3]._name != "mc_myModel") {
if ((this.comd == false) && (this[_local3]._visible == false)) {
this.visibleList.push(this[_local3]);
}
this[_local3]._visible = this.comd;
} else {
for (var _local2 in this[_local3]) {
if ((this.comd == false) && (this[_local3][_local2]._visible == false)) {
this.visibleMCList.push(this[_local3][_local2]);
}
this[_local3][_local2]._visible = this.comd;
if ((this[_local3][_local2]._name == "model") || (this[_local3][_local2]._name == "background")) {
this[_local3][_local2]._visible = true;
}
}
}
}
if (this.comd == true) {
if (this.visibleList.length > 0) {
for (var _local4 in this.visibleList) {
this.visibleList[_local4]._visible = false;
}
this.visibleList.splice(0);
}
if (this.visibleMCList.length > 0) {
for (var _local3 in this.visibleMCList) {
this.visibleMCList[_local3]._visible = false;
}
this.visibleMCList.splice(0);
}
} else {
for (var _local5 in this.layer_itemList) {
this.mc_myModel[this.layer_itemList[_local5].substr(6)]._visible = true;
}
}
}
function startEFrame() {
this.onEnterFrame = function () {
this.mc_loading.gourl.text = this.GetXMLURL;
var _local2 = this.loadingCount.clothes + this.loadingCount.btnitem;
this.mc_loading.gourl.text = (((((((("loadEndCount:" + this.loadEndCount) + ", allMcCount : ") + this.allMcCount) + ", loadingCount.mc:") + this.loadingCount.mc) + ", makeup:") + this.loadingCount.makeup) + ", layerCount :") + _local2;
this.itemBtnNow(this.subitem_list_btn);
this.mcBtnNow(this.item_list_btn, this);
this.visibleSubitem();
this.mc_myModel["btn_" + this.select_subitem].gotoAndStop(3);
if ((this.subitem_list_btn[this.select_subitem].length - this.this_subitem[this.select_subitem]) > 4) {
this.mc_myModel.btn_right.useHandCursor = true;
this.mc_myModel.btn_right.stop();
} else {
this.mc_myModel.btn_right.useHandCursor = false;
this.mc_myModel.btn_right.gotoAndStop(4);
}
this.mc_myModel.btn_left.useHandCursor = false;
this.mc_myModel.btn_left.gotoAndStop(4);
this.loadEnd = true;
this.Percent = Math.floor((((_local2 + this.loadingCount.mc) + this.loadingCount.makeup) / this.allMcCount) * 100);
if (this.Percent > 99) {
this.Percent = 99;
}
if (isNaN(this.Percent) == false) {
this.mc_loading.loading_text.text = this.Percent + "%";
}
if (this.loadEndCount > 30) {
this.mc_loading.loading_text.text = "100%";
removeMovieClip(this.mc_loading);
removeMovieClip(this.AreaPants);
removeMovieClip(this.Area_jacket);
removeMovieClip(this.Area_bag);
removeMovieClip(this.Area_footwear2);
removeMovieClip(this.Area_footwear2);
delete this.onEnterFrame;
trace((((((((("loadEndCount:" + this.loadEndCount) + ", allMcCount : ") + this.allMcCount) + ", loadingCount.mc:") + this.loadingCount.mc) + ", makeup:") + this.loadingCount.makeup) + ", layerCount :") + _local2);
}
this.loadEndCount++;
};
}
function visibleSubitem() {
for (var _local2 in this.subitem) {
if (this.subitem[_local2] == this.select_subitem) {
this.mc_myModel["subitem_" + this.subitem[_local2]]._visible = true;
} else {
this.mc_myModel["subitem_" + this.subitem[_local2]]._visible = false;
}
}
}
function mcDropShadow(mc) {
var _local6 = 4;
var _local2 = 65;
var _local5 = 0;
var _local13 = 0.55;
var _local9 = 5;
var _local8 = 3;
var _local11 = 1;
var _local3 = 3;
var _local7 = false;
var _local12 = false;
var _local10 = false;
var _local4 = new flash.filters.DropShadowFilter(_local6, _local2, _local5, _local13, _local9, _local8, _local11, _local3, _local7, _local12, _local10);
var _local1 = new Array();
_local1.push(_local4);
mc.filters = _local1;
}
function mcDropShadowDel(mc) {
var _local6 = 0;
var _local2 = 0;
var _local5 = 0;
var _local13 = 0;
var _local9 = 0;
var _local8 = 0;
var _local11 = 0;
var _local3 = 0;
var _local7 = false;
var _local12 = false;
var _local10 = false;
var _local4 = new flash.filters.DropShadowFilter(_local6, _local2, _local5, _local13, _local9, _local8, _local11, _local3, _local7, _local12, _local10);
var _local1 = new Array();
_local1.push(_local4);
mc.filters = _local1;
}
function mcBtnNow(mc_list, loading) {
for (var i in mc_list) {
this = mc_list[i];
this.onRollOver = function () {
this.useHandCursor = false;
};
this.onRollOut = function () {
stopDrag();
};
this.onPress = function () {
startDrag (this, false, 0, 0, 780, 500);
this._xscale = 100;
this._yscale = 100;
if (this._parent.getNextHighestDepth() > (this.getDepth() + 1)) {
this.swapDepths(this._parent.getNextHighestDepth());
trace("This: " + this);
this._parent._parent.thisOn_item = this._name;
}
if (eval (this._droptarget) != this._parent._parent.capArea) {
var flag = 1;
}
if ((flag == undefined) && (this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._y > 10)) {
this._parent._parent.moveToLayer("layer_" + this._name, "layer_" + this._name, 0);
trace("This name: " + this._name);
this._parent._parent.mcDropShadowDel(this);
}
var Dclick_time = (getTimer() - this._parent._parent.Dclick[this._name]);
if (Dclick_time < 200) {
doubleClick = true;
stopDrag();
this._parent._parent.goPoisition(this._name);
if (this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible == true) {
this._parent._parent.moveToLayer("layer_" + this._name);
} else {
var nkey = this._parent._parent.getLayerKey(this._name, "layer_aroundList");
if (nkey != undefined) {
this._parent._parent.layer_aroundList.splice(parseInt(nkey), 1);
}
}
} else {
doubleClick = false;
this._parent._parent.mcDropShadowDel(this);
if (flag == 1) {
this._parent._parent.inputAroundList(this._name);
}
}
this._parent._parent.Dclick[this._name] = getTimer();
};
this.onRelease = (this.onReleaseOutside = function () {
stopDrag();
var Dclick_time = (getTimer() - this._parent._parent.Dclick[this._name]);
trace((("\uB9B4\uB9AC\uC988 layer_" + this._name) + " : ") + this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible);
if ((eval (this._droptarget) == this._parent._parent.capArea) && (!doubleClick)) {
if (this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible == false) {
var nkey = this._parent._parent.getLayerKey(this._name, "layer_aroundList");
if (nkey != undefined) {
this._parent._parent.layer_aroundList.splice(nkey, 1);
}
for (var m in this._parent._parent.layer_itemList) {
this._parent.mc_LayerNavi.onlayer[this._parent._parent.layer_itemList[m]]._y = this._parent.mc_LayerNavi.onlayer[this._parent._parent.layer_itemList[m]]._y + this._parent._parent.layer_item_h;
trace("\uB808\uC774\uC5B4 \uAC04\uACA9: " + this._parent._parent.layer_item_h);
}
this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible = true;
this._parent._parent.mcBtnLayer(this._parent.mc_LayerNavi.onlayer["layer_" + this._name]);
}
} else if ((this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible == true) && (!doubleClick)) {
this._parent._parent.inputAroundList(this._name);
trace("//\uB808\uC774\uC5B4 \uC704\uC5D0 \uC544\uC774\uD15C\uC744 \uBC16\uC73C\uB85C \uB1A8\uC744\uB54C \uB9AC\uC14B\uD560 \uB808\uC774\uC5B4\uBC16 \uC544\uC774\uD15C\uB4E4\uC744 \uBC30\uC5F4 \uB9E8\uC704\uC5D0 \uB193\uC74C - 20090423 \uC815\uADDC \uC218\uC815\uBD80\uBD84");
this._parent._parent.moveToLayer("layer_" + this._name);
trace("\uB808\uC774\uC5B4 \uC0AD\uC81C");
} else if ((this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible == false) && (!doubleClick)) {
this._parent._parent.inputAroundList(this._name);
}
this._parent._parent.Dclick[this._name] = getTimer();
});
}
}
function changeMakeup(moveFrame) {
this.mc_myModel.model.gotoAndStop(Number(moveFrame) + 1);
var _local2 = 0;
while (_local2 < this.frameItem.length) {
this.mc_myModel[this.frameItem[_local2]].gotoAndStop(Number(moveFrame) + 1);
_local2++;
}
}
function itemBtnNow(mc_list) {
var tmp_subitem = this.subitem;
for (var num in tmp_subitem) {
var mcName = tmp_subitem[num];
for (var i in mc_list[mcName]) {
this = mc_list[mcName][i];
if (mcName == "makeup") {
this.onRollOver = function () {
this._parent[this._name.substr(4)]._xscale = 110;
this._parent[this._name.substr(4)]._yscale = 110;
};
this.onRollOut = function () {
this._parent[this._name.substr(4)]._xscale = 100;
this._parent[this._name.substr(4)]._yscale = 100;
};
this.onRelease = (this.onReleaseOutside = function () {
var _local2 = this._name.substr(9);
if (_local2.substr(0, _local2.length - 1) == "lipstick") {
var _local3 = Number(_local2.substr(-1)) + 1;
this._parent._parent.model.lip.gotoAndStop(_local3);
} else if (_local2.substr(0, _local2.length - 1) == "skin") {
this._parent._parent._parent.changeMakeup(Number(_local2.substr(-1)));
trace("\uD53C\uBD80\uC0C9\uBCC0\uACBD: " + Number(_local2.substr(-1)));
}
});
} else {
this.onRollOver = function () {
this.useHandCursor = false;
};
this.onPress = function () {
if (this._parent[this._name.substr(4)]._visible == true) {
this[this._name.substr(4) + "Drop"] = "No";
this._parent[this._name.substr(4)]._visible = false;
this._parent._parent._parent.sitemBtnNow(this._parent._parent[this._name.substr(9)]);
startDrag (this._parent._parent[this._name.substr(9)], false, 0, 0, 780, 500);
} else {
this[this._name.substr(4) + "Drop"] = "Yes";
}
};
this.onRelease = (this.onReleaseOutside = function () {
stopDrag();
if (this[this._name.substr(4) + "Drop"] != "Yes") {
if (eval (this._parent._parent[this._name.substr(9)]._droptarget) == this._parent._parent._parent.capArea) {
var nkey = this._parent._parent._parent.getLayerKey(this._name.substr(9), "layer_aroundList");
if (nkey != undefined) {
this._parent._parent._parent.layer_aroundList.splice(nkey, 1);
}
for (var m in this._parent._parent._parent.layer_itemList) {
if (this._parent._parent._parent.layer_itemList[m] != ("layer_" + this._name.substr(9))) {
this._parent._parent.mc_LayerNavi.onlayer[this._parent._parent._parent.layer_itemList[m]]._y = this._parent._parent.mc_LayerNavi.onlayer[this._parent._parent._parent.layer_itemList[m]]._y + this._parent._parent._parent.layer_item_h;
}
}
this._parent._parent.mc_LayerNavi.onlayer["layer_" + this._name.substr(9)]._visible = true;
this._parent._parent._parent.mcBtnLayer(this._parent._parent.mc_LayerNavi.onlayer["layer_" + this._name.substr(9)]);
} else {
var nkey = this._parent._parent._parent.getLayerKey(this._name.substr(9), "layer_aroundList");
if (nkey == undefined) {
this._parent._parent._parent.inputAroundList(this._name.substr(9));
}
}
}
});
}
}
}
}
function sitemBtnNow(mc) {
this = mc;
this._x = this._parent._parent._xmouse - (this._width / 2);
this._y = this._parent._parent._ymouse - (this._height / 2);
this._visible = true;
if (this._parent.getNextHighestDepth() > (this.getDepth() + 1)) {
this.swapDepths(this._parent.getNextHighestDepth());
}
this.onRollOver = function () {
this.useHandCursor = false;
};
this.onPress = function () {
trace("\uD074\uB9AD");
startDrag (this, false, 0, 0, 780, 500);
if (this._parent.getNextHighestDepth() > (this.getDepth() + 1)) {
this.swapDepths(this._parent.getNextHighestDepth());
}
if (eval (this._droptarget) != this._parent._parent.capArea) {
var flag = 1;
}
if ((flag == undefined) && (this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._y > 10)) {
this._parent._parent.moveToLayer("layer_" + this._name, "layer_" + this._name, 0);
this._parent._parent.thisOn_item = this._name;
}
var Dclick_time = (getTimer() - this._parent._parent.Dclick[this._name]);
if (Dclick_time < 200) {
doubleClick = true;
stopDrag();
this._parent._parent.goPoisition(this._name);
if (this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible == true) {
this._parent._parent.moveToLayer("layer_" + this._name);
} else {
var nkey = this._parent._parent.getLayerKey(this._name, "layer_aroundList");
trace("nkey :" + nkey);
if (nkey != undefined) {
this._parent._parent.layer_aroundList.splice(parseInt(nkey), 1);
}
}
} else {
doubleClick = false;
if (flag == 1) {
this._parent._parent.inputAroundList(this._name);
}
}
this._parent._parent.Dclick[this._name] = getTimer();
};
this.onRelease = (this.onReleaseOutside = function () {
stopDrag();
var Dclick_time = (getTimer() - this._parent._parent.Dclick[this._name]);
if ((eval (this._droptarget) == this._parent._parent.capArea) && (!doubleClick)) {
if (this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible == false) {
var nkey = this._parent._parent.getLayerKey(this._name, "layer_aroundList");
if (nkey != undefined) {
this._parent._parent.layer_aroundList.splice(nkey, 1);
}
for (var m in this._parent._parent.layer_itemList) {
this._parent.mc_LayerNavi.onlayer[this._parent._parent.layer_itemList[m]]._y = this._parent.mc_LayerNavi.onlayer[this._parent._parent.layer_itemList[m]]._y + this._parent._parent.layer_item_h;
}
this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible = true;
this._parent._parent.mcBtnLayer(this._parent.mc_LayerNavi.onlayer["layer_" + this._name]);
}
} else if ((this._parent.mc_LayerNavi.onlayer["layer_" + this._name]._visible == true) && (!doubleClick)) {
this._parent._parent.inputAroundList(this._name);
this._parent._parent.moveToLayer("layer_" + this._name);
} else {
var nkey = this._parent._parent.getLayerKey(this._name, "layer_aroundList");
if (nkey != undefined) {
this._parent._parent.inputAroundList(this._name);
}
}
this._parent._parent.Dclick[this._name] = getTimer();
});
this.onRollOut = function () {
stopDrag();
};
}
function mcBtnLayer(mc) {
this.layer_itemList.splice(0, 0, mc._name);
this.scrollbar();
this=mc;//parameter overwritten
this.onRollOver = function () {
this.useHandCursor = false;
stopDrag();
this.onEnterFrame = function () {
if ((((this._xmouse >= 25) && (this._xmouse < 35)) && (this._ymouse > 0)) && (this._ymouse <= 10)) {
this.useHandCursor = true;
this.btn_close.gotoAndStop(2);
} else {
this.useHandCursor = false;
this.btn_close.gotoAndStop(1);
}
};
};
this.onRollOut = function () {
this.btn_close.gotoAndStop(1);
stopDrag();
delete this.onEnterFrame;
};
this.onRelease = (this.onReleaseOutside = function () {
if (this.delBtn_flag) {
delete this.onEnterFrame;
var _local5 = this._droptarget.split("/");
var _local3 = _local5[4];
if (_local3 == undefined) {
var _local2 = this._parent._parent._parent._parent.layerMove_info[this._name].split(",");
trace(("\uC774\uB984: " + this._name) + "----------------------------------------------------------\uB2FF\uC740 \uB808\uC774\uC5B4\uAC00 \uC5C6\uC74C!!");
this.swapDepths(parseInt(_local2[0]));
this._x = parseInt(_local2[1]);
this._y = parseInt(_local2[2]);
} else {
var _local4 = this._parent._parent._parent._parent.getLayerKey(_local3);
this._parent._parent._parent._parent.moveToLayer(this._name, this._name, _local4);
}
stopDrag();
this._parent._parent._parent._parent.mcDropShadowDel(this);
}
});
this.onPress = function () {
delete this.onEnterFrame;
if ((((this._xmouse >= 25) && (this._xmouse < 35)) && (this._ymouse > 0)) && (this._ymouse <= 10)) {
this.delBtn_flag = false;
this.btn_close.gotoAndStop(1);
this.useHandCursor = true;
this._parent._parent._parent._parent.goPoisition(this._name.substr(6));
this._parent._parent._parent._parent.moveToLayer(this._name);
this._parent._parent._parent._parent.layerMove_info[this._name] = (((this.getDepth() + ",") + this._x) + ",") + this._y;
} else {
this.delBtn_flag = true;
this.useHandCursor = false;
this._parent._parent._parent._parent.layerMove_info[this._name] = (((this.getDepth() + ",") + this._x) + ",") + this._y;
this.swapDepths(this._parent._parent.getNextHighestDepth());
trace("\uB514\uC2A4: " + this);
startDrag (this, false, 0, 0, 0, 2000);
this._parent._parent._parent._parent.mcDropShadow(this);
}
};
}
function getLayerKey(mcName, listSelect) {
var _local3;
if (listSelect == undefined) {
listSelect = "layer_itemList";
}
for (var _local5 in this[listSelect]) {
if (this[listSelect][_local5] == mcName) {
_local3 = parseInt(_local5);
trace(("\uD0A4\uAC12: " + this[listSelect][_local5]) + _local3);
break;
}
}
return(_local3);
}
function moveToLayer(deleteMc, insertMc, moveKey) {
var _local4;
var _local2 = 0;
_local4 = this.getLayerKey(deleteMc);
lastSelectItem = this.layer_itemList.splice(_local4, 1);
trace("lastSelectItem: " + lastSelectItem);
if (moveKey != undefined) {
_local4 = moveKey;
}
if (insertMc == undefined) {
this.mc_myModel.mc_LayerNavi.onlayer[deleteMc]._visible = false;
this.mc_myModel.mc_LayerNavi.onlayer[deleteMc]._y = 0;
} else {
this.layer_itemList.splice(_local4, 0, insertMc);
trace("\uC0BD\uC785\uD6C4:" + this.layer_itemList.toString());
}
_local2 = _local2 + (this.layer_itemList.length * this.layer_item_h);
trace("position_y: " + _local2);
this.scrollbar();
for (var _local3 in this.layer_itemList) {
this.mc_myModel[layer_itemList[_local3].substr(6)].swapDepths(this.mc_myModel.getNextHighestDepth());
if (_local3 > 0) {
_local2 = _local2 - this.layer_item_h;
} else {
_local2 = 0;
}
trace((this.layer_itemList[_local3] + "=") + _local2);
this.mc_myModel.mc_LayerNavi.onlayer[this.layer_itemList[_local3]]._y = _local2;
}
trace("\uB0A8\uC740:" + this.layer_itemList.toString());
}
function inputAroundList(nameDelMc) {
if (this.getLayerKey(nameDelMc, "layer_aroundList") == undefined) {
this.layer_aroundList.splice(0, 0, nameDelMc);
this.thisOn_item = nameDelMc;
}
}
function goPoisition(nameDelMc, command) {
var _local3 = this.item_list[nameDelMc].split(",");
trace(_local3);
if (_local3[3] == undefined) {
this.mc_myModel[nameDelMc]._xscale = 80;
this.mc_myModel[nameDelMc]._yscale = 80;
this.mcDropShadow(this.mc_myModel[nameDelMc]);
} else {
this.mc_myModel[nameDelMc]._visible = false;
this.mc_myModel["subitem_" + _local3[3]]["item_" + nameDelMc]._visible = true;
}
this.mc_myModel[nameDelMc].swapDepths(parseInt(_local3[0]));
this.mc_myModel[nameDelMc]._x = parseInt(_local3[1]);
this.mc_myModel[nameDelMc]._y = parseInt(_local3[2]);
var _local4 = this.getLayerKey(nameDelMc, "layer_aroundList");
if (_local4 != undefined) {
this.layer_aroundList.splice(_local4, 1);
}
if (this.layer_aroundList[0] == undefined) {
this.thisOn_item = this.layer_itemList[0].substr(6);
} else {
this.thisOn_item = this.layer_aroundList[0];
}
this.scrollbar();
}
function reset(itemReset) {
if (itemReset == false) {
for (var _local2 in this.layer_itemList) {
trace("\uACE0\uACE0:" + this.layer_itemList[_local2]);
this.goPoisition(this.layer_itemList[_local2].substr(6));
}
for (var _local2 in this.layer_itemList) {
this.moveToLayer(this.layer_itemList[_local2]);
}
this.layer_itemList.splice(0);
for (var _local2 in this.layer_delItem) {
this.moveToLayer(this.layer_delItem[_local2]);
}
this.layer_delItem.splice(0);
} else {
for (var _local2 in this.layer_aroundList) {
trace("\uACE0:" + this.layer_aroundList[_local2]);
this.goPoisition(this.layer_aroundList[_local2]);
}
this.layer_aroundList.splice(0);
}
}
function scrollbar() {
var _local2 = this.layer_itemList.length * this.layer_item_h;
var heightScroll = ((this.layer_itemList.length - 8) * this.layer_item_h);
if (_local2 < 420) {
this.mc_myModel.mc_LayerNavi.mc_scrollbar.gotoAndStop(1);
} else {
this.mc_myModel.mc_LayerNavi.mc_scrollbar.gotoAndStop(2);
trace((((this.layer_itemList.length + " =>") + heightScroll) + " : ") + this.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar._height);
this.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar._height = 420 - heightScroll;
if (this.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar._height < this.layer_item_h) {
this.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar._height = this.layer_item_h;
trace("scrollbar handle height: " + this.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar._height);
}
this=this.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar;//parameter overwritten
this.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar;
this._y = 0;
this._parent._parent.onlayer._y = 9;
this.onRollOver = function () {
this.useHandCursor = false;
};
this.onRollOut = function () {
stopDrag();
delete this.onEnterFrame;
};
this.onRelease = (this.onReleaseOutside = function () {
stopDrag();
delete this.onEnterFrame;
});
this.onPress = function () {
if (_level0.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar._height == 50) {
startDrag (this, false, 0.7, 0, 0, 370);
} else {
startDrag (this, false, 0.7, 0, 0, heightScroll);
}
this.onEnterFrame = function () {
if (_level0.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar._height == 50) {
handle_per = ((_level0.mc_myModel.mc_LayerNavi.mc_scrollbar.mc_bar._y - 0) / 370) * 100;
mc_per = (handle_per * this._parent._parent.onlayer._height) / 100;
bar_per = (handle_per * 420) / 100;
mc_y = ((mc_per * -1) + bar_per) + 9;
this._parent._parent.onlayer._y = this._parent._parent.onlayer._y - (this._parent._parent.onlayer._y - mc_y);
} else {
this._parent._parent.onlayer._y = (this._y * -1) + 9;
}
};
};
}
}
function Capture(w, h) {
snapshot = new flash.display.BitmapData(w, h);
var _local2 = new flash.geom.Matrix();
_local2.translate(-capArea._x, -capArea._y);
snapshot.draw(mc_myModel, _local2);
var _local1 = createEmptyMovieClip("bitmap_mc", 1);
_local1._x = 400;
_local1._y = 15;
_local1.attachBitmap(snapshot, 1);
}
function DelCapture() {
removeMovieClip(this.bitmap_mc);
removeMovieClip(this.sendForm);
this.mc_myModel._x = this.mc_myModel._x + 342;
this.mc_myModel._y = this.mc_myModel._y + 6;
this.formView();
}
this.jewelry_num = 10;
this.body_num = 7;
this.head_num = 2;
this.sunglass_num = 3;
this.lipstick_num = 4;
this.skin_num = 4;
this.hair_num = 8;
this.bag_num = 5;
this.footwear_num = 8;
this.jacket_num = 15;
this.pants_num = 11;
System.useCodepage = true;
Stage.showMenu = false;
if ((_root.code == undefined) || (!_root.code)) {
_root.code = "";
}
var loadEnd;
var loadEndCount;
var falseWords = Array();
var falseWords2 = Array();
var item_list = Array();
var item_list_Dclick = Array();
var item_list_btn = Array();
var subitem_list_btn = Array();
var this_subitem = Array();
var subitem = Array();
var frameItem = Array();
var subitem_name = Object();
var subitem_depth = Object();
var select_subitem;
var move_subitem;
var thisOn_item;
var Dclick = Array();
var loadingCount = Object();
var allMcCount;
var box_item_w;
var box_item_h;
var layer_item_w;
var layer_item_h;
var layer_itemList = Array();
var layer_aroundList = Array();
var layer_itemDepth = Array();
var layerMove_info = Array();
var visibleList = Array();
var visibleMCList = Array();
var comd = false;
var printNow = false;
var layer_delItem = Array();
var myLoader;
this.gameStart();
var case_item = 0;
this.mc_myModel.mc_LayerNavi.btn_help_layer.onRelease = (this.mc_myModel.mc_LayerNavi.btn_help_layer.onReleaseOutside = function () {
this._parent._parent._parent.attachMovie("help_layer", "help_layer", this.getNextHighestDepth());
});
this.btn_clear.onRollOver = function () {
this.help_text = "\uC637\uC7A5\uC5D0 \uB123\uAE30";
this.gotoAndStop(2);
this.this_help.gotoAndPlay(2);
};
this.btn_clear.onRollOut = function () {
this.this_help.gotoAndPlay(1);
this.gotoAndStop(1);
};
this.btn_clear.onPress = function () {
this.gotoAndStop(3);
};
this.btn_clear.onRelease = (this.btn_clear.onReleaseOutside = function () {
if (this._parent.thisOn_item != undefined) {
if (this._parent.mc_myModel.mc_LayerNavi.onlayer["layer_" + this._parent.thisOn_item]._visible == true) {
this._parent.moveToLayer("layer_" + this._parent.thisOn_item);
}
this._parent.goPoisition(this._parent.thisOn_item);
}
this.gotoAndStop(1);
});
this.btn_reset.onRollOver = function () {
this.help_text = "\uC785\uC9C0\uC54A\uC740\uC637\uC815\uB9AC";
this.gotoAndStop(2);
this.this_help.gotoAndPlay(2);
};
this.btn_reset.onRollOut = function () {
this.this_help.gotoAndPlay(1);
this.gotoAndStop(1);
};
this.btn_reset.onPress = function () {
this.gotoAndStop(3);
};
this.btn_reset.onRelease = (this.btn_reset.onReleaseOutside = function () {
this.gotoAndStop(1);
this._parent.reset(true);
});
this.btn_sample.onRollOver = function () {
this.help_text = "\uCD94\uCC9C\uC2A4\uD0C0\uC77C \uBCF4\uAE30";
this.gotoAndStop(2);
this.this_help.gotoAndPlay(2);
};
this.btn_sample.onRollOut = function () {
this.this_help.gotoAndPlay(1);
this.gotoAndStop(1);
};
this.btn_sample.onPress = function () {
this.gotoAndStop(3);
};
this.btn_sample.onRelease = (this.btn_sample.onReleaseOutside = function () {
if (this._parent.tip._visible == false) {
this._parent.tip._visible = true;
this._parent.tipPrint();
} else {
this._parent.tip._visible = false;
}
this.gotoAndStop(1);
});
this.btn_print.onRollOver = function () {
this.help_text = "\uD654\uBA74 \uC778\uC1C4\uD558\uAE30";
this.gotoAndStop(2);
this.this_help.gotoAndPlay(2);
};
this.btn_print.onRollOut = function () {
this.this_help.gotoAndPlay(1);
this.gotoAndStop(1);
};
this.btn_print.onPress = function () {
this.gotoAndStop(3);
};
this.btn_print.onRelease = (this.btn_print.onReleaseOutside = function () {
this.gotoAndStop(1);
if (this._parent.comd == false) {
this._parent.printf();
}
});
this.btn_bigwin.onRollOver = function () {
if (_root.size == "normal") {
this.help_text = "\uAC8C\uC784 \uD06C\uAC8C \uBCF4\uAE30";
this.gotoAndStop(2);
this.pm_btn.gotoAndStop(1);
this.this_help.gotoAndPlay(2);
} else if (_root.size == "big") {
this.help_text = "\uAC8C\uC784 \uC791\uAC8C \uBCF4\uAE30";
this.gotoAndStop(2);
this.pm_btn.gotoAndStop(2);
this.this_help.gotoAndPlay(2);
}
};
this.btn_bigwin.onRollOut = function () {
if (_root.size == "normal") {
this.this_help.gotoAndPlay(1);
this.gotoAndStop(1);
this.pm_btn.gotoAndStop(1);
} else if (_root.size == "big") {
this.this_help.gotoAndPlay(1);
this.gotoAndStop(1);
this.pm_btn.gotoAndStop(2);
}
};
this.btn_bigwin.onPress = function () {
if (_root.size == "normal") {
this.gotoAndStop(3);
this.pm_btn.gotoAndStop(1);
} else if (_root.size == "big") {
this.gotoAndStop(3);
this.pm_btn.gotoAndStop(2);
}
};
_root.size = "normal";
this.btn_bigwin.onRelease = (this.btn_bigwin.onReleaseOutside = function () {
if (_root.size == "normal") {
Stage.displayState = "fullScreen";
_root.size = "big";
this.gotoAndStop(1);
this.pm_btn.gotoAndStop(1);
} else if (_root.size == "big") {
Stage.displayState = "normal";
_root.size = "normal";
this.gotoAndStop(1);
this.pm_btn.gotoAndStop(2);
}
});
this.btn_refresh.onRollOver = function () {
this.help_text = "\uB2E4\uC2DC \uC2DC\uC791\uD558\uAE30";
this.gotoAndStop(2);
this.this_help.gotoAndPlay(2);
};
this.btn_refresh.onRollOut = function () {
this.this_help.gotoAndPlay(1);
this.gotoAndStop(1);
};
this.btn_refresh.onPress = function () {
this.gotoAndStop(3);
};
this.btn_refresh.onRelease = (this.btn_refresh.onReleaseOutside = function () {
getURL ("javascript:document.location.reload()");
this.gotoAndStop(1);
});
if (this.coevent == 1) {
this.attachMovie("btn_style_good2", "btn_style_good", -1, {_x:360.8, _y:478.5, _width:79.9, _height:30.8});
} else {
this.attachMovie("btn_style_good1", "btn_style_good", -1, {_x:360.8, _y:478.5, _width:79.9, _height:30.8});
}
for (var num in this.subitem) {
this.mc_myModel["btn_" + this.subitem[num]].onRollOver = function () {
if (this._parent._parent.select_subitem != this._name.substr(4)) {
this.help_text = this._parent._parent.subitem_name[this._name.substr(4)];
this.gotoAndStop(2);
this.this_help.gotoAndPlay(2);
}
};
this.mc_myModel["btn_" + this.subitem[num]].onRollOut = function () {
if (this._parent._parent.select_subitem != this._name.substr(4)) {
this.this_help.gotoAndStop(1);
this.gotoAndStop(1);
}
};
this.mc_myModel["btn_" + this.subitem[num]].onPress = function () {
if (this._parent._parent.select_subitem != this._name.substr(4)) {
this.gotoAndStop(3);
}
};
this.mc_myModel["btn_" + this.subitem[num]].onRelease = (this.mc_myModel["btn_" + this.subitem[num]].onReleaseOutside = function () {
if (this._parent._parent.select_subitem != this._name.substr(4)) {
this._parent["btn_" + this._parent._parent.select_subitem].gotoAndStop(1);
this.this_help.gotoAndStop(1);
this._parent._parent.select_subitem = this._name.substr(4);
if (this._parent._parent.this_subitem[this._parent._parent.select_subitem] > 0) {
this._parent.btn_left.useHandCursor = true;
this._parent.btn_left.gotoAndStop(1);
} else {
this._parent.btn_left.useHandCursor = false;
this._parent.btn_left.gotoAndStop(4);
}
if ((this._parent._parent.subitem_list_btn[this._parent._parent.select_subitem].length - (this._parent._parent.this_subitem[this._parent._parent.select_subitem] * 4)) > 4) {
this._parent.btn_right.useHandCursor = true;
this._parent.btn_right.gotoAndStop(1);
} else {
this._parent.btn_right.useHandCursor = false;
this._parent.btn_right.gotoAndStop(4);
}
this._parent._parent.visibleSubitem();
}
});
}
this.mc_myModel.btn_right.onRollOver = function () {
if (this._parent._parent.move_subitem == false) {
if ((this._parent._parent.subitem_list_btn[this._parent._parent.select_subitem].length - (this._parent._parent.this_subitem[this._parent._parent.select_subitem] * 4)) > 4) {
this.useHandCursor = true;
this.gotoAndStop(2);
} else {
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
this.mc_myModel.btn_right.onRollOut = function () {
if (this._parent._parent.move_subitem == false) {
if ((this._parent._parent.subitem_list_btn[this._parent._parent.select_subitem].length - (this._parent._parent.this_subitem[this._parent._parent.select_subitem] * 4)) > 4) {
this.gotoAndStop(1);
} else {
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
this.mc_myModel.btn_right.onPress = function () {
if (this._parent._parent.move_subitem == false) {
if ((this._parent._parent.subitem_list_btn[this._parent._parent.select_subitem].length - (this._parent._parent.this_subitem[this._parent._parent.select_subitem] * 4)) > 4) {
this.gotoAndStop(3);
} else {
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
this.mc_myModel.btn_right.onRelease = (this.mc_myModel.btn_right.onReleaseOutside = function () {
if (this._parent._parent.move_subitem == false) {
if ((this._parent._parent.subitem_list_btn[this._parent._parent.select_subitem].length - (this._parent._parent.this_subitem[this._parent._parent.select_subitem] * 4)) > 4) {
this._parent._parent.this_subitem[this._parent._parent.select_subitem]++;
var moveNum = (this._parent._parent.box_item_w * 4);
this._parent._parent.move_subitem = true;
this._parent["subitem_" + this._parent._parent.select_subitem].onEnterFrame = function () {
if (moveNum < 10) {
this._x--;
moveNum--;
if (moveNum < 1) {
delete this.onEnterFrame;
this._parent._parent.move_subitem = false;
this._parent.btn_left.gotoAndStop(1);
trace((this._parent._parent.select_subitem + " : ") + this._parent._parent.this_subitem[this._parent._parent.select_subitem]);
if ((this._parent._parent.subitem_list_btn[this._parent._parent.select_subitem].length - (this._parent._parent.this_subitem[this._parent._parent.select_subitem] * 4)) > 4) {
this._parent.btn_right.gotoAndStop(2);
} else {
this.useHandCursor = false;
this._parent.btn_right.gotoAndStop(4);
}
}
} else {
this._x = this._x - 10;
moveNum = moveNum - 10;
}
};
} else {
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
});
this.mc_myModel.btn_left.onRollOver = function () {
if (this._parent._parent.move_subitem == false) {
if (this._parent._parent.this_subitem[this._parent._parent.select_subitem] > 0) {
this.useHandCursor = true;
this.gotoAndStop(2);
} else {
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
this.mc_myModel.btn_left.onRollOut = function () {
if (this._parent._parent.move_subitem == false) {
if (this._parent._parent.this_subitem[this._parent._parent.select_subitem] > 0) {
this.gotoAndStop(1);
} else {
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
this.mc_myModel.btn_left.onPress = function () {
if (this._parent._parent.move_subitem == false) {
if (this._parent._parent.this_subitem[this._parent._parent.select_subitem] > 0) {
this.gotoAndStop(3);
} else {
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
};
this.mc_myModel.btn_left.onRelease = (this.mc_myModel.btn_left.onReleaseOutside = function () {
if (this._parent._parent.move_subitem == false) {
if (this._parent._parent.this_subitem[this._parent._parent.select_subitem] > 0) {
this._parent._parent.this_subitem[this._parent._parent.select_subitem]--;
var moveNum = (this._parent._parent.box_item_w * 4);
this._parent._parent.move_subitem = true;
this._parent["subitem_" + this._parent._parent.select_subitem].onEnterFrame = function () {
if (moveNum < 10) {
this._x++;
moveNum--;
if (moveNum < 1) {
delete this.onEnterFrame;
this._parent._parent.move_subitem = false;
this._parent.btn_right.gotoAndStop(1);
if (this._parent._parent.this_subitem[this._parent._parent.select_subitem] > 0) {
this._parent.btn_left.gotoAndStop(2);
} else {
this.useHandCursor = false;
this._parent.btn_left.gotoAndStop(4);
}
}
} else {
this._x = this._x + 10;
moveNum = moveNum - 10;
}
};
} else {
this.useHandCursor = false;
this.gotoAndStop(4);
}
}
});
var gotoUrl = "no";
var gotoComent;
var gotoEvent;
Symbol 105 MovieClip Frame 1
this.stop();
Symbol 244 MovieClip [hair2] Frame 1
stop();
Symbol 338 MovieClip Frame 1
this.stop();
Symbol 342 MovieClip [model] Frame 1
stop();
Symbol 351 MovieClip [btn_upload2] Frame 1
this.stop();
Symbol 357 MovieClip [btn_upload1] Frame 1
this.stop();
Symbol 368 MovieClip [btn_close_big] Frame 1
this.stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onPress = function () {
this.gotoAndStop(3);
};
Symbol 376 MovieClip Frame 1
this.stop();
Symbol 376 MovieClip Frame 2
this.play();
Symbol 376 MovieClip Frame 5
this.help_balloon.help_text.text = _parent.help_text;
Symbol 376 MovieClip Frame 7
this.help_balloon.help_text.text = _parent.help_text;
this.stop();
Symbol 378 MovieClip [btn_print] Frame 1
this.stop();
Symbol 390 MovieClip Frame 1
this.stop();
Symbol 390 MovieClip Frame 2
this.play();
Symbol 390 MovieClip Frame 5
this.help_balloon.help_text.text = _parent.help_text;
Symbol 390 MovieClip Frame 7
this.help_balloon.help_text.text = _parent.help_text;
this.stop();
Symbol 394 MovieClip [btn_style_good2] Frame 1
this.stop();
Symbol 396 MovieClip Frame 1
this.stop();
Symbol 396 MovieClip Frame 2
this.play();
Symbol 396 MovieClip Frame 20
this.stop();
Symbol 399 MovieClip [mc_loading_ball] Frame 1
var obNum = 1;
this.obBall1.gotoAndPlay(2);
this.onEnterFrame = function () {
if (this["obBall" + this.obNum]._currentframe > 5) {
this.obNum++;
this["obBall" + this.obNum].gotoAndPlay(2);
}
if (undefined == this["obBall" + this.obNum]) {
this.obNum = 1;
}
};
Symbol 494 MovieClip Frame 1
this.stop();
Symbol 498 MovieClip Frame 1
this.onRollOver = function () {
this.useHandCursor = false;
};
this.onRollOut = function () {
this.useHandCursor = true;
};
Symbol 499 MovieClip [sendForm] Frame 1
this.concept.tabIndex = 1;
this.content.tabIndex = 2;
Symbol 512 MovieClip [btn_upload] Frame 1
this.stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onPress = function () {
this.gotoAndStop(3);
};
Symbol 516 MovieClip [btn_close_event] Frame 1
this.stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onPress = function () {
this.gotoAndStop(3);
};
Symbol 520 MovieClip [guard] Frame 1
this.onRollOver = function () {
this.useHandCursor = false;
};
this.onRollOut = function () {
this.useHandCursor = true;
};
Symbol 537 MovieClip [btn_closeLayer] Frame 1
this.stop();
Symbol 544 MovieClip Frame 1
this.stop();
Symbol 551 MovieClip Frame 1
this.stop();
Symbol 555 MovieClip Frame 1
this.onRollOver = function () {
this.useHandCursor = false;
};
this.onRollOut = function () {
this.useHandCursor = true;
};
Symbol 558 MovieClip [help_layer] Frame 1
this.btn_done.onRollOver = function () {
this.gotoAndStop(2);
};
this.btn_done.onRollOut = function () {
this.gotoAndStop(1);
};
this.btn_done.onPress = function () {
this.gotoAndStop(3);
};
this.btn_done.onRelease = function () {
removeMovieClip(this._parent);
};
Symbol 595 MovieClip Frame 1
this.stop();
Symbol 599 MovieClip Frame 1
this.stop();
Symbol 604 MovieClip Frame 1
this.stop();
Symbol 604 MovieClip Frame 2
this.play();
Symbol 604 MovieClip Frame 5
this.help_balloon.help_text.text = _parent.help_text;
Symbol 604 MovieClip Frame 7
this.help_balloon.help_text.text = _parent.help_text;
this.stop();
Symbol 615 MovieClip Frame 1
this.stop();
Symbol 621 MovieClip Frame 1
this.stop();
Symbol 624 MovieClip Frame 1
this.stop();
Symbol 627 MovieClip Frame 1
this.stop();
Symbol 634 Button
on (release) {
trace((this + ":") + this._x);
var m = 0;
var i = 10;
this.onEnterFrame = function () {
this._x = this._x + i;
m = m + i;
if (m >= 60) {
delete this.onEnterFrame;
this.btn_close._visible = false;
this.btn_open._visible = true;
}
};
}
Symbol 638 Button
on (release) {
trace((this + ":") + this._x);
var m = 0;
var i = 10;
this.onEnterFrame = function () {
this._x = this._x - i;
m = m + i;
if (m >= 60) {
delete this.onEnterFrame;
this.btn_open._visible = false;
this.btn_close._visible = true;
}
};
}
Symbol 646 MovieClip Frame 1
this.stop();
Symbol 648 MovieClip Frame 1
this.btn_open._visible = false;
Symbol 664 MovieClip Frame 1
this.stop();
Symbol 668 MovieClip Frame 1
this.stop();
Symbol 672 MovieClip Frame 1
this.stop();
Symbol 673 MovieClip Frame 1
this.stop();
Symbol 676 Button
on (release) {
getURL ("http://kr.nori.kids.yahoo.com/nori/index.html?service=dollplay", "_blank");
}
Symbol 679 MovieClip [__Packages.styleLoader] Frame 0
class styleLoader
{
var mcRoot, jewelry_num, body_num, head_num, sunglass_num, lipstick_num, skin_num, hair_num, bag_num, footwear_num, jacket_num, pants_num, firstDepth;
function styleLoader (ob) {
mcRoot = ob;
jewelry_num = mcRoot.jewelry_num;
body_num = mcRoot.body_num;
head_num = mcRoot.head_num;
sunglass_num = mcRoot.sunglass_num;
lipstick_num = mcRoot.lipstick_num;
skin_num = mcRoot.skin_num;
hair_num = mcRoot.hair_num;
bag_num = mcRoot.bag_num;
footwear_num = mcRoot.footwear_num;
jacket_num = mcRoot.jacket_num;
pants_num = mcRoot.pants_num;
firstDepth = 0;
mcRoot.attachMovie(_root.code + "loading", "mc_loading", 10000);
var _local3 = this;
_local3.f_footwear();
}
function f_footwear() {
var _local7 = "Area_footwear";
var _local4 = 0;
while (_local4 < footwear_num) {
var _local6 = _local4 + 1;
if (_local4 == 4) {
_local7 = _local7 + "2";
}
if (_local4 > 4) {
_local6 = _local6 - 5;
}
firstDepth++;
var _local5 = "footwear" + _local4;
var _local3 = mcRoot.mc_myModel.attachMovie(_local5, _local5, firstDepth);
_local3._x = mcRoot[_local7]._x;
if (_local6 > 1) {
_local3._x = _local3._x + ((_local6 - 1) * 15);
}
var _local8 = _local3._width;
_local3._xscale = 80;
_local3._yscale = 80;
_local3._y = _local3._parent._parent[_local7]._y;
_local3._parent._parent.loadingCount.clothes++;
_local3._parent._parent.item_list_btn.push(_local3);
_local3._parent._parent.item_list[_local3._name] = (((_local3.getDepth() + ",") + _local3._x) + ",") + _local3._y;
_local3._parent._parent.mcDropShadow(_local3);
if (_local3._totalframes > 1) {
mcRoot.frameItem.push(_local5);
}
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local5, firstDepth - 5000);
var _local2 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local5].attachMovie(_local5, "ico_" + _local5, firstDepth - 4999);
_local2._xscale = 10;
_local2._yscale = 10;
while (_local2._height < (_local2._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local2._xscale = _local2._xscale + 1;
_local2._yscale = _local2._yscale + 1;
}
while (_local2._width > (_local2._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local2._xscale = _local2._xscale - 1;
_local2._yscale = _local2._yscale - 1;
}
_local2._x = (_local2._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local2._width / 2);
_local2._y = (_local2._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local2._height / 2);
_local2._parent._visible = false;
_local2._parent._parent._parent._parent._parent.loadingCount.layer++;
_local2._parent.attachMovie("btn_closeLayer", "btn_close", _local2.getDepth() + 1000);
_local2._parent.btn_close._x = 25;
_local2._parent.btn_close._alpha = 50;
if (_local4 == (footwear_num - 1)) {
trace("i: " + _local4);
f_pants();
}
_local4++;
}
if (_local4 == 0) {
trace("i: " + _local4);
f_pants();
}
}
function f_pants() {
var _local6 = "Area_pants";
var _local5 = 0;
while (_local5 < pants_num) {
var _local7 = _local5 + 1;
firstDepth++;
var _local4 = "pants" + _local5;
var _local3 = mcRoot.mc_myModel.attachMovie(_local4, _local4, firstDepth);
_local3._x = mcRoot[_local6]._x;
if (_local7 > 1) {
_local3._x = _local3._x + ((_local7 - 1) * 13);
}
var _local8 = _local3._width;
_local3._xscale = 80;
_local3._yscale = 80;
_local3._y = _local3._parent._parent[_local6]._y;
if (_local3._parent._parent[_local6]._height < _local3._height) {
_local3._y = _local3._y - (_local3._height - _local3._parent._parent[_local6]._height);
}
_local3._parent._parent.loadingCount.clothes++;
_local3._parent._parent.item_list_btn.push(_local3);
_local3._parent._parent.item_list[_local3._name] = (((_local3.getDepth() + ",") + _local3._x) + ",") + _local3._y;
_local3._parent._parent.mcDropShadow(_local3);
if (_local3._totalframes > 1) {
mcRoot.frameItem.push(_local4);
}
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local4, firstDepth - 5000);
var _local2 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local4].attachMovie(_local4, "ico_" + _local4, firstDepth - 4999);
_local2._xscale = 10;
_local2._yscale = 10;
while (_local2._height < (_local2._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local2._xscale = _local2._xscale + 1;
_local2._yscale = _local2._yscale + 1;
}
while (_local2._width > (_local2._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local2._xscale = _local2._xscale - 1;
_local2._yscale = _local2._yscale - 1;
}
_local2._x = (_local2._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local2._width / 2);
_local2._y = (_local2._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local2._height / 2);
_local2._parent._visible = false;
_local2._parent._parent._parent._parent._parent.loadingCount.layer++;
_local2._parent.attachMovie("btn_closeLayer", "btn_close", _local2.getDepth() + 1000);
_local2._parent.btn_close._x = 25;
_local2._parent.btn_close._alpha = 50;
if (_local5 == (pants_num - 1)) {
trace("i: " + _local5);
f_jacket();
}
_local5++;
}
if (_local5 == 0) {
trace("i: " + _local5);
f_jacket();
}
}
function f_jacket() {
var _local7 = "Area_jacket";
var _local5 = 0;
while (_local5 < jacket_num) {
var _local6 = _local5 + 1;
firstDepth++;
var _local4 = "jacket" + _local5;
var _local3 = mcRoot.mc_myModel.attachMovie(_local4, _local4, firstDepth);
_local3._x = mcRoot[_local7]._x;
if (_local6 > 1) {
_local3._x = _local3._x + ((_local6 - 1) * 13);
}
var _local8 = _local3._width;
_local3._xscale = 80;
_local3._yscale = 80;
_local3._y = _local3._parent._parent[_local7]._y;
_local3._parent._parent.loadingCount.clothes++;
_local3._parent._parent.item_list_btn.push(_local3);
_local3._parent._parent.item_list[_local3._name] = (((_local3.getDepth() + ",") + _local3._x) + ",") + _local3._y;
_local3._parent._parent.mcDropShadow(_local3);
if (_local3._totalframes > 1) {
mcRoot.frameItem.push(_local4);
}
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local4, firstDepth - 5000);
var _local2 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local4].attachMovie(_local4, "ico_" + _local4, firstDepth - 4999);
_local2._xscale = 10;
_local2._yscale = 10;
while (_local2._height < (_local2._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local2._xscale = _local2._xscale + 1;
_local2._yscale = _local2._yscale + 1;
}
while (_local2._width > (_local2._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local2._xscale = _local2._xscale - 1;
_local2._yscale = _local2._yscale - 1;
}
_local2._x = (_local2._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local2._width / 2);
_local2._y = (_local2._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local2._height / 2);
_local2._parent._visible = false;
_local2._parent._parent._parent._parent._parent.loadingCount.layer++;
_local2._parent.attachMovie("btn_closeLayer", "btn_close", _local2.getDepth() + 1000);
_local2._parent.btn_close._x = 25;
_local2._parent.btn_close._alpha = 50;
if (_local5 == (jacket_num - 1)) {
trace("i: " + _local5);
f_bag();
}
_local5++;
}
if (_local5 == 0) {
trace("i: " + _local5);
f_bag();
}
}
function f_bag() {
var _local7 = "Area_bag";
var _local5 = 0;
while (_local5 < bag_num) {
var _local6 = _local5 + 1;
firstDepth++;
var _local4 = "bag" + _local5;
var _local3 = mcRoot.mc_myModel.attachMovie(_local4, _local4, firstDepth);
_local3._x = mcRoot[_local7]._x;
if (_local6 > 1) {
_local3._x = _local3._x + ((_local6 - 1) * 13);
}
var _local8 = _local3._width;
_local3._xscale = 80;
_local3._yscale = 80;
_local3._y = _local3._parent._parent[_local7]._y;
_local3._parent._parent.loadingCount.clothes++;
_local3._parent._parent.item_list_btn.push(_local3);
_local3._parent._parent.item_list[_local3._name] = (((_local3.getDepth() + ",") + _local3._x) + ",") + _local3._y;
_local3._parent._parent.mcDropShadow(_local3);
if (_local3._totalframes > 1) {
mcRoot.frameItem.push(_local4);
}
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local4, firstDepth - 5000);
var _local2 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local4].attachMovie(_local4, "ico_" + _local4, firstDepth - 4999);
_local2._xscale = 10;
_local2._yscale = 10;
while (_local2._height < (_local2._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local2._xscale = _local2._xscale + 1;
_local2._yscale = _local2._yscale + 1;
}
while (_local2._width > (_local2._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local2._xscale = _local2._xscale - 1;
_local2._yscale = _local2._yscale - 1;
}
_local2._x = (_local2._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local2._width / 2);
_local2._y = (_local2._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local2._height / 2);
_local2._parent._visible = false;
_local2._parent._parent._parent._parent._parent.loadingCount.layer++;
_local2._parent.attachMovie("btn_closeLayer", "btn_close", _local2.getDepth() + 1000);
_local2._parent.btn_close._x = 25;
_local2._parent.btn_close._alpha = 50;
if (_local5 == (bag_num - 1)) {
trace("i: " + _local5);
f_hair();
}
_local5++;
}
if (_local5 == 0) {
trace("i: " + _local5);
f_hair();
}
}
function f_hair() {
var _local5 = 0;
while (_local5 < hair_num) {
var _local4 = "hair" + _local5;
var _local8 = mcRoot.box_item_w;
var _local11 = mcRoot.box_item_h;
var _local2 = mcRoot.mc_myModel.subitem_hairstyle.attachMovie(_local4, "item_" + _local4, mcRoot.mc_myModel.subitem_hairstyle.getNextHighestDepth());
if (_local5 == 0) {
_local2._x = 0;
} else {
_local2._x = ((_local5 + 1) - 1) * _local8;
}
_local2._y = 0;
_local2._x = _local2._x;
_local2._y = _local2._y;
_local2.swapDepths(_local2._parent._parent._parent.subitem_list_btn.hairstyle.length - 2000);
_local2._parent.attachMovie("item_btn", "btn_" + _local2._name, _local2._parent._parent._parent.subitem_list_btn.hairstyle.length - 1000, {_x:_local2._x, _y:_local2._y});
_local2._xscale = 80;
_local2._yscale = 80;
while (_local2._height > (_local2._parent._parent._parent.box_item_h - 20)) {
_local2._xscale = _local2._xscale - 5;
_local2._yscale = _local2._yscale - 5;
}
trace((((_local2._parent["btn_" + _local2._name] + " > x:") + _local2._x) + " y:") + _local2._y);
_local2._x = _local2._x + ((_local2._parent["btn_" + _local2._name]._width / 2) - (_local2._width / 2));
_local2._y = _local2._y + ((_local2._parent["btn_" + _local2._name]._height / 2) - (_local2._height / 2));
var _local7 = _local2._parent["btn_" + _local2._name];
_local2._parent._parent._parent.loadingCount.btnitem++;
_local2._parent._parent._parent.subitem_list_btn.hairstyle.push(_local7);
_local2._parent._parent._parent.mcDropShadow(_local2);
if (_local2._totalframes > 1) {
mcRoot.frameItem.push(_local4);
}
firstDepth++;
var _local6 = mcRoot.mc_myModel.attachMovie(_local4, _local4, firstDepth);
_local6._parent._parent.loadingCount.subitem++;
_local6._parent._parent.item_list[_local6._name] = ((((_local6.getDepth() + ",") + _local6._x) + ",") + _local6._y) + ",hairstyle";
_local6._visible = false;
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local4, firstDepth - 5000);
var _local3 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local4].attachMovie(_local4, "ico_" + _local4, firstDepth - 4999);
_local3._xscale = 10;
_local3._yscale = 10;
while (_local3._height < (_local3._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local3._xscale = _local3._xscale + 1;
_local3._yscale = _local3._yscale + 1;
}
while (_local3._width > (_local3._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local3._xscale = _local3._xscale - 1;
_local3._yscale = _local3._yscale - 1;
}
_local3._x = (_local3._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local3._width / 2);
_local3._y = (_local3._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local3._height / 2);
_local3._parent._visible = false;
_local3._parent._parent._parent._parent._parent.loadingCount.layer++;
_local3._parent.attachMovie("btn_closeLayer", "btn_close", _local3.getDepth() + 1000);
_local3._parent.btn_close._x = 25;
_local3._parent.btn_close._alpha = 50;
if (_local5 == (hair_num - 1)) {
trace("i: " + _local5);
f_skin();
}
_local5++;
}
if (_local5 == 0) {
trace("i: " + _local5);
f_skin();
}
}
function f_skin() {
var _local3 = 0;
while (_local3 < skin_num) {
mcRoot.subitem_depth.makeup++;
var _local4 = "skin" + _local3;
var _local2 = mcRoot.mc_myModel.subitem_makeup.attachMovie(_local4, "item_" + _local4, mcRoot.mc_myModel.subitem_makeup.getNextHighestDepth());
var _local6 = mcRoot.box_item_w;
var _local9 = mcRoot.box_item_h;
if (mcRoot.subitem_depth.makeup == 1) {
_local2._x = 0;
} else {
_local2._x = (mcRoot.subitem_depth.makeup - 1) * _local6;
}
_local2._y = 0;
_local2._x = _local2._x;
_local2._y = _local2._y;
_local2.swapDepths(_local2._parent._parent._parent.subitem_list_btn.makeup.length - 2000);
_local2._parent.attachMovie("item_btn", "btn_" + _local2._name, _local2._parent._parent._parent.subitem_list_btn.makeup.length - 1000, {_x:_local2._x, _y:_local2._y});
_local2._x = _local2._x + ((_local2._parent["btn_" + _local2._name]._width / 2) - (_local2._width / 2));
_local2._y = _local2._y + ((_local2._parent["btn_" + _local2._name]._height / 2) - (_local2._height / 2));
var _local5 = _local2._parent["btn_" + _local2._name];
_local2._parent._parent._parent.loadingCount.makeup++;
_local2._parent._parent._parent.subitem_list_btn.makeup.push(_local5);
_local2._parent._parent._parent.mcDropShadow(_local2);
if (_local3 == (skin_num - 1)) {
trace("i: " + _local3);
f_lipstick();
}
_local3++;
}
if (_local3 == 0) {
trace("i: " + _local3);
f_lipstick();
}
}
function f_lipstick() {
var _local3 = 0;
while (_local3 < lipstick_num) {
mcRoot.subitem_depth.makeup++;
var _local4 = "lipstick" + _local3;
var _local2 = mcRoot.mc_myModel.subitem_makeup.attachMovie(_local4, "item_" + _local4, mcRoot.mc_myModel.subitem_makeup.getNextHighestDepth());
var _local6 = mcRoot.box_item_w;
var _local9 = mcRoot.box_item_h;
if (mcRoot.subitem_depth.makeup == 1) {
_local2._x = 0;
} else {
_local2._x = (mcRoot.subitem_depth.makeup - 1) * _local6;
}
_local2._y = 0;
_local2._x = _local2._x;
_local2._y = _local2._y;
_local2.swapDepths(_local2._parent._parent._parent.subitem_list_btn.makeup.length - 2000);
_local2._parent.attachMovie("item_btn", "btn_" + _local2._name, _local2._parent._parent._parent.subitem_list_btn.makeup.length - 1000, {_x:_local2._x, _y:_local2._y});
_local2._x = _local2._x + ((_local2._parent["btn_" + _local2._name]._width / 2) - (_local2._width / 2));
_local2._y = _local2._y + ((_local2._parent["btn_" + _local2._name]._height / 2) - (_local2._height / 2));
var _local5 = _local2._parent["btn_" + _local2._name];
_local2._parent._parent._parent.loadingCount.makeup++;
_local2._parent._parent._parent.subitem_list_btn.makeup.push(_local5);
_local2._parent._parent._parent.mcDropShadow(_local2);
if (_local3 == (lipstick_num - 1)) {
trace("i: " + _local3);
f_sunglass();
}
_local3++;
}
if (_local3 == 0) {
trace("i: " + _local3);
f_sunglass();
}
}
function f_sunglass() {
var _local6 = 0;
while (_local6 < sunglass_num) {
mcRoot.subitem_depth.etc++;
var _local4 = "sunglass" + _local6;
var _local2 = mcRoot.mc_myModel.subitem_etc.attachMovie(_local4, "item_" + _local4, mcRoot.mc_myModel.subitem_etc.getNextHighestDepth());
var _local8 = mcRoot.box_item_w;
var _local11 = mcRoot.box_item_h;
if (mcRoot.subitem_depth.etc == 1) {
_local2._x = 0;
} else {
_local2._x = (mcRoot.subitem_depth.etc - 1) * _local8;
}
_local2._y = 0;
_local2._x = _local2._x;
_local2._y = _local2._y;
_local2.swapDepths(_local2._parent._parent._parent.subitem_list_btn.etc.length - 4000);
_local2._parent.attachMovie("item_btn", "btn_" + _local2._name, _local2._parent._parent._parent.subitem_list_btn.etc.length - 3000, {_x:_local2._x, _y:_local2._y});
_local2._xscale = 80;
_local2._yscale = 80;
while (_local2._height > (_local2._parent._parent._parent.box_item_h - 20)) {
_local2._xscale = _local2._xscale - 5;
_local2._yscale = _local2._yscale - 5;
}
_local2._x = _local2._x + ((_local2._parent["btn_" + _local2._name]._width / 2) - (_local2._width / 2));
_local2._y = _local2._y + ((_local2._parent["btn_" + _local2._name]._height / 2) - (_local2._height / 2));
var _local7 = _local2._parent["btn_" + _local2._name];
_local2._parent._parent._parent.loadingCount.btnitem++;
_local2._parent._parent._parent.subitem_list_btn.etc.push(_local7);
_local2._parent._parent._parent.mcDropShadow(_local2);
if (_local2._totalframes > 1) {
mcRoot.frameItem.push(_local4);
}
firstDepth++;
var _local5 = mcRoot.mc_myModel.attachMovie(_local4, _local4, firstDepth);
_local5._parent._parent.loadingCount.subitem++;
_local5._parent._parent.item_list[_local5._name] = ((((_local5.getDepth() + ",") + _local5._x) + ",") + _local5._y) + ",etc";
_local5._visible = false;
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local4, firstDepth - 5000);
var _local3 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local4].attachMovie(_local4, "ico_" + _local4, firstDepth - 4999);
_local3._xscale = 10;
_local3._yscale = 10;
while (_local3._height < (_local3._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local3._xscale = _local3._xscale + 1;
_local3._yscale = _local3._yscale + 1;
}
while (_local3._width > (_local3._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local3._xscale = _local3._xscale - 1;
_local3._yscale = _local3._yscale - 1;
}
_local3._x = (_local3._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local3._width / 2);
_local3._y = (_local3._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local3._height / 2);
_local3._parent._visible = false;
_local3._parent._parent._parent._parent._parent.loadingCount.layer++;
_local3._parent.attachMovie("btn_closeLayer", "btn_close", _local3.getDepth() + 1000);
_local3._parent.btn_close._x = 25;
_local3._parent.btn_close._alpha = 50;
if (_local6 == (sunglass_num - 1)) {
trace("i: " + _local6);
f_head();
}
_local6++;
}
if (_local6 == 0) {
trace("i: " + _local6);
f_head();
}
}
function f_head() {
var _local6 = 0;
while (_local6 < head_num) {
mcRoot.subitem_depth.etc++;
var _local4 = "head" + _local6;
var _local2 = mcRoot.mc_myModel.subitem_etc.attachMovie(_local4, "item_" + _local4, mcRoot.mc_myModel.subitem_etc.getNextHighestDepth());
var _local8 = mcRoot.box_item_w;
var _local11 = mcRoot.box_item_h;
if (mcRoot.subitem_depth.etc == 1) {
_local2._x = 0;
} else {
_local2._x = (mcRoot.subitem_depth.etc - 1) * _local8;
}
_local2._y = 0;
_local2._x = _local2._x;
_local2._y = _local2._y;
_local2.swapDepths(_local2._parent._parent._parent.subitem_list_btn.etc.length - 4000);
_local2._parent.attachMovie("item_btn", "btn_" + _local2._name, _local2._parent._parent._parent.subitem_list_btn.etc.length - 3000, {_x:_local2._x, _y:_local2._y});
_local2._xscale = 80;
_local2._yscale = 80;
while (_local2._height > (_local2._parent._parent._parent.box_item_h - 20)) {
_local2._xscale = _local2._xscale - 5;
_local2._yscale = _local2._yscale - 5;
}
_local2._x = _local2._x + ((_local2._parent["btn_" + _local2._name]._width / 2) - (_local2._width / 2));
_local2._y = _local2._y + ((_local2._parent["btn_" + _local2._name]._height / 2) - (_local2._height / 2));
var _local7 = _local2._parent["btn_" + _local2._name];
_local2._parent._parent._parent.loadingCount.btnitem++;
_local2._parent._parent._parent.subitem_list_btn.etc.push(_local7);
_local2._parent._parent._parent.mcDropShadow(_local2);
if (_local2._totalframes > 1) {
mcRoot.frameItem.push(_local4);
}
firstDepth++;
var _local5 = mcRoot.mc_myModel.attachMovie(_local4, _local4, firstDepth);
_local5._parent._parent.loadingCount.subitem++;
_local5._parent._parent.item_list[_local5._name] = ((((_local5.getDepth() + ",") + _local5._x) + ",") + _local5._y) + ",etc";
_local5._visible = false;
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local4, firstDepth - 5000);
var _local3 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local4].attachMovie(_local4, "ico_" + _local4, firstDepth - 4999);
_local3._xscale = 10;
_local3._yscale = 10;
while (_local3._height < (_local3._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local3._xscale = _local3._xscale + 1;
_local3._yscale = _local3._yscale + 1;
}
while (_local3._width > (_local3._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local3._xscale = _local3._xscale - 1;
_local3._yscale = _local3._yscale - 1;
}
_local3._x = (_local3._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local3._width / 2);
_local3._y = (_local3._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local3._height / 2);
_local3._parent._visible = false;
_local3._parent._parent._parent._parent._parent.loadingCount.layer++;
_local3._parent.attachMovie("btn_closeLayer", "btn_close", _local3.getDepth() + 1000);
_local3._parent.btn_close._x = 25;
_local3._parent.btn_close._alpha = 50;
if (_local6 == (head_num - 1)) {
trace("i: " + _local6);
f_body();
}
_local6++;
}
if (_local6 == 0) {
trace("i: " + _local6);
f_body();
}
}
function f_body() {
var _local6 = 0;
while (_local6 < body_num) {
mcRoot.subitem_depth.etc++;
var _local4 = "body" + _local6;
var _local2 = mcRoot.mc_myModel.subitem_etc.attachMovie(_local4, "item_" + _local4, mcRoot.mc_myModel.subitem_etc.getNextHighestDepth());
var _local8 = mcRoot.box_item_w;
var _local11 = mcRoot.box_item_h;
if (mcRoot.subitem_depth.etc == 1) {
_local2._x = 0;
} else {
_local2._x = (mcRoot.subitem_depth.etc - 1) * _local8;
}
_local2._y = 0;
_local2._x = _local2._x;
_local2._y = _local2._y;
_local2.swapDepths(_local2._parent._parent._parent.subitem_list_btn.etc.length - 4000);
_local2._parent.attachMovie("item_btn", "btn_" + _local2._name, _local2._parent._parent._parent.subitem_list_btn.etc.length - 3000, {_x:_local2._x, _y:_local2._y});
_local2._xscale = 80;
_local2._yscale = 80;
while (_local2._height > (_local2._parent._parent._parent.box_item_h - 20)) {
_local2._xscale = _local2._xscale - 5;
_local2._yscale = _local2._yscale - 5;
}
_local2._x = _local2._x + ((_local2._parent["btn_" + _local2._name]._width / 2) - (_local2._width / 2));
_local2._y = _local2._y + ((_local2._parent["btn_" + _local2._name]._height / 2) - (_local2._height / 2));
var _local7 = _local2._parent["btn_" + _local2._name];
_local2._parent._parent._parent.loadingCount.btnitem++;
_local2._parent._parent._parent.subitem_list_btn.etc.push(_local7);
_local2._parent._parent._parent.mcDropShadow(_local2);
if (_local2._totalframes > 1) {
mcRoot.frameItem.push(_local4);
}
firstDepth++;
var _local5 = mcRoot.mc_myModel.attachMovie(_local4, _local4, firstDepth);
_local5._parent._parent.loadingCount.subitem++;
_local5._parent._parent.item_list[_local5._name] = ((((_local5.getDepth() + ",") + _local5._x) + ",") + _local5._y) + ",etc";
_local5._visible = false;
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local4, firstDepth - 5000);
var _local3 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local4].attachMovie(_local4, "ico_" + _local4, firstDepth - 4999);
_local3._xscale = 10;
_local3._yscale = 10;
while (_local3._height < (_local3._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local3._xscale = _local3._xscale + 1;
_local3._yscale = _local3._yscale + 1;
}
while (_local3._width > (_local3._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local3._xscale = _local3._xscale - 1;
_local3._yscale = _local3._yscale - 1;
}
_local3._x = (_local3._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local3._width / 2);
_local3._y = (_local3._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local3._height / 2);
_local3._parent._visible = false;
_local3._parent._parent._parent._parent._parent.loadingCount.layer++;
_local3._parent.attachMovie("btn_closeLayer", "btn_close", _local3.getDepth() + 1000);
_local3._parent.btn_close._x = 25;
_local3._parent.btn_close._alpha = 50;
if (_local6 == (body_num - 1)) {
trace("i: " + _local6);
f_jewelry();
}
_local6++;
}
if (_local6 == 0) {
trace("i: " + _local6);
f_jewelry();
}
}
function f_jewelry() {
var _local6 = 0;
while (_local6 < jewelry_num) {
mcRoot.subitem_depth.accessory++;
var _local4 = "jewelry" + _local6;
var _local2 = mcRoot.mc_myModel.subitem_accessory.attachMovie(_local4, "item_" + _local4, mcRoot.mc_myModel.subitem_accessory.getNextHighestDepth());
var _local8 = mcRoot.box_item_w;
var _local11 = mcRoot.box_item_h;
if (mcRoot.subitem_depth.accessory == 1) {
_local2._x = 0;
} else {
_local2._x = (mcRoot.subitem_depth.accessory - 1) * _local8;
}
_local2._y = 0;
_local2._x = _local2._x;
_local2._y = _local2._y;
_local2.swapDepths(_local2._parent._parent._parent.subitem_list_btn.accessory.length - 6000);
_local2._parent.attachMovie("item_btn", "btn_" + _local2._name, _local2._parent._parent._parent.subitem_list_btn.accessory.length - 5000, {_x:_local2._x, _y:_local2._y});
_local2._xscale = 120;
_local2._yscale = 120;
while (_local2._height > (_local2._parent._parent._parent.box_item_h - 20)) {
_local2._xscale = _local2._xscale - 5;
_local2._yscale = _local2._yscale - 5;
}
_local2._x = _local2._x + ((_local2._parent["btn_" + _local2._name]._width / 2) - (_local2._width / 2));
_local2._y = _local2._y + ((_local2._parent["btn_" + _local2._name]._height / 2) - (_local2._height / 2));
var _local7 = _local2._parent["btn_" + _local2._name];
_local2._parent._parent._parent.loadingCount.btnitem++;
_local2._parent._parent._parent.subitem_list_btn.accessory.push(_local7);
_local2._parent._parent._parent.mcDropShadow(_local2);
if (_local2._totalframes > 1) {
mcRoot.frameItem.push(_local4);
}
firstDepth++;
var _local5 = mcRoot.mc_myModel.attachMovie(_local4, _local4, firstDepth);
_local5._parent._parent.loadingCount.subitem++;
_local5._parent._parent.item_list[_local5._name] = ((((_local5.getDepth() + ",") + _local5._x) + ",") + _local5._y) + ",accessory";
_local5._visible = false;
mcRoot.mc_myModel.mc_LayerNavi.onlayer.attachMovie("layerImg", "layer_" + _local4, firstDepth - 5000);
var _local3 = mcRoot.mc_myModel.mc_LayerNavi.onlayer["layer_" + _local4].attachMovie(_local4, "ico_" + _local4, firstDepth - 4999);
_local3._xscale = 10;
_local3._yscale = 10;
while (_local3._height < (_local3._parent._parent._parent._parent._parent.layer_item_h - 10)) {
_local3._xscale = _local3._xscale + 1;
_local3._yscale = _local3._yscale + 1;
}
while (_local3._width > (_local3._parent._parent._parent._parent._parent.layer_item_w - 8)) {
_local3._xscale = _local3._xscale - 1;
_local3._yscale = _local3._yscale - 1;
}
_local3._x = (_local3._parent._parent._parent._parent._parent.layer_item_w / 2) - (_local3._width / 2);
_local3._y = (_local3._parent._parent._parent._parent._parent.layer_item_h / 2) - (_local3._height / 2);
_local3._parent._visible = false;
_local3._parent._parent._parent._parent._parent.loadingCount.layer++;
_local3._parent.attachMovie("btn_closeLayer", "btn_close", _local3.getDepth() + 1000);
_local3._parent.btn_close._x = 25;
_local3._parent.btn_close._alpha = 50;
if (_local6 == (jewelry_num - 1)) {
trace("i: " + _local6);
f_model();
}
_local6++;
}
if (_local6 == 0) {
trace("i: " + _local6);
f_model();
}
}
function f_model() {
var _local3 = "model";
var _local2 = mcRoot.mc_myModel.attachMovie(_local3, _local3, mcRoot.capArea.getDepth() + 1);
_local2._x = (mcRoot.capArea._x + (mcRoot.capArea._width / 2)) - (_local2._width / 2);
_local2._y = (mcRoot.capArea._y + (mcRoot.capArea._height / 2)) - (_local2._height / 2);
_local2._parent._parent.loadingCount.mc++;
f_background();
}
function f_background() {
var _local2 = "background";
var _local3 = mcRoot.mc_myModel.attachMovie(_local2, _local2, mcRoot.mc_myModel.mc_chest.getDepth() - 1);
_local3._parent._parent.loadingCount.mc++;
f_tip();
}
function f_tip() {
var _local3 = "tip";
var _local2 = mcRoot.attachMovie(_local3, _local3, 9999);
_local2._visible = false;
_local2._parent.loadingCount.mc++;
_local2._visible = false;
}
}