User Guide

Fireworks functions 313
Returns
Nothing.
Description
Turns on debugging messages for Flash commands. When Flash debugging is enabled,
Fireworks displays the command string in a dialog box every time a Flash command calls
MMExecute(). The fw.enableFlashDebugging() function is particularly useful for
monitoring which commands are executed in a command panel. For information on how to
turn off Flash debugging, see fw.disableFlashDebugging()” on page 311. For more
information about constructing Flash command panels for Fireworks, see “Flash panels
on page 115.
fw.exportAndCopyHTMLCode()
Availability
Fireworks MX.
Usage
fw.exportAndCopyHTMLCode(document)
Arguments
document A Document object (for example, fw.documents[2]) that specifies the
document to export. If
document is null, the active document is exported.
Returns
A Boolean value: true if successful; false otherwise.
Description
Displays the export dialog box, which is preconfigured to export HTML and images and to
copy the HTML code to the Clipboard.
NOTE
This debugging command works even if you are running a JavaScript file.