User Guide
352 Fireworks JavaScript API
fw.historyPalette.getStepCount()
Availability
Fireworks 3.
Usage
fw.historyPalette.getStepCount()
Arguments
None.
Returns
The number of steps in the History panel (not a zero-based value).
Description
Gets the number of steps in the History panel.
fw.historyPalette.getStepsAsJavaScript()
Availability
Fireworks 3.
Usage
fw.historyPalette.getStepsAsJavaScript(array of indexes)
Arguments
array of indexes A zero-based array that specifies which steps from the History panel
should be returned as JavaScript. If the argument is
null, the currently selected steps are
returned.
Returns
A JavaScript string.
Description
Gets the JavaScript equivalent of the specified steps.
See also
fw.historyPalette.replaySteps()