User Guide

Document functions 149
dom.addSwapImageBehaviorFromPoint()
Availability
Fireworks 3.
Usage
dom.AddSwapImageBehaviorFromPoint(where)
Arguments
where A point that specifies the x,y coordinates of the Hotspot or slice that contains the
swap image behavior to be added (see “Point data type” on page 12).
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.