User Guide

356 Fireworks JavaScript API
Arguments
name A string that specifies the name of the set of export settings to find.
Returns
If there is a set of export settings with the specified name, the argument returns an object that
represents it; otherwise, it returns
null.
Description
Looks for a set of export settings that were saved with the specified name.
document.makeGoodNativeFilePath()
Availability
Fireworks 3.
Usage
document.makeGoodNativeFilePath(fileURL)
Arguments
fileURL The name of the file, which is expressed as a file://URL, whose extension should
be changed to .png.
Returns
A string that contains the file URL with a .png extension.
Description
Ensures that the specified file URL ends in a .png extension. Does not affect the name of the
file on disk.
Example
The following command returns "file:///My Documents/image01.png".
document.makeGoodNativeFilePath("file:///My Documents/image01.png")