ADOBE FIREWORKS CS3
301
Extending Guide
Usage
fw.historyPalette.setUndoState(undoStateString)
Arguments
The string returned by
.
undoStateString
fw.historyPalette.getUndoState()
Returns
Nothing.
Description
Performs the correct number of undo or redo operations to arrive at the selected state.
See also
"fw.historyPalette.getUndoState()" on page 299
Static Document Functions
Fireworks has an older static Document object that has been deprecated in favor of the Document object in the
DOM. The static Document object is only accessed by two methods. You can access this API using
.
document.methodName()
document.findExportFormatOptionsByName()
Availability
Fireworks 3.
Usage
document.findExportFormatOptionsByName(name)
Arguments
A string that specifies the name of the set of export settings to find.
name
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)