Frame 1
stop();
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (load) {
total = int(_root.getBytesTotal());
}
onClipEvent (enterFrame) {
loaded = int(_root.getBytesLoaded());
percent = int((loaded / total) * 100);
Set("_root:percent", percent + "%");
_root.loadbar.gotoAndStop((_currentframe - _currentframe) + percent);
if (percent >= 100) {
tellTarget ("_root") {
play();
};
}
}
Frame 2
stop();
Frame 3
gotoAndStop (2);
Frame 6
stop();
Symbol 3 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 47
gotoAndPlay (1);
Symbol 31 Button
on (rollOver, release) {
gotoAndStop (1);
}
Symbol 41 Button
on (press) {
BetText = Number(BetText) + 1;
if (3 < Number(Bettext)) {
BetText = 1;
}
if (Number(BetText) == 3) {
B1 = "= 3X";
Seven = "= 30X";
Cherry = "= 45X";
Cookie = "= 300X";
setProperty("/H", _alpha , "44");
setProperty("/I", _alpha , "44");
}
if (Number(BetText) == 2) {
B1 = "= 2X";
Seven = "= 20X";
Cherry = "= 30X";
Cookie = "= 200X";
setProperty("/H", _alpha , "24");
setProperty("/I", _alpha , "24");
}
if (Number(BetText) == 1) {
B1 = "= 1X";
Seven = "= 10X";
Cherry = "= 15X";
Cookie = "= 100X";
setProperty("/H", _alpha , "14");
setProperty("/I", _alpha , "14");
}
}
Symbol 45 MovieClip Frame 13
gotoAndPlay(Number(_currentframe) + Number(random(40)));
Symbol 81 Button
on (release) {
setProperty("/MP", _alpha , 0);
setProperty("/MP2", _alpha , 0);
setProperty("/MP3", _alpha , 0);
textbox = random(4);
textbox2 = random(4);
textbox3 = random(4);
if (Number(textbox) == 0) {
setProperty("/Cherry", _alpha , 100);
setProperty("/Seven1", _alpha , 0);
setProperty("/Bar1", _alpha , 0);
setProperty("/C1", _alpha , 0);
}
if (Number(textbox) == 1) {
setProperty("/Cherry", _alpha , 0);
setProperty("/Bar1", _alpha , 0);
setProperty("/Seven1", _alpha , 100);
setProperty("/C1", _alpha , 0);
}
if (Number(textbox) == 2) {
setProperty("/Cherry", _alpha , 0);
setProperty("/Seven1", _alpha , 0);
setProperty("/Bar1", _alpha , 100);
setProperty("/C1", _alpha , 0);
}
if (Number(textbox) == 3) {
setProperty("/Cherry", _alpha , 0);
setProperty("/Seven1", _alpha , 0);
setProperty("/Bar1", _alpha , 0);
setProperty("/C1", _alpha , 100);
}
if (Number(textbox2) == 0) {
setProperty("/Seven2", _alpha , 0);
setProperty("/Bar2", _alpha , 0);
setProperty("/Cherry3", _alpha , 100);
setProperty("/C2", _alpha , 0);
}
if (Number(textbox2) == 1) {
setProperty("/Bar2", _alpha , 0);
setProperty("/Cherry3", _alpha , 0);
setProperty("/Seven2", _alpha , 100);
setProperty("/C2", _alpha , 0);
}
if (Number(textbox2) == 2) {
setProperty("/Cherry3", _alpha , 0);
setProperty("/Seven2", _alpha , 0);
setProperty("/Bar2", _alpha , 100);
setProperty("/C2", _alpha , 0);
}
if (Number(textbox2) == 3) {
setProperty("/Cherry3", _alpha , 0);
setProperty("/Seven2", _alpha , 0);
setProperty("/Bar2", _alpha , 0);
setProperty("/C2", _alpha , 100);
}
if (Number(textbox3) == 0) {
setProperty("/Seven3", _alpha , 0);
setProperty("/Bar3", _alpha , 0);
setProperty("/Cherry4", _alpha , 100);
setProperty("/C3", _alpha , 0);
}
if (Number(textbox3) == 1) {
setProperty("/Seven3", _alpha , 100);
setProperty("/Bar3", _alpha , 0);
setProperty("/Cherry4", _alpha , 0);
setProperty("/C3", _alpha , 0);
}
if (Number(textbox3) == 2) {
setProperty("/Seven3", _alpha , 0);
setProperty("/Cherry4", _alpha , 0);
setProperty("/Bar3", _alpha , 100);
setProperty("/C3", _alpha , 0);
}
if (Number(textbox3) == 3) {
setProperty("/Seven3", _alpha , 0);
setProperty("/Cherry4", _alpha , 0);
setProperty("/Bar3", _alpha , 0);
setProperty("/C3", _alpha , 100);
}
if (((Number(textbox) == 0) and (Number(textbox2) == 0)) and (Number(textbox3) == 0)) {
Counter = Number(Counter) + 15;
gotoAndStop (3);
}
if ((((Number(textbox) == 0) and (Number(textbox2) == 0)) and (Number(textbox3) == 0)) and (Number(BetText) == 2)) {
Counter = Number(Counter) + 30;
gotoAndStop (3);
}
if ((((Number(textbox) == 0) and (Number(textbox2) == 0)) and (Number(textbox3) == 0)) and (Number(BetText) == 3)) {
Counter = Number(Counter) + 45;
gotoAndStop (3);
}
if (((Number(textbox) == 1) and (Number(textbox2) == 1)) and (Number(textbox3) == 1)) {
Counter = Number(Counter) + 10;
gotoAndStop (3);
}
if ((((Number(textbox) == 1) and (Number(textbox2) == 1)) and (Number(textbox3) == 1)) and (Number(BetText) == 2)) {
Counter = Number(Counter) + 20;
gotoAndStop (3);
}
if ((((Number(textbox) == 1) and (Number(textbox2) == 1)) and (Number(textbox3) == 1)) and (Number(BetText) == 3)) {
Counter = Number(Counter) + 30;
gotoAndStop (3);
}
if (((Number(textbox) == 2) and (Number(textbox2) == 2)) and (Number(textbox3) == 2)) {
Counter = Number(Counter) + 0;
gotoAndStop (3);
}
if ((((Number(textbox) == 2) and (Number(textbox2) == 2)) and (Number(textbox3) == 2)) and (Number(BetText) == 3)) {
Counter = Number(Counter) + 5;
gotoAndStop (3);
}
if ((((Number(textbox) == 2) and (Number(textbox2) == 2)) and (Number(textbox3) == 2)) and (Number(BetText) == 2)) {
Counter = Number(Counter) + 2;
gotoAndStop (3);
}
if (((Number(textbox) == 3) and (Number(textbox2) == 3)) and (Number(textbox3) == 3)) {
Counter = Number(Counter) + 100;
gotoAndStop (3);
}
if ((((Number(textbox) == 3) and (Number(textbox2) == 3)) and (Number(textbox3) == 3)) and (Number(BetText) == 3)) {
Counter = Number(Counter) + 300;
gotoAndStop (3);
}
if ((((Number(textbox) == 3) and (Number(textbox2) == 3)) and (Number(textbox3) == 3)) and (Number(BetText) == 2)) {
Counter = Number(Counter) + 200;
gotoAndStop (3);
} else {
if (Number(BetText) == 3) {
Counter = Counter - 15;
}
if (Number(BetText) == 2) {
Counter = Counter - 10;
}
if (Number(BetText) == 1) {
Counter = Counter - 5;
}
}
if (0 >= Number(Counter)) {
gotoAndStop (6);
}
}
Symbol 85 MovieClip Frame 6
gotoAndPlay (1);
Symbol 86 MovieClip Frame 7
gotoAndPlay (1);
Symbol 99 MovieClip Frame 10
stop();
Symbol 101 MovieClip Frame 10
stop();
Symbol 103 MovieClip Frame 20
stop();
Symbol 113 Button
on (release) {
Counter = 400;
gotoAndStop (2);
}