home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.17
/
2002-07_Disc_7.17.bin
/
Data
/
items.pcg
/
scripts
/
DefineSprite_133
/
frame_8
/
DoAction.as
Wrap
Text File
|
2002-04-25
|
400b
|
8 lines
var thepercent = (_parent.theBox._y - 224) / 160;
var theCeil = int(_parent.num_Games / _parent.scrollMax);
if(thepercent >= 1)
{
theCeil = _parent.num_Games / _parent.scrollMax;
}
_parent.scrollListBox("menugame","arGamesDBSlice.","gamenumber",_parent.arGamesDBSlice.length,_parent.topDB,"topDB",int(theCeil * thepercent),"dbCount",_parent.currentGameCount,_parent.theBox._y,"GameBox_y");