User Guide

The Fireworks object 27
The following table lists the properties of the Fireworks object, along with their data types
and, where appropriate, acceptable values and notes. Read-only properties are marked with a
bullet (•).
Refer to the Fireworks object by using
fw.propertyName or fireworks.propertyName.
Note that
fireworks must be lowercase.
NOTE
For information on how to format nonstandard data types, such as rectangle or point,
see “Formatting nonstandard data types” on page 11.
Property Data type Notes
activeTool
string The active tool in the application.
activeViewScale
float The scaling (zoom value) of the active view.
1.0=100% of the normal view.
appBatchCodeDir string The path to the Batch Code directory,
which is expressed as file://URL.
appDir string The path to the directory that contains
the Fireworks application, which is
expressed as file://URL.
appExportSettingsDir string The path to the Export Settings directory,
which is expressed as file://URL.
In Fireworks, this folder is stored on a per-
user basis on multiuser systems. Even on
single-user systems, this folder is not inside
the Fireworks installation directory.
appFavoritesDir string The path to the URL Libraries directory,
which is expressed as file://URL.
In Fireworks, this folder is stored on a per-
user basis on multiuser systems. Even on
single-user systems, this folder is not inside
the Fireworks installation directory.
appHelpDir string The path to the directory that contains
the Fireworks help file, which is expressed
as file://URL.
appHtmlCodeDir string The path to the HTML Code directory,
which is expressed as file://URL.
appJsCommandsDir string The path to the Commands directory,
which is expressed as file://URL.
appJsExtensionsDir string The path to the JSExtensions directory,
which is expressed as file://URL.