View Single Post
  #1 (permalink)  
Old 10-22-2007, 06:36 AM
ramaece ramaece is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default Diskinfo not returning anything

Hi,

I am about to purchase swfkit pro3.2 but the problem is that the diskinfo function does not return anything in vista OS whereas it is working absolutely fine in XP.

Also in vista it worked fine twice in 5 attempts. What is the problem. Is there any tweak to overcome this.


for (i = 0; i < 4; i++)
{
var di = new DiskInfo(i);
if (di != null)
{
trace(di.modelNumber);
trace(di.serialNumber);
trace(di.revisionNumber);
trace(di.driveType);
trace(di.bufferSize);
trace(di.cylinders);
trace(di.heads);
trace(di.sectors);
}
}





for this code i get undefined in trace for all parameteres in vista where as it works fine in XP.
Kindly help me resolve this issue. I will order swfkit right away
Reply With Quote