
323
EXTENDING FIREWORKS
Additional Fireworks Functions
Las
t
up
d
a
ted
12/8/2009
document.findExportFormatOptionsByName()
Availability
Fireworks 3.
Usage
document.findExportFormatOptionsByName(
name
)
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")
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...