Frame 1
function showArm() {
arm1._visible = true;
arm2._visible = true;
arm3._visible = true;
arm4._visible = true;
arm5._visible = true;
}
function showBody() {
body1._visible = true;
body2._visible = true;
body3._visible = true;
body4._visible = true;
body5._visible = true;
}
function showGroin() {
groin1._visible = true;
groin2._visible = true;
groin3._visible = true;
groin4._visible = true;
groin5._visible = true;
}
Instance of Symbol 31 MovieClip "body1" in Frame 1
onClipEvent (load) {
startx = 90;
starty = 210;
_x = startx;
_y = starty;
count = 100;
area = "/body";
newClothes = 2;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 32 MovieClip "body4" in Frame 1
onClipEvent (load) {
startx = 90;
starty = 230;
_x = startx;
_y = starty;
count = 100;
area = "/body";
newClothes = 5;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 33 MovieClip "body2" in Frame 1
onClipEvent (load) {
startx = 120;
starty = 210;
_x = startx;
_y = starty;
count = 100;
area = "/body";
newClothes = 3;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 34 MovieClip "body5" in Frame 1
onClipEvent (load) {
startx = 120;
starty = 230;
_x = startx;
_y = starty;
count = 100;
area = "/body";
newClothes = 6;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 35 MovieClip "body3" in Frame 1
onClipEvent (load) {
startx = 105;
starty = 220;
_x = startx;
_y = starty;
count = 100;
area = "/body";
newClothes = 4;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 37 MovieClip "arm1" in Frame 1
onClipEvent (load) {
startx = 55;
starty = 50;
_x = startx;
_y = starty;
count = 100;
area = "/arm";
newItems = 2;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 38 MovieClip "arm2" in Frame 1
onClipEvent (load) {
startx = 85;
starty = 50;
_x = startx;
_y = starty;
count = 100;
area = "/arm";
newItems = 3;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 39 MovieClip "arm3" in Frame 1
onClipEvent (load) {
startx = 70;
starty = 60;
_x = startx;
_y = starty;
count = 100;
area = "/arm";
newItems = 4;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 40 MovieClip "arm4" in Frame 1
onClipEvent (load) {
startx = 55;
starty = 70;
_x = startx;
_y = starty;
count = 100;
area = "/arm";
newItems = 5;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 41 MovieClip "arm5" in Frame 1
onClipEvent (load) {
startx = 85;
starty = 70;
_x = startx;
_y = starty;
count = 100;
area = "/arm";
newItems = 6;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 43 MovieClip "groin1" in Frame 1
onClipEvent (load) {
startx = 220;
starty = 470;
_x = startx;
_y = starty;
count = 100;
area = "/groin";
newPants = 2;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 44 MovieClip "groin2" in Frame 1
onClipEvent (load) {
startx = 250;
starty = 470;
_x = startx;
_y = starty;
count = 100;
area = "/groin";
newPants = 3;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 45 MovieClip "groin3" in Frame 1
onClipEvent (load) {
startx = 235;
starty = 480;
_x = startx;
_y = starty;
count = 100;
area = "/groin";
newPants = 4;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 46 MovieClip "groin4" in Frame 1
onClipEvent (load) {
startx = 220;
starty = 490;
_x = startx;
_y = starty;
count = 100;
area = "/groin";
newPants = 5;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Instance of Symbol 47 MovieClip "groin5" in Frame 1
onClipEvent (load) {
startx = 250;
starty = 490;
_x = startx;
_y = starty;
count = 100;
area = "/groin";
newPants = 6;
}
onClipEvent (enterFrame) {
if ((count < 20) && (!dragging)) {
_x = (_x + dx);
_y = (_y + dy);
}
count++;
}
Symbol 10 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 30 Button
on (press) {
startDrag ("");
dragging = true;
count = 100;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
if (_droptarget == area) {
_root.showBody();
_visible = false;
_x = startx;
_y = starty;
_root.clothes.gotoAndStop(newClothes);
} else {
dx = (startx - _x) / 20;
dy = (starty - _y) / 20;
count = 0;
}
}
Symbol 36 Button
on (press) {
startDrag ("");
dragging = true;
count = 100;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
if (_droptarget == area) {
_root.showArm();
_visible = false;
_x = startx;
_y = starty;
_root.items.gotoAndStop(newItems);
} else {
dx = (startx - _x) / 20;
dy = (starty - _y) / 20;
count = 0;
}
}
Symbol 42 Button
on (press) {
startDrag ("");
dragging = true;
count = 100;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
if (_droptarget == area) {
_root.showGroin();
_visible = false;
_x = startx;
_y = starty;
_root.pants.gotoAndStop(newPants);
} else {
dx = (startx - _x) / 20;
dy = (starty - _y) / 20;
count = 0;
}
}