Adobe 65011817 Extended User Guide - Page 49
dom.adjustExportToSize, dom.adjustFontSize
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 49 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 45 The Document object Returns true if the swap image behavior was added; false if no suitable hotspot was at the specified location. Description If a single hotspot or slice is selected, this function adds to it a swap image behavior from the hotspot or slice located at where in the document. dom.adjustExportToSize() Availability Fireworks 3. Usage dom.AdjustExportToSize(sizeInBytes, bOkToIncreaseSize) Arguments sizeInBytes An integer that specifies the size to be used for exporting. It is used as described in the following list: • If a document has no slices, sizeInBytes adjusts the export settings for the current frame so that the image is less than or equal to sizeInBytes. • If a document has slices, sizeInBytes adjusts the size of all exported images so that the sum of the sizes is greater than or equal to sizeInBytes. bOkToIncreaseSize Specifies whether the export file size can be increased. • If bOkToIncreaseSize is true, and the current size is less than sizeInBytes, the argument increases the quality of the export settings as much as possible, making the export size larger if necessary. • If bOkToIncreaseSize is false, the argument increases the quality of the export settings as much as possible without increasing the export size. Description Adjusts the export settings as specified. dom.adjustFontSize() Availability Fireworks MX. Usage dom.adjustFontSize(amount) Arguments amount The amount, specified in points, by which to change the font size. Positive values (such as "2pt") increase the size, while negative values (such as "-1pt") decrease the size. Returns Nothing.