All the functions listed in Document functions are methods of the Document object, which represents a Fireworks document. To perform a function on a Document object, you must first get the Document Object Model (DOM) of the document. You then call the functions as methods of that DOM.
Note: You can use methods that operate on a document's DOM only on open documents.
documentIndex is a zero-based index that specifies which document the command will affect.
fw.documents[documentIndex].functionName();
fw.getDocumentDOM().functionName() (for more information, see fw.getDocumentDOM()).
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/fireworks/8/fwextending/fw_02_d3.htm