Frame 1
function maojiao_sd(n_sd) {
_root.maojiao_sound = new Sound();
_root.maojiao_sound.attachSound("cat0" + n_sd);
_root.maojiao_sound.start();
_root.maojiao_sound.setVolume(100);
}
function to_x0_y0_fun() {
for (var _local4 in this) {
if ((typeof(this[_local4]) == "movieclip") and (this[_local4]._name.substr(0, 1) == "a")) {
this[_local4].swapDepths(this[_local4].dep);
this[_local4]._visible = true;
this[_local4].enabled = true;
this[_local4]._x = this[_local4].x0;
this[_local4]._y = this[_local4].y0;
}
}
var _local3 = 1;
while (_local3 < 11) {
_root["on_clothing" + _local3] = undefined;
_local3++;
}
hair_mc._x = hair_mc.x0;
top_mc._x = top_mc.x0;
model_mc._x = model_mc.x0;
hair_mc.enabled = true;
top_mc.enabled = true;
}
function ok_init() {
for (var _local4 in this) {
if ((typeof(this[_local4]) == "movieclip") and (this[_local4]._name.substr(0, 1) == "a")) {
this[_local4]._visible = false;
}
}
var _local3 = 1;
while (_local3 < 11) {
_root["on_clothing" + _local3]._visible = true;
_root["on_clothing" + _local3]._x = _root["on_clothing" + _local3]._x + 200;
_local3++;
}
hair_mc._x = hair_mc._x + 200;
top_mc._x = top_mc._x + 200;
model_mc._x = model_mc._x + 200;
}
adsorb_x = 88;
adsorb_y = 88;
stop();
mymenu = new ContextMenu();
mymenu.hideBuiltInItems();
mymenu.builtInItems.print = true;
_root.menu = mymenu;
for (var i in this) {
if ((typeof(this[i]) == "movieclip") and (this[i]._name.substr(0, 1) == "a")) {
this[i].dep = this[i].getDepth();
this[i].x0 = this[i]._x;
this[i].y0 = this[i]._y;
this[i].onPress = function () {
aje9.swapDepths(this._parent.getNextHighestDepth());
this.startDrag();
if (((this._name.substr(0, 2) != "a7") and (this._name.substr(0, 2) != "a8")) and (this._name.substr(0, 2) != "a9")) {
name_mc.name_v = this._name.substr(2);
}
};
this[i].onRelease = function () {
trace(this.dep);
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;
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)) and (this != _root.on_clothing7)) and (this != _root.on_clothing8)) and (this != _root.on_clothing9)) {
var _local3 = random(4) + 1;
maojiao_sd(_local3);
if (this._name.substr(0, 2) == "a1") {
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._x = _root.on_clothing1.x0;
_root.on_clothing1._y = _root.on_clothing1.y0;
_root.on_clothing1 = undefined;
}
_root.on_clothing1 = this;
}
if (this._name.substr(0, 2) == "a2") {
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._x = _root.on_clothing2.x0;
_root.on_clothing2._y = _root.on_clothing2.y0;
_root.on_clothing2 = undefined;
}
_root.on_clothing2 = this;
}
if (this._name.substr(0, 2) == "a3") {
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._x = _root.on_clothing3.x0;
_root.on_clothing3._y = _root.on_clothing3.y0;
_root.on_clothing3 = undefined;
}
_root.on_clothing3 = this;
}
if (this._name.substr(0, 2) == "a4") {
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._x = _root.on_clothing4.x0;
_root.on_clothing4._y = _root.on_clothing4.y0;
_root.on_clothing4 = undefined;
}
_root.on_clothing4 = this;
}
if (this._name.substr(0, 2) == "a5") {
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._x = _root.on_clothing5.x0;
_root.on_clothing5._y = _root.on_clothing5.y0;
_root.on_clothing5 = undefined;
}
_root.on_clothing5 = this;
}
if (this._name.substr(0, 2) == "a6") {
if (_root.on_clothing6 != undefined) {
_root.on_clothing6._x = _root.on_clothing6.x0;
_root.on_clothing6._y = _root.on_clothing6.y0;
_root.on_clothing6 = undefined;
}
_root.on_clothing6 = this;
}
if (this._name.substr(0, 2) == "a7") {
if (_root.on_clothing7 != undefined) {
_root.on_clothing7._x = _root.on_clothing7.x0;
_root.on_clothing7._y = _root.on_clothing7.y0;
_root.on_clothing7 = undefined;
}
_root.on_clothing7 = this;
}
if (this._name.substr(0, 2) == "a8") {
if (_root.on_clothing8 != undefined) {
_root.on_clothing8._x = _root.on_clothing8.x0;
_root.on_clothing8._y = _root.on_clothing8.y0;
_root.on_clothing8 = undefined;
}
_root.on_clothing8 = this;
}
if (this._name.substr(0, 2) == "a9") {
if (_root.on_clothing9 != undefined) {
_root.on_clothing9._x = _root.on_clothing9.x0;
_root.on_clothing9._y = _root.on_clothing9.y0;
_root.on_clothing9 = undefined;
}
_root.on_clothing9 = this;
}
if (this._name.substr(0, 2) == "ax") {
if (_root.on_clothing10 != undefined) {
_root.on_clothing10._x = _root.on_clothing10.x0;
_root.on_clothing10._y = _root.on_clothing10.y0;
_root.on_clothing10 = undefined;
}
_root.on_clothing10 = this;
}
}
}
this.stopDrag();
_root.matchCheck(this);
};
}
}
this.onEnterFrame = function () {
if ((((_root.on_clothing1 != undefined) and (Math.abs(_root.on_clothing1._x - _root.on_clothing1.xx) < 1)) and (Math.abs(_root.on_clothing1._y - _root.on_clothing1.yy) < 1)) or (((_root.on_clothing2 != undefined) and (Math.abs(_root.on_clothing2._x - _root.on_clothing2.xx) < 1)) and (Math.abs(_root.on_clothing2._y - _root.on_clothing2.yy) < 1))) {
model_bady_mc.underwear1_mc._visible = false;
} else {
model_bady_mc.underwear1_mc._visible = true;
}
if ((((_root.on_clothing1 != undefined) and (Math.abs(_root.on_clothing1._x - _root.on_clothing1.xx) < 1)) and (Math.abs(_root.on_clothing1._y - _root.on_clothing1.yy) < 1)) or (((_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;
}
};
_global.bb = random(5) + 1;
_global.aa = random(5) + 1;
Instance of Symbol 13 MovieClip "model_mc" in Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 21 MovieClip "top_mc" in Frame 1
on (release) {
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
} else {
this.nextFrame();
}
}
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 118 MovieClip "hair_mc" in Frame 1
on (release) {
if (this._currentframe == this._totalframes) {
this.gotoAndStop(1);
} else {
this.nextFrame();
}
}
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Frame 2
stop();
for (var i in this) {
if ((typeof(this[i]) == "movieclip") and (this[i]._name.substr(0, 1) == "a")) {
this[i].enabled = false;
}
}
hair_mc.enabled = false;
top_mc.enabled = false;
Symbol 13 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 148 Button
on (release) {
to_x0_y0_fun();
gotoAndStop (111);
}
Symbol 149 Button
on (release) {
to_x0_y0_fun();
_root.gotoAndStop(1);
}
Symbol 153 Button
on (release) {
_root.getURL("http://www.dressupgames.com", "_blank");
}
Symbol 159 Button
on (release) {
_root.model_mc.gotoAndStop(3);
}
Symbol 161 Button
on (release) {
_root.model_mc.gotoAndStop(2);
}
Symbol 163 Button
on (release) {
_root.model_mc.gotoAndStop(1);
}
Symbol 165 Button
on (release) {
_root.model_mc.gotoAndStop(4);
}
Symbol 166 Button
on (release) {
ok_init();
gotoAndStop (112);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 174 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}