Dreamweaver 2, Fireworks 2.
This function opens a Fireworks optimization session for the specified image.
docURL, imageURL, {targetWidth}, {targetHeight}
docURL argument is the path to the active document, which is expressed as a file:// URL.
imageURL argument is the path to the selected image. If the path is relative, it is relative to the path that you specify in the docURL argument.
targetWidth argument, which is optional, defines the width to which the image should be resized.
targetHeight argument, which is optional, defines the height to which the image should be resized.
Zero, if a Fireworks optimization session successfully opens for the specified image; otherwise, a nonzero error code that indicates one of the following errors occurred:
docURL argument, the imageURL argument, or both, are specified as a null value or an empty string.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/05_fwin8.htm