home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.1
/
2001-04_-_Disc_7.1.iso
/
Data
/
Items.swf
/
scripts
/
frame_5
/
DoAction.as
Wrap
Text File
|
2001-02-01
|
2KB
|
111 lines
gamename = eval("demoname" + TheCurrentDemo);
description = eval("demodesc" + TheCurrentDemo);
processor = eval("processor" + TheCurrentDemo) + " " + eval("speed" + TheCurrentDemo) + "MHz";
RAM = eval("RAM" + TheCurrentDemo) + "MB";
rawgameHD = int(eval("HD" + TheCurrentDemo));
if(1000 < rawgameHD)
{
HD = int(eval("HD" + TheCurrentDemo)) / 1000 + "GB";
}
else
{
HD = int(eval("HD" + TheCurrentDemo)) + "MB";
}
API = eval("API" + TheCurrentDemo);
OtherReq = eval("OtherReq" + TheCurrentDemo);
publisher = eval("demopub" + TheCurrentDemo);
developer = eval("demodev" + TheCurrentDemo);
url = eval("demourl" + TheCurrentDemo);
gameDX = eval("gameDX" + TheCurrentDemo);
if(eval("exclusive" + TheCurrentDemo) == 1)
{
exclusiveButton._Alpha = 100;
}
else
{
exclusiveButton._Alpha = 0;
}
if(Yprocessor == "Scan Error")
{
check1.gotoAndStop(3);
}
else if(speed < int(eval("speed" + TheCurrentDemo)))
{
check1.gotoAndStop(2);
}
else
{
check1.gotoAndStop(1);
}
if(YRAM == "Scan Error")
{
check2.gotoAndStop(3);
}
else if(int(thisram) < int(eval("RAM" + TheCurrentDemo)))
{
check2.gotoAndStop(2);
}
else
{
check2.gotoAndStop(1);
}
if(YHD == "Scan Error")
{
check3.gotoAndStop(3);
}
else if(rawHDfree < int(eval("HD" + TheCurrentDemo)))
{
check3.gotoAndStop(2);
}
else
{
check3.gotoAndStop(1);
}
if(YAPI == "Scan Error")
{
check4.gotoAndStop(3);
}
else if(eval("API" + TheCurrentDemo) == "Yes")
{
if(thisaccel.indexOf("GDI") != -1)
{
check4.gotoAndStop(2);
}
else
{
check4.gotoAndStop(1);
}
}
else
{
check4.gotoAndStop(1);
}
if(YDX == "Scan Error")
{
check5.gotoAndStop(3);
}
else if(YDX < gameDX)
{
check5.gotoAndStop(2);
}
else
{
check5.gotoAndStop(1);
}
if(eval("demorating" + theCurrentDemo) == "mature")
{
therating.gotoAndStop(1);
}
else if(eval("demorating" + theCurrentDemo) == "teen")
{
therating.gotoAndStop(2);
}
else if(eval("demorating" + theCurrentDemo) == "everyone")
{
therating.gotoAndStop(3);
}
else
{
therating.gotoAndStop(4);
}