I wonder if you could help me finding way to get "file System Type" (such as FAT, NTFS or cdfs, etc..) that flash projector file or SWF is running from.
1 回答
4
只有在使用 AIR 应用程序时才能获得它。该功能是在 AIR 2.0 中引入的,您可以通过此链接获得更多详细信息。
var volumes = air.StorageVolumeInfo.storageVolumeInfo.getStorageVolumes();
for (i = 0; i < volumes.length; i++)
{
air.trace(volumes[i].name, volumes[i].fileSystemType);
}
否则由于安全策略而被禁止。
于 2013-09-02T19:39:40.910 回答