Adobe 65011817 Extended User Guide - Page 207
fw.exportFrames, fw.exportHtmlAndImages
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 207 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 203 The Fireworks Object fw.exportFrames() Availability Fireworks 4. Usage fw.exportFrames(docObject, directoryURL) Arguments docObject A Document object that specifies the document that contains the frames to export (see "The Document object" on page 27). To export frames from the current document, pass null. directoryURL The directory where the images will be placed, which is expressed as a file://URL. Returns A Boolean value: true if successful; false otherwise. Description Exports a document's frames as individual images. The image names are based on the names in the Frames panel. Example The following command exports the frames in the current document to the C:\images directory: fw.exportFrames(null, "file:///C|/images"); fw.exportHtmlAndImages() Availability Fireworks 4. Usage fw.exportHtmlAndImages(doc, htmlUrl, imagesUrl) Arguments doc A Document object that specifies the document to be exported (see "The Document object" on page 27). If doc is null, the active document is exported. htmlUrl The filename of the exported HTML file, which is expressed as a file://URL. If htmlUrlis null, no HTML is generated. imagesUrl The name of the file containing the exported image(s), which is expressed as a file://URL, and might not be null. If a single image is generated, this function uses imagesUrl as the name of the image file. If multiple sliced images are exported, it uses imagesURL to generate automatically named images, and all images are placed in this directory. Returns A Boolean value: true if successful; false otherwise.