Instance of Symbol 24 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 24 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 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 < 16) {
_root["on_clothing" + _local3] = undefined;
_local3++;
}
eye_mc._x = eye_mc.x0;
hair_mc._x = hair_mc.x0;
top_mc._x = top_mc.x0;
model_mc._x = model_mc.x0;
model_mc2._x = model_mc2.x0;
mm2_mc._x = mm2_mc.x0;
hair_mc.enabled = true;
hair_mc._visible = 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 < 16) {
_root["on_clothing" + _local3]._visible = true;
_root["on_clothing" + _local3]._x = _root["on_clothing" + _local3]._x + _root.xcoor;
_local3++;
}
eye_mc._x = eye_mc._x + _root.xcoor;
hair_mc._x = hair_mc._x + _root.xcoor;
top_mc._x = top_mc._x + _root.xcoor;
model_mc._x = model_mc._x + _root.xcoor;
model_mc2._x = model_mc2._x + _root.xcoor;
mm2_mc._x = mm2_mc._x + _root.xcoor;
}
adsorb_x = 280;
adsorb_y = 280;
center_x = 570;
center_y = 380;
xcoor = -30;
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 () {
this.swapDepths(this._parent.getNextHighestDepth());
this.startDrag();
};
this[i].onRelease = function () {
trace(this.dep);
if (this.hitTest(_root.model_mc)) {
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)) and (this != _root.on_clothing10)) and (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)) {
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.hair_mc._visible = false;
_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;
}
if (this._name.substr(0, 2) == "aw") {
if (_root.on_clothing11 != undefined) {
_root.on_clothing11._x = _root.on_clothing11.x0;
_root.on_clothing11._y = _root.on_clothing11.y0;
_root.on_clothing11 = undefined;
}
_root.on_clothing11 = this;
}
if (this._name.substr(0, 2) == "ay") {
if (_root.on_clothing12 != undefined) {
_root.on_clothing12._x = _root.on_clothing12.x0;
_root.on_clothing12._y = _root.on_clothing12.y0;
_root.on_clothing12 = undefined;
}
_root.on_clothing12 = this;
}
if (this._name.substr(0, 2) == "ac") {
if (_root.on_clothing13 != undefined) {
_root.on_clothing13._x = _root.on_clothing13.x0;
_root.on_clothing13._y = _root.on_clothing13.y0;
_root.on_clothing13 = undefined;
}
_root.on_clothing13 = this;
}
if (this._name.substr(0, 2) == "as") {
if (_root.on_clothing14 != undefined) {
_root.on_clothing14._x = _root.on_clothing14.x0;
_root.on_clothing14._y = _root.on_clothing14.y0;
_root.on_clothing14 = undefined;
}
_root.on_clothing14 = this;
}
if (this._name.substr(0, 2) == "ae") {
if (_root.on_clothing15 != undefined) {
_root.on_clothing15._x = _root.on_clothing15.x0;
_root.on_clothing15._y = _root.on_clothing15.y0;
_root.on_clothing15 = undefined;
}
_root.on_clothing15 = this;
}
}
} else {
this._x = this.x0;
this._y = this.y0;
if (this._name.substr(0, 2) == "a1") {
if (_root.on_clothing1 == this) {
_root.on_clothing1 = undefined;
}
}
if (this._name.substr(0, 2) == "a2") {
if (_root.on_clothing2 == this) {
_root.on_clothing2 = undefined;
}
}
if (this._name.substr(0, 2) == "a3") {
if (_root.on_clothing3 == this) {
_root.on_clothing3 = undefined;
}
}
if (this._name.substr(0, 2) == "a4") {
if (_root.on_clothing4 == this) {
_root.on_clothing4 = undefined;
}
}
if (this._name.substr(0, 2) == "a5") {
if (_root.on_clothing5 == this) {
_root.on_clothing5 = undefined;
}
}
if (this._name.substr(0, 2) == "a6") {
if (_root.on_clothing6 == this) {
_root.on_clothing6 = undefined;
}
}
if (this._name.substr(0, 2) == "a7") {
if (_root.on_clothing7 == this) {
_root.on_clothing7 = undefined;
}
}
if (this._name.substr(0, 2) == "a8") {
if (_root.on_clothing8 == this) {
_root.on_clothing8 = undefined;
}
}
if (this._name.substr(0, 2) == "a9") {
if (_root.on_clothing9 == this) {
_root.on_clothing9 = undefined;
_root.hair_mc._visible = true;
}
}
if (this._name.substr(0, 2) == "ax") {
if (_root.on_clothing10 == this) {
_root.on_clothing10 = undefined;
}
}
if (this._name.substr(0, 2) == "aw") {
if (_root.on_clothing11 == this) {
_root.on_clothing11 = undefined;
}
}
if (this._name.substr(0, 2) == "ay") {
if (_root.on_clothing12 == this) {
_root.on_clothing12 = undefined;
}
}
if (this._name.substr(0, 2) == "ac") {
if (_root.on_clothing13 == this) {
_root.on_clothing13 = undefined;
}
}
if (this._name.substr(0, 2) == "as") {
if (_root.on_clothing14 == this) {
_root.on_clothing14 = undefined;
}
}
if (this._name.substr(0, 2) == "ae") {
if (_root.on_clothing15 == this) {
_root.on_clothing15 = undefined;
}
}
}
this.stopDrag();
this.swapDepths(this.dep);
_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 45 MovieClip "model_mc" in Frame 111
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 59 MovieClip "top_mc" in Frame 111
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 176 MovieClip "hair_mc" in Frame 111
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Frame 112
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;
mm2_mc.enabled = false;
Symbol 45 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 195 Button
on (release) {
ok_init();
gotoAndStop (112);
}
Symbol 200 Button
on (release) {
to_x0_y0_fun();
gotoAndStop (111);
}
Symbol 204 Button
on (release) {
getURL ("http://www.i-dressup.com", "_blank");
}
Symbol 207 Button
on (release) {
_root.model_mc.gotoAndStop(3);
_root.model_mc2.gotoAndStop(3);
}
Symbol 209 Button
on (release) {
_root.model_mc.gotoAndStop(2);
_root.model_mc2.gotoAndStop(2);
}
Symbol 211 Button
on (release) {
_root.model_mc.gotoAndStop(1);
_root.model_mc2.gotoAndStop(1);
}
Symbol 213 Button
on (release) {
_root.model_mc.gotoAndStop(4);
_root.model_mc2.gotoAndStop(4);
}
Symbol 215 Button
on (release) {
_root.model_mc.gotoAndStop(5);
_root.model_mc2.gotoAndStop(5);
}
Symbol 223 Button
on (release) {
to_x0_y0_fun();
gotoAndStop (111);
}