Frame 1
System.security.allowDomain("*");
var mc$1999 = _root.createEmptyMovieClip("mc$1999", 10000);
if (_root._url.indexOf("file:///") == -1) {
mc$1999.loadMovie("http://www.mochimediads.com/games/lib/services/cl1/9");
}
function start_link() {
gotoAndPlay (285);
trace("ok");
}
Instance of Symbol 57 MovieClip in Frame 1
onClipEvent (load) {
}
Frame 284
stop();
loader_mc.onEnterFrame = function () {
var _local2 = this._parent;
var _local3 = _local2.getBytesLoaded() / _local2.getBytesTotal();
trace(_local3);
_local2.per = int(_local3 * 100);
this._xscale = int(_local3 * 100);
if (_local3 == 1) {
this.onEnterFrame = null;
_local2.start_link();
}
};
Frame 285
function saveit() {
mov = new Array();
frm = new Array();
vis = new Array();
for (var i in movarr) {
var tmpmc = eval ((mainmc + ".") + movarr[i]);
var hitmc = this.body;
if (tmpmc.hitTest(hitmc)) {
mov.push(new Array(movarr[i], int(tmpmc._x), int(tmpmc._y)));
}
}
for (var i in frmarr) {
var tmpmc = eval ((mainmc + ".") + frmarr[i]);
if (tmpmc._currentframe != 1) {
frm.push(new Array((mainmc + ".") + frmarr[i], tmpmc._currentframe));
}
}
for (var i in visarr) {
var tmpmc = eval ((mainmc + ".") + visarr[i]);
vis.push(new Array(visarr[i], tmpmc._visible));
}
savestr = (((("&mov=" + mov.join("|")) + "&frm=") + frm.join("|")) + "&vis=") + vis.join("|");
return(savestr);
}
function loadvar(str, act) {
var _local3 = new LoadVars();
_local3.onLoad = function (suc) {
_root[act](this);
};
}
function joinBattle() {
if (_root.myUid > 0) {
dg_join._visible = true;
} else {
_root.showLogbox("Sign up.", _root, "joinBattle", "reg");
}
}
function save2server() {
var _local4 = [];
var _local5 = diyItems.length;
var _local3 = 0;
while (_local3 < _local5) {
var _local2 = diyItems[_local3];
if (_root.model_mc[_local2] != undefined) {
_local4.push((_local2 + ",") + _root.model_mc[_local2]._currentframe);
}
_local3++;
}
var _local7 = _local4.join("|");
var result_lv = new LoadVars();
result_lv.onLoad = function (success) {
if (success) {
if (result_lv.res == "needlogin") {
_root.showLogbox("Sign up.", _root, "joinBattle", "reg");
} else {
dg_join._visible = false;
if (result_lv.points > 0) {
alert(("Thanks for joining the battle.\nYou've just got " + result_lv.points) + " Exp.");
} else {
alert("Thanks for joining the battle.");
}
btn_battleNow.enabled = false;
btn_battleNow._alpha = 20;
}
} else {
alert("Error connecting to server.");
}
};
var _local6 = new LoadVars();
_local6.title = dg_join.title.text;
_local6.data = _local7;
(_root.PHP_root_path + "battle_flash.php?job=save&game_id=") + game_id;
}
function getRandomPlayer() {
loadvar((_root.PHP_root_path + "battle_flash.php?job=random&game_id=") + game_id, "getRandomPlayerOk");
}
function getRandomPlayerOk(res) {
var _local8 = res.listarr.split("#");
if ((_local8.length > 0) && (_local8[0].length > 0)) {
var _local2 = 0;
while (_local2 < 2) {
this["doll_thumb" + _local2]._visible = true;
var _local5 = _local8[_local2].split(";");
if (_local5[4].length > 2) {
var _local6 = _local5[4].split("|");
var _local7 = _local6.length;
var _local3 = 0;
while (_local3 < _local7) {
var _local4 = _local6[_local3].split(",");
this["doll_thumb" + _local2].model_mc[_local4[0]].gotoAndStop(_local4[1]);
_local3++;
}
this["doll_thumb" + _local2].tf.text = _local5[2];
this["doll_thumb" + _local2].btn_vote.battle_id = _local5[0];
this["doll_thumb" + _local2].btn_vote.enabled = true;
this["doll_thumb" + _local2].btn_vote._alpha = 100;
this["doll_thumb" + _local2].btn_vote.onRelease = function () {
this.enabled = false;
this._alpha = 20;
vote(this.battle_id);
};
}
_local2++;
}
}
}
function getTop20() {
loadvar((_root.PHP_root_path + "battle_flash.php?job=top&game_id=") + game_id, "getTop20Ok");
}
function goPage() {
var _local2 = 0;
while (_local2 < perpage) {
top20["doll_thumb" + _local2]._visible = false;
_local2++;
}
var _local8 = top20Data.split("#");
if (curPage == 0) {
top20.btn_l.enabled = false;
top20.btn_l._alpha = 20;
} else if (curPage == (Math.ceil(_local8.length / perpage) - 1)) {
top20.btn_r.enabled = false;
top20.btn_r._alpha = 20;
}
if (_local8.length <= perpage) {
top20.btn_r.enabled = false;
top20.btn_r._alpha = 20;
}
if ((_local8.length > 0) && (_local8[0].length > 0)) {
_local2 = 0;
while (_local2 < perpage) {
if (_local8[_local2 + (curPage * perpage)].length > 0) {
top20["doll_thumb" + _local2]._visible = true;
}
var _local5 = _local8[_local2 + (curPage * perpage)].split(";");
if (_local5[4].length > 2) {
var _local6 = _local5[4].split("|");
var _local7 = _local6.length;
var _local3 = 0;
while (_local3 < _local7) {
var _local4 = _local6[_local3].split(",");
top20["doll_thumb" + _local2].model_mc[_local4[0]].gotoAndStop(_local4[1]);
_local3++;
}
top20["doll_thumb" + _local2].tf.text = _local5[2];
top20["doll_thumb" + _local2].tf2.text = _local5[3];
top20["doll_thumb" + _local2].btn_vote._visible = false;
top20["doll_thumb" + _local2].btn_vote.battle_id = _local5[0];
top20["doll_thumb" + _local2].btn_vote.onRelease = function () {
this.enabled = false;
this._alpha = 20;
this._parent.tf2.text = Number(this._parent.tf2.text) + 1;
vote(this.battle_id);
};
}
_local2++;
}
top20._visible = true;
} else {
alert("No data.");
}
}
function getTop20Ok(res) {
top20Data = res.listarr;
goPage();
}
function vote(bid) {
loadvar((_root.PHP_root_path + "battle_flash.php?job=vote&id=") + bid, "voteOk");
}
function voteOk() {
if (!top20._visible) {
getRandomPlayer();
}
}
function showLogbox(str, scope, act, frame) {
_root.login_mc._x = Math.round((Stage.width - 950) / 2);
_root.login_mc._y = 30;
_root.login_mc.swapDepths(_root.getNextHighestDepth());
_root.login_mc.settext(str);
_root.login_mc.scope = scope;
_root.login_mc.backact = act;
_root.login_mc.gotoAndStop(frame);
_root.login_mc._visible = true;
}
function bgSound() {
mySound3 = new Sound(_root);
mySound3.attachSound("BG");
mySound3.start(0, 999);
mySound3.setVolume(100);
}
function end_btn_sound_fun() {
mySound3.stop();
}
function addSound(clip, loops, volume) {
var _local2 = volume;
if (_local2 == undefined) {
_local2 = 100;
}
mySound = new Sound(_root);
mySound.setVolume(_local2);
mySound.attachSound(clip);
mySound.start(0, loops);
}
function clear_ini() {
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.top2_mc.gotoAndStop(1);
_root.model_mc.top3_mc.gotoAndStop(1);
_root.model_mc.bot2_mc.gotoAndStop(1);
_root.model_mc.bot1_mc.gotoAndStop(1);
_root.model_mc.shoes_mc.gotoAndStop(1);
_root.model_mc.jew01_mc.gotoAndStop(1);
_root.model_mc.jew02_mc.gotoAndStop(1);
_root.model_mc.jew03_mc.gotoAndStop(1);
_root.model_mc.jew04_mc.gotoAndStop(1);
_root.model_mc.eye_mc.gotoAndStop(1);
_root.model_mc.hair_mc.gotoAndStop(1);
_root.model_mc.yaodai_mc.gotoAndStop(1);
_root.model_mc.cap_mc.gotoAndStop(1);
_root.model_mc.cap_mc2.gotoAndStop(1);
_root.model_mc.bag_mc.gotoAndStop(1);
_root.model_mc.waitao_mc.gotoAndStop(1);
_root.model_mc.kuwa_mc.gotoAndStop(1);
_root.model_mc.shoes_mc2.gotoAndStop(1);
_root.model_mc.shoutao_mc.gotoAndStop(1);
_root.model_mc.glass_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
_root.model_mc.dress6.underwear2_mc._visible = true;
var _local2 = 1;
while (_local2 < 22) {
_root["on_clothing" + _local2]._visible = true;
_root["on_clothing" + _local2] = undefined;
_root.model_mc["dress" + _local2].gotoAndStop(1);
_local2++;
}
_root.skin_no = 1;
}
function girl(x1, y1, s) {
if (this.model_mc.x0 && (this.model_mc.y0)) {
this.model_mc._x = this.model_mc.x0 + x1;
this.model_mc._y = this.model_mc.y0 + y1;
this.model_mc._xscale = (this.model_mc._yscale = s);
this.model_mc._rotation = 0;
}
trace(this.model_mc._x);
}
function makeupMenuBtn_fun(_mc) {
var _local4 = _root;
var _local3 = _mc.f_btn;
_local3.act = true;
_local3.onRelease = function () {
if (this.act == true) {
this._parent.gotoAndPlay("open");
this.enabled = false;
}
if (this.act == false) {
this._parent.gotoAndPlay("close");
this.enabled = false;
}
};
}
function btn_go(_mc) {
for (var _local5 in _mc) {
if ((typeof(_mc[_local5]) == "movieclip") && (_mc[_local5]._name.substr(0, 1) == "b")) {
_mc[_local5].onRelease = function () {
addSound("sd03");
var _local4 = Number(_mc._name.substr(1, 2));
var _local3 = Number(this._name.substr(3));
_root.model_mc["dress" + _local4].gotoAndStop(_local3);
if (_local4 == 6) {
_root.model_mc.dress7.gotoAndStop(_local3);
_root.skin_no = _local3;
_root.model_mc.top1_mc.body.gotoAndStop(_root.skin_no);
_root.model_mc.top2_mc.body.gotoAndStop(_root.skin_no);
_root.model_mc.top3_mc.body.gotoAndStop(_root.skin_no);
}
if (_local4 == 2) {
_root.model_mc.dress2.gotoAndStop(_local3 + 1);
}
};
}
}
}
function third_ch_ini(_mc) {
for (var _local5 in _mc) {
if ((typeof(_mc[_local5]) == "movieclip") && (_mc[_local5]._name.substr(0, 1) == "a")) {
_mc[_local5].onRelease = function () {
addSound("sd03");
if ((((((this != _root.on_clothing1) && (this != _root.on_clothing2)) && (this != _root.on_clothing3)) && (this != _root.on_clothing4)) && (this != _root.on_clothing5)) && (this != _root.on_clothing6)) {
if (this._name.substr(0, 2) == "a1") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
}
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.model_mc.top2_mc.gotoAndStop(1);
}
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.model_mc.bot1_mc.gotoAndStop(1);
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
_root.model_mc.top2_mc.gotoAndStop(1);
_root.model_mc.top3_mc.gotoAndStop(1);
}
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
_root.model_mc.bot2_mc.gotoAndStop(1);
}
this._visible = false;
_root.on_clothing1 = this;
_root.model_mc.top1_mc.gotoAndStop(_local3);
_root.model_mc.top1_mc.body.gotoAndStop(_root.skin_no);
_root.model_mc.dress6.underwear1_mc._visible = false;
_root.model_mc.dress6.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "a2") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear2_mc._visible = true;
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
_root.model_mc.top3_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear2_mc._visible = true;
}
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
}
this._visible = false;
_root.on_clothing2 = this;
_root.model_mc.top2_mc.gotoAndStop(_local3);
_root.model_mc.top2_mc.body.gotoAndStop(_root.skin_no);
trace(_root.skin_no);
_root.model_mc.dress6.underwear1_mc._visible = false;
}
if (this._name.substr(0, 2) == "a3") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
}
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
}
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
_root.model_mc.bot2_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
}
this._visible = false;
_root.on_clothing3 = this;
_root.model_mc.bot1_mc.gotoAndStop(_local3);
_root.model_mc.dress6.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "a4") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear2_mc._visible = true;
}
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.model_mc.top2_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear2_mc._visible = true;
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
}
this._visible = false;
_root.on_clothing4 = this;
_root.model_mc.top3_mc.gotoAndStop(_local3);
_root.model_mc.top3_mc.body.gotoAndStop(_root.skin_no);
_root.model_mc.dress6.underwear1_mc._visible = false;
}
if (this._name.substr(0, 2) == "a5") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
}
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
}
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.model_mc.bot1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
}
this._visible = false;
_root.on_clothing5 = this;
_root.model_mc.bot2_mc.gotoAndStop(_local3);
_root.model_mc.dress6.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "a9") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing10 != undefined) {
_root.on_clothing10._visible = true;
_root.on_clothing10 = undefined;
}
this._visible = false;
_root.on_clothing10 = this;
_root.model_mc.shoes_mc.gotoAndStop(_local3);
_root.model_mc.shoes_mc2.gotoAndStop(1);
}
if (this._name.substr(0, 2) == "aj") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
}
_root.on_clothing5 = this;
_root.model_mc.jew01_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a6") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing6 != undefined) {
_root.on_clothing6._visible = true;
_root.on_clothing6 = undefined;
}
_root.on_clothing6 = this;
_root.model_mc.jew02_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a7") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing7 != undefined) {
_root.on_clothing7._visible = true;
_root.on_clothing7 = undefined;
}
this._visible = false;
_root.on_clothing7 = this;
_root.model_mc.bag_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a8") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing8 != undefined) {
_root.on_clothing8._visible = true;
_root.on_clothing8 = undefined;
}
this._visible = false;
_root.on_clothing8 = this;
_root.model_mc.cap_mc.gotoAndStop(_local3);
_root.model_mc.cap_mc2.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "aw") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing9 != undefined) {
_root.on_clothing9._visible = true;
_root.on_clothing9 = undefined;
}
this._visible = false;
_root.on_clothing9 = this;
_root.model_mc.waitao_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ay") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing11 != undefined) {
_root.on_clothing11._visible = true;
_root.on_clothing11 = undefined;
}
this._visible = false;
_root.on_clothing11 = this;
_root.model_mc.yaodai_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ak") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing12 != undefined) {
_root.on_clothing12._visible = true;
_root.on_clothing12 = undefined;
}
this._visible = false;
_root.on_clothing12 = this;
_root.model_mc.jew03_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ag") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing13 != undefined) {
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
}
this._visible = false;
_root.on_clothing13 = this;
_root.model_mc.glass_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "as") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing10 != undefined) {
_root.on_clothing10._visible = true;
_root.on_clothing10 = undefined;
}
this._visible = false;
_root.on_clothing10 = this;
_root.model_mc.shoes_mc2.gotoAndStop(_local3);
_root.model_mc.shoes_mc.gotoAndStop(1);
}
if (this._name.substr(0, 2) == "ae") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing15 != undefined) {
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
}
this._visible = false;
_root.on_clothing15 = this;
_root.model_mc.shoutao_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ah") {
var _local3 = Number(this._name.substr(2, 2));
if (_root.on_clothing16 != undefined) {
_root.on_clothing16._visible = true;
_root.on_clothing16 = undefined;
}
_root.on_clothing16 = this;
_root.model_mc.hair_mc.gotoAndStop(_local3);
}
}
};
}
}
}
function reset_one() {
for (var _local3 in _root.model_mc) {
if (typeof(_root.model_mc[_local3]) == "movieclip") {
_root.model_mc[_local3].enabled = true;
if (_root.model_mc[_local3]._name.substr(0, 3) == "cap") {
_root.model_mc[_local3].onRelease = function () {
_root.model_mc.cap_mc.gotoAndStop(1);
_root.model_mc.cap_mc2.gotoAndStop(1);
_root.on_clothing8._visible = true;
_root.on_clothing8 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "top1") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.dress6.underwear1_mc._visible = true;
_root.model_mc.dress6.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "top2") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.model_mc.dress6.underwear1_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "bot1") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.model_mc.dress6.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "bot2") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.model_mc.dress6.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "shoe") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing10._visible = true;
_root.on_clothing10 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew01") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew02") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing6._visible = true;
_root.on_clothing6 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 3) == "bag") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing7._visible = true;
_root.on_clothing7 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "waita") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing9._visible = true;
_root.on_clothing9 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew04") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing21._visible = true;
_root.on_clothing21 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "yaoda") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing11._visible = true;
_root.on_clothing11 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew03") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing12._visible = true;
_root.on_clothing12 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "glass") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew04") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing14._visible = true;
_root.on_clothing14 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "shout") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
};
}
}
}
}
function SetPrintJob() {
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage("_root", {printAsBitmap:true});
my_pj.send();
delete my_pj;
}
_global.static_root_path = _level0.static_root_path;
_global.PHP_root_path = _level0.PHP_root_path;
_root.static_root_path + "control.swf";
movarr = new Array();
for (var i in this) {
if ((typeof(this[i]) == "movieclip") && (this[i]._name.substr(0, 1) == "a")) {
movarr.push(this[i]._name);
}
}
frmarr = new Array("model_mc", "dress1", "dress2", "dress3", "dress4", "dress5", "dress6", "dress7", "top1_mc", "top2_mc", "top3_mc", "bot1_mc", "bot2_mc", "shoes_mc", "shoes2_mc", "jew01_mc", "jew02_mc", "jew03_mc", "jew04_mc", "jew05_mc", "cap_mc", "bag_mc", "glass_mc", "hair_mc");
visarr = new Array("model_mc.dress6.underwear1_mc", "model_mc.dress6.underwear2_mc");
hitmc = "body";
mainmc = "model_mc";
System.security.allowDomain("*");
var game_id = _level0.id;
var diyItems = ["dress1", "dress2", "dress3", "dress4", "dress5", "dress6", "dress7", "top1_mc", "top2_mc", "top3_mc", "bot1_mc", "bot2_mc", "shoes_mc", "shoes2_mc", "jew01_mc", "jew02_mc", "jew03_mc", "jew04_mc", "jew05_mc", "cap_mc", "bag_mc", "glass_mc", "hair_mc"];
_global.test = function (t, t2, t3) {
t = t + " ";
t2 = ((t2 == undefined) ? " " : (t2 + " "));
t3 = ((t3 == undefined) ? " " : (t3));
flash.external.ExternalInterface.call("console.log", t, t2, t3);
};
var curPage = 0;
var perpage = 6;
var top20Data;
var login_mc = _root.createEmptyMovieClip("login_mc", _root.getNextHighestDepth());
_level0.static_root_path + "logbox.swf";
stop();
mymenu = new ContextMenu();
mymenu.hideBuiltInItems();
mymenu.builtInItems.print = true;
_root.menu = mymenu;
girl(0, 0, 250);
Instance of Symbol 216 MovieClip "model_mc" in Frame 285
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
_root.skin_no = 1;
}
Instance of Symbol 289 MovieClip in Frame 285
onClipEvent (load) {
_parent.bgSound();
}
Frame 286
stop();
third_ch_ini(this);
reset_one();
girl(-100, -120, 100);
Frame 287
function alert(str) {
alertmc._x = Math.round((Stage.width - alertmc._width) / 2);
alertmc._y = 200;
alertmc.settext(str);
alertmc._visible = true;
}
function hidealert() {
alertmc._visible = false;
}
unloadMovieNum (10);
getRandomPlayer();
battle_open_btn._visible = false;
battle_bg.btnx.onRelease = function () {
battle_bg._visible = false;
vs_txt._visible = false;
doll_thumb0._visible = false;
doll_thumb1._visible = false;
battle_open_btn._visible = true;
};
battle_open_btn.onRelease = function () {
battle_bg._visible = true;
vs_txt._visible = true;
doll_thumb0._visible = true;
doll_thumb1._visible = true;
battle_open_btn._visible = false;
};
var alertmc = this.createEmptyMovieClip("alertmc", this.getNextHighestDepth());
_root.static_root_path + "alert.swf";
stop();
girl(170, -120, 105);
for (var i in _root.model_mc) {
if (typeof(_root.model_mc[i]) == "movieclip") {
model_mc[i].enabled = false;
}
}
Symbol 57 MovieClip Frame 1
this.useHandCursor = false;
this.onRelease = function () {
_parent.start_link();
};
Symbol 72 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 1
stop();
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
stop();
Instance of Symbol 124 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 124 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 208 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 1
stop();
f_btn.act = true;
f_btn.enabled = true;
_root.makeupMenuBtn_fun(this);
Symbol 236 MovieClip Frame 10
stop();
f_btn.act = false;
f_btn.enabled = true;
_root.btn_go(this);
Symbol 242 MovieClip Frame 1
stop();
f_btn.act = true;
f_btn.enabled = true;
_root.makeupMenuBtn_fun(this);
Symbol 242 MovieClip Frame 10
stop();
f_btn.act = false;
f_btn.enabled = true;
_root.btn_go(this);
Symbol 249 MovieClip Frame 1
stop();
f_btn.act = true;
f_btn.enabled = true;
_root.makeupMenuBtn_fun(this);
Symbol 249 MovieClip Frame 10
stop();
f_btn.act = false;
f_btn.enabled = true;
_root.btn_go(this);
Symbol 255 MovieClip Frame 1
stop();
f_btn.act = true;
f_btn.enabled = true;
_root.makeupMenuBtn_fun(this);
Symbol 255 MovieClip Frame 10
stop();
f_btn.act = false;
f_btn.enabled = true;
_root.btn_go(this);
Symbol 261 MovieClip Frame 1
stop();
f_btn.act = true;
f_btn.enabled = true;
_root.makeupMenuBtn_fun(this);
Symbol 261 MovieClip Frame 10
stop();
f_btn.act = false;
f_btn.enabled = true;
_root.btn_go(this);
Symbol 266 MovieClip Frame 1
stop();
f_btn.act = true;
f_btn.enabled = true;
_root.makeupMenuBtn_fun(this);
Symbol 266 MovieClip Frame 10
stop();
f_btn.act = false;
f_btn.enabled = true;
_root.btn_go(this);
Symbol 269 MovieClip Frame 1
_root.third_ch_ini(this);
Symbol 271 MovieClip Frame 1
_root.third_ch_ini(this);
Symbol 278 Button
on (release) {
_root.addSound("click");
nextFrame();
}
Symbol 286 Button
on (release) {
this.gotoAndStop(2);
_parent.end_btn_sound_fun();
}
Symbol 288 Button
on (release) {
this.gotoAndStop(1);
_parent.bgSound();
}
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 2
stop();
Symbol 294 Button
on (release) {
nextFrame();
}
Symbol 297 Button
on (release) {
_root.addSound("click");
prevFrame();
}
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
stop();
Symbol 306 MovieClip Frame 3
stop();
Symbol 306 MovieClip Frame 4
stop();
Symbol 309 Button
on (release) {
_root.addSound("click");
clear_ini();
gotoAndStop (285);
}
Symbol 312 Button
on (release) {
_root.addSound("click");
SetPrintJob();
}
Symbol 315 Button
on (release) {
_root.addSound("click");
_root.bg_mc.play();
}
Symbol 331 MovieClip Frame 1
_visible = false;
Instance of Symbol 216 MovieClip "model_mc" in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Symbol 343 Button
on (release) {
joinBattle();
}
Symbol 347 Button
on (release) {
getTop20();
}
Symbol 349 MovieClip Frame 1
this.onRelease = function () {
};
this.useHandCursor = false;
Symbol 351 MovieClip Frame 1
function use9Grid() {
var _local3;
var _local4;
var _local6;
var _local7;
switch (arguments.length) {
case 1 :
_local7 = arguments[0];
_local6 = arguments[0];
_local4 = arguments[0];
_local3 = arguments[0];
break;
default :
_local4 = ((arguments[0] == undefined) ? 0 : (arguments[0]));
_local7 = ((arguments[1] == undefined) ? 0 : (arguments[1]));
_local3 = ((arguments[2] == undefined) ? 0 : (arguments[2]));
_local6 = ((arguments[3] == undefined) ? 0 : (arguments[3]));
}
var _local5 = this.getBounds(this);
var _local8 = Math.round((this._width / this._xscale) * 100);
var _local9 = Math.round((this._height / this._yscale) * 100);
var _local11 = _local5.xMin + _local3;
var _local12 = _local5.yMin + _local4;
var _local10 = (_local8 - _local3) - _local6;
var _local13 = (_local9 - _local4) - _local7;
var _local14 = new flash.geom.Rectangle(_local11, _local12, _local10, _local13);
this.scale9Grid = _local14;
}
this.use9Grid(10, 53, 10, 10);
this.useHandCursor = false;
this.onPress = function () {
};
Symbol 362 MovieClip Frame 1
function use9Grid() {
var _local3;
var _local4;
var _local6;
var _local7;
switch (arguments.length) {
case 1 :
_local7 = arguments[0];
_local6 = arguments[0];
_local4 = arguments[0];
_local3 = arguments[0];
break;
default :
_local4 = ((arguments[0] == undefined) ? 0 : (arguments[0]));
_local7 = ((arguments[1] == undefined) ? 0 : (arguments[1]));
_local3 = ((arguments[2] == undefined) ? 0 : (arguments[2]));
_local6 = ((arguments[3] == undefined) ? 0 : (arguments[3]));
}
var _local5 = this.getBounds(this);
var _local8 = Math.round((this._width / this._xscale) * 100);
var _local9 = Math.round((this._height / this._yscale) * 100);
var _local11 = _local5.xMin + _local3;
var _local12 = _local5.yMin + _local4;
var _local10 = (_local8 - _local3) - _local6;
var _local13 = (_local9 - _local4) - _local7;
var _local14 = new flash.geom.Rectangle(_local11, _local12, _local10, _local13);
this.scale9Grid = _local14;
}
this.use9Grid(5);
stop();
var showTxt;
if (showTxt != undefined) {
show_txt.text = showTxt;
}
show_txt.textColor = 3684408 /* 0x383838 */;
var rollOverFunc = this.onRollOver;
var rollOutFunc = this.onRollOut;
var releaseFunc = this.onRelease;
var pressFunc = this.onPress;
delete onRollOut;
delete onRollOver;
delete onRelease;
delete onPress;
onRollOver = function () {
rollOverFunc();
gotoAndStop (3);
};
onPress = function () {
pressFunc();
gotoAndStop (4);
};
onRelease = function () {
gotoAndStop (2);
releaseFunc();
};
onRollOut = (onReleaseOutside = function () {
gotoAndStop (2);
});
enable = function (value) {
enabled = value;
if (value) {
gotoAndStop (1);
} else {
gotoAndStop ("disabled");
}
};
enable(mouseEnabled);
Symbol 362 MovieClip Frame 3
show_txt.textColor = 3684408 /* 0x383838 */;
Symbol 362 MovieClip Frame 4
show_txt.textColor = 3684408 /* 0x383838 */;
Symbol 362 MovieClip Frame 5
show_txt.textColor = 10066329 /* 0x999999 */;
Symbol 367 MovieClip Frame 1
function use9Grid() {
var _local3;
var _local4;
var _local6;
var _local7;
switch (arguments.length) {
case 1 :
_local7 = arguments[0];
_local6 = arguments[0];
_local4 = arguments[0];
_local3 = arguments[0];
break;
default :
_local4 = ((arguments[0] == undefined) ? 0 : (arguments[0]));
_local7 = ((arguments[1] == undefined) ? 0 : (arguments[1]));
_local3 = ((arguments[2] == undefined) ? 0 : (arguments[2]));
_local6 = ((arguments[3] == undefined) ? 0 : (arguments[3]));
}
var _local5 = this.getBounds(this);
var _local8 = Math.round((this._width / this._xscale) * 100);
var _local9 = Math.round((this._height / this._yscale) * 100);
var _local11 = _local5.xMin + _local3;
var _local12 = _local5.yMin + _local4;
var _local10 = (_local8 - _local3) - _local6;
var _local13 = (_local9 - _local4) - _local7;
var _local14 = new flash.geom.Rectangle(_local11, _local12, _local10, _local13);
this.scale9Grid = _local14;
}
this.use9Grid(5);
stop();
var showTxt;
if (showTxt != undefined) {
show_txt.text = showTxt;
}
show_txt.textColor = 3355443 /* 0x333333 */;
var rollOverFunc = this.onRollOver;
var rollOutFunc = this.onRollOut;
var releaseFunc = this.onRelease;
var pressFunc = this.onPress;
delete onRollOut;
delete onRollOver;
delete onRelease;
delete onPress;
onRollOver = function () {
rollOverFunc();
gotoAndStop (3);
};
onPress = function () {
pressFunc();
gotoAndStop (4);
};
onRelease = function () {
gotoAndStop (2);
releaseFunc();
};
onRollOut = (onReleaseOutside = function () {
gotoAndStop (2);
});
enable = function (value) {
enabled = value;
if (value) {
gotoAndStop (1);
} else {
gotoAndStop ("disabled");
}
};
enable(mouseEnabled);
Symbol 367 MovieClip Frame 3
show_txt.textColor = 3355443 /* 0x333333 */;
Symbol 367 MovieClip Frame 4
show_txt.textColor = 3355443 /* 0x333333 */;
Symbol 367 MovieClip Frame 5
show_txt.textColor = 10066329 /* 0x999999 */;
Symbol 371 Button
on (release) {
_visible = false;
}
Symbol 373 MovieClip Frame 1
nm.restrict = "A-Z a-z 0-9 - _ .";
_visible = false;
Instance of Symbol 362 MovieClip "btn" in Symbol 373 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
showTxt = "Join";
mouseEnabled = true;
}
//component parameters
onClipEvent (construct) {
showTxt = "Join";
mouseEnabled = true;
}
on (release) {
_parent._parent.save2server();
}
Instance of Symbol 367 MovieClip in Symbol 373 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
showTxt = "Cancel";
mouseEnabled = true;
}
//component parameters
onClipEvent (construct) {
showTxt = "Cancel";
mouseEnabled = true;
}
on (release) {
_parent._visible = false;
}