Instance of Symbol 25 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 25 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Frame 109
stop();
loader_mc.onEnterFrame = function () {
var _local3 = this._parent;
var _local2 = _local3.getBytesLoaded() / _local3.getBytesTotal();
trace(_local2);
_local3.per = int(_local2 * 100);
this._xscale = int(_local2 * 100);
if (_local2 == 1) {
this.onEnterFrame = null;
_local3.nextFrame();
}
};
Frame 110
function start_link() {
gotoAndPlay (111);
trace("ok");
}
function domain_link() {
getURL ("http://www.i-dressup.com", "_self");
trace("ok");
}
function sound_click() {
btn_sound = new Sound(this.btn_mc2);
btn_sound.attachSound("click");
btn_sound.setVolume(50);
btn_sound.start(0, 1);
}
stop();
begin_btn.onRelease = function () {
start_link();
};
begin_btn.onRollOver = function () {
this.gotoAndStop(2);
sound_click();
};
begin_btn.onRollOut = (begin_btn.onReleaseOutside = function () {
this.gotoAndStop(1);
});
domain_btn.onRelease = function () {
domain_link();
};
domain_btn.onRollOver = function () {
this.gotoAndStop(2);
sound_click();
};
domain_btn.onRollOut = (domain_btn.onReleaseOutside = function () {
this.gotoAndStop(1);
});
Frame 111
stop();
Frame 112
function loadvar(str, act) {
var _local3 = new LoadVars();
_local3.onLoad = function (suc) {
_root[act](this);
};
_local3.load(str);
}
function checkToolbar() {
flash.external.ExternalInterface.call("checkToolbar", _level0.name);
}
function js2swfResult(res) {
_root.hasToolbar = res;
}
function joinBattle() {
if ((_root.hasToolbar == 1) || (_root.hasToolbar)) {
dg_join.install_toolbar._visible = false;
dg_join._visible = true;
} else {
dg_join.install_toolbar._visible = true;
dg_join._visible = true;
}
}
function installToolbar() {
getURL ("http://FreeiDressup.OurToolbar.com/exe");
}
function save2server() {
var _local3 = [];
var _local4 = diyItems.length;
var _local2 = 0;
while (_local2 < _local4) {
_local3.push((diyItems[_local2] + ",") + _root.model_mc[diyItems[_local2]]._currentframe);
_local2++;
}
var _local6 = _local3.join("|");
var result_lv = new LoadVars();
result_lv.onLoad = function (success) {
if (success) {
if (result_lv.res == "needlogin") {
} else {
dg_join._visible = false;
alert("Thanks for joining the battle.");
btn_battleNow.enabled = false;
btn_battleNow._alpha = 20;
}
} else {
alert("Error connecting to server.");
}
};
var _local5 = new LoadVars();
_local5.title = dg_join.title.text;
_local5.data = _local6;
_local5.sendAndLoad((_root.PHP_root_path + "battle_flash.php?job=save&game_id=") + game_id, result_lv, "POST");
}
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 < 8) {
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 / 8) - 1)) {
top20.btn_r.enabled = false;
top20.btn_r._alpha = 20;
}
if (_local8.length < 9) {
top20.btn_r.enabled = false;
top20.btn_r._alpha = 20;
}
if ((_local8.length > 0) && (_local8[0].length > 0)) {
_local2 = 0;
while (_local2 < 8) {
if (_local8[_local2 + (curPage * 8)].length > 0) {
top20["doll_thumb" + _local2]._visible = true;
}
var _local5 = _local8[_local2 + (curPage * 8)].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 alert(str, act, vip) {
alertbox._x = Math.round((Stage.width - alertbox._width) / 2);
alertbox._y = 200;
alertbox.settext(str);
alertbox.backact = act;
alertbox.swarpDepth;
alertbox._visible = true;
if (vip) {
alertbox.gotoAndStop(2);
} else {
alertbox.gotoAndStop(1);
}
}
function hidealert() {
alertbox._visible = false;
}
System.security.allowDomain("*");
_root.model_mc = _root.girl_mc;
var game_id = _level0.id;
var diyItems = ["top1_mc", "top2_mc", "top3_mc", "bot2_mc", "bot1_mc", "shoes_mc", "shoes2_mc", "jew01_mc", "jew02_mc", "cap_mc", "bag_mc", "jew05_mc", "jew04_mc", "jew03_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);
};
_root.hasToolbar = 0;
flash.external.ExternalInterface.addCallback("js2swf", null, js2swfResult);
var curPage = 0;
var top20Data;
var alertbox = this.createEmptyMovieClip("alertbox", 9998);
alertbox.loadMovie(_root.static_root_path + "alert.swf");
setTimeout(checkToolbar, 500);
function s1_sd() {
_root.bg1_sound = new Sound();
_root.bg1_sound.attachSound("s1");
_root.bg1_sound.start();
_root.bg1_sound.setVolume(100);
}
function clear_ini(m) {
if (m == "girl") {
_root.girl_mc.top1_mc.gotoAndStop(1);
_root.girl_mc.top2_mc.gotoAndStop(1);
_root.girl_mc.top3_mc.gotoAndStop(1);
_root.girl_mc.bot2_mc.gotoAndStop(1);
_root.girl_mc.bot1_mc.gotoAndStop(1);
_root.girl_mc.shoes_mc.gotoAndStop(1);
_root.girl_mc.shoes2_mc.gotoAndStop(1);
_root.girl_mc.jew01_mc.gotoAndStop(1);
_root.girl_mc.jew02_mc.gotoAndStop(1);
_root.girl_mc.cap_mc.gotoAndStop(1);
_root.girl_mc.bag_mc.gotoAndStop(1);
_root.girl_mc.jew05_mc.gotoAndStop(1);
_root.girl_mc.jew04_mc.gotoAndStop(1);
_root.girl_mc.hair_mc.gotoAndStop(1);
_root.girl_mc.model_body.underwear1_mc._visible = true;
_root.girl_mc.model_body.underwear2_mc._visible = true;
var _local2 = 1;
while (_local2 < 11) {
_root["on_clothing" + _local2]._visible = true;
_root["on_clothing" + _local2] = undefined;
_local2++;
}
_root.on_clothing21 = undefined;
}
if (m == "boy") {
_root.boy_mc.top1_mc.gotoAndStop(1);
_root.boy_mc.top2_mc.gotoAndStop(1);
_root.boy_mc.top3_mc.gotoAndStop(1);
_root.boy_mc.bot2_mc.gotoAndStop(1);
_root.boy_mc.bot1_mc.gotoAndStop(1);
_root.boy_mc.shoes_mc.gotoAndStop(1);
_root.boy_mc.shoes2_mc.gotoAndStop(1);
_root.boy_mc.jew01_mc.gotoAndStop(1);
_root.boy_mc.jew02_mc.gotoAndStop(1);
_root.boy_mc.cap_mc.gotoAndStop(1);
_root.boy_mc.bag_mc.gotoAndStop(1);
_root.boy_mc.jew05_mc.gotoAndStop(1);
_root.boy_mc.jew04_mc.gotoAndStop(1);
_root.boy_mc.hair_mc.gotoAndStop(1);
var _local2 = 11;
while (_local2 < 21) {
_root["on_clothing" + _local2]._visible = true;
_root["on_clothing" + _local2] = undefined;
_local2++;
}
}
}
function reset_one() {
for (var _local3 in _root.girl_mc) {
if (typeof(_root.girl_mc[_local3]) == "movieclip") {
_root.girl_mc[_local3].enabled = true;
if (_root.girl_mc[_local3]._name.substr(0, 3) == "cap") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing8._visible = true;
_root.on_clothing8 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 4) == "top1") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.girl_mc.model_body.underwear1_mc._visible = true;
_root.girl_mc.model_body.underwear2_mc._visible = true;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 4) == "top2") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.girl_mc.model_body.underwear1_mc._visible = true;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 4) == "bot1") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.girl_mc.model_body.underwear2_mc._visible = true;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 4) == "shoe") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 5) == "jew01") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 5) == "jew02") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing6._visible = true;
_root.on_clothing6 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 3) == "bag") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing7._visible = true;
_root.on_clothing7 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 5) == "jew05") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing9._visible = true;
_root.on_clothing9 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 4) == "hair") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing10._visible = true;
_root.on_clothing10 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 5) == "jew04") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing21._visible = true;
_root.on_clothing21 = undefined;
};
}
}
}
for (var _local3 in _root.boy_mc) {
if (typeof(_root.boy_mc[_local3]) == "movieclip") {
_root.boy_mc[_local3].enabled = true;
if (_root.boy_mc[_local3]._name.substr(0, 4) == "top2") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing12._visible = true;
_root.on_clothing12 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 4) == "bot1") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 4) == "shoe") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing14._visible = true;
_root.on_clothing14 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "jew01") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "jew04") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing22._visible = true;
_root.on_clothing22 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "jew02") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing16._visible = true;
_root.on_clothing16 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 3) == "bag") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing17._visible = true;
_root.on_clothing17 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 3) == "cap") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing18._visible = true;
_root.on_clothing18 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "jew05") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing19._visible = true;
_root.on_clothing19 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 4) == "hair") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing20._visible = true;
_root.on_clothing20 = undefined;
};
}
}
}
}
function third_ch_ini() {
for (var _local4 in this) {
if ((typeof(this[_local4]) == "movieclip") and (this[_local4]._name.substr(0, 1) == "a")) {
this[_local4].onRelease = function () {
s1_sd();
if ((((((this != _root.on_clothing1) and (this != _root.on_clothing2)) and (this != _root.on_clothing3)) and (this != _root.on_clothing4)) and (this != _root.on_clothing5)) and (this != _root.on_clothing6)) {
if (this._name.substr(0, 3) == "ag1") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 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.girl_mc.top2_mc.gotoAndStop(1);
}
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.girl_mc.bot1_mc.gotoAndStop(1);
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
_root.girl_mc.top2_mc.gotoAndStop(1);
}
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
_root.girl_mc.bot2_mc.gotoAndStop(1);
}
this._visible = false;
_root.on_clothing1 = this;
_root.girl_mc.top1_mc.gotoAndStop(_local3);
_root.girl_mc.model_body.underwear1_mc._visible = false;
}
if (this._name.substr(0, 3) == "ag2") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.girl_mc.top1_mc.gotoAndStop(1);
_root.girl_mc.model_body.underwear2_mc._visible = true;
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
_root.girl_mc.top3_mc.gotoAndStop(1);
_root.girl_mc.model_body.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.girl_mc.top2_mc.gotoAndStop(_local3);
_root.girl_mc.model_body.underwear1_mc._visible = false;
}
if (this._name.substr(0, 3) == "ag3") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.girl_mc.top1_mc.gotoAndStop(1);
_root.girl_mc.model_body.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.girl_mc.bot2_mc.gotoAndStop(1);
_root.girl_mc.model_body.underwear1_mc._visible = true;
}
this._visible = false;
_root.on_clothing3 = this;
_root.girl_mc.bot1_mc.gotoAndStop(_local3);
_root.girl_mc.model_body.underwear2_mc._visible = false;
}
if (this._name.substr(0, 3) == "ag4") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.girl_mc.top1_mc.gotoAndStop(1);
_root.girl_mc.model_body.underwear2_mc._visible = true;
}
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.girl_mc.top2_mc.gotoAndStop(1);
_root.girl_mc.model_body.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.girl_mc.top3_mc.gotoAndStop(_local3);
_root.girl_mc.model_body.underwear1_mc._visible = false;
}
if (this._name.substr(0, 3) == "ag5") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
}
this._visible = false;
_root.on_clothing5 = this;
_root.girl_mc.bot2_mc.gotoAndStop(_local3);
_root.girl_mc.model_body.underwear2_mc._visible = false;
}
if (this._name.substr(0, 3) == "ag9") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
}
this._visible = false;
_root.on_clothing4 = this;
_root.girl_mc.shoes_mc.gotoAndStop(_local3);
_root.girl_mc.shoes2_mc.gotoAndStop(1);
}
if (this._name.substr(0, 3) == "ags") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
}
this._visible = false;
_root.on_clothing4 = this;
_root.girl_mc.shoes2_mc.gotoAndStop(_local3);
_root.girl_mc.shoes_mc.gotoAndStop(1);
}
if (this._name.substr(0, 3) == "agj") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
}
this._visible = false;
_root.on_clothing5 = this;
_root.girl_mc.jew01_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag6") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing6 != undefined) {
_root.on_clothing6._visible = true;
_root.on_clothing6 = undefined;
}
this._visible = false;
_root.on_clothing6 = this;
_root.girl_mc.jew02_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag7") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing7 != undefined) {
_root.on_clothing7._visible = true;
_root.on_clothing7 = undefined;
}
this._visible = false;
_root.on_clothing7 = this;
_root.girl_mc.bag_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag8") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing8 != undefined) {
_root.on_clothing8._visible = true;
_root.on_clothing8 = undefined;
}
this._visible = false;
_root.on_clothing8 = this;
_root.girl_mc.cap_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "agy") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing9 != undefined) {
_root.on_clothing9._visible = true;
_root.on_clothing9 = undefined;
}
this._visible = false;
_root.on_clothing9 = this;
_root.girl_mc.jew05_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "agh") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing10 != undefined) {
_root.on_clothing10._visible = true;
_root.on_clothing10 = undefined;
}
this._visible = false;
_root.on_clothing10 = this;
_root.girl_mc.hair_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "agx") {
eff_init(2);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing21 != undefined) {
_root.on_clothing21._visible = true;
_root.on_clothing21 = undefined;
}
this._visible = false;
_root.on_clothing21 = this;
_root.girl_mc.jew04_mc.gotoAndStop(_local3);
}
}
if ((((((this != _root.on_clothing11) and (this != _root.on_clothing12)) and (this != _root.on_clothing13)) and (this != _root.on_clothing14)) and (this != _root.on_clothing15)) and (this != _root.on_clothing16)) {
if (this._name.substr(0, 3) == "ab1") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing11 != undefined) {
_root.on_clothing11._visible = true;
_root.on_clothing11 = undefined;
}
this._visible = false;
_root.on_clothing11 = this;
_root.boy_mc.top1_mc.gotoAndStop(_local3);
_root.boy_mc.model_body.underwear1_mc._visible = false;
}
if (this._name.substr(0, 3) == "ab2") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing12 != undefined) {
_root.on_clothing12._visible = true;
_root.on_clothing12 = undefined;
}
this._visible = false;
_root.on_clothing12 = this;
_root.boy_mc.top2_mc.gotoAndStop(_local3);
_root.boy_mc.model_body.underwear1_mc._visible = false;
}
if (this._name.substr(0, 3) == "ab3") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing13 != undefined) {
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
}
this._visible = false;
_root.on_clothing13 = this;
_root.boy_mc.bot1_mc.gotoAndStop(_local3);
_root.boy_mc.model_body.underwear2_mc._visible = false;
}
if (this._name.substr(0, 3) == "ab5") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing15 != undefined) {
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
}
this._visible = false;
_root.on_clothing15 = this;
_root.boy_mc.bot2_mc.gotoAndStop(_local3);
_root.boy_mc.model_body.underwear2_mc._visible = false;
}
if (this._name.substr(0, 3) == "ab9") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing14 != undefined) {
_root.on_clothing14._visible = true;
_root.on_clothing14 = undefined;
}
this._visible = false;
_root.on_clothing14 = this;
_root.boy_mc.shoes_mc.gotoAndStop(_local3);
_root.boy_mc.shoes2_mc.gotoAndStop(1);
}
if (this._name.substr(0, 3) == "abs") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing14 != undefined) {
_root.on_clothing14._visible = true;
_root.on_clothing14 = undefined;
}
this._visible = false;
_root.on_clothing14 = this;
_root.boy_mc.shoes2_mc.gotoAndStop(_local3);
_root.boy_mc.shoes_mc.gotoAndStop(1);
}
if (this._name.substr(0, 3) == "abj") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing15 != undefined) {
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
}
this._visible = false;
_root.on_clothing15 = this;
_root.boy_mc.jew01_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "abx") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing22 != undefined) {
_root.on_clothing22._visible = true;
_root.on_clothing22 = undefined;
}
this._visible = false;
_root.on_clothing22 = this;
_root.boy_mc.jew04_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab6") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing16 != undefined) {
_root.on_clothing16._visible = true;
_root.on_clothing16 = undefined;
}
this._visible = false;
_root.on_clothing6 = this;
_root.boy_mc.jew02_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab7") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing17 != undefined) {
_root.on_clothing17._visible = true;
_root.on_clothing17 = undefined;
}
this._visible = false;
_root.on_clothing17 = this;
_root.boy_mc.bag_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab8") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing18 != undefined) {
_root.on_clothing18._visible = true;
_root.on_clothing18 = undefined;
}
this._visible = false;
_root.on_clothing18 = this;
_root.boy_mc.cap_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "aby") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing19 != undefined) {
_root.on_clothing19._visible = true;
_root.on_clothing19 = undefined;
}
this._visible = false;
_root.on_clothing19 = this;
_root.boy_mc.jew05_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "abh") {
eff_init(3);
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing20 != undefined) {
_root.on_clothing20._visible = true;
_root.on_clothing20 = undefined;
}
this._visible = false;
_root.on_clothing20 = this;
_root.boy_mc.hair_mc.gotoAndStop(_local3);
}
}
};
}
}
}
function girl(x1, y1, s) {
if (this.girl_mc.x0 and this.girl_mc.y0) {
this.girl_mc._x = this.girl_mc.x0 + x1;
this.girl_mc._y = this.girl_mc.y0 + y1;
this.girl_mc._xscale = (this.girl_mc._yscale = s);
this.girl_mc._rotation = 0;
}
}
function boy(x2, y2, w) {
if (this.boy_mc.x0 and this.girl_mc.y0) {
this.boy_mc._x = this.boy_mc.x0 + x2;
this.boy_mc._y = this.boy_mc.y0 + y2;
this.boy_mc._xscale = (this.girl_mc._yscale = w);
this.boy_mc._rotation = 0;
}
}
function clothing_visible() {
var _local2 = 1;
while (_local2 < 23) {
_root["on_clothing" + _local2]._visible = false;
_local2++;
}
}
function bg_sd() {
bg_sound = new Sound(this);
bg_sound.attachSound("sd_01");
bg_sound.setVolume(100);
bg_sound.start(0, 999);
}
function end_bg_sd() {
bg_sound.stop();
}
function eff_init(n) {
_root["eff_mc" + n].gotoAndPlay(2);
}
function menu_init(n) {
gotoAndStop(n +111);
trace(_root._currentframe);
_root.eff_mc.gotoAndPlay("open");
}
function SetPrintJob() {
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage("_root", {printAsBitmap:true});
my_pj.send();
delete my_pj;
}
stop();
mymenu = new ContextMenu();
mymenu.hideBuiltInItems();
mymenu.builtInItems.print = true;
_root.menu = mymenu;
var sd_no = true;
var menu_no = 1;
reset_one();
third_ch_ini();
girl(0, 0, 100);
boy(0, 0, 100);
clothing_visible();
sd_btn.onRelease = function () {
if (sd_no == true) {
end_bg_sd();
sd_no = false;
} else {
bg_sd();
sd_no = true;
}
};
end_bg_sd();
bg_sd();
Instance of Symbol 193 MovieClip "girl_mc" in Frame 112
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 263 MovieClip "boy_mc" in Frame 112
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Frame 113
stop();
third_ch_ini();
clothing_visible();
Frame 114
stop();
third_ch_ini();
clothing_visible();
Frame 115
stop();
third_ch_ini();
clothing_visible();
Frame 116
stop();
third_ch_ini();
clothing_visible();
Frame 117
getRandomPlayer();
stop();
girl(240, 10, 100);
boy(60, 10, 100);
for (var i in _root.girl_mc) {
if (typeof(_root.girl_mc[i]) == "movieclip") {
girl_mc[i].enabled = false;
}
}
for (var i in _root.boy_mc) {
if (typeof(_root.boy_mc[i]) == "movieclip") {
_root.boy_mc[i].enabled = false;
}
}
Symbol 47 Button
on (release) {
play();
}
Symbol 62 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 1
stop();
Instance of Symbol 167 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 167 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 167 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 167 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 171 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 16
trace(_root.menu_no);
_root.menu_init(_root.menu_no);
Symbol 290 MovieClip Frame 33
_root.next_btn.enabled = true;
_root.prev_btn.enabled = true;
Symbol 295 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 11
this.stop();
Symbol 311 Button
on (release) {
clear_ini("boy");
}
Symbol 313 Button
on (release) {
clear_ini("girl");
}
Symbol 315 Button
on (release) {
gotoAndStop (117);
}
Symbol 319 Button
on (release) {
SetPrintJob();
}
Symbol 323 Button
on (release) {
_root.menu_no++;
_root.next_btn.enabled = false;
_root.prev_btn.enabled = false;
_root.eff_mc.gotoAndPlay("close");
}
Symbol 327 Button
on (release) {
getURL ("http://www.i-dressup.com", "_self");
}
Symbol 330 Button
on (release) {
_root.menu_no--;
_root.next_btn.enabled = false;
_root.prev_btn.enabled = false;
_root.eff_mc.gotoAndPlay("close");
}
Symbol 335 Button
on (release) {
clear_ini("boy");
clear_ini("girl");
gotoAndStop (112);
}
Symbol 337 Button
on (release) {
SetPrintJob();
}
Symbol 353 MovieClip Frame 1
_visible = false;
Symbol 364 Button
on (release) {
_parent.save2server();
}
Symbol 368 Button
on (release) {
_visible = false;
}
Symbol 372 Button
on (release) {
_visible = false;
}
Symbol 378 Button
on (release) {
_parent._visible = false;
}
Symbol 379 Button
on (release) {
_parent._parent.installToolbar();
}
Symbol 380 MovieClip Frame 1
bg.useHandCursor = false;
Symbol 381 MovieClip Frame 1
nm.restrict = "A-Z a-z 0-9 - _ .";
_visible = false;
Symbol 383 Button
on (release) {
joinBattle();
}
Symbol 385 Button
on (release) {
getTop20();
}
Symbol 387 MovieClip Frame 1
bg.useHandCursor = false;
Symbol 391 Button
on (release) {
if (_parent.curPage > 0) {
_parent.curPage--;
_parent.goPage();
if (_parent.curPage == 0) {
btn_l.enabled = false;
btn_l._alpha = 20;
}
btn_r.enabled = true;
btn_r._alpha = 100;
}
}
Symbol 392 Button
on (release) {
if (_parent.curPage < 3) {
_parent.curPage++;
_parent.goPage();
if (_parent.curPage == 3) {
btn_r.enabled = false;
btn_r._alpha = 20;
}
btn_l.enabled = true;
btn_l._alpha = 100;
}
}
Symbol 396 Button
on (release) {
_visible = false;
}
Symbol 397 MovieClip Frame 1
_visible = false;