Instance of Symbol 28 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 28 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", "_blank");
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
function sound3() {
mySound3 = new Sound(this);
mySound3.attachSound("s1");
mySound3.start(0, 999);
mySound3.setVolume(100);
}
end_btn_sound_fun();
sound3();
Frame 195
stop();
var girl_no;
for (var i in this) {
if ((typeof(this[i]) == "object") and (this[i]._name.substr(0, 1) == "g")) {
this[i].onRelease = function () {
var _local3 = Number(this._name.substr(5, 1));
_root.girl_no = _local3;
gotoAndStop (196);
};
}
}
Frame 196
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);
}
_global.static_root_path = _level0.static_root_path;
_global.PHP_root_path = _level0.PHP_root_path;
loadMovieNum (_root.static_root_path + "control.swf", 10);
movarr = new Array();
for (var i in this) {
if ((typeof(this[i]) == "movieclip") and (this[i]._name.substr(0, 1) == "a")) {
movarr.push(this[i]._name);
}
}
frmarr = new Array("model_mc", "pet_mc", "top1_mc", "hair_mc", "top2_mc", "top3_mc", "bot2_mc", "bot1_mc", "shoes_mc", "jew01_mc", "jew02_mc", "jew03_mc", "jew04_mc", "cap_mc", "bag_mc", "waitao_mc", "glass_mc", "kuwa_mc", "pet_mc.top1_mc", "pet_mc.glass_mc", "pet_mc.wing_mc", "pet_mc.jew03_mc");
visarr = new Array("dress7.underwear2_mc", "dress7.underwear1_mc");
hitmc = "body";
mainmc = "model_mc";
function girl_init() {
var _local2 = _root.girl_no - 1;
trace(_root.girl_no);
_root.model_mc.hair_mc.gotoAndStop(_root.girl_ch[_local2][0]);
_root.model_mc.dress7.gotoAndStop(_root.girl_ch[_local2][1]);
_root.model_mc.dress8.gotoAndStop(_root.girl_ch[_local2][1]);
_root.model_mc.dress4.gotoAndStop(_root.girl_ch[_local2][2]);
_root.model_mc.dress1.gotoAndStop(_root.girl_ch[_local2][3]);
_root.model_mc.dress7.underwear1_mc.gotoAndStop(_root.girl_ch[_local2][4]);
_root.model_mc.dress7.underwear2_mc.gotoAndStop(_root.girl_ch[_local2][4]);
}
function to_initialize_fun1(_mc, y0) {
_mc.xp = 0;
_mc.yp = 0;
_mc.onEnterFrame = function () {
this.yp = (this.yp * 0.45) + ((y0 - this._y) * 0.2);
this._y = this._y + this.yp;
if (Math.abs(this.yp) < 0.1) {
this._y = y0;
delete this.onEnterFrame;
}
};
}
function to_initialize_fun2(_mc, y0, xs, x0) {
_mc.xp = 0;
_mc.xxp = 0;
_mc.yp = 0;
_mc.onEnterFrame = function () {
this.xp = (this.xp * 0.45) + ((xs - this._xscale) * 0.2);
this._xscale = this._xscale + this.xp;
this._yscale = this._yscale + this.xp;
this.xxp = (this.xxp * 0.45) + ((x0 - this._x) * 0.2);
this._x = this._x + this.xxp;
this.yp = (this.yp * 0.5) + ((y0 - this._y) * 0.2);
this._y = this._y + this.yp;
if ((Math.abs(this.yp) < 0.1) && (Math.abs(this.xp) < 0.1)) {
this._x = x0;
this._y = y0;
delete this.onEnterFrame;
}
};
}
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.cap_mc.gotoAndStop(1);
_root.model_mc.bag_mc.gotoAndStop(1);
_root.model_mc.glass_mc.gotoAndStop(1);
_root.model_mc.waitao_mc.gotoAndStop(1);
_root.model_mc.dress7.underwear1_mc._visible = true;
_root.model_mc.dress7.underwear2_mc._visible = true;
_root.pet_mc.top1_mc.gotoAndStop(1);
_root.pet_mc.cap_mc.gotoAndStop(1);
_root.pet_mc.glass_mc.gotoAndStop(1);
_root.pet_mc.wing_mc.gotoAndStop(1);
_root.pet_mc.jew03_mc.gotoAndStop(1);
girl_init();
var _local2 = 1;
while (_local2 < 22) {
_root["on_clothing" + _local2]._visible = true;
_root["on_clothing" + _local2] = undefined;
_local2++;
}
}
function clear_skin() {
var _local2 = 1;
while (_local2 < 9) {
_root.model_mc["dress" + _local2].gotoAndStop(1);
_local2++;
}
}
function SetPrintJob() {
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage("_root", {printAsBitmap:true});
my_pj.send();
delete my_pj;
}
function third_ch_ini(_mc) {
for (var _local5 in _mc) {
if ((typeof(_mc[_local5]) == "movieclip") and (_mc[_local5]._name.substr(0, 1) == "a")) {
_mc[_local5].onRelease = function () {
sound4();
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, 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);
}
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.top3_mc.gotoAndStop(1);
_root.model_mc.dress7.underwear1_mc._visible = false;
_root.model_mc.dress7.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "at") {
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);
}
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.top3_mc.gotoAndStop(_local3);
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.dress7.underwear1_mc._visible = false;
_root.model_mc.dress7.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.dress7.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.dress7.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.top.hand.gotoAndStop(_root.skin_no);
_root.model_mc.dress7.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.dress7.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.dress7.underwear1_mc._visible = true;
}
this._visible = false;
_root.on_clothing3 = this;
_root.model_mc.bot1_mc.gotoAndStop(_local3);
_root.model_mc.dress7.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.dress7.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.dress7.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.dress7.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.dress7.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.dress7.underwear1_mc._visible = true;
}
this._visible = false;
_root.on_clothing5 = this;
_root.model_mc.bot2_mc.gotoAndStop(_local3);
_root.model_mc.dress7.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);
}
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;
}
this._visible = false;
_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;
}
this._visible = false;
_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);
}
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) == "ax") {
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.jew03_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ay") {
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.jew04_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) == "ah") {
var _local3 = Number(this._name.substr(2, 2));
if (_root.on_clothing14 != undefined) {
_root.on_clothing14._visible = true;
_root.on_clothing14 = undefined;
}
this._visible = false;
_root.on_clothing14 = this;
_root.model_mc.hair_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "as") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.hair_mc.hair.se.gotoAndStop(_local3);
}
}
};
}
if ((typeof(_mc[_local5]) == "movieclip") and (_mc[_local5]._name.substr(0, 1) == "p")) {
_mc[_local5].onRelease = function () {
sound4();
if (this._name.substr(0, 2) == "p1") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing15 != undefined) {
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
}
if (_root.on_clothing16 != undefined) {
_root.on_clothing16._visible = true;
_root.on_clothing16 = undefined;
_root.pet_mc.top2_mc.gotoAndStop(1);
}
if (_root.on_clothing17 != undefined) {
_root.on_clothing17._visible = true;
_root.on_clothing17 = undefined;
_root.pet_mc.bot1_mc.gotoAndStop(1);
}
this._visible = false;
_root.on_clothing15 = this;
_root.pet_mc.top1_mc.gotoAndStop(_local3);
_root.pet_mc.top3_mc.gotoAndStop(1);
}
if (this._name.substr(0, 2) == "pg") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing18 != undefined) {
_root.on_clothing18._visible = true;
_root.on_clothing18 = undefined;
}
this._visible = false;
_root.on_clothing18 = this;
_root.pet_mc.glass_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "px") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing19 != undefined) {
_root.on_clothing19._visible = true;
_root.on_clothing19 = undefined;
}
this._visible = false;
_root.on_clothing19 = this;
_root.pet_mc.jew03_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "p8") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing20 != undefined) {
_root.on_clothing20._visible = true;
_root.on_clothing20 = undefined;
}
this._visible = false;
_root.on_clothing20 = this;
_root.pet_mc.cap_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "pw") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing21 != undefined) {
_root.on_clothing21._visible = true;
_root.on_clothing21 = undefined;
}
this._visible = false;
_root.on_clothing21 = this;
_root.pet_mc.wing_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 () {
this.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.dress7.underwear1_mc._visible = true;
_root.model_mc.dress7.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "top3") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.dress7.underwear1_mc._visible = true;
_root.model_mc.dress7.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.dress7.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.dress7.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_clothing4._visible = true;
_root.on_clothing4 = 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_clothing12._visible = true;
_root.on_clothing12 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew03") {
_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) == "glass") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
};
}
}
}
for (var _local3 in _root.pet_mc) {
if (typeof(_root.pet_mc[_local3]) == "movieclip") {
_root.pet_mc[_local3].enabled = true;
if (_root.pet_mc[_local3]._name.substr(0, 3) == "cap") {
_root.pet_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing20._visible = true;
_root.on_clothing20 = undefined;
};
}
if (_root.pet_mc[_local3]._name.substr(0, 4) == "top1") {
_root.pet_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
_root.pet_mc.dress7.underwear1_mc._visible = true;
_root.pet_mc.dress7.underwear2_mc._visible = true;
};
}
if (_root.pet_mc[_local3]._name.substr(0, 4) == "wing") {
_root.pet_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing21._visible = true;
_root.on_clothing21 = undefined;
};
}
if (_root.pet_mc[_local3]._name.substr(0, 5) == "jew03") {
_root.pet_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing19._visible = true;
_root.on_clothing19 = undefined;
};
}
if (_root.pet_mc[_local3]._name.substr(0, 5) == "glass") {
_root.pet_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing18._visible = true;
_root.on_clothing18 = undefined;
};
}
}
}
}
function ok_fun() {
var _local2 = 1;
while (_local2 < 5) {
_loc2 = _root["menu_btn" + _local2];
_loc3 = _root["btn" + _local2];
_loc2.swapDepths(_loc2.sd);
_loc3.swapDepths(_loc3.sd);
_local2++;
}
gotoAndStop (197);
_root.model_mc._xscale = 100;
_root.model_mc._yscale = 100;
_root.model_mc._x = _root.girl_x2;
_root.model_mc._y = _root.girl_y2;
_root.pet_mc._xscale = 100;
_root.pet_mc._yscale = 100;
_root.pet_mc._x = _root.pet_x2;
_root.pet_mc._y = _root.pet_y2;
}
function sound1() {
mySound = new Sound();
mySound.attachSound("s2");
mySound.start();
mySound.setVolume(100);
}
function sound2() {
mySound2 = new Sound();
mySound2.attachSound("s3");
mySound2.start();
mySound2.setVolume(100);
}
function sound4() {
mySound2 = new Sound();
mySound2.attachSound("s4");
mySound2.start();
mySound2.setVolume(100);
}
function end_btn_sound_fun() {
mySound3.stop();
}
var btn_y1 = -50;
var btn_y2 = 520;
var girl_x2 = 382.8;
var girl_y2 = 66;
var pet_x2 = 297.8;
var pet_y2 = 436.9;
var bg_sd = true;
var girl_ch = new Array([1, 2, 1, 1, 1], [2, 1, 2, 2, 2], [3, 3, 3, 3, 3], [4, 4, 4, 4, 4]);
var skin_no = _root.girl_ch[_root.girl_no - 1][1];
girl_init();
stop();
for (var i in this) {
if ((typeof(this[i]) == "movieclip") and (this[i]._name.substr(0, 1) == "b")) {
this[i].onRelease = function () {
sound2();
var _local4 = Number(this._name.substr(3, 1));
var _local3 = 1;
while (_local3 < 5) {
if (_root["btn" + _local3].p_state == false) {
to_initialize_fun1(_root["menu_btn" + _local3], _root["menu_btn" + _local3].y0);
_root["btn" + _local3].p_state = true;
}
_local3++;
}
if (this.p_state == true) {
if (_local4 == 1) {
to_initialize_fun2(_root.model_mc, 50, 200, 450);
to_initialize_fun2(_root.pet_mc, _root.pet_mc.y0, 100, _root.pet_mc.x0);
} else if (_local4 == 4) {
to_initialize_fun2(_root.model_mc, 50, 100, 800);
to_initialize_fun2(_root.pet_mc, 400, 100, 550);
} else {
to_initialize_fun2(_root.model_mc, _root.model_mc.y0, 100, _root.model_mc.x0);
to_initialize_fun2(_root.pet_mc, _root.pet_mc.y0, 100, _root.pet_mc.x0);
}
to_initialize_fun2(_root["menu_btn" + _local4], _root.btn_y2);
this.p_state = false;
_root["menu_btn" + _local4].swapDepths(2);
if (this.s_state == false) {
to_initialize_fun1(_root["menu_btn" + _local4], _root["menu_btn" + _local4].y0);
_root.menu_btn2.swapDepths(6);
this.s_state = true;
} else {
_local3 = 1;
while (_local3 < 5) {
_root["btn" + _local3].s_state = true;
_local3++;
}
this.s_state = false;
}
}
};
this[i].onRollOver = function () {
this.gotoAndStop(2);
};
this[i].onRollOut = function () {
this.gotoAndStop(3);
};
}
}
reset_one();
Instance of Symbol 207 MovieClip "menu_btn1" in Frame 196
onClipEvent (enterFrame) {
_root.btn1._y = this._y;
}
onClipEvent (load) {
this.y0 = this._y;
this.sd = this.getDepth();
this.swapDepths(4);
}
Instance of Symbol 237 MovieClip "menu_btn4" in Frame 196
onClipEvent (enterFrame) {
_root.btn4._y = this._y;
}
onClipEvent (load) {
this.y0 = this._y;
this.sd = this.getDepth();
this.swapDepths(2);
}
Instance of Symbol 317 MovieClip "menu_btn3" in Frame 196
onClipEvent (enterFrame) {
_root.btn3._y = this._y;
}
onClipEvent (load) {
this.y0 = this._y;
this.sd = this.getDepth();
this.swapDepths(3);
}
Instance of Symbol 354 MovieClip "menu_btn2" in Frame 196
onClipEvent (enterFrame) {
_root.btn2._y = this._y;
}
onClipEvent (load) {
this.y0 = this._y;
this.sd = this.getDepth();
this.swapDepths(5);
}
Instance of Symbol 357 MovieClip "btn2" in Frame 196
onClipEvent (load) {
this.p_state = true;
this.s_state = true;
this.sd = this.getDepth();
this.swapDepths(11);
}
Instance of Symbol 360 MovieClip "btn3" in Frame 196
onClipEvent (load) {
this.p_state = true;
this.s_state = true;
this.sd = this.getDepth();
this.swapDepths(12);
}
Instance of Symbol 363 MovieClip "btn1" in Frame 196
onClipEvent (load) {
this.p_state = true;
this.s_state = true;
this.sd = this.getDepth();
this.swapDepths(10);
}
Instance of Symbol 365 MovieClip "btn4" in Frame 196
onClipEvent (load) {
this.p_state = true;
this.s_state = true;
this.sd = this.getDepth();
this.swapDepths(13);
}
Instance of Symbol 399 MovieClip "model_mc" in Frame 196
onClipEvent (load) {
this.y0 = this._y;
this.x0 = this._x;
}
Instance of Symbol 407 MovieClip "pet_mc" in Frame 196
onClipEvent (load) {
this.y0 = this._y;
this.x0 = this._x;
}
Frame 197
for (var i in _root.model_mc) {
if (typeof(_root.model_mc[i]) == "movieclip") {
model_mc[i].enabled = false;
}
}
for (var i in _root.pet_mc) {
if (typeof(_root.pet_mc[i]) == "movieclip") {
pet_mc[i].enabled = false;
}
}
Symbol 59 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 11
this.stop();
Symbol 154 MovieClip Frame 11
this.stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 16
this.stop();
Symbol 207 MovieClip Frame 1
function btn_go() {
for (var _local5 in this) {
if ((typeof(this[_local5]) == "movieclip") and (this[_local5]._name.substr(0, 1) == "b")) {
this[_local5].onRelease = function () {
var _local3 = this._name.substr(1, 1);
var _local4 = Number(this._name.substr(2, 2));
_root.kacha_sd();
_root.sg_mc.play();
_root.model_mc["dress" + _local3].gotoAndStop(_local4);
};
}
if ((typeof(this[_local5]) == "movieclip") and (this[_local5]._name.substr(0, 1) == "c")) {
this[_local5].onRelease = function () {
var _local3 = this._name.substr(1, 1);
var _local4 = Number(this._name.substr(2, 2)) + 1;
_root.kacha_sd();
_root.sg_mc.play();
_root.model_mc["dress" + _local3].gotoAndStop(_local4);
};
}
}
}
stop();
btn_go();
Symbol 237 MovieClip Frame 1
_root.third_ch_ini(this);
Instance of Symbol 243 MovieClip in Symbol 244 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 244 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 283 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 317 MovieClip Frame 1
_root.third_ch_ini(this);
Symbol 354 MovieClip Frame 1
_root.third_ch_ini(this);
Symbol 357 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 243 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 360 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 1
stop();
Symbol 413 Button
on (release) {
ok_fun();
}
Symbol 417 Button
on (release) {
SetPrintJob();
}
Symbol 420 Button
on (release) {
if (_root.bg_sd == true) {
_root.end_btn_sound_fun();
_root.bg_sd = false;
trace("a");
} else {
_root.sound3();
_root.bg_sd = true;
}
}
Symbol 423 Button
on (release) {
clear_skin();
clear_ini();
}
Symbol 428 Button
on (release) {
getURL ("http://www.i-dressup.com", "_blank");
}
Symbol 448 Button
on (release) {
clear_ini();
gotoAndPlay (111);
}