282
Chapter 5: Fireworks JavaScript API
Arguments
array of indexes
Indicates which steps from the History panel should be saved. For example,
to save the first, third, and sixth steps in the History panel, pass [
0
,
2
,
5
]. If this argument is
null
,
the currently selected steps are used.
filename
An optional string that specifies a name for the JSF command file. It can be any
string, including a file:// URL. If
filename
is omitted or
null
, the user is prompted for a
filename. If
filename
is not a file://URL, the file is saved in the Fireworks MX/Configuration/
Commands folder with the specified filename.
Returns
Nothing.
Description
Gets the JavaScript equivalent of the specified steps and saves them as a JSF command file.
fw.historyPalette.setSelection()
Availability
Fireworks 3.
Usage
fw.historyPalette.setSelection(
array of indexes
)
Arguments
array of indexes
Specifies which steps in the History panel are selected. Values are zero-
based. For example, to select the first, third, and sixth steps in the History panel, pass [
0
,
2
,
5
].
Returns
Nothing.
Description
Sets the portion of the History panel that is selected.
fw.historyPalette.setUndoState()
Availability
Fireworks 3.
Usage
fw.historyPalette.setUndoState(
undoStateString
)
Arguments
undoStateString
The string returned by
fw.historyPalette.getUndoState()
.
Returns
Nothing.
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...