home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GKGM 014
/
GKGM014.iso
/
trash
/
gorillazgroove.swf
/
scripts
/
DefineSprite_338
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-01-09
|
752b
|
28 lines
function showScores()
{
i = 1;
while(i <= 10)
{
iPage = i + page;
eval("rank" + i).text = iPage;
eval("playerName" + i).text = _root.scoreCard["playerName" + iPage];
eval("score" + i).text = _root.scoreCard["score" + iPage];
eval("face" + i).gotoAndStop(_root.scoreCard["char" + iPage]);
if(_root.scoreCard["playerName" + iPage] == null)
{
eval("playerName" + i).text = "- - - - - - - - - - -";
}
if(_root.scoreCard["score" + iPage] == null)
{
eval("score" + i).text = "- - - -";
}
if(_root.scoreCard["char" + iPage] == null)
{
eval("face" + i).gotoAndStop(4);
}
i++;
}
}
page = 0;
showScores();