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
.The following methods are currently supported in Fireworks and
app.methodName()
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
app.browseDocument()
Identical to
fw.browseDocument()
The app.getRootDirectory() function is useful if you want to use
view files within the applications's folder.
.
.
.
appDir •
.
app.browseDocument()
Using the common API
to
357