User Guide
264 Chapter 5: Fireworks JavaScript API
fw.readNthTable()
Availability
Fireworks MX.
Usage
fw.readNthTable(filename, tablenumber)
Arguments
filename
A fileURL for the file that contains the desired table.
tablenumber A long integer that specifies the desired table; the tables are zero-indexed.
Returns
A database that is constructed from the table data.
Description
Reads the specified table. The tables are zero-indexed.
fw.readPanelStateFromFile()
Availability
Fireworks MX.
Usage
fw.readPanelStateFromFile(filepath)
Arguments
filepath
The location of the panel state file as a string in the format file://URL.
Returns
Nothing.
Description
Reads in a panel state file, which is generated by “fw.writePanelStateToFile()” on page 274, and
moves the panels, Property inspector, and toolbox to the appropriate locations.
fw.replace()
Availability
Fireworks 3.
Usage
fw.replace()
Arguments
None.