标签: actionscript-3 flex air
在Adobe Air中,有没有办法检查文件的路径是否属于本地(非网络)驱动器?
我主要需要在Windows中使用它,但如果有跨平台方法,那就更好了。
我知道c:和d:是Windows中常用的本地驱动器。但是,其他字母没有规则,我追求的就是这些情况。
答案 0 :(得分:0)
很久以前我读过这篇文章,你可以在这里查看
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/StorageVolume.html#isRemovable