Frame 1
function init() {
one();
adsorb_x = 88;
adsorb_y = 88;
for (var _local5 in this) {
if ((typeof(this[_local5]) == "movieclip") and (this[_local5]._name.substr(0, 1) == "a")) {
if (this[_local5]._name.substr(0, 2) == "aj") {
var _local4 = Number(this[_local5]._name.substr(2)) + 100;
this[_local5].sd = _local4;
this[_local5].swapDepths(_local4);
}
if (this[_local5]._name.substr(0, 6) == "ashose") {
var _local4 = Number(this[_local5]._name.substr(6)) + 600;
this[_local5].sd = _local4;
this[_local5].swapDepths(_local4);
}
if (this[_local5]._name.substr(0, 5) == "abott") {
var _local4 = Number(this[_local5]._name.substr(5)) + 500;
this[_local5].sd = _local4;
this[_local5].swapDepths(_local4);
}
if (this[_local5]._name.substr(0, 4) == "atop") {
var _local4 = Number(this[_local5]._name.substr(4)) + 700;
this[_local5].sd = _local4;
this[_local5].swapDepths(_local4);
}
if (this[_local5]._name.substr(0, 5) == "atopa") {
var _local4 = Number(this[_local5]._name.substr(5)) + 700;
this[_local5].sd = _local4;
this[_local5].swapDepths(_local4);
}
if (this[_local5]._name.substr(0, 2) == "ar") {
var _local4 = Number(this[_local5]._name.substr(2)) + 900;
this[_local5].sd = _local4;
this[_local5].swapDepths(_local4);
}
if (this[_local5]._name.substr(0, 2) == "ah") {
var _local4 = Number(this[_local5]._name.substr(2)) + 1000;
this[_local5].sd = _local4;
this[_local5].swapDepths(_local4);
}
this[_local5].enabled = true;
this[_local5].onPress = function () {
this.swapDepths(10000);
this.startDrag();
};
this[_local5].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);
var _local3 = 1;
while (_local3 <= 10) {
trace(_root.on_clothing4);
if (_root.on_clothing4 == _root["atopa" + _local3]) {
to_initialize_fun(_root.on_clothing4);
}
_local3++;
}
_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, 5) == "atopa") {
if (_root.on_clothing4 != undefined) {
to_initialize_fun(_root.on_clothing3);
_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;
}
if ((typeof(this[_local2]) == "movieclip") and (this[_local2]._name.substr(0, 1) == "b")) {
this[_local2]._x = this[_local2].x0;
this[_local2]._y = this[_local2].y0;
}
}
var _local2 = 1;
while (_local2 <= 6) {
this["on_clothing" + _local2] = undefined;
_local2++;
}
one();
}
function one() {
_root.on_clothing6 = ah1;
_root.on_clothing4 = atop1;
_root.on_clothing2 = ashose1;
_root.on_clothing3 = abott1;
_root.ah1._x = ah1.xx;
_root.ah1._y = ah1.yy;
_root.atop1._x = atop1.xx;
_root.atop1._y = atop1.yy;
_root.ashose1._x = ashose1.xx;
_root.ashose1._y = ashose1.yy;
_root.abott1._x = abott1.xx;
_root.abott1._y = abott1.yy;
}
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.underwear2_mc._visible = false;
} else {
model_bady_mc.underwear2_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.underwear1_mc._visible = false;
} else {
model_bady_mc.underwear1_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(50);
for (var i in this) {
if ((typeof(this[i]) == "movieclip") and (this[i]._name.substr(0, 1) == "b")) {
this[i].onPress = function () {
var _local2 = Number(this._name.substr(2, 2)) + 800;
this.startDrag();
this.swapDepths(_local2);
};
this[i].onRelease = function () {
var _local2 = Number(this._name.substr(2, 2)) + 800;
this.stopDrag();
this.swapDepths(_local2);
};
}
}
Instance of Symbol 53 MovieClip "ashose1" in Frame 1
onClipEvent (load) {
this.x0 = 516.5;
this.y0 = 495.4;
this.xx = 152.2;
this.yy = 412.4;
this._x = 152.2;
this._y = 412.4;
}
Instance of Symbol 55 MovieClip "ashose2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 150.9;
this.yy = 403.2;
}
Instance of Symbol 57 MovieClip "ashose3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 156.9;
this.yy = 397.4;
}
Instance of Symbol 59 MovieClip "ashose4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 148.2;
this.yy = 377.3;
}
Instance of Symbol 61 MovieClip "ashose5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 151.2;
this.yy = 389.7;
}
Instance of Symbol 63 MovieClip "abott1" in Frame 1
onClipEvent (load) {
this.x0 = 410.4;
this.y0 = 316;
this.xx = 104.3;
this.yy = 275.1;
this._x = 104.3;
this._y = 275.1;
}
Instance of Symbol 65 MovieClip "abott2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 131.8;
this.yy = 273.6;
}
Instance of Symbol 67 MovieClip "abott3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 110.3;
this.yy = 272.1;
}
Instance of Symbol 69 MovieClip "abott4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 129.5;
this.yy = 272.4;
}
Instance of Symbol 71 MovieClip "abott5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 132.8;
this.yy = 272.6;
}
Instance of Symbol 73 MovieClip "abott6" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 131.9;
this.yy = 277.1;
}
Instance of Symbol 75 MovieClip "abott7" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 133.6;
this.yy = 274.9;
}
Instance of Symbol 77 MovieClip "abott8" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 130.9;
this.yy = 277.9;
}
Instance of Symbol 79 MovieClip "abott9" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 128.4;
this.yy = 274.3;
}
Instance of Symbol 81 MovieClip "abott10" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 110.1;
this.yy = 270.1;
}
Instance of Symbol 83 MovieClip "atop1" in Frame 1
onClipEvent (load) {
this.x0 = 371.6;
this.y0 = 114.5;
this.xx = 113.9;
this.yy = 165.1;
this._x = 113.9;
this._y = 165.1;
}
Instance of Symbol 85 MovieClip "atop2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 100.8;
this.yy = 138;
}
Instance of Symbol 87 MovieClip "atop3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 116.5;
this.yy = 164.8;
}
Instance of Symbol 89 MovieClip "atop4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 113.8;
this.yy = 148.9;
}
Instance of Symbol 91 MovieClip "atop5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 116.5;
this.yy = 161.3;
}
Instance of Symbol 93 MovieClip "atop6" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 122.6;
this.yy = 164.3;
}
Instance of Symbol 95 MovieClip "atopa7" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 100.4;
this.yy = 146.8;
}
Instance of Symbol 97 MovieClip "atopa8" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 119.4;
this.yy = 163.9;
}
Instance of Symbol 99 MovieClip "atopa9" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 129.3;
this.yy = 148.2;
}
Instance of Symbol 101 MovieClip "atop10" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 112.7;
this.yy = 140.5;
}
Instance of Symbol 123 MovieClip "ah1" in Frame 1
onClipEvent (load) {
this.x0 = 268.7;
this.y0 = 8.3;
this.xx = 134.2;
this.yy = 82.7;
this._x = 134.2;
this._y = 82.7;
}
Instance of Symbol 125 MovieClip "ah2" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 137.7;
this.yy = 70.5;
}
Instance of Symbol 127 MovieClip "ah3" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 147.9;
this.yy = 69.9;
}
Instance of Symbol 129 MovieClip "ah4" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 143.4;
this.yy = 69.5;
}
Instance of Symbol 131 MovieClip "ah5" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 144.3;
this.yy = 68.8;
}
Instance of Symbol 132 MovieClip "ah6" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 146.2;
this.yy = 42.5;
}
Instance of Symbol 141 MovieClip in Frame 1
/* no clip actions */
Symbol 11 MovieClip Frame 1
stop();
Instance of Symbol 10 MovieClip "a2" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) + 1;
ySpeed = random(3) + 1;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 10 MovieClip "a3" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) + 1;
ySpeed = random(3) + 1;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 10 MovieClip "a4" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) + 1;
ySpeed = random(3) + 1;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 10 MovieClip "a5" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) + 1;
ySpeed = random(3) + 1;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 10 MovieClip "a6" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) + 1;
ySpeed = random(3) + 1;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 10 MovieClip "a1" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) + 1;
ySpeed = random(3) + 1;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Symbol 44 MovieClip Frame 1
stop();
Instance of Symbol 11 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (enterFrame) {
var i = 1;
while (i <= 6) {
if (this["a" + i]._y < -600) {
this["a" + i]._x = random(200) - 100;
this["a" + i]._y = 100;
}
i++;
}
}
Symbol 44 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 4
stop();
Symbol 44 MovieClip Frame 5
stop();
Symbol 44 MovieClip Frame 6
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 51 MovieClip Frame 3
stop();
Symbol 51 MovieClip Frame 4
stop();
Symbol 137 Button
on (release) {
_root.model_bady_mc.gotoAndStop(2);
}
Symbol 138 Button
on (release) {
_root.model_bady_mc.gotoAndStop(3);
}
Symbol 139 Button
on (release) {
_root.model_bady_mc.gotoAndStop(4);
}
Symbol 140 Button
on (release) {
_root.model_bady_mc.gotoAndStop(1);
}
Symbol 150 Button
on (release) {
_root.cg.gotoAndStop(2);
}
Symbol 151 Button
on (release) {
_root.cg.gotoAndStop(3);
}
Symbol 152 Button
on (release) {
_root.cg.gotoAndStop(4);
}
Symbol 153 Button
on (release) {
_root.cg.gotoAndStop(1);
}
Symbol 154 Button
on (release) {
_root.cg.gotoAndStop(5);
}
Symbol 155 Button
on (release) {
_root.cg.gotoAndStop(6);
}
Symbol 161 Button
on (release) {
_root.bg_sound.stop();
}
Symbol 162 Button
on (release) {
_root.bg_sound.stop();
_root.bg_sound.start(0, 999);
_root.bg_sound.setVolume(58);
}
Symbol 166 Button
on (release) {
_parent.SetPrintJob();
}
Symbol 169 Button
on (release) {
_parent.replay_fun();
}