172
Fireworks JavaScript API
Returns
Nothing.
Description
Creates one or more Hotspots from the selection.
Example
The following command adds a Hotspot to the selected item. If more than one item is
selected, Fireworks creates one Hotspot for each item.
fw.getDocumentDOM().copyToHotspot("hotspot", "multiple");
dom.cropSelection()
Availability
Fireworks 3.
Usage
dom.cropSelection(
boundingRectangle
)
Arguments
boundingRectangle
A rectangle that specifies the bounds within which the selection
should be cropped (see
“Rectangle data type” on page 12
).
Returns
Nothing.
Description
Crops the selection to the specified rectangle.
dom.deleteAllInDocument()
Availability
Fireworks MX.
Usage
dom.deleteAllInDocument()
Arguments
None.
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 ...