home *** CD-ROM | disk | FTP | other *** search
- var thepercent = (_parent.theBox2._y - 224) / 160;
- var theCeil = Math.ceil(_parent.num_Extras / _parent.scrollMax);
- if(thepercent >= 1)
- {
- theCeil = int(_parent.num_Extras / _parent.scrollMax);
- }
- _parent.scrollListBox("menuextra","extraname","extranumber",_parent.num_Items,_parent.topExtra,"topExtra",int(theCeil * thepercent),"extraCount",_parent.currentExtraCount,_parent.theBox2._y,"ExtraBox_y");
-