Frame 1
Stage.showMenu = false;
Frame 342
small = new Sound();
small.attachSound("small");
large = new Sound();
large.attachSound("large");
function openCase() {
if (pickedcase == 1) {
_root.opening.openedcase.blocknumber = _root.case1.blocknumber;
_root.checkamount = _root.case1.checkamount;
_root.tempvalue = _root.case1.dollaramount;
_root.opening.dollaramount = "$" + _root.case1.dollaramount;
_root.opening.play();
} else if (pickedcase == 2) {
_root.opening.openedcase.blocknumber = _root.case2.blocknumber;
_root.checkamount = _root.case2.checkamount;
_root.tempvalue = _root.case2.dollaramount;
_root.opening.dollaramount = "$" + _root.case2.dollaramount;
_root.opening.play();
} else if (pickedcase == 3) {
_root.opening.openedcase.blocknumber = _root.case3.blocknumber;
_root.checkamount = _root.case3.checkamount;
_root.tempvalue = _root.case3.dollaramount;
_root.opening.dollaramount = "$" + _root.case3.dollaramount;
_root.opening.play();
} else if (pickedcase == 4) {
_root.opening.openedcase.blocknumber = _root.case4.blocknumber;
_root.checkamount = _root.case4.checkamount;
_root.tempvalue = _root.case4.dollaramount;
_root.opening.dollaramount = "$" + _root.case4.dollaramount;
_root.opening.play();
} else if (pickedcase == 5) {
_root.opening.openedcase.blocknumber = _root.case5.blocknumber;
_root.checkamount = _root.case5.checkamount;
_root.tempvalue = _root.case5.dollaramount;
_root.opening.dollaramount = "$" + _root.case5.dollaramount;
_root.opening.play();
} else if (pickedcase == 6) {
_root.opening.openedcase.blocknumber = _root.case6.blocknumber;
_root.checkamount = _root.case6.checkamount;
_root.tempvalue = _root.case6.dollaramount;
_root.opening.dollaramount = "$" + _root.case6.dollaramount;
_root.opening.play();
} else if (pickedcase == 7) {
_root.opening.openedcase.blocknumber = _root.case7.blocknumber;
_root.checkamount = _root.case7.checkamount;
_root.tempvalue = _root.case7.dollaramount;
_root.opening.dollaramount = "$" + _root.case7.dollaramount;
_root.opening.play();
} else if (pickedcase == 8) {
_root.opening.openedcase.blocknumber = _root.case8.blocknumber;
_root.checkamount = _root.case8.checkamount;
_root.tempvalue = _root.case8.dollaramount;
_root.opening.dollaramount = "$" + _root.case8.dollaramount;
_root.opening.play();
} else if (pickedcase == 9) {
_root.opening.openedcase.blocknumber = _root.case9.blocknumber;
_root.checkamount = _root.case9.checkamount;
_root.tempvalue = _root.case9.dollaramount;
_root.opening.dollaramount = "$" + _root.case9.dollaramount;
_root.opening.play();
} else if (pickedcase == 10) {
_root.opening.openedcase.blocknumber = _root.case10.blocknumber;
_root.checkamount = _root.case10.checkamount;
_root.tempvalue = _root.case10.dollaramount;
_root.opening.dollaramount = "$" + _root.case10.dollaramount;
_root.opening.play();
} else if (pickedcase == 11) {
_root.opening.openedcase.blocknumber = _root.case11.blocknumber;
_root.checkamount = _root.case11.checkamount;
_root.tempvalue = _root.case11.dollaramount;
_root.opening.dollaramount = "$" + _root.case11.dollaramount;
_root.opening.play();
} else if (pickedcase == 12) {
_root.opening.openedcase.blocknumber = _root.case12.blocknumber;
_root.checkamount = _root.case12.checkamount;
_root.tempvalue = _root.case12.dollaramount;
_root.opening.dollaramount = "$" + _root.case12.dollaramount;
_root.opening.play();
} else if (pickedcase == 13) {
_root.opening.openedcase.blocknumber = _root.case13.blocknumber;
_root.checkamount = _root.case13.checkamount;
_root.tempvalue = _root.case13.dollaramount;
_root.opening.dollaramount = "$" + _root.case13.dollaramount;
_root.opening.play();
} else if (pickedcase == 14) {
_root.opening.openedcase.blocknumber = _root.case14.blocknumber;
_root.checkamount = _root.case14.checkamount;
_root.tempvalue = _root.case14.dollaramount;
_root.opening.dollaramount = "$" + _root.case14.dollaramount;
_root.opening.play();
} else if (pickedcase == 15) {
_root.opening.openedcase.blocknumber = _root.case15.blocknumber;
_root.checkamount = _root.case15.checkamount;
_root.tempvalue = _root.case15.dollaramount;
_root.opening.dollaramount = "$" + _root.case15.dollaramount;
_root.opening.play();
} else if (pickedcase == 16) {
_root.opening.openedcase.blocknumber = _root.case16.blocknumber;
_root.checkamount = _root.case16.checkamount;
_root.tempvalue = _root.case16.dollaramount;
_root.opening.dollaramount = "$" + _root.case16.dollaramount;
_root.opening.play();
} else if (pickedcase == 17) {
_root.opening.openedcase.blocknumber = _root.case17.blocknumber;
_root.checkamount = _root.case17.checkamount;
_root.tempvalue = _root.case17.dollaramount;
_root.opening.dollaramount = "$" + _root.case17.dollaramount;
_root.opening.play();
} else if (pickedcase == 18) {
_root.opening.openedcase.blocknumber = _root.case18.blocknumber;
_root.checkamount = _root.case18.checkamount;
_root.tempvalue = _root.case18.dollaramount;
_root.opening.dollaramount = "$" + _root.case18.dollaramount;
_root.opening.play();
} else if (pickedcase == 19) {
_root.opening.openedcase.blocknumber = _root.case19.blocknumber;
_root.checkamount = _root.case19.checkamount;
_root.tempvalue = _root.case19.dollaramount;
_root.opening.dollaramount = "$" + _root.case19.dollaramount;
_root.opening.play();
} else if (pickedcase == 20) {
_root.opening.openedcase.blocknumber = _root.case20.blocknumber;
_root.checkamount = _root.case20.checkamount;
_root.tempvalue = _root.case20.dollaramount;
_root.opening.dollaramount = "$" + _root.case20.dollaramount;
_root.opening.play();
} else if (pickedcase == 21) {
_root.opening.openedcase.blocknumber = _root.case21.blocknumber;
_root.checkamount = _root.case21.checkamount;
_root.tempvalue = _root.case21.dollaramount;
_root.opening.dollaramount = "$" + _root.case21.dollaramount;
_root.opening.play();
} else if (pickedcase == 22) {
_root.opening.openedcase.blocknumber = _root.case22.blocknumber;
_root.checkamount = _root.case22.checkamount;
_root.tempvalue = _root.case22.dollaramount;
_root.opening.dollaramount = "$" + _root.case22.dollaramount;
_root.opening.play();
} else if (pickedcase == 23) {
_root.opening.openedcase.blocknumber = _root.case23.blocknumber;
_root.checkamount = _root.case23.checkamount;
_root.tempvalue = _root.case23.dollaramount;
_root.opening.dollaramount = "$" + _root.case23.dollaramount;
_root.opening.play();
} else if (pickedcase == 24) {
_root.opening.openedcase.blocknumber = _root.case24.blocknumber;
_root.checkamount = _root.case24.checkamount;
_root.tempvalue = _root.case24.dollaramount;
_root.opening.dollaramount = "$" + _root.case24.dollaramount;
_root.opening.play();
} else if (pickedcase == 25) {
_root.opening.openedcase.blocknumber = _root.case25.blocknumber;
_root.checkamount = _root.case25.checkamount;
_root.tempvalue = _root.case25.dollaramount;
_root.opening.dollaramount = "$" + _root.case25.dollaramount;
_root.opening.play();
} else if (pickedcase == 26) {
_root.opening.openedcase.blocknumber = _root.case26.blocknumber;
_root.checkamount = _root.case26.checkamount;
_root.tempvalue = _root.case26.dollaramount;
_root.opening.dollaramount = "$" + _root.case26.dollaramount;
_root.opening.play();
}
}
function flipAmount() {
_root.opening.gotoAndStop(1);
if (_root.tempvalue == 0.01) {
_root.cent.play();
} else if (_root.tempvalue == 1) {
_root.one.play();
} else if (_root.tempvalue == 5) {
_root.five.play();
} else if (_root.tempvalue == 10) {
_root.ten.play();
} else if (_root.tempvalue == 25) {
_root.twentyfive.play();
} else if (_root.tempvalue == 50) {
_root.fifty.play();
} else if (_root.tempvalue == 75) {
_root.seventyfive.play();
} else if (_root.tempvalue == 100) {
_root.oneg.play();
} else if (_root.tempvalue == 200) {
_root.twog.play();
} else if (_root.tempvalue == 300) {
_root.threeg.play();
} else if (_root.tempvalue == 400) {
_root.fourg.play();
} else if (_root.tempvalue == 500) {
_root.fiveg.play();
} else if (_root.tempvalue == 750) {
_root.sevenfifty.play();
} else if (_root.tempvalue == 1000) {
_root.onek.play();
} else if (_root.tempvalue == 5000) {
_root.fivek.play();
} else if (_root.tempvalue == 10000) {
_root.tenk.play();
} else if (_root.tempvalue == 25000) {
_root.twentyfivek.play();
} else if (_root.tempvalue == 50000) {
_root.fiftyk.play();
} else if (_root.tempvalue == 75000) {
_root.seventyfivek.play();
} else if (_root.tempvalue == 100000) {
_root.hundredk.play();
} else if (_root.tempvalue == 200000) {
_root.twohundredk.play();
} else if (_root.tempvalue == 300000) {
_root.threehundredk.play();
} else if (_root.tempvalue == 400000) {
_root.fourhundredk.play();
} else if (_root.tempvalue == 500000) {
_root.fivehundredk.play();
} else if (_root.tempvalue == 750000) {
_root.sevenfiftyk.play();
} else if (_root.tempvalue == 1000000) {
_root.million.play();
}
}
function buttonDisabled() {
if (your_briefcase.blocknumber == 1) {
button1._visible = false;
} else if (your_briefcase.blocknumber == 2) {
button2._visible = false;
} else if (your_briefcase.blocknumber == 3) {
button3._visible = false;
} else if (your_briefcase.blocknumber == 4) {
button4._visible = false;
} else if (your_briefcase.blocknumber == 5) {
button5._visible = false;
} else if (your_briefcase.blocknumber == 6) {
button6._visible = false;
} else if (your_briefcase.blocknumber == 7) {
button7._visible = false;
} else if (your_briefcase.blocknumber == 8) {
button8._visible = false;
} else if (your_briefcase.blocknumber == 9) {
button9._visible = false;
} else if (your_briefcase.blocknumber == 10) {
button10._visible = false;
} else if (your_briefcase.blocknumber == 11) {
button11._visible = false;
} else if (your_briefcase.blocknumber == 12) {
button12._visible = false;
} else if (your_briefcase.blocknumber == 13) {
button13._visible = false;
} else if (your_briefcase.blocknumber == 14) {
button14._visible = false;
} else if (your_briefcase.blocknumber == 15) {
button15._visible = false;
} else if (your_briefcase.blocknumber == 16) {
button16._visible = false;
} else if (your_briefcase.blocknumber == 17) {
button17._visible = false;
} else if (your_briefcase.blocknumber == 18) {
button18._visible = false;
} else if (your_briefcase.blocknumber == 19) {
button19._visible = false;
} else if (your_briefcase.blocknumber == 20) {
button20._visible = false;
} else if (your_briefcase.blocknumber == 21) {
button21._visible = false;
} else if (your_briefcase.blocknumber == 22) {
button22._visible = false;
} else if (your_briefcase.blocknumber == 23) {
button23._visible = false;
} else if (your_briefcase.blocknumber == 24) {
button24._visible = false;
} else if (your_briefcase.blocknumber == 25) {
button25._visible = false;
} else if (your_briefcase.blocknumber == 26) {
button26._visible = false;
}
}
function banker() {
_root.total = _root.your_value;
_root.countit = 1;
y = 1;
while (y < 27) {
tellTarget ("case" + y) {
if (_visible == true) {
_root.countit = _root.countit + 1;
_root.total = _root.total + dollaramount;
} else {
_root.total = _root.total;
}
};
y++;
}
_root.total = _root.total / _root.countit;
if (_root.countit == 20) {
_root.total = _root.total * 0.1;
} else if (_root.countit == 15) {
_root.total = _root.total * 0.3;
} else if (_root.countit == 11) {
_root.total = _root.total * 0.75;
} else if (_root.countit == 8) {
_root.total = _root.total * 0.83;
} else if (_root.countit == 6) {
_root.total = _root.total * 0.95;
} else if (_root.countit == 5) {
_root.total = _root.total * 1.01;
} else if (_root.countit == 4) {
_root.total = _root.total;
} else if (_root.countit == 2) {
_root.total = _root.total;
} else {
_root.total = _root.total;
}
if (_root.total < 100) {
_root.total = Math.round(_root.total / 10) * 10;
} else if (_root.total < 1000) {
_root.total = Math.round(_root.total / 100) * 100;
} else {
_root.total = Math.round(_root.total / 1000) * 1000;
}
_root.bankeroffer = "$" + _root.total;
}
function takeTheCase() {
dondtrigger = "case";
gotoAndPlay (390);
}
Frame 387
rules._visible = false;
rules_button._visible = false;
caseamount = new Array(0.01, 1, 5, 10, 25, 50, 75, 100, 200, 300, 400, 500, 750, 1000, 5000, 10000, 25000, 50000, 75000, 100000, 200000, 300000, 400000, 500000, 750000, 1000000);
total = 0;
countit = 0;
stop();
Frame 388
function bankCheck() {
if (removeamount == 0) {
bankmovie._visible = true;
bankmovie.play();
}
}
status = "Welcome to Deal or No Deal! Select a briefcase and we'll get started.";
opening._visible = false;
checkamount = 0;
x = 1;
while (x < 27) {
caselength = caseamount.length;
casepick = random(caselength);
tellTarget ("case" + x) {
blocknumber = _root.x;
dollaramount = _root.caseamount[_root.casepick];
checkamount = dollaramount;
};
caseamount.splice(casepick, 1);
x++;
}
your_briefcase.blocknumber = "?";
lastamount = 7;
stop();
Frame 389
your_case = your_briefcase.blocknumber;
buttonDisabled();
removeamount = lastamount - 1;
lastamount = removeamount;
status = ("Please select " + removeamount) + " cases to be removed.";
opening._visible = false;
bankmovie._visible = false;
stop();
Frame 390
if (dondtrigger == "case") {
gotoAndPlay ("checkcase");
}
Frame 434
if (dondtrigger != "case") {
gotoAndPlay ("revealcase");
}
Frame 450
if (dondtrigger == "case") {
bankoffer = "Your Case";
}
your_briefcase.blocknumber = your_case;
Frame 460
your_value = "$" + your_value;
Frame 509
stop();
Frame 1114
gotoAndPlay (342);
Symbol 11 Button
on (release) {
_root.play();
}
Symbol 12 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 70 Button
on (release) {
stopAllSounds();
play();
}
Symbol 75 Button
on (release) {
stopAllSounds();
gotoAndPlay (510);
}
Symbol 80 Button
on (release) {
rules._visible = true;
rules_button._visible = true;
}
Symbol 84 Button
on (release) {
rules._visible = false;
rules_button._visible = false;
}
Symbol 91 MovieClip Frame 1
_root.bankCheck();
stop();
Symbol 91 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 10
_root.bankCheck();
stop();
Symbol 170 Button
on (release) {
your_briefcase.blocknumber = 1;
your_case = your_briefcase.blocknumber;
your_value = case1.dollaramount;
case1._visible = false;
button1.enabled = false;
play();
}
Symbol 171 Button
on (release) {
your_briefcase.blocknumber = 2;
your_value = case2.dollaramount;
case2._visible = false;
button2.enabled = false;
play();
}
Symbol 172 Button
on (release) {
your_briefcase.blocknumber = 3;
your_value = case3.dollaramount;
case3._visible = false;
button3.enabled = false;
play();
}
Symbol 173 Button
on (release) {
your_briefcase.blocknumber = 4;
your_value = case4.dollaramount;
case4._visible = false;
button4.enabled = false;
play();
}
Symbol 174 Button
on (release) {
your_briefcase.blocknumber = 5;
your_value = case5.dollaramount;
case5._visible = false;
button5.enabled = false;
play();
}
Symbol 175 Button
on (release) {
your_briefcase.blocknumber = 6;
your_value = case6.dollaramount;
case6._visible = false;
button6.enabled = false;
play();
}
Symbol 176 Button
on (release) {
your_briefcase.blocknumber = 7;
your_value = case7.dollaramount;
case7._visible = false;
button7.enabled = false;
play();
}
Symbol 177 Button
on (release) {
your_briefcase.blocknumber = 8;
your_value = case8.dollaramount;
case8._visible = false;
button8.enabled = false;
play();
}
Symbol 178 Button
on (release) {
your_briefcase.blocknumber = 9;
your_value = case9.dollaramount;
case9._visible = false;
button9.enabled = false;
play();
}
Symbol 179 Button
on (release) {
your_briefcase.blocknumber = 10;
your_value = case10.dollaramount;
case10._visible = false;
button10.enabled = false;
play();
}
Symbol 180 Button
on (release) {
your_briefcase.blocknumber = 11;
your_value = case11.dollaramount;
case11._visible = false;
button11.enabled = false;
play();
}
Symbol 181 Button
on (release) {
your_briefcase.blocknumber = 12;
your_value = case12.dollaramount;
case12._visible = false;
button12.enabled = false;
play();
}
Symbol 182 Button
on (release) {
your_briefcase.blocknumber = 13;
your_value = case13.dollaramount;
case13._visible = false;
button13.enabled = false;
play();
}
Symbol 183 Button
on (release) {
your_briefcase.blocknumber = 14;
your_value = case14.dollaramount;
case14._visible = false;
button14.enabled = false;
play();
}
Symbol 184 Button
on (release) {
your_briefcase.blocknumber = 15;
your_value = case15.dollaramount;
case15._visible = false;
button15.enabled = false;
play();
}
Symbol 185 Button
on (release) {
your_briefcase.blocknumber = 16;
your_value = case16.dollaramount;
case16._visible = false;
button16.enabled = false;
play();
}
Symbol 186 Button
on (release) {
your_briefcase.blocknumber = 17;
your_value = case17.dollaramount;
case17._visible = false;
button17.enabled = false;
play();
}
Symbol 187 Button
on (release) {
your_briefcase.blocknumber = 18;
your_value = case18.dollaramount;
case18._visible = false;
button18.enabled = false;
play();
}
Symbol 188 Button
on (release) {
your_briefcase.blocknumber = 19;
your_value = case19.dollaramount;
case19._visible = false;
button19.enabled = false;
play();
}
Symbol 189 Button
on (release) {
your_briefcase.blocknumber = 20;
your_value = case20.dollaramount;
case20._visible = false;
button20.enabled = false;
play();
}
Symbol 190 Button
on (release) {
your_briefcase.blocknumber = 21;
your_value = case21.dollaramount;
case21._visible = false;
button21.enabled = false;
play();
}
Symbol 191 Button
on (release) {
your_briefcase.blocknumber = 22;
your_value = case22.dollaramount;
case22._visible = false;
button22.enabled = false;
play();
}
Symbol 192 Button
on (release) {
your_briefcase.blocknumber = 23;
your_value = case23.dollaramount;
case23._visible = false;
button23.enabled = false;
play();
}
Symbol 193 Button
on (release) {
your_briefcase.blocknumber = 24;
your_value = case24.dollaramount;
case24._visible = false;
button24.enabled = false;
play();
}
Symbol 194 Button
on (release) {
your_briefcase.blocknumber = 25;
your_value = case25.dollaramount;
case25._visible = false;
button25.enabled = false;
play();
}
Symbol 195 Button
on (release) {
your_briefcase.blocknumber = 26;
your_value = case26.dollaramount;
case26._visible = false;
button26.enabled = false;
play();
}
Symbol 200 Button
on (release) {
opening._visible = true;
pickedcase = 1;
openCase();
case1._visible = false;
button1.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 201 Button
on (release) {
opening._visible = true;
pickedcase = 2;
openCase();
case2._visible = false;
button2.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 202 Button
on (release) {
opening._visible = true;
pickedcase = 3;
openCase();
case3._visible = false;
button3.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 203 Button
on (release) {
opening._visible = true;
pickedcase = 4;
openCase();
case4._visible = false;
button4.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 204 Button
on (release) {
opening._visible = true;
pickedcase = 5;
openCase();
case5._visible = false;
button5.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 205 Button
on (release) {
opening._visible = true;
pickedcase = 6;
openCase();
case6._visible = false;
button6.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 206 Button
on (release) {
opening._visible = true;
pickedcase = 7;
openCase();
case7._visible = false;
button7.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 207 Button
on (release) {
opening._visible = true;
pickedcase = 8;
openCase();
case8._visible = false;
button8.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 208 Button
on (release) {
opening._visible = true;
pickedcase = 9;
openCase();
case9._visible = false;
button9.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 209 Button
on (release) {
opening._visible = true;
pickedcase = 10;
openCase();
case10._visible = false;
button10.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 210 Button
on (release) {
opening._visible = true;
pickedcase = 11;
openCase();
case11._visible = false;
button11.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 211 Button
on (release) {
opening._visible = true;
pickedcase = 12;
openCase();
case12._visible = false;
button12.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 212 Button
on (release) {
opening._visible = true;
pickedcase = 13;
openCase();
case13._visible = false;
button13.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 213 Button
on (release) {
opening._visible = true;
pickedcase = 14;
openCase();
case14._visible = false;
button14.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 214 Button
on (release) {
opening._visible = true;
pickedcase = 15;
openCase();
case15._visible = false;
button15.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 215 Button
on (release) {
opening._visible = true;
pickedcase = 16;
openCase();
case16._visible = false;
button16.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 216 Button
on (release) {
opening._visible = true;
pickedcase = 17;
openCase();
case17._visible = false;
button17.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 217 Button
on (release) {
opening._visible = true;
pickedcase = 18;
openCase();
case18._visible = false;
button18.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 218 Button
on (release) {
opening._visible = true;
pickedcase = 19;
openCase();
case19._visible = false;
button19.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 219 Button
on (release) {
opening._visible = true;
pickedcase = 20;
openCase();
case20._visible = false;
button20.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 220 Button
on (release) {
opening._visible = true;
pickedcase = 21;
openCase();
case21._visible = false;
button21.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 221 Button
on (release) {
opening._visible = true;
pickedcase = 22;
openCase();
case22._visible = false;
button22.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 222 Button
on (release) {
opening._visible = true;
pickedcase = 23;
openCase();
case23._visible = false;
button23.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 223 Button
on (release) {
opening._visible = true;
pickedcase = 24;
openCase();
case24._visible = false;
button24.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 224 Button
on (release) {
opening._visible = true;
pickedcase = 25;
openCase();
case25._visible = false;
button25.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 225 Button
on (release) {
opening._visible = true;
pickedcase = 26;
openCase();
case26._visible = false;
button26.enabled = false;
briefcasecount = briefcasecount - 1;
}
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 33
if (_root.checkamount > 50000) {
_root.large.start();
} else {
_root.small.start();
}
Symbol 233 MovieClip Frame 60
_root.removeamount = _root.removeamount - 1;
_root.flipAmount();
_root.opening._visible = false;
_root.status = ("Please select " + _root.removeamount) + " cases to be removed.";
stop();
Symbol 240 Button
on (release) {
_root.play();
}
Symbol 242 Button
on (release) {
if (_root.countit == 2) {
_root.takeTheCase();
} else {
_root.buttonDisabled();
if (_root.lastamount == 1) {
_root.removeamount = 1;
_root.lastamount = 1;
} else {
_root.removeamount = _root.lastamount - 1;
_root.lastamount = _root.removeamount;
}
_root.status = ("Please select " + _root.removeamount) + " cases to be removed.";
_root.bankmovie.gotoAndPlay(1);
_root.opening._visible = false;
_root.bankmovie._visible = false;
stop();
}
}
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 2
_root.status = "";
Symbol 244 MovieClip Frame 141
_root.banker();
bankeroffer = "$" + _root.total;
Symbol 244 MovieClip Frame 175
if (_root.countit == 2) {
_root.status = "If you don't take this deal, you will be taking your case amount.";
}
_root.bankoffer = bankeroffer;
stop();
Symbol 257 Button
on (release) {
stopAllSounds();
gotoAndPlay (342);
}