
162
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Returns
Nothing.
Description
Changes the Shared layer status of a layer.
Example
The following command sets the selected layer to
Shared
and displays a warning that data loss is possible:
fw.getDocumentDOM().setLayerSharing(-1, "shared", false, true);
dom.setLayerVisible()
Availability
Fireworks 3.
Usage
dom.setLayerVisible(
layerIndex, frameIndex, bShow, bAllLayers
)
Arguments
layerIndex
An integer value that specifies the layer that should be shown or hidden, starting with
0
(although, to
specify the current layer, pass –
1
here). To show or hide all the layers on a frame, use the
bAllLayers
argument.
frameIndex
An integer value that specifies the frame that contains the layer to be shown or hidden, starting with
0
(although, to specify the current frame, pass –
1
here). A zero-based integer specifying the frame that contains the layer
to be shown or hidden.
bShow
Boolean. If
true
, the layer is visible; if
false
, the layer is hidden.
bAllLayers
Boolean. If
true
, all the layers on the specified frame are shown or hidden, and any value that is passed
for
layerIndex
is ignored.
Returns
Nothing.
Description
Shows or hides a layer on the specified frame.
dom.setMasterPage()
Availability
Fireworks CS3.
Usage
dom.setMasterPage(
PageNum
)
Arguments
PageNum
An long value that specifies the zero-based index of the page number to be set as the master page.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...