Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 758 Bytes

File metadata and controls

36 lines (21 loc) · 758 Bytes

FLfile.platformPathToURI()

Availability

Flash CS4 Professional.

Usage

FLfile.platformPathToURI(fileName)

Parameters

fileName A string, expressed in a platform-specific format, specifying the filename you want to convert.

Returns

A string expressed as a file:/// URI.

Description

Method; converts a filename in a platform-specific format to a file:/// URI.

Example

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);

See also

FLfile.uriToPlatformPath()