home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 112
/
jogo-disk-112.iso
/
Games
/
mon_the_monkey.swf
/
scripts
/
frame_8
/
DoAction.as
Wrap
Text File
|
2010-07-14
|
942b
|
37 lines
play();
ir = 1;
while(ir <= 10)
{
xxnama = "namaBretto" + ir;
yynama = "namanya" + ir;
xxskor = "scorenya" + ir;
yyskor = "scoreBretto" + ir;
adaSkor = false;
if(score > Number(this[xxskor]))
{
Cookies = SharedObject.getLocal(xxnama,"/");
Cookies.data.txt = nama;
Cookies = SharedObject.getLocal(yyskor,"/");
Cookies.data.txt = score;
adaSkor = true;
jr = 10;
while(jr >= ir + 1)
{
xxnama2 = "namaBretto" + jr;
yynama2 = "namanya" + String(jr - 1);
xxskor2 = "scorenya" + String(jr - 1);
yyskor2 = "scoreBretto" + jr;
Cookies = SharedObject.getLocal(xxnama2,"/");
Cookies.data.txt = this[yynama2];
Cookies = SharedObject.getLocal(yyskor2,"/");
Cookies.data.txt = this[xxskor2];
jr--;
}
}
if(adaSkor == true)
{
ir = 10;
}
ir++;
}