Frame 1
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
pre = int((loaded / total) * 100);
loadingbar.gotoAndStop(pre);
Frame 10
if (loaded == total) {
gotoAndStop (11);
} else {
gotoAndPlay ("loading");
}
Frame 11
function init() {
var _local1 = this;
var _local2 = _root;
one();
adsorb_x = 88;
adsorb_y = 88;
for (var i in _local1) {
if ((typeof(_local1[i]) == "movieclip") and (_local1[i]._name.substr(0, 1) == "a")) {
if (_local1[i]._name.substr(0, 2) == "aj") {
var s = (Number(_local1[i]._name.substr(2)) + 100);
_local1[i].sd = s;
_local1[i].swapDepths(s);
}
if (_local1[i]._name.substr(0, 6) == "ashose") {
var s = (Number(_local1[i]._name.substr(6)) + 600);
_local1[i].sd = s;
_local1[i].swapDepths(s);
}
if (_local1[i]._name.substr(0, 5) == "abott") {
var s = (Number(_local1[i]._name.substr(5)) + 500);
_local1[i].sd = s;
_local1[i].swapDepths(s);
}
if (_local1[i]._name.substr(0, 4) == "atop") {
var s = (Number(_local1[i]._name.substr(4)) + 700);
_local1[i].sd = s;
_local1[i].swapDepths(s);
}
if (_local1[i]._name.substr(0, 5) == "atopa") {
var s = (Number(_local1[i]._name.substr(5)) + 700);
_local1[i].sd = s;
_local1[i].swapDepths(s);
}
if (_local1[i]._name.substr(0, 2) == "ar") {
var s = (Number(_local1[i]._name.substr(2)) + 900);
_local1[i].sd = s;
_local1[i].swapDepths(s);
}
if (_local1[i]._name.substr(0, 2) == "ah") {
var s = (Number(_local1[i]._name.substr(2)) + 1000);
_local1[i].sd = s;
_local1[i].swapDepths(s);
}
_local1[i].enabled = true;
_local1[i].onPress = function () {
this.swapDepths(10000);
this.startDrag();
};
_local1[i].onRelease = function () {
var _local1 = _root;
var _local2 = this;
if ((Math.abs(_local2._x - _local2.xx) <= adsorb_x) and (Math.abs(_local2._y - _local2.yy) <= adsorb_y)) {
_local2._x = _local2.xx;
_local2._y = _local2.yy;
_local2.enabled = false;
_local2.swapDepths(_local2.sd);
x_sound = new Sound();
x_sound.attachSound("xx_sound");
x_sound.start(0, 1);
if ((((((_local2 != _local1.on_clothing1) and (_local2 != _local1.on_clothing2)) and (_local2 != _local1.on_clothing3)) and (_local2 != _local1.on_clothing4)) and (_local2 != _local1.on_clothing5)) and (_local2 != _local1.on_clothing6)) {
if (_local2._name.substr(0, 2) == "aj") {
if (_local1.on_clothing1 != undefined) {
to_initialize_fun(_local1.on_clothing1);
_local1.on_clothing1 = undefined;
}
_local1.on_clothing1 = _local2;
}
if (_local2._name.substr(0, 6) == "ashose") {
if (_local1.on_clothing2 != undefined) {
to_initialize_fun(_local1.on_clothing2);
_local1.on_clothing2 = undefined;
}
_local1.on_clothing2 = _local2;
}
if (_local2._name.substr(0, 5) == "abott") {
if (_local1.on_clothing3 != undefined) {
to_initialize_fun(_local1.on_clothing3);
var _local3 = 1;
while (_local3 <= 10) {
if (_local1.on_clothing4 == _local1["atopa" + _local3]) {
to_initialize_fun(_local1.on_clothing4);
}
_local3++;
}
_local1.on_clothing3 = undefined;
}
_local1.on_clothing3 = _local2;
}
if (_local2._name.substr(0, 5) == "atopa") {
if (_local1.on_clothing4 != undefined) {
to_initialize_fun(_local1.on_clothing4);
to_initialize_fun(_local1.on_clothing3);
_local1.on_clothing4 = undefined;
}
_local1.on_clothing4 = _local2;
}
if ((_local2._name.substr(0, 4) == "atop") && (_local2._name.substr(4, 1) != "a")) {
if (_local1.on_clothing4 != undefined) {
to_initialize_fun(_local1.on_clothing4);
_local1.on_clothing4 = undefined;
}
_local1.on_clothing4 = _local2;
}
if (_local2._name.substr(0, 2) == "ar") {
if (_local1.on_clothing5 != undefined) {
to_initialize_fun(_local1.on_clothing5);
_local1.on_clothing5 = undefined;
}
_local1.on_clothing5 = _local2;
}
if (_local2._name.substr(0, 2) == "ah") {
if (_local1.on_clothing6 != undefined) {
to_initialize_fun(_local1.on_clothing6);
_local1.on_clothing6 = undefined;
}
_local1.on_clothing6 = _local2;
}
}
} else {
to_initialize_fun(_local2);
}
_local2.stopDrag();
};
}
}
_local2.ah1.enabled = false;
_local2.atopa1.enabled = false;
_local2.ashose1.enabled = false;
}
function to_initialize_fun(_mc) {
var _local1 = this;
var _local2 = _mc;
_local2.swapDepths(_local2.sd);
_local2.xp = 0;
_local2.yp = 0;
_local2.onEnterFrame = function () {
var _local1 = this;
_local1.xp = (_local1.xp * 0.45) + ((_local1.x0 - _local1._x) * 0.2);
_local1._x = _local1._x + _local1.xp;
_local1.yp = (_local1.yp * 0.45) + ((_local1.y0 - _local1._y) * 0.2);
_local1._y = _local1._y + _local1.yp;
if (Math.abs(_local1.xp) < 0.1) {
_local1._x = _local1.x0;
_local1._y = _local1.y0;
_local1.enabled = true;
delete _local1.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() {
var _local1 = this;
for (var _local2 in _local1) {
if ((typeof(_local1[_local2]) == "movieclip") and (_local1[_local2]._name.substr(0, 1) == "a")) {
_local1[_local2]._x = _local1[_local2].x0;
_local1[_local2]._y = _local1[_local2].y0;
_local1[_local2].swapDepths(_local1[_local2].sd);
_local1[_local2].enabled = true;
}
if ((typeof(_local1[_local2]) == "movieclip") and (_local1[_local2]._name.substr(0, 1) == "b")) {
_local1[_local2]._x = _local1[_local2].x0;
_local1[_local2]._y = _local1[_local2].y0;
}
}
var _local2 = 1;
while (_local2 <= 6) {
_local1["on_clothing" + _local2] = undefined;
_local2++;
}
one();
}
function one() {
var _local1 = _root;
_local1.on_clothing6 = ah1;
_local1.on_clothing4 = atopa1;
_local1.on_clothing2 = ashose1;
_local1.ah1.enabled = false;
_local1.atopa1.enabled = false;
_local1.ashose1.enabled = false;
_local1.ah1._x = ah1.xx;
_local1.ah1._y = ah1.yy;
_local1.atopa1._x = atopa1.xx;
_local1.atopa1._y = atopa1.yy;
_local1.ashose1._x = ashose1.xx;
_local1.ashose1._y = ashose1.yy;
}
init();
this.onEnterFrame = function () {
var _local1 = _root;
if (((_local1.on_clothing3 != undefined) and (Math.abs(_local1.on_clothing3._x - _local1.on_clothing3.xx) < 1)) and (Math.abs(_local1.on_clothing3._y - _local1.on_clothing3.yy) < 1)) {
model_bady_mc.underwear2_mc._visible = false;
} else {
model_bady_mc.underwear2_mc._visible = true;
}
if (((_local1.on_clothing4 != undefined) and (Math.abs(_local1.on_clothing4._x - _local1.on_clothing4.xx) < 1)) and (Math.abs(_local1.on_clothing4._y - _local1.on_clothing4.yy) < 1)) {
model_bady_mc.underwear1_mc._visible = false;
} else {
model_bady_mc.underwear1_mc._visible = true;
}
if (((_local1.on_clothing6 != undefined) and (Math.abs(_local1.on_clothing6._x - _local1.on_clothing6.xx) < 1)) and (Math.abs(_local1.on_clothing6._y - _local1.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(100);
for (var i in this) {
if ((typeof(this[i]) == "movieclip") and (this[i]._name.substr(0, 1) == "b")) {
this[i].onPress = function () {
var _local2 = this;
var _local1 = Number(_local2._name.substr(2, 2)) + 1100;
_local2.startDrag();
_local2.swapDepths(_local1);
};
this[i].onRelease = function () {
var _local2 = this;
var _local1 = Number(_local2._name.substr(2, 2)) + 1100;
_local2.stopDrag();
_local2.swapDepths(_local1);
};
}
}
Instance of Symbol 84 MovieClip "ashose1" in Frame 11
onClipEvent (load) {
this.x0 = 131.8;
this.y0 = 567.4;
this.xx = 479.2;
this.yy = 490.1;
this._x = 479.2;
this._y = 490.1;
}
Instance of Symbol 86 MovieClip "ashose2" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 479.3;
this.yy = 461.4;
}
Instance of Symbol 88 MovieClip "ashose3" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 477.9;
this.yy = 474.8;
}
Instance of Symbol 90 MovieClip "ashose4" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 480.3;
this.yy = 519.6;
}
Instance of Symbol 92 MovieClip "ashose5" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 479.1;
this.yy = 520.6;
}
Instance of Symbol 94 MovieClip "abott1" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 472.7;
this.yy = 284.8;
}
Instance of Symbol 96 MovieClip "abott2" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 479.4;
this.yy = 294.9;
}
Instance of Symbol 98 MovieClip "abott3" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 479;
this.yy = 294.6;
}
Instance of Symbol 100 MovieClip "abott4" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 477.6;
this.yy = 293.2;
}
Instance of Symbol 102 MovieClip "abott5" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 476.8;
this.yy = 294.4;
}
Instance of Symbol 104 MovieClip "abott6" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 480.8;
this.yy = 370.4;
}
Instance of Symbol 106 MovieClip "abott7" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 467.8;
this.yy = 290.6;
}
Instance of Symbol 108 MovieClip "abott8" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 471.1;
this.yy = 292.3;
}
Instance of Symbol 110 MovieClip "abott9" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 476.3;
this.yy = 286;
}
Instance of Symbol 112 MovieClip "atopa1" in Frame 11
onClipEvent (load) {
this.x0 = -48.2;
this.y0 = 145.3;
this.xx = 427.4;
this.yy = 175.1;
this._x = 427.4;
this._y = 175.1;
}
Instance of Symbol 114 MovieClip "atopa2" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 428.1;
this.yy = 170.3;
}
Instance of Symbol 116 MovieClip "atopa3" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 437.9;
this.yy = 175.6;
}
Instance of Symbol 118 MovieClip "atopa4" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 418.3;
this.yy = 180.6;
}
Instance of Symbol 120 MovieClip "atop5" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 442.9;
this.yy = 175.1;
}
Instance of Symbol 122 MovieClip "atop6" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 464.9;
this.yy = 174.4;
}
Instance of Symbol 124 MovieClip "atop7" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 470.4;
this.yy = 162.4;
}
Instance of Symbol 126 MovieClip "atop8" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 428.9;
this.yy = 162.9;
}
Instance of Symbol 128 MovieClip "atop9" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 426.3;
this.yy = 150.7;
}
Instance of Symbol 130 MovieClip "atop10" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 469.3;
this.yy = 173.8;
}
Instance of Symbol 132 MovieClip "b 1" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 134 MovieClip "b 2" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 136 MovieClip "b 3" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 138 MovieClip "b 4" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 140 MovieClip "ah1" in Frame 11
onClipEvent (load) {
this.x0 = -25.1;
this.y0 = 18;
this.xx = 451.4;
this.yy = 80.7;
this._x = 451.4;
this._y = 80.7;
}
Instance of Symbol 142 MovieClip "ah2" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 476.4;
this.yy = 83.8;
}
Instance of Symbol 144 MovieClip "ah3" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 473.6;
this.yy = 82.2;
}
Instance of Symbol 146 MovieClip "ah4" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 486.6;
this.yy = 84.3;
}
Instance of Symbol 148 MovieClip "ah5" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 481.1;
this.yy = 80;
}
Instance of Symbol 150 MovieClip "b 5" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 152 MovieClip "b 6" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 154 MovieClip "b 7" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 156 MovieClip "b 9" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 158 MovieClip "b 8" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 160 MovieClip "b 10" in Frame 11
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 169 MovieClip in Frame 11
/* no clip actions */
Symbol 6 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 1
stop();
Instance of Symbol 36 MovieClip "a2" in Symbol 37 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 36 MovieClip "a3" in Symbol 37 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 36 MovieClip "a4" in Symbol 37 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 36 MovieClip "a5" in Symbol 37 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 36 MovieClip "a6" in Symbol 37 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 36 MovieClip "a1" in Symbol 37 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) + 1;
ySpeed = random(3) + 1;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
stop();
Instance of Symbol 37 MovieClip in Symbol 72 MovieClip Frame 2
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 72 MovieClip Frame 3
stop();
Symbol 72 MovieClip Frame 4
stop();
Symbol 72 MovieClip Frame 5
stop();
Symbol 72 MovieClip Frame 6
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 3
stop();
Symbol 82 MovieClip Frame 4
stop();
Symbol 165 Button
on (release) {
_root.model_bady_mc.gotoAndStop(3);
}
Symbol 166 Button
on (release) {
_root.model_bady_mc.gotoAndStop(2);
}
Symbol 167 Button
on (release) {
_root.model_bady_mc.gotoAndStop(4);
}
Symbol 168 Button
on (release) {
_root.model_bady_mc.gotoAndStop(1);
}
Symbol 178 Button
on (release) {
_root.cg.gotoAndStop(2);
}
Symbol 179 Button
on (release) {
_root.cg.gotoAndStop(3);
}
Symbol 180 Button
on (release) {
_root.cg.gotoAndStop(4);
}
Symbol 181 Button
on (release) {
_root.cg.gotoAndStop(1);
}
Symbol 182 Button
on (release) {
_root.cg.gotoAndStop(5);
}
Symbol 183 Button
on (release) {
_root.cg.gotoAndStop(6);
}
Symbol 189 Button
on (release) {
_root.bg_sound.stop();
}
Symbol 190 Button
on (release) {
_root.bg_sound.stop();
_root.bg_sound.start(0, 999);
_root.bg_sound.setVolume(58);
}
Symbol 194 Button
on (release) {
_parent.SetPrintJob();
}
Symbol 197 Button
on (release) {
_parent.replay_fun();
}
Symbol 203 Button
on (release) {
getURL ("http://www.i-dressup.com", "_blank");
}