home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.11
/
2002-01_-_Disc_7.11.iso
/
Data
/
items.pcg
/
scripts
/
DefineSprite_76
/
frame_5
/
DoAction.as
Wrap
Text File
|
2001-11-06
|
1KB
|
51 lines
if(thisprocessor == "" & _parent.loadSysTimeOut >= newTime - startTime)
{
newTime = getTimer();
gotoAndPlay(4);
}
else if(newTime - startTime < loadSysTimeOut)
{
if(thisprocessor.indexOf("Pentium") != -1 | thisprocessor.indexOf("pentium") != -1)
{
_parent.Yprocessor = "Pentium " + speed + "MHz";
}
else if(thisprocessor.indexOf("AMD") != -1 | thisprocessor.indexOf("amd") != -1)
{
_parent.Yprocessor = "AMD " + speed + "MHz";
}
else
{
_parent.Yprocessor = thisprocessor.substring(0,15) + "... " + speed + "MHz";
}
_parent.YRAM = thisram + "MB";
hdFree = int(thisfreehd.substr(thisfreehd.indexOf(":") + 1));
rawHDfree = hdFree;
if(1000 < hdFree)
{
_parent.YHD = thisfreehd.substr(0,thisfreehd.indexOf(":") + 1) + " " + String(hdFree / 1000) + "GB";
}
else
{
_parent.YHD = thisfreehd.substr(0,thisfreehd.indexOf(":") + 1) + " " + String(hdFree) + "MB";
}
if(thisaccel.indexOf("GDI") == -1)
{
_parent.YAPI = thisaccel;
}
else
{
_parent.YAPI = "No 3D Card Found";
}
_parent.YDX = directxversion;
}
else
{
_parent.Yprocessor = "Scan Error";
_parent.YRAM = "Scan Error";
_parent.YHD = "Scan Error";
_parent.YAPI = "Scan Error";
_parent.YDX = "Scan Error";
}
gotoAndStop(1);
_parent.gotoAndPlay("demos");