
165
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Example
The following command turns on onion skinning two frames before the selected frame and zero frames after it:
fw.getDocumentDOM().setOnionSkinning(2, 0);
dom.setOpacity()
Availability
Fireworks 3.
Usage
dom.setOpacity(
opacity
)
Arguments
opacity
A float variable between 0 and 100, inclusive.
Returns
Nothing.
Description
Sets the opacity of the selection to the specified value.
Example
The following command sets the selected item to an opacity of 55%:
fw.getDocumentDOM().setOpacity(55);
dom.setPageName()
Availability
Fireworks CS3.
Usage
dom.setPageName(
index, name
)
Arguments
index
An long value that specifies the page number of the page to be renamed.
name
A string that specifies the new name for the page.
Returns
Nothing.
Description
Renames a page. For example:
fw.getDocumentDOM().setPageName(0, "new name")
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...