home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.46
/
pcgamercd
/
Data
/
items.pcg
/
scripts
/
DefineSprite_140
/
frame_8
/
DoAction.as
Wrap
Text File
|
2004-08-12
|
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");