Frame 1
function init() {
adsorb_x = 88;
adsorb_y = 88;
for (var _local4 in this) {
if ((typeof(this[_local4]) == "movieclip") and (this[_local4]._name.substr(0, 1) == "a")) {
if (this[_local4]._name.substr(0, 2) == "aj") {
var _local3 = Number(this[_local4]._name.substr(2)) + 800;
this[_local4].sd = _local3;
this[_local4].swapDepths(_local3);
}
if (this[_local4]._name.substr(0, 6) == "ashose") {
var _local3 = Number(this[_local4]._name.substr(6)) + 300;
this[_local4].sd = _local3;
this[_local4].swapDepths(_local3);
}
if (this[_local4]._name.substr(0, 5) == "abott") {
var _local3 = Number(this[_local4]._name.substr(5)) + 500;
this[_local4].sd = _local3;
this[_local4].swapDepths(_local3);
}
if (this[_local4]._name.substr(0, 4) == "atop") {
var _local3 = Number(this[_local4]._name.substr(4)) + 700;
this[_local4].sd = _local3;
this[_local4].swapDepths(_local3);
}
if (this[_local4]._name.substr(0, 2) == "ar") {
var _local3 = Number(this[_local4]._name.substr(2)) + 900;
this[_local4].sd = _local3;
this[_local4].swapDepths(_local3);
}
if (this[_local4]._name.substr(0, 2) == "ah") {
var _local3 = Number(this[_local4]._name.substr(2)) + 800;
this[_local4].sd = _local3;
this[_local4].swapDepths(_local3);
}
this[_local4].enabled = true;
this[_local4].onPress = function () {
this.swapDepths(10000);
this.startDrag();
};
this[_local4].onRelease = function () {
if ((Math.abs(this._x - this.xx) <= adsorb_x) and (Math.abs(this._y - this.yy) <= adsorb_y)) {
this._x = this.xx;
this._y = this.yy;
this.enabled = false;
this.swapDepths(this.sd);
x_sound = new Sound();
x_sound.attachSound("xx_sound");
x_sound.start(0, 1);
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) == "aj") {
if (_root.on_clothing1 != undefined) {
to_initialize_fun(_root.on_clothing1);
_root.on_clothing1 = undefined;
}
_root.on_clothing1 = this;
}
if (this._name.substr(0, 6) == "ashose") {
if (_root.on_clothing2 != undefined) {
to_initialize_fun(_root.on_clothing2);
_root.on_clothing2 = undefined;
}
_root.on_clothing2 = this;
}
if (this._name.substr(0, 5) == "abott") {
if (_root.on_clothing3 != undefined) {
to_initialize_fun(_root.on_clothing3);
_root.on_clothing3 = undefined;
}
_root.on_clothing3 = this;
}
if (this._name.substr(0, 4) == "atop") {
if (_root.on_clothing4 != undefined) {
to_initialize_fun(_root.on_clothing4);
_root.on_clothing4 = undefined;
}
_root.on_clothing4 = this;
}
if (this._name.substr(0, 2) == "ar") {
if (_root.on_clothing5 != undefined) {
to_initialize_fun(_root.on_clothing5);
_root.on_clothing5 = undefined;
}
_root.on_clothing5 = this;
}
if (this._name.substr(0, 2) == "ah") {
if (_root.on_clothing6 != undefined) {
to_initialize_fun(_root.on_clothing6);
_root.on_clothing6 = undefined;
}
_root.on_clothing6 = this;
}
}
} else {
to_initialize_fun(this);
}
this.stopDrag();
};
}
}
}
function to_initialize_fun(_mc) {
_mc.swapDepths(_mc.sd);
_mc.xp = 0;
_mc.yp = 0;
_mc.onEnterFrame = function () {
this.xp = (this.xp * 0.45) + ((this.x0 - this._x) * 0.2);
this._x = this._x + this.xp;
this.yp = (this.yp * 0.45) + ((this.y0 - this._y) * 0.2);
this._y = this._y + this.yp;
if (Math.abs(this.xp) < 0.1) {
this._x = this.x0;
this._y = this.y0;
this.enabled = true;
delete this.onEnterFrame;
}
};
}
function SetPrintJob() {
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage("_root", {printAsBitmap:true});
my_pj.send();
delete my_pj;
}
function replay_fun() {
for (var _local2 in this) {
if ((typeof(this[_local2]) == "movieclip") and (this[_local2]._name.substr(0, 1) == "a")) {
this[_local2]._x = this[_local2].x0;
this[_local2]._y = this[_local2].y0;
this[_local2].swapDepths(this[_local2].sd);
this[_local2].enabled = true;
}
}
var _local2 = 1;
while (_local2 <= 6) {
this["on_clothing" + _local2] = undefined;
_local2++;
}
}
init();
this.onEnterFrame = function () {
if (((_root.on_clothing3 != undefined) and (Math.abs(_root.on_clothing3._x - _root.on_clothing3.xx) < 1)) and (Math.abs(_root.on_clothing3._y - _root.on_clothing3.yy) < 1)) {
model_bady_mc.underwear1_mc._visible = false;
} else {
model_bady_mc.underwear1_mc._visible = true;
}
if (((_root.on_clothing4 != undefined) and (Math.abs(_root.on_clothing4._x - _root.on_clothing4.xx) < 1)) and (Math.abs(_root.on_clothing4._y - _root.on_clothing4.yy) < 1)) {
model_bady_mc.underwear2_mc._visible = false;
} else {
model_bady_mc.underwear2_mc._visible = true;
}
if (((_root.on_clothing6 != undefined) and (Math.abs(_root.on_clothing6._x - _root.on_clothing6.xx) < 1)) and (Math.abs(_root.on_clothing6._y - _root.on_clothing6.yy) < 1)) {
model_bady_mc.hhhh_mc._visible = false;
} else {
model_bady_mc.hhhh_mc._visible = true;
}
};
bg_sound = new Sound();
bg_sound.attachSound("z_bg_sound");
bg_sound.start(0, 999);
bg_sound.setVolume(58);
Instance of Symbol 46 MovieClip "model_bady_mc" in Frame 1
onClipEvent (load) {
_root.model_bady_mc.gotoAndStop(bb);
}
Instance of Symbol 48 MovieClip "ah1" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 46;
this.yy = 7.2;
}
Instance of Symbol 50 MovieClip "ah2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 56.3;
this.yy = 14.1;
}
Instance of Symbol 52 MovieClip "ah3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 56.4;
this.yy = 10.8;
}
Instance of Symbol 54 MovieClip "ah4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 25.2;
this.yy = 12.4;
}
Instance of Symbol 56 MovieClip "ah5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 49.6;
this.yy = 7;
}
Instance of Symbol 58 MovieClip "atop10" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 43.5;
this.yy = 107.2;
}
Instance of Symbol 60 MovieClip "atop9" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 20.9;
this.yy = 106.2;
}
Instance of Symbol 62 MovieClip "atop8" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 48.5;
this.yy = 105.6;
}
Instance of Symbol 64 MovieClip "atop7" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 30;
this.yy = 106.2;
}
Instance of Symbol 66 MovieClip "atop6" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 52.5;
this.yy = 102.9;
}
Instance of Symbol 68 MovieClip "atop5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 38.7;
this.yy = 107.1;
}
Instance of Symbol 70 MovieClip "atop4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 26.1;
this.yy = 104.5;
}
Instance of Symbol 72 MovieClip "atop3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 52.8;
this.yy = 103;
}
Instance of Symbol 74 MovieClip "atop2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 53.8;
this.yy = 104.3;
}
Instance of Symbol 76 MovieClip "atop1" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 51.8;
this.yy = 100.8;
}
Instance of Symbol 78 MovieClip "abott4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 60;
this.yy = 219.9;
}
Instance of Symbol 80 MovieClip "abott10" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 51.8;
this.yy = 220.6;
}
Instance of Symbol 82 MovieClip "abott9" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 48.9;
this.yy = 228.3;
}
Instance of Symbol 84 MovieClip "abott8" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 43.7;
this.yy = 229.7;
}
Instance of Symbol 86 MovieClip "abott7" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 59.7;
this.yy = 228.8;
}
Instance of Symbol 88 MovieClip "abott6" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 58.6;
this.yy = 225.6;
}
Instance of Symbol 90 MovieClip "abott5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 40.6;
this.yy = 219.7;
}
Instance of Symbol 92 MovieClip "abott3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 42.4;
this.yy = 230;
}
Instance of Symbol 94 MovieClip "abott2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 38.3;
this.yy = 229.9;
}
Instance of Symbol 96 MovieClip "abott1" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 53.1;
this.yy = 224.3;
}
Instance of Symbol 98 MovieClip "aj1" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 65.6;
this.yy = 102.3;
}
Instance of Symbol 100 MovieClip "aj4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 63.6;
this.yy = 103.7;
}
Instance of Symbol 102 MovieClip "aj3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 64.7;
this.yy = 103.7;
}
Instance of Symbol 104 MovieClip "aj2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 68.1;
this.yy = 99.9;
}
Instance of Symbol 106 MovieClip "aj5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 66.8;
this.yy = 101.7;
}
Instance of Symbol 108 MovieClip "ar5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 56.3;
this.yy = 67.1;
}
Instance of Symbol 110 MovieClip "ar1" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 58.1;
this.yy = 66;
}
Instance of Symbol 112 MovieClip "ar4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 56.4;
this.yy = 67.9;
}
Instance of Symbol 114 MovieClip "ar2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 58.8;
this.yy = 66.8;
}
Instance of Symbol 116 MovieClip "ar3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 59;
this.yy = 59;
}
Instance of Symbol 118 MovieClip "ashose1" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 81.5;
this.yy = 572;
}
Instance of Symbol 120 MovieClip "ashose2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 82.3;
this.yy = 603.5;
}
Instance of Symbol 122 MovieClip "ashose3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 81.2;
this.yy = 605.8;
}
Instance of Symbol 124 MovieClip "ashose4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 72.5;
this.yy = 538.5;
}
Instance of Symbol 126 MovieClip "ashose5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 80.5;
this.yy = 557.6;
}
Instance of Symbol 135 MovieClip in Frame 1
/* no clip actions */
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 2
stop();
Symbol 27 MovieClip Frame 3
stop();
Symbol 27 MovieClip Frame 4
stop();
Symbol 27 MovieClip Frame 5
stop();
Symbol 27 MovieClip Frame 6
stop();
Symbol 32 Button
on (release) {
getURL ("http://www.i-dressup.com", "_blank");
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 3
stop();
Symbol 46 MovieClip Frame 4
stop();
Symbol 131 Button
on (release) {
_root.model_bady_mc.gotoAndStop(2);
}
Symbol 132 Button
on (release) {
_root.model_bady_mc.gotoAndStop(3);
}
Symbol 133 Button
on (release) {
_root.model_bady_mc.gotoAndStop(4);
}
Symbol 134 Button
on (release) {
_root.model_bady_mc.gotoAndStop(1);
}
Symbol 144 Button
on (release) {
_root.bg.gotoAndStop(2);
}
Symbol 145 Button
on (release) {
_root.bg.gotoAndStop(3);
}
Symbol 146 Button
on (release) {
_root.bg.gotoAndStop(4);
}
Symbol 147 Button
on (release) {
_root.bg.gotoAndStop(1);
}
Symbol 148 Button
on (release) {
_root.bg.gotoAndStop(5);
}
Symbol 149 Button
on (release) {
_root.bg.gotoAndStop(6);
}
Symbol 155 Button
on (release) {
_root.bg_sound.stop();
}
Symbol 156 Button
on (release) {
_root.bg_sound.stop();
_root.bg_sound.start(0, 999);
_root.bg_sound.setVolume(58);
}
Symbol 160 Button
on (release) {
_parent.SetPrintJob();
}
Symbol 163 Button
on (release) {
_parent.replay_fun();
}