I have a video display component to which I want to give the url of a flv file through a browse button. through browse button I am getting entire url path of the flv file except the top most root directory name. but in mac we should give absolute path with : delimitation rather than / as delimitation. for this I need to get the internal or external storage device name through AIR application. I will be very greatfull if anybody help me out on this issue.
The following code lists the names of all mounted volumes on a Mac:
var volumes:Array = new File("/Volumes").getDirectoryListing();
for (var i:int = 0; i < volumes.length; i++)
Thank you very much for your help.