|
Flash CS4 Resources |
FLfile.platformPathToURI()AvailabilityFlash CS4 Professional. UsageFLfile.platformPathToURI(fileName) Parameters
ReturnsA string expressed as a file:/// URI. DescriptionMethod; converts a filename in a platform-specific format to a file:/// URI. ExampleThe
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); See also |