Frame 1
function loda() {
if (getBytesLoaded() == getBytesTotal()) {
ld.removeMovieClip(_parent);
clearInterval(lo);
gotoAndStop (2);
} else {
ld.percent.text = getBytesLoaded();
ld.percent.setTextFormat(tf);
}
}
stop();
this.createEmptyMovieClip("ld", 1);
ld.createTextField("percent", 1, Stage.width / 2, (Stage.height / 2) + 50, 100, 50);
ld.createTextField("total", 2, Stage.width / 2, Stage.height / 2, 100, 50);
var tf = new TextFormat();
tf.size = 20;
var tf2 = new TextFormat();
tf2.size = 20;
tf2.color = 110000 /* 0x01ADB0 */;
ld.total.text = getBytesTotal();
ld.total.setTextFormat(tf2);
var lo = setInterval(loda, 100);
Frame 2
function clo() {
if (pre) {
if (_xmouse < 100) {
clothes.gotoAndStop(4);
buto4._x = 88;
} else if ((_xmouse > 100) & (_xmouse < 110)) {
clothes.gotoAndStop(5);
buto4._x = 105;
} else if (_xmouse > 110) {
pre = false;
buto4.swapDepths(1);
buto4.removeMovieClip(_parent);
buto5.enabled = true;
clothes.gotoAndStop(6);
clearInterval(cloIn);
cloIn = setInterval(clo2, 100);
}
}
}
function clo2() {
if (pre) {
if (((cloUp == true) & (_xmouse > 70)) & (_ymouse < 282)) {
clothes.gotoAndStop(6);
clothesB.gotoAndStop(1);
buto5._x = 70;
buto5._y = 281;
} else if ((((cloUp == true) & (_xmouse > 60)) & (_xmouse < 70)) & (_ymouse < 282)) {
clothes.gotoAndStop(7);
clothesB.gotoAndStop(1);
buto5._x = 60;
buto5._y = 281;
} else if ((_xmouse < 50) & (_ymouse < 282)) {
cloUp = true;
clothes.gotoAndStop(8);
clothesB.gotoAndStop(1);
buto5._x = 50;
buto5._y = 281;
} else if ((_xmouse < 50) & (_ymouse < 300)) {
cloUp = false;
clothes.gotoAndStop(9);
clothesB.gotoAndStop(1);
buto5._x = 50;
buto5._y = 300;
} else if (((cloUp == false) & (_xmouse < 50)) & (_ymouse < 320)) {
clothes.gotoAndStop(10);
clothesB.gotoAndStop(1);
buto5._x = 50;
buto5._y = 320;
} else if (((cloUp == false) & (_xmouse < 50)) & (_ymouse < 340)) {
clothes.gotoAndStop(11);
clothesB.gotoAndStop(2);
buto5.swapDepths(1);
buto5.removeMovieClip(_parent);
pre = false;
buto6.enabled = true;
cloUp = true;
clearInterval(cloIn);
cloIn = setInterval(clo3, 100);
}
}
}
function clo3() {
if (pre) {
if ((_xmouse > 60) & (_ymouse < 265)) {
cloUp = true;
under.gotoAndStop(1);
buto6._x = 68;
buto6._y = 265;
} else if (((_xmouse < 60) & (_ymouse > 265)) & (_ymouse < 275)) {
cloUp = true;
under.gotoAndStop(2);
buto6._x = 55;
buto6._y = 268;
} else if (((_xmouse < 60) & (_ymouse > 275)) & (_ymouse < 285)) {
cloUp = true;
under.gotoAndStop(3);
buto6._x = 50;
buto6._y = 290;
} else if (((_xmouse < 60) & (_ymouse > 285)) & (_ymouse < 300)) {
cloUp = true;
under.gotoAndStop(4);
buto6._x = 50;
buto6._y = 295;
} else if (((_xmouse < 60) & (_ymouse > 300)) & (_ymouse < 320)) {
under.gotoAndStop(5);
buto6._x = 48;
buto6._y = 310;
if (cloUp) {
body.play();
}
cloUp = false;
head.gotoAndPlay("fase2");
} else if (((_xmouse < 60) & (_ymouse > 320)) & (_ymouse < 340)) {
under.gotoAndStop(6);
buto6._x = 48;
buto6._y = 323;
if (cloUp) {
body.play();
}
cloUp = false;
head.gotoAndPlay("fase2");
} else if ((_xmouse < 60) & (_ymouse > 340)) {
under.gotoAndStop(7);
buto6._x = 48;
buto6._y = 340;
if (cloUp) {
body.play();
}
cloUp = false;
head.gotoAndPlay("fase2");
_level0.createTextField("folks", _level0.getNextHighestDepth(), Stage.width / 2, Stage.height / 2, 200, 60);
folks.text = "This is all folks!";
var _local2 = new TextFormat();
_local2.size = 25;
_local2.bold = true;
folks.setTextFormat(_local2);
buto6.swapDepths(1);
buto6.removeMovieClip(_parent);
pre = false;
buto7.enabled = true;
cloUp = true;
clearInterval(cloIn);
cloIn = setInterval(clo4, 100);
pant.enabled = true;
under.enabled = false;
}
}
}
function clo4() {
if (pre) {
if (hp == false) {
head.gotoAndPlay("fase3");
hp = true;
}
if ((_ymouse < (b7y + 5)) & (_ymouse > (b7y - 5))) {
tit = 0;
body.gotoAndStop(1);
buto7._y = b7y;
buto7._x = b7x;
} else if (_ymouse > (b7y + 5)) {
body.gotoAndStop(2);
buto7._y = b7y + 5;
buto7._x = b7x + 2;
if ((tit == 0) | (tit == 1)) {
aanS.start(0, 1);
}
tit = -1;
} else if (_ymouse < (b7y - 5)) {
body.gotoAndStop(3);
buto7._y = b7y - 5;
buto7._x = b7x + 2;
if ((tit == 0) | (tit == -1)) {
aanS.start(0, 1);
}
tit = 1;
}
} else {
if (body._currentframe != 1) {
body.play();
buto7._y = b7y;
buto7._x = b7x;
}
if (hp == false) {
head.gotoAndPlay("fase2");
hp = true;
}
}
}
_focusrect = false;
Stage.showMenu = false;
var aanS = new Sound();
aanS.attachSound("aan");
stopAllSounds();
var pre = false;
var cloIn;
var cloUp = true;
var b7y = buto7._y;
var b7x = buto7._x;
var hp = false;
var tit = 0;
var ccount = 0;
buto2.enabled = false;
buto3.enabled = false;
buto4.enabled = false;
buto5.enabled = false;
buto6.enabled = false;
buto7.enabled = false;
pant.enabled = false;
under.enabled = false;
buto1.onRelease = function () {
clothes.gotoAndStop(2);
buto2.enabled = true;
this.swapDepths(1);
this.removeMovieClip(buto1);
};
buto2.onRelease = function () {
clothes.gotoAndStop(3);
buto3.enabled = true;
this.swapDepths(1);
this.removeMovieClip();
};
buto3.onRelease = function () {
clothes.gotoAndStop(4);
buto4.enabled = true;
cloIn = setInterval(clo, 100);
this.swapDepths(1);
this.removeMovieClip(_parent);
};
buto4.onPress = function () {
pre = true;
};
buto4.onRelease = function () {
pre = false;
};
buto4.onReleaseOutside = function () {
pre = false;
};
buto5.onPress = function () {
pre = true;
};
buto5.onRelease = function () {
pre = false;
};
buto5.onReleaseOutside = function () {
pre = false;
};
buto6.onPress = function () {
pre = true;
};
buto6.onRelease = function () {
pre = false;
};
buto6.onReleaseOutside = function () {
pre = false;
};
buto7.onPress = function () {
hp = false;
pre = true;
};
buto7.onRelease = function () {
hp = false;
pre = false;
};
buto7.onReleaseOutside = function () {
hp = false;
pre = false;
};
pant.onPress = function () {
ccount++;
if (ccount > 10) {
pant._visible = false;
folks._visible = false;
under.enabled = true;
}
};
under.onPress = function () {
ccount++;
if (ccount > 20) {
under.nextFrame();
under.enabled = false;
folks._visible = true;
folks.text = "This is really all!";
var _local1 = new TextFormat();
_local1.size = 25;
_local1.bold = true;
folks.setTextFormat(_local1);
}
};
Symbol 5 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 22
gotoAndPlay (2);
Symbol 66 MovieClip Frame 31
gotoAndPlay (23);