Frame 1
stop();
Frame 2
_root.b1._visible = 0;
var choix = 0;
i = 0;
while (i < 9) {
if (_root["hair" + i]._x <= 400) {
_root["hair" + i]._x = _root["hair" + i]._x + 1000;
}
i++;
}
stop();
Symbol 17 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 21 MovieClip Frame 30
stop();
Symbol 36 Button
on (press) {
startDrag (bottom2);
bottom2._alpha = 80;
}
on (release) {
stopDrag();
bottom2._alpha = 100;
if (choix == 3) {
if (bottom2._x <= 400) {
bottom2._x = 130;
bottom2._y = 150;
}
} else {
bottom2._x = -1070;
bottom2._y = 150;
}
}
Symbol 38 Button
on (press) {
startDrag (bottom1);
bottom1._alpha = 80;
}
on (release) {
stopDrag();
bottom1._alpha = 100;
if (choix == 3) {
if (bottom1._x <= 400) {
bottom1._x = 50;
bottom1._y = 150;
}
} else {
bottom1._x = -1150;
bottom1._y = 150;
}
}
Symbol 40 Button
on (press) {
startDrag (bottom3);
bottom3._alpha = 80;
}
on (release) {
stopDrag();
bottom3._alpha = 100;
if (choix == 3) {
if (bottom3._x <= 400) {
bottom3._x = 200;
bottom3._y = 150;
}
} else {
bottom3._x = -1000;
bottom3._y = 150;
}
}
Symbol 42 Button
on (press) {
startDrag (bottom4);
bottom4._alpha = 80;
}
on (release) {
stopDrag();
bottom4._alpha = 100;
if (choix == 3) {
if (bottom4._x <= 400) {
bottom4._x = 70;
bottom4._y = 320;
}
} else {
bottom4._x = -1130;
bottom4._y = 320;
}
}
Symbol 46 Button
on (press) {
startDrag (bottom5);
bottom5._alpha = 80;
}
on (release) {
stopDrag();
bottom5._alpha = 100;
if (choix == 3) {
if (bottom5._x <= 400) {
bottom5._x = 130;
bottom5._y = 320;
}
} else {
bottom5._x = -1070;
bottom5._y = 320;
}
}
Symbol 48 Button
on (press) {
startDrag (bottom6);
bottom6._alpha = 80;
}
on (release) {
stopDrag();
bottom6._alpha = 100;
if (choix == 3) {
if (bottom6._x <= 400) {
bottom6._x = 190;
bottom6._y = 320;
}
} else {
bottom6._x = -1010;
bottom6._y = 320;
}
}
Symbol 50 Button
on (press) {
startDrag (bottom7);
bottom7._alpha = 80;
}
on (release) {
stopDrag();
bottom7._alpha = 100;
if (choix == 3) {
if (bottom7._x <= 400) {
bottom7._x = 90;
bottom7._y = 482;
}
} else {
bottom7._x = -1110;
bottom7._y = 482;
}
}
Symbol 52 Button
on (press) {
startDrag (bottom6);
bottom6._alpha = 80;
}
on (release) {
stopDrag();
bottom6._alpha = 100;
if (choix == 3) {
if (bottom6._x <= 400) {
bottom6._x = 150;
bottom6._y = 482;
}
} else {
bottom6._x = -1050;
bottom6._y = 482;
}
}
Symbol 54 Button
on (press) {
startDrag (top1);
top1._alpha = 80;
}
on (release) {
stopDrag();
top1._alpha = 100;
if (choix == 1) {
if (top1._x <= 400) {
top1._x = 50;
top1._y = 150;
}
} else {
top1._x = -350;
top1._y = 150;
}
}
Symbol 56 Button
on (press) {
startDrag (top2);
top2._alpha = 80;
}
on (release) {
stopDrag();
top2._alpha = 100;
if (choix == 1) {
if (top2._x <= 400) {
top2._x = 110;
top2._y = 150;
}
} else {
top2._x = -290;
top2._y = 150;
}
}
Symbol 58 Button
on (press) {
startDrag (top3);
top3._alpha = 80;
}
on (release) {
stopDrag();
top3._alpha = 100;
if (choix == 1) {
if (top3._x <= 400) {
top3._x = 170;
top3._y = 150;
}
} else {
top3._x = -230;
top3._y = 150;
}
}
Symbol 60 Button
on (press) {
startDrag (top4);
top4._alpha = 80;
}
on (release) {
stopDrag();
top4._alpha = 100;
if (choix == 1) {
if (top4._x <= 400) {
top4._x = 230;
top4._y = 150;
}
} else {
top4._x = -170;
top4._y = 150;
}
}
Symbol 62 Button
on (press) {
startDrag (top5);
top5._alpha = 80;
}
on (release) {
stopDrag();
top5._alpha = 100;
if (choix == 1) {
if (top5._x <= 400) {
top5._x = 50;
top5._y = 250;
}
} else {
top5._x = -350;
top5._y = 250;
}
}
Symbol 64 Button
on (press) {
startDrag (top6);
top6._alpha = 80;
}
on (release) {
stopDrag();
top6._alpha = 100;
if (choix == 1) {
if (top6._x <= 400) {
top6._x = 110;
top6._y = 250;
}
} else {
top6._x = -290;
top6._y = 250;
}
}
Symbol 68 Button
on (press) {
startDrag (top7);
top7._alpha = 80;
}
on (release) {
stopDrag();
top7._alpha = 100;
if (choix == 1) {
if (top7._x <= 400) {
top7._x = 170;
top7._y = 250;
}
} else {
top7._x = -230;
top7._y = 250;
}
}
Symbol 70 Button
on (press) {
startDrag (top8);
top8._alpha = 80;
}
on (release) {
stopDrag();
top8._alpha = 100;
if (choix == 1) {
if (top8._x <= 400) {
top8._x = 230;
top8._y = 250;
}
} else {
top8._x = -170;
top8._y = 250;
}
}
Symbol 72 Button
on (press) {
startDrag (top9);
top9._alpha = 80;
}
on (release) {
stopDrag();
top9._alpha = 100;
if (choix == 1) {
if (top9._x <= 400) {
top9._x = 100;
top9._y = 350;
}
} else {
top9._x = -300;
top9._y = 350;
}
}
Symbol 74 Button
on (press) {
startDrag (top10);
top10._alpha = 80;
}
on (release) {
stopDrag();
top10._alpha = 100;
if (choix == 1) {
if (top10._x <= 400) {
top10._x = 160;
top10._y = 350;
}
} else {
top10._x = -240;
top10._y = 350;
}
}
Symbol 76 Button
on (press) {
startDrag (shoes1);
shoes1._alpha = 80;
}
on (release) {
stopDrag();
shoes1._alpha = 100;
if (choix == 2) {
if (shoes1._x <= 400) {
shoes1._x = 50;
shoes1._y = 150;
}
} else {
shoes1._x = -550;
shoes1._y = 150;
}
}
Symbol 78 Button
on (press) {
startDrag (shoes2);
shoes2._alpha = 80;
}
on (release) {
stopDrag();
shoes2._alpha = 100;
if (choix == 2) {
if (shoes2._x <= 400) {
shoes2._x = 100;
shoes2._y = 150;
}
} else {
shoes2._x = -500;
shoes2._y = 150;
}
}
Symbol 80 Button
on (press) {
startDrag (shoes3);
shoes3._alpha = 80;
}
on (release) {
stopDrag();
shoes3._alpha = 100;
if (choix == 2) {
if (shoes3._x <= 400) {
shoes3._x = 150;
shoes3._y = 150;
}
} else {
shoes3._x = -450;
shoes3._y = 150;
}
}
Symbol 82 Button
on (press) {
startDrag (shoes4);
shoes4._alpha = 80;
}
on (release) {
stopDrag();
shoes4._alpha = 100;
if (choix == 2) {
if (shoes4._x <= 400) {
shoes4._x = 50;
shoes4._y = 265;
}
} else {
shoes4._x = -550;
shoes4._y = 265;
}
}
Symbol 84 Button
on (press) {
startDrag (shoes5);
shoes5._alpha = 80;
}
on (release) {
stopDrag();
shoes5._alpha = 100;
if (choix == 2) {
if (shoes5._x <= 400) {
shoes5._x = 170;
shoes5._y = 265;
}
} else {
shoes5._x = -430;
shoes5._y = 265;
}
}
Symbol 86 Button
on (press) {
startDrag (shoes6);
shoes6._alpha = 80;
}
on (release) {
stopDrag();
shoes6._alpha = 100;
if (choix == 2) {
if (shoes6._x <= 400) {
shoes6._x = 50;
shoes6._y = 390;
}
} else {
shoes6._x = -550;
shoes6._y = 390;
}
}
Symbol 88 Button
on (press) {
startDrag (shoes7);
shoes7._alpha = 80;
}
on (release) {
stopDrag();
shoes7._alpha = 100;
if (choix == 2) {
if (shoes7._x <= 400) {
shoes7._x = 170;
shoes7._y = 390;
}
} else {
shoes7._x = -430;
shoes7._y = 390;
}
}
Symbol 91 Button
on (press) {
_parent.hair3.startDrag();
_parent.hair3._alpha = 80;
}
on (release, releaseOutside) {
_parent.hair3._alpha = 100;
stopDrag();
if (_parent.choix == 0) {
if (_parent.hair3._x <= 400) {
_parent.hair3._x = 150;
_parent.hair3._y = 320;
}
} else {
_parent.hair3._x = -850;
_parent.hair3._y = 320;
}
}
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
stop();
Symbol 97 MovieClip Frame 3
stop();
Symbol 97 MovieClip Frame 4
stop();
Symbol 100 Button
on (press) {
_parent.hair2.startDrag();
_parent.hair2._alpha = 80;
}
on (release, releaseOutside) {
_parent.hair2._alpha = 100;
stopDrag();
if (_parent.choix == 0) {
if (_parent.hair2._x <= 400) {
_parent.hair2._x = 250;
_parent.hair2._y = 150;
}
} else {
_parent.hair2._x = -750;
_parent.hair2._y = 150;
}
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 104 MovieClip Frame 3
stop();
Symbol 104 MovieClip Frame 4
stop();
Symbol 107 Button
on (press) {
_parent.hair4.startDrag();
_parent.hair4._alpha = 80;
}
on (release, releaseOutside) {
_parent.hair4._alpha = 100;
stopDrag();
if (_parent.choix == 0) {
if (_parent.hair4._x <= 400) {
_parent.hair4._x = 250;
_parent.hair4._y = 320;
}
} else {
_parent.hair4._x = -750;
_parent.hair4._y = 320;
}
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 111 MovieClip Frame 3
stop();
Symbol 111 MovieClip Frame 4
stop();
Symbol 114 Button
on (press) {
_parent.hair1.startDrag();
_parent.hair1._alpha = 80;
}
on (release, releaseOutside) {
_parent.hair1._alpha = 100;
stopDrag();
if (_parent.choix == 0) {
if (_parent.hair1._x <= 400) {
_parent.hair1._x = 150;
_parent.hair1._y = 150;
}
} else {
_parent.hair1._x = -850;
_parent.hair1._y = 150;
}
}
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
stop();
Symbol 118 MovieClip Frame 3
stop();
Symbol 118 MovieClip Frame 4
stop();
Symbol 123 Button
on (release) {
_root.hair1.gotoAndStop(1);
_root.hair2.gotoAndStop(1);
_root.hair3.gotoAndStop(1);
_root.hair4.gotoAndStop(1);
}
Symbol 126 Button
on (release) {
_root.hair1.gotoAndStop(2);
_root.hair2.gotoAndStop(2);
_root.hair3.gotoAndStop(2);
_root.hair4.gotoAndStop(2);
}
Symbol 129 Button
on (release) {
_root.hair1.gotoAndStop(3);
_root.hair2.gotoAndStop(3);
_root.hair3.gotoAndStop(3);
_root.hair4.gotoAndStop(3);
}
Symbol 132 Button
on (release) {
_root.hair1.gotoAndStop(4);
_root.hair2.gotoAndStop(4);
_root.hair3.gotoAndStop(4);
_root.hair4.gotoAndStop(4);
}
Symbol 135 Button
on (release) {
_root.b1._visible = 0;
_root.b2._visible = 1;
_root.b3._visible = 1;
_root.b4._visible = 1;
_root.b5._visible = 1;
if (choix == 1) {
k = 1;
while (k < 11) {
if (_root["top" + k]._x <= 400) {
_root["top" + k]._x = _root["top" + k]._x - 400;
}
k++;
}
}
if (choix == 3) {
k = 1;
while (k < 9) {
if (_root["bottom" + k]._x <= 400) {
_root["bottom" + k]._x = _root["bottom" + k]._x - 1200;
}
k++;
}
}
if (choix == 2) {
k = 1;
while (k < 9) {
if (_root["shoes" + k]._x <= 400) {
_root["shoes" + k]._x = _root["shoes" + k]._x - 600;
}
k++;
}
}
if (choix == 5) {
k = 1;
while (k < 8) {
if (_root["acc" + k]._x <= 400) {
_root["acc" + k]._x = _root["acc" + k]._x - 1500;
}
k++;
}
}
i = 0;
while (i < 9) {
if (_root["hair" + i]._x <= 400) {
_root["hair" + i]._x = _root["hair" + i]._x + 1000;
}
i++;
}
choix = 0;
}
Symbol 137 Button
on (release) {
_root.b2._visible = 0;
_root.b1._visible = 1;
_root.b3._visible = 1;
_root.b4._visible = 1;
_root.b5._visible = 1;
if (choix == 0) {
i = 0;
while (i < 9) {
if (_root["hair" + i]._x <= 400) {
_root["hair" + i]._x = _root["hair" + i]._x - 1000;
}
i++;
}
}
if (choix == 3) {
k = 1;
while (k < 9) {
if (_root["bottom" + k]._x <= 400) {
_root["bottom" + k]._x = _root["bottom" + k]._x - 1200;
}
k++;
}
}
if (choix == 2) {
k = 1;
while (k < 9) {
if (_root["shoes" + k]._x <= 400) {
_root["shoes" + k]._x = _root["shoes" + k]._x - 600;
}
k++;
}
}
if (choix == 5) {
k = 1;
while (k < 8) {
if (_root["acc" + k]._x <= 400) {
_root["acc" + k]._x = _root["acc" + k]._x - 1500;
}
k++;
}
}
k = 1;
while (k < 11) {
if (_root["top" + k]._x <= 400) {
_root["top" + k]._x = _root["top" + k]._x + 400;
}
k++;
}
choix = 1;
}
Symbol 139 Button
on (release) {
_root.b1._visible = 1;
_root.b2._visible = 1;
_root.b3._visible = 0;
_root.b4._visible = 1;
_root.b5._visible = 1;
if (choix == 0) {
i = 0;
while (i < 9) {
if (_root["hair" + i]._x <= 400) {
_root["hair" + i]._x = _root["hair" + i]._x - 1000;
}
i++;
}
}
if (choix == 1) {
k = 1;
while (k < 11) {
if (_root["top" + k]._x <= 400) {
_root["top" + k]._x = _root["top" + k]._x - 400;
}
k++;
}
}
if (choix == 2) {
k = 1;
while (k < 9) {
if (_root["shoes" + k]._x <= 400) {
_root["shoes" + k]._x = _root["shoes" + k]._x - 600;
}
k++;
}
}
if (choix == 5) {
k = 1;
while (k < 8) {
if (_root["acc" + k]._x <= 400) {
_root["acc" + k]._x = _root["acc" + k]._x - 1500;
}
k++;
}
}
i = 0;
while (i < 9) {
if (_root["bottom" + i]._x <= 400) {
_root["bottom" + i]._x = _root["bottom" + i]._x + 1200;
}
i++;
}
choix = 3;
}
Symbol 141 Button
on (release) {
_root.b1._visible = 1;
_root.b2._visible = 1;
_root.b3._visible = 1;
_root.b4._visible = 0;
_root.b5._visible = 1;
if (choix == 0) {
i = 0;
while (i < 9) {
if (_root["hair" + i]._x <= 400) {
_root["hair" + i]._x = _root["hair" + i]._x - 1000;
}
i++;
}
}
if (choix == 1) {
k = 1;
while (k < 11) {
if (_root["top" + k]._x <= 400) {
_root["top" + k]._x = _root["top" + k]._x - 400;
}
k++;
}
}
if (choix == 3) {
k = 1;
while (k < 9) {
if (_root["bottom" + k]._x <= 400) {
_root["bottom" + k]._x = _root["bottom" + k]._x - 1200;
}
k++;
}
}
if (choix == 5) {
k = 1;
while (k < 8) {
if (_root["acc" + k]._x <= 400) {
_root["acc" + k]._x = _root["acc" + k]._x - 1500;
}
k++;
}
}
k = 1;
while (k < 9) {
if (_root["shoes" + k]._x <= 400) {
_root["shoes" + k]._x = _root["shoes" + k]._x + 600;
}
k++;
}
choix = 2;
}
Symbol 144 Button
on (press) {
startDrag (acc1);
acc1._alpha = 80;
}
on (release) {
stopDrag();
acc1._alpha = 100;
if (choix == 5) {
if (acc1._x <= 400) {
acc1._x = 50;
acc1._y = 150;
}
} else {
acc1._x = -1450;
acc1._y = 150;
}
}
Symbol 146 Button
on (press) {
startDrag (acc2);
acc2._alpha = 80;
}
on (release) {
stopDrag();
acc2._alpha = 100;
if (choix == 5) {
if (acc2._x <= 400) {
acc2._x = 150;
acc2._y = 150;
}
} else {
acc2._x = -1350;
acc2._y = 150;
}
}
Symbol 148 Button
on (press) {
startDrag (acc3);
acc3._alpha = 80;
}
on (release) {
stopDrag();
acc3._alpha = 100;
if (choix == 5) {
if (acc3._x <= 400) {
acc3._x = 230;
acc3._y = 150;
}
} else {
acc3._x = -1270;
acc3._y = 150;
}
}
Symbol 150 Button
on (press) {
startDrag (acc5);
acc5._alpha = 80;
}
on (release) {
stopDrag();
acc5._alpha = 100;
if (choix == 5) {
if (acc5._x <= 400) {
acc5._x = 60;
acc5._y = 400;
}
} else {
acc5._x = -1440;
acc5._y = 400;
}
}
Symbol 152 Button
on (press) {
startDrag (acc6);
acc6._alpha = 80;
}
on (release) {
stopDrag();
acc6._alpha = 100;
if (choix == 5) {
if (acc6._x <= 400) {
acc6._x = 120;
acc6._y = 400;
}
} else {
acc6._x = -1380;
acc6._y = 400;
}
}
Symbol 154 Button
on (press) {
startDrag (acc7);
acc7._alpha = 80;
}
on (release) {
stopDrag();
acc7._alpha = 100;
if (choix == 5) {
if (acc7._x <= 400) {
acc7._x = 180;
acc7._y = 400;
}
} else {
acc7._x = -1320;
acc7._y = 400;
}
}
Symbol 161 Button
on (press) {
startDrag (acc4);
acc4._alpha = 80;
}
on (release) {
stopDrag();
acc4._alpha = 100;
if (choix == 5) {
if (acc4._x <= 400) {
acc4._x = 50;
acc4._y = 280;
}
} else {
acc4._x = -1450;
acc4._y = 280;
}
}
Symbol 162 Button
on (release) {
_root.b1._visible = 1;
_root.b2._visible = 1;
_root.b3._visible = 1;
_root.b4._visible = 1;
_root.b5._visible = 0;
if (choix == 0) {
i = 0;
while (i < 9) {
if (_root["hair" + i]._x <= 400) {
_root["hair" + i]._x = _root["hair" + i]._x - 1000;
}
i++;
}
}
if (choix == 1) {
k = 1;
while (k < 11) {
if (_root["top" + k]._x <= 400) {
_root["top" + k]._x = _root["top" + k]._x - 400;
}
k++;
}
}
if (choix == 2) {
k = 1;
while (k < 9) {
if (_root["shoes" + k]._x <= 400) {
_root["shoes" + k]._x = _root["shoes" + k]._x - 600;
}
k++;
}
}
if (choix == 3) {
k = 1;
while (k < 9) {
if (_root["bottom" + k]._x <= 400) {
_root["bottom" + k]._x = _root["bottom" + k]._x - 1200;
}
k++;
}
}
k = 1;
while (k < 8) {
if (_root["acc" + k]._x <= 400) {
_root["acc" + k]._x = _root["acc" + k]._x + 1500;
}
k++;
}
choix = 5;
}
Symbol 167 Button
on (press) {
startDrag (hair6);
hair6._alpha = 80;
}
on (release) {
stopDrag();
hair6._alpha = 100;
if (choix == 0) {
if (hair6._x <= 400) {
hair6._x = 50;
hair6._y = 470;
}
} else {
hair6._x = -950;
hair6._y = 470;
}
}
Symbol 169 Button
on (press) {
startDrag (hair7);
hair7._alpha = 80;
}
on (release) {
stopDrag();
hair7._alpha = 100;
if (choix == 0) {
if (hair7._x <= 400) {
hair7._x = 150;
hair7._y = 470;
}
} else {
hair7._x = -850;
hair7._y = 470;
}
}
Symbol 171 Button
on (press) {
startDrag (hair8);
hair8._alpha = 80;
}
on (release) {
stopDrag();
hair8._alpha = 100;
if (choix == 0) {
if (hair8._x <= 400) {
hair8._x = 250;
hair8._y = 470;
}
} else {
hair8._x = -750;
hair8._y = 470;
}
}