Using the common API
283
Description
Performs the correct number of undo or redo operations to arrive at the selected state.
See Also
fw.historyPalette.getUndoState()
Using the common API
You can use the common Macromedia API if you want commands to use a common syntax
(and thus run a single command in multiple applications). You can access this API using
app.methodName()
.The following methods are currently supported in Fireworks and
Dreamweaver to let developers easily create commands for both applications.
app.toggleFloater()
Identical to
fw.toggleFloater()
.
app.setFloaterVisibility()
Identical to
fw.setFloaterVisibility()
.
app.getRootDirectory()
Identical to the Fireworks object property
appDir •
.
app.browseDocument()
Identical to
fw.browseDocument()
.
Note:
The app.getRootDirectory() function is useful if you want to use
app.browseDocument()
to view
files within the applications’s folder.
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...