Flash CS4 Professional.
FLfile.platformPathToURI(fileName)
fileName A string, expressed in a platform-specific format, specifying the filename you want to convert.
A string expressed as a file:/// URI.
Method; converts a filename in a platform-specific format to a file:/// URI.
The following example converts a filename from a platform-specific format to a file:/// URI, which is passed to
outputPanel.save():
var myFilename = "C:\\outputPanel.txt";
var myURI=FLfile.platformPathToURI(myFilename);
fl.outputPanel.save(myURI);