![MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual Download Page 149](http://html1.mh-extra.com/html/macromedia/fireworks-8-extending-fireworks/fireworks-8-extending-fireworks_manual_3339145149.webp)
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
.
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...