Frame 1
stop();
Instance of Symbol 31 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 57
stop();
Frame 84
credit = 100;
if ((0 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 101)) {
tellTarget ("/background") {
gotoAndStop (1);
};
}
if ((100 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 200)) {
tellTarget ("/background") {
gotoAndStop (2);
};
}
if ((199 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 500)) {
tellTarget ("/background") {
gotoAndStop (3);
};
}
if ((499 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 750)) {
tellTarget ("/background") {
gotoAndStop (4);
};
}
if ((749 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 1000)) {
tellTarget ("/background") {
gotoAndStop (5);
};
}
if ((999 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 1500)) {
tellTarget ("/background") {
gotoAndStop (6);
};
}
if ((1499 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 2000)) {
tellTarget ("/background") {
gotoAndStop (7);
};
}
if ((1999 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 3000)) {
tellTarget ("/background") {
gotoAndStop (8);
};
}
if (2999 < (Number(credit) + Number(bet))) {
tellTarget ("/background") {
gotoAndStop (9);
};
}
Frame 85
bet = 0;
Frame 113
if ((0 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 101)) {
tellTarget ("/background") {
gotoAndStop (1);
};
}
if ((100 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 200)) {
tellTarget ("/background") {
gotoAndStop (2);
};
}
if ((199 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 500)) {
tellTarget ("/background") {
gotoAndStop (3);
};
}
if ((499 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 750)) {
tellTarget ("/background") {
gotoAndStop (4);
};
}
if ((749 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 1000)) {
tellTarget ("/background") {
gotoAndStop (5);
};
}
if ((999 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 1500)) {
tellTarget ("/background") {
gotoAndStop (6);
};
}
if ((1499 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 2000)) {
tellTarget ("/background") {
gotoAndStop (7);
};
}
if ((1999 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 3000)) {
tellTarget ("/background") {
gotoAndStop (8);
};
}
if (2999 < (Number(credit) + Number(bet))) {
tellTarget ("/background") {
gotoAndStop (9);
};
}
Frame 123
stop();
Frame 124
i = 1;
c = 1;
while (Number(i) < 5) {
k = 1;
while (Number(k) < 14) {
Set("c" add c, k);
Set("s" add c, i);
c = Number(c) + 1;
k = Number(k) + 1;
}
i = Number(i) + 1;
}
call("shuffle");
current = 1;
dis = 1;
output = "";
output2 = "";
if ((0 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 101)) {
tellTarget ("/background") {
gotoAndStop (1);
};
}
if ((100 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 200)) {
tellTarget ("/background") {
gotoAndStop (2);
};
}
if ((199 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 500)) {
tellTarget ("/background") {
gotoAndStop (3);
};
}
if ((499 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 750)) {
tellTarget ("/background") {
gotoAndStop (4);
};
}
if ((749 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 1000)) {
tellTarget ("/background") {
gotoAndStop (5);
};
}
if ((999 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 1500)) {
tellTarget ("/background") {
gotoAndStop (6);
};
}
if ((1499 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 2000)) {
tellTarget ("/background") {
gotoAndStop (7);
};
}
if ((1999 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 3000)) {
tellTarget ("/background") {
gotoAndStop (8);
};
}
if (2999 < (Number(credit) + Number(bet))) {
tellTarget ("/background") {
gotoAndStop (9);
};
}
Frame 129
Set("ct" add dis, eval ("c" add current));
Set("st" add dis, eval ("s" add current));
tellTarget ("carta" add dis) {
gotoAndStop((eval ("/:ct" add /:dis) - 12) + (eval ("/:st" add /:dis) * 13));
};
current = Number(current) + 1;
Set("flipped" add dis, 0);
Frame 134
dis = Number(dis) + 1;
if (Number(dis) < 6) {
gotoAndPlay (129);
}
Frame 135
stop();
Frame 136
i = 1;
check = 0;
while (Number(i) < 6) {
if (eval ("flipped" add i) == 1) {
check = 1;
setProperty("/carta" add i, _y , py);
}
i = Number(i) + 1;
}
if (Number(check) == 0) {
gotoAndPlay (141);
}
Frame 137
py = py - 10;
if (Number(-97) < Number(py)) {
gotoAndPlay (136);
}
Frame 138
i = 1;
while (Number(i) < 6) {
if (eval ("flipped" add i) == 1) {
Set("ct" add i, eval ("c" add current));
Set("st" add i, eval ("s" add current));
tellTarget ("carta" add i) {
gotoAndStop((eval ("/:ct" add /:i) - 12) + (eval ("/:st" add /:i) * 13));
};
current = Number(current) + 1;
}
i = Number(i) + 1;
}
Frame 139
i = 1;
while (Number(i) < 6) {
if (eval ("flipped" add i) == 1) {
setProperty("/carta" add i, _y , py);
}
i = Number(i) + 1;
}
Frame 140
py = Number(py) + 10;
if (Number(py) < 110) {
gotoAndPlay (139);
}
Frame 141
call("punteggio");
stop();
Frame 145
i = 0;
while (Number(i) < 100) {
i = Number(i) + 1;
n = Number(random(52)) + 1;
n1 = Number(random(52)) + 1;
tmp = eval ("c" add n);
tmp1 = eval ("s" add n);
Set("c" add n, eval ("c" add n1));
Set("s" add n, eval ("s" add n1));
Set("c" add n1, tmp);
Set("s" add n1, tmp1);
}
Frame 146
if (eval ("flipped" add card) == 1) {
Set("flipped" add card, 0);
tellTarget ("/carta" add card) {
gotoAndStop((eval ("/:ct" add /:card) - 12) + (eval ("/:st" add /:card) * 13));
};
} else {
Set("flipped" add card, 1);
tellTarget ("/carta" add card) {
gotoAndStop (1);
};
}
Frame 147
vincita = "You Lose!!!";
guadagno = 0;
sort = 0;
while (Number(sort) == 0) {
sort = 1;
i = 1;
while (Number(i) < 5) {
if (eval ("ct" add (i + 1)) < eval ("ct" add i)) {
sort = 0;
tmp = eval ("ct" add i);
Set("ct" add i, eval ("ct" add (i + 1)));
Set("ct" add (i + 1), tmp);
}
i = Number(i) + 1;
}
}
i = 2;
u0 = 0;
u1 = 0;
un = 0;
while (Number(i) < 6) {
if (eval ("ct" add i) == eval ("ct" add (i - 1))) {
Set("u" add un, eval ("u" add un) + 1);
} else if (0 < eval ("u" add un)) {
un = Number(un) + 1;
}
i = Number(i) + 1;
}
if (Number(u0) == 3) {
vincita = "Four of a Kind";
guadagno = 100;
}
if (Number(u0) == 2) {
vincita = "Three of a Kind";
guadagno = 10;
}
if (Number(u0) == 1) {
vincita = "One Pair";
guadagno = 2;
}
if (((Number(u0) == 2) and (Number(u1) == 1)) or ((Number(u0) == 1) and (Number(u1) == 2))) {
vincita = "Full House";
guadagno = 25;
}
if ((Number(u0) == 1) and (Number(u1) == 1)) {
vincita = "Two Pair";
guadagno = 5;
}
i = 2;
scala = 1;
while (Number(i) < 6) {
if (eval ("ct" add i) != (eval ("ct" add (i - 1)) + 1)) {
scala = 0;
}
i = Number(i) + 1;
}
if ((Number(scala) == 1) or (((((Number(ct1) == 1) and (Number(ct2) == 10)) and (Number(ct3) == 11)) and (Number(ct4) == 12)) and (Number(ct5) == 13))) {
vincita = "Straight";
guadagno = 16;
}
i = 2;
colore = 1;
while (Number(i) < 6) {
if (eval ("st" add i) != eval ("st" add (i - 1))) {
colore = 0;
}
i = Number(i) + 1;
}
if (Number(colore) == 1) {
vincita = "Flush";
guadagno = 20;
}
if ((Number(scala) == 1) and (Number(colore) == 1)) {
vincita = "Royal Flush";
guadagno = 250;
}
output = vincita;
if (0 < Number(guadagno)) {
quanto = bet * guadagno;
credit = Number(credit) + Number(quanto);
output2 = "You Won: $" add quanto;
}
if ((0 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 101)) {
tellTarget ("/background") {
gotoAndStop (1);
};
}
if ((100 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 200)) {
tellTarget ("/background") {
gotoAndStop (2);
};
}
if ((199 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 500)) {
tellTarget ("/background") {
gotoAndStop (3);
};
}
if ((499 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 750)) {
tellTarget ("/background") {
gotoAndStop (4);
};
}
if ((749 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 1000)) {
tellTarget ("/background") {
gotoAndStop (5);
};
}
if ((999 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 1500)) {
tellTarget ("/background") {
gotoAndStop (6);
};
}
if ((1499 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 2000)) {
tellTarget ("/background") {
gotoAndStop (7);
};
}
if ((1999 < (Number(credit) + Number(bet))) and ((Number(credit) + Number(bet)) < 3000)) {
tellTarget ("/background") {
gotoAndStop (8);
};
}
if (2999 < (Number(credit) + Number(bet))) {
tellTarget ("/background") {
gotoAndStop (9);
};
}
Frame 172
gotoAndPlay (57);
Frame 173
stop();
Symbol 29 Button
on (release) {
getURL ("../www.adultwebgames.com/default.htm");
}
Symbol 47 Button
on (release) {
play();
}
Symbol 62 Button
on (release) {
if (0 < Number(bet)) {
play();
}
}
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
stop();
Symbol 93 MovieClip Frame 3
stop();
Symbol 93 MovieClip Frame 4
stop();
Symbol 93 MovieClip Frame 5
stop();
Symbol 93 MovieClip Frame 6
stop();
Symbol 93 MovieClip Frame 7
stop();
Symbol 93 MovieClip Frame 8
stop();
Symbol 93 MovieClip Frame 9
stop();
Symbol 97 Button
on (release) {
if (0 < Number(credit)) {
bet = Number(bet) + 1;
credit = credit - 1;
}
}
Symbol 99 Button
on (release) {
if (4 < Number(credit)) {
bet = Number(bet) + 5;
credit = credit - 5;
}
}
Symbol 101 Button
on (release) {
if (24 < Number(credit)) {
bet = Number(bet) + 25;
credit = credit - 25;
}
}
Symbol 103 Button
on (release) {
if (99 < Number(credit)) {
bet = Number(bet) + 100;
credit = credit - 100;
}
}
Symbol 105 Button
on (release) {
if (499 < Number(credit)) {
bet = Number(bet) + 500;
credit = credit - 500;
}
}
Symbol 110 Button
on (release) {
if (2 < Number(credit)) {
bet = Number(bet) + (Number(credit) * 0.5);
credit = Number(credit) - (Number(credit) * 0.5);
}
}
Symbol 111 Button
on (release) {
if (0 < Number(credit)) {
bet = Number(bet) + Number(credit);
credit = Number(credit) - Number(credit);
}
}
Symbol 164 MovieClip Frame 1
stop();
Symbol 170 Button
on (release) {
card = 1;
call("flip");
}
Symbol 171 Button
on (release) {
card = 2;
call("flip");
}
Symbol 172 Button
on (release) {
card = 3;
call("flip");
}
Symbol 173 Button
on (release) {
card = 4;
call("flip");
}
Symbol 174 Button
on (release) {
card = 5;
call("flip");
}
Symbol 178 Button
on (release) {
py = getProperty("/carta1", _y);
play();
}
Symbol 184 Button
on (release) {
if (Number(credit) == 0) {
gotoAndPlay (148);
} else {
gotoAndPlay (85);
}
}