User Guide
Property inspector functions 275
Returns
Nothing.
Description
Writes out the panel states (location, size, open or closed, and so on), toolbox state, and Property
inspector state to an XML file that is specified by the argument.
fw.yesNoDialog()
Availability
Fireworks MX.
Usage
fw.yesNoDialog(promptString)
Arguments
promptString
The prompt message that appears in the dialog box.
Returns
A Boolean value: true if the user selected the Yes button; false otherwise.
Description
Displays a dialog box that contains buttons labeled Yes and No.
Example
The following code displays a dialog box with Yes and No buttons and the message “Would you
like to duplicate the element?”
var shouldDuplicate = fw.yesNoDialog("Would you like to duplicate the
element?");
Property inspector functions
These functions control the Property inspector window, which shows details about the current
document or selected object.
fw.showPIWindow()
Availability
Fireworks MX.
Usage
fw.showPIWindow()
Arguments
None.