Combined Code
frame 1 {
if (this._framesloaded < this._totalframes) {
gotoAndPlay(1);
}
}
movieClip 15 {
frame 1 {
stop();
}
}
// unknown tag 88 length 171
// unknown tag 88 length 83
frame 4 {
sBell = new Sound(this);
sBell.attachSound('BellTone');
var nFaces = 1;
var nGloves = 1;
var nPanties = 1;
var nPants = 1;
var nStockings = 1;
var nTop = 1;
var nBG = 1;
var bAcc1On = false;
var bAcc2On = false;
var bAcc3On = false;
var bAcc4On = false;
var bAcc5On = false;
}
movieClip 32 {
frame 1 {
stop();
}
}
movieClip 37 {
frame 1 {
stop();
}
}
movieClip 48 {
frame 1 {
stop();
}
}
movieClip 51 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 60 {
frame 1 {
stop();
}
}
movieClip 71 {
frame 1 {
stop();
}
}
movieClip 86 {
frame 1 {
stop();
}
}
movieClip 95 {
frame 1 {
stop();
}
}
movieClip 98 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 101 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 104 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 107 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
// unknown tag 88 length 61
button 112 {
on (release) {
if (nFaces == 4) {
nFaces = 1;
} else {
++nFaces;
}
_root.Faces.gotoAndStop(nFaces);
_root.checkOutfit();
}
}
button 114 {
on (release) {
if (nFaces == 1) {
nFaces = 4;
} else {
--nFaces;
}
_root.Faces.gotoAndStop(nFaces);
_root.checkOutfit();
}
}
button 116 {
on (release) {
if (nTop == 1) {
nTop = 10;
} else {
--nTop;
}
_root.TopOver.gotoAndStop(nTop);
_root.TopUnder.gotoAndStop(nTop);
_root.checkOutfit();
}
}
button 118 {
on (release) {
if (nTop == 10) {
nTop = 1;
} else {
++nTop;
}
_root.TopOver.gotoAndStop(nTop);
_root.TopUnder.gotoAndStop(nTop);
_root.checkOutfit();
}
}
button 119 {
on (release) {
if (nGloves == 1) {
nGloves = 6;
} else {
--nGloves;
}
_root.Gloves.gotoAndStop(nGloves);
_root.checkOutfit();
}
}
button 120 {
on (release) {
if (nGloves == 6) {
nGloves = 1;
} else {
++nGloves;
}
_root.Gloves.gotoAndStop(nGloves);
_root.checkOutfit();
}
}
button 121 {
on (release) {
if (nPants == 1) {
nPants = 5;
} else {
--nPants;
}
_root.Pants.gotoAndStop(nPants);
_root.checkOutfit();
}
}
button 122 {
on (release) {
if (nPants == 5) {
nPants = 1;
} else {
++nPants;
}
_root.Pants.gotoAndStop(nPants);
_root.checkOutfit();
}
}
button 123 {
on (release) {
if (nPanties == 1) {
nPanties = 6;
} else {
--nPanties;
}
_root.Panties.gotoAndStop(nPanties);
_root.checkOutfit();
}
}
button 124 {
on (release) {
if (nPanties == 6) {
nPanties = 1;
} else {
++nPanties;
}
_root.Panties.gotoAndStop(nPanties);
_root.checkOutfit();
}
}
button 125 {
on (release) {
if (nStockings == 1) {
nStockings = 6;
} else {
--nStockings;
}
_root.Stockings.gotoAndStop(nStockings);
_root.checkOutfit();
}
}
button 126 {
on (release) {
if (nStockings == 6) {
nStockings = 1;
} else {
++nStockings;
}
_root.Stockings.gotoAndStop(nStockings);
_root.checkOutfit();
}
}
button 127 {
on (release) {
if (nBG == 1) {
nBG = 8;
} else {
--nBG;
}
_root.Background.gotoAndStop(nBG);
_root.checkOutfit();
}
}
button 128 {
on (release) {
if (nBG == 8) {
nBG = 1;
} else {
++nBG;
}
_root.Background.gotoAndStop(nBG);
_root.checkOutfit();
}
}
button 130 {
on (release) {
_root.Acc1View.play();
}
}
movieClip 131 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 133 {
on (release) {
_root.Acc3View.play();
}
}
movieClip 134 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 136 {
on (release) {
_root.Acc2View.play();
}
}
movieClip 137 {
frame 1 {
stop();
}
}
button 139 {
on (release) {
_root.Acc4View.play();
}
}
movieClip 140 {
frame 1 {
stop();
}
}
button 142 {
on (release) {
_root.Acc5View.play();
}
}
movieClip 143 {
frame 1 {
stop();
}
}
frame 5 {
function checkOutfit() {
if (bAcc1On == false && nBG == 5 && nGloves == 4 && nPanties == 6 && nPants == 1 && nStockings == 5 && nTop == 9) {
bAcc1On = true;
_root.Acc1But.gotoAndStop(2);
sBell.start(0, 0);
}
if (bAcc2On == false && nBG == 3 && nGloves == 6 && nPants == 4 && nStockings == 3 && nTop == 7) {
bAcc2On = true;
_root.Acc2But.gotoAndStop(2);
sBell.start(0, 0);
}
if (bAcc3On == false && nGloves == 2 && nTop == 2 && nPants == 1 && nStockings == 2 && nPanties == 2 && nBG == 1) {
bAcc3On = true;
_root.Acc3But.gotoAndStop(2);
sBell.start(0, 0);
}
if (bAcc4On == false && nFaces == 3 && nBG == 4 && nGloves == 3 && nPanties == 5 && nPants == 1 && nStockings == 4 && nTop == 8) {
bAcc4On = true;
_root.Acc4But.gotoAndStop(2);
sBell.start(0, 0);
}
if (bAcc5On == false && nBG == 6 && nGloves == 5 && nPanties == 4 && nPants == 1 && nStockings == 1 && nTop == 5) {
bAcc5On = true;
_root.Acc5But.gotoAndStop(2);
sBell.start(0, 0);
}
}
stop();
}