Frame 1
function curima() {
au = 0;
zlato1 = 0;
maka = 0;
i = 1;
while (i < 6) {
izbaci[i] = 0;
i++;
}
i = 1;
while (i < 6) {
au1 = 0;
j = i;
while (j < 6) {
br = moja[j];
mak = 0;
while (br > 13) {
br = br - 13;
mak = mak + 1;
}
zlato = br;
if (br == 1) {
zlato = 15;
}
if (i == 1) {
if (i == j) {
mak1 = mak;
} else if (mak == mak1) {
maka = maka + 1;
}
karniz[j] = br;
}
if (i == j) {
br1 = br;
} else if (br == br1) {
izbaci[i] = 1;
izbaci[j] = 1;
au = au + 1;
au1 = au1 + 1;
zlato = (au1 * 100) + br;
if (br == 1) {
zlato = (au1 * 100) + 15;
}
}
if (zlato > zlato1) {
zlato1 = zlato;
}
j++;
}
i++;
}
if (au == 0) {
digo = random(20);
}
if (au == 1) {
digo = 10 + random(30);
}
if (au == 2) {
digo = 20 + random(30);
}
if (au == 3) {
digo = 30 + random(30);
}
if (au > 3) {
digo = 40 + random(30);
}
if (maka == 4) {
au = 111;
digo = 40 + random(50);
}
ll = 1;
while (ll < 16) {
karniz[10 + ll] = 888;
ll++;
}
ll = 1;
while (ll < 6) {
ll1 = 1;
while (ll1 < (ll + 1)) {
if (karniz[10 + ll1] > karniz[ll]) {
qwq = 6;
while (qwq > (ll1 - 1)) {
karniz[(10 + qwq) + 1] = karniz[10 + qwq];
qwq--;
}
karniz[10 + ll1] = karniz[ll];
qwq = -1;
ll1 = 500;
}
ll1++;
}
ll++;
}
if ((((karniz[11] == (karniz[12] - 1)) && (karniz[12] == (karniz[13] - 1))) && (karniz[13] == (karniz[14] - 1))) && (karniz[14] == (karniz[15] - 1))) {
if (karniz[15] == 5) {
zlato1 = 5;
}
i = 1;
while (i < 6) {
izbaci[i] = 1;
i++;
}
if (au == 111) {
au = 1111;
} else {
au = 5;
}
}
if (((((karniz[12] == (karniz[13] - 1)) && (karniz[13] == (karniz[14] - 1))) && (karniz[14] == (karniz[15] - 1))) && (karniz[15] == 13)) && (karniz[11] == 1)) {
i = 1;
while (i < 6) {
izbaci[i] = 1;
i++;
}
if (au == 111) {
au = 1111;
} else {
au = 5;
}
}
while (zlato1 > 99) {
zlato1 = zlato1 - 100;
}
if (au == 111) {
zlato1 = 350 + zlato1;
} else {
zlato1 = (au * 100) + zlato1;
}
}
function jaima() {
auq = 0;
zlato1q = 0;
makar = 0;
i = 1;
while (i < 6) {
au1 = 0;
j = i;
while (j < 6) {
br = moj[j];
mak = 0;
while (br > 13) {
br = br - 13;
mak = mak + 1;
}
zlato = br;
if (br == 1) {
zlato = 15;
}
if (i == 1) {
if (i == j) {
mak1 = mak;
} else if (mak == mak1) {
makar = makar + 1;
}
karniz[j] = br;
}
if (i == j) {
br1 = br;
} else if (br == br1) {
auq = auq + 1;
au1 = au1 + 1;
zlato = (au1 * 100) + br;
if (br == 1) {
zlato = (au1 * 100) + 15;
}
}
if (zlato > zlato1q) {
zlato1q = zlato;
}
j++;
}
i++;
}
if (makar == 4) {
auq = 111;
}
ll = 1;
while (ll < 16) {
karniz[10 + ll] = 888;
ll++;
}
ll = 1;
while (ll < 6) {
ll1 = 1;
while (ll1 < (ll + 1)) {
if (karniz[10 + ll1] > karniz[ll]) {
qwq = 6;
while (qwq > (ll1 - 1)) {
karniz[(10 + qwq) + 1] = karniz[10 + qwq];
qwq--;
}
karniz[10 + ll1] = karniz[ll];
qwq = -1;
ll1 = 500;
}
ll1++;
}
ll++;
}
if ((((karniz[11] == (karniz[12] - 1)) && (karniz[12] == (karniz[13] - 1))) && (karniz[13] == (karniz[14] - 1))) && (karniz[14] == (karniz[15] - 1))) {
if (karniz[15] == 5) {
zlato1q = 5;
}
if (auq == 111) {
auq = 1111;
} else {
auq = 500;
}
}
if (((((karniz[12] == (karniz[13] - 1)) && (karniz[13] == (karniz[14] - 1))) && (karniz[14] == (karniz[15] - 1))) && (karniz[15] == 13)) && (karniz[11] == 1)) {
if (auq == 111) {
auq = 1111;
} else {
auq = 500;
}
}
while (zlato1q > 99) {
zlato1q = zlato1q - 100;
}
if (auq == 111) {
zlato1q = 350 + zlato1q;
} else if (auq == 500) {
zlato1q = 500 + zlato1q;
} else if (auq == 1111) {
zlato1q = 1100 + zlato1q;
} else {
zlato1q = (auq * 100) + zlato1q;
}
}
function podigni() {
trka = random(9);
if (trka < 3) {
if (digo > 5) {
digo1 = 5;
digo = digo - 5;
} else {
digo1 = 0;
}
kredit1 = (kredit1 - dd) - digo1;
ulog = (ulog + dd) + digo1;
} else if (trka < 6) {
if (digo > 10) {
digo1 = 10;
digo = digo - 10;
} else {
digo1 = 0;
}
kredit1 = (kredit1 - dd) - digo1;
ulog = (ulog + dd) + digo1;
} else if (trka < 9) {
if (digo > 15) {
digo1 = 15;
digo = digo - 15;
} else {
digo1 = 0;
}
kredit1 = (kredit1 - dd) - digo1;
ulog = (ulog + dd) + digo1;
}
if (digo1 < 5) {
koje = "I stay.";
} else {
koje = ("I raise $" add digo1) add ".";
}
if ((dosta == 0) && (digo1 < 5)) {
if (prvo == 0) {
nova();
prvo = 1;
} else {
nova1();
}
}
if (digo1 < 5) {
dosta = 0;
} else {
dosta = 1;
}
}
function nova() {
tomo = 1;
koje = "I stay. Let\u00B4s change cards.";
t = 1;
while (t < 6) {
if (izbaci[t] == 0) {
duplicateMovieClip ("karta" + moja[t], "POKERa" + t, t + 41000);
}
t++;
}
krt1.enabled = 1;
krt2.enabled = 1;
krt3.enabled = 1;
krt4.enabled = 1;
krt5.enabled = 1;
sta.enabled = 0;
dro.enabled = 0;
ostaj.enabled = 1;
ostaj._alpha = 100;
osta1.enabled = 0;
osta1._alpha = 50;
osta2.enabled = 0;
osta2._alpha = 50;
dis.enabled = 1;
cip7.enabled = 0;
cip7._alpha = 70;
cip6.enabled = 0;
cip6._alpha = 70;
cip5.enabled = 0;
cip5._alpha = 70;
}
function nova1() {
tomo = 1;
krt1.enabled = 0;
krt2.enabled = 0;
krt3.enabled = 0;
krt4.enabled = 0;
krt5.enabled = 0;
sta.enabled = 0;
dro.enabled = 0;
ostaj.enabled = 0;
ostaj._alpha = 50;
osta1.enabled = 0;
osta1._alpha = 50;
osta2.enabled = 0;
osta2._alpha = 50;
dis.enabled = 0;
cip7.enabled = 0;
cip7._alpha = 70;
cip6.enabled = 0;
cip6._alpha = 70;
cip5.enabled = 0;
cip5._alpha = 70;
if (zlato1q < zlato1) {
kredit1 = kredit1 + ulog;
ulog = 0;
koje = "I won !";
} else {
kredit = kredit + ulog;
ulog = 0;
koje = "You won !";
}
t = 1;
while (t < 6) {
duplicateMovieClip ("karta" + moja[t], "POKERa" + t, t + 41000);
setProperty("pokera" + t, _x , (t * 84) - 35);
setProperty("pokera" + t, _y , 120);
t++;
}
kojer = "I've got a ";
if (au == 0) {
kojer = kojer add "nothing!";
}
if (au == 1) {
kojer = kojer add "pair!";
}
if (au == 2) {
kojer = kojer add "2 pairs!";
}
if (au == 3) {
kojer = kojer add "three of kind!";
}
if (au == 4) {
kojer = kojer add "full house!";
}
if (au == 6) {
kojer = kojer add "POKER!";
}
if (au == 111) {
kojer = kojer add "flush!";
}
if (auq == 1111) {
kojer1 = kojer1 add "straight flush!";
}
if (auq == 5) {
kojer1 = kojer1 add "straight!";
}
kojer1 = "You've got a ";
if (auq == 0) {
kojer1 = kojer1 add "nothing!";
}
if (auq == 1) {
kojer1 = kojer1 add "pair!";
}
if (auq == 2) {
kojer1 = kojer1 add "2 pairs!";
}
if (auq == 3) {
kojer1 = kojer1 add "three of kind!";
}
if (auq == 4) {
kojer1 = kojer1 add "full house!";
}
if (auq == 6) {
kojer1 = kojer1 add "POKER!";
}
if (auq == 111) {
kojer1 = kojer1 add "flush!";
}
if (auq == 1111) {
kojer1 = kojer1 add "straight flush!";
}
if (auq == 500) {
kojer1 = kojer1 add "straight!";
}
if (kredit > 599) {
novar2.enabled = 1;
novar2._alpha = 100;
sl = 6;
if ((sl == 6) && (sl1 != 6)) {
loadMovie (mojati6, "slika");
sl1 = sl;
}
} else if (kredit > 0) {
novar.enabled = 1;
novar._alpha = 100;
} else {
novar1.enabled = 1;
novar1._alpha = 100;
}
}
moj = [];
vr = 0;
if (prebij != 1) {
prebij = 0;
}
vrac = 0;
vel = 120;
topa.setScrollContent(slika);
moja = [];
izbaci = [];
izbacim = [];
karniz = [];
koje = "";
kojer = "";
kojer1 = "";
novar.enabled = 0;
novar._alpha = 0;
novar1.enabled = 0;
novar1._alpha = 0;
novar2.enabled = 0;
novar2._alpha = 0;
sl = 0;
sl1 = -1;
kredit = 100;
kredit1 = 100;
ulog = 0;
ulog1 = 0;
tomo = 0;
Instance of Symbol 124 MovieClip [FScrollPaneSymbol] "topa" in Frame 1
//component parameters
onClipEvent (initialize) {
scrollContent = "slika";
hScroll = "auto";
vScroll = "auto";
dragContent = true;
}
Instance of Symbol 302 MovieClip "ostaj" in Frame 1
//component parameters
onClipEvent (initialize) {
label = "DISCARD";
wide = 106;
c1 = 178;
c2 = 227;
c3 = 170;
hc1 = 200;
hc2 = 200;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 11723690 /* 0xB2E3AA */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 13158600 /* 0xC8C8C8 */;
}
Instance of Symbol 302 MovieClip "osta1" in Frame 1
//component parameters
onClipEvent (initialize) {
label = "STAY";
wide = 106;
c1 = 178;
c2 = 227;
c3 = 170;
hc1 = 200;
hc2 = 200;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 11723690 /* 0xB2E3AA */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 13158600 /* 0xC8C8C8 */;
}
Instance of Symbol 302 MovieClip "osta2" in Frame 1
//component parameters
onClipEvent (initialize) {
label = "DROP";
wide = 106;
c1 = 178;
c2 = 227;
c3 = 170;
hc1 = 200;
hc2 = 200;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 11723690 /* 0xB2E3AA */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 13158600 /* 0xC8C8C8 */;
}
Instance of Symbol 302 MovieClip in Frame 1
//component parameters
onClipEvent (initialize) {
label = "BACK TO MENU";
wide = 129;
c1 = 178;
c2 = 227;
c3 = 170;
hc1 = 200;
hc2 = 200;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 11723690 /* 0xB2E3AA */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 13158600 /* 0xC8C8C8 */;
}
Instance of Symbol 302 MovieClip in Frame 1
//component parameters
onClipEvent (initialize) {
label = "NEW GAME";
wide = 129;
c1 = 178;
c2 = 227;
c3 = 170;
hc1 = 200;
hc2 = 200;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 11723690 /* 0xB2E3AA */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 13158600 /* 0xC8C8C8 */;
}
Frame 2
mojati1 = "peachsess30_001.JPG";
mojati2 = "peachsess30_019.JPG";
mojati3 = "peachsess30_023.JPG";
mojati4 = "peachsess30_038.JPG";
mojati5 = "peachsess30_048.JPG";
mojati6 = "peachsess30_060.JPG";
mojati7 = "peachsess30_066.JPG";
mojati8 = "peachsess30_070.JPG";
mojati9 = "peachsess30_076.JPG";
dje = "Peach";
rekli = "Peach.jpg";
reklo = "http://freeflush.com/galleries/peach.htm";
vrac = "1";
Frame 4
if (vrac == 0) {
vr = 1;
gotoAndPlay (3);
}
Frame 5
prvo = 0;
dosta = 1;
koje = "";
kojer = "";
kojer1 = "";
if (kredit1 < 1) {
kredit1 = kredit1 + 100;
sl = sl + 1;
}
if (kredit1 < 1) {
kredit1 = kredit1 + 100;
sl = sl + 1;
}
if (kredit1 < 1) {
kredit1 = kredit1 + 100;
sl = sl + 1;
}
if ((kredit1 > 100) && (sl > 0)) {
kredit1 = kredit1 - 100;
sl = sl - 1;
}
if ((kredit1 > 100) && (sl > 0)) {
kredit1 = kredit1 - 100;
sl = sl - 1;
}
if ((kredit1 > 100) && (sl > 0)) {
kredit1 = kredit1 - 100;
sl = sl - 1;
}
if (sl > 5) {
sl = 5;
}
t = 1;
while (t < 11) {
mar = 0;
while (mar < 1) {
mar = 1;
u = random(52) + 1;
i = 1;
while (i < t) {
if (moj[i] == u) {
mar = 0;
}
i++;
}
}
moj[t] = u;
t++;
}
t = 1;
while (t < 11) {
mar = 0;
while (mar < 1) {
mar = 1;
u = random(52) + 1;
i = 1;
while (i < 11) {
if (moj[i] == u) {
mar = 0;
}
i++;
}
i = 1;
while (i < t) {
if (moja[i] == u) {
mar = 0;
}
i++;
}
}
moja[t] = u;
t++;
}
curima();
t = 1;
while (t < 6) {
izbacim[t] = 0;
duplicateMovieClip ("ledja", "POKER" + t, t + 40000);
setProperty("poker" + t, _x , (t * 84) - 35);
setProperty("poker" + t, _y , 470);
t++;
}
t = 1;
while (t < 6) {
duplicateMovieClip ("ledja", "POKERa" + t, t + 41000);
setProperty("pokera" + t, _x , (t * 84) - 35);
setProperty("pokera" + t, _y , 120);
t++;
}
if ((sl == 0) && (sl1 != 0)) {
loadMovie (mojati1, "slika");
sl1 = sl;
}
if ((sl == 1) && (sl1 != 1)) {
loadMovie (mojati2, "slika");
sl1 = sl;
}
if ((sl == 2) && (sl1 != 2)) {
loadMovie (mojati3, "slika");
sl1 = sl;
}
if ((sl == 3) && (sl1 != 3)) {
loadMovie (mojati4, "slika");
sl1 = sl;
}
if ((sl == 4) && (sl1 != 4)) {
loadMovie (mojati5, "slika");
sl1 = sl;
}
if ((sl == 5) && (sl1 != 5)) {
loadMovie (mojati6, "slika");
sl1 = sl;
}
t = 1;
kredit = kredit - 5;
kredit1 = kredit1 - 5;
ulog = ulog + 10;
ostaj.enabled = 0;
ostaj._alpha = 50;
krt1.enabled = 0;
krt1._alpha = 5;
krt2.enabled = 0;
krt2._alpha = 5;
krt3.enabled = 0;
krt3._alpha = 5;
krt4.enabled = 0;
krt4._alpha = 5;
krt5.enabled = 0;
krt5._alpha = 5;
dis.enabled = 0;
dro.enabled = 1;
novar.enabled = 0;
novar._alpha = 0;
novar2.enabled = 0;
novar2._alpha = 0;
osta1.enabled = 1;
osta1._alpha = 100;
osta2.enabled = 1;
osta2._alpha = 100;
cip7.enabled = 1;
sta.enabled = 1;
cip7._alpha = 100;
cip6.enabled = 1;
cip6._alpha = 100;
cip5.enabled = 1;
cip5._alpha = 100;
jaima();
Frame 6
duplicateMovieClip ("karta" + moj[t], "POKER" + t, t + 40000);
setProperty("poker" + t, _x , (t * 84) - 35);
setProperty("poker" + t, _y , 470);
topa.setScrollContent(slika);
Frame 8
t = t + 1;
if (t < 6) {
gotoAndPlay (6);
}
Frame 10
topa.setScrollContent(slika);
Frame 13
gotoAndPlay (10);
Frame 14
gotoAndStop (13);
Frame 16
loadMovie (rekli, "slir");
Instance of Symbol 302 MovieClip in Frame 16
//component parameters
onClipEvent (initialize) {
label = "BACK TO MENU";
wide = 129;
c1 = 178;
c2 = 227;
c3 = 170;
hc1 = 200;
hc2 = 200;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 11723690 /* 0xB2E3AA */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 13158600 /* 0xC8C8C8 */;
}
Instance of Symbol 302 MovieClip in Frame 16
//component parameters
onClipEvent (initialize) {
label = "NEW GAME";
wide = 129;
c1 = 178;
c2 = 227;
c3 = 170;
hc1 = 200;
hc2 = 200;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 11723690 /* 0xB2E3AA */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 13158600 /* 0xC8C8C8 */;
}
Frame 17
t = 1;
while (t < 6) {
setProperty("poker" + t, _x , -500);
setProperty("poker" + t, _y , -470);
t++;
}
t = 1;
while (t < 6) {
setProperty("pokera" + t, _x , -500);
setProperty("pokera" + t, _y , -470);
t++;
}
Frame 23
topa.setScrollContent(slika);
Frame 25
gotoAndPlay (23);
Symbol 13 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 23 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 32 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 33 MovieClip [UpArrow] Frame 1
stop();
Symbol 33 MovieClip [UpArrow] Frame 2
stop();
Symbol 33 MovieClip [UpArrow] Frame 3
stop();
Symbol 40 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 47 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 52 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 53 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 61 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 69 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 77 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 78 MovieClip [DownArrow] Frame 1
stop();
Symbol 78 MovieClip [DownArrow] Frame 2
stop();
Symbol 78 MovieClip [DownArrow] Frame 3
stop();
Symbol 82 MovieClip [FLabelSymbol] Frame 1
#initclip 2
_global.FLabelClass = function () {
if (this.hostComponent == undefined) {
this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller));
}
if (this.customTextStyle == undefined) {
if (this.hostComponent.textStyle == undefined) {
this.hostComponent.textStyle = new TextFormat();
}
this.textStyle = this.hostComponent.textStyle;
this.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var val = this.hostComponent.styleTable.embedFonts.value;
if (val != undefined) {
this.labelField.embedFonts = val;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.text = label;
this.labelField._height = this.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
this.enable = enable;
var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value;
if (tmpColor == undefined) {
tmpColor = (enable ? 0 : 8947848);
}
this.setColor(tmpColor);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 90 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 96 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 102 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame4, "shadow");
component.registerSkinElement(frame2, "darkshadow");
component.registerSkinElement(frame3, "highlight");
component.registerSkinElement(frame1, "highlight3D");
Symbol 108 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 109 MovieClip [fpb_states] Frame 1
stop();
Symbol 109 MovieClip [fpb_states] Frame 2
stop();
Symbol 109 MovieClip [fpb_states] Frame 3
stop();
Symbol 109 MovieClip [fpb_states] Frame 4
stop();
Symbol 110 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var myColor = new Color(skinMCRef);
myColor.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 114 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 114 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 117 MovieClip [FPushButtonSymbol] Frame 1
#initclip 4
function FPushButtonClass() {
this.init();
}
FPushButtonClass.prototype = new FUIComponentClass();
Object.registerClass("FPushButtonSymbol", FPushButtonClass);
FPushButtonClass.prototype.init = function () {
super.setSize(this._width, this._height);
this.boundingBox_mc.unloadMovie();
this.attachMovie("fpb_states", "fpbState_mc", 1);
this.attachMovie("FLabelSymbol", "fLabel_mc", 2);
this.attachMovie("fpb_hitArea", "fpb_hitArea_mc", 3);
super.init();
this.btnState = false;
this.setClickHandler(this.clickHandler);
this._xscale = 100;
this._yscale = 100;
this.setSize(this.width, this.height);
if (this.label != undefined) {
this.setLabel(this.label);
}
this.ROLE_SYSTEM_PUSHBUTTON = 43;
this.STATE_SYSTEM_PRESSED = 8;
this.EVENT_OBJECT_STATECHANGE = 32778;
this.EVENT_OBJECT_NAMECHANGE = 32780;
this._accImpl.master = this;
this._accImpl.stub = false;
this._accImpl.get_accRole = this.get_accRole;
this._accImpl.get_accName = this.get_accName;
this._accImpl.get_accState = this.get_accState;
this._accImpl.get_accDefaultAction = this.get_accDefaultAction;
this._accImpl.accDoDefaultAction = this.accDoDefaultAction;
};
FPushButtonClass.prototype.setHitArea = function (w, h) {
var hit = this.fpb_hitArea_mc;
this.hitArea = hit;
hit._visible = false;
hit._width = w;
hit._height = ((arguments.length > 1) ? (h) : (hit._height));
};
FPushButtonClass.prototype.setSize = function (w, h) {
w = ((w < 6) ? 6 : (w));
if (arguments.length > 1) {
if (h < 6) {
h = 6;
}
}
super.setSize(w, h);
this.setLabel(this.getLabel());
this.arrangeLabel();
this.setHitArea(w, h);
this.boundingBox_mc._width = w;
this.boundingBox_mc._height = h;
this.drawFrame();
if (this.focused) {
super.myOnSetFocus();
}
this.initContentPos("fLabel_mc");
};
FPushButtonClass.prototype.arrangeLabel = function () {
var label = this.fLabel_mc;
var h = this.height;
var w = (this.width - 2);
var b = 1;
this.fLabel_mc.setSize(w - (b * 4));
label._x = b * 3;
label._y = (h / 2) - (label._height / 2);
};
FPushButtonClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FPushButtonClass.prototype.setLabel = function (label) {
this.fLabel_mc.setLabel(label);
this.txtFormat();
this.arrangeLabel();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE);
}
};
FPushButtonClass.prototype.getEnabled = function () {
return(this.enabled);
};
FPushButtonClass.prototype.setEnabled = function (enable) {
if (enable || (enable == undefined)) {
this.gotoFrame(1);
this.drawFrame();
this.flabel_mc.setEnabled(true);
this.enabled = true;
super.setEnabled(true);
} else {
this.gotoFrame(4);
this.drawFrame();
this.flabel_mc.setEnabled(false);
this.enabled = false;
super.setEnabled(false);
}
};
FPushButtonClass.prototype.txtFormat = function () {
var txtS = this.textStyle;
var sTbl = this.styleTable;
txtS.align = ((sTbl.textAlign.value == undefined) ? ((txtS.align = "center")) : undefined);
txtS.leftMargin = ((sTbl.textLeftMargin.value == undefined) ? ((txtS.leftMargin = 1)) : undefined);
txtS.rightMargin = ((sTbl.textRightMargin.value == undefined) ? ((txtS.rightMargin = 1)) : undefined);
if (this.fLabel_mc._height > this.height) {
super.setSize(this.width, this.fLabel_mc._height);
} else {
super.setSize(this.width, this.height);
}
this.fLabel_mc.labelField.setTextFormat(this.textStyle);
this.setEnabled(this.enable);
};
FPushButtonClass.prototype.drawFrame = function () {
var b = 1;
var x1 = 0;
var y1 = 0;
var x2 = this.width;
var y2 = this.height;
var mc_array = ["up_mc", "over_mc", "down_mc", "disabled_mc"];
var frame = mc_array[this.fpbState_mc._currentframe - 1];
var mc = "frame";
var i = 0;
while (i < 6) {
x1 = x1 + ((i % 2) * b);
y1 = y1 + ((i % 2) * b);
x2 = x2 - (((i + 1) % 2) * b);
y2 = y2 - (((i + 1) % 2) * b);
var w = (Math.abs(x1 - x2) + (2 * b));
var h = (Math.abs(y1 - y2) + (2 * b));
this.fpbState_mc[frame][mc + i]._width = w;
this.fpbState_mc[frame][mc + i]._height = h;
this.fpbState_mc[frame][mc + i]._x = x1 - b;
this.fpbState_mc[frame][mc + i]._y = y1 - b;
i++;
}
};
FPushButtonClass.prototype.setClickHandler = function (chng, obj) {
this.handlerObj = ((arguments.length < 2) ? (this._parent) : (obj));
this.clickHandler = chng;
};
FPushButtonClass.prototype.executeCallBack = function () {
this.handlerObj[this.clickHandler](this);
};
FPushButtonClass.prototype.initContentPos = function (mc) {
this.incrVal = 1;
this.initx = this[mc]._x - (this.getBtnState() * this.incrVal);
this.inity = this[mc]._y - (this.getBtnState() * this.incrVal);
this.togx = this.initx + this.incrVal;
this.togy = this.inity + this.incrVal;
};
FPushButtonClass.prototype.setBtnState = function (state) {
this.btnState = state;
if (state) {
this.fLabel_mc._x = this.togx;
this.fLabel_mc._y = this.togy;
} else {
this.fLabel_mc._x = this.initx;
this.fLabel_mc._y = this.inity;
}
};
FPushButtonClass.prototype.getBtnState = function () {
return(this.btnState);
};
FPushButtonClass.prototype.myOnSetFocus = function () {
this.focused = true;
super.myOnSetFocus();
};
FPushButtonClass.prototype.onPress = function () {
this.pressFocus();
this.fpbState_mc.gotoAndStop(3);
this.drawFrame();
this.setBtnState(true);
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FPushButtonClass.prototype.onRelease = function () {
this.fpbState_mc.gotoAndStop(2);
this.drawFrame();
this.executeCallBack();
this.setBtnState(false);
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FPushButtonClass.prototype.onRollOver = function () {
this.fpbState_mc.gotoAndStop(2);
this.drawFrame();
};
FPushButtonClass.prototype.onRollOut = function () {
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onReleaseOutside = function () {
this.setBtnState(false);
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onDragOut = function () {
this.setBtnState(false);
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onDragOver = function () {
this.setBtnState(true);
this.fpbState_mc.gotoAndStop(3);
this.drawFrame();
};
FPushButtonClass.prototype.myOnKeyDown = function () {
if ((Key.getCode() == 32) && (this.pressOnce == undefined)) {
this.onPress();
this.pressOnce = 1;
}
};
FPushButtonClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.onRelease();
this.pressOnce = undefined;
}
};
FPushButtonClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_PUSHBUTTON);
};
FPushButtonClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FPushButtonClass.prototype.get_accState = function (childId) {
if (this.pressOnce) {
return(this.master.STATE_SYSTEM_PRESSED);
}
return(this.master.STATE_SYSTEM_DEFAULT);
};
FPushButtonClass.prototype.get_accDefaultAction = function (childId) {
return("Press");
};
FPushButtonClass.prototype.accDoDefaultAction = function (childId) {
this.master.onPress();
this.master.onRelease();
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 119 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 120 MovieClip [FScrollBarSymbol] Frame 1
#initclip 3
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var tmp = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
tmp = Math.min(tmp, this.maxPos);
this.setScrollPosition(Math.max(tmp, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var wasEnabled = this.enable;
if (enabledFlag && (!wasEnabled)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (wasEnabled)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var delt = this.smallScroll;
if (inc != "one") {
delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var newPos = (this.getScrollPosition() + (mode * delt));
if (newPos > this.maxPos) {
newPos = this.maxPos;
} else if (newPos < this.minPos) {
newPos = this.minPos;
}
this.setScrollPosition(newPos);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var c = this.controller;
c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var pos = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxhscroll));
} else {
var pos = this.textField.scroll;
var pageSize = (this.textField.bottomScroll - this.textField.scroll);
this.setScrollProperties(pageSize, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 124 MovieClip [FScrollPaneSymbol] Frame 1
#initclip 5
function FScrollPaneClass() {
function boolToString(str) {
if (str == "false") {
return(false);
}
if (str == "true") {
return(true);
}
return(str);
}
this.init();
this.width = this._width;
this.height = this._height;
this._xscale = (this._yscale = 100);
this.contentWidth = (this.contentHeight = 0);
if (this.hScroll == undefined) {
this.hScroll = (this.vScroll = "auto");
this.dragContent = false;
}
this.offset = new Object();
this.vScroll = boolToString(this.vScroll);
this.hScroll = boolToString(this.hScroll);
this.attachMovie("FScrollBarSymbol", "hScrollBar_mc", 100, {hostStyle:this.styleTable});
this.hScrollBar_mc.setHorizontal(true);
this.hScrollBar_mc.setSmallScroll(5);
this.hScrollBar_mc.setChangeHandler("onScroll", this);
this.attachMovie("FScrollBarSymbol", "vScrollBar_mc", 99, {hostStyle:this.styleTable});
this.vScrollBar_mc.setSmallScroll(5);
this.vScrollBar_mc.setChangeHandler("onScroll", this);
this.setSize(this.width, this.height);
if (this.scrollContent != "") {
this.setScrollContent(this.scrollContent);
}
this.setDragContent(this.dragContent);
}
FScrollPaneClass.prototype = new FUIComponentClass();
Object.registerClass("FScrollPaneSymbol", FScrollPaneClass);
FScrollPaneClass.prototype.getScrollContent = function () {
return(this.content_mc);
};
FScrollPaneClass.prototype.getPaneWidth = function () {
return(this.width);
};
FScrollPaneClass.prototype.getPaneHeight = function () {
return(this.height);
};
FScrollPaneClass.prototype.getScrollPosition = function () {
var xPos = ((this.hScrollBar_mc == undefined) ? 0 : (this.hScrollBar_mc.getScrollPosition()));
var yPos = ((this.vScrollBar_mc == undefined) ? 0 : (this.vScrollBar_mc.getScrollPosition()));
return({x:xPos, y:yPos});
};
FScrollPaneClass.prototype.setScrollContent = function (target) {
this.offset.x = 0;
this.offset.y = 0;
if (this.content_mc != undefined) {
if (target != this.content_mc) {
this.content_mc._visible = false;
this.content_mc.removeMovieClip();
this.content_mc.unloadMovie();
}
}
if (typeof(target) == "string") {
this.attachMovie(target, "tmp_mc", 3);
this.content_mc = this.tmp_mc;
} else if (target == undefined) {
this.content_mc.unloadMovie();
} else {
this.content_mc = target;
}
this.localToGlobal(this.offset);
this.content_mc._parent.globalToLocal(this.offset);
this.content_mc._x = this.offset.x;
this.content_mc._y = this.offset.y;
var contentBounds = this.content_mc.getBounds(this);
this.offset.x = -contentBounds.xMin;
this.offset.y = -contentBounds.yMin;
this.localToGlobal(this.offset);
this.content_mc._parent.globalToLocal(this.offset);
this.content_mc._x = this.offset.x;
this.content_mc._y = this.offset.y;
this.contentWidth = this.content_mc._width;
this.contentHeight = this.content_mc._height;
this.content_mc.setMask(this.mask_mc);
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setSize = function (w, h) {
if (((arguments.length < 2) || (isNaN(w))) || (isNaN(h))) {
return(undefined);
}
super.setSize(w, h);
this.width = Math.max(w, 60);
this.height = Math.max(h, 60);
this.boundingBox_mc._xscale = 100;
this.boundingBox_mc._yscale = 100;
this.boundingBox_mc._width = this.width;
this.boundingBox_mc._height = this.height;
this.setHandV();
this.initScrollBars();
if (this.mask_mc == undefined) {
this.attachMovie("FBoundingBoxSymbol", "mask_mc", 3000);
}
this.mask_mc._xscale = 100;
this.mask_mc._yscale = 100;
this.mask_mc._width = this.hWidth;
this.mask_mc._height = this.vHeight;
this.mask_mc._alpha = 0;
};
FScrollPaneClass.prototype.setScrollPosition = function (x, y) {
x = Math.max(this.hScrollBar_mc.minPos, x);
x = Math.min(this.hScrollBar_mc.maxPos, x);
y = Math.max(this.vScrollBar_mc.minPos, y);
y = Math.min(this.vScrollBar_mc.maxPos, y);
this.hScrollBar_mc.setScrollPosition(x);
this.vScrollBar_mc.setScrollPosition(y);
};
FScrollPaneClass.prototype.refreshPane = function () {
this.setScrollContent(this.content_mc);
};
FScrollPaneClass.prototype.loadScrollContent = function (url, handler, location) {
this.content_mc.removeMovieClip();
this.content_mc.unloadMovie();
this.content_mc._visible = 0;
this.loadContent.duplicateMovieClip("loadTemp", 3);
this.dupeFlag = true;
this.contentLoaded = function () {
this.loadReady = false;
this.content_mc = this.loadTemp;
this.refreshPane();
this.executeCallBack();
};
this.setChangeHandler(handler, location);
this.loadTemp.loadMovie(url);
};
FScrollPaneClass.prototype.setHScroll = function (prop) {
this.hScroll = prop;
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setVScroll = function (prop) {
this.vScroll = prop;
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setDragContent = function (dragFlag) {
if (dragFlag) {
this.boundingBox_mc.useHandCursor = true;
this.boundingBox_mc.onPress = function () {
this._parent.startDragLoop();
};
this.boundingBox_mc.tabEnabled = false;
this.boundingBox_mc.onRelease = (this.boundingBox_mc.onReleaseOutside = function () {
this._parent.pressFocus();
this._parent.onMouseMove = null;
});
} else {
delete this.boundingBox_mc.onPress;
this.boundingBox_mc.useHandCursor = false;
}
};
FScrollPaneClass.prototype.setSmallScroll = function (x, y) {
this.hScrollBar_mc.setSmallScroll(x);
this.vScrollBar_mc.setSmallScroll(y);
};
FScrollPaneClass.prototype.setHandV = function () {
if ((((this.contentHeight - this.height) > 2) && (this.vScroll != false)) || (this.vScroll == true)) {
this.hWidth = this.width - this.vScrollBar_mc._width;
} else {
this.hWidth = this.width;
}
if ((((this.contentWidth - this.width) > 2) && (this.hScroll != false)) || (this.hScroll == true)) {
this.vHeight = this.height - this.hScrollBar_mc._height;
} else {
this.vHeight = this.height;
}
};
FScrollPaneClass.prototype.startDragLoop = function () {
this.tabFocused = false;
this.myOnSetFocus();
this.lastX = this._xmouse;
this.lastY = this._ymouse;
this.onMouseMove = function () {
this.scrollXMove = this.lastX - this._xmouse;
this.scrollYMove = this.lastY - this._ymouse;
this.scrollXMove = this.scrollXMove + this.hScrollBar_mc.getScrollPosition();
this.scrollYMove = this.scrollYMove + this.vScrollBar_mc.getScrollPosition();
this.setScrollPosition(this.scrollXMove, this.scrollYMove);
if ((this.scrollXMove < this.hScrollBar_mc.maxPos) && (this.scrollXMove > this.hScrollBar_mc.minPos)) {
this.lastX = this._xmouse;
}
if ((this.scrollYMove < this.vScrollBar_mc.maxPos) && (this.scrollYMove > this.vScrollBar_mc.minPos)) {
this.lastY = this._ymouse;
}
this.updateAfterEvent();
};
};
FScrollPaneClass.prototype.initScrollBars = function () {
this.hScrollBar_mc._y = this.height - this.hScrollBar_mc._height;
this.hScrollBar_mc.setSize(this.hWidth);
this.hScrollBar_mc.setScrollProperties(this.hWidth, 0, this.contentWidth - this.hWidth);
this.vScrollBar_mc._visible = ((this.hWidth == this.width) ? false : true);
this.vScrollBar_mc._x = this.width - this.vScrollBar_mc._width;
this.vScrollBar_mc.setSize(this.vHeight);
this.vScrollBar_mc.setScrollProperties(this.vHeight, 0, this.contentHeight - this.vHeight);
this.hScrollBar_mc._visible = ((this.vHeight == this.height) ? false : true);
};
FScrollPaneClass.prototype.onScroll = function (component) {
var pos = component.getScrollPosition();
var XorY = ((component._name == "hScrollBar_mc") ? "x" : "y");
if (component._name == "hScrollBar_mc") {
this.content_mc._x = (-pos) + this.offset.x;
} else {
this.content_mc._y = (-pos) + this.offset.y;
}
};
FScrollPaneClass.prototype.myOnKeyDown = function () {
var posX = this.hScrollBar_mc.getScrollPosition();
var posY = this.vScrollBar_mc.getScrollPosition();
if (this.hScrollBar_mc.maxPos > this.hScrollBar_mc.minPos) {
if (Key.isDown(37)) {
this.setScrollPosition(posX - 3, posY);
} else if (Key.isDown(39)) {
this.setScrollPosition(posX + 3, posY);
}
}
if (this.vScrollBar_mc.maxPos > this.vScrollBar_mc.minPos) {
if (Key.isDown(38)) {
this.setScrollPosition(posX, posY - 3);
} else if (Key.isDown(40)) {
this.setScrollPosition(posX, posY + 3);
} else if (Key.isDown(34)) {
this.setScrollPosition(posX, posY + this.vScrollBar_mc.pageSize);
} else if (Key.isDown(33)) {
this.setScrollPosition(posX, posY - this.vScrollBar_mc.pageSize);
}
}
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 120 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 124 MovieClip [FScrollPaneSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
Instance of Symbol 121 MovieClip "loadContent" in Symbol 124 MovieClip [FScrollPaneSymbol] Frame 1
onClipEvent (load) {
if (this._parent.loadReady) {
this._parent.contentLoaded();
delete this._parent.loadReady;
} else if (this._name != "loadContent") {
this._parent.loadReady = true;
}
}
Symbol 260 Button
on (release) {
vel = vel - 5;
if (vel < 10) {
vel = 10;
}
slika._xscale = vel;
slika._yscale = vel;
}
Symbol 262 Button
on (release) {
vel = vel + 5;
if (vel > 400) {
vel = 400;
}
slika._xscale = vel;
slika._yscale = vel;
}
Symbol 273 Button
on (release) {
kredit = (kredit - 5) - digo1;
ulog = (ulog + 5) + digo1;
dd = 5;
podigni();
vel = 100;
}
Symbol 274 Button
on (release) {
kredit = (kredit - 25) - digo1;
ulog = (ulog + 25) + digo1;
dd = 25;
podigni();
}
Symbol 275 Button
on (release) {
kredit = (kredit - 10) - digo1;
ulog = (ulog + 10) + digo1;
dd = 10;
podigni();
}
Symbol 302 MovieClip Frame 1
this.onPress = function () {
pressing = true;
i = 1;
while (i <= 3) {
buttonColor = new Color(eval ("piece" + i).colorchip);
buttonColor.setRGB(3355443);
lowColor = new Color(eval ("piece" + i).bottomhilite);
lowColorTransform = new Object();
lowColorTransform = {ra:"0", rb:"200", ga:"0", gb:"200", ba:"0", bb:"200", aa:"100", ab:"0"};
lowColor.setTransform(lowColorTransform);
i++;
}
};
this.onRelease = function () {
pressing = false;
};
this.onReleaseOutside = function () {
pressing = false;
};
this.onEnterFrame = function () {
if (pressing != true) {
i = 1;
while (i <= 3) {
buttonColor = new Color(eval ("piece" + i).colorchip);
buttonColor.setRGB(rgb);
lowColor = new Color(eval ("piece" + i).bottomhilite);
lowColorTransform = new Object();
lowColorTransform = {ra:"0", rb:hc1, ga:"0", gb:hc2, ba:"0", bb:hc3, aa:"100", ab:"0"};
lowColor.setTransform(lowColorTransform);
i++;
}
}
};
with (piece2) {
_width = _parent.wide;
piece1._x = _x - (_width / 2);
piece3._x = _x + (_width / 2);
_parent.midshadow._width = _width;
_parent.leftshadow._x = _x - (_width / 2);
_parent.rightshadow._x = _x + (_width / 2);
}
label1.autoSize = "center";
label2.autoSize = "center";
Symbol 304 Button
on (release) {
prebij = 0;
gotoAndPlay (1);
}
Symbol 305 Button
on (release) {
kredit1 = kredit1 + ulog;
ulog = 0;
gotoAndPlay (2);
}
Symbol 306 Button
on (release) {
kredit = (kredit - 0) - digo1;
ulog = (ulog + 0) + digo1;
dd = 0;
podigni();
if (prvo == 0) {
nova();
prvo = 1;
} else {
nova1();
prvo = 0;
}
}
Symbol 307 Button
on (release) {
aaa = 0;
t = 1;
while (t < 6) {
if (izbaci[t] == 0) {
moja[t] = moja[t + 5];
aaa = aaa + 1;
}
izbaci[t] = 1;
duplicateMovieClip ("ledja", "POKERa" + t, t + 41000);
setProperty("pokera" + t, _x , (t * 84) - 35);
setProperty("pokera" + t, _y , 120);
t++;
}
t = 1;
while (t < 6) {
if (izbacim[t] == 1) {
moj[t] = moj[t + 5];
}
izbacim[t] = 0;
duplicateMovieClip ("karta" + moj[t], "POKER" + t, t + 40000);
setProperty("poker" + t, _x , (t * 84) - 35);
setProperty("poker" + t, _y , 470);
t++;
}
krt1.enabled = 0;
krt1._alpha = 5;
krt2.enabled = 0;
krt2._alpha = 5;
krt3.enabled = 0;
krt3._alpha = 5;
krt4.enabled = 0;
krt4._alpha = 5;
krt5.enabled = 0;
krt5._alpha = 5;
dis.enabled = 0;
osta1.enabled = 1;
osta1._alpha = 100;
osta2.enabled = 1;
osta2._alpha = 100;
ostaj.enabled = 0;
ostaj._alpha = 50;
dro.enabled = 1;
cip7.enabled = 1;
sta.enabled = 1;
cip7._alpha = 100;
cip6.enabled = 1;
cip6._alpha = 100;
cip5.enabled = 1;
cip5._alpha = 100;
dosta = 1;
curima();
jaima();
koje = ("I take " add aaa) add ".";
}
Symbol 309 Button
on (release) {
t = 1;
if (izbacim[1] == 1) {
duplicateMovieClip ("karta" + moj[t], "POKER" + t, t + 40000);
izbacim[1] = 0;
} else {
duplicateMovieClip ("ledja", "POKER" + t, t + 40000);
izbacim[1] = 1;
}
setProperty("poker" + t, _x , (t * 84) - 35);
setProperty("poker" + t, _y , 470);
}
Symbol 310 Button
on (release) {
t = 3;
if (izbacim[t] == 1) {
duplicateMovieClip ("karta" + moj[t], "POKER" + t, t + 40000);
izbacim[t] = 0;
} else {
duplicateMovieClip ("ledja", "POKER" + t, t + 40000);
izbacim[t] = 1;
}
setProperty("poker" + t, _x , (t * 84) - 35);
setProperty("poker" + t, _y , 470);
}
Symbol 311 Button
on (release) {
t = 4;
if (izbacim[t] == 1) {
duplicateMovieClip ("karta" + moj[t], "POKER" + t, t + 40000);
izbacim[t] = 0;
} else {
duplicateMovieClip ("ledja", "POKER" + t, t + 40000);
izbacim[t] = 1;
}
setProperty("poker" + t, _x , (t * 84) - 35);
setProperty("poker" + t, _y , 470);
}
Symbol 312 Button
on (release) {
t = 5;
if (izbacim[t] == 1) {
duplicateMovieClip ("karta" + moj[t], "POKER" + t, t + 40000);
izbacim[t] = 0;
} else {
duplicateMovieClip ("ledja", "POKER" + t, t + 40000);
izbacim[t] = 1;
}
setProperty("poker" + t, _x , (t * 84) - 35);
setProperty("poker" + t, _y , 470);
}
Symbol 313 Button
on (release) {
t = 2;
if (izbacim[t] == 1) {
duplicateMovieClip ("karta" + moj[t], "POKER" + t, t + 40000);
izbacim[t] = 0;
} else {
duplicateMovieClip ("ledja", "POKER" + t, t + 40000);
izbacim[t] = 1;
}
setProperty("poker" + t, _x , (t * 84) - 35);
setProperty("poker" + t, _y , 470);
}
Symbol 319 Button
on (release) {
gotoAndPlay (2);
}
Symbol 324 Button
on (release) {
gotoAndPlay (1);
}
Symbol 332 Button
on (release) {
uuu = random(6);
if (uuu < 3) {
getURL ("http://www.freeflush.com/reklama.html", "_blank");
}
getURL ("http://www.google.com/search?hl=en&q=freeflush.com&btnI=I%27m+Feeling+Lucky", "_parent");
}
Symbol 339 Button
on (release) {
gotoAndPlay (16);
}
Symbol 341 Button
on (release) {
getURL (reklo, "_blank");
}
Symbol 342 Button
on (release) {
prebij = 0;
gotoAndPlay (1);
}
Symbol 343 Button
on (release) {
uuu = random(6);
if (uuu < 4) {
getURL ("http://www.freeflush.com/reklama.html", "_blank");
}
getURL ("http://www.google.com/search?hl=en&q=freeflush.com&btnI=I%27m+Feeling+Lucky", "_parent");
}
Symbol 353 Button
on (release) {
sl = 0;
if ((sl == 0) && (sl1 != 0)) {
loadMovie (mojati1, "slika");
sl1 = sl;
}
}
Symbol 354 Button
on (release) {
sl = 1;
if ((sl == 1) && (sl1 != 1)) {
loadMovie (mojati2, "slika");
sl1 = sl;
}
}
Symbol 355 Button
on (release) {
sl = 3;
if ((sl == 3) && (sl1 != 3)) {
loadMovie (mojati3, "slika");
sl1 = sl;
}
}
Symbol 356 Button
on (release) {
sl = 4;
if ((sl == 4) && (sl1 != 4)) {
loadMovie (mojati4, "slika");
sl1 = sl;
}
}
Symbol 357 Button
on (release) {
sl = 5;
if ((sl == 5) && (sl1 != 5)) {
loadMovie (mojati5, "slika");
sl1 = sl;
}
}
Symbol 358 Button
on (release) {
sl = 6;
if ((sl == 6) && (sl1 != 6)) {
loadMovie (mojati6, "slika");
sl1 = sl;
}
}
Symbol 363 Button
on (release) {
sl = 7;
if ((sl == 7) && (sl1 != 7)) {
loadMovie (mojati7, "slika");
sl1 = sl;
}
}
Symbol 364 Button
on (release) {
sl = 8;
if ((sl == 8) && (sl1 != 8)) {
loadMovie (mojati8, "slika");
sl1 = sl;
}
}
Symbol 365 Button
on (release) {
sl = 9;
if ((sl == 9) && (sl1 != 9)) {
loadMovie (mojati9, "slika");
sl1 = sl;
}
}