Instance of Symbol 29 MovieClip in Frame 75 (65 B)
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 29 MovieClip in Frame 75 (65 B)
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Frame 109 (320 B)
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 (791 B)
function start_link() {
gotoAndPlay (111);
trace("ok");
}
function domain_link() {
getURL ("http://www.i-dressup.com", "_self");
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 (9.22 KiB) ● ●
function init() {
movarr = new Array();
for (var _local2 in this) {
if ((typeof(this[_local2]) == "movieclip") && (((this[_local2]._name.substr(0, 1) == "a") || (this[_local2]._name.substr(0, 1) == "b")) || (this[_local2]._name.substr(0, 1) == "d"))) {
movarr.push(this[_local2]._name);
}
}
frmarr = new Array("model_bady_mc", "model_hair_mc", "model_bady_mc.model_mouth_mc");
mybody = "model_bady_mc";
hitmc = "body";
visarr = new Array("model_bady_mc.underwear2_mc", "model_bady_mc.underwear1_mc", "model_bady_mc.hhhh_mc");
mainmc = this;
}
function saveit() {
mov = new Array();
frm = new Array();
for (var i in movarr) {
var tmpmc = mainmc[movarr[i]];
var bodmc = mainmc[mybody];
var hitmc = this.body;
if (tmpmc.hitTest(hitmc)) {
mov.push(new Array(movarr[i], int(tmpmc._x), int(tmpmc._y)));
}
}
for (var i in frmarr) {
var tmpmc = eval (frmarr[i]);
if (tmpmc._currentframe != 1) {
frm.push(new Array(frmarr[i], tmpmc._currentframe));
}
}
vis = new Array();
for (var i in visarr) {
var tmpmc = eval (visarr[i]);
vis.push(new Array(visarr[i], tmpmc._visible));
}
savestr = (((("&mov=" + mov.join("|")) + "&frm=") + frm.join("|")) + "&vis=") + vis.join("|");
return(savestr);
}
loadMovieNum ("/control.swf", 10);
init();
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)) + 500;
this[_local5].sd = _local4;
this[_local5].swapDepths(_local4);
}
if (this[_local5]._name.substr(0, 5) == "abott") {
var _local4 = Number(this[_local5]._name.substr(5)) + 600;
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) {
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, 5) == "atopa") {
if (_root.on_clothing4 != undefined) {
to_initialize_fun(_root.on_clothing4);
to_initialize_fun(_root.on_clothing3);
_root.on_clothing4 = undefined;
}
_root.on_clothing4 = this;
}
if ((this._name.substr(0, 4) == "atop") && (this._name.substr(4, 1) != "a")) {
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;
}
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;
}
if ((typeof(this[_local2]) == "movieclip") and (this[_local2]._name.substr(0, 1) == "d")) {
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;
}
stop();
mymenu = new ContextMenu();
mymenu.hideBuiltInItems();
mymenu.builtInItems.print = true;
_root.menu = mymenu;
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(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 = Number(this._name.substr(1, 2)) + 950;
this.startDrag();
this.swapDepths(_local2);
};
this[i].onRelease = function () {
var _local2 = Number(this._name.substr(1, 2)) + 950;
this.stopDrag();
this.swapDepths(_local2);
};
}
if ((typeof(this[i]) == "movieclip") and (this[i]._name.substr(0, 1) == "d")) {
this[i].onPress = function () {
var _local2 = Number(this._name.substr(1, 2)) + 1100;
this.startDrag();
this.swapDepths(_local2);
};
this[i].onRelease = function () {
var _local2 = Number(this._name.substr(1, 2)) + 1100;
this.stopDrag();
this.swapDepths(_local2);
};
}
}
Instance of Symbol 227 MovieClip "ashose1" in Frame 111 (134 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 502.5;
this.yy = 447.9;
this._x = 502.5;
this._y = 447.9;
}
Instance of Symbol 229 MovieClip "ashose2" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 503.8;
this.yy = 448.5;
}
Instance of Symbol 231 MovieClip "ashose3" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 505.9;
this.yy = 457.1;
}
Instance of Symbol 233 MovieClip "ashose4" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 505.6;
this.yy = 454.4;
}
Instance of Symbol 235 MovieClip "ashose5" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 505.9;
this.yy = 458.1;
}
Instance of Symbol 237 MovieClip "atop1" in Frame 111 (152 B)
onClipEvent (load) {
this.x0 = -9.3;
this.y0 = 149.8;
this.xx = 452.6;
this.yy = 120.7;
this._x = 452.6;
this._y = 120.7;
this.enabled = false;
}
Instance of Symbol 239 MovieClip "atop2" in Frame 111 (96 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 461;
this.yy = 116.1;
}
Instance of Symbol 241 MovieClip "atop3" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 465.9;
this.yy = 103.8;
}
Instance of Symbol 243 MovieClip "atop4" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 426.8;
this.yy = 146.2;
}
Instance of Symbol 245 MovieClip "atop5" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 439.1;
this.yy = 110.7;
}
Instance of Symbol 247 MovieClip "atop6" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 430.9;
this.yy = 120.4;
}
Instance of Symbol 249 MovieClip "atop7" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 441.5;
this.yy = 119.7;
}
Instance of Symbol 251 MovieClip "atop8" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 442.6;
this.yy = 120.8;
}
Instance of Symbol 253 MovieClip "atop9" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 456.9;
this.yy = 120.9;
}
Instance of Symbol 255 MovieClip "atop10" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 475.7;
this.yy = 119.5;
}
Instance of Symbol 259 MovieClip "atop11" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 440.1;
this.yy = 121.6;
}
Instance of Symbol 261 MovieClip "atop12" in Frame 111 (98 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 451.4;
this.yy = 152.4;
}
Instance of Symbol 263 MovieClip "d05" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 265 MovieClip "d03" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 267 MovieClip "d01" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 270 MovieClip "b03" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 272 MovieClip "b02" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 273 MovieClip "b04" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 275 MovieClip "b05" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 277 MovieClip "d04" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 279 MovieClip "b01" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 281 MovieClip "d02" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 283 MovieClip "d06" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 285 MovieClip "d07" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 287 MovieClip "ah1" in Frame 111 (149 B)
onClipEvent (load) {
this.x0 = 12.9;
this.y0 = 13.3;
this.xx = 472.9;
this.yy = 25.1;
this._x = 472.9;
this._y = 25.1;
this.enabled = false;
}
Instance of Symbol 289 MovieClip "ah2" in Frame 111 (96 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 486.1;
this.yy = 6.8;
}
Instance of Symbol 291 MovieClip "ah3" in Frame 111 (97 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 485.4;
this.yy = 15.6;
}
Instance of Symbol 293 MovieClip "ah4" in Frame 111 (97 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 465.7;
this.yy = 23.3;
}
Instance of Symbol 295 MovieClip "ah5" in Frame 111 (97 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.xx = 487.3;
this.yy = 23.6;
}
Instance of Symbol 297 MovieClip "d08" in Frame 111 (62 B)
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 305 MovieClip in Frame 111 (21 B)
/* no clip actions */
Symbol 4 MovieClip Frame 35 (24 B)
this.removeMovieClip();
Symbol 5 MovieClip [hua] Frame 1 (405 B)
i = 1;
while (i <= 51) {
daxiao = random(51) + 50;
duplicateMovieClip ("yanhua", "yanhua" + i, i);
setProperty("yanhua" + i, _rotation , random(360));
setProperty("yanhua" + i, _alpha , random(100));
setProperty("yanhua" + i, _xscale , daxiao);
setProperty("yanhua" + i, _yscale , daxiao);
yanse = new Color("yanhua" + i);
yanse.setRGB(random(16777215));
i++;
}
yanhua._alpha = 0;
Symbol 217 MovieClip Frame 1 (8 B)
stop();
Symbol 217 MovieClip Frame 2 (8 B)
stop();
Symbol 217 MovieClip Frame 3 (8 B)
stop();
Symbol 217 MovieClip Frame 4 (8 B)
stop();
Symbol 217 MovieClip Frame 5 (8 B)
stop();
Symbol 217 MovieClip Frame 6 (8 B)
stop();
Symbol 225 MovieClip Frame 1 (8 B)
stop();
Symbol 301 Button (53 B)
on (release) {
_root.model_bady_mc.gotoAndStop(3);
}
Symbol 302 Button (53 B)
on (release) {
_root.model_bady_mc.gotoAndStop(2);
}
Symbol 303 Button (53 B)
on (release) {
_root.model_bady_mc.gotoAndStop(1);
}
Symbol 304 Button (53 B)
on (release) {
_root.model_bady_mc.gotoAndStop(4);
}
Symbol 314 Button (42 B)
on (release) {
_root.cg.gotoAndStop(2);
}
Symbol 315 Button (42 B)
on (release) {
_root.cg.gotoAndStop(3);
}
Symbol 316 Button (42 B)
on (release) {
_root.cg.gotoAndStop(4);
}
Symbol 317 Button (42 B)
on (release) {
_root.cg.gotoAndStop(1);
}
Symbol 318 Button (42 B)
on (release) {
_root.cg.gotoAndStop(5);
}
Symbol 319 Button (42 B)
on (release) {
_root.cg.gotoAndStop(6);
}
Symbol 325 Button (40 B)
on (release) {
_root.bg_sound.stop();
}
Symbol 326 Button (102 B)
on (release) {
_root.bg_sound.stop();
_root.bg_sound.start(0, 999);
_root.bg_sound.setVolume(58);
}
Symbol 330 Button (40 B)
on (release) {
_parent.SetPrintJob();
}
Symbol 333 Button (39 B)
on (release) {
_parent.replay_fun();
}
Symbol 338 Button (63 B)
on (release) {
getURL ("http://www.i-dressup.com", "_self");
}