
66
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
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 8).
Returns
Nothing.
Description
Crops the selection to the specified rectangle.
dom.deleteAllInDocument()
Availability
Fireworks MX.
Usage
dom.deleteAllInDocument()
Arguments
None.
Returns
Nothing.
Description
Deletes all of the objects in the document.
dom.deleteFrames()
Availability
Fireworks 3.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...